Update to LDAP docs for multiple user and role bases

Signed-off-by: Anthony7774<EMAIL_ADDRESS>Description
Adding advanced LDAP configuration (multiple user/role bases)
Issues Resolved
Doc update
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@Anthony7774 Thanks you for your contribution.
There is however a problem with PR. GitHub believes you made the commit as<EMAIL_ADDRESS>but the signing was done with your official email. This could be because GitHub is not aware that your official email belongs to your username. You could handle this by either adding your official email to GitHub or just signing an amended commit with<EMAIL_ADDRESS>

@AMoo-Miki Thanks for explanation. I've added my official email to GitHub, do I need to do anything else?

Thanks @Anthony7774!


[Suggestion] Exclude DMs from CommandMessage#nsfw

Currently when having the nsfw option enabled for a CommandMessage you can also not use any of such commands in DMs. I think it is safe to assume that if someone is talking to a bot in a private message they are full and well aware of what they are doing to begin with and therefore I think that even with nsfw enabled, these commands should be usable in DMs.
Currently returns:

For obvious reasons not showing what I want it to return.

This is apparently against ToS.

Oh really? I gotta re-read them then. I thought it was allowed under certain circumstances, including DMs and "legal" nsfw (as in, no child porn and such)

Right okay so I just checked the ToS and CG and well.. it's kind of a tough one. T
he ToS states the following under RULES OF CONDUCT AND USAGE:

post, upload, transmit or otherwise disseminate information that is obscene, indecent, vulgar, pornographic, sexual or otherwise objectionable as outlined in our Community Guidelines;

So I jumped to the CG which then has the following 2 lines concerning NSFW:

Sharing illustrated or digitally altered pornography which depicts minors (such as lolicon or shotacon).

Not properly labeling NSFW channels. Some content just isn't appropriate for kids under 18, so let's do the right thing in our community and label any channel containing adult content as NSFW. This will add an age gate to the channel, protecting those who wish not to see.

So here's the conundrum. Does the fact that it is not possible to properly mark a DM as NSFW automatically make it that sharing NSFW content in DMs is not allowed as per the last quoted section or are DMs excluded by this section by Discord themselves too. Personally I'm not in any of the official servers (long story short: bad experiences) but I suppose a Discord staff would have to clarify this.

Let's say your bot sends NSFW content in a channel that didn't explicitly ask if the user is over 18. Let's also say the user getting this DM is under 18 and had no idea what "rule 34" is and just wanted to test commands.
Now, a big-boobed nude woman just appeared on the screen of a minor. Shocked, the kid shows his parents and the parents ask if the kid had any sort of warning. Of course, there wasn't. Parents report Discord and/or your bot. Get the idea?

True enough yes

Heard back from Discord staff and this is what they replied:

I think we can reach a census by saying this should not be by default and rather a opt-in solution that you develop on your own then.

That's fair, yes. I'll close with this comment then since such a contribution would go through a PR if I do get time for it.


errors with simple button and action

modified your example:
getting this:
after 1 button click. works fine.
2nd click and following, 1 unique error apiece. (see image)
Not sure if I am misusing this or if there is a bug.
Not urgent. Thanks for working on this module(s)

I just updated the example with the addition of an input field that changes the title on input: https://github.com/sethvincent/virtual-app/blob/master/example.js#L42
That might give a clue about what's happening.
Could you make a gist with your code?

I apologize. I actually made a gist yesterday but forgot to add the link to the issue: https://gist.github.com/BenjaminVerble/0cc9752fa8204c42b041

it was my fault, line 36 of gist. tried to pass a value and children to a v-dom/h node. closing issue. thanks for taking a look.

Cool! I was just typing something about line 36. Let me know if anything else comes up.

thanks. I'm just trying to learn fp patterns for the front end after studying a bit of haskell. I was finding redux + react took a lot of brain power to get working on something practical (perhaps it's just taste). It felt like the tooling was complicated and that the composition of functions didn't make sense in all cases. I'm glad I got this "hello world" working. I'm going to build something the size of a todomvc with electron and see how it works out in practice. Thanks again for putting this module together. The api is friendly to my brain.

:+1:  What you're describing is really similar to my reasoning for working on this module. I like what's happening with react, redux, and related projects, and want to explore a simpler, functional approach.


force install the custom version of ipyleaflet

As mentioned in https://github.com/12rambau/sepal_ui/pull/902, we cannot change the version of ipyleaflet used in sepal_ui to a branch. on the other hand it's perfectly possible to force intall it from here as we do for earthengine.
As long tas the applications are still using a loose pin on ipylaflet (which shoould be the case) it will work.
Mentioning @dfguerrerom for the follow-up

@12rambau can you change your PR to jellyfish branch?

done

I would put this PR on hold until we decide tomorrow if it's better to use the wheel (too speed up the build) or the repo.

no longer needed, check https://github.com/jupyter-widgets/ipyleaflet/pull/1146


FATAL: RestoreError: TypeError: copyfileobj() takes from 2 to 4 positional arguments but 5 were given

Hi,
I'm running pghoard in a docker container on kubernetes, I'm trying to test the restore process but keep getting this error after it finishes downloading the basebackup
FATAL: RestoreError: TypeError: copyfileobj() takes from 2 to 4 positional arguments but 5 were given
I'm running pghoard 1.4.0 on python 3.6.1, restoring from a google cloud bucket to postgres 9.6.3
I can't figure out if  I am doing something wrong or if this is a bug, any help would be appreciated.

This has already been fixed in: https://github.com/ohmu/pghoard/commit/7d6c693570aa2b7f2b9bb99cfb6ae82a0869daaf . (problem is that the copyfileobj signature changed in python3.6)
You'll just need a very recent git checkout and things should just work.

thanks for the quick reply


Problem when generating mini batches

I am trying to generate the mini batches but I am running in this problem. Any suggestions?
Clustering labels 3712 / 3712
Finished reading labels, clustering data...

Clustering labels 3712 / 3712
Finished reading labels, clustering data...

Generating mini batches in /media/watouser/Seagate_Backup/object_detection_3d/avod/avod/data/mini_batches/iou_2d/kitti/train/lidar
1 / 7481 No Cars for sample 000000 (Ground Truth Filter)
Traceback (most recent call last):
  File "scripts/preprocessing/gen_mini_batches.py", line 199, in <module>
    main()
  File "scripts/preprocessing/gen_mini_batches.py", line 136, in main
    do_preprocessing(car_dataset, None)
  File "scripts/preprocessing/gen_mini_batches.py", line 17, in do_preprocessing
    mini_batch_utils.preprocess_rpn_mini_batches(indices)
  File "/media/watouser/Seagate_Backup/object_detection_3d/avod/avod/core/mini_batch_utils.py", line 97, in preprocess_rpn_mini_batches
    mini_batch_preprocessor.preprocess(indices)
  File "/media/watouser/Seagate_Backup/object_detection_3d/avod/avod/core/mini_batch_preprocessor.py", line 238, in preprocess
    image_shape=image_shape)
  File "/media/watouser/Seagate_Backup/object_detection_3d/avod/avod/datasets/kitti/kitti_utils.py", line 247, in create_sliced_voxel_grid_2d
    image_shape=image_shape)
  File "/media/watouser/Seagate_Backup/object_detection_3d/avod/avod/datasets/kitti/kitti_utils.py", line 157, in get_point_cloud
    im_size=im_size)
  File "/media/watouser/Seagate_Backup/object_detection_3d/avod/wavedata/wavedata/tools/obj_detection/obj_utils.py", line 237, in get_lidar_point_cloud
    x, y, z, i = calib_utils.read_lidar(velo_dir=velo_dir, img_idx=img_idx)
ValueError: not enough values to unpack (expected 4, got 0)

My folder structure looks like this:
`-- object
    |-- testing
    |   |-- calib
    |   `-- image_2
    `-- training
        |-- calib
        |-- image_2
        |-- label_2
        |-- planes
        `-- velodyne

I found the bug: My velodyne folder was broken, i.e., some files were missing.


Feature Request: Skill Tracking

It would be highly beneficial to be able to track how many skill increases a character has available to them and what skills are added by default (meaning, by background, class, etc.)
This should also support feats adding their own counters to the tracker, and should recognize when you have duplicate skills from multiple sources.

I'm currently messing around with something like this. It is going to be a fairly large undertaking and probably not something that will be in any time soon


Move to Cake Contrib

Is it possible to move this repo to https://cakebuild.net/community/cake-contrib
so it is possible with the community to extend the Helm extension e.g. with Cake Install

@gep13 this addin needs some work; @santey are you interested in moving the repo to cake-contrib?

@santey I wanted to reach out again regarding this issue, as there has been another request to get this addin updated.
Is moving this repository into the Cake-Contrib Organisation something that you would consider?
Please let me know if you have any questions about this.


fix: inject dealer fns depending on senderWallet.currency

@dolcalmi and I were able to replicate the bad conversion locally, apply this fix, and confirm that in the specific case where it's a BTC sender and USD recipient that this works (1 sat converts to 0 cents after fix, 1 cent before fix)


[docker] ensure that Dockerfile.gen matches Dockerfile

There was support added for a new GPU architecture(https://github.com/TabbyML/tabby/issues/62) and I noticed this
python script wasn't updated. I Figured it would be good to ensure IF
this python script was used somewhere else, unexpectedly, that it should
also output the additional GPU arch.
Followup for commit 1db2fc8255dad63521e2001c2b78b633f90c1fbc
The output from this python script now matches the existing Dockerfile that is checked into the repo.
❯ rm Dockerfile.gen && make Dockerfile.gen && diff -u Dockerfile Dockerfile.gen
python create_dockerfile_and_build.py \
	--triton-version 22.12 \
	--dry-run

Sat Apr  8 20:56:51 2023 exit 0 🟢

hank you for the PR, @ghthor.
I believe that maintaining docker/create_dockerfile_and_build.py may not be necessary for Tabby's use case, as its usage serves little purpose.
Therefore, I will be closing this PR for the time being.


Ia 2327 permission iaso submissions should allow the user to see the submission

Explain what problem this PR is resolving

Before a user who had iaso_permissions without the iaso_update_permission could not see a submission
Related JIRA tickets : IA-2327

Self proofreading checklist

[x] Did I use eslint and black formatters
[ ] Is my code clear enough and well documented
[ ] Are my typescript files well typed
[ ] New translations have been added or updated if new strings have been introduced in the frontend
[ ] My migrations file are included
[ ] Are there enough tests
[ ] Documentation has been included (for new feature)

Changes

Check if the connected user has one of the two permissions["iaso_submissions", "iaso_update_submission"] and display the Actions columns
Check if connected user has iaso_update_submission in every link on button to update the submission, if the user has not the update submission permission those links and button won't appear.

How to test

Connect with a user who has not update submission permission
Access to the submissions list
It will be possible to see submission's details(eye icon)

Print screen / video

@cypress


Add multi-cursor support

This PR adds support for multiple cursors/selections:

PLS READ
I also removed adding the selection to the clipboard. I strongly advise this for several reasons:

just let the built-in copy command do it's job
copying selections to the clipboard is actually somewhat complex, for example, this extension's existing behavior actually BREAKS copying multiple selections
even if you put a ton of work into making your copy behave EXACTLY like the built-in behavior, what if that changes in the future? It's much wiser to not even mess with this and just focus on the highlighting

Hello @DaelonSuzuka, thank you once again for your interest and contributions.
I've just added a test to check the multi-cursor support. You are right: it is not operating correctly at the moment and is affecting the clipboard functionality when using multiple cursors. I appreciate you bringing this to my attention.
However:

I also removed adding the selection to the clipboard.

I'm concerned that this approach might cause the extension to malfunction because if we do not manually write the selection to the clipboard, VSCode will not update the clipboard on its own. I have tested this scenario and implemented a test to verify it.

copying selections to the clipboard is actually somewhat complex, for example, this extension's existing behavior actually BREAKS copying multiple selections
even if you put a ton of work into making your copy behave EXACTLY like the built-in behavior, what if that changes in the future? It's much wiser to not even mess with this and just focus on the highlighting

Totally agree with you.

I'm concerned that this approach might cause the extension to malfunction because if we do not manually write the selection to the clipboard, VSCode will not update the clipboard on its own. I have tested this scenario and implemented a test to verify it.

That's incorrect and you're testing the wrong thing. You want the leave the builtin copy command bound to ctrl+c, and then also bind this extension to ctrl+c, and then both commands will run at the same time.

I'm concerned that this approach might cause the extension to malfunction because if we do not manually write the selection to the clipboard, VSCode will not update the clipboard on its own. I have tested this scenario and implemented a test to verify it.

That's incorrect and you're testing the wrong thing. You want the leave the builtin copy command bound to ctrl+c, and then also bind this extension to ctrl+c, and then both commands will run at the same time.
You don't need to test the clipboard contents at all, because you don't need to be responsible for that.

I understand what you're saying, but in my debugging tests, when I disable the clipboard writing feature in the extension, hitting Cmd+C just highlights the text without updating the clipboard. I'm concerned that if we map Cmd+C to a new command in our VS Code extension, it might override the standard copy functionality. Am I mistaken here?
Have you managed to get the extension to show the highlighted selection without actually writing to the clipboard, while still letting VS Code handle the copy operation? It could be an OS-specific issue; for example, on my Mac, if I don't handle it directly within the extension, the Cmd+C keybinding for this extension takes over the usual clipboard copying behavior.

I tested it again just now with no clipboard touching, and it definitely copied, BUT.. it only copied the first selection for some reason? I have no explanation for that.
I added vscode.commands.executeCommand("editor.action.clipboardCopyAction"); and that makes it work correctly with single and multi-selections.

I added vscode.commands.executeCommand("editor.action.clipboardCopyAction"); and that makes it work correctly with single and multi-selections.

I was trying the same approach! Hooray! Thank you @DaelonSuzuka , this should be available in the next version.


Connection to SQL-Server under docker container not accesible

Issue Type: Bug
After entering connection details and clicking Connect following message shows after 30 seconds (aprox):
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 40 - Could not open a connection to SQL Server)
SQL-S container is up & running:
iMac-RDA01:bin rdelapena$ docker ps -a
CONTAINER ID    IMAGE                                         COMMAND                     CREATED         STATUS            PORTS                                NAMES
9cfb335be69d   microsoft/mssql-server-linux   "/opt/mssql/bin/sqls…"   4 weeks ago   Up 7 minutes    <IP_ADDRESS>:1433->1433/tcp   sql_server_dev
Accesible with terminal:
iMac-RDA01:bin rdelapena$ mssql -u sa -p pwd
Connecting to localhost...done
sql-cli version 0.6.2
Enter ".help" for usage hints.
mssql> .help
command  description

.help           Shows this message ...
Azure Data Studio version: Azure Data Studio 1.12.0 (f0b6180e15f455ccf9e8112b407a6aa8c5399fe9, 2019-10-01T19:32:03.347Z)
OS version: Darwin x64 18.6.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4770S CPU @ 3.10GHz (8 x 3100)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
3, 2, 2

Memory (System)
16.00GB (1.43GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

Thanks for the report @redelapena - I'm going to close this as a dupe of #9116. We'll update that if we have any further information.


⚠ Processors has degraded performance

In a1a80c0, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 87 ms

Resolved: Processors performance has improved in b5966fc.


Fix AES-GCM-SIV endian issues

Fixes #18911
BSWAPx/GETUxx are no-ops on big-endian. Change the byte swapper.
Fix big-endian issues in the mulx_ghash() function

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

I marked this as urgent (due to regression), but feel free to remove.

I agree with urgent, so I am merging it right now.

Merged to master branch. Thank you for the fix.


pad for _embed_points

Thank you for the great work! I have one question about padding for _embed_points, and it is used when boxes is None, may I know what is the objective of padding? Thank you so much!

+1

+1

+1


Deal with translated bibliographic titles

Since we are allowing translated documents, how do we deal with translated bibliographic titles? According to the BibItem model we should allow localized strings. It is a matter of how we make it available to the input syntax.
See https://github.com/riboseinc/gbdoc-rice/blob/master/body/body-zh.adoc#参考文献

We would indeed tell them the same way we deal with language-specific strings in terms, by adding language macros in the esky doctor or inferring the script of titles, and by tagging titles with language tags. Faced with a choice of title tags, the renderer would then need to pick the right title instance.

I’m totally fine with language tagging at the input, just like the T&D, makes sense to me.

Apply language markup to the GB rice document translation. (And while I'm there, bring the terms translations back to the English original.)

I wonder if it’s be more effective to do it as the asciidoctor-iso level since the default is English and French?

I've put it in the Rice document, and am handling it in GB; I could not apply it to all references, because only part of the formatted reference is the bilingual title. I can move it to ISO, but this is no longer urgent; demoting to enhancement.

As a result of isobib, we now have two titles (English and French) in the ISO XML, differentiated by language. Only one is rendered in ISO, and that is the title that matches the language of the current document if available.
In the case of GB, should we customise this behaviour, to make it zh, then others if present? Should we introduce from iso690 the notion of an original language title, and bracket titles accordingly?

In the case of a translated GB document, the English one is put first and then the Chinese one. What is the "original language title" in this case?

Then how about when a title is published in both languages, such as in ISO in French and English, that can be represented either in the same document, or separate documents?

Agree. Then we need to handle this case adequately in the model and also in syntax (to allow selection of the possible conventions).

We now have <variant> for language variants, being output by Relaton. We have no mechanism for data entry of same. We have language tags on distinct titles for ISO.

We have addressed this substantially in https://github.com/metanorma/metanorma-iso/issues/417
We don't have GB-specific behaviour or markup, such as translation [orignal].  It is not clear whether it is worthwhile to do something more elaborate here.


For v5.1

Updating docs.. work in progress.

I think this is good to merge, one thing I don't understand is why locally the code snippets show with a white background but on rtd it shows a green one.

The green messes the important/warning notes, I'm going to overwrite that style to the one I see locally.


cleanups

Codecov Report

Merging #67 into master will decrease coverage by 1.40%.
The diff coverage is 93.33%.

@@             Coverage Diff              @@
##             master      #67      +/-   ##
============================================
- Coverage     98.65%   97.25%   -1.41%
- Complexity      105      108       +3
============================================
  Files            22       22
  Lines           297      291       -6
============================================
- Hits            293      283      -10
- Misses            4        8       +4

Impacted Files
Coverage Δ
Complexity Δ

src/Request/ContentTypeHeader.php
75.00% <0.00%> (-25.00%)
4.00 <1.00> (+1.00)
:arrow_down:

src/DependencyInjection/Configuration.php
100.00% <100.00%> (ø)
1.00 <0.00> (ø)

src/Error/ErrorListener.php
100.00% <100.00%> (ø)
4.00 <0.00> (ø)

src/Error/RequestHeaderException.php
60.00% <100.00%> (-6.67%)
5.00 <0.00> (ø)

src/Error/ValidationException.php
100.00% <100.00%> (ø)
4.00 <1.00> (ø)

src/Error/ValidationExceptionListener.php
100.00% <100.00%> (ø)
4.00 <0.00> (ø)

src/Negotiation/ContentNegotiator.php
100.00% <100.00%> (ø)
9.00 <0.00> (ø)

src/Response/ContentTypeHeader.php
90.47% <100.00%> (-9.53%)
9.00 <6.00> (+6.00)
:arrow_down:

src/Response/ResponseBuilder.php
100.00% <100.00%> (ø)
8.00 <0.00> (-4.00)

src/Response/ResponseListener.php
100.00% <100.00%> (ø)
9.00 <0.00> (ø)

... and 1 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 6d3b180...76166a5. Read the comment docs.


SA1119 is too sensitive for Preprocessor directives in Dotnet Templates

I'm trying to create dotnet templates, and finding that the SA1119 warning is popping up when I write:
#if (MyProperty)
However, encapsulating the properties within a paranthesis is required for dotnet preprocessor directives.
https://github.com/dotnet/templating/wiki/Conditional-processing-and-comment-syntax#json-files

I've opened up another bug with IDE0047 for the same reason.
Here's some code to reproduce.
https://github.com/EdLichtman/UniformPackagesDemo/tree/DemoIDE0047Error
Open up
Final_Demo/Templates/templates/Demo.PackageLibrary/Demo.PackageLibrary.sln

@sharwell, the thing here (as I understand it) is that the template files are normal csproj and c# files, The template engine uses the extra parenthesis to differentiates preprocessor directives that control "template application" from preprocessor directives that will end up in the generated code. So when editing the template, SA1119 is triggered on those "template-level" directives. Do you agree with this description @EdLichtman?


More detailed takeoff and landing clearances

Fix #189

Thank you @glangford! A small step in programming, but a huge step in getting closer to reality ;)


Custom Form select width

Selects are given an inline style of width, like:
< div class="custom dropdown" style="width: 107px;" >
The demo page (http://foundation.zurb.com/docs/forms.php) doesn't have this and it's causing a text wrap problem.
Best wishes
Lee

Same issue here. Especially when resizing from desktop down to small. The initial load of custom selects on a small device is ok, though.


Add support for number_to_word test

Integrate the following module in nlptest for NER and text classification: https://github.com/GEM-benchmark/NL-Augmenter/tree/main/nlaugmenter/transformations/number-to-word
It will fall under the Robustness category
Make sure to watch out for changes in Span start and end indexes when swapping words

According to the issue "implement the following module in nlptest for NER and text classification: https://github.com/GEM-benchmark/NL-Augmenter/tree/main/nlaugmenter/transformations/number-to-word" it uses  inflect lib that helps in the natural language generation of English words and phrases based on numerical input but it doesn't work with all the test cases.
In text-classification
For Eg
It will work with this
Input : Virat Kohli hits 150 in world cup.
Expected Output : Virat Kohli hits one hundred and fifty in world cup.
Output :  Virat Kohli hits one hundred and fifty in world cup.
Input : My brother is 12 years old
Expected Output :  My brother is twelve years old
Output :  My brother is twelve years old
Where it will fail
Input : "The price of the product is $10"
Expected Output :  "The price of the product is ten dollars"
Output :  The price of the product is $10
(It will give the expected output when there will be a space between $ and 10)
Input : "The price of the product is $10.99"
Expected Output :  "The price of the product is ten dollars and ninety nine cents"
Output :  The price of the product is $10.99
There are cases where this approach using inflect lib might not work correctly. For example, if the input contains decimal numbers or if there is no space between number and text.

Thanks for the detailed comment @Ryzxxl - @alytarik can you check to see if a custom implementation of inflect is worth it (effort vs impact)? If we can get rid of that dependency and transform those edge cases (numbers with special characters) then it will be worth implementing it ourselves.
For now, @Ryzxxl you can ignore this issue since it does not really affect the context in which we run tests


feat: watch dependents and print them with new console UI

close: https://github.com/KusionStack/kusion/issues/167
main changes:

relationships among resources, including ownerRef and selector
structured watch data, not flush screen with new message
table like UI, print each resource as table and render dynamically

sample:

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

48 of 54 (88.89%)  changed or added relevant lines in 1 file are covered.
9 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.3%) to 72.536%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/engine/operation/watch.go
48
54
88.89%

Files with Coverage Reduction
New Missed Lines
%

pkg/engine/operation/watch.go
2
87.36%

pkg/kusionctl/cmd/destroy/options.go
7
83.25%

Totals

Change from base Build<PHONE_NUMBER>:
0.3%

Covered Lines:
4548

Relevant Lines:
6270

💛  - Coveralls


Backend Paywall

Registered Users should be allowed 100 computations before being asked to pay for services.
Customers will be charged per API call and billed monthly.

Controllers that need to log the amount of requests. This can properly be done in a middleware.

[ ] ED25519Controller
[ ] EncryptionController
[ ] PasswordControllerLogic
[ ] RsaControllerLogic
[ ] SignatureControllerLogic

The user model in C# that is being translated to the MongoDB schema can be altered to have a property that contains the following sub properties.

[ ] HasTrialPeriodEnded
[ ] IsSubscribed

The initial version of this is complete. A user is allowed 1000 requests, if they have meet that limit and don't have a credit card registered they will receive an 402 status code on their API request.


Exam test runs: Conflict between student test exam an test runs

Describe the bug
As tutor/instructor:
Participating in a test exam from the student perspective, then starting a test run results in conflicts.
The test run can be started, but when trying to submit any exercise it fails with an access forbidden warning (‘You are not authorized to access this page.’).
To Reproduce

Create a test exam.
Participate in the exam from the student perspective.
Create a test run and try to submit in any exercise.

Expected behavior
No conflicts between the student exam and test runs exist and the submission in the test run is possible.
Screenshots
No response
What browsers are you seeing the problem on?
Firefox
Additional context

Artemis 5.12.3

Relevant log output
No response

Test runs do not really make sense after the test exam has started.
The easiest solution would be that we do not allow it. Instead instructors should be able to delete test exams and redo them again in case they want to try out the exam another time

This can probably also happen if the tutors forgot to delete a test run before the exam started. There is a warning in the UI that we should remember that, but an automatic removal on exam start would be more user-friendly.


Feature request: Support for launching binders to different launch environment

This is a feature request more for the public mybinder site.
Currently, when a user clicks on the "launch" button, binder service will launch the binder to one server/endpoint. This is a feature request to allow a maintainer for the binder service to configure additional launch targets for binder, other than the default (e.g. "Launch on CyVerse").

this is related to #63 ...I totally agree something like this would be great. Do we want to keep this issue open or move discussion to #63 ?

Closing this in favour of #63


Fix calendar on time machine

As an analyst
I want the time machine calendar to be the same as the other calendars on the app
So that I have a consistent experience across all calendars in the app
Acceptance Criteria:

[ ] Time machine calendar behaves the same as other calendars on the page

[wireframe 1]

[ ] Acceptance Criteria

[wireframe 2]

[ ] Acceptance Criteria

Implementation Details

hey @marcellmueller isn't this the old calendar?

Oh sorry I guess this didn't quite make it into the release.

Looks good!


feat: Add http4s client and server modules with simple tests

This is not fully finished but I thought I'd put it up for review earlier. Docs and examples are missing, will be added before merging.

@jakubjanecek it seems to me that you intended the modules/config case classes not just for any http4s server/client, but specifically for the Blaze flavours. So why not reflect that in the name of the objects, like Http4sServerBlazeModule instead of Http4sServerModule (and so on). Then we don't need to have debates about make vs makeBlaze method naming...

@sideeffffect I agree. After the discussions here I see that I made the mistake of making it generic http4s thing but it's actually only one of the implementations which is blaze in this case. I will rename the modules and classes accordingly. Thanks, this is a very good catch because it would be misleading and impossible to get rid of in the future.

I've tried to address all your comments somehow. Please have another look. Thanks.

Everyone I think this is ready for the last round of review and possibly merging.


unnecessary used of laps

the word are used laps was not  working in this website and then remove it

May i know your issue number ??


Component styles are overridden when rendered inside Next.js layout

Steps to reproduce
Review the styles being applied to the nav links in the mobile appbar of both Next.js and Vite versions of the example app. Observe how the styles are incorrect when on the home page of the Next app but are correct on the about page.
Current behavior
I've run into an issue that appears when using the Next.js plugin but doesn't exist when using the Vite plugin. As you'll see in the example app, the nav links in the appbar drawer on mobile don't have the correct alignment or padding specified by the ListItemButton styles. However, if you flip to the About page and inspect the links in the drawer, you'll see the ListItemButton styles are being applied as expected.
From what I can tell, it looks like the Next.js plugin is generating styles at a route file level (e.g. page.tsx, layout.tsx) instead of at a component/module level like the Vite plugin appears to do. In the Next app, (public)/page.tsx has another Button on the page so the base button styles from page.tsx take precedence over the styles being generated for layout.tsx that renders the SiteAppBar component containing the links. In the Vite example app, though, the styles are being generated separately for the site-app-bar.tsx module and take precedence so the ListItemButton alignment and padding are applied as expected.
Expected behavior
Styles for components rendered within Next.js layout components should not be overridden by those in page components.
Context
No response
Your environment

npx @mui/envinfo
System:
  OS: Linux 5.0 undefined
Binaries:
  Node: 18.20.3 - /usr/local/bin/node
  npm: 10.2.3 - /usr/local/bin/npm
  pnpm: 8.15.6 - /usr/local/bin/pnpm
Browsers:
  Chrome: Not Found
npmPackages:
  @emotion/react:  11.13.0
  @emotion/styled:  11.13.0
  @mui/core-downloads-tracker:  6.0.0-dev.240424162023-9968b4889d
  @mui/icons-material: 6.0.0-beta.4 => 6.0.0-beta.4
  @mui/material: 6.0.0-beta.4 => 6.0.0-beta.4
  @mui/material-pigment-css: 6.0.0-beta.4 => 6.0.0-beta.4
  @mui/private-theming:  6.0.0-beta.4
  @mui/styled-engine:  6.0.0-beta.4
  @mui/system:  6.0.0-beta.4
  @mui/types:  7.2.15
  @mui/utils:  6.0.0-beta.4
  @types/react: ^18.2.47 => 18.3.3
  react: ^18.2.0 => 18.3.1
  react-dom: ^18.2.0 => 18.3.1

Search keywords: nextjs vite plugin layout components override

This appears to only be an issue when building for development. If I build for production, the style sheets are generated as expected and don't cause the precedence issue that I'm seeing in development. For example, in dev, the ButtonBase styles are being generated and included in both layout.css and page.css files. However, those styles are only included in a single generated file when building for prod and allow more specific styles to be applied by style sheets being included later in the document.

The root cause is:

In production, the CSS files are built with a different process, so there are no duplicate CSS however, there is a possibility that the order of the  might be different.

Just bumped into this bug as well with my project. Would love to see it resolved.

Hey folks. I am looking into this.


Allow to load variables from secrets/configMaps into specified target variable

Command

[ ] check-image-updates
[ ] delete
[X] deploy
[X] diff
[ ] helm-pull
[ ] helm-update
[ ] list-images
[ ] list-targets
[ ] poke-images
[ ] prune
[X] render
[ ] seal
[ ] validate
[ ] version

Who are you?
Maintainer of Kluctl
What do you want to do?
I would like to allow loading of variables from clusterSecret/clusterConfigMap which do not contain valid YAML. Example:
apiVersion: v1
kind: Secret
metadata:
  name: my-vars
  namespace: my-namespace
stringData:
  my_key: my_value

And the variable source:
vars:
- clusterSecret:
    name: my-vars
    namespace: my-namespace
    key: my_key
    targetPath: deep.nested.json.path

Why do you need that?
Example use is in #349

Looking forward to this (Commenting so I get notified)

@MarkCupitt fyi, there is a "Subscribe" button on the right side that's helpful in such cases :)

Oh, so there is, indeed :) hahah .. too long looking at the trees and not the forest :) thanks


*: configure keep-alive policy from server, remove health check service

Parameters should match the one in server.
https://github.com/grpc/grpc-go/blob/master/keepalive/keepalive.go#L30
...
// Make sure these parameters are set in coordination with the keepalive policy on the server,
// as incompatible settings can result in closing of connection.
type ClientParameters struct {
  ...

Revert https://github.com/coreos/etcd/pull/8121.
Updates https://github.com/coreos/etcd/pull/8199.
Address https://github.com/coreos/etcd/issues/8022.
Question is how do we want to enforce the clients on keep-alive https://github.com/grpc/grpc-go/blob/master/keepalive/keepalive.go#L60?

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@9ce7bb6). Click here to learn what that means.
The diff coverage is 71.42%.

@@            Coverage Diff            @@
##             master    #8258   +/-   ##
=========================================
  Coverage          ?   76.35%
=========================================
  Files             ?      346
  Lines             ?    27048
  Branches          ?        0
=========================================
  Hits              ?    20653
  Misses            ?     4912
  Partials          ?     1483

Impacted Files
Coverage Δ

etcdserver/api/v3rpc/grpc.go
100% <100%> (ø)

clientv3/client.go
83.74% <60%> (ø)

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 9ce7bb6...0be8a68. Read the comment docs.

EnforcementPolicy could be an experimental flag. Old clients won't be able to reply to the pings so they'll be periodically disconnected, right?

@heyitsanthony

instead of a separate package under etcdserver, could this all go in embed and extend v3rpc.Server() to accept a list of server options?

We need a way to check whether client is configured to send too_many_pings against servers (slow pings are ok). So there needs to be a separate package to import server-side configuration. If we define that in embed, clientv3 would need to vendor all server-side dependencies.

EnforcementPolicy could be an experimental flag. Old clients won't be able to reply to the pings so they'll be periodically disconnected, right?

Good point. How about adding --keepalive-ping as time.Duration type for keepalive.ServerParameters.Time and --keepalive-ping-timeout for keepalive.ServerParameters.Timeout?

When we have this in server-side, current client code doesn't seem to handle this case

start server
start watchcli, err := clientv3.New(clientv3.Config{
    Endpoints:            []string{"localhost:2379"},
    DialKeepAliveTime:    7 * time.Second,
    DialKeepAliveTimeout: time.Second,
})
if err != nil {
    panic(err)
}
defer cli.Close()

wch := cli.Watch(context.Background(), "foo")
ev, ok := <-wch

stop server
client watch stream will receive rpc error: code = Internal desc = transport is closing from gRPC (case err := <-w.errc:, https://github.com/coreos/etcd/blob/master/clientv3/watch.go#L490)
but current client code just resumes as isHaltErr returns false https://github.com/coreos/etcd/blob/master/clientv3/watch.go#L491. Do we need change anything to handle rpc error: code = Internal desc = transport is closing? Otherwise, the watch client will just resume watching on the stopped server.

@gyuho should grpc health-checking be kept to support #8308? http2 keepalives don't give any indication that the client should change endpoints and even watcher leader checking isn't enough for the general case (e.g., if a put fails on a partitioned member, it'd be nice if the client would try to switch endpoints)

@heyitsanthony
healthy checking is also helpful to detect http2 blackhole (an application that can talk http2, but not an etcd server).

@xiang90 yes, I think etcd needs both

@heyitsanthony PTAL.

@heyitsanthony PTAL. Thanks.

@heyitsanthony

It looks like bridge.serveConn needs to be extended some to support data pausing for this to work since PauseConnections only delays listener accepts.

Q. As long as we do not Unpause, the data to bridge connection won't be delivered (or delayed until the end of test case)? Wrong?
Q. What's the difference between blocking after listener accept (https://github.com/coreos/etcd/blob/master/integration/bridge.go#L124) not forwarding and data pausing? Do you mean pause before calling listener accept?

@gyuho it pauses accepting connections but the connection backing the watch grpc stream is already accepted, so data will still copy over. If new grpc streams were opened, those would have to wait to connect with PauseConnections.
Something like the blackholing in the bridge https://github.com/coreos/etcd/blob/master/tools/local-tester/bridge/bridge.go#L75 should work

@heyitsanthony PTAL. Added blackhole method to discard all data on the bridge connection.

Test failing because there's a bug in grpc-go v1.5.1 (partially fixed via https://github.com/grpc/grpc-go/pull/1369) by calling balancer.Up on failing address when resetTransport.
grpc-go master branch also breaks for some other reasons...

@heyitsanthony I am tracking down this to grpc, and now Go dial-ing code. The problem is even if we blackholed the endpoint, Go http/dialContext succeeds without failure.

func TestDial(t *testing.T) {
	capnslog.SetGlobalLogLevel(capnslog.CRITICAL)
	clus := integration.NewClusterV3(t, &integration.ClusterConfig{
		Size: 3,
	})
	defer func() {
		capnslog.SetGlobalLogLevel(capnslog.CRITICAL)
		clus.Terminate(t)
	}()

	ccfg := clientv3.Config{
		Endpoints: []string{clus.Members[0].GRPCAddr()},
	}

	fmt.Println("blackhole-d 1", clus.Members[0].GRPCAddr())
	clus.Members[0].Blackhole()
	fmt.Println("blackhole-d 2", clus.Members[0].GRPCAddr())

	time.Sleep(3 * time.Second)

	capnslog.SetGlobalLogLevel(capnslog.INFO)
	cli, err := clientv3.New(ccfg)
	if err != nil {
		t.Fatal(err)
	}
	defer cli.Close()

	fmt.Println("PUT 1")
	if _, err := cli.Put(context.TODO(), "foo", "bar"); err != nil {
		t.Fatal(err)
	}
	fmt.Println("PUT 2")

	fmt.Println("DONE")
}

https://github.com/coreos/etcd/blob/master/clientv3/client.go#L244-L245
dialer := &net.Dialer{Timeout: t}
conn, err := dialer.DialContext(c.ctx, proto, host)

Always succeeds even with blackholed endpoint. Now grpc-go http2 client establishes the transport to this blackholed endpoint, but fails on keepalive, so keep retrying. Keepalive fails because there's no frame received, but the initial connection succeeds.

Dial should be able to connect in this case and retry is OK if there's only one endpoint. Is there starvation when trying to failover to another endpoint?

Dial should be able to connect in this case and retry is OK if there's only one endpoint.

Got it.

Is there starvation when trying to failover to another endpoint?

grpc-go, as long as the connectivity state is not Shutdown, will keep retrying, even if it's the blackholed endpoint. I am experimenting manual-flagging on the blackhole-d endpoint, so that balancer does not switch to blackhole-d ones. But the connection works fine on the blackholed endpoint, grpc-go calls Up on the blackhole-d endpoint, so balancer does not switch to other endpoints, often times. I will keep researching the grpc-go retrial logic. Thanks.

Closing. Need more research in grpc-go logic.


Add Chrome PHP

Hi, would you please accept addition of chrome-php project, kind sir?
https://github.com/chrome-php

Thanks! Sorry it took so long to get this merged.

Thank you @dhamaniasad


[RFE] Add option to bst --track to update to the latest tag in the branch specify by track: instead to latest HEAD

See original issue on GitLab
In GitLab by [Gitlab user @jjardon] on Jan 30, 2018, 15:10
Basically make a bst --track --tag command or similar do this:
https://gitlab.com/freedesktop-sdk/freedesktop-sdk/merge_requests/71/diffs?commit_id=e6cb8cc845508d6f8424faeddc0c43cce66b929a
This will be really helpful for:

https://gitlab.com/freedesktop-sdk/freedesktop-sdk/issues/21
https://gitlab.gnome.org/GNOME/gnome-build-meta/issues/17

In GitLab by [Gitlab user @juergbi] on Jan 30, 2018, 15:43
Additional tracking possibilities could indeed be interesting. However, I would tend to support this via source configuration, not via command line. This should allow more flexibility.
A possible alternative to the suggested feature of tracking the latest tag in a branch would be to track the latest tag that matches a specified glob/pattern (e.g., 1.12.*). This would also be useful for projects that don't (always) use stable branches and would prevent use of non-release tags such as pre-themes-merge. Both approaches might pick up tagged release candidates, though (1.12.4-rc1), which would probably not be desired.

In GitLab by [Gitlab user @jjardon] on Feb 19, 2018, 17:57
This will be very helpful as well for https://gitlab.gnome.org/GNOME/gnome-build-meta/issues/17

In GitLab by [Gitlab user @jjardon] on Feb 19, 2018, 17:58
changed the description

In GitLab by [Gitlab user @jjardon] on Feb 28, 2018, 12:26
mentioned in merge request !291

In GitLab by [Gitlab user @juergbi] on Mar 1, 2018, 21:30
mentioned in merge request !303

In GitLab by [Gitlab user @juergbi] on Mar 1, 2018, 21:32
See !303 for per-source support for tracking the latest tag.

In GitLab by [Gitlab user @tristanvb] on Mar 2, 2018, 08:01
I think from a user perspective, configuring this in the source YAML config only seems to be undesirable.
It would mean that you have to configure your project to only track for a pattern matched tag, or to track in the regular way (latest of a branch) - ideally I think the user would want to have the project data describe how to do things, but let the user decide what to do without modifying project data (Am I tracking latest ? Or am I tracking releases only ? and let the source define what "releases" means and how to specifically do that).
Doing this immediately in source configuration is delicate, it would make things difficult to enhance in the future.
Also; pre BuildStream 1.0 there was some discussion of inventing "tracking profiles", which would allow project.conf to describe profiles of what should be tracked when a given "profile" is selected on the command line; if we were to enhance the tracking API such that sources could distinguish between "Latest tracking" and "Release tracking", the selection of which modules to track for releases and which to track for latest would also be interesting in a "Tracking profile".
For the GNOME issue, I'm not convinced yet that this is the right approach: in order to reconcile the social issue that we have two builds to maintain at all times, it would be better to:

Have module maintainers update the build metadata with the currently active branch in track:
Have automated builds always build the latest of the branch (already supported with --track)
Enforce that modules which participate in core follow the release schedule
At release time, have the release-team responsible for tagging the releases; based on the latest of the branches at release day; this can be an automated script

If tarballs are still important, we should automate this process at the same place, using something like git archive ... to generate the release tarballs (which would no longer have pre-build configure and docs)

The above would be better than continuing to make module maintainers in core modules announce their own releases, because it would make sure there is always only one build of GNOME.
Also, it would not require this feature.

In GitLab by [Gitlab user @juergbi] on Mar 2, 2018, 08:52
For the GNOME issue, I agree that this would be the ideal approach. With more and more packages using meson, the git archive approach may become feasible.
The situation is obviously different for people building systems/distros with BuildStream as there is no global policy with regards to branch and tag handling. If I build a system, I'd like to always track the HEAD of a stable branch. I don't need a CLI option to switch between tracking latest release and branch HEAD. The main issues I see in practice when tracking git sources are:

Upstream repositories that don't have proper stable branches:
If upstream uses master as a development branch but also tags releases in master without creating stable branches, I don't have a stable branch to track. An example for this is gtk-doc. I don't want to track unstable master.
Here my track-tags patch helps. However, it might be better to track tags that match a pattern instead of tracking the latest tag in a branch. The branch is anyway useless for tracking and some projects also create annotated tags for development snapshots, which I don't want to track (and could filter out with a tag pattern).

Upstream repositories that branch late:
This is relatively common for GNOME modules. The first stable release of a new release series is tagged in master but the corresponding stable branch is created at a later point, only when feature development resumes. For modules with low activity, this can be months or even years later. For this time period master is typically stable, however, BuildStream doesn't know when master becomes again a development branch, so I don't want to risk tracking master.
One solution for this would be to support tracking candidate branches. What I mean by that is to allow specifying multiple branches in track and it would then track the first branch that exists. This would allow me to specify e.g. track: glib-2-56 master. As long as glib-2-56 doesn't exist yet, I'm tracking master.

Other workflows may be different, of course. That's just my point of view.

In GitLab by [Gitlab user @tristanvb] on Mar 2, 2018, 09:11

However, it might be better to track tags that match a pattern instead of tracking the latest tag in a branch.

I think at least for git, you still need both the branch and the tag pattern matching if you want to get "The latest matching tag on this branch", the "Latest tag in the repo" seems rather meaningless imo.
Still the main reason for my comment above is that tracking latest and tracking a release are separate activities, while the project data can inform how these activities are performed it doesnt seem to make sense to have the project data dictate which activity the user wants to perform.
I'm not against the feature; I can see it will be more useful for the freedesktop-sdk project use cases even if it's not ideal for GNOME, but if this is not a huge blocker, let's not paint ourselves into a corner by prematurely rushing a feature in for it.

In GitLab by [Gitlab user @juergbi] on Mar 2, 2018, 09:22

I think at least for git, you still need both the branch and the tag pattern matching if you want to get "The latest matching tag on this branch", the "Latest tag in the repo" seems rather meaningless imo.

As long as the pattern is sufficiently expressive, it would be useful. There are also some projects that create release tags that aren't in any branch, e.g., for micro updates. Or by mistake.

it doesnt seem to make sense to have the project data dictate which activity the user wants to perform

My main point was to show that, at least for me, this is mainly about differences in how upstream projects manage their repositories. Applying the same tracking method for all upstream projects in a BuildStream project would be useless to me. The source tracking config is useful project data.
Again, other workflows may obviously differ.

In GitLab by [Gitlab user @tristanvb] on Mar 2, 2018, 09:45

My main point was to show that, at least for me, this is mainly about differences in how upstream projects manage their repositories...

Again, other workflows may obviously differ.

Indeed, I see this the other way around; other workflows certainly would differ.
In a scenario where you care about checking the latest of a branch, e.g. doing CI; you want to try the latest of every branch and not wait for a release tag to appear.
The above scenario however, does not preclude that the related source repositories (git or otherwise) also do create release tags.
If we go with "The source YAML decides whether you want a stable release tag or a latest commit", then we would be ignoring the semantic difference between building the latest commit, and building the latest release.

In GitLab by [Gitlab user @juergbi] on Mar 2, 2018, 10:02
In my opinion it doesn't make sense to test one version with CI and build some other version for actual users. I.e., for a particular element, a BuildStream project either tracks a branch HEAD or a release, depending on how the BuildStream project maintainers want to handle it. For both CI and user-initiated builds.
Projects may of course decide to properly test and support building both variants. However, that seems like a large effort for a very small benefit. If a critical bug is fixed in a stable release branch but not in any release, do you conditionally apply the patch for the variant that only tracks releases? That's similar to the pain the GNOME release team is seeing with tracking branches and tarballs. I.e., this approach seems rather like a niche for me. And as conditionals are likely required for patches, you could also use the same conditionals to control tracking (e.g., conditional track-tags setting in project.conf). Supporting this would probably require an external .refs file instead of inline ref updating, though.

In GitLab by [Gitlab user @tristanvb] on Mar 2, 2018, 10:17

In my opinion it doesn't make sense to test one version with CI and build some other version for actual users. I.e., for a particular element, a BuildStream project either tracks a branch HEAD or a release, depending on how the BuildStream project maintainers want to handle it. For both CI and user-initiated builds.

This is not CI vs user.
This is latest vs releases.
This is exactly what might happen in GNOME, if we cannot get buy-in from all maintainers to allow release team to release on their behalf.
Right now we have this very ugly situation:

Normal CI builds build master of everything (or configured branch)
Release builds run an external script, to munge the project inline, replacing git repos with tarballs

If we can at least get rid of the project munging conversion script which consumes tarballs, and "Release track" the modules for their latest release tags instead; that will already be a step forward, where we still have to maintain two builds because we need to wait for maintainers to declare what is a release, but we would not have to maintain this extra project munging script which actually transforms a buildstream project for a release.

In GitLab by [Gitlab user @tristanvb] on Mar 4, 2018, 13:11
Ok so after some discussion on IRC, I think we can go ahead with this in it's original form.
Rationale for this is:

My concern was mostly that the project data is deciding whether to track latest or to track latest release, instead of providing support for it and leaving the decision to the user
As Jürg points out in this comment above

We are introducing a feature which allows storing the refs in a separate file for the whole project
In combination with existing, generic project optionality support (i.e. options), it will be possible to conditionalize this behavior inside an element.bst file while running bst track, and have that output the ref in the new project.refs

It is more desirable to reduce API surface and understanding of things in the BuildStream core, since we have support for optionality that works, it's a better solution to just use that.

In GitLab by [Gitlab user @toscalix] on Jun 11, 2018, 09:40
Highlighted as a need by [Gitlab user @jjardon]

In GitLab by [Gitlab user @toscalix] on Jun 11, 2018, 09:41
assigned to [Gitlab user @toscalix]

In GitLab by [Gitlab user @sstriker] on Jul 8, 2018, 17:20
After talking to [Gitlab user @jjardon] at GUADEC18, I believe this issue describes functionality that belongs outside of BuildStream.  It is BuildStream's responsibility to resolve a tracking branch to a ref.  It is the user's responsibility to specify the tracking branch to resolve.
If the user wants the latest tag on a branch, it makes sense to find the latest tag, update the .bst and then run track.
[Gitlab user @jjardon] If this a good reflection of what we talked about, could you please close as a confirmation?

In GitLab by [Gitlab user @jjardon] on Jul 13, 2018, 18:46
[Gitlab user @sstriker] while I do not agree completely, I'm happy to close this if you want.
I still think that bst should offer some kind of API so external tools can interact with the info bst already have (in this case, git repo and track: branch), so the external tool can do its job: is this something you feel is feasible? Do you have any other suggestion about how to tackle the problem exposed in this issue?

In GitLab by [Gitlab user @sstriker] on Jul 13, 2018, 20:46
[Gitlab user @jjardon] isn't that interface the .bst file itself?
Either the tracking tag is stable (e.g. track: 1.x-latest) where the tag is moved within the repository.
Or the tracking tag is not stable (e.g. track: 1.1.5) where the .bst is referring to an actual tag.  In this case, the .bst needs to be updated every time you do a new release.
In the second case, it's impossible to know what type of tagging scheme is being employed, and how the tracking branch relates to the tags.  Therefor I believe this should be an external tool.  Your tool would:

read the bst
see if there is a later tag on a release branch; if not, exit
update the track: to reflect the tag
write the .bst file

After updating all .bst files appropriately, you run bst track, to resolve the ref.  Or you do this as part of your tool.

In GitLab by [Gitlab user @toscalix] on Oct 4, 2018, 10:38
marked this issue as related to freedesktop-sdk/freedesktop-sdk#21

In GitLab by [Gitlab user @coldtom] on Oct 4, 2018, 18:08
mentioned in merge request freedesktop-sdk/freedesktop-sdk!576

In GitLab by [Gitlab user @coldtom] on Oct 5, 2018, 14:39
mentioned in commit bst-external[Gitlab user @a59f43d2ab5431be980e10b29dda0a5d79d442d5]

In GitLab by [Gitlab user @coldtom] on Oct 5, 2018, 14:39
mentioned in merge request bst-external!54

In GitLab by [Gitlab user @toscalix] on Oct 8, 2018, 09:12
marked this issue as related to #697

In GitLab by [Gitlab user @coldtom] on Oct 10, 2018, 11:21
mentioned in commit bst-external[Gitlab user @e2ab7ed74c23786c906209492d3cc21f635b4c25]

In GitLab by [Gitlab user @coldtom] on Nov 20, 2018, 18:03
The requested functionality has been added in bst-external!54, so I think this issue may be able to be closed.
However the git_tag plugin needs work to be redone against the eventual outcome of #697, so waiting for that for a stable solution may be preferable.

In GitLab by [Gitlab user @jjardon] on Dec 17, 2018, 09:14
[Gitlab user @coldtom] yeah, let's close this

In GitLab by [Gitlab user @jjardon] on Dec 17, 2018, 09:14
closed

In GitLab by [Gitlab user @cs-shadow] on Jan 2, 2020, 12:23
mentioned in merge request !1774


adding alb configuration to autoscaling

@venturel Will this keep working when we don't have an ALB?

If we don't have an ALB for sure.


implemented with create-server-stream module

We are loosing some functionality here, as we might not want to start all those interfaces at the same time. People wants to chose. Moreover, attachServer for WS is really useful if we want to embed it in another HTTP server.

Ok the module now only extends create-stream-server to wrap the connection and check for the emitEvents option. I guess thats very open and simple. :)

Superb! :+1: LGTM


Relate features with the connectivity nodes of paths that involve the feature.

This, along with a flatmap API method to query the connectivity-nodes knowledge store table, would allow all paths involving a feature to be highlighted in the viewer.

Closed with commit/PR.


link not working

the link "off to our Method Guide" on aim42.org is not working
the URL is "https://aim42.github.info/"
but should be "https://aim42.github.io" !?

you're right, of course!
Thanx, I fixed it on the aim42.org website...


Mobile branch doesn't earn full credits for "mobile search"

I just tried using the mobile branch with Chromium 44.0.2383.0 (beta) and it only earns 9 of 10 credits (mobile search).
I'm not sure if this consistently happens - I've tried it twice and both times only got 9 of 10 credits.
Also the mobile branch is still at 1.7.3 while the master branch is 1.7.4.

When I tried it today, it's working (10 of 10 credits earned).
I'm not sure why I was only getting 9 credits yesterday.
If it continues to work for a couple more days I will close the issue.

I've seen it jump back and forth.  It has to do with the HTTP submission logic.  Synchronous XHRs will be deprecated in Chrome soon however I don't have an idea on how to fix it unfortunately.

OK thanks for the reply - it's been working just fine the past few days so I will close this out.


Re-style quick settings to match mania menu

Description
Update the colors of the quick settings menu to better match the mania menu renderer.
Test Instructions
:eye: :eye:

Ticket Links

Readiness Checklist

[x] I have run make format to format the changes
[x] I have compiled the firmware and the changes have no warnings
[x] I have compiled the emulator and the changes have no warnings
[x] I have run make cppcheck and checked that cppcheck_result.txt has no warnings for the changes
[x] I have added doxygen comments to any code used by more than one Swadge mode. This includes /*! \file comments with Design Philosophy, Usage, and Example sections for new headers.
[x] I have run make docs and checked that doxy_warnings.txt has no warnings for the new code

I love that I'm not the only one hunting down and knocking out silly little things like these.

Now that the menu looks all nice and themed and fancy, I can no longer stand for the quick settings menu still using the logbook theme!


Use the value from toolset visualStudio.edition when locating VSIXInstaller

Previously it was hardwired to "Enterprise".
Description
Bug fixing.
The VS version is specified in the toolset.json instead of hardwiring it to "Enterprise".
Related issue:
Check list

[ ] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[x] Changes are tested and related VM images are successfully generated

/azp run windows2016, windows2019

/azp run windows2016, windows2019


Update avro4s-kafka to 4.0.8

Updates com.sksamuel.avro4s:avro4s-kafka from 3.1.1 to 4.0.8.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.sksamuel.avro4s", artifactId = "avro4s-kafka" } ]

labels: library-update, semver-major

Superseded by #173.


Flutter needs to help developers list of supported/unsupported phones/gpus

Currently we don't provide developers with a list of supported hardware they can configure their Android and iOS store listings with.
The closest we have is:
https://flutter.io/faq/#what-devices-and-os-versions-does-flutter-run-on
Much of this will be based on what GPUs we know flutter can run well on.  For that we will likely need some help from Skia.

My understanding is @chinmaygarde is willing to take a stab at creating an initial file.  The goal here is simply managing expectations.  Make it possible for us to explain to our users that X device is known to not work with Flutter.

Unity appears to not actually provide an official list (and some sites complain that their Android device support is far from complete):
https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=supported+devices+unity
Donno.

Moving to m4 since this doesn't fit any of our current priorities.

Would be nice if flutter doctor could recognize devices and report them as known good vs known bad, too.

we should pretty much support everything. We document things like API level on the website. Adding this to the tooling is unlikely to happen, as the existing gradle machinery will fail with min/target sdk information.


Dropdown Component's onValueChanged Functionality Inconsistent with Undefined Value.

Azure Data Studio Version: 1.47.0
OS Version:

Steps to Reproduce:

The scenario happens one tries to update the value property of dropdown in the code.
Create a dropdown component, e.g., name_dropdown.
Execute the following code :

1. await name_dropdown.updateProperty('value', "abc");
2. await name_dropdown.updateProperty('value', undefined);
3. await name_dropdown.updateProperty('value', "abc");
4. await name_dropdown.updateProperty('value', undefined);
5. await name_dropdown.updateProperty('value', "xyz");

Current Behavior

In Step 3, the onValueChanged event is not triggered when setting the value to "abc" because the previous value was also "abc" before setting it to undefined.
However, in Step 5, the event is triggered when setting the value to "xyz" because it differs from the value before setting it to undefined ("abc").
The same behavior is observed when an empty string is used in place of undefined.

Expected Behavior

The onValueChanged event should be triggered in both Step 3 and Step 5 after setting the value to undefined.
The event triggering should not be dependent on the previous value before it was set to undefined.

Does this issue occur when all extensions are disabled?: Yes/No

When I attempt to reproduce, I only notice the values changing, and onValueChanged is never triggered.
const name_dropdown = view.modelBuilder.dropDown().withProps({
	value: 'one'
}).component();
name_dropdown.onValueChanged(() => {
	console.log('Change');
});
await name_dropdown.updateProperty('value', "abc");
await name_dropdown.updateProperty('value', undefined);
await name_dropdown.updateProperty('value', "abc");
await name_dropdown.updateProperty('value', undefined);
await name_dropdown.updateProperty('value', "xyz");


Does Firefox use these certificates?

To be honest, I am planning to use an anti-censorship software that requires a custom CA to tamper with HTTPS traffic. I am planning to modify your magisk module to install a custom CA provided by that software.
But I don't know if Firefox requires additional Settings to use these CAs.

Which app do you referring to?

In fact, it doesn't work. Some sites can't use custom CA even if firefox has some options enabled, and generally only programs like HttpCanary seem to work.


Cassandra Example:

I am encountering this problem when loading v14 of the example. I don' know if this relates to #89
Exception (org.apache.cassandra.exceptions.ConfigurationException) encountered during startup: io.k8s.cassandra.KubernetesSeedProvider
Fatal configuration error; unable to start server.  See log for stacktrace.
org.apache.cassandra.exceptions.ConfigurationException: io.k8s.cassandra.KubernetesSeedProvider
Attached is the startup log.
logs-from-cassandra-in-cassandra-0.txt

Getting the same error. Just followed the steps in
Here's the startup log:
Starting Cassandra on <IP_ADDRESS>
CASSANDRA_CONF_DIR /etc/cassandra
CASSANDRA_CFG /etc/cassandra/cassandra.yaml
CASSANDRA_AUTO_BOOTSTRAP true
CASSANDRA_BROADCAST_ADDRESS <IP_ADDRESS>
CASSANDRA_BROADCAST_RPC_ADDRESS <IP_ADDRESS>
CASSANDRA_CLUSTER_NAME K8Demo
CASSANDRA_COMPACTION_THROUGHPUT_MB_PER_SEC
CASSANDRA_CONCURRENT_COMPACTORS
CASSANDRA_CONCURRENT_READS
CASSANDRA_CONCURRENT_WRITES
CASSANDRA_COUNTER_CACHE_SIZE_IN_MB
CASSANDRA_DC DC1-K8Demo
CASSANDRA_DISK_OPTIMIZATION_STRATEGY ssd
CASSANDRA_ENDPOINT_SNITCH SimpleSnitch
CASSANDRA_GC_WARN_THRESHOLD_IN_MS
CASSANDRA_INTERNODE_COMPRESSION
CASSANDRA_KEY_CACHE_SIZE_IN_MB
CASSANDRA_LISTEN_ADDRESS <IP_ADDRESS>
CASSANDRA_LISTEN_INTERFACE
CASSANDRA_MEMTABLE_ALLOCATION_TYPE
CASSANDRA_MEMTABLE_CLEANUP_THRESHOLD
CASSANDRA_MEMTABLE_FLUSH_WRITERS
CASSANDRA_MIGRATION_WAIT 1
CASSANDRA_NUM_TOKENS 32
CASSANDRA_RACK Rack1-K8Demo
CASSANDRA_RING_DELAY 30000
CASSANDRA_RPC_ADDRESS <IP_ADDRESS>
CASSANDRA_RPC_INTERFACE
CASSANDRA_SEEDS cassandra-0.cassandra.default.svc.cluster.local
CASSANDRA_SEED_PROVIDER io.k8s.cassandra.KubernetesSeedProvider
changed ownership of '/etc/cassandra/jvm.options' from root to cassandra
changed ownership of '/etc/cassandra/cassandra-env.sh' from root to cassandra
changed ownership of '/etc/cassandra/logback.xml' from root to cassandra
changed ownership of '/etc/cassandra/cassandra.yaml' from root to cassandra
changed ownership of '/etc/cassandra/cassandra-rackdc.properties' from root to cassandra
changed ownership of '/etc/cassandra' from root to cassandra
OpenJDK 64-Bit Server VM warning: Cannot open file /usr/local/apache-cassandra-3.11.2/logs/gc.log due to No such file or directory

INFO  08:45:20 Configuration location: file:/etc/cassandra/cassandra.yaml
INFO  08:45:21 Node configuration:[allocate_tokens_for_keyspace=null; authenticator=AllowAllAuthenticator; authorizer=AllowAllAuthorizer; auto_bootstrap=true; auto_snapshot=true; back_pressure_enabled=false; back_pressure_strategy=null; batch_size_fail_threshold_in_kb=50; batch_size_warn_threshold_in_kb=5; batchlog_replay_throttle_in_kb=1024; broadcast_address=<IP_ADDRESS>; broadcast_rpc_address=<IP_ADDRESS>; buffer_pool_use_heap_if_exhausted=true; cas_contention_timeout_in_ms=1000; cdc_enabled=false; cdc_free_space_check_interval_ms=250; cdc_raw_directory=null; cdc_total_space_in_mb=0; client_encryption_options=<REDACTED>; cluster_name=K8Demo; column_index_cache_size_in_kb=2; column_index_size_in_kb=64; commit_failure_policy=stop; commitlog_compression=null; commitlog_directory=/cassandra_data/commitlog; commitlog_max_compression_buffers_in_pool=3; commitlog_periodic_queue_size=-1; commitlog_segment_size_in_mb=32; commitlog_sync=periodic; commitlog_sync_batch_window_in_ms=NaN; commitlog_sync_period_in_ms=10000; commitlog_total_space_in_mb=null; compaction_large_partition_warning_threshold_mb=100; compaction_throughput_mb_per_sec=16; concurrent_compactors=null; concurrent_counter_writes=32; concurrent_materialized_view_writes=32; concurrent_reads=32; concurrent_replicates=null; concurrent_writes=32; counter_cache_keys_to_save=2147483647; counter_cache_save_period=7200; counter_cache_size_in_mb=null; counter_write_request_timeout_in_ms=5000; credentials_cache_max_entries=1000; credentials_update_interval_in_ms=-1; credentials_validity_in_ms=2000; cross_node_timeout=false; data_file_directories=[Ljava.lang.String;@275710fc; disk_access_mode=auto; disk_failure_policy=stop; disk_optimization_estimate_percentile=0.95; disk_optimization_page_cross_chance=0.1; disk_optimization_strategy=ssd; dynamic_snitch=true; dynamic_snitch_badness_threshold=0.1; dynamic_snitch_reset_interval_in_ms=600000; dynamic_snitch_update_interval_in_ms=100; enable_materialized_views=true; enable_scripted_user_defined_functions=false; enable_user_defined_functions=false; enable_user_defined_functions_threads=true; encryption_options=null; endpoint_snitch=GossipingPropertyFileSnitch; file_cache_round_up=null; file_cache_size_in_mb=null; gc_log_threshold_in_ms=200; gc_warn_threshold_in_ms=1000; hinted_handoff_disabled_datacenters=[]; hinted_handoff_enabled=true; hinted_handoff_throttle_in_kb=1024; hints_compression=null; hints_directory=/cassandra_data/hints; hints_flush_period_in_ms=10000; incremental_backups=false; index_interval=null; index_summary_capacity_in_mb=null; index_summary_resize_interval_in_minutes=60; initial_token=null; inter_dc_stream_throughput_outbound_megabits_per_sec=200; inter_dc_tcp_nodelay=false; internode_authenticator=null; internode_compression=all; internode_recv_buff_size_in_bytes=0; internode_send_buff_size_in_bytes=0; key_cache_keys_to_save=2147483647; key_cache_save_period=14400; key_cache_size_in_mb=null; listen_address=<IP_ADDRESS>; listen_interface=null; listen_interface_prefer_ipv6=false; listen_on_broadcast_address=false; max_hint_window_in_ms=10800000; max_hints_delivery_threads=2; max_hints_file_size_in_mb=128; max_mutation_size_in_kb=null; max_streaming_retries=3; max_value_size_in_mb=256; memtable_allocation_type=heap_buffers; memtable_cleanup_threshold=null; memtable_flush_writers=0; memtable_heap_space_in_mb=null; memtable_offheap_space_in_mb=null; min_free_space_per_drive_in_mb=50; native_transport_max_concurrent_connections=-1; native_transport_max_concurrent_connections_per_ip=-1; native_transport_max_frame_size_in_mb=256; native_transport_max_threads=128; native_transport_port=9042; native_transport_port_ssl=null; num_tokens=32; otc_backlog_expiration_interval_ms=200; otc_coalescing_enough_coalesced_messages=8; otc_coalescing_strategy=DISABLED; otc_coalescing_window_us=200; partitioner=org.apache.cassandra.dht.Murmur3Partitioner; permissions_cache_max_entries=1000; permissions_update_interval_in_ms=-1; permissions_validity_in_ms=2000; phi_convict_threshold=8.0; prepared_statements_cache_size_mb=null; range_request_timeout_in_ms=10000; read_request_timeout_in_ms=5000; request_scheduler=org.apache.cassandra.scheduler.NoScheduler; request_scheduler_id=null; request_scheduler_options=null; request_timeout_in_ms=10000; role_manager=CassandraRoleManager; roles_cache_max_entries=1000; roles_update_interval_in_ms=-1; roles_validity_in_ms=2000; row_cache_class_name=org.apache.cassandra.cache.OHCProvider; row_cache_keys_to_save=2147483647; row_cache_save_period=0; row_cache_size_in_mb=0; rpc_address=<IP_ADDRESS>; rpc_interface=null; rpc_interface_prefer_ipv6=false; rpc_keepalive=true; rpc_listen_backlog=50; rpc_max_threads=2147483647; rpc_min_threads=16; rpc_port=9160; rpc_recv_buff_size_in_bytes=null; rpc_send_buff_size_in_bytes=null; rpc_server_type=sync; saved_caches_directory=/cassandra_data/saved_caches; seed_provider=io.k8s.cassandra.KubernetesSeedProvider{seeds=cassandra-0.cassandra.default.svc.cluster.local}; server_encryption_options=<REDACTED>; slow_query_log_timeout_in_ms=500; snapshot_before_compaction=false; ssl_storage_port=7001; sstable_preemptive_open_interval_in_mb=50; start_native_transport=true; start_rpc=false; storage_port=7000; stream_throughput_outbound_megabits_per_sec=200; streaming_keep_alive_period_in_secs=300; streaming_socket_timeout_in_ms=86400000; thrift_framed_transport_size_in_mb=15; thrift_max_message_length_in_mb=16; thrift_prepared_statements_cache_size_mb=null; tombstone_failure_threshold=100000; tombstone_warn_threshold=1000; tracetype_query_ttl=86400; tracetype_repair_ttl=604800; transparent_data_encryption_options=org.apache.cassandra.config.TransparentDataEncryptionOptions@525f1e4e; trickle_fsync=false; trickle_fsync_interval_in_kb=10240; truncate_request_timeout_in_ms=60000; unlogged_batch_across_partitions_warn_threshold=10; user_defined_function_fail_timeout=1500; user_defined_function_warn_timeout=500; user_function_timeout_policy=die; windows_timer_interval=1; write_request_timeout_in_ms=2000]
INFO  08:45:21 DiskAccessMode 'auto' determined to be mmap, indexAccessMode is mmap
INFO  08:45:21 Global memtable on-heap threshold is enabled at 128MB
INFO  08:45:21 Global memtable off-heap threshold is enabled at 128MB
WARN  08:45:21 Small commitlog volume detected at /cassandra_data/commitlog; setting commitlog_total_space_in_mb to 487.  You can override this in cassandra.yaml
WARN  08:45:22 Only 1.900GiB free across all data volumes. Consider adding more capacity to your cluster or removing obsolete snapshots
INFO  08:45:22 Initialized back-pressure with high ratio: 0.9, factor: 5, flow: FAST, window size: 2000.
INFO  08:45:22 Back-pressure is disabled with strategy null.
INFO  08:45:22 Unable to load cassandra-topology.properties; compatibility mode disabled
Exception (org.apache.cassandra.exceptions.ConfigurationException) encountered during startup: io.k8s.cassandra.KubernetesSeedProvider
Fatal configuration error; unable to start server.  See log for stacktrace.
org.apache.cassandra.exceptions.ConfigurationException: io.k8s.cassandra.KubernetesSeedProvider
Fatal configuration error; unable to start server.  See log for stacktrace.
	at org.apache.cassandra.config.DatabaseDescriptor.applySeedProvider(DatabaseDescriptor.java:895)
	at org.apache.cassandra.config.DatabaseDescriptor.applyAll(DatabaseDescriptor.java:324)
	at org.apache.cassandra.config.DatabaseDescriptor.daemonInitialization(DatabaseDescriptor.java:142)
	at org.apache.cassandra.service.CassandraDaemon.applyConfig(CassandraDaemon.java:647)
	at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:582)
	at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:691)
ERROR 08:45:22 Exception encountered during startup
org.apache.cassandra.exceptions.ConfigurationException: io.k8s.cassandra.KubernetesSeedProvider
Fatal configuration error; unable to start server.  See log for stacktrace.
	at org.apache.cassandra.config.DatabaseDescriptor.applySeedProvider(DatabaseDescriptor.java:895) ~[apache-cassandra-3.11.2.jar:3.11.2]
	at org.apache.cassandra.config.DatabaseDescriptor.applyAll(DatabaseDescriptor.java:324) ~[apache-cassandra-3.11.2.jar:3.11.2]
	at org.apache.cassandra.config.DatabaseDescriptor.daemonInitialization(DatabaseDescriptor.java:142) ~[apache-cassandra-3.11.2.jar:3.11.2]
	at org.apache.cassandra.service.CassandraDaemon.applyConfig(CassandraDaemon.java:647) [apache-cassandra-3.11.2.jar:3.11.2]
	at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:582) [apache-cassandra-3.11.2.jar:3.11.2]
	at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:691) [apache-cassandra-3.11.2.jar:3.11.2]

I just pointed this yaml to the official Cassandra image and it came up fine.

@mikep-locol-media  : Thank you for the info, we are using official Cassandra image but we got below error
WARN  [main] 2018-06-13 18:52:18,929 SimpleSeedProvider.java:60 - Seed provider couldn't lookup host cassandra-0.cassandra.default.svc.cluster.local
Exception (org.apache.cassandra.exceptions.ConfigurationException) encountered during startup: The seed provider lists no seeds.
The seed provider lists no seeds.
ERROR [main] 2018-06-13 18:52:19,011 CassandraDaemon.java:708 - Exception encountered during startup: The seed provider lists no seeds.
could you please let us know what SEED Configuration you have used

Looks like it could not find cassandra-0.cassandra.default.svc.cluster.local. Is this right? Are you running under the default namespace? Unfortunately I am in the hospital today otherwise I can put up my yaml files.

yes , i am using default namespace
ubuntu@xyz:~/cluster-deployment/kubernetes$ kubectl get pods --all-namespaces
NAMESPACE     NAME                        READY     STATUS             RESTARTS   AGE
default       cassandra-1-jd6kl           0/1       CrashLoopBackOff   7          18m

Ah. Is your pod Cassandra-1? The url is looking for -0

Try changing the seed url to -1

i changed pod to Cassandra-0, still no luck . i have used exact same yaml's and both v14 & apache cass 3.11 no luck
ubuntu@ip-xyz:~/cluster-deployment/kubernetes$ kubectl get pods
NAME                        READY     STATUS    RESTARTS   AGE
cassandra-0                 0/1       Pending   0          2m
I0613 21:20:13.973078   11972 round_trippers.go:386] curl -k -v -XGET  -H "Accept: application/json, /" -H "User-Agent: kubectl/v1.10.3 (linux/amd64) kubernetes/2bba012" https://A89CFD1F959FBD470AF412E2D2563BCE.yl4.us-west-2.eks.amazonaws.com/api/v1/namespaces/default/pods/cassandra-0
I0613 21:20:14.351085   11972 round_trippers.go:405] GET https://A89CFD1F959FBD470AF412E2D2563BCE.yl4.us-west-2.eks.amazonaws.com/api/v1/namespaces/default/pods/cassandra-0 200 OK in 377 milliseconds
I0613 21:20:14.351222   11972 round_trippers.go:411] Response Headers:
I0613 21:20:14.351310   11972 round_trippers.go:414]     Content-Type: application/json
I0613 21:20:14.351381   11972 round_trippers.go:414]     Content-Length: 3049
I0613 21:20:14.351465   11972 round_trippers.go:414]     Date: Wed, 13 Jun 2018 21:20:14 GMT
I0613 21:20:14.351556   11972 request.go:874] Response Body: {"kind":"Pod","apiVersion":"v1","metadata":{"name":"cassandra-0","generateName":"cassandra-","namespace":"default","selfLink":"/api/v1/namespaces/default/pods/cassandra-0","uid":"25aed3b1-6f4f-11e8-b611-0aeb33f03c92","resourceVersion":"921868","creationTimestamp":"2018-06-13T21:17:16Z","labels":{"app":"cassandra","controller-revision-hash":"cassandra-666c99545d","statefulset.kubernetes.io/pod-name":"cassandra-0"},"ownerReferences":[{"apiVersion":"apps/v1","kind":"StatefulSet","name":"cassandra","uid":"25ab43c9-6f4f-11e8-b611-0aeb33f03c92","controller":true,"blockOwnerDeletion":true}]},"spec":{"volumes":[{"name":"cassandra-data","persistentVolumeClaim":{"claimName":"cassandra-data-cassandra-0"}},{"name":"default-token-dwfnf","secret":{"secretName":"default-token-dwfnf","defaultMode":420}}],"containers":[{"name":"cassandra","image":"library/cassandra:3.11","ports":[{"name":"intra-node","containerPort":7000,"protocol":"TCP"},{"name":"tls-intra-node","containerPort":7001,"protocol":"TCP"},{"name":"jmx","containerPort":7199,"protocol":"TCP"},{"name":"cql","containerPort":9042,"protocol":"TCP"}],"env":[{"name":"MAX_HEAP_SIZE","value":"512M"},{"name":"HEAP_NEWSIZE","value":"100M"},{"name":"CASSANDRA_SEEDS","value":"cassandra-0.cassandra.default.svc.cluster.local"},{"name":"CASSANDRA_CLUSTER_NAME","value":"K8Demo"},{"name":"CASSANDRA_DC","value":"DC1-K8Demo"},{"name":"CASSANDRA_RACK","value":"Rack1-K8Demo"},{"name":"CASSANDRA_SEED_PROVIDER","value":"io.k8s.cassandra.KubernetesSeedProvider"},{"name":"POD_IP","valueFrom":{"fieldRef":{"apiVersion":"v1","fieldPath":"status.podIP"}}}],"resources":{"limits":{"cpu":"500m","memory":"1Gi"},"requests":{"cpu":"500m","memory":"1Gi"}},"volumeMounts":[{"name":"cassandra-data","mountPath":"/cassandra_data"},{"name":"default-token-dwfnf","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"readinessProbe":{"exec":{"command":["/bin/bash","-c","/ready-probe.sh"]},"initialDelaySeconds":15,"timeoutSeconds":5,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"lifecycle":{"preStop":{"exec":{"command":["/bin/sh","-c","nodetool drain"]}}},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always","securityContext":{"capabilities":{"add":["IPC_LOCK"]}}}],"restartPolicy":"Always","terminationGracePeriodSeconds":1800,"dnsPolicy":"ClusterFirst","serviceAccountName":"default","serviceAccount":"default","securityContext":{},"hostname":"cassandra-0","subdomain":"cassandra","schedulerName":"default-scheduler","tolerations":[{"key":"node.kubernetes.io/not-ready","operator":"Exists","effect":"NoExecute","tolerationSeconds":300},{"key":"node.kubernetes.io/unreachable","operator":"Exists","effect":"NoExecute","tolerationSeconds":300}]},"status":{"phase":"Pending","conditions":[{"type":"PodScheduled","status":"False","lastProbeTime":null,"lastTransitionTime":"2018-06-13T21:17:16Z","reason":"Unschedulable","message":"pod has unbound PersistentVolumeClaims (repeated 4 times)"}],"qosClass":"Guaranteed"}}
I0613 21:20:14.418950   11972 round_trippers.go:386] curl -k -v -XGET  -H "Accept: application/json, /" -H "User-Agent: kubectl/v1.10.3 (linux/amd64) kubernetes/2bba012" https://A89CFD1F959FBD470AF412E2D2563BCE.yl4.us-west-2.eks.amazonaws.com/api/v1/namespaces/default/pods/cassandra-0/log
I0613 21:20:14.423617   11972 round_trippers.go:405] GET https://A89CFD1F959FBD470AF412E2D2563BCE.yl4.us-west-2.eks.amazonaws.com/api/v1/namespaces/default/pods/cassandra-0/log 204 No Content in 4 milliseconds
I0613 21:20:14.423674   11972 round_trippers.go:411] Response Headers:
I0613 21:20:14.423714   11972 round_trippers.go:414]     Date: Wed, 13 Jun 2018 21:20:14 GMT

if possible could you provide aws storage class example

@mikep-locol-media : we were able to resolve the ebs volume issue but we still facing same error as above ("seed provider error ") : could  you send your yaml you have used for Apache Cassandra Image .

cassandra.zip
Hi.. these are my yaml files. Notes:

I have installed on gke and on dockers for mac with K8s, include are the storage yamls for each of those. Have not tried on AWS
In my environment, I created a "cassandra" namespace. the service and statefulset yamls reflect that

@mikep-locol-media  : thank you very much i will give a try .
based on https://github.com/kubernetes/examples/issues/89
https://github.com/kubernetes/examples/pull/201
i tried above example with aledbf/cassandra:v15 and it worked . not sure whats the difference between
gcr.io/google-samples/cassandra:v14 &  aledbf/cassandra:v15
will check cassandra image as well

Yes, I thought of trying aledbf/cassandra:v15. Just thought that switching over to the official cassandra was a better long term switch.

@mikep-locol-media : i was able to bring official cassandra , but during bootsrap few nodes restarted, but they joined the ring eventually
have you noticed this kind of behavior ,
since then they are running properly
here is the log for restarted nodes
INFO  [main] 2018-06-14 23:41:06,177 StorageService.java:1449 - JOINING: waiting for schema information to complete
ERROR [main] 2018-06-14 23:41:07,177 MigrationManager.java:193 - Migration task failed to complete
ERROR [main] 2018-06-14 23:41:08,178 MigrationManager.java:193 - Migration task failed to complete
ERROR [main] 2018-06-14 23:41:09,178 MigrationManager.java:193 - Migration task failed to complete

I find a lot of k8s stuff takes a bit of time to get themselves sorted out starting. Have not dug into it.

@mikep-locol-media  : could you please share github project link for your controller file
for open source apache kuberenets kops cluster .

Sorry, which controller file? I uploaded my cassandra yaml files in my previous post. I do not have it in a github repo.

@mikep-locol-media : one last question any idea how below seed provider class is being referenced in your controller cassandra-statefulset.yaml .is this something built into .
Open source Apache docker image or its a feature with KOPS cluster
as i am not able to figure out exactly how this seed provider is working with Apache Cassandra /KOPS
image: cassandra
- name: CASSANDRA_SEED_PROVIDER
value: io.k8s.cassandra.KubernetesSeedProvider
https://hub.docker.com/_/cassandra/
https://github.com/docker-library/cassandra/blob/01786683a1b060f813bce5539b1743695f9cc043/3.11/Dockerfile
appreciate your help

@mikep-locol-media : just to add above i would like to know if below particular jar file is embedded in Cassandra Image
Open source Apache Cassandra Image with KOPS is working for us but wanted to know how
its working .
https://github.com/kubernetes/examples/blob/master/cassandra/java/src/main/java/io/k8s/cassandra/KubernetesSeedProvider.java

@Bfoster-melrok it seems like you shouldn't have to do what you suggested in https://github.com/kubernetes/examples/issues/235#issuecomment-400926198 but that seems like an ok workaround. When I was trying to investigate what was going on yesterday, it doesnt seem like the exported CLASSPATH=/kubernetes-cassandra.jar is used anywhere.


com.sun.management.OperatingSystemMXBean.getSystemCpuLoad reporting incorrect values on openjdk11:alpine-jre

What are you trying to do?
Running code that uses com.sun.management.OperatingSystemMXBean.getSystemCpuLoad to report CPU metrics for the container. The base image of the container was recently changed to adoptopenjdk/openjdk11:alpine-jre. Previously it used centos:6 with OpenJDK11U-jdk_x64_linux_hotspot_11.0.3_7.
Expected behaviour:
getSystemCpuLoad reports similar values as observed in other tools (e.g. top).
Observed behaviour:
getSystemCpuLoad reports 1.0 in one env, in other it reports 0.22 consistently.
Any other comments:
Sample program that reproduced the issue in AWS (not locally):
import com.sun.management.OperatingSystemMXBean;
import java.lang.management.ManagementFactory;
import java.math.RoundingMode;
import java.text.DecimalFormat;
import java.lang.Thread;

public class Program {
    public static void main(String[] args) throws InterruptedException {
        OperatingSystemMXBean osBean = (OperatingSystemMXBean)ManagementFactory.getOperatingSystemMXBean();
        try {
            while(true) {
                double loadAvg = osBean.getSystemCpuLoad();
                if (loadAvg < 0.0) {
                    // OS doesn't support this
                    loadAvg = 0.0;
                }

                DecimalFormat df = new DecimalFormat();
                df.setRoundingMode(RoundingMode.DOWN);
                df.setMaximumFractionDigits(4);

                System.out.println("Usage: " + df.format(loadAvg));

                Thread.sleep(1000);
            }
        } catch(Exception ex) {
            System.out.println(ex.getMessage());
            return;
        }
    }
}

Not being able to repro this locally make me think that it's an issue with a combo of the host Kernel and the docker image.
On the same AWS instance the centos image worked fine.

Sorry didn't realize that my previous issue (#2277) was transferred https://github.com/AdoptOpenJDK/openjdk-support.


feat(trigger): organization level audit configs

Please ensure your pull request adheres to the following guidelines:

[ ] make sure to link the related issues in this description
[ ] when merging / squashing, make sure the fixed issue references are visible in the commits, for easy compilation of release notes

Related Issues
Thanks for contributing!

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

v1.23.0
GitHub release

Your semantic-release bot :package::rocket:

@ekremney, could you please also update the API spec with the changes introduced here?
E.g.:
https://github.com/adobe/spacecat-api-service/blob/main/docs/openapi/schemas.yaml#L82 doesn't mention audits, nor the example of the entity https://github.com/adobe/spacecat-api-service/blob/main/docs/openapi/schemas.yaml#L119 or of the create/update request body https://github.com/adobe/spacecat-api-service/blob/main/docs/openapi/schemas.yaml#L160


How to use mjvMakeConnector to create a visual geom?

I am trying to show the circular ring trajectory that my end-effector is trying to track. from #88 I have to create the geom using mjvMakeConnector and then add it to the mjvScene.geoms. But the documentation for the mjvMakeConnector isn't clear to me. Could you explain or point to some documentation about how to do this? I am using the python bindings.

Please search our issues for e.g. mjvScene or mjvMakeConnector and you should find some examples. I think #194 might have some examples. If you try and fail please post some code here and we will help you.

There is a now a section in this colab called "Adding arbitrary 3D geometry".

@yuvaltassa Currently, I am implementing the controller by modifying simulate/main.cc. I still am not sure how to use mjvMakeConnector in CPP. Can you provide any example sources just like python? Or can you provide any guides to use the given function?

mjv_connector has a nicer interface. Just look in engine_vis_visualize.c.


Fix typinator download link

Hi @goofansu , could you have a look at the Travis test results and fix it?
  1) Failure:
Casks::typinator#test_0001_passes audit [/Users/travis/build/caskroom/homebrew-cask/test/Casks/compliance_test.rb:9]:
[typinator] Cask audit must be error free.
--- expected
+++ actual
@@ -1 +1 @@
-[]
+["you should use version :latest instead of version 'latest'"]

Thank you for the contribution. It will be merged in a different pull request due to some simple recommended alterations. Your contribution is still included (and still credited to you), with the appropriate modifications, when applicable.
Changes:

Made change requested by @radeksimko.
Added license.

@vitorgalvao Thank you


LGSVL Simulator chagne (part 5)

Changed config files to have the simulator running correctly.

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

please add at least one reviewer before merge.

Also add perception folks to review the config change.


grunt-contrib-cssmin version 12 builds incorrectly with current settings.

As described here: https://github.com/gruntjs/grunt-contrib-cssmin/issues/173
Two solutions exist, both alike in dignity:

Revert grunt-config-cssmin to 11.x
Add options: { rebase: false} to cssmin in the gruntfile.

Supposed to be fixed in latest version (via change of default), closing because this seems to be specific to my system.


How do I set up a database system to test (or run workload)?

I want to benchmark Cassandra database. I am aware about the link (https://github.com/brianfrankcooper/YCSB/wiki/Running-a-Workload) where they have explained how to set up databases system to test. Problem is, the instruction doesn't exactly mention how to create usertable, column etc in cassandra. I have YCSB in my computer and it includes all the necessary databases. I don't see any executable file inside the database file, where I can create table, inserting data into it etc. Is there any clear explanation that clearly tells us how the tables must be created in order to run the YCSB clients?

Hi!
Each datastore binding is supposed to have a README that explains the specifics of getting YCSB working with that datastore.
If you check out the README for the cassandra2 module, it should have instructions on how to create the needed table. IIRC, the instructions presume you will be running with the default number of fields (10).
The page you mentioned above, Running a Workload, contains a step that does loading data prior to a read/write workload.

busbey, thank you for your quick comment. yes, the README file has its instruction; and also from your given link: it seems that I should run all the query to interact with Cassandra in cqlsh (in CQL binding). But in my installed ycsb-0.8.0, no cqlsh executable file is included in the Cassandra2-binding. It has only lib folder, that is not useful.
Fortunately, a manually installed Cassandra includes bin folder and it has cqlsh type executable file inside, though I can't execute it just by clicking it. In this case, where do I get the Cassandra CQL binding that offers me to write command in cqlsh?

YCSB doesn't provide a datastore instance to run tests against. You have to have already set that up. This paragraph from Running a Workload:

The first step is to set up the database system you wish to test. This can be done on a single machine or a cluster, depending on the configuration you wish to benchmark.

is meant to cover whatever is involved in such an installation. For most datastores that means

downloading an installer from the project
installing the system on one or more machines
verifying the installation using the tools for that project

In the case of Apache Cassandra, I recommend you follow the Getting Started guide from that project.

Thank you again, I may be on the right track now. I am trying to configure the Cassandra Apache from their official site. While following the instruction from here: http://wiki.apache.org/cassandra/GettingStarted#Installing_Cassandra_Locally, I am stuck on Step 2.1: Directories Used by Cassandra.

Otherwise, you will want to check the following config settings from conf/cassandra.yaml: data_file_directories (/var/lib/cassandra/data), commitlog_directory (/var/lib/cassandra/commitlog), and saved_caches_directory (/var/lib/cassandra/saved_caches). Make sure these directories exist and can be written to. By default, Cassandra will write its logs in /var/log/cassandra/. Make sure this directory exists and is writeable, or change this line in conf/log4j-server.properies:

I don't see those directories as mentioned. I only see the conf/cassandra.yaml (like here: http://imgur.com/eM8HHS6).

Unfortunately, I'm not really an Apache Cassandra person. Your best bet will be to seek help on the Apache Cassandra User Mailing List. Be sure to subscribe if you'd like to get responses to your question directly, rather than check the archives for them later.

closing this as answered. please feel free reopen if you something remains unclear.


shade wrath of angels dont show any character in game

Description
first level

second level

shade wrath of angels dont show any character in game

Repro steps
PC Demo
https://www.moddb.com/games/shade-wrath-of-angels/downloads/shade-wrath-of-angels-demo-1-01

Environment

RenderDoc build: e.g. v1.0, or 2018-03-12 nightly build.
Operating System: e.g. Windows 10, Windows 7, Ubuntu Linux, etc
API: e.g. Vulkan, D3D11, OpenGL, etc

Nvidia Drivers 418.52.18 (run package)
Xubuntu 18.04 x64 - Kernel 4.17.12 generic (ubuntu mainline) -
CPUFreq: Performance
CPU: Core i3 8350K Tri-Core (Coffelake 14nm) 5.0Ghz + Zalman CNPS 10x Performa+
MEMORY: 8GB DDR4 2400mhz (4x2) Mushkin (dual channel: 37.5 gb/s)
GPU: Gigabyte Nvidia Geforce GTX 1050 OC (GP107 14nm: 640 Shaders / 40 TMUS / 32 ROPS) Windforce 2GB DDR5 7000Mhz 128Bit (110Gb/s)
MAINBOARD: ASUS Z370-P

Capturing commercial products is not endorsed or supported. Even a free demo remains copyright the original creator.

sorry posting in wrong side