Fix handling of -DSQLPP11_TESTS_CXX_STD=...

This PR fixes a CMake error when passing -DSQLPP11_TESTS_CXX_STD=11  (or any other C++ version) to the build script.
This is what happens with the current build script:
root@localhost:/usr/local/projects/github/sqlpp11# cmake -B build -DBUILD_TESTING=ON -DUSE_SYSTEM_DATE=ON -DDEPENDENCY_CHECK=ON -DSQLPP11_TESTS_CXX_STD=C++11
-- The CXX compiler identification is GNU 13.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found Boost: /usr/lib64/cmake/Boost-1.78.0/BoostConfig.cmake (found suitable version "1.78.0", minimum required is "1.50")
CMake Error at tests/core/serialize/CMakeLists.txt:61 (set_property):
  set_property could not find TARGET sqlpp11_test_serializer.  Perhaps it has
  not yet been created.

CMake Error at tests/core/serialize/CMakeLists.txt:62 (set_property):
  set_property could not find TARGET sqlpp11_test_serializer.  Perhaps it has
  not yet been created.

CMake Error at tests/core/serialize/CMakeLists.txt:63 (set_property):
  set_property could not find TARGET sqlpp11_test_serializer.  Perhaps it has
  not yet been created.

-- Found Python3: /usr/bin/python3.11 (found version "3.11.4") found components: Interpreter
-- Pyparsing is installed: Enabling ddl2cpp tests.
-- Configuring incomplete, errors occurred!

Thanks for noticing and fixing!


Leverage Azure Verified Modules (AVM) for VNet configuration

Leverage avm-res-network-virtualnetwork for VNet configuration

Completed , code merged


Login page: should have nice default styles

A default loginBase.html and login.html added and styled.


AssertionError: only one Trainer can be instantiated at a time for training

With version 1.2.16, when I run audiolm_pytorch_demo.ipynb, after I successfully complete training SoundStream and start training SemanticTransformer, I get the error message as shown in title.
The full error message is as below.
Thanks,
Tian

AssertionError                            Traceback (most recent call last)
Cell In[5], line 24
12 wav2vec = HubertWithKmeans(
13     checkpoint_path = f'./{hubert_ckpt}',
14     kmeans_path = f'./{hubert_quantizer}'
15 )
17 semantic_transformer = SemanticTransformer(
18     num_semantic_tokens = wav2vec.codebook_size,
19     dim = 1024,
20     depth = 6
21 )# .cuda()
---> 24 trainer = SemanticTransformerTrainer(
25     transformer = semantic_transformer,
26     wav2vec = wav2vec,
27     folder = dataset_folder,
28     batch_size = 1,
29     data_max_length = 320 * 32,
30     num_train_steps = 1
31 )
33 trainer.train()
File <@beartype(audiolm_pytorch.trainer.SemanticTransformerTrainer.init) at 0x7f2258c97670>:111, in init(__beartype_func, __beartype_conf, __beartype_get_violation, __beartype_object_139785495343936, __beartype_object_205596576, __beartype_object_139785495313344, __beartype_object_9748320, __beartype_object_115133280, *args, **kwargs)
File /home/venv/lib/python3.9/site-packages/audiolm_pytorch/trainer.py:579, in SemanticTransformerTrainer.init(self, wav2vec, transformer, num_train_steps, batch_size, audio_conditioner, dataset, data_max_length, data_max_length_seconds, folder, lr, grad_accum_every, wd, max_grad_norm, valid_frac, random_split_seed, save_results_every, save_model_every, results_folder, accelerate_kwargs, force_clear_prev_results)
553 @beartype
554 def init(
555     self,
(...)
576     force_clear_prev_results = None
577 ):
578     super().init()
--> 579     check_one_trainer()
581     self.accelerator = Accelerator(**accelerate_kwargs)
583     self.wav2vec = wav2vec
File /home/venv/lib/python3.9/site-packages/audiolm_pytorch/trainer.py:59, in check_one_trainer()
57 def check_one_trainer():
58     global ONE_TRAINER_INSTANTIATED
---> 59     assert not ONE_TRAINER_INSTANTIATED, 'only one Trainer can be instantiated at a time for training'
60     ONE_TRAINER_INSTANTIATED = True
AssertionError: only one Trainer can be instantiated at a time for training

#211

Maybe you should consider Restart kernel and run the model again (notice: passing the soundstream)


Add EvidenceVerifier

The EvidenceVerifier does most of the common verification to be done
on a Quote3 type and its associated Collateral.

Motivation

Current dependencies on/for this PR:

main

PR #127   👈

This comment was auto-generated by Graphite.

@eranrund I marked for re-review since it was 100+ lines changed in addressing the suggestions.


Implementing Queue Data Structure

I would like to add Queue Data Structure. Please Assign me this task.

Okay


⚠ dev.minetest.net has degraded performance

In af538e1, dev.minetest.net (https://dev.minetest.net/Main_Page) experienced degraded performance:

HTTP code: 200
Response time: 2468 ms

Resolved: dev.minetest.net performance has improved in 50e45e3 after 26 minutes.


latest commit errors on start cmdline

2024-03-16T20:48:39  ERROR cmdline-hl.nvim: Disabling cmdline highlighting please open an issue with this backtrace, you can copy it with lmouse:
...vim/lazy/cmdline-hl.nvim/lua/cmdline-hl/highlighters.lua:65: attempt to call method 'parent' (a nil value)
stack traceback:
        .../share/nvim/lazy/cmdline-hl.nvim/lua/cmdline-hl/init.lua:216: in function 'parent'
        ...vim/lazy/cmdline-hl.nvim/lua/cmdline-hl/highlighters.lua:65: in function 'fn'
        ...5/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:488: in function 'for_each_tree'
        ...vim/lazy/cmdline-hl.nvim/lua/cmdline-hl/highlighters.lua:54: in function 'ts'
        ...vim/lazy/cmdline-hl.nvim/lua/cmdline-hl/highlighters.lua:37: in function 'cmdline'
        .../share/nvim/lazy/cmdline-hl.nvim/lua/cmdline-hl/init.lua:30: in function 'draw_cmdline'
        .../share/nvim/lazy/cmdline-hl.nvim/lua/cmdline-hl/init.lua:197: in function <.../share/nvim/lazy/cmdline-hl.nvim/lua/cmdline-hl/init.lua:181>
        [C]: in function 'xpcall'
        .../share/nvim/lazy/cmdline-hl.nvim/lua/cmdline-hl/init.lua:211: in function <.../share/nvim/lazy/cmdline-hl.nvim/lua/cmdline-hl/init.lua:209>

Which neovim version?

NVIM v0.10.0-dev-9f59415
Build type: Release
LuaJIT 2.1.1693350652
Run "nvim -V1 -v" for more info

Does it still break after https://github.com/Sam-programs/cmdline-hl.nvim/commit/fc35a88e1fccad1295355b4a5fb7d4b691270342 ?

Yes
2024-03-16T21:16:45  ERROR cmdline-hl.nvim: Disabling cmdline highlighting please open an issue with this backtrace, you can copy it with lmouse:
...vim/lazy/cmdline-hl.nvim/lua/cmdline-hl/highlighters.lua:67: attempt to call method 'parent' (a nil value)
stack traceback:
        .../share/nvim/lazy/cmdline-hl.nvim/lua/cmdline-hl/init.lua:216: in function 'parent'
        ...vim/lazy/cmdline-hl.nvim/lua/cmdline-hl/highlighters.lua:67: in function 'fn'
        ...5/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:488: in function 'for_each_tree'
        ...vim/lazy/cmdline-hl.nvim/lua/cmdline-hl/highlighters.lua:54: in function 'ts'
        ...vim/lazy/cmdline-hl.nvim/lua/cmdline-hl/highlighters.lua:37: in function 'cmdline'
        .../share/nvim/lazy/cmdline-hl.nvim/lua/cmdline-hl/init.lua:30: in function 'draw_cmdline'
        .../share/nvim/lazy/cmdline-hl.nvim/lua/cmdline-hl/init.lua:197: in function <.../share/nvim/lazy/cmdline-hl.nvim/lua/cmdline-hl/init.lua:181>
        [C]: in function 'xpcall'
        .../share/nvim/lazy/cmdline-hl.nvim/lua/cmdline-hl/init.lua:211: in function <.../share/nvim/lazy/cmdline-hl.nvim/lua/cmdline-hl/init.lua:209>

I am not sure what is going now i matched what vim.treesitter.highlight does in another commit https://github.com/Sam-programs/cmdline-hl.nvim/commit/28359e256ba645fcdaf6b1e667a9269163dcfa7c ,i am not sure if that will work.

Still errors, will try and updated to the latest nightly and report back

I think the last commit will actually fix this for older versions.

Great it no longer errors at the start! thanks again for the amazing plugin!

Awesome, now time for me to Read The Friendly Manual instead of reverse engineering nightly code lol ...


Pinch to Zoom and Scrolling on Ubuntu

I've been using Microsoft edge on my personal computer running Windows ever since it was released and I am very happy about the changes it's undergone since then (tab saving, multiple workspace, tab grouping and themes etc).
My work computer uses Ubuntu 22.04, and I have tried using Microsoft edge on it. However, as of right now, there are no options in the settings for enabling pinch to zoom-in, scroll speed settings, and smooth scrolling. It feels like Microsoft edge is incompatible with Ubuntu right now.
I am visually impaired so pinch to zoom-in is essential for me. Smooth scrolling and scroll speed settings would be nice to have. Would it be possible to add these as features?

Thanks for your feedback, however this repository is specific to DevTools only. DevTools is a developer feature in Edge which is unrelated to ping to zoom, and other browser UI features.
Can you please send your feedback again by using the browser's feedback mechanism? Here's how:

Click Settings and more (the ... button in the top-right corner of the browser).
Click Help and feedback.
Click Send feedback.

Thank you for your understanding.


Add initial App Check headers and stubs

Description

Provide details of the change, and generalize the change in the PR title above.

Add the initial headers and stub implementations for App Check.  This compiles for desktop and mobile platforms, but contains no real functionality yet.

Testing

Describe how you've tested these changes. Link any manually triggered Integration tests or CPP binary SDK Packaging Github Action workflows, if applicable.

Local builds, plus GHA

Type of Change
Place an x the applicable box:

[ ] Bug fix. Add the issue # below if applicable.
[x] New feature. A non-breaking change which adds functionality.
[ ] Other, such as a build process or documentation change.

Notes

Bug fixes and feature changes require an update to the Release Notes section of release_build_files/readme.md.
Read the contribution guidelines CONTRIBUTING.md.
Changes to the public API require an internal API review. If you'd like to help us make Firebase APIs better, please propose your change in a feature request so that we can discuss it together.

I saw you deleted some comments - were there lint/doxygen warnings? If so, could you address them in a follow-up?

The errors were regarding code{} blocks, which I removed, but the comments were stuck there.  We haven't looked too deeply at the doxygen that this generates, we have a task to track that later down the line.


🐛 Bug Report: Don't Allow Empty Title & Message Body for Messaging

👟 Reproduction steps
Currently it seems possible to use only white space to compose an empty Subject/Title & Message Body.
This causes one to send a completely empty message which may not be right (atleast for Push Notifs).
👍 Expected behavior
Don't allow sending empty messages.
👎 Actual Behavior
We can send empty messages.
🎲 Appwrite version
Version 1.5.x
💻 Operating system
MacOS
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Can reproduce this. And it seems to also be the case for email and sms.
See recording below:
https://github.com/appwrite/console/assets/67555014/915e571d-cf44-44df-9a18-c16273340c4a

Can reproduce this. And it seems to also be the case for email and sms.
See recording below:
https://github.com/appwrite/console/assets/67555014/915e571d-cf44-44df-9a18-c16273340c4a

I'd like to look into this

I would like to work over this issue @stnguyen90 @eldadfux


refactor(reporter)!: Remove the option `OPTION_PROJECT_TYPES_AS_PACKA…

…GES`
The option had been introduced [1] to enable producing a "by package" NOTICE file, in case the dependencies are included as source code into the project's source tree, without the use of any package manager.
A better solution would have been to implement treating certain sub directories of the projects source tree as dependencies consistently across stages of the analysis. For example, the evaluator could then execute the policy rules for dependencies, not (accidentally) the ones for projects. Doing so was not feasible back then due to the size of the task.
The implemented solution obviously is a shortcut, it is quite complex, not straight forward / obvious to use and also fragile, as debugging the behavior involves logic implemented inside the freemarker templates itself.
As nobody seems to be using this option anymore, remove it to get rid of the complexity. Mainly, because the implemented shortcut does not work well together with storing scan results by provenance in OrtResult which is going to be put in place in upcomining changes. The reason why it doesn't is because scan results won't be stored redundantly per package / project, but per provenance, which permits filtering the findings in the scan results with project / package context.
This revert 3aff6e7.
[1] https://github.com/oss-review-toolkit/ort/pull/3573
Part of: #5950.

This revert 3aff6e7.

s/revert/reverts/

Typos also in:

s/freemarker/FreeMarker/
s/upcomining/upcoming/


Support right-to-left orientation

Some users would like to use this component from right to left, sometimes because of their language or personal preference. Allow them to do so by adding an boolean rtl input property.

Resolved in v0.3.1.


With The Flow - A Social Network

Project name: With The Flow
Grant category
Please select one:

Open source maintenance/Educational Material

Description
‘With The Flow’ is a centralized space for users to receive updates, aggregated data, and news regarding the latest happenings within the Flow ecosystem. The platform aims to provide users with a more efficient and streamlined way of accessing information rather than having to scour various social media channels such as Twitter and Discord.
Problem statement
The Web3 ecosystem is rapidly growing, with new projects, platforms, and updates emerging on a daily basis. While Twitter and Discord are popular channels for staying up-to-date on the latest happenings, they can be overwhelming and time-consuming to navigate.
There is a clear need for a centralized space where users can easily access information regarding the Web3 ecosystem. Additionally, as the ecosystem continues to grow, there is an opportunity for the platform to expand into a social network and offer additional features and services.
The target audience is the entire Flow NFT ecosystem. There are many quality projects (NBATopShot, NFL All Day, Seussibles, DimensionxNFT, Hoodlums, Ballerz, Jolly Jokers, and more). These projects often have updates and news that occur weekly. Having to continually check the different platforms for news can be exhausting, ultimately leading to losing interest in the project/space as a whole. We believe greater engagement will lead to greater long-term returns to the Flow Ecosystem.

Target audience
Evidence for the need

Proposed solution
The proposed solution is to build a central platform that aggregates where collectors within multiple communities and collections will receive updates and information. This platform will allow two types of users: creators and community members. Creators will be responsible for updating their community. Community members will see these updates, as well as create updates of their own that other community members can verify.
The platform will incentivize community members to validate each other’s posts as well as work together to create accurate, timely news.
Impact
Greater knowledge will lead to greater engagement. Greater engagement within the Flow ecosystem across the board may lead to greater spending, greater awareness, and greater incentive for projects and communities to engage in further utility for their community members.

In what ways does this benefit the broader Flow developer ecosystem?

Milestones and funding
To Discuss. Currently have 2 other team members, one is creating a project similar to this one ETH, and the other is a developer who has access to a network of developers who would be able to work on this project.

Note: Please consider adoption and/or maintenance milestones at the end of your project.

Milestone
Deliverables
Timeline
Risks
USD proposal

1 - MVP
Smart Contract
TBD weeks
-
TBD

X - Adoption
5 team using this project
TBD weeks
-
TBD

X - Maintenance
Resolving issuing and fixing bugs
TBD months
-
TBD

Total funding proposed:
Team

Name
Role
Bio
Contact

Michael
Project Lead
...
<EMAIL_ADDRESS>

We appreciate your proposal. After careful review we've decided not to proceed at this time. Please stay connected to our Twitter and working groups to stay on top of the latest developments in the ecosystem and new grant opportunities.


fix bluesky logo

fixes #253
(he says sheepishly, having asserted a falsehood with no evidence...)

I'm pretty sure it's a clear background and not a white one, but white is probably OK


Add Examples and FAQ

Could a small number of examples of usage within Terraform be included in the readme please?

I agree that there should be more documentation including examples but also an FAQ. Whilst this is added, you will find examples for each resource in the respective resource_test.go files. The absolute source of truth will always be the schema as defined in the resource.go file and I strongly recommend checking this file out if you want an in depth look at each resource.

LOL! I opened another one for the same reason. Sorry. I agree with @MLC-Mat. If not a lot, at least just a minor example would be nice.

Docs are now at https://github.com/atlassian/terraform-provider-artifactory/tree/master/docs Please raise individual tickets for errors/improvements. Thanks!


Fixed build error in AnyPromise.m

When installing PromiseKit 6 as a static library via CocoaPods.
The problem is described in the following issue - https://github.com/mxcl/PromiseKit/issues/825.

We have decided not to do this, pending advisement from CocoaPods if we should do anything or not.
Like I said in #825, your fix…

Seems safe, but I am hesitant, I have applied similar hacks before and then had three new bugs show up after release.

I do not want to break a whole bunch of other stuff.

Reopening pending my question in the CocoaPods thread.

Yes, will try!

done


feat: Introduce Docker support

Dockerize the entire project
Create docker-compose.yml and Dockerfile for orchestration
Exclude pnpm-store directory from version control

LGTM 🐳


feature: player connection status

Implements player connecting, join team and disconnect events to track which players are actually in the game server.

Codecov Report

Merging #44 into master will decrease coverage by 0.02%.
The diff coverage is 81.25%.

@@            Coverage Diff             @@
##           master      #44      +/-   ##
==========================================
- Coverage   87.83%   87.81%   -0.03%
==========================================
  Files          86       86
  Lines        2934     2962      +28
  Branches      125      127       +2
==========================================
+ Hits         2577     2601      +24
- Misses        321      324       +3
- Partials       36       37       +1

Impacted Files
Coverage Δ

src/games/services/game-event-listener.service.ts
28.57% <0%> (-2.68%)
:arrow_down:

src/games/models/game-player.ts
100% <100%> (ø)
:arrow_up:

src/games/game-runner.spec.ts
100% <100%> (ø)
:arrow_up:

src/games/game-runner.ts
85.88% <72.72%> (+0.74%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 98ee4d6...3a55772. Read the comment docs.


C header files (.h) don't use default maker

On my environment, I have both clang and gcc.  Since neomake uses clang as the default maker if one is not specified, in my init.vim, I have C files set using the gcc maker, like so:
let g:neomake_c_enabled_makers = ['gcc']

The problem is that, though it that setting works fine for .c filetypes, it doesn't for .h (C header) filetypes.  Only when I added
let g:neomake_cpp_enabled_makers = ['gcc']

do C header files compile with gcc.

So the filetype of the header files is cpp?

Apparently.  I've also tried
let g:neomake_h_enabled_makers = ['gcc']

but that didn't work.

What does :echo &ft give you for the .h file?

cpp

That's why you need the let g:neomake_cpp_enabled_makers = ['gcc'].
Check :verb set ft to see where it's coming from.
And see https://github.com/vim/vim/blob/ef3abc6442260e9a0314970a532400b05571d3fe/runtime/filetype.vim#L380-L399 for how Vim sets this by default (it's configurable).

Closing since it's not a Neomake issue really, but I can see that it's confusing.
However, Neomake itself only uses the filetype.

OTOH I could imagine that Neomake would pick up some settings based on the file extension, where you then could map .h files to makers.  Not sure if that's really worth it.
Feel free to create a new issue, if you think it's feasible.

Before I create another issue, I want to see if the newest problem that popped up after I added let g:c_syntax_for_h = 1 to my init.vim has anything to do with this.  My .h files started compiling with gcc as they were supposed to, but errors and their lines aren't displayed anymore.


Accounts stayed sign in

previously version of zoom that accounts is stayed sign up but now it is being sign off and you need to sign in again

Sorry, this project is unrelated to the behavior that you are describing.


fix 404

fix 404 for 从源代码安装 in Hacking on Gitea page.

You have to cherry-pick and push force.

As commented on https://github.com/go-gitea/docs/pull/71/files#r96233751 the linking is generally wrong. https://gohugo.io/extras/crossreferences/ shows how to properly link pages.

wrong action was done by me, pr closed.

The commit should be sent via a new PR.


replace os.path with pathlib in all v02 scripts

This is an extension of #78 remove os.path.dirname with pathlib in remaining files. Three files still contain that call: augment, build tests, and nhd_network_utilities. This new issue is more general and aims to replace os.path with pathlib across all v02 scripts.
Anywhere we are using
root = os.path.dirname(os.path.abspath(__file__))

or any variant of that (i.e., os.path.aabspath("")), should be changed to the more robust
import pathlib
root = pathlib.Path("../..").resolve()

... taking care to make sure that the proper relative path (e.g., ../.. vs. ../../../) is resolved based on the script location.
pathlib.Path(".") will resolve to the current working directory (os.getcwd()), not the script location.
For the script location, pathlib.Path(__file__).resolve() works.
Also note that __file__ is not defined in interactive python sessions. So these statements should be guarded with a
if __name__ == "__main__":
    <...>

block

src/python_framework_v02/troute/nhd_network_utilities_v02.py

src/python_framework_v02/troute/nhd_network_utilities_v02.py

closed with #243


cgroup2 CI: add rootless

Proposed Changes

Add rootless tests to cgroup2 CI
Types of Changes

Tests
Verification

See the result of cgroup2 CI.
Rootless tests are prefixed with [Rootless].
Linked Issues

https://github.com/k3s-io/k3s/issues/2845
Further Comments

@ibuildthecloud @erikwilson  @dweomer @brandond Could you take a look? Failure in ARM CI seems unrelated.

(Also, I'd like to get the doc PR https://github.com/rancher/docs/pull/3243 to be reviewed :pray:)

All CI is failing, equinix seems to be having network problems and can't reliably pull from GitHub.

@AkihiroSuda I went ahead and re-triggered your CI run.

Thanks for restarting, CI seems green now

Can this (and https://github.com/rancher/docs/pull/3243) be merged?


[feat] Herodotus Storage Proof Integration

Since we are waiting for Garaga to unlock support for Groth16 verification on Starknet, having another way to access Celestia's DA commitments on Starknet would be ideal to unblock development and allow users to start building on blobstream-starknet now.
Herodotus' storage proofs are an excellent fit for this,  as they are relatively simple to use, require minimal infra to support, are designed with minimal trust assumptions, and are already deployed on Sepolia!
The idea is to have Herodotus prove the value of the L1 BlobstreamX's data commitment storage slots and store the slot-value facts on L2. Then, Blobstream Starknet can query the Herodotus fact registry to update with the latest data commitment slots.
References

Herodotus Fact Registry
Herodotus Storage Proofs Docs
https://api.herodotus.cloud/docs/static/index.html

This PR addresses most of the issue. However, Herodotus is currently limited to integrating with Sepolia. So, in order to allow full integration tests we need to deploy blobstream-starknet onto Sepolia and properly link the Starknet BlobstreamX address into the API request from the PR.


Images in short_path.rst are blurry + oversized

https://lectures.quantecon.org/jl/short_path.html

This seems to be a rendering issue.. the image is scaled to 100% and it looks fine when I open the image file on my computer. @DrDrij do you have any ideas?

So using "scale" appears to set the html as <img ... style="width:100%;height:100%;">.
.. figure:: {{ figures_dir }}/graph2.png
   :scale: 100%

This isn't optimal as the scale value is relative to the container (content area width). So a 100% or 80% value will stretch/shrink the image to use that percentage of the content area. This isn't a problem if the image is wider than the content area.
I'd recommend removing the scale directive for the graphs in this lecture.

@mmcky I'm not sure how to preview the html once I changed this - would you be able to try the above solution?

Fixed.


High CPU fix

there was an issue when user stops the animation, the UIView.animate was called again and again

Thanks, @mariokovacevic!!


[napari-workflows] Handling of dataframe output

In the current version, at the end of a napari-workflow computation we do the following to handle all outputs of "dataframe" type:
    # Output handling: "dataframe" type (for each output, concatenate ROI
    # dataframes, clean up, and store in a AnnData table on-disk)
    # FIXME: is this cleanup procedure general?
    for (name, params) in dataframe_outputs:
        table_name = params["table_name"]
        list_dfs = output_dataframe_lists[name]
        # Concatenate all FOV dataframes
        df_well = pd.concat(list_dfs, axis=0)
        # Extract labels and drop them from df_well
        labels = pd.DataFrame(df_well["label"].astype(str))
        df_well.drop(labels=["label"], axis=1, inplace=True)
        # Convert all to float (warning: some would be int, in principle)
        measurement_dtype = np.float32
        df_well = df_well.astype(measurement_dtype)
        # Convert to anndata
        measurement_table = ad.AnnData(df_well, dtype=measurement_dtype)
        measurement_table.obs = labels
        # Write to zarr group
        group_tables = zarr.group(f"{in_path}/{component}/tables/")
        write_elem(group_tables, table_name, measurement_table)

This was ported from our current measurement task (and simply put within a loop, cause there may be more outputs of this kind).
How should we proceed? Is this apprach (concatenating the per-ROI dataframes, and handling them in this way) general, or should we have different paths?

Hmm, we may need to consider the relabeling part. Other than that, I think a first default can be that everything is saved per well. Once we use this a bit more, let's reevaluate whether other options of storing tables will also come up.

Ok great! If on-the-fly relabeling works well, that seems like a nice approach to me!

Closing in favor of #138, I will re-open if needed


I want to use more usefully authboss on any framework.

Hi!
authboss is very interested in OSS Project. I think authboss is very powerful tool when I develop web system not using framework. But, authboss is a little hard-to use using any framework (e.g. gin).
Therefore, I'll develop module to use authboss more usefully on any framework.
Does authboss require module like connecting to framework?

Hi @lkeix. It sounds like an okay idea.
Authboss generally needs code to connect any application to it. And that code needs to be aware of the pieces that they use.

Ok!
when I created connection code between framework and authboss, I'll mention or send pullrequest again.

Okay thanks.


Future proofing on Knox ACLs

Old client versions cannot read keys that have Service PrincipalTypes in their ACLs. This is due to a failure to unmarshal the JSON blob returned from the server into a Access object. By returning (-1), we succeed in unmarshalling the JSON blob, but will fail to display the individual ACL entry in a meaningful way. We handle this by catching the Marshal error when displaying the ACL.
This will ease the pain if another PrincipalType is added down the line.
For example,
❯ ./knox acl jkrach:test
{"type":"User","id":"jkrach","access":"Admin"}
Could not unmarshal entry: {-1 spiffe://example.com/serviceA 1}

❯ ./knox get jkrach:test
secret!%

@devinlundberg thoughts?

thanks for taking a look @devinlundberg, took care of your initial comments, lmk if there's anything else.


KeyError: 'sort' when using custom reports without a sort property defined

Describe the bug
I read some good things about vit so just wanted to give it a go. So went along and installed vit using pip. After the install completed I ran vit. Answered y to create a default config. This gave me a KeyError and the following trace:
/home/bremme/.vit/config.ini doesn't exist, create? (y/n): y

/home/bremme/.vit/config.ini created. This is the default user configuration file.

It is heavily commented with explanations and lists the default values for all available user configuration variables. Check it out!

Press enter to continue...
Traceback (most recent call last):
  File "/home/bremme/.pyenv/versions/3.9.1/bin/vit", line 8, in <module>
    sys.exit(main())
  File "/home/bremme/.pyenv/versions/3.9.1/lib/python3.9/site-packages/vit/command_line.py", line 5, in main
    Application(options, filters)
  File "/home/bremme/.pyenv/versions/3.9.1/lib/python3.9/site-packages/vit/application.py", line 70, in __init__
    self.load_early_config()
  File "/home/bremme/.pyenv/versions/3.9.1/lib/python3.9/site-packages/vit/application.py", line 79, in load_early_config
    self.reports = self.task_config.get_reports()
  File "/home/bremme/.pyenv/versions/3.9.1/lib/python3.9/site-packages/vit/config_parser.py", line 336, in get_reports
    self.reports[report_name] = self.rectify_report(report_name, report)
  File "/home/bremme/.pyenv/versions/3.9.1/lib/python3.9/site-packages/vit/config_parser.py", line 340, in rectify_report
    report['subproject_indentable'] = self.has_project_column(report_name) and self.has_primary_project_ascending_sort(report)
  File "/home/bremme/.pyenv/versions/3.9.1/lib/python3.9/site-packages/vit/config_parser.py", line 347, in has_primary_project_ascending_sort
    primary_sort = report['sort'][0]
KeyError: 'sort'

I checked and the configuration file is created. I looked a bit further into the issue (both taskwarrior and vit are new to me). And found the root cause of the problem. I have defined a couple custom reports in my .taskrc file (I followed one of the guides linked from the task warrior website: https://cs-syd.eu/posts/2015-06-21-gtd-with-taskwarrior-part-2-collection). It seems that vit requires the report.<custom_name>.sort property to be defined and does not have a default fallback mechanism like task warrior itself has.
After I found this, I tested to run vit with and without the sort property defined. When all custom reports have a sort property defined vit seems to work fine.
This is probably a small fix and it does confuse new users like myself.
To Reproduce
Run vit while you have added custom reports to your .taskrc without the sort property defined. My system:

Ubuntu 20.04 (couple weeks old)
taskwarrior 2.5.1 (apt install taskwarrior)
Python 3.9.1 (installed using PyEnv)
vit 2.0.0

Expected behavior
I expect the application to launch.

Already fixed in https://github.com/vit-project/vit/pull/238
VIT will have a new stable release in the near-ish future, in the meantime, you can use the latest beta which already has this fix: https://pypi.org/project/vit/2.1.0b1/

Already fixed in https://github.com/vit-project/vit/pull/238
VIT will have a new stable release in the near-ish future, in the meantime, you can use the latest beta which already has this fix: https://pypi.org/project/vit/2.1.0b1/

Thanks!

Thanks!


MYNEWT-840 bmp280 driver and shell and sensor framework support

BMP280 Sensor driver
BMP280 Sensor specific shell
Sensor framework support

Approving this PR


Update HighScoreBoardTests

Change updateScore test value so it equals to expected result
Fix error from previous changes:
XCTAssertEqual failed: ("["Amil PAstorius": 99373, "Min-seo Shin": 1999, "Jesse Johnson": 1337]") is not equal to ("["Amil PAstorius": 99373, "Min-seo Shin": 1999, "Jesse Johnson": 2674]") - Updating a player's score should add the update to their score and leave the rest unchanged.

Wrongly read the function decription


INSERT query fails occasionally due to issue with ClientStatistics tracking.

Describe the bug
INSERT query fails occasionally due to issue with ClientStatistics tracking. This is when using the V2 Client.
This issue happened only a few times while we are executing INSERT for many events in production. It seems (but not with total certianty) to only happen at the start of a long-running process, like when starting up an application for the first time, or if the application was idle for some time.
Steps to reproduce

Execute Client::insert

Expected behaviour
Insert succeeds.
Code example
client.insert("my_table", ImmutableList.of(events), INSERT_SETTINGS);

Error log
Cannot invoke "com.clickhouse.client.api.internal.ClientStatisticsHolder.start(com.clickhouse.client.api.metrics.ClientMetrics)" because "clientStats" is null

and
Cannot invoke "com.clickhouse.client.api.internal.ClientStatisticsHolder.stop(com.clickhouse.client.api.metrics.ClientMetrics)" because the return value of "java.util.Map.get(Object)" is null

Configuration
Environment

Client version: 0.6.5
Language version:  21.0.2
OS: debian

ClickHouse server

ClickHouse Server version: 24.6.

We only see this on one production instance running 24.6. The other instances are running 24.5 and don't have this issue.

@maxsumrall, thank you for reporting the issue!
This is definitely a bug - will fix it.


Add Arabic language support

Hello friends,
In reference to #536
I have taken the initiative to add Arabic translations, leveraging my native fluency in the Arabic language and my solid understanding of ENS, Crypto, and Blockchain technologies.
Please note that this is not a Google translation. Each sentence has been meticulously translated following these steps:
1- Conducting thorough research.
2- Crafting my initial translation.
3- Reviewing with the assistance of ChatGPT.
4- Final refinement performed personally by me.
Important note:
Due to the right-to-left (RTL) nature of the Arabic language and the occasional inclusion of English terms like ‘ENS’ within sentences, formatting challenges may arise.
To address this, I have utilized the Unicode character ‘\u2067’ to ensure proper text directionality when mixing languages inline.
Further information on this topic can be found here
Please let me know if there are any additional requirements or aspects I may have overlooked.
Thank you.

Looks like nobody cares! Best of luck.


Can't start it

Thanks for the repo, nice wok
I couldn't run it, I tried with docker-compose up  but install is blocked:
Warning: mysql_connect(): Server sent charset (255) unknown to the client. Please, report to the developers in /var/www/html/include/database/MysqlManager.php on line 482

Warning: mysql_connect(): Server sent charset unknown to the client. Please, report to the developers in /var/www/html/include/database/MysqlManager.php on line 482

Warning: mysql_connect(): Server sent charset (255) unknown to the client. Please, report to the developers in /var/www/html/include/database/MysqlManager.php on line 482

Warning: mysql_connect(): Server sent charset unknown to the client. Please, report to the developers in /var/www/html/include/database/MysqlManager.php on line 482
Please fix the following errors before proceeding:

The provided database host, username, and/or password is invalid, and a connection to the database could not be established. Please enter a valid host, username and password

Thanks for the answer. I'm not using it anymore and assume you answered the question. So I will close the issue and the maintainers can reopen if they feel the need!


Improved Health Endpoint Metadata (DAB Version/App User Agent)

Why make this change?

Closes #1971, where the health point only returned a plain text Healthy. There was no additional information that would be useful such as DAB version.

What is this change?

Updates the ProductInfo functions to return either a version number with major.minor.patch or major.minor.patch+<commit_hash>

{
    "status": "Healthy",
    "version": "0.12.0",
    "appName": "dab_oss_0.12.0"
}

Added the classes

DabHealthCheck : IHealthCheck
HealthReportResponseWriter -> uses Health Check metadata to fill health check endpoint response contents (JSON String). Because the writer writes raw json and uses values that stay constant through the lifetime of the dab process, the created json is cached after first creation and returned whenever the health endpoint is hit.

Updates Directory.Build.props with <Version>0.12</Version> to avoid having to hardcode version numbers in all .csproj files like in #1995 , and this hardcoded version number (just with Major.Minor) enables the Open Source version of DAB (when forked, built locally, or tested locally without the benefit of having CI/CD injected versioning.)

Updates the BuildPipeline.yml to include a powershell script prior to other steps which parses the major/minor version specified in the file Directory.Build.props and uses those values instead of pipeline yml hardcoded values. While we still are hardcoding major/minor, we are doing so in code that will allow the scenarios mentioned (local builds/tests) to have versioning aligning with the current dab development milestone (sans the patch value tracked by ci/cd). This will prevent local builds reporting some default catch all version like 1.0.0
This means that the hardcoded variables $major and $minor are removed from the pipeline. The $patch variable assignment still has the counter() function determining its value and *as long as the powershell script parsing Directory.Build.props gets executed prior to other steps, then there will be a value set for major/minor for the counter() function to use when the variable is queried. In other words, the variables "major" and "minor" need not be set directly in "variables". This is tested and demonstrated in the pipeline.
Reproducible PowerShell script you can run locally in powershell ise:

[xml]$directoryBuildProps = Get-Content -Path "C:\dabdev\src\Directory.Build.props"
# Get Version from Directory.Build.props
$version = $directoryBuildProps.Project.PropertyGroup.Version[0]
# Get Major , Minor, Patch from Version
$major = $version.Split([char]'.')[0]
$minor = $version.Split('.')[1]
# store $major and $minor powershell variables into azure dev ops pipeline variables
Write-Host "##vso[task.setvariable variable=major]$major"
Write-Host "##vso[task.setvariable variable=minor]$minor"

How was this tested?

[X] Integration Tests

CLI tests checking version number
[IN PROGRESS], actual test for health check classes
[DONE], mitigates: https://github.com/Azure/data-api-builder/pull/1995#issuecomment-1920491707 , where Directory.Build.props has precedence for version number and pipeline uses that value and supplements it with the patch version.

Sample Request(s)
GET https://localhost:5001

/azp run

/azp run

/azp run

Updated the PR description to call out the specific circumstances where version includes the commit hash.

can we add a test where we see the app_name as dab_hosted_1.0.0 and for oss dab_oss_1.0.0 ?

/azp run

/azp run

/azp run

/azp run

This is awesome!


[SassPlugin] problem with resolving relative paths when includePaths option is explicitly specified

When provided with an input instead of a path to a file (as is the current way of SassPlugin), node-sass requires the path pointing to the original file (from which the contents have been used as the input data) to be among the includePaths in order to be able to resolve relative include paths.
The problem is that when someone wants to specify additional includePaths, Object.assign() will completely overwrite the default value that includes the currently processed file's absolute path.
I think the includePaths should have the file's location implicitly appended as I don't imagine adding an additional includePaths entry for every single .scss in my project that has a relative import.
If anyone sees a problem with always adding file.info.absDir to the list of include paths, then I guess it could be available as a plugin configuration option?

Absolutely!

released 1.3.37


DataGridPremuim using Aggregation and Row Grouping ignores hide prop in Column Definitions

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
All columns are shown that are in the Column definition regardless of "hide: true" being present.
Expected behavior 🤔
Columns with hide: true should hide as they do for a standard DataGrid
Steps to reproduce 🕹
Steps:

Sandbox the Aggregation and Row grouping example
Add "hide: true," to the title object in the Column Definition

https://codesandbox.io/s/quirky-bose-ocq4tu?file=/demo.js
Context 🔦
I want to have some columns be in the column definition so a user can chose to unhide them if they need to see a field that isn't used as often.
Your environment 🌎

npx @mui/envinfo
System:
    OS: Windows 10 10.0.22000
  Binaries:
    Node: 16.15.1 - C:\Program Files\nodejs\node.EXE
    Yarn: Not Found
    npm: 8.13.2 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: Not Found
    Edge: Spartan (44.22000.120.0), Chromium (104.0.1293.70)
  npmPackages:
    @emotion/react:  11.10.0
    @emotion/styled: ^11.3.0 => 11.8.1
    @mui/base:  5.0.0-alpha.74
    @mui/icons-material: ^5.0.1 => 5.5.1
    @mui/lab: ^5.0.0-alpha.48 => 5.0.0-alpha.75
    @mui/material: ^5.0.1 => 5.5.3
    @mui/private-theming:  5.5.3
    @mui/styled-engine:  5.5.2
    @mui/styles: ^5.0.1 => 5.5.3
    @mui/system:  5.5.3
    @mui/types:  7.2.0
    @mui/utils:  5.10.3
    @mui/x-data-grid:  5.16.0
    @mui/x-data-grid-generator: ^5.16.0 => 5.16.0
    @mui/x-data-grid-premium: ^5.14.0 => 5.16.0
    @mui/x-data-grid-pro:  5.16.0
    @mui/x-date-pickers-pro: ^5.0.0-beta.0 => 5.0.0-beta.0
    @mui/x-license-pro:  5.16.0
    @types/react:  17.0.43
    react: ^17.0.2 => 17.0.2
    react-dom: ^17.0.2 => 17.0.2

Chrome is being used, so odd that it hasn't come through?

@m4theushw Can you transfer to MUI X

I'll move it across now, thanks for the heads up!


Update workflows

See https://github.com/senzing-garage/go-grpcing/issues/58

Pull requests:

https://github.com/senzing-garage/go-cmdhelping/pull/68


Implements sentences for sending large text to elements

Specifying text to enter into an editor can make the feature files too
verbose and distract from the intented goal of the assertion. Therefore,
a sentece has been implmented to allow content such as markdown or JSON
to be loaded from the resources directory and entered into a text area.
Additions

Implement sentence to clear an HTML input element
Implement sentence to load content from a resource file as input to a text area

Removals

N/A

Changes

N/A

Screenshots

N/A

Notes

N/A

Todos

N/A

Checklist

[x] PR has an informative and human-readable title
[x] Changes are limited to a single goal (no scope creep)
[x] Code is rebased
[x] Code follows the existing coding style guide
[x] Passes all existing automated tests
[x] Any change in functionality is tested
[x] New functions are documented (with a description, list of inputs, and expected output)
[x] Project documentation has been updated
[x] Visually tested in supported browsers and devices (if applicable)

This PR has been superseded by #24


integration test: write /sys/fs/cgroup/xxx/cgroup.subtree_control: no such file or directory

Currently, the e2e test uses ubuntu-latest (i.e. ubuntu-22.04) image, which enables cgroup v2 only. This leads the behavior of nydus-snapshotter or containerd running in a container is not as expected.
Although the e2e test was successful, I reviewed the integration log and found the following logs:
time="2023-05-22T07:52:12.611032385Z" level=error msg="failed to enable controllers ([cpuset cpu io memory hugetlb pids
 rdma misc])" error="failed to write subtree controllers [cpuset cpu io memory hugetlb pids rdma misc] to
\"/sys/fs/cgroup/default/cgroup.subtree_control\": write /sys/fs/cgroup/default/cgroup.subtree_control:
no such file or directory"
time="2023-05-22T07:52:12.611160686Z" level=warning msg="error from *cgroupsv2.Manager.EventChan"
error="failed to add inotify watch for
\"/sys/fs/cgroup/default/d5f94ffbcc62095d9e1232ebabe9a31d2efbc5e84e90a2855f25661231ec7a68/memory.events\":
no such file or directory"

The reason for this issue is cgroup v2 enables controllers for children via cgroup.subtree_controllers. If we add "+memory" to this file, we should make sure it already exists in the root group (/sys/fs/cgroup/cgroup.subtree_controllers). In container, the value of /sys/fs/cgroup/cgroup.subtree_controllers is null even if it is as expected in the host .
❯ nerdctl run --rm -it golang
root@0773a000af6b:/go# cd /sys/fs/cgroup
root@0773a000af6b:/sys/fs/cgroup# cat cgroup.subtree_control
root@0773a000af6b:/sys/fs/cgroup# exit
exit
❯ pwd
/sys/fs/cgroup
❯ cat cgroup.subtree_control
cpuset cpu io memory pids

Currently, I am working for limit nydus daemon resource limitation via cgroup and facing the same problem.
The potential solution to this problem:

Write controllers to /sys/fs/cgroup/cgroup.subtree_controllers. I tried this, but it was not successful because the existed processes were added to the root group.
Try to move processes in the root cgroup to children. It doesn't work for me as well. It works, but the processes moved to child group can not be moved back after writing /sys/fs/cgroup/cgroup.subtree_controllers.

echo: write error: Invalid argument
echo: write error: Invalid argument
echo: write error: Invalid argument
echo: write error: Invalid argument
echo: write error: Invalid argument
echo: write error: Invalid argument
echo: write error: Invalid argument
echo: write error: Invalid argument

Refer to https://github.com/moby/moby/issues/43093 and https://unix.stackexchange.com/questions/680167/ebusy-when-trying-to-add-process-to-cgroup-v2
So, I believe we need to modify the e2e test configuration to resolve this issue.

Fixed by #415
To resolve this issue, two steps are sufficient.

set cgroup-parent for container.

docker run --cap-add SYS_ADMIN --security-opt seccomp=unconfined --cgroup-parent=system.slice
--cgroupns private --name nydus-snapshotter_e2e --rm --privileged golang

enable nesting for cgroup v2, i.e. move processes in root group to children init and write controllers to /sys/fs/cgroup/cgroup.subtree_control.

if [ -f /sys/fs/cgroup/cgroup.controllers ]; then
    mkdir -p /sys/fs/cgroup/init
    xargs -rn1 < /sys/fs/cgroup/cgroup.procs > /sys/fs/cgroup/init/cgroup.procs || :
    sed -e 's/ / +/g' -e 's/^/-/' < /sys/fs/cgroup/cgroup.controllers \
        > /sys/fs/cgroup/cgroup.subtree_control
fi

#415


[beta] search bar text color to be muted and icon to be fixed

Looks like the icon issue is sporadic, but the color should definitely be muted down

@raisedadead Let me work on this issue, please.

Sure, go ahead?

@raisedadead Thanks!.I started working on it. Unfortunately am not familiar with React but I'll keep you updated by tomorrow if I could figure it out.

You should reach out to Contributors Chat room, for help.

@raisedadead Thank you, I figured it out!. I'll do the change and create a pull request.
BTW, the search icon is renderable right, I took a branch off Staging. Please check this out maybe you're on different or you don't have the latest script.

BTW, the search icon is renderable right, I took a branch off Staging. Please check this out maybe you're on different or you don't have the latest script.

Yes, it started to be just fine, when I did a re-build. As I said before it is sporadic.

Looking forward to your PR.

The icon relies on the font awesome font familiar being available. There is no reliable fallback font. @QuincyLarson maybe we should look at other options re the search icon?

Maybe we can see what others have done? Clearly this is not unique to us.

@Bouncey Perhaps we could check and only render the icon if Font Awesome is loaded? Then worst case scenario we'd just have text there, which wouldn't be so bad.


OADP installation fails in disconnected OCP environment

If OADP is installed in a disconnected environment the result is the oadp-operator will fail as well as the velero service even after quay.io/konveyor is added to the OCP imagecontentsourcepolicy so that images can be pulled from this location.
# oc get pods
NAME                                        READY   STATUS                  RESTARTS   AGE
oadp-default-aws-registry-7f4ccc484-4qm48   0/1     ImagePullBackOff        0          43h
oadp-operator-86dc5c8578-zgmxf              0/1     ImagePullBackOff        0          4m58s
velero-598fb6447-z5vqd                      0/1     Init:ImagePullBackOff   0          42h
velero-5cf5445d97-wk45p                     0/1     Init:ImagePullBackOff   0          43h

For disconnected deployments the following should be done:

All image pulls must use image@sha

All image@sha needed for any of the CRs should be listed in CSV relatedImages. This is needed for disconnected air gap environments where the mirror registry has to be pre-populated with all image@sha that will be needed for a particular OADP version. Once the registry is disconnected OADP can be installed using these images.

Image pulls should be from a single location (i.e. quay.io/konveyer; registry.redhat.io) if possible and docker.io should not be used because most customers in disconnected OCP envs will not whitelist docker.io due to security concerns.

This will also require that we fork the CSI plugin and carry it under Konveyor as well.
This work has been put on hold temporarily.

https://github.com/konveyor/velero-plugin-for-csi/commit/02bcab7225d5dc6848261c28cd1c800ebe483e83
CSI fork with UBI dockerfile

RE: images and their shas... we need to go through all the image vars and ensure there is a field ****_fqin much like mig-operator that would allow someone to override the entire image substitution.
We also need to enable this in the CSV

fixed by https://github.com/openshift/oadp-operator/pull/448


Error response from policy service during bundle validation. Validation could not be performed: failed post url=http://demo1-anchore-engine-policy:8087/v1/validate_bundle HTTP Code: 500

Is this a request for help?:
Yes
I am trying to add new policy bundle from enchore-engine and getting below error.
root@demo1-anchore-engine-api-74d8f8b5d5-tqn6z:/anchore_service_config# anchore-cli policy add anchore_bundle.json
Error: Error response from policy service during bundle validation. Validation could not be performed: failed post url=http://demo1-anchore-engine-policy:8087/v1/validate_bundle
HTTP Code: 500
Can you please help on this i am new in anchore.

hi @amiagraw12 ,
That message is indicating that there is something in the bundle document that isn't conforming to the bundle format.  Some things that can help diagnose:

run the command with --debug and --json to get the most information from the server (e.g. anchore-cli --debug --json policy add ....)
if you could include your anchore_bundle.json as an attachment, we and others could help to verify format
check out the anchore policy hub (https://github.com/anchore/hub) for some examples of pre-packaged bundles that you can use as a baseline!

Let us know with a bit more information, and we can try to help

Hi @nurmi
I appreciate your quick response.
Please find the command output as below:
root@demo1-anchore-engine-api-74d8f8b5d5-tqn6z:/anchore_service_config# anchore-cli --debug --json policy add anchore_bundle.json
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): localhost:8228
DEBUG:urllib3.connectionpool:http://localhost:8228 "GET / HTTP/1.1" 200 5
DEBUG:anchorecli.clients.apiexternal:POST url=http://localhost:8228/policies?detail=True
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): localhost:8228
DEBUG:urllib3.connectionpool:http://localhost:8228 "POST /policies?detail=True HTTP/1.1" 500 225
DEBUG:anchorecli.cli.utils:fetched httpcode from response: 500
{
"detail": {},
"httpcode": 500,
"message": "Error response from policy service during bundle validation. Validation could not be performed: failed post url=http://demo1-anchore-engine-policy:8087/v1/validate_bundle"
looks like port 8087 is not exposed. if it is so can you please help where I need to expose it.
Setup details:
C:\Users\xxxx>kubectl get pods
NAME                                                READY   STATUS    RESTARTS   AGE
anchorecli-59569989c-qqh2d                          1/1     Running   1          23d
bio-first-app-mongodb-85555667cb-xwgtn              1/1     Running   5          71d
demo1-anchore-engine-analyzer-684d778c44-lrfgx      1/1     Running   2          23d
demo1-anchore-engine-api-74d8f8b5d5-tqn6z           1/1     Running   1          23d
demo1-anchore-engine-catalog-5644fd4fdb-tswdr       1/1     Running   1          23d
demo1-anchore-engine-policy-65bf5d7fdd-7mxvp        1/1     Running   2          23d
demo1-anchore-engine-simplequeue-57859f5fcf-5wzcj   1/1     Running   1          23d
demo1-postgresql-74cf4cbdbc-g48cq                   1/1     Running   2          23d
I have attached policy bundle as below
anchore-bundle.txt
. will check anchore policy hub.
Thanks
Amit Agrawal

Found this issue in the code. It is a version problem in the bundle (version 1_1 instead of 1_0) and bad error handling for that specific condition. The version field is the schema version, not the version of the bundle content. It must always be 1_0 until a new version format is released for 1_1


Code safety improvements

This MR removes a significant number of fatalErrors, force-unwraps, force-trys, and force-casts. This is to improve code safety and be more in compliance with the SSWG Technical Best Practices.
Some force operations remain, but they are mainly where throwing is not possible (top level literals), or in code mostly copied from a specific source. Examples of this include Encoder/Decoders that are based on Foundation's JSON coders, and Visitor based on the graphql-js reference implementation.

Thanks Paulo!
I think integrating swift-format is a great idea. I've only used  Nick Lockwood's SwiftFormat, not Apple's swift-format, but from initial runs the Apple one looks more than adequate. I'll make a follow-up PR that integrates it.


Add Fork me on GitHub ribbon

Add a GitHub ribbon which points to the Sprinter repo.
See here: https://github.blog/2008-12-19-github-ribbons/

Done for demo site only.


Download from Discord when unable to download from source + support not direct links

Hi,
Today someone shared pictures with dropbox, Discord preview them but I can't download them with QuickSave, maybe because it's not just about a simple HTTP GET.
So of course, if it's possible, it would be great to be able to save original pictures from cloud services like Google Drive, Microsoft OneDrive, Dropbox, Box, etc. but more important, each time Discord can get content thanks to their own API, but QuickSave can't, just download Discord's compressed picture.
Sorry if my english is bad, because I'm french.
Thanks !

About Dropbox:
Usually I would not start tinkering and adding support to individual sites to keep the code general and maintainable, especially this kind since they try to make it hard to link images directly. But, in this case the plugin fails in two spots: First the request is redirected with a 302 and then server sends the file with a "wrong" content-type header. I was planning on adding redirection support for a while anyway, so did it now (426789f). Added a special case to overlook the headers served by dropbox on a whim as well, the plugin will now work for images linked in format https://www.dropbox.com/s/<random>/<filename>?dl=1.
About your suggestion on downloading the rehosted image:
You can usually do this just by dragging and dropping the image to your desktop from Discord. If I were to implement it anyway, I would also need to ask about or alert the user on this matter, requiring me to deal with more unmaintainable and bug-prone DOM code. The cost outweighs the benefit for me there, so I will not implement or maintain this. Maybe once BetterDiscord fixes its alert function, I may reconsider. I'll leave the issue open.


Explain how to create a Flutter package with Rust (instead of an app)

Currently we have a lot of doc if we want to create a flutter app with rust. but no doc or template yet for flutter packages.
related: https://github.com/fzyzcjy/flutter_rust_bridge/discussions/819#discussioncomment-4143007

Take a look at Isar. I believe it can help what you're trying to achieve.

@buraktabn Hi thanks for the link! Indeed flutter_rust_bridge does support packages since day one - because that's how I personally use it. It is just lacking doc and template because my personal usage depends on my internal python-based tooling which is surely not suitable for external devs.

@fzyzcjy Since I have done this entire process already, using the latest recommended approaches where possible, I think I would be willing to take this issue on sometime soon. Isar is a good starting point (and indeed I used it for reference in certain places my library); however, I found better ways to take care of some things related to Rust interop that Isar does not do.
In the meantime, if anyone comes across this issue before I can tackle the documentation, take a look at my library, mimir for an example of how to make a Dart-only base and then a Flutter library built directly on top of it for ease of use.

Highly related: https://github.com/dart-lang/sdk/issues/50565
I will write the documentation for the current solution soon (& link to the above issue in the docs) but Native Assets would be the proper solution in the future.


When a local kernel build is needed, there needs to be a way to only build modules that are actually used.

So, I have a little embedded PC which I run NixOS on, and it has a slightly altered kernel config. Whenever there's an update to any of the kernel dependencies, it means the kernel has to be rebuilt, which takes about two hours. Most of that time is spent on driver modules which will never be required. So, there needs to be a way to specify that it should only build drivers that are actually applicable!

One way to achieve this is via make localmodconfig. It normally reads module information from the build host, but you can also pass (edited) output from lsmod via the LSMOD make parameter. My own experience with this has been a little poor, however, but I'm unsure whether I was just using it incorrectly or it simply doesn't quite work as advertised.

it might be possible to add a option to

start with make tinyconfig (this is useful in and of itself)
take an LSMOD parameter
combine it with the other kernel required options

this should result in the smallest possible kernel required for the system, shouldn't it?

Having an equivalent to what modprobed-db does on Arch would save a lot of compile time so +1 to this.
Think as is you still have to figure out all modules you use by hand and pass them to extraConfig which is cumbersome and hard to maintain.

any progress on this? I need a kernel patch because of my hardware, and building all the modules I am not going to use is not fun...


Flakyness when running flow on android emulator

When running a flow on an emulator maestro sometimes fail to assertVisibility of some text.
I can see the text in Maestro Studio. When running the same flow several times in a row it sometimes fails and sometimes run successfully. The element is not present in the hierarchy (maestro hierarchy) if the test fails, and is present when it succeeds.
There are no animations or loading state interfering with this test, and I've tried different ways of referencing, scrolling, and waiting for the element:
- scrollUntilVisible:
    element:
      text: "Gi tilbakemelding"
- extendedWaitUntil:
    visible:
       text: "Gi tilbakemelding"
    timeout: 10000
- assertVisible:
    text: "Gi tilbakemelding"
- assertVisible: Gi tilbakemelding

I'm not experiencing any issues when running the same flow on a physical device.
Issue is discussed on slack: https://mobile-dev-inc.slack.com/archives/C041FU72T54/p1678700923860579
Maestro version: 1.24.0
Emulator: API 32, arm64

I'm seeing a similar issue for a Compose lazy list that's populated after a delay. I've noticed that while the test is running, maestro hierarchy indeed does not include the desired element, but almost immediately after the test fails maestro hierarchy does include the element. I hypothesized that the rapid polling of the hierarchy was preventing it to update somehow, but adding a delay with exponential back-off of up to 2 seconds did not help.
Finally, I was able to workaround the issue in a very hacky way by something like this:
- repeat:
    while:
      notVisible: ${desired_text}
    commands:
      - assertVisible:
          text: ${desired_text}
          optional: true
      - tapOn: "foobar"  # Whatever idempotent interaction just to trigger the hierarchy to update
# continue with the rest of the test
...

@Dambakk Hi there! If you upgrade to the most recent version of maestro, are you still experiencing issues? If so, please share reproduction steps (Flows and app file) if you are able to and we will take a look.

I have upgraded to maestro 1.27.0, ran some flows and was not able to reproduce the issue described here! I guess we can consider this issue resolved! :)


disable read cache while populating stakes cache on load

Problem
stakes cache reads tons of accounts. These fill up the read cache. We then spend time evicting all these accounts, which hurts performance of startup and tx processing.
Summary of Changes
skip populating the read cache while loading stake accounts.
Fixes #

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.8%. Comparing base (e261e27) to head (1ad1164).

Additional details and impacted files
@@            Coverage Diff            @@
##           master     #482     +/-   ##
=========================================
- Coverage    81.8%    81.8%   -0.1%
=========================================
  Files         842      842
  Lines      228436   228447     +11
=========================================
- Hits       187063   187041     -22
- Misses      41373    41406     +33

Adding the disable_read_cache_updates field seems fine for this use case, but how about adding it as an explicit parameter to some load_account*() variant? Tx execution will likely want something like this too to implement https://github.com/anza-xyz/agave/pull/180, and there I don't think we can set a db-global bool


ResourceEstimator: localization

Numbers and time units formatting are EN/US
All descriptions and explanations are in EN/US

Need to consider localization.

https://github.com/microsoft/qsharp/pull/985 should reflect numbers format produced in TypeScript. There are also methods on the rust side to be reviewed.

Localization of the product would not be isolated to just RE, we would do it holistically (error messages etc).


Update source code location in docs

Scanners are also in the main repository.
We need to update the docs.
https://github.com/apache/kibble/blob/main/docs/source/setup.rst#source-code-location.

Hello, I'm new to open source. I want to work on it. Can you tell me about this in brief?


[SPARK-46080][PYTHON] Upgrade Cloudpickle to 3.0.0

What changes were proposed in this pull request?
This PR proposes to upgrade Cloudpickle from 2.2.1 to 3.0.0.
Why are the changes needed?
It includes official support of Python 3.12 (https://github.com/cloudpipe/cloudpickle/pull/517)
Does this PR introduce any user-facing change?
It includes official support of Python 3.12 (https://github.com/cloudpipe/cloudpickle/pull/517)
How was this patch tested?
Relies on cloudpickle's unittests. Existing test cases should pass too.

All relevant tests passed. Merged to master.


feat(metrics): errcode metric

Description:
Adds an errcode metric to track the number of errcodes generated by
OSM.

Affected area:

Functional Area

New Functionality
[ ]

Documentation
[ ]

Install
[ ]

CLI Tool
[ ]

Certificate Management
[ ]

Control Plane
[ ]

Ingress
[ ]

Egress
[ ]

Networking
[ ]

Observability
[ X ]

SMI Policy
[ ]

Sidecar Injection
[ ]

Security
[ ]

Upgrade
[ ]

Tests
[ ]

CI System
[ ]

Demo
[ ]

Performance
[ ]

Other
[ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? No

Did you notify the maintainers and provide attribution?

Is this a breaking change? No

Codecov Report

Merging #3898 (19e4101) into main (adfa0b9) will decrease coverage by 0.17%.
The diff coverage is 81.81%.

@@            Coverage Diff             @@
##             main    #3898      +/-   ##
==========================================
- Coverage   67.70%   67.53%   -0.18%
==========================================
  Files         200      201       +1
  Lines       11117    11346     +229
==========================================
+ Hits         7527     7662     +135
- Misses       3541     3633      +92
- Partials       49       51       +2

Flag
Coverage Δ

unittests
67.53% <81.81%> (-0.18%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

cmd/osm-controller/osm-controller.go
13.25% <0.00%> (-0.17%)
:arrow_down:

pkg/catalog/egress.go
84.84% <0.00%> (-0.65%)
:arrow_down:

pkg/metricsstore/metricsstore.go
100.00% <100.00%> (ø)

pkg/envoy/types.go
33.33% <0.00%> (-16.67%)
:arrow_down:

pkg/crdconversion/crdconversion.go
59.78% <0.00%> (-15.22%)
:arrow_down:

pkg/certificate/providers/config.go
46.90% <0.00%> (-1.95%)
:arrow_down:

pkg/configurator/methods.go
71.81% <0.00%> (-1.92%)
:arrow_down:

pkg/catalog/dispatcher.go
36.66% <0.00%> (-1.27%)
:arrow_down:

...certificate/providers/vault/certificate_manager.go
62.72% <0.00%> (-0.83%)
:arrow_down:

...icate/providers/certmanager/certificate_manager.go
85.13% <0.00%> (-0.79%)
:arrow_down:

... and 15 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update adfa0b9...19e4101. Read the comment docs.


Add support for consul backend

Consul support key value data store.
Is there a possibility to add consul support?

@lchayoun thanks for the question. I'll take a look how consul works and I keep you updated.

@marcosbarbero added an example of the implementation on #10

thanks so much, I'll take a look shortly :)

@lchayoun I just pushed an initial implementation for consul based on your PR.
I'm still working on integration tests, somewhere further in this week I'll probably release a new version with consul support.

@marcosbarbero looking good, I would suggest making the inMemory implementation as one of the strategies and condition on that property instead of the corrent condition.
the inMemory implementation can be good even for production usages

My idea is to make inMemory the default option, in case no strategy is defined it will be using inMemory implementation. WDYT?

inMemory as default sounds good!
I guess that repository can describe it well.

Great, I just created a new branch and applied the property name change.
I'll try to push this new version on maven central until next coming Thursday.

@lchayoun I just deployed v1.2.0.RELEASE to maven central.

@marcosbarbero Thanks!!

@lchayoun thank you for all the support!
If you have any further improvement ideas don't hesitate to reach me.


Analytic neutrino integral

This is to document some partial progress towards potentially making the neutrino phase space integral analytic at some point in the future if desired. This was suggested by Zachary Slepian (I can't find his github handle), and worked on at the Berkeley 2019 meeting / hack day by @xfangcosmo, @aferte and me. Tagging @tmcclintock who was also interested.
Zach's idea was that maybe the phase space integral for neutrinos, which we are currently doing numerically (see equation 6 of the CCL paper https://arxiv.org/pdf/1812.05995.pdf), could be done analytically a method similar to that described here: http://www.physik.uni-regensburg.de/forschung/fabian/pages/mainframes/teaching/teaching_files/files of mf_statistical_physics/BE_integrals.pdf
@xfangcosmo worked through the math on this during the Berkeley 2019 meeting and at hack day; finding that because of the difference in form of the integral; the analytic result is not quite as nice as in those notes linked above and requires summation over a number of terms. However, it seems like those terms could converge pretty quickly. Xiao made a mathematica notebook showing the answer; I'll leave it up to him if he wants to upload that here. The answer is in terms of things Bessel functions evaluated at single points.
If we wanted to pursue this, the steps would be as follows:

[ ]  Check how much the numerical evaluation of this integral is or is not a bottleneck.
[ ]  If it's a bottleneck, check if evaluating the analytic form up to the required number of terms for convergence is faster.
[ ]  Compare with the numerical results as a cross check.

I wouldn't say this is a priority issue, just something to look at at some point if we want to.

The integral is computed when a cosmology object is instantiated, correct? Is the integral performed if the neutrino mass is not specified? If so, it would be very easy to test if this is worth spending any time on with the following script:
import pyccl as ccl
import timeit

def test_noNus(): #no Nus is good Nus
    ccl.Cosmology(Omega_c=0.3, Omega_b=0.05, h=0.7, A_s=1e-10, n_s=0.96)

def test_hasNus():
    ccl.Cosmology(Omega_c=0.3, Omega_b=0.05, h=0.7, A_s=1e-10, n_s=0.96, m_nu=0.1)

print(timeit.timeit("test_noNus()", setup="import pyccl as ccl", number=100))
print(timeit.timeit("test_hasNus()", setup="import pyccl as ccl", number=100))

I think this should work fine (can't run it ATM). The output should show the runtime for 100 calls to both functions. @c-d-leonard, will the integral be performed if m_nu is specified? If not, the function call can just be modified appropriately.

I will share my derivation and Mathematica notebook after I clean it.
For reference, I timed the calculation in Mathematica, for rescaled neutrino mass \tilde{m} <1, it took <0.025 sec with a series expansion up to the 15th order (already better than 0.1% accuracy). Smaller \tilde{m} took shorter time. I attached the computation time vs. \tilde{m}.

@c-d-leonard @tmcclintock I used Tom's script and found it only took ~0.25ms for one computation. That means the analytic version is probably not needed?

I don't mean to toot my own horn, but "nu Nus is good Nus" is very clever.
You're welcome.

Yes this is not even close to the bottleneck. I am going to close this issue since we don't ever need to do this. Feel free to reopen.

You can also use Pade approximation and get to the same results even faster.

@slosar  Good idea! Or we can generate the integral results for a list of m (for 0<=m<1), and interpolate, since the function is very smooth.  however, given the current speed, this should be unnecessary.

See
https://www.overleaf.com/16264600shmrnpdndtfq#/62267973/
by Martin White. This could be trivially made more accurate and I think it will be faster that those gamma functions.
See also
https://www.dropbox.com/s/0nmjyvcbq271z0k/pr.pdf?dl=0
for an alternative (but now I think that Pade is probably better).

very nice approximations!


[Feature Request] Update Mod

Please update the mod to 1.19.3 and 1.19.4! Thank you :)

Please update the mod


Added SigningKey parameter to JWT Token generator (fixes #913)

The JWT Token generated by dev-proxy cannot be validated into an ASP.NET Core Web API.
Adding the signing key is possibile to validate the generated JWT token for a specific user and scope for a endpoint that requires authentication and authorization

I'll mark the PR as draft for now, and please mark it as ready for review when you update it.

Thanks for the PR! Before we continue, let's also update the API, where we expose the ability to create JWT, with the ability to pass the signing key too:
https://github.com/microsoft/dev-proxy/blob/525d4f44722fe6017f5b09814c2ea9413518adb4/dev-proxy/ApiControllers/ProxyController.cs#L56
.

Sorry @waldekmastykarz i don't undestand the API Update you refer, the SigningKey value is inside jwtOptions class so for action CreateJwtToken you can pass the SigningKey value directly in the body. Do you mean to pass the key differently?

My bad, sorry! I totally missed that you've updated it already. I'll proceed with the review. Sorry for trouble.

We need to extend the logic of creating the token using the API. Right now, if you specify a key that's too short, proxy crashes with an exception.
Repro:
POST http://localhost:8897/proxy/createJwtToken
Content-Type: application/json

{
    "name": "Dev Proxy",
    "audiences": [
        "https://myserver.com"
    ],
    "issuer": "dev-proxy",
    "roles": [
        "admin"
    ],
    "scopes": [
        "Post.Read",
        "Post.Write"
    ],
    "claims": {
        "claim1": "value",
        "claim2": "value"
    },
    "validFor": 60,
    "signingKey": "mySecret"
}

Expected:
400 Bad Request
The specified signing key is too short. A signing key must be at least 32 characters.

Current:
fail: Microsoft.AspNetCore.Server.Kestrel[13]
      Connection id "0HN7EFMMH5MCK", Request id "0HN7EFMMH5MCK:00000001": An unhandled exception was thrown by the application.
      System.ArgumentOutOfRangeException: IDX10653: The encryption algorithm 'http://www.w3.org/2001/04/xmldsig-more#hmac-sha256' requires a key size of at least '128' bits. Key '[PII of type 'Microsoft.IdentityModel.Tokens.SymmetricSecurityKey' is hidden. For more details, see https://aka.ms/IdentityModel/PII.]', is of size: '64'. (Parameter 'key')
         at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider..ctor(SecurityKey key, String algorithm, Boolean willCreateSignatures)
         at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.CreateSignatureProvider(SecurityKey key, String algorithm, Boolean willCreateSignatures, Boolean cacheProvider)
         at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.CreateForSigning(SecurityKey key, String algorithm, Boolean cacheProvider)
         at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.CreateForSigning(SecurityKey key, String algorithm)
         at Microsoft.IdentityModel.JsonWebTokens.JwtTokenUtilities.CreateEncodedSignature(String input, SigningCredentials signingCredentials)
         at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateJwtSecurityTokenPrivate(String issuer, String audience, IList`1 audiences, ClaimsIdentity subject, Nullable`1 notBefore, Nullable`1 expires, Nullable`1 issuedAt, SigningCredentials signingCredentials, EncryptingCredentials encryptingCredentials, IDictionary`2 claimCollection, String tokenType, IDictionary`2 additionalHeaderClaims, IDictionary`2 additionalInnerHeaderClaims)
         at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateJwtSecurityTokenPrivate(String issuer, String audience, ClaimsIdentity subject, Nullable`1 notBefore, Nullable`1 expires, Nullable`1 issuedAt, SigningCredentials signingCredentials, EncryptingCredentials encryptingCredentials, IDictionary`2 claimCollection, String tokenType, IDictionary`2 additionalHeaderClaims, IDictionary`2 additionalInnerHeaderClaims)
         at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateJwtSecurityToken(String issuer, String audience, ClaimsIdentity subject, Nullable`1 notBefore, Nullable`1 expires, Nullable`1 issuedAt, SigningCredentials signingCredentials)
         at Microsoft.DevProxy.Jwt.JwtIssuer.CreateSecurityToken(JwtCreatorOptions options) in /Users/waldek/github/microsoft/dev-proxy/dev-proxy/Jwt/JwtIssuer.cs:line 66
         at Microsoft.DevProxy.Jwt.JwtTokenGenerator.CreateToken(JwtOptions jwtOptions) in /Users/waldek/github/microsoft/dev-proxy/dev-proxy/Jwt/JwtTokenGenerator.cs:line 20
         at Microsoft.DevProxy.ApiControllers.ProxyController.CreateJwtToken(JwtOptions jwtOptions) in /Users/waldek/github/microsoft/dev-proxy/dev-proxy/ApiControllers/ProxyController.cs:line 58
         at lambda_method2(Closure, Object, Object[])
         at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
         at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
      --- End of stack trace from previous location ---
         at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
      --- End of stack trace from previous location ---
         at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
         at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
         at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
         at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
         at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
         at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)

Ok in case "signingKey":"" same error or goes ahead and generates a random key?

Ok in case "signingKey":"" same error or goes ahead and generates a random key?

Let's use a random key if the user hasn't specified any key. If they specified an empty value, the API should respond with 400 Bad Request.


Quick Select  [Python]

This issue is about Quick Select.

[x] Issue Title is in form Algo/DS Name [Language].
[x] I searched or browsed the repo’s other issues to ensure this is not a duplicate.
[x] This Algo/DS is worth adding to this repository.
[x] Assign this issue to me (I want to work on this).
[x] I will send my PR only after I'm assigned to this issue by any maintainer.
Please assign these issue to me.

@Hsankesara: Please correct issue description.

Why isn't the first point ticked? Issue title is as it should be.

What are you talking about. First point is ticked

He means kindly correct the first point in Issue Description.

I think I'll correct it.


Don't reload the toolbar icons every time the toolbar is rendered

Also use "-f" option of rm in the "clean" makefile target so if you run "make clean" 2x in a row, the 2nd attempt doesn't fail.

Ping.  (I'm trying to do hacktoberfest).


Fast Reset sometimes doesn't work and will save normally.

When using fast reset, the mod sometimes saves the game, and it takes just as long as normally saving and quitting would. It's annoying when using this with a reset macro, as sometimes the macro will be half way through creating a world when the world is finished saving, resulting in the macro doing unwanted thing for me, like quitting the game, or changing settings.

thats being cause because the game still needs to close the files even if it isnt writing to them and sometimes depending on what your drive is doing that can take longer to do. I probably wont be fixing that because its going to be very hard to maintain and isnt a major issue


Add example with nested segmentation, fix number types, remove extraneous produces

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[x] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[ ] The spec follows the guidelines described in the Swagger checklist document.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-sdk-for-go

Can one of the admins verify this patch?

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-node

Automation for azure-sdk-for-python

Automation for azure-sdk-for-js

Thanks @alexeldeib - are you able to fix the two failing CI passes?
The Go SDK generation is still failing and there's a number of model validation errors:
https://travis-ci.org/Azure/azure-rest-api-specs/jobs/445374245
Thanks!

@annatisch Fixed csv formatting for the example, but I have questions about the other issues.

Go SDK. I see: FATAL: System.InvalidOperationException: codegen for preview swagger microsoft.insights/preview/v1/AppInsights.json must be under a preview subdirectory, but the file is under a preview subdirectory? Any insight here?

Model validation is failing with an error that this property doesn't exist, but it's in the swagger?

"message":
  "Reference could not be resolved:
    #/definitions/generated.nested.definitions.eventsResult.properties.%40ai.messages",
    "path" : [
      "definitions","eventsResult","properties","@ai.messages","$ref"],
      "error": "JSON Pointer points to missing location:
      #/definitions/generated.nested.definitions.eventsResult.properties.%40ai.messages"
    ]

Still addressing a model validation issue with additionalProperties.

Hi @lmazuel - do you know if there have been changes to how XML data is represented in Swagger examples? Samples like this one are now failing:
https://github.com/Azure/azure-rest-api-specs/blob/master/specification/applicationinsights/data-plane/microsoft.insights/preview/v1/examples/events-get-metadata.json
Error:
operationId: Events_GetOdataMetadata
scenario: eventMetadata
source: response
responseCode: '200'
errorDetails:
  code: INVALID_TYPE
  params:
    - object
    - string
  message: Expected type object but found type string

@annatisch says:
Hi @marstr - Do you know what would cause this error in the Go generator?
codegen for preview swagger microsoft.insights/preview/v1/AppInsights.json must be under a preview subdirectory

Ah yeah, the output path configured for the Azure SDK for Go must be in the "services/preview" folder because this spec is in the preview folder in the specs repository.

Thanks @marstr!
Additionally I've confirmed with @sergey-shandar that the model validation errors with regards to XML can be ignored for now.

@marstr I think this is due to https://github.com/Azure/azure-rest-api-specs/pull/3084 creating the preview/stable folders. When the spec was originally introduced, there were no folders to differentiate stable/preview. What's the preferred solution for you? I can update the path here but you'll end up with a redundant version of the SDK in azure-sdk-for-go.
@annatisch thanks for clarifying. I think I covered the other issues with examples, let me know if I missed anything.

Automation for azure-sdk-for-java


[Feature]  Does it have any api to take json format of my resume and return me a pdf

Is there an existing issue for this feature?

[X] Yes, I have searched the existing issues and it doesn't exist.

Feature Description
Does it have api features for user to pass on json text and get the resume in return

This would be super useful! Thanks


Something is strange with VGA, maybe scrolling?

https://github.com/steveklabnik/nucleus/commit/7ffaea4b88d296d6838e09cdb71308bac20f94a2#commitcomment-15078909

Closed by https://github.com/intermezzOS/kernel/pull/30


Fixup repo root detection code in tests.

#1205 & #1206 were running into issues detecting the repo root in tests under Python 2.7 on macOS only. This fixes that.


Try getting go interop docker building.

A take on #4835

Fixed copyright, basic tests seemed to be green before, and interop tests are broken at this point. Let's merge?


Rework Select Sonar

The primary change is that the function now uses dataset/data array time variable start and end selection instead of filename time values.

@leewujung This is ready to be reviewed

Codecov says 'All modified and coverable lines are covered by tests ✅', so I think this coverage difference is alright?

Hey @leewujung, I added a few more checks for the gating in the test_select_sonar function. Do you think I should remove the parse_simrad_fname_time function from utils/time.py? The only place it was used was in the previous iteration of select_sonar.

Yeah, I think that function could be removed.

@leewujung Just removed it

@ctuguinay : I pulled in all changes from main.


pin list loader and exporter

It would be cool if we made it really easy for people to share their pinlists with each other. Some kind of feature for loading, updating and exporting pin lists would go a long way.
It would make it easy for people in the community to back up Web3 data when peolle post them on social media like https://twitter.com/artnome/status/1459310362935898122?s=21

Our GUI apps do not support low-level pins as those have no human-readable labels – we removed them actually :)) https://github.com/ipfs/ipfs-webui/issues/1773
The current  story is that GUI users leverage MFS for keeping content around and protecting it from GC.
We have CAR import/export planned for webui https://github.com/ipfs/ipfs-webui/issues/1798
We won't be adding low level pins any time soon to GUIs – it could happen after we add human-readable labels to ipfs pin  (we already have them in ipfs pin remote * commands)


How to work around "Gulp version mismatch:"?

I installed gulp today, works nicely with a new project.
But I forked an existing plugin to fix some stuff, but I cannot run the gulpfile:
[gulp] Gulp version mismatch:
[gulp] Running gulp is 3.3.4
[gulp] Local gulp (installed in gulpfile dir) is 3.2.5

Not sure why this is... do all my local projects need to sync their gulp version? :confused:

npm update gulp -g
Update the local: cd /your/folder/
npm update gulp

tanks thiagoprazeres
it is working.

Why can't the global gulp determine that there's a local gulp then kill itself and run that one instead of always warning? It's a pain to keep all my gulps across all my projects, across all my machines, across all my co-workers' machines in sync.

@mnpenner just install it locally and alias an npm script to gulp, I never use the global install.


Nothing to publish

Hi all,
I have a big problem with this, I downloaded the package,  then when i make the php artisan vendor:publish, it always return a nothing to publish and I dont know why,I make all the steps well from the wiki, hope somebody can help me :C
thanks

Hi,
Which version did you download, and which version of Laravel are you using?

Hi, laravel are 5.0.* and Riari and riari/laravel-forum:~2.0.

I can't reproduce this. Are you sure you added the service provider ('Riari\Forum\ForumServiceProvider') to your config/app.php?

Yes i added it, i'm sure, but i think is not problem of me of your package, i think its something on my laravel config

Sorry, I'm not really sure what to suggest other than installing the package on a fresh Laravel install so you can identify any issues with your config.

I see that this is old, but I had a similar issue. The thing that helped me was clearing config cache:
~# php artisan config:cache

@VyacheslavVV right, but on a local machine, during development, you should never use config cache. This will be a pain to code with.
And during a deployment you should have a step which clears and caches again the config.


How to pass NDISTest 6.5 MPE_Ethernet.xml?

Hi,
I only have one HCK test left for NetKVM that I can't find a manual errata for: MPE_Ethernet.xml.  I found older RedHat bug reports related to this test, but they seem to be fixed.  This is one of those fun tests where using 4GB of RAM on the clients brings the "Unexpected reboot" failure message, while 3GB proceeds much further.  The failure I see is on the server, where it blue screens after about 3 hours:

I've tried going back in time to find a version of the net driver that passes (in order to bisect), but no luck.  I'm using your awesome VirtHCK testbed, so test setup shouldn't be an issue.  HLK doesn't have this test, but HCK does, and it fails on all 4 operating systems: Win7/2008R2 and Win8.1/2012R2.
Do you have any hints on either how to get this test to pass, or point to an errata that is applicable?
thanks,
Ben

Closing. If the issue still exists on your setup - please reopen.


Infix operators have reduce/reduce conflicts

Steps to reproduce
Try the infix branch, and run compile.scm. You will get a warning %% Reduce/Reduce conflict (reduce 84, reduce 48) on 'RPAREN' in state 96. I don't know the source of the conflict.

My debugging technique would be to revert all changes from LIDENT to lident_ext, and then reintroduce them one by one to see where the conflict appears.
Note: I think it would probably be fine to also allow parenthesized operators in field names, to remove the distinction between LIDENT and lident_ext completely, and get a simpler patch. But you have already implemented the more-careful approach, so we can keep that.

I tried to do that without much success... It seems like the conflict arises as soon as the rule longident_lident -> lident_ext exists (with the rule longident_lident -> longident_uident DOT lident_ext being fine as is).
Besides, I tried to replace the rule for the construction of a record to only allow longident_field instead of longident_lident, and I was greeted by two other conflicts, which seem to exist only if both the rules for 'ERecord and 'ERecordwith are present: if either of them is disabled, both conflicts disappear.
I must say I am a bit lost here, and I don't have enough intuition to know where the conflicts come from. It is possible that they originate from the parser generator handling only LALR(1) and not LR(1), but I'd still be surprised by that. Do you have any idea about this?

I'm happy to try looking at it, but later. (In case you are curious: the PhD defense of François Thiré just started, I can send you the URL in case you want to know about translating proofs between pure-type-systems-with-extensions systems.)

I have found the problem: ( * ) would have been allowed in type_ignore and related as both a longident_lident and a succession of parentheses and allowed symbols in this context.
However, it doesn't fix the problem with records, so I'm leaving the issue open for now.

Found the other conflict. It happened because something like { a = 7 with ... } was accepted by the grammar.


[Bug/Incompatibility] Visual Glitch when used with the Jukebox Slab from "Improved Stations"

Improved Stations is a mod that creates half slab variants of crafting and work stations in the game.
One of the blocks is the "Jukebox Slab" and this block seems to exhibit some rather odd behavior with Visual Overhaul when its placed in the world as seen in the attached image:

This problem does not cause a crash, and in fact: Works just fine when you attempt to operate it. Its purely a cosmetic bug.

I'm gonna close this, since Improved Stations is not updated past 1.18 and I won't update old versions of VisualOverhaul.


Jest is not accepting React module composition for test

https://github.com/bingomanatee/ReactUserBoilerplate/blob/master/src/components/FormDefField/__tests__/FormDefField-test.js
the error returned from jest is

Error: Invariant Violation: The style-loader must be configured with reference-counted API.
at invariant (../node_modules/fbjs/lib/invariant.js:39:15)
at WithStyles.componentWillMount (decorators/withStyles.js:86:47)

This is a build based on react-starter-kit.

Can you try using the moduleNameMapper option to stub out .css modules?
See: http://facebook.github.io/jest/docs/api.html#config-modulenamemapper-object-string-string
I'm wondering whether this has to do with .css files not being processed correctly. For tests it probably makes sense to create a stub for all .css files.


Timeline for data upload

Do you have a timeline for when the dataset will be fully uploaded?
Is there a smaller version of the dataset that can be used in the meantime?
Thanks

hello，do you run this code succesfully？i have some problems

Looking forward to your release of Kling, jimeng, CogVideoX generated video datasets.


[Omnibus] Support packaging of the agent at a different location than /opt/datadog-agent

What does this PR do?
Allow omnibus to package and build the agent at a different location than /opt/datadog-agent. Also gives the option to generate config files at a custom path instead of /etc/datadog-agent.
Note: The packaged agent is still meant to work from /opt/datadog-agent and will still try to get config files from /etc/datadog-agent

Motivation
MacOS runners don't support virtualization and have already a datadog-agent present for internal tracking. We need to be able to build the agent on runners without overwriting on the existing agent.

Additional Notes
This PR depends on this omnibus-ruby PR
Currently tested only on the base flavor

Once the macOS builds uses this PR, we can remove this test job since regression will be handled by the macOS build job.
Possible Drawbacks / Trade-offs

Describe how to test/QA your changes
QA for each affected and relevant jobs (datadog-agent-7-x64,datadog-agent-7-arm64,agent_heroku_deb-x64-a7,agent_dmg-x64-a7)

Get the job artifact
Extract the archive and find the agent .tar.gz and extract it
find datadog-agent
Move it to any folder that isn't /opt
run datadog-agent/bin/agent/agent --help
run datadog-agent/bin/agent/agent run
Note: these QA steps have been done before merge

QA cmd to build manually
export INSTALL_DIR="/some/custom/path" # needs to be exported
inv omnibus.build --install-directory "$INSTALL_DIR" --config-directory "/some/custom/config/path"

CI builds
Currently custom_agent_build_test create an x64 build to /custom/datadog-agent with config files in /custom/etc/datadog-agent the job fails if not correctly generated at these locations.

/merge


Typo in SortFilterProxyModel/filter.cpp

at Line  441   qmlRegisterType("SortFilterProxyModel", 0, 2, "RegexpFilter");
according to documentation/sample complex filtering & camel case tradition at there the "E" is uppercase in "ExpFilter" like
qmlRegisterType<RegexpFilter>("SortFilterProxyModel", 0, 2, "RegExpFilter");

Class name could be also in camel case

Thank you for pointing out this mistake