Validate systems, components and mapping when creating protocol

solves #54

It is important to note that we have something along these lines alread in https://github.com/choderalab/feflow/blob/5c2041aab8855ae3cc152e207d50db9b68bc20a9/feflow/protocols/nonequilibrium_cycling.py#L36


[MNT] removing pytest-xdist from CI/CD?

It would seem that pytest-xdist is behind:

the so far undiagnosed, major CI/CD issue https://github.com/alan-turing-institute/sktime/issues/1941 which caused us so much trouble after the CI/CD refactor, and days of work just to track down the test which it interacted with. See https://github.com/alan-turing-institute/sktime/pull/2004
a newly emergent issue of random worker crashes after an innocuous move to testing classes, in https://github.com/alan-turing-institute/sktime/pull/1992. See #1999 and https://github.com/alan-turing-institute/sktime/pull/2003
issues that I face in local testing on my windows machine - after a number of runs, vs code crashes; also, it creates a number of stray processes which eat memory and have to be killed manually

This indicates to me that pytest-xdist is still a bit immature, and at risk of causing unexplainable, hard to diagnose CI/CD issues. Do we really know when it strikes next, or how corretness of the tests is impacted?
I do think, hence, that we should remove it from our CI/CD set-up.
The cost is, roughly, a doubling of CI/CD time, since the current set-up uses test parallelization with 2 workers.
FYI @lmmentel.

Issue on pytest-xdist here: https://github.com/pytest-dev/pytest-xdist/issues/756

Ok, the culprit might not pytest-xdist, but high memory usage interacting with pytest-xdist.
A hypothesis goes like this:

historically, our test framework created a large, combinatorial number of combinations of fixtures to feed to the tests
pytest.mark.parametrize passes these as-is, so these are mutable. In particular, estimators that are being fitted are mutated with the contents of the fitting
it is my strong suspicion that in the tests, facebook prophet and similar "high-memory" estimators were hence shoveling garbage into the mutable fixtures
leading to the tests, on CI/CD, operating constantly near memory death
the recent refactor (PR 1992), where I incidentally increased combinatorial combination of fixtures, started failing out of memory
following this suspicion, I changed fixtures from lists to generators #2022 - i.e., only one fixture combination at a time lives and then dies as pytest walks through the generator
this appears to give us performances of 30min in the CI/CD, without use of pytest-xdist, as opposed to 60-80min currently.
so, if I didn't do anything wrong and the speed is due to a bug, it strongly indicates that the hypothesis about memory garbage caused by prophet et al is accurate?

We should profile memory, hence, to check.

We decided to keep pytest-xdist and instead skip the tests.
There is some interaction between that and certain tests and parallelization, this is investigated separately.


Chrome on Android removed HPKP

https://chromestatus.com/feature/5903385005916160

Currently on the latest version of Chrome for Android is tracked, so this will just need to be changed to "78":"n". Thanks!

Done

There was a trailing comma in the json, went ahead and fixed it manually.


Some URLs in the /build path were 404 not found after making changes in development mode

Have you experienced this bug with the latest version of the template?
yes
Steps to Reproduce
npx create-remix@latest --template remix-run/blues-stack
npm run docker
npm run setup
npm run dev

Expected Behavior
Should be 200 OK.
Actual Behavior
Some URLs in the /build path were not found. I had to re-run npm run dev for the changes to take effect properly.
https://github.com/remix-run/blues-stack/assets/110478020/f45ef6d9-ccd4-4f24-8aa7-7206f93f352b

I had the same issue, and https://github.com/remix-run/blues-stack/pull/222 fixed it.


Installing in production redmine with LDAP auth

What will happen after executing the command,
rake redmine:plugins:migrate
Since I am using custom plugins in my redmine installation. I don't want to break my existing redmine setup.

It will add mobile_phone column to users and create AuthSource for SMS which you can choose on user edit page

It will add mobile_phone column to users and create AuthSource for SMS which you can choose on user edit page


Zbox characteristics as a filesystem

Most of README is about encryption and security, also some about backend support.
But I don't see typical filesystem metrics like maximum file size, maximum filesystem size, maximum number of files, overhead, fragmentation resilience and so on.
Shall README also mention those parameters?
For example, is zbox suitable for storage of very large number of small files? How slow is to delete those files afterwards?

Good suggestion. I will update the README to add more about the characteristics soon. Thanks.

Maximum data file size (file storage) 	32 MiB

Does it mean files larger than 32 megabytes are not supported?
Or maybe it meat to be "gigabytes"?

Maximum data file size (file storage) 	32 MiB

Does it mean files larger than 32 megabytes are not supported?
Or maybe it meat to be "gigabytes"?

No, 32 MiB data file size means each data file (encrypted) saved on the underlying file storage is maximun 32 MiB, the size limit of a file in ZboxFS is 16 EiB. One ZboxFS file can across one or many data files.

Does it mean it only relevant in file:// mode?
Maybe instead of "Maximum data file size (file storage)" it can be "Maximum underlying file size for file:// storage"?

Does it mean it is only relevant in file:// mode?
Maybe instead of "Maximum data file size (file storage)" it can be "Maximum underlying file size for file:// storage"?

Yes, it is correct. I will put better wording later on.

Does maximum file size depend on pointer width of the system ZboxFS is running on?
Is File::set_len accepting usize instead of u64 a deliberate design choice or oversight?


linux_hardened: make hardened patchset less picky

Motivation for this change
The hardened patches include the root Makefile, so they can add the
-hardened1 string to the end of the version. Unfortunately, they include
a context string which causes them to always fail to match if the minor
version is bumped.
In some cases, it's possible to fuzzy-apply the old patchset against a
newer minor version of the kernel. To accommodate this, we use
patchutils (as from e.g. fetchpatch) to strip all the context lines
from the root Makefile's patch only. This is probably a little more
aggressive than necessary: we only really want to do this for the first
few lines in the Makefile, but this is easiest and there aren't usually
any other changes to the file.
We could also just drop the patch to the Makefile, but this would remove
the -hardened string entirely from the kernel build, which probably
isn't desirable.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

@ofborg test hardened

It might be a better idea to "just" keep the hardened kernels on a different set of versions from the mainline ones.
Not sure how hard that would be to implement though.

It might be a better idea to "just" keep the hardened kernels on a different set of versions from the mainline ones.

See also: #140281. Also, I don't think this change and that change are mutually exclusive.

See also: #140281. Also, I don't think this change and that change are mutually exclusive.

I just opened https://github.com/NixOS/nixpkgs/pull/141100 where the update script takes care of it. I'm not sure if we really want to "blindly" apply patches for kernel versions where these aren't tested.


Set up database

As a developer
I need the database to store the data
So that I can manage the data.
Details & Assumptions:

Use Docker insider the  Vagrant VM to install the database

Acceptance Criteria:
Given [the data]
When [the data need to be stored/operated]
Then [use the database to manage the data]

Details added

Hi, I edited it again. Do you think that is OK?


[BUG] Crash on opening latest plugin version

Describe the bug
On opening Napari, and selecting Plugins > BrainGlobe Registration, it crashes with Process finished with exit code -1073741819 (0xC0000005)
To Reproduce
I have a local development environment setup like so:
conda create -n brainglobe-dev -c conda-forge python=3.10 napari
conda activate brainglobe-dev
pip install -e .[dev]
pip install lxml_html_clean

Then I open Napari, and select Plugins > BrainGlobe Registration.
Computer used (please complete the following information):

OS: Windows
Version: Windows 11, version 23H2

Odd! I just replicated this on a fresh environment in Ubuntu as well.
It seems the culprit is itk-5.4rc3? Downgrading to itk-5.4rc2 seemed to work for me. Does that also fix it on Windows?

I just checked - and this works for windows too. Thanks @IgorTatarnikov !


Task - Create Comment model for Job Posters

Description
We need to create a Comment model associated with Job Posters. It should contain the following fields:
job_poster_id
user_id
created_at (timestamp)
comment (text)
location (text)
context (json)
The location field can be used store a string representing where the comment was added, and the context field can be used to add any extra data we need for a particular comment.
Acceptance criteria

[ ] migration
[ ] Comment model
[ ] Comments relationship added to JobPoster model.

I asked a database expert recently what they thought about JSON fields in a relational database. They said json is great for localizations, and for metadata, but to avoid putting any data you'll want to analyse later in a json field, because any queries that join on that data become very slow.
All that to say, I'm now thinking we should make the "Question/Reccomendation/etc" comment type an explicit field, instead of hiding it in a json context field.


Should both timer states increment the counter?

`        TIMR_IDLE_S: begin
if (START_TMR) begin
state   <= TIMR_COUNT_S;
counter <= counter + 1;
end
end
    TIMR_COUNT_S: begin
      counter   <= counter + 1;
      if (counter == TIMR_MAX_C) begin
        counter <= 0;
        pulse_i <= 1;
        state   <= TIMR_IDLE_S;
      end
    end`

I've thought about this more and I decided I'm dumb


Add GitHub Workflow for Auto-Closing Similar Issue Requests

Description
Feature Description
Explanation of Workflow
Trigger: The workflow runs every time a new issue is created.
Check Duplicates: Uses a GitHub Action to detect similar issues by comparing the title and content with keywords and common phrases.
Close and Comment: If a duplicate is detected, it closes the issue and comments on it, linking to the original issue.
Use Case
This duplicate detection workflow significantly streamlines project management by automatically reducing redundant issues, helping maintainers focus on unique, unresolved problems. It saves time by automating the identification and closure of similar issues, preventing contributors from repeatedly addressing the same questions or bugs. With a clear link to the original issue, users can easily follow updates, improving transparency and reducing confusion. The feature enhances productivity by keeping the issue list organized, ensuring that attention goes to high-priority or novel issues. Overall, it fosters a more efficient, user-friendly environment, promoting collaboration and faster resolution of project needs.
Screenshots
No response
Any additional information?
Benefits
Time Efficiency
Improved Organization
increased Project Productivity
What browser are you seeing the problem on?
Chrome
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

@vishanurag can you assign this to me?

@vishanurag pLEASE ASSIGN

@vishanurag Assign this issue


output of fft added

I would recommend, adding a description to the pull so that we can know what is changes in the new code. Its a suggestion. Thank you

@uarif Right! will do it next time.


source map link doesn't work with jsDelivr because of absolute URL

🐛 Bug description
JSDelivr on this file<EMAIL_ADDRESS>has at the end //# sourceMappingURL=instantsearch.production.min.js.map. This should mean a relative file, but in some cases this seems to be interpreted as an absolute URL and the source map loaded is https://cdn.jsdelivr.net/npm/instantsearch.production.min.js.map
🔍 Bug reproduction
Steps to reproduce the behavior:

Go to https://xo94wl403z.csb.app
open network panel
see http 404

Live reproduction: https://codesandbox.io/s/github/algolia/create-instantsearch-app/tree/templates/instantsearch.js (yes, the default link has this issue)
💭 Expected behavior

source maps are loaded relatively and not absolutely
Additional context
I think jsDelivr somehow might be responsible for this, but not sure yet, would need to experiment if the default maybe is absolute URL and the link it should say is ./instantsearch.production.min.js.map instead

Looks like this is according to the spec, but I'm not sure how to know the full URL of the script: https://stackoverflow.com/a/40907492/3185307 (spec: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.lmz475t4mvbx)

It's actually https://github.com/jsdelivr/jsdelivr/issues/18033, and is fixed if the link is /dist/instantsearch.production.min.js
Not sure what to do about this, so will let it be.


Google Custom Search tag being corrupted

<gcse:searchresults-only></gcse:searchresults-only>
coming out as
<searchresults-only>< searchresults-only>
https://developers.google.com/custom-search/docs/tutorial/implementingsearchbox

+1


HIVE-25141: Review Error Level Logging in HMS Module

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

@miklosgergely I made a couple of changes to get tests to pass.  Can you please take a quick look to validate the change?  Thanks!

@miklosgergely I was a little worried about having to change the timeout to get it to pass, but I have played with it quite a bit and it just seems flaky.  Please let me know if otherwise we are good here.  Thanks!!


can't work ok

thinks for  your's iothub
when i flow doc  start  application,when i login in websit,it nothing data message,  can you share  db data?
thinks

Thanks for your attention, but I have cleared all of my previous data from
database.
On Wed, 2 Jun 2021, 09:21 likai3615560, @.***> wrote:

thinks for your's iothub
when i flow doc start application,when i login in websit,it nothing data
message, can you share db data?
thinks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rafiulgits/IotHub/issues/6, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGUOEXSLIOXCRR4XI7GHMNDTQWPVNANCNFSM4554CWWA
.


dota2 rpc  service not appearing in task bar after installation

Its just not there i tried everything uninstall/reinstall copy cfg files but the service isnt running at all

Hello @isfuuu, thx for trying to use the application.
The application is not a desktop application but a service, so it will only appear in the taskbar if you open it using the terminal.
You can check as follows: open the task manager and look for the services tab; check if the dota2rpc executable is registered in the services tab and is running.
You can also run it manually, open the terminal in the folder where you installed the application and run the commands:
To install:
dota2-rpc-client.exe -i

To run:
dota2-rpc-client.exe -f

Try running one of these and show the result here, it can be a print if you want


Add support for JAXBElement fields in the Fluent API

JAXB creates quite unnatural code when fields may be 'nil' by wrapping them in JAXBElements. One must then use the (also generated) ObjectFactory to create the right field values.
This Pull Request tries to help by detecting fields with JAXBElement and adding a extra withXxX(SomeType) method that automatically uses ObjectFactory to wrap supplied simple type. This gives the user an option of using a very much simplified syntax that will be much more intuitive.
I hacked this out very quickly today and works well on the WSDL i have at hand, all comments welcome.

Hi terje, could you please supply an example XSD that shows the behavior you described? To my experience, simply putting "nillable='true'" into an element definition doesn't cause the element to be generated as JAXBElement... There might be a certain combination of type of the element, nillability, and maybe other factors...

Hi Mirko,
Yes, you are correct, I am missing some additional details. In addition, the field needs to be optional.
This discussion has a good example and shows the current set of options: http://stackoverflow.com/questions/26549095/jaxb-xjc-generates-jaxbelementstring-rather-than-just-string-to-handle-null-c
In my case, the tri-state of these fields (set to a value, not present or set to nil) is used for update operations of a large data set over soap. Having optional with nillable allows the caller to ignore fields that we do not want to change (no present) or possible unset fields back to default (set to nil).
So, clients of such structures have (currently) two options: Use JAXBElement everywhere, producing horrible code. Or, set "generateElementProperty" to true in the binding file. The latter causes every field to be marshalled every time with nil=true, which will not work for me.

OK, I'll merge the pull request, but I think we have to make it clear what happens if you use the withXXX-Methods to set the field to null. Will it generate a JAXBElement with a value of xsi:nil or will it set the field holding the JAXBElement to null (meaning "element not present")? Especially, in your use case, this is an important distinction...


Make setup_env_proxy immune to close ssh socket failure

On a concourse container it is increasingly noticed that ssh socket
connection fails to close cleanly and results in script exiting with non
zero status due to set -e flag. This commit disables the set -e and
forces the ssh socket closure command to return 0 status.

okay I will try this on refactor-disk dummy pipeline


Release 1.2.10

Purpose
$subject

Codecov Report

Merging #26879 (6f7ecfc) into ballerina-1.2.x (9516a4a) will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           ballerina-1.2.x   #26879   +/-   ##
================================================
  Coverage            14.59%   14.59%
================================================
  Files                   51       51
  Lines                 1411     1411
  Branches               219      219
================================================
  Hits                   206      206
  Misses                1189     1189
  Partials                16       16

Continue to review full report at Codecov.

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


Doesn't work on localhost self signed SSL cert (<IP_ADDRESS>)

As per title, using RR on my localhost development IIS (full) server with a SSL self signed certificate.
RR version: <IP_ADDRESS>
These are the errors the dashboard records:
Key: 886c8e90-6265-0f36-76b1-a2ec55fac4a0
First errored on: 18/04/2012 14:07:30
Number: 1
Exception #1: There were errors reducing https://localhost/static/js/jquery-1.6.4.min.js::https://localhost/static/js/jquery-ui-1.8.16.custom.min.js::https://localhost/static/js/jquery.cycle.js::https://localhost/static/js/superfish.js::https://localhost/static/js/hoverIntent.js::https://localhost/static/js/jquery.jElementExpander.js::https://localhost/static/js/jquery.form-2.63.js::https://localhost/static/js/knockout-2.0.0.js::https://localhost/static/js/jquery.meow.js::https://localhost/static/js/startup.js::
Exception #2: RequestReduce had problems accessing https://localhost/static/js/jquery-1.6.4.min.js. Error Message from WebClient is: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
Stack Trace#2:
at RequestReduce.Utilities.WebClientWrapper.Download(String url, IEnumerable1 requiredMimeTypes) in c:\RequestReduce\RequestReduce\Utilities\WebClientWrapper.cs:line 89    at RequestReduce.Utilities.WebClientWrapper.Download[T](String url) in c:\RequestReduce\RequestReduce\Utilities\WebClientWrapper.cs:line 35    at RequestReduce.Reducer.JavaScriptReducer.ProcessJavaScript(String url) in c:\RequestReduce\RequestReduce\Reducer\JavaScriptReducer.cs:line 56    at RequestReduce.Reducer.JavaScriptReducer.ProcessResource(Guid key, IEnumerable1 urls) in c:\RequestReduce\RequestReduce\Reducer\JavaScriptReducer.cs:line 32
at RequestReduce.Reducer.HeadResourceReducerBase`1.Process(Guid key, String urls) in c:\RequestReduce\RequestReduce\Reducer\HeadResourceReducerBase.cs:line 37
at RequestReduce.Module.ReducingQueue.ProcessQueuedItem() in c:\RequestReduce\RequestReduce\Module\ReducingQueue.cs:line 162
Exception #3: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
Stack Trace#3:

at System.Net.HttpWebRequest.GetResponse()
at RequestReduce.Utilities.WebClientWrapper.Download(String url, IEnumerable`1 requiredMimeTypes) in c:\RequestReduce\RequestReduce\Utilities\WebClientWrapper.cs:line 62
Exception #4: The remote certificate is invalid according to the validation procedure.
Stack Trace#4:

at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.ConnectStream.WriteHeaders(Boolean async)
Key: dd1c5b4c-c20a-d2af-3e70-acc8890bfeae
First errored on: 18/04/2012 14:07:30
Number: 1
Exception #1: There were errors reducing https://localhost/static/css/reset.css::https://localhost/static/css/text.css::https://localhost/static/css/grid.css::https://localhost/static/css/jquery-ui-1.8.16.custom.css::https://localhost/static/css/superfish.css::https://localhost/static/css/jquery.meow.css::https://localhost/static/css/site.css::
Exception #2: RequestReduce had problems accessing https://localhost/static/css/reset.css. Error Message from WebClient is: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
Stack Trace#2:
at RequestReduce.Utilities.WebClientWrapper.Download(String url, IEnumerable1 requiredMimeTypes) in c:\RequestReduce\RequestReduce\Utilities\WebClientWrapper.cs:line 89    at RequestReduce.Utilities.WebClientWrapper.Download[T](String url) in c:\RequestReduce\RequestReduce\Utilities\WebClientWrapper.cs:line 35    at RequestReduce.Utilities.WebClientWrapper.DownloadString[T](String url) in c:\RequestReduce\RequestReduce\Utilities\WebClientWrapper.cs:line 114    at RequestReduce.Reducer.CssReducer.ProcessCss(String url) in c:\RequestReduce\RequestReduce\Reducer\CssReducer.cs:line 51    at RequestReduce.Reducer.CssReducer.ProcessResource(Guid key, IEnumerable1 urls) in c:\RequestReduce\RequestReduce\Reducer\CssReducer.cs:line 36
at RequestReduce.Reducer.HeadResourceReducerBase`1.Process(Guid key, String urls) in c:\RequestReduce\RequestReduce\Reducer\HeadResourceReducerBase.cs:line 37
at RequestReduce.Module.ReducingQueue.ProcessQueuedItem() in c:\RequestReduce\RequestReduce\Module\ReducingQueue.cs:line 162
Exception #3: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
Stack Trace#3:

at System.Net.HttpWebRequest.GetResponse()
at RequestReduce.Utilities.WebClientWrapper.Download(String url, IEnumerable`1 requiredMimeTypes) in c:\RequestReduce\RequestReduce\Utilities\WebClientWrapper.cs:line 62
Exception #4: The remote certificate is invalid according to the validation procedure.
Stack Trace#4:

at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.ConnectStream.WriteHeaders(Boolean async)

I get an error from your ps script, the module utilities could not be loaded.


Theme variants are removed by purgecss

tailwindcss-multi-theme version: 1.0.3
tailwindcss version 1.8.4
Are you using other plugins? Which? @tailwindcss/custom-forms

Relevant code or config:
{
    theme: {
        themeVariants: [ 'foo' ],
    },
    variants: {
        backgroundColor: [ 'responsive', 'hover', 'foo', 'foo:hover' ],
    }
}

What you did:
I added some theme variants as described in the docs and like shown above.
What happened:
The variants work as expected in dev builds without purgecss (really cool!).
Problem description:
The variants seem to get removed in prod builds when purgecss kicks in. They can't be found in the resulting optimized css at least.
Suggested solution:
Maybe this is caused by recent changes in tailwindcss when purgecss config was included? Is an adjusted regex required? Turning off the new purgeLayersByDefault setting doesn't help neither.
Thanks for this great plugin and for taking the time.

I'm sorry. It was my bad. In my setup the theme-foo classes were removed unintentionally which I was able to fix. Everything is working perfectly now. Thanks again.


Document the license

Open source code must have a license. Just copy the 3-clause BSD file header and the LICENSE file from Vc.

Looked it up now. There's no requirement to add your e-mail address, your name suffices. And no need to add the copyright notice the the LICENSE file. It's really only important on the source/header files.


Wire and Wire1 are Swapped

Describe the bug
Looks like Wire and Wire1 are swapped, please check this thread for more details:
https://forum.arduino.cc/t/i2c-experiments-with-zephyr-on-giga/1326321
this post in particular: https://forum.arduino.cc/t/i2c-experiments-with-zephyr-on-giga/1326321/6
Target board + cli verbose compilation output
Arduino GigaR1
Full verbose compilation output, ideally with arduino-cli invocation or from IDE 2.3.3+
Output.txt
Output of Serial Monitor
"Error initializing communication with IMU"
Output of readelf
You can find the loaction of the elf file by compiling in Verbose mode and looking near the end of the compilation output (after Linking everything together..)
Paste (or attach) the output of arm-none-eabi-readelf -a $your_sketch_elf_file
Optional: attach the elf file
LIS3DML_icm20649_bolderflight_libs.ino.zip
Optional: attach the sketch
Additional context
Runs under Giga1 Mbed no issues.

@KurtE were digging some more into the way Zephyr works (see the referenced thread) and it appears that only one Wire port may be defined even though I don't see defined in the variants for the giga.

Downloaded the current updates in the repository and Wire now seems to defined correctly.  However when I use the I2CScanner sketch and change to Wire1 I get an error message:

Compilation error: 'Wire1' was not declared in this scope; did you mean 'Wire'?

So kind of confirms only one Wire object is defined

Just a quick update.  Got it working by adding this to the giga m7 overlay file
&i2c1 {
	status = "disabled";
	pinctrl-0 = <&i2c1_scl_pb8 &i2c1_sda_pb9>;
	pinctrl-names = "default";
	clock-frequency = <I2C_BITRATE_FAST>;
};

&i2c2 {
	status = "disabled";
	pinctrl-0 = <&i2c2_scl_ph4 &i2c2_sda_pb11>;
	pinctrl-names = "default";
	clock-frequency = <I2C_BITRATE_FAST>;
};

and
i2cs = <&i2c2>, <&i2c4>, <&i2c1>;

Then running a modified Scanner (PJRC) was able to see wire and wire1
Scanning Wire...
Device found at address 0x1C  (LIS3MDL)
Device found at address 0x68  (DS1307,DS3231,MPU6050,MPU9050,MPU9250,ITG3200,ITG3701,LSM9DS0,L3G4200D)
done

Scanning Wire1...
Device found at address 0x60  (MPL3115,MCP4725,MCP4728,TEA5767,Si5351)
Device found at address 0x68  (DS1307,DS3231,MPU6050,MPU9050,MPU9250,ITG3200,ITG3701,LSM9DS0,L3G4200D)
Device found at address 0x76  (MS5607,MS5611,MS5637,BMP280)
done

@KurtE mentioned you might want to update your scanner for more than 1 wire object.   Also might be convenient to define WIRE_INTERFACES_COUNT in Wire after the MACRO is called in Wire.h
Heres the sketch I am using for reference:
GIGA_SCANNER.zip

Hi @mjs513 ,
thanks for spotting! Do you mind providing a PR for the dts to preserve attribution 🙂 ? Thx!

Yep we added a couple things the overlay for SPI based on @KurtE stuff:
&spi1 {
	status = "okay";
	pinctrl-0 = <&spi1_nss_pa4 &spi1_sck_pb3
		     &spi1_miso_pg9 &spi1_mosi_pd7>;
	pinctrl-names = "default";
};

&spi5 {
	status = "okay";
	pinctrl-0 = <&spi5_nss_pk1 &spi5_sck_ph6
		     &spi5_miso_pj11 &spi5_mosi_pj10>;
	pinctrl-names = "default";
};

and
		spis = <&spi1>, <&spi5>;
think the diff is we specified spi5 instead of just saying ok

I'll check the SDFat lib, let's move to another issue so we can properly keep track there


low level write fails to write go floats equal to math.NaN()

Running the following low level write example fails with "Closing parquet file writer failed: couldn't find value NaN in dictionary values". This bug is on release 0.9.0 and master. but not on 0.8.0.
The bug appears in the encodeValues function in type_dict.go:
func (d *dictEncoder) encodeValues(values []interface{}) error {
	for _, v := range values {
		if idx, ok := d.indexMap[mapKey(v)]; ok {
			d.indices = append(d.indices, idx)
		} else {
			return fmt.Errorf("couldn't find value %v in dictionary values", v)
		}
	}
	return nil
}

@msbutler thanks a lot for your report! Turns out, NaN can't be used as a value in a map: https://go.dev/play/p/k8Cixtqyq8Z
I'll start working on a fix.

awesome, thank you! I've just implemented a test  on cockroach that roundtrips read/write parquet on random data, weighted towards using corner case values of various go types. Will continue posting bugs as a I catch them.

@msbutler Do you want to test the fix in this PR before we merge? https://github.com/fraugster/parquet-go/pull/74

The fix works! Thanks for such a quick response!


How do you generate .plc file using LEF/DEF translator?

I have been attempting to use the LEF/DEF translator to use in circuit training, but the script only generates the .pb.txt file upon completion with the example that this given. From my understanding, the circuit training requires both the .plc and the .pb.txt file to work unless otherwise stated. I would really appreciate some assistance/guidance for this.

grouper_main doesn't need a plc file as an input. It only needs the pb.txt file. It will generate the plc file for the clustered netlist which you can use as an input to the RL algorithm.

I have issues running grouper_main, mostly when attempting to import any module that has circuit_training, I have tried to use sys.path.append() but that means every script that I need to import circuit training will also require this change. I will try to run using python instead of python3 for now and see if that fixes the issue


Backfilling block bodies during Beam Sync

What is wrong?
Currently, during Beam Sync, Trinity cannot answer any questions about transactions, receipts, or uncles that happen in blocks that were not executed. (Actually, currently, Beam Sync never terminates)
How can it be fixed
Somewhat similar to #1664 - we could start tracking the missing block bodies in a list of ranges by block number. Then add a service that downloads block bodies (probably only when the Beam Sync lag isn't too high).
This could be very similar (or potentially even reuse) the code from the fast syncing approach, here:
https://github.com/ethereum/trinity/blob/1b32d85b1065d6c97de16887a0433b0a3e675fe7/trinity/sync/full/chain.py#L578
The main difference is that you would replace the header syncer passed in here: https://github.com/ethereum/trinity/blob/1b32d85b1065d6c97de16887a0433b0a3e675fe7/trinity/sync/full/chain.py#L133
with a "header syncer" that just loads the headers that already exist out of the database.
There is some crossover that has to be managed with #1664 -- what if the header is missing because of a checkpoint. The simplest thing to do, I suppose, is to pause this backfiller until the header shows up.

Ignoring potential holes due to checkpoint syncing for a moment, do we currently have simple markers in our DB that remembers the highest block number for which have downloaded a consecutive chain of receipts, uncles and transactions?
This came up while working on tracking (https://github.com/ethereum/trinity/pull/1682) because geth can tell at any point: What is the latest header, block and receipt that we have synced so far.
Maybe it would make sense to have markers like you proposed in #1664 for uncles, transactions and receipts individually? And maybe it would also make sense to come up with a special unbounded marker. For instance, when we start beam syncing and we haven't downloaded any uncles, receipts or transactions than e.g. MISSING_RECEIPTS_NUMBERS would contain something like [[0, -1]] which would basically mean we are missing everything from 0 to infinity.
When we then start backfilling from genesis and e.g. stop after 999 we would update it to [[1000, -1]]`.
Does that make sense? And related, do you have already started working on this and is this an area where you'd think I could help with?

I believe that we don't track this and that it should not be part of py-evm so I believe it's something that trinity would need to keep track of.  It could still store it in the main key/value database.

Does that make sense?

Yeah, most of it!

Maybe it would make sense to have markers like you proposed in #1664 for uncles, transactions and receipts individually?

So I guess the win here would be that: if you download some of these things from a peer, but didn't get them all persisted yet, that you can pick up where you left off without downloading them?
I think the benefit of not having to download some data from a peer again is smaller than the cost of the extra code to handle the case of loading the transactions/uncles/receipts from disk in some intermediate pre-block-persistance store. (Plus some added DB read/write costs there)
I think it's better to just load them all from the peer, and run persist_block(), then mark that complete block as persisted (which includes the uncles, transactions and receipts).

And related, do you have already started working on this and is this an area where you'd think I could help with?

I haven't really started in on it, if you want to take a stab, be my guest!

think the benefit of not having to download some data from a peer again is smaller than the cost of the extra code to handle the case of loading the transactions/uncles/receipts from disk in some intermediate pre-block-persistance store.

No specific reason other than, if it can be tracked individually, maybe we will need the granularity at one point. But no objections to keeping it simple and just track whole blocks :+1:

I haven't really started in on it, if you want to take a stab, be my guest!

Awesome! I'll start digging!


v0.8.2 Patching

Checklist

[ ] Used a personal 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.

@conda-forge-admin, please rerender

@yinweisu
You can comment out lines 36-37 to bypass this version check for now. Restore it when you have 0.8.3 official release


Alert Page is opening when clicked on button navigation bar

This can be easily fixed please assign me the issue

please assign this project to me i can do it

@BrawlerXull please give more info regarding to issue that you have raised

can you please assign me this issue under GSSoc 2023. I really want to work on this issue.

I know this issue please assign it to me.I'm a good flutter developer

@BrawlerXull please give more info regarding to issue that you have raised

Both the category name alert and bottom navigation bar is opening the same page which should be different as per the category

@BrawlerXull Assinging you


Assess use of Meta in Textfield & Select

We have "meta" in Textfield label, and unit now. In a lot of uses-cases only unit is used and meta feels excessive.
In making things more clear and simpler to use for our users we should assess use of meta

After a quick check we see that unit is used a lot, so the question is if we can go ahead and remove 'meta'. That would mean that if a designer use meta and has not detached the component from EDS, we would remove this info from their design.
It will of course be important to inform our users in good time upfront if we go ahead and remove it.
Another question is if meta could be useful (in addition to unit). One scenario could be for character counts for instance;

Then again, we sometimes have to draw a line to keep things more simple.... Any thoughts?


Typeahead initial value

I need to set the initial value of typeahead when I plan to use with a database. The following constuctor will display the Selected Month but I need the value displayed in the  aubs-typeahead  tag
constructor(api, ea) {
this.api = api;
this.contacts = [];
this.selectedId = null;
this.monthOfTheYear = {
  name: 'December',
  short: 'Dec',
  number: 12
}

Thanks
John

Hi,
Im happy to contribute to the beer fund if you could add the featre to set the initital value to typeahead or show me how to set it. It's the only feature I'm missing to convert a Angular 1.X app
Thanks,
John

Hi,
I'm successfully using the filter but still cant get the typeahead to display value. Here is my implementation
getStates(filter, limit) {
let filterlc = filter.toLowerCase()
let states
let Promise = this.stateService.loadStates()
.then(response => {
states = response
return states
})
.then(states => filter.length > 0 ? states.filter(item => item.name.toLowerCase().indexOf(filter.toLowerCase()) > -1) : states)
.then(states => filter.length > 0 ? states.filter(item => item.name.toLowerCase().indexOf(filterlc) > -1) : states)
return Promise
}
activate() {
this.getStates('New York',100)
this.name= { name: 'New York', value: 'NY' }
}

I think I found a soultion and hope this help someone else. Aurelia needs more of these soutions!
Thanks
John
attached() {
this.name = {
name: 'New York',
value: 'NY'
}
$(document).ready(function () {
$('#dow').val( this.name);
})
}
html
Async Data

Clear State

Selected State:   ${name.value}


Add GatingSet examples the the GitHub readme

Specifically show how to plot transformed and untransformed axis values, how to deal with gates, etc

We have very detailed vignettes listed here https://bioconductor.org/packages/release/bioc/html/ggcyto.html
Maybe replace readme with update-to-date version of this doc Feature summary of ggcyto?

Yes, that's a good idea.

See the updated README(modified and abridged based on other vignettes) and let me know if what else could be added there.


Disable analysis/metrics in generated files

This disables analysis of code in generated files with .g.dart or .freezed.dart suffixes.

Hey @icodelifee 👋
Thank you for this great contribution 👍💙
I will merge it now and release a new version on pub as soon as I can :)

Version v0.13.0 of fleasy is now available on pub and includes this.
Thanks again for this PR and the interest in this package :)


Google API error - [403] The request is missing a valid API key.

Having such an error every time I try to use doc.loadInfo() or any other API method.
My code is fully copied from the documentation.
      const doc = new GoogleSpreadsheet('MY-SHEETS-ID')
      await doc.useServiceAccountAuth(creds) //this works fine, creds variable contains all the info
      await doc.loadInfo(creds) //error happens here

Doc's instructions are fully completed.
1 - created project
2 - sheets API is enabled for the project, also enable domain-wide access
3 - shared my sheets with an email from the service account
4 - created JSON key
5 - downloaded JSON key
6 - code from docs
And it works wrong every time.
Authentication with the OAuth key works in the same way. I'm still getting the same error with such a response.
{
 error: {
     code: 403,
     message: "The request is missing a valid API key.",
     status: "PERMISSION_DENIED"
     }
}

I had the same problem. I think this is a CORS issue (not a node-google-spreadsheet problem)

Also you have to remember to share the doc in question with the service account you've created.
Closing this for now...


Inaccessible anchors in documentation

Some parts of documentation refers to inherited options/events/methods.
That parts are in collapsed sections.
Definitions in that parts have own anchors, and it makes sense.
Unfortunately such anchors are mostly inaccessible while related sections are collapsed.
Sample:
https://leafletjs.com/reference-1.5.0.html#geojson-bindtooltip
Perhaps js part of docs can be improved to not collapse section which is referred in url.

cc @IvanSanchez for Leafdoc

Modiefied provided example to the current version https://leafletjs.com/reference-1.6.0.html#geojson-bindtooltip
Should be closed as non issue


Force tester to enter y or n

Test script will fail the testcase if you enter yy or yes etc.
This change requres the tester to enter a string starting with y, Y, n,
or N.

This functionality has been added.


Update repo documentation

[x] Improve README.md by adding instructions on how to install and how to use
[ ] Possible improve project description
[ ] Consider the name of the repository/project
[ ] Add Code_of_conduct.md
[x] Add Contributing.md
[x] Add basic issues template
[x] Add PR template

Suggestion is to rename the project to TestableHttpMessageHandler, however, the name of the project/main namespace will be the same as the main class...

Using TestableHttpClient as the name for the project seems to be the most logic solution.


Couldn't find valid bootstrap

I have the following docker file:
FROM public.ecr.aws/lambda/nodejs:12

ENV PATH=/var/lang/bin:/usr/local/bin:/usr/bin/:/bin:/opt/bin
ENV LD_LIBRARY_PATH=/var/lang/lib:/lib64:/usr/lib64:/var/runtime:/var/runtime/lib:/var/task:/var/task/lib:/opt/lib
ENV LAMBDA_TASK_ROOT=/var/task
ENV LAMBDA_RUNTIME_DIR=/var/runtime

WORKDIR $LAMBDA_TASK_ROOT
RUN yum install -y make cmake3 automake autoconf libtool gcc-c++
RUN npm i aws-lambda-ric

ADD source_code $LAMBDA_TASK_ROOT
ENTRYPOINT ["npx", "aws-lambda-ric"]
CMD ["index.handler"]

When I run it as is it throws an error:
INFO Executing 'index.handler' in function directory '/var/task'
ERROR Missing Runtime API Server configuration.

When I run it with debug configuration:
docker run -d -v ~/.aws-lambda-rie:/aws-lambda -p 9000:8080 --entrypoint /aws-lambda/aws-lambda-rie lambdapp:latest npx aws-lambda-ric index.handler
curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d '{}'

it throws an error:
level=info msg="exec 'npx' (cwd=/var/task, handler=index.handler)"
level=info msg="extensionsDisabledByLayer(/opt/disable-extensions-jwigqn8j) -> stat /opt/disable-extensions-jwigqn8j: no such file or directory"
level=warning msg="Cannot list external agents" error="open /opt/extensions: no such file or directory"
level=warning msg="Couldn't find valid bootstrap(s)" bootstrapPathsChecked="[npx]"
level=warning msg="First fatal error stored in appctx: Runtime.InvalidEntrypoint"
level=error msg="Init failed" InvokeID= error="Couldn't find valid bootstrap(s): [npx]"
level=warning msg="Failed to send default error response: ErrInvalidInvokeID"
level=error msg="INIT DONE failed: Runtime.InvalidEntrypoint"
level=warning msg="Reset initiated: ReserveFail"

The same is with entrypoint aws-lambda-rie npx aws-lambda-ric index.handler:
level=error msg="Init failed" InvokeID= error="Couldn't find valid bootstrap(s): [aws-lambda-rie]"

The /opt dir is empty
The npx is located in /var/lang/bin and linked to ../lib/node_modules/npm/bin/npx-cli.js.
When I try to install it manually by npm i -g npx it throws an error because it already exists.
What is wrong with this configuration?

Hi @markb-trustifi,
The first thing that comes to my mind related to your issue is that you are using the Lambda base image for NodeJs 12
FROM public.ecr.aws/lambda/nodejs:12
The Runtime Interface Client is already installed in the image, so there is no need to be installed again.
So, the suggestion would be to at least reduce the Dockerfile to:
FROM public.ecr.aws/lambda/nodejs:12

ENV PATH=/var/lang/bin:/usr/local/bin:/usr/bin/:/bin:/opt/bin
ENV LD_LIBRARY_PATH=/var/lang/lib:/lib64:/usr/lib64:/var/runtime:/var/runtime/lib:/var/task:/var/task/lib:/opt/lib
ENV LAMBDA_TASK_ROOT=/var/task
ENV LAMBDA_RUNTIME_DIR=/var/runtime

WORKDIR $LAMBDA_TASK_ROOT
ADD source_code $LAMBDA_TASK_ROOT
CMD ["index.handler"]

Also, you can find more information about working with AWS base images for Lambda at https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-create-1 .
Please feel free to update the issue if you are still having issues.

Hi @markb-trustifi,
The first thing that comes to my mind related to your issue is that you are using the Lambda base image for NodeJs 12
FROM public.ecr.aws/lambda/nodejs:12
The Runtime Interface Client is already installed in the image, so there is no need to be installed again.
So, the suggestion would be to at least reduce the Dockerfile to:
FROM public.ecr.aws/lambda/nodejs:12

ENV PATH=/var/lang/bin:/usr/local/bin:/usr/bin/:/bin:/opt/bin
ENV LD_LIBRARY_PATH=/var/lang/lib:/lib64:/usr/lib64:/var/runtime:/var/runtime/lib:/var/task:/var/task/lib:/opt/lib
ENV LAMBDA_TASK_ROOT=/var/task
ENV LAMBDA_RUNTIME_DIR=/var/runtime

WORKDIR $LAMBDA_TASK_ROOT
ADD source_code $LAMBDA_TASK_ROOT
CMD ["index.handler"]

Also, you can find more information about working with AWS base images for Lambda at https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-create-1 .
Please feel free to update the issue if you are still having issues.

As a side-note, the environment variables and working directory defined here are redundant as they're already set in the base image and will be inherited in your function's image.
Your Dockerfile can thus be simplified to:
FROM public.ecr.aws/lambda/nodejs:12

ADD source_code $LAMBDA_TASK_ROOT
CMD ["index.handler"]

As a side-note, the environment variables and working directory defined here are redundant as they're already set in the base image and will be inherited in your function's image.
Your Dockerfile can thus be simplified to:
FROM public.ecr.aws/lambda/nodejs:12

ADD source_code $LAMBDA_TASK_ROOT
CMD ["index.handler"]


Add ASP.NET 3.5 image for 1709

The commit is missing ServiceMonitor.exe. See my PR for 4.7.1 -> https://github.com/Microsoft/aspnet-docker/pull/54/files

@richlander Thanks for the feedback!  ServiceMonnitor.exe has been added.


Increase flexibility on which offset to start for kafka adapter, when previous offset not found or out of range

Before: if previous offset not found, it always starts at the earliest offset; if previous offset is out of range, either start at earliest offset or skip partition.
Now:

If previous offset not found, may start at earliest or latest, or skip. Controlled by "bootstrap.with.offset".
If previous offset out of range, may start at earliest or latest, or skip, or start at the nearest offset (if it's closer to earliest, start at earliest, otherwise start at latest). Controlled by "reset.on.offset.out.of.range".

@ibuenros please take a look. Thanks.

Updated, since switch(string) not supported in Java 6. Changed to if-else.

Just one comment.

LGTM


TypeError: this.buffer.substring is not a function

Describe the bug
TypeError: this.buffer.substring is not a function
at Lexer.getLine (/usr/src/app/node_modules/yaml/dist/parse/lexer.js:208:28)
at Lexer.parseStream (/usr/src/app/node_modules/yaml/dist/parse/lexer.js:244:25)
at parseStream.next (<anonymous>)
at Lexer.parseNext (/usr/src/app/node_modules/yaml/dist/parse/lexer.js:226:36)
at parseNext.next (<anonymous>)
at Lexer.lex (/usr/src/app/node_modules/yaml/dist/parse/lexer.js:160:32)
at lex.next (<anonymous>)
at Parser.parse (/usr/src/app/node_modules/yaml/dist/parse/parser.js:159:20)
at parse.next (<anonymous>)
at Composer.compose (/usr/src/app/node_modules/yaml/dist/compose/composer.js:130:20)

To Reproduce
test.js
import YAML from 'yaml';
import * as fs from "fs/promises";

try {
    const file = await fs.readFile("config.yml");
    let config = YAML.parse(file);
} catch (e) {
    console.error(e);
}

config.yml
test:
  data:
    - foo
    - bar

Expected behaviour
I expected config.yml to be loaded and parsed to a JS object without error.
Versions:

Environment: Node.js 16 (Docker Image)
yaml: 2.2.1

Additional context
Add any other context about the problem here.

Without a second encoding argument readFile() returns a Buffer, not a string.

@eemeli What do you think about adding guard for Buffers with better error message. I made this mistake today and only here found solution in this ticket.

Sure, that makes sense. Feel free to submit a PR adding a better error to parseDocument() and parseAllDocuments(). Probably something simple that's just checking typeof source === 'string'. It'll probably need a new error code as well.

2.4.1


Selectively Train on multiple datasets

Labeled data may come from any number of datasets. To improve training experiment throughput, implement a feature by which training datasets can be dynamically combined.
The feature should support the aggregation of classes and images from any number of on-disc datasets and allow the user to specify what classes from what dataset should be included.
Furthermore, to account for the --class-max flag behavior, this feature should be able to prioritize certain datasets over others when truncating per-class sample sizes.

Proposed solution
Allow the the SRC parameter of neuston_net.py TRAIN to accept a configuration file that specifies which and how datasets are to be combined. Similar to --class-config, classes can be included, excluded, and renamed.
Under this situation, the following dataset setup steps would take place:

datasets from SRC are selectively combined
then --class-config configuration are applied
next, any classes below the --class-min threshhold are skipped
finally, --class-max is applied, truncating the samples of any classes with more samples than the specified MAX, truncating files from lower priority datasets first

Considerations
Randomness can be mitigated by setting a seed value with --seed, but repeatability with is only ensured for a given dataset configuration. --class-max may not truncate the same files off if any of the previous dataset configuration parameters change.


ODK-X Services - Menu navigation UI improvement

The Outreachy 2022 branch of the ODK-X Services mobile app has a redesigned menu navigation.
This menu navigation needs to be updated to match the current style guide, and to review for usability.
Objectives:
Update the UI to match the current style guide, and new styles introduced in the Outreachy 2023 project.
Review the navigation for simplicity
Ensure that the navigation is suitable for each 'state' - logged in, not logged in etc. (examples below)
Look at Services and become familiar with the current menu layouts throughout the app
Provide a redesign of the menu items that meets the objectives
Design Guidelines:
Colours, icons and other user interface elements used should conform to the ODK-X Design Guidelines
These guidelines may be updated during the Outreachy 2023 project.

Thank you @maprehensive.
But I even think the old top app bar works much better than this side menu.
This side menu has a repetition of the items on the 'Settings' screen. I think the '3 dots' menu works, and the solution to #385 would solve the problem of 'each state' - logged in or not.

@Cveman1 Remember we are designing a new top menu for ALL 3 applications should look the same.
Also remember that according to material design guidelines (which we are using material design) the navigation should be done with drawer coming in from the left with Android ... from my limited understanding listening to others. Maybe this is incorrect but you should be following material style and verifying it.
https://m3.material.io/components/navigation-drawer/overview
Our hope is to stay current with Android design style so it's intuitive for the user.
https://developer.android.com/design

@Cveman1 also as we said on the call, we know there is repetition, that is why we need a new revised designed.

Okay, I understand @wbrunette. Thank you. I'll go through the links you sent and trying solving the issue again.
Thanks a lot!

Hi @maprehensive
Here's a better solution to the Menu navigation UI.

Guidelines

This follows Material Design principles for navigation drawers
Every colour used is also included in the recent update to the ODK-X Design Guidelines
All the icons can also be found in Google fonts
All the icons are 24px in height and width.
The navigation drawer is 360px wide.
The headline text is 14px, medium and the fill is #787579
The other texts and icons are #1C1B1F
Each item in the list has a margin of 16px between the icon and its label. There is also an external padding of 16px on all sides.

#Concerns

I can't exactly tell the difference between 'Update' 'Switch sign-in' and 'Server login'

A couple of issues:

There is no need for the word "Services" in the title; it should only be ODK-X or logo. (Creates a unified feel between the three apps and prepares for possibly combining them)
I do not like the bug icon for conflicts. Make it seems really negative... also maybe we can come up with better verbiage. Perhaps "Resolve Data Divergence." Other ideas?

Okay.

I'll update the top bar to just ODK-X. But I have a question. How would users tell which app they are on at any given time?
I'll replace with a more suitable icon. How about 'Resolve sync conflicts'?

@maprehensive @Cveman1 was this issue sorted out?

Hi @wbrunette
Here's an iteration of the Navigation drawer that addresses all our discussions and feedback. It also takes into account the different user states described here: Screen Designs - GSoC'21@ODK-X

The design specifications remain the same @Redeem-Grimm-Satoshi, and also in accordance with the ODK-X Design Guidelines

Minor change to the 'Switch Sign-In' Icon @Redeem-Grimm-Satoshi

The icon here:
/* switch */

width: 24px;
height: 24px;

/* Inside auto layout */
flex: none;
order: 0;
flex-grow: 0;

/* Vector */

position: absolute;
left: 8.33%;
right: 8.12%;
top: 12.5%;
bottom: 12.5%;

background: #13932C;

@wbrunette Has this issue been sorted out?

@NinaWendy Yes it has been sorted out

@Cveman1 Looks good

@Cveman1 and @Redeem-Grimm-Satoshi was this changed committed? Or is there still development to be done?

I'm not quite sure. It was last in development.
The UI was updated already though.

It wasn't completed yet..

Still in development

Still in development

thanks @Redeem-Grimm-Satoshi. Are you working on it at the moment? If so I will assign you to the issue.

@maprehensive You can assign to me


#bug; Yearn prices in price library very inconsistent

Describe the bug
Prices we get from Yearn tend to be inconsistent in the price library.
Reproduction
Where can we see this bug in action?

Arbitrum Bridge (SPELL)
We disabled Yearn from lido

Additional context

We should use this issue to investigate these issues further. (ie, test the price of tokens at different points to see how the yearn portion of the calculator fares)
Options: Remove yearn pricing from the price lib OR make Yearn lower down on the list of price locations OR add a flag to skip a certain price location.

@dhruv-chauhan When you get to the other pricing library fixes in https://github.com/messari/subgraphs/issues/2097 could you also address this too? Thanks!


Health can exceed Max Health

Since health is overwritten by a older value when bench healing is disabled, if max health changes then current health will be set to a value beyond max health.

Fixed.


Assignment using getter

Describe the bug
org.instancio.Select appears to have options for field and setter, but no option for getter.  Without this, how is it possible to access field data using Assignment where the field is private on a parent class while a getter is available via inheritance?
classApi.assign(Assign.valueOf(Select.field("eventDomain")).to(Select.setter("setDescription"))
        .as(d -> "Performed action on " + d + " object."));

Expected result
The ability to leverage something like Select.getter("getEventDomain") to source data for usage in Assign.
Actual result
Error creating an object
...
Reason: invalid field 'eventDomain' for class

If there's a way to do this, I haven't discovered it in the documentation.
Additional information
Add any other context about the problem here
Link to a minimal sample project reproducing the issue or runnable sample code
// code sample

Java version: 8
Instancio version: 5.0.2

@robross0606 for fields declared in a superclass, you would need to specify the superclass explicitly, e.g.
Select.field(MySuperclass.class, "eventDomain")

Let me know if this solves your issue.

yes, this does appear to allow accessing the data.  Thanks!


Update egg-pterodactyl-purpur--geyser--floodgate.json

Description
Missing -o parameter in curl lead to failed download of Geyser plugin.
Checklist for all submissions

[ x] Have you followed the guidelines in our Contributing document?
[x ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Have you tested and reviewed your changes with confidence that everything works?
[ x] Did you branch your changes and PR from that branch and not from your master branch?

If not, why?:

[ x] You verify that the start command applied does not use a shell script

[ ] If some script is needed then it is part of a current yolk or a PR to add one

[ ] The egg was exported from the panel

Please at least export from a panel. And then replace hhe full file. I will then take care of the pelican one.

I'm sorry this is my first pull request. I don't understand the difference "exporting from a panel" makes. It would be the same diff as far as I can tell. I just fixed a small syntax error.
Or is there some kind of background testing happening during exporting? If so, I didn't get any errors. :)

I'm sorry this is my first pull request. I don't understand the difference "exporting from a panel" makes. It would be the same diff as far as I can tell. I just fixed a small syntax error.
Or is there some kind of background testing happening during exporting? If so, I didn't get any errors. :)

It formats the egg and changes some timestamp fields.

done :)


Enable streaming for JSON arrays

We do support some pretty basic Buf-based streaming in Finch via AsyncStream[Buf]. Let's make it stream JSON objects. The user-facing API I imagine is something like:
case class User(id: Int)
val b: RequestReader[AsyncStream[User]] = asyncBody.as[User] // we use the same pattern
val tr: ToResponse[AsyncStream[User]] = implicitly[ToResponse[AsyncStream[User]]] // should compile

To solve this, we need a nice way of distinct encoders (JSON vs. XML vs. whatever). Perhaps, #518 will give us such.

Let's start with supporting endpoints that return AsyncStream[User] (streaming response).

Working on it

It's gonna be a hard time to implement async request reading from JSON since some JSON libraries doesn't support stream parsing or do it at very low "manual" level.

Done in #566.


ENH: RunEngine mockup with Threads and Events

This should allow me/anyone_else to fool around with the RunEngine and callbacks and stuff without needing the full epics stack and a running IOC

This was a useful exercise in that I learned more about python threading, but this is ultimately not helpful for Ophyd moving forward.


A part of state strings show on the 'Filter' panel when narrowing a blob editor

Storage Explorer Version: 1.21.0-dev
Build Number: 20210726.1
Branch: main
Platform/OS: Windows 10/ Linux Ubuntu 20.04/ MacOS Big Sur 11.4
Architecture: ia32/x64
How Found: Exploratory testing
Regression From: Not a regression
Steps to Reproduce

Expand one Non-ADLS Gen2 storage account -> Blob Containers.
Select and open one blob container -> Click 'Show View Options'.
Narrow the blob editor by right dragging the vertical borderline.
Check whether the state strings show well.

Expected Experience
The state strings show well.
Actual Experience
A part of the strings show on the Filter panel.

Anyone feel free to fix this. :)


iseven and isodd function give error when referencing a cell. It works when directly a number is passed

Before you submit this issue, have you checked the following

[X] Is this really a problem?
[X] I have searched the Github Issues for similar issues, but did not find anything.

Affected packages and versions
formula engine
Reproduction link
https://univer.ai/playground?title=React
Expected behavior
isodd and iseven functions should work
Actual behavior
isodd and iseven functions give error.

System information
No response

The issue root cause seems to be that in the overriden calculate function the cell is passed an array an din that it just returns an error. I think implementing it the way isNumber function is done should resolve the issue


conflicting copy and no upload

Describe the bug
Hello.
I'm not sure if this is a bug. Perhaps I'm doing something wrong. The official dropbox refused after v.170 to work because of the glibc version and not work anymore.
maestral stubbornly downloads files from the cloud, ignores the settings. Unable to upload existing files to the cloud.
So always local copies -
sync DEBUG: Local item ".tar.gz" has unsynced local changes: conflict
sync DEBUG: Download conflict: renamed "" to ".tar (conflicting copy).gz"
sync DEBUG: Rescanning ".tar (conflicting copy).gz"
Tried changing settings:
upload = False
download = True
(maestral download files from the cloud)
and
upload = True
download = False
(maestral download files from the cloud)...
Not a single byte has been uploaded to the cloud. How to make it upload files to the cloud?
To Reproduce
Only start daemon with already exist files on both sides (dropbox cloud - old files with history version and server - new files).
Today newlog after "rebuild-index":
2023-04-03 12:48:30 sync INFO: Syncing ↓ 254/500
2023-04-03 12:48:30 sync DEBUG: Local item "any_file.tar.gz" has unsynced local changes: conflict
2023-04-03 12:48:30 sync DEBUG: Local item "any_file.tar.gz" has unsynced local changes: conflict
2023-04-03 12:48:30 sync DEBUG: Download conflict: renamed "any_file.tar.gz" to "any_file.tar (conflicting copy).gz"
...
As a result:
in the cloud are files dated March 19th. On the server, new ones are already dated April 2. Maestral downloads the file filename.tar.gz from the cloud to the server March 19, and renames the new file on the server on April 2 to $filename.tar (conflicting copy).gz.
Expected behaviour
Replacing files in the dropbox cloud with new ones downloaded from the file server. I need to upload files to the cloud, not download them. Also, I cannot delete files in the cloud, they are needed to view their versions.
System:
Centos 7 without GUI
3.10.0-1160.71.1.el7.x86_64
Python 3.8.16
maestral 1.7.1
Additional context
Manual start:
sudo -u backup /home/backup/.local/bin/maestral start

Filled in both manually with the replacement of the files so that both on the server and in the cloud are the same versions.
Maestral restored the previous versions of the files in the cloud, then renamed the files on the server to any_file.tar (conflicting copy).gz and downloaded the previous versions from the cloud to the server.
After updating the cache, the files on the server are not uploaded to the cloud, but the files from the cloud are uploaded to the server.
Maestral is a dangerous program that does not perform its declared functions, only harms.
You don't need to use it.
The idea is great, the execution is lousy.
Overall rating: 2 out of 100.

I decided to wait and see what happens next.
Indeed, all NEW files that appear on the server and replace the old ones, maestral renames to tar (conflicting copy).gz, and downloads the version that is in the cloud.
Is this some kind of joke, @samschott?

Running maestral on an Intel(R) Xeon(R) CPU E3-1271 v3 @ 3.60GHz causes a very high load despite config (20). In logs 2023-04-11 20:04:23 sync DEBUG: maestral-download-pool_0: 163.6% CPU usage - throttling. 2023-04-11 20:04:23 sync DEBUG: maestral-download-pool_1: 163.0% CPU usage - throttling
And it crashes due to lack of memory (32 GB). Okay, there is oom-killer.
The most important thing is that maestral did not upload a single byte to the cloud. Is maestral meant to keep files in the cloud from being overwritten?

The config values "upload" and "download" are not really documented at the moment because they can have unintended consequences around maintaining an index that is consistent with the cloud. All they do is literally disable the threads that upload or download files, respectively. That being said, they do work as intended for me in manual testing.
Could you try unlinking and setting up Maestral again without modifying those, preferably with a new local folder? If you're trying to use Maestral as a drop-in replacement for the previous client, this should work.

Closing this for now since I think the root cause is a misunderstanding of how the (admittedly undocumented) upload-only and download-only configurations are supposed to work.


Add OScience Laboratories from SpaceDock

This pull request was automatically generated by SpaceDock on behalf of pizzaguy, to add OScience Laboratories to CKAN.
Please direct questions about this pull request to pizzaguy.

Seems like this wasn't previously indexed.


CU-2gwd894 Submission Ready for Ratifications Notifications

Task linked: CU-2gwd894 Notify players when submission is complete


[Question] How to enable suggestion in dynamic Vue class

There is some way to write a dynamic class in Vue.
1.
<hr :class="{['w-full']: orientation === 'horizontal'}" />

<hr :class="[{ 'w-full': orientation === 'horizontal'}]" />

But I don't see the suggestion anymore when using this! Hope you guy can improve that!

just going to close since there was no much activity lately, if some issue still exists please reopen a new issue

Doesn't seem to solve this problem。


Timeouts for service instance provisioning

As an operator who makes helm chart mistakes, I have occasionally had service instances get stuck indefinitely in a "service instance creation in process" state with no way to stop or delete them. Is it possible to have the service broker timeout when service instance provisioning/deletion goes past a certain point?
Here's the workflow that causes it:

Prepare a helm chart to be used with kibosh
Upload it using bazaar-cli
Try to provision a service instance of that chart
Realize I made a mistake with the helm chart, improperly uploaded the persistent volume claim definition, or some other oversight on my part
The service instance can't be provisioned properly because something is bonked up on the back-end

Which gives an operator two options: fix whatever is wrong with the kibosh definition so the instance provisions properly, or purge the service instance from cf, which leaves residual resources left out in the kibosh kubernetes cluster.

Unfortunately, the platform (Cloud Foundry) calling the broker is responsible for choosing the timeout. As a broker, we don't get to pick the value. It will eventually time out, but the value is 7 days:

https://github.com/cloudfoundry/cloud_controller_ng/blob/master/config/cloud_controller.yml#L55

Which is configurable via BOSH

https://github.com/cloudfoundry/capi-release/blob/master/jobs/cloud_controller_worker/spec#L467

We could do some time checks on our side, if we wanted to explicitly fail sooner, but I have reservations about adding an explicit override in our service when there's already a configurable platform default.
Any thoughts @beazer @jshah-pivotal @aaronmeza @jkjell @guidowb?

I've suggested a change to the OSBAPI spec that would gives us the handle we need to add a timeout.
https://github.com/openservicebrokerapi/servicebroker/pull/627

Interesting, thank you. I hope the issue I brought up is valid & isn't leading you or anyone on a wild goose chase. To be perfectly honest I definitely don't understand all the potential implications of the OSBAPI change; I definitely trust your professional judgment on this.
Assuming a reasonable timeout could be configured && that timeout was hit, would that then trigger the kibosh broker to terminate/cleanup the resources it provisioned (but are in a failure state)?

In addition to the change to the spec (which should address it for the OSS Kibosh), we've have implemented a specific mitigating solution to this in the closed source product that is based on Kibosh.


Opencv and pytorch version issue

Hey, I've been eager to try ffcv for some time now and now that I have started I have an issue with dependencies.
I have pytorch pinned to 1.10 because of an other dependency I have. Installing conda-forge's opencv leads to a conflict which can be resolved by upgrading to pytorch 1.12.
Do you have a suggestion for how to proceed other than writing myself out of the other dependency? It seems like not needing to have the newest pytorch would make it easier for more people to adopt the framework.

Sorry it's incredibly late but in case this is still of use, issues I've had that were caused by PyTorch and OpenCV versions have been fixed by using the headless version: https://anaconda.org/fastai/opencv-python-headless


[NOT A ISSUE] [HELP REQUIRED] How to get the output of "what is anonymized in the image in a json/any other format"

I am trying to determine the accuracy of Presidio to integrate into my product. For that, I want to test it out against annotated images for which I have the annotation available in JSON.
I am trying to figure out any way that I can get an output in JSON using presidio. Is it possible?

Hi @devesh23, not sure if this is still relevant, but we have released a new image redactor written in Python. It might be easier to tweak it to return a json instead of the redacted image.

@devesh23 we will be closing this. If there is still an issue, please re-open


Render  instead if component is not given?

It would be nice o support this:
<Route path="/test">

It works!

</Route>

If you're OK with this I'll open a PR for it.
Thank you!

@pateketrueke go with PR! :)

@pateketrueke I see no problem in enabling this feature. Would love a PR with it!

I think we should add docs at least in Readme.md.


Emulated Hue "host-ip" fails to bind when running in docker without --net=host

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.36.1
Python release (python3 --version):
Python 3.5.2
Component/platform:
Emulated Hue
Description of problem:
When running without --net=host in Docker, HASS will bind the internal container IP (at port defined in yaml).  This will cause the description.xml to contain the wrong url_base, and appears to be the reason why the host_ip argument was introduced.
However, if the host_ip argument is set to the docker host ip address, the webserver component will fail to bind the socket, as it "can't reach" the host_ip, and this stops the emulated_hue component from being functional.
By setting the host_ip argument to "<IP_ADDRESS>", I'm able to bind the IP, and the http component underneath starts (verified by reaching the description.xml and the api/lights returns), however, this will break discovery of new devices as the base_url is incorrect.  I believe a new argument is necessary -- url_base, which will only be used to populate the description.xml, and should otherwise default to host_ip.
Expected:
Emulated_hue component is able to start webserver at host_ip:server_port.

You're right, we should have a bind IP and an advertise IP. E.g. <IP_ADDRESS> & <IP_ADDRESS>. This then allows Docker to do the networking.
I wonder if there's a reliable way to get the host IP from within a container, does Docker set an env variable?

It could be passed in with a -e flag, but there's no (to my knowledge) way for the container to discover the host IP.

If someone's poking around in here you could also add a proxy port. This must run on port 80 but only root can use that port. The port can be forwarded such that non-root users can run on a non-privileged port. The issue with this is that the XML that is generated contains the port it's running on rather than the port it's forwarded from.
iptables redirect 80 to 8080
example configuration:
emulated_hue:   type: google_home   listen_port: 8080   proxy_port: 80   host_ip: <IP_ADDRESS>
Example XML output snippet using this configuration
<URLBase>http://<IP_ADDRESS>:80/</URLBase>
Currently the XML output would be
<URLBase>http://<IP_ADDRESS>:8080/</URLBase>


Is that possible to freeze the page with overlay during load

What version of angular-loading-bar are you using?
0.9.0
What version of AngularJS are you using?
1.5.8
What browsers are affected?
Not specific since it is an improvement
Please provide either a JSFiddle, Plunkr example that replicates the issue
Not available
Please describe the issue
Is that possible to freeze the page while spinner is available in the page?
What did you expect to happen?
The page should be freezes with and overlay during the spinner load (i.e when the request is in progress, it should not allow to click an element)
What actually happened?
Able to click the background links

you can try this
cfpLoadingBarProvider.includeBar = false;
cfpLoadingBarProvider.spinnerTemplate = '

';

Change in the js file like this
this.spinnerTemplate = '

';
and add the corresponding css,
#loading-mask {
  position: fixed;
  z-index: 1051;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
}


win10 22H2 19045.2604 need supporting

i'm sorry, i just found it's been solved here
https://github.com/stascorp/rdpwrap/issues/2080


Add documentation for k-NN clear cache api

Description
Add documentation for k-NN clear cache api
Issues Resolved
Closes https://github.com/opensearch-project/documentation-website/issues/4346
Checklist

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

@jmazanec15 Can you please review this PR? Thanks!

@kolchfa-aws Can you pls review this PR. Thanks!

@kolchfa-aws Can you pls review this PR. Thanks!

Thanks, @naveentatikonda. @kolchfa-aws is on leave, but another tech writer will review it.

@kolchfa-aws Can you pls review this PR. Thanks!

Thanks, @naveentatikonda. @kolchfa-aws is on leave, but another tech writer will review it.

Got it. Thanks @hdhalter

@naveentatikonda Certain sections appear to be redundant information to existing documentation, for example, the get model, search model, delete model, and train model. Are these sections different from what we already have published in the Model APIs documentation (https://opensearch.org/docs/latest/ml-commons-plugin/api/model-apis/index/).
If it's the same, can we delete those section in this PR and direct the users to the Model API documentation instead?
cc: @natebower

@naveentatikonda Certain sections appear to be redundant information to existing documentation, for example, the get model, search model, delete model, and train model. Are these sections different from what we already have published in the Model APIs documentation (https://opensearch.org/docs/latest/ml-commons-plugin/api/model-apis/index/).
If it's the same, can we delete those section in this PR and direct the users to the Model API documentation instead?
cc: @natebower

@vagimeli both are different. The link you shared are the ml-commons plugin apis. The model apis we are seeing here are k-NN plugin model apis.

@vagimeli Can you pls prioritize this PR and help get this merged asap. Thanks!


[Feature] unquoted list of files

Would it be possible to add the possibility to have  the list of files, shell escaped, but unquoted?

Yes, should be doable. I just have to double-check escaping rules to ensure correct behavior. I will look into it in few days.

I managed to get what I needed by using
${{ join(fromJSON(your-action-json-output), ' ')
So maybe a FAQ or example is all that is needed.

Glad to see you found a solution that works for you.
For most cases this should be fine, however there is no shell escaping applied so some obscure file name could break one's pipeline.  After very quick research it looks that it should be safe to backslash escape everything except [a-zA-Z0-9_/.]. It should keep normal filenames without any change while still behave correctly in all cases. I will keep it on my todolist.
By the way, I'm quite curious. Why do you need shell escaped, but without quotes?

I'm feeding those files to another tool, pre-commit, which is not expecting them to be quoted


Error building on RHEL6.6

Any idea if<EMAIL_ADDRESS>is RHEL6.6 compatible?  Getting the following error:
><EMAIL_ADDRESS>install /myapp/node_modules/nodegit
> node lifecycleScripts/install

[nodegit] Fetching binary from S3.
[nodegit] Failed to install prebuilt binary, building manually.
[nodegit] Making sure dependencies are available and native code is generated
[nodegit] Everything is ready to go, attempting compilation
[nodegit] Building native node module.

{ [Error: Command failed: ../vendor/libssh2/src/openssl.c: In function ‘_libssh2_pub_priv_keyfile’:
../vendor/libssh2/src/openssl.c:767: warning: value computed is not used
../vendor/libssh2/src/transport.c: In function ‘_libssh2_transport_send’:
../vendor/libssh2/src/transport.c:716: warning: suggest braces around empty body in an ‘if’ statement
cc1plus: error: unrecognized command line option "-std=c++11"
make: *** [Release/obj.target/nodegit/src/nodegit.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/myapp/node_modules/nodegit/node_modules/pangyp/lib/build.js:271:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Linux 2.6.32-504.23.4.el6.x86_64
gyp ERR! command "node" "/myapp/node_modules/nodegit/node_modules/.bin/pangyp" "rebuild"
gyp ERR! cwd /myapp/node_modules/nodegit
gyp ERR! node -v v0.10.36
gyp ERR! pangyp -v v2.3.0
gyp ERR! not ok
] killed: false, code: 1, signal: null }
undefined

You need a newer version of GCC installed, at least 4.7. We use the chrono library from std11, which requires gcc 4.7+. We offer prebuilts for many platforms, are you running x64?

@maxkorp that fixed it - we had to use a newer version of gcc.  Thanks for the help!


Test for #123

Great, thanks. I will review as soon as possible.

I've amended the commit according to the previous discussion (split the test into 2, added missing eq). I've also dropped saving the SchemaDataBag - it's not needed.
I've tried to fix this by just calling get_prep_value in HStoreDict.setitem, but that broke lots of tests (most notably test_schemadatabag_validation_error - it depends on invalid values being stored on the model as requested, and only checked at full_clean) - what would be a petter place?

I haven't been able to go ahead unfortunately, but I'll try to commit my unfinished work in a separate branch ASAP so hopefully more people can audit and send suggestions.

Quick update: when I started working on this it required more time than I had available and I could not finish it. Disappointing..


generate too many anonymous class。

requery generate the sub class of a model，but it has so many anonymous class。

Do you have any example? In general this is how it works requery needs to be able to access individual properties of you class. However all this data is static and only initialized once so there is really no penalty or issue in doing it. It could be replaced with lamdas in a future version possibly but to maintain compatibility with Android has to be done with the proxy Property classes for now.

Closing this for now, once Android N sdk is final will consider changing property accessors to lamdas


It's not blocking anything.

Thanks for posting this issue! :+1:
The URL patterns are in fact Google Extension Match Patterns. In this specific case, the correct pattern to block those requests is *://*.doubleclick.net/*.
Honestly, I made this extension for my own use and I was not aware that other people were using it. I am now a bit ashamed about the UI/UX part and I'll think about ways to improve it.
Cheers!

The UI does give the link to https://developer.chrome.com/extensions/match_patterns
I would have read it but I wanted to simulate a realistic end user ;)
It's a really useful little extension; thanks for making it. What would be fantastic is if it could read the patterns from a text file -- one per line say. (There's a Firefox extension that does exactly this.)

You're right; I also needed an import/export function once when I needed to transfer my patterns from one Chrome profile to another.
I'll implement this when I have some spare time.


Input Capture / External Clock Synchronisation

Hi @d-nakamichi,
We would like to precisely synchronise the frames we take using a gripper mounted camera with the joint angle readings we receive from the robot arm.
In general, the way to do this is to use an external clock signal connected directly to both the camera and to the robot and to have them both publish readings on say, the rising edge of the clock signal.
I don't know if something like this is possible with the F30 controller but do you have any ideas? Any input you could provide would be much appreciated!
All the best,
Tom

@thomascent: what level of synchronisation are you looking for? The scheme that you describe is something that would certainly result in synchronised clocks, but it's also difficult to implement if there is no support for it in the hw (and I doubt a general purpose robot controller can take clock input from an external source: I don't know though, so let's wait what @d-nakamichi writes).
I've done similar things in the past by configuring all involved hosts with an NTP client and making sure clocks are synchronised "often enough". Depending on your needs (fast moving vs semi-static fi) that may or may not be sufficient, but most robot controllers I've worked with support NTP, so it's at least something that is relatively straightforward to set up.

@gavanderhoorn thanks for the quick reply!
Yeah I think you're probably right and to be fair I'm not aware of any other robot controllers that would support something like this either.
In my case, I'm hoping to synchronise a gripper camera image with a set of joint angles such that I can resolve a super accurate pose for the camera using FK even when the end effector is moving at full speed. I haven't really done the math on this but synchronisation of within a few milliseconds would probably be sufficient for that use case.
We use a realsense camera which has a digital input for an external trigger but otherwise runs over USB. Synchronising the robot controller and our computer via NTP sounds like a good idea, thanks for the heads up!

Only @d-nakamichi and his colleagues can comment on this, but most industrial robot controllers have quite some delay on the state data that they make available. I've worked with robots where there was 40 ms delay between the actual state of the robot and the data made available to external consumers.

In my case, I'm hoping to synchronise a gripper camera image with a set of joint angles such that I can resolve a super accurate pose for the camera using FK even when the end effector is moving at full speed. I haven't really done the math on this but synchronisation of within a few milliseconds would probably be sufficient for that use case.

Somewhat off-topic, but: if you're only really interested in the Cartesian pose of the EEF (ie: your camera), you could consider using an external tracking solution, perhaps something like vicon or optitrack? I've seen good results with "consumer" grade trackers such as the HTC vive towers. There are ROS packages available for those as well.

That's actually our current solution! Well, more or less our current solution anyway; we use image alignment to track the camera's pose then estimate the delay between that trajectory and the one from FK. This assumes that the delay is constant though which isn't necessarily the case.
We can also just leave tracking on the whole time but that'll get a little screwed up if the scene has very little no texture. External tracking would be nice too but it would add a whole lot of hardware to our system which we'd rather avoid; it's a good suggestion though.

External tracking would be nice too but it would add a whole lot of hardware to our system which we'd rather avoid; it's a good suggestion though.

the vive solution is one marker + two towers. We have them here in the lab. I haven't compared the performance with VO, but I have a feeling it's going to be much more accurate.

We have AS Language HSENSESET,HSENSE which monitor a specified sensor signal and get a position when the signal got changed.
But its function is within AS system.
If you want to get a value from external system quickly, it needs TCP or UDP communication with our robot controller. Currently we don't provide its ROS topic interface.


Octotiger multi-node performance drops significantly after recent changes

@hkaiser  After I rebased my branch to the newest master branch, I found the multi-node performance of octotiger drops almost 100% for both MPI and LCI parcelports. I profiled it with perf. The result showed the hpx runtime spent a large amount of time (~30%) inside hpx::agas::server::primary_namespace::resolve_gid. Do you know what could be the reason for it?

@JiakunYan I don't know what could have caused it. Would you by any chance be able to bisect this issue to find out which commit caused the regression?

The problem disappeared. I cannot reproduce the issue even if I went back to the original commit. Let's ignore it at this moment.


feat: allow U+FF1A as subject prefix separator

Looking through the code, it seems that unicode character FF1A is meant to be allowed as a colon separator for git commit message subjects. However, it doesn't seem to work due to one bottleneck rule. This PR relaxes the rule to accept the regular colon or the unicode full-width colon.

Thanks !


Request: Option to skip download if built-in subtitle is available.

I'd like to se an option to skip downloading if a selected language subtitle is already built-in in the file or if .srt(language coded) is available in media dir. This is to avoid having duplicate subtitles.

Didn't read the description properly... Sorry


Update README to include Configuration provider details and enhance f…

…eature provider descriptions

@CodiumAI-Agent /describe

Title
Update README to include Configuration provider details and enhance f…

User description
…eature provider descriptions

PR Type
Documentation

Description

Updated the main README to include "Configuration" as a supported provider for feature flags.
Enhanced the documentation in src/FeatureToggler/README.md by adding a detailed section about the ConfigurationFeatureFlagProvider.
Provided JSON and C# examples to demonstrate how to use the Configuration provider for managing feature toggles.

Changes walkthrough 📝
Relevant filesDocumentation

README.mdUpdate README to include Configuration provider in features list

README.md
Updated the list of supported providers to include "Configuration".  Removed mention of "Database (not yet)" from the providers list.

+2/-2

README.mdAdd documentation for ConfigurationFeatureFlagProvider with examples

src/FeatureToggler/README.md
Added a new section describing the ConfigurationFeatureFlagProvider.  Included JSON and C# code examples for using the Configuration provider.  Explained how to manage feature toggles using .NET IConfiguration.

+30/-0

💡 PR-Agent usage: Comment /help "your question" on any pull request to receive relevant information


Add specialisation for Lenovo Yoga Slim 7 Pro-X 14ARH7

Description of changes
Add specialisation for Lenovo Yoga Slim 7 Pro-X 14ARH7
Things done

[x] Tested the changes in your own NixOS Configuration
[x] Tested the changes end-to-end by using your fork of nixos-hardware and
importing it via <nixos-hardware> or Flake input

At the moment, to support booting with only AMD-GPU or NVidia support, two variations are provided.
I'm not convinced this is the best way, as opposed to (say) adjusting the //common/gpu/amd/ and //common/gpu/nvidia/ files to make them selectable via options rather than just from different imports.
However, the "two variations" way doesn't touch these files, that quite a few other hardware targets also rely on.

@mergify queue


A couple of exif data bugs

While trying to run sigal against my (quite large) collection of pictures I've hit a couple of bugs in sigal/image.py:-
  File "/usr/local/lib/python2.7/dist-packages/sigal/image.py", line 254, in get_iptc_data
    iptc_data["description"] = raw_iptc[(2, 120)].decode('utf-8')
AttributeError: 'NoneType' object has no attribute 'decode'

...then after fixing the above problem:-
  File "/usr/local/lib/python2.7/dist-packages/sigal/image.py", line 255, in get_iptc_data
    iptc_data["description"] = raw_iptc[(2, 120)].decode('utf-8')
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xa3 in position 19: invalid start byte

These are, of course, in the main, due to bad data but it would be nice if they were handled better.  I have fixed the problem (for myself) fairly crudely as follows:-
    # 2:120 is the IPTC description property
    if raw_iptc and (2, 120) in raw_iptc:
        if raw_iptc[(2, 120)] is not None:
            try:
                iptc_data["description"] = raw_iptc[(2, 120)].decode('utf-8')
            except UnicodeDecodeError:
                print ("Can't decode description of: " + filename)

    return iptc_data

A try/except to catch these bugs was added in #316, but not released yet. Also the master branch is now compatible only with Python 3 (and so will be the next release).


[NEW ALGORITHM] Inserting Cycle Sort Algorithm

Issue will be closed if:

You mention more than one algorithm. You can create a separate issue for each algorithm once the current one is completed.
You propose an algorithm that is already present or has been mentioned in a previous issue.
You create a new issue without completing your previous issue.

Note: These actions will be taken seriously. Failure to follow the guidelines may result in the immediate closure of your issue.

Name:   Cycle Sort
[NEW ALGORITHM]
About:
Cycle Sort is an in-place, non-comparison-based sorting algorithm that is based on the idea of placing each element in its correct position by cycling through a series of positions in the array. This algorithm is particularly efficient when the number of writes (or swaps) is important, as it minimizes the number of swaps required to sort the array.

Labels:
new algorithm, gssoc-ext, hacktoberfest, level1

Assignees:

[ ✅] Contributor in GSSoC-ext
[✅ ] Want to work on it

Please assign me this issue and pull request, if you think it's suitable before merging, Thank you.