Assistance Needed: Configuration Issue with Google Ads Java Library in IntelliJ IDEA

We are facing challenges with adding campaigns while configuring the Google Ads Java Library in Intellij IDEA using the Gradle builder. Despite trying different methods, such as verifying the presence of the ads.properties file in the home directory and importing all dependencies, we have been unable to resolve the issue.
The following error persists:
examples
beust
joda
params
DateTime
Even after attempting to import the necessary classes using commands like:
These lines appear in red, indicating that the imports are unsuccessful.
import static com.google.ads.googleads.examples.utils.CodeSampleHelper.getPrintableDateTime;
import com.beust.jcommander.Parameter;
import com.google.ads.googleads.examples.utils.ArgumentNames;
import com.google.ads.googleads.examples.utils.CodeSampleParams;
import org.joda.time.DateTime;
Versions:
Client library version: google-ads-examples
JDK version: 11.0.18
Please find the attached file for the request code.
Googleads_request_1.txt
also find dependencies here:
dependencies {
implementation ("com.google.api-ads:google-ads:30.0.0")
testImplementation platform('org.junit:junit-bom:5.9.1')
testImplementation 'org.junit.jupiter:junit-jupiter'
}
Please prioritize your attention to resolving this issue promptly. Your assistance in addressing this matter is greatly appreciated.

Looking at your source code, you can just remove the following imports since they aren't used:
import com.beust.jcommander.Parameter;
import com.google.ads.googleads.examples.utils.ArgumentNames;
import com.google.ads.googleads.examples.utils.CodeSampleParams;

To resolve the dependency for:
import org.joda.time.DateTime;

add the following to your dependencies list:
  implementation("joda-time:joda-time:2.8.2")

Thanks,
Josh, Google Ads API Team

Hi Team,
Thanks for the support, As suggested added dependencies but we are still encountering additional issues with
examples.utils.CodeSampleHelper.getPrintableDateTime
params.customerId
getPrintableDateTime()
Attaching the code for your reference.
Googleads_request_2.txt
Regards,
OIC Team

Hi,
You still have the following static import at the top:
import static com.google.ads.googleads.examples.utils.CodeSampleHelper.getPrintableDateTime;
If you remove that, you'll also need to adjust line 95 and replace the call to getPrintableDateTime with something that makes each campaign's name unique if you run the sample multiple times:
.setName("Interplanetary Cruise Budget #" + getPrintableDateTime())
Thanks,
Josh

Hi Josh,
Thanks for the clarification now i am getting another error please find the in attached document.
Googleads_request_3.txt
ERROR:
Files\JetBrains\IntelliJ IDEA Community Edition 2023.3.5\lib\idea_rt.jar" org.example.AddCampaigns<PHONE_NUMBER>
Connected to the target VM, address: '<IP_ADDRESS>:52076', transport: 'socket'
Error: Unable to initialize main class org.example.AddCampaigns
Caused by: java.lang.NoClassDefFoundError: com/google/ads/googleads/v16/errors/GoogleAdsException
Disconnected from the target VM, address: '<IP_ADDRESS>:52076', transport: 'socket'
Process finished with exit code 1

Hi Josh,
Below are the dependencies we are currently using:
We are utilizing IntelliJ IDEA with Java version 11.0.18 and employing the Gradle builder.
Dependencies
plugins {
id 'java'
}
group = 'org.example'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
implementation ("com.google.api-ads:google-ads:30.0.0")
implementation("joda-time:joda-time:2.8.2")
testImplementation platform('org.junit:junit-bom:5.9.1')
testImplementation 'org.junit.jupiter:junit-jupiter'
}
test {
useJUnitPlatform()
}

Hi,
I just used your Googleads_request_3.txt source file to create a Gradle project with a build.gradle matching your previous comment, and I ran the AddCampaigns example without issue in IntelliJ IDEA.
What happens if you run ./gradlew build from your project's root directory? Does it succeed?
Also, could you try running your sample from the command line? To do this, please add the following line in your plugins section:
  id: 'application'

and add the following section:
application {
    mainClass = 'org.example.AddCampaigns'
}

Then you can run the example from your project directory using:
./gradlew run --args=YOUR_CUSTOMER_ID

Thanks,
Josh

Hi Josh,
Please find the outcomes here:
When I ran ./gradlew build from the project's root directory, it
succeeded. Below are the logs for your reference
8:58:11 PM: Executing 'build'...

Task :compileJava
Task :processResources NO-SOURCE
Task :classes
Task :jar UP-TO-DATE
Task :startScripts
Task :distTar
Task :distZip
Task :assemble
Task :compileTestJava NO-SOURCE
Task :processTestResources NO-SOURCE
Task :testClasses UP-TO-DATE
Task :test NO-SOURCE
Task :check UP-TO-DATE
Task :build

BUILD SUCCESSFUL in 12s
5 actionable tasks: 4 executed, 1 up-to-date
8:58:24 PM: Execution finished 'build'.

gradlew run --args=9715597582

Task :run
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for
further details.
<=========----> 75% EXECUTING [3m 37s]
:run

On Mon, Apr 1, 2024 at 8:39 PM Josh Radcliff @.***> wrote:

Hi,
I just used your Googleads_request_3.txt source file to create a Gradle project with a build.gradle matching your previous comment, and I ran the AddCampaigns example without issue in IntelliJ IDEA.
What happens if you run ./gradlew build from your project's root directory? Does it succeed?
Also, could you try running your sample from the command line? To do this, please add the following line in your plugins section:
id: 'application'
and add the following section:
application {
mainClass = 'org.example.AddCampaigns'
}
Then you can run the example from your project directory using:
./gradlew run --args=YOUR_CUSTOMER_ID
Thanks,
Josh
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Hi,
What was the end result of running ./gradlew run...? The output from your last reply only shows it reached 75% progress:
gradlew run --args=xxxxx

> Task :run
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for
further details.
<=========----> 75% EXECUTING [3m 37s]

FWIW, if you expand your project in IntelliJ it should look something like this:

Thanks,
Josh

Hi Josh,
After executing the command gradlew run --args=xxxxx, the process
seems to be stuck as it has been more than 5 minutes without any
progress.

Task :run
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for
further details.
<=========----> 75% EXECUTING [6m 22s]
:run

On Mon, Apr 1, 2024 at 10:42 PM Josh Radcliff @.***> wrote:

Hi,
What was the end result of running ./gradlew run...? The output from your last reply only shows it reached 75% progress:
gradlew run --args=xxxxx

Task :run
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for
further details.
<=========----> 75% EXECUTING [3m 37s]

FWIW, if you expand your project in IntelliJ it should look something like this:
image.png (view on web)
Thanks,
Josh
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Hello Josh,
The above mentioned all the external libraries have been configured in our project, although it's throwing errors. Kindly review and update accordingly.

Hi,

After executing the command gradlew run --args=xxxxx, the process
seems to be stuck as it has been more than 5 minutes without any
progress.

Have you confirmed that you have valid credentials set in your ads.properties file in your home directory as described in https://developers.google.com/google-ads/api/docs/client-libs/java/getting-started#configure_the_client_library_with_your_credentials? If the refresh token is invalid, the Google Auth library will keep retrying.
You can check if this is the cause by adding the --info argument as follows:
./gradlew --info run --args=xxx

If you see the following message printed to the console, then your ads.properties is not configured correctly.
Status: Status{code=UNAVAILABLE, description=Credentials failed to obtain metadata,
  cause=com.google.auth.oauth2.GoogleAuthException:
  com.google.api.client.http.HttpResponseException: 400 Bad Request
POST https://oauth2.googleapis.com/token
{
  "error": "invalid_grant",
  "error_description": "Token has been expired or revoked."
}

You can create valid credentials by following our OAuth guide or using the OAuth Playground.
Thanks,
Josh

Hello Team,
We are awaiting the resolution. Please provide an update.

Please add the following to your dependencies and issue the gradlew --info run --args=XXX command again.
runtimeOnly 'org.apache.logging.log4j:log4j-slf4j-impl:2.16.0'

This will provide additional logging to help debug the problem.
Thanks,
Josh

Hi,
We came to know that customer match implementation will suites our requirement. So we are currently working on integrating customer relationship management (CRM) data in bulk to create a user list.
while using the below git library: https://github.com/googleads/google-ads-java/blob/main/google-ads-examples/src/main/java/com/google/ads/googleads/examples/remarketing/AddCustomerMatchUserList.java
we are facing the below errors:
Request
MethodName: google.ads.googleads.v16.services.UserListService/MutateUserLists
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=9715597582, x-goog-api-client=gl-java/11.0.18__Oracle-Corporation__18.9 gccl/30.0.0 gapic/30.0.0 gax/2.43.0 grpc/1.61.1}
Body: customer_id: "9715597582"
operations {
create {
crm_based_user_list {
upload_key_type: CONTACT_INFO
}
name: "Customer Match list #85e9d235-95e6-400b-aa6b-f3cd591a02d3"
description: "A list of customers that originated from email addresses"
membership_life_span: 30
}
}
Response
Headers: null
Body: null
Failure message: null
Status: Status{code=UNAVAILABLE, description=Credentials failed to obtain metadata, cause=com.google.auth.oauth2.GoogleAuthException: com.google.api.client.http.HttpResponseException: 401 Unauthorized
POST https://oauth2.googleapis.com/token
at com.google.auth.oauth2.GoogleAuthException.createWithTokenEndpointResponseException(GoogleAuthException.java:127)
at com.google.auth.oauth2.GoogleAuthException.createWithTokenEndpointResponseException(GoogleAuthException.java:143)
at com.google.auth.oauth2.UserCredentials.doRefreshAccessToken(UserCredentials.java:273)
at com.google.auth.oauth2.UserCredentials.refreshAccessToken(UserCredentials.java:178)
at com.google.auth.oauth2.OAuth2Credentials$1.call(OAuth2Credentials.java:270)
at com.google.auth.oauth2.OAuth2Credentials$1.call(OAuth2Credentials.java:267)
at java.base/java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:264)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java)
at com.google.auth.oauth2.OAuth2Credentials$RefreshTask.run(OAuth2Credentials.java:635)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: com.google.api.client.http.HttpResponseException: 401 Unauthorized
POST https://oauth2.googleapis.com/token
at com.google.api.client.http.HttpResponseException$Builder.build(HttpResponseException.java:293)
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1118)
at com.google.auth.oauth2.UserCredentials.doRefreshAccessToken(UserCredentials.java:271)
... 9 more
}.
Disconnected from the target VM, address: '<IP_ADDRESS>:56563', transport: 'socket'
Process finished with exit code 130
Please find
AddCustomerMatchUserList_request2.txt
the attached file for the request code.

That error means that the OAuth credentials you are using are not valid. A few possible causes of this are:

The values for api.googleads.clientId, api.googleads.clientSecret, and api.googleads.refreshToken in your ~/ads.properties file are not set correctly. Please make sure that you're setting these to the same client ID, client secret, and refresh token you used and got back in the OAuth Playground.
The refresh token you have in your ~/ads.properties file for api.googleads.refreshToken has been revoked. This seems unlikely, but worth checking.

Thanks,
Josh

Hi,
I tried again to generate new OAuth refresh token, Is there any document for crosschecking the way iam doing is correct or not for generating access token/ refresh token for Java clint librarys.
Thankyou.

Hi,
We have a YouTube playlist
https://youtube.com/playlist?list=PLKByxjzUC-N9gWKMqpi5S0WIVc4o_Ukdj&si=YhCIool7Qu0Kpbi1
that walks through generating credentials and seeing up the configuration
file. In particular, https://youtu.be/NaBfgDZDOEs?si=2_4wbiGPBe8sHV6k
covers the latter.
Thanks
On Mon, Apr 8, 2024, 6:24 AM OICUSERICX @.***> wrote:

Hi,
I tried again to generate new OAuth refresh token, Is there any document
for crosschecking the way iam doing is correct or not for generating access
token/ refresh token for Java clint librarys.
Thankyou.
—
Reply to this email directly, view it on GitHub
https://github.com/googleads/google-ads-java/issues/787#issuecomment-2042389161,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABOA6F75PB2KZMR5YOPMCQ3Y4JV7DAVCNFSM6AAAAABFMSQH56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBSGM4DSMJWGE
.
You are receiving this because you were assigned.Message ID:
@.***>

Hi Team,
While we have succeeded in creating a CRM-based user list, we're currently facing difficulties in passing CRM user IDs or any third-party user IDs to the created user list. We need assistance on how to add users to CRM based user list with CRM IDs. Your help would be much appreciated.

Please reach out to Google Ads API support by filling out the form at https://developers.google.com/google-ads/api/support/contact.


[20.09]: python3Packages.nmigen: fix build

Motivation for this change
Fixes python3Packages.nmigen build on release-20.09 branch.
Backport of #97617
ZHF: #97479
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Slight problem: the commit you've referenced in the cherry-pick, 275718d4f17d9a5dea0d1af25032a55a2c62d3a0, isn't the final commit that made it into master. Whoever merged it into master must have done a rebase-merge. Could you fix this please? Otherwise the commit you're referring to will be garbage collected by everything and will cease to exist.

@risicle I think I fixed it. Not exactly sure how to check this/how you saw it.

Whoever merged it into master must have done a rebase-merge.

I'm not a big fan of merge commits, so I prefer rebase-merge. Git history looks a lot nicer

Not exactly sure how to check this/how you saw it.

If you select the commit referenced by cherry-pick, it will mention "this commit doesn't exist"


hello, I have some trouble with koa-router

I use koa-router just like connect, but I found it din't work, here is my code in connect:

connect.
When I visit 'xxx.com/test', it'll through m1, then to m2.

app.use( '/', m1 );
app.use( '/test', m2 );

koa-router.
When I visit 'xxx.com/test', it just came to m2.

r1 = new KoaRouter();
r2 = new KoaRouter();
r1.get( '/', m1 );
r2.get( '/test', m2 );
app.use( r1.middleware() );
app.use( r2.middleware() );

or like this way.
app.use( KoaRouter( app ) );
app.get( '/', m1 );
app.get( '/test', m2 );

Is there some problem in my code? I want to log some access information.
Thank you every much.

@alexmingoia
app.use('/api', authMiddleware, router.middleware());
app.use('/static', serve());

app.use(function) only takes 1 argument.


Notifs post email functionality

Summary of Changes
Include a summary of changes then remove this line
Tests
What tests did you add or modify and why? If no tests were added or modified, explain why. Remove this line
Documentation
What documentation did you add or modify and why? Add any relevant links then remove this line
CheckList
Make sure you have checked all steps below to ensure a timely review.

[ ] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[ ] PR includes a summary of changes, including screenshots of any UI changes.
[ ] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[ ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public python functions and the classes in the PR contain docstrings that explain what it does

[ ] PR passes all tests documented in the developer guide
[ ] I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message"

Codecov Report

Merging #222 into amundsen-notifications will decrease coverage by 1.89%.
The diff coverage is 100%.

@@                    Coverage Diff                    @@
##           amundsen-notifications     #222     +/-   ##
=========================================================
- Coverage                   69.75%   67.85%   -1.9%
=========================================================
  Files                         125      101     -24
  Lines                        3217     2159   -1058
  Branches                      354      267     -87
=========================================================
- Hits                         2244     1465    -779
+ Misses                        940      688    -252
+ Partials                       33        6     -27

Impacted Files
Coverage Δ

...pplication/static/js/components/Feedback/index.tsx
100% <100%> (ø)
:arrow_up:

amundsen_application/api/metadata/v0.py

amundsen_application/log/action_log_callback.py

amundsen_application/api/__init__.py

amundsen_application/api/utils/request_utils.py

...n/base/examples/example_superset_preview_client.py

amundsen_application/base/base_preview_client.py

...ndsen_application/base/base_announcement_client.py

amundsen_application/wsgi.py

amundsen_application/log/action_log_model.py

... and 13 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 3897818...1df81be. Read the comment docs.

@ttannis back up for review, should be good to look at again. Addressed comments, only large change outside of that was introducing a new exception type when the mail client is not implemented as well as removing typing for get_query_param (could return Dict, List, String, etc., not just String)

@ttannis should be good to look over again


Resource 'JumpBox-ip' was disallowed by policy Module4and5Prerequisites

After clicking on 'purchase'  (step 6 in Module4and5Prerequisites) I get a "Resource 'JumpBox-ip' was disallowed by policy" error effectively stopping me from deploying pre-reqs for module 4 and 5.

@amthomas46

Interesting. I'll have to look more into this one. I've deployed like this without issues. I wonder if it's a subscription thing?

maybe - I am using MS internal subscription. Let me check on another.

yep, just verified it works fine using another subscription. Closing.

OK cool - good to know. thank you!


Second search() with \v$ pattern and c flag finds another new line

Steps to reproduce

Create init.vim:

function! EchoLine()
  echom(line('.') . " " . col('.'))
endfunction

function! Found()
  call EchoLine()
  call search('\v$', 'nc', v:null, v:null, function('EchoLine'))
endfunction

function! Search()
  call search('\v$', 'nc', v:null, v:null, function('Found'))
endfunction

Launch vim with the init.vim:

./src/vim -u ./init.vim ./init.vim

Call search()

:call Search()

See two different positions:

1 21
2 36

Expected behaviour
Search of the new line pattern (\v$) with the flag "accept current" (c) should accept the current new line even in the skip function. It's unexpected that the second search with c flag finds the next new line symbol
My main target was to find start and end of the given pattern and then decide should i search further.
Version of Vim
9.0 (2022 Jun 28, compiled Dec 23 2023 02:25:07) Included patches: 1-2184
Environment
Linux: Archlinux 6.6.1-arch1-1
Terminal: Kitty
TERM: tmux-256color
Shell: zsh
Logs and stack traces
No response

By the way, Is it ok that col('.') returns the column that isn't placeable by cursor() in the normal mode?
For example, if I search \v$ on the line:
end

col('.') gives me 4, which isn't a placeable column. The rightest placeable column is 3

I think this is expected (more or less):
:h search() says this about the Skip expression:

If the {skip} expression is given it is evaluated with the cursor positioned on the start of a match.  If it evaluates to non-zero this match is skipped.  This can be used, for example, to skip a match in a comment or a string. {skip} can be a string, which is evaluated as an expression, a function reference or a lambda.

So Vim will try to position the cursor at the start of the match. But since you cannot position the cursor at the position of $ it's probably be put on the next line instead (I haven't checked in the code about this).

search with $ pattern places the cursor on the column one symbol past the last symbol on the current line. As I understand it's literally the end of the line symbol. You can legally place there the cursor in visual, operator-pending and insert mode (not normal mode).
Example:
a = b
--   ^
--   cursor can be placed here in visual mode

If you search $ in visual mode from that place (the next column after the last symbol), it doesn't change the placement in skip function, but it does change the placement if search performs in skip function (even with c flag). That is what the issue about (though it uses normal mode to demonstrate the inconsistent behevior).
Example:
-- Initial situation, visual mode on:
a = b
--   ^
a = c

-- Initial situation after two sequential search("\v$", "c").
-- Nothing changes:
a = b
--   ^
a = c

-- Initial situation after search("\v$", "c", v:null, v:null, function('The_same_search')).
-- The cursor moves to the second line:
a = b
a = c
--   ^

As I understand these two situations doesn't differ one from another, but works differently

That's what I have been saying, you cannot place the cursor there. Well, internally the search() function places the cursor there, but it detects that the cursor is on the NULL of the line and it invalidates that match and goes on to the next match.

It seems to me that if I perform any search with the flag accept current twice it should stuck at the second call.
But now it doesn't work that way
Now in visual mode:
a = b
-- ^
a = c

-- after the first search("\v$", "c") or search("\v$", "ce")
a = b
--   ^
a = c

-- after the second search("\v$", "c") or search("\v$", "ce")
a = b
--
a = c
--   ^

What I see is:

I: place the cursor at the pattern (or the end of the pattern)
vim: places at the pattern
I: place the cursor at the pattern (or the end of the pattern) and accept it if it's under the cursor (c)
vim: ignores the current pattern and jumps to the next

If we can place the cursor on the NULL in visual mode (or logically in normal mode), then why we can't accept it?

I've been trying to make up a robust algorithm for two days that allows me to get two positions - pattern-start and pattern-end, regardless of a given pattern. With current non-stucking search behavior with ^ and $ patterns, I can't come with something up.
Sorry to ask, but is it possible in the current situation?

well, pattern start should always work, pattern end should work with the e flag for the search() function. Your problem I think is specifically, that Vim does validate the cursor position when searching again in the skip expression. Why are you using the skip expression for this?
Not sure, what exactly you are trying to achieve, but you may also be using this:
:%s/pattern/\=MyFunc()/n
Inside MyFunc() you should be able to get the current position (getpos('.')) and the end of the match by using strlen(submatch(0)) I think.

I'll reiterate once more:
-- I manually places the cursor here in visual mode
a = b
--   ^
b = c
--

-- I hit a hotkey with search("\\v$", "c")
a = b
--
b = c
--   ^

I don't use skip here
Should it jump to the next end of the line and not accept the current (though with c flag)?

While I tried to workaround the behavior I came across another thing that seems strange to me:
-- I manually place the cursor here in visual mode
a = b
--^

-- I hit a hotkey with search("\v$", "e")
a = b
--   ^

It seems right!
I change the pattern \v$ => \vb$:
-- I manually places the cursor here in visual mode
a = b
--^

-- I hit a hotkey with search("\vb$", "e")
a = b
--  ^

It seems strange for me because all I've done is added a "b" and the result shrinked:
-- after search("\v$", "e")
a = b
--   ^

-- after search("\vb$", "e")
a = b
--  ^

Thank you for your attempt to help. I understand that my obsession with the end of the line symbol is annoying. I'm trying to create an iterator over a user given pattern that gives an ability to iterate over matches forward and backward.
Random example:
fileHash := fs.GetFileHa┃sh(c.OutputPath)
// -^  ^--------------^   ^--------------
// previous()  <-  current("hash")  ->

if bytes.Equal(oldOutputFileHash, newOutputFileHash) {
// -------------------------^  ^---------------^  ^---
//            ->            next()      ->     next()

Hypothetical simplified plugin usage:
local function jump_to_end_of_line()
  local iterator = get_iterator("\\v$")

  iterator.end_position() == nil then
    -- The cursor isn't placed on the end of the line
    iterator = iterator.next()
  end

  if iterator.end_position() ~= nil then
    iterator.end_position().set_cursor()
  end
end

-- User usage
vim.keymap.set({ "n", "x", "o" }, "s", jump_to_end_of_line, {})

And my main problem is to deal with $. That's why I'm so annyoing
current() tradeoff implementation
M.current = function(pattern)
  -- Get start_pattern_position
  local start_pattern_position = nil
  vim.fn.search(pattern, "bcWn", nil, nil, function()
    start_pattern_position = position.from_cursor(true)
  end)

  if start_pattern_position == nil then
    return nil
  end

  -- Get end_pattern_position
  local initial_position = position.from_cursor(true)

  start_pattern_position.set_cursor()
  local end_pattern_position = nil

  -- Searches the end if the cursor is palced at "$"
  vim.fn.search(pattern, "bceWn", nil, nil, function()
    end_pattern_position = position.from_cursor(true)
  end)

  if start_pattern_position ~= end_pattern_position then
    -- Searches the end in all other cases barring "$"
    vim.fn.search(pattern, "ceWn", nil, nil, function()
      end_pattern_position = position.from_cursor(true)
    end)
  end

  initial_position.set_cursor()

  -- Check that the cursor is in bounds of the current pattern
  if
    start_pattern_position > initial_position
    or end_pattern_position < initial_position
  then
    return nil
  end

  return {
    start_position = start_pattern_position,
    end_position = end_pattern_position,
  }
end

Sorry for lua, It's hard for me to write on vimscript

I am not going to try to understand your lua code. I don't know lua and I don't know the neovim api. Please keep it simple for me.
Are you potentially looking for :set virtualedit=onemore? This allows you to place the cursor on the end-of-line. Also not sure what you mean by iterating. Please come up with simple examples.

I am not going to try to understand your lua code. I don't know lua and I don't know the neovim api. Please keep it simple for me.

I tried to give more context, but ok, I won't use lua

Are you potentially looking for :set virtualedit=onemore? This allows you to place the cursor on the end-of-line. Also not sure what you mean by iterating.

No I'm not looking for :set virtualedit=onemore. In clean compiled vim with -u NONE you already can place the cursor at the end of the line in visual mode with default :set virtualedit=.

Please come up with simple examples.

I showed the first, second and third simple examples.

that was all about using skip expressions. I find it hard to follow, what exactly you are trying and what is not working. Note: Placing the cursor at the end of the line (after where actually text is, is usually not allowed and I am not going to change that behaviour).
Would it help, to have searchpos() return start and end position of the matc?


Added Style

Issues No: - #27 Adding styling #27
PFA

Kindly attached Hacktoberfest Accept badge.

The Code is not relevant and if we merge it will break the site

I thought that section was only for links.
And if we want to write something there it makes it stretch.
Thanks

please rephrase the issue by considering the react js technology and if you didn't joined onboarding group please do join
Developers needs to onboard to opensource community for easy information flow along with admins, please join with this link Curious Developers Community - Hacktoberfest


"pop up windows" in scripts

Hi,
When I execute the "training script" (and I think same happens  with the other two scripts also) it starts like this:

I see the terminal window and a "pop up" window named "Figure 1". In order to proceed I must close the pop up window. If I don't nothing happens. So When I close it the script continues like this:

Again, I have to close the window to continue the execution. When I close it, the script continues as expected but:

This time I can't close the pop up "Figure 1" window until the script is finished running.
So, suppose this problem is something you can reproduce is there a way to fix it?
It would be great if the Histograms could be saved as an image automatically without user interference.
Thank you very much,

resolved long ago


Fix user_name actually being display_name

begin work on fixing inconsistencies with display name, documented in twitchdev/issues#3

this has been fixed separately, specifically
9b19554  did a lot of these


Create kfaryarok.txt

Add HaKfar HaYarok high school in Israel

Add Dong A University in VietNam
donga.txt

@rootatkali Please provide us with:

the school official website URL
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

@rootatkali You might miss my previous comment. Please react.

School URL - http://www.kfaryarok.org.il/en
Computer science course - http://www.kfaryarok.org.il/software-engineering
I asked the school administration for confirmation about email addresses and they should respond by next week, as there is a holiday in Israel right now.

@rootatkali Thank you!
OK, let's wait for the administration response. Have a good holiday!

@rootatkali I am sorry, it there any update from the administration?

@rootatkali I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the aforementioned issue. Thank you for the understanding!


Port costmap generator

ported costmap_generator from ROS1 to ROS2

@nik-tier4 could you rebase to the newest ros2 branch to test if CI passes?

@nik-tier4 could you rebase to the newest ros2 branch to test if CI passes?

@mitsudome-r just rebased.

@nik-tier4 I noticed that the node failed to start up with the current code. I did some debugging and have done some fixes on the way.
If you could check and merge this PR to your branch, I think this PR is ready to go.
https://github.com/nik-tier4/Pilot.Auto/pull/2


Update .py default app execution

This fixes the issue with python files prompting for a default execution app noted here: https://github.com/mandiant/VM-Packages/issues/1085

@Ana06 I believe this is because of common.vm versioning. I attempted to install the packages on a more fresh FLARE-VM and it defaulted to installing a newer version of common.vm.
If you either force install the version from this PR (<IP_ADDRESS>40726), or change the versioning to a newer one than the one that gets installed (this was <IP_ADDRESS>40821 for me) before installing common.vm, then it should work (also be sure that you install python3.vm after you install the correct common.vm so that the registry fix is performed).
But no worries, I will update this package with a newer version for common.vm for you to retest. :)

@emtuls I see, there was a newer common version in MyGet which means I was not testing this changes. Can you rebase to solve the merge conflicts please? I'll test it after that :wink:


Customization of process_result in Channels integration doesn't work.

Feature Request Type

[V] Alteration (enhancement/optimization) of existing feature(s)

Description
I'm working on a GraphQL server development with django channels async view.
I'm looking for a way to customize the error message, and according to the official documentation, I can override the process_result() function in GraphQLHttpConsumer to use it. However, when I looked up GraphQLHttpConsumer, the process_result() function that is the target of the override doesn't exist, so I can't override it.
I need this for error handling: when an exception is thrown during processing by the django framework, I don't want to show the exception directly to the client, but rather categorize it as an error message promised to the client and show it as a different message.
My case was like following:
The model has a nullable ImageField.
class Club(BaseModel):
    club_logo = models.ImageField(upload_to=club_logo_path, null=True, blank=True, default=None)

The type is defined using strawberry.auto. So club_logo field is a nullable.
@strawberry_django.type(apps.club.models.Club, filters=ClubFilter, pagination=True)
class Club:
    club_logo: strawberry.auto

The query is
query Clubs($filters: ClubFilter) {
  clubs(filters: $filters) {
    clubLogo {
      url
    }
  }
}

The result is
"data": {
    "clubs": [
      {
        "clubLogo": null
      }
    ]
  },
  "errors": [
    {
      "message": "The 'club_logo' attribute has no file associated with it.",
      "locations": [
        {

In this case, the result is correct since clubLogo has a nullable field and there's no file yet.
No need to raise an error message but it raised an error message that no file is associated with the field.
Are there any other workarounds?

Upvote & Fund

We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.

I found a way. It was a problem of parameter type. When I imported a right package and type, it worked.


[BUG]

Model
Which model are you using?
Sanster/AnyText
Describe the bug
Hello, IOPaint developer!I used the latest iopaint1.4.3 yesterday, but I found something strange and I don’t know if it is a bug.
I installed iopaint-1.4.3 yesterday. When I used the eraser model and rembg plugin, I found that the huggingface model could not be downloaded to the set model_dir directory, but the torch model could be downloaded. So I manually downloaded the model and set the parameter local_files_only=true so that it could import the model correctly.
Today, I found that DEFAULT_MODEL_DIR is the system environment variable XDG_CACHE_HOME by checking the code, so I set the XDG_CACHE_HOME environment variable to use the diffusion model--Sanster/AnyText, but when I ran win_start.bat, I found that the location where the downloaded model was saved became the model_dir directory I set. I terminated the program and manually downloaded the model Sanster/AnyText and restarted the computer to run the program, but the result was still the same, which also shows that the XDG_CACHE_HOME environment variable I set according to the code is not effective.
I don't know if this is a problem with the Windows system or the iopaint code, but the models I downloaded manually using the huggingface-cli module are correctly placed in the directory set by the environment variable XDG_CACHE_HOM. So I'm specifically to inform you!
Screenshots

System Info
windows10 22H2 pro
Software version used

iopaint: 1.4.3
pytorch: 2.4.1-cu124
CUDA: 12.4

@Sanster


tools: Adds clang-tidy docs

@silvergasp would this PR not be superseded by https://github.com/silvergasp/bazel_rules_cc_toolchain/pull/14?

@silvergasp would this PR not be superseded by #14?

It will be once I find a nice way of shipping the docs! This is just an interim measure so that people can read the docs on github.


Analytics for private taps (feature offer)

A detailed description of the offered feature
Currently Homebrew can push anonymous analytics to a specific Google Analytics account on installs and build failures.
Installs from private taps appear to be tracked too, but not build failures.
Would Homebrew consider approving a PR that allowed configuration within a tap to have analytics sent to a Google Analytics ID specified within that tap, that would be used instead of, or in addition to, the Homebrew Google Analytics ID? (eg. have a file called analytics in the root of the repo with contents like UA-XXXXXXXX-1)
The motivation for the feature
I help manage a private Homebrew tap, and analytics would be very useful for similar reasons to homebrew-core: knowing where to effectively spent time and energy.
How the feature would be relevant to at least 90% of Homebrew users
This feature would likely not impact 90% of Homebrew users; I'm proposing providing a PR for producing the feature so we can discuss the cost of maintaining it.
What alternatives to the feature have been considered
Having users of my private tap override HOMEBREW_ANALYTICS_ID on their machines, so all Homebrew analytics is routed to a Google Analytics account I have access to.

This would stop analytics from the core repos going to you (but for a trivially small number of users)
This would still not share build_error events for my private tap

Installs from private taps appear to be tracked too

They aren't actually: https://github.com/Homebrew/brew/blob/1a7525ee2d31da6a878a95d81765c427c175958a/Library/Homebrew/formula_installer.rb#L285-L290
I'm afraid I'm uneasy about any sort of expanded analytics for private taps. Even our gathering is heavily locked down (the majority of Homebrew maintainers have no access to Google Analytics and we all consume only the public data from formulae.brew.sh).
Given the tap formulae are essentially Ruby and able to make network calls at will: you could send analytics from def install with no changes or intervention required from us.

This makes a lot of sense; I'll subclass Formula and use that for formula in this repo. Thanks for the careful response, I'll close ☺🙇♂


refreshInterval is being swallowed by clearTimeout

refreshInterval seems to be cancelled immediately by https://github.com/Kong/swrv/blob/415f8eb0d6a4dd85cf34c76997308448669c9514/src/use-swrv.ts#L380
Investigate and write tests for refreshInterval working as expected.

hi, I think I have a similar problem,
maybe due to the duplicate declaration of the timer who erase the other one:
OnMounted: https://github.com/Kong/swrv/blob/next/src/use-swrv.ts#L306
setup: https://github.com/Kong/swrv/blob/next/src/use-swrv.ts#L311

hi, I think I have a similar problem,
maybe due to the duplicate declaration of the timer who erase the other one:
OnMounted: https://github.com/Kong/swrv/blob/next/src/use-swrv.ts#L306
setup: https://github.com/Kong/swrv/blob/next/src/use-swrv.ts#L311

@dcyou I have added a test to demonstrate the issue we were running into here:
https://github.com/Kong/swrv/pull/127/files#diff-5da86b7778f76ba7e65c6b2c277c2e5030d665b79a89b8024aa883d182527554R919
Can you let me know if this is the same issue you are seeing?

@dcyou I have added a test to demonstrate the issue we were running into here:
https://github.com/Kong/swrv/pull/127/files#diff-5da86b7778f76ba7e65c6b2c277c2e5030d665b79a89b8024aa883d182527554R919
Can you let me know if this is the same issue you are seeing?

nice shot! sound like yes based on the test:
works with your change but if I remove the change:

so this is like me when the key change the refreshInterval is broken
Don't know if it could help my code is similar to:
import fetcher from 'lib/API/fetcher'
import useSWRV from 'swrv'
const usePosts = (page, options = {}) => {
    return useSWRV(() => `/user/posts?page=${page.value}`, fetcher, { refreshInterval:2000, ...options })
}
export default usePosts

N.B. I will try to implement soon an infinite scroll ;) => https://github.com/Kong/swrv/issues/72

nice shot! sound like yes based on the test:
works with your change but if I remove the change:

so this is like me when the key change the refreshInterval is broken
Don't know if it could help my code is similar to:
import fetcher from 'lib/API/fetcher'
import useSWRV from 'swrv'
const usePosts = (page, options = {}) => {
    return useSWRV(() => `/user/posts?page=${page.value}`, fetcher, { refreshInterval:2000, ...options })
}
export default usePosts

N.B. I will try to implement soon an infinite scroll ;) => https://github.com/Kong/swrv/issues/72

great @dcyou, will release soon and look forward to your PR!

great @dcyou, will release soon and look forward to your PR!

ahah thanks not sure when I will be able to do it don't hesitate to do it yourself ^^

ahah thanks not sure when I will be able to do it don't hesitate to do it yourself ^^

I saw you just release a new version for the current version I am using the next branch ^^ so 1.0.0-beta6

I saw you just release a new version for the current version I am using the next branch ^^ so 1.0.0-beta6

@dcyou thanks for the heads up, I will release one there as well

@dcyou thanks for the heads up, I will release one there as well

@dcyou released with 1.0.0-beta.7
https://github.com/Kong/swrv/releases/tag/v1.0.0-beta.7

@dcyou released with 1.0.0-beta.7
https://github.com/Kong/swrv/releases/tag/v1.0.0-beta.7


White space between Menu window and page content

I was wondering if there is a way to reduce the white space between the Menu window and the Page content. On a full screen, the white space seems too much compared to how it behaved in the learn theme.  I am trying to port our doc site from learn theme to relearn theme and noticing these subtle spacing issues.
Is there a setting to define the spacing?
Relearn theme

Learn theme

Thanks

At a certain resolution (read: screen width), the theme locks the width of its content to avoid getting text lines to long. https://baymard.com/blog/line-length-readability
Nevertheless you can change this by defining your own CSS in custom-header.html
Rule from theme.css:
/* we limit width if we have large screens */
@media screen and ( min-width: 1300px ){ /* #sidebar/width + ./max-width */
    #body .flex-block-wrapper {
        margin-left: auto;
        margin-right: auto;
        max-width: 1000px;
    }
}

Please remember, that this is not a documented feature and therefore overwriting the rule may break in any newer version of the theme.


input_tensor_shape

I have a Custom Vision project for Object Detection. I exported the model using Tensorflow in Compact mode.

However when I import the model to TF I get an network input shape of [?,416,416,3] and this is not compatible wth the resizing to 256 X 256. Therefore I get the following error:

Thanks
MeirPr

@meirpr Thank you for your feedback. Could you link the URL of the documentation you were following? That way, we can pass your feedback to the appropriate content author.

Hi Alberto,
This is the link:
https://docs.microsoft.com/bs-latn-ba/azure/cognitive-services/custom-vision-service/export-model-python

Hi Alberto,
This is the link:
https://docs.microsoft.com/bs-latn-ba/azure/cognitive-services/custom-vision-service/export-model-python https://docs.microsoft.com/bs-latn-ba/azure/cognitive-services/custom-vision-service/export-model-python
From: Alberto Vega<EMAIL_ADDRESS>Sent: Sunday, May 26, 2019 18:39
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: meirpr<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] input_tensor_shape (#32178)
@meirpr https://github.com/meirpr  Thank you for your feedback. Could you link the URL of the documentation you were following? That way, we can pass your feedback to the appropriate content author.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/azure-docs/issues/32178?email_source=notifications&email_token=AJAAHAHCRBYFYERNYHN5SHTPXKVHTA5CNFSM4HPW4OZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWIIFHQ#issuecomment-496009886 , or mute the thread https://github.com/notifications/unsubscribe-auth/AJAAHAFLZL3T3OPCSVQYRCTPXKVHTANCNFSM4HPW4OZQ .  https://github.com/notifications/beacon/AJAAHAEH4VBM66G2EGNL323PXKVHTA5CNFSM4HPW4OZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWIIFHQ.gif

@meirpr Could you please provide the input_tensor_shape and augmented_image shape to debug further.
Get the input size of the model
with tf.Session() as sess:
input_tensor_shape = sess.graph.get_tensor_by_name('Placeholder:0').shape.as_list()
network_input_size = input_tensor_shape[1]
Crop the center for the specified network_input_Size
augmented_image = crop_center(augmented_image, network_input_size, network_input_size).

@vrishni  The input_tensor_shape is (?,416,416,3) and the augmented image shape is (1,256,256,3). As written in the documentation Resize down to 256x256

Hi @meirpr, this documentation is only for image classification exports, not object detection exports.
For object detection exports there is code to load and run the object detection model in the zip file downloaded. Along with the the export model you will find Python and C# code to exercise the model.

@meirpr We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

@YutongTie-MSFT Andrew answered me that you can run the object detection model with code provided in the zip file. I see python code entitled **Object__Detection.py **. It creates a class entitled Object_Detection with a method entitled predict. The comment states """Evaluate the model and get the output
Need to be implemented for each platforms. i.e. TensorFlow, CoreML, etc.
""" That's the whole problem, how to use the model output in Tensorflow to do the predictions. No clue given how to do that


task(fix): Tasks should no longer have inaccurate response data

tasks should be able to pull from a table with both success and failed results
Co-authored-by: AlirieGray<EMAIL_ADDRESS>Co-authored-by: docmerlin<EMAIL_ADDRESS>Closes #

OO Yah i will take out the sleep. It was just in for testing.


fix the case that column length is not right in CLI when the value contains Chinese characters

Result

Before:

After:

This PR has:

[ ] been self-reviewed.

[ ] concurrent read
[ ] concurrent write
[ ] concurrent read and write

[ ] added documentation for new or modified features or behaviors.
[ ] added Javadocs for most classes and all non-trivial methods.
[x] added or updated version, license, or notice information
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious
for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold
for code coverage.
[ ] added integration tests.
[ ] been tested in a test IoTDB cluster.

Key changed/added classes (or packages if there are too many classes) in this PR

running Travis CI failed, could you run it again?

running Travis CI failed, could you run it again?

It looks great!

running Travis CI failed, could you run it again?

It looks great!

running Travis CI failed, could you run it again?

running Travis CI failed, could you run it again?

Sure.

running Travis CI failed, could you run it again?

Sure.


Update client and message composer to underscore funds to avoid conflicts

This change ensures that the funds, fee, and memo parameter for message composer and the client generation are underscored to avoid conflicts with variables in the messages themselves.

https://github.com/CosmWasm/ts-codegen/issues/97

Did not pull this out into a configuration because as a non-object parameter it will have no conflicts.


New rep summary page

before:

after:

i wasn't able to show account indexes here e.g. Account #7, as the index isn't part of the account object. perhaps someone could implement that later on
-
reps book also undertook some changes, mostly to provide clarity and avoid possible confusion with the list of used reps
before:

after:

-
fixes #188

I don't know if the labels are a bit too flashy when hovering them.
They change colors often and the change is not consistent (rep changes from purple to grey with purple border, account changes from grey to solid blue).

this is intentional, accounts and reps have their own distinct styles and are presented as is to be consistent with how they look throughout the rest of the application and to accent color only on representatives rather than reps and accounts both

Additionally it would be great when the list below would reset when you click on a different account/rep. Currently it just adds it to the list.

that's the old behavior: you click on everything that you wish to change, and it is added to the list allowing you to change several reps or accounts at once

I don't know if the labels are a bit too flashy when hovering them.
They change colors often and the change is not consistent (rep changes from purple to grey with purple border, account changes from grey to solid blue).

this is intentional, accounts and reps have their own distinct styles and are presented as is to be consistent with how they look throughout the rest of the application and to accent color only on representatives rather than reps and accounts both

Additionally it would be great when the list below would reset when you click on a different account/rep. Currently it just adds it to the list.

that's the old behavior: you click on everything that you wish to change, and it is added to the list allowing you to change several reps or accounts at once


Season changes on month, not on day

The seasons color on the calendar changes when the particular month is selected. If the season change is set to a day within the calendar, such as 22nd, the entire month is that season's color, even if the 15th is the current day.

This should be resolved with the latest release


Add MechanicalTurkCritiqueClient

Add description and reward fields to CritiqueTaskTemplate
Clarify that certain fields should be formatted using HTML (e.g. line breaks in MechanicalTurk don't show up, they need to be br or p HTML tags)
Allow switching between different clients by setting critiqueType in credentials.conf

Addresses #1330

Currently, HITs need to be manually approved by logging in to the portal, but there's a parameter called AutoApprovalDelayInSeconds that will make HITs get auto-approved; do we want this?

Apparently, the web UI only supports creating and viewing HITs in batches, and the Python API only supports creating and viewing HITs outside of batches. Web UI support for HITs outside of batches was deleted in 2017. Basically, anything that you do in the Python API will not be viewable in the web UI.
So we might have to use CSVs instead of the Python API.

Abandoned in favor of CSV import / export: #1539


Import JDL only finds one entity when matching MS baseName

Overview of the issue
When importing JDL, all declared entities should be imported.
Reproduce the error
Using the config supplied below, generate a microservice then import the JDL. You can see only one entity is imported (OrganizationContact).
Suggest a Fix
Not sure.  I think it has to do with the microservice keyword, as removing the Organization entity from there fixes it.  Note that the microservice baseName is also Organization
JHipster Version(s)
v5.8.1 + master
JHipster and Entity configuration

.yo-rc.json file

{
  "generator-jhipster": {
    "promptValues": {
      "packageName": "com.sb.organization"
    },
    "jhipsterVersion": "5.8.1",
    "applicationType": "microservice",
    "baseName": "Organization",
    "packageName": "com.sb.organization",
    "packageFolder": "com/sb/organization",
    "serverPort": "8081",
    "authenticationType": "uaa",
    "uaaBaseName": "UAA",
    "cacheProvider": "hazelcast",
    "enableHibernateCache": true,
    "websocket": false,
    "databaseType": "sql",
    "devDatabaseType": "postgresql",
    "prodDatabaseType": "postgresql",
    "searchEngine": false,
    "serviceDiscoveryType": "eureka",
    "buildTool": "gradle",
    "enableSwaggerCodegen": false,
    "jwtSecretKey": "bXktc2VjcmV0LXRva2VuLXRvLWNoYW5nZS1pbi1wcm9kdWN0aW9uLWFuZC10by1rZWVwLWluLWEtc2VjdXJlLXBsYWNl",
    "enableTranslation": false,
    "testFrameworks": [],
    "jhiPrefix": "jhi",
    "clientPackageManager": "npm",
    "skipClient": true,
    "skipUserManagement": true,
    "messageBroker": false,
    "entitySuffix": "",
    "dtoSuffix": "DTO",
    "otherModules": []
  }
}

JDL for the Entity configuration(s) entityName.json files generated in the .jhipster directory

JDL entity definitions

entity Organization {
  orgNum String required,
  orgName String required,
  facilityFlag Boolean required,
  localeNum String maxlength(40),
  primaryUrl String,
  activeFlag Boolean required
}
entity OrgUser {
  login String maxlength(40) required,
  facilityFlag Boolean required,
  orgNum String required,
  defaultFctlFlag Boolean required,
  primaryOrgFlag Boolean required
}
entity RoleType {
  roleTypeNum String maxlength(40) required,
  roleTypeDescription String maxlength(100) required
}
entity Role {
  roleNum String maxlength(40) required,
  roleDescription String maxlength(100) required,
  isActive Boolean required,
  refRoleType String maxlength(40) required,
  orgNum String required
}
entity UserRole {
  login String maxlength(40) required,
  roleNum String maxlength(40) required,
  isActive Boolean required,
  orgNum String required
}
entity ContactType {
  contactTypeNum String maxlength(40) required,
  contactTypeDescription String maxlength(140)
}
entity AddressType {
  addressTypeNum String maxlength(40) required,
  addressTypeDescription String maxlength(140)
}
entity OrganizationAddress {
  addressLine1 String maxlength(40) required,
  addressLine2 String maxlength(40),
  addressLine3 String maxlength(40),
  addressLine4 String maxlength(40),
  addressLine5 String maxlength(40),
  addressLine6 String maxlength(40),
  city String maxlength(40),
  state String maxlength(40),
  country String maxlength(40) required,
  zip String maxlength(40),
  phoneNumber String maxlength(20),
  email String maxlength(40),
  faxNumber String maxlength(20)
}
entity OrganizationContact {
  firstName String maxlength(20) required,
  lastName String maxlength(20),
  phoneNumber String maxlength(20),
  email String maxlength(40),
  faxNumber String maxlength(20)
}
relationship OneToMany {
  Organization{orgUser} to OrgUser{userOrgNum(orgNum) required},
  Organization{orgRole} to Role{roleOrgNum(orgNum) required},
  Organization{orgAddress} to OrganizationAddress{addressOrgNum(orgNum) required},
  Organization{orgContact} to OrganizationContact{contactOrgNum(orgNum) required}
}
relationship ManyToOne {
  Organization{parentOrganization} to Organization,
  Role{roletype(roleTypeNum) required} to RoleType,
  UserRole{roletype} to RoleType,
  UserRole{orguser} to OrgUser,
  UserRole{role} to Role,
  OrganizationAddress{addressType(addressTypeNum) required} to AddressType,
  OrganizationContact{contactType(contactTypeNum) required} to ContactType
}

service Organization, OrgUser, RoleType, Role, UserRole, ContactType, AddressType, OrganizationAddress, OrganizationContact with serviceImpl
microservice Organization, OrgUser, RoleType, Role, UserRole, ContactType, AddressType, OrganizationAddress, OrganizationContact with Organization
clientRootFolder Organization, OrgUser, RoleType, Role, UserRole, ContactType, AddressType, OrganizationAddress, OrganizationContact with Organization

Browsers and Operating System
Mac

[x] Checking this box is mandatory (this is just to show you read everything)

Thanks for reporting this, I'll handle it tonight

Not sure. I think it has to do with the microservice keyword, as removing the Organization entity from there fixes it. Note that the microservice baseName is also Organization

Good analysis, by the way

Okay, the issue was that the parsing system would consider OrganisationContact to be the microservice, where it should have been Organisation.
Gonna fix it now

@bd82 I think this one may interest you! Apparently, when an entity has the same name as one microservice, the entityList is:

for a service, every entity & the method (serviceImpl by default)
for a MS, every entity (because the method is the amongst the entities!! organisation)

The way the method & the entity lists are handled is interesting too:

the method is the last entry of the entity list
the entity list is modified by removing this last item

This works like a charm when parsing the service (method: serviceImpl), however, as the MS option can take an arbitrary string... well you should have guessed it by now: there seems to be a filtering of duplicates in the entityList that seems to remove the true last item: Organisation.
It's quite difficult to explain as I've just got it right by debugging for the last 20 minutes.

@ruddell I don't know what I can do here, as the easiest workaround is not to have an entity have the same name as the MS... I'm waiting for Shahar Soel for this one.

Closing this and documenting it, https://github.com/jhipster/jhipster.github.io/pull/729.


Reduce BDD tests duration

test(bdd/node/labels): reduce test duration

Clear node labels per test, reducing from 30s to 12s.

Signed-off-by: Tiago Castro<EMAIL_ADDRESS>

test(bdd): reduce topology test duration

Reuse deployer clusters rather than create a new per test case...
This reduces the topology test duration from 5m20s to 32s!

Signed-off-by: Tiago Castro<EMAIL_ADDRESS>

bors merge

bors merge


Unexpected values using get_integer_from_var_name

Describe the bug
There appears to be an issue in Cairo-vm when accessing certain variables. The behavior and returned values differ depending on whether the variables are defined using let or local.
Check that if you define a with local instead of let, the hint prints the expected value. As far as I checked, in this case where the expression involves a subtraction, the result instead produces the sum of both terms.
If tmp is defined with let, once again, we get the expected result.
Using the custom_hint example, I made a small modification to define a as an expression containing a variable defined with local. This change results in an incorrect output when attempting to read the variable.
func main() {
    alloc_locals;

    local tmp = 3;
    let a = 17 - tmp;
    // Use custom hint to print the value of a
    %{ print(ids.a) %}
    return ();
}

Current output:
20

To Reproduce
Steps to reproduce the behavior:
1 - Clone this branch: https://github.com/Moonsong-Labs/cairo-vm/tree/ft/get_integer_issue
2 - cd examples/custom_hint/
3- make example
Expected output
14

Hi there!
I'm taking a look at this issue. Seems like like the problem comes from this operation let a = 17 - tmp. If you change the value of tmp to -3 it will print 14 (when it should be 20 due to the law of signs). Seems like it always behaves as an addition.

Hey @FrancoGiachetta! Thanks 💪 The main issue regarding the cairo code is that it belongs to the OS and we cannot change that.
While we were making the upgrade to cairo-lang v0.13.3, we've encountered that behavior in this line:
https://github.com/starkware-libs/cairo-lang/blob/8e11b8cc65ae1d0959328b1b4a40b92df8b58595/src/starkware/starknet/core/os/output.cairo#L78
I think that it must be related to ExpressionSimplifier:
https://github.com/starkware-libs/cairo-lang/blob/8e11b8cc65ae1d0959328b1b4a40b92df8b58595/src/starkware/cairo/lang/compiler/expression_simplifier.py#L62-L65

Oh I see. Thanks a lot for the links. I'll notify you as soon as I have any upgrades.

Reading the comment again, I wanted to clarify something just in case. My first comment is just giving an intuition of the problem, perhaps is not the case. We currently taking a look into it to find a solution. Apologies if there was a misinterpretation.

Hi there!
The issue seems to be coming from the parsing of references, currently they are always being taken as positive values. Due to this and since cairo treats subtractions as additions with one of the operands negated, the operation results in 20.
Do you know other cases like this? It would also help to find other cases with multiplications and divisions.


[Enhancement] FE and BE add hdfs-site.xml and core-site.xml configuration files for distribution

Fixes #issue
FE and BE add hdfs-site.xml and core-site.xml configuration files for distribution.
Our project requires hdfs related configuration when using hdfs catalog or hive catalog, so we plan to include hdfs-site.xml and core-site.xml in the project project. When packaging and deploying production environments, we do not need to upload hdfs-site.xml and core-site.xml again, and can directly maintain the hdfs-site.xml and core-site.xml configuration files in the project project. Therefore, we hope to place hdfs-site.xml and core-site.xml in the conf directory.
Of course, if hdfs-site.xml and core-site.xml are not configured, there will be no issues with compilation.
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.2
[x] 3.1
[x] 3.0
[x] 2.5

[FE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

I don't quite understand why it's so necessary to copy conf/hdfs-site.xml and conf/core-site.xml to output/be/conf and output/fe/conf.
I guess you want to extend starrocks build/package process right? when build starrocks package, put pre-builtin hdfs-site.xml and core-site.xml to output/be/conf and output/fe/conf.
If that, you don't have to copy conf/* to output/be/conf, you can copy anyfiles outside starrocks source tree to that place.

我不太明白为什么有必要将conf/hdfs-site.xml和conf/core-site.xml复制到output/be/conf和output/fe/conf。
我猜你想扩展 starrocks 构建/打包过程，对吧？构建starrocks包时，将预先内置的hdfs-site.xml和core-site.xml放入output/be/conf和output/fe/conf。
如果是这样，您不必将conf/*复制到output/be/conf，您可以将starrocks源树之外的任何文件复制到该位置。

我不太明白为什么有必要将conf/hdfs-site.xml和conf/core-site.xml复制到output/be/conf和output/fe/conf。
我猜你想扩展 starrocks 构建/打包过程，对吧？构建starrocks包时，将预先内置的hdfs-site.xml和core-site.xml放入output/be/conf和output/fe/conf。
如果是这样，您不必将conf/*复制到output/be/conf，您可以将starrocks源树之外的任何文件复制到该位置。

I don't quite understand why it's so necessary to copy conf/hdfs-site.xml and conf/core-site.xml to output/be/conf and output/fe/conf.
I guess you want to extend starrocks build/package process right? when build starrocks package, put pre-builtin hdfs-site.xml and core-site.xml to output/be/conf and output/fe/conf.
If that, you don't have to copy conf/* to output/be/conf, you can copy anyfiles outside starrocks source tree to that place.

I don't quite understand why it's so necessary to copy conf/hdfs-site.xml and conf/core-site.xml to output/be/conf and output/fe/conf.
I guess you want to extend starrocks build/package process right? when build starrocks package, put pre-builtin hdfs-site.xml and core-site.xml to output/be/conf and output/fe/conf.
If that, you don't have to copy conf/* to output/be/conf, you can copy anyfiles outside starrocks source tree to that place.

I don't quite understand what you mean
Do you mean to copy these two files when packaging StarRocks 3. x.x.tar. gz?

I don't quite understand what you mean
Do you mean to copy these two files when packaging StarRocks 3. x.x.tar. gz?

I don't quite understand what you mean Do you mean to copy these two files when packaging StarRocks 3. x.x.tar. gz?

Yes.  You already have output directory. And before packaging to tgz, you can copy those files into output directory.

I don't quite understand what you mean Do you mean to copy these two files when packaging StarRocks 3. x.x.tar. gz?

Yes. You already have output directory. And before packaging to tgz, you can copy those files into output directory.

But I need to maintain two steps and it's easy to forget.
The first step is to compile, and the second step is to copy the file into my output package and package it, The second step is easy to forget.
Because our compilation environment may frequently change machines, I may not be able to upload this file to the specified directory of a certain machine in the first time.
But if it is included in our project, I only need to maintain this file like the code. In addition, our file may also make relevant configuration modifications, such as replacing some IPs.


How to use Grad-cam in my own trained VIT model?

I can get the output when using
    model = torch.hub.load('facebookresearch/deit:main',                            'deit_tiny_patch16_224', pretrained=True)
Then, I trained deit using https://github.com/facebookresearch/deit in my own classification dataset. The checkpoint is in this location : "Output/best_checkpoint.pth"
So how can I load this model and obtain the grad-cam result?
Thank you if you can give me the answer.

Hi,
Please follow the example here:
https://github.com/jacobgil/pytorch-grad-cam/tree/master/usage_examples
And re-open in case there are more questions.


[BUG] Using GeographyEntity.Neighborhood causes RequestFailedException

Library name and version
Azure.Maps.Search 1.0.0-beta.4
Describe the bug
I can do an address search with other GeographicEntity types such as GeographicEntity.Municipality and GeographicEntity.MunicipalitySubdivision but when I try to use the GeographicEntity.Neighborhood property to set the GeographicEntity type, I get a RequestFailedException.  The exception lists acceptable GeographicEntity types and one of the types listed is spelled "Neighbourhood".  It seems that either the GeographicEntity.Neighborhood is setting the wrong string or it is setting the string to be Neighborhood and the Maps API doesn't accept the spelling "Neighborhood".
Expected behavior
Use the GeographicEntity.Neighborhood property to set the SearchAddressOptions.EntityType and be able to do a successful address search.
Actual behavior
Request fails with the following exception:
RequestFailedException: Invalid EntityType value. Allowed value(s): Country, CountrySubdivision, CountrySecondarySubdivision, CountryTertiarySubdivision, Municipality, MunicipalitySubdivision, Neighbourhood, PostalCodeArea
Status: 400 (Bad Request)
ErrorCode: 400 BadRequest

Content:
{"error":{"code":"400 BadRequest","message":"Invalid EntityType value. Allowed value(s): Country, CountrySubdivision, CountrySecondarySubdivision, CountryTertiarySubdivision, Municipality, MunicipalitySubdivision, Neighbourhood, PostalCodeArea"}}

Headers:
x-ms-azuremaps-region: REDACTED
X-Content-Type-Options: REDACTED
Strict-Transport-Security: REDACTED
X-Cache: REDACTED
X-MSEdge-Ref: REDACTED
Date: Thu, 23 Nov 2023 02:40:25 GMT
Content-Length: 246
Content-Type: application/json; charset=utf-8

Reproduction Steps
This code works:
string subscriptionKey = "key-goes-here";
AzureKeyCredential keyCred = new AzureKeyCredential(subscriptionKey);
MapsSearchClient searchClient = new MapsSearchClient(keyCred);
SearchAddressOptions searchOpts = new SearchAddressOptions();
searchOpts.EntityType = GeographicEntity.Municipality;

var rslt = await searchClient.SearchAddressAsync("Los Angeles, CA", searchOpts).ConfigureAwait(false);

This code doesn't work:
string subscriptionKey = "key-goes-here";
AzureKeyCredential keyCred = new AzureKeyCredential(subscriptionKey);
MapsSearchClient searchClient = new MapsSearchClient(keyCred);
SearchAddressOptions searchOpts = new SearchAddressOptions();
searchOpts.EntityType = GeographicEntity.Neighborhood;

var rslt = await searchClient.SearchAddressAsync("Los Angeles, CA", searchOpts).ConfigureAwait(false);

Environment
OS:  Windows 10
.NET runtime version:  .NET 5.0.17

Hi @jlrosenlof-kr ,
Thanks you for reporting this issue. We'll look into this issue soon!

Hi,
There is is spelling error in GeographicEntity. The NeighbourhoodValue is missing an "u". The value is also defined in the generated GeographicEntity, but the property Neighbourhood is missing there.
The entire GeographicEntity cs file could be dropped if the property is moved to the generated one:
public static GeographicEntity Neighbourhood { get; } = new GeographicEntity(NeighbourhoodValue);
/// <summary> Determines if two <see cref="GeographicEntity"/> values are the same. </summary>

The NeighbourhoodValue is already spelled correctly here.
private const string NeighbourhoodValue = "Neighbourhood";
When you fix this, please also add the Neighbourhood property to the MapsAddress and parse it's value in MapsAddress.Serialization.cs.
if (property.NameEquals("neighbourhood"u8))
{
    neighbourhood = property.Value.GetString();
    continue;
}

It's in the json response, but not added to the class yet.
Thank you!


Introduce Enhanced Table Row Reordering with Dragged Record Identification

Description
This pull request introduces enhancements to the table row reordering feature within Filament by incorporating the identification of the dragged record alongside the new order of records. The implementation modifies the Sortable.js configuration to dispatch a custom event containing both the new order array and the dragged record's ID. A new method, reorderTableWithDragged, has been introduced to handle this additional data on the backend, providing developers with more flexibility when implementing custom reordering logic that depends on the identity of the dragged record.
The changes aim to enhance the developer experience by making it easier to implement more complex reordering behaviors, such as conditional reordering or reordering with additional side effects that depend on the specific record being moved.
Visual changes
None. This change affects the functionality of table row reordering without altering the visual appearance or requiring changes to the UI.
Functional changes
The code style has been adhered to by running the composer cs command.
The changes have been thoroughly tested to ensure they do not break existing functionality within Filament.
Documentation updates are not applicable as this change does not introduce new concepts that require documentation or alter existing documentation.

[x] Code style has been fixed by running the composer cs command.
[x] Changes have been tested to not break existing functionality.
[ ] Documentation updates are not applicable as this change does not introduce new concepts that require documentation or alter existing documentation.

I appreciate the effort here, but it doesn't feel like we can implement this in a way that doesn't introduce technical debt. I don't really like introducing the new method, it feels like this really belongs in a major version where we change the method signature of the existing reorderTable() method. Which I understand is disappointing for you, but I just don't feel comfortable merging this in its current state.
Feel free to make a new PR to the v4 branch where you introduce a simple $draggedRecordKey parameter to the existing reorderTable() method. You should not need to change the JS, just pass this in the view from $event.target.sortable.item.getAttribute('x-sortable-item') I think?

@danharrin Thank you for the review!
It didn't feel good to add the new method either, but it was the only way to avoid breaking changes.
I have created a new PR for the 4.x branch based on your recommendations here:
https://github.com/filamentphp/filament/pull/12096.
Does v4 have a planned release date?

There is no release date, we've only just started working on it


Handle Power Button Event

Hi Community,
this PR adds a power button listener.

Listen to power button events
No libc required for listening to events

libc only used for reboot syscall (easy to replace)

Test
Run auraed in a VM as pid1:
make build-container
make kernel
make initramfs

# create `vm-br0` bridge on your machine:
make network

# run auraed in a VM as pid 1:
make virsh-start virsh-console virsh-stop

# exit VM console with Ctrl+]

Send a shutdown signal:
make virsh-shutdown
# before the vm is powered off, a log entry shows the received input event

Todos

Notify Runtime first before shutting down - .await the auraed runtime
detect correct power button input device (hardcoded to /dev/input/event0 which works for the libvirtd development vm)
Handle reboot button with a reboot instead

Closes https://github.com/aurae-runtime/auraed/issues/21


[Fix]Company Section

Margins are not using css variables
Colors are not according to mockup
Dark mode colors are incorrect

Can I work on this issue?

I'm too late...

Has this been taken / actively being worked on?

You can close this now, it's being done.

assign this to me. I will do the necessary changes required.


No connection details for Influx 1.7.X

I just installed 5.4.1 version of this plugin to try out flux and there does not appear to be a way to declare connection details for Influx 1.7.
I can only see connection sources for 2.0.0:

What do I have to do to connect to 1.7.x?

It looks like you have to enter username and password into token field: https://github.com/grafana/influxdb-flux-datasource/issues/100#issuecomment-631410810


Sort subnet in live manifest of ECS Drift Detection

What this PR does / why we need it:
Issue: When viewing the details of the drift-detector on the PipeCD console, the order of subnets in the live state (red) matches the defined resource (servicedef.yaml), but the Git state (green) shows subnets in reverse order.
Investigation: After reviewing the AWS DescribeServices documentation, I found no evidence that AWS guarantees any sorting of subnets in the returned live state. It appears that PipeCD fetches the live state using DescribeServices.
Proposed Solution: I suggest adding explicit sorting of subnets in PipeCD before performing comparisons in the drift detector to avoid confusion.
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?: No

How are users affected by this change: The diff will be changed on the ECS app.
Is this breaking change: No
How to migrate (if breaking change):

@HoangNguyen689
thank you so much.  let me check again.
the solution might be one of:
a. remove sorting as you mentioned
b. sort both livestate and head

@t-kikuc
I just changed to sort both the live state and the head manifest!

@HoangNguyen689
thank you!
I also think no sorting is ideal,
but let me ask AWS support.

@HoangNguyen689
I asked AWS Support and it turned out that
sorting the subnets occurs but that might be changed in the future. (so that is not described in any docs)
That's why, sorting both live and head manifests is the best.


TensorRT10 Error

I install TensorRT10 which was released 3 weeks ago, but I find some errors when I make the C++ programme. Maybe the API update in this nbew version. Need Help!

Now I have try to support tensort10 in this pr

Thank you so much and I will try it later


[Bug]: Git.Git upgrade installed but notified about failure

The problem
Hey,
I'm currently testing this great solution and for a first try I targeted Git installed in User context.
I was notified that installation failed but after checking Git version is was updated. Also log file describe clearly what happened.
I know that UAC can be challenging but do you plan to implement some feature that will prompt user for credentials if required?
What version of WAU has the issue?
1.17.6-2
What version of Windows are you using (ex. Windows 11 22H2)?
Windows 11 22H2
What version of winget are you using?
v1.7.2491-preview
Log information
`
##################################################
#     CHECK FOR APP UPDATES - 18/09/2023
##################################################
14:25:20 - Running in System context
14:25:22 - Notification Level: Full. Notification Language: English
14:25:22 - Checking internet connection...
14:25:22 - Connected !
14:25:31 - Winget Version: v1.7.2491-preview
14:25:31 - WAU current version: 1.17.6-2
14:25:31 - WAU AutoUpdate is Disabled.
14:25:31 - WAU uses External Lists from: C:\ProgramData\Winget-AutoUpdate-Configurator
14:25:31 - Newer List downloaded/copied to local path: C:\ProgramData\Winget-AutoUpdate
14:25:31 - WAU uses External Mods from: C:\ProgramData\Winget-AutoUpdate-Configurator\mods
14:25:31 - Mods are up to date.
14:25:31 - 1 Mods deleted (not externally managed) from local path: C:\ProgramData\Winget-AutoUpdate\mods
14:25:31 - WAU uses White List config
14:25:32 - Checking application updates on Winget Repository...
-> Available update : Remote Desktop Manager. Current version : 2<IP_ADDRESS>. Available version : 2<IP_ADDRESS>.
-> Available update : Microsoft PowerBI Desktop (x64). Current version : 2.116.622.0. Available version : 2.121.644.0.
-> Available update : Google Chrome. Current version : 117.0.5938.63. Available version : 117.0.5938.89.
-> Available update : Microsoft Visual C++ 2015-2019 Redistributable (x64) - 14…. Current version : 14.24.28127.4. Available version : 14.38.32919.0.
14:25:35 - Remote Desktop Manager : Skipped upgrade because it is not in the included app list
14:25:35 - Microsoft PowerBI Desktop (x64) : Skipped upgrade because it is not in the included app list
14:25:35 - Google Chrome : Skipped upgrade because it is not in the included app list
14:25:35 - Microsoft Visual C++ 2015-2019 Redistributable (x64) - 14… : Skipped upgrade because it is not in the included app list
14:25:35 - No new update.
14:25:39 - User logged on, get a list of installed Winget apps in System context...
14:25:44 - Starting WAU in User context

##################################################
#     CHECK FOR APP UPDATES - 18.09.2023
##################################################
14:25:50 - Running in User context
14:25:50 - Notification Level: Full. Notification Language: English
14:25:50 - Checking internet connection...
14:25:51 - Connected !
14:25:55 - Winget Version: v1.7.2491-preview
14:25:55 - WAU current version: 1.17.6-2
14:25:55 - WAU uses White List config
14:25:55 - Checking application updates on Winget Repository...
-> Available update : Microsoft Teams. Current version : <IP_ADDRESS>55. Available version : <IP_ADDRESS>78.
-> Available update : Signal 6.30.1. Current version : 6.30.1. Available version : 6.30.2.
-> Available update : Git. Current version : 2.39.0. Available version : <IP_ADDRESS>.
14:25:58 - Microsoft Teams : Skipped upgrade because it is not in the included app list
14:25:58 - Signal 6.30.1 : Skipped upgrade because it is not in the included app list
14:25:59 - Updating Git from 2.39.0 to <IP_ADDRESS>...
14:26:02 - ##########   WINGET UPGRADE PROCESS STARTS FOR APPLICATION ID 'Git.Git'   ##########
14:26:02 - -> Running: Winget upgrade --id Git.Git --accept-package-agreements --accept-source-agreements -h

   -

   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /

Found Git [Git.Git] Version <IP_ADDRESS>
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/git-for-windows/git/releases/download/v2.42.0.windows.2/Git-<IP_ADDRESS>-64-bit.exe

   -
   \
   |
   /
   -
   \
   |
   /
   -
   \

  ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  1024 KB / 58.4 MB
  ███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  7.00 MB / 58.4 MB
  ██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  13.4 MB / 58.4 MB
  █████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  19.4 MB / 58.4 MB
  █████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  25.4 MB / 58.4 MB
  ███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  30.4 MB / 58.4 MB
  █████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒  34.4 MB / 58.4 MB
  ██████████████████▒▒▒▒▒▒▒▒▒▒▒▒  36.4 MB / 58.4 MB
  ███████████████████▒▒▒▒▒▒▒▒▒▒▒  38.4 MB / 58.4 MB
  ████████████████████▒▒▒▒▒▒▒▒▒▒  40.4 MB / 58.4 MB
  ██████████████████████▒▒▒▒▒▒▒▒  43.4 MB / 58.4 MB
  ████████████████████████▒▒▒▒▒▒  47.4 MB / 58.4 MB
  ██████████████████████████▒▒▒▒  51.4 MB / 58.4 MB
  ████████████████████████████▒▒  55.4 MB / 58.4 MB
  ██████████████████████████████  58.4 MB / 58.4 MB
Successfully verified installer hash
Starting package install...
The installer will request to run as administrator, expect a prompt.

   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /

Successfully installed
14:27:45 - -> An upgrade for Git failed, now trying an install instead...
14:27:45 - -> Running: Winget install --id Git.Git --accept-package-agreements --accept-source-agreements --force -h

   -

Found Git [Git.Git] Version <IP_ADDRESS>
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/git-for-windows/git/releases/download/v2.42.0.windows.2/Git-<IP_ADDRESS>-64-bit.exe

   -
   \
   |
   /
   -
   \
   |
   /
   -
   \

  ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  1024 KB / 58.4 MB
  █▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  3.00 MB / 58.4 MB
  ██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  4.00 MB / 58.4 MB
  ██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  5.00 MB / 58.4 MB
  ███▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  6.00 MB / 58.4 MB
  ████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  8.00 MB / 58.4 MB
  █████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  10.0 MB / 58.4 MB
  ██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  12.0 MB / 58.4 MB
  ███████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  14.0 MB / 58.4 MB
  ████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  16.0 MB / 58.4 MB
  ████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  17.0 MB / 58.4 MB
  █████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  18.0 MB / 58.4 MB
  █████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  19.0 MB / 58.4 MB
  ██████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  20.0 MB / 58.4 MB
  ████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  25.0 MB / 58.4 MB
  ███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  30.0 MB / 58.4 MB
  ████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒  33.0 MB / 58.4 MB
  ███████████████████▒▒▒▒▒▒▒▒▒▒▒  38.4 MB / 58.4 MB
  ██████████████████████▒▒▒▒▒▒▒▒  43.4 MB / 58.4 MB
  ████████████████████████▒▒▒▒▒▒  48.4 MB / 58.4 MB
  ██████████████████████████▒▒▒▒  52.4 MB / 58.4 MB
  ████████████████████████████▒▒  56.4 MB / 58.4 MB
  ██████████████████████████████  58.4 MB / 58.4 MB
Successfully verified installer hash
Starting package install...
The installer will request to run as administrator, expect a prompt.

   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |
   /
   -
   \
   |

Successfully installed
14:28:54 - ##########   WINGET UPGRADE PROCESS FINISHED FOR APPLICATION ID 'Git.Git'   ##########
14:28:54 - Git update failed.
14:28:57 - No new update.
14:28:57 - End of process!

Additional information
No response

Do you have different versions installed at the end?

Hey,
at the end I have Git Version <IP_ADDRESS>

Could you try to update WAU?
You might have 2 versions of the same app.


Production bundle needs work

Add the module name to the package.json because currently its missing and bundlers dont know what to do.
Please make it an UMD module. I can help you do this with Rollup for example, it will be quite easy actually as you dont have any dependencies.
Add minified version of the code.

Now sticky sidebar is universal module definition, check it out. Regards.


encountered error when trying to do mdbook build

I have encountered error when trying to do mdbook build, any idea? thanks so much for helping in advance
in $Repo/docs/ directory
$mdbook build
2022-05-27 12:55:05 [INFO] (mdbook::book): Book building has started
Unable to parse the input
2022-05-27 12:55:05 [ERROR] (mdbook::utils): Error: The "puml" preprocessor exited unsuccessfully with exit status: 1 status

you need to install plantuml & graphviz locally


It doesn't work on Android 12

Listener just don't get fired when doing screenshot on Android 12. Samsung Galaxy A12.

Same here on Android 12 Galaxy A51. It happened to work for a while but stopped working now.

Doesn't work on Android 9 - Samsung Galaxy 8


I have try a piece of code with various steps and dags and retry at each step and have to write the retry piece of code everytime . Can there be a modification where it can be given at one place and used at different places?

I have try a piece of code with various steps and dags and retry at each step and have to write the retry piece of code everytime . Can there be a modification where it can be given at one place and used at different places?
For reference:
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: dag-diamon-coinflip-
spec:
  entrypoint: diamond
  templates:
  - name: diamond
    dag:
      tasks:
        - name: A
          template: coinflip
          retryStrategy:
            limit: 10
            backoff:
              duration: "1"
              factor: 2
              maxDuration:  "1d"
        - name: B
          dependencies: [A]
          template: coinflip
          retryStrategy:
            limit: 10
            backoff:
              duration: "1"
              factor: 2
              maxDuration:  "1d"
        - name: C
          dependencies: [A]
          template: coinflip
          retryStrategy:
            limit: 10
            backoff:
              duration: "1"
              factor: 2
              maxDuration:  "1d"
        - name: D
          dependencies: [B, C]
          template: coinflip
  - name: coinflip
    steps:
      - - name: flip-coin
          template: flip-coin
          retryStrategy:
            limit: 10
            backoff:
              duration: "1"
              factor: 2
              maxDuration:  "1d"
      - - name: heads
          template: found-heads
          when: "{{steps.flip-coin.outputs.result}} == heads"
        - name: tails
          template: coinflip
          when: "{{steps.flip-coin.outputs.result}} == tails"
  - name: flip-coin
    script:
      image: python:alpine3.6
      command: [python]
      source: |
        import random
        result = "heads" if random.randint(0,1) == 0 else "tails"
        print(result)
  - name: found-heads
    container:
      image: alpine:3.6
      command: [sh, -c]
      args: ["echo \"it was heads\""]

Can there be a modification where it can be given at one place and used at different places?

Currently not possible. Let me think and see if there is a good way to do this

v2.12

If by

have to write the retry piece of code everytime

you mean you're having to repeat this block of YAML, then it looks like native YAML anchors and aliases should help. No special support from Argo itself should be necessary.
retryStrategy:
  limit: 10
  backoff:
  duration: "1"
  factor: 2
  maxDuration:  "1d"


Channels aren't playing.

certain channels aren't playing can you help me how to sort it out?

Duplicate of #56


pythonPackages.pyyaml: 5.4.1 -> <IP_ADDRESS>

Motivation for this change
There are actually no changes for us, but it shouldn't show as outdated on Repology.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

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

[x] Fits CONTRIBUTING.md.

@ofborg build python2.pkgs.pyyaml python3.pkgs.pyyaml

Changed base so ofborg will produce a result. Will change back later.
@ofborg build python2.pkgs.pyyaml python3.pkgs.pyyaml

python3.pkgs.pyyaml builds happily, macos 10.15. nixpkgs-review claims python2.pkgs.pyyaml is unchanged.

nixpkgs-review claims python2.pkgs.pyyaml is unchanged.

because python2Packages are not recursed into

Ah ok, I shall insist.

python2.pkgs.pyyaml happy too, macos 10.15.

I'm running nix-build -A pkgsCross.aarch64-multiplatform.python3.pkgs.pyyaml right now. If that fails, I'll add back buildPackages.stdenv.cc.

Result of nixpkgs-review pr 128754 at 92d207f9 run on x86_64-linux 1

69 packages marked as broken and skipped:

adobe-reader
adoptopenjdk-hotspot-bin-13
adoptopenjdk-hotspot-bin-14
adoptopenjdk-jre-hotspot-bin-13
adoptopenjdk-jre-hotspot-bin-14
adoptopenjdk-jre-openj9-bin-13
adoptopenjdk-jre-openj9-bin-14
adoptopenjdk-openj9-bin-13
adoptopenjdk-openj9-bin-14
airtame
autotrace
cassandra_2_1
cassandra_2_2
clickshare-csc1
curaByDagoma
cura_stable
displaycal
dvd-slideshow
electron_3
electron_4
electron_5
epsxe
erlang_basho_R16B02
evilvte
gnash
googleearth-pro
grass
green-pdfviewer
hadoop
hadoop_2_7
hadoop_2_8
hadoop_2_9
hplipWithPlugin_3_16_11
hplip_3_16_11
impressive
invoice2data
jboss
k2pdfopt
keyfinder
linuxPackages_hardkernel_4_14.akvcam
linuxPackages_hardkernel_4_14.virtualbox
linuxPackages_hardkernel_latest.akvcam
linuxPackages_hardkernel_latest.virtualbox
loxodo
metamorphose2
obinskit
odpdown
opentsdb
pcsxr
pdfdiff
pdfread
pgadmin
pig
plover.stable
riak
scribus
scyther
spark
staruml
stepmania
termplay
torchat
tvheadend
twinkle
unicap
vdrPlugins.xineliboutput
winpdb
xpdf
yaxg

14418 packages skipped due to time constraints:

AusweisApp2
DisnixWebService
EBTKS
MIDIVisualizer
OSCAR
R
SDL_Pango
SDL_mixer
Sylk
_1password-gui
...

12 packages built successfully:

djvulibre
gdk-pixbuf
gi-docgen
librsvg (gnome.librsvg)
pango (gnome2.pango)
imagemagick
libinput
python38Packages.pyyaml
python38Packages.sphinx
python39Packages.markdown
python39Packages.pyyaml
sphinx (python39Packages.sphinx)

I'm running nix-build -A pkgsCross.aarch64-multiplatform.python3.pkgs.pyyaml right now. If that fails, I'll add back buildPackages.stdenv.cc.

Doesn't seem to be needed anymore.


Movex server add nx runner for tsc compiler

To resolve issue #100

@GabrielCTroia you can close this PR. I've made a PR (https://github.com/movesthatmatter/movex/pull/114) with just one commit addressing the issue.

@GabrielCTroia you can close this PR. I've made a PR (https://github.com/movesthatmatter/movex/pull/114) with just one commit addressing the issue.

@GabrielCTroia  you can close this PR. I've made a PR (https://github.com/movesthatmatter/movex/pull/114) with just one commit addressing the issue.


Add KStream branch with fluent API

stream.branch() (with no arguments) returns a KBranchedStream rather
than array of KStreams, allowing for a more fluent definition of
branches off of an original stream.

This is intended only as a proof of concept for discussion for a fluent branching API on KStream, in discussion in KIP 418.
Committer Checklist (excluded from commit message)

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

This PR proposed a public API change, and thus we need to do a KIP first: https://cwiki.apache.org/confluence/display/KAFKA/Kafka+Improvement+Proposals
Closing this PR for now. We can revisit after a KIP was approved.


No sus2 Chordtype available

Description
Currently the Chordtype-Type only provides a suspendedTriad which technically is a sus4 chord because it consists of the following intervals [.P4, .P5]. Wouldn't it be nice to also have a sus2 Type?
Is there any specific reason this is missing 🤔 ?
Proposed Solution
Splitting the suspendedTriad into suspendedSecondTriad and suspendedFourthTriad
case .suspendedFourth return [.P4, .P5]
case .suspendedSecond return [.M2, P5]

Describe Alternatives You've Considered
Wrapping my own Chordtype around the Tonic.Chordtype

Hi Sebastian,
Here's the difficullty with sus2 and sus4 chords. If you play the notes A, D, E, our library will identify that as a A sus4 chord, but if the sus2 case you suggests adding were added, those notes could be classified as a D sus2 chord. This ambiguity is solved by music transcribers by listening for what is the most prominent note, or the bass note, and assuming that is the root, or by looking at the context of the song. As an example, a guitarist lifting his finger off high the high note of a D chord is making a D sus2 chord, not jumping to an A sus4.
So for us, a proposed solution would have to entail some sort of logic around how we name chords with teh same spelling based on other characteristics, like perhaps in that case finding the lowest note that could be the root and deciding to name the chord off of that note. But, that feels very subjective to me, so we have not implemented anything like that.
Aure

I thought these "Potential Chords" were added to address that issue in the demo project

I don't even recall the notion of potential chords, will have to refresh my memory.

Thanks @SebastianBoldt for bringing up this issue, and thanks @Matt54 for reminding me we had given it some thought.

Fixed in 1.1 https://github.com/AudioKit/Tonic/releases/tag/1.1.0


how to deal with the bundle asset folder?

Hi
now I can use react-native bundle to get a bundle file and asset folder,
so how to put all these in update.json??
now I can only update the js bundle in app, the images are gone.
thank you very much

seems there is no way to solve this problem
https://github.com/aerofs/react-native-auto-updater/issues/9


Add functions to check optional packages

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

Project coverage is 100.00%. Comparing base (9db428c) to head (05bd0e9).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #37   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            5         6    +1
  Lines           61        81   +20
  Branches         8        10    +2
=========================================
+ Hits            61        81   +20

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