chore: Add request coalescer example

PR Desciption:

Add request coalescing example

Runs concurrent requests(~200) using the basic load-generator
Runs conscurrent requests(~200) using the request-coleascer-load-generator
Prints the histogram and some stats for both the cases as they run for 60 sec.

Refactor overlapping pieces of code to utils

Issue:
https://github.com/momentohq/dev-eco-issue-tracker/issues/204
Run the example

npm install
MOMENTO_AUTH_TOKEN=<YOUR AUTH TOKEN> npm run request-coalescing

Stats:

Basic load-gen stats:

Request Coalescer load-gen stats:

Stats Inference:
Observe how the latencies have significantly reduced when using request-coalescer-load-gen over basic load-gen.

Just a quick observation. Based on the screenshots you shared above, the latencies for the Request Coalescer load-gen haven't really improved?

a few quick observations from looking at the stats you printed out:

Based on the request counts, I can't tell if you reset the histograms between the two runs?  I would expect roughly an equal number of requests for the before/after stats, but it appears that it might be cumulative?
the TPS number is lower for the second set of stats than for the first.  that seems surprising to me, I would have expected it to be higher in the second one.  we should dig into that.
It might be worth adding a stat for the number of requests that were actually coalesced so that we can see how often it's happening.
you are hitting RESOURCE_EXHAUSTED throttling limits.  we should increase your throttling limits so you don't hit those.

I can play with the code tomorrow morning, or we can pair up to dig into it further, whatever you like!

a few quick observations from looking at the stats you printed out:

Based on the request counts, I can't tell if you reset the histograms between the two runs?  I would expect roughly an equal number of requests for the before/after stats, but it appears that it might be cumulative?
the TPS number is lower for the second set of stats than for the first.  that seems surprising to me, I would have expected it to be higher in the second one.  we should dig into that.
It might be worth adding a stat for the number of requests that were actually coalesced so that we can see how often it's happening.
you are hitting RESOURCE_EXHAUSTED throttling limits.  we should increase your throttling limits so you don't hit those.

I can play with the code tomorrow morning, or we can pair up to dig into it further, whatever you like!

I see. I understood the metrics calculations wrong, will coordinate with you tomorrow morning to correct this.

What a difference in the latencies especially in the set operations!
I like how we are displaying the number of coalesced request.
Great work, @rishtigupta 🍾


Posts don't load properly if channel part of the URL is missing

Three links to a same post.
These don't load post here:
https://odysee.com/channelpages:e
https://odysee.com/channelpages:e4945ba648c27dc5fc047f7fcd48162e6322258f
This loads it:
https://odysee.com/@Odysee:8/channelpages:e

The links that don't load are also used in the notifications, Odysee announcement posts are affected too if people have notifications enabled for it.


Fix external deps

Some packages have dependencies outside of a registry -- i.e., http or git deps. We should fix those during cloning so all mirrored packages are entirely self-contained in the destination registry.

fixed


Expose chunked_threshold on Response. Fix #149

@tomaka @frewsxcv I apologise for pinging you, I know you're probably both very busy.
Does anyone have any opinion on this issue? Does it go against the design goals? Can it be merged?

Hi @tomaka did my update address your concerns?

@tomaka Sorry to chase. Is there anything needed to land this?


Move batching from solr+kafka to just kafka.

Make consumer multi-threaded.
Fix flakey tests.
Doc rewrite.
Additional mock unit tests.
Multiple topics per consumer support.

There is still one test issue that seems to perhaps be environment issue related, but I'm going to put this in for now and will continue to look into that.


Add value to output manager logs to json format

As stated above I miss a flag to set logs output format to json which was implemented in longhorn/longhorn-manager#605.

@innobead Rebased to current master


🐞[Bug]: About us page is not responsive

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
Hey @MastanSayyad and @Priyaaa1 ,
About us page is not responsive
I want to make it responsive for all screen sizes
Please assign it to me.
Expected behavior
"About Us" page should offer a smooth and user-friendly experience across all screen sizes
Add ScreenShots

What browsers are you seeing the problem on?
Firefox
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@Tejashri-Taral make it responsive except 768px


Update opendtu to 0.1.7

Please update my adapter ioBroker.opendtu to version 0.1.7.
Closed https://github.com/o0shojo0o/ioBroker.opendtu/issues/81
This pull request was created by https://www.iobroker.dev c0726ff.

Release is older but added to latest at 26.7.2023.

Yes, but does it make a difference?
Because the current version is already tested by many users.


Add support Fan

Add support for fan control. High/Med/Low/Off

Great suggestion! I've got some GE fan switches in my house so I'll be able to test this one out, as well!

I am going to provide limited support for this in v1.0 - you will be able to toggle fans on and off (where it will remember the last speed setting it was on). I will add a separate enhancement item to support selecting fan speeds (low/med/high) which will come in a future release.


Update environment.yml

Add sympy to the environment
@henryk-modzelewski : could you please take a look when you have a moment? Also, if there are other files I should update for future updates, please let me know what the process is and I am happy to do that next time. Thanks for your help!

@lheagy That will do. I still need to retag on quay, so it is not fully automatic. That is done as well, so you should be able to pull new image into container now.


Turkish Support

Hi, Dear Rayshift team.
First of all, thank you for the translations, but I was wondering, is it possible to make a Turkish translation patch for FGO? If it is possible, I would like to see it done, especially since there are a lot of Turkish players playing FGO. So you can be sure that the translation will be useful for us Turkish players and we will support you when you do it!
By the way, Deepl has Turkish support. But I don't know what you are really doing the translation with, but I wanted to tell you anyway.
Have a good day!

Hi Ru-ta
Could you translate the following sentence like you would in-game:
"Trees uprooted, rivers dried, buildings blown over without a trace. Her yelling voice fades into the gales without reaching anyone's ears. She thought that at this moment, she was the only one there to put a stop to this unprecedented disaster."
I want to see the characterset your language uses, which will determine if the game can support your language.

When I translate the sentence you gave, this is the characterset of Turkish:
Ağaçlar kökünden söküldü, nehirler kurudu, binalar iz bırakmadan havaya uçtu. Onun bağıran sesi kimsenin kulağına ulaşmadan fırtınanın içinde kayboldu. Şu anda bu eşi benzeri görülmemiş felaketi durdurabilecek tek kişinin kendisi olduğunu düşünüyordu.


Move theme name drop down into defaults sections

Themes can now be configured per entry. The theme name stored in
Theming only acts as a default.

Coverage remained the same at 99.172% when pulling 52ea7b495c2cb70dee4f238c27b8d7d5a4b02e92 on tf:theming-defaults into f48392aae0a78a6d89bc3bee8953cd3d765bcf27 on codevise:master.


Fix css to make video responsive - LLAPEX - 646

Add here your WMS ID
General requirements

Information in the workshop is adequate and updated
Code is correct and working
Links are correct
Make sure you enter the help email link in your manifest.json
Please make sure WMS URLs are updated as needed after your PR is approved

Checklist - Refer to the QA document for the complete list
Please confirm that the following is completed before submitting your PR

[ ] All filenames are lower case (including folders, images, files, etc.)
[ ] Filenames are descriptive
[ ] Your workshop folder structure should be similar to the one used in the sample workshop (https://github.com/oracle-livelabs/common/tree/main/sample-livelabs-templates/sample-workshop)
[ ] Are you using multiple versions (desktop/, sandbox/, tenancy/)? Make sure that each of them contains a manifest.json and an index.html
[ ] Image references in markdown contain an alternate text

Hi Anoosha! I cannot merge your PR. Can you look into this issue below?

Also, for the step by step guide, are you updating the new one or the old one?


gone views after scroll

Hi,
take a look at this gif

compileSdkVersion 27
buildToolsVersion "27.0.3"
implementation 'com.android.support:recyclerview-v7:27.1.0'
implementation 'com.arasthel:spannedgridlayoutmanager:2.0.1'

it fixed by adding ItemDecoration to the RecyclerView :|


Separate core NAM code from other plugin dsp code

This PR separates the core NAM code from other plugin dsp code and removes IPlug dependencies for NAM code.
I tried to keep this as simple and targeted as possible. It looks like bigger changes than it is because of the separation of dsp.h/dsp.cpp files into an IPlug dsp base class for noise gate, IR and EQ and the core dsp code for the network models.
I kept the input to the model processing as "double" for now - since that is what the IPlug plugin is using. I also haven't made any changes to the redundant gain handling - I'll save that for a separate PR.
With the changes in this PR, it is now easy to use the core NAM code directly in a context other than the IPlug plugin.

This will also require some changes to the plugin project structures to link to the new source code locations.
Are the various VS project files generated somehow, or is that done manually on a per-project basis?

@sdatkinson - I know you've got a lot on your plate, but maybe now is a good time to think about merging this, since you just released a new version of the plugin?
I've got some performance enhancements I'd like to make, but I don't want to make any more changes until this bit gets resolved.

Let me know if anything is still unclear. It looks like a lot of stuff is going on, but it is basically just moving the NAM code into a separate folder from the other dsp code - slightly complicated by the fact that code was shared in dsp.h/dsp.cpp so  those files had to be split.

Since this PR now has conflicts, I could maybe resubmit - perhaps one simpler PR to separate dsp.h/dsp.cpp (perhaps calling the NAM versions NAM.h/Nam.cpp), and a subsequent one for the removal of the IPlug dependency, and then one for moving files to a separate folder?
Just let me know if that would make things easier than handling this PR as is.

Since this PR now has conflicts, I could maybe resubmit - perhaps one simpler PR to separate dsp.h/dsp.cpp (perhaps calling the NAM versions NAM.h/Nam.cpp), and a subsequent one for the removal of the IPlug dependency, and then one for moving files to a separate folder?
Just let me know if that would make things easier than handling this PR as is.

I'll have a look tonight and let you know. Thanks for your patience :)

@mikeoliphant issue-13 resolves merge conflicts. Should be able to merge it into your branch and the PR should be good to go!

Got it in #21 :)


[Chainlist] [Hotfix-issue-259] Remove rollux & syscoin

🚀 Deployed on https://pr-3286--sw-web-runner.netlify.app


problem with netware finding my 1v1.LOL process

hey, i was just trying to see if there was any fix for this problem i had where it just couldn't find my process for the site even tho it was open

it doesn't work for the browser version if that's what you mean


Random forest test

Hello sir,
I would like to work on this issue, please assign this to me @Niketkumardheeryan sir.

@manognyaa what is random forest Test

@Niketkumardheeryan sir, actually it is a process of combining multiple classifiers to solve a complex problem and to improve the performance of the model.
steps it will follow :
i. Starts by selecting random samples from given dataset using the bootstrap technique.
ii. This algorithm will construct a decision tree for every sample, then it will get prediction result from each decision tree.
iii. Next, voting will be performed for every predicted result.
iv. At last, select the most voted prediction as the final prediction result.


Portfolio page - bugged redeems

Note: I didn't track specific balances, but neither account received/lost more ZTG than expected.
When viewing the Portfolio page I noticed that I could 'redeem all' for an absurd amount of ZTG

As you can see above, the only Scalar market in my portfolio is the 'world cup goals' which has a bugged 24hr % change.
When redeeming the tokens from that market I got this:

When using a different account, the LP for the market:

possibly related to change in bounds being multiplied by 10**10

Old scalar markets needs to be rescaled on subsquid as well, might be connected.


Zero is being ignored when merging when it takes precedence

A value of 0 is being ignored, example:
app:
  name: test

merged with
app:
  name: 0

results in:
app:
  name: test

The problem is that zero value variables are not updated (see imdario/mergo#178 and imdario/mergo#165).
The merge call should include the config option WithOverwriteWithEmptyValue.


Test improvements

In order to run tests across multiple python interpreters it is very convenient to use the http://tox.testrun.org/ tool. I've added a tox config and a TESTING.rst file with the draft info about how to run tests.
Some doctests are also fixed (there are still a lot of them failing though).

github doesn't like me :)


too many open files

Summary
Failed to insert data using /bytes API
Steps to reproduce
Upload lots of chunks and bytes API
NFO[2020-10-25T05:24:55+05:30] api access                                    duration=0.002203826 ip=<IP_ADDRESS> method=POST proto=HTTP/1.1 size=127 status=200 uri=/bytes user-agent=Go-http-client/1.1
INFO[2020-10-25T05:24:55+05:30] api access                                    duration=0.000532294 ip=<IP_ADDRESS> method=POST proto=HTTP/1.1 size=53 status=200 uri=/chunks/debc48be7e8734bfb66a9ebe3c92c16510eecdae095e7dc43bfa871688e544dd user-agent=Go-http-client/1.1
INFO[2020-10-25T05:24:55+05:30] api access                                    duration=0.000929785 ip=<IP_ADDRESS> method=POST proto=HTTP/1.1 size=128 status=200 uri=/bytes user-agent=Go-http-client/1.1
INFO[2020-10-25T05:24:55+05:30] api access                                    duration=0.000478551 ip=<IP_ADDRESS> method=POST proto=HTTP/1.1 size=53 status=200 uri=/chunks/cca4d354a135f0ed7d1bd218ffdd2ad75e7faae419f24b2f74c1f33aabe243b9 user-agent=Go-http-client/1.1
INFO[2020-10-25T05:24:55+05:30] api access                                    duration=0.000954828 ip=<IP_ADDRESS> method=POST proto=HTTP/1.1 size=128 status=200 uri=/bytes user-agent=Go-http-client/1.1
INFO[2020-10-25T05:24:55+05:30] api access                                    duration=0.000394023 ip=<IP_ADDRESS> method=POST proto=HTTP/1.1 size=53 status=200 uri=/chunks/6e174e15242b938ec98c2d6573290c17d0a901fef052ed363807b2f05fdbb3fc user-agent=Go-http-client/1.1
INFO[2020-10-25T05:24:55+05:30] api access                                    duration=0.001828286 ip=<IP_ADDRESS> method=POST proto=HTTP/1.1 size=127 status=200 uri=/bytes user-agent=Go-http-client/1.1
INFO[2020-10-25T05:24:55+05:30] api access                                    duration=0.000387292 ip=<IP_ADDRESS> method=POST proto=HTTP/1.1 size=53 status=200 uri=/chunks/3bfd5b8be921ba7c20113e2fc17fab52c07c000930362db69e153a21727540e4 user-agent=Go-http-client/1.1
INFO[2020-10-25T05:24:55+05:30] api access                                    duration=0.00072733 ip=<IP_ADDRESS> method=POST proto=HTTP/1.1 size=128 status=200 uri=/bytes user-agent=Go-http-client/1.1
INFO[2020-10-25T05:24:55+05:30] api access                                    duration=0.000389914 ip=<IP_ADDRESS> method=POST proto=HTTP/1.1 size=53 status=200 uri=/chunks/19a8eeff2265f8533c91d308e7491f0368e9413ce50209ae274fddbf95dc001d user-agent=Go-http-client/1.1
INFO[2020-10-25T05:24:55+05:30] api access                                    duration=0.000663361 ip=<IP_ADDRESS> method=POST proto=HTTP/1.1 size=127 status=200 uri=/bytes user-agent=Go-http-client/1.1
INFO[2020-10-25T05:24:55+05:30] api access                                    duration=0.000452411 ip=<IP_ADDRESS> method=POST proto=HTTP/1.1 size=53 status=200 uri=/chunks/4a4cafc372789ad45f19944a71e5a2db156f84dcdf6606976063ce6c5fed3565 user-agent=Go-http-client/1.1
ERRO[2020-10-25T05:24:55+05:30] http: Accept error: accept tcp [::]:8080: accept: too many open files; retrying in 5ms

Expected behavior
API update works and the bytes gets inserted in Swarm
Actual behavior
Application returned an error  " too many open files"

Hi, could you provide more information about which bee version are you using or the git hash that it is built at? Also the information on which operating system this happens is useful.
I am not able to reproduce the large number of open files by the bee process on macOS while uploading to data to /bytes and /chunks api endpoints.
I am validating the number of open files with lsof -p 1234 | wc -l where 1234 is the bee process id. And that number does not go higher than 182, for me.
Could you check what is the number of open files when you get the error and to attach the list to the issue, so that we can investigate further?

@janos Sorry for not providing the context

Its macOS Catalina 10.15.7
bee version is 0.3.2-8bd9e28 (i did it in recent version just now)
ulimit -a shows open file limit as 256 (this might be a issue, i will increase to 65535 and see)
lsof -a -p $(pidof bee)  | wc -l shows 260

Thanks @jmozah. We have open files limit for loveldb set to 128, which is not so much, but including network connections and state store open files, it could go to 260. Especially if network connections are left open after every http request to the api. We may want to set IdleTimeout on http.Server to something like 30s, currently it is not set. MaxHeaderTimeout is also good to have it specified, just in case.

ok. I increased the ulimit to 65535.. i was able to do lots of uploads...
but even after the uploads are over.. the fd's are open.. in ESTABLISHED state...

Especially if network connections are left open after every http request

I suspect this is happening at my client...  But we should guard bee irrespective of stupidly written clients which can eat up all http connections. Your suggestions are good to implement.

Cool, I have created a small PR for that https://github.com/ethersphere/bee/pull/869.

@jmozah , could you be so kind to validate whether #869 is a fix for the issue you described?

@jmozah , bump

I have tested it locally with various ulimit values and extensive uploads. This change reduces the number of open files resulting stability on more restrictive vlues.

@Eknir i could not test this now as i fixed my client to close the connection and not hold the fd.
It worked fine without the fix if the client behaves well.


Name of apt hypriot.list

Should we use another name for this apt source in https://github.com/hypriot/image-builder-rpi/blob/master/build.sh#L70 ?
echo 'deb https://packagecloud.io/Hypriot/rpi/debian/ jessie main' > /etc/apt/sources.list.d/hypriot.list

All the other docker tools are in Hypriot/Schatzkiste and eg. docker-machine-hypriot uses exactly the same name to insert the Schatzkiste apt source.
See https://github.com/hypriot/machine/blob/v0.4.1-hypriot/libmachine/provision/hypriot.go#L135 for docker-machine-hypriot 0.4.1

Fixed with https://github.com/hypriot/image-builder-rpi/commit/6ab1ae3ce14b68ac7f11c51c74a51976a47f6fdf


Referring to yichengwang-concept-star-out

In the output file (yichengwang-concept-star-out):
Concept: STAR
The initial email information is censored which should not be:
Enron Houston@ENRON>
X-cc:
X-bcc:
X-Folder: \Neal, Scott\Neal, Scott\Inbox
X-Origin: NEAL-S
X-FileName: Neal, Scott.pst
The names, dates and timings are also censored, but the sentence that should be censored would be the first line for each block below (at least to my understanding):
Star Wars: Episode IV-A New Hope
Directed by George Lucas
(USA, 1977, 125 min.)
Friday, May 4, 7:30 p.m.
Saturday, May 5, 11:00 a.m.
Star Wars: Episode V-The Empire Strikes Back
Directed by Irvin Kershner
(USA, 1980, 120 min.)
Friday, May 11, 7:30 p.m.
Saturday, May 12, 11:00 a.m.
Star Wars: Episode VI-Return of the Jedi
Directed by Richard Marquand
(USA, 1983, 132 min.)
Friday, May 18, 7:30 p.m.
Saturday, May 19, 11:00 a.m.
Star Wars: Episode I-The Phantom Menace
Directed by George Lucas
(USA, 1999, 133 min.)
Friday, May 25, 7:30 p.m.
Saturday, May 26, 11:00 a.m.
Lastly, considering that the following lines are censored:
"It's a Girl" performed by Weave Dance Company
Weave Dance Co. will perform May 24-26 at 8:00 p.m. at Stages Repertory Theater, 3201 Allen Parkway at Waugh, Call 713-52STAGE for tickets.  This performance, called "It's a Girl!" celebrates pregnancy and motherhood.
Donations to the Houston Area Women's Center will be collected at the performance.
The below line should also be censored too, which is not:
Matinee admission (show times before 5:00 p.m.) is $4

I disagree about what needs to be redacted. The redacton locations do seem to be incorrect we will not use this


Revert "[PageTransitionsBuilder] Fix 'ZoomPageTransition' built more than once"

This breaks Google internal tests: b/159612674

cc/ @AlexVincent525, who worked on the PR.

Thanks for letting me know, I'll keep in touch with this one.


Marker on geojsonlayer (shapefile)

hi,
I am loading map using L.geojson layer (shapefile) its working fine . but now i want to display markers on geojson layer for example circle,rectangle,icons etc. Pointtolayer event is not getting called because in feature object  geometry type is polygon as shown in image3. so i used oneachfeature event to load markers. markers are getting loaded but they are getting displayed at background of layer see image 1. on mouseover marker it gets displayed blur at background of layer(image2) .I want to show marker,icons at front.code used to display marker in oneachfeature is shown in image4.
New folder.zip

so this just turns the shapefile into a geojson layer, you probably want to get help at the main leaflet repo, also you can posh images directly to an issue without having to zip them


opnsense_firewall_filter not accepting destination port range

Problem Statement: When using the opnsense_firewall_filter resource, the documentation advises a port range can be used by utilising the - such as 1024-65535 however it returns an error.
Attempts: I've tried using an alias defining the ports but it also doesn't work, I've tried wrapping "" and [] around it too.
Code:

Error:

Hey @chrisreeves-, thanks for opening this issue!
Unfortunately this is an oversight of how this resource was implemented. Even though the docs say that this is possible, because the destination.port is expecting an integer, it fails.
I'll get working on a fix, should be out in a few days. However it may result in you having to remove & import the existing rules you've created, since the schema will change slightly. Sorry about that!

All good @browningluke thanks for your extremely fast response! :) :)
The provider is ssooooo good so thanks for all the hard work you've put into it to date!

Hey there @chrisreeves- , this should be fixed in v0.9.0. I'll close this issue now, but feel free to re-open it if you still run into issues!
Just for clarity's sake, this is how you define port ranges now:
  destination = {
    net  = "<IP_ADDRESS>"
    port = "80-443"
  }

Hey @browningluke it still seems to be an issue in 0.9.0

Hey @chrisreeves-, that error actually looks like it's from a quirk of how the os-firewall plugin works. It considers the protocol attribute case sensitive.
In that code example you showed, try set protocol = "TCP".

Beautiful, that fixed it!
Thanks again :) :)


Is there a way to uncss localhost?

I'm using gulp-uncss and trying the following:
gulp.task('uncss', function() {
	return gulp.src('css/dist/**/*.css')
		.pipe(uncss({
			html: ['http://localhost:3000']
		}))
		.pipe(gulp.dest('uncssed'));
});

It's throwing this error: Error: Cannot load http://localhost:3000: Phantomjs returned status fail.
Is there a way to run localhost through uncss?

Nevermind, set it up as dev.foo.com in vhosts and that works.


refactor basemap service and rename to wmts_imagery

fix bug with resulting bounding box
add ability to clip image to bounding box

Pull Request Test Coverage Report for Build 339

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.7%) to 68.582%

Totals

Change from base Build 333:
-0.7%

Covered Lines:
5228

Relevant Lines:
7623

💛  - Coveralls

@sdc50 why are all the notebooks have output being deleted when this was already done in the Quest Updates PR?

Hold off on this. I renamed the NoteBooks directory to notebooks, but it looks like git didn't pick up the new directory.

@sdc50 The only way that I've had success with name changes is from within PyCharm.

Did you use 'git mv' typically you have to do the rename in a isolated commit. If I remember right, I've had issues in the past when mixing renaming and edits to the same file in a single commit.

I wonder how the ipynb checkpoints got committed when it is in our gitignore file.. Also you still have the WMTS example notebook deleted in this PR.

@dharhas thanks. git mv worked.
@AaronV77 I've got the notebooks added back in, so this PR should be ready to go.

It still says that the WMTS notebook has been deleted.

@AaronV77 make sure to clean up the commit messages when you squash and merge.


CodeQL docs: port recent fixes to rc/1.23

This PR ports some recent fixes (typos, broken links and malformed bullet points) onto the rc/1.23 branch, just in case we need publish from this branch for the next maintenance release.
I didn't include the more substantial changes that we have recently made, as they as non-essential and can wait until the next proper release.

When this is merged I'll republish the 'Learning CodeQL' docs to update the broken links.


linux device driver for ethernet

My T120F324 dev kit uses a DM9119 phy with the TSEMAC for IP connectivity
My T160 dev kit requires a plug in phy daughter card using a Realtek 8211FD for ethernet , again with the TSEMAC.
Question : are there any plans to enable and implement TCP/IP functionality on Linux for these boards and if so is there a rough timeline ?.
I ask this as TCP/IP connectivity , with Linux running on a softcore RISC-V on an Efinix FPGA is an essential prerequisite for ' design in ' of the  Efinix chip.

they answed on #2 issue.

Previous posts indicated a Linux Driver expected Q1 2023 , now end of Q2 . If this has been dropped please advise so that we can discontinue the Efinix route . Our product mandates internet connection to AWS for an Efinix based AI edge device . So sans Ethernet on Efinix we can not run TCP/Ip stack , so would have to look to a Rockchip solution .


camel-jgroups-raft initial commit.

fix CAMEL-11888

All the requests of change in the comments should be presents in the new PR version.


fixed methods beforeColumn and afterColumn

array_splice was not receiving a number as the second parameter on these two functions,  it was receiving the name of the column so the order of the columns was not being correctly set when using beforeColumn() or afterColumn(): https://cl.ly/1D0G0H3M193G
$this->crud->addColumn(['label' => "Name", 'type' => "text", 'name' => 'name'])->beforeColumn('surname');
With this fix, the offset of the column is sent to the array_splice as the second parameter.

This PR will not work if you use beforeColumn on previously added column, i.e.
$this->crud->addColumn('col1');
$this->crud->addColumn('col2')->beforeColumn('col1')
because addColumn method adds elements with
array_filter($this->columns[] = $column_with_details);
so key will be integer and not column name and this
$offset = array_search($column, array_keys($this->columns));
will fail

Hi @gmedeiros ,
Sorry for the long wait - I was unable to get the same error, so did not prioritize this. @dmagur 's note yesterday was very very helpful - turns out you were using setFromDb(), and that's the only time that ever occurs. I never do.
That being said, thanks a lot for the PR, I've fixed the underlining issue and merged your PR, it's now on the dev branch waiting for others to test and report if anything goes wrong.
Cheers!

Hi @tabacitu , thanks for getting back to me! I'm glad my PR helped in any way. I hope I can keep contributing with the project, I really love it :)
Cheers!

@gmedeiros - definitely keep contributing :-)
I really appreciate it. Cheers!


eslint cant analyze large files fully

eslint is not analyzing the whole file .. I think it has a limit on the number of lines it can analyze.
It works fine when I tested in the beginning of the file .. but when I do the same thing at the end of the file it doesn't show me the warnings.
I tried to search on this problem but did not find anything useful.

Thanks

Is the behaviour any different if you run ESLint from the terminal?

it works fine and it analyzes all the file when using the ESLint form the terminal

I think you are hitting VS Code 1000 errors limit per file (see https://github.com/Microsoft/vscode/issues/52736 and related issue). Is this the case for you? If so, there is nothing the VS Code extension can do about it.

yes .. I think I hit 1000 errors limit
Thanks for helping

Closing the issue then since this is controlled by VS Code.


Any way to Download options(Preview options) of any example [Feature]

What problem does this feature solve?
I would like to download options(Options Preview), any way to download these options as of now?

Steps to Reproduce:

Go to eCharts site: https://echarts.apache.org/examples/en/index.html
Choose any chart
Enable dark mode and go to preview options
I want to download options, please suggest me how to do that.

Thank you
What does the proposed API look like?
Please provide a way to download "Options Preview" options

Hi, the source code is available at https://github.com/apache/echarts-examples/tree/gh-pages/public/examples/ts


set sorting index to score

sorting index was previously set to the time of running the submission. now it is set to the score

thanks @maikia
can you check it's ok with all leaderboard pages:
eg
https://ramp.studio/events/human_locomotion_datacamp2020/leaderboard
https://ramp.studio/events/human_locomotion_datacamp2020/competition_leaderboard
https://ramp.studio/events/human_locomotion_datacamp2020/private_leaderboard
thx

Thanks @maikia !  Yes, I also recently had to fix this in https://github.com/paris-saclay-cds/ramp-board/pull/442/commits/dffc6c9db9d4465d38ad7dd8d8a506fe134f9b14 (initially done in https://github.com/paris-saclay-cds/ramp-board/pull/276).
I think the in the private_leaderboard it's column 3 not 2.

Good catch. Thanks @rth and @agramfort
If you are ok with the changes please merge

Thanks @rth and @agramfort


Bugs in examples; breadcrumbs and textbox_trigger

breadcrumbs: Back navigation isn't working (i.e. can't get back to breadcrumbs view by clicking "Back")
textbox_trigger: Crashes if textarea get's cleared
Below would fix both:
--- a/py/examples/breadcrumbs.py
+++ b/py/examples/breadcrumbs.py
@@ -11,7 +11,7 @@ from h2o_wave import main, app, Q, ui

 @app('/demo')
 async def serve(q: Q):
-    if '#' in q.args:
+    if '#' in q.args and not q.args.show_breadcrumbs:
         hash_ = q.args['#']
         q.page['breadcrumbs'] = ui.form_card(box='1 1 2 2', items=[
             ui.text(f'#={hash_}'),
diff --git a/py/examples/textbox_trigger.py b/py/examples/textbox_trigger.py
index d42448fb..c787d389 100644
--- a/py/examples/textbox_trigger.py
+++ b/py/examples/textbox_trigger.py
@@ -6,7 +6,7 @@ from h2o_wave import main, app, Q, ui

 def to_pig_latin(text: str):
-    if text is None:
+    if text is None or len(text) == 0:
         return ''
     words = text.lower().strip().split(" ")
     text = []

Thanks @Far0n! Breadcrumbs bug will be fixed as part of #953 and textbox one as part of #150.


Profiling files get copied into MEDIA_ROOT

Silk saves prof files to SILKY_PYTHON_PROFILER_RESULT_PATH but then copies them all into MEDIA_ROOT.
The solution is to specify the storage= on the FileField as an instance of this:
class SilkyStorage(FileSystemStorage):
    def __init__(self, **kwargs):
        kwargs['location'] = settings.SILKY_PYTHON_PROFILER_RESULT_PATH
        super(SilkyStorage, self).__init__(**kwargs)

Also, it isn't clear from the documentation what SILKY_PYTHON_PROFILER_RESULT_PATH is meant to be relative to.
I'm running 0.7.0 due to the PostgreSQL issues in 0.7.1.

@r3m0t I will get a release for this issue addressed soon.

@avelis is it time to release a new version? I'm looking forward to use this great patch. Thank you.

@xyb release made


Stop testing the 'ok' part of a map access.

Verify that the actual value of the annotation is string "true" when checking that it's ok to change the tls-mode from system-store to strict.
Related to issue #46189

TestIntegrationTest/TestClusterProxyConfig is a flaky test. It failed first time on amd64 but not arm64 on this branch. I manually ran both on release/v0.5, and it passed on amd64, failed on arm64. But the problem isn't introduced on this branch.

Dup of PR #451


Issues with group and user id

I see that in the dockerfile the userid and groupid are set to 14 and 50 however to get this to work with another container (paperless-ngx) and so that my user can access the directory I would need to set the group and user id to 1000. I also see this is set if I were building the image from the repo with docker-compose.yml but an image pull would be prefered.
services:
    vsftpd:
      image: fauria/vsftpd
      container_name: vsftpd
      environment:
        - FTP_USER=austinpaperless
        - FTP_PASS=******
        - PASV_ADDRESS=<IP_ADDRESS>
        - PASV_MIN_PORT=21100
        - PASV_MAX_PORT=21110
        - LOCAL_UMASK=0777
        - FILE_OPEN_MODE=0777
      ports:
        - <IP_ADDRESS>:20:20
        - <IP_ADDRESS>:21:21
        - "21100-21110:21100-21110"
      volumes:
        - /home/austin/ftpserver/:/home/vsftpd
        - /home/austin/docker/vsftpd/:/var/log/vsftpd
      restart: always

I have managed to work around the other docker container (paperlessngx) running with uid and guid of 1000 by chmoding the ftp/user directory to 757 so that other users can access the directory. The other issue I'm running into now is that the env variables FILE_OPEN_MODE: 0777 doesn't seem to be working as expected. When adding files through filezilla they are not given the expected permissions of -rwxrwxrwx, instead the files are set to ----------

Issue was a misunderstanding of what I though umask was. Been a while since unix courses. umask subtracts the permissions rather than adding them so thats why I was getting 0 permissions on files. Since changing umash to 022 now i get the desired file permissions


Open CLOB/BLOB in external format doesn't work in some cases

System information:

Operating system (distribution) and version Win10
DBeaver version DBeaver 7.2.1 EA

Error appears when CLOB/BLOB is opened in an external format
Steps to reproduce, if exist

Open a table with CLOB/BLOB type (e.g. SQLite.Album)
Select a CLOB value
Press open in external format in Value panel
Repeat the steps one more time.

Actual result:

Error appears
File is not opened

Cannot be reproduced


feat(CameraRig): Added a script to move the CameraRig

Only when outside a circle. Aims to create a virtually bigger play area.
I have added a demo scene to test the script.
Just add the VRTK_RoomExtender to the CameraRig and you are ready to go.
If you want to visualize the circle you can add a cylinder to the debug transform.
I saw this kind of movement in a presentation and thought it would be nice to simulate bigger play areas.

There were the following issues with your Pull Request

Commit: bab30df97ddb5939fbf92f9856ba877f52c5c9ea
Your subject line is longer than 72 characters

Guidelines are available at https://github.com/thestonefox/SteamVR_Unity_Toolkit

This message was auto-generated by https://gitcop.com

There were the following issues with your Pull Request

Commit: 48acfb2e6c80dbd2dc5066d0caab77af198ba746
Your subject line is longer than 72 characters

Guidelines are available at https://github.com/thestonefox/SteamVR_Unity_Toolkit

This message was auto-generated by https://gitcop.com

Not sure what's up with it but first the example scene the headset view is upside down (can't see why it is though!)
secondly, I attached the new script in a different example scene (and the headset is fine, so nothing to do with the script). But the script doesn't seem to do anything for me.
The movement variable is always vector3.zero no matter where I move to :/

I am on unity version 5.4b19 and can't reproduce your errors. Does the script find the eyeCamera and the cameraRig? It should move the debug Transform when you try to step outside of it. In the demo scene i used a cylinder paranted to the cameraRig.

Ah that may be the issue, unity 5.4 has some changes to it within SteamVR, it relocates the camera eyes and the camera head object.
Take a look at the HeadsetCollisionFade script

I'll take a look at Unity 5.3 tomorrow, but I have changed the script to manually set the correct transform. In Unity 5.4 it uses the SteamVR_Camera located at the eyes, but if unity 5.3 moves the camera head you can add that transform. Thinking about it... You could also add an arrow to move your playspace :)

There were the following issues with your Pull Request

Commit: dd6c490c32865c576eb168d2e588dc06fdecae4d
Commits must be in the following format: %{type}(%{scope}): %{description}

Guidelines are available at https://github.com/thestonefox/SteamVR_Unity_Toolkit

This message was auto-generated by https://gitcop.com


HOCS-4221: Add ability to transfer BF cases to SMC

There's an errant gateway I think here...

I've removed that gateway

Changes look good, just need to confirm which documents to transfer for BF --> SMC (PSU team)


chore(main): release 0.6.0

:robot: I have created a release beep boop
0.6.0 (2024-03-11)
Miscellaneous Chores

release 0.6.0 (6aa84af)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/socialgene/sgpy/releases/tag/v0.6.0 :sunflower:


Can't find SEAL

I have installed SEAL using vcpkg. But when I try to compile APSI, I meet an error as following.
CMake Error at CMakeLists.txt:120 (find_package):
  By not providing "FindSEAL.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "SEAL", but
  CMake did not find one.

  Could not find a package configuration file provided by "SEAL" (requested
  version 3.7) with any of the following names:

    SEALConfig.cmake
    seal-config.cmake

  Add the installation prefix of "SEAL" to CMAKE_PREFIX_PATH or set
  "SEAL_DIR" to a directory containing one of the above files.  If "SEAL"
  provides a separate development package or SDK, be sure it has been
  installed.

I try to add "-DCMAKE_PREFIX_PATH=D:\src\vcpkg\packages" , but it doesn't work.
CMake Error at CMakeLists.txt:120 (find_package):
  Found package configuration file:

    D:/src/vcpkg/packages/seal_x64-windows-static-md/share/SEAL/SEALConfig.cmake

  but it set SEAL_FOUND to FALSE so package "SEAL" is considered to be NOT
  FOUND.

How can i fix it? Thx.

You need cmake ../my/project -DCMAKE_TOOLCHAIN_FILE=[vcpkg-root]/scripts/buildsystems/vcpkg.cmake.

You need cmake ../my/project -DCMAKE_TOOLCHAIN_FILE=[vcpkg-root]/scripts/buildsystems/vcpkg.cmake.

Thanks for your quick reply. I compile the project on Windows using VS code. And I add
"cmake.configureSettings": {
    "CMAKE_TOOLCHAIN_FILE": "D:/src/vcpkg/scripts/buildsystems/vcpkg.cmake",
    "VCPKG_TARGET_TRIPLET": "x64-windows-static-md"
}

But it doesn't work.

One thing that tripped me was that when you specify the flags to CMake, you need to write -DVCPKG_TARGET_TRIPLET=x64-windows-static-md instead of -DVCPKG_TARGET_TRIPLET="x64-windows-static-md" (so no quotes). Otherwise it won't work. I'm not sure what happens when you write as you did. I tried using
		"cmake.configureArgs": [
			"-DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake",
			"-DVCPKG_TARGET_TRIPLET=x64-windows-static-md"
			"-DAPSI_BUILD_TESTS=ON",
			"-DAPSI_BUILD_CLI=ON"
		],

and it seems to work.

Hello, I also encountered this problem, how to solve it?


Python Errors during Dataset Upload: ConnectionError and JSONDecodeError

Environment:

OS: macOS with M1 Max
Python Code:my_workspace.upload_dataset(dataset_path=public_dataset.location, num_workers=100, project_name="protectiveequipment4")

Description:
While trying to upload a large dataset using the provided Python code snippet, I encountered two different errors:

ConnectionError:
ConnectionError: HTTPSConnectionPool(host='api. roboflow. com', port=443): Max retries exceeded with url: /dataset/protectiveequipment-8ugbr/u

Fixed this by setting the CURL_CA_BUNDLE environment variable to an empty string:
import os
os.environ['CURL_CA_BUNDLE'] = ''

After this fix, I encountered the second error.

JSONDecodeError:
JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Steps to Reproduce:

Run the provided Python code snippet to attempt dataset upload.
Observe the ConnectionError, and fix it using the provided workaround.
Observe the JSONDecodeError.

Expected Results:
The Python code should successfully upload the dataset without any errors.
Actual Results:
Two distinct errors are encountered: a ConnectionError that can be fixed with a workaround, and a JSONDecodeError that needs further investigation.
Additional Context:
The most number of images I was able to upload via the API was around 5000.
Attachments:

PR #162 ready for review.

FYI I just pushed a new version of the pip package (roboflow-1.1.3) that makes uploading large datasets more reliable.
One problem that happens sometimes (very rarely) when we upload data (images and/or annotations) is that the backend replies with a 502.
A 502 usually means an error  on google's infra: Google's load balancer for some reason didn't even call the function that was supposed to run the code for that request.
There's not much we can do about 502's except tell the user to try again.
Our pip package didn't know how to handle 502's and and if you got one in the middle of a large dataset upload, the upload would break and stop in the middle.
What's included in 1.1.3:
It handles 502 properly. If there's a 502 (or any other kind of error) with one image, it logs the error and moves on to the next one
Has a better separation between stdout and stderr. If the user redirects stderr to a file (with something like 2> stderr.log) they'll get only a list of the files that failed.
Fixes another bug where workspace.upload_dataset was creating a new project and uploading data to the new project everytime. Now, if the project name matches an existing project, it will upload data to the existing project.
Clients that were having problems with the pip package might want to update (pip install --upgrade roboflow) and try again


[CommonHTML] semantic tag causes shrink-wrapping of labels

The following gets shrink-wrapped:
<math>
  <semantics>
    <mtable>
      <mlabeledtr>
        <mtd><mtext>(1)</mtext></mtd>
        <mtd><mtext>Hello</mtext></mtd>
      </mlabeledtr>
    </mtable>
  </semantics>
</math>

If the semantics tag is removed, the rendering is correct.

This is resolved in the issue1499 branch of my fork of MathJax.

==> Merged.

==> In testsuite
MathMLToDisplay/issue1499.html


teamviewer: Build with latest qt5

Motivation for this change
See https://github.com/NixOS/nixpkgs/issues/33798
Seems to work fine for me though I haven't tested connecting to anyone as I don't use teamviewer myself.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

cc @jagajaga

There was reports of segfaults with latest qt5 https://github.com/NixOS/nixpkgs/pull/53117
See also https://github.com/NixOS/nixpkgs/pull/54259#issuecomment-455487075.
So this should be tested by an actual user.

Ping @jagajaga

Would you mind having a look at #67244? This bumps teamviewer to the latest version and wraps QT properly. Also didn't encounter any issues with the new teamviewer version :)

Superseded by https://github.com/NixOS/nixpkgs/pull/67244


sim900_read_buffer, Suli not quickly enough ?

Is sim900_read_buffer funtion you have an strange comment:
Anyway, Suli is not quickly enough to fetch data from buffer, so
we have to fetch our data like this.
It is inside an ´#if false  #else   #endif`.
But why you can use the first part if it is used in sim900_wait_for_resp function ???

Hi op2op2op2, actually we're stopping updating suli becuase it's not a user-friendly framework. So we stopped to iterate the suli based libraries.

@op2op2op2, the author of this library has quit seeed. if you have time, would you like to rewrite this library in non-suli style?

What a pity, the idea was, AND is, great.

How can I send to you a private message ?

<EMAIL_ADDRESS>--
<EMAIL_ADDRESS>Sent with Airmail
On April 8, 2015 at 18:07:04, op2op2op2<EMAIL_ADDRESS>wrote:
How can I send to you a private message ?
—
Reply to this email directly or view it on GitHub.


Display Soldes Debiteur / Créditeur

For a Siret, per year.

When we are not displaying the year detail, only debit (or credit, they're supposed to be the same value) is enough.


Different pinout

Hi Werner! Is it possible to change hal sensor connecting points? I have different pinout compared to flip f4 and don't have RSSI pin there. How can I change it to different pin?

Sorry, not supported. It is so hard to configure these MCUs in first place, add configurations would make it a nightmare.
Is this the controller you are using? I used it as well, the encoder pins are Servo5 and Servo6.


Problems compiling CommandCenter BOT on Linux (ubuntu 17.04, debian 9 and Fedora26).

After running "cmake .", in the compilation process:
.... commandcenter/src/BuildingPlacer.cpp: In member function 'sc2::Point2D BuildingPlacer::getRefineryPosition()': ........./commandcenter/src/BuildingPlacer.cpp:244:33: error: invalid initialization of reference of type 'const sc2::Unit&' from expression of type 'const sc2::Unit* '
if (!Util::IsGeyser(unit))
There are also other problems in BuildingPlacer.cpp with request for member 'pos' in 'unit' pointer.

src/CMakeFiles/CommandCenter.dir/build.make:278 with failure of the instructions for the target

Thank you very much for your work and sorry for my bad english.

This is caused by a change in the new version of the API, I am in the process of fixing it

Fixed now


Add min time to show DateTimepicker

it will be useful to be able to set minTime also for datetimepicker, as it currently allows picking dates in the past.

Yes. this would be the thing needed, as by adding the min time in the dateTimePicker we can avoid selecting past dates.

Waiting for that too :)

hey i am also waiting for this. please help to hide past dates.

minTime and mixTime pls

hi all, I've added min/max time for date time picker. Now, the maxTime or minTime is an optional parameter. It's very complicated to implement it, please have a try. if there is any bug, please feel free to tell me.


Arm assorted cleanup

Various build system-related clean-ups for the ARM architecture

@carlocaione pls, take a look in this PR


Use ES6 imports & JSON when possible

As a bonus, locales are now MUCH easier to implement because we now use the index files as a list.
Just add the relevant theme config & i18n, then make sure they're imported into their relevant index files.
Currently unsure if this should be merged because for some reason, the "active navbar" picker is broken. I cannot tell whether it was from my changes or not.

Most navbar/sidebar issues seem to be fixed with a later version of VuePress, but that comes with other issues. Unrelated to this PR though.


[Multimodal Tasks with the Gemini API] Publisher Model not found

Describe your configuration

Extension name: Multimodal Tasks with the Gemini API
Extension version: 1.0.0
Configuration values:

Gemini API Provider: vertex-ai
Gemini model: gemini-1.0-pro
Google AI API Key: [Parameter not set]
Firestore Collection Path: users/{uid}/{realmId}
Prompt: "Summarize this transaction"
Image field: [Parameter not set]
Response Field: [output]
Cloud Functions location: us-west2
Temperature: 0.1
All other configuration parameters were left as defaults

Describe the problem
When I added a new document to the users/{uid}/{realmId} collection in my Firestore database, a "status" map was added to my document with an "error" key of "An error occurred while processing the provided message, failed to generate content, see function logs for details".
The Cloud Function logs show the following message:
{
  "textPayload": "ClientError: [VertexAI.ClientError]: got status: 404 Not Found. {\"error\":{\"code\":404,\"message\":\"Publisher Model `projects/booksmart-6870c/locations/us-west2/publishers/google/models/gemini-1.0-pro` not found.\",\"status\":\"NOT_FOUND\"}}\n    at throwErrorIfNotOK (/workspace/node_modules/@google-cloud/vertexai/build/src/functions/post_fetch_processing.js:32:19)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async generateContentStream (/workspace/node_modules/@google-cloud/vertexai/build/src/functions/generate_content.js:90:5)\n    at async VertexLanguageClient.generate (/workspace/lib/generative-client/vertex_ai.js:63:36)\n    at async /workspace/lib/index.js:69:24 {\n  stackTrace: undefined\n}",
  "insertId": "66730b4f000e0547422191ef",
  "resource": {
    "type": "cloud_function",
    "labels": {
      "region": "us-west2",
      "project_id": "booksmart-6870c",
      "function_name": "ext-firestore-multimodal-genai-generateText"
    }
  },
  "timestamp": "2024-06-19T16:46:07.918855Z",
  "severity": "ERROR",
  "labels": {
    "execution_id": "9iw8yb7ut9vu",
    "instance_id": "005b708770540ea71cb38bf2fec9bdf216ac60625d6040905efe49549d0ceb2c0c128afcd54de1b780ddc45206897b345986dc2a6b07cf307977340d34843e1d",
    "runtime_version": "nodejs18_20240616_18_20_3_RC00"
  },
  "logName": "projects/booksmart-6870c/logs/cloudfunctions.googleapis.com%2Fcloud-functions",
  "trace": "projects/booksmart-6870c/traces/282d831499c124eb2167ceec4c69a637",
  "receiveTimestamp": "2024-06-19T16:46:08.078329165Z",
  "errorGroups": [
    {
      "id": "CN7n7NT9uMq9bw"
    }
  ]
}

Here's the error for better readability:
{"error":
   {"code":404,
    "message": "Publisher Model `projects/booksmart-6870c/locations/us-west2/publishers/google/models/gemini-1.0-pro` not found.",
   "status":"NOT_FOUND"
   }
}
at throwErrorIfNotOK (/workspace/node_modules/@google-cloud/vertexai/build/src/functions/post_fetch_processing.js:32:19)

at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

at async generateContentStream (/workspace/node_modules/@google-cloud/vertexai/build/src/functions/generate_content.js:90:5)

at async VertexLanguageClient.generate (/workspace/lib/generative-client/vertex_ai.js:63:36)

at async /workspace/lib/index.js:69:24

{stackTrace: undefined}

Steps to reproduce:
Added the extension to my project, filled out the configuration, then added a document to the appropriate collection (users/{uid}/{realmId}
Expected result
Adding a "output" map to my document with a response from the Gemini API.
Actual result
Added a "status" map to my document with the error message described above.

Figured it out. Was the same issue as issue 380, here: https://github.com/GoogleCloudPlatform/firebase-extensions/issues/380
Note that the documentation here https://cloud.google.com/vertex-ai/generative-ai/docs/learn/locations says us-west2 is available for Vertex AI, but clearly that's not the case. As outline in issue 380 as well, the drop down menu when setting up the extension still has us-west2. This should be removed until it's supported.

Keeping it open so the documentation and the dropdown in the extension setup screen can be fixed.


Set source_profile correctly

This fixes an issue where AWS CLI tools throw the error:
The source_profile "" referenced in the profile "foo" does not exist

This is caused when assume-role explicitly writes out an empty value as
"".

TODO: Add tests


Ctrl + Click to Go To Definition

Feature request; when holding CRTL and clicking on a method, variable etc. jumps to the method definition. Just like the feature in Productivity Power Tools 2015 for Visual Studio

@jtribley depends on the extension, so I suggest you report it to the C# extension.


Integrate passfault with OWASP ESAPI

Integrate Passfault with OWASP ESAPI.  On the Authenticator Interface, the method verifyPasswordStrength (http://owasp-esapi-java.googlecode.com/svn/trunk_doc/latest/org/owasp/esapi/Authenticator.html#verifyPasswordStrength(java.lang.String, java.lang.String, org.owasp.esapi.User) ) could be implemented to call into passfault.
It shouldn't be that difficult.  But here are some challenges:

Languages, default will have to be English, but in-memory-dictionaries would take up too much memory for 50+ languages
Configuration, In-memory or File based dictionaries should probably be configurable
Configuration, additional dictionaries should be able to be configured

This has kindof fallen off the radar as ESAPI has been deprecated from a FLAGSHIP project due to lack of maintenance.


[stable/sonarqube] upgrade to LTS version (6.7.3)

What this PR does / why we need it: upgrade sonarqube to the latest LTS version

/assign @rjkernick

/ok-to-test

/lgtm


Launching server and client as described in the quickstart fail

Step to reproduce:
python2 gym_http_server.py
and in another terminal
python2 gym_http_client.py
or
python2 example_agent.py
server terminal output:
[2016-07-02 19:05:15,513] Making new env: CartPole-v0
[2016-07-02 19:05:15,527] Creating monitor directory /tmp/random-agent-results
[2016-07-02 19:05:15,530] Starting new video recorder writing to /tmp/random-agent-results/openaigym.video.0.17805.video000000.mp4
[2016-07-02 19:05:15,918] ERROR in app: Exception on /v1/envs/5bd5d0fb/reset/ [POST]
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1988, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1641, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1544, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1639, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1625, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "gym_http_server.py", line 189, in env_reset
    observation = envs.reset(instance_id)
  File "gym_http_server.py", line 54, in reset
    obs = env.reset()
  File "/usr/lib/python2.7/site-packages/gym/core.py", line 124, in reset
    self.monitor._after_reset(observation)
  File "/usr/lib/python2.7/site-packages/gym/monitoring/monitor.py", line 248, in _after_reset
    self.video_recorder.capture_frame()
  File "/usr/lib/python2.7/site-packages/gym/monitoring/video_recorder.py", line 105, in capture_frame
    frame = self.env.render(mode=render_mode)
  File "/usr/lib/python2.7/site-packages/gym/core.py", line 175, in render
    return self._render(mode=mode, close=close)
  File "/usr/lib/python2.7/site-packages/gym/envs/classic_control/cartpole.py", line 141, in _render
    return self.viewer.get_array()
  File "/usr/lib/python2.7/site-packages/gym/envs/classic_control/rendering.py", line 107, in get_array
    arr = arr.reshape(self.height, self.width, 4)
ValueError: total size of new array must be unchanged
[2016-07-02 19:05:15,918] Exception on /v1/envs/5bd5d0fb/reset/ [POST]
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1988, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1641, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1544, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1639, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/lib/python2.7/site-packages/flask/app.py", line 1625, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "gym_http_server.py", line 189, in env_reset
    observation = envs.reset(instance_id)
  File "gym_http_server.py", line 54, in reset
    obs = env.reset()
  File "/usr/lib/python2.7/site-packages/gym/core.py", line 124, in reset
    self.monitor._after_reset(observation)
  File "/usr/lib/python2.7/site-packages/gym/monitoring/monitor.py", line 248, in _after_reset
    self.video_recorder.capture_frame()
  File "/usr/lib/python2.7/site-packages/gym/monitoring/video_recorder.py", line 105, in capture_frame
    frame = self.env.render(mode=render_mode)
  File "/usr/lib/python2.7/site-packages/gym/core.py", line 175, in render
    return self._render(mode=mode, close=close)
  File "/usr/lib/python2.7/site-packages/gym/envs/classic_control/cartpole.py", line 141, in _render
    return self.viewer.get_array()
  File "/usr/lib/python2.7/site-packages/gym/envs/classic_control/rendering.py", line 107, in get_array
    arr = arr.reshape(self.height, self.width, 4)
ValueError: total size of new array must be unchanged
^C[2016-07-02 19:05:22,624] Finished writing results. You can upload them to the scoreboard via gym.upload(u'/tmp/random-agent-results')

Thanks for the bug report!
When I run those commands, I do not get the same error. It looks like the problem is not specific to the HTTP API, but rather, is a generic gym error relating to monitoring and rendering.  I see a similar issue that was fixed in commit in May, which makes me think that updating might resolve your troubles: https://github.com/openai/gym/issues/95
Can you double-check that you have pulled the most recent version of gym, and also that you have all the gym dependencies (for example, using 'pip install gym[all]'), and then try running those commands again?
If you already have the latest versions of everything, or if the problem persists after updating, then we can dive a little deeper. One possible next step would be to run the monitoring tests in the gym package and to share the output:

cd /usr/lib/python2.7/site-packages/gym/monitoring/tests
nose2 test_monitor

Hello,
I solved the issue long ago. I forgot to close the issue. Thanks for the reply.


README: Docker for Mac troubleshooting

Maven expects to find docker at localhost:2375, but on Docker for Mac
it's at /var/run/docker.sock.

This caused me a lot of head scratching; didn't realise 2375 was docker itself and not some expected mock GAE service.


Restructure imports & make it easy to run tests

It's not straightforward to run tests. They often fail because modules are not found, which itself is a consequence of how the imports in the files are defined.  I think this stems from the fact that the multiple code bases were combined into one repository.
If I understand python's import system correctly, we should do all imports relative to the same root directory (say from src/). This would mean to update the imports in src/llm/src/new_code/pipeline.py to from src.llm.src.a import b . This will probably break the bash scripts, but I think is worth the effort in the longer-run.

After thinking about this some more and trying some things, I think there are 2 options

As described above. We can have modules such as llm and graph, and module-specific test directories which are discovered by pytest through pyproject.toml. but the imports still need to be relative to the root directory of the repository. this should work out of the box with pytest, and it also makes it possible to re-use code from one module in another -- which is not possible with the current import structure. the disadvantage is that we need to invoke the python scripts also from root. ie, python -m src.llm.src.new_code.pipeline instead of cd src/llm; python -m src.new_code.pipeline. but this would also allow to have another config module at root level where we define configurations, and they can also be shared easily across calls/scripts in different modules. another downside is that it will plausible break some things, which is why it'll be important to make sure the slurm scripts work well on fake data.
We leave imports as they are at the moment. we write a shell script that cds into the different subdirectories and calls pytest -m tests/ from there. this is a quick fix, but I'm not sure how easily this integrates into github actions for instance. it also adds another layer of complexity for maintaining the testing pipeline.

I think option 2 above is not viable. I'm leaning towards changing the imports as described in option 1. If we do this, then we should probably wait with merging #76 . moreover, some branches will become more difficult to merge:

branch pretrain_multi_gpu_debug has 1 commit "subsets datasets"
branch integrate_socio_baseline has 1 commit "process education data"

I guess this could be merged?

branch distribute-performance

I consider pretrain_multi_gpu_debug and integrate_socio_baseline close to stale, and they have only 1 commit each. For distribute-performance there is more potential for problems.

fixed in #76


Update links to community

removal of unused static assets.

https://github.com/AppGyver/steroids-connect/pull/2


Any reference about get_custom_L2?

Dear authors
I'm looking for some reference of this get_custom_L2, it seems not the regular weight-decay method, which paper does it come from?
https://github.com/DingXiaoH/RepVGG/blob/main/repvgg.py#L66
Thanks.

oops. it turns out to use a "deployed" mode weight decay.


JS Best Practices

In file UI.js:

In line 111: instead of validate(e) use validate(event).
Same for file completed.js.

in UI.js replace line 15-16 by return(todoItems || [])
in UI.js replace line 22-25 by const filterTodoItems = todoItems.filter((e) => e.completed === false);

in UI.js replace line 15-16 by return(todoItems || []):

Good call, I will make the change

in UI.js replace line 22-25 by const filterTodoItems = todoItems.filter((e) => e.completed === false);:

As for this the filterByID() is used do delete singular items aswell as checked items therefore I'm afraid I can't make this change...
Thanks @DilsherB.


[fix][resotocore] Fix predefined custom commands and make them available in existing configurations

Description
Newly defined existing commands shipped with Resoto did not make it into user configuration.
This PR adds a migration to add non existent commands.
The commands that were defined had formatting errors and no description, which have been fixed as well.

To-Dos

[x] Add test coverage for new or updated functionality
[x] Lint and test with tox

Code of Conduct
By submitting this pull request, I agree to follow the code of conduct.

Codecov Report
Base: 89.92% // Head: 89.93% // Increases project coverage by +0.00% :tada:

Coverage data is based on head (0e5d82d) compared to base (284a521).
Patch coverage: 100.00% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1425   +/-   ##
=======================================
  Coverage   89.92%   89.93%
=======================================
  Files          73       73
  Lines       11368    11393   +25
=======================================
+ Hits        10223    10246   +23
- Misses       1145     1147    +2

Flag
Coverage Δ

resotocore
89.93% <100.00%> (+<0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

resotocore/resotocore/cli/command.py
88.33% <100.00%> (+<0.01%)
:arrow_up:

resotocore/resotocore/cli/model.py
96.91% <100.00%> (+0.02%)
:arrow_up:

...esotocore/resotocore/config/core_config_handler.py
87.21% <100.00%> (+0.39%)
:arrow_up:

resotocore/resotocore/core_config.py
95.04% <100.00%> (+0.25%)
:arrow_up:

resotocore/resotocore/report/inspector_service.py
82.11% <0.00%> (-0.99%)
:arrow_down:

resotocore/resotocore/cli/__init__.py
94.31% <0.00%> (+0.20%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


width of grid-item is not correct when grid-layout is in keep-alive

Software version (please complete the following information):

Browser [chrome]
Vue Version [e.g. 2.6.10]
vue-grid-layout Version: [e.g. 2.3.7]

Describe the bug

there are serveral pages in my project, the grid-layout is put in keep-alive
open the grid-layout page, everything is ok
jump to another page
resize the page
jump back to the grid-layout page
the size of the grid-layout is ok ,but the width of the grid-items is 2px

Me too.

I do have the same issue.

Me too.

Same for me, I have the grid-layout in a v-expansion-panel, but i don't have it open when loading the page. When opening the specific panel, the grid-items are squeezed together in a few px.
Is there any hope for a fix or workaround?

onWindowResize

it does not work.


Provide prompt when service worker updated and new version of site available

currently silently logs to console waiting next manual refresh, possibly better to show toast to let users know content has changed.

now site is live becomes important so users can feedback on updates

would also be good to show site version number somewhere


Clarify meaning of 'Common scenarios' table

I've edited the table in the section 'Common scenarios related to permissions' because, on first read, I felt that 'Read Data.txt' was the name of the file and I was confused about that the table was trying to illustrate, so I've added a column to the table to seaprate the Operation from the thing that is being operated on.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: rohancragg sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@rohancragg : Thanks for your contribution! The author, @nitinme, has been notified to review your proposed change.

Merged per approval received from Tessa Wooley in email

@rohancragg Thank you for your update. It adds clarity. We've merged the change and it should go live today. We appreciate it!


Unable to update RGB light status with Type 3

So I cloned the repo, was able to get the connection working between lights.
I have been able to turn the lights on and off. However, I am unable to set the RGB lighting with the color numbers.
I am able to set the white hue from 'soft' to 'cool'.
So what am I doing wrong.
sample code:
from magichome import MagicHomeApi
controller1 = MagicHomeApi('XXX.XXX.XXX.XXX',3,True)
controller1.get_status()
output: b'\x815#a\x01\x01\x00\x00\x00\x00\x07\xf0\x0fB'
controller1.update_device(0,0,255)
result: 'Cool' white light appears.
Any thoughts?

Just saw this. What kind of light is it?


Question about benchmark or smoothness

Hi again, hopefully it doesn't feel like I am spamming the repo.
When I ran super-koalio example, the game render is not very smooth and felt like fps is under 60.
I like the approach of this game engine as I think it's more declarative and data driven. Render according to game state is I think similar idea as to popular React Js. (Is this your intention? I think it will be nice to write your philosophy about game engine to README to be more clear of your intention.)
But I don't know if benchmark and performance is taken a toll because of this approach, do you think the performance issue is real (or is it just me who feels like it's slow)? And if yes, do you know how to solve it? @oakes

I tried both firefox and safari, and they are far smoother. I checked with older versions of play-cljs and clojurescript, and noticed the same difference. For example, this was compiled with play-cljs 0.10.0 and CLJS 1.9.456, and it too is slow in chrome and fast in firefox/safari. I am inclined to believe that chrome's performance has degraded for some reason. Very weird.
In chrome dev tools, you can see it's spending a lot of time on basic canvas operations (getImageData, drawImage) which are called by the tiled map renderer:

@oakes Yes I tried in safari and it feels much faster / smoother than from chrome

But this slow problem also worsens having to write custom physics (https://github.com/oakes/play-cljs/issues/16),
When frame is low and therefore delta time is high, Koalio fall down too much in one frame so it does not get detected for collision on the ground and just falls through below it.

if this game engine can do some optimizations like the ReactJS (compare the difference in memory and render only the difference), it would be great.

Using React would be interesting, but a very big change. I actually think React would work better with SVG rather than play-cljs' canvas-based rendering. SVG works inside the DOM, which is what React is meant for.
In the near term, I'd like to track down why chrome is so much slower. I haven't found any recent bug reports about this yet. Maybe it is something very subtle that doesn't happen often in canvas-based games. Let me know if you find anything.

I don't have much to add, just that I was experiencing this issue more than a year ago. So it's not a recent chrome bug or anything.

The weird part is, I used this demo game to give a talk to college students a few years ago, and I ran it in chrome with no issues. In fact, here's a video of the talk, lol... You can tell the game ran much smoother back then. So I'm leaning towards concluding that something happened to chrome in the meantime.

I haven't tested, but I heard p5 is not famous for its performance for gamedev. I wished you had used pixijs instead.  :P
There are people building other renderers for React, like https://github.com/Izzimach/react-pixi or even  https://github.com/weavejester/flupot-pixi, so I guess it's not limited to just DOM.


Ensure you cannot send test codes to validate method

Problem
In DigaApiClient->validateDigaCode method, you can input a test code and receive a "success" reply. Potentially a customer could input a test code into the DiGA and get access without a proper code that way.
Solution
Make a check at the start of the method to see if it is a test code (use DigaUtils method for this), and if it is, throw an exception OR build a response containing a custom error ("test code sent to real code validation" or something)

Hi @fongie, i fixed the issue...


Typescript getTheme() no exported member

Hi all, I love Nativebase and I use it a lot.
Today I started to use Typescript, everything is well configured, but the problem is that in my App.tsx I have this warning in the getTheme() as you can see below.
I have not ejected the theme actually.

I am using:
react-native: 0.61.5
react: 16.9.0
native-base: 2.13.8

running into the same issue. Any workaround ?

Any updates? I have the same issue.

Hi @IronTony , Please follow NativeBase theme Customize. You can't import getTheme from native-base.


SyntaxError: The requested module<EMAIL_ADDRESS>doesn't provide an export named: 'isPlainObject'

Describe the bug
You can't import fortune sheet from esm.sh
To Reproduce
Steps to reproduce the behavior:
try to import fortune sheet from esm.sh
import("https://esm.sh/@fortune-sheet/react")
for example
https://observablehq.com/d/37ef873372b7f3e4
Expected behavior
It doesn't error
Additional context
This is important if you want to try fortune-sheet from static websites, aka  serverless

maybe
https://github.com/ruilisi/fortune-sheet/blob/5daf15bbdf29c97a0cbd454ba122caaa8ba84bb6/packages/core/src/modules/selection.ts#L1
should use
_.isPlainObject  instead?

this is odd, i am unable to reproduce this as well. this code has been untouched for a long time now, but ideally both _.isPlainObject and isPlainObject should work. let me check this.

the javascript on https://observablehq.com/d/37ef873372b7f3e4 can be edited on real time, maybe you can see something?

your pr might solve this issue but i think this has something to do with the version exported by esm.sh. i havent seen any build errors locally due to this. i will merge your pr, but can you let me know if this is your first time using this library, and if you are able to use this library without a CDN?

alright so the issue is that the cdn has the mjs file for lodash which does not support named exports. i will am merging your pr so that this can go live in the next release.
swapping lodash for lodash-es solves this issue, but it best to just use the default export everywhere.

your pr might solve this issue but i think this has something to do with the version exported by esm.sh. i havent seen any build errors locally due to this. i will merge your pr, but can you let me know if this is your first time using this library, and if you are able to use this library without a CDN?

Managed to make it work but I had to overload react to get globalThis to work
 export default defineConfig({
   plugins: [react()],
   define: {
     global: 'globalThis',
   },
 })

I think it will trigger the same error in the browser as browser has no global scope, only nodejs does

It has been working fine for users until now in the browser though since
this is the first time this error has been reported. Though I have merged
your pr so that should take the uncertainty out.
On Tue, 19 Nov, 2024, 21:45 Kreijstal, @.***> wrote:

your pr might solve this issue but i think this has something to do
with the version exported by esm.sh. i havent seen any build errors locally
due to this. i will merge your pr, but can you let me know if this is your
first time using this library, and if you are able to use this library
without a CDN?
Managed to make it work but I had to overload react to get globalThis to
work
export default defineConfig({
plugins: [react()],
define: {
global: 'globalThis',
},
})
I think it will trigger the same error in the browser as browser has no
global scope, only nodejs does
—
Reply to this email directly, view it on GitHub
https://github.com/ruilisi/fortune-sheet/issues/626#issuecomment-2486153610,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFJLLTFA6QQ6U4AQXEIV3D32BNPYPAVCNFSM6AAAAABSCIIJ56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBWGE2TGNRRGA
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


Add custom source for GTM

Need a way to add my own GTM source instead of the hard coded https://www.googletagmanager.com

Up

Shipped in 0.8.0


Cmake "ArcGIS Runtime 100.8 Qt Quick app" template runtime problem

On windows: when selecting "ArcGIS Runtime 100.8 Qt Quick app" from the Qt creator wizard and selecting Cmake as buildssystem, where I set the following Cmake values:

ArcGISRuntime_EsriCommonQt_IMPLIB = C:\ArcGIS\Qt100.8\sdk\windows\x64\lib\EsriCommonQtd.lib
ArcGISRuntime_EsriCommonQt_LIB = C:\ArcGIS\Qt100.8\sdk\windows\x64\bin\EsriCommonQtd.dll
ArcGISRuntime_runtimecore_LIB = C:\ArcGIS\Qt100.8\sdk\windows\x64\bin\runtimecore.dll
ArcGISRuntime_INSTALL_DIR = C:/ArcGIS/Qt100.8
QML_IMPORT_PATH = C:/ArcGIS/Qt100.8/sdk/windows/x64/qml

I keep getting the following error during runtime debugging:

QQmlApplicationEngine failed to load component
qrc:/qml/main.qml:16 plugin cannot be loaded for module "Esri.ArcGISRuntime": Cannot load library C:\ArcGIS\Qt100.8\sdk\windows\x64\qml\Esri\ArcGISRuntime\ArcGISRuntimePlugind.dll: The specified procedure could not be found.

How can I fix this? Would it be possible to fix this in the "ArcGIS Runtime 100.8 Qt Quick app" template?

@jensdenbraber can you please post this question on our GeoNet forum instead? We like to keep this repo's issues to be specific to our toolkit, whereas the issue you mention is with the Runtime API itself. Thank you

alright, I posted it here: https://community.esri.com/message/928916


feat: java Kafka To BQ via Dstream template

https://github.com/GoogleCloudPlatform/dataproc-templates/issues/897
New java template  KafkaToBQDstream (Kafka To BQ via Dstream) for Dataproc

@chakresh84 Please add Integration test to Java Jenkinsfile.
ref. https://github.com/GoogleCloudPlatform/dataproc-templates/blob/main/java/.ci/Jenkinsfile#L306

@chakresh84 The integration test appears to be broken. It seems that the Kafka connector is unable to establish a connection with the Kafka Brokers, as evidenced by this ad-hoc pipeline run: https://dataproctemplatesci.com/blue/organizations/jenkins/dataproc-templates-build%2Fad-hoc%2Fintegration-tests-java/detail/integration-tests-java/404/pipeline/500
Another observation: if the connection isn't successful, the code retries indefinitely, consuming resources unnecessarily. Ideally, timeout should have handled this. Please examine this behavior as well.

@chakresh84 The integration test appears to be broken. It seems that the Kafka connector is unable to establish a connection with the Kafka Brokers, as evidenced by this ad-hoc pipeline run: https://dataproctemplatesci.com/blue/organizations/jenkins/dataproc-templates-build%2Fad-hoc%2Fintegration-tests-java/detail/integration-tests-java/404/pipeline/500

@vanshaj-bhatia  @vanshaj-bhatia Yes it failing because it is not below error [1]. Do we know who maintains the kafka server "<IP_ADDRESS>:9093" ? Also,  how this is being handled in the other templates which are based on Kafka?
[1]
23/12/31 13:33:35 INFO KafkaConsumer: [Consumer clientId=consumer-testgroup-1, groupId=testgroup] Subscribed to topic(s): integration-test
23/12/31 13:33:35 WARN NetworkClient: [Consumer clientId=consumer-testgroup-1, groupId=testgroup] Connection to node -1 (/<IP_ADDRESS>:9093) could not be established. Broker may not be available.
23/12/31 13:33:35 WARN NetworkClient: [Consumer clientId=consumer-testgroup-1, groupId=testgroup] Bootstrap broker <IP_ADDRESS>:9093 (id: -1 rack: null) disconnected
23/12/31 13:33:35 WARN NetworkClient: [Consumer clientId=consumer-testgroup-1, groupId=testgroup] Connection to node -1 (/<IP_ADDRESS>:9093) could not be established. Broker may not be available.

@chakresh84 I am maintaining Kafka broker "<IP_ADDRESS>" on a single VM for integration tests.
I've gone through the logs, debugged the issues, and made adjustments to the VM configuration to enable the connection, and it appears to be working now.
Logs: Previous, Current

Great job! The template look good to me. Please include this template to both the readme files (root and Java). After merging, proceed with the next step to carry out the hardening of the template.

@vanshaj-bhatia  README changes are done


[Question] Why is the eval environment seed always the same, and is there a way to change this behaviour?

Thank you for this fantastic project. I have played around with a bunch of the examples and everything there seems to work fine.
However, upon adding my custom environment, I have ran into the issue where the eval environment is always the same. In the case of my training session, the eval environment by random chance was a very difficult one and this meant that the eval/mean_reward stayed at one, while the rollout/ep_rew_mean kept improving. From print statements from my environment, I can see that the seed is always the same.

Is there a way to change this behaviour or am I misunderstanding something (e.g. eval being 1 vs rollout)? In this case, the change would mean that the eval environment is different every time.
I am using ubuntu and the A2C implementation

I think I was a bit confused by my eval environment being the same each time because I was using the same seed. I realised that if I use multiple eval environments, then I get to evaluate the environment using multiple seeds. Sorry for the silly issue


Add Support for Python 3.10

Dev work by me on pyZscaler lately has been using Python 3.10.
We will now add official support for 3.10.

Resolved in 1.0.2


Dynamically adding controls?

Is there any way to dynamically add controls, kind of like how the Widget tab in the Customizer works? (ie. having a button called Add Widget, and allowing drag and drop between Widgets).
Something like that would be great to allow users to use the Customizer for page building.

Currently there's no way to do that.
I'm exploring ways to make that happen and there's another issue related to this one on https://github.com/aristath/kirki/issues/40
One of the main issues we're having with that is figuring out a way to create controls inside another control, and the format of the saved data.
I'll close this one as a duplicate, feel free to add your opinion and suggestions on #40.
Hopefully we'll figure this one out soon enough. :smile:

Thanks, I'll check it out!


Fix inherit policies at item move

References

Fixes #8987
Requires Angular PR: https://github.com/DSpace/dspace-angular/pull/2423

Description
In ItemServiceImpl, adjusts the behavior of inheritCollectionDefaultPolicies such that (if given additional boolean parameter is true), all read policies attached to the given item, its bundles and its bitstreams are removed and replaced by the collection's default policies (default item read policy for item and bundles, default bitstream read policy for bitstreams). This only happens if the collection has these default policies.
Instructions for Reviewers
Changes

ItemService and ItemServiceImpl: Added variants of the methods inheritCollectionDefaultPolicies, adjustBundleBitstreamPolicies and adjustItemPolicies with an additional boolean parameter that indicates whether read policies have to be overridden.
ItemServiceTest: Added new tests testMoveItemToCollectionWithMoreRestrictiveItemReadPolicy and testMoveItemToCollectionWithMoreRestrictiveBitstreamReadPolicy that test the new behavior.
InstallItemServiceImpl: Adjusted the call to itemService.inheritCollectionDefaultPolicies in installItem to use the non-overriding variants of the ItemService methods.

Testing

Create a regular and restricted collection (restricted collection does not have group "Anonymous" on its default item/bitstream read policy, but rather for example the "Administrators" group).
Create an item in the regular collection, check its RP, verify it has anonymous read RP
Move the item to the restricted collection with inheritPolicies=true
Check the item’s RP again, now the only read RP should be the one for the "Administrators" group inherited from collection. The original RP for "Anonymous" group should be gone.
Move item back to regular collection with inheritPolicies=true => Verify it has Anon ITEM_READ RP again, no longer has Admin one (so back to publicly available item)

Checklist
This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome). If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!

[x] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & integration tests). Exceptions may be made if previously agreed upon.
[x] My PR passes Checkstyle validation based on the Code Style Guide.
[x] My PR includes Javadoc for all new (or modified) public methods and classes. It also includes Javadoc for large or complex private methods.
[x] My PR passes all tests and includes new/updated Unit or Integration Tests based on the Code Testing Guide.
[x] If my PR includes new libraries/dependencies (in any pom.xml), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.
[x] If my PR modifies REST API endpoints, I've opened a separate REST Contract PR related to this change.
[x] If my PR includes new configurations, I've provided basic technical documentation in the PR itself.
[x] If my PR fixes an issue ticket, I've linked them together.

Ported to dspace-7_x in https://github.com/DSpace/DSpace/pull/9039


Tutorial puts "Description" under the input field

See here:

Thanks @ShalokShalom for the issue! I believe both of these are related to #2060 - we are not rendering the tutorial screen in a 'responsive' way. The text surface is way too small for it be usable!


Add string variation to all REs

Overview
It's useful to have string versions for partial matches and embedding. Let's make a string version of each RE.
Deliverables

[ ] add 'XXXREString' for each RE.
[ ] update documentation

Work for this issue will begin begin on branch work-liquid-labs/regex-repo/27.


Feat: Implementation User Profile Card | Containing User's Data

Describe the feature
I want to implement the Github User profile Card that will be shown to user when a username entered.
Add ScreenShots

Like this.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm GSSOC'24 Extd registered Contributor
[X] I'm Hacktoberfest registered Contributor
[X] I want to work on this issue

Hey! Did you read the README.md ??

Hey! Did you read the README.md ??

Oops, sorry, not read at the time of issue creation, but have read now and understand.


Update labels for n>N turns and variants (reversing)

I think it is a good choice to not indicate "live" information on the sector-cross while writing a character (i.e. not display one character in each sector after a turn has begun), because this would be too dynamic and confusing, while the user could no longer peek ahead for their next input.
However, I think an update of the labels would be appropriate when the turns exceed N = 4, the number of sectors (= applying Shift) or when reversing direction to access nested inputs (= diacritics/variants).

Labels would change to the Shift-ed labels (generically a set indexed by n, the number of turns div N, the number of sectors) when exceeding n > N
Labels would change when the direction has been reversed

Displaying live information might be useful for beginners in my opinion.
Of course this should be a setting that can be disabled.
I do agree that showing it in the sectors might be confusing.
Showing the currently selected letter in the circle may be a better option.
In this way you move to the circle to "accept" the currently displayed character.
This doesn't hinder the visibility of the sectors and shouldn't create too many problems, unless you're typing very fast and keep seeing changing letters in the circle, which might be confusing.

I second the idea because there will be always foreign characters you don't remember because you write them four times a year.
(I assume a (custom) keyboard with lot of characters.)
Without a live preview in such cases, you won't be able to use such a keyboard at all.
Hence the idea to switch the labels when effectively switching layers is a good one, though you may use a delay before actally doing it. This way it does not disturb, but as soon as the user make a pause to think about the location, it will be ready on his/her finger tips :P

Hi! I am a new user of this keyboard and just started to learn how to use the feature.
One thing that I'm missing is what is discussed here, a live preview feature, to help ease me on learning the keyboard :joy:
I am thinking, instead of updating label or show it in the circle, maybe we can use a popup (similar to what traditional keyboard pops up when typed). And in the popup, we can highlight currently selected characters and display other characters when we have crossed one of the sector
Something like this

We can also shows the popup when user starts to enter one of the area (when choosing which sector they want to enter)

@rickyson96 I love you idea.
The biggest problem is setting up a ... what are we calling this? 'live-preview'? 'letter-preview'? 'letter-assist'?...
anyways, the biggest problem with setting this up is the fact that all the letters are completely configurable, so the app has no idea what the letter is at any given place ahead of time, there might not be any, I don't know how to explain this...
The one solution for this would be set up a different format for the layout files and allow specific number of entries in it, all mandatory. No other gestures would be allowed in the files, if this is achieved, then and only then would I be able to add 'letter-preview' (yea I picked one) feature with the mental peace that the app won't crash.

I'm thinking of setting up the 'letter-preview' feature the way you've set up the labels on the main keyboard (depends on the character list pulled from the configuration selected by the user) and limiting it to only the gestures that start from the inner circle if that makes sense.
The thing is that I'm neither familiar with the codebase, nor with android/IME development, so I might be misleading with the comment above.

... I be able to add 'letter-preview' (yea I picked one) ...

I'm thinking of something like popup-assistant or something that indicates that it's a popup, but I'm happy with the letter-preview too.
Anyway, thanks for the great work and app! Really enjoyed using it (though I'm still learning to use it).

@rickyson96 Why not use the circle to display the current glyph, as @davidoskky suggests ?
I feel that an extra popup adds a layer of stuff happening on the screen, when we already have the info written in the sectors.
So instead we could use the already-there info, and highlight it according to the gesture.
I didn't think of it at first, but i agree with @ManDay that a live update that fades out too much the other sectors and glyphs could be confusing to prepare the next inputs.
So to summarize, to me, the solution should be one where you can :

see the current glyph "in cache", for example inside the circle
highlight the current glyph in the sector to know "where" you are in the sequence (bold, color, others lightly fade)
dynamically change labels when n>N and when going back one sector to produce variants (see also #65)

I genuinely believe this is one of the most needed features of the app to facilitate learning and retain users !

The biggest problem with setting this up is the fact that all the letters are completely configurable, so the app has no idea what the letter is at any given place ahead of time, there might not be any, I don't know how to explain this

Oh i see @flide , do you mean that the app is not populating the display as you go, but instead populates it once, and then reads from the layout file for each input?

yes

@Paperweb I am suggesting popup because it feels like my thumb is constantly blocking the view to the circle and sectors while typing, while with popup, we can place it at the top so that we can view it clearly.

does #271 fix this? can this be closed?

I think what's still missing is some indicator for diacritics/reversal. Otherwise looks fine!

my thumb is constantly blocking the view to the circle and sectors while typing

strongly agree with this, current highlight is very limited use because i (as a very beginner) need to stop typing and awkwardly look under the thumb to confirm what is the current letter. Live preview in the top sector would be a huge win (even just the current letter, can think of showing other characters later).


►$100►100% WORKING free Xbox gift card codes ♀ free Xbox gift cards 2024😍No Human verification*

Hey there, Xbox fans!  We've got something special in store for you - introducing the Xbox Gift Card Generator 2024! That's right, we're bringing you the latest and greatest way to score free Xbox gift cards and elevate your gaming adventures.With the Xbox Gift Card Generator, you can say goodbye to spending your hard-earned cash on game purchases.
🔴👉 👉FREE XBOX GIFT CARD  GENERATORS
🔴👉 👉FREE XBOX GIFT CARD  GENERATORS
Our innovative tool allows you to generate free Xbox gift card codes, giving you access to a world of thrilling games, add-ons, and more, without breaking the bank.
But wait, there's more! We're not just stopping at the Xbox Gift Card Generator - we're also hosting epic Xbox Gift Card Giveaways! Get ready to participate in exciting contests and sweepstakes for a chance to win free Xbox gift cards and unlock a treasure trove of gaming goodness.
And that's not all - we understand the value of in-game currency, which is why we've introduced the Xbox Money Generator. Say hello to a hassle-free way of earning free Xbox money to power up your gaming experience. Whether it's purchasing in-game items or expanding your gaming library, the Xbox Money Generator has got you covered.
For those of you looking for the ultimate gaming treat, the Xbox Free Gift Card is here to make your day. Yes, you heard that right - free gift cards for the Xbox community! It's our way of showing appreciation to our dedicated gamers and making sure you have all the resources you need to conquer new gaming challenges.
Redeeming your Xbox gift cards has never been easier, thanks to the Xbox Gift Card Redeem feature.
Simply enter your gift card code and unlock a world of gaming possibilities. Whether you're a seasoned gamer or new to the Xbox universe, the Xbox Gift Card Redeem feature is designed to make your gaming journey seamless and enjoyable.
So, what are you waiting for? Dive into the excitement of the Xbox Gift Card Generator 2024 and elevate your gaming experience like never before. With free gift cards, giveaways, and a money generator at your fingertips, the possibilities are endless. Get ready to level up and unleash the full potential of your gaming adventures with Xbox!

Seems Youtube's trying out new techniques 💀


Please invite me to the GitHub Community Organization

Name
Deepak Dhan
Discord Username (if applicable)
493264865696415744
Additional Context
I came to know about the DevRhylme Foundation through [mention source, e.g., LinkedIn, a friend, or an event]. I admire how this community fosters innovation and collaboration while offering opportunities for skill development through its workshops and projects. Joining this foundation aligns with my goals to grow technically, contribute to impactful initiatives, and connect with like-minded individuals passionate about technology and learning.

invitation request


Installing Error

Hi,
I tried to install Tao Toolkit from this link: https://docs.nvidia.com/tao/tao-toolkit/text/tao_toolkit_quick_start_guide.html
When I tried this command, I get error:

Error like this:

I should use Tao Toolkit but if I couldn't, only Retail dataset and pretrained model can be enough .I just want to use retail pretrained model. I need this model because my school project depends this dataset. Can you help me? I need retail dataset and pretrained model. Can you share with me?

First install nvidia-container-toolkit following the instructions from nvidia docs
Then update the setup/quickstart_launcher.sh script starting from info "Checking nvidia-docker2 installation" (line 114)
change the following script:
    info "Checking nvidia-docker2 installation"
    if command -v nvidia-docker >/dev/null; then
        nvidia_docker_version=$(nvidia-docker version | grep "NVIDIA Docker:" | cut -d " " -f 3)
        [[ $nvidia_docker_version = 2* ]] || warning "nvidia-docker2 is required, current version is $nvidia_docker_version"
    else
        error "nvidia-docker not found."
    fi

to
    info "Checking nvidia-docker2 installation"
    if command -v docker >/dev/null; then
        if docker info --format '{{json .Runtimes}}' | grep -q nvidia; then
            echo "NVIDIA Container Toolkit is properly installed."
        else
            warning "NVIDIA Container Toolkit is not detected in Docker runtimes."
        fi

        # Check Docker version
        docker_version=$(docker version --format '{{.Server.Version}}')
        echo "Docker version: $docker_version"

        # Check NVIDIA Container Toolkit version
        nvidia_toolkit_version=$(dpkg -l | grep nvidia-container-toolkit | awk '{print $3}')
        if [ -n "$nvidia_toolkit_version" ]; then
            echo "NVIDIA Container Toolkit version: $nvidia_toolkit_version"
        else
            error "NVIDIA Container Toolkit not found."
        fi
    else
        error "Docker not found."
    fi