Add count

I'd like to suggest adding a count function to count the number of elements that match a predicate.
Perhaps something like so:
count :: forall a f. Foldable f => (a -> Boolean) -> f a -> Int
count p = foldl (\n x -> if p x then n + 1 else n) 0

I think I'm against adding this. AFAIK, most common Foldable types (e.g. Array, Map, etc.) have a count-like function (e.g. size, length) that is monomorphic and doesn't incur the cost of type class dictionaries. Since this function is relatively simple to define in local usages, I don't think it's worth adding here.
Feel free to disagree with me, but I'll close this for now.

Perhaps because I'm a noob to PS (and to FP in general), I'm going to disagree, so I might just need to be enlightened. I'm all ears if my argument isn't valid.
The difference in what I'm proposing is the use of a predicate, distinguishing the proposed count function from the length function, which makes the count function a counterpart to the filter function.
In essence, count is counting the number of elements in the result of applying filter, but without incurring the cost of generating the result of filter. In other words, count pred xs is equivalent to length $ filter pred xs, but it doesn't create the intermediate result of filter, which is simply thrown away because it is not needed. It is the unnecessary cost of generating the unused intermediate result that I'm trying to avoid with my proposal for count.
Again, I'm all ears if what I'm proposing doesn't make sense, or if there is some other way to achieve this that I'm not aware of, without having to implement my own count everywhere I need it.
As you said, however, this really is simple to define in local usages, so perhaps this is reason enough to avoid adding the proposed count function. Although, I feel like this could be an argument for many function that are included in many libraries, so I'm not sure I fully agree on this point. Such functions may be 1-liners, but they are 1-liners that you don't want to have to remember how to correctly reimplement in local usages, which is why they've been added to libraries.
No worries if you still disagree. I appreciate your time and consideration, and look forward to deepening my PS and FP knowledge.

Most of my argument comes from the principle of not being quick to add things to core libraries and whether something simple like this passes the Fairbairn Threshold. If something was added, but the API wasn't quite right, then we have to fix it via a breaking change, which doesn't happen very often, so we're stuck with the design for a while. Clearly, this definition isn't liable to such a problem because that's the only way it can be defined.
Since Gary is good with this addition, then I'll remove my stance against this.

Well, now you mention it... I suppose it could be defined with Semiring instead of Int! Or even Monoid if one was taken as an argument, but I'm not sure if there's much value in that. Semiring would mean it could count to a larger value (if Number / big-num type thing), but it would potentially make it annoying to use for type inference reasons.

We do use HeytingAlgebra and Semiring constrained result values in some of the other functions (any / all / sum / product, etc.) but those cases are a little different as the result type also appears in the arguments, so the inference can be directed by that.
We use Int for length / size so I think it probably is a safe assumption to make. If someone does need to count a larger structure then they'd can still fold it themselves, and/or a monomorphic version would probably be significantly faster for a structure of that size.


docs: adding comments and a few other things

This PR does four things:

Removes the docs README which is not published.
Adds the comments function to all pages for community interactionl.
Changes the site_name.
Updates the run script so tech writers don't have to cd when working on the docs.

In the original PR we also added Documentation section to the main readme. Is this no longer needed?

It's added in another one.


Update date format translations in POEditor

This issue is related to #5576. In order to get the experience working correctly we need to update the POEditor translation to just translate YYYY to AAAA. We will handle switching out date formats on the code side based on country code.

Should be all set in POEditor :)
#5639 is just to add it to version control, so not dependent o having it merged to close this, huzzah!


feat(interactive): Introduce metadata for graph

We need to store and retrieve graph metadata at least including the following information

GraphId
GraphName
CreationTime
SchemaUpdateTime
IndicesUpdateTime
Description
LastImportConfiguration

For StoredProcedure, a unique id should also be given.
Related issue #3606

Fixed via: https://github.com/alibaba/GraphScope/pull/3696


Clarified "when to use" heading for Hybrid Azure AD joined devices.

Hybrid Azure AD is the only option for Windows Server 2008/R2, 2012/R2, 2016. Azure AD Joined (no hybrid) is not supported on these OS.

#sign-off


Built-in apps open in another tab

I couldn't find any setting to make built-in apps open in another tab. If it doesn't exist, It will be great to be added in the future releases.

Your suggestion is great and I would like to make a setting for that.


Fix 'receive_message_wait_time_seconds' SQS broker management

The parameter receive_message_wait_time_seconds for the SQS broker is being removed when a new Boto connection/Session is created, and then dequeue operation cannot use it.
When the broker is created, a new Boto connection via Session is instantiated:
self.connection = self.get_connection(list_key)

This get_connection retrieves the SQS configuration and removes data that is not accepted by the Session:
def get_connection(list_key: str = None) -> Session:
    config = Conf.SQS
    if "aws_region" in config:
        config["region_name"] = config["aws_region"]
        del config["aws_region"]

    if "receive_message_wait_time_seconds" in config:
        del config["receive_message_wait_time_seconds"]

    return Session(**config)

And because it’s not deep-copying the Conf.SQS, it basically removed the receive_message_wait_time_seconds configuration, so when the dequeue method to retrieve messages from the queue is called, this setting is gone:
...
    # sqs long polling
    sqs_config = Conf.SQS
    if "receive_message_wait_time_seconds" in sqs_config:
        wait_time_second = sqs_config.get("receive_message_wait_time_seconds", 20)

        # validation of parameter
        if not isinstance(wait_time_second, int):
            raise ValueError("receive_message_wait_time_seconds should be int")
        if wait_time_second > 20:
            raise ValueError(
                "receive_message_wait_time_seconds is invalid. Reason: Must be >= 0"
                " and <= 20"
            )
        params.update({"WaitTimeSeconds": wait_time_second})
    tasks = self.queue.receive_messages(**params)

It’s basically not long polling. It can be verified via quick test: this is the request AWS SQS (localstack) receives multiple times every second, due to that parameter not being sent:
{
    'QueueUrl': 'http://aws:4566/queue/us-west-2/000000000000/test',
    'MaxNumberOfMessages': 10,
    'VisibilityTimeout': 43200
},

and with the implemented patch, which is just deep-copying the SQS config, the result is:
{
    'QueueUrl': 'http://aws:4566/queue/us-west-2/000000000000/test',
    'MaxNumberOfMessages': 10,
    'VisibilityTimeout': 43200,
    'WaitTimeSeconds': 10
},

What we expected.
BTW SQS tests have been disabled for 7 years. This PR brings them back by using localstack, following the same approach as Redis or Mongo tests.

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

1 of 13 (7.69%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.07%) to 89.544%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

django_q/tests/test_brokers.py
1
5
20.0%

django_q/brokers/aws_sqs.py
0
8
0.0%

Totals

Change from base Build<PHONE_NUMBER>0:
-0.07%

Covered Lines:
3374

Relevant Lines:
3768

💛  - Coveralls

Hey @GDay what are next steps for this PR? do you think we can proceed to merge? Thank you!

In general, I think this looks good. Will take another look this weekend. Sorry, don't have a lot of time at the moment.

Thank you, @GDay ! let me know if I can help you with the process.

Just released a new version. v1.7.4 should have this fix.

Thank you so much, @GDay ! have a nice day.

Hi @GDay , I just wanted to show you the requirements improvement after deploying this change to our environment:

💪
Thank you!

Oh wow, that's an amazing improvement. Well done on tracking this down and thanks again for the PR!


Error: Login button has changed. Please contact support.

Running this on my synology NAS and today i started getting this after running this:
Task: No-ip-Renew
Start time: Tue, 17 Oct 2023 13:00:01 -0400
Stop time: Tue, 17 Oct 2023 13:00:09 -0400
Current status: 1 (Interrupted)
Standard output/error:
Opening browser
Login button has changed. Please contact support.

Hi,
From that message it looks like you are running an older version. Can you try running the latest version?

Thanks. updating to newer version seems to have fixed that.


orWhereNotNull but not andWhereNotNull

Why only allow for an or when talking about notNull methods?  Where's the andWhereNotNull ?

There's andWhere but having and methods for every single other where varient would get verbose.

yea.. but I would think the same is true for orWhere.  What is the not null syntax again, .andWhere('column', ..., null).   It's not 'not', because I tried that.  Anyway,  I don't see why or is included but and is not.  Either both or neither imo.

or* means something distinct whereas and* is always just an alias

Internally, you mean?  I guess I'm still not seeing the difference, as in mysql
select * from table where ... and ...
and
select * from table where ... or ...
are similar orders of magnitude.
Anyway,  what is the current syntax then? .andWhere('col', 'not', null)?
It would be nice if .where('col', null) and .where('col', 'not', null) were in the docs, assuming it's implied that you must use andWhere for this.

Fun fact, if you want, you can actually just chain .and.whereNotNull. Basically if you call whereNotNull more than once it's an implied and
Really andWhere should just be deprecated as it's asymmetric with the rest of the API

What Tim said about deprecating andWhere is what I'm getting at. It's unnecessary grammar. It doesn't do anything. Whereas the or prefix actually means something.

Despite the comments above this is way outdated and the arguments for removing or deprecating existing aliases are too weak in my opinion. Removing aliases now would just result in a breaking change, eventhough the aliases not having been documented.
It makes a lot more sense to keep supporting syntactic sugar when applicable. In the case of andwhereNotNull, a simple one-line contribution would do the trick:
Builder.prototype.andWhereNotNull = Builder.prototype.whereNotNull

Ok, I'm new to knex, so the the confusion for me stems from where() and andWhere(). It seems as if I should do something like knex.raw(...).where(...).andWhere(...).andWhere(...) etc, so when I also needed to check for null values my initial thought was that maybe I needed to do something like knex.raw(...).whereNotNull(...).andWhere(...).andWhere(...) but then if I needed to check for null more than once, what happens then? Since it seemed as if I needed something syntactically sweetened with and-.
So, if it doesn't matter if I use where() or andWhere() and I can do something like this: knex.raw(...).where(...).where(...).where(...) or knex.raw(...).where(...).whereNotNull(...).andWhere(...) then .... everything is fine?
For my usecase, I ended up just using knex.raw(...., [...]), so I'm no longer stuck on this.

Actually raw is not an instace of the querybuilder, so you cannot use any where function as part of a chain to raw.
And yes, multiple calls to the same where function results in "and" automatically.


Add afterSequenceNumber option to on-demand summarize

This is the final PR to fix #6382.
It adds an optional afterSequenceNumber argument to summarizeOnDemand. When it is undefined, the on-demand summaries work as before. When it is defined at all, instead of immediately invoking and possibly returning an "alreadyRunning" property, it will enqueue the on-demand attempt to be ran at the first chance it gets (between heuristic calls, or after already running attempts). It will wait and run once the last inbound op sequence number >= afterSequenceNumber before running.
Subsequent calls will just overwrite the reason, afterSequenceNumber, and other options.
Includes some functional tests covering these types of on-demand summarize attempts + code & testing around calling summarizeOnDemand after the RunningSummarizer is closed/disposed.

Sorry if it's stupid question, but why do we need this kind of capability? I've glanced at issue, but it does not answer that question :(
Adding scenario (flow) would be great, as it would make it easier to see if that's the right tool for the job.

The original reason is for end-to-end testing. We have a change mad at seq num X. We want to check that the summary generated after seq X has our change. We call enqueueSummarize({ afterSequenceNumber: X }) and check the results.
Separately, I was thinking it could be useful in the following general need: "need to ensure a summary occurs by a specific sequence number. Not worried about excess summary attempts." (from above comment).


Login failure, retry ...

Hi, I am running yarn download in the leetcode-site-base/website folder, but I keep getting Login failure, retry ...
I normally login to leetcode using the facebook sign in method, will this still work?
Here is what I've tried:

Resetting my Leetcode Password
Changing my Leetcode primary email

Neither seem to work. Am I missing something?
Node js version: 13.12.0
Yarn version: 1.22.4

@beizhedenglong same issue :(

I will fix this issue this weekend!!!

This issue has been fixed. Please upgrade leetcode-site-generator to v0.0.12

Thank you so much @beizhedenglong, can't wait to use it! You've done an amazing job. Many people would want anything of this kind.  😄

Hi @beizhedenglong, I think there's some change with leetcode API. I tried running the application as suggested by you. But it got crashed because of an unhandled promise rejection. While it was 90% of the completion time. Thank you though for such an amazing project!

Because Leetcode API has a rate limit. it will be failed sometimes.

Oh, okay!  Thank you! 😄

yarn can run npm run generate-docs to generate docs of downloaded problems. I will add a feature that will only download new submitted problems by default not all problems every time.

Wow sounds great! @beizhedenglong, you're awesome. Thank you so much! 😄 🎉, I'll definitely share this project with my friends using leetcode.

Btw, is there any API to get the notes one has written over the platform (leetcode)?


Seal disk decryption key to PCR 13

PCR 13 is used by GRUB to measure rootfs and config partitions
It is safe to mere this even though we do not have GRUB PR yet. all PCRs have their default values

FWIW I defined a git alias (which I called ci) which does commit -S to avoid missing the DCO


[upload] Downloading doesn't report the correct progress

When trying to download zip files using the @tauri-apps/plugin-upload plugin, the progress callback isn't reporting the correct length of the chunks being downloaded.
Here's an example (using console.log) of the total chunks reported not matching the entire size of the file:
Saving
Downloaded 1371 of 820420 bytes
Downloaded 2742 of 820420 bytes
Downloaded 4113 of 820420 bytes
Downloaded 5484 of 820420 bytes
Downloaded 6855 of 820420 bytes
Asset downloaded

Here's an example of the total chunks reported properly matching the actual size of the file:
Saving
Downloaded 1371 of 5210 bytes
Downloaded 2742 of 5210 bytes
Downloaded 4113 of 5210 bytes
Downloaded 5210 of 5210 bytes
Asset downloaded

Some bigger files also work and other don't, so I don't think it has to do with the size of the file.
Here's my JavaScript code calling the @tauri-apps/plugin-upload plugin:
let receivedLength = 0;

// Download asset
await download(assetUrl, downloadPathTest, ({ progress, total }) => {
  receivedLength += progress;
  console.log(`Downloaded ${receivedLength} of ${total} bytes`);
});

Is there some kind of compression going on during the download? How to report the actual progress?

This will probably get fixed in #1237, we need to update tauri api version to apply the fix made in https://github.com/tauri-apps/tauri/pull/9463

New packages were released, can you make sure to update all tauri related packages (both rust and js) and then try again?

After updating all packages to the latest version, this bug seems to have been fixed, thank you!

After some testing, I noticed that the plugin worked fine at first, even when downloading large files. But now it doesn't seem to be working properly, it seems to choke when sending updates to the channel and only properly updates when the download finishes, especially with large files. After this happens, lots of errors pop up on the console after reloading the page, which can be further detailed in the Network tab:

These errors keep popping up until I restart the program completely, reloading the page isn't enough.

Fairly sure this is not the plugin's fault but an issue with the Channel api. I could swear i talked about this somewhere before but i can't find the issue or discord discussion 🤔

It seems related to this issue on the tauri repository: https://github.com/tauri-apps/tauri/issues/8177
Given that the issue doesn't seem to be related to the plugin, but to the channel API, I'm closing it again.

I'm not sure if it's really 8177. This emit issue makes the whole app crash while we're just talking about lost events. Considering that we're talking about v1 vs v2 it may be the same issue just without the crash due to refactoring, not sure.
As long as we're in beta (hoping that we figure out the issue) i won't add the throttle. Once we're running out of time and don't have a fix, i'll add it though.


fill color lives on as stroke color

Shared mutable state strikes again. The fill color for the wee circle reappears as the stroke color for the large circle. Maria from ScalaBridge just found this.
circle(5).fillColor(Color.red) on circle(10) above circle(20)

I didn't look very closely but deleting this line fixes it.
Not submitting as a PR because I'm not convinced I understand what's going on.

Thanks! I've fixed in latest release (0.7.0). Not sure what's going on either; presumably I don't understand the state within Java2D. It might be a bug in Java2D but either way this is the fix.


Should we change extension to *.yaml of generated files.

This is not a bug, but an observation.  https://en.wikipedia.org/wiki/YAML lists as official file extension *.yaml.
Question: Should we change the extension of the generated files (*.cbuild*.yml) to *.cbuild*.yaml?
This would make it more consistent with VS Code plugins (Keil Studio Pack).

There are many discussions on internet about yaml vs yml including this one on Stackoverflow : https://stackoverflow.com/questions/21059124/is-it-yaml-or-yml#:~:text=yml" is "the file extension,and is much more common.
One can notice that the recommendation from YAML.org you have pointed above is dated 2006 so quite old and so far .yml is still largely use so to my opinion we can continue to use .yml

Comment from:  #1177
https://github.com/Open-CMSIS-Pack/devtools/issues/1186 would have some impact on the tools reading the cbuild files, since it is a breaking change. Tools that need to support every version of Toolbox 2.x would need a small amount of additional logic to fall back to e.g. cbuild-set.yml if cbuild-set.yaml could not be found.

Leaning towards no change, leave the extension *.yml as is today.

Decision: *.yml will be the standard extension used in CMSIS-Toolbox and other Arm products.


[ISSUE #5490] add metrics view & fix unit test

fix #5490

Codecov Report

Merging #5491 (148d71f) into develop (9b2375d) will increase coverage by 0.05%.
The diff coverage is 22.03%.

@@              Coverage Diff              @@
##             develop    #5491      +/-   ##
=============================================
+ Coverage      43.18%   43.24%   +0.05%
- Complexity      8066     8081      +15
=============================================
  Files           1025     1025
  Lines          72195    72232      +37
  Branches        9559     9563       +4
=============================================
+ Hits           31180    31236      +56
+ Misses         37067    37044      -23
- Partials        3948     3952       +4

Impacted Files
Coverage Δ

...cketmq/broker/offset/ConsumerOrderInfoManager.java
76.15% <0.00%> (-1.10%)
:arrow_down:

...va/org/apache/rocketmq/namesrv/NamesrvStartup.java
15.83% <0.00%> (ø)

...he/rocketmq/test/client/rmq/RMQNormalConsumer.java
0.00% <0.00%> (ø)

.../apache/rocketmq/test/client/rmq/RMQPopClient.java
0.00% <0.00%> (ø)

...pache/rocketmq/test/client/rmq/RMQPopConsumer.java
0.00% <0.00%> (ø)

.../apache/rocketmq/test/factory/ConsumerFactory.java
0.00% <0.00%> (ø)

...rg/apache/rocketmq/test/util/MQAdminTestUtils.java
0.00% <ø> (ø)

...org/apache/rocketmq/tools/command/CommandUtil.java
31.16% <0.00%> (-3.12%)
:arrow_down:

...rocketmq/broker/processor/PopMessageProcessor.java
37.39% <52.63%> (+0.08%)
:arrow_up:

...cketmq/broker/schedule/ScheduleMessageService.java
58.04% <100.00%> (ø)

... and 21 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


DoC: update doc to include --http-endpoint

What this PR does / why we need it:
Which issue this PR fixes(if applicable):
fixes #
Special notes for reviewers:

Release note:

NONE

/cherry-pick release-1.28


Test tests/crypto/rand32 hangs on nrf51_pca10028

The test tests/crypto/rand32/ hangs on nrf51_pca10028.
Arch: arm
Board: nrf51_pca10028
Zephyr version:  commit d003d0e.
Error Console Log:
***** delaying boot 1000ms (per build configuration) *****
***** Booting Zephyr OS v1.12.0-1252-gd003d0e (delayed boot 1000ms) *****
Running test suite common_test
===================================================================
starting test - test_rand32

Steps to reproduce:
cd zephyr/tests/crypto/rand32/
rm -rf build && mkdir build && cd build
cmake -D BOARD=nrf51_pca10028 ../
make BOARD=nrf51_pca10028 flash

Check the console log.

@cvinayak can you please take a look? must be the entropy driver


Store all articles in /news

update.py drops an article which has the same links as one saved before.

0ad89e5cf265a230cad0e01d2c1c6235a3a8dac0


Graphics issues when draw area is wider than canvas

the start of the draw area needs to be cut off

i think this is fixed now


The settings route should return the embedder field

Describe the bug
When activating the vectorStore experimental feature and calling the settings route of my index (without having added any ambedders), I don't receive the embedder field.
To Reproduce
Steps to reproduce the behavior:

Activate the vectorStore experimental feature
GET the settings route
See error

Expected behavior
Since:

the settings route returns all available fields, even when they're null or empty
the settings route returns the embedder field when embedders were added

I think we should retrieve the embedders field when it's empty too.
Since its default value is null, I suggest retrieving that. But we could also retrieve an empty object too (I'll leave that decision to you 😄)
Meilisearch version:
v1.8.0-rc.0

Closing since this behaviour is intended.
See the related PR: https://github.com/meilisearch/meilisearch/pull/4318

Hello @mdubus,
It is a voluntary choice from the @meilisearch/engine-team. There is a PR specifically hiding this setting:
https://github.com/meilisearch/meilisearch/pull/4318
However, this may be discussed with @dureuill when he comes back.
Thank you for the report @mdubus!

Hello, thanks @mdubus and @ManyTheFish for the report and discussion,
indeed, the current behavior is suboptimal. It was a tough balancing act between hiding the setting when the feature was never enabled and keeping the implementation simple as this is a detail of an experimental feature.


chore: resolve small todos

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.48%. Comparing base (f293beb) to head (6e8c6cd).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #673   +/-   ##
=======================================
  Coverage   92.48%   92.48%
=======================================
  Files          66       66
  Lines        7507     7507
=======================================
  Hits         6943     6943
  Misses        564      564

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


net/udpbroadcastrelay: Add --msearch option

This adds the OPNSense side of adding the --msearch parameter of udpbroadcastrelay.
However, the current version of the udpbroadcastrelay package that is currently in OPNSense and upstream HardenedBSD ports is too outdated to actually use it. I believe that is maintained by @mimugmail – I would appreciate if you could bump the version of that upstream.
For that reason I'm leaving this as a draft for now.

Hi, seeing as this has been sitting around for a while I was wondering what I could do to move it along. Assuming @mimugmail  isn't currently planning on upgrading the package, would an update directly in opnsense/ports be accepted or should I look into how to contribute it upstream?


Addition should be Additional

Addition articles about blueprints and how to use them:

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

ID: fcfb3f66-844a-0d40-5bbf-9545c4ea9677
Version Independent ID: 05b512ac-5c4d-2f61-954f-69bed6925556
Content: PCI-DSS v3.2.1 blueprint sample - Control mapping - Azure Blueprints
Content Source: articles/governance/blueprints/samples/pci-dss-3.2.1/control-mapping.md
Service: blueprints
GitHub Login: @DCtheGeek
Microsoft Alias: dacoulte

#assign:DCtheGeek

@mattgwic Thanks for pointing this out.  I'll get this fixed right now.  As soon as the PR merges, this issue will automatically close.
@MicrosoftDocs/azure-cxp-triage Please label 'doc-bug' and #in-progress

This got fixed, but didn't autoclose.  Closing now, thanks again for the feedback @mattgwic!
#please-close


Now can directly create Sprite and Camera Entity

Describe the issue (if no issue has been made)
I have to manually select the created entity but now created entity is automatically selected and now directly create sprite and camera component.
PR impact (Make sure to add closing keywords)
List of related issues/PRs this will solve:

Impact
Issue/PR

Issues this solves
None

Other PRs this solves
None

Proposed fix (Make sure you've read on how to contribute to Hazel)
As we created "Empty Entity" just like that we can create sprite and camera entity directly.
Additional context

We'll probably change the UI/UX of this later, but a good addition for now. Please remove imgui.ini from your commit and resolve any merge conflicts, and I'll merge it in. 👍


T-Notes app

Could you make a fork of this which is basically just the exact same thing without adding the dates being compulsory and it being like a Notes app instead of Journals?

I think we can achieve that in a simpler way than adding an option in the app setting to hide the date field fir the journals, which will be disabled by default

yes please that works too!


Feature Request Dark/Light Theme Icon for Taskbar

In linux, it would be great to have a dark and light theme icon option to select, instead of full color icon.
The color version icon stands out in a row of monochromatic icons.
Thanks.

This one sounds great ;)


Is there a need to recreate a new stream by gprc stream client side ?

There is a grpc stream server and client. the client dials to server through gprc bidirectional stream.
I have encountered a problem. The server is running on a kunbeness docker.
After upgrading  kubeness server once, the client always get a EOF error when trying to send a request to stream server. I found that the tcp connection is alive. Why ?
Do I need to recreate a new strean by calling "NewStream" API in go-grpc ?
func (cc *ClientConn) NewStream(ctx context.Context, desc *StreamDesc, method string, opts ...CallOption) (ClientStream, error)
If I set keep-alive parameters when dialing to gprc stream server, does the stream would be reconnected automatically or just the tcp connection ?
Thanks.

Looks like you are using Go. Please re-post in https://github.com/grpc/grpc-go. Thanks!


cert collection: skip secret if it contains bootstrap certs

etcd leaves bootstrap certificates around, which cannot be anonymized in RewriteNodeIPs. This function receives bootstrap IP, fetched from an annotation in etcd-endpoints-* configmap in openshift-etcd namespace.
Tested in https://github.com/openshift/origin/pull/28657

which cannot be anonymized in RewriteNodeIPs
Why can't we write that IP to <bootstrap-host>?

why can't something like https://github.com/openshift/library-go/pull/1723 rewrite the bootstrapIP?


Enable codecov flags and coverage carryover for keras_core and keras_…

Does three things:

Enables codecov flags (keras_core and keras_core.applications) so that those test coverages can be tracked and viewed in the UI separately.
Enables carryover coverage for keras_core.applications since the apps tests are not always run.
Tags each codecov upload with PYTHON and KERAS_BACKEND env vars

Thanks for the PR! Does the PR still need anything in order to graduate from draft status?

Thanks for the PR! Does the PR still need anything in order to graduate from draft status?

Yep, still need to get the carry-forward working for keras_core.applications coverage and make keras_core coverage ignore keras_core.applications.* module.


[TW#27859] esp-idf htu21d i2c timeout

I'm trying to write program on ESP32-PICO-D4 using htu21d, but I got some troubles with code. I'm using esp-idf.

int htu21d_init() {

	esp_err_t ret;

	// setup i2c controller
	i2c_config_t conf;
	conf.mode = I2C_MODE_MASTER;
	conf.sda_io_num = 18;
	conf.scl_io_num = 19;
	conf.sda_pullup_en = GPIO_PULLUP_DISABLE;
	conf.scl_pullup_en = GPIO_PULLUP_DISABLE;
	conf.master.clk_speed = 100000;
	ret = i2c_param_config(I2C_NUM_0, &conf);
	if(ret != ESP_OK) return HTU21D_ERR_CONFIG;

	// install the driver
	ret = i2c_driver_install(I2C_NUM_0, I2C_MODE_MASTER, 0, 0, 0);
	if(ret != ESP_OK) return HTU21D_ERR_INSTALL;

	// verify if a sensor is present
	i2c_cmd_handle_t cmd = i2c_cmd_link_create();
	i2c_master_start(cmd);
	i2c_master_write_byte(cmd, (HTU21D_ADDR << 1) | I2C_MASTER_WRITE, true);
	i2c_master_stop(cmd);
        ret = i2c_master_cmd_begin(I2C_NUM_0, cmd, 1000 / portTICK_RATE_MS);
	if( ret == ESP_OK)
        ESP_LOGI(TAG, "OK");
        else
		ESP_LOGE(TAG, "I2C Timeout");

        cmd = i2c_cmd_link_create();
	i2c_master_start(cmd);
	i2c_master_write_byte(cmd, (HTU21D_ADDR << 1) | I2C_MASTER_WRITE, true);
	i2c_master_write_byte(cmd, 0xF3, true);
	i2c_master_stop(cmd);
	ret = i2c_master_cmd_begin(I2C_NUM_0, cmd, 1000 / portTICK_RATE_MS);
	i2c_cmd_link_delete(cmd);
	if( ret == ESP_OK)
        ESP_LOGI(TAG, "OK");
       else
		ESP_LOGE(TAG, "I2C Timeout");

	// wait for the sensor (50ms)
	vTaskDelay(50 / portTICK_RATE_MS);

	// receive the answer
	uint8_t msb, lsb, crc;
	cmd = i2c_cmd_link_create();
	i2c_master_start(cmd);
	i2c_master_write_byte(cmd, (HTU21D_ADDR << 1) | I2C_MASTER_READ, true);
	i2c_master_read_byte(cmd, &msb, 0x00);
	i2c_master_read_byte(cmd, &lsb, 0x00);
	i2c_master_read_byte(cmd, &crc, 0x01);
	i2c_master_stop(cmd);
	ret = i2c_master_cmd_begin(I2C_NUM_0, cmd, 1000 / portTICK_RATE_MS);
	i2c_cmd_link_delete(cmd);
	if( ret == ESP_OK)
        ESP_LOGI(TAG, "OK");
        else
		ESP_LOGI(TAG, "I2C Timeout");

	return HTU21D_ERR_OK;
}

Everything is okay (ret is ESP_OK), until program goes to "receive the answer" part. The "i2c_master_cmd_begin" returns "I2C Timeout". I tried everything I know and what I found in the Internet, but nothing works... Anyone know, what am I doing wrong?

@PawWaw
Can you please try the  receive the answer part as the follows?
    uint8_t raw[3] = {0};
    cmd = i2c_cmd_link_create();
    i2c_master_start(cmd);
    i2c_master_write_byte(cmd, (HTU21D_ADDR << 1) | I2C_MASTER_READ, true);
    i2c_master_read(cmd, raw, 3, I2C_MASTER_LAST_NACK);
    i2c_master_stop(cmd);
    ret = i2c_master_cmd_begin(I2C_NUM_0, cmd, 1000 / portTICK_RATE_MS);
    i2c_cmd_link_delete(cmd);

Can you provide a waveform of the communication? I think the  I2C bus broken caused the timeout.

I don't know how to check the waveform :/ The problem didn't solve when I pasted your code.

OK, We will buy this sensor for testing.

Thank you very much. Close this thread?

Don't buy this sensor. I'm afraid I'm just making some mistake somewhere in my code and because of that I get this timeout :(

Do you have an oscilloscope that can capture waveforms for communication?

No, I don't have.

May be I can use your code to do a test, but use a sensor I can find now.

Can you try to enable the  GPIO internal pull?
conf.sda_pullup_en = GPIO_PULLUP_ENABLE;
conf.scl_pullup_en = GPIO_PULLUP_ENABLE;

Sure, finally my code looks like that:
int htu21d_init() {

	esp_err_t ret;

	// setup i2c controller
	i2c_config_t conf;
	conf.mode = I2C_MODE_MASTER;
	conf.sda_io_num = 18;
	conf.scl_io_num = 19;
	conf.sda_pullup_en = GPIO_PULLUP_ENABLE;
	conf.scl_pullup_en = GPIO_PULLUP_ENABLE;
	conf.master.clk_speed = 100000;
	ret = i2c_param_config(I2C_NUM_0, &conf);
	if(ret != ESP_OK) return HTU21D_ERR_CONFIG;

	// install the driver
	ret = i2c_driver_install(I2C_NUM_0, I2C_MODE_MASTER, 0, 0, 0);
	if(ret != ESP_OK) return HTU21D_ERR_INSTALL;

	// verify if a sensor is present
	i2c_cmd_handle_t cmd = i2c_cmd_link_create();
	i2c_master_start(cmd);
	i2c_master_write_byte(cmd, (HTU21D_ADDR << 1) | I2C_MASTER_WRITE, true);
	i2c_master_stop(cmd);
    ret = i2c_master_cmd_begin(I2C_NUM_0, cmd, 1000 / portTICK_RATE_MS);
	if( ret == ESP_OK)
        ESP_LOGI(TAG, "OK");
    else
		ESP_LOGE(TAG, "I2C Timeout");

    cmd = i2c_cmd_link_create();
	i2c_master_start(cmd);
	i2c_master_write_byte(cmd, (HTU21D_ADDR << 1) | I2C_MASTER_WRITE, true);
	i2c_master_write_byte(cmd, 0xF3, true);
	i2c_master_stop(cmd);
	ret = i2c_master_cmd_begin(I2C_NUM_0, cmd, 1000 / portTICK_RATE_MS);
	i2c_cmd_link_delete(cmd);
	if( ret == ESP_OK)
        ESP_LOGI(TAG, "OK");
    else
		ESP_LOGE(TAG, "I2C Timeout");

	// wait for the sensor (50ms)
	vTaskDelay(50 / portTICK_RATE_MS);

	// receive the answer
	uint8_t raw[3] = {0};
    cmd = i2c_cmd_link_create();
    i2c_master_start(cmd);
    i2c_master_write_byte(cmd, (HTU21D_ADDR << 1) | I2C_MASTER_READ, true);
    i2c_master_read(cmd, raw, 3, I2C_MASTER_LAST_NACK);
    i2c_master_stop(cmd);
    ret = i2c_master_cmd_begin(I2C_NUM_0, cmd, 1000 / portTICK_RATE_MS);
    i2c_cmd_link_delete(cmd);
	if( ret == ESP_OK)
        ESP_LOGI(TAG, "OK");
    else
		ESP_LOGE(TAG, "I2C Timeout");

	return HTU21D_ERR_OK;
}

`
But it still gives "timeout" at receive the answer.

Just find that  verify if a sensor is present may cause sensor status error, can you remove this part and take a try?

No difference, still in the receiving is timeout.

Ok, maybe this issue is caused by the sensor itself, and its timing is special. I will buy this sensor and try to support it.

Can you try to wait for more time when reading the sensor?
// wait for the sensor (100ms)
vTaskDelay(100 / portTICK_RATE_MS);

That was it... Thank you very much koobest, I would never think about it!


Create KalpanaPathak.md

Add Kalpana Pathak details to the interested technical writers list for the 2024 GSOD

All cells must be a single line (no line breaks). Please update, thank you!

I have removed the line breaks. Please check. Thanks, Kalpana.


Use correct ca for vpn-seed

How to categorize this PR?

/area quality
/kind bug
/kind regression
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #5839
Special notes for your reviewer:
Release note:

NONE

/milestone v1.45
/cc @rfranzke @plkokanov


improve EOS VM OC cache lookup performance via hashed index

Change Description

The OC code cache was using an ordered index for the cache lookup. This results in surprisingly expensive lookups compared to a hashed index which suffices for this use case. Switch over to a hashed index.
Frees over 1% of main thread time on a busy chain in my tests. Actual results will vary depending on chain activity, hardware, etc
Change Type
Select ONE

[ ] Documentation

[ ] Stability bug fix

[x] Other

[ ] Other - special case

Consensus Changes

[ ] Consensus Changes

API Changes

[ ] API Changes

Documentation Additions

[ ] Documentation Additions

LGTM


Use Butterknife library for View Binding

Use Butterknife library for View Binding
Steps to reproduce
Add the dependencies and replace all findViewById() methods with Butterknife
Expected behaviour
A lot of boilerplate code will be reduced
Actual behaviour
Many lines of code are used in View Binding which can be reduced easily using this library
Would you like to work on the issue?
Yes

Agreed. Butterknife would reduce a lot of boilerplate code. :smiley:
Please proceed with this and push changes so that your PR solve #10 and #13 at the same time.
Since I don't have access to PC now, I'll merge the changes in the morning.


Limit size of xml file(s)

Sitemaps files shouldn't exceed 10MB or 50,000 URLs per file. This means you need a sitemap index file. Not sure if this should go into metalsmith-sitemap or in sitemap.js.
For more infomation, see: http://www.sitemaps.org/faq.html#faq_sitemap_size

sitemap.js handles all creation of actual sitemap.xml file.  In order for us to support that we'd end re- implementing sitemap creation.  I recommend opening this issue with sitemap.  I'll gladly integrate the functionality if they provide a way.

I believe sitemap.js handles this. https://github.com/ekalinin/sitemap.js#example-of-sitemap-index although I think metalsmith-sitemap will need to work in a slightly different way maybe?


1.19 update please:)

Hello, I was thinking it doesn't work on 1.19, because there is no 1.19.x file on Modrinth.
Thank you for confirming that it works on 1.19.x aswell:)
I have one question before this can get closed - if a player doesn't have this mod installed it is fine? Using GeyserMC.

Welp 🙃


[ci] This mechanic should be documented, i already see myself getting confused over how the comments are used for this :D

          This mechanic should be documented, i already see myself getting confused over how the comments are used for this :D

Originally posted by @marvinWolff in https://github.com/teutonet/teutonet-helm-charts/issues/281#issuecomment-1466062708

@marvinWolff do you have an idea where we could document this? 🤔

@marvinWolff do you have an idea where we could document this? thinking

Already thought about this. Not sure atm


nscala-time should depend on joda time, not nscala

nscala-time should depend on joda time instead of nscala because

nscala is a wrapper around joda time
there is only one code statement in nscala-time that relies on nscala which can be replaced with a joda level library statement
some people use joda in scala who do not use nscala

I added a pull request instead.


XP Tracker not displaying kills to level for Sourhogs

Type
Incorrect behavior
Operating System
Windows
OS Version
Windows 10
Bug description
The XP Tracker plugin is not displaying the number of kills to the next combat skill level when killing Sourhogs. It appears that the entry for Sourhogs in npcs.json references the ID of the quest variant of the monster rather than the ID of the standard Sourhog encountered in the cave once Porcine of Interest is completed.
The file has the monster ID 10436 which the OSRS Wiki shows belonging to the quest variant. The correct ID should be 10435 which belongs to the standard Sourhog.
Screenshots or videos
Here is a screenshot of the XP Tracker plugin behavior while fighting Sourhogs after killing a few. Note that it says "Actions:" and has a very high number seemingly based on XP drops. It should show "Kills:" and then a fairly accurate estimate of how many left to level that skill (~1,711 in my case for Strength).

Additionally, here is a standard Sourhog in-game identified with the Identificator plugin to confirm that it is ID 10435.

RuneLite version
RuneLite version: <IP_ADDRESS>
Launcher version: 2.6.10
Logs
No response

Fixed in https://github.com/runelite/runelite-wiki-scraper/commit/cf4b6238a3e5f9a69ee1bddb5c3440faa3851355


fix(FileUploader): icon's prop should be description, not iconDescription

👍 will merge once tests pass, thanks!

Bluemix toolchain: Delivery Pipeline deployed carbon-components-react to Bluemix Design System, including commit 1c8068859b646f038e2e9b93c43a92bb398f7c8d


Rename Literals

This should be the last PR renaming frees literals and terms, by mu.

LGTM, just one question: Is the project going to be called mu or mu-rpc?

mu, in the next PR, I'll fix that part regarding the sbt settings. Modules will remain as mu-rpc though, the new ones, related to HTTP will be mu-http.

:+1:


Extended Datetime Cfgu Types

Closes #373

Duration:

Added a regex pattern: ^\d+[smhdwMy]$

Description: Validates durations like 1h, 2d, 3w.

DateFormat:

Added a regex pattern: ^(yyyy|yy|MM|M|dd|d|HH|H|mm|m|ss|s)([.-/\s]?(yyyy|yy|MM|M|dd|d|HH|H|mm|m|ss|s))*$

Description: Ensures date formats like yyyy-MM-dd or dd/MM/yyyy HH:mm:ss are valid

Hi @JayGaba ,
Here are the details for claiming your Hacktoberfest prizes! 🎉 Check out #465  (comment) for more information or simply fill out the form here: Claim Your Swag.
Remember, you only need to fill out the form once for all your PRs. 😊


[batch] Update ContainerProperties properties

A property is necessary (but not required) when using Batch on Fargate:
ContainerProperties.NetworkConfiguration:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html#cfn-batch-jobdefinition-containerproperties-networkconfiguration

Thanks @kumapo. Can you remove the p3s/gen.py change from this PR? That directory got committed by mistake and will be removed. The correct version is in scripts/gen.py.

@markpeek Thank you, I didn't notice about that. I've update the PR.
If you find something not so good in it, please let me know.

Thanks!


Desktop - missing translation or 500 error in the console

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number:
Reproducible in staging?: needs reproduction
Reproducible in production?: needs reproduction
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @rafecolton
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1706136964852409
Action Performed:

Send a message (I tested this in a channel, not sure if it's the same in a DM)
Click reply in thread to view that message in thread view
Have somebody else reply in thread while you're viewing it

Expected Result:
No error should display and should be able to see the thread message
Actual Result:
One of three things happens:

No message appears and there's a 500 error in the console for AddComment
A MISSING TRANSLATION error appears (see first screenshot) and there's a 500 error in the console
The thread shows as having one reply (second screenshot). If you try to click into it, you a full-page error.

Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

View all open jobs on GitHub

Hmm, I'm not able to reproduce this. Taking to slack.

Doesn't seem to be occurring anymore. Reopen if it happens again please!


Please, edit the config file and provide your repositories directory

As the title says, I'm getting a 'Please, edit the config file and provide your repositories directory' error. The solutions I found were always about the permissions of the folder. My folder already has the permissions 775 (even tried 777).
My config file:
[git]
client = '/volume1/@optware/bin/git' ; Your git executable path
repositories[] = '/volume1/git/' ; Path to your repositories
; You can hide repositories from GitList, just copy this for each repository you want to hide
; hidden[] = '/home/bob/code/SecretProject'
[app]
baseurl = 'http://localhost/gitlist' ; Base URL of the application
My system is a Synology NAS using DSM 5.2.

Same issue with Fedora 22

same issue with Ubuntu 14.04 and gitlist 0.5

Under Synology, I found that Vi adds a caracter at the beginning of the file so it removes the git section.
(adding some trace into src/GitList/Config.php)

Same issue on Synology 6.0.1-7393 Update 1.

@Krozark Were you able to solve this? I am running into the same problem on Ubuntu. Obviously, the Apache user does not have the permission to read the repositories directory, but  I do not know what to do. See here for a detailed description.

I'm having the same issue on my OpenBSD 6.5 server with OpenBSD's own httpd server and PHP 7.1 - The git user has its home folder located under /var/www/htdocs/git, which is what I've pointed config.ini to. Permissions are set to 755 and shouldn't be an issue.  What could be the problem?


Support for nx 16

EDIT: I just saw that you made some commits for NX16. Can that please be published to npm?
I am using nx 16 and was able to make some progress with v0.15.0, with one change:
Changed the requires in index.js from @nrwl to @nx
However, I receive the error Cannot read properties of undefined (reading 'options')
Can you add support for nx 16 or provide a workaround for this missing property?

Hi @andyg3, just use the v16 npm i<EMAIL_ADDRESS>

Oh, duh. I was too lazy to notice it was already released. Thanks!


Compatibility with Arduino 1.6.6?

After installing Arduino 1.6.6, ino build fails with the error:
Traceback (most recent call last):
  File "/usr/local/bin/ino", line 6, in <module>
    main()
  File "/usr/local/lib/python2.7/dist-packages/ino/runner.py", line 76, in main
    args.func(args)
  File "/usr/local/lib/python2.7/dist-packages/ino/commands/build.py", line 285, in run
    self.make('Makefile.sketch')
  File "/usr/local/lib/python2.7/dist-packages/ino/commands/build.py", line 215, in make
    ret = subprocess.call([self.e.make, '-f', makefile, 'all'])
  File "/usr/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Inspecting the code, it's trying to call the binary /usr/share/arduino/hardware/tools/avr/bin/make which no longer seems to exist in 1.6.6.

I worked around this error by symlinking the standard /usr/bin/make into that hard-coded location. However, then I received the error:
No such file or directory: /usr/share/arduino/hardware/arduino/cores/arduino

This error is reported in other issues, and the fix is to symlink:
sudo ln -s /usr/share/arduino/hardware/arduino/avr/cores /usr/share/arduino/hardware/arduino/
sudo ln -s /usr/share/arduino/hardware/arduino/avr/boards.txt /usr/share/arduino/hardware/arduino

But now I get the error:
Traceback (most recent call last):
  File "/usr/local/bin/ino", line 6, in <module>
    main()
  File "/usr/local/lib/python2.7/dist-packages/ino/runner.py", line 64, in main
    e.process_args(args)
  File "/usr/local/lib/python2.7/dist-packages/ino/environment.py", line 263, in process_args
    all_models = self.board_models()
  File "/usr/local/lib/python2.7/dist-packages/ino/environment.py", line 204, in board_models
    subdict[key] = {}
TypeError: 'str' object does not support item assignment

It seems the format of boards.txt has changed slightly, causing ino's parsing of the file to fail. I fixed this error by patching line 204 in environment.py with:
for key in multikey[:-1]:
    if key not in subdict:
        subdict[key] = {}
    if not isinstance(subdict[key], dict):
        subdict[key] = {}
    subdict = subdict[key]

I also had to add a symlink for the variants folder:
sudo ln -s /usr/share/arduino/hardware/arduino/avr/variants /usr/share/arduino/hardware/arduino/variants

However, now I'm stuck on the error:
avr-gcc: error trying to exec '/usr/share/arduino/hardware/tools/avr/bin/../libexec/gcc/avr/4.8.1/cc1plus': execv: Argument list too long

The fix for this last error is mentioned in https://github.com/amperka/ino/issues/251. Setting recursive=False in recursive_inc_lib_flags of build.py is the problem, as it generates a list of include paths too long for avr-gcc.
Please let me know if I should submit a patch. I still have an outstanding pull request, so if this package is no longer being maintained, I won't waste my time.

Did all your amendments result in a functional copy of ino? I am asking to see if it is worth doing?

I've given up on ino. I recommend using ano instead, which is a more recently maintained fork.

Shame but thanks - some config problems with ano too ;(
John

On 6 May 2016, at 15:52, Chris Spencer<EMAIL_ADDRESS>wrote:
Closed #260 https://github.com/amperka/ino/issues/260.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub https://github.com/amperka/ino/issues/260#event-652743849


Add ISSUE_TEMPLATE

See details in the parent issue napalm-automation/napalm-base#71

Closing via https://github.com/napalm-automation/napalm-pluribus/pull/20


⚠ Bofrost.de has degraded performance

In ac58ebb, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1272 ms

Resolved: Bofrost.de performance has improved in 047054e after 10 minutes.


Handling case in recovery where PUT entry for a DELETE may not exist

Formatted and built
All new lines are covered

@vgkholla Quick question: Does the newly added test(s) fail in the absence of the fix?

@pnarayanan Yup - tested that out.

@pnarayanan thanks for the quick reviews. Comments addressed.


Create repository returns PermissionDenied

What happened?
After upgrading ArgoCD from to 2.12.3 version we get permission denied error when trying to create a new Repository.
After verifying against ArgoCD with the ArgoCD CLI we made it to reproduce the same behaviour.
When the repository does not exist, now ArgoCD is returning a permission denied error when trying to get the repository and that error is not controlled in the provider Observe function.
How can we reproduce it?
Try to create a new Repository with the local environment described in the README file and the example in the Marketplace:
apiVersion: repositories.argocd.crossplane.io/v1alpha1
kind: Repository
metadata:
  name: example-project.git
spec:
  forProvider:
    passwordRef:
      key: token
      name: example-project.git
      namespace: crossplane-system
    repo: https://gitlab.com/example-group/example-project.git
    type: git
    username: example-user
  providerConfigRef:
    name: argocd-provider

Result:
Name:         example-scoped-project.git
Namespace:
Labels:       <none>
Annotations:  crossplane.io/external-name: example-scoped-project.git
API Version:  repositories.argocd.crossplane.io/v1alpha1
Kind:         Repository
Metadata:
  Creation Timestamp:  2024-09-18T13:45:36Z
  Generation:          1
  Resource Version:    4509
  UID:                 06021f56-b2d2-4a9a-9cfa-dc0460108515
Spec:
  Deletion Policy:  Delete
  For Provider:
    Password Ref:
      Key:        token
      Name:       example-project.git
      Namespace:  crossplane-system
    Project:      example-project
    Repo:         https://gitlab.com/example-group/example-project-scoped.git
    Type:         git
    Username:     example-user
  Management Policies:
    *
  Provider Config Ref:
    Name:  argocd-provider
Status:
  At Provider:
    Connection State:
  Conditions:
    Last Transition Time:  2024-09-18T13:45:36Z
    Message:               observe failed: rpc error: code = PermissionDenied desc = permission denied
    Reason:                ReconcileError
    Status:                False
    Type:                  Synced
Events:
  Type     Reason                         Age                    From                Message
  ----     ------                         ----                   ----                -------
  Warning  CannotObserveExternalResource  2m5s (x12 over 2m16s)  managed/repository  rpc error: code = PermissionDenied desc = permission denied

What environment did it happen in?
Crossplane Provider argocd version: v0.9.0
ArgoCD version running: v2.12.3

I have forked the project and am currently working on a fix. I will link the open PR.


Matching file selector results should be in their own row

In the snippet below:

".." should still start in the next row. Some questions are:

Should we use a thin line to separate them? Or maybe a light background on the results that are temporarily filtered?

Should we continue showing the matching results on the entries below?

Current version:


trouble generating dynamic routes while using nuxt content module

Versions
Nuxt.js @ v2.14.7
I started using nuxt content on aws and routing to blog pages is not working. I assume nuxt is not correctly creating routes for content pages using static generation.
If I go in local to localhost:3000/blog/my-first-blog-post works as expected on prod not. below.

In static setup the index.html for route is generated only using generate property in nuxt config.

generated structure in dist folder using "nuxt generate":

artifacts in aws are exactly the same.
There are no routes generated in any of the js files in dist.
Steps to reproduce
go to -> https://www.lovecaymanislands.com/blog/my-first-blog-post.   and the main index.html is being served.

thx I created this: https://codesandbox.io/s/wonderful-bouman-omul6?file=/pages/index.vue


edge-case with data = nil causes error to be superseded

When data is nil and the callback errors out for any reason, then the error is superseded by an error coming from:
https://github.com/Kong/lua-resty-worker-events/blob/7c2ebcf4dabb05ca03d4ba833e552737315887ec/lib/resty/worker/events.lua#L173
data="..cjson.encode(data)

Should be something like:
data=".. data and cjson.encode(data) or "nil"

Also: what about cases when the event data is a number? Or a boolean? cjson.encode() would fail as well on those. Not sure if data can be a scalar in this code path but just raising the issue in case.

Apparently this was caused by data containing a function (?)
Here is an example stacktrace:
lua coroutine: runtime error: ...che/luarocks-2.4.3/share/lua/5.1/resty/worker/events.lua:173: attempt to concatenate a nil value
stack traceback:
coroutine 0:
	...che/luarocks-2.4.3/share/lua/5.1/resty/worker/events.lua: in function 'do_handlerlist'
	...che/luarocks-2.4.3/share/lua/5.1/resty/worker/events.lua:194: in function 'do_event'
	...che/luarocks-2.4.3/share/lua/5.1/resty/worker/events.lua:267: in function 'post_local'

I must admit that I did not look into the issue or tried to replicate it in any way - it seems like you would know what to do to better handle special cases to log data here.


Feedback on "Jump to Cursor" feature

This issue is meant for gathering feedback around the "Jump to Cursor" feature.

Can its name be more descriptive?
Is there a way we can make it more discoverable?

Its head line worthy feature, but yet it was released unannounced. I would like to know how does it go back in time to already executed expressions?

Hi @jahan01! It doesn't actually go back in time in the sense that it doesn't restore previous states. It really just defines the next point that the debugger will execute. If you set it to execute a piece of code that the debugger had already past (by right clicking the editor on the line you wish to execute and selecting "Jump to Cursor"), all it will do is execute the code starting from that line, without changing its current state.

Since you ask:

Did you know about this feature before this blog post?

I have been asking for this more than two years ago, and stopped hoping it would ever arrive. I had no idea it's implemented. I love it.

Do you think its name can be improved to better indicate its behaviour?

I like "Set Next Statement", which I believe I have been knowing under this name since 2009 in Visual Studio doing C# development:
https://docs.microsoft.com/en-us/visualstudio/debugger/navigating-through-code-with-the-debugger?view=vs-2019#BKMK_Set_the_next_statement_to_execute
It's also under this name that this feature is requested heavily (and/or provided) for various languages:
VS Code: https://github.com/Microsoft/vscode/issues/12514
VS Code: https://stackoverflow.com/questions/51552833/is-there-something-similar-to-set-next-statement-available-in-visual-studio-co
C#: https://github.com/OmniSharp/omnisharp-vscode/issues/2785
C++: https://github.com/Microsoft/vscode-cpptools/issues/1025
C++: https://marketplace.visualstudio.com/items?itemName=ntoskrnl7.cxx-set-next-statement-extension
PTVSD: https://github.com/microsoft/ptvsd/issues/18

Thank you for the feedback, @bersbersbers! That's a very good point, renaming it to "Set Next Statement" would be more consistent. I added this suggestion to issue #9875 and will talk to the team about it. 😊

+1 for Set Next Statement. Jump to Cursor sounds like an editor thing. I was just searching around to figure out what Set Next Statement was called and stumbled on this ticket :-)

Also I notice Alt-V isn't used at the moment as a key binding. If you think of 'pasting' the instruction pointer as setting it... felt nice to me anyway.

That's great feedback @gilescope, and a very good point as to why we should really rename it. Thank you 😊
Interesting that you mention Alt+V. When I use it in VS Code, it opens the "View" menu. This is nice in terms of accessibility, so I'd be a bit concerned of overriding it for set next statement command. But these are all great things for me to bring up to the team.

Just to give an update, the VS Code team is looking into adding "set next statement" as an alias to the "Jump to Cursor" command, so that it will show in the command palette when searching for "set next statement" 😊

The alias was added in the June 2020  version of VS Code 🥳


[1.16] Pressing enter with a selection no longer sends Enter

Possibly worth calling out in a relnote. I just stumbled over this because our default key binding for Enter is now Copy, and I didn't realize I had relied on Enter to send Enter even with a selection active.

copyOnSelect should make Enter be ignored? Unbind it?

if copyOnSelect, copy keybindings should be passed through?

ctrl+c and Enter behave differently

see how we handle ctrl+c (used to be in TermControl, probably Interactivity now?), and make sure Enter (or really all kbds) are handled similarly (see _selectionNeedsToBeCopied)

compare Mark Mode to mouse selection with copyOnSelect

We cool just moving this one to a docs bug/? Haven't had complaints about this in the 1.16 preview timeframe yet.
See https://github.com/MicrosoftDocs/terminal/issues/618

Preview is pretty small, so we should be careful about drawing non-crash conclusions. But, yes.


Prepare next Dev Cycle v1.103.0-dev

How to categorize this PR?

/kind enhancement
What this PR does / why we need it:
Prepare next Dev Cycle v1.103.0-dev
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

NONE

/unhold

/hold
As it turned out that https://github.com/gardener/gardener/pull/10244 introduced a new field inv1beta1.Shoot which is also present with a different type  in v1alpha1.Shoot:
https://github.com/gardener/gardener/blob/a9d81c0dc2c2ae5c9ca3e3919b5af8f1c218106f/pkg/apis/core/v1beta1/types_shoot.go#L826-L829
https://github.com/gardener/gardener/blob/a9d81c0dc2c2ae5c9ca3e3919b5af8f1c218106f/pkg/apis/operator/v1alpha1/types_garden.go#L344-L346

/unhold
(again) so that we don't get any extra PRs in the new release. Once the fix around https://github.com/gardener/gardener/pull/10244 is done, I will merge it in the release branch.

/test pull-gardener-e2e-kind-upgrade


Unable to publish detected HOOK to a rabbitmq queue with a priority parameter

Describe the bug
I'm trying to detect and whenever a hook is triggered, tile38 should publish the message to a rabbitmq queue.
NOTE: the queue is created with x-max-priority: 2 args.
I've spent time to search trough tile38 amqp endpoint and from what I can see there is not way to specify the priority since it's not parameterized. source here
To Reproduce
Steps to reproduce the behavior:

Create an object (SET command)
SETHOOK with AMPQ endpoint (detect inside,outside,exit,enter)
When a detect is triggered tile38 send the message to the given endpoint

Expected behavior
Expecting to have the detected message published to the rabbitmq queue.
Logs
Endpoint connect/send error: 485933: amqp://admin:admin@localhost:5672/myQueue: Exception (406) Reason: "PRECONDITION_FAILED - inequivalent arg 'x-max-priority' for queue 'myQueue' in vhost '/': received none but current is the value '2' of type 'long'"
Operating System (please complete the following information):

OS: Linux, Ubuntu 18
Version 1.19.5

I added a priority option to AMQP. You can include it through the endpoint querystring like.
SETHOOK warehouse amqp://guest:guest@<IP_ADDRESS>:5672/warehouse?route=myroute&priority=1 ...

tested today, tile38 version 1.21.1 and seems the bug persist.
Jun  9 10:05:00 tile38-server[76490]: 2020/06/09 10:05:00 [DEBU] Endpoint connect/send error: 190: amqp://admin:admin@<IP_ADDRESS>:5672/queue?priority=2: Exception (406) Reason: "PRECONDITION_FAILED - inequivalent arg 'x-max-priority' for queue 'queue' in vhost '/': received none but current is the value '2' of type 'long'"

I added a "priority" option to webhook request, which in turn sets the Priority of the amqp client. I'll need to dive a little deeper as to why that's not being broadcast to server.


Hide tool from unprivileged user

The unprivileged users cannot call this tool directly.
This commit moves it to the /usr/sbin directory.
Signed-off-by: Alexander Filippov<EMAIL_ADDRESS>

Is it enough? Don't you need to set permission to 0744 somewhere?

Is it enough? Don't you need to set permission to 0744 somewhere?

I would think so as well, but the interesting fact is that both the /usr/sbin directory and all the files in it on usual Linux are actually readable and executable by other.

I don't see the benefit of this way.
The tools in any case cannot execute anything evil and will show errors about denying access.
This commit moves the binaries from the user's PATH and makes it hidden.

What for we need to increase our paranoia?


When --single|-s flag is present, do not traverse upward for package.json. Fixes gh-442

cc @johnnyman727

Deploy from local:
rwaldron at nova in ~/clonez/t2-cli on 442
$ t2 run test/unit/fixtures/project-no-package.json/index.js -s
INFO Looking for your Tessel...
INFO Connected to bishop over LAN
INFO Generating slim build.
INFO Writing project to RAM on bishop (2.048 kB)...
INFO Deployed.
INFO Running bundled project...

On Tessel:
root@bishop:/tmp/remote-script# cd /tmp/remote-script/ && ls -la
drwxr-xr-x    2 root     root            40 Nov 15 04:39 .
drwxrwxrwt   15 root     root           400 Oct 30 20:34 ..
root@bishop:/tmp/remote-script# cd /tmp/remote-script/ && ls -la
drwxr-xr-x    2 root     root            60 Nov 15 04:40 .
drwxrwxrwt   15 root     root           400 Oct 30 20:34 ..
-rw-r--r--    1 501      20             123 Nov 15 04:40 __tessel_program__.js
root@bishop:/tmp/remote-script# cat __tessel_program__.js
var tessel=require("tessel");tessel.led[2].on(),setInterval(function(){tessel.led[2].toggle(),tessel.led[3].toggle()},100);root@bishop:/tmp/remote-script#

Another great improvement! :+1:

@HipsterBrown thanks for the review!


new release with metadata?

Hi @tlambert03 any chance of a small version bump here to pick up the new metadata change?

done!


Better error message for storage/container config

The information for the storage account and container is connected
to a region section in the configuration file. This means if azurectl
needs to read for example the name of the default storage container
name configured for the default- or commandline provided region,
it has to first read the region section. If the region section
does not exist azurectl provides an error message to the user about
the missing region, however the user requested information about the
storage container and that could confuse users who do not know how
the configuration file is structured. This patch puts together the
complete set of information and forms a more clear error message
for all data read from a region section in the configuration file

Related to #158


Fails to find the battery for Linux at HP 15-da0xxx laptop

Linux implementation fails to parse the battery info for HP 15-da0xxx laptops, see this comment thread: https://www.reddit.com/r/archlinux/comments/bud2t7/announce_batteries_console_viewer/epav9gi/

Seems to be the duplicate of #28, which have more details about the bug.

Closing in favor of #28


How install PocketSVG version 2?

Hello.
pod PocketSVG - install version 0.7
pod 'PocketSVG', '~>2.0' - not work
how install version 2.0 in my project?
Thanks!

Hi, Cocoapods v2 will be released this week.

it's here!


SwiftyJSON 4.0 compatibility

With the release of SwiftyJSON 4.0, the init method throws an exception if the data couldn't be parsed into a valid JSON.  try can be banged since cache is valid or an empty Dataobject is passed as argument.

I went with this:
    private lazy var cachedJSON: JSON = {
        do {
            return try JSON(data: self.data ?? Data())
        }
        catch { return JSON(Data()) }
    }()


rmt stepper motor is not a real s-curve (IDFGH-9739)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
the example of stepper motor(using rmt to fultill it) is not a s-curve.
static float convert_to_smooth_freq(uint32_t freq1, uint32_t freq2, uint32_t freqx) {     float normalize_x = ((float)(freqx - freq1)) / (freq2 - freq1);     // third-order "smoothstep" function: https://en.wikipedia.org/wiki/Smoothstep     float smooth_x = normalize_x * normalize_x * (3 - 2 * normalize_x);     return smooth_x * (freq2 - freq1) + freq1; }
It looks like you are try to use "3X^2 - 2X^3".  This fomula is right just when x and time axis is linear. because duration is changed. Every time the new square wave have a different duration.
In acceleration phase, the duration become short and the acceleration will become faster.
If  there is a way to change duration for every spicific time it will be right.

If you want to use another formula or "change duration for every specific time", I'm afraid you may need to customize the RMT encoder. Refer to https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/api-reference/peripherals/rmt.html#rmt-encoder for how to.

If you want to use another formula or "change duration for every specific time", I'm afraid you may need to customize the RMT encoder. Refer to https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/api-reference/peripherals/rmt.html#rmt-encoder for how to.

Thanks for your information. My meaning is when you use this fomula, you need to care about time-linear. When you get a new period, you need to care about when it is the time. It is not so simple to use y = 3x^2 - 2x^3  (x and time are not linear)
But anyway, lit's close it.


Late subscribtions to topics using a dynamic 'topic_name' (blackboardpointer) output 'nullptr' until next message is published.

When using the RosTopicSubNode object and providing the topic_name port using a blackboard pointer, the subscriber is created on the first tick. When using topics with a transient local setting I would expect the last message on the topic to be provided as the last_msg argument on that same first tick. Instead we keep getting nullptr's.
I've been playing around with multiple settings on either subscription as publisher side, but haven't been able to resolve my problem.
The problem only occurs on the very first tick or ticks until the next message is published on the topics.
Is there a way to fix this?
I heard from my colleagues this behavior also occurs for action/service nodes using blackboard pointers. for action_name and service_name. We haven't been testing publisher nodes, but perhaps the issue is present there as well.
Reproducability
I can reproduce my issue as follows:

Start publishing (transient local) messages
ros2 topic  pub --qos-durability=transient_local --qos-history=keep_last --qos-depth=1 test_topic std_msgs/msg/Bool "{data: False}"
Start behaviortree

Used behaviorTree
<root BTCPP_format="4" main_tree_to_execute="MainTree">
    <BehaviorTree ID="test_tree">
        <GetDigitalSignal topic_name="{test_topic_name}" value="{output}"/>
    </BehaviorTree>

    <BehaviorTree ID="MainTree">
        <Sequence>
	    <Script code="my_topic:='test_topic'"/>
            <Delay delay_msec="10000"> <!-- Added Delay to allow some time connecting to Groot-->
                <KeepRunningUntilFailure>
                    <ForceSuccess>
                        <Delay delay_msec="3000"> <!-- Delay added to see in Groot what happens easier-->
                            <ParallelAll>
                                <GetDigitalSignal topic_name="test_topic" value="{my_output_static}"/>
                                <GetDigitalSignal topic_name="{my_topic}" value="{my_output_scripted}"/>
                                <SubTree ID="test_tree" test_topic_name="{my_topic}" output="{my_ouput_subtree}"/>
                            </ParallelAll>
                        </Delay>
                    </ForceSuccess>
                </KeepRunningUntilFailure>
            </Delay>
        </Sequence>
    </BehaviorTree>
</root>

GetDigitalSignal Implementation
static BT::PortsList providedPorts()
{
    return providedBasicPorts({
        BT::OutputPort<std_msgs::msg::Bool::_data_type>("value", "Current value of the digital signal"),
    });
}

BT::NodeStatus onTick(const std_msgs::msg::Bool::SharedPtr &msg)
{
    if (msg != nullptr)
    {
        setOutput("value", msg->data);
        return BT::NodeStatus::SUCCESS;
    }

    return BT::NodeStatus::FAILURE;
}

Groot Outcome

I think this is due to the subscriber itself being implemented as a singleton, and then when the connection is made with the bt action, the already received message is not pushed onto the queue of the new action

Hi @facontidavide,
Did you by any chance found some time already to look into / reproduce this issue?
Thanks in advance!

a PR was merged to fix this. closing


Automated Package Upgrade

:tada: This PR is included in version 5.0.70 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Log-uniform scale sampling

The paper states that group scales are sampled uniformly when creating training samples.

However, the implementation subtracts 0.999 from n_group before exponentiating. This means that the scale can explode 1000x. Is this intentional?

Hi, thanks for pointing this out and sorry for the slow response.
I have double-checked and the code used in our experiments is the same as in the implementation we link to. It seems that this is a mistake in the algorithm in the paper, and is not intentional.
It looks like the difference is the upper bound on the log-uniform distribution is $\frac{N}{n_\text{group} - 0.999}$ in the code and $\frac{N-1}{n_\text{group}}$ in the algorithm. These will be quite different when:

$n_\text{group} = 1$ - but the sampled $s_\text{group}$ is actually irrelevant in that case anyway - as the code will just multiply $s_\text{group}$ by zero when sampling $x_\text{group}$ and then construct $\mathcal{G} := \{ x_\text{group} \}$ no matter what $s_\text{group}$ is.
$n_\text{group} = 2$ - in this case $s_\text{group}$ will be upper-bounded by roughly $N$ in the code or roughly $\frac{N}{2}$ in the algorithm.
$n_\text{group} = 3$ - in this case $s_\text{group}$ will be upper-bounded by roughly $\frac{N}{2}$ in the code or roughly $\frac{N}{3}$ in the algorithm.

I would say that the versions in the code make more sense as they allow for the broader distribution - e.g. when we want to space three points across a distance $N$ then it is possible to space them up to $\frac{N}{2}$ apart, not just $\frac{N}{3}$. Arguably an ideal expression for the upper bound would be $\frac{N}{n_\text{group} - 1}$, but I think we edited this to $\frac{N}{n_\text{group} - 0.999}$ as a simple way to avoid nans when $n_\text{group} = 1$.
We will do an update of the paper on arxiv in the next few weeks and fix the algorithm there.
Thanks again for pointing this out!


Does not recognize livewire component methods

I have component Seach according to documentation
This is the component view:
<button wire:click="update()" type="button"> Update </button>
This is a component code:
<?php

namespace App\Http\Livewire;

use Illuminate\Support\Str;
use LivewireUI\Modal\ModalComponent;
use Livewire\WithPagination;
use App\Models\Persona;

class Search extends ModalComponent
{
    use WithPagination;
    public $searchTerm;

    public function render()
    {
        $searchTerm = '%' . Str::upper($this->searchTerm) .'%';
        return view('livewire.search', [
            'personas' => Persona::where('nombre','like', $searchTerm)->paginate(15)
        ]);
    }

    public function update()
    {
        // Todo
        $this->closeModal();
    }
}

This is a error:
Unable to call component method. Public method [update] not found on component: [livewire-u-i.modal.modal]

@nucarlos hmm, that should work. It seems like it's trying to call the update method on the modal component instead of the Search component. Could you post the entire livewire.search file?
Also, did you make any custom changes to the modal component itself?

Thank you for your support
The livewire.search file is complete
I just wanted to test that it works when I invoke the update method, and then add my code

do not make any changes to the modal component

Sorry, I don't follow. Is the issue resolved? If it isn't could you please post the code of your entire component (the class and the blade file). Thanks!

Closing this issue, let me know if this is still a problem.

Still not working, two issues were created and you closed both without giving any informations.

@vincentkosciuszko that's because I don't have enough information as I mentioned earlier. If you create a repository with a fresh installation of Laravel, Livewire, Livewire UI Modal, replicate the issue, and share this repository with me, I can take a look.

Well you said it yourself, it try to call the function on the modal instead of the search component in this case. That's exactly the same issue I have.

Today I met the same error when trying to use 'wire-elements/modal'. But in my case the problem was solved. I'm not sure if this issue is the same as my case, but I'll write it for reference.
I did as the documentation [https://philo.dev/laravel-modals-with-livewire/], but I got an error in the $ formAction part.
When I press the Start Counting button, I get the error Unable to call component method. Public method [update] not found on component: [livewire-u-i.modal.modal].
The cause was that I had a comment at the beginning of hello-world.blade.php, like this.

<x-modal formAction="update">
;
Thank you for the wonderful library.

Today I met the same error when trying to use 'wire-elements/modal'. But in my case the problem was solved. I'm not sure if this issue is the same as my case, but I'll write it for reference.
I did as the documentation [https://philo.dev/laravel-modals-with-livewire/], but I got an error in the $ formAction part. When I press the Start Counting button, I get the error Unable to call component method. Public method [update] not found on component: [livewire-u-i.modal.modal].
The cause was that I had a comment at the beginning of hello-world.blade.php, like this.
  ;
Thank you for the wonderful library.

same issue here..

Today I met the same error when trying to use 'wire-elements/modal'. But in my case the problem was solved. I'm not sure if this issue is the same as my case, but I'll write it for reference.
I did as the documentation [https://philo.dev/laravel-modals-with-livewire/], but I got an error in the $ formAction part. When I press the Start Counting button, I get the error Unable to call component method. Public method [update] not found on component: [livewire-u-i.modal.modal].
The cause was that I had a comment at the beginning of hello-world.blade.php, like this.
  ;
Thank you for the wonderful library.

Same issue I met.
Solve by wrapping template file with div or othe html tag.
Not Working

This is modal title

This is modal body message

    <button type="button" wire:click="method">Execute It</button>

It working now for me

This is modal title

This is modal body message

        <button type="button" wire:click="method">Execute It</button>

Thanks for this awesome library.

For people still experiencing (it may save you hours);
Public method [{{yourMethod}}] not found on component: [livewire-u-i.modal.modal]

in you modal blade make sure it has no comment above, remove it. (i believe it has something to do with their parser).

Just got this error too, for me it was having this :

Solved by removing that code... oddly, it works fine on another page with it there, but not on another.


Connect to other nodes in the cluster when starting a node automatically?

Thank you very much for this dependency. It provides great convenience for writing cluster tests.
Can you provide an option for ExUnitCluster.start_node/2 to control the behaviour that connect to the other nodes in same cluster automatically or not? (Even do this at the very beginning of the boot process).
Example

Scenario 1
Test a GenServer using the handle_continue/2 initialization state by getting data from other nodes in the cluster.

Currently, a node started by ExUnitCluster.start_node/2 will first complete the startup, then connect to the existing nodes by calling ExUnitCluster.call(cluster, new_node, Node, :connect, [base_node]) manually.
So I would miss the opportunity to test the GenServer init process. What I need here is to connect to the cluster first then start the GenServer.

Scenario 2

Test a GenServer with send sync signal periodically, especially the moment that join the cluster.
But for this one, I just want to control the connection manually.

Hi @smartepsh,
Can you try out the changes in #2 and let me know if they cover your scenarios?
I've added a new option join
node = ExUnitCluster.start_node(cluster, join: false)

Note that there is another option applications if you don't want to automatically start your application on node startup, so you might be able to do something like:
node = ExUnitCluster.start_node(cluster, applications: [], join: false)
in_cluster cluster, node do
  Application.ensure_all_started(:my_app)
  ...
end

If this works, I can merge the PR and release a new version for you.

@sindrip I've tried it, works well.
I'm really looking forward to this release. :joy:

I've released version 0.4.0 with these changes, it is available in Hex :smile:


Cannot run the codes via "Shift + enter"

First, thank you so much for making this rampcode plugin for atom.
i use Mac when i install the rampcode for Atom.
at first i open the rampcode-060.pd file and then i open the examples.ramp file. When i start the toggle for rampcode it shows an error about pdsend won't spawned and need to put the path manually so i did put the pdsend path like this:
/Applications/Pd-0.49-1.app/Contents/Resources/bin/pdsend
after that i try to start it again and it works!
but, when i try to run the code it just doesn't want to run. so i wonder why, and then i tried to run it from the toolbars to evaluate a line and it works.\
so i couldn't use the Shift + Enter feature and the Option + Enter.

Fixed in version 0.2.1.
Thanks @RanggaPAji , please try it :panda_face:

Now it's working! thanks man!
On Sun, May 26, 2019 at 12:22 PM PANDAMIX<EMAIL_ADDRESS>wrote:

Fixed in version 0.2.1.
Thanks @RanggaPAji https://github.com/RanggaPAji , please try it 🐼
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pndmix/atom-rampcode/issues/1?email_source=notifications&email_token=AI634YZELUFBFHS25WNB3L3PXINCRA5CNFSM4HPMY3Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWH6RLQ#issuecomment-495970478,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI634Y2KTPKTHKA7WNXFEF3PXINCRANCNFSM4HPMY3YQ
.

Where do you insert the pd-send path manually?
I am stuck there...

Go to the atom-rampcode packages, and on the Pdsend PATH i put this
/Applications/Pd-0.49-1.app/Contents/Resources/bin/pdsend . Hope this
helps! :D
On Mon, Jul 1, 2019 at 3:47 PM Etol1LC<EMAIL_ADDRESS>wrote:

Where do you insert the pd-send path manually?
I am stuck there...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pndmix/atom-rampcode/issues/1?email_source=notifications&email_token=AI634Y53OG575ZJBDS34FRDP5HABBA5CNFSM4HPMY3Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY5OAXI#issuecomment-507175005,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI634Y23O265OFJWSYEKFKDP5HABBANCNFSM4HPMY3YQ
.

Don't get it! Can you please share an example like step by step. There is
definetley something I am clearly missing... Thanks
Il giorno lun 1 lug 2019 alle 13:32 RanggaPAji<EMAIL_ADDRESS>ha scritto:

Go to the atom-rampcode packages, and on the Pdsend PATH i put this
/Applications/Pd-0.49-1.app/Contents/Resources/bin/pdsend . Hope this
helps! :D
On Mon, Jul 1, 2019 at 3:47 PM Etol1LC<EMAIL_ADDRESS>wrote:

Where do you insert the pd-send path manually?
I am stuck there...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
https://github.com/pndmix/atom-rampcode/issues/1?email_source=notifications&email_token=AI634Y53OG575ZJBDS34FRDP5HABBA5CNFSM4HPMY3Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY5OAXI#issuecomment-507175005
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AI634Y23O265OFJWSYEKFKDP5HABBANCNFSM4HPMY3YQ
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pndmix/atom-rampcode/issues/1?email_source=notifications&email_token=AL5J2RX33W766KKJKZVSG3LP5HTODA5CNFSM4HPMY3Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY52YOY#issuecomment-507227195,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL5J2RXCS25MLJTO3BEL32LP5HTODANCNFSM4HPMY3YQ
.

i'm currently using MAC for this, haven't tried it yet with another
operating system
On Mon, Jul 1, 2019 at 7:15 PM Etol1LC<EMAIL_ADDRESS>wrote:

Don't get it! Can you please share an example like step by step. There is
definetley something I am clearly missing... Thanks
Il giorno lun 1 lug 2019 alle 13:32 RanggaPAji<EMAIL_ADDRESS>ha scritto:

Go to the atom-rampcode packages, and on the Pdsend PATH i put this
/Applications/Pd-0.49-1.app/Contents/Resources/bin/pdsend . Hope this
helps! :D
On Mon, Jul 1, 2019 at 3:47 PM Etol1LC<EMAIL_ADDRESS>wrote:

Where do you insert the pd-send path manually?
I am stuck there...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<

https://github.com/pndmix/atom-rampcode/issues/1?email_source=notifications&email_token=AI634Y53OG575ZJBDS34FRDP5HABBA5CNFSM4HPMY3Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY5OAXI#issuecomment-507175005

,
or mute the thread
<

https://github.com/notifications/unsubscribe-auth/AI634Y23O265OFJWSYEKFKDP5HABBANCNFSM4HPMY3YQ

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/pndmix/atom-rampcode/issues/1?email_source=notifications&email_token=AL5J2RX33W766KKJKZVSG3LP5HTODA5CNFSM4HPMY3Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY52YOY#issuecomment-507227195
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AL5J2RXCS25MLJTO3BEL32LP5HTODANCNFSM4HPMY3YQ
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pndmix/atom-rampcode/issues/1?email_source=notifications&email_token=AI634Y7QIHRFINJ4G6J5GADP5HYNJA5CNFSM4HPMY3Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY552SA#issuecomment-507239752,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI634YYXDMVQW2XPXRLCBFDP5HYNJANCNFSM4HPMY3YQ
.

Thanks a lot! At the end it was very helpful and it did work!!! Great!
Thanks again!
Il giorno lun 1 lug 2019 alle 18:14 RanggaPAji<EMAIL_ADDRESS>ha scritto:

i'm currently using MAC for this, haven't tried it yet with another
operating system
On Mon, Jul 1, 2019 at 7:15 PM Etol1LC<EMAIL_ADDRESS>wrote:

Don't get it! Can you please share an example like step by step. There is
definetley something I am clearly missing... Thanks
Il giorno lun 1 lug 2019 alle 13:32 RanggaPAji<EMAIL_ADDRESS>ha scritto:

Go to the atom-rampcode packages, and on the Pdsend PATH i put this
/Applications/Pd-0.49-1.app/Contents/Resources/bin/pdsend . Hope this
helps! :D
On Mon, Jul 1, 2019 at 3:47 PM Etol1LC<EMAIL_ADDRESS>wrote:

Where do you insert the pd-send path manually?
I am stuck there...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<

https://github.com/pndmix/atom-rampcode/issues/1?email_source=notifications&email_token=AI634Y53OG575ZJBDS34FRDP5HABBA5CNFSM4HPMY3Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY5OAXI#issuecomment-507175005

,
or mute the thread
<

https://github.com/notifications/unsubscribe-auth/AI634Y23O265OFJWSYEKFKDP5HABBANCNFSM4HPMY3YQ

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<

https://github.com/pndmix/atom-rampcode/issues/1?email_source=notifications&email_token=AL5J2RX33W766KKJKZVSG3LP5HTODA5CNFSM4HPMY3Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY52YOY#issuecomment-507227195

,
or mute the thread
<

https://github.com/notifications/unsubscribe-auth/AL5J2RXCS25MLJTO3BEL32LP5HTODANCNFSM4HPMY3YQ

.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
https://github.com/pndmix/atom-rampcode/issues/1?email_source=notifications&email_token=AI634Y7QIHRFINJ4G6J5GADP5HYNJA5CNFSM4HPMY3Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY552SA#issuecomment-507239752
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AI634YYXDMVQW2XPXRLCBFDP5HYNJANCNFSM4HPMY3YQ
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pndmix/atom-rampcode/issues/1?email_source=notifications&email_token=AL5J2RQY6T7R7MUQ27H3HGTP5IUPJA5CNFSM4HPMY3Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY6UFFY#issuecomment-507331223,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL5J2RTWZAR4ZBA4ZACJN2DP5IUPJANCNFSM4HPMY3YQ
.


Translate lines for dialogs and say

We talked about it during the rewrite, but I didn't actually implement it:
Translate the lines for dialogs and the say command. We agreed on just running those through "tr" using the original (base language) version as the key for the translation.

Invalidated by #336 , as we actually need speech keys.


PowerToys Run: Key remap produces wrong keypress in the Sticky Notes app

Remapping INSERT to HOME (pressing INSERT produces HOME). Works as intended in all tested applications except for Sticky Notes app.
In Sticky Notes: Pressing INSERT (HOME) produces the number 7 instead of HOME

In addition, the remapped keybinds does not seem to work in games either (i.e. GTA V).

Please correct me if I'm wrong but I believe you're referring to the keyboard shortcut manager here, not PowerToys Run.

In addition, the remapped keybinds does not seem to work in games either (i.e. GTA V).

From the README FAQ section:

Question: Will this work on video games?
It depends on how the game accesses your keys. Certain keyboard APIs do not work with Keyboard Manager.

You are most certainly correct jyuwono! Thank you for correcting this.
Also, thank you for clearifying that question from the FAQ. Problem still remains with the Windows app Sticky Notes though. But maybe that is not fixable either due the keyboard API.

Can repro this. Not sure why it's specifically happening like this for Sticky Notes but we can look into it.
It seems to be typing 7 instead of Home only if Num Lock is turned on. For now as a temporary workaround you could turn off Num lock whenever you want use Insert as Home. This definitely looks like some weird NumPad bug since NumPad 7 generally changes to Home when Num Lock is turned off.

Fixed in 0.19.0, please visit https://github.com/microsoft/PowerToys/releases/ for the latest release


feat(core): add default visual llm

Context:
PR #121 introduced a default LLM object for UnstructuredImageProvider / UnstructuredPdfProvider which is used whenever the user does not provide an LLM object explicitly.
This is very similar to what we wanted to achieve with user-configurable default_llm_factory but the configuration option is not used here - instead the default is not user configurable and is hard-coded to be a LiteLLM client, using gpt-4o-mini and assumes that the API key is present in an environment variable.
The problem with using default_llm_factory here is that default_llm_factory is not vision-enabled, and UnstructuredImageProvider / UnstructuredPdfProvider require a vision-enabled model.
When we first talked about default_llm_factory there was an idea of being able to configure a map with factories for different types of LLMs. For example:
[tool.ragbits.core.default_llm_factories]
text = "my_project.llm.small_local"
vision = "my_project.llm.gpt4o"
structured_output = "my_project.llm.gpt4o"


Missing Textures

Describe the Bug
Missing Textures for many Blocks
Reproduction Steps
1.Download Create Fabric https://modrinth.com/mod/create-fabric/version/0.5.1-f-build.1417+mc1.20.1 and install it
2./
3./
...
Expected Result
Missing Textures for Blaze Burner and more
Screenshots and Videos
No response
Crash Report or Log
No response
Operating System
Windows 11
Mod Version
0.5.1f
Minecraft Version
1.20.1
Other Mods
Automobility
Create Fabric
Fabric API
Geckolib
Immersive Aircraft
Immersive Portals
Iris
Just Enough Items
JustOutdoorStuff
Laserbridges
Macaws Bridges,Doors,furniture,fences,lights,paths,roofs,trapdoors and windows
Modmenu
Immersive Portal Gun
Smallships
Sodium
Worldedit
Xaeros Minimap and Worldmap
Additional Context
No response

if you use sodium you also need to install indium for mods using the fabric rendering api to work properly


Transfer config from 2.73 to 2.74

How do I transfer my settings when I update? launching 2.74 shows everything as inherited

Assuming you are using Windows 10 or 11, just copy the Win10.ini file from your the 2.73 folder to the new 2.74 folder, overwriting the existing Win10.ini file.


Track and close intermediate realm references

This makes the Realm frozen and tracks all intermediate frozen realm references and closes them when the realm is closed.

@cmelchior Ready for another round. The sample app tests are failling as Notifications are not available on frozen lists since they do not change.. I guess it doesn't really make sense to try to bring in order before we more of your pieces in play too. So I would consider to just to merge it if it passes review this time.

I merged this even though the sample app test fails. The failure is due to listening for notifications on frozen lists that will be targeted in #296. Added a TODO item in #291 on fixing the sample app.


Upgrade avro to 1.8.0

It looks like @mageshn hasn't signed our Contributor License Agreement, yet.

The purpose of a CLA is to ensure that the guardian of a project's outputs has the necessary ownership or grants of rights over all contributions to allow them to distribute under the chosen licence.
Wikipedia

You can read and sign our full Contributor License Agreement here.
Once you've signed reply with [clabot:check] to prove it.
Appreciation of efforts,
clabot

Test PASSed.

Test PASSed.


CI for running linters on PR's

We need to enable travis CI to run linters on each PR to make sure it follows the best practices and doesn't break the tool because of things like wrong indentation e.t.c.

Fixed by https://github.com/openshift-scale/cerberus/pull/16.


Clarify Auth Integration Patterns for server + client operations

User Driven: https://medplum.slack.com/archives/C05C5KXTPJA/p1691688476394129?thread_ts=1691688476.394129&cid=C05C5KXTPJA
Some users have setups that include both server and client operations. Update the "Auth Integration" docs with some more exampels

Fixed by #3324 https://github.com/medplum/medplum/pull/3074


Network Constraints

VPN Gateway SKU basic doesn't work. Please explicitly call this out in the docs.

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

ID: 31580c1b-34e7-acad-dfed-db47f7dae39f
Version Independent ID: 8a07d877-784a-3d88-54cd-8cd5341a2859
Content: Guidelines for Azure NetApp Files network planning
Content Source: articles/azure-netapp-files/azure-netapp-files-network-topologies.md
Service: azure-netapp-files
GitHub Login: @ram-kakani
Microsoft Alias: ramakk

@liamfoneill - Content owner Ram (@ram-kakani) is still verifying.  Per Ram:

I need more details. Reached out to the CSA who proposed the change. I need to have that investigated and confirmed.

Let's move this discussion to email. If you need help connecting with Ram for further discussion, you can email me at<EMAIL_ADDRESS>or<EMAIL_ADDRESS> Thanks.
cc: @b-ahibbard
#please-close


unable to override action permission scopes

I cannot seem to override the scope permission through the onedrive sdk picker login
my object is
    let odOptions = {
      clientId: oneDriveApplicationId,
      action: "share",
      advanced: {
        scopes: [
          "openid",
          "profile",
          "User.Read",
          "Files.ReadWrite",
          "Files.ReadWrite.All",
        ],
      },

I know Action: share has  "Files.ReadWrite", "Files.ReadWrite.All", predefined but i cannot seem to add other scopes, I need it to match my msal login flow so it doesnt need to request access twice.
Error -
ation+%27d3plotviewer-app%27+asked+for+scope+%27Files.ReadWrite.All.All%27+that+doesn%27t+exist+on+the+resource+%2700000003-0000-0000-c000-000000000000%27.+Contact+the+app+vendor.%0d%0aTrace+ID%3a+a27b1a4f-6528-42bc-9a88-8a8d341a0900%0d%0aCorrelation+ID%3a+8cf507ac-9522-42fa-8d1b-382472a41387%0d%0aTimestamp%3a+2021-03-26+09%3a25%3a16Z&state=http%3a%2f%2flocalhost%3a8080_mvAfH
API permissions

For some reason I can override the scopes but it wont allow me to add File permissions
  let odOptions = {
      clientId: oneDriveApplicationId,
      action: "share",
      advanced: {
        scopes: [
          "openid",
          "profile",
          "User.Read",
          // "Files.ReadWrite",
          // "Files.ReadWrite.All",
        ],
      },

works but I lost Files permissions

everyone why cannot you define Files.ReadWrite.All in the onedrive scopes?? it clearly needs it and comes over as default but you cannot list it!! I need to make sure this is scoped within the token request...

@chackman Hey can this be revisited. the OneDrive picker 7.2 does not accept Files.ReadWrite.All. it will only access Files.ReadWrite and you cannot override this. it conflicts with my msal scopes as that has Files.ReadWrite.All, and requires the users to consent twice

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.


Use direct cluster ingress

Remaining issues:

[x]  AWS Instances for the guest cluster are not being added to the ELB created as a result of the router-default Service.  I think this is a "Cluster Name" vs "Infra ID" cluster ownership tagging issue. Fixed in https://github.com/openshift/hypershift/pull/95
[x]  We don't deploy the CCO so dns_controller in the ingress operator isn't able to make calls against Route53 Fixed in https://github.com/openshift/hypershift/pull/111 https://github.com/openshift/hypershift/pull/117 https://github.com/openshift/hypershift/pull/120
[x] Determine how to make e2e pass with this.  Not sure how to discover the base-domain in the CI environment.
[x] Implement destroy for private zone

Reviewer notes:

Now cluster name is set at the create infra stage, not create cluster stage. There is a new --base-domain and --name flag on create infra. --base-domain is required while --name will default to example same as create cluster.
create infra will look up the public zone ID based on the base-domain and will lookup/create the private zone based on the name and base-domain

/test e2e-aws

/test e2e-aws