Bubble Sort

implemented bubble sort in Java
Fixes #[Add issue number here."First steps for issues #IssueNumber]
Language: [Add here in what language you have implemented this data structure or algorithm.]

Also added the commit for binary search in Java

This has multiple files in one pull request

i added two pull request separately but they merged together. They are in their respective folders, so I think it would not be a problem for you.


First position of ads

It should be great if I can set the index of first ads item on the list (I use recyclerview). At this time, the first ads index always equals to mNoOfDataBetweenAds

@IHNEL I'm gonna implement it shortly...

@IHNEL Hi, kindly pull the first_adv_index branch (experimental) to get this feature.

Thanks.
On Wed, Jul 6, 2016, 07:37 Clockbyte Team<EMAIL_ADDRESS>wrote:

Closed #4 https://github.com/clockbyte/admobadapter/issues/4.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/clockbyte/admobadapter/issues/4#event-713753607, or mute
the thread
https://github.com/notifications/unsubscribe/AAqqUODeDupMq0IXirvjChZR4KHGH_WRks5qSvivgaJpZM4I2bL-
.


Hi, I want to train a model on mobile but I don't find something helpful. Thus, I want to know how to implement my ideas.

@Yangqing

@sophiebits

@jacksonly The way people do is, they train the model on a computer and then use the trained model on the mobile for inference.


TSX: Incorrect Tag Matching

See the end tag A is matched with the self-closing A inside.

We don't do anything special here. Matching done by atom. Might be us not tokenizing self closing tags correctly.

File on atom/atom?

File on atom/atom?

good idea :rose:

Confirmed the same issue with JSX using package language-javascript-jsx.

Just checked HTML grammar. It works fine :

Guess we / jsx doesn't do end on self closing. That's what they will probably point us to :rose:

So likely something need to change on this rule?
	"jsx-tag-open":
		name: "tag.open.tsx"
		begin: '''
			(?x)
			  (<)
			  ([_$a-zA-Z][-$\\w.]*(?<!\\.|-))
			  (?=\\s+(?!\\?)|/?>)
		'''
		end: "(/?>)"
		beginCaptures:
			"1":
				name: "punctuation.definition.tag.begin.tsx"
			"2":
				name: "entity.name.tag.tsx"
		endCaptures:
			"1":
				name: "punctuation.definition.tag.end.tsx"
		patterns: [
			{
				include: "#comment"
			}
			{
				include: "#jsx-tag-attributes"
			}
			{
				include: "#jsx-tag-attributes-illegal"
			}
		]

Sorry, not expert in regex. :P

Probably this is the issue:

There is an extra begin jsx inside the end tag
And for tsx:

There is an extra open tsx at the beginning.

Seems like it is indeed atom:
https://github.com/atom/bracket-matcher/issues/115


Support: IE11

I am using this package in combination with webpack as an es6 module via import.
In the changelog, there's an entry v4.2.3 together with the message "Add support for IE11".
However, I can NOT confirm that. As soon as I add the code for the map, the js runs into a syntax error, in IE11.
You are using async-await / Promises which are NOT supported in IE by default, so what does this "Add support for IE11" actually mean?

nvm, dropped the library anyway...


Add test setup

epic here: https://github.com/datopian/data-api/issues/1
When developing data-api app I want to have test framework setup and ready to be able to write unit tests during development.
Acceptance criteria

[ ] There is a test framework in the repo with a smoke test written and passing
[ ] There is a mock framework in the repo used throughout tests

Tasks

[ ] Find the framework to use (Supertest remains the default for node http server tests ...)
[ ] Write a simple smoke test (e.g. something like / page returns some response)
[ ] Setup github CI to run the tests on PR to master branch
[ ] Create a PR to tests that it's working
[ ] Setup mocks / fixtures i.e. the fixture postgres database (For mocks we can either use nock (example of using nock here - https://github.com/datopian/frontend-v2) or mitm.js - interesting to give a try)

this should probably be after setting up graphql endpoint to see what kind of mocks we will need (and generate them easily)

[ ] Write a test using a fixture (a simple one that tests functionality working out of the box)

DUPLICATE. Will be doing integration tests mostly, see #4


[Feature Request] Light/Dark Mode based on system settings

Many apps and Web apps have an option to use the Light/Dark Mode based on system settings. In LubeLogger you can only manually switch between the two modes in the settings. It world be great to have an option for automatic switching based on the OS's setting.

Next Release:

Released, I have added a second toggle for adaptive color mode based on system preferences:


TagUI not working properly - user checks and replication steps

Hi team!
I am using TagUI. But I am facing issues repeatedly. I am running a program which includes some desktop automations like clicking start menu in Win 10, clicking maximize button, etc. I reinstalled the setup and also Sikuli setup. But I am unable to do these automations. Bot is taking too much time. Please help me resolve the issue! Thanks!

Hi @Hassan-Ali123 try running through the steps below to see if it fixes the issue -
https://github.com/kelaberetiv/TagUI#visual-automation
After that, you can attach the log files in tagui/src/tagui.sikuli folder so that we can see if there is any error message from the SikuliX visual automation engine.
Lastly, you can try running on other colleagues computers or your personal laptop to see if it works. And then compare the environment configurations to see why your work laptop cannot work.
Copying @siowyisheng fyi.

Thanks for the suggestions. I will let you know after acting upon these!

Should we attach the log files manually or using code? Please guide! Thanks!

I did as guided in the link you provided. But it's still taking too much time to perform desktop automation. I also checked the Registory Editor, the key named 'Prefs' is already added there. Moreover SikuliX is also installed. Some other solutions that guide me near to the problem, please?
Thanks!

Yes attach 2 things -

your sample script to replicate problem
log files in tagui\src\tagui.sikuli folder

Attach_Zip.zip
The attached zip folder contains the coded files. I checked in tagui.sikuli folder. But I didn't find any files with name as 'log'. Can you tell the filename of the file which maintains the tagui logs?

Is my Python not installed properly or something else? Should I uninstall and re-install it??

Your code is -
vision click(find('C:\tagui\start_menu.PNG')

Follow the example in flow samples in visual automation section and see what happens  -
click start_menu.PNG

If it does not work, I'm not sure what is the cause of the issue, because you already check through the steps in visual automation link, make sure you have 64-bit JDK, checking java -version etc.

Thanks for the suggestions! Ok I re check my code and configurations as you asked me!
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Ken<EMAIL_ADDRESS>Sent: Friday, December 20, 2019 10:07 PM
To<EMAIL_ADDRESS>Cc: Hassan<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [kelaberetiv/TagUI] TagUI not working properly - user checks and replication steps (#658)
Your code is -
vision click(find('C:\tagui\start_menu.PNG')
Follow the example in flow samples in visual automation section and see what happens -
click start_menu.PNG
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/kelaberetiv/TagUI/issues/658?email_source=notifications&email_token=AJGETEZI3UGGPL6VD7J6I2TQZT3ULA5CNFSM4J54OHL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHNQWIQ#issuecomment-568003362, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJGETE35HCZUDTRMDCCCPFLQZT3ULANCNFSM4J54OHLQ.

Closing for now pending further inputs, you can reopen whenever!


refactor : function generation assists

Separated code generation from finding position for generated code. This will be ground work for introducing static associated function generation.

That would be nice if this PR is merged today.

bors r+


Black screen after logging into Plasma via SDDM

Describe the bug
When I login to my PC via SDDM it just appears a black screen. The computer still works as I can enter the ttys and do cli stuff but plasma does not start unless I do startplasma in a tty.
What did you expect to happen?
What I expect to happen is that when I login with SDDM it takes me to my Plasma session right after.
Output of rpm-ostree status
State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-nvidia-open:testing
                   Digest: sha256:45cd7d26a4b5fa5c1a8263aefd74bddbfa3de00fddf8d70870802025bb49b117
                  Version: testing-41.20241210 (2024-12-10T08:19:43Z)
          LayeredPackages: sunshine

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-nvidia-open:stable
                   Digest: sha256:6983413a64089ba365765c4da1e6b167230b97b61d2c884acfa9fc8e580e7f23
                  Version: 41.20241125 (2024-11-26T03:52:52Z)
          LayeredPackages: sunshine

Hardware
CPU: Intel i5-14600k
GPU: Nvidia 4070 Super
RAM: 32GB
Extra information or context
No response

Hello,
For additional information to help track down this issue, could you confirm whether this issue is a new development upon rebasing from 41.20241125 to testing-41.20241210 as shown in the embedded rpm-ostree status output? If so, as a step further, it may be helpful to perform additional rebase operations to identify precisely which version and/or branch (between those two) introduces the issue.

Hello I have rebased the latest stable and testing which is version 41.20241210 and also the previous version in the ostree status 41.20241125. All three have led to the same issue mentioned. If there is a way I can get logs for SDDM to maybe see what is the barrier I can also share those as well but not sure how to get it.

Hello I have rebased the latest stable and testing which is version 41.20241210 and also the previous version in the ostree status 41.20241125. All three have led to the same issue mentioned. If there is a way I can get logs for SDDM to maybe see what is the barrier I can also share those as well but not sure how to get it.

journalctl -u sddm.service -r

Thank you for the command. When using it in a tty it shows that it starts to run /usr/bin/startplasma-wayland but, for some reason will not display unless triggered manually via startplasma-wayland.

Update to this after removing the sunshine layer plasma seems to be booting up like normal. Not really sure why this would fix the issue.

Update to this after removing the sunshine layer plasma seems to be booting up like normal. Not really sure why this would fix the issue.

Thanks for the update! I'll keep an eye out for that in case someone else runs into it. Do you know if the Sunshine flatpak works right on your system?

The flatpak version didn't work for me on bluefin a few days ago, in general sunshine seems to be something that needs a daemon going in the background to talk to and doesn't work well containerized (like LACT etc).
There is a COPR beta branch that works well on Fedora Workstation that could be rpm-ostreed, but I haven't had a chance to try it: https://github.com/ublue-os/bazzite/issues/1710#issuecomment-2546463314
Judging by https://github.com/LizardByte/Sunshine/issues/2948 the ujust method is still broken.

Yeah have not really had any luck with the flatpak build of sunshine so not sure what to do about it.

Chiming in to add that I intermittently had this issue across the last few releases and removing the sunshine layer from my install has completely addressed it. I have also had no luck with the flatpak build so hopefully their COPR beta branch will land soon!
I'm happy to test rpm-ostreeing it to see if it improves things at all.

As of the latest stable update with sunshine being in the image the issues I had before do not exist and is working as expected. Closing this issue for now but will let the thread know if anything comes up.


Create Carbon Capture Backers.md

Project Abstract

Multi-chain IDO platform to bring funding to projects that capture carbon and yields Carbon Removal Credits.

For which grant level are you applying?

[x] Level 2:  Up to $50,000, 3 approvals

Application Checklist

[x] The application template has been copied, renamed ( project_name.md) and updated.
[x] A BTC or Ethereum (DAI/USDT) address for the payment of the milestones is provided inside the application.
[x ] I have read and acknowledged the terms and conditions.
[x] The software delivered for this grant will be released under an open-source license specified in the application.
[x] The initial PR contains only one commit (squash and force-push if needed).
[x] The grant will only be announced once the first milestone has been accepted.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi Boone, thank you for your application! Looks interesting. We will look into it as soon as possible.
In the meantime, could you expand on the milestones in your roadmap by providing a list of deliverables (with a verifiable and reproducible specification)? See our application template for examples.

Pinging @BooneTB

Thanks for the ping @semuelle :)
We are in the process of mapping out the milestones, and preparing to go live with the initial IDO.
We are working on this so please keep our application open, and stay tuned for updates in coming weeks.
Best wishes!

Glad to hear! Keep us posted.

@BooneTB any updates? Note that we generally close applications after 2 weeks of inactivity. If you're not sure when you'll be able to get back to it, you can always close it and reopen it when you're ready, especially seeing as you were planning to expand on it anyway.

I'll go ahead and close this for now. Feel free to reopen this PR or create a new one when you're ready to apply.


Make the site more mobile friendly

Now looks like this:

Note: the settings panel is pretty borked on mobile and needs to be reworked.

@devshawn seems I cannot approve / merge 👎

@clayreimann - Thanks for the PR! Can you merge master and resolve the conflicts? (You can probably merge master, and then just re-create the package-lock.json that is conflicting).


Ingress transform correctly handles host-specific rules

Fix https://github.com/istio/istio/issues/18963

@sushicw: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

unit-tests_istio
00756aa1c33642e625915a45304c9e8269d462b7
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test unit-tests_istio

@utako @ayj PTAL

In response to a cherrypick label: new pull request created: #19361


🐛 Bug Report: Two many rows are rendered in the (Catalog) table in the background, causing unresponsive page

📜 Description
I noticed a bug in @material-table/core, which only becomes apparent when you have a lot of entities in your catalog.
The bug is quite severe, it makes the page unresponsive for x seconds depending on the amount of entities. I've seen hick-ups of over 20 seconds.
I've tried updating @material-table/core. Backstage is currently using ^3.1.0, but the latest version is 6.2.1. The latest version compatible with MUI 4 is @material-table/core 5.x. Updating to 5.1.9 did not solve the problem(s).
👍 Expected behavior
It should not render more rows than the page size
👎 Actual Behavior with Screenshots
It renders all rows (in the background) in the set, disregarding page size.
👟 Reproduction steps
In the catalog, set to a kind filter so that it has a lot of entities, let's say 5,000. Now change the kind filter to a kind that has less entities then the page size (20 by default).
What happens is that the pagination in the table is removed before the new entities are loaded and thus all 5,000 entities are rendered.
Another problem is that every time the loading prop changes in the table, all visible rows are re-rendered. Leading to a lot of unnecessary renders.
📃 Provide the context for the Bug.
Short term solution:
Instead of using the @material-table/core Table's loading prop, use a loading indicator (LinearProgress for example) with an early exit. So the Table is not rendered while loading is true. This fixes the above two issues, but it's visually different.
Long term solution:
Maybe this problem is fixed in @material-table/core 6.x (didn't check), but it requires MUI 5
Use MUI's Data Grid (question: why was this not used in the first place?)
🖥 Your Environment
No response
👀 Have you spent some time to check if this bug has been raised before?

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

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

Yeah fortunately there's been some steps towards making this catalog page paginated.
You can read more and get involved here #12247

Thanks for the report, I don't believe the core issue is re-rendering here. Currently, the catalog does not have support for large numbers of catalogs in the view you're talking about. All entities are loaded at once and filter client side. While we could adjust this by changing the table library or other optimizations, the right direction to end up is defined in #12247. That ticket is to make all filtering happen server side and only return a single page of entities.
We're working towards #12247 which would cause the table to only render the single relevant page and have the backend do the filtering and loading. The performance issues with large catalogs are a known issue that #12247 should fix.

Sorry for the late reply.
Pagination will not fix this issue. This is about a rendering problem in the table.

Pagination will fix the issue as we won't be rendering 5000 rows anymore, just pages from the API instead. Cc @vinzscam

Pagination will hide the issue. There will still be unnecessary re-renders of table rows.

Pagination would be set to the table page size (I think), which would solve the issue of massively unnecessary rerenders. The two impacts of that that you describe seem more like upstream issues in the table library (as you mention) and should be investigated there.

Why is @material-table used? Why not MUI's data grid?

Pagination will hide the issue. There will still be unnecessary re-renders of table rows.

when we refer to pagination, we refer to server side pagination. So instead of returning all the entities present in the database, we return and render a bunch of them and then the frontend will fetch the next batch once the user want to navigate to the next page.
This approach will actually solve any frontend performance issues.

Why is https://github.com/material-table used? Why not MUI's data grid?

I guess this project was started before datagrid was a thing. Anyway, by switching to server side pagination we won't need any of these advanced data libraries.

Related #12247


gopmod: classfile support multiple ext

Codecov Report
Patch and project coverage have no change.

Comparison is base (df967ba) 100.00% compared to head (a9fac4b) 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff            @@
##              main        #8   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines          317       336   +19
=========================================
+ Hits           317       336   +19

see 2 files with indirect coverage changes

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


unsubscribe without an argument should not unsubscribe from "undefined"

Version: node_redis: 2.6.2 redis: 3.0.5
Platform:  Node.js 0.12 on linux
Description:

The reference for the redis interface here states the unsubscribe call, when given no channels, unsubscribes from all channels. The current behavior of the unsubscribe function seems to contradict the redis interface documentation.
redis = require("redis")
rc = redis.createClient(25002)
rc.unsubscribe()
node_redis: Deprecated: The UNSUBSCRIBE command contains a "undefined" argument.
This is converted to a "undefined" string now and will return an error from v.3.0 on.
Please handle this in your code to make sure everything works as you intended it to.

Also, if the decision to remove the ability to call unsubscribe with no arguments has been made, it should probably be removed from the example code on the front page of this project in the pubsub section:
...
    if (msg_count === 3) {
        sub.unsubscribe();
        sub.quit();
        pub.quit();
    }
...

Sorry, I got myself confused with the overriding of unsubscribe I was doing. I thought I had removed that from my workspace before filing the bug but apparently not.


Additional file header code fixes

Expand testing for SA1634 code fix
Enable FileHeaderCodeFixProvider for SA1637
Enable FileHeaderCodeFixProvider for SA1638
Enable FileHeaderCodeFixProvider for SA1640
Enable FileHeaderCodeFixProvider for SA1641

:+1: Looks good to me.


Support for kotlinx-datetime

Hello 👋  It will be great to have support for kotlinx-datetime rather than ThreeTenABP. It will be also required in case you will be supporting Kotlin Multiplatform later on!

Indeed, I've created the kmp label so we can track all the things needed to offer a -kmp flavor of the template

@cortinico  Another reason now ThreeTenABp has this in their readme.
Attention: Development on this library is winding down. Please consider switching to Android Gradle plugin 4.0, java.time.*, and its core library desugaring feature in the coming months.

Yup we should definitely look into this 👍 cc @macisamuele


fix isSomeInterface example

The example is showcasing a type guard function, the return signature of the function needs to be like it was (if you're not using the function as a type guard, the return type is still boolean even though the explicit signature is param is <something>).


Sync C# Array with Core

Summary

Add AddRange method.

There's precedent in .NET for a method named AddRange (e.g.: List<T>).
Serves as the equivalent of GDScript's append_array. Added to Core in https://github.com/godotengine/godot/pull/43398.
Uses similar naming to Add which is the equivalent of GDScript's append.
Should offer better performance than adding items in a for loop because the implementation checks if the IEnumerable is a Godot array and uses a single interop call; otherwise, falls back to iterating the collection.

Add Fill method.

Added to Core in https://github.com/godotengine/godot/pull/46476.
Should offer better performance than setting the items from C# as that would require multiple interop calls.

Add Max and Min methods.

Added to Core in https://github.com/godotengine/godot/commit/adc0188d9facca0a85c7a956e33bb5ba48ee738d.
Should offer better performance than iterating the array from C# or using LINQ as that would require marshaling every item.

Add PickRandom method.

Added to Core in https://github.com/godotengine/godot/pull/67444.
Users may want to consider using System.Random instead.

Add Reverse method.

There's precedent in .NET for a method named Reverse that reverses in place (e.g.: List<T>).
Also implmented in Core and exposed to scripting.
Should offer better performance than reversing the array from C# or using LINQ as that would require marshaling every item.

Add RecursiveEqual method.

Serves as the equivalent of GDScript's == and != operators which compare by value. These operators still compare by reference in .NET since that's likely the users expectation as all .NET collections work like this.
Should offer better performance than comparing iterating and comparing the array items from C# or using LINQ as that would require marshaling every item.
Intentionally avoiding the name SequenceEqual to avoid confusing users with the behavior differences with Enumerable.SequenceEqual (see https://github.com/godotengine/godot/pull/71786#discussion_r1083576265).

Add Slice and GetSliceRange methods.

There's precedent in .NET for a method named Slice that returns a value of the same type (e.g.: List<T>, Span, ImmutableArray, ...).
Implements the Slice method with the needed signature to get implicit Range support.
Should offer better performance than creating a new array and copying the items from C# or using LINQ as that would require marshaling every item.
Also implements a GetSliceRange which follows more closely the behavior of GDScript's slice method and allows to specify a step and deep parameters.

I explicitly chose a different name since Slice methods in .NET usually use start and length as parameter, but Godot's slice method uses start and end which has a different meaning and could be confusing as overloads.

Add Sort method.

There's precedent in .NET for a method named Sort that sorts in place (e.g.: List<T>).
Also implmented in Core and exposed to scripting.
Should offer better performance than sorting the array from C# or using LINQ as that would require marshaling every item.

Add IndexOf method overload that takes index parameter.

There's precedent in .NET for a method named IndexOf with the same parameters (e.g.: List<T>).
GDScript's find method also allows for an optional index parameter.

Add LastIndexOf method.

There's precedent in .NET for a method named LastIndexOf with the same overloads (e.g.: List<T>).
Serves as the equivalent of GDScript's rfind.
Matches the naming of IndexOf which we use as the equivalent of GDScript's find.

Add BinarySearch method.

There's precedent in .NET for a method named BinarySearch (e.g.: List<T>).
Added to Core in https://github.com/godotengine/godot/pull/12590.
Should offer better performance than implementing it manually in C# as that would require marshaling every item.

Implement support for setting Arrays as readonly

Added to Core in https://github.com/godotengine/godot/pull/61127.
Expose IsReadOnly property that checks the read_only ptr in the engine array.
Add SetReadOnly method.

There's precedent in System.Text.Json for a method MakeReadOnly that makes the JsonSerializerOptions readonly, but there's no way to make it writable again so I think the different naming is desired here.

Currently calls that mutate the Array while set as read-only will noop and print an error in the console, we may prefer to throw an exception as that may be more idiomatic in C#.

Add/update documentation.

Methods not added

All the methods that take Callable (usually their name ends with _custom, e.g.: sort_custom, all, any).

Since these methods would take a Callable created in C# (likely a C# lambda), it would end up marshalling every item to call the C# Callable for each item, thus there does not seem to be any performance gain compared to just using LINQ which C# developers would already be familiar with, so I see no benefit.

All "type"-related methods (get_typed_builtin, get_typed_class_name, get_typed_script, is_typed, typed_assign, set_typed) since they feel very out of place in .NET.

They seem like they were made to be used in a dynamic language like GDScript.
Some of their behavior can probably be replicated in .NET by using the typing system, pattern matching and the constructors and explicit conversions implemented.

hash.

We may want to consider implementing GetHashCode instead.
Users can probably use GD.Hash as well, so maybe we don't want to implement it in the Array class.

bsearch.

~I think this functionality is too specific and should probably be added as an extension rather than in the Array class, if at all.~ (I ended up implementing it as BinarySearch).

count because its name conflicts with the Count property, we would have to think of a different name, it also doesn't seem as useful to me as the other methods.

As a workaround users today can use LINQ (array.Count(x => x == value)), although the performance won't be great because it would have to marshal every item.
If this method turns out to be very popular we can always add it in the future without breaking compatibility so I don't see a strong reason to add it now.

Push and pop methods (push_front, push_back, pop_front, pop_back, pop_at).

Users can already use the existing Add, Insert, Remove and RemoveAt so there doesn't seem to be much benefit in adding these methods.
They feel out of place in a .NET collection that implements IList<T> since those methods sound like they'd fit better in a Queue or Stack collection.

Comparison operators (<, <=, >, >=) because they don't seem particularly useful or intuitive.

We can always add them in the future without breaking compatibility so I don't see a strong reason to add them now.

I ended up adding bsearch with the name BinarySearch as an instance method to follow List<T>.

Does our version of binary search return different values (to match Godot) than that of some core C# classes? If that's the case, to avoid confusion, I think it would be better to name our version BSearch (after Godot's bsearch) rather than BinarySearch (used by those core C# classes).

The current implementation of Godot.Collections.Array.BinarySearch in this PR follows the .NET implementation (e.g.: System.Array.BinarySearch) which returns a bitwise complement of the result if the searched item was NOT in the array. This is why I kept the BinarySearch name; otherwise, I would agree that naming it differently would be better.
I also don't think it's useful to provide a BSearch implementation that follows Godot's bsearch having BinarySearch which provides more information, if the result is negative doing a bitwise complement should give you the same result than Godot's bsearch, as far as I understand it.

Thanks!


Requires Node 18 specifically

npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package<EMAIL_ADDRESS>npm WARN EBADENGINE   required: { node: '18' },
npm WARN EBADENGINE   current: { node: 'v20.9.0', npm: '10.2.3' }
npm WARN EBADENGINE }

I'm using node 20, another LTS version, and it's incompatible with this tool? Was there a breaking change?

I'm curious about this as well,  any update?


[Feat] Add code formatter, type checker

Is your feature request related to a problem? Please describe.
As evidenced by this year's projects, different people and even the same person could be highly inconsistent in their coding style.
As such, adding a code linter for both Python and Prolog could lead to a more managable project.
Moreover, by enforcing the Mypy type checking for Python, much unneccessary time and effort could be saved from debugging simple errors.
Describe the solution you'd like
Using Github Action, I'd like to use:

[x] Black formatter for Python
[x] Lint action to enforce Mypy checks
[ ] Prolog code formatter (and possibly some type of sanitizer) (TBD)

Describe alternatives you've considered
It would also be beneficial to enforce such actions on the code editor like VSCode.
I should also look for extensions there.
Additional context

I'm pretty sure no Prolog code formatters are available both for Github and VSCode...
I'll just need to keep the code legible... I guess?


Set run number 999999 to multiRun harvesting

Fixes #5643
Still need to be tested, pylint clean up and a new unit test added.
Don't merge yet, please.

test this please

Hold on on this one, it seems there is yet another place that we need to fix (otherwise it looks for the wrong file to upload).

Do not merge this one Seangchan. I'm waiting for CMSSW/DQM guys to tell me what's wrong on their side.

I discussed this issue in a HN and it turns to be a bug in cmssw, see
https://hypernews.cern.ch/HyperNews/CMS/get/dqmDevel/2296.html
in summary, a fix is being made against 80x and will be backported to 75x and 76x cycles.
However, it makes very hard to put this feature/fix in in WMCore because it would work for some releases and fail for others, unless we instrument the code to add the CMSSW version as a job baggage and check it during runtime.
Honestly, I don't like that approach. We may just keep it out for a year or two...

Before I forget, @ericvaandering and I discussed this issue/fix on Friday and we decided not to push this change into WMCore right now. Once people start using multiRun harvesting in production AND they ask us for this feature/fix, then we can handle that.
Keep it ON HOLD please (and let's see for how long :D)

Closing it since it's fixed in a new PR


Don't free aliased pointers in ctx cmp_ctx tests

Coverity recorded issues 1551739 and 1551737, a potential double free in the tests.  It occurs when the DUP operation fails in such a way val3_read is returned as the same pointer as val2_read.  Ideally it should never happen, but resetting val3_read to 0 should satisfy coverity that there is no issue here

This pull request is ready to merge


Don't correct UNLICENSED

This is just a suggestion, related to https://github.com/kemitchell/spdx-correct.js/pull/5
Even though this package is not only about npm license strings, it might be a good idea to not guess "Unlicense" when we get the string "UNLICENSED". What do you think?

This package should remain dedicated to SPDX alone, and not implement npm-specific behavior.  It's easy enough to check for npm-specific values before invoking the function this package exports, as validate-npm-package-license does.
SPDX is a standard, and there should be many uses for it apart from npm.  The name of the package would itself become misleading if it started implementing non-SPDX-standard behavior.

My logic was just that the word unlicensed shouldn't be corrected to any
licence, even if it is has nothing to do with npm.
I wanted to hear your opinion. I guess that's fine with me! Cheers.
On Fri, Feb 17, 2017, 03:19 Kyle Mitchell<EMAIL_ADDRESS>wrote:

This package should remain dedicated to SPDX alone, and not implement
npm-specific behavior. It's easy enough to check for npm-specific values
before invoking the function this package exports, as
validate-npm-package-license does.
SPDX is a standard, and there should be many uses for it apart from npm.
The name of the package would itself become misleading if it started
implementing non-SPDX-standard behavior.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kemitchell/spdx-correct.js/pull/7#issuecomment-280584752,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABM8TqAyoh7scAmSCI-n2NPZOHxm5QX3ks5rdVgRgaJpZM4MD3Jo
.


Emit event when Leaders category companies are loaded

When a Leaders category is expanded, an event will fire that includes the category's section information and the companies listed with the category. This event will not fire if no companies were found for the expanded section

 Add leader (company) "impression" tracking


Return of abel.transform() class

As per #147 I have returned abel.transform.transform() to a class.

The previous syntax of abel.transform(IM)['transform']
has been replaced with abel.transform(IM).transform

Main changes (from my memory):

wrapped the old transform() in a class, and restuctured.
updated abel/examples to use the class attribute .transform.
updated abel/tests as necessary.
updated the abel/doc files. NB to be further improved to better explain class structure.
On my Mac the docs build using make html, but make livehtml failed.

This is a, I believe, fully functional first pass. Please left me know your thoughts.
In [1]: import abel
In [2]: IM = abel.tools.analytical.sample_image()
In [3]: IMobj = abel.transform(IM, direction="forward", method="hansenlaw")
In [4]: IMobj.
IMobj.IM         IMobj.direction  IMobj.method     IMobj.transform

@stggh, thanks for this huge effort! I will have a look now and see if I can catch any typos...

In order to get the docs to build the new class properly (especially to include the init function), you'll want to change the following text in doc/abel.rst:
abel.transform module
---------------------

.. automodule:: abel.transform
    :members:
    :show-inheritance:

becomes:
abel.transform module
---------------------

.. autoclass:: abel.transform
    :members:
    :special-members;
    :show-inheritance:

btw, make livehtml is working on my Mac. Did you pip install sphinx-autobuild?

In Python, class names should always be in CapWords (per this section of PEP8). So, abel.transform.transform should become abel.transform.Transform. (of course, due to the from .transform import transform line in the main __init__.py file, we can just refer to it as abel.Transform.
Sorry about this one. Probably annoying to change, but I think that the capitalization of classes is a fairly rigorous standard.

Okay, I looked through everything. I think that's all I got. If @DhrubajyotiDas and/or @ldes89150 have a chance to glance at the new transform.py that would be helpful.

Thanks for taking the time to work on this massive PR, @stggh!

No worries, I caused the rewrite in the first place. I am open to all suggestions on how to improve this code, or whether it is in fact a worthwhile improvement over the old transform/dict code. Thanks, for all the corrections and suggestions so far.
The pickle aspect, I had not considered. If Transform is just a wrapper class to return the calculations, its current role, then there is no problem, self.IM may be dropped. I privatized the class methods so that the transform results, from IMobj.<tab> were not lost in a maze of function names. Alternatively, if Transform becomes a true class container, then it might hold the original image, and provide for additional image operations. It is all a matter of user preference. For the moment we may stick with the class wrapper results only approach.
I will make further changes once I arrive at the ANU.

Yes, at this point I think that there is little utility in storing the original image in the class. It just takes up space. In the future, if we want to allow the class to perform functions that need the original image (i.e., to compare to the original image and find the error), then we can re-assess the need for the class to keep the original image.

I have made the changes that you kindly identified above.
Notes:

I 'cheated' and simply del self._IM following the abel_transform_image() call. In principle, I could pass IM to each method, but this became messy if IM needs to be returned, e.g. for recast_as_float64. Let me know if this change is sufficient, or there is a better way.

@DanHickstein sphinx guru - great information about this complex, but looks great, doc system.

Note the <tabs> were added by you during your (amazing) doc edits. I have removed all traces.

abel.transform is now abel.Transform, tks for setting me straight.

Updated all examples and unit tests.

make livehtml has, in the past, run correctly on my Mac, so there should be no sphinx components missing.   However, my Linux system can't find the napoleon module, which appears to be a bug present in Ubuntu.

I will run further tests today, and check through the docs.

Great work @stggh!
That "cheat" sounds fine. If it's too difficult to remove the original image, then we can just keep it. I suspect that most people will save the 2D array anyway.
Whoops! Sorry about those tabs. :)
There are a few warnings when building the docs. They were probably not all caused by you, but can you take a look?
docstring of abel.transform.Transform.__init__:69: ERROR: Unexpected indentation.
docstring of abel.transform.Transform.__init__:72: ERROR: Unexpected indentation.
docstring of abel.transform.Transform.__init__:74: WARNING: Definition list ends without a blank line; unexpected unindent.
/Users/ddh/Documents/PyAbel-master/abel/tools/symmetry.py:docstring of abel.tools.symmetry.get_image_quadrants:24: ERROR: Unexpected indentation.
/Users/ddh/Documents/PyAbel-master/abel/tools/symmetry.py:docstring of abel.tools.symmetry.get_image_quadrants:27: ERROR: Unexpected indentation.

The livehtml was also not working for me for a while. I forget what the solution was. You have tried make clean right?

...and while you are looking at the docs, can you fix the indentation of this section of the abel.transform.Transform.__init__ docstring:

I did not identify anything obvious with abel.transform.Transform.__init__ doc string errors, identified above. The symmetrizing doc string is repaired (my fault for attempting to removed long lines).
I did forget the make clean. The Mac is at home, so I cannot test further.
The napoleon Ubuntu issue is weird.  I have repeated all the pip install commands
make html
sphinx-build -b html -d _build/doctrees   . _build/html
Making output directory...
Running Sphinx v1.2.3

Extension error:
Could not import extension sphinx.ext.napoleon (exception: No module named napoleon)

It says here in this readthedocs forum

Seems this was fixed with the Sphinx 1.3.1 update.

However, my sphinx version appears to be 1.2.3?

Can you update Sphinx from 1.2 to 1.3?

Yes! Removal of the ubuntu sphinx-common (and associated packages) and then pip install -U Sphinx appears to have worked. Thanks!

There is a case for keeping self._IM as it is the centered odd-size (width) image, which might speed up subsequent calls to abel.Transform(). Perhaps, (yet) another parameter is needed in the class instance function?

It's fine with me to keep self._IM around. @ldes89150 will just need a bigger pickle-jar :)

@stggh thanks for fixing the doc string :D
It's also fine for me to keep self._IM. I can save self.transform only.

Awesome! Are we ready to merge this then?

I have put back  self.IM as it is the image used in the transform, which may differ from IM (centered, odd-width), removed the del and updated the Transform doc string.
If this change is ok, then we are ready to merge.


Parsers for API responses?

Are you going to want to use the GEM API for your project?
I've been playing around with the API for auto-detecting the setup of the GEM (# of channels, etc.). The response formats are... interesting (comma-delimited hex values). I can do that parsing in my repo, or I can send you a PR here. What do you think? If the latter, any preferences as to how to set it up? I was thinking something along the lines of a class that takes in a StreamReader and StreamWriter and provides a bunch of async methods that make different requests and cajole the results into appropriate types.

I'd like to, but it's probably not going to be a part of the MVP.
My case is more complicated because I'm using a serial bus.  I basically need a protocol that can handle packets and can handle the commands (same over HTTP or serial, as best I can tell).  That doesn't belong here, but what would be nice here is some kind of protocol that can handle the responses.  An asyncio.StreamReader and asyncio.StreamWriter could probably work too, I'd just have to figure out how to make it work with a serial connection somehow that also gets packet data.

I just realized (I commented on #13 as well) maybe I can treat the TCP/IP connection from the GEM as a serial bus and just send the commands down it rather than finding its IP and calling it back. It certainly seems to work that way on its end: if I open the setup page in my browser while that connection is active, it sends HTML down that connection as well as to my browser.

what would be nice here is some kind of protocol that can handle the responses. An asyncio.StreamReader and asyncio.StreamWriter could probably work too, I'd just have to figure out how to make it work with a serial connection somehow that also gets packet data.

Yeah, the fun part is that the responses don't have enough information in them to determine what they're in response to. It's like you'd need a state machine or a queue of parsers to keep track of the responses you're expecting.

Yup!  On the plus side, they have a command that asks to delay sending packets for N seconds, so you can do that, it'll finish the current packet, and then you have a window to send commands.

Ah, yeah, I see that one. OK, I'll take a shot at enabling this to send commands over the stream and hit you with a PR for discussion in a bit.


CentOS 7 ppc64le on Power9 - Unsupported distribution?

I'm trying to install nvidia-docker2 on CentOS 7.7 on power 9 - ppc64le.  But when I follow the guide, yum is unable to install packeges - HTTPS 404 error, whe I directly go to the address I get error # Unsupported distribution! # Check https://nvidia.github.io/libnvidia-container . I tried to disable all gpg etc checks, change it to rhel7, still same error.
What I'm doing wrong, is nvidia-docker2 really supported on CentOS7 on ppc64le?

Same thing is happening on the link https://nvidia.github.io/libnvidia-container/ubuntu18.04/amd64.

Same thing is happening on the link https://nvidia.github.io/libnvidia-container/ubuntu18.04/amd64.

yes, please adjust;

Any updates on this? https://nvidia.github.io/libnvidia-container/ubuntu18.04/ is still giving an error.

Directory listing isn't enabled and will report the error message you see:
# Unsupported distribution! # Check https://nvidia.github.io/libnvidia-container
Here's an example of a URL that works, as described in the Repository Configuration guide: https://nvidia.github.io/libnvidia-container/ubuntu18.04/libnvidia-container.list
When you use apt, it is going to look for something like https://nvidia.github.io/libnvidia-container/ubuntu18.04/amd64/Packages.xz based on what you added to /etc/apt/sources.list.d/libnvidia-container.list.
For the ppc64el I confirmed they exist with this script:
curl --head https://nvidia.github.io/libnvidia-container/{ubuntu16.04,ubuntu18.04,debian9}/ppc64el/Packages.xz
You should see 200 OK results for all 3 distros, not 404 results. Please note that it's ppc64el not ppc64le. Update your sources.list.d if it's pointing to the wrong $ARCH

@nvjmayo Can you give us a modified list of steps here for what exactly to do?
I'm trying to get this running on RHEL7.6 with ppc64 and your comment above makes it seem like only Ubuntu and debian flavours are supported. Can you explain how to get this working for RHEL type distributions, especially with ppc64.
I tried rhel7.6 and it gives me a 404 while the debian ones give 200 as you mentioned.

As a unsecure fix I disabled gpg checks. My config for CentOS 7 is now this:
`[libnvidia-container]
name=libnvidia-container
baseurl=https://nvidia.github.io/libnvidia-container/centos7/$basearch
repo_gpgcheck=0
gpgcheck=0
enabled=1
gpgkey=https://nvidia.github.io/libnvidia-container/gpgkey
sslverify=0
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
[nvidia-container-runtime]
name=nvidia-container-runtime
baseurl=https://nvidia.github.io/nvidia-container-runtime/centos7/$basearch
repo_gpgcheck=0
gpgcheck=0
enabled=1
gpgkey=https://nvidia.github.io/nvidia-container-runtime/gpgkey
sslverify=0
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
[nvidia-docker]
name=nvidia-docker
baseurl=https://nvidia.github.io/nvidia-docker/centos7/$basearch
repo_gpgcheck=0
gpgcheck=0
enabled=1
gpgkey=https://nvidia.github.io/nvidia-docker/gpgkey
sslverify=0
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
'

Hello!
Sorry for the lack of answer, PPC hasn't been at the top of our list due to the lack of an actual machine making testing pretty difficult.
We are currently targeting releasing new package during the month of February.

Sorry for the lack of answer, PPC hasn't been at the top of our list due to the lack of an actual machine making testing pretty difficult.
We are currently targeting releasing new package during the month of February.

Thanks for the update.  Those of us that saw promise in the IBM / nVidia partnership appreciate the software support.
ppc64le EL7 is still on 1.0.0, hopefully you guys get access to ppc64le hardware soon, interactive development is much easier with podman/docker than Singularity, which we are currently using for GPU acceleration on EL7 ppc64le with our Tesla V100.  Updated libnvidia-container for ppc64le would allow us to switch to podman for GPU acceleration needs.
yum info libnvidia-container1 | grep Version
Version     : 1.0.0

This is the support matrix for the recently released 1.1.0 packages:
+----------------------+-------------+----------------+---------+-----------------+
|  OS Name / Version   |  Identifier | amd64 / x86_64 | ppc64le | arm64 / aarch64 |
+======================+=============+================+=========+=================+
| Amazon Linux 1       | amzn1       |       X        |         |                 |
| Amazon Linux 2       | amzn2       |       X        |         |                 |
| Amazon Linux 2017.09 | amzn2017.09 |       X        |         |                 |
| Amazon Linux 2018.03 | amzn2018.03 |       X        |         |                 |
| Open Suse Leap 15.0  | sles15.0    |       X        |         |                 |
| Open Suse Leap 15.1  | sles15.1    |       X        |         |                 |
| Debian Linux 9       | debian9     |       X        |         |                 |
| Debian Linux 10      | debian10    |       X        |         |                 |
| Centos 7             | centos7     |       X        |    X    |                 |
| Centos 8             | centos8     |       X        |    X    |        X        |
| RHEL 7.4             | rhel7.4     |       X        |    X    |                 |
| RHEL 7.5             | rhel7.5     |       X        |    X    |                 |
| RHEL 7.6             | rhel7.6     |       X        |    X    |                 |
| RHEL 7.7             | rhel7.7     |       X        |    X    |                 |
| RHEL 8.0             | rhel8.0     |       X        |    X    |        X        |
| RHEL 8.1             | rhel8.1     |       X        |    X    |        X        |
| RHEL 8.2             | rhel8.2     |       X        |    X    |        X        |
| Ubuntu 16.04         | ubuntu16.04 |       X        |    X    |                 |
| Ubuntu 18.04         | ubuntu18.04 |       X        |    X    |        X        |
| Ubuntu 19.04         | ubuntu19.04 |       X        |    X    |        X        |
| Ubuntu 19.10         | ubuntu19.10 |       X        |    X    |        X        |
| Ubuntu 20.04         | ubuntu20.04 |       X        |    X    |        X        |
+----------------------+-------------+----------------+---------+-----------------+

Please let us know if this resolves your issue.

Please let us know if this resolves your issue.
Thanks!  This will help us with the CUDA / vulkan dependency issues.

# yum info libnvidia-container1 | grep Version
Version     : 1.1.1
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.6 (Maipo)
# lscpu
Architecture:          ppc64le
Byte Order:            Little Endian


kyve mainnet endpoints by🔥STAVR🔥

Please resolve conflicts and then we can merge. @obajay

Please return chain.json to the filename chain.json


Revert to version

Hey benjammin,
I just noticed that you can't revert an entry to a previous version, the Neo field is just empty. Is this a known bug? Do you think this feature will be available in the near future?
Cheerio
Sidney

It seems that it works fine.
Only the display of the data when going back to a version isn't working.
If you revert this version back as the current entry, the data from the version get's filled correctly.
In the fieldType the corresponding function getStaticHtml and it's rendering need to be updated.

Hey @sidneywidmer , sorry for the late response. Under the pump at the moment getting a project completed by Monday so I haven't had the time to check this out (as well as finish fixing some of the other bug reports). This is embarrassingly not something I checked. I don't think I've ever used the versioning system in Craft.
Thankfully, @christianruhstaller is right - it seems to just be cosmetic. In order to keep template redundancy low, templates are rendered in Javascript, which obviously is a problem in this case.
I'll be onto this after this week.

Done. Thanks @christianruhstaller for your fix, it helped me out a lot. This will be available in the next release, which will be released mid-late next week.


Fix to correctly parse response in message API format for SageMaker inference

Description of changes:
The response format when using "message format api" is different and requires different parsing.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Hi @aarora79 , I have successfully tested your proposed changes in my specific use case and they work as expected. Please, confirm on your end and merge when ready.


Fix a few typos in "Introducing pg_karnak" blog post

Thanks for the great post, I learned a lot! (As can be seen by my close reading of the text 😆)


Can't connect after a clean install on AWS Ubuntu22

Hi, thanks for this great tool!
I'm about to travel to a "restricted internet" country and I'm trying to self-host OpenVPN, using this great "openvpn-install" script

clean Ubuntu 22 on AWS (arm), updated (apt update/upgrade) ✅
the instance has ssh/http/https ports accessible ✅
1st question: I properly gave the instance hostname
port = 443 as suggested here
for DNS, I selected "OpenDNS" and not "current system resolver" as suggested [here] (https://github.com/Nyr/openvpn-install/issues/629#issuecomment-509107936) ✅
systemctl status<EMAIL_ADDRESS>shows "active (running)" ✅ (cf. here)
I can ping google.com from inside the instance ✅

However after moving the *.ovpn into the OpenVpn app on my iPhone and trying to connect, I get "connection timeout"
Any idea what I'm missing?
Head of the .ovpn file:
client
 dev tun
 proto udp
 remote xyz.compute.amazonaws.com 443
 resolv-retry infinite
 nobind
 persist-key
 persist-tun
 remote-cert-tls server
 auth SHA512
 ignore-unknown-option block-outside-dns
 verb 3

Thanks a lot!

It works once switching to protocol = TCP
I guess AWS instance default firewall is not allowing UDP by default.
Closing this.


prevent overwritting of swagger.securityDefinitions by authParams

I'm working on my own auth plugin (with oauth2) - this small bug breaks original swagger specification and can't be fixed from outside.

Hi !
Could you please share your auth plugin ?
Thanks


Allow Multi Doc Insert for Create Collection

I ran into a situation where I have a json array of 159 json documents and have to split and iterate each for Create Collection call.
It would be super awesome to be able to fire the json array (comma return separated) at the api and bulk create the documents. This is a small sample so would not expect to insert 10,000-50,000+ etc   but in a large streaming case i could see some big number user cases too if the actual json payload is a huge document.
Sample payload:
<EMAIL_ADDRESS>Expected payload:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Pulling in @EricBorczuk's comment from the duplicate issue

Upon supplying many documents to a special endpoint, we should be able to bulk-write to Cassandra
Currently, one can only hit a "single write" endpoint and that makes things inexcusably slow for 100's of thousands of documents.


Abstracted the tie selection condiitonals to functions

This reduces code repetition and makes debugging easier

Closing all feature PRs for v.3 and focusing v.4, v.3 is bug-fix only at this point.


[notifier] define 'kEventStrings[]' as const pointer

I tried the same change and compared the size, but didn't see any chance in code or memory size. Why does it has no impact on memory size?

@simonlingoogle , my guess is that complier may be already treating the array as a const.

I tried the same change and compared the size, but didn't see any chance in code or memory size. Why does it has no impact on memory size?

@simonlingoogle , my guess is that complier may be already treating the array as a const.

But I did see memory increase for sThreadErrorStrings if *const is not used. I think it's safer to always use *const.


IAM Database authentication for RDS

Hi,
are there any plans for implementing support for IAM authentication for RDS?
http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html

Almost one year and no response! Doesn't look like there are many people asking for it. This will certainly be a good feature as part of AWS support from Spring. Hopefully, somebody will shed some light on the plans for this.

@gauz09 yeah, I think very few people know about this feature. Even AWS launched Secret Manager where they promote that it can automatically rotate RDS passwords! Well, with IAM authentication you do not need to rotate passwords as the token expires every 15 minute  ¯_(ツ)_/¯

This would be great!
Trying to connect to an Aurora Postgres instance from a Spring Boot app.  Was a little bummed to see no Spring way of doing that with IAM.  Haven't written custom connection logic in some time O.o

+1 !
Would be great to see such feature in spring-cloud-aws !


Nav title and page flicker (wrong width) on page transition

Here's a video, notice how the long page title shrinks to the correct size only after the page transition finishes. The page body also resizes when the page transition finishes, triggering a funky-looking reflow.
https://cloudup.com/iq2A0_JR5vE

Greetings @hollingberry!
Sorry but this issue may no longer be applicable to recent versions of Ionic.
If you are still experiencing this issue, please feel free to reopen and provide the following information so that I may assist you.

Can you provide a detailed description of this issue?
How would a robot go about replicating this issue?
What platform does this happen on? (iOS, Android, all, etc.)
What platform versions does this happen on? (Android 4.2, iOS 7, all, etc.)
Is this an issue with the Ionic Framework, or Ionic CLI?

Additionally, providing a codepen which replicates the issue is extremely helpful.
If you wish to get help using the framework itself, the recommended place is the forum.
Thank you for allowing me to assist you.


Does anyone know which version of ROCM is used to build the tensorflow-rocm ?

In this Pypi page, there is no ROCM version information. I need to confirm whether ROCM 6 is used.
https://pypi.org/project/tensorflow-rocm/<IP_ADDRESS>0/#files
Can someone help? Thank you very much.

@jaslip ROCm 6.0.2: This version is used to build tensorflow-rocm version <IP_ADDRESS>2
ROCm 6.0.0 (or later): This version is used to build tensorflow-rocm versions <IP_ADDRESS>2 and later
It's important to note that not all tensorflow-rocm versions are compatible with all ROCm6 versions.
Thank you!


Selector with the same key and multiple values does not work correctly

The selector action has so much potential but we need to prepare the type of the value and allow to use the same key

Also we want to include a way to decide 3 possible option of save the info:

text
number
boolean


Could we have min_date/max_date option like angular datepicker

Just like
min-date /max-date in the https://angular-ui.github.io/bootstrap/#/datepicker?

You can submit a PR for the functionality you would like - just follow the instructions for contributing - https://github.com/dalelotts/angular-bootstrap-datetimepicker/blob/master/contributing.md - which I just noticed are bit out-of-date, sorry. =(
You can also implement it yourself using the on-before-render call back - in the call back make certain values non-selectable and changes to certain views not allowed. Admittedly its a bit more work for the developer.

Thanks for your reply.
I am not a expert on JavaScript. Feel difficult to add this functionality by myself.

You can look at the on-before-render call back examples in the demo folder
for inspiration. It may not be has hard as you think.
On Mon, Mar 30, 2015 at 7:43 PM, Peter2013Aug<EMAIL_ADDRESS>wrote:

Thanks for your reply.
I am not a expert on JavaScript. Feel difficult to add this functionality
by myself.
—
Reply to this email directly or view it on GitHub
https://github.com/dalelotts/angular-bootstrap-datetimepicker/issues/158#issuecomment-87888420
.

I used on-before-render as follows to set a minDate:
js:
$scope.beforeRender = function($dates){
    minDate = new Date().setHours(0,0,0,0) // Set minimum date to whatever you want here
    for(d in $dates){
        if($dates[d].utcDateValue<minDate){
            $dates[d].selectable = false
        }
    }
}

html:
<datetimepicker data-ng-model="data.dropDate" data-datetimepicker-config="{ dropdownSelector: '#dropdown3', minuteStep: 15 }"  data-before-render="beforeRender($dates)"/>

The same can be done for a maxDate but use > instead of <' I'll also be writing a data-datetimepicker-config` option and submitting a pull request sometime soon.

$scope.beforeRender = function($view, $dates) {
var dayValue    = moment().startOf('day').valueOf()
, hourValue   = moment().startOf('hour').valueOf()
, minuteValue = moment().startOf('minute').valueOf()
, monthValue  = moment().startOf('month').valueOf()
, yearValue   = moment().startOf('year').valueOf()
, tempValue
if ($view == 'day') {
  tempValue = dayValue
} else if ($view == 'hour') {
  tempValue = hourValue
} else if ($view == 'minute') {
  tempValue = minuteValue
} else if ($view == 'month') {
  tempValue = monthValue
} else if ($view == 'year') {
  tempValue = yearValue
}

angular.forEach($dates, function(date) {
  if (date.utcDateValue < tempValue) date.selectable = false
})

}

Can beforeRender be updated though?
It seems that the $scope.beforeRender call gets call on page load. If you want update the min/max date from another DOM element, how do you re-run $scope.beforeRender to update the min/max dates. Its like the $scope.beforeRender should be called every time you go to open the dateTimePicker.
any ideas?

@SiddharthMantri i tried using your method, but it's not working. Can you help me with it??

This works:
$scope.beforeRender = function($view, $dates) {
    var minDate = moment().startOf($view).valueOf();
    var maxDate = moment().add(7, 'days').valueOf();

    angular.forEach($dates, function(date) {
        var localDateValue = date.localDateValue();
        date.selectable = localDateValue >= minDate || localDateValue <= maxDate;
    });
};

Yes this works but it is static.
When the minDate or the maxDate is not static but controlled by another element the DOM for selectable dates is only updated after the first view change.
And when you have multiple pickers how do you assign a beforeRender to a specific picker ?

@ReinierGielen
just set data-before-render="beforeRenderXXX($dates)"
and make new functions for each, changed XXX to match each different picker / function
$scope.beforeRenderXXX = function() {
//bla bla bla
}

This is how I got it done with the help of moment.
$scope.setMindatebeforeRender = function($dates){
		var setminDate = moment();
		$dates.filter(function (date) {
			return date.utcDateValue < setminDate;
		}).forEach(function (date) {
			date.selectable = false;
		})
	}


[web] How to publish my flutter web app to firebase.

Hi,
I have developed a demo based application and I want to host this web app, How I can host this app on firebase or any thing better than firebase for free.

You will find and index.html in build/web and all the files that belong to it after running flutter build web. Then you can host it like any normal web page, but that doesn't belong to this issue tracker.

This is a question better suited for StackOverflow, since there doesn’t seem to be anything wrong with Flutter itself. Closing, as this is not an issue report. See https://flutter.dev/community for support options.


feat(file-button): add displayName and ui properties

Closes https://github.com/yamada-ui/yamada-ui/issues/2864
Description
displayName is not set for the component of "@yamada-ui/file-button"
Current behavior
displayName is not set for the component as of now.

New behavior
added displayName and __ui__ properties

Is this a breaking change (Yes/No):
No

Thanks!


Incorrect redirect on deleting an award from person detail page

On the person_detail page, deleting an award from the Awards tab takes you to the badge_detail page.
Should it be redirected back to the person_detail page?

Yes please.

But if you delete an award from badge_detail, you should be redirected back to badge_detail.

@chrismedrela I will ensure that. Thanks!


Add .travis.yml and .lint.sh for yaml, shellscripts

This adds simple shellcheck and yamllint linting for now.

For this to work, someone with enough permissions needs to accept Travis CI's authorization on this repo (see: https://docs.travis-ci.com/user/tutorial/#to-get-started-with-travis-ci-using-github).


Update: Add css var to wallet icons to allow for setting a contract color where applicable

Add css var to wallet icons to allow for setting a contract color where applicable.
This issue arose from some wallet icons disappearing if the text color is set to the same color as the background of the wallet icon containers within the select wallet modal.
Adding a contrast var: --onboard-wallet-icon-contrast-color that takes precedent allows devs to fix this issue without any side affects.
If the color is hardcoded it can also be lost or hard to see with dark or light background.
Checklist

[x] Increment the version field in package.json of the package you have made changes in following semantic versioning and using alpha release tagging
[x] Check the box that allows repo maintainers to update this PR
[x] Test locally to make sure this feature/fix works
[x] Run yarn check-all to confirm there are not any associated errors
[x] Confirm this PR passes Circle CI checks
[x] Add or update relevant information in the documentation

Not necessary for now


[WIP] Add content type for put

content_type (optional): the content-type for the object. Acceptable values are:

application/octet-stream When download the object, it will keep the type when it is uploaded. For example, '.pivotal' will still be '.pivotal' after download.

Hasn't tested yet

@lubronzhan Did you ran the integration-tests? I'm getting this error:
• Failure [1.748 seconds]
out
/Users/frodenas/gocode/src/github.com/frodenas/gcs-resource/integration/out_test.go:24
  with content_type
  /Users/frodenas/gocode/src/github.com/frodenas/gcs-resource/integration/out_test.go:485
    upload the zip file with empty content type and get zip file back
    /Users/frodenas/gocode/src/github.com/frodenas/gcs-resource/integration/out_test.go:533
      the content-type of file should be application/zip [It]
      /Users/frodenas/gocode/src/github.com/frodenas/gcs-resource/integration/out_test.go:565

      Expected
          <string>:
      to equal
          <string>: application/zip

      /Users/frodenas/gocode/src/github.com/frodenas/gcs-resource/integration/out_test.go:568
------------------------------

Summarizing 1 Failure:

[Fail] out with content_type upload the zip file with empty content type and get zip file back [It] the content-type of file should be application/zip
/Users/frodenas/gocode/src/github.com/frodenas/gcs-resource/integration/out_test.go:568

Ran 41 of 41 Specs in 24.896 seconds
FAIL! -- 40 Passed | 1 Failed | 0 Pending | 0 Skipped


preserve comments

https://github.com/tmc/grpc-uber/blob/master/uber.proto this generated file doesn't reflect the comments from https://github.com/tmc/grpc-uber/blob/master/uber.openapi.yaml

I've been using the philosophy that the Swagger docs are for humans, proto specs are for computers, so I hadn't put much thought into including the comments as protoc doesn't care about them or include them in the generated code.
Also, I'm not quite sure how we'd translate most of the comments in that example file since they do not relate to anything in the .proto file.
Do you have a use case?

@jprobinson I meant the field and endpoint summaries and descriptions.

Well, that's a horse of a different color! Sounds like a reasonable request and pretty simple to implement.  I'll try and find some time this week to make it happen.

FWIW this is how grpc-gateway renders openapi from the proto file: https://github.com/gengo/grpc-gateway/blob/master/protoc-gen-swagger/genswagger/template.go#L479
// (summary here
//
// (description here)
message Foo {}

or
// (description here).
message Foo {}


Implicit use of unlabelled information in Transductive fine-tuning

Hi,
I was just wondering if there was an implicit use of unlabelled data in the process of transductive fine-tuning in the baseline paper. This is because transductive fine-tuning uses the batch norm statistics to fine-tune, and thus we are not predicting each query image in the batch independently of other query images in the batch.
This is an issue, because based on the above explanation, transduction fine-tuning should only be allowed for Track 2 and not for Track 1 results? An alternative is for the transductive fine-tuning to only use the statistics of the support images - then this should be permitted in Track 1. May I kindly ask which version this paper has implemented?

Hi @johncai117 , the paper has implemented the first version you talked about. You are right, for this particular transductive learning using batch norm statistics the query images are not predicted independently. Other transductive learning methods are also possible, so for Track 2 and Track 1 results,  it depends on the exact method used.


⚠ Adacta-fintech.com has degraded performance

In ddfe204, Adacta-fintech.com (https://www.adacta-fintech.com) experienced degraded performance:

HTTP code: 200
Response time: 1507 ms

Resolved: Adacta-fintech.com performance has improved in 30844dc after 7 minutes.


[BUG] Mongoose models are in bad connections (database)

Information

Version: 5.59.1
Packages:
"@tsed/common": "5.59.1",
"@tsed/mongoose": "5.59.1",
"mongoose": "5.9.20",

The mongoose models are created randomly in different databases or connections at each restart.
Example
// Server.ts
import {} from "@tsed/common";
import '@tsed/mongoose';

@Configuration({
   rootDir,
   mongoose: [
      {
         id: 'default',
         url: process.env.MONGO_URL, //ex: mongodb+srv://${cluster}.mongodb.net
         connectionOptions: {
            dbName: 'defaultDB',
            user: process.env.MONGO_USER,
            pass: process.env.MONGO_PASS,
            ...
         }
      },
      {
         id: 'customer',
         url: process.env.MONGO_URL,
         connectionOptions: {
            dbName: 'customerDB',
            user: process.env.MONGO_USER,
            pass: process.env.MONGO_PASS,
            ...
         }
      },
      {
         id: 'product',
         url: process.env.MONGO_URL,
         connectionOptions: {
            dbName: 'productDB',
            user: process.env.MONGO_USER,
            pass: process.env.MONGO_PASS,
            ...
         }
      },
      ... administator, order
  ],
  ...
})

// models/CustomerAccount .ts
@Model({
   connection: 'customer',
   collection: 'accounts'
})
class CustomerAccount extends Account {
   ...
}

// models/ProductData.ts
@Model({
   connection: 'product',
   collection: 'data'
})
class ProductData extends Product {
   ...
}

...

Tested
// @tsed/mongoose/lib/decorators/model.js:46
function Model(options = {}) {
    return (target) => {
        const name = options.name || core_1.nameOf(target);
        core_1.Store.from(target).set(constants_1.MONGOOSE_MODEL_NAME, name);
        const schema = utils_1.getSchema(target, options);
        MongooseModelRegistry_1.registerModel({
            provide: target,
            deps: [MongooseConnections_1.MONGOOSE_CONNECTIONS],
            useFactory(connections) {
                // IS HERE! console.log for output
                console.log(`Model: ${target.name} should normally go to ${options.connection}${options.connection == connections.get(options.connection).connections[0].name ? '.' : ` but not in ${connections.get(options.connection).connections[0].name}`}`);
                schemaOptions_1.applySchemaOptions(schema, schemaOptions_1.schemaOptions(target));
                return utils_1.createModel(target, schema, options.name, options.collection, options.skipInit, connections.get(options.connection));
            }
        });
    };
}

Output
This is an example to understand. In my database, models are created in any database each time I start it.
Model: CustomerAccount should normally go to customer.
Model: ProductData should normally go to product but not in customer

// or after restart

Model: CustomerAccount should normally go to customer but not in product
Model: ProductData should normally go to product.

Issue on the release. It will be fixed soon :). Sorry

:tada: This issue has been resolved in version 5.59.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


bug: signout redirect

the redirect is now hardcoded to localhost:3000

This is the sign out function in SignOutButton.tsx, where is this issue located?
  const onSignOut = () => {
    signOut({ callbackUrl: "/" });
  };

Not sure! All i know is when pressing the sign out button on the deployed site, you are redirected to http://localhost:3000/


Matching monitors by desc doesn't work if the description contains a # character

Hyprland Version
 System/Version info
Hyprland, built from branch main at commit c4365f20ed8ff0dd480b7ed7cf1bfff1a0b6911a dirty (damage: use buffer_damage instead of effective_damage).
Date: Wed Jan 17 16:01:20 2024
Tag: v0.34.0-51-gc4365f20

flags: (if any)

System Information:
System name: Linux
Node name: MemePad-T480
Release: 6.7.0-arch3-1
Version: #1 SMP PREEMPT_DYNAMIC Sat, 13 Jan 2024 14:37:14 +0000

GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 620 [8086:5917] (rev 07) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:
  split-monitor-workspaces by Duckonaut ver 1.1.0

Bug or Regression?
Bug
Description
Using the desc: rule for matching monitors doesn't handle the case where their description has a # in the name somewhere, for example in the serial number.
In my case the offending monitor is described as such:
Monitor DP-5 (ID 1):
<EMAIL_ADDRESS>at -1920x0
	description: Microstep MSI NXG253R #GjMYMxgwAAYH (DP-5)
	make: Microstep
	model: MSI NXG253R
	serial: #GjMYMxgwAAYH
	active workspace: 12 (12)
	special workspace: 0 ()
	reserved: 0 0 0 0
	scale: 1.00
	transform: 0
	focused: yes
	dpmsStatus: 1
	vrr: 0
	activelyTearing: false

A monitor rule with the serial number escaped like so simply doesn't work:
monitor = desc:description: Microstep MSI NXG253R ##GjMYMxgwAAYH,  highres,   -1920x0, 1

Only matching this monitor by its output is handled properly.
How to reproduce

Plug in a monitor with a # somewhere in the description, such as the serial number.
Write a rule to match it by its description, escaping # by using ## as per documentation.
The rule isn't functional.
Replace the desc: field with the output name.
Observe how the rule functions as intended.


DO NOT MERGE: rebuild v2.32 as a test

See https://github.com/conda-forge/graph-tool-feedstock/pull/23#issuecomment-650568500

Checklist

[ ] Used a fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Apparently there HAS been a recent change to the Azure CI system:
https://gitter.im/conda-forge/conda-forge.github.io?at=5ef787cdec4a341beef1ff0b
And re-rendering the recipe with the current development version of the conda-smithy tool might resolve the issue.  I've done that here.  We'll see if it makes a difference...
If this passes, then we're at least reproducing our previous build.  Then I can try it in #23.


hash in SGObject

@vigsterkr , @lisitsyn , @karlnapf
there may be a bug.
If CSGObject::update_parameter_hash() is called more than once, CSGObject::parameter_hash_changed() always returns true even when variables remain the same.
for example
void CExactInferenceMethod::update()
{

	CInferenceMethod::update();
	update_chol();
	update_alpha();
	update_deriv();
	update_mean();
	update_cov();

	update_parameter_hash();
	SG_SPRINT("hash value1 %d \n", m_hash);
	update_parameter_hash();
	SG_SPRINT("hash value2 %d \n", m_hash);

}

hash value1 and hash value2 are different since
void CSGObject::update_parameter_hash()
{
	uint32_t carry=0;
	uint32_t length=0;

	get_parameter_incremental_hash(m_hash, carry, length);
	m_hash=CHash::FinalizeIncrementalMurmurHash3(m_hash, carry, length);
}

where m_hash becomes non-zero after update_parameter_hash() is called
what is worse,
bool CSGObject::parameter_hash_changed()
{
	uint32_t hash=0;
	uint32_t carry=0;
	uint32_t length=0;

	get_parameter_incremental_hash(hash, carry, length);
	hash=CHash::FinalizeIncrementalMurmurHash3(hash, carry, length);

	return (m_hash!=hash);
}

Note that hash is zero, which means if update_parameter_hash() is called more than once, CSGObject::parameter_hash_changed() always returns true even when variables remain the same.

I am not sure whether the hash value should be changed if parameter_hash_changed() is called even when values of variables in the object remain the same

if you think this is a bug, the fix is quite simple.
void CSGObject::update_parameter_hash()
{
    uint32_t carry=0;
    uint32_t length=0;

    //CHANGE m_hash to 0
    get_parameter_incremental_hash(0, carry, length);
    m_hash=CHash::FinalizeIncrementalMurmurHash3(m_hash, carry, length);
}

I think this is a bug! This should not be. Do unit tests break if you fix it?
Make sure to add unit tests for the hashing if you do fix it
Thanks!

this issue is solved.
I close this


(BKR-1160) Fix env var setting on Cisco Nexus

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/3997/

All Puppet acceptance tests passing on Cisco Nexus:
`      Test Suite: tests @ 2017-07-13 22:01:41 +0000
  - Host Configuration Summary -

          - Test Case Summary for suite 'tests' -
   Total Suite Time: 4233.78 seconds
  Average Test Time: 12.38 seconds
          Attempted: 342
             Passed: 291
             Failed: 0
            Errored: 0
            Skipped: 51
            Pending: 0
              Total: 342

  - Specific Test Case Status -

Failed Tests Cases:
Errored Tests Cases:`

All Puppet Acceptance tests passing using this PR on the Cisco IOS XR:
Test Suite: tests @ 2017-07-13 23:29:17 +0000
Host Configuration Summary -:
Test Case Summary for suite 'tests' -
Total Suite Time: 4148.04 seconds
Average Test Time: 12.13 seconds
Attempted: 342
Passed: 290
Failed: 0
Errored: 0
Skipped: 52
Pending: 0
Total: 342

Can you test both cisco's on facter, hiera, and pxp-agent too?

Facter tests pass on Cisco IOS XR:
      Test Suite: tests @ 2017-07-20 10:01:50 -0700

      - Host Configuration Summary -

              - Test Case Summary for suite 'tests' -
       Total Suite Time: 158.62 seconds
      Average Test Time: 1.67 seconds
              Attempted: 95
                 Passed: 90
                 Failed: 0
                Errored: 0
                Skipped: 5
                Pending: 0
                  Total: 95

      - Specific Test Case Status -

Failed Tests Cases:
Errored Tests Cases:
Skipped Tests Cases:
  Test Case tests/ticket_1123_facter_with_invalid_locale.rb
  Test Case tests/custom_facts/using_win32ole_should_not_hang.rb
  Test Case tests/facts/non_root_users_without_errors.rb
  Test Case tests/facts/operatingsystem_detection_after_clear_on_ubuntu.rb
  Test Case tests/facts/verify_tmpfs_file_system.rb

And Cisco nexus:
      Test Suite: tests @ 2017-07-20 10:51:20 -0700

      - Host Configuration Summary -

              - Test Case Summary for suite 'tests' -
       Total Suite Time: 182.51 seconds
      Average Test Time: 1.92 seconds
              Attempted: 95
                 Passed: 87
                 Failed: 0
                Errored: 0
                Skipped: 8
                Pending: 0
                  Total: 95

      - Specific Test Case Status -

Failed Tests Cases:
Errored Tests Cases:
Skipped Tests Cases:
                  Test Case tests/ticket_1123_facter_with_invalid_locale.rb
                  Test Case tests/custom_facts/using_win32ole_should_not_hang.rb
                  Test Case tests/facts/non_root_users_without_errors.rb
                  Test Case tests/facts/operatingsystem_detection_after_clear_on_ubuntu.rb
                  Test Case tests/facts/verify_tmpfs_file_system.rb
                  Test Case tests/options/custom_facts_load_path.rb
                  Test Case tests/options/no_custom_facts_and_load_path.rb
                  Test Case tests/options/config_file/no_custom_facts_and_load_path.rb

pxp-agent tests are passing for Cisco nexus:
      Test Suite: tests @ 2017-07-20 11:21:13 -0700

      - Host Configuration Summary -

              - Test Case Summary for suite 'tests' -
       Total Suite Time: 530.22 seconds
      Average Test Time: 18.94 seconds
              Attempted: 28
                 Passed: 26
                 Failed: 0
                Errored: 0
                Skipped: 2
                Pending: 0
                  Total: 28

      - Specific Test Case Status -

Failed Tests Cases:
Errored Tests Cases:
Skipped Tests Cases:
  Test Case tests/restart_host_run_puppet.rb
  Test Case tests/tasks/run_ps1.rb
Pending Tests Cases:

And Cisco IOS XR as well:
        tests/pxp-module-puppet/negative/attempt_puppet_flag_whitelist_bypass.rb passed in 7.58 seconds
      Test Suite: tests @ 2017-07-20 13:27:21 -0700

      - Host Configuration Summary -

              - Test Case Summary for suite 'tests' -
       Total Suite Time: 513.50 seconds
      Average Test Time: 18.34 seconds
              Attempted: 28
                 Passed: 26
                 Failed: 0
                Errored: 0
                Skipped: 2
                Pending: 0
                  Total: 28

      - Specific Test Case Status -

Failed Tests Cases:
Errored Tests Cases:
Skipped Tests Cases:
  Test Case tests/restart_host_run_puppet.rb
  Test Case tests/tasks/run_ps1.rb
Pending Tests Cases:

Hiera tests are passing on Cisco IOS XR:
tests/yaml_backend/05-lookup_data_with_hash_search.rb passed in 8.12 seconds
      Test Suite: tests @ 2017-07-20 13:46:54 -0700

      - Host Configuration Summary -

              - Test Case Summary for suite 'tests' -
       Total Suite Time: 39.57 seconds
      Average Test Time: 6.60 seconds
              Attempted: 6
                 Passed: 6
                 Failed: 0
                Errored: 0
                Skipped: 0
                Pending: 0
                  Total: 6

      - Specific Test Case Status -

Failed Tests Cases:
Errored Tests Cases:
Skipped Tests Cases:
Pending Tests Cases:

And Cisco IOS XR:
      Test Suite: tests @ 2017-07-20 13:53:25 -0700

      - Host Configuration Summary -

              - Test Case Summary for suite 'tests' -
       Total Suite Time: 40.32 seconds
      Average Test Time: 6.72 seconds
              Attempted: 6
                 Passed: 6
                 Failed: 0
                Errored: 0
                Skipped: 0
                Pending: 0
                  Total: 6

      - Specific Test Case Status -

Failed Tests Cases:
Errored Tests Cases:
Skipped Tests Cases:
Pending Tests Cases:

@joshcooper this PR has been tested as requested

Thanks @McdonaldSeanp! 🚢
@kevpl do you want to review and merge?


Building with Carthage

It would be swank if it was possible to build CRToast with Carthage. The Not Good solution I'm using right now is a fork that has a CRToast.xcodeproj in the root with it's own target/scheme.

Thanks for the suggestion, wasn't sure if there was demand for it. I'll put it in the milestone.

+1

I'm not sure if this would be a passable solution but one way I added support was to just add a new CRToastCarthage.xcodeproj that references the CRToast files that way the current cocoa pods setup isn't linked to it (and that way I left the example/demo project alone).

Yeah that is all that is needed


feat: modified stop_too_far_from_shape so it only checks stop times record with a stop_id

Summary:
Closes #1881
Expected behavior:
modified stop_too_far_from_shape so it only checks stop times records that have a stop_id. It should ignore stop times that don't have a stop_id.
Before:

After:

Please make sure these boxes are checked before submitting your pull request - thanks!

[x] Run the unit tests with gradle test to make sure you didn't break anything
[ ] Add or update any needed documentation to the repo
[x] Format the title like "feat: [new feature short description]". Title must follow the Conventional Commit Specification(https://www.conventionalcommits.org/en/v1.0.0/).
[x] Linked all relevant issues
[x] Include screenshot(s) showing how this pull request works and fixes the issue(s)

@qcdyx Dropped warnings match the new warnings from #1834, so this works on a QA side.


Unpredictable VoxelGI lighting with interior scenes

Godot version
4.1.1 stable
System information
Godot v4.1.1.stable - Windows 11 - Vulkan (Forward+) - dedicated AMD Radeon RX 7900 XT (Advanced Micro Devices, Inc.; 31.0.21001.45002) - AMD Ryzen 9 7950X 16-Core Processor (32 Threads)
Issue description
I'm working on an interior scene, and one thing i've been having a ton of issues with is light bleeding using Voxel GI

based on a lot of searching around on both the github repos and the forums a lot of people said in order for this to work properly
the scene needs to be enclosed in a box so it's easier to control how it bakes

however that doesn't seem to work either.
I've looked over the documentation multiple times to see if I was missing something, and the only thing I can think of is that the walls that are meant to block the light are too thin, even though when I modeled them I made them as thick as possible while making sure that the playable area is unobstructed (the walls and floors are about 1-2 meters thick)
I am unsure if i'm doing something wrong or if it's an issue with the lighting system. Based on the documentation i'm lead to believe it's a bug.
here's my voxel GI lighting settings

Steps to reproduce
create an interior scene with a directional light 3D and use that as the only light present for the voxelGI
Minimal reproduction project
Lighting minimal preproduction.zip
EDIT: added a minimal reproduction project

@xana43 Please upload a minimal reproduction project to make this easier to troubleshoot.
PS: Your outer walls appear to be inward-facing. This is not what you should do. Instead, you need to make your room's walls thicker, rather than adding thin walls outside with flipped faces.

Lighting minimal preproduction - thicker walls.zip
I've even made one with thicker walls, and it still appears to do the same thing

Ok, I'll get to work on fixing up the mesh to work properly and will see if that works.

I'm running into the same issue.
Godot Version
Godot v4.2 Dev 6
System Information:
Windows 10 Home - Vulkan (Forward+) - dedicated Nvidia RTX 3090TI (<IP_ADDRESS>42) - AMD Ryzen 5 3600 6-Core Processor (12 Threads)
I used all the default VoxelGI node default values, except for the volume dimensions, which I made fit tightly around the test buildings.
I've uploaded my own minimal reproduction with two Blender models (one as a .blend file, the other exported as a glTF2.0 file, both are manifolds) and one example that is built with the Cyclops plugin, and all three test buildings unfortunately have significant light leaking, even with very thick (1 meter) walls.  Increasing the voxel subdivisions doesn't help much.
I've tried everything that I've read in the documents to try to fix it, but I just can't seem to prevent the light leaks, which is a bummer because other than this one problem it looks so much better than the SDFGI, in my opinion.

I'm more than willing to try any other suggestions, but I just can't help but feel like the light leaks are a bug.
VoxelGIDemo_Minimal.zip

Would it be appropriate to add this issue to [TRACKER] Vulkan VoxelGI issues #55328?
As an aside, I want to give props to whoever has been involved with this VoxelGI implementation.  It looks great overall and it has huge potential.  Outstanding work.

I don't know if this is at all relevant to this implementation of voxel cone tracing, but I found this bit of info in and old article:

For each voxel we have to store some basic information about its material properties like albedo, normal, emission etc., which we do for each of the six face directions of our box (+x,-x,+y,-y,+z,-z). We can then inject light into the volume, on any voxels that are on the surface, and trace cones a number of times to get our bounce lighting, again storing this information for each of the six directions in another voxel cascade texture.
The six directions I mentioned are important as our voxels are then anisotropic, and without that, light that bounces on one side of a thin wall for example, would leak through to the other side, which is something that we really don't want.

Full article link here: https://www.gamedeveloper.com/programming/graphics-deep-dive-cascaded-voxel-cone-tracing-in-i-the-tomorrow-children-i-

VoxelGI anisotropy was attempted back in 2019 in the early Vulkan renderer rewrite, but it was dropped as it was too expensive.
You can already choose whether 4 or 6 traces are performed for VoxelGI in the project settings (VoxelGI quality).

Got a similar issue, and tested it by building an enclosed box
With SDFGI, it works as it should with the inside of the box being black
With VoxelGI it is just as bright as it would be without global illumination, the box is properly enclosed as shown by SDFGI, and the walls are much thicker than voxels, even with Interior on
It might be not an issue with the scene but an issue with VoxelGI, as it appears to be simply ignoring walls

Just as a note, VoxelGI leaks a lot of light and its not possible to fix this, even with anisotropy (which is quite expensive). The idea is to eventually improve the new HDDAGI and add dynamic object support to it, so you no longer need to use VoxelGI in most cases.

Just as a note, VoxelGI leaks a lot of light and its not possible to fix this, even with anisotropy (which is quite expensive). The idea is to eventually improve the new HDDAGI and add dynamic object support to it, so you no longer need to use VoxelGI in most cases.

Is there any possibility to at least fix existing bugs with VoxelGI?
It makes for much more predictable results in all my tests. HDDAGI isn't there yet and there's no guarantee it will completely replace the need for VoxelGI (as ideal as that would be).
Since the reflection jitter was fixed by #86316 , the only remaining major issue I've found is #84746.
Also regarding the leaks: VoxelGI lets light travel through airtight meshes. The outer walls will be voxelized, but the interior is left completely hollow. I've managed to reduce leaks by using black boxes inside of large meshes:
No internal light blocker:

With internal light blocker:

If airtight meshes were filled with black voxels automatically it would help to resolve the leaking considerably.
I've also managed to reduce leaks around corners by setting Normal Bias to 0.9 at no real quality loss.


Change raw ptr in BlobGC to shared_ptr

Problem: I find that titan_db_test failed at the BackgroundErrorTrigger case with ASAN ON under the trigger_next pr
Cause: After debugging I find that in the BlobGCJob::InstallOutputFiles, BlobFileMeta was generated as shared_ptr, but add to BlobGCJoB::outputs_ as raw_ptr( by shared_ptr::get()). When writing to manifest failed in the BatchFinishFiles, shared_ptr of BlobFileMeta may be released and the access of raw pointer hold by outputs_ may cause error(use memory had been free)
Fix: I make the input_, output_ and sampled_input in BlobGCJon from raw_ptr to shared_ptr and modified  related interface
Note: This problem was find from another pr(trigger next), it maybe caused by adding small file to BlobGC directly, and master branch can pass the titan_db_test, so I am not sure whether this fix is necessary(even so I think we'd better not take raw_ptr from shared_ptr)

+1 for checking return status of BatchFinishFiles. And we can move blob_gc_->AddOutputFile to after BatchFinishFiles success, when we know the file meta has a owner. shared_ptr is not super performant and should not be used blindly.

Codecov Report

Merging #46 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #46      +/-   ##
==========================================
+ Coverage   84.33%   84.35%   +0.02%
==========================================
  Files          43       43
  Lines        2732     2736       +4
==========================================
+ Hits         2304     2308       +4
  Misses        428      428


schema version missing from examples

Attempting to install a bundle built from examples/helloworld results in:
Error: invalid bundle schema version "": Invalid Semantic Version

Similarly, bin/duffle install --driver azvm hello-azure -f examples/helloazure/bundle.json produces the same error message.

+1 same for me.


I got an issue (SyntaxError in my TagUI script) - some tips

Hi @kensoh @lookang @marcelocecin @ruthtxh, I'm having trouble with if/else statements in general and I think something is wrong with my syntax. can pleae help me to solve this problem
Here is my code:
for (loop_wait=1; loop_wait<=wait_loop; loop_wait++)
{
wait 5
if present(path_to_check)
{
click path_to_check
break
}
wait 3
else if present (new_path_to_check)
{
click new_path_to_check
break
}
}
Output: SyntaxError: Unexpected token 'else'
phantomjs://code/test_ifelse.tag.js:2008 in injectJs
phantomjs://code/bootstrap.js:456

Hi @imkrishnendu92
After some debugging I think the wait 3 is causing the error. The following works for me:
wait_loop = 3
path_to_check = "windows.png"
new_path_to_check = "mail.png"

for (loop_wait=1; loop_wait<=wait_loop; loop_wait++)
{
wait 5
if present(path_to_check)
{
click windows.png
wait 3
break
}
else if present(new_path_to_check)
{
click mail.png
break
}
}

while you can pass the variables path_to_check and new_path_to_check to the present function, it is best to use the click full path on the click step instead of a variable.

Thanks @ruthtxh now it's working fine.


FreeBSD

I'm compile exonum project for FreeBSD
But i has error in os_info lib.rs in this line:
imp::current_platform()
Cargo say: Use of undeclare type or module "imp"

@Erchard Could you please check the latest version from master? I'm going to publish 1.0.1 version if everything is OK.


protect visitors privacy

A website visitor should not get tracked by any 3rd party company.
For example, Google Analytics should not be used. There are good alternatives like Piwik.
It is self-hosted, can be configured to anonymize the IP (GA can also, but i don't trust it) and accept Do Not Track-Headers.
The setup is easy (needs PHP and MySQL), the update works with one-click.
This topic came up in https://github.com/elementary/mvp/issues/93 and also affects https://github.com/elementary/mvp/issues/94 .

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

What would NSA/CIA/FBI/blabla care about a small website like ours ? Well, if a guy really cares about his privacy, let him use TOR and GA won't be able to "compromise" him.
My opinion of course.
(ps: the idea is good huh, but we'd better focus on features instead of that)

If elementary were served with a request that required we turn over users data, as a US-based company they would have no choice but to either comply or legally challenge such a request. Any semi-experienced server admin knows it is basically impossible to stop logging, especially when you go through so many devices in between.
I don't think Piwik provides any additional protection from snooping governments. Google have a far better legal team to be fighting that battle for us. That said, I do think we should honor DNT Headers, something I can implement shortly.

Using Google Analytics and Stripe JS (probably non-free). OMGUbuntu said this site would be "privacy minded". I don't think you're living up to that headline. @davidak piwik +1. Piwik is amazing!

I don't think you can process payments with a totally free product. Credit card processing is inherently proprietary.

you can process bitcoin payments with free software. (you also can use propriatary software from some provider so you don't need bitcoind on the server)
credit card would be my last choice. i even don't have one!
sepa would be a good alternative in europe. startnext uses it for example.

You expect us to remove Credit and Debit card processing? Especially within the US? Where most of elementarys money comes from?
"Freedom, at the point at which it inhibits utility, becomes restrictive."

I do not have bitcoins and I will never have.
But I do have a credit card. Elementary's users are not geeks, or devs or whatever, elementary os was designed to be easily accessible without any particular knowledge. The new website is going that way.

i don't say you should remove credit cards!
it is ok if i don't have to use it. i know most people have either a credit card or paypal so supporting this is good to reach most people. same for sepa in europe. (in germany only a few people have credit cards)
it would be really great if you will support bitcoin to have an alternative that gives one more privacy.
supporting only credit card will restrict some people.

Stripe are adding support for bitcoins, which shouldn't require any changes from us.

So it sounds like the actionable item on this report is to not load analytics if the client specifies Do Not Track

@danrabbit #282 does that.

Seeing as #282 is now closed and DNT headers are honored, can this issue be closed?