Use cargo miri setup rather than installing xargo manually

CC @CAD97

Not actually sure if this makes a material difference, but might as well.

Mainly it's just a "say what you want not how to get it" kind of thing.
Plus, if miri ever starts needing some other setup (or stops needing xargo), asking miri to do the setup will gracefully update whereas just installing xargo will just silently stop working.

Makes sense!


Example Spreadsheet

I'd love to be able to just pull down and example spreadsheet to use as the template since Google has updated the Docs my chart is NOT looking like yours at all.  Can you please post a sample one?

Perhaps you could post yours for reference?

Updated example spreadsheet + screenshots :)
Let us know in case you have a specific question.


Lift up workspace rlibs while building

I think the condition here was slightly off from before, so invert it subtly to
get what we want, lifting up anything in a workspace or binaries otherwise.
Closes #3432

r? @brson
(rust_highfive has picked a reviewer for you, use r? to override)

:umbrella: The latest upstream changes (presumably #3468) made this pull request unmergeable. Please resolve the merge conflicts.

:pushpin: Commit 3cbf141 has been approved by brson

@bors r+

:hourglass: Testing commit 3cbf141 with merge 4b351ea...

:sunny: Test successful - status-appveyor, status-travis
Approved by: brson
Pushing 4b351eadce9330fa2d17219b48bbcdc8cef255e7 to master...


Share tab does not display, if the defaulted admin set is a single-step workflow

If I switch to another admin set, and then switch back, then it shows up.

Can you give more context?  What page are you looking at?  And item or collection?

@atz the share tab here.  Anyways it's fixed in #719.


Add support for a .title or possibly .prefix attribute of an ALIndividual

This should also extend the name_fields() method appropriately, and come with an internationalizable list of appropriate titles, such as Dr., Judge, etc.
This might be a place to start: https://en.wikipedia.org/wiki/English_honorifics
Note that honorifics vary from language to language. They are not always an optional part of a person's name. The full list on Wikipedia is probably excessive!
The use case I am thinking of is naming a specialist who will provide a service ordered by an administrative agency or court. So professional titles are most important. If the list we provide by default exceeds 5-10, it won't be useful.

I just checked this because I was curious what ECF says about it (it allows prefixes in names too). But Tyler seems to think most professional titles are suffixes instead of prefixes.  For example, here's the list that the Adams county takes:

II
III
IV
V
VI
Sr
Jr
RN
PhD
MSW
MD
MA
LPN
LPA
JD
Esq
DVM
DO
DDS
DC
CPA

I don't think that way is really thought through well (what happens if Curtis Jones, III is also a PhD?), but it might help to think of the titles like these more specific professional titles (PhD and MD as opposed to just Dr.)

"prefix" is probably a better term than "title". The ones listed above from Tyler's list do tend to be suffixes and not prefixes--E.g., we might have Dr. John Jones, PhD--not PhD John Jones.
That does make me realize that just adding some more suffixes might be a really good start at this problem though. I'm happy to start by matching Tyler's list of suffixes.
This is definitely a place where UK standard English differs quite a lot from American conventions. Here it's not unusual to drop the prefix, but in the UK I think titles are very much part of someone's name in most forms of address other than very informal.

Duplicate of #208


Emails always need a Message-ID

Every Mail should contain a Header "Message-ID" containing a unique ID or otherwise they might be caught by a spam filter.
For Example the Test-Mail does not contain a Message-ID.

Close by #17900


chore(main): release 0.18.4

:robot: I have created a release beep boop
0.18.4 (2024-05-06)
Features

redesign video card (6cd2e4e)
submit store github action workflow (#499) (98164c3)

Bug Fixes

basic font-size (#701) (1e6973a)
Extension-Firefox submit (#698) (9a15d17)
font size doesn't match the --bew-base-font-size (64a7fce)
improve dark mode (42ed108)
improve dark mode (0eb4267), closes #695
radio value is not updated, close #717 (5adaf14)
SearchBar: cannot show the focused character (7eb86ed)
VideoCard: cannot open full-screen preview (bfc5e51)
VideoCard: preview control cannot be dragged while pressing (#714) (e37caa7)

Docs

adjust docs formatting (b0e31d0)

Style Changes

TopBar: adjust styles (9e13f02)
VideoCard: adjust styles (77b5e90)

CI

add build step before type check (9aa95b9)
remove the \ (f3de2c5)
update release workflow to include firefox sources zip (c3d2bda)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/BewlyBewly/BewlyBewly/releases/tag/v0.18.4 :sunflower:


[Ent-Corda]Cenm ambassador crypto

Changelog

Add ambassador cert creation role

Reviewed by
@lakshyakumar
Linked issue
#809

The logic for creating the ambassador certificates is different for how we do it for Quorum.
Thus created a new pull request for the same.


[GSSoC'23] Brain Burst Game Completed

PR Description 📜

Select the difficulty level according to your convenience.
Click on the boxes that are formed randomly.
If player is able to click before go away from the position, score will increases.
Otherwise, score remains same.

Fixes #2215

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[x] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @Avdhesh-Varshney ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

@kunjgit please review this pr

@kunjgit @gurjeetsinghvirdee please review this pr
I have created this pr 3 days ago but no action is done on this pr ?

Bro I leaved gssoc @Avdhesh-Varshney

Thank you  @Avdhesh-Varshney , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Optimizations

FuTIL optimizations

[x] Redundancy elimination (#141)
[x] Static Timing (#154)
[x] Resource Sharing
[x] Pipelining (#200)
[x] Bitwidth analysis (#198)
[ ] Control pipelining (#382)

Verilog optimizations

[ ] Don't generate priority logic for muxes. (See writeup) (https://github.com/cucapra/calyx/issues/1423)
[ ] Generate one-hot encoded FSM (See reasons, more explanation about FSM coding style)

What's "redundancy elimination"?

That was the notion we discussed briefly about a "final-stage" cleanup to eliminate parts of guards like & 1 that are artifacts of earlier passes.

Created separate issues for resource sharing (#197) and bitwidth analysis (#198). The others are either not optimizations (pipelining) or unclear how to implement them (control pipelining).

Added one-hot encoding optimization for generated FSMs.

This is generic and in-actionable enough that I will close this


python312Packages.aiopulse: 0.4.5 -> 0.4.6

Changelog: https://github.com/atmurray/aiopulse/releases/tag/v0.4.6
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 338942 run on x86_64-linux 1

5 packages built:

home-assistant-component-tests.acmeda
python311Packages.aiopulse
python311Packages.aiopulse.dist
python312Packages.aiopulse
python312Packages.aiopulse.dist


Expose as a library to be dynamically-loaded

This commit does not implement functionality to successfully perform a checkpoint and restore for JVM process, but sketches out the API that can be used in CRaC JVM as in https://github.com/openjdk/crac/pull/78

Updated, rebased on top of https://github.com/CRaC/minicriu/pull/11 . I changed the path to a directory (creating minicriu-dump.<pid>/core.img rather than minicriu-core.<pid> by default):

JVM will want to store some own information, so the checkpoint target is already a directory
it might be useful to store another data that does not fit the coredump

Turning into draft as this needs to be rebased on #11


Update dependencies in line with #143

Closes #143.
Adds explicit dependencies and removes outdated dependencies.
Once merged we should tag v1.0.1 so that the team over on conda-forge also receive the update.

brainglobe-napari-io is used, just not imported


demo-gatsby: fixes create new blog action

Fixes #971

seriously though.... everytime I make a PR I have these duplicate merge commits. wtf.....🤬

@all-contributors please add @pixelmord for ideas and doc


Docs for getitem(), contains(), and migration_matrices()

Unless anyone has a problem with the proposed API for migration_matrices(), I'd like to push out another release. (But no major rush, it doesn't have to be today).


Error class refactoring (part 2)

Follow up to: https://github.com/github/trilogy/pull/15
Converts a few more Trilogy errors:

TRILOGY_DNS_ERROR is generally returned when we attempt to connect to a db with an unknown hostname, which we should treat as a connection error and handle properly in the adapter.
Trilogy::ConnectionClosed was introduced in the last PR to handle IOError, but I forgot to actually raise the Trilogy error in the C ext, so that's been updated
Handles known syscall errors: ECONNREFUSED and ECONNRESET, which should both be handled as connection errors. These are the ones I've been encountering frequently; we can expand on the error conversions as we see more pop up. I'm not sure how many of the 107 syscall errors we actually expect to see.

I plan to update https://github.com/github/activerecord-trilogy-adapter/pull/24 to handle these changes.

Still seeing pretty consistent failures for test_connection_error with MySQL 8.0 🤔 I haven't been able to repro locally though. Any progress on that end @composerinteralia ?

Or maybe this? https://github.com/github/trilogy/pull/42

@composerinteralia @jhawthorn would love to get your help to move this along!

For now, I've skipped the test_connection_error (with a note linking to https://github.com/github/trilogy/pull/42, which is where most of the context is tracked so far) until we have a chance to investigate this further. I'm wondering if it could possibly be OS related.. I'm on arm64-darwin21 and still can't replicate the failures on my end, whereas CI is x86_64-darwin21 (not sure what your machine is, Daniel).
@jhawthorn I know you had some concerns around the naming in https://github.com/github/trilogy/pull/41#discussion_r1070092177, what are your thoughts on the current "module-approach" to preserve backwards compat?
One thing I noticed and could use feedback on: TRILOGY_CLOSED_CONNECTION is currently surfaced as a QueryError, and that seems potentially incorrect to me. Do we think this should be a Trilogy::ConnectionClosed error?


Cad shuts down constantly

What version of Node.js are you using?
17.3.0
What version of npm are you using?
7.10.0
What operating system are you using?
Windows Server 2019
What version of SnailyCAD are you currently using?
1.25.3
Describe the Bug
[1] Error occurred during query execution:
[1] ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(Error { kind: Db, cause: Some(DbError { severity: "ERROR", parsed_severity: Some(Error), code: SqlState(E40P01), message: "deadlock detected", detail: Some("Process 11840 waits for ShareLock on transaction 579358; blocked by process 9412.\nProcess 9412 waits for ShareLock on transaction 579359; blocked by process 11840."), hint: Some("See server log for query details."), position: None, where_: Some("while updating tuple (9,1) in relation \"Officer\""), schema: None, table: None, column: None, datatype: None, constraint: None, file: Some("deadlock.c"), line: Some(1153), routine: Some("DeadLockReport") }) }) })
[1]     at RequestHandler.handleRequestError (C:\nginx\html\snaily-cadv4\node_modules\@prisma\client\runtime\index.js:29913:13)
[1]     at RequestHandler.request (C:\nginx\html\snaily-cadv4\node_modules\@prisma\client\runtime\index.js:29892:12)
[1]     at async PrismaClient._request (C:\nginx\html\snaily-cadv4\node_modules\@prisma\client\runtime\index.js:30864:16)
[1]     at async Promise.all (index 0)
[1]     at async setInactiveUnitsOffDuty (C:\nginx\html\snaily-cadv4\packages\api\src\lib\leo\setInactiveUnitsOffDuty.ts:6:3)
[1] yarn workspace @snailycad/api generate && yarn workspace @snailycad/api start exited with code 1

Expected Behavior
This randomly happens it seems? Not sure what to do
To Reproduce
No response

Duplicate of #1093. This should've been fixed already, but I'll take another look later today. This error occurred after 1.25.3?


remove request as dependency

When installing o-tools, there is the following warning:
warning o-tools > observable-process > request ><EMAIL_ADDRESS>Use uuid module instead

The request module has already updated to use uuid and looking at the source, I do not see request used anywhere even though it is required in the primary source file. It does appear to be a dev dependency

resolved in cd015ea


Feature/mx 1660 ldap search endpoint

PR Context

we want to be a able to manually pull items from auxiliary extractors to link them to other items in the mex-editor
the editor therefore needs an api endpoint for each auxiliary extractor to search for items from an aux x-systems and return them in as extracted items

Added

provides api endpoint for Active Directory (aka LDAP)

i have a few further questions
Running into this error with trivy. I'm not sure how to handle it:

Running into this error with trivy. I'm not sure how to handle it

@vyvytranngoc sadly that's a known issue on trivy's side https://github.com/aquasecurity/trivy/discussions/7668
for now, you can try restarting the cve check by clicking "re-run job", usually i get it to pass after 1-2 retries.
mid-term, if they don't fix it on their end, we need to come up with our own solution..

Running into this error with trivy. I'm not sure how to handle it

@vyvytranngoc sadly that's a known issue on trivy's side aquasecurity/trivy#7668
for now, you can try restarting the cve check by clicking "re-run job", usually i get it to pass after 1-2 retries.
mid-term, if they don't fix it on their end, we need to come up with our own solution..

After re-running it passed all the checks now :)


Can we get all PDF data into the String variable, instead of getting data page by page?

Hi a. Tho,
Currently, I'm using "get" method to get PDF data from specific page. I wonder that can we get all PDF data at once instead of getting data page by page like that?
My code:
public static int rowNumberOfPDFFile(String pdfLink, int pagePDFNumber) throws IOException {
PDFTableExtractor extractor = new PDFTableExtractor();
List tables = extractor.setSource(pdfLink).extract();
// get date from page 1 to String html. Page number starts from 0
String html = tables.get(pagePDFNumber).toHtml();
	html = html.substring(html.indexOf("border='1'>") + 11);
	int rowNumber = org.apache.commons.lang3.StringUtils.countMatches(html, "/tr");
	return rowNumber;
}

I would like to get all PDF data into "html" field. Could you please help?
Thanks,
Phan Nguyen

Hi Phan Nguyen,
I think you can do it by getting the html content of tables in all pages
then use html parser such as Jsoup to parse table content and put them all
together. Or you can also loop through all table models which are result of
PDFTableExtractor.extract().
Sorry for my late reply.
Regards,
Tho Q Luong
2016-10-12 9:19 GMT+08:00 Phannd7<EMAIL_ADDRESS>
Hi a. Tho,
Currently, I'm using "get" method to get PDF data from specific page. I
wonder that can we get all PDF data at once instead of getting data page by
page like that?
My code:
public static int rowNumberOfPDFFile(String pdfLink, int pagePDFNumber)
throws IOException {
PDFTableExtractor extractor = new PDFTableExtractor();
List
tables = extractor.setSource(pdfLink).extract();
// get date from page 1 to String html. Page number starts from 0
String html = tables.get(pagePDFNumber).toHtml();
html = html.substring(html.indexOf("border='1'>") + 11);
int rowNumber = org.apache.commons.lang3.StringUtils.countMatches(html, "/tr");
return rowNumber;

}
I would like to get all PDF data into "html" field. Could you please help?
Thanks,
Phan Nguyen
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/thoqbk/traprange/issues/8, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABbAn2ZzaPOdx0HXzydDbJO0nisZvldnks5qzDW2gaJpZM4KURI4
.


base and novel classes

Where can I find the class splits for the OV-TAO dataset, specifically the list of all used classes and the IDs for both base and novel classes?

found it


Feature request: adding down and up pointer events

Thanks for a great component first of all.  I am wondering if it would be possible to expand the events beyond click event.  just pointer up and down events would enable sufficient event coverage to interactively extend the interval enpoints, and or shifting the interval along the timeline.
Many thanks.

Hi! I'm glad that you like the component! :)
You can add any event listener by making sure the component has focus (add tabindex="0" to allow focus, and then click on it) and using the Vue event handlers, e.g.:
<Timeline
      tabindex="0"
      @keydown="customEventHandler($event)"
      @wheel="customEventHandler($event)"
/>

Let me know if this works out for you!

Thanks, yes I can do that, but I will not get the data on time location, not the potential item that event targeted.  Commuting those is complex, especially wrt zoom level, and would require replicating your internal code, etc.

I see! I just added the new events.

Thank you so much, it works great. I'm using it to label video segments.

oh, the event type passed should be PointerEvent not MouseEvent

fixed it!

thank you, the TS still complains though.  it looks like this part needs to change too:
    (e: 'pointerdown', value: { time: number; event: MouseEvent, item: TimelineItem | null }): void;
    (e: 'pointerup', value: { time: number; event: MouseEvent, item: TimelineItem | null }): void;

Whoops of course, thanks. Should be alright now in v2.1.2!


add hubble start check in ci progress

could add it in #415 to test it together (cherry-pick)

ok, i will cherry-pick to this branch

merged in #419


Data on Chilean cabinets

We have just released a couple of sets on Chilean cabinets that might be interesting.
I am attaching a CSV with further details.
PolData.csv

Thank you so much! I have added the two datasets to the overview :)


CUDA error: invalid configuration argument

Hi, thanks for your great work.
I tried using another model to predict 4d occupancy and use dvr.cu for rendering. But after training a few iterations, the following problem occurs, can you provide some suggestions to help solve this bug.
2023-05-30 09:50:43,139 - mmdet - INFO - Epoch [1][6/27]        lr: 1.700e-04, eta: 0:07:41, time: 0.924, data_time: 0.030, memory: 7264, loss_heatmap: 8808.0361, layer_-1_loss_cls: 44.7087, layer_-1_loss_bbox: 11.4984, matched_ious: 0.0000, loss_l1: 15.6480, loss_l2: 294.7178, loss_absrel: 0.8354, loss: 9175.4443, grad_norm: 34641.0859
2023-05-30 09:50:44,053 - mmdet - INFO - Epoch [1][7/27]        lr: 1.707e-04, eta: 0:06:52, time: 0.910, data_time: 0.062, memory: 7264, loss_heatmap: 6989.6382, layer_-1_loss_cls: 42.0245, layer_-1_loss_bbox: 8.0230, matched_ious: 0.0054, loss_l1: 13.2696, loss_l2: 222.9359, loss_absrel: 0.7619, loss: 7276.6528, grad_norm: 31704.3477
Traceback (most recent call last):
  File "./tools/train.py", line 269, in <module>
    main()
  File "./tools/train.py", line 258, in main
    train_model(
  File "/home/mmdet3d/apis/train.py", line 344, in train_model
    train_detector(
  File "/home/mmdet3d/apis/train.py", line 319, in train_detector
    runner.run(data_loaders, cfg.workflow)
  File "/home/anaconda3/envs/lib/python3.8/site-packages/mmcv/runner/epoch_based_runner.py", line 136, in run
    epoch_runner(data_loaders[i], **kwargs)
  File "/home/anaconda3/envs/lib/python3.8/site-packages/mmcv/runner/epoch_based_runner.py", line 53, in train
    self.run_iter(data_batch, train_mode=True, **kwargs)
  File "/home/anaconda3/envs/lib/python3.8/site-packages/mmcv/runner/epoch_based_runner.py", line 31, in run_iter
    outputs = self.model.train_step(data_batch, self.optimizer,
  File "/home/anaconda3/envs/lib/python3.8/site-packages/mmcv/parallel/distributed.py", line 63, in train_step
    output = self.module.train_step(*inputs[0], **kwargs[0])
  File "/home/anaconda3/envs/lib/python3.8/site-packages/mmdet/models/detectors/base.py", line 248, in train_step
    losses = self(**data)
  File "/home/anaconda3/envs/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/mmdet3d/models/detectors/***.py", line 74, in forward
    return self.forward_train(**kwargs)
  File "/home/mmdet3d/models/detectors/***.py", line 250, in forward_train
    losses_occ = self.forward_train(
  File "/home/mmdet3d/models/dense_heads/***.py", line 400, in forward_train
    invalid = torch.isnan(grad_sigma)
RuntimeError: CUDA error: invalid configuration argument
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 2861194) of binary: /home/anaconda3/envs/bin/python

This problem is caused when rendering rays are null


Cannot read property "commands" of null

Which OS ?
Android
Versions
"react": "17.0.2",
"react-native": "0.65.0",
"react-native-swiper": "1.6.0-dev",
I'm receiving this error when running the emulator, can anybody please help?

having the same issue


Added multi-format-parser plugin for json parsing bug

Added fluent-plugin-multi-format-parser for json parsing.
Related issue: https://github.com/rancher/rancher/issues/24545

LGTM


dependencyCheckAnalyze fails in Android project with more than one modules

After updating an Android application to Gradle 4.1, the dependencyCheckAnalyze task has started failing. It appears that it is unable to handle multiple modules. I have created a sample  app that demonstrates the problem: https://github.com/gmetal/sample-dependency-check-app
If you run the dependencyCheckAnalyze task, you'll see something like the following:
./gradlew dependencyCheckAnalyze

> Task :app:dependencyCheckAnalyze
Verifying dependencies for project app

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:dependencyCheckAnalyze'.
> Could not resolve all dependencies for configuration ':app:debugCompileClasspath'.
   > More than one variant of project :mylibrary matches the consumer attributes:
       - Configuration ':mylibrary:debugApiElements' variant android-aidl:
           - Found artifactType 'android-aidl' but wasn't required.
           - Required com.android.build.api.attributes.BuildTypeAttr 'debug' and found compatible value 'debug'.
           - Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
           - Found com.android.build.gradle.internal.dependency.VariantAttr 'debug' but wasn't required.
           - Required org.gradle.api.attributes.Usage 'java-api' and found compatible value 'java-api'.
       - Configuration ':mylibrary:debugApiElements' variant android-classes:
           - Found artifactType 'android-classes' but wasn't required.
           - Required com.android.build.api.attributes.BuildTypeAttr 'debug' and found compatible value 'debug'.
           - Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
           - Found com.android.build.gradle.internal.dependency.VariantAttr 'debug' but wasn't required.
           - Required org.gradle.api.attributes.Usage 'java-api' and found compatible value 'java-api'.
       - Configuration ':mylibrary:debugApiElements' variant android-manifest:
           - Found artifactType 'android-manifest' but wasn't required.
           - Required com.android.build.api.attributes.BuildTypeAttr 'debug' and found compatible value 'debug'.
           - Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
           - Found com.android.build.gradle.internal.dependency.VariantAttr 'debug' but wasn't required.
           - Required org.gradle.api.attributes.Usage 'java-api' and found compatible value 'java-api'.
       - Configuration ':mylibrary:debugApiElements' variant android-renderscript:
           - Found artifactType 'android-renderscript' but wasn't required.
           - Required com.android.build.api.attributes.BuildTypeAttr 'debug' and found compatible value 'debug'.
           - Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
           - Found com.android.build.gradle.internal.dependency.VariantAttr 'debug' but wasn't required.
           - Required org.gradle.api.attributes.Usage 'java-api' and found compatible value 'java-api'.
       - Configuration ':mylibrary:debugApiElements' variant jar:
           - Found artifactType 'jar' but wasn't required.
           - Required com.android.build.api.attributes.BuildTypeAttr 'debug' and found compatible value 'debug'.
           - Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
           - Found com.android.build.gradle.internal.dependency.VariantAttr 'debug' but wasn't required.
           - Required org.gradle.api.attributes.Usage 'java-api' and found compatible value 'java-api'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
1 actionable task: 1 executed

Any updates?

We're also facing this issue. Is there anything we can do to help?

Hope it will be fixed soon.

My workaround for this issue:

when defining the module depdendency add a configuration

All - I'm still researching this. Unfortunately, I am not seeing a quick fix.

I've looked at several other plugins that deal with project dependencies and I have not yet found a solution.  Most other plugins obtain the ResolvedDependency objects which works if you are just gathering the coordinates of the dependency; however, dependency-check uses the actual JAR file. When attempting to obtain the ResolvedArtifact objects is where the error occurs.  I have asked a question on SO and will likely be following up with gradle support shortly.

I just found the solution to the problem.  See https://stackoverflow.com/a/44207419/1995422
In the sample project's app/gradle.build#L24 change
implementation project(':mylibrary')

To
implementation project(path: ':mylibrary', configuration: 'default')

Explicitly setting the configuration on the project reference resolves the error.  Additional enhancements are being made to better support Android AAR dependencies.

I should point out that the solution to this (which I outlined above) was previously provided https://github.com/jeremylong/dependency-check-gradle/issues/71#issuecomment-367931630 - I wanted to exhaust some avenues of research before finalizing this as the best answer.  I believe there might be an underlying issue between gradle and the android sdk that causes this problem as @andyhermann pointed out - this does cause an issue in android studio.

I did open a ticket with gradle (https://github.com/gradle/gradle/issues/5953) to see if they believe there is an underlying issue.

I had a quick look at the change your are proposing. It seems to resolve the errors you get when running the dependencyCheckAnalyze. However, as others have pointed out, if you attempt to sync the project in Android Studio (used 3.2-beta3), it fails.
On the sample project though, simply building the application (e.g. ./gradlew assembleDebug) on the project root folder once, allows AS to figure out what it is missing and sync the project. I even managed to build the APK and run it in a real device.
After trying the same workaround in a more complex project with multiple modules, and many dependencies, I could not get the ./gradlew assembleFlavourDebug step to complete properly.

The ticket with the gradle team pointed me in a different direction (see https://github.com/gradle/gradle/issues/5953#issuecomment-404514591). I am still trying to fully understand some of the new/incubating APIs but hope to have something soon.


modified:   src/app/options/loadshedding/loadshedding.component.html

I created a PR so that you can monitor what I am busy with.
modified:   src/app/options/loadshedding/loadshedding.component.ts
	- Added the onLicenseChanged event to go get the National Status data so long.
modified:   src/app/tab/loadshedding/loadshedding.component.html
modified:   src/app/tab/loadshedding/loadshedding.component.ts
	- Retrieve and display data.
modified:   src/app/tab/loadshedding/loadshedding.service.ts
	- Added the national status call to the service.
modified:   src/scss/_loadshedding.scss
	- Styling in progress.

@bluecaret when you are ready you can review this PR and if there are any changes I need to make let me know.

Thank you @Ruandv I'll try to get this reviewed this week, quick glance it looks good though! Thanks again for the work on this!


fix: remove duplicate section at end of hello-world-app docs

Description
Howdy! Just following this guide and noticed the duplicated section at the end. Looks like the Related Info === Summary and I'd imagine we want Summary as the header there.

https://developer.newrelic.com/build-apps/build-hello-world-app

Screenshot(s)

I fixed this in #980


Amount is shown negative

Describe the bug
The amount for ST314JC8J24YWNVAEJJHQXS5Q4S9DX1FW5Z9DK9NT.boom-pool-beta-nfts-v1 is shown as -600 STX
https://explorer.stacks.co/txid/ST314JC8J24YWNVAEJJHQXS5Q4S9DX1FW5Z9DK9NT.boom-pool-beta-nfts-v1?chain=testnet

Probably caused by https://github.com/blockstack/stacks-blockchain-api/issues/390


Convert import.io json?

Hi,
I am trying to convert http://import.io json output to xml, but they have this format:
{
   "offset":0,
   "results":[
      {
         "quantity":"0",
         "productid":"444222",
         "price":"123",
         "productname":"hello",
         "onmouseover":"test'"
      }
]
}

@ubuntu:~$ json2csv -i data.json -f price, productname
This is not working because these fields are not in the root tree, but under "results".
Could you please help me with this?
Regards,
Adrian
EDIT:
-i (input) option doesn't work on Ubuntu:
@ubuntu:~/$ json2csv -V
3.2.0
@ubuntu:~/$ json2csv -f quantity -i /home/data-final.csv
"quantity"
@ubuntu:~/$ cat  /home/data-final.csv | json2csv -f quantity
"quantity"
"Skladom"
"0"
"0"
"0"
"0"
"Skladom"
"20+"
"10+"
"10+"
"0"
"0"
"0"
"0"
"5+"
"0"

You can do something like json2csv -i test.json -F
"offset","results.0.quantity","results.0.productid","results.0.price","results.0.productname","results.0.onmouseover"
0,"0","444222","123","hello","test'"

or json2csv -i test.json -f results[0].price,results[0].productname
"results[0].price","results[0].productname"
"123","hello"

For more control, use the lib as a module, and pass in custom fields options. See the docs here: https://github.com/zemirco/json2csv#example-fields-option

-i expects a json file, not a csv file.

Let me know if you need anything else. Closing in the mean time.


Difftest, mmu: Support Sv48 & Sv48x4 ptw check

Also refactor page table walker level:
previous (only support Sv39):
level 0 -> 1GB page
level 1 -> 2MB page
level 2 -> 4KB page
current (support Sv39, Sv48, and future extension) Sv48 -> maxlevel = 3, Sv39 -> maxlevel = 2
level 3 -> 512GB page
level 2 -> 1GB page
level 1 -> 2MB page
level 0 -> 4KB page

Wait for @pxk27 review.


change app name limit to 128 characters

Coverage decreased (-0.02%) to 48.465% when pulling 99b8e5bef6ba79229e4eb47b4e4feaf406a2b2d6 on lepdou:app_name into 35fbe00e541a2d037a4cb74bb6931ce359a82e59 on ctripcorp:master.


Support qmd files

Currently commands don't work in .qmd files (see https://quarto.org/), but since it's more or less markdown it would be nice if we could have basic supports for it (e.g. without the additional features/syntax).

Yeah shouldn't be too hard.  Can basically just see how we handle eg jsonc today: we just reuse the json parser, and it mostly just works.  Can just grep in https://github.com/cursorless-dev/vscode-parse-tree and https://github.com/cursorless-dev/cursorless for jsonc to see how it works; should be easy fix

Yeah shouldn't be too hard. Can basically just see how we handle eg jsonc today: we just reuse the json parser, and it mostly just works. Can just grep in https://github.com/cursorless-dev/vscode-parse-tree and https://github.com/cursorless-dev/cursorless for jsonc to see how it works; should be easy fix

One thing I have noticed is that no Cursorless commands work when Quarto's extension is active. Not really sure who's the culprit and/or how to go about debugging that.


Drum-machine

Description
Its a simple a drum-machine in which if you will click on different button it will produce different sounds plus offering you some additional features such as you can play your own tune by making it.
Add GIF/ScreenShot

Task Checklist
Put x in between the square brackets without any spaces to tick your Task.

[x] You have created a new branch for contribution.
[x] Added README.md for your project in a specified folder.
[x] Add Demo in GIF or Screenshot form.
[x] You are Registered Officially for HacktoberFest 2021 as Partcipant.
[x] Followed Contribution Guidelines.

Issue
Mention your issue no.
#134

@soumikbaithalu please check my pr


Add new logos, update logos.json, and include new categories

This pull request introduces several updates to the repository:

Added New Logos:

Habesha Beer
Ethiopian Air Force
Ethiopian Defense Force
Amole
Ministry of Peace
Tourism Ethiopia
MICE
Ministry of Health
Office of The Prime Minister
Ministry of Transport
Marriott (updated with high-quality)

Updated logos.json:

The logos.json file has been modified to include the newly added logos.

New Categories:

I have included new categories that were not previously listed in the contributing.md file.

Testing done:

I have tested all logos to ensure they display correctly and are properly optimized. PNG files have been optimized with OxiPNG, and SVG files have been optimized with SVGOMG.
I have validated the updated logos.json file to ensure its structure and correctness.

Please review and merge this pull request. Thank you!

Damn 👏🏽

👍🏾 Thanks!


[dtype] Support Unions

fix: https://github.com/p2p-ld/numpydantic/issues/19
Much like how we support the labor movement, we support the evaluation of union dtypes

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

70 of 72 (97.22%)  changed or added relevant lines in 11 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.3%) to 98.92%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/numpydantic/serialization.py
19
21
90.48%

Files with Coverage Reduction
New Missed Lines
%

src/numpydantic/serialization.py
2
94.52%

Totals

Change from base Build<PHONE_NUMBER>8:
-0.3%

Covered Lines:
1191

Relevant Lines:
1204

💛  - Coveralls


elbv2

I am using classing load balancer for which I am using aws.elb.* config elements in eb_deployer.yml file. I want to create ALB instead of ELB and so trying to use aws.elbv2.* . This one is not working, it is still creating classic LB with default port 80. How do I trigger creating ALB instead of ELB Any help?

https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environments-cfg-alb.html#environments-cfg-alb-console-example
Search for Application Load Balancer Namespaces. There's doc for how to add an ebextension file, but I'm pretty sure you could just add it to the option_settings in eb_config.yml.


object / trajectory not clickable

Hi,
I cloned the repo and then
yarn --ignore-engines
yarn dev

to run it. Browser shows the interface and I can add zone or object and I can attach sound, but after creating them, I cannot select the object again. When I click on the object, it behaves as if I clicked on the background grid area. I can select a zone and drag to move it but I cannot move its bezier points.
The interface is working fine on inviso.cc, though.

Here's the log. node version is v8.4.0.
$ yarn dev
yarn run v1.3.2
$ run-p dev:sass webpack-server webpack-watch

><EMAIL_ADDRESS>webpack-watch /Users/naoto/Documents/Inviso
> set NODE_ENV=0&& webpack --progress --colors --watch --cache

><EMAIL_ADDRESS>dev:sass /Users/naoto/Documents/Inviso
> node-sass -w -r src/css/ -o src/public/assets/css/

><EMAIL_ADDRESS>webpack-server /Users/naoto/Documents/Inviso
> set NODE_ENV=0&& webpack-dev-server --progress --colors --hot --inline --open

Webpack build - ENV: dev V:<PHONE_NUMBER>256
    - outputPath  /Users/naoto/Documents/Inviso/src/public/assets/js
    - includePath  /Users/naoto/Documents/Inviso/src/js
    - nodeModulesPath  /Users/naoto/Documents/Inviso/node_modules
 34% 2/5 build modulesWebpack build - ENV: dev V:<PHONE_NUMBER>159
    - outputPath  /Users/naoto/Documents/Inviso/src/public/assets/js
    - includePath  /Users/naoto/Documents/Inviso/src/js
    - nodeModulesPath  /Users/naoto/Documents/Inviso/node_modules
 57% 4/5 build modules http://localhost:8080/
webpack result is served from /assets/js
content is served from src/public
 64% 10/11 build moduleswebpack: wait until bundle finished: /assets/js/zip.js
 61% 25/29 build moduleswebpack: wait until bundle finished: /assets/js/rStats.js
webpack: wait until bundle finished: /assets/js/rStats.extras.js
 54% 26/35 build moduleswebpack: wait until bundle finished: /assets/js/simplify3D.js
webpack: wait until bundle finished: /assets/js/libtess.min.js
webpack: wait until bundle finished: /assets/js/app.js
 54% 28/38 build modules[BABEL] Note: The code generator has deoptimised the styling of "/Users/naoto/Documents/Inviso/node_modules/three/build/three.js" as it exceeds the max of "500KB".
[BABEL] Note: The code generator has deoptimised the styling of "/Users/naoto/Documents/Inviso/node_modules/three/build/three.js" as it exceeds the max of "500KB".


Error loading shared library libhwloc.so.15: No such file or directory (needed by ./xmrig)

When Starting the container getting this error:
Error loading shared library libhwloc.so.15: No such file or directory (needed by ./xmrig)

Hello @fire1ce , this was fixed.


Correct response for csr approval

Follow-up to https://github.com/cockroachdb/docs/pull/2795

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/faf5b7c9c707c27d926740ee1e22c2519f44a871/


New option "cwd" allows for setting the current working directory

Useful when the working directory was changed in Gruntfile prior to spawning child processes.

Duplicate of #48.


XS Hardware Interface Crash

We are receiving an error while sending a FollowJointTrajectoryGoal to our Locobot's arm controller:
terminate called after throwing an instance of 'std::runtime_error'
what(): Duration is out of dual 32-bit range

After instrumenting with some ROS logging, it seems that this error is thrown here:
https://github.com/Interbotix/interbotix_ros_toolboxes/blob/1ed10f99f9ce7d5d77f65b5756d8f3f7a06bdc1e/interbotix_xs_toolbox/interbotix_xs_ros_control/src/xs_hardware_interface_obj.cpp#L91
This error occurs at seemingly random times as our trajectories execute fine most of the time. However, this error is not really explainable other than possibly a numerical issue with the difference calculation.

This issue was somewhat resolved in an email exchange.
It seems like the error appears with some generated FollowJointTrajectoryGoal messages, but not others, and there is no clear reason why it happens. Adding a ROS_INFO call in the hardware update function seemingly prevented the issue from occurring. Adding try/catch statements as demonstrated in this gist can prevent crashing of the hardware interface.


Added test cases for conversation types

Codecov Report

Merging #70 into master will increase coverage by 0.13%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #70      +/-   ##
==========================================
+ Coverage   73.35%   73.49%   +0.13%
==========================================
  Files          35       35
  Lines        2931     2931
==========================================
+ Hits         2150     2154       +4
+ Misses        781      777       -4

Impacted Files
Coverage Δ

ingest/importer/conversion/column_specification.py
98.82% <0%> (+2.35%)
:arrow_up:

ingest/template/descriptor.py
97.36% <0%> (+2.63%)
:arrow_up:

Continue to review full report at Codecov.

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


loading more elements

Hello,
My app cant load all elements in the state, Is there a way to know when the list has reached the end, to load more elements?
I tried to check index in itemRenderer and load more items there, but the state cant be modified in a render phase.
Regards

ok i 've finally got round the problem by modifying the componentDidUpdate method.
I add a call to a property function "onBottom" when from+size>=length-1
onBottom is implemented in the parent by calling an underlying REST service and updating the state, this re-render the list and all is working fine.
By the way do you think such feature could be added in a future version ?

Please see previous issues about this. ReactList is intended to be a lower-level component that you should build on with whatever makes sense for your data.


Add isStorePath tests

Some tests cc @zimbatm

I wonder why it includes the first commit again, yes. Maybe the commit ID changed?


Mysten sui

Version Packages (https://github.com/MystenLabs/sui/pull/7707)
This PR was opened by the Changesets
release GitHub action. When
you're ready to do a release, you can merge this and publish to npm
yourself or setup this action to publish
automatically. If
you're not ready to do a release yet, that's fine, whenever you add more
changesets to main, this PR will be updated.
Releases
<EMAIL_ADDRESS>Minor Changes

https://github.com/MystenLabs/sui/commit/7b4bf43bc4130154cd850c334ef6ec8e05c82714: Support for interacting with Devnet v0.24+ where Move Calls
refer to their packages by ObjectID only (not ObjectRef).

Patch Changes

https://github.com/MystenLabs/sui/commit/ebfdd5c56e25410264e20e3e5251d6d107d9079f: Adding Checkpoint APIs for ts sdk
https://github.com/MystenLabs/sui/commit/72481e7599befd82ac0b5aed5d8b444dbe26bcae: Updated to new dev inspect transaction layout
https://github.com/MystenLabs/sui/commit/969a8866926134d7ca4d0cbc8c660d91ddaf4c8d: RPC requests errors now don't include the html response
text (to keep message shorter)

<EMAIL_ADDRESS>Patch Changes

<EMAIL_ADDRESS><EMAIL_ADDRESS>
<EMAIL_ADDRESS>Patch Changes

Updated dependencies [https://github.com/MystenLabs/sui/commit/ebfdd5c56e25410264e20e3e5251d6d107d9079f]
Updated dependencies [https://github.com/MystenLabs/sui/commit/7b4bf43bc4130154cd850c334ef6ec8e05c82714]
Updated dependencies [https://github.com/MystenLabs/sui/commit/72481e7599befd82ac0b5aed5d8b444dbe26bcae]
Updated dependencies [https://github.com/MystenLabs/sui/commit/969a8866926134d7ca4d0cbc8c660d91ddaf4c8d]

<EMAIL_ADDRESS>

<EMAIL_ADDRESS>Patch Changes

Updated dependencies [https://github.com/MystenLabs/sui/commit/ebfdd5c56e25410264e20e3e5251d6d107d9079f]
Updated dependencies [https://github.com/MystenLabs/sui/commit/7b4bf43bc4130154cd850c334ef6ec8e05c82714]
Updated dependencies [https://github.com/MystenLabs/sui/commit/72481e7599befd82ac0b5aed5d8b444dbe26bcae]
Updated dependencies [https://github.com/MystenLabs/sui/commit/969a8866926134d7ca4d0cbc8c660d91ddaf4c8d]

<EMAIL_ADDRESS><EMAIL_ADDRESS>

<EMAIL_ADDRESS>Patch Changes

Updated dependencies [https://github.com/MystenLabs/sui/commit/ebfdd5c56e25410264e20e3e5251d6d107d9079f]
Updated dependencies [https://github.com/MystenLabs/sui/commit/7b4bf43bc4130154cd850c334ef6ec8e05c82714]
Updated dependencies [https://github.com/MystenLabs/sui/commit/72481e7599befd82ac0b5aed5d8b444dbe26bcae]
Updated dependencies [https://github.com/MystenLabs/sui/commit/969a8866926134d7ca4d0cbc8c660d91ddaf4c8d]

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

<EMAIL_ADDRESS>Patch Changes

Updated dependencies [https://github.com/MystenLabs/sui/commit/ebfdd5c56e25410264e20e3e5251d6d107d9079f]
Updated dependencies [https://github.com/MystenLabs/sui/commit/7b4bf43bc4130154cd850c334ef6ec8e05c82714]
Updated dependencies [https://github.com/MystenLabs/sui/commit/72481e7599befd82ac0b5aed5d8b444dbe26bcae]
Updated dependencies [https://github.com/MystenLabs/sui/commit/969a8866926134d7ca4d0cbc8c660d91ddaf4c8d]

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

<EMAIL_ADDRESS>Patch Changes

Updated dependencies [https://github.com/MystenLabs/sui/commit/ebfdd5c56e25410264e20e3e5251d6d107d9079f]
Updated dependencies [https://github.com/MystenLabs/sui/commit/7b4bf43bc4130154cd850c334ef6ec8e05c82714]
Updated dependencies [https://github.com/MystenLabs/sui/commit/72481e7599befd82ac0b5aed5d8b444dbe26bcae]
Updated dependencies [https://github.com/MystenLabs/sui/commit/969a8866926134d7ca4d0cbc8c660d91ddaf4c8d]

<EMAIL_ADDRESS><EMAIL_ADDRESS>

<EMAIL_ADDRESS>Patch Changes

Updated dependencies [https://github.com/MystenLabs/sui/commit/ebfdd5c56e25410264e20e3e5251d6d107d9079f]
Updated dependencies [https://github.com/MystenLabs/sui/commit/7b4bf43bc4130154cd850c334ef6ec8e05c82714]
Updated dependencies [https://github.com/MystenLabs/sui/commit/72481e7599befd82ac0b5aed5d8b444dbe26bcae]
Updated dependencies [https://github.com/MystenLabs/sui/commit/969a8866926134d7ca4d0cbc8c660d91ddaf4c8d]

<EMAIL_ADDRESS>

Co-authored-by: github-actions[bot]<EMAIL_ADDRESS>

nice4


categories

When the carousel is horizontal, I can:

swipe slides within the same category, dragging horizontally or clicking on horizontal arrows
switch category, dragging vertically or clicking on vertical arrows

and vice versa if the carousel is vertical.
There's a CarouselItemCategory component allowing grouping slides into categories.

You can achieve that with just a carousel of carousels (the only thing needed is adding a "vertical" prop)

so let's wait until #162 is finished, then we'll check whether it works correctly with a carousel of carousels (theoretically it should work but even if both the horizontal and the vertical carousels are tested, there can occur a bug breaking a carousel of carousels)

so let's wait until #162 is finished, then we'll check whether it works correctly with a carousel of carousels (theoretically it should work but even if both the horizontal and the vertical carousels are tested, there can occur a bug breaking a carousel of carousels)

If it won't work when the vertical plugin will be implemented please reopen this issue. Closing for now


dkg status metrics

Added metrics to monitor DKG status

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
13 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.2%) to 63.231%

Files with Coverage Reduction
New Missed Lines
%

services/dkg/pedersen/handler.go
13
84.84%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
3116

Relevant Lines:
4928

💛  - Coveralls


[stdpar] specialize memory streaming for host sscp

Previously, host stdpar memory streaming (e.g. used for transform_reduce) has assumed that whenever __hipsycl_if_target_device() is active, the GPU-optimized code path should be taken.
This assumption is no longer correct with the host SSCP backend. Here, it can happen that we run on the host even though we are in a device code path.
This RP adds a host/device specialization within SSCP JIT, which improves performance on Milan for babelstream dot (std-data model) from 50GB/s to 380GBs.
This means that SSCP on host now substantially outperforms the old compiler in this case, which only achieves ~280GB/s.
I'd like to work on the code specialization API for SSCP a bit more, so it's quite possible that this is not the final API that we can advertise to users. But it's something that works today which we can use to fix the mentioned performance regression.

Looks like there is some issue with the S2 IR constant mechanism, so that this PR does not always work reliably. Looking into it now.

Ok, it works now. Looks like LLVM GlobalOpt pass has optimized away S2 IR constants as globals without initializers. I've now added to this PR the functionality to make S2 IR constants have external linkage which fixes the issue for now.
I think in the long term I'd like to reimplement IR constants on top of functions instead of global variables. That seems more robust to me.


Update grok dependency

Updates the Grok dependency to the new "works with Centos" version.
Please test with both Ubuntu and Centos. Though Centos will probably fail once you get past Grok 😄

@dannylamb @jonathangreen @Natkeeran could someone look at this.
Deploying claw-playbook on non-Ubuntu is still non-existant.
https://github.com/Islandora-CLAW/CLAW/issues/809#issuecomment-385464723

Don't know how useful this is, but on a CentOS box I'm getting:
TASK [Islandora-Devops.grok : Cmake grok] **************************************************************************************************
Monday 30 April 2018  16:31:31 -0400 (0:00:00.977)       0:15:39.442 **********
fatal: [default]: FAILED! => {"changed": true, "cmd": ["cmake", "../"], "delta": "0:00:00.023255", "end": "2018-04-30 16:31:32.214446", "msg": "non-zero return code", "rc": 1, "start": "2018-04-30 16:31:32.191191", "stderr": "CMake Error at CMakeLists.txt:10 (cmake_minimum_required):\n  CMake 3.1 or higher is required.  You are running version <IP_ADDRESS>", "stderr_lines": ["CMake Error at CMakeLists.txt:10 (cmake_minimum_required):", "  CMake 3.1 or higher is required.  You are running version <IP_ADDRESS>"], "stdout": "-- Configuring incomplete, errors occurred!", "stdout_lines": ["-- Configuring incomplete, errors occurred!"]}

I will investigate further-- could be some chain of versions of dependencies going wrong?

Okay, I was able to get past my fail above by installing cmake3 and changing this line to use cmake3, but now I'm exploding in flames in the next step (make) like this.
Starting to wonder if I can't just get away with disabling Grok...

Hang on, I've done something wrong here-- I think I'm running parts of the Ansible play without this PR, and parts with. Or something like that.

Okay, after further investigation, it is clear that Grok fails to build under any condition on CentOS7 (with something like this), so this isn't a CLAW issue per se, it's upstream. I'm going to open a new ticket about this, because it is apparently CentoOS-specific (since other people are able to use this PR).

The last comment is WRONG WRONG WRONG. See Islandora-CLAW/CLAW/issues/809 for the TRUTH.

Anyone else, @Islandora-Devops/committers,  want to review this before we merge?

Covered by #68.


Lack of httpd.conf and tunings of MPM module

Not 100% if this issue should be in this repo or somewhere else, so if it is not in the correct area please feel free to tell me to move it. I am doing some performance testing and apache is eating up available memory on my test systems. I went to search for what the default mpm module is set to be used but could not find anything, presuming mpm_prefork. However, I could not find any mention plus there seems to be no specified tunings of apache and said mpm module. E.g.
<IfModule mpm_prefork_module>     StartServers           60     MinSpareServers        20     MaxSpareServers        100     ServerLimit            400     MaxRequestWorkers      300     MaxConnectionsPerChild 1000 </IfModule>
I think this is super important to have since it drastically affects the resource utilization of a limits enforced POD.

As an example in v2 you guys have the following mpm_prefork defaults:
<IfModule prefork.c> StartServers	   8 MinSpareServers    5 MaxSpareServers   20 ServerLimit	 256 MaxClients	 256 MaxRequestsPerChild  4000 </IfModule>
Whereas in the sti image all that gets pulled in is
`# prefork MPM: Implements a non-threaded, pre-forking web server
See: http://httpd.apache.org/docs/2.4/mod/prefork.html
LoadModule mpm_prefork_module modules/mod_mpm_prefork.so`
Without setting any sorts of resource defaults

Thanks for the analysis, can you move this issue to our sti-php repository?
Ben Parees | OpenShift
On Oct 14, 2015 3:59 PM, "Boris Kurktchiev"<EMAIL_ADDRESS>wrote:

As an example in v2 you guys have the following mpm_prefork defaults:

StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 4000

Whereas in the sti image all that gets pulled in is
`# prefork MPM: Implements a non-threaded, pre-forking web server
See: http://httpd.apache.org/docs/2.4/mod/prefork.html
LoadModule mpm_prefork_module modules/mod_mpm_prefork.so`
Without setting any sorts of resource defaults
—
Reply to this email directly or view it on GitHub
https://github.com/openshift/sti-base/issues/69#issuecomment-148178713.

The problem though is that this is not -php problem but w general problem that all sti-* images I herit, as none of them set their own worker settings but rely on the scl httpd defaults, which there are none set! Which in turn makes httpd extremely inefficient. Mpm_prefork/worker are not tied to a a language, php, perl, ruby, Python... They all end up using httpd as the content provider or the content proxy and the httpd process itself is not tuned when those parameters have no defaults set.
-B
-- Please excuse spelling and grammar errors, this has been sent from my iPhone/iPad

On Oct 14, 2015, at 17:54, Ben Parees<EMAIL_ADDRESS>wrote:
Thanks for the analysis, can you move this issue to our sti-php repository?
Ben Parees | OpenShift
On Oct 14, 2015 3:59 PM, "Boris Kurktchiev"<EMAIL_ADDRESS>wrote:

As an example in v2 you guys have the following mpm_prefork defaults:

StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 4000

Whereas in the sti image all that gets pulled in is
`# prefork MPM: Implements a non-threaded, pre-forking web server
See: http://httpd.apache.org/docs/2.4/mod/prefork.html
LoadModule mpm_prefork_module modules/mod_mpm_prefork.so`
Without setting any sorts of resource defaults
—
Reply to this email directly or view it on GitHub
https://github.com/openshift/sti-base/issues/69#issuecomment-148178713.

—
Reply to this email directly or view it on GitHub.

@remicollet

@ebalsumgo @bparees we discussed this on scrum today and we come with at least three options:

You can rebuild the sti-php image and include your own custom httpd configuration file
If we wait for latest Docker, we can make more clever decisions about what values we set there as we will have access to cgroups and see the CPU/memory/etc which are set for the container
We support .sti/etc/httpd.conf as part of the assemble and if you have that file in your source code repository, we will copy this file into the httpd config path and make apache pick it up for you.

Long term we want to have some base httpd image we can layer perl, php and mod_wsgi/python on top which should also use some pluggable configuration mechanism (sti-httpd will just run plain httpd, sti-php will base on sti-httpd and it will just install php rpms and php httpd configuration).
@csrwng CC

To me option 3 is the "best" as at least will allow an easier tuning of Apache if so desired. I discussed this at some leng with cewong on irc, but it def makes sense to have the images come with some "sane" httpd defaults for the process, prefork and worker depending on the content being served.
The only reason I stumbled onto this is because v3 php with 3 pods could not keep up with traffic for a v2 scaled php gear (up to 3). V3 as it stands right now gets hindered due to httpd getting kernel oom killed.

Doing 3 for now and 2 later, ultimately combined with doing that in an
httpd base image instead of in each language image sounds good to me.
But I don't like putting it under a ".sti" path. It's not a file consumed
by sti. For other builders that consume config (eg wildfly) we let users
put a config.xml in a config dir in their source repo, not under the .sti
path, i'd prefer to do the same here.
Ben Parees | OpenShift
On Oct 15, 2015 10:52 AM, "Michal Fojtik"<EMAIL_ADDRESS>wrote:

@ebalsumgo https://github.com/ebalsumgo @bparees
https://github.com/bparees we discussed this on scrum today and we come
with at least three options:

You can rebuild the sti-php image and include your own custom httpd
configuration file
If we wait for latest Docker, we can make more clever decisions about
what values we set there as we will have access to cgroups and see the
CPU/memory/etc which are set for the container
We support .sti/etc/httpd.conf as part of the assemble and if you have
that file in your source code repository, we will copy this file into the
httpd config path and make apache pick it up for you.

Long term we want to have some base httpd image we can layer perl, php and
mod_wsgi/python on top which should also use some pluggable configuration
mechanism (sti-httpd will just run plain httpd, sti-php will base on
sti-httpd and it will just install php rpms and php httpd configuration).
@csrwng https://github.com/csrwng CC
—
Reply to this email directly or view it on GitHub
https://github.com/openshift/sti-base/issues/69#issuecomment-148410199.

on a related topic, here's our card for moving to a shared httpd base image:
https://trello.com/c/keOtxxXt/697-add-httpd-s2i-image-as-a-base-for-httpd-images

Has there been any movement on this in any form? I just did a quick test and looked around and it seems the sti images are still based on the same defaults and could not find any documentation on how to overwrite the default httpd.conf (if thats possible yet)

no there has not.  today you'd still have to build your own image/layer on top of ours to customize this.
a PR to our assemble scripts (for each s2i image) to allow users to supply their own httpd.conf file in their source repo would be welcome.

@hanzz Added support for s2i for our internal RHSCL httpd24 image, I don't think the sources for those changes are pushed to github anywhere yet.

@ebalsumgo see https://github.com/openshift/s2i-php/issues/96 -> is there anything else you want to tune? Also note that you can now drop any file into /opt/app-root/etc/conf.d and override all httpd settings.

Yeah a few more. As of right now if I am reading the PR correctly there is only support for mpm_prefork (https://httpd.apache.org/docs/2.4/mod/prefork.html) which has a few more options. Then there is mpm_worker (https://httpd.apache.org/docs/2.4/mod/worker.html) as far as I can tell you do not have a way to switch the mpm modules at the moment, but using worker over prefork for non php based images introduces quote a performance bump so it is useful to have the ability to change the mpm module.
Though I guess being able to drop your own httpd.conf file will overwrite the above concerns :)

@ebalsumgo you will be able to drop custom httpd config file into /opt/app-root/etc/conf.d and we can consider mpm_worker for non-php images (just perl AFAIK).

@mfojtik i have not looked at how the tomcat images are setup but if they are apache proxying, mpm_worker works magic with those :). Cool though, being able to tune it in any capacity works with me!

What is the likely hood of these being included in 3.2 or at least 3.2.1?
-B
-- Please excuse spelling and grammar errors, this has been sent from my iPhone/iPad

On May 5, 2016, at 06:47, Michal Fojtik<EMAIL_ADDRESS>wrote:
Closed #69 via openshift/s2i-php#96.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

@ebalsumgo 3.2 is unlikely, 3.2.1 is possible, but you can also always use the centos images which are updated immediately, in the meantime.


audio_common: 0.3.3-0 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository audio_common to 0.3.3-0:

upstream repository: https://github.com/ros-drivers/audio_common.git
release repository: https://github.com/ros-gbp/audio_common-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.6.4
previous version for package: 0.3.2-0

audio_capture

No changes

audio_common

No changes

audio_common_msgs

No changes

audio_play

No changes

sound_play
* Fix gstreamer errors. Fixes #108 <https://github.com/ros-drivers/audio_common/issues/108>
* Contributors: trainman419

Holding for melodic rebuild..


Support --no-build option in serve target

Support --no-build option in serve target. If we know code has already been built, there is no point in trying to build it again before serving. But currently there is no way to disable that.
serve target should support noBuild option to pass --no-build flag to dotnet run, just as test target does.
dotnet run --help
Description:
  .NET Run Command

Usage:
  dotnet run [<applicationArguments>...] [options]

Arguments:
  <applicationArguments>  Arguments passed to the application that is being run. []

Options:
  -c, --configuration <CONFIGURATION>     The configuration to run for. The default for most projects is 'Debug'.
  -f, --framework <FRAMEWORK>             The target framework to run for. The target framework must also be specified in the project file.
  -r, --runtime <RUNTIME_IDENTIFIER>      The target runtime to run for.
  --project <project>                     The path to the project file to run (defaults to the current directory if there is only one project).
  -p, --property <property>               Properties to be passed to MSBuild.
  -lp, --launch-profile <launch-profile>  The name of the launch profile (if any) to use when launching the application.
  --no-launch-profile                     Do not attempt to use launchSettings.json to configure the application.
  --no-build                              Do not build the project before running. Implies --no-restore.
  --interactive                           Allows the command to stop and wait for user input or action (for example to complete authentication).
  --no-restore                            Do not restore the project before building.
  --sc, --self-contained                  Publish the .NET runtime with your application so the runtime doesn't need to be installed on the target machine.
                                          The default is 'false.' However, when targeting .NET 7 or lower, the default is 'true' if a runtime identifier is specified.
  --no-self-contained                     Publish your application as a framework dependent application. A compatible .NET runtime must be installed on the target machine to run your application.
  -v, --verbosity <LEVEL>                 Set the MSBuild verbosity level. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic].
  -a, --arch <ARCH>                       The target architecture.
  --os <OS>                               The target operating system.
  --disable-build-servers                 Force the command to ignore any persistent build servers.
  -?, -h, --help                          Show command line help.

Note, is is actually possible if you define serve target like this:
        "serve": {
          "targetName": "serve",
          "dependsOn": [],
          "cache": false,
          "options": {
            "watch": false,
            "configuration": "Debug",
            "no-build": true
          },
          "configurations": {
            "production": {
              "configuration": "Release"
            }
          }
        }

Note addition of "no-build": true option. This actually passes through to the dotnet run command. But this is something of an undocumented hack as there is no no-build option documented, and if it were to be supported properly, the option should be noBuild.


Generate participant-specific HTML pages during pipeline run

@carolFrohlich On the 1.0.9_development branch, QAP now produces the QA.json file for each participant, containing the timecourses of each applicable functional temporal output. ( #92 ) Still subject to change.
You can pull from those for the graphs.


SAK-33259: LDAP student/employee numbers not appearing

https://jira.sakaiproject.org/browse/SAK-33259
There is a bug in the code when mapping the 'studentNumber' LDAP attribute into the user object's properties. The method SimpleLdapCandidateAttributeMapper.addStudentNumberProperty() adds the property as a list:
userEditProperties.addPropertyToList(USER_PROP_STUDENT_NUMBER, studentNumber);

Later on, when the student number is requested, it tries to access this user property in CandidateDetailProviderImpl.getNumericId():
String studentNumber = user.getProperties().getProperty(USER_PROP_STUDENT_NUMBER);

And the implementation of getProperty() will return null because the property is a list rather than a String object:
	public String getProperty(String name)
	{
		Object value = m_props.get(name);
		if (value instanceof String) return (String) value;

		return null;
	}

The result of this is that the list ends up containing two values, one is the encrypted value of the user's actual student/employee number; the other is the encrypted value of empty string. The duplication is a result of a StringUtils.isEmpty() call returning true because you're passing it a list rather than a String, so it then adds the value of empty string into the list:
			if (StringUtils.isEmpty(userEditProperties.getProperty(USER_PROP_STUDENT_NUMBER))) {
				addStudentNumberProperty(EMPTY, userEditProperties);
			}

The solution is to simply change the SimpleLdapCandidateAttributeMapper.addStudentNumberProperty() method to add the property as a String, rather than as a list:
userEditProperties.addProperty(USER_PROP_STUDENT_NUMBER, studentNumber);

This issue came up during our latest round of QA testing


entrypoint-script for web-client may not work as expected

The web-client is using an entrypoint-script to replace env-vars on the (already built) image. I used the same script as a template in another project and found that the for loop did not work as expected and no files were actually passed through.
If the problem also occurs in the web client script, I would suggest the following code:
cd js
FILES=`find . -type f -name '*.js*'`

for file in $FILES

@jbuese what is the current status here?

I have not checked it yet, as no problems that could be related to it have occurred. But I can check if the echo's work for the js-files in the container so we can close this issue.

Bad Bot!

I checked the web client container and everything works as expected. Changes I made in the .env.default were successfully applied to the js files of the created images, so this issue (and the branch/pr created by the bot) can be closed.
Setting ENV's...
Processing ./js/app.ef1cc9e2.js
VUE_APP_API_GATEWAY_URL: http://localhost:8000
VUE_APP_KEYCLOAK_URL: http://<IP_ADDRESS>:7000/auth
VUE_APP_KEYCLOAK_REALM: diva-kc-realm
VUE_APP_KEYCLOAK_CLIENT_ID: diva-kc-client
VUE_APP_REGISTER_AVAILABLE: true
VUE_APP_DISABLE_PATCH:
Hashing ./js/app.ef1cc9e2.js
add1e7e3
Rename ./js/app.ef1cc9e2.js to ./js/app.add1e7e3.js
Update ./index.html
Starting Nginx


Incorrect explanation in Overview

The document states, "Where classical computers use familiar silicon-based chips, quantum computers use quantum materials such as atoms, ions, photons, or electrons.."
(https://github.com/MicrosoftDocs/quantum-docs-pr/blob/live/articles/overview/understanding-quantum-computing.md)
"Classical" is probably not the right word; you probably mean "classic."
But more importantly, "classic" computers do indeed use atoms (it's what everything is constructed from) and electrons (which are what comprises the electricity that processors use). "Classic" (e.g., binary) processors have also been created which use photons (light). The type of particle used is not what differentiates quantum computing. The comparison/differentiation here doesn't really work.
It might more more accurate to say that "Where classic computer processors use a system of binary math, where each bit of information is either a 1 or a 0, quantum computers recognize a different and non-binary set of states." That's really the differentiation — how they compute, more so than the materials they use to compute.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 7b6abb91-3dfa-b4cb-9bea-f656bf629f4c
Version Independent ID: 8f4efb38-0429-7be1-9d25-8e5faed24195
Content: Understanding quantum computing - Microsoft Quantum
Content Source: articles/overview/understanding-quantum-computing.md
Product: quantum
GitHub Login: @Bradben
Microsoft Alias: bradben

@concentrateddon This seems to me like a great addition maybe we could have something like this-
Where classic computers use familiar silicon-based chips, quantum computers use qubits that represent materials such as atoms, ions, photons, or electrons and use their quantum properties.

Thank you @concentrateddon and @Rishit-dagli for your contributions!
Regarding the question "classic" vs "classical", the standard term is "classical", meaning that "classical computers" use a classical computation model that has been used for a long time, and not that are typical computers. Similarly, we say "classical physics" and not "classic physics", which is also in part why we say "classical computers", since they are based on the laws of classical physics. As @concentrateddon points, it's true that some components of modern classical computers exploit quantum phenomena to implement logic gates, e.g, the transistor. However, those gates form a model of computation that can be also implemented with classical physics only (e.g. of logic gates with marbles and wooden tracks: https://www.youtube.com/watch?v=yhGwtfOyN2c&t=20s) and are thus classical computers despite the fact they use quantum mechanics to work.
But it's true that the current statement is not precise enough. What about this (rephrasing what @Rishit-dagli said):

Where classical computers use familiar silicon-based chips, quantum computers use quantum systems such as atoms, ions, photons, or electrons. They use their quantum properties to represent bits that can be prepared in different quantum superpositions of 1 and 0.

Thank you @concentrateddon and @Rishit-dagli for your contributions!
Regarding the question "classic" vs "classical", the standard term is "classical", meaning that "classical computers" use a classical computation model that has been used for a long time, and not that are typical computers. Similarly, we say "classical physics" and not "classic physics", which is also in part why we say "classical computers", since they are based on the laws of classical physics. As @concentrateddon points, it's true that some components of modern classical computers exploit quantum phenomena to implement logic gates, e.g, the transistor. However, those gates form a model of computation that can be also implemented with classical physics only (e.g. of logic gates with marbles and wooden tracks: https://www.youtube.com/watch?v=yhGwtfOyN2c&t=20s) and are thus classical computers despite the fact they use quantum mechanics to work.
But it's true that the current statement is not precise enough. What about this (rephrasing what @Rishit-dagli said):

Where classical computers use familiar silicon-based chips, quantum computers use quantum systems such as atoms, ions, photons, or electrons. They use their quantum properties to represent bits that can be prepared in different quantum superpositions of 1 and 0.

This seems to me like a better way of putting the statement.

Closing since it was solved.


[GraphQL] Extract header through axum's extractor rather than manually

Description
This PR uses axum's TypedHeader to extract the ShowUsage header from the request.
Test Plan
Existing tests.

If your changes are not user-facing and do not break anything, you can skip the following section. Otherwise, please briefly describe what has changed under the Release Notes section.
Type of Change (Check all that apply)

[ ] protocol change
[ ] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes

Thanks @stefan-mysten! Glad this is working now, did you figure out what was wrong with the TypedHeader approach before?

Not sure I follow your question (wrong in what sense?), but here are my thoughts. I don't think there was anything wrong, we just did not use the TypedHeader extract pattern and instead got all headers and checked if ShowUsage is present. As you see, I have not changed any crate's version, everything was there.

The context is that originally we did use TypedHeader, and at some point, Ade reverted back to getting all the headers because it was seemingly not working, correlated with an upgrade to either async_graphql or axum. (So it may be worth confirming that the header is working as expected now as well, although I think we do have a test for this among the transactional tests).

Manual test worked. CI is failing because somehow in the test_simple_client_simulator_cluster test, the show usage header is added automatically?!?!?
I'll look into it, check for tests/add more if needed, to make sure everything works as expected.

the show usage header is added automatically?!?!?

IIRC this was the problem -- the header was being detected even when it wasn't actually there!

the show usage header is added automatically?!?!?

IIRC this was the problem -- the header was being detected even when it wasn't actually there!

Excellent, thanks for remembering this. I will look into it!

The context is that originally we did use TypedHeader, and at some point, Ade reverted back to getting all the headers because it was seemingly not working, correlated with an upgrade to either async_graphql or axum. (So it may be worth confirming that the header is working as expected now as well, although I think we do have a test for this among the transactional tests).

I looked more into this. In one GitHub issue, I found that TypedHeader is not the right choice here. From what I understand, it should only be used when working with standardized headers (see https://docs.rs/headers/latest/headers/index.html), and not a custom one.
We have two options: keep it as it was or implement FromRequestParts trait.

The context is that originally we did use TypedHeader, and at some point, Ade reverted back to getting all the headers because it was seemingly not working, correlated with an upgrade to either async_graphql or axum. (So it may be worth confirming that the header is working as expected now as well, although I think we do have a test for this among the transactional tests).

I looked more into this. In one GitHub issue, I found that TypedHeader is not the right choice here. From what I understand, it should only be used when working with standardized headers (see https://docs.rs/headers/latest/headers/index.html), and not a custom one.
We have two options: keep it as it was or implement FromRequestParts trait.

Looked more into this. The way headers are extracted is that they are extracted into the HeaderValue type. As we're passing a header name only, without a value, it does not get extracted in a HeaderValue type, and it is dropped. The same would happen when using FromRequestParts, so going forward (also thinking that we'll have to bump axum version at some point), we have two options: 1) keep as is (+1 from me), or 2) make x-sui-rpc-show-usage to take a bool value.


cant get file

When  i install everything and run npm run server page is coming blank. no error is coming in console.
Thanks & Regards
G M Chaturvedi
gmchaturvedi@gmail.com(purchased email)

I exactly have the same problem!!!!!!


Don't ship filenames with [] characters, please

Some characters are very difficult for packaging tools. You're shipping 2 files with [] characters and we have to manually rename them for including them in clearlinux. This will affect all RPM based distributions as far as I can see. I'd appreciate if these files can omit those characters so we don't need special handling.

sounds reasonable, can you send us a PR with the renames please? And ideally a test script so we don't forget about this in the future :)

We can totally do that, but that could also be patched in the packaging tools themselves.

this will affect all RPM based distribution

just a note on this:
$ rpm -ql libratbag-ratbagd | grep g9x
/usr/share/libratbag/logitech-g9x-[Call-of-Duty-MW3-Edition].device
/usr/share/libratbag/logitech-g9x-[Original].device

Fedora is happy with those file names, for reasons I'm too lazy to dig into :)


APIv2: Support for starting an exec instance

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind feature
Description
This is tracker for implementing of execStart. It is the last piece that is needed for cockpit-podman being able to switch to APIv2.
As I am blocked on this, I want to have something that I can point to and also be notified once it is implemented (as opposed to me pulling upstream once a week and checking the source).

Working on this one now. Exec w/ attach support is presently in progress, detached exec is coming after that.
If you're willing to help test once I have something ready, it would be greatly appreciated

If you're willing to help test once I have something ready, it would be greatly appreciated

absolutely, just ping me in the PR when it is testable and I'll try it out.

@mheon Isn't this ready to be played with now?

Nope. Going to pick it up again on Monday - it's very close, but there's a conmon bug in the way

This is finished now.


tea recipe

More context here. Here you can refer to a previous discussion.

Where is the tea bag?

LGTM


Retry-topics auto creation also creates the main topic

In what version(s) of Spring for Apache Kafka are you seeing this issue?
2.9.1
Actually I already saw this behaviour since 2.8, not sure the oldest version that has this behaviour.
Describe the bug
When the autoCreateTopics feature of the Non-blocking retries main feature is activated, the framework also creates the main topic with the configurations (partitions and replicas) of the retry topics, even if the context has as NewTopic bean for the main topic with different configurations.
To Reproduce
Run the application below:
@SpringBootApplication
@EnableScheduling
@EnableKafkaRetryTopic
@Slf4j
public class SpringKafkaStudies {

	public static void main(String[] args) {
		SpringApplication.run(SpringKafkaStudies.class, args);
	}

	@Bean
	public NewTopic mainTopic() {
		return TopicBuilder
				.name("mytopic")
				.partitions(10)
				.replicas(2)
				.build();
	}

	@RetryableTopic(attempts = "3",
			backoff = @Backoff(delayExpression = "5000"),
			fixedDelayTopicStrategy = FixedDelayStrategy.SINGLE_TOPIC,
			autoCreateTopics = "true",
			numPartitions = "5",
			replicationFactor = "1")
	@KafkaListener(topics = "mytopic", concurrency = "3")
	public void nonBlockingRetriesListen(ConsumerRecord<String, String> record) {
		log.info("Received record: {}", record.value());
	}

}

Expected behavior
The main topic "mytopic" to be created with 10 partitions and 2 replicas, and the retry and DLT topic to be created with 5 partitions and 1 replicas.
But actually, the main topic "mytopic" is also created with 5 partitions and 1 replica.
Sample
See the code above.

Indeed, as the default behaviour of spring-kafka, when sending the record to the retry or DLT topics, is to assume that the partition in those topics should be the same as the original topic, this means that the retry topics should have the same amount of partitions (although I think in this case that the default behaviour of DeadLetterPublishingRecovererFactory.resolveTopicPartition() should be to not specify/resolve the partition, leaving this to the producer).
However the claim to have a distinct configuration of replication factor should be enough to expect that the framework might have at least some configuration to indicate that, the topics auto-creation feature of the retry mechanism should be done solely for the retry and DLT topics.

This is a bit of a hack, but it will serve as a work around until we can get this implemented:
@SpringBootApplication
public class Kgh2432Application {

	public static void main(String[] args) {
		SpringApplication.run(Kgh2432Application.class, args);
	}

	@KafkaListener(id = "kgh2432", topics = "kgh2432")
	@RetryableTopic
	void listen(String in) {
		System.out.println(in);
	}

	@Bean
	NewTopic topic() {
		return TopicBuilder.name("kgh2432").partitions(10).replicas(1).build();
	}

	@Bean
	ApplicationRunner runner(KafkaAdmin admin) {
		return args -> {
			Map<String, TopicDescription> topics = admin.describeTopics("kgh2432", "kgh2432-dlt");
			Assert.state(topics.get("kgh2432").partitions().size() == 10, "Wrong main partitions");
			Assert.state(topics.get("kgh2432-dlt").partitions().size() == 1, "Wrong DLT partitions");
		};
	}

}

@Component
class NewTopicWeeder implements SmartInitializingSingleton, Ordered {

	private final DefaultListableBeanFactory beanFactory;

	NewTopicWeeder (DefaultListableBeanFactory beanFactory) {
		this.beanFactory = beanFactory;
	}

	@Override
	public int getOrder() {
		return 0;
	}

	@Override
	public void afterSingletonsInstantiated() {
		this.beanFactory.destroySingleton("kgh2432-topicRegistrationBean");
	}

}

@jgslima  https://github.com/spring-projects/spring-kafka/issues/2438

@jgslima #2438

Wow. Thank you very much for the attention and dedication.
I think 10 times before opening a spring issue, glad that it made sense.


JSX/ES6 Wrong coloring of variables in JavaScript block between HTML-Elements

I think this.test should be get the same coloring as above. In the next snippet there is the same behavior and also the local variable e has missing coloring.

This is duplicate of #280  and is issue with the theme and is tracked by Microsoft/vscode#13167


netbsd add auxiliary vector query ids.

r? @Amanieu
(rust-highfive has picked a reviewer for you, use r? to override)

@bors r+

:pushpin: Commit 1f06fa750f1e0447b001c3ef8202a302e0236699 has been approved by Amanieu

:hourglass: Testing commit 1f06fa750f1e0447b001c3ef8202a302e0236699 with merge 2e8a5e6fc9ae3eacabf558e678928f2ca963a110...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: Amanieu
Pushing 2e8a5e6fc9ae3eacabf558e678928f2ca963a110 to master...


TinyMCE disappears during resize in a IconTabFilter via a TextArea

OpenUI5 version: 1.52.32
Browser/version (+device/version):  Chrome 75.0.3770.100 (Official Build) (64-bit)
Any other tested browsers/devices(OK/FAIL):
FAIL
URL (minimal example if possible): http://plnkr.co/edit/upwUq2jid8ARQgfjCA0I?p=preview
User/password (if required and possible - do not post any confidential information here):
N/A
Steps to reproduce the problem:

Load tinyMCE
Attached to TextArea via selector per doc's  e.g. on init in index.html selector: "textarea",
Resize the browser window and the tinyMCE control will disappear.

What is the expected result?
The tinyMCE control does not after broswer resize.
What happens instead?
tinyMCE control disappears and the textarea is left on the screen.
Any other information? (attach screenshot if possible)

Notes: It appears the tinyMCE DOM elements are removed from the page and are never re-added. I was unable to find any information that would warrant some special code to maintain a control on the screen.

Hi kfowlks,
the problem is that you are using tinyMCE the way it cannot be maintainable by OpenUI5.
What you are observing as a behaviour is hitting breakpoints of different screensizes, which triggers rerendering of the view (in order to apply settings for range of devices) which doesn`t contain the tinyMCE, so it dissapears.
For proper maintenance you should use  sap.ui.richtexteditor.RichTextEditor control and construct it as a part of the view.
I hope you find that information helpful!
Best regards,
Petya Bogdanova
(UI5 Dispatcher)

Petya,
We were not using the standard delivered RichTextEditor control due to the fact that we are wanting to use some of the premium plugins that TinyMCE provides.  We use the AL11 accessibility plugin as well as the spell checker.  The control included in UI5 does not provide them.  PowerPaste is another premium plugin that we use, but that WAS recently added by SAP.
Given if the icontabbar is removed, you do not see the disappearing behavior, is there a way to embed the TinyMCE editor OR, is there a way to gain access to the premium plugins using the standard control but providing our API Key so the licensing is handled appropriately?


Instant response in Socket.js should be an option

I have a bot that performs a lot of computation behind the scenes so there is a delay because of all the computation.  Socket.js puts an additional delay to mimic typing, in my case this makes many of the operations noticeably slow.  Turning off the response delay should be an option.

related: https://github.com/howdyai/botkit-starter-web/issues/13#issuecomment-334346378

Another possibly solution is to put in a "startTyping" call which starts the bot typing and then you call send when your response is finally constructed.  This would tell the user that something is actually happening because you could see the bubble starting.  Anyway, more complicated ...  So simply turning off the delay should still be an option.

This is done!
I have changed the behavior of this feature.
By default, there will be no delay.
You can turn on delay in a variety of ways:

add replyWithTyping: true to your controller config
use bot.replyWithTyping to send your reply instead of bot.reply
set message.typingDelay to delay in ms


Support multi-language

Hi @waseefakhtar , interesting project, does it support the possibility of having multiple languages?

Yes of course! The idea was to find the common languages among users and localize accordingly but everyone is free to contribute and translate into their own languages. :)


JP SE-293 Transitive Dependency issues with Ensime/Scalariform

This PR fixes, on one hand, the conflicting cross-version suffixes in org.scalariform (2.10, 2.11). On the other hand, try to clarify what could the user do in case of runtime exceptions.
Fixes: https://github.com/scala-exercises/scala-exercises/issues/293
Please, @raulraja @dialelo Could you review? Thanks.

Looks good to me. LGTM


Form

A way to compose multiple inputs into an object, rather than requiring separate cells?

Folding into #73.


Further work on modelzoo -- WIP

Pull Request Test Coverage Report for Build 296

60 of 101 (59.41%)  changed or added relevant lines in 9 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-1.4%) to 72.258%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lucid/recipes/caricature.py
0
41
0.0%

Totals

Change from base Build 285:
-1.4%

Covered Lines:
1357

Relevant Lines:
1878

💛  - Coveralls


add requeue and QOS slurm options

Not all clusters support QOS and requeue options so we make them optional.
launch_pickled_pipeline might not work all the time (e.g. if you use a local fork of datatrove)

Hi! Thanks for the changes, they look great!
Was just unsure as to why having a local fork would make the launch pipeline command not work. On my system installing from local source (pip install . -e) adds the command to the environment without issue, does this not happen for you?

Thank you for the PR, I made a small change and fixed the style. Merged!


libstdc++.so incompatibility in languages.so

I have a server I sometimes use the VSCode "Remote SSH" extension with to connect to and when I do Sourcery is not happy:
[Info  - 4:09:34 PM] Connection to server got closed. Server will restart.
Traceback (most recent call last):
  File "/home/alan/.vscode-server/extensions/sourcery.sourcery-0.12.1/sourcery_binaries/install/linux/__main__.py", line 8, in <module>
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "/home/alan/.vscode-server/extensions/sourcery.sourcery-0.12.1/sourcery_binaries/install/linux/binary/command_line_interface.py", line 25, in <module binary.command_line_interface>
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "/home/alan/.vscode-server/extensions/sourcery.sourcery-0.12.1/sourcery_binaries/install/linux/sourcery/code/file_ast.py", line 11, in <module sourcery.code.file_ast>
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "/home/alan/.vscode-server/extensions/sourcery.sourcery-0.12.1/sourcery_binaries/install/linux/sourcery/code/source_parser.py", line 41, in <module sourcery.code.source_parser>
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "/home/alan/.vscode-server/extensions/sourcery.sourcery-0.12.1/sourcery_binaries/install/linux/sourcery/code/tree_sitter/parser.py", line 90, in <module sourcery.code.tree_sitter.parser>
  File "/home/alan/.vscode-server/extensions/sourcery.sourcery-0.12.1/sourcery_binaries/install/linux/sourcery/code/tree_sitter/parser.py", line 56, in parse_source_to_ast
  File "/home/alan/.vscode-server/extensions/sourcery.sourcery-0.12.1/sourcery_binaries/install/linux/sourcery/code/tree_sitter/parser.py", line 67, in parse_source
  File "/home/alan/.vscode-server/extensions/sourcery.sourcery-0.12.1/sourcery_binaries/install/linux/sourcery/code/tree_sitter/parser.py", line 75, in make_parser
  File "/home/alan/.vscode-server/extensions/sourcery.sourcery-0.12.1/sourcery_binaries/install/linux/sourcery/code/tree_sitter/parser.py", line 84, in get_language
  File "/home/alan/.vscode-server/extensions/sourcery.sourcery-0.12.1/sourcery_binaries/install/linux/tree_sitter/__init__.py", line 82, in __init__
  File "/home/alan/.vscode-server/extensions/sourcery.sourcery-0.12.1/sourcery_binaries/install/linux/ctypes/__init__.py", line 452, in LoadLibrary
  File "/home/alan/.vscode-server/extensions/sourcery.sourcery-0.12.1/sourcery_binaries/install/linux/ctypes/__init__.py", line 374, in __init__
OSError: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /home/alan/.vscode-server/extensions/sourcery.sourcery-0.12.1/sourcery_binaries/install/linux/languages.so)

If it helps, the linux box runs CentOS7 and has libstdc++-4.8.5
> cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

> rpm -qa | grep libstd
libstdc++-4.8.5-44.el7.x86_64
libstdc++-devel-4.8.5-44.el7.x86_64

Hi @darkvertex ,
Thanks a lot for reporting this issue and for the detailed information. :+1:
This is definitely a :bug: , we'll look into it.
How long have you experienced this problem?
Only for the version 0.12.1 (in the last 2 weeks) or longer?

Hi @darkvertex ,
Thanks again for reporting this.
Unfortunately, our new parser relies on libstdc++ 6.
So far, we have 2 troubleshooting ideas:

Can you perhaps update the libstd version on your server?

Can you eventually upgrade glibc?
We've seen a few instances of similar errors on various Linux versions, but all of them are using glibc 2.17

Hello,
Thanks for the useful and creative extensions.
I also had this error: OSError: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found
so how to solve it? many thanks

This prevents using the plugin with Centos7. I haven't found a workaround.

Hello everyone, has this bug been fixed? Actually, I still had the bug

i believe this is about gcc. maybe an update . i'll try that and keep you posted

I've found a workaround
$ sudo find / -name 'libstdc++.so.6'
$ sudo unlink /usr/lib64/libstdc++.so.6
$ sudo cp /usr/local/lib64/libstdc++.so.6 /usr/lib64

If you are using vscode remote plugin , just quit and re-connect

i believe this is about gcc. maybe an update . i'll try that and keep you posted

Turns out it was a link problem

Still have this bug on remote ssh.

Seems that sourcery is not compatible with centos 7 , because of the libstdc++.so version.
Centos 7 has version 2.18 maximum , and we can't install another version.
I recommend to state this explicitly in the requirement.


Document Request Get Endpoint

Issue #: /bcgov/entity#12414
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the PPR license (Apache 2.0).

Oh it would be awesome if you could add a postman test with an saved example of an output for the new endpoint (see the other ones to see what I mean)

Oh it would be awesome if you could add a postman test with a saved example of an output for the new endpoint (see the other ones to see what I mean)

Yes, Planning to add it with the post endpoint PR


Could not have a good start

I want to install cfspopcon on Mac, but it seems to have failed to start well with the example. Do you have a similar problem?

@GuanqiDong92 Could you post some more details about how one can reproduce this issue?
E.g. how was your python environment setup, and what steps did you take to install cfspopcon

@GuanqiDong92 it looks like you haven't run radas yet. https://cfspopcon.readthedocs.io/en/latest/doc_sources/Usage.html

@GuanqiDong92 Could you post some more details about how one can reproduce this issue? E.g. how was your python environment setup, and what steps did you take to install cfspopcon

hi @hassec , the python version and the environment are as follows

As for the installation of cfspopcon, I just use "pip install cfspopcon" following the instruction in https://cfspopcon.readthedocs.io/en/latest/doc_sources/Usage.html as @tbody-cfs commented.

@GuanqiDong92
Can you try running the radas command again with the --verbose flag:
radas --verbose -d ./radas_dir

If that crashes again and drops you into the debugger, could you type bt, hit enter and post the resulting backtrace here?

@GuanqiDong92
Can you try running the radas command again with the --verbose flag:
radas --verbose -d ./radas_dir

If that crashes again and drops you into the debugger (ipdb), could you type bt, hit enter and post the resulting backtrace here?

@hassec , here is the result

Hi @GuanqiDong92. Could you try rm -rf ./radas_dir and then rerun the radas --verbose -d ./radas_dir command? This should take about 10-15 mins — it's important to not kill the process while this runs.
It looks like you're missing some of the files needed for the ADAS reader.

Hi @tbody-cfs , it does not work for me.....

Thanks @GuanqiDong92. I can reproduce the problem when using python 3.9.6 like you.
The reason for the error is that radas is using:
shutil.unpack_archive(output_filename, output_folder, filter="data")

But passing filter='data' is a security patch that only is available to python 3.9.17 and later.
So the easiest workaround would probably be to use a newer python version. We'll fix this on radas, but likely just by requiring a newer python version as passing filter='data' has security benefits.