How to get client info? (subscriber info such as email,name etc.)

Version of react-native-iap
2.3.10
Platforms you faced the error (IOS or Android or both?)
both

I wasn't aware that we can get that from the purchase. Do you have any information that does this?

For Google pay we can do this it in this way(According to the Android developer site)
https://developer.android.com/google/play/billing/billing_library_overview#java

From you app, send the purchase token and user account credential to your secure backend server. The secure backend server should associate the purchase with the user after verification has succeeded.
After you get the token from the app:
Use the Subscriptions and In-App Purchases portion of the Google Play Developer API to perform a GET request to retrieve the purchase details from Google Play (Purchases.products for a one-time product purchase or Purchases.subscriptions for a subscription). The GET request includes the app package name, product ID, and a token (purchase token).
Ex: GET https://www.googleapis.com/androidpublisher/v3/applications/packageName/purchases/subscriptions/subscriptionId/tokens/token

Google Play returns the purchase details.
The secure backend server verifies that the order ID is a unique value that doesn’t represent a previous purchase.
The secure backend server uses the user account credential received in step 1 to associate the purchase token with the user of the app instance where the purchase was made.
(optional) If you are validating a subscription and the subscription is being upgraded, downgraded, or the user has re-subscribed before the subscription has lapsed, check the linkedPurchaseToken field. The linkedPurchaseToken field in a Purchases.subscriptions resource contains the token of the previous, or “originating” purchase. For more about linkedPurchaseToken, refer to Purchases.subscriptions).
The in-app product is made available to the user.
{
  "kind": "androidpublisher#subscriptionPurchase",
  "startTimeMillis": long,
  "expiryTimeMillis": long,
  "autoRenewing": boolean,
  "priceCurrencyCode": string,
  "priceAmountMicros": long,
  "countryCode": string,
  "developerPayload": string,
  "paymentState": integer,
  "cancelReason": integer,
  "userCancellationTimeMillis": long,
  "cancelSurveyResult": {
    "cancelSurveyReason": integer,
    "userInputCancelReason": string
  },
  "orderId": string,
  "linkedPurchaseToken": string,
  "purchaseType": integer,
  "profileName": string,
  "emailAddress": string,
  "givenName": string,
  "familyName": string,
  "profileId": string
}

API : https://developers.google.com/android-publisher/api-ref/purchases/subscriptions/get
Response : https://developers.google.com/android-publisher/api-ref/purchases/subscriptions#resource

@Buwaneka1993 Could you also find us information on ios also? We need to think this as a new feature after some consideration.

Hello... any news on this great feature?

Docs say that the Google Profile information is only available for purchases made with 'Subscribe with Google'. Don't really understand what they are.
https://newsinitiative.withgoogle.com/subscriptions

For iOS you need to use the property applicationUsername  in the object SKPayment, when you sending request from application. This is the right and recommended way how to link payment with user account in your database.
Read more:
https://developer.apple.com/documentation/storekit/skpayment
https://developer.apple.com/documentation/storekit/skpayment/1506116-applicationusername
Code example:
https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/StoreKitGuide/Chapters/RequestPayment.html#//apple_ref/doc/uid/TP40008267-CH4-SW2
This feature is highly requested, because linking payment to user is a big pain.

Any updates here?


Unable to connect to shopify development store

I created a Shopify partner account and subsequently made a development store. Shopify password protects the store to prevent abuse. The issue I'm facing is when spinning up a dev server it error's out saying shopify site is password protected,  Please let me knowhow to make next commerce work with a Shopify development store.
Thank You

Please provide more Info. A password-protected Shopify-Storefront shouldn't affect using the dev environment.
Have you created the API keys in the App Section of Shopify?

I got the same problem and removing the https:// part in NEXT_PUBLIC_SHOPIFY_STORE_DOMAIN solved the issue.

I got the same problem and removing the https:// part in NEXT_PUBLIC_SHOPIFY_STORE_DOMAIN solved the issue.

Thanks a lot for sharing this.

Hey there! Thank you for opening this issue. We have decided to take Next.js Commerce in a new direction and will be closing out current PRs and issues due to this change. Please see this PR for more details: https://github.com/vercel/commerce/pull/966


How to separate the multi ingress gateway in a cluster when using multi cluster discovery

Hi team, I have two environments (staging and demo) running in two clusters, each environment contains services in both clusters (called pci and nonpci cluster). I've setup the MultiCluster/MultiNetwork mode for cluster service discovery. I also set up both Ingress gateways for each environment, coz the traffic from different environments looks the same. I hope all the traffic cross the clusters from staging could reach the Ingress gateways for staging, but when I use istioctl pc endpoints pod-a.staging | grep service I could see both the Ingress gateways' external Ip. How can I separate the two env from the Ingress gateways? I try to use the label topology.istio.io/network or topology.istio.io/cluster but the Istiod would have a default clusterId and networkId.

maybe you can try enable PILOT_FILTER_GATEWAY_CLUSTER_CONFIG

"If enabled, Pilot will send only clusters that referenced in gateway virtual services attached to gateway"


Introduce rand_ket and generate rand_dm using Ginibre ensemble method

This PR introduces rand_ket, and also modify the method for generating random density matrix rand_dm.
I think the current method for generating random density matrix is not random enough. Because the real value of off-diagonal elements are always positive.
Here, I implement the method to generate random density matrix from Ginibre ensemble, which is also the default method in qutip. I think this method is the more standard one in the literature.
Furthermore, with this method, we can specify the rank of the density matrix, i.e., the number of eigenvalues which are positive. The other eigenvalues will be very close to zero (< 1e-15).

Is this method equal to the current one in the case rank =N?

Not equal, as I mentioned in above. I think the current method is not random enough.

In the case rank = n the Ginibre generates a square complex random matrix and then multiplies it by its adjoint. Like the previous implementation, I think. It is just to understand. The implementation is good, aside from the two comments made above.


OpenCE 1.9 known issues

the following pip check failure is known on P10:
tensorflow 2.12.0 requires jax, which is not installed.
lightning-bolts 0.6.0.post1 has requirement lightning-utilities==0.7.1, but you have lightning-utilities 0.8.0.

Known pip check failure on x86 / PPC builds:
multiprocess <IP_ADDRESS> has requirement dill>=0.3.4, but you have dill <IP_ADDRESS>.
lightning-bolts 0.6.0.post1 has requirement lightning-utilities==0.7.1, but you have lightning-utilities 0.8.0.
tf-model-optimization-nightly 0.7.4.dev0 has requirement absl-py~=1.2, but you have absl-py 1.0.0.

Known pip check failure on s390x:
coremltools 4.1 requires attr, which is not installed.
coremltools 4.1 has requirement numpy<1.20,>=1.14.5, but you have numpy 1.23.5.

Known pip check failure on cuda 11.2 platform:
opencensus 0.7.13 has requirement google-api-core<2.0.0,>=1.0.0, but you have google-api-core 2.10.1.
tf-model-optimization-nightly 0.7.4.dev0 has requirement numpy~=1.23, but you have numpy 1.22.3

Following two issues from above list are resolved in 1.9.1 -

tensorflow 2.12.0 requires jax, which is not installed.
tf-model-optimization-nightly 0.7.4.dev0 has requirement absl-py~=1.2, but you have absl-py 1.0.0.

lightning-app 2.0.1 has requirement fastapi<0.89.0, but you have fastapi 0.92.0.
lightning-bolts 0.6.0.post1 has requirement lightning-utilities==0.7.1, but you have lightning-utilities 0.8.0.


Remove dots from module names to execute the code with pytorch 1.0.0.

Current layer names in dcgan.py cannot be used in pytorch 1.0.0 because of dot (".") character. See here.
In this PR new names with ":" are proposed.

thanks!


Rename SplitMetadata.size_in_bytes

Renamed SplitMetadata.size_in_bytes to original_size_in_bytes to avoid confusion
Closes https://github.com/quickwit-oss/quickwit/issues/1667

I find that original_size_in_bytes is merely an improvement. What about something like uncompressed_payload_size_in_bytes?

Yes @guilload  I still found it confusing but I wanted to conform to a previous renaming thinking this was what we wanted after all. I had these names in mind  too ingested_docs_size_in_bytes original_docs_size_in_bytes. so let's decide here.

I'm in favor of original_docs_size_in_bytes or uncompressed_docs_size_in_bytes

@guilload  any take on this? I am leaning towards original_docs_size_in_bytes

Good suggestion, @PSeitz. I'm leaning towards uncompressed_docs_size_in_bytes or raw_docs_size_in_bytes. Original makes perfect sense for us, Quickwit devs, but I'm afraid that might not be explicit enough for newcomers.

@guilload @PSeitz  I finally settled with raw_docs_size_in_bytes. It's shorter IMO


Add turbiniactl config command

It would be nice to have a 'turbiniactl config' command that would just print out the current config.  It's also easy to just cat the config file, but it would be nice to have the command to show which config was loaded (because it can be loaded from several different places).

Fixed in #395  and #422


30 day heartbeat bar

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
UI Feature
🔖 Feature description
Please add the ability to set the length of days for the heartbeat bar on the status page.
✔ Solution
In Uptime-Robot, the heartbeat bar indicator shows a red bar on the day an event was logged. It'd be very useful to set the length/amount of days for the heartbeat bar to show 30, 60 or 90 days.
❓ Alternatives
No response
📝 Additional Context
No response

+1

+1
This would be so useful for us - 30 or even 60/90 day history.

+1

+1

+1

@louislam - you reckon we’ll get this added soon?On 21 Sep 2022, at 12:19, bastoune @.***> wrote:
+1
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

+1

+1 This would really help me and make a really good application even better!

+1

For sure this use case will put uptime kuma to the next level !
+1

@ouquoi @hsankala @dib0 @feriahmad @Vecsy @bastoune @wesco73 @Peter1994 @wiwi-websolutions
Please refrain from posting +1 / requests for updates things on issues, as this makes issue-management harder.
Issues are for discussing what needs to be done how by whom.
We use 👍🏻 on issues to prioritise work.

For company for which I work, this is the most important issue to be resolves, so we wouldn't choose BetterStack status pages instead of Uptime Kuma which we initially like; so is there a particular donation amount which would be a motivator for you to expedite solution for Uptime Kuma status page bars to have 7/30/60/90/180/365 days options for length of heartbeat bars..?

Isn't this the same issue as #3264 ? It could be merged.

+1

@casudo
Please see above:

Please refrain from posting +1 / requests for updates things on issues, as this makes issue-management harder.
Issues are for discussing what needs to be done how by whom.
We use 👍🏻 on issues to prioritise work, as always: Pull Requests welcome.

Was this ever implemented? I cannot find this feature and want to create an issue but found this one, so I was wondering if there's a solution to this.

No it has not. In v1 the performance simply was not good enough to support this.
In v2, this should be possible.
See https://github.com/louislam/uptime-kuma/pull/4264 for further context on the PR that would enable such a feature.
A synthetic benchmark which spawns some monitors and looks how the server handles it would likely be needed. See https://github.com/louislam/uptime-kuma/issues/4500 for how to get involved.

finally i found this issue, will this feature will implement in recent?

Just sharing that I am also highly interested in this feature - I use Uptime Kuma as a web designer and offer it to my clients. I also hope I can integrate it with MainWP in the future, currently I am just adding the Statuspage link to the monthly reports that are sent automatically to the client.
If I have uptime checks per minute, the status page simply does not make much sense - it's more interesting for the client to see status/uptime of the last days or even weeks.
I am not a developer myself so it's difficult for me to estimate whether this feature is realistically be implemented anytime soon, or if this could take many months or even longer (or never) to see it live

Hello guys, so what is the implementation milestone for this task?
Do you have some timeframe?
It's open since Jul 12, 2022
Would be great, and not a big change in code to set it via ENV-variables maybe?
Thanks! Great product! 🥰

not a big change in code

Then provide an enhancement via a pull request.
Our contribution guide is here: https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md
Open source means that you don't pay. It also means that you cannot expect enhancements, timelines or guaranteed quality of service. Stuff gets done when/if it gets done by volunteers like you or me.
=> If you provide a PR, we can slot this into a review/merge slot
This should not require an environment variable. (more settings are more difficult to review)

Till the feature is implemented, I am using a temporary workaround - I use prometheus to scrape metrics, and use grafana to give me a configurable duration to show uptime status for my targets.
(I completely get that this might be besides the point for people who need this to be native in Uptime - this is a workaround for long term status. Short term status can still be seen in Uptime Kuma)


Issue with Bourbon / Neat Grid - grids dont align correctly

am new to Bourbon / Neat framework, and the past 2 days i've been setting my environment up, but i am having issues configuring the Grid.
The issue is that no matter how much i try, there are some spacing issue when it comes to the grid, there is a small space in between columns in the grid, which is giving me a headache, and i have no idea what is causing it.

As you can see from the image, the right column, is slightly on the left, is this a common occurrence in neat?
Thank you in advance.

Hi @sadiqevani! Please see: https://github.com/thoughtbot/neat#why-are-the-elements-not-properly-aligned-with-the-visual-grid


Destination Sub-directories

Hi Lee,
I love this repo.  Up till now I've used it just for real small projects, but now I have a big project and I need to add sub-directories to my destination path to keep all these emails organized.
Globbing the src directory fetches them all correctly:
src: ['<%= paths.src %>/emails/**/*.hbs'],

but can you please advise on how to retain my sub-directories in the dist directory?
Thanks.

You'd have to remove the flatten: true option as well from /grunt/assemble.js
The downside(s) to this currently are:

The preview UI naively looks for /dist/*.html files, so template select will be blank.
You get more of the tree than you might want /dist/src/emails/<templates + subdirs>

Yeah this works but as you said, breaks a few other things like juice and image urls.
I wonder would it be better to create separate grunt tasks for each directory? Or perhaps even better, multiple tasks to assemble?
I tried this:
module.exports = {
    front: {
        options: {
          layoutdir: '<%= paths.src %>/layouts',
          partials: ['<%= paths.src %>/partials/**/*.hbs'],
          helpers: ['<%= paths.src %>/helpers/**/*.js'],
          data: ['<%= paths.src %>/data/*.{json,yml}'],
          flatten: true
        },
        pages: {
          src: ['<%= paths.src %>/emails/front/*.hbs'],
          dest: '<%= paths.dist %>/front'
        }
    },
    back: {
        options: {
          layoutdir: '<%= paths.src %>/layouts',
          partials: ['<%= paths.src %>/partials/**/*.hbs'],
          helpers: ['<%= paths.src %>/helpers/**/*.js'],
          data: ['<%= paths.src %>/data/*.{json,yml}'],
          flatten: true
        },
        pages: {
          src: ['<%= paths.src %>/emails/back/*.hbs'],
          dest: '<%= paths.dist %>/back'
        }
    }
}

it doesn't throw an error, but it doesn't compile any files either.

I'd stay away from near-duplicate grunt tasks.
Ideal approach for what you're wanting to do would be to go through every grunt task and make sure it supported directory depth + add recursion to the preview app's template finder.
Another option would be to just prefix all your emails as opposed to having hierarchy. /emails/back_<template_name>.hbs
I personally don't foresee the need to support directory structure in dist, but maybe that's just me and/or I don't see the full picture.
Cheers

Right. Normally I wouldn't do something like this, but there are simply way too many emails in this projects to have them all dumped in a single folder. Approx 50 different templates or so right now.
I have however resolved the problem, after consulting the grunt-assemble repo I see that this is very simple:
module.exports = {
    options: {
      layoutdir: '<%= paths.src %>/layouts',
      partials: ['<%= paths.src %>/partials/**/*.hbs'],
      helpers: ['<%= paths.src %>/helpers/**/*.js'],
      data: ['<%= paths.src %>/data/*.{json,yml}'],
      flatten: true
    },
    front: {
      src: ['<%= paths.src %>/emails/front/*.hbs'],
      dest: '<%= paths.dist %>/front/'
    },
    back: {
      src: ['<%= paths.src %>/emails/back/*.hbs'],
      dest: '<%= paths.dist %>/back/'
    }
};

Thanks for your help :)

Nice. Thanks for posting your solution :+1:

:+1:


ARROW-7943: [C++][Parquet] Add code to generate rep/def levels for nested arrays

There will be follow-up code to integrate this with the
higher level writers.
This takes a slightly more OO approach then LevelBuilder in
writer.cc and also attempts to do more batching at each level
when possible. No benchmarks have been run yet.
There are likely a lot of typos given the hours that I've been
working on it (but hopefully no logic bugs).  I'm sorry.
Also allow TypedBufferBuilder/BufferBuilder to take an
initial ResizableBuffer to use so scratch can easily
be reused.

Will start taking a look at CI failures tomorrow

Planning to spend time on this tomorrow (Friday) or over the weekend if I can't get to it tomorrow

@bkietz thanks for the review, I incorporated all the doc changes and will update the code changes when I have a compiler available to me (hopefully later tonight).  Had a question on the visitor suggestion.

Making progress on reviewing, should have comments up later this afternoon

Merging. the only failure is ARROW-8029


feat: add template_engine keyword from Snakemake 7.0

When was template_engine added? i.e., what snakemake version?

When was template_engine added? i.e., what snakemake version?

Snakemake 7.0

Ah ok. This is going to mean we also have to bump our minimum supported python version to 3.7.


⚠ Bofrost.at has degraded performance

In 10daa3e, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2087 ms

Resolved: Bofrost.at performance has improved in 0b0d109.


actions/cache@v1 jumps from ~24s to ~20m

My last few deploys, starting yesterday, have seen actions/cache@v1 take an extremely long time, jumping from ~20-30s to over 20m.
My most recent deploy saw 21m 33s with Cache Size: ~361 MB (378178930 B).
Might this be related to code in my repository? Or an Actions outage?

Hi @schlosser, I would first recommend updating the workflow to use actions/cache@v2 to see if that helps.  We released several changes in @v2 to help with download speed and reliability.  Additionally, it will display the download progress so we can see if it gets stuck during the download or elsewhere.  After updating the version, please report back if you still see significant slowdowns.  Thanks!

So far so good after upgrading! Closing this for now.


Replacement of istanbul with nyc

Since istanbul is deprecated and will no longer be maintained, it is replaced with the equivalent nyc

could you pls remove package-lock.json first?

Done


1414 | Find the Minimum Number of Fibonacci Numbers Whose Sum Is K | Python

Find the Minimum Number of Fibonacci Numbers Whose Sum Is K

What will change - I wiil add a new code in the PYTHON folder
Type of Issue - Solving a new problem
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] Python

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

[x] Assigned to @kaushalendra-pandey


bootstrap scalafmt

Also README.md needs to be updated to replace sbt-native with sbt-scala-native.

LGTM!


Improve performance

Only update position if the spotlight is displayed.

Maybe also use some throttling (useThrottleFn?) on onMousemove event?

Nice catch.
But not sure to use useThrottleFn because you will probably have something that feels really laggy no ?


Fix typo in header.md

Codecov Report

Merging #393 into master will increase coverage by 2.18%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #393      +/-   ##
==========================================
+ Coverage   72.05%   74.23%   +2.18%
==========================================
  Files          25       25
  Lines        1249     1347      +98
==========================================
+ Hits          900     1000     +100
+ Misses        349      347       -2

Flag
Coverage Δ

#unittests
74.23% <ø> (+2.18%)
:arrow_up:

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

Impacted Files
Coverage Δ

src/cache.jl
100.00% <0.00%> (ø)

src/types.jl
100.00% <0.00%> (ø)

src/writer/writer.jl
100.00% <0.00%> (ø)

src/reader/notebook.jl
100.00% <0.00%> (ø)

src/reader/markdown.jl
97.95% <0.00%> (+0.13%)
:arrow_up:

src/converter.jl
98.59% <0.00%> (+0.15%)
:arrow_up:

src/reader/script.jl
87.75% <0.00%> (+0.25%)
:arrow_up:

src/rendering/pandocformats.jl
85.18% <0.00%> (+0.56%)
:arrow_up:

src/reader/reader.jl
90.38% <0.00%> (+0.80%)
:arrow_up:

src/rendering/common.jl
88.23% <0.00%> (+0.89%)
:arrow_up:

... and 10 more

Continue to review full report at Codecov.

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

thx !


Add VS2015 compatibility to CMake scripts [master]

Added vc14 (VS2015) as target. This causes the libs/executables to be built in and copied to the correct directories.

:+1:


Youtube/Vimeo quality in poor internet connection

Expected behaviour
When I have poor internet connection, the player automatically loads the lowest quality and I can't change it
Actual behaviour
When I have bad internet connection, the player automatically loads the lowest quality and I can't change it
Steps to reproduce
Environment

Browser: Chrome
Version: 81.0.4044.138
Operating System: Mac OS
Version: 10.15.1

Console errors (if any)
No
Link to where the bug is happening
Any heavy / long video  with poor internet connection

Unfortunately we have no control over this. YouTube has a basically useless API method that allows you to suggest a quality level but in reality it’s ignored 99.9% of the time in my experience so it was removed. Vimeo has even less control sadly.

I was here to report this issue. Got my answer. Thanks @sampotts


i18n

e.g. Japanese for example, are currently incompatible with SOL's launcher UI.
I think so can be performed after conversions are being finalized.
screenshot

I haven't even started thinking about internationalization yet. Not really sure what you mean, but if you think it is easy to implement you can submit a PR and I will help you merge it

So for Cyrillic files.
It doesn't search them. :(


Orchestrate CockroachDB in a Single Kubernetes Cluster Doc Update

Re: Orchestrate CockroachDB in a Single Kubernetes Cluster
Issue Description
there is no cockroachb-client-secure pod in this tutorial, the following command does not work kubectl exec -it cockroachdb-client-secure -- ./cockroach node decommission 4  --certs-dir=/cockroach-certs --host=cockroachdb-public
Suggested Resolution
the proper command in lieu of having a client-secure pod kubectl exec -it cockroachdb-2 \ -- ./cockroach sql \ --certs-dir cockroach-certs similar to the original command for opening SQL shell.

I would prefer we enhance the operator to launch a client container (or have the operator container act as the client container ) as telling people to exec into one of the DB containers is very dangerous.

@keith-mcclellan I originally had the instructions using a client container, but was advised to remove them. Do you think the client-secure.yaml here would suffice until the Operator can launch/act as the client container?

cc @johnrk - can you help us determine the right guidance here?


Make SCSS Theme Files Available

Were these themes developed using a css preprocessor? Any chance the file might be made available? I really like the Flat top theme but want to slightly modify it to match brand colors.
Thanks

@codylawson Unfortunately the themes were developed by hand with trial and error of vanilla css for quick implementations. Let me think about how to add scss support (and maybe less support). It basically requires nailing down all potential variables and mixins to use.  I agree with you on making this easier to modify brand colors if scss files were created.

Yeah, it would be great if each theme was just a modified variables file that fed into several scss files for each component. It would simplify the creation of new themes and make customizing them more feasible.
I'm going to be trying my hand at this over the next week, I'll let you know what I find.

Sounds good.  I'm open to collaborate on initial steps to support scss. It'd be nice to maybe plan it out and do a prototype.
Another thing to consider is to look into making swagger-ui support scss as well. I don't know what their position is on supporting scss or less but would interesting to push them in that direction.

Closing issue for now. I don't see myself having the bandwidth or create scss variables for this project. Thanks for the suggestion!


capturing the output

Hello,
Thanks again for all the work you put in here.
The output that was written to the console when loading the model, is there a way to capture it in a windowed application?
I want to blog it, but I don't have direct access to it through C#

Thank you very much, I tried all sorts of things too, but without success, maybe it's just not possible

If you run a console app via Process.Start(), then you can read its output anywhere. Here's an example:
var proc = new Process
{
    StartInfo = new ProcessStartInfo
    {
        FileName = "program.exe",
        Arguments = "command line arguments to your executable",
        UseShellExecute = false,
        RedirectStandardOutput = true,
        CreateNoWindow = true
    }
};

proc.Start();
while (!proc.StandardOutput.EndOfStream)
{
    string line = proc.StandardOutput.ReadLine();
    // do something with line
}

But of course it would be better to just consume some API endpoints like this:
http://localhost:8000/v1/chat/completions
Check out the llama-cpp-python[server].
Refs.:

https://stackoverflow.com/a/4291965/1812371
https://github.com/abetlen/llama-cpp-python#web-server

Of course I'm not going to run through a command line, it's ugly...
And it's not that important.
The rest of the solutions, well...
We will check
Thank you very much for checking for me

I'd suggest to implement some sort on reactive extensions stuff, so one can simply subscribe to the output and capture/redirect it.

The problem is that it comes from the C++ library and not from C#

The problem is that it comes from the C++ library and not from C#

https://github.com/Tyrrrz/CliWrap

The problem is that it comes from the C++ library and not from C#

https://github.com/Tyrrrz/CliWrap

Very interesting, I will check it out

Of course I'm not going to run through a command line, it's ugly... And it's not that important. The rest of the solutions, well... We will check Thank you very much for checking for me

I don't think reading the StandardOutput of the Process.Start() is "ugly". It does exists for purpose. This is just a matter of opinion.
For example, I would not like having many external dependencies in simple programs/solutions or "not that important". But again, this is just my own opinion.

https://github.com/Tyrrrz/CliWrap

@ChezzPlaya good one! I didn't know about it before. I think will give it a try later.

You can use this to capture the logging output from llama.cpp:
NativeApi.llama_log_set((level, message) =>
{
    // Do whatever you want!
});

Does that resolve this issue?

I'll close this issue for now since I think it's resolved, but please feel free to re-open it if there's still a problem!


Toggle preload/prefetch based on chunk.initial (or a callback)

The current plugin requires that you choose between a single rel: 'preload' or rel: 'prefetch' value that applies to all of the <link>s.
The problem is that rel="preload" is appropriate for subresources that are used immediately, and rel="prefetch" is appropriate for subresources that are lazy-loaded or used on a subsequent navigation. It's possible to have a mix of of those two types of subresources in different webpack chunks.
I'm in favor of changing the way rel works as follows:

If a string rel value is specified in the config, then always use that for all <link>s.
If no rel value is specified in the config, then use chunk.initial ? 'preload' : 'prefetch' to determine the rel value for each <link>.
If a function rel value is specified in the config, then pass in the file path and chunk and use the return value to determine the rel value for each <link>. (This is similar to what as supports, but instead of being passed just the file path, you'd also pass in the chunk.)

CC: @addyosmani

Thanks for filing this issue, @jeffposnick. You're correct that the current implementation enforces a "choose one or the other" decision and there are opportunities supporting a mix of the two could enable that are worth us exploring. I'm quite open to us looking at a better model.

I'm in favor of changing the way rel works as follows:

If a string rel value is specified in the config, then always use that for all s.
If no rel value is specified in the config, then use chunk.initial ? 'preload' : 'prefetch' to determine the rel value for each .
If a function rel value is specified in the config, then pass in the file path and chunk and use the return value to determine the rel value for each . (This is similar to what as supports, but instead of being passed just the file path, you'd also pass in the chunk.)

On first glances, this proposal sounds quite reasonable to me. I might have a little more feedback once we've been able to try out an implementation against a real Webpack project to see whether our assumptions above hold well. Would you be open to trying out the above in a branch? 😄


Fix builds on Window platforms

Changes in this pull request

There were a few places where builds on a Window's machine were not working. The common issues were:

Use of the rm command, switched over to rimraf
Use of the cp command in build scripts, switched to cpy-cli tool
Much of the rollup configuration files were not correctly ensuring paths had / in them, which most of the path.* calls were converting to the Window's path separator \.

I'm new to the rush build setup, so I'm pretty sure I may have caused changes to the lock files that may not be desirable when I "installed" the cpy-cli tool.
Types of changes

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] All applicable changes have been documented
[ ] Any TO DO items (or similar) have been entered as GitHub issues and the link to that issue has been included in a comment

Thanks for this PR @brogdonm ! Would you be able to sign the CLA when you get a chance?

Thanks for this PR @brogdonm ! Would you be able to sign the CLA when you get a chance?

Thanks @dkozma, I'm having legal review the contract, hopefully will have follow up in a couple days.

I've signed the contract, closing PR and reopening to ensure it has taken.

@dkozma I have finished all the steps and resolved conflicts (with an additional typo fixed in a build script).

@dkozma @emensch With the latest merge conflict resolution the new packages/toolkit/scripts/build.js is giving me the following error on Windows, not sure what it is at this point:
node .\scripts\build.js
node:events:491
      throw er; // Unhandled 'error' event
      ^

Error: spawn wasm-pack ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:285:19)
    at onErrorNT (node:internal/child_process:485:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on ChildProcess instance at:
    at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
    at onErrorNT (node:internal/child_process:485:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'spawn wasm-pack',
  path: 'wasm-pack',
  spawnargs: [
    'build',
    '--quiet',
    '--out-name',
    'toolkit',
    '--release',
    '--target',
    'web'
  ]
}

I have ran the wasm-pack build --quiet --out-name toolkit --release --target web separately and it works, so not sure why this is a problem when ran from the node context.

Thanks for looking into this @brogdonm. My only thought here is since we are getting an ENOENT, I wonder if it is resolving the ./node_modules directory to the wrong location. I wonder if we can solve this by specifying the location as clearly as possible. Please take a look at this change and let me know if something like this can help things.

Thanks for looking into this @brogdonm. My only thought here is since we are getting an ENOENT, I wonder if it is resolving the ./node_modules directory to the wrong location. I wonder if we can solve this by specifying the location as clearly as possible. Please take a look at this change and let me know if something like this can help things.

Yeah, you were on the right path. I looked and tsc on Windows is a PS1 or CMD file, so I believe it has to be spawned with a shell context... see #7aa39db for the changes.


extra minus sign before int64_t values in MLIL and up

Version and Platform (required):
Binary Ninja Version: 3.6.4780-dev Personal (d35c49ed)
OS: manjaro
OS Version: Linux version 6.6.10-1-MANJARO
CPU Architecture: x64
Bug Description:
reversed arm64 instruction is right but when converted to c code , the address in arm64 is unsigned long long , but in c code is signed as minus 0xfffffxxxxx
Steps To Reproduce:
Please provide all steps required to reproduce the behavior:
1- open the sample code
2-display reversed instruction
3-Press F5
Expected Behavior:
/* jump -> -0xffff800008f828e8 /
should be
/ jump -> 0xffff800008f828e8 */
Screenshots:
issue picture as follows

Additional Information:
no

sample.zip
I use this file

We get it correct in disassembly, and for some reason there is an extra minus sign in MLIL and up:

抱歉又来ping
方便更新下哈
如下还是64位常量会出险负数的情况：
https://github.com/Vector35/binaryninja-api/assets/5463104/6ff65afb-00a6-4d45-970d-c549eb2a42f2

I really hope we can fix this.
Because when reversing some code , we can almost use the c code directly without any modification.
But now , We have to delete the minus symbol before uint64 numbers.

here is some tips i tried
https://github.com/Vector35/binaryninja-api/assets/5463104/828aa729-d107-443b-924f-b9b44f494592

is there any possible that if we treat the number as signed, then we directly add the minus sybol?


Do not swallow exception, print the message

Debugging of the native helper is extremely painful when you do not provide the context of failure.

In production this should never fail, but it might when running locally; is that what you're seeing?

Yes, I had a problem with the configuration of my environment.
The first was that dotnet was not discoverable, and the second was that the native tool was not authorized against a private repository, which is relatively easy to introduce in many places (ruby, dotnet, remote repository, invalid scope of credentials, ...).

The reason for the NuGet.Config mangling is specifically to pass through feed credentials that dependabot knows about, but the updater doesn't.
The most common way for dependabot to be run with a custom feed is via a dependabot.yml file in the repo, but if you need to run the tool locally for testing and use a private feed you can do this (I do this from the Docker development shell):
LOCAL_CONFIG_VARIABLES='[{"type":"nuget_feed","token":"MY_SECRET_TOKEN","url":"https://nuget.example.com/index.json"}]' # add feeds as necessary
bin/dry-run.rb nuget dependabot/dependabot-core # ... other arguments

Thanks for indulging me in questions, but yes, doing something with an exception rather than silently swallowing it can only be a good thing.

@brettfo https://github.com/dependabot/dependabot-core/pull/8928#issuecomment-1920177073 a different PR :)

About "In production, it should never fail." It did because dependabot does not handle well private repositories with native updater (I experience issue with Azure DevOps - it's handled in a different PR)

@brettfo #8928 (comment) a different PR :)

I have too many tabs open to keep track.  :)

About "In production, it should never fail." It did because dependabot does not handle well private repositories with native updater (I experience issue with Azure DevOps - it's handled in a different PR)

Can you share more information about these scenarios and how the NuGet.Config is failing to get patched?  I can't think of a production scenario that would pass in one instance, but not in the other, because that file is always in the same place.

It's not about the file not being patched. The try-catch is not guarding Nuget.config patch.
It guards only calling native updater (passed block).


[Azure Monitor OpenTelemetry] Use @opentelemetry/sdk-node to initialize distro

Packages impacted by this PR
@azure/monitor-opentelemetry

API change check
API changes are not detected in this pull request.


Get rank for an given app

Hi raulr, thanks for this awesome scraper. I saw from the sample, that the rank of an app is not provided by default. Is there a way to get the ramk of a given app using the  scraper? Can you please help me on how to acheive that?

Hi Murthyanitaa,
I don't think Google Play has something as an absolute rank for an app. For example, a game that is first on ACTION list, may be the fourth on ARCADE.
What you can get is the rank of an app inside a list, as they are returned sorted by the scraper:
$apps = $scraper->getList('topselling_free', 'SOCIAL');
foreach ($apps as $rank => $app) {
    echo $app['title']." is #".($rank + 1)." in SOCIAL".PHP_EOL;
}

I hope you find this useful.

hi Raulr,
Sorry for the late reply. Thanks for the help. What I meant was exactly that. If we can specify a category or a collection, is it possible to get the top ranked apps in those categories or collections.
For eg:

the top ranked apps in entertainment?
The top ranked apps in top free apps?

I see from your reply that you can get the top ranked apps in a list. But is the second one possible?
Thanks for your help raulr!

You can skip the category and get only a collection:
$apps = $scraper->getList('topselling_free');

I am getting this error
Fatal error: Default value for parameters with a class type hint can only be NULL in /Applications/XAMPP/xamppfiles/htdocs/kaayaa-web/wp-content/themes/kaayaa/google-play-scraper-master/google-play-scraper/vendor/symfony/browser-kit/Client.php on line 275
My code is
include_once('google-play-scraper-master/google-play-scraper/vendor/autoload.php' );
use Raulr\GooglePlayScraper\Scraper;
$scraper = new Scraper();
Please help me


Error messages are not interpolated.

Repro instructions: Go to the reverseWords problem, and type the code seen in the screenshot below.
In the screenshot below, the feedback message is not interpolated, so it is meaningless. We should either support interpolation or choose a different feedback message.

Fixed in PR 35.


Changes to support ADFS/WS-Federation SAML2.0

Fixed to ensure tests are all passing.

Why create a new PR, when I already closed https://github.com/onelogin/python-saml/pull/126 ?

I created a new PR since the previous one had failing tests. I updated some comments in #126. Please have a look. Thanks.

Did you guys do any testing with WS-Fed/ Microsoft Secure Token Service (SAML2.0)??

Yes, we did.

The toolkit currently supports ADFS/WS-Federation and don't need proposed changes.


⚠ Bofrost.de has degraded performance

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

HTTP code: 200
Response time: 1342 ms

Resolved: Bofrost.de performance has improved in e28771a after 6 minutes.


Home Assistant cli fails to restart.

The container installs fine, and I can get it set up, install/configure integrations as usual - but as soon as I restart to adjust network settings and resource allocation I get the following error

On a fresh install, I get this same error.

Well - Fresh install -getting a similar error after setting IP and disk and .. restart:
[WARN] Data partition not mounted! Jump into emergency console...
root@homeassistant2:/usr/share/hassio#

Well - Fresh install -getting a similar error after setting IP and disk and .. restart:
[WARN] Data partition not mounted! Jump into emergency console...
root@homeassistant2:/usr/share/hassio#

same for me.
does not seem to prevent hass to work aside from the fact that I also get the unsupported install / complaining about network manager.

8f63d1c should return access to HA CLI and eliminate warning.

Issue seems to be back.

Same issue

+1

same here, i cant even ssh in to get my config files,
the backup i made is also gone,
help pls


string_base ideas

We can refactor static_string:

Call it char_string_base, make it a normal class (i.e. not a template)
Eschew char_traits and CharT, this is for char only and no locales
Express all operations in terms of a virtual member  realloc
function by function compatibility with std;:string
Full tests and coverage,

Now we can rewrite static_string using char_string_base, where realloc just throws if the static buffer is exceeded.
Then we can write a new class, a "flexible string" that has both an inline buffer, and an allocator. When the inline buffer overflows, the implementation switches to a dynamic allocation. This can replace some of the code that currently does this manually (e.g. in the parser and RFC range adaptors).

https://github.com/boostorg/beast/pull/2406 replaced static_string with Boost.StaticString.


KAFKA-7223: Make suppression buffer durable

This is Part 4 of suppression (durability)
Part 1 was #5567 (the API)
Part 2 was #5687 (the tests)
Part 3 was #5693 (in-memory buffering)
Implement a changelog for the suppression buffer so that the buffer state may be recovered on restart or recovery.
As of this PR, suppression is suitable for general usage.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

ok @bbejeck @guozhangwang @mjsax , I think I've addressed all the comments so far.
Would anyone like to take a nother/final pass?

@guozhangwang I've responded to your comments.

Also, sorry about the renaming noise. I'll leave explanations in the future, as you suggested.

failures unrelated
retest this please

It looks like the java 10 builder is out of disk space again. I just ran it on my machine with java 10 and scala 2.12, and can confirm it passes.
Java 8 test is still running.

@guozhangwang I think this is ready to merge.
As noted, the java 10 build ran out of disk space. I've been seeing this on my other builds right now, so I don't think running it again will fix it. But I did run the tests locally with java 10 and scala 2.12.


Host Rancher Charts in repo format

We should host the charts of rancher in repo format
Just like we do for HA server-chart https://releases.rancher.com/server-charts/latest/index.yaml
We need the same for github.com/rancher/charts
As a developer, I am packaging my application using helm and I want to use Rancher's mysql chart.
In requirements.yaml, I can't specify repository
dependencies:
- name: mysql
  version: 0.3.7
  repository: "https://github.com/rancher/charts"

This doesn't work

Hi,
It would be also very helpful in our use case. We are using Nexus3 with helm support to proxy external helm repositories (and avoiding setting up rancher with a proxy config). And only HTTP(S) is supported for helm repos
Thanks!

As of v2.5, the charts hosted as part of our new Cluster Dashboard are a helm repo at http://charts.rancher.io/index.yaml

As of v2.5, the charts hosted as part of our new Cluster Dashboard are a helm repo at http://charts.rancher.io/index.yaml


[FEATURE] consistency in data asset catalog (always raw data and all raw varibales

Is your feature request related to a problem? Please describe.

Yes, currentlt we are inconsistent
Describe the solution you'd like

Always create the documentation based on the raw data. Actually use the in_user variable to filter out. Therefore we can always check what other data is available from raw.
Describe alternatives you've considered

Additional context

Also look into splitting off in_use column. Perhaps a directory per dataset consisting of:

Documentation
Assert_
In_use
Column values


Add env and secret vars to user script metadata

👋Hi there, we’re going to close this PR due to inactivity


How can we share the Link, redirect, usePathname, and useRouter functions across modules in a monorepo project?

Is your feature request related to a problem? Please describe.
My monorepo project is expected to have many modules. I want to share these several methods.
Describe the solution you'd like
not yet
Describe alternatives you've considered
use next/navigation

What's stopping you from calling createNavigation in a shared module?
Moving to a discussion as this is a usage question …


Incorrect format of empty vector container

Found issue when adding question #78
// the first element is incorrect
vector<vector<int>> exp = {[], {1}, {2}, {1, 2}, {3}, {1, 3}, {2, 3}, {1, 2, 3}};

also found in Question #90


Improve Title component

Improve Title component to have the variants listed in the Material Design kit.
Redlines

Expected output:

Implementation in compose-material module, matching the redlines;
Previews in the debug folder for each variant;
Snapshot tests for:

each variant;
text overflow;

@luizgrp happy to pick this up :)


Fail to install on Mac OSX

@r4ecology trying to install on Mac OSX.  I have installed CDO using Homebrew,  triple checked that the path to it was on my  $PATH,  got the following:
devtools::install_github("r4ecology/rcdo", dependencies = TRUE)
Downloading GitHub repo r4ecology/rcdo@master
✔  checking for file ‘/private/var/folders/xw/mcmsdzzx4mgbttplylgs7ysh0000gp/T/Rtmp220Dbj/remotes16ad01112f0d/r4ecology-rcdo-b7f81a7/DESCRIPTION’ ...
─  preparing ‘rcdo’:
✔  checking DESCRIPTION meta-information ...
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building ‘rcdo_<IP_ADDRESS>00.tar.gz’

Installing package into ‘/Users/rmendels/Library/R/3.5/library’
(as ‘lib’ is unspecified)
* installing *source* package ‘rcdo’ ...
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** testing if installed package can be loaded
Error: package or namespace load failed for ‘rcdo’ in namespaceExport(ns, exports):
 undefined exports: nc_detect
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/Users/rmendels/Library/R/3.5/library/rcdo’
Error in i.p(...) :
  (converted from warning) installation of package ‘/var/folders/xw/mcmsdzzx4mgbttplylgs7ysh0000gp/T//Rtmp220Dbj/file16ad076470950/rcdo_<IP_ADDRESS>00.tar.gz’ had non-zero exit status
>

Thanks.
-Roy

Thanks Roy.
When did you try installing it?
I updated the namespace 7 hours ago so that nc_detect was no longer exported. So your problem should be fixed now.

@r4ecology  just tried it.  It installed.
Thanks,
-Roy

Thanks @rmendels . Let me know if there are any further issues. Still very much early stages and it take time to iron out all possible issues.


Integration test fails with Dropbox v2 api error too_many_write_operations

ref: https://teamcity.beyondstorage.io/viewLog.html?tab=buildLog&logTab=tree&filter=debug&expand=all&buildId=878&_focus=237

Oh, it's indeed a question. Technically, it's better to implement retry logic on the go-storage side. However, we don't have clear ways to do that for now.


implement SaveMetaData for ios

This feature is useful for me because error occurs on php server side(php bug). And removing exif helped me to fix this problem but on ios still not working.
Expected Behavior
exif metadata removed
Actual Behavior
still present

We already did


Job Management

Do we need to continue to have a native job manager in WebAPI? Or could Arachne provide this functionality?
Either way, we'd want to make sure that any WebAPI elements are not tied directly to the job management framework as this was a pain point in v2.x of WebAPI.
https://manib.hashnode.dev/spring-batch-with-spring-boot-3

Noting from discussion: when running in a load-balance environment with WebAPI, job management in v2.x is problematic since there were assumptions made in the job manager to cancel any "old" jobs at startup.


fix permissions on folder containing kind kubeconfig when it was crea…

…ted by kind
Kind creates the containing folder for the kubeconfig if it doesn't exist already.
With sudo kind ... this results in the folder being owned by rood.
This results make delete-kind-cluster not being able to delete the kubeconfig because a user needs write permissions on the folder to delete files from it.
Edit: if you want to test this from a mac or "non-sudo-requiring" linux setup you can apply this diff to hack/determine-container-runtime.sh (Be sure to remove the current kind cluster before switching kind users!)
diff --git a/hack/determine-container-runtime.sh b/hack/determine-container-runtime.sh
index 8118c43..b30cfe8 100644
--- a/hack/determine-container-runtime.sh
+++ b/hack/determine-container-runtime.sh
@@ -13,8 +13,8 @@ function __export_docker() {
     export CONTAINER_COMMAND="sudo docker"
     export KIND_COMMAND="sudo kind"
   else
-    export CONTAINER_COMMAND="docker"
-    export KIND_COMMAND="kind"
+    export CONTAINER_COMMAND="sudo docker"
+    export KIND_COMMAND="sudo kind"
   fi
 }

Signed-off-by: Josh Gwosdz<EMAIL_ADDRESS>

/lgtm


Scrolling Refactor

This is the widget side, not including things like scroll bars, lazy block, and app bars, which I'll submit separately.
The tests here are still inadequate, but I wanted to submit the PR for review while I worked on more tests.

Once Travis goes green I'm landing this.


Make text selectable

I can't find an option to make text inside my box selectable and thus copyable?

Uh. What?

The docs don't mention how I can make it so that text inside a box can be selected via mouse.
Here I have a box into which I pipe the output of a gulp process. But as you can see in the gif I have no way of interacting with the text:

That's not problem with blessed but with your terminal.
Usually you can have problems with selection when output gets updated. To prevent that you could try pausing stdout with ctrl+s, copy what you want and resume it with ctrl+q. That should at least work on Linux.

As I think about it now it might be also caused by blessed capturing mouse clicks.
You could try finding a way to disable that.

Ok thanks I will give that a try

mouse: false did the trick. thank you!

on mac you have to hold down fn because otherwise Blessed recieves all the mouse clicks

I found that on Linux (urxvt) you can hold down shift to select text.

I have found that it is not specifically mouse: false that will enable text selection, but rather making
sure that screen.program.enableMouse() is not called. That method can be called if you use any scroll/hover/click handling anywhere in your application, not limited to mouse: true, but also program.on('click'), the use of a hover style, or even enabling the debug log since that's scrollable.
Rather than try to disable all of those uses of mouse events, you can call screen.program.disableMouse() when you want to enable text selection, and then call screen.program.enableMouse() again when you want to use hover or click handling.
A really fortunate thing is that calling disableMouse not only re-enables native Terminal text selection, but also native scrolling. Let's say you have a Log component. By default that Log component will not scroll unless you pass mouse: true to it. So if you pass mouse: false, you'll break its scrolling. But then if you pass screen.program.disableMouse(), you'll re-enable scrolling. (And, the scrolling will be at a much nicer speed than blessed's default scrolling imo.)


STITCH-2596 - PMD configuration and driveby of some 20-30 violations

Coverage decreased (-0.04%) to 66.761% when pulling 5cd8d36916a211acd8e21c9d0feb82a6e63efcc2 on dkaminsky:STITCH-2596 into 94d68d361b18bbbbec38f6776fe0f0b741875eb7 on mongodb:master.


publications: Another classic format closer to APA

I appreciate the new Classic publication list a lot. However, it does somehow ressemble the MLA citation style. I would also suggest adding another, similar, list, closer to the APA citation style, i.e., "Authors (Year). Title. Publication".
Currently, the only difference would be that the Year would be behind Authors rather than at the end. If more detailed fields become available in the future, it would allow for more control over the presentation of the list.
I suppose it would be a new publications list style (list_format = 4 ?). The Classic style could be renamed MLA.

Here would be the code for layouts/partials/publication_li_apa.html:

    {{ with .Params.authors }}
      {{- delimit . ", " | markdownify -}}
    {{- end -}}

  ({{- .Date.Format "2006" -}}).
  {{ .Title }}.
  {{ if .Params.publication_short }}
    {{- .Params.publication_short | markdownify -}}
  {{ else }}
    {{- .Params.publication | markdownify -}}
  {{ end }}.

{{ partial "publication_links" (dict "content" . "is_list" 1) }}

@sbibauw thanks for your suggestion and contribution!
The new options for list_format in the publications widgets and the publication _index.md archive are:
# List format.
#   0 = Simple
#   1 = Detailed
#   2 = APA
#   3 = MLA

Thanks a lot for your reactivity :)


docs/environment.yml: Fix bad package dependency

Should fix the ReadTheDocs builds that have been broken for a while:
https://readthedocs.org/projects/qtawesome/builds/8159001/

Thanks!


Support Safari 11 (Safari Technology preview 32)

Safari finally supports WebRTC since... today: https://developer.apple.com/safari/technology-preview/release-notes/
Using Safari Technology preview 32, Safari ask for the permission to access the camera but RecordRTC seems to not work well with Safari. Could be good to start supporting it?
DetectRTC
Safari Stable: Browser Supports WebRTC (Either 1.0 or 1.1)?	Nope
Safari Technology preview 32: Browser Supports WebRTC (Either 1.0 or 1.1)?	Yep

Safari 11 (preview) seems supports following:

getUserMedia API
WebRTC 1.0 (RTCPeerConnection API)
enumerateDevices API (audioinput, videoinput)

No MediaRecorder API yet.
WebP encoder/decoder is not supported; that's why we can't use WhammyRecorder.

Alright, so very close. But for sure Safari 11 final will support everything. Good move from Apple, finally :)

Yep!
So, currently, same like MS-Edge, RecordRTC supports only StereoAudioRecorder on Safari 11.
var recorder = RecordRTC(stream, {
    recorderType: StereoAudioRecorder
});


Rollback disabled

Holaa,
It looks like Rollback is disabled:
https://github.com/drone/drone/blame/1c6d751d50dded95fa6c28e9842bb9bf36c89440/handler/api/api.go#L191-L193
It's not clear why, though. Commit just says "squash and merge a local branch".
Is it supposed to be?

rollback is a new feature that was never enabled. Before we can enable the endpoint we need to make some modifications to the user-interface.

Lovely!

the rollback endpoint is now enabled in master.


Add "try this extension" button

This also includes logic to construct code.quarkus.io urls in a smarter way than just adding a ?e=whatever query parameter onto the url... so it ended up being a larger code change than originally envisioned. T
I've reviewed the visuals with @insectengine.
This is the logic for urls, to hopefully avoid the situation where people following a link get a message that the extension isn't available:

If a platform extension isn't available in one of the three current releases, we don't show a button
If an extension is unlisted, we don't show a button
For non-platform extensions we show a button, with a simple query parameter, made from the group id and artifact id
For platform extensions, we pass in the 'short form' extension name and also the stream it is in. That fixes the problem where an extension is available in some stream, but not the current preferred stream.

I notice for Pact we still get a 'not found' message but I think that's because I haven't published it to the registry properly. All the others I've tested by playing around either work, or are missing and shouldn't be there.

Previews are almost working - this should be showing the results of this PR, but it's not a unique url, so no guarantees: https://extensions-quarkus-io-pr--preview.surge.sh/


[$250] [Android] mWeb/Chrome - BNP - Inserting decimal point, inconsistent behavior in mweb&Android

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: 9.0.18
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4836262
Issue reported by: Applause Internal Team
Action Performed:

Launch app in both mweb and Android
Tap fab -- submit expense
Enter 23 and keep cursor between 2&3 and type dot to insert decimal point
Note the behavior in mweb & Android

Expected Result:
Inserting decimal point, behavior must be consistent in mweb& Android.
Actual Result:
In Android, decimal point is inserted correctly in the same place but in mweb, decimal point is inserted after a number. Inserting decimal point, inconsistent behavior in mweb& Android.
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

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

Screenshots/Videos
https://github.com/user-attachments/assets/343a82d9-0c96-43f1-ac9a-fa8f2c0c5c83

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~021846593217215177350
Upwork Job ID:<PHONE_NUMBER>215177350
Last Price Increase: 2024-10-16

Issue OwnerCurrent Issue Owner: @thesahindia

We think that this bug might be related to #vip-vsb

@mallenexpensify  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989

Gonna try to pawn this off on Sheena when she gets assigned another iOS bug :)

Oh snap.... we got an Android phone on the way to the bank!  I'll be able to test soon.

Need to get Android phone setup, will do next week, bumped to Daily

Unsure when in the office this week but planning to get phone setup

Still need to get phone setup 😿

Unable to reproduce, throwing retest-weekly on here.

Waiting on retest

Issue is reproducible during KI retests.
https://github.com/user-attachments/assets/b345380f-9d6c-4342-990e-4344ac2aa02b

Wow.. I really kicked the can down the road for a while here :/
Got Android phone setup and tested both on web and native, def a bug on mWeb where decimal goes to the end instead of the being placed in the middle where the cursor is.

Hi, I am Michael (Mykhailo) from Callstack, an expert agency and I can work on this issue.

No overdue. I am working on the issue.

I understand why the bug exists. The app does not recognize a cursor change for this edge case, and the callback of onSelectionChange is not called. Working on some fix.

Since the bug is web-only we can utilize onPress (onClick) to get the latest selection. Preparing a proposal.

Proposal
Please re-state the problem that we are trying to solve in this issue.
When the user clicks on the "<" (remove) button in mWeb, any further input is inserted in a previous selection (cursor) position. For instance:

Enter 234.
Set a decimal point after 2. Result: 2.34.
Click on the remove button. Result: 234.
Set a decimal point after 3. Expected result: 23.4 but actual result: 2.34.

Video

https://github.com/user-attachments/assets/31b16467-ac54-424d-8907-412a66764db5

What is the root cause of that problem?
The app does not recognize a cursor change for this edge case, and the callback of onSelectionChange is not called. However, the cursor position displays correctly visually.
https://github.com/Expensify/App/blob/4f0ca943a51e340652885c3c1fa3dd4434b91e3f/src/components/MoneyRequestAmountInput.tsx#L307
Since the callback has not been called, the state is outdated.
https://github.com/Expensify/App/blob/4f0ca943a51e340652885c3c1fa3dd4434b91e3f/src/components/MoneyRequestAmountInput.tsx#L143-L146
Therefore any further input is inserted in order with the outdated state.
What changes do you think we should make in order to solve the problem?
The app uses BaseTextInputWithCurrencySymbol to display the input. There are platform separation for the component index.android.tsx and index.tsx. It utilizes onSelectionChange of TextInput.
I propose to create a web-specific file index.web.tsx, where I will put the next selection-specific logic:
onSelectionChange={(event: NativeSyntheticEvent<TextInputSelectionChangeEventData>) => {
    onSelectionChange(event.nativeEvent.selection.start, event.nativeEvent.selection.end);
}}
onPress={() => {
    const selectionStart = (textInputRef.current?.selectionStart as number) ?? 0;
    const selectionEnd = (textInputRef.current?.selectionEnd as number) ?? 0;
    onSelectionChange(selectionStart, selectionEnd);
}}

It utilizes one more handler — onPress — which is basically onClick on the web. The event informs the component about every click including the particular edge case. The app can take the correct selection of an input ref and update the internal state. Therefore any further input is inserted correctly.
Video

https://github.com/user-attachments/assets/4425333b-9453-4555-8365-345b8e6e0a2b

What alternative solutions did you explore? (Optional)
N/A

@thesahindia can you review the above proposal plz? thx

Sounds goo, go for it @rezkiy37 👍

I am OOO till Tuesday and will continue to work on this issue later.

@thesahindia can you complete the checklist plz?

@thesahindia plz complete the BZ checklist.

Contributor+: @thesahindia paid $250 via Upwork
Test case

https://github.com/Expensify/Expensify/issues/447172

$250 approved for @thesahindia

Note that this wasn't paid via upwork on this job: https://www.upwork.com/ab/applicants/1846593217215177350/hired


Update to test with newest jsonld-signatures version and ed25519 2020 suite

PR in progress over at https://github.com/digitalbazaar/vc-js/pull/83

Updated in PR #83, closing.


Problem in spark Task serialization.

We figured out a workaround to avoid serializing the TokenizerFactory, the object that was causing the problem.


Run a full index for initial QA

The process is run the publishing job for the full dump and then run the rake task once the files are ready. We might also want to delete the current index first just to have a clean start. Let's also do the scsb items.

@christinach every time I deploy I have to copy that one template map before I can run the index. I'm not sure why or what we can do to keep it so we don't need to do this. Do you have a sense of what will take care of that for us, or do we need a new issue here?

we have an issue yes. I was planning to do this after the flags. https://github.com/pulibrary/bibdata/issues/1168

👍🏻 thanks!

The full index clocked in at 21:10:06 elapsed.

this is done and swapped in.


Using redpbf Loader causes linker error

I want to call BPF functions through Rust, but as soon as I have an invocation of its loader class in my code, I get an error:
  = note: /usr/bin/ld: /vagrant/tmp/rs_test/_build/dev/lib/rs_test/native/rstest/debug/deps/libbpf_sys-9689b15254925376.rlib(libbpf.o): warning: relocation against `stderr@@GLIBC_2.2.5' in read-only section `.text'
          /usr/bin/ld: /vagrant/tmp/rs_test/_build/dev/lib/rs_test/native/rstest/debug/deps/libbpf_sys-9689b15254925376.rlib(libbpf.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
          /usr/bin/ld: final link failed: bad value
          collect2: error: ld returned 1 exit status

I have no clue how this happens or how to make it go away, and while I dig some more, I hope someone can shed a light on this and indicate whether this is a Rustler issue or something funny with the libraries that RedBPF depends on.
(in the meantime, I guess I'll work around by making the code a Port program, which is not as nice but should work for now).
Steps to reproduce:

Checkout https://github.com/cdegroot/rustler_issue_484
mix compile

Tested on Ubuntu 22.04 with Rust 1.56.1 (not the latest version, I know, it's tricky to get a BPF+Rust+Rusterl toolchain with all matching versions and this one worked. I don't think it is highly Rust-version sensitive though).

@cdegroot is this still relevant? The repository you linked seems to have been deleted. I suspect that the dependency was complied as a rlib and missing -fPIC, maybe that causes the linker problem.


download satellite imagery

Thanks for your nice work and the updates!
Two questions:

The original repo (from Neal) seems to download the satellite imagery using the Google Map Static API, in which they set the 'zoom' parameter as 16. Is there a correspondence on planet API? (i.e. how do we ensure we are downloading the same image sets?)

The reproduced R^2 is significantly lower than the ones reported in the original work. This happens even if I change your code to the ways that they compute the R^2 (i.e. metrics.r2_score --> spicy.stats.pearsonr()[0]**2). Though I realize you are using data sets from different years, any other ideas of why that's happening?

Thanks!
[A side note: from https://developers.google.com/maps/billing/gmp-billing, it looks like the Google Map Static API is NOT free even for the first 100K images now?]

Hey again. To address your questions:

We are actually downloading different images than the original script. This is the original image download script: https://github.com/nealjean/predicting-poverty/blob/master/scripts/get_image_download_locations.py#L13. The method I use generates the same bounding box but is more generalized/consistent with image choice within that box. An older version of this repo used that original function, but I figured the new way was better. As for correspondence with the Planet API, I manually played around with zoom levels and I found anything above zoom=14 was too low quality. zoom=16 and Google's images are higher quality and resolution. But in my tests, I found switching to Planet did not make a huge difference.

Yeah, this is one thing I encountered. This is a bit complex to answer so I'll try to be as thorough but succinct as possible. First off, make sure to change metrics.r2_score --> stats.pearsonr()[0]**2 in the evaluate_fold and find_best_alpha functions inside utils/ridge_training.py. If I do that, the Malawi r2 goes from 0.26 to 0.29 and the Nigeria r2 from 0.19 to 0.22 (these are the two countries shared). Not a huge change, but also more than one might expect. Second, the data distribution does seem different over the years for these two countries (just looking at the graph in papers/jean_et_al.pdf vs my own, so that could be anywhere from a small to a huge factor. Third, some details of the training procedure / nightlights filtering procedure are not available in code. They were somewhat described in papers/aaai16.pdf, but the results discussed in that more detailed paper are different and I couldn't find more explanation. Fourth, the model I initialize is also different (they use a fully convolutional one). Fifth, there are a few miscellaneous other differences (adult equivalent adjustment vs per capita adjustment). Given all of this, once I got the results I did here I figured it was "close enough", especially because a lot of the steps taken in the original paper are actually unnecessary/could be done differently (ex: transfer learning on nightlights instead of the actual metrics, and binning using a GMM instead of a quantile cut). All this being said, I agree this is not ideal, and as a first step checking this approach on the data used by the original paper would be great. Planet images should be available too so the extra work should only involve downloading data and preprocessing it into the specific format expected. We can correspond more on this if you're interested.

As for the last point, dang that really sucks. That is definitely a recent change. Being able to do this almost instantly at very little cost was huge.  :(

Thank you so much for your insightful comments here! now I kind of see how the work goes.

Thanks so much for the detailed explanations, now I kind of see how it goes ... these are very insightful notes.


New cam3d! and scale! issue

Since 0.15.0 the example at https://github.com/JuliaPlots/Makie.jl/issues/1115#issuecomment-879070279 stopped working:

scale! does scale the axis labels and ticks anymore:

new cam3d! with projectiontype=Makie.Orthographic behaves badly (without the scale! in the previous example): I'm trying to un-zoom and drag the scene but it obviously fails (whereas using old_cam3d! or projectiontype=Makie.Perspective is OK):

Replacing https://github.com/JuliaPlots/Makie.jl/blob/d5eb92de73fa3f014abad4ca22102e5af789f676/src/camera/camera3d.jl#L571
with camera.zoom_mult[] = norm(middle - neweyepos) fixes at least the zoom issue.


Bug: forest daemon crashes during bitswap get query

Describe the bug

Forest daemon crashes with snapshot: filecoin_snapshot_calibnet_2022-12-09_height_108720.car
using libp2p-bitswap fork at<EMAIL_ADDRESS>To Reproduce
Steps to reproduce the behavior (WIP):

Go to '...'
Run '....'
See error

Log output

Log Output
2023-01-10T11:22:59.031729Z  WARN forest_libp2p::service: Fail to send ChainExchange response
thread 'tokio-runtime-worker' panicked at 'assertion failed: state.block.is_some()', /root/.cargo/git/checkouts/libp2p-bitswap-60205aaf66f912c5/6f14bc9/src/query.rs:216:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    1484452 IOT instruction (core dumped)  target/release/forest --chain calibnet --target-peer-count 50  false

Expected behaviour

Screenshots

Environment (please complete the following information):

OS: Ubuntu 22.04 LTS x86_64, kernel: 5.15.0-52-generic
Rust version(e.g. `rustc 1.68.0-nightly (b70baa4f9 2022-12-14))
Branch/commit: bd4c43e40bf527f3cc839d5c095b65899e4031f4

Other information and links

I will take a look


SAA-1432: Added appointment attendance to daily metrics

Overview
Adds the following metrics to the appointment's daily metrics event:

attendanceRecordedCount
attendanceRecordedAttendedCount
attendanceRecordedNotAttendedCount

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

Comparison is base (83bd21b) 86.62% compared to head (bed8e65) 86.63%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #725      +/-   ##
============================================
+ Coverage     86.62%   86.63%   +0.01%
- Complexity     3461     3463       +2
============================================
  Files           358      358
  Lines         11843    11853      +10
  Branches       1000     1000
============================================
+ Hits          10259    10269      +10
  Misses         1111     1111
  Partials        473      473

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


Trajopt not finding Gurobi

When I attempt to build trajopt, I get the error message:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GUROBI_LIBRARY (ADVANCED)
linked by target "sco" in directory /home/ams/trajopt/src/sco
-- Configuring incomplete, errors occurred!
I have Gurobi installed in /home/ams/gurobi651, and GUROBI_HOME set to: /home/ams/gurobi651/linux64
I tried adding "gurobi65" to the NAMES section of FindGUROBI.cmake, in the trajopt cmake/modules directory, but that didn't fix it.

Invoking cmake with
cmake .. -DGUROBI_LIBRARY=/home/ams/gurobi651/linux64/lib/libgurobi65.so
gets most of trajopt to link.
I also get the error message
/home/ams/trajopt/src/cloudproc/cloudprocpy.cpp:11:45: fatal error: pcl_conversions/pcl_conversions.h: No such file or directory
#include <pcl_conversions/pcl_conversions.h>
^
compilation terminated.
but this is probably unrelated.

Thanks, that fixed it for me.


eval-source-map breakpoints do not get hit, and when setting breakpoint, breakpoint jumps to different line

I am trying for the life of me to get one of the more efficient source map option working.
When I use any source-map oriented devtool setting, if I try and set a breakpoint in Chrome 48.0.2564.82, it jumps to a different line that what I selected.
If I use eval-source-map not only do I get the line number jump, but I also never get a break point stop even on the line it jumped to.

+1

I'm considering ditching webback for system.js cause of this, absolute headache.
+10000000000000000000000000000000000000000000000000000000000000

This appears to be the same issue as #1487

I've noticed this as well. It does not occur in all methods of my code, but //comments seem to make it happen more often than not in code that follows the comment.

Closing as duplicate.


Configure issue in test-packet-ubuntu1604-x64-1 results test failure for RC1 build

IPV6 and Intel 6 test is failing in this particular machine all the time test-packet-ubuntu1604-x64-1.
To see the pattern: https://ci.adoptopenjdk.net/job/openjdk8_j9_openjdktest_x86-64_linux/
In the above link, job https://ci.adoptopenjdk.net/job/openjdk8_j9_openjdktest_x86-64_linux/433/ & 436 fails on these tests,
-- | --
java/net/Inet6Address/B6206527.java.B6206527 | 0.34 sec | 1
java/net/ipv6tests/B6521014.java.B6521014 | 0.44 sec | 1
java/net/ipv6tests/UdpTest.java.UdpTest
However, the same job runs on test-packet-ubuntu1604-x64-2 it all passes in other jobs listed. and this is xlinux plateform
Looks like, related to machine configure issue rather than tests issue.

Hi @sxa555 sorry for the delay, was caught up on something else with priority.
I have just run this job which is running only java/net in the same machine.

Looks like it failed to build something on there:
12:44:37 cc   setup_.o   -o setup_
12:44:37 cc: error: setup_.o: No such file or directory
12:44:37 cc: fatal error: no input files
12:44:37 compilation terminated.
12:44:37 <builtin>: recipe for target 'setup_' failed
12:44:37 make: *** [setup_] Error 1
12:44:37 make: Leaving directory '/home/jenkins/workspace/Grinder/openjdk-tests/openjdk_regression'

@archanaNogriya What's the status of this? The last error message you posted didn't appear to be anything to do with the configuration of the machine as far as I can tell

@sxa555 I think this has not been reported again so let's close this.

Looks like it failed to build something on there:
12:44:37 cc   setup_.o   -o setup_
12:44:37 cc: error: setup_.o: No such file or directory
12:44:37 cc: fatal error: no input files
12:44:37 compilation terminated.
12:44:37 <builtin>: recipe for target 'setup_' failed
12:44:37 make: *** [setup_] Error 1
12:44:37 make: Leaving directory '/home/jenkins/workspace/Grinder/openjdk-tests/openjdk_regression'

For my own reference, this happens if you specify a CUSTOM_TARGET but not a TARGET parameter in grinder


What to do after building with make?

I guess this would be obvious if one were competent in Rust, but as someone who just wants to use the library it's kind of hard figure out what to do after successfully building & passing all the tests. I guess one should use cargo, which seems to be a package manager for rust? It would be nice to have the last few steps required to get it added to PATH such that the commands are callable, ( I need git-lfs-transfer in particular ).

Found it, just copied from target/release, was kind of straightforward


fix(deps): update gomod

This PR contains the following updates:

Package
Type
Update
Change

github.com/IBM/go-sdk-core/v5
require
patch
v5.18.1 -> v5.18.3

github.com/gruntwork-io/terratest
require
minor
v0.47.2 -> v0.48.0

github.com/hashicorp/terraform-json
require
minor
v0.23.0 -> v0.24.0

golang.org/x/crypto
require
minor
v0.30.0 -> v0.31.0

Release Notes

IBM/go-sdk-core (github.com/IBM/go-sdk-core/v5)
v5.18.3
Compare Source
Bug Fixes

bump golang.org/x/crypto to avoid CVE-2024-45337 (#234) (4b6901f)

v5.18.2
Compare Source
Bug Fixes

wrap full validation errors instead of just their message (#232) (1bfb146)

gruntwork-io/terratest (github.com/gruntwork-io/terratest)
v0.48.0
Compare Source
Modules affected

terraform
aws
helm
logger
http-helper
opa
docker

What's Changed

fix: replace the deprecated logger.Logf and logger.Log for the new Logger by @seblaz in https://github.com/gruntwork-io/terratest/pull/1449
fix: issue --namespace showing twice by @james03160927 in https://github.com/gruntwork-io/terratest/pull/1452
chore: Bump rexml from 3.3.3 to 3.3.9 in /docs by @dependabot in https://github.com/gruntwork-io/terratest/pull/1458
fix: add GetWhetherSchemaExistsInRdsPostgresInstance by @james03160927 in https://github.com/gruntwork-io/terratest/pull/1465
fix: Make Log and Logf threadsafe by @james03160927 in https://github.com/gruntwork-io/terratest/pull/1467
fix: Update resource by @james03160927 in https://github.com/gruntwork-io/terratest/pull/1472
chore: update go.mod pkg for GCP, DNS and few other shared pkg. fix #1414 by @wakeful in https://github.com/gruntwork-io/terratest/pull/1469
fix: #1363 build lambda bin from src instead using a blob + bump ext pkg. by @wakeful in https://github.com/gruntwork-io/terratest/pull/1470
feat: Add put method into AWS Secrets Manager helper interface. by @forjor in https://github.com/gruntwork-io/terratest/pull/1466
feat: Opa EvalWithOutput by @james03160927 in https://github.com/gruntwork-io/terratest/pull/1468
chore: migrate to AWS SDKv2, updating only singnatures and making sure tests are passing by @wakeful in https://github.com/gruntwork-io/terratest/pull/1451
feat: Renaming master to main wherever it's referenced by @yhakbar in https://github.com/gruntwork-io/terratest/pull/1476
feat: add platform parameter to docker run command. fix #1310 by @wakeful in https://github.com/gruntwork-io/terratest/pull/1471
chore: Upgrade github.com/hashicorp/go-getter to v2 for remove indirect github.com/aws/aws-sdk-go reference by @bozaro in https://github.com/gruntwork-io/terratest/pull/1477
fix: do not log ec2 keypair by @james03160927 in https://github.com/gruntwork-io/terratest/pull/1480
feat: httpdo* with global proxy by @james03160927 in https://github.com/gruntwork-io/terratest/pull/1481
fix: #1478 we should copy the TF module into a temporary directory before running tests in parallel by @wakeful in https://github.com/gruntwork-io/terratest/pull/1479
fix: JSON output fetching fixes by @denis256 in https://github.com/gruntwork-io/terratest/pull/1462

New Contributors

@seblaz made their first contribution in https://github.com/gruntwork-io/terratest/pull/1449
@wakeful made their first contribution in https://github.com/gruntwork-io/terratest/pull/1469
@forjor made their first contribution in https://github.com/gruntwork-io/terratest/pull/1466
@yhakbar made their first contribution in https://github.com/gruntwork-io/terratest/pull/1476
@bozaro made their first contribution in https://github.com/gruntwork-io/terratest/pull/1477

Full Changelog: https://github.com/gruntwork-io/terratest/compare/v0.47.2...v0.47.3

hashicorp/terraform-json (github.com/hashicorp/terraform-json)
v0.24.0
Compare Source
ENHANCEMENTS:

Add support for write-only attributes by @SarahFrench in https://github.com/hashicorp/terraform-json/pull/146

INTERNAL:

build(deps): Bump workflows to latest trusted versions by @hashicorp-tsccr in https://github.com/hashicorp/terraform-json/pull/141
Add CONTRIBUTING.md by @radeksimko in https://github.com/hashicorp/terraform-json/pull/143
ci: Report test coverage by @radeksimko in https://github.com/hashicorp/terraform-json/pull/144
Bump github.com/zclconf/go-cty from 1.15.0 to 1.15.1 by @dependabot in https://github.com/hashicorp/terraform-json/pull/145

New Contributors

@SarahFrench made their first contribution in https://github.com/hashicorp/terraform-json/pull/146

Full Changelog: https://github.com/hashicorp/terraform-json/compare/v0.23.0...v0.24.0

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

ℹ Artifact update notice
File name: go.mod
In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

9 additional dependencies were updated

Details:

Package
Change

github.com/go-logr/logr
v1.3.0 -> v1.4.2

github.com/hashicorp/hcl/v2
v2.17.0 -> v2.22.0

github.com/tmccombs/hcl2json
v0.5.0 -> v0.6.4

github.com/zclconf/go-cty
v1.15.0 -> v1.15.1

go.opentelemetry.io/otel
v1.16.0 -> v1.29.0

go.opentelemetry.io/otel/metric
v1.16.0 -> v1.29.0

go.opentelemetry.io/otel/trace
v1.16.0 -> v1.29.0

golang.org/x/mod
v0.17.0 -> v0.18.0

golang.org/x/tools
v0.21.1-0.20240508182429-e35e4ccd0d2d -> v0.22.0

/run pipeline

:tada: This PR is included in version 1.42.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Ghostty breaks when setting gtk-titlebar = false, and gtk-tabs-location = hidden on Linux

Hi, i'm trying to configure tabs because i don't really want to use tmux, i just want to remove visualy the tabs completely, because they take space. My issue is when setting gtk-tabs-location = hidden. Ghostty breaks to one single color like this:

I'm running Arch Linux with Hyprland, installed Ghostty by building it from source with zig.

This has enough details that I want to see if this can be reproduced before moving to discussions.

I have same issue. Manjaro, also Hyprland, Ghostty build from AUR. Blank noninteractive block after adding gtk-tabs-location = hidden. My full config:
theme = GruvboxDark
window-theme = ghostty
font-size = 10
font-family = FiraMono Nerd Font
gtk-titlebar = false
gtk-tabs-location = hidden

same issue here Arch Linux with Hyprland

Ghostty built from source via zig build -p $HOME/.local -Doptimize=ReleaseFast
I'm also running Arch Linux with Hyprland.

Can confirm this happens to me too; built from the nix flake 15 minutes ago; also using hyprland.

I don't think this is Hyprland specific it happens on awesomewm aswell and I installed the package via pacman

I have the same issue on kubuntu, i3. I have complied form source with tag v.1.0.0

Same issue on arch and wayland, but like mentioned above it also only happens when I set both
gtk-titlebar = false gtk-tabs-location = hidden
No issues when setting either of these alone

I can't reproduce the issue with 1.0.1-main+35b9ceee, GTK 4.16.7, Wayland
Has anyone experiencing this issue been able to reproduce it in HEAD? Also try running ghostty from the command line to see the logs

The logs look simular to when it work at the start, but it gets stuck after the line below.
If I try to open inspector ghostty crashes
info: ghostty version=1.0.1-main+6cbd69da
info: ghostty build optimize=ReleaseFast
...
Enabled features (use GDK_GL_DISABLE env var to disable):
    debug: YES
    unpack-subimage: YES
    half-float: YES
    sync: YES
    base-instance: YES
    buffer-storage: YES
OpenGL version: 4.6 (core)
* GLSL version: 4.60 NVIDIA
* Max texture size: 32768

Enabled features (use GDK_GL_DISABLE env var to disable):
    debug: YES
    unpack-subimage: YES
    half-float: YES
    sync: YES
    base-instance: YES
    buffer-storage: YES

Happens to me on KDE Plasma, Arch Linux.

Try setting window-decoration to false.
Refer to https://ghostty.org/docs/config/reference#gtk-titlebar
Works on Fedora 41 and swaywm.

In my case it causes a total crash of Ghostty with:
gtk-titlebar = false
gtk-tabs-location = hidden

I submitted the crashes to Sentry via sentry-cli:
body: {"id":"964831154c0b4f17b658fdaba032f1ab"}
body: {"id":"1c06f7dbea404811bbf6a9ed403e44d4"}
body: {"id":"c0a2911c227747fa49eb0ae333ff575f"}
body: {"id":"21099ab09fc4425c34f3ff90a8b28296"}
body: {"id":"8c02b0427e014356a9f6f8b0b76a22b5"}
body: {"id":"c891685ce6b049223158087a85b91915"}

Same issue on arch and wayland, but like mentioned above it also only happens when I set both
gtk-titlebar = false
gtk-tabs-location = hidden

No issues when setting either of these alone

I'm trying to investigate 😄

setting window-decoration = false disables GTK top bar meanwhile changing again to window-decoration = true the GTK breaks and doesn't restore the decoration.

If you're on GNOME, then I don't think not having window decorations works. There are no SSDs for Wayland applications on GNOME.

thx u so much @mitchellh

If you're on GNOME, then I don't think not having window decorations works. There are no SSDs for Wayland applications on GNOME. I also don't understand what "breaks" means.

Sorry for the mis explanation, GTK doesn't breaks it just doesn't restore the top bar when you set to true but, substituting:
window-decoration = true
for
gtk-titlebar = true
gtk-tabs-location = top
works perfectly


[SP-4208][PDI-16562]-Comparison of Binary fields of same length and value fails

fixed. changed Arrays.hashCode->Arrays.deepHashCode

Build Completed
:x: This pull request has errors. They will need to be addressed before it can be accepted. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f core/build.xml clean-all resolve jacoco && ant -f core/build.xml checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  core/src/org/pentaho/di/core/row/RowMeta.java
  core/test-src/org/pentaho/di/core/row/RowMetaTest.java

Checkstyle violations
The code submitted is not complying with one or more of our guidelines. To perform these checks locally, please use this tool.
/home/buildguy/project/core/test-src/org/pentaho/di/core/row/RowMetaTest.java

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 500 Column: 20

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 500 Column: 44

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 500 Column: 52

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 500 Column: 53

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 501 Column: 14

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 501 Column: 36

Build Completed
:white_check_mark: This pull request has passed all validations.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f core/build.xml clean-all resolve jacoco && ant -f core/build.xml checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  core/src/org/pentaho/di/core/row/RowMeta.java
  core/test-src/org/pentaho/di/core/row/RowMetaTest.java


Eventlist

Hi,
is there an any list of all events with charts (such as "onclick")?
Does the charts supports mobile gestures events (such as "tab" or "doubletab")?

+1 for tap and double tap events, any idea when they will be implemented?

Closing this issue which was related to an event list.
For proper feature request please open a dedicated issue.


Firebase notification not receivig even though I got InstanceID token from android in log Xamarim

I am new to Xamarin, I want to use firebase cloud messaging services, I am following the instruction given here(Remote Notifications with Firebase Cloud Messaging[https://docs.microsoft.com/en-us/xamarin/android/data-cloud/google-messaging/remote-notifications-with-fcm?tabs=vswin]). When I ran the app and got the InstanceID token from log window, but when I used it in firebase console to send notification I am not getting the notification in my android app running in emulator. Please help me know, what can be the reason for the same to not working. Will appreciate your support.

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

ID: 8d9bfb2a-2e5d-d505-337f-919251a85de3
Version Independent ID: 695bff64-ae87-8c0f-5616-20b67893fdf0
Content: Remote Notifications with Firebase Cloud Messaging - Xamarin
Content Source: docs/android/data-cloud/google-messaging/remote-notifications-with-fcm.md
Service: unspecified
GitHub Login: @mgmclemore
Microsoft Alias: mamcle

Hi @kafee651, unfortunately we cannot respond to individual help requests via this site. However, you may find this Stack Overflow discussion helpful.


Expose GCP archive member setting in API

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.
@bjorncs

15:17:44 [ERROR] Failures:
15:17:44 [ERROR]   UserApiTest.testUserManagement:67 expected:<...erSize": 5
15:17:44   },
15:17:44   "a[]pplications": [ ],
15:17:44  ...> but was:<...erSize": 5
15:17:44   },
15:17:44   "a[rchiveAccess": { },
15:17:44   "a]pplications": [ ],
15:17:44  ...>


g++ : error: _Pragma takes a parenthesized string literal

Environment
toml++ version and/or commit hash:

commit hash: fe28ec8
Compiler:

g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
C++ standard mode:

c++17
Target arch:

x64
Library configuration overrides:

Relevant compilation flags:

g++ main.cpp -std=c++17 -I ./include/

main.cpp : starts with #include "toml.hpp"
include :  contains toml.hpp

Describe the bug

In file included from main.cpp:1:
./include/toml.hpp:794:1: error: _Pragma takes a parenthesized string literal
794 | TOML_DISABLE_WARNINGS;
| ^~~~~~~~~~~~~~~~~~~~~
[...]
In file included from main.cpp:1:
./include/toml.hpp:329:21: error: ‘_Pragma’ does not name a type
329 |                     _Pragma(
|                     ^~~~~~~
./include/toml.hpp:344:5: note: in expansion of macro ‘TOML_DISABLE_SPAM_WARNINGS’
344 |     TOML_DISABLE_SPAM_WARNINGS;
|     ^~~~~~~~~~~~~~~~~~~~~~~~~~
[...]

Eh it will depend on the Catch2 submodule being cloned in external/Catch2 (see CONTRIBUTING.md). The various examples are self-contained, though. You should be able to compile them without issue so long as the include/ is one of the include paths.

Any success @vincentberenz? I haven't been able to reproduce what you're seeing; I've tested the naive case above on all major versions of g++ from 7 onwards and all work without error.


Question on 4096

i have read the https://github.com/cloudwego/shmipc-spec but there are too many things to consider
so question is,

for the idl section,

var BufferPool = sync.Pool{New: func() interface{} {
	return make([]byte, 4096)
}}

if the message i sent is 256bytes, the message received back is 1 byte, what is the ideal make byte number i should put?
4096 is "too much"? should i do 256 bytes + message passing overhead?

what is the min overhead of this []byte for message passing? i would like to make each transfer use one bytebufferpool efficiently.

@zhquzzuli @goodbye-babyer any help on this one? :)


Bumping go version to 1.20.7

Bumping go version to 1.20.7

/cherry-pick v0.43.x

/cherry-pick v0.44.x

/cherry-pick v0.45.x


Best practices for scoping production apps

May want to give examples of initd/systemd configurations.  This idea is from the #appscope channel in the Cribl Community slack.
"What's the best practice to implement appscope for productive applications? Ordinary these applications are handled by systemd or init. However I don't want to change these scripts to include scope because they are delivered and updated by the companies that developed the apps."

Closing as part of clean-up at the moment
If needed, will be reopened to track the relevant work