Release 2.48.0-rc.2

Waiting on #13062?

I'll merge #13062 once the tests are done. Including it here would be much appreciated .

It's merged now.

Great, thanks. It's already in the changelog here.

Thanks for the merge 👍

Alright, so Prombench is not working right now so I'm not sure how we're going to proceed with this release. I guess I could just run a local version of it myself, or do we want to do something else?

Ideally we would fix Prombench, but I'm at KubeCon this week so I probably won't get to it.
I fired up prom/prometheus:v2.48.0-rc.2 in a dev environment just now; will report back.

Alright, so Prombench is not working right now so I'm not sure how we're going to proceed with this release. I guess I could just run a local version of it myself, or do we want to do something else?

Is that something that people outside of Prometheus team could help with?

See https://cloud-native.slack.com/archives/C01AUBA4PFE/p1698501889156349, but I think at least some part it would require access to our Google cloud account, which only team members have.

/prombench v2.47.1

It is still noticeably slower:

This release is already considerably late, so maybe we should just scrap the annotations all together and leave them for 2.49 (presuming that is what's causing the problem).

I've just been looking at profiles and cannot see annotations as a problem.
Comparing memory allocations.

I can't figure out what is going on.  Rate of garbage production is lower in 2.48rc2 than 2.47; everything else looks much the same, yet the stats say it is running slower.

I change the load-generator config to query less often, to see if that would make things clearer.
In this spec: https://github.com/prometheus/test-infra/blob/2198f38fcba604d3f9e7ce16e33d7972a00f2161/prombench/manifests/prombench/benchmark/6_loadgen.yaml#L10-L50
I changed group 0 from 2s to 10s; group 1 from 5s to 15s; group 2 from 10s to 60s; and group 3 from 10s to 60s.
Slightly later changed node_cpu to node_cpu_seconds_total in queries, because that latter name exists.
Filed https://github.com/prometheus/test-infra/issues/617 to note the details.
Anyway post that change things look closer between 2.47.1 and 2.48.0-rc.2.

LGTM Bryan.

/prombench cancel

Alright, sounds good 👍 I'll cut the final release soon


fix #496

this helps with the generation of image_description by providing codename var, same as with the export_all function

@linwalth Please add a Signed-off-by (git commit --amend -s) line.

i did :)

this can be merged, can it?


Sanitize arrays

When a credit card number is posted as an array, sanitizing would be nice. I'll post a failing test case shortly.

Bumping this to ensure were not having any issues in latest release


loadBalancerIP for internal LB in AKS

Aqua doesn’t have a variable in values.yaml or in the templates to handle loadBalancerIP. Raising a pull request to add this support to publish services on an internal IP in Private AKS.

Created a new issue for it - https://github.com/aquasecurity/aqua-helm/issues/142


Document how to test native plugin code

Hi,
what we're trying to achieve is to run tests against platform (Android) native code (Kotlin in this case) from within Flutter plugin. It seems the whole community either don't write the native code tests or we're unable to find "the right" plugin to take a look at. Most of the plugins around if includes the native code, doesn't include any test. Perhaps we haven't searched deep or long enough and in such case please guide us.
Our problem is more or less similar to: https://stackoverflow.com/questions/69407522/flutter-how-to-run-unit-tests-over-a-plugin-native-code-for-android
The wiki page https://github.com/flutter/flutter/wiki/Plugin-Tests encourages devs to write tests, but doesn't really help of how to write them and run them.
Would appreciate any help in this matter.

I thought I had an issue filed for this already, but it looks like I only filed https://github.com/flutter/flutter/issues/95970 (which is related, but definitely not the same thing).
We should substantially expand https://docs.flutter.dev/development/packages-and-plugins/developing-packages#testing-your-plugin to cover native unit tests, as well as all kinds of native tests on platforms other than Android. Ideally this should be done in conjunction with https://github.com/flutter/flutter/issues/82458.

The wiki page https://github.com/flutter/flutter/wiki/Plugin-Tests encourages devs to write tests

Note that this page is specifically about plugins in the flutter/plugins repository.

but doesn't really help of how to write them

It doesn't cover writing them because the assumption is that people will look at the existing tests in the repository when adding new ones (although we have holes there currently, which is ).

and run them.

It has explicit instruction on running them: https://github.com/flutter/flutter/wiki/Plugin-Tests#running-tests in the context that page is intended for, which is the flutter/plugins repository. Instructions intended for the broader plugin development audience would have different instructions of course.

Most of the plugins around if includes the native code, doesn't include any test. Perhaps we haven't searched deep or long enough and in such case please guide us.

In the short term, I recommend looking at plugins in flutter/plugins—webview_flutter for instance—using the descriptions of test layout on https://github.com/flutter/flutter/wiki/Plugin-Tests#running-tests to find the relevant files.

@stuartmorgan , thanks for replying! Among plenty of other issues somehow I haven't expected any answer...
The plugin you're pointing out, so a webview_flutter seems not having Android-platform related tests. This is important to point out as it is also related to the environment, where the tests are executed, how it is configured and so on.
We're struggling currently with Kotlin unit tests, already with multiple approaches behind. None so far was successful. The easiest way to recreate is simply bootstrap a new Flutter plugin from within Android Studio, along with some Kotlin native code. Then create a test for this code, may be simple hello world case and finally try to run it. Somehow it seems during the tests execution, none is found, ending with no tasks to execute.
If you'd like to take a look, we can upload the codebase for sharing it.

The plugin you're pointing out, so a webview_flutter seems not having Android-platform related tests.

Yes it does.

We're struggling currently with Kotlin unit tests

I don't have any Kotlin examples to point to, since the Flutter team's plugins don't use Kotlin. That will be covered in docs though.

Now that the plugin template contains test scaffolding, I'll document it once it gets to stable. (The documentation will be along the lines of https://github.com/flutter/flutter/wiki/Plugin-Tests, but adapted for general use rather than repo tooling, and using example code from the template.)

The new docs are now live at https://docs.flutter.dev/testing/testing-plugins. (Some parts are currently only applicable to the template as created from the master channel, but that will change at the next major stable release.)


[JN-1529] adding trcc config placeholders

DESCRIPTION (include screenshots, and mobile screenshots for participant UX)
so that https://sandbox.trccproject.juniper-cmi.org/ will be accessible.  I'm also opening a ticket so that if b2cconfig isn't found, the application doesn't wholesale crash
TO TEST:  (simple manual steps for confirming core behavior -- used for pre-release checks)

dupe


Sophisticated request impotent

?- freeze(X,(integer(X),X=Y)),freeze(Z,(when(nonvar(Y),((freeze(_,(I,_)))=Z)))),frozen(X,Z),member(X,[1,a,2,b]).
   throw(error(existence_error(procedure,frozen/2),frozen/2)).

Since frozen/2 no longer exists how is this an issue?

Since impotent/X exists this is a +(closed issue).

I'd rather not have frozen/2 than have a buggy one. It might return one day.
On Sat, Feb 3, 2024 at 1:41 PM flexoron @.***> wrote:

?- freeze(X,(integer(X),X=Y)),freeze(Z,(when(nonvar(Y),((freeze(,(I,)))=Z)))),frozen(X,Z),member(X,[1,a,2,b]).
throw(error(existence_error(procedure,frozen/2),frozen/2)).
—
Reply to this email directly, view it on GitHub
https://github.com/trealla-prolog/trealla/issues/492, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFNKSEVNSKYFALDBXI65N5DYRWWX5AVCNFSM6AAAAABCXUSQDSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYTMMJVG43TSOI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


denormalize cli: create list with items in tei back element

Is your feature request related to a problem? Please describe.
--
Describe the solution you would like

support list for indices with TEI list>item structures

Additional context

b1df05152c8b2091c52161d6b02bcaaf5bb8b536

b37fd621e6d64e0a98920bd48ac5466f136a9784


feat: can take over mode support ts's problemMatcher?

The buildin typescript language extension has a problemMatcher,but the take over mode of volar can not provide it.

So debugging a vscode extension will get a warning like:

Duplicate of #1277


How can i make the discord emojis work

I tried to obfuscate my discord Bot. Almost everything works perfectly except one thing and that is I save the emojis in a variable to use them in a message (string). unfortunately this does not work and in the message is then only the emoji id and not the emoji as wanted. Code is below :)
`
const emoji = client.emojis.cache.get("XXX")
    const embed_menu = new Discord.MessageEmbed()
    .setDescription(`
    This is the Test Emoji ${emoji}
    `)

    message.reply({embed: embed_menu})

`

<:emoji_name:id>

Why even tho?


AWS Secrets Manager Bearer Token Value Parsing

Does the AWS Secrets Manager bearer token value need parsing? Your code:
https://github.com/StyraInc/opa-aws-cloudformation-hook/blob/main/hooks/src/styra_opa_hook/handlers.py#L28-L44
Returns the SecretString from SecretsManager: {"opa_auth_token": "<VALUE>"}.
Are you expecting that entire string {"opa_auth_token": "<VALUE>"} to be configured in the OPA sever token auth? Or do we need to parse the actual value out with something like:
`if 'SecretString' in resp:
    return list(json.loads(resp['SecretString']).values())[0]`

Hi Jimmy! The SecretString is expected to be the token itself, not presented as a key/value JSON object. I tried to express this in the docs:

Note that the token should be provided as a plain string in the secret (i.e. the SecretString) and not wrapped in a JSON object.

But perhaps it could be phrased better? 🤔

So, if you use the plain-text, and not the key/value fields then it should work, for a value with no key. I guess the secret key must be 'opa_auth_token') confused me.

Ah, yes, that's probably from an older iteration! Thanks for pointing that out 👍 Do you want to submit a PR to remove that or should I?

Fixed in #42. Thanks @pauly4it 👍


[BUG] Anchor links don't work in docs

When I entered the URL https://docs.permify.co/docs/api-overview/data/write-data#creating-attribute-data, it should have redirected me to the "Creating Attribute Data" section on the page, but instead, it threw me to the top as no anchor tags were provided.

Hi,
I couldn't reproduce the issue on my localhost but I guess it's related to the trailingSlash config in docusaurus.config.js. As mentioned here: https://stackoverflow.com/questions/71711287/brief-http-404-error-on-all-pages-in-docs
If you can assign the issue to me, I can open a PR for it.

Hi @ahmethakanbesel, issue is all yours. Happy hacking 🙌🏼


Prettier the existing codebase and add a git hook for prettier + eslint

restore the table below the image that I messed up in the last merge
run prettier against all of the TSX files so we have a good baseline
add husky and set up git hooks to run prettier + eslint automatically

Note: If everyone's environment is set up correctly, lint-staged shouldn't actually do anything because both eslint and prettier should be integrated with the IDE / code editor.

Hi all — I feel like some of the stylistic choices it's applying regarding whether a bit of JSX is contained in one line or not, etc., are pretty constraining/arbitrary. Also seeing a ton of semicolons creep back in…anyway, all that to say I'd love to discuss some of the options for what we are looking for in a linter before merging this in.

I have to admit that I'm in the pro-semicolon camp, but all of it is certainly open for discussion. Let's take a little time during our next meeting to talk it through.

Yeah, I guess the jury is still out on semicolons in JS/TS…did a little searching around and everyone's got a different opinion. Next examples have them, Gatsby don't… I always used them up until about a year or so ago, then I got in the habit of dropping them and I've rarely run into any problems with it.
Anyway, here's some ammo on the against side I came across ;)
https://medium.com/@eugenkiss/dont-use-semicolons-in-typescript-474ccfe4bdb3

I am still making up my mind on semicolons and therefore will accept either way for now. I hate having to type them, but in my IDE I use Prettier to autoformat so that's mostly taken care of. Visually I find it easier to look at code from a high level without semicolons because it's less cluttered, but when one has to get into it a bit I sometimes prefer semicolons because they can make it more clear where things end. Looking forward to discussing this and also the JSX formatting in our next meeting.

I switched to no semicolons and reran everything per our meeting decision. Everything still appears solid with a merge from master.


Can't publish with a subscription from another Azure directory

Hi,
My azure account it's managed by my company, one of our clients assigned a subscription for me on their directory, I am able to switch directories and create resources on both directories inside the Azure portal, but on Composer, I can only create resources on my default directory because I can only see and select the subscription from my default Azure directory.
Since I can't publish from Composer, is there any documentation on how to manually create the resources needed on the Azure portal and then select the existing resources on Composer?

Hi @pedro-ramirez-suarez There is no documentation or exact steps on how to do this for Composer bots specifically. But yes; you can provision the Azure resources outside of Composer. You can create the resources through the Azure portal (one of the easiest ways is to just create a Web App Bot), or they can be created from command line scripts using az cli or PowerShell. This doesn't include LUIS resources or other things. Be aware of the provisioning templates and what they do.
With your scenario, I'm not sure if you would be able to import and the publish after from Composer provisioning in this manner, but it might be worth a try. If not, you can publish in the other methods (az cli, etc) but you will need to export the runtime and provision that as well (might be worth creating+publishing+comparing a basic echo bot on your tenant to see how the file hierarchy is configured).
The older way of provisioning/deploying is still available, using the scripts\provisionComposer.js script. In using this, you have more flexibility and should be able to specify which subscriptions, credentials, etc. to use and you should be able to use the subscription to your client's (assuming you have appropriate permissions).

Hi @pedro-ramirez-suarez There is no documentation or exact steps on how to do this for Composer bots specifically. But yes; you can provision the Azure resources outside of Composer. You can create the resources through the Azure portal (one of the easiest ways is to just create a Web App Bot), or they can be created from command line scripts using az cli or PowerShell. This doesn't include LUIS resources or other things. Be aware of the provisioning templates and what they do.
With your scenario, I'm not sure if you would be able to import and the publish after from Composer provisioning in this manner, but it might be worth a try. If not, you can publish in the other methods (az cli, etc) but you will need to export the runtime and provision that as well (might be worth creating+publishing+comparing a basic echo bot on your tenant to see how the file hierarchy is configured).
The older way of provisioning/deploying is still available, using the scripts\provisionComposer.js script. In using this, you have more flexibility and should be able to specify which subscriptions, credentials, etc. to use and you should be able to use the subscription to your client's (assuming you have appropriate permissions).

Thanks, I tried using the scripts but I was getting the following error:
{
  "code": "InvalidAuthenticationTokenTenant",
  "message": "The access token is from the wrong issuer 'https://sts.windows.net/52ac55fa-3887-4c09-98c8-49fd995cafc3/'. It must match the tenant 'https://sts.windows.net/31e14793-1820-4e78-bb77-295ff38db016/' associated with this subscription. Please use the authority (URL) 'https://login.windows.net/31e14793-1820-4e78-bb77-295ff38db016' to get the token. Note, if the subscription is transferred to another tenant there is no impact to the services, but information about new tenant could take time to propagate (up to an hour). If you just transferred your subscription and see this error message, please try back later."
}
** Provision failed **

Thanks, I tried using the scripts but I was getting the following error:
{
  "code": "InvalidAuthenticationTokenTenant",
  "message": "The access token is from the wrong issuer 'https://sts.windows.net/52ac55fa-3887-4c09-98c8-49fd995cafc3/'. It must match the tenant 'https://sts.windows.net/31e14793-1820-4e78-bb77-295ff38db016/' associated with this subscription. Please use the authority (URL) 'https://login.windows.net/31e14793-1820-4e78-bb77-295ff38db016' to get the token. Note, if the subscription is transferred to another tenant there is no impact to the services, but information about new tenant could take time to propagate (up to an hour). If you just transferred your subscription and see this error message, please try back later."
}
** Provision failed **

@pedro-ramirez-suarez there should be a tenant parameter in the script which is optional, could you please to try to set it explicitly?
['tenantId', 'ID of your tenant if required (will choose first in list by default)'],

@pedro-ramirez-suarez there should be a tenant parameter in the script which is optional, could you please to try to set it explicitly?
['tenantId', 'ID of your tenant if required (will choose first in list by default)'],

Thanks @luhan2017, I tried that before and it didn't work. In the end the client created a domain account for me.

Thanks @luhan2017, I tried that before and it didn't work. In the end the client created a domain account for me.

Thanks for the update @pedro-ramirez-suarez. I will go ahead and close this. Let us know if you have further issues.

Thanks for the update @pedro-ramirez-suarez. I will go ahead and close this. Let us know if you have further issues.

@dmvtech In my opinion, this issue should not have been closed, as this is - at least - a feature request for the Bot Framework Composer itself. I have the same issue right now and I imagine that is a frequent issue for consultants that are member of multiple Azure tenants.

@dmvtech In my opinion, this issue should not have been closed, as this is - at least - a feature request for the Bot Framework Composer itself. I have the same issue right now and I imagine that is a frequent issue for consultants that are member of multiple Azure tenants.

Reopen this issue and we will work on this in the next release.

Reopen this issue and we will work on this in the next release.

@zidaneymar please help investigate if we can do this through azure API, after we understand this, we may need @JaskeeratBedi-cmk 's help on the design.

@zidaneymar please help investigate if we can do this through azure API, after we understand this, we may need @JaskeeratBedi-cmk 's help on the design.

I have tagged this as a feature request and will put into planning discussions and determine when we can address this issue.

The switch tenant feature is already supported in our latest nightly bits by this PR #6542.

Dear Team:
After using the latest nightly release, we still come up with the following issue
https://github.com/microsoft/BotFramework-Composer-Nightlies/issues/2


VTS L1 Enhancement - Code Cleanup - PowerManager

This issue needs to be addressed

Clean up unnecessary code in L1
Re-check if any new API interface has been added recently and requires an L1 test case. Raise a separate issue if there are any missing API  L1 Test implementations.

This is now merged to develop.


chore: bump icad tag with ibc-go v5.0.0 + gofumpt

Description

Bumps the icad tag to the one created by @damiannolan using ibc-go v5.0.0.
Changes resulted of running gofumpt.

closes: #XXXX

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[x] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards.
[ ] Wrote unit and integration tests
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added relevant godoc comments.
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[x] Re-reviewed Files changed in the Github PR explorer
[ ] Review Codecov Report in the comment section below once CI passes

Nice! Thanks for updating these! 🙏
Seems like 23-commitment/types/merkle.go is complaining about gofumpt 🤨

Yeah, I am trying to see if I can fix it...


Add What's A Future Funk x All Star

Song Name
What's A Future Funk x All Star
Artist Name
EpochGD
Source
Direct file download
Youtube Link
No response
Direct File Link
https://drive.proton.me/urls/VHQ0JG596G#dowdYYhov89L
Song ID
701013
Start Offset [ms]
900
Extra
Created from Auto Nong.
Created for level: 44478108
Downloaded: No

Aaaaaaa

Ddddddd


Add Optional Accept Button to Linter Message

Some linters (for instance haskell's hlint) suggest better code that
may replace offending expressions. It makes sense to have a button to
click on that removes the offending range and inserts the fix the
linter proposed.
http://imgur.com/ocTqVtk (see bottom right!)
This commit adds such a feature: if a message has an optional field
called replacement (of type string), the message window will offer
an "Accept!" option next to the source location. Clicking this option
replaces the marked range with the replacement string.

Well, we already have buffer modifying linters :sweat_smile: I am not sure if this is appropriate in the core, as we already support HTMLElements for html message property.
/cc @atom-community/linter-contributors

Ha! No problem -- is the feature documented somewhere then?

I just checked the docs, and it's not there, maybe they need to be updated.

@steelbrain which linter is an example of one that modifies buffers?

We don't really have any linter like that, but the API was requested by @joefitzgerald
It doesn't really give it some helpers to modify the buffers, I just runs the linters that have modifiesBuffer in sequence, before the other linters. so they can perform certain "auto" corrections, without the user clicking something.

My intention with this feature is NOT to support auto corrections. I'm looking at a lot of code here and only some linter suggestions make sense :)
The click is really essential in my case.

Fyi, there is support for suggestions in the inline messenger.  So, we may already be in line to support this once we move over to using it.

That looks gorgeous! When is the move happening? Very nice that this functionality is being factored out.

Thanks!  The PR for this is here: https://github.com/atom-community/linter/pull/757

@kaeluka mind closing this in favor of #757?

Of course!


kbfsgit: implement fs.OpenFile() and File for billy interface

This is part 1 of the billy filesystem interface for KBFS.
I'll implement the rest of the methods in subsequent PRs.
Let me know if you think it would be better in a separate subdirectory, since it doesn't have much to do with git.
Issue: KBFS-2338

One Q: would it be worth forking the library to allow context.Context to be passed into each method rather than the current way of passing it into the struct?

In my opinion, no.  I think it would be nice to have a standard billy FS interface that other projects can use if they want to.  Also, the thought of maintaining go-git if we've changed all the function signatures to pass around ctx gives me nightmares.

Would it be possible to move File, FileInfo, FileSystem to libkbfs? I guess we could list out individual interface in form of var _ io.Reader = (*File)(nil) if we don't want to import billy into libkbfs.

I'd rather not put them in libkbfs/, because it doesn't have anything to do with KBFS internals.  But I'd be happy to move it into it's own package, say github.com/keybase/kbfs/billy, if you'd like that better.  I was thinking about doing that anyway.

Ah I just edited a minute ago to change libkbfs to libfs. Would libfs work? If not, separate package sounds good too!

libfs is fine with me too.  I'll move it over.

Thanks for the review.  I didn't end up having time to respond to them yesterday, sorry.  One thing about ToSlash though -- @songgao is right that the paths passed in should always be the result of FS.Join(), presumably constructed as a result of taking an existing path and trying to add a child to it, so we don't have to worry about slash difference on different platforms.  The Windows comment applies only to "UNC" paths like "\printer", which we'll never be given.  So the whole interface is assuming that the paths to it will already be in the expected format, so I'm not going to use ToSlash anywhere.
I should probably use path.Clean in the Join method though, just in case.


Added Value::pointer

Currently yaml does not provide an easy way to look up a value by either XPath or json pointer.
I've chose to add the serde_json::Value::pointer to serde_yaml. This will help people look up deeply nested values easily.
The doc comment has an example that tests the validity of the function, so I didn't feel the need to add a separate test.
Reference implementation: https://github.com/serde-rs/json/blob/master/src/value/mod.rs#L751-L777
cc @ryansquared

Juste a question, why reimplement the same serde_json::Value instead of use it and add a new interface with custom function for serde-yaml ? like that https://github.com/jmfiaschi/json_value_search/blob/master/src/lib.rs ?

FWIW I have done something similar with https://github.com/RyanSquared/k8s-ares/blob/master/src/xpathable.rs - I didn't realize serde_json::Value::pointer() was a thing and was looking at the YAML one assuming they'd be similar. I have some things I'd like to clean up with that but I think I'm gonna actually keep using that one.


Update discipline-scalatest to 2.1.4

Updates org.typelevel:discipline-scalatest from 2.0.1 to 2.1.4.
GitHub Release Notes - Changelog - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel", artifactId = "discipline-scalatest" } ]

labels: library-update, semver-minor

Codecov Report

Merging #1358 (a1a6155) into master (117129b) will increase coverage by 0.09%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1358      +/-   ##
==========================================
+ Coverage   79.98%   80.07%   +0.09%
==========================================
  Files          55       55
  Lines        1009     1009
  Branches       38       38
==========================================
+ Hits          807      808       +1
+ Misses        202      201       -1

Impacted Files
Coverage Δ

core/src/main/scala/io/finch/Endpoint.scala
71.03% <0.00%> (+0.54%)
:arrow_up:

Continue to review full report at Codecov.

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

Superseded by #1377.


weekStartsOn invalid prop for DateInput

DateInput is missing the prop "weekStartsOn", I'm supplying it via a const object, but my console gives me this warning, I've also checked the component definition

It works fine for me:
<script>
	import { DateInput, DatePicker } from 'date-picker-svelte'
	const locale = {
		weekStartsOn: 4,
	}
</script>

<DateInput {locale} />

If you still have the issue, please send a REPL and let me know what browser you're using


Could Openlane support this PDK?

OpenLane now plays a major role in open source EDA tools. I want to know whether this PDK can be supported by OpenLane

It seems like OpenLane uses Yosys for synthesis and OpenROAD for P&R.  Our cell library contains liberty file and LEF files that are used in Yosys and OpenROAD, so it probably can be supported by OpenLane but it need a verfication. I will do the test after a few days.

OpenLane now plays a major role in open source EDA tools. I want to know whether this PDK can be supported by OpenLane

It seems like OpenLane uses Yosys for synthesis and OpenROAD for P&R. Our cell library contains liberty file and LEF files that are used in Yosys and OpenROAD, so it probably can be supported by OpenLane but it need a verfication. I will do the test after a few days.

OpenLane now plays a major role in open source EDA tools. I want to know whether this PDK can be supported by OpenLane

After the tests,  Yosys can synthesize circuits with CNFET-OCL, but OpenRoad need some extra files to do the P&R, like *.rc *.track that our cell library does not contain , but they can be generated through the data in our paper. But it looks like OpenRoad still need a *.rcx file to do STA, I do not know how to generate it, sorry.


Fix for #1209, packages.sh failures on Ubuntu Xenial

Fix so we do apt update for all Ubuntu variants
Add -e option to script, to exit on any failure, rather than
ignoring errors

Fixes courtesy of crd477

Coverage increased (+0.01%) to 77.162% when pulling 7541bcc52f5ffe6c1dba9de5ba49681edebf10b3 on pervazea:jenkins into 4b1e90a4454fb71c01938fa59a5d1f0c6cd5eaa2 on cmu-db:master.

I just saw that the travis build for Mac is failing: https://travis-ci.org/cmu-db/peloton/jobs/355887894
I think the script now returns an error that we ignored before.

The updates:

strict status checking on all platforms except OSX. For OSX revert to permissive.
remove redundant value setting
tone down apt-get params to -q

For a future PR / Issue

make OSX status checking strict. Brew install invocations need changing. Possibly other things too.
change apt-get invocations not to force yes. I'm expecting turning off force-yes to require fixing some underlying install issue.

Regarding:

change apt-get invocations not to force yes. I'm expecting turning off force-yes to require fixing some underlying install issue

it is only the apt-get update that doesn't need -y.  You should leave the -y for the apt-get install commands.

I have left -y on apt-get install commands.
I should have worded more clearly, that my objection is to use of --force-yes in conjunction with -y, as the man page discourages use of --force-yes. For now, it remains as is, but we should see if we can get rid of it.


Redundant deepcopy

removed deepcopy as per conversation

please check on confirm you can partially accept the PR

@pannet1
Kindly open this branch again.
I am working on this locally


Add react-native-web benchmarks to the repo, run headlessly

[x] Copy benchmarks folder
[x] Make it run
[x] Add top-level script for it

[x] Run all benchmarks headlessly
[x] Add --tracing arg
[x] Make it run against the local version of styled-components

[x] Add docs on how to run them

Latest commit adds a script that runs (curr one of) the benchmarks headlessly in puppeteer. Looks like this:
~/projects/github/styled-components/styled-components
❯ yarn run benchmarks
---Mount deep tree---
21.04 ±06.98 ms
(S/L) 17.13/03.90 ms

Does this seem useful @kitten @probablyup?

Opening benchmark app...
Running benchmarks...

---Mount deep tree---
20.87 ±05.67 ms
(S/L) 17.18/03.68 ms

---Mount wide tree---
27.85 ±02.39 ms
(S/L) 22.52/05.33 ms

---Update dynamic styles---
08.24 ±02.28 ms
(S/L) 06.42/01.81 ms

Done!

Note that this is literally just the output of the RNW benchmarks they show in the left sidebar. (literally literally, I do node.innerText to get that string :laughing:)

This is great, except I don't know how to get it to run against the local version of styled-components :cry: Any ideas?

I'm not sure how feasible this is, but it'd be great to output some sort of stack trace. I know Chrome supports outputting performance captures...

Also some more pie-in-the-sky ideas:

Flamecharts / profiling per jest test (allows us to more easily identify scenarios that introduce slow paths)
Deopt summaries for the benchmarks

This looks great, excited to start using it!


Host the core to acces from another location

So i want to host the simplecoin on a server to make transaction with another people, we can do that ?

Probably not a good idea, SimpleCoin lacks a lot of security and you wouldn't want to use it for any real-world things.


[CARBONDATA-2585][CARBONDATA-2586][Local Dictionary]Added test cases for local dictionary support for alter table, set, unset and preaggregate

Dependent on #2401
What changes were proposed in this pull request?
In this PR,
Added test cases for local dictionary support for alter table, set, unset and pre-aggregate
All the validations related to above features are taken care in this PR
How was this patch tested?
Test case were executed on a 3 node cluster and the same were automated and added as SDV test cases

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6588/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5412/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/5481/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6606/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6649/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5484/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6657/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/5519/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6703/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/5555/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5530/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6739/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/5584/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5572/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6751/

retest this please

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/5599/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5583/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/6766/

LGTM


Unify intrinsic interface for read/write vCSRs

For C lang macro implementation, it will bring some incompatibility,
we should consider to unify the interface of CSRs, like format as other RVV intrinsics https://github.com/riscv-non-isa/riscv-c-api-doc/blob/master/riscv-c-api.md#intrinsic-functions
__riscv_read/write_csr_[REGISTER NAME]

@cmuellner @kito-cheng
Any comments or suggestions ?

A unified CSR read/write intrinsic is also part of the goals for the upcoming intrinsics TG.
See also https://docs.google.com/document/d/1wQebF9S8LKblxCWKv2XGSWiQCMhLibphMBKhCovi7vk/edit

Considering that we will have rounding mode intrinsics (to model vxrm and frm) for fixed-point and floating-point, and also have intrinsics for the exception flags (vxsat and fflag), plus that vstart is generally kept as zero , I think we should give a second thought on having these interface for the RVV intrinsics for the long future. That was the reason why didn't extend the exposure of vlenb upon the vread_csr functions in #182.

@eopXD @cmuellner Ok, looks good :)
Hope that we can ratify specification soon, the macro implementation is not good choice.

If there is no further concern, please allow me to close this PR.


Segmentation Fault

Hi,
I build FaceTracker on windows using CodeBloks, but it is giving me a segmentation fault. I debugged the program and found that segfault occur in PDM.cpp file at line 6.
1   void PDM::CalcShape3D(cv::Mat &s,cv::Mat &plocal)
2   {
3     assert((s.type() == CV_64F) && (plocal.type() == CV_64F));
4     assert((s.rows == _M.rows) && (s.cols = 1));
5     assert((plocal.rows == _E.cols) && (plocal.cols == 1));
6     s = _M + _V*plocal; return;
7     }
Can anybody help me.
Thanks

could you provide any more information about this bug?
have you tried building this project with the makefile instead of code::blocks? does that work, or not?
because this is an old issue i'm going to close it for now unless you or someone else reopens it.


support pose prior?

I have a dataset with given camera pose (not accurate enough), if I want to modify the code, which part should I look into to adapt the pose prior?

prior pose is currently not supported by command line interface of GLOMAP, however, you can write your own data loader and refer to this file to see how you can call global mapper and skip certain steps (such as global positioning) or stuff.


Parsing of invalid string changed to valid from 2.9.0 to 2.12.0

Hi Guys,
Not sure if this is an issue or an enhancement made during the course of things,
somehow we were stuck on 2.9 and updated to 2.12 recently
earlier(2.9) we would parse things like moment("2016-04-06Tnull").isValid() // gives false
but now(2.12) this kind of parsing returns true with the time set to 00:00:00
Mostly just sharing my experience after the upgrade.
Great work by all of you !

If it's okay with you, I'm going to call this the same as #2985 and close this.
I know it doesn't look exactly the same, but I believe it's basically the same issue.
Thanks for letting us know.

@maggiepint thanks


Not available in HACS

Checklist

[X] I have updated to the latest available Home Assistant version.
[X] I have cleared the cache of my browser.
[X] I have tried a different browser to see if it is related to my browser.

Describe the issue you are experiencing
I am trying to install the current cards, but they are not avaiable in HACS as mentioned in the UI docs
Describe the behavior you expected
To see the cards
Steps to reproduce the issue

Go to HACS
Frontend
Search Rounded
...

What version of Home Assistant Core has the issue?
latest
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue with?
No response
Which operating system are you using to run this browser?
No response
State of relevant entities
No response
Problem-relevant frontend configuration
No response
Javascript errors shown in your browser console/inspector
No response
Additional information
No response

Hi,
That's because it's not available yet.
Cards are not developed but it's coming in couple of weeks

Ah okay, maybe update the UI docs just to let us know. Appreciate the work you are doing here :D

Is it available in HACs yet? Docs ain't to clear...

yea i cant find it


parse_block_html with hard_wrap=True

When setting both parse_blcok_html and hard_wrap to True,  each html line will be appended with a
 except the last line.
Input:

test1

test 2

test3

Output:

test 1

test 2

test 3

Same issue here, trailing  for each html line when set hard_wrap to True.

I think it is the right behavior.
** parse_block_html** means that mistune won't treat content in the block as HTML, instead the content is treated as text.
hard_wrap means that every newline should be a linebreak.
Together, current behavior is the right behavior.

As my understanding, parse_block_html means parsing the markdown text within a HTML block, in other words, if parse_block_html is not set, mistune will ignore the markdown text within a HTML block. A simple example:

text

**bold text 1**
**bold text 2**

if parse_block_html is set, **bold text** will be converted to bold text, but the raw html
text
 won't be touched.  And if hard_warp is not set, we need 2 trailing spaces after bold text 1 to make bold text 2 a new line.
Maybe I misunderstood, please advice, thanks.

@madjxatw that is too complex. Currently, mistune treat everything in a whole in
, including
.

That's all right, this is actually not a issue although other markdown-html converter like pandoc can handle such case,  I could write script to clean the html.


[RFC]: add support for whole command insertion when pressing up/down in the REPL

Description
This RFC proposes changing the default behavior in the REPL such that, when hitting the up/down arrow, an entire command is inserted, rather than just a line.
Currently, if you enter multi-line input
In [1]: function foo() {
    // ...
};

In [2]: <|>

and hit the up arrow, you get
In [2]:    };

This may be useful, but it is likely not what you want. Instead, you'd probably prefer to cycle through the entire command. In which case, when we press the UP arrow, we'd like to re-enter multi-line mode with the entirety of the previous command.
Note that currently we rely on built-in readline/REPL history behavior. In order to support this feature, we may need to maintain our own history record and capture key presses in order to efficiently cycle through entire previous commands.
Related Issues

Reverse search is related: https://github.com/stdlib-js/stdlib/issues/2069

Questions

Should this be configurable?
Should we support a mode (e.g., via a modifier key) to allow single-line insertion, as currently supported?

Other
No.
Checklist

[X] I have read and understood the Code of Conduct.
[X] Searched for existing issues and pull requests.
[X] The issue name begins with RFC:.

Should we allow cycling through failed commands? I think yes as the user can quickly bring it up and fix/edit it further (?)

Yes, I think that makes sense.

In other REPLs and in built-in readline, this feature only works when hitting the up arrow when the cursor is at the start of the command. In IPython, I think they have the ability to filter as well. Say I type he and now I hit up arrow, commands only starting with he comes up. Something like this is proposed in #2069.

I think it only working when cursor is at the start of the line makes sense. I believe this is the same behavior as in the terminal.
For search, yeah, this should be reserved for reverse search.

Wait, I think built-in readline also does it similar to IPython. h<|> and pressing the up arrow would bring up history starting with h. Should I stick with this?

Seems okay.


Have a good workflow around precompiled nif usage and rust tools integration

The nif depends on the ockam' rust code,  ideally we want it to be compiled during tests (at least if something changed in implementations/rust/* or the nif itself).   But just once,  right now if we don't download it from a predefined location it would be recompiled separately by every elixir "app" (ockam,  ockam_cloud_node,  ockam_services,  etc), making it very slow.
The obvious downside of current approach of downloading the precompiled .so from a well-known location is that while it do speed up test.. it is testing with a fixed, pre-compiled version of the nif at some point on the past, that doesn't correspond with the actual code we have.  And of course we need to manage that artifact as well.
Some of the above is addressed on
https://github.com/build-trust/ockam/pull/6093
The rust part of the nif (native/*) can be moved to to implementations/rust (see path option on https://hexdocs.pm/rustler/Rustler.html) ,  but some investigation is needed to ensure things works as expected.
Perhaps some ideas could be taken from https://github.com/philss/rustler_precompiled,  altough doubt it could be applied as-is.. due to our usage here (where the rust code the nif depends on,   the nif itself,  and applications using the nif are all part of the same repository).
To keep in mind precompiled nif is not a critical part for us (it is a nice-to-have one),  but having reasonably duration on our CI test pipeline is (and maybe achiviable by other ways,  as compiling the nif only once, cache the result and somehow reuse it on all targets that runs elixir code).

Closed in https://github.com/build-trust/ockam/pull/7626


Deterministic monitor IDs

Description
Hyprland should process named monitors set up in config in order.
Consider config like this:
monitor = HDMI-A-1,highres,0x0,1
monitor = ,highres,auto,1

I wish the HDMI-A-1 monitor would always get the ID 0.

No. Why?

So that
bind = SUPER, 1, focusmonitor, 1
bind = SUPER, 2, focusmonitor, 2

actually work as expected

using IDs is discouraged. Why not focusmonitor, HDMI-A-1?

Because I don't want to specify others than my main monitor. But I think you are still correct.
Better way for me would be to do my own focusmonitor script that gets the ID order like this:
hyprctl monitors -j | jaq 'sort_by(.x)[].id'

What I ended up as a reference
https://github.com/Cloudef/nixos-flake/commit/c78d8f423c7bb9735346f91a4282114c25769231


Example run failed

Hi,
I built FitM with make, and run the example using FITM_ARGS=config/fitm-args.ftp.json make run but got the following failure:
FITM_ARGS=config/fitm-args.ftp.json make run
cargo build --release
   Compiling fitm v0.1.0 (/root/projects/fuzzer/FitM)
    Finished release [optimized + debuginfo] target(s) in 27.20s
sudo rm -rf ./active-state
sudo rm -rf ./cmin-tmp
sudo ./target/release/fitm config/fitm-args.ftp.json
cwd: "/root/projects/fuzzer/FitM"

    __________________  ___
   / ____/  _/_  __/  |/  /
  / /_   / /  / / / /|_/ /
 / __/ _/ /  / / / /  / /
/_/   /___/ /_/ /_/  /_/

File fitm-state.json not found. Restarting from scratch.
No valid state to resume. Starting fresh :)
==== [*] Time start init_run: 2022-04-04 21:13:55 ====
[*] Init run finished with exit code None
[*] Target was killed by signal. Assuming dump success.
thread 'main' panicked at '[!] parse_pid failed to parse JSON in utils::parse_pid: UnexpectedEndOfJson', src/utils.rs:67:59
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
make: *** [Makefile:40：run] error 101

Could you please help me?

Hey :),
could you print the unparsed json (pstree_string) by adding a print after this line? Maybe crit is producing some broken json. We had that problem before.
How did you install criu? If you are not using the vagrantfile, what version do you use?

Hi :b,
I added
println!("pstree_string: {}(end)", pstree_string);

after this line, and the output was:
pstree_string: (end)

The pstree_string was empty.
I didn't install criu specially. I just install the following apps as described in provision.sh
apt-get -y update && apt-get -y upgrade
apt-get -y install ntp # get rid of clock-skew in the vm
apt-get -y install build-essential binutils pkg-config python-ipaddress make protobuf-compiler protobuf-c-compiler libprotobuf-c-dev libprotobuf-dev libnet-dev python3-protobuf python3-yaml protobuf-c-compiler libbsd-dev libprotobuf-dev libprotobuf-c-dev protobuf-c-compiler protobuf-compiler python-protobuf libnl-3-dev libcap-dev ninja-build libglib2.0-dev cmake libcapstone-dev libaio-dev libnftables-dev iproute2
sudo -u vagrant -- sh -c "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y"

# target deps
apt-get -y install libgnutls28-dev bison flex libssl-dev autoconf libtool libsdl2-dev libopus-dev || true

and then make.
Specifically, I didn't use the vagrantfile, and I'm working on Ubuntu 20.04 LTS.

Hm. Whats in the active state folder? Any failing syscalls/error msgs in stderr? What does criu.log report? Can you call crit (criu/crit/crit-python3) manually?

Hi, the active-state/stderr and active-state/snapshot/criu.log are attached (https://github.com/fgsect/FitM/files/8458437/active-state.zip),
and here is the output when calling crit (criu/crit/crit-python3) manually
$ ./criu/crit/crit-python3
Traceback (most recent call last):
  File "/root/projects/fuzzer/FitM/./criu/crit/crit-python3", line 3, in <module>
    from pycriu import cli
  File "/root/projects/fuzzer/FitM/criu/crit/pycriu/__init__.py", line 1, in <module>
    from . import rpc_pb2 as rpc
  File "/root/projects/fuzzer/FitM/criu/crit/pycriu/rpc_pb2.py", line 6, in <module>
    from google.protobuf.internal import enum_type_wrapper
ModuleNotFoundError: No module named 'google'

Heyhey, so looking at the output from running crit-python3 to me it seems like the protobuf module for python has not been installed correctly. I would say that's python3-protobuf.


Use bundle ID to generate zap stanzas

Compare zap stanzas for any two apps, e.g. Sublime Text 2:
'~/Library/Application Support/Sublime Text 2',
'~/Library/Preferences/com.sublimetext.2.plist',
'~/Library/Caches/com.sublimetext.2',
'~/Library/Saved Application State/com.sublimetext.2.savedState'

and Atom:
'~/.atom',
'~/Library/Application Support/ShipIt_stderr.log',
'~/Library/Application Support/Atom',
'~/Library/Application Support/ShipIt_stdout.log',
'~/Library/Application Support/com.github.atom.ShipIt',
'~/Library/Caches/com.github.atom',
'~/Library/Preferences/com.github.atom.plist'

We can see that paths like '~/Library/Preferences/com.github.atom.plist' are formed by combining a well-known directory with a bundle identifier (of course, there can be more than one per package). Storing bundle IDs would allow us to automatically generate partial zap stanzas.
uninstall stanza already allows storing bundle ids, but for a different purpose — perhaps this can be unified?
The list of paths I've gathered so far:
~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/#{bundleID}.sfl
~/Library/Cookies/#{bundleID}.binarycookies
~/Library/Caches/#{bundleID}/
~/Library/Preferences/#{bundleID}.plist
~/Library/Preferences/#{bundleID}.LSSharedFileList.plist
~/Library/Saved Application State/#{bundleId}.savedState/

Storing the bundle ID can also help with writing barebones/boilerplate uninstall :pkgutil stanzas, as well as other uninstall keys that rely on bundle IDs (e.g. :signal, :kext, :launchctl).

See also #8211

Closing in favour of https://github.com/caskroom/homebrew-cask/issues/16339.


Typo in pre-entered mood options.

Just getting started with the plugin, thanks for the great work! Wanted to point out that when choosing Emotions (not the icons, but the emotions themselves) the preloaded options under the 'Sadness and fear' group have a typo in the word 'hysterical.'  I fixed it on my end and have forgotten how it was misspelled initially, I'm afraid.

@kln-rdn nice catch, thanks!  Will correct it when I get some time 😅


Customize Toolbars

I want to drag toolbars so they can be next to each other.  I also want to add
and remove buttons from the toolbars.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 24 Apr 2013 at 6:57

Closing this issue but all hope is not lost! We still want to help.
See: https://github.com/jimradford/superputty/wiki/Legacy-Imported-Issues on how to help us to help you!


Security audit

Before a stable version of orion is released, an audit should be done. Preferably of the whole library, though it may end up only being partly. This depends on the financial means available.
Edit: I currently have no idea about when I would be able to afford this.

@brycx - I'm curious to hear if you think this crate is closer to being audit-ready. My company recently funded an audit  for parts of RustCrypto. We might be interested in helping out here as well...
(It would also be pretty great to if your work could be incorporated into the RustCrypto project too!)

Hi @rjwalters,
Many thanks for reaching out!
I do think we're much closer to audit-ready than last time I visited this thread. Mainly after the 0.15.0 release, which primarily focused on polishing the API for stability and ironing out the edges that people reported. The library has also received much more fuzzing since back in January.
I currently have no major breaking changes planned in the near future. The only thing that might bring this upon, is when const generics are stabilized, which could lead to some changes to the newtype's API.
I'm very interested in discussing a potential audit further, once you decide whether or not you're interested in this.
I think with a bit more detail on scoping, it would also be easier to discuss potential incorporation to RustCrypto as well.

@rjwalters Do you have any news on this? If you'd like to discuss things further, and not in this issue, perhaps there is some other place I can reach you?

Could rust have an open-collective for funding security audits? I’m sure there’s lots of people who would chip in.

Could rust have an open-collective for funding security audits? I’m sure there’s lots of people who would chip in.

@gilescope I haven't heard of Open Collective before now, but it seems as a possible platform were small donations could be received. If you haven't heard of it yet, there's also the Mozilla SOS (Secure Open Source) project, that funds audits of open-source software. Though this is typically only for very widely-used projects.
Whether or not Rust itself could have an Open Collective for this, I can't say. This is something that is better brought up with official Rust community-managers I guess, since a Rust-wide Open Collective would most likely have to be managed be people employed at Mozilla or similar.

Ah - sorry I didn't mean to imply run by mozilla. I was thinking maybe conceptually 'owned' by this project: https://github.com/RustSec/advisory-db
Rust analyser's open collective is run through ferrus systems' company. HeadCrab has one for the pure rust debugger. I don't think the rust foundation would be in a position to host an open collective to do this for a good while yet.
Sometimes it's the smaller companies that can move much faster than the bigger ones. As long as some company can host the account you're more than halfway there I suspect. The key point is to make a pot available marked "rust security" and then goodwilled companies and individuals will be enabled to crowd fund the amount needed. If the rust security WG were happy with the proposal that would be official enough for me.

I see your point @gilescope. I think it's a good idea, at least worthwhile to investigate further. Though, since it's not directly related to Orion, and you propose the Rust Security WG, this is a topic that should be presented there, not here. If the WG would do this, Orion would still have to be selected for funding, from a list of other projects as well.
Regardless, we can still consider Open Collective if Orion itself starts accepting donations.


feat(core): replace UUID usage with signify salter

Description

Replace UUID usage with signify salter

Checklist before requesting a review
Issue ticket number and link

[x] This PR has a valid ticket number or issue: DTIS-1428

Testing & Validation

[x] This PR has been tested/validated in IOS, Android and browser.
[x] The code has been tested locally with test coverage match expectations.
[x] Added new Unit/Component testing (if relevant).

Security

[x] No secrets are being committed (i.e. credentials, PII)
[x] This PR does not have any significant security implications

Code Review

[x] There is no unused functionality or blocks of commented out code (otherwise, please explain below)
[x] In addition to this PR, all relevant documentation (e.g. Confluence) and architecture diagrams (e.g. Miro) were updated

@iFergal I think this PR points to 802 because in some points we are using uuid for SignifyName

802 merged @Sotatek-TungNguyen2a


Add ability to find .git folder on upper levels

After make this work found that is the same as in https://github.com/observing/pre-commit/pull/55
But without adding new dependencies 😄

Coverage remained the same at 95.413% when pulling f4d3778778599e9d7847b4a584702b1f587c2378 on Alex-Sokolov:master into a7c824781bca0b17e846878e2a727fd20fedb80f on observing:master.

Coverage remained the same at 95.413% when pulling f4d3778778599e9d7847b4a584702b1f587c2378 on Alex-Sokolov:master into a7c824781bca0b17e846878e2a727fd20fedb80f on observing:master.

will this be merged soon? really looking forward to this

@sreichi while waiting you can try https://github.com/typicode/husky

@Alex-Sokolov thanks a lot worked out of the box 👍

ty <3

Thank you so much

Looks like this feature hasn't been published yet?


React-rating v1

This is a follow-up of #49.
Background
It's been almost two years since this component came to life. It started out when React versions where 0 based. It survived the 0.14.x to 15  transition and now, with the coming of a new major release, it makes it necessary to evolve to the new standards to not become obsolete.
This also presents a new opportunity for improvement in:

the API (more consistent API design)
performance (less useless re-renders)
ease of contribution (with linter rules)
documentation (yep, a long time requested issue)

TODO

[x] Implement starting out empty
[x] Implement the placeholders again
[x] Migrate tests

I have been thinking about callbacks... What if we restrict callbacks to just those related to actual values? I identify them by callback parameters. It the callback does not need the value to be passed then the event is tied to the container and not the value. What do you think?
Even more, if the callback is not tied to the actual value, we could just propagate the props to the top element (Rating) and let React deal with all the default props, onMouseEnter and onMouseLeave included.

So, tell me if I understand this correctly, you mean something like having these propagated to the DOM container of the component?
In that case, how do we know that the user meant for these events to be handled by the container DOM element and not by the symbol DOM elements?
I think the best approach would be to sit down and think about what someone who uses a star rating component actually cares about and focus on that.
I think a good answer is 'he cares about a value'. That means that he probably mostly needs ways to know about the state of the value. The star rating component will be living inside some bigger component that in turn needs to know about what is going on with the value of the star rating component. That's why we are trying to cover usecase scenarios for this need with onChange, onHover and onClick.
Now, would someone who uses a star rating component care much about DOM events related to the star rating DOM element? Well, he could, but we know that he can latch to the DOM element of the star rating component anyway (he can have a querySelector() inside the componentDidMount of the parent component of the star rating component, for example).
TL;DR
I think I agree with

What if we restrict callbacks to just those related to actual values?

This component is already so flexible with the range of values it can provide and display, for me that is its strong point. I know that providing an API for interacting with the value is important. I don't know if providing an API for interacting with the underlying DOM is very relevant.
Also, sorry for the absence, but the last couple of weeks I have been really busy with work and assignments; a lot of stuff came out of nowhere 😅 . I have not forgotten about this, I will continue work on it with the first opportunity. I think this weekend I should have free time.

So, tell me if I understand this correctly, you mean something like having these propagated to the DOM container of the component?

You got it right! Not only for callbacks/events but for any prop that we do not explicitly use.

In that case, how do we know that the user meant for these events to be handled by the container DOM element and not by the symbol DOM elements?

Exactly. That was my concern. How to discriminate those props that should be propagated to the container.

I think the best approach would be to sit down and think about what someone who uses a star rating component actually cares about and focus on that.
I think a good answer is 'he cares about a value'.

Then we agree 👍. If we come up with a callback that does not provide the value as a parameter maybe we are facing a code smell.

Also, sorry for the absence, but the last couple of weeks I have been really busy with work and assignments; a lot of stuff came out of nowhere 😅 . I have not forgotten about this, I will continue work on it with the first opportunity. I think this weekend I should have free time.

No pressure. We are in this because we enjoy it 🙂.

I implemented placeholder rating here https://github.com/dreyescat/react-rating/commit/8108f87a2fad7ee6d5b18fa8ba94252eee429b44 and I also updated the readme. Have a look whenever you can :)

Looks good! I only quick-fixed the default initialRating and placeholderRating value. It should be undefined instead of 0. Actually 0 is a valid value.
If you are OK with everything I will make a quick check and we are ready to make the release.

What use case would make a zero rating a valid value?
On May 15, 2017 12:27 AM, "dreyescat"<EMAIL_ADDRESS>wrote:

Looks good! I only quick-fixed the default initialRating and
placeholderRating value. It should be undefined instead of 0. Actually 0
is a valid value.
If you are OK with everything I will make a quick check and we are ready
to make the release.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dreyescat/react-rating/issues/50#issuecomment-301341146,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFBnJNIDsJhHHFU0VNlQxtKxWQifKaW9ks5r53GrgaJpZM4NF3kE
.

@djkwagala Originally I took the idea of start, stop, step from Python range. The only difference is that I moved the value exclusion from stop to start. I mean, start excluded and stop included (start, stop] instead of the python version [start, stop).
So you can have ranges including 0 as value, like:
<Rating start={-5} stop={4} />

This will include the following values:
[-4, -3, -2, -1, 0, 1, 2, 3, 4]

Check this jsfiddle.

@dreyescat Hm, I am not sure I would consider 0 a "valid" value (like, a value a user could input) either. It could be a valid value if the user sets the initialRating to something < 0. However, come to think about it, it is not common to have negative values for star based ratings (at least I have not seen one), so maybe disallow negative initialRating altogether? Also, the code, currently does not allow returning non-positive values, by user input, because if the user even tries to set 0, by moving the mouse on the leftmost edge of the rating component, he will only be able to set it to the lowest positive value.
Also, I think undefined is not properly handled to be translated as 0 for the displayValue and is dependent on type casting right now (the undefined leads to some NaN value, whch ends up as 0), so if we are to keep undefined let's handle it properly.
tl;dr, the only 'valid' values the user can set currently are positive ones

@mkarajohn Allowing 0 and negative numbers as valid values is something I introduced from the beginning just because I liked to see the Rating as a range of values, influenced by the Python version of range. However, it is not the first time that it shows up. Maybe it is more a burden than a feature... 😉. Let me think about it.
Regarding undefined initialRating/placeholderRating I see it as a different issue. What is the expected value of non-rated Rating?

@mkarajohn BTW, since you introduced the RatingContainer layer I have started to see things different (sepparation of concerns). I see Rating as the normalized version and RatingContainer . The former takes care of a (0..n] range of values while the latter (the actual Range Rating) takes care of the ranging (start, stop, and step). I mean, we could export both. Use Rating for the standard 5-star rating and the ranged one for more specialized ratings. We could have any special rating as far as we know how to map it to the normalized one 😃.

I am back 😅 . Bumping this to see how we proceed? Cheers

Wow! Nice to hear from you @mkarajohn! If I am not wrong and I remember correctly it  was almost finished. Let review it this weekend and I will tell you something.
Probably we will have to "merge" some nice commits from current version.
A major React version wakes anyone up instantly :wink:.

@dreyescat Yello and happy holidays!
So, I finally have quite some free time, now with the holidays and all, and I was wondering if you'd like to catch up with v1 and release it or have you lost interest?
In the latter case I will proceed with forking this repo and release the current v1 (with any necessary reworks since the last time I worked on it).
Cheers!

Happy Xmas @mkarajohn!
Please. Go ahead. You can do the rework you need on v1 branch and merge it back to master. There will be some commits to take care of since we started v1, like Add touch events for mobile devices (edba58b2cd3956d103d20145f3e73b2b18870b3b).
Once it is merged to master we just push the release button. Even better. I would like to show you the release process and the commands/scripts I use. Just in case you need to release a new version without me 😉 . I like the idea of this project having more than one full maintainer.

Ok, I made some final commits. Please do check it again before we merge into master, to ensure we are ok with the current API.
For a later stage, I am also thinking what you had said in an earlier comment, about exporting both the Rating and the RatingContainer component, since what the RatingContainer does is expose that API and also normalize the values for consumption from the Rating. We could let people create their own RatingContainer

pinging @dreyescat just in case you did not get a notification from the previous comment 😅

Ok, I made some final commits. Please do check it again before we merge into master, to ensure we are ok with the current API.

Ok. I did a quick review. You can merge it to master.
There is one thing that I would like to recheck once everything is merged to master. It is regarding my stubborn idea of having an undefined value for no value and consider 0 a valid value 😅. I have seen your commit 2d37d85d118c7c696aa72b3bfa084a54d358f25d uses 0 as a special value for no displayed symbols. You are not the only one that considers 0 not valid rating value. A good contributor @djkwagala also questioned this idea in a previous comment. Let's keep this change and assume 0 as not valid for now 👍.

For a later stage, I am also thinking what you had said in an earlier comment, about exporting both the Rating and the RatingContainer component, since what the RatingContainer does is expose that API and also normalize the values for consumption from the Rating. We could let people create their own RatingContainer

Yep! I see Rating as the core one. The normalized one. Then, for example, the one that allows to set a range (additional start, stop, and step properties) could be the RangeRating.

Well done @mkarajohn! 👏.
I added some minor fixes. I don't see anything that prevents us to release v1!
I have seen you already have a npm user @mkarajohn. Would you mind if I add you to react-rating as a core maintainer? You will be able to publish new releases... Like the current one :wink:

@dreyescat yeah, sure!

You are officially core contributor! Let's celebrate being you the one who releases this major version!
I've just documented the release process. Nothing fancy. Just the three commands I use everytime I create a new version. Let me know if you have any issue.

Cool, sorry for the long wait, I was off.
Ok, I am releasing, wish me luck!

@dreyescat actually, I 'd rather not release yet, as I am having this issue with the demo page, which I have no idea what is causing it. Any ideas?


Nibe heat pump integration - No entities shown

Hello.
I have setup a lilygo-t board and connected it successfully to my nibe SMO40, i added the nibe heat pump integration, but i dont get any entities except for "Climate System S1".

the config part says +541 entities hidden. How can i activate some of these?
Cheers.

I got the same, how did you solve this?

Hej Rici.
Go to the integration and activate the entities you want to activate, this
have to be done manually as there is too many entities in the integration.
And be wary of activating too many, then the integration crashes.
Den man. 14. aug. 2023 kl. 12.41 skrev Rici Mainly @.***

:

I got the same, how did you solve this?
—
Reply to this email directly, view it on GitHub
https://github.com/elupus/esphome-nibe/issues/30#issuecomment-1677090480,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKGBMI7UK4TLZZEXLFVVYZ3XVH6HJANCNFSM6AAAAAAWY7EUE4
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

--
Torben Rosenberg Nielsen

Hi @Sleazified
But when I try to change climate sensor I receive an error https://community.home-assistant.io/t/how-to-connect-to-nibe-heat-pump-without-the-cloud/381099/166?u=richi44

i dont actually think you are supposed to be able to do that, you need to
activate the other entities and control instead.
Den man. 14. aug. 2023 kl. 14.46 skrev Torben Nielsen @.***>:

I cant do that either, sorry cant help with that :(
Den man. 14. aug. 2023 kl. 13.30 skrev Rici Mainly <
@.***>:

Hi @Sleazified https://github.com/Sleazified
But when I try to change climate sensor I receive an error
https://community.home-assistant.io/t/how-to-connect-to-nibe-heat-pump-without-the-cloud/381099/166?u=richi44
—
Reply to this email directly, view it on GitHub
https://github.com/elupus/esphome-nibe/issues/30#issuecomment-1677151108,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKGBMI656UCXMMPPR6UI5NTXVID5TANCNFSM6AAAAAAWY7EUE4
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Torben Rosenberg Nielsen

--
Torben Rosenberg Nielsen

Hi @Sleazified. The climate integration is the most common way to control heating inside the house for the people inside. Its common thermostat which everybody is able to manage. I do not want to expose other settings of heat pump for everybody at home.

The climate entity should work. But what are you trying to do? Changing mode is not really supported on the pump. It will always work against its degreeminutes, and use that to decide when to heat or not.
Target temperature should work.

Hi @elupus Climate entity just is not working, do not know why. When I want to change target temperature it will show "Failed to call service climate/set_temperature. ‘set_temperature’ requires ‘hvac_mode’ when passing 'temperature and ‘hvac_mode’ is not already set to ‘heat’ or ‘cool’ "
https://community.home-assistant.io/t/how-to-connect-to-nibe-heat-pump-without-the-cloud/381099/169?u=richi44


feat: v1

Merging this PR will change this repository to only hold code icon SVGs, for all thiings catppuccin themed. It aims to be the single source of truth for icons, while staying agnostic of the use of the icons.
The VSC icon extension should move to https://github.com/catppuccin/vscode monorepo
Atm we shall publish v1 on this repo

Was there any reasoning behind the removal of svgs in the cleanup? Such icons would have been useful to use in https://github.com/catppuccin/catppuccin/discussions/2238

@noahbald icons still exist they just live in their respective flavour (icons/frappe for example). there is also the css-variables which contains icons with colors as stroke="var(--vscode-ctp-rosewater)" to be used/replace as needed.


MathML input

It might be nice to add support for MathML parsing as an alternative to TeX input. Just a thought. This is certainly not a priority, in my mind.

If you are still interested in that, could you please check out my MathMktoTexFormula.cs code in my fork.

I didn't think about the performance when I started because I thought I would use it for a handful of elements. However, I'm changing some parts of it to use string builder but not all of then can be used. Eg. The index of mroot comes at the end so the first element and it's children need to be stored separately and they are added once we've gotten the base and index.

I've taken a very quick look at the code and I don't think that the string/StringBuilder is a big issue there. We could always fix it before merging, the changes required are trivial. We'll need to discuss a proper API for MathML parser though. For now I've no useful ideas.


Sharing authentication between angular  projects

We are using the library for our angular applications, as the project is growing and now we 4 separate angular applications, we like to use the library as a shared library to avoid the same logics/code repetition.
Is there a guide or sample project that handles this use case?

As far as I know there is no sample or guidance specific to that use case. Perhaps you can be the first one to create it?
PS. I do recall #801 being open, sideways related to your question.


Warg Client: Yank a package release version

Warg Client CLI is missing a command to yank a package release version

Implemented in https://github.com/bytecodealliance/registry/pull/150


Possibility to use pyscf RKS with CCSD-EOM for normal modes of excited states

I am trying to find normal modes for a geometry optimized excited excited state molecule. I want to do it at the level of CCSD-EOM level. Is it possible to do this using PySCF's pyscf.prop.freq module? I tried to write a code but I am stuck beyond a point.
from pyscf import gto
from pyscf import scf, mcscf
mol = gto.Mole()
mol = gto.M(atom='''
N   -0.00000    -0.00000     0.05500
H   -0.01280    -0.96010    -0.25500
H    0.83790     0.46900    -0.25500
H   -0.82510     0.49110    -0.25500''',
            basis='def2tzvpp', verbose=2)

mf = scf.RHF(mol).run()
mc = mcscf.CASCI(mf, 4,4)
mc.state_specific_(1)
excited_grad = mc.nuc_grad_method().as_scanner()
mol1 = excited_grad.optimizer().kernel()

# Road block in connecting this to further to pyscf.prop.freq module

Your code uses CASCI above. I'm not aware of analytic EOM-CCSD gradients in PySCF.
The frequencies can be obtained by computing the second derivative matrix (Hessian) of the energy, by the numerical derivatives of the analytic gradient, if the analytic gradient is available. The non-zero eigenvalues of the Hessian transformed to mass-weighted coordinates gives the frequencies squared.

Your code uses CASCI above. I'm not aware of analytic EOM-CCSD gradients in PySCF.
The frequencies can be obtained by computing the second derivative matrix (Hessian) of the energy, by the numerical derivatives of the analytic gradient, if the analytic gradient is available. The non-zero eigenvalues of the Hessian transformed to mass-weighted coordinates gives the frequencies squared.

I think analytic gradients do not exist for EOM-CCSD in PySCF. Could you suggest possible way to bypass that, maybe switching away from CASCI to CASSCF? If so, could you provide some sort of starter code to evaluate these derivatives using some of the PySCF's modules?

CASCI is different from EOM-CCSD. Analytic gradients are available for
CASCI: see methods in pyscf/grad. See examples/grad for code to compute
CASCI derivatives. The second derivative will have to be done numerically.
This can be done with a small amount of code.
On Thu, Mar 25, 2021 at 8:00 PM Hitarth Choubisa @.***>
wrote:

Your code uses CASCI above. I'm not aware of analytic EOM-CCSD gradients
in PySCF.
The frequencies can be obtained by computing the second derivative matrix
(Hessian) of the energy, by the numerical derivatives of the analytic
gradient, if the analytic gradient is available. The non-zero eigenvalues
of the Hessian transformed to mass-weighted coordinates gives the
frequencies squared.
I think analytic gradients do not exist for EOM-CCSD in PySCF. Could you
suggest possible way to bypass that, maybe switching away from CASCI to
CASSCF? If so, could you provide some sort of starter code to evaluate
these derivatives using some of the PySCF's modules?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pyscf/pyscf/issues/864#issuecomment-807900753, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAN5NRA7WKSJ7ZSGDGLGQ5DTFP2GVANCNFSM4Z2DW5HA
.

CASCI is different from EOM-CCSD. Analytic gradients are available for CASCI: see methods in pyscf/grad. See examples/grad for code to compute CASCI derivatives. The second derivative will have to be done numerically. This can be done with a small amount of code.
…
On Thu, Mar 25, 2021 at 8:00 PM Hitarth Choubisa @.***> wrote: Your code uses CASCI above. I'm not aware of analytic EOM-CCSD gradients in PySCF. The frequencies can be obtained by computing the second derivative matrix (Hessian) of the energy, by the numerical derivatives of the analytic gradient, if the analytic gradient is available. The non-zero eigenvalues of the Hessian transformed to mass-weighted coordinates gives the frequencies squared. I think analytic gradients do not exist for EOM-CCSD in PySCF. Could you suggest possible way to bypass that, maybe switching away from CASCI to CASSCF? If so, could you provide some sort of starter code to evaluate these derivatives using some of the PySCF's modules? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#864 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN5NRA7WKSJ7ZSGDGLGQ5DTFP2GVANCNFSM4Z2DW5HA .

Thanks a lot @gkc1000 : this has been super helpful. I think I got most of it both beginning and end about eigenvalue decomposition. However, I am a bit lost about getting the second derivative from the CASCI gradients. Do you mean changing the geometry and see how first derivative changes?
from pyscf import gto
from pyscf import scf
from pyscf import mcscf
mol = gto.Mole()
mol = gto.M(atom='''
N -0.00967376662372305 1.9389089769499515 -1.0311773552266168
H 0.09534344701032355 -3.9527923659533 -0.2766889330716513
H 1.473385341385626 2.7196261402525916 -0.13041230470296353
H -1.529833186463457, 2.664331908590426, -0.1461700765483647''',
            basis='def2tzvpp', verbose=2)
mf = scf.RHF(mol).run()
mc = mcscf.CASCI(mf, 4,4)
mc.state_specific_(1)
mc.run()
from pyscf import grad
g = mc.Gradients().kernel(state=1)
print('Gradients of the 1st excited state')
print(g)

Yes. You will need to read a little bit to get all the details of this
correct, but it is not hard: look up numerical differentiation and
finite-difference methods for frequencies. Closing this issue, reopen
another one if more questions.
On Thu, Mar 25, 2021 at 8:32 PM Hitarth Choubisa @.***>
wrote:

CASCI is different from EOM-CCSD. Analytic gradients are available for
CASCI: see methods in pyscf/grad. See examples/grad for code to compute
CASCI derivatives. The second derivative will have to be done numerically.
This can be done with a small amount of code.
… <#m_-2718760716885604628_>
On Thu, Mar 25, 2021 at 8:00 PM Hitarth Choubisa @.***> wrote: Your
code uses CASCI above. I'm not aware of analytic EOM-CCSD gradients in
PySCF. The frequencies can be obtained by computing the second derivative
matrix (Hessian) of the energy, by the numerical derivatives of the
analytic gradient, if the analytic gradient is available. The non-zero
eigenvalues of the Hessian transformed to mass-weighted coordinates gives
the frequencies squared. I think analytic gradients do not exist for
EOM-CCSD in PySCF. Could you suggest possible way to bypass that, maybe
switching away from CASCI to CASSCF? If so, could you provide some sort of
starter code to evaluate these derivatives using some of the PySCF's
modules? — You are receiving this because you commented. Reply to this
email directly, view it on GitHub <#864 (comment)
https://github.com/pyscf/pyscf/issues/864#issuecomment-807900753>, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAN5NRA7WKSJ7ZSGDGLGQ5DTFP2GVANCNFSM4Z2DW5HA
.
Thanks a lot @gkc1000 https://github.com/gkc1000 : this has been super
helpful. I think I got most of it both beginning and end about eigenvalue
decomposition. However, I am a bit lost about getting the second derivative
from the CASCI gradients. Do you mean changing the geometry and see how
first derivative changes?
from pyscf import gto
from pyscf import scf
from pyscf import mcscf
mol = gto.Mole()
mol = gto.M(atom='''
N -0.00967376662372305 1.9389089769499515 -1.0311773552266168
H 0.09534344701032355 -3.9527923659533 -0.2766889330716513
H 1.473385341385626 2.7196261402525916 -0.13041230470296353
H -1.529833186463457, 2.664331908590426, -0.1461700765483647''',
        basis='def2tzvpp', verbose=2)

mf = scf.RHF(mol).run()
mc = mcscf.CASCI(mf, 4,4)
mc.state_specific_(1)
mc.run()
from pyscf import grad
g = mc.Gradients().kernel(state=1)
print('Gradients of the 1st excited state')
print(g)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pyscf/pyscf/issues/864#issuecomment-807910515, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAN5NRBWHSEMC4LD6HL544TTFP53FANCNFSM4Z2DW5HA
.


[FEATURE REQUEST] Time duration between check should be configurable down to seconds.

Some request came to check for seconds based to ensure selected app always runs.

Checkout android-keep-alive-seconds.apk from:

https://file.io/9rLDRzKYOXYg
https://fromsmash.com/Keep-Alive-Seconds

link is expired. Can you post this again?
What OS is this compatible with, because it does not work in Android 11 (does not re-launch app that I exited on purpose. I accepted all 3 permissions). Also in Android 7, it says parsing error when trying to install.
Thank you.

The min app version is Android 9
https://github.com/hossain-khan/android-keep-alive/blob/d3f37dfdbabf6106b175e6051858f6bd7ce533ef/app/build.gradle.kts#L16
This build was very specific ask, doing check every second to every 60 seconds. Which is not very good thing to do on any phone. Are you sure you want this build?

Yes please.
This is being tested on an android box, so i am not worried about the battery.
Is this app use a lot of ram or resources? (used on 2gb vs 4gb device).
How can i test to see if it is actually working? I am using your app along side an app that has a autoboot feature.
Thanks again.

@ALXCONNECT I added the APK in the release, it should be available all the time.
https://github.com/hossain-khan/android-keep-alive/releases/tag/v1.9-seconds

Is this app use a lot of ram or resources? (used on 2gb vs 4gb device).

I mainly made this app to run on Pixel 1 device which is 9 year old phone with 4GB ram, that's where my immortal apps gets killed all the time. I think it should work fine on 4GB device, not sure about 2GB.

How can i test to see if it is actually working? I am using your app along side an app that has a autoboot feature.

I added remote logging feature just for this, as I wanted to check if the app is working over period of 1-2 days.
However, doing fast checks may not be ideal for remote logging, also setting it up requires technical knowledge unfortunately. Feel free to take a look at the doc - https://github.com/hossain-khan/android-keep-alive/blob/main/REMOTE-MONITORING.md


Can't click drop-down links over carousel

Hi. I have a navbar that sits above a bootstrap carousel. When I click on a drop-down link, the drop-down menu appears, as normal. However, when I over over the links, the hover states don't activate, and nothing happens when I click on the links. Sometimes, it will work! It seems to work randomly during the transition of the carousel. Any tips?

Could you post a JS Fiddle demonstrating the problem?
What browser and OS are you using?

Thanks for the reply. Here is the JSFiddle:
https://jsfiddle.net/y5mgcfL8/embedded/result/

Hi @d3inc!
You appear to have posted a live example (https://fiddle.jshell.net/y5mgcfL8/show/light/), which is always a good first step. However, according to the HTML5 validator, your example has some validation errors, which might potentially be causing your issue:

line 1023, column 29 thru line 1023, column 77: The element button must not appear as a descendant of the a element.
line 1028, column 29 thru line 1028, column 77: The element button must not appear as a descendant of the a element.
line 1033, column 29 thru line 1033, column 77: The element button must not appear as a descendant of the a element.
line 1038, column 29 thru line 1038, column 77: The element button must not appear as a descendant of the a element.
line 867, column 10 thru line 867, column 155: The aria-controls attribute must point to an element in the same document.

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

Here is the JSFiddle: https://jsfiddle.net/y5mgcfL8/embedded/result/
It seems to be working there, which is strange. I'm using Google Chrome.
Here it is uploaded on Amazon S3: https://s3-us-west-2.amazonaws.com/nebc/index.html
Sometimes the links work in the drop down for 'About' and sometimes they don't. It's very strange.

Hi @d3inc!
You appear to have posted a live example (https://fiddle.jshell.net/y5mgcfL8/show/light/), which is always a good first step. However, according to the HTML5 validator, your example has some validation errors, which might potentially be causing your issue:

line 1023, column 29 thru line 1023, column 77: The element button must not appear as a descendant of the a element.
line 1028, column 29 thru line 1028, column 77: The element button must not appear as a descendant of the a element.
line 1033, column 29 thru line 1033, column 77: The element button must not appear as a descendant of the a element.
line 1038, column 29 thru line 1038, column 77: The element button must not appear as a descendant of the a element.
line 867, column 10 thru line 867, column 155: The aria-controls attribute must point to an element in the same document.

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

I'm trying to upload the JSFiddle but it keeps complaining about how a button element must not appear inside of an a element. I've uploaded it to Amazon S3: https://s3-us-west-2.amazonaws.com/nebc/index.html
I'm using Google Chrome.

For what it's worth, @twbs-lmvtfy is right...you can't have a <button> element wrapped inside an <a> (in your "Services we offer" section).
Your problem, in any case, is one of z-index on your .carousel-control.
Additionally, please refer to https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md#using-the-issue-tracker and post personal support requests on StackOverflow, rather than here.


consumption halted on realtime table when accessing an offset that has been already deleted from Kafka

the realtime consumption of records on realtime tables stops when given realtime table need to access an offset that has been already wiped by kafka, this can happen because the retention policy in the kafka side is lesser than how often we commit segments in pinot, however when this happens, there's no easy way for us to recover and start consumption again on the realtime table, the log message in the pinot-servers shows the following:
Fetch position xxxx FetchPosition xxx is out of range for partition resetting offset xxxx
There should be a way to recover from this scenario without having to recreate the table or having to manually update the zk options for the consuming segment which is hard to find in the zk side.

@lfernandez93 which version of Pinot does this affect? It’s possible that it was fixed by #7927.

Pinot recovers automatically from this scenario. You can run the RealitmeSegmentValidationManager manually if urgent fix is needed. Alternatively, you can configure to run this periodically (say, every 30m) to fix tables that have gone beyond retention period of the stream.

@mcvsubbu validation manager doesn't fix this. I see validation manager checking for this only in the scenario of  if (isAllInstancesInState(instanceStateMap, SegmentStateModel.OFFLINE)) {
@richardstartin I think this is a separate issue. There's no filtering happening, but Pinot is just seeing it as no data coming in, because the consumer is actually unable to get any data. But might be worth trying out with the fix, I havent verified for sure.

@richardstartin we have been running latest in our dev environment

@npawar the consumer on the server side should experience a (permanent) exception, which will cause the segment to go OFFLINE, and then the validator will fix it automatically.
At least, this is what it is supposed to do. If not, we have a bug, yes. I am eager to know what the fix is

more. complete logs:
Consumed 0 events from (rate:0.0/s), currentOffset=5011308264, numRowsConsumedSoFar=0, numRowsIndexedSoFar=0
[Consumer clientId=consumer-null-12, groupId=null] Seeking to offset<PHONE_NUMBER> for partition xx-xx-xx-xx-3
Consumed 0 events from (rate:0.0/s), currentOffset=5110008164, numRowsConsumedSoFar=0, numRowsIndexedSoFar=0
[Consumer clientId=consumer-null-1, groupId=null] Seeking to offset<PHONE_NUMBER> for partition xx-xx-xx-xx-1
[Consumer clientId=consumer-null-12, groupId=null] Fetch position FetchPosition{offset=5011308265, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[xxx (id: 0 rack: us], epoch=6}} is out of range for partition xx-xx-xx-xx-3, resetting offset
[Consumer clientId=consumer-null-31, groupId=null] Fetch position FetchPosition{offset=4849504882, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[xxx (id: 2 rack: us)], epoch=5}} is out of range for partition xx-xx-xx-xx-5, resetting offset
[Consumer clientId=consumer-null-12, groupId=null] Resetting offset for partition xx-xx-xx-xx-3 to position FetchPosition{offset=546724258, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[xxx (id: 0 rack: us)], epoch=6}}.
[Consumer clientId=consumer-null-31, groupId=null] Resetting offset for partition xx-xx-xx-xx-5 to position FetchPosition{offset=530075133, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[xxx (id: 2 rack: us)], epoch=5}}.
Consumed 0 events from (rate:0.0/s), currentOffset=5063423275, numRowsConsumedSoFar=0, numRowsIndexedSoFar=0

and this just keeps on happening on loop

Thanks @lfernandez93 for the additional logs.
As discussed, this looks like Kafka side is claiming to reset offset to what's available, but after that either the message batch doesn't contain any new records, or Pinot side doesn't accept the new records. Former seems more likely. Will investigate.
@mcvsubbu there's no exceptions coming in from the kafka consumer side for this, so what you're theorizing will not happen.

@npawar you're saying kafka consumer tries to fetch messages and it's unsuccessful, but the consumer doesn't throw exception?

Yes, after resetting offset to latest, the Kafka consumer should be returning the messages from new offset. So either it's not, or Pinot consumer is rejecting those messages. Hence responded on the slack thread that I'll investigate.
This should be easy to reproduce. Start a consumer and manually change the start offset to something in the past.

noting per @mcvsubbu we are currently using org.apache.pinot.plugin.stream.kafka20.KafkaConsumerFactory
@npawar you would do that by zk yes?

@lfernandez93 yes, i was able to reproduce. I've submitted a fix

@lfernandez93 @npawar can this be closed ?


Add SocketConnectionFactory and http2cat

Add a Kestrel sample client for testing HTTP/2 servers
Add SocketConnectionFactory

TODO: Add SslStream
TODO: Support half-closing the SocketConnection

This certainly meets its manual testing objectives. Here are some ideas for making it more broadly applicable in the future. E.g. I'd like to directly consume this as a library in Kestrel and HttpSys tests and remove the duplicate infrastructure.

Move the bulk of the code from the sample to a class library so other components can easily depend on it. Only Program.cs would stay in the sample.
Remove the internals-visible-to requirement, even if it requires copying more code out of Kestrel. Alternatively, those internals could be moved to a shared sources project that Kestrel directly consumes. Some of these internals overlap with the code we want to share with HttpClient anyways.

None of this is a near term priority.

@Tratcher can you capture that in an issue so we don’t lose it


Support http service and client compression

GZIP and deflate please!

Need this big time - having to use asynchttpclient when 3rd party services are gzipping responses


New version: th-ch.YouTubeMusic version 3.5.2

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

@wingetbot run

@wingetbot run


Blog app - integration specs for views and fix n+1 problems

In this pull request, We were able to:

Make sure that the N+1 problem is solved when fetching all posts and their comments for a user, I don't have any N+1 problems, and I also use bullet gem in order to corroborate this.

Use Capybara to write integration tests for each view in your project.

User index page:
Can see the username of all other users.
Can see the profile picture for each user.
Can see the number of posts each user has written.
When I click on a user, I am redirected to that user's show page.
User show page:
Can see the user's profile picture.
Can see the user's username.
Can see the number of posts the user has written.
Can see the user's bio.
Can see the user's first 3 posts.
Can see a button that lets me view all of a user's posts.
When I click a user's post, it redirects me to that post's show page.
When I click to see all posts, it redirects me to the user's post's index page.
##User post index page:
Can see the user's profile picture.
Can see the user's username.
Can see the number of posts the user has written.
Can see a post's title.
Can see some of the post's body.
Can see the first comments on a post.
Can see how many comments a post has.
Can see how many likes a post has.
Can see a section for pagination if there are more posts than fit on the view.
When I click on a post, it redirects me to that post's show page.
##Post show page:
Can see the post's title.
Can see who wrote the post.
Can see how many comments it has.
Can see how many likes it has.
Can see the post body.
Can see the username of each commentor.
Can see the comment each commentor left.
Thanks for the revision
Diego

@zieeco Thanks for the review, if you read carefully my PR in the first bullet I wrote the next: " I don't have any N+1 problems, and I also use bullet gem in order to corroborate this.", that's why my coding partner @paulsaenzsucre  and me not implemented any N+1 fix and that's why I can not proceed to implement your required changes because there is nothing to implement. I also added the bullet gem so you can also see that I don't have any N+1 problem.

Hello @t-yanick as required I implemented the suggestions and also You can see the SS required:

Thanks for the feedback


Revert "Revert "Enable HOMEBREW_AUTOREMOVE by autoremove_default""

Reverts Homebrew/brew#17364
Reverting this until we have more discussion during the week.

@p-linnane Thanks for quick approval on this one! No problem, it happens and it's often the right thing to do, I just think in this case when it's a big change in behaviour that we've announced publicly that the burden to reverting is/should be much higher than we've seen.


multimod: Fix tagging on Windows

Fixes #464

moduleFilePathToTagName() produces the following on Windows due to Windows file path using backslashes instead of slashes.
could not retrieve tag names from module paths: could not convert module file paths to tag names: could not convert module file path to tag name: modFilePath C:\...\test\test1\go.mod not contained in repo with root C:\...\

filePathToRegex() failing as filepath.Separator() in Windows is a backslash instead of the expected slash.

multimod unit test now passes on Windows with this PR

LGTM. @scorpionknifes would you be interested in adding CI tests running on Windows to this repository?

Sounds good I'll do it as part of #450
I do need PR #448 for all the tests to pass in Windows, appreciate if anyone can review that one too :pray:


Query doctests

Summary by CodeRabbit

New Features

Enhanced the robustness of window information retrieval in task querying, improving error handling for missing keys.

Bug Fixes

Fixed the control flow in the summarize_temporal_window function to ensure proper data processing.

Refactor

Modified how start times are accessed and processed in the query_task function for better reliability.

Chores

Updated configuration settings in inhospital_mortality.yaml to streamline window definitions.

@coderabbitai review

Addresses many checkboxes in #3


updated karachan-fiters

karachan.org###jesli-zablokujesz-tego-diva-ukraina-odniesie-zwyciestwo  - hides flying pigs

This repository has been abandoned. If you are looking for the most recent filters, you may want to visit my page:
https://github.com/uwzw/chan-filter