Does etcd client have interface instead of AddChild in go-etcd?

We want use official etcd client instead of go-etcd in my program. My program use go-etcd AddChild function, I do not find it in official etcd client, does it have other interface instead of AddChild

Yep, check out CreateInOrder, part of the KeysAPI interface:
https://github.com/coreos/etcd/blob/7adb8442ba7a1b7800ab939fbe9aabfeafd3e4ae/client/keys.go#L120
On Thu, Jan 28, 2016 at 11:24 AM, Yulei Xiao<EMAIL_ADDRESS>wrote:

We want use official etcd client instead of go-etcd in my program My
program use go-etcd AddChild function, I do not find it in official, does
it have other interface instead of AddChild
—
Reply to this email directly or view it on GitHub
https://github.com/coreos/etcd/issues/4319.

@jonboulle
AddChild comment is // Add a new file with a random etcd-generated key under the given path.
but CreateInOrder comment is // CreateInOrder is used to atomically create in-order keys within the given directory.
Is it the same?

Yes. The fact that the "random" key is generated by the etcd server is what
provides the automatic atomic creation.
On Fri, Jan 29, 2016 at 2:36 AM, Yulei Xiao<EMAIL_ADDRESS>wrote:

@jonboulle https://github.com/jonboulle
AddChild comment is // Add a new file with a random etcd-generated key
under the given path.
but CreateInOrder comment is // CreateInOrder is used to atomically
create in-order keys within the given directory.
Is it the same?
—
Reply to this email directly or view it on GitHub
https://github.com/coreos/etcd/issues/4319#issuecomment-176512539.


Why lychee does not defaults to --help ?

Hi!
lychee defaults to trying to parse a README.md file and this is quite strange IMO.
Maybe defaulting to --help would be more appropriate?
I am not sure about the reason of this behavior (there is maybe a very good one) and sorry if this was already discussed.

Not much thought went into that other than the idea that the tool would be used mostly in code repositories where a README.md would be a somewhat sane default. One could argue that an even better one would have been '**/*.html' or anything similar, but we didn't have glob functionality back then.
To be honest I didn't think that the tool would grow into what it is now. The number use-cases has increased so it's a good time to revisit that default.
Especially given that running lychee in a directory without a README.md is not very welcoming:
> lychee
Error: Failed to read file: `README.md`, reason: No such file or directory (os error 2)

I'd say we should change it to --help.

To not make a breaking change, it could also keep scanning README.md if present, and only show the help when not. But probably it's not worth to hassle with this when it could simply behave like most other command line tools and show the help right away.

OK, thanks.
It could also be considered a bit intrusive to start parsing a bunch of *.md files without the user explicitly asking for it.
I did a quick research and I could not find any best practice or standards for CLI tools, so maybe --help is the most natural one.

Maybe something to take in consideration before doing the move is if something like cat foo.md | lychee (or derivate) is desirable... I can't see any benefits so far but others may.

Catching those issues before 1.0 is great because we're still in a phase where we can make breaking changes without bumping the major version. Most users call lychee with some arguments already I think, so not much would change.
We support stdin with lychee -. Reading from stdin without - would look like lychee is busy when calling it without any arguments, which could be confusing.
In summary, let's make --help the default. @fauust are you willing to try a PR? 😊

I would love to but I am really not a developer...

No worries. In this case it's all structopt magic. 🪄 🐰 🎩 See PR. 😄 #329


[SPARK-46474][INFRA] Upgrade upload-artifact action to v4

What changes were proposed in this pull request?
The pr aims to upgrade upload-artifact action from v3 to v4.
The pr is also an improvement after the reversal of https://github.com/apache/spark/pull/44438.
Why are the changes needed?

v4.0.0 release notes: https://github.com/actions/upload-artifact/releases/tag/v4.0.0
They have numerous performance and behavioral improvements.

v3 VS v4: https://github.com/actions/upload-artifact/compare/v3...v4.0.0

Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass GA.
Was this patch authored or co-authored using generative AI tooling?
No.

Why does this PR https://github.com/apache/spark/pull/44438 cause upload failure in build_python testing?
1.

Merged to master.

Oh, it seems to fail again.

https://github.com/apache/spark/actions/runs/7490604055/job/20389931713

Error: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run

Unfortunately, let me revert this again.

This is reverted via https://github.com/apache/spark/commit/c18c87dc70d4dfbb40335fe655f79da21835ff80

Thanks for reverting it 👍

I also noticed that, it's strange, I will investigate again.

It seems that the ` PYTHON_TO_TEST` environment variable is not effective,
`Python 3.9 still` runs in various workflows, which doesn't seem to meet our expectations.

I have found another issue, we need to use $PYTHON_TO_TEST in every step of using env: ${{ fromJSON(inputs.envs) }}, otherwise the enumeration will not be as expected.
Let's take a successful build_ python Using as an example, https://github.com/apache/spark/actions/runs/7476792796/job/20348090667
1.python 3.10
https://github.com/apache/spark/actions/runs/7476792796/job/20348079659

2.python 3.11
https://github.com/apache/spark/actions/runs/7476792796/job/20348091081

cc @dongjoon-hyun @HyukjinKwon
I will first propose a separate PR to fix this issue.


glyph.removeContour needs to accept a contour object.

Not just an index.

This was fixed somewhere along the way.


Linux tests hanging

Our Linux test runs have been hanging indefinitely since the introduction of the new emitter code. The first test run that revealed this behaviour can be seen here. This is the tail end of the output:
Test Summary: | Pass  Total
Comparison    |  121    121
[ Info: Makie/AbstractPlotting is caching fonts, this may take a while. Needed only on first run!
Error: The operation was canceled.

It seems to be stuck on the Visualization tests, so it's probably a Makie issue. @friggog @BrianGun, do you think it could be something to do with the precompilation / display stack issue that's dealt with by the __init__() = AbstractPlotting.__init__() line? @galran did you notice any issues locally when you ran the tests? They're running fine on my machine.
To Reproduce
Steps to reproduce the behavior:

Checkout the new emitter code in a branch
Trigger a CI.yml run with Ubuntu (any supported Julia version)

Expected behavior
After a 6 hour timeout (or cancellation), we see the above log.
Testing server:

OS: Ubuntu 18.04
Julia version: 1.5, 1.6, 1.7
OpticSim.jl version: latest (0.3.1 + new emitter code)

I didn't notice any problems on windows. Didn't try it on a headless Linux machine.
ran
From: Alfred Wong @.>
Sent: Friday, March 26, 2021 12:33 PM
To: microsoft/OpticSim.jl @.>
Cc: Ran Gal @.>; Mention @.>
Subject: [microsoft/OpticSim.jl] Linux tests hanging (#62)
Our Linux test runs have been hanging indefinitely since the introduction of the new emitter code. The first test run that revealed this behaviour can be seen herehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FOpticSim.jl%2Fruns%2F2203734986%3Fcheck_suite_focus%3Dtrue&data=04|01|rgal%40microsoft.com|5c4bbaa0161f40857f5c08d8f08df17f|72f988bf86f141af91ab2d7cd011db47|1|0|637523839716297817|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=uy%2Bilj8n%2BH7omAZQILZsJtOQiTvt43GUi7NF4%2FPXAlY%3D&reserved=0. This is the tail end of the output:
Test Summary: | Pass  Total
Comparison    |  121    121
[ Info: Makie/AbstractPlotting is caching fonts, this may take a while. Needed only on first run!
Error: The operation was canceled.
It seems to be stuck on the Visualization tests, so it's probably a Makie issue. @friggoghttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffriggog&data=04|01|rgal%40microsoft.com|5c4bbaa0161f40857f5c08d8f08df17f|72f988bf86f141af91ab2d7cd011db47|1|0|637523839716307822|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=Li0CvxUBS%2Bs%2FN5veC3%2B0aJ37to0X%2BNes6BPQDmcmU%2FQ%3D&reserved=0 @BrianGunhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FBrianGun&data=04|01|rgal%40microsoft.com|5c4bbaa0161f40857f5c08d8f08df17f|72f988bf86f141af91ab2d7cd011db47|1|0|637523839716307822|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=wj8DdvDP2r05h5MK%2F%2ForQhf9GrQqwmKFwX7Cy3A78MI%3D&reserved=0, do you think it could be something to do with the precompilation / display stack issue that's dealt with by the init() = AbstractPlotting.init() line? @galranhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgalran&data=04|01|rgal%40microsoft.com|5c4bbaa0161f40857f5c08d8f08df17f|72f988bf86f141af91ab2d7cd011db47|1|0|637523839716317813|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=OtshdBgHNLpKJQQB8IY2dRnSpMWgKxs3EaPrpImwZu4%3D&reserved=0 did you notice any issues locally when you ran the tests? They're running fine on my machine.
To Reproduce
Steps to reproduce the behavior:

Checkout the new emitter code in a branch
Trigger a CI.yml run with Ubuntu (any supported Julia version)

Expected behavior
After a 6 hour timeout (or cancellation), we see the above log.
Testing server:

OS: Ubuntu 18.04
Julia version: 1.5, 1.6, 1.7
OpticSim.jl version: latest (0.3.1 + new emitter code)

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FOpticSim.jl%2Fissues%2F62&data=04|01|rgal%40microsoft.com|5c4bbaa0161f40857f5c08d8f08df17f|72f988bf86f141af91ab2d7cd011db47|1|0|637523839716317813|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=h5YtzkBGcOE6zqGNBpNrfhOzICbaBEOzHuAHxMcKGzo%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FATBK6XUEU7T47HKF26RTPCLTFTOOFANCNFSM4Z37D56Q&data=04|01|rgal%40microsoft.com|5c4bbaa0161f40857f5c08d8f08df17f|72f988bf86f141af91ab2d7cd011db47|1|0|637523839716317813|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=Hsk5slZhBtDtK8t9U6L0Ynyhxpgh96GdX74ro%2F7DU9I%3D&reserved=0.

no idea why this might be happening.

I had this problem before but I can’t remember if there was any solution. I think at the time it may have just been to avoid calling whatever function results in fort caching…
A little weird why this doesn’t happen on both windows and linux though?
I think if you can cache (some of) the pipeline stages as we did on devops (specifically the .Julia folder) then it only needs to happen once and after that you’re good, maybe just extend the timeout to allow this - although 6 hours should do it so maybe it’s something else…
Take a look at other package’s CI which makes use of Makie and if not raise an issue with Makie is my advice

On 26 Mar 2021, at 19:32, Alfred Wong @.***> wrote:
Our Linux test runs have been hanging indefinitely since the introduction of the new emitter code. The first test run that revealed this behaviour can be seen here https://github.com/microsoft/OpticSim.jl/runs/2203734986?check_suite_focus=true. This is the tail end of the output:
Test Summary: | Pass  Total
Comparison    |  121    121
[ Info: Makie/AbstractPlotting is caching fonts, this may take a while. Needed only on first run!
Error: The operation was canceled.
It seems to be stuck on the Visualization tests, so it's probably a Makie issue. @friggog https://github.com/friggog @BrianGun https://github.com/BrianGun, do you think it could be something to do with the precompilation / display stack issue that's dealt with by the init() = AbstractPlotting.init() line? @galran https://github.com/galran did you notice any issues locally when you ran the tests? They're running fine on my machine.
To Reproduce
Steps to reproduce the behavior:
Checkout the new emitter code in a branch
Trigger a CI.yml run with Ubuntu (any supported Julia version)
Expected behavior
After a 6 hour timeout (or cancellation), we see the above log.
Testing server:
OS: Ubuntu 18.04
Julia version: 1.5, 1.6, 1.7
OpticSim.jl version: latest (0.3.1 + new emitter code)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/microsoft/OpticSim.jl/issues/62, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRDUPPWSJISXZTSAJ425ALTFTOOFANCNFSM4Z37D56Q.

Even weirder, when I exclude the new emitter Vis code, Julia 1.7 gets through fine on linux.
We're doing some caching in CI.yml, but it's limited to .julia/artifacts. Extending to .julia/ could be a good idea, but as you say 6 hours is a long time so I'll try to get to the bottom of this first.
Need to do some more digging - I'll raise an issue when I can actually say what the issue is 😅

Solved in 6733316. I'll keep this issue open until the commit is merged.
Note for future: the error was caused by having multiple Makie backends (GLMakie/WGLMakie in this case). To avoid it, we need to explicitly activate the correct backend using, e.g., GLMakie.activate!().


Getting "JdbcAbortedDueToConcurrentModificationException" while executing two transactions at a time.

I am using readwrite transaction with hibernate.  When I am trying to hit rest API twice at a same time for read and updating the same column data, I am getting below issue.
com.google.cloud.spanner.jdbc.JdbcSqlExceptionFactory$JdbcAbortedDueToConcurrentModificationException: The transaction was aborted and could not be retried due to a concurrent modification
ABORTED: Deadlock with higher priority transaction. retry_delay { nanos: }
Could you please suggest how to handle this in the Hibernate.
Sample code -
@Transactional(propagation = Propagation.REQUIRES_NEW)
	@Retryable
	public void getAndUpdateSequence(int empId) {
		int lastSequence = employeeRepository.getLastSequenceByEmpId(empId);

		int updatedSeq = lastSequence + 1;
		employeeRepository.updateLastSequence(updatedSeq, empId);
}

The behavior that you are seeing is intentional and means that the JDBC driver tried to retry the transaction internally, but during the retry observed different data than during the initial attempt. It then throws the exception that you are seeing to prevent the application from making decisions based on stale data.
There are a couple of options that you could use to fix this:

Using Spring @Retryable should work. However; it requires that you have set up Spring retry correctly (this for example also requires @EnableRetry to be added to your application configuration. See https://www.baeldung.com/spring-retry for a full example. You should also consider adding JdbcAbortedDueToConcurrentModificationException.class as the exception that you want to retry to the @Retryable annotation to ensure only that exception is retried, and not any other exception. Also remember that @Retryable will only retry the method 3 times by default before giving up / trying the recover method (that is not defined in your example).
You can work around this by using a manual retry loop instead of the @Retryable annotation like this:

// Call this method from your application
public void getAndUpdateSequenceRetryable(int empId) {
  final int maxRetries = 1000;
  for (int i=0; i < maxRetries; i++) {
    try {
      getAndUpdateSequence(int empId);
      return;
    } catch (JdbcAbortedDueToConcurrentModificationException e) {
      // ignore
    }
  }
  throw new RuntimeException("Max retries exceeded");
}

@Transactional(propagation = Propagation.REQUIRES_NEW)
void getAndUpdateSequence(int empId) {
  int lastSequence = employeeRepository.getLastSequenceByEmpId(empId);

  int updatedSeq = lastSequence + 1;
  employeeRepository.updateLastSequence(updatedSeq, empId);
}


Open drawer and jump to current file

Let me start by thanking you for this. I've been looking for a faster and more lightweight alternative to NERDTree for a while now and I'm very glad that I found your plugin. It seems to be able to combine everything I liked from existing file explorers out there.
Now, I’m looking for something similar to NERDTree’s NERDTreeFind command. I’d really appreciate if you could add this functionality as well. That’s one of my main usages currently with NERDTree (quickly see where a file is located within the dir hierarchy and which other files are its siblings).
It would be also great if you added some documentation as well. So far I was able to understand a lot from reading the code (e.g.: available actions, how to override mappings), but documentation definitely helps.

I'm not sure but it sounds like :Fila . -drawer -reveal=% is what you want.

It would be also great if you added some documentation as well. So far I was able to understand a lot from reading the code (e.g.: available actions, how to override mappings), but documentation definitely helps.

Sorry for that. While I'm not really satisfied with the current implementation (that's why I said it's alpha stage), I'd like to change things before writing documentation. Writing english documentation is a bit tough work for me.

Amazing, -reveal is exactly what I was looking for, thank you!

Sorry for that. While I'm not really satisfied with the current implementation (that's why I said it's alpha stage), I'd like to change things before writing documentation. Writing english documentation is a bit tough work for me.

No worries, I completely understand. And your English is totally fine to me. ;)


import BrowserModule

Hello man great plugin,
I would notice you, you imported BrowserModule inside angular2-drag-scroll.ts and cause of this I cant import it inside my NgModule because BrowserModule cant be loaded twice see this.

Hi @0nza1101
I created a fix for this #3
Uninstall the old plugin and run:
npm install angular2-drag-scroll@latest

Thanks for reporting this. Let me know if it's working for you!

Hey @0nza1101 , any updates?

Hey, yes the problem is fixed but It seems I cant use your module in my project 🤕

Is there a technique issue? 😞

No I can get your sample working but not in my project, maybe a css break or something like that

@0nza1101 I'm sorry to hear that, thanks for reporting this issue.


Revert "Support k8s version <= 1.15"

Reverts istio/istio#24228

@sdake: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-k8s-tests_istio
f39f84a56501fefdb930a592f6e9ea8fed7cad75
link
/test integ-pilot-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-pilot-k8s-tests_istio

@sdake: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-k8s-tests_istio
f39f84a56501fefdb930a592f6e9ea8fed7cad75
link
/test integ-pilot-k8s-tests_istio

integ-security-k8s-tests_istio
f39f84a56501fefdb930a592f6e9ea8fed7cad75
link
/test integ-security-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Why? No problem reverting if this causes issues but I don't have any context

@howardjohn The only problem I perceive this causing is that it opens Istio up to a 5 release K8s support window expectation for now in the future. How do we drop 1.14 if we just added 1.14 support in 1.6 backport?
We had 3 or 4 hours of conversation that led to the 3 K8s window + occasionally 4 windows in T&R and TOC. The decision was agreed upon, and this reverts that decision:
See:
https://github.com/istio/istio/pull/24228#issuecomment-636318648

I do agree with the k8s support matrix.  This is a better to have stuff.

/test integ-security-k8s-tests_istio


Incorrect token expiration handling in the loadExternalTokens API

Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
2.19.0
Wrapper Library
Not Applicable
Wrapper Library Version
None
Description
I am trying to use the loadExternalTokens() API (documented here) to sideload an access token during cypress tests.
It looks like there is a bug in the sideloading code that handles the expires_in field of the token response: https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/8afb0be101c2ff51533fce867791efdba6d88ee6/lib/msal-browser/src/cache/TokenCache.ts#L137
It does no add anything to the token lifetime.
This causes the token to have an expiresOn which is something like 3831 which will always be expired when comparing it against the current time.
The check in the isTokenExpired method (here) gets ridiculous and compares something like:<PHONE_NUMBER> > 3831 which will obviously fail :)
The token response handling correctly adds the resquest time to the expires_in field: https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/8afb0be101c2ff51533fce867791efdba6d88ee6/lib/msal-common/src/response/ResponseHandler.ts#L221
Error Message
InteractionRequiredAuthError: no_tokens_found: No refresh token found in the cache. Please sign-in.
Msal Logs
No response
MSAL Configuration
{
    auth: {
        authority,
        clientId,
    }
}

Relevant Code Snippets
import * as msal from "@azure/msal-browser";
import {decode} from "jsonwebtoken";

const tenantId = "<tenant-id>"
const authority = "https://login.microsoftonline.com/<tenant-id>";
const clientId = "<client-id>";
const environment = "login.windows.net";
const username = "<username>";
const apiScopes = ["<app-scope>"];

const tokenResponse = "<response from azure ad when doing a ROPC flow authentication>"

const idToken = decode(tokenResponse.id_token);
const localAccountId = idToken.oid || idToken.sid;
const realm = idToken.tid;
const homeAccountId = `${localAccountId}.${realm}`;

const silentRequest: msal.SilentRequest = {
    authority,
    scopes: ["openid profile"].concat(apiScopes),
    account: {
        homeAccountId,
        environment,
        tenantId,
        username,
        localAccountId
    }
};

const externalResponse: msal.ExternalTokenResponse = {
    tokenResponse
    // the next line fixed the problem
    // expires_in: Math.round(new Date().getTime() / 1000.0) + tokenResponse.expires_in
};
const tokenOptions: msal.LoadTokenOptions = {
    extendedExpiresOn: 3600
};
const pca = new msal.PublicClientApplication({
    auth: {
        authority,
        clientId,
    }
});
pca.getTokenCache().loadExternalTokens(silentRequest, externalResponse, tokenOptions);

Reproduction Steps

Sideload a token via the loadExternalTokens API
trying to use the token inside the application via msal results in an error stating: "InteractionRequiredAuthError: no_tokens_found: No refresh token found in the cache. Please sign-in."

Expected Behavior
A sideloaded token should not be instantly expired
Identity Provider
Azure AD / MSA
Browsers Affected (Select all that apply)
Chrome, Firefox, Edge, Safari, Internet Explorer
Regression
No response
Source
External (Customer)

Just found issue #4189
This is a duplicate, I'm closing it.


Migration path?

The most worrying aspect for any organisation is migrating from Microsoft Accounts to Azure AD. What’s the process, what will be lost, will we retain audit trails, change history, work item.... can I have Azure AD and Microsoft accounts as an interim? What if the Microsoft account and AD account is the same email address? Etc
There needs to be guide on this process - we want to change but as an early adopter we had to use Microsoft Accounts; now we have 30 developers across the globe and the perceived risk to our business is high

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

ID: 39c81ce4-7085-f5cd-e29a-e434074d449a
Version Independent ID: e9bbaf41-404e-d1b7-5e39-33b68ffe7ef0
Content: Azure DevOps access with Azure AD groups
Content Source: docs/organizations/accounts/manage-azure-active-directory-groups.md
Product: devops
GitHub Login: @chcomley
Microsoft Alias: chcomley

Hi @grahambunce thanks for your message. There is a guide on this process and answers to your questions here: https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/connect-organization-to-azure-ad?view=vsts&tabs=new-nav.
Please let us know if you have any other questions or concerns - I've filed a work item to ensure the tutorial is linked to from the Manage Azure Active Directory Groups topic, where you began.


Allow changing smallest currency fraction

It seems all currencies are being displayed with two decimal places. There should be a setting for changing this behavior, or even better, autodetect the correct number of decimal places based on the selected currency (Gnucash on the desktop does this by default).
This would be great especially because the space for entering transaction amounts doesn't fit numbers greater or equal than 10,000.00 on my screen, which isn't a lot on my (non fractional) currency.

Fixed in v2.0.0


Can't run this app

If I follow your instructions and copy & paste the code to Automator, the resulting application does not work:

The action "Run AppleScript" encountered an error.
Check the action's properties and try running the workflow again.

If I try to run it in AppleScript Editor, I get an error mesage:

Syntax Error
Expected end of line but found application constant or consideration.

It highlights the word preferences in the line
tell application "System Events" to tell expose preferences

I have OS X 10.9.2.

I have this problem as well. It appears that when Hot Corners were moved from Expose to Mission Control, the Applescript bindings were lost.
This thread talks about it: http://apple.stackexchange.com/a/108635/109165

@EricWVGG Thanks for linking up the thread.
Hot Corners Disabler uses System Events calls in order to access hot corners settings in OS X, however in 10.8.x (Mavericks) Apple decided to remove hot corners accessors from it, effectively killing my script.
I'm currently unaware of a way of doing required system calls, without adding much overhead, to make Hot Corners Disabler compatible with 10.9 and above. I will however update the code once this functionality is brought back to the API by Apple.

What about using the defaults write com.apple.dock wvous-tl-corner command via do shell script? (And following with a killall Dock.)


can't not post to blogger

Link to blogger is ok
But publish article not work

Dear Yang,
Thanks for your bug report!
@benweet how can we debug this?

@orschiro Today I create a new blogger. And publish article success.  And I try the the old blogger, also success,too

Thanks for your reply! I will mark this as solved then. :-)


Help with code / setup

I'm very new to using asyncio in python so I'm not sure I understand the README exactly and I am having issues with using this package.
I believe I made a work around and created just a basic script to discover my devices, however when I print them to the screen no devices are in the list. I'm not sure how exactly the API key should be inserted either.
Is there a basic script that someone can explain where I can just turn my lights on and off? Once I see that I'll be able to understand but I am having a difficult time getting started with this. Thank you!

I also dont know where exactly my API  Key belongs. Tried to set the variable but didnt worked.

Hi,
I use an
.env
file holding my api key, but you could just try to run the files in the /example folder. These are simple procedural scripts.
These are files missing unit tests, so it may be something is broke. I don't try them very often.
e.g. on readme_example.py you may pass the api-key as parameter, see end of file.


It does not work with proxy with auth.

I tried to use proxies with an auth username/password, and it displays 'HTTP ERROR 407' error when opening a URL.
Proxies are working btw.
body:
{
  "url": "https://nopecha.com/demo/cloudflare",
  "mode": "waf",
  "proxy": {
    "host": "someip",
    "port": "someport",
    "username": "someusername",
    "password": "somepassword"
  }
}

Proxies with auth information were used while coding the library. It has been tested many times. There is probably a problem with your proxies. Can you register with Webshare and try with the test proxy information it provides?

I use the proxies (oculusproxies) in my current project, and they are working, so I'm using them here. However, I tried others in my pool, and some of them were working. I don't understand why not all of them are working here.
Also, did you see such behavior when a page is not loaded fully (all CSS, images, etc) with your tool? I tried opening a page with the same proxy through your tool and directly in a browser, and the result page looks different.

I use the proxies (oculusproxies) in my current project, and they are working, so I'm using them here. However, I tried others in my pool, and some of them were working. I don't understand why not all of them are working here. Also, did you see such behavior when a page is not loaded fully (all CSS, images, etc) with your tool? I tried opening a page with the same proxy through your tool and directly in a browser, and the result page looks different.

There may be a momentary situation related to your proxies, puppeteer's local proxy support is used. Images, fonts, css etc. are blocked so that they do not consume resources. You can try using different proxies, this problem is not library related.

understood about resources. thanks for your explanation.

there was an issue with my proxies. the lib is cool. 👍


Feature Request - Pointer Stabilization

Hi,
First off just wanted to comment on how much better of an experience this is in DCS than using the built in hand tracking.
I'm using a Leap Motion Controller with a Reverb G2.
Is it possible at all to add some sort of stabilization for the pointer?  Between your head slightly shaking and your hands slightly shaking it can sometimes be difficult to get the pointer on the buttons long enough to do the pinch gesture.

Been playing around this:

feels unneeded for controller emulation
not really possible for touch screen emulation: as this is based on a 2D pointer relative to your head, it needs to compensate for head movement, which requires depth information which is not available from the game.

#44 would effectively solve this problem without smoothing/stabilization.


Is this package secure?

I noticed that some packages with very low stars have been included. I think this repository should prioritize security.

@kkHAIKE Do you have any specific concerns or questions about this codebase?

Just a bit anxious, but there are no other options. Worried that he might be manipulated by malicious packages or PR control.

I really like the idea of trying to keep the dependencies as minimal as possible, but I'm not knowledgeable about the various cookie and secret stores to remove any of the current dependencies easily. 😞
Some of them, like ordereddict, we should look into…

Just a bit anxious, but there are no other options. Worried that he might be manipulated by malicious packages or PR control.

there is other way to get cookies, at least for chrome
rod

rod asks a running chrome instance for the cookies afaik.

break down of the few dependencies:
# needed for decryption
github.com/keybase/go-keychain
github.com/zalando/go-keyring
github.com/godbus/dbus/v5
# needed for pure go sqlite
github.com/go-sqlite/sqlite3
github.com/gonuts/binary # only 300 lines, easy to proofread
# for firefox (querying profile location in profiles.ini config file)
github.com/go-ini/ini
# for example program
github.com/spf13/pflag
# for firefox host field in the sqlite db - see #69
github.com/bobesa/go-domain-util
# ESE parsing for old IE/Edge cookie stores
# Velocidex does digital forensic
www.velocidex.com/golang/go-ese
github.com/Velocidex/ordereddict - pulls in the yaml + json packages
# 10k lines (yaml+json+spew) balast that we could strip off with an internal fork of the ese package
github.com/Velocidex/yaml/v2
github.com/Velocidex/json
github.com/davecgh/go-spew - pulled in by the ese package
# official x packages
golang.org/x/crypto
golang.org/x/net
golang.org/x/sys
golang.org/x/text

I noticed that some packages with very low stars have been included. I think this repository should prioritize security.

A low star count doesn't mean bad security.
gonuts/binary, for example, was probably one of the few package options available when it was chosen as a dependency for the go-sqlite/sqlite3 package a few years ago, on which kooky itself depends. "binary" consists of only 300 lines of code in a single go file.
The yaml, json, go-spew dependencies pulled in by our ESE parser dependency on the other hand is useless balast we really could strip off...


Self reference error

Describe the bug
I don't know if this is a problem or if I'm doing it wrong, but I used another project in the same way as a base and it works fine.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

(Note: this should be a complete and concise piece of code that allows reproduction of an issue)
Expected behavior
auto referencing should occur well during migration with alembic
Screenshots
alembic revision --autogenerate -m "first migrations"

Versions (please complete the following information):

postgres
Python 3.11.1
ormar 0.12.0
pydantic 1.10.2
fastapi 0.88.0

PIP LIST
alembic==1.9.0
anyio==3.6.2
asyncpg==0.27.0
certifi==2022.12.7
click==8.1.3
colorama==0.4.6
databases==0.6.1
dnspython==2.2.1
email-validator==1.3.0
fastapi==0.88.0
greenlet==2.0.1
h11==0.14.0
httpcore==0.16.3
httptools==0.5.0
httpx==0.23.1
idna==3.4
itsdangerous==2.1.2
Jinja2==3.1.2
Mako==1.2.4
MarkupSafe==2.1.1
orjson==3.8.3
ormar==0.12.0
psycopg2==2.9.5
pydantic==1.10.2
python-dotenv==0.21.0
python-multipart==0.0.5
PyYAML==6.0
rfc3986==1.5.0
six==1.16.0
sniffio==1.3.0
SQLAlchemy==1.4.41
starlette==0.22.0
typing_extensions==4.4.0
ujson==5.6.0
uvicorn==0.20.0
watchfiles==0.18.1
websockets==10.4

problem solved, category field is conflicting, change from category to name


Rename to ilab system info and fix ilab sysinfo

PR #1471 moved ilab sysinfo to ilab system sysinfo, but did not add an alias for ilab sysinfo.

rename command to ilab system info to remove redundant sys prefix
add alias to map ilab sysinfo to ilab system info
add tests to verify aliases and now primary subcommand

Issue resolved by this Pull Request:
Resolves: #1661
Checklist:

[x] Commit Message Formatting: Commit titles and messages follow guidelines in the
conventional commits.
[ ] Changelog updated with breaking and/or notable changes for the next minor release.
[ ] Documentation has been updated, if necessary.
[x] Unit tests have been added, if necessary.
[ ] Integration tests have been added, if necessary.

CI is using this flag, we need to update scripts/functional-tests.sh too.

ilab sysinfo has been around since #1154, so it's safe to assume it has plenty of users - agree it needs to stick around for a deprecation period

FTR, I prefer system info because other tools like podman and docker it, too, e.g. podman system info.


systemd-homed

lemurs::auth] Authentication failed for 't'. Reason: Login creditionals are valid, but username is not found. This should not be possible :(
tried messing about with the pam file, to no avail.

Thank you for bringing this issue to my attention.
This is an error for when PAM authenticates a user, but your user is not found in the /etc/passwd. Ideally, we won't have a hard dependency on the /etc/passwd file, since that doesn't work for certain configurations.
Are you using any weird authentication scheme or are on a distribution that handles authentication a bit differently?

and thank you for this project :)
regular homed setup on arch, currently using greetd w/o any particularities.

Is there any chance you could try again? We changed the upstream way we load user data, which should prevent this issue.

sure, just saw this. within a few hours likely -- within a day certain.

and thank you for this project :) regular homed setup on arch, currently using greetd w/o any particularities.

Currently trying to figure out greetd + lemurs right now. Would you be willing to share your setup?

@coastalwhite working, thanks :)
@JeremiahSecrist greetd + lemurs is a bit strange since they're fulfilling the same function afaik


Add unfold to reductionStrategy to tmEval

I sometimes need to unfold single definitions in a term. Since that can't be replayed with the current strategies, I added unfold (s : string) to the reductionStrategy type.
That hopefully shouldn't break anything (but I'm not sure this is the best way to unfold definitions)

This looks like a fine way to me. However the indentation of the code is rather off it seems :)

Could you rebase along coq-8.8?

Looks like the rebase worked. I added a test case that does a simple unfold


Fix Toml module

+1. rationale: influxdb-cookbook switched to the 'toml' gem, saying in their PR that chef 13 depends on inspec which depends on the toml gem.

tho, I guess the PR should be fixed so that it does not regress ['telegraf']['rubysource'] and works with a config-only recipe. ping if you want me to fix it for you alaa.

That toml gem issue has been a problem in the past.  It looks like you guys are working on this, ping me once it's complete and the conflicts are resolved so I can review.  Thanks for the PR!

Is there any idea when this PR will be ready to go? As of today, we're now unable to use this cookbook based on the issues outlined in #41. This PR would theoretically resolve those issues.

@codylewandowski @phromo @alaa I'm happy to merge this up once it gets fixed (or also happy to merge a new PR and close this one if that's easier).

@fishnix Thanks! I should be able to open a new PR relatively quickly.

closing this out in favor of https://github.com/NorthPage/telegraf-cookbook/pull/43.  Thanks!


[flutter_tools] don't trim log messages from the web

Description
The extra trim removes leading/trailing whitespace from messages accidentally.

Its an LGTM image, thats as good as approval


Tree view in Pull Requests, similar to Azure DevOps

Feature Description
The current way Gitea shows the file changes on a Pull Request (whether in Preview/Simulation or when the PR is created), to me feels disorganized and hard to review, as it shows ALL files in the same page.
For big PRs, this gets really messy/hard.
I actually feel very comfortable reviewing PRs using Azure DevOps, as they show a tree of the files changed (organized by affected folders), so that we can review one by one, by clicking on the file we want to review, and it will show the whole file on the right side, with the changes.
https://docs.microsoft.com/en-us/azure/devops/repos/git/review-pull-requests?view=azure-devops&tabs=browser
Screenshots

--

We have one, but in the top.

wasn't there a plugin out in the wild for github that also support gitea??

We have one, but in the top.

Does Gite has a tree view? I think the author means the left tree for file list, it's more friendly and easier to use.

We have one, but in the top.

Does Gite has a tree view? I think the author means the left tree for file list, it's more friendly and easier to use.

We have a file list on the top of the files view.

We have one, but in the top.

Hey
Thanks for the reply.
I'm not sure I understand what you mean (or what your screenshot is showing).
There just seems to be plain text with the stats, and each box below has the name of the file.
But I don't find anywhere an organized Tree of files, which I can click to see that file individually.
Similar to using VS Code, opening a file from the File Explorer at the left side, and the contents appear on the right side.
But the Tree / File Explorer only contains the changed files,
and the left side would either contain a Split View or Unified View of differences.

expectation plus this need

btw, GitHub is implementing that. It's available under "Feature preview", although I'm not seeing the new version yet (even if enabled).
But here's the image in the "Feature preview" area:

Ah -- it's appearing to me now!!
Here's an example for this PR: https://github.com/go-gitea/gitea/pull/19007/files

As a workaround, you can use some chrome extensions, i.e. git-master

I have a suggestion for the icons:
While I do find it useful to display icons showing whether the file was added, modified, or deleted; I do not like the wasted space by displaying the file icon.
The folder icon is alright, as you can then quickly skim through which tree items are folders.
However, while using this feature in GitHub already, I noticed that there is unused potential here:
Instead of knowing that it is a file, I would find it much more useful to display a read-only checkbox (so most likely two different checkbox icons, one checked and one unchecked) showing whether you have already viewed this file while reviewing.
Implementing this is of course only possible once you can actually mark files as viewed, so it would depend on #19007 to get merged.
But the base implementation does not depend on this suggestion.

As a workaround, you can use some chrome extensions, i.e. git-master

I think git-master is always showing all files and not only the changed files of a pull request, so it does not help.

Hi, is any updates about that?

+1

I've tried to get a first file list on the left of the tree view.
fomantic will add support for a tree (hopefully) with the next 2.9 release - so for now this is (at least for me) a good step to have a file list on the left to easy navigate in a pr.

Please see the PR for an updated screenshot with a first non collapsible tree view of files.

Now the tree has collapsible directories and a github like show / hide mechanism.
Please see updated screenshots in PR.


Assess threat model for in-memory private keys

Currently (1) the generate-key-pair command generates a private key in-memory
and then writes it to a file (2) the keyless sign command also generates a
single-use private key in-memory (to exchange it with a cert from Fulcio).
However we do not zero these slices (and I'm not sure if Go GC makes copies of
these), therefore a subsequent process calling malloc might retrieve a portion
that contains the private key (and the password).
Not sure if this is a credible enough threat because it implies there's a
malicious software running on the signer party's machine (likely also with full
fs access).
See https://github.com/golang/go/issues/21865 for more discussion.

I'm definitely interested in opinions here or if there is anything we can do better in Go.


Legends showing pretty small values seem broken

@saleiva commented on Tue Oct 18 2016

Easy to reproduce when aggregating by provinces (on the style options) and showing the legend for the agg_value_density
cc/ @xavijam

@xavijam commented on Tue Oct 18 2016
And what do you propose @saleiva? 0 to 0? 0 to 0.1?

@saleiva commented on Wed Oct 19 2016
Like we do in widgets, we should round, yeah.

@xavijam commented on Thu Oct 20 2016
Moving to CartoDB.js, where labels are generated.

Closed by #1461


Fix logging

We should log the state root for each commitment.
batchType is no longer meaningful. Should change it to commitment type

Why isnt batch type meaningful?

Ah, nevermind, the batch type is still meaningful. The batch still contains the same types of disputables.

Why should we log commitment roots? A

Oh, are we getting the state roots from the calldata?

Well TBH these changes arent implemented on node yet, but yeah the plan is to get stateRoots from the calldata and then run txs on the node and finally match stateRoots

So our offline discussion yesterday concludes that we might need just only batch index and commitmentRoot logged. Let's revisit when we work on the node.


Invalid endpoint call  when creating the New Oraganization

Describe the issue:
Creating new organization fail. Request direction for the invalid endpoint.

How to reproduce:

Login to console
Click the Drop down from the at the left corner
Click to add new organization

Expected behavior:
Organization should be created.
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: IS 7.1.0-M4
OS: Ubuntu 22.04
Database: H2, Oracle 19c
Userstore: JDBC

Optional Fields
Related issues:

Suggested labels:

This is not reproducible in IS-7.0.0-m5-SNAPSHOT


feat: ignorecolumnsonupdaate

Description
Closes #issue
Changelog
New
-new query files
Changed
-code modified to support ignoring column
Removed

How was this tested?

[ ] 🧠 Not needed
[X] 👀 Eyeball
[ ] 🤖 Added tests

What gif/image best describes this PR or how it makes you feel?

Conflicts resolved


Trying to pull an image using rkt without running it
What did you expect to see?
A CLI option to do that maybe?
What did you see instead?
A run subcommand but no subcommand to just pull it

The fetch command should do what you want (accessible as rkt fetch or rkt image fetch).

I was so hung up on pull that I totally missed rkt fetch. Thanks @euank :)


fix: faster auto recover mountpoint

when mountpod recreated/restart, it is possible that the mountpoint may not be ready yet. At this time, the recovery will be skipped and will wait for the next reconciler (now is 10m)
needed to continuously monitor the mount point when rebuilding the mountpod, and as soon as it is ready, immediately recover
fix https://github.com/juicedata/juicefs-csi-driver/issues/917

I seem to remember that this issue is to be fixed by introducing mount pod readiness probe? I see no related code to add the probe into mount pod?

I seem to remember that this issue is to be fixed by introducing mount pod readiness probe? I see no related code to add the probe into mount pod?

https://github.com/juicedata/voc/issues/206#issuecomment-2042230496


Question: Stand alone compiler for CI / CD available ?

We want to build a continuous delivery pipeline for our AL code extensions, but we are stuck at the "build" step at the moment. Is there a compiler for AL code available, other than the one built into the AL code extension in VS code ? Or are there plans to release something of the sort in the future ?
We really want to avoid taking apart the VS code extension :)

Not strictly an answer to your question, but you might want to check https://www.axians-infoma.de/navblog/optimize-ci-build-appveyor-multi-stage-image/ where I have an example about how to use a multi-stage build container to extract the compiler

The only available one is the alc.exe released with the vsix package in the extensions folder. But that one acts as a standalone compiler. I am not aware of any plans to package it differently. But I mark this request as a suggestion.

You can make your own. The AL extension is not really a real compiler it only packs the code into a zip file. Only on the server will AL code become real C# code. So you can either get the .exe from the al extension or create your own one. This is not complicated ;)

Thanks everyone, that was very helpful! Especially @tfenster, your examples helped us alot. We have successfully used powershell and the alc.exe to bundle and deploy an extension. Once we have finalized the scripts we will spin up a repo and link it here :)

This is available in AL-Go for GitHub:
https://github.com/microsoft/AL-Go


p. 261: "weights_error" variable is not being used explicitly

I really appreciate the book, which is well focused on the underpinnings of deep learning and gets the reader up to speed very efficiently. A small detail, in the following code the variable weights_error seems to be redundant, its calculation is never used:
def backward(self, output_error):
    input_error = np.dot(output_error, self.weights.T)
    weights_error = np.dot(self.input.T, output_error)

    #  accumulate the error over the minibatch
    self.delta_w += np.dot(self.input.T, output_error)
    self.delta_b += output_error
    self.passes += 1
    return input_error

Instead, the same calculation is repeated for the accumulation of self.delta_w a couple of lines further. Computational inefficiency might easily be ignored in the educational setting. At least in my own case, however, linking the code to specific mathematical expressions outlined in the book, became less apparent.
One might want to re-write the code as self.delta_w += weights_error, for making the link (e.g. to eq. 10.13) more explicit. I imagine deviating from the book is undesirable at this point, so perhaps a comment could be added to the code on github to make the code flow more explicit?

Thanks for pointing that out.  I made the change to avoid the double calculation.


Roll Flutter Engine from a8a328bbe6f6 to 228c5a84da45 (2 revisions)

https://github.com/flutter/engine/compare/a8a328bbe6f6...228c5a84da45
2022-08-09<EMAIL_ADDRESS>[Linux] use top-level GTK IM client window (flutter/engine#35272)
2022-08-09<EMAIL_ADDRESS>Roll Skia from 93297d54df57 to 0cc4b51ab9d5 (4 revisions) (flutter/engine#35286)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


output directory argument doesn't work as expected

:beetle: I am trying to download the latest MacOS update and my installed disk doesn't have enough space. So I found this handy tool that I hoped would allow me to download it to a thumb drive so I could install from that. But no love.
:clipboard: Steps to Reproduce

Run mist download installer "15.2" application --output-directory "/Volumes/PAUL\ BEARD/MIST"
  └─ Not enough free space on volume '/': 16.36 GB free, 45.86 GB required
swear

:white_check_mark: Expected Behaviour
I had hoped it would save the installer to the specified output directory where there is 60Gb of space.
:computer: Environment

mist version (mist --version): 2.1.1 (latest: 2.1.1)
macOS Version (sw_vers): ProductName:		macOS
ProductVersion:		15.1.1
BuildVersion:		24B91
Hardware (system_profiler SPHardwareDataType):

Model Identifier: Hardware:
Hardware Overview:
Model Name: MacBook Air
Model Identifier: MacBookAir10,1
Model Number: FGN63LL/A
Chip: Apple M1
Total Number of Cores: 8 (4 performance and 4 efficiency)
Memory: 8 GB
System Firmware Version: 11881.41.5
OS Loader Version: 11881.41.5

Chip : M1

:camera: Screenshots
If applicable, add screenshots to help explain the bug.
:information_source: Additional context

Is this also a bug in Mist.app? :white_check_mark: / :x:

Provide links to GitHub Issues

Links to 3rd-party tools / references / documentation

mist.app does what I expect, just realized it existed.

Check out mist download installer --help, you'll see there is another one for the temporary directory (-t) You'll need to change that setting as well.

I am slowly understanding what this does. Looks like I need to use two USB
drives…one to hold the downloaded bits and another as the target for the
installer. My first attempt almost worked but failed on this…
└─ Error: “CFNetworkDownload_QI0ptb.tmp” couldn’t be moved to “072-44286”.
This was run under sudo…I tried again as root and the process defaults to
using the system disk ("/") instead of the defined targets.
└─ Not enough free space on volume '/': 09.79 GB free, 15.29 GB required
Now it fails as sudo as well.
This all seems fine:
├─ User is 'root'...
├─ Download search string will be '15.2'...
├─ Include betas in search results will be 'false'...
├─ Only include compatible installers will be 'false'...
├─ Cache downloads will be 'false'...
├─ Output directory will be '/Volumes/Install macOS Sequoia/'...
├─ Temporary directory will be '/Volumes/PAUL BEARD/'...
├─ Force flag has not been set, existing files will not be overwritten...
├─ Application name will be 'Install %NAME% %VERSION%-%BUILD%.app'...
Still seeing the "Not enough free space on volume '/': " error.
Not sure what to try next.
On Sun, Dec 15, 2024 at 1:44 PM Richard @.***> wrote:

Check out mist download installer --help, you'll see there is another one
for the temporary directory (-t) You'll need to change that setting as
well.
—
Reply to this email directly, view it on GitHub
https://github.com/ninxsoft/mist-cli/issues/177#issuecomment-2544111215,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7N6PHSUVUSYEZR47AWQE32FXZ5RAVCNFSM6AAAAABTRI3LESVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBUGEYTCMRRGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Paul Beard / www.paulbeard.org/

Now it's a bug, in that --temporary-directory isn't being used correctly.

OK, good to know it's not me. I have tried mucking around with other
options and only gotten more confused. I'll wait on a fix. Not sure how
else to download the installer to a non-root device.
On Sun, Dec 15, 2024 at 4:50 PM Richard @.***> wrote:

Now it's a bug, in that --temporary-directory isn't being used correctly.
—
Reply to this email directly, view it on GitHub
https://github.com/ninxsoft/mist-cli/issues/177#issuecomment-2544253387,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7N6PCGPK4FXGVDWDBZ7LD2FYPTVAVCNFSM6AAAAABTRI3LESVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBUGI2TGMZYG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Paul Beard / www.paulbeard.org/


Change name of autoplay option.

autoplay is currently duplicated with HTML5 autoplay attribute. So this can cause unexpected behaviors as following:
I am using the html-minifier. And "Collapse boolean attributes" option has a problem. If I enable this option, boolean value is removed after minifying!
Like this: <slick autoplay="true"></slick> => <slick autoplay></slick>
So, I want you change name of  autoplay option. or If you can find other solution, that's OK, too.

Try to use data-* attribute:
<slick arrows="{{vm.slider.arrows}}" infinite="{{vm.slider.infinite}}" speed="{{vm.slider.speed}}" data-autoplay="{{vm.slider.autoplay}}">
It's works for me.


Can't launch clover simulation

When I run the launch file for the clover simulation roslaunch clover_simulation simulator.launch as per the Native Setup description, I get the following error:
RLException: while processing /root/catkin_ws/src/clover/clover/launch/clover.launch:
included file [/root/catkin_ws/src/clover/clover/launch/mavros.launch] requires the 'prefix' arg to be set

Does somebody know what I could do to address the problem? I am grateful for any hints or suggestions!

Hi, thanks for the catch!
Fixed the problem, so please pull the repo and try it out again.
By the way, the stable working version of the simulator is available via a virtual machine image.

Thank you so much for your reply and for addressing the issue!


jExcel v3 formulas not show correctly after sort or paste

https://bossanova.uk/jexcel/v3/examples/sorting
when you change column B4 to '=SUM(B1:B3)' then click any header to sort the table, it looks fine. However if you click the column B4, the formulas changed to '=SUM(B2:B3)'.

I am going to add a note in the documentation. If you want to formulas my suggestion is to desactivate the sorting. Imagine this:
=B1C1
=B2C2
=B3*C3
=SUM(D1:D3)
If I sort that, and let's suppose the four became the second.
=B1C1
=SUM(D1:D3)
=B3C3
=B4*C4
This will generate error since it will be an auto reference and you can do that, otherwise will generate unexpected behaviors, loops, etc.
The solution for that is create a new layer in the table (such as the footer), where we can have totalizers and those rows won't be included in the body of the content.
Sorry, but this is a limitation... and there is no much I can do.


Set global maxresponsesize

Fixes #645

Proposed Changes

Rely on MaxResponseSize to ensure the client does not run OOM.

Release Note

Docs

/lgtm

/test pull-knative-sandbox-eventing-kafka-integration-test-mt-source


update_chroot, build_library: Drop repos.conf customization

Should be merged together with https://github.com/flatcar/portage-stable/pull/398 and https://github.com/flatcar/coreos-overlay/pull/2325.
CI: http://jenkins.infra.kinvolk.io:8080/job/container/job/sdk/513/cldsv/
The "disabled" option was a Flatcar customization in sys-apps/portage. We are trying to move to vanilla portage, so let's see if this will work.

CI passed.

Did a package refresh and a CI rerunning, all green.


Feature Request: [Dapr] Allow invocation of non-Dapr endpoints via HTTPEndpoint resource

Is your feature request related to a problem? Please describe.
Allow definition of HTTPEndpoint resource as defined here so that the container apps can invoke non-Dapr endpoints simply by declaratively defining them in Dapr as described here.

Service B being the non-Dapr endpoint.
Describe the solution you'd like.
Ideally we should be able to add the HTTPEndpoint resource to Dapr components just like any other Dapr components.
Describe alternatives you've considered.
Currently we had to configure and handle external service invocations directly within the application code, along with all the configurations, per environment per app.
Additional context.
For most of our use cases it is inevitable to have to make calls to external endpoints so it would benefit many (and stay true to the Dapr promises) if they can be declaratively defined and shared among container apps in the Azure Container Environent.

Considering complexity involves around internal & external networking communication with-in container apps and it not being asked by many customers as such, we are not prioritizing this functionality as of now.


Final design of o/p page

Remove the current table format and change background colours.
Find a new way to display the answer from the model.

Background colour chnages, image updated, table removed
Remaining task: adding output from user.


Error loading plugin

Hi,
I have a problem loading the plugin, can you help me please? Thanks in advance!
22/9/2020, 18:13:23 Bridge is running on port 51826.
22/9/2020, 18:15:09 Got SIGINT, shutting down Bridge...
22/9/2020, 18:15:13 Loaded plugin "homebridge-comelit-sb-platform".
22/9/2020, 18:15:13 The requested platform "Comelit Serial Bridge" was not registered by any plugin.
22/9/2020, 18:15:13 Your config.json is requesting the platform "Comelit Serial Bridge" which has not been published by any installed plugins.
22/9/2020, 18:15:13 Bridge is running on port 51826.
"platforms": [
{
"platform": "Comelit Serial Bridge",
"bridge_url": "http://192.168.1.xxx",
"bridge_port": 80,
"advanced": {
"update_rate_sec": 5,
"stop_blinds": false,
"blind_closing_time": 35,
"avoid_duplicates": true,
"hide_lights": true,
"hide_blinds": true,
"hide_thermostats": false,
"hide_dehumidifiers": false,
"hide_power_suppliers": true,
"hide_outlets": false
}

Sorry for my late response, I lost this issue: could you post start up homebridge logs? It's very important to understand what is causing the plugin crash

Sorry for my late response, I lost this issue: could you post start up homebridge logs? It's very important to understand what is causing the plugin crash

@iShortOne any news on this issue?

@iShortOne any news on this issue?


Subscription Tier: hidden under toolbar after navigation

https://github.com/polarsource/polar/assets/47952/b111219f-a6a9-4b64-ae91-9f577af9fd17

Can someone assign me this issue? I would like to work it

@sourabpramanik Hey! Feel free to work on it and send a PR, as far as I know no-one is working on this right now.

Thanks @zegl 👍


KNNClassifier : object not found

After loading the sample_libsvm_data.txt,
val knn=new KNNClassifier() gives an error saying KNNClassifer is not found.
How to use that line? Directly in command prompt ?
And where to save the spark-knn folder..?

I tried in spark-shell and spark-submit and I obtained the same error. Has anyone been able to run without having this error? Many thanks.

Make sure you are using the same Spark version as the one used to build this project JAR.

i got the same problem when i try to run it on spark 1.6.2
can u help me please?

@d0085
Have a look at the discussion in thread: https://github.com/saurfang/spark-knn/issues/32
regarding the spark version.

thx for the reply @kaushikacharya
but i still dont understand. I got the error when i try to create an object by calling new KNNClassifier(). can i do it on spark 1.6.2?
if i cant, i wanna know can i use this package on my spark 1.6.2?
sorry for my bad english :'

hey, sorry for asking the same question again.
i'm really dont understand what happened here. i have include the jar from spark package that u've said before. then i try to do this
scala> val knn = new KNNClassifier().setTopTreeSize(training.count().toInt/500).setK(5)
and this error appears
<console>:27: error: not found: type KNNClassifier        val knn = new KNNClassifier().setTopTreeSize(training.count().toInt/500).setK(5)
can u help me please :(


Add more AssignCommand JUnit tests

Pull Request Test Coverage Report for Build 432

4 of 7 (57.14%) changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 86.068%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/seedu/address/logic/commands/AssignCommand.java
4
7
57.14%

Totals

Change from base Build 429:
0.04%

Covered Lines:
2329

Relevant Lines:
2706

💛  - Coveralls


[IR-2010] Ignore task type when firing events. A field is added to No…

…deDto to verify which task type is the one which fired the event.

I have upload the files for Javascript in the diagrambuilder-demo (this can be removed if the Javascript files will be in the widget source code)
I have compile the diagrambuilder-demo widgetset, I couldn't run it without compiling it.


Update libssh2-sys's build script

The bots are trying to build something which isn't needed and is failing on
nightlies, so the build script has been updated to not bulid this unnecessary
artifact as part of libssh2

r? @huonw
(rust_highfive has picked a reviewer for you, use r? to override)

@bors: r+ b983449
Specific change is here: https://github.com/alexcrichton/ssh2-rs/commit/219d467b0d89200990f56a6d84d6c600a864f6b9

:hourglass: Testing commit b983449 with merge 727e7ce...

:sunny: Test successful - cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64


syslog exits on signal 11

Syslog exits with signal 11. I have already reset the logfiles multiple times. If I start syslog with the "original" config file /etc/syslog.conf it does not die. But that is of course not what I want ...

Is this still the case? Is there anything in dmesg? I have a newer syslogd package we could try.

I moved the installation from a KVM based VM to to physical hardware. After restoring the config from backup, it seems to be fine.

Ok, closing until able to reproduce. Thanks!


[CS] Use correct type var for one-way constraint reactivation

We only re-activate one-way constraints if their right hand side has been newly bound. However when checking this for a fixed binding, we would check against the original type variable instead of the type variable that actually appears in the constraint. This then led to the constraint being left unsolved.
Tweak the logic such that it always compares against the type variable that appears in the constraint.
Resolves rdar://64890308.

@swift-ci please test

@swift-ci please test source compatibility

@swift-ci please test source compatibility Debug

Talked with Pavel offline, and decided that we should just remove the right-hand side type variable check entirely, as the constraint system should be responsible for applying any additional conditions.

@swift-ci please test

@swift-ci please test source compatibility

@swift-ci please test

@swift-ci please test source compatibility

@swift-ci please test source compatibility Debug


Terrafrom 0.13.1 modules can't find libvirt provider

System Information
Polywell  i7, 32Gb, 500Gb NMVE drive
Linux distribution
Fedora 31 Server
Terraform version
Terraform v0.13.1

Provider and libvirt versions
/demo3/.terraform/plugins/registry.terraform.io/hashicorp/libvirt/0.6.2/linux_amd64/terraform-provider-libvirt 0.6.2+git.1585292411.8cbe9ad0
Compiled against library: libvirt 4.1.0
Using library: libvirt 5.6.0
Running hypervisor: QEMU 4.1.1
Running against daemon: 5.6.0

Checklist

[ ] Is your issue/contribution related with enabling some setting/option exposed by libvirt that the plugin does not yet support, or requires changing/extending the provider terraform schema?

[x] Make sure you explain why this option is important to you, why it should be important to everyone. Describe your use-case with detail and provide examples where possible.
[ ] If it is a very special case, consider using the XSLT support in the provider to tweak the definition instead of opening an issue
[ ] Maintainers do not have expertise in every libvirt setting, so please, describe the feature and how it is used. Link to the appropriate documentation

[ ] Is it a bug or something that does not work as expected? Please make sure you fill the version information below:

Description of Issue/Question
This is a simple situation. If you are using terraform 0.13.1, and you install the libvirt provider as described in the README, it works fine until you try to use a module that needs libvirt. At that point, terraform can no longer find the libvirt provider.
[mike@polly demo3]$ tf13 init
Initializing modules...

Initializing the backend...

Initializing provider plugins...
- Using previously-installed dmacvicar/libvirt v0.6.2
- Using previously-installed hashicorp/template v2.1.2
- Finding latest version of hashicorp/libvirt...

Error: Failed to install provider

Error while installing hashicorp/libvirt: provider registry
registry.terraform.io does not have a provider named
registry.terraform.io/hashicorp/libvirt

Setup
I copied the libvirt provider to the correct place as specified in the README for terrafrom 13 on this site. That works fine as long as there is no module.  After some pain, I realised that terraform copied the providers into each project in the .terraform directory, so I manually copied:
.terraform/plugins/registry.terraform.io/dmacvicar/libvirt/0.6.2/linux_amd64/terraform-provider-libvirt

to
.terraform/plugins/registry.terraform.io/hashicorp/libvirt/0.6.2/linux_amd64/terraform-provider-libvirt

and that made everything work again.
Steps to Reproduce Issue
Install the libvirt provider for terraform 0.13.1
Generate a main.tf file that has a module that requires libvirt
An example is at https://gitlab.com/tigerpaws/terraform-libvirt-presentation: demo3

Additional information:
This seems a bug in terraform 0.13.1 to me. However, additional information in the README might be helpful, either that, or have the provider installed in the terrform registry.

Seems this problem and solution were already described in #747. Sorry about that. Should this ticket be closed?

@tigerpaws2  no worries I will close.
:rose: have fun

Hello @MalloZup and @tigerpaws2 ,
I'm facing exactly the same issue when running on terraform 0.14.4 using the provider 0.6.3 build from git (last commit applied is: 2b60d7626ff8baa32d784a0b07d51ef195f1b936).
[hhuebler@hhuelinux rhcos]$ tf init
Initializing modules...
- ignition_module in modules/ignition

Initializing the backend...

Initializing provider plugins...
- Finding dmacvicar/libvirt versions matching "0.6.3"...
- Finding latest version of hashicorp/libvirt...
- Installing dmacvicar/libvirt v0.6.3...
- Installed dmacvicar/libvirt v0.6.3 (unauthenticated)

Error: Failed to query available provider packages

Could not retrieve the list of available versions for provider
hashicorp/libvirt: provider registry registry.terraform.io does not have a
provider named registry.terraform.io/hashicorp/libvirt

If you have just upgraded directly from Terraform v0.12 to Terraform v0.14
then please upgrade to Terraform v0.13 first and follow the upgrade guide for
that release, which might help you address this problem.

[hhuebler@hhuelinux rhcos]$ tf providers

Providers required by configuration:
.
├── provider[registry.terraform.io/dmacvicar/libvirt] 0.6.3
└── module.ignition_module
    └── provider[registry.terraform.io/hashicorp/libvirt]

[hhuebler@hhuelinux rhcos]$ tf version
Terraform v0.14.4

Couldn't figure out why the provider hashicorp/libvirt is requested here. I tried to copy the provider as suggested by @tigerpaws2  above but that did not fix the problem.

Hello @MalloZup and @tigerpaws2 ,
I'm facing exactly the same issue when running on terraform 0.14.4 using the provider 0.6.3 build from git (last commit applied is: 2b60d7626ff8baa32d784a0b07d51ef195f1b936).
[hhuebler@hhuelinux rhcos]$ tf init
Initializing modules...
- ignition_module in modules/ignition

Initializing the backend...

Initializing provider plugins...
- Finding dmacvicar/libvirt versions matching "0.6.3"...
- Finding latest version of hashicorp/libvirt...
- Installing dmacvicar/libvirt v0.6.3...
- Installed dmacvicar/libvirt v0.6.3 (unauthenticated)

Error: Failed to query available provider packages

Could not retrieve the list of available versions for provider
hashicorp/libvirt: provider registry registry.terraform.io does not have a
provider named registry.terraform.io/hashicorp/libvirt

If you have just upgraded directly from Terraform v0.12 to Terraform v0.14
then please upgrade to Terraform v0.13 first and follow the upgrade guide for
that release, which might help you address this problem.

[hhuebler@hhuelinux rhcos]$ tf providers

Providers required by configuration:
.
├── provider[registry.terraform.io/dmacvicar/libvirt] 0.6.3
└── module.ignition_module
    └── provider[registry.terraform.io/hashicorp/libvirt]

[hhuebler@hhuelinux rhcos]$ tf version
Terraform v0.14.4

Couldn't figure out why the provider hashicorp/libvirt is requested here. I tried to copy the provider as suggested by @tigerpaws2  above but that did not fix the problem.

Found a work-around of this now. Need to add the provider block in the module itself:
terraform {
  required_providers {
    libvirt = {
      source  = "dmacvicar/libvirt"
      version = "0.6.3"
    }
  }
}

provider "libvirt" {
    uri = "qemu:///system"
}

although that should not be required as per https://learn.hashicorp.com/tutorials/terraform/module-create?in=terraform/modules which states:
You will notice that there is no provider block in this configuration. When Terraform processes a module block, it will inherit the provider from the enclosing configuration. Because of this, we recommend that you do not include provider blocks in modules.

A bug in terraform?

Found a work-around of this now. Need to add the provider block in the module itself:
terraform {
  required_providers {
    libvirt = {
      source  = "dmacvicar/libvirt"
      version = "0.6.3"
    }
  }
}

provider "libvirt" {
    uri = "qemu:///system"
}

although that should not be required as per https://learn.hashicorp.com/tutorials/terraform/module-create?in=terraform/modules which states:
You will notice that there is no provider block in this configuration. When Terraform processes a module block, it will inherit the provider from the enclosing configuration. Because of this, we recommend that you do not include provider blocks in modules.

A bug in terraform?


fix: accept PSF packages (typing_extensions and pywin32)

Closes #310

Also:

check-licenses action failed on macOS - needs updating its bash
list all packages in case of failure for easy debugging


Export Spec constructor

I am not really sure how this is useful, since this can be done on the level of ReactSpecs and also ReactClasses, but if  Spec constructor is exported then one can turn Spec into contravariant functor:
import Thermite as T

mapPropsTSpec
  :: forall props props' state action eff
   . (props' -> props)
  -> T.Spec eff state props action
  -> T.Spec eff state props' action
mapPropsTSpec f (T.Spec sp) = T.simpleSpec performAction render
  where
    performAction a p = sp.performAction a (f p)
    render a p = sp.render a (f p)

Or maybe just include this instance of Contravariant into Thermite.

Thanks, but I think I would rather include the helper functions, and keep the constructor hidden.

ok, I will update the patch.

I will submit another pr for Contravariant instance.


feat: Add changes and corner cases to allow casbin-redis-watcher to work with flask authz and redis 5

Feature description
This PR covers corner cases that are needed when using flask-authz, specifically:

Add  should_reload  and update_callback methods that flask-authz needs https://github.com/pycasbin/flask-authz/blob/master/flask_authz/casbin_enforcer.py#L66-L67
Retry when Redis times out or when Redis is down for some time
Be able to recreate threads after some time(10sec) that were killed for any reason for example when the redis connection dies even after the configured retries. (This is important when running this watcher + flask-authz)
Add some error handling to the subscribe method to show message errors related to redis and close the redis connection before the thread is killed
Be able to receive a logger instance as an argument when creating the watcher

To make this library work with any Python library Redis version including redis 5, a different instance of the Redis class was created for the subscriber and publisher, as that is required for Redis 5 and still works for other old versions as well.
CI/Unit test Running https://github.com/favipcj/redis-watcher/actions/runs/10965417424. Only a minor change was added to the ci workflow to only release builds in the master branch

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

hey @hsluoyz  when you get a chance, could you please take a look at these changes and let me know if changes are required ?


theanets package on PyPI is broken or obsolete

If I follow the readme:

install theanets with pip install theanets
try a simple example:

import climate
import theanets
from sklearn.datasets import make_classification
from sklearn.metrics import confusion_matrix

climate.enable_default_logging()

# Create a classification dataset.
X, y = make_classification(
    n_samples=3000, n_features=100, n_classes=10, n_informative=10)
X = X.astype('f')
y = y.astype('i')
cut = int(len(X) * 0.8)  # training / validation split
train = X[:cut], y[:cut]
valid = X[cut:], y[cut:]

# Build a classifier model with 100 inputs and 10 outputs.
net = theanets.Classifier(layers=[100, 10])

# Train the model using SGD with momentum.
net.train(train, valid, algo='sgd', learning_rate=1e-4, momentum=0.9)

I get: AttributeError: 'Classifier' object has no attribute 'train'.
Everything works fine if I install theanets from the current source on GitHub:
git clone http://github.com/lmjohns3/theanets
cd theanets
python setup.py develop

So I guess the theanets package on PyPI is either broken or obsolete?

The README that's visible on GitHub is always paired with the current code in the git master branch. On the other hand, pypi has the version of the README that's paired with the most recent release: https://pypi.python.org/pypi?:action=display&name=theanets&version=0.6.2


(v0.9.6-release) Update branches in testenv.properties

Signed-off-by: Lan Xia<EMAIL_ADDRESS>

https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/6309/

FYI @AdamBrousseau @pshipton

The openj9 branch didn't get set.

ah, sorry, not sure how I missed it. I will have a PR to update it.

PR for Openj9 branch: https://github.com/adoptium/aqa-tests/pull/4236


Cannot use import statement outside a module even when targeting CommonJS

I'm trying to switch from ts-node to esbuild-runner for my package https://github.com/Julien-Marcou/static-html
Here is the problematic file bin/static.ts :
#!/usr/bin/env -S npx ts-node-script
import * as fs from 'fs';

const usage = 'Usage : npx static <init|build|watch|serve|deploy|clean>\n';

// ...

The goal of this file is to expose npx static commands to developers who install my package.
But when I replace #!/usr/bin/env -S npx ts-node-script by #!/usr/bin/env -S npx esbuild-runner, I then get this error when calling my npx static command :
(node:1888) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
/home/jmarcou/dev/my-project/node_modules/static-html/bin/static.ts:2
import * as fs from 'fs';
^^^^^^

SyntaxError: Cannot use import statement outside a module

As if esbuild think I'm targeting ECMAScript Module instead of CommonJS.
I did create a esbuild-runner-config.js file, and tried to put it inside the root folder of the static-html package aswell as the bin folder, but nothing changed.
module.exports = {
  type: 'bundle',
  esbuild: {
    target: 'node14',
    format: 'cjs',
  },
};

Am I doing something wrong ?

Can you try npx esr instead?

Same result :s

Running into this as well with lodash-es - works fine when calling esbuild with --platform=node


Player is dead but will not respawn

0siribix account is dead and server will not load new areas. I cannot interact with anything including my bones. the killme command did nothing. I have do not know of a workaround

I can confirm that for another player. From the developers discussion, this seems to be like a server-side issue. I'll try some workarounds and attempt to add a small fix like change player hp to be > 0 .

Changing the HP to 1 made my other affected account fix the issue. I've applied the same change to your account. Can you kindly test again? Thanks!

Ronoaldo, um outro player, o specialgames1, também está com o mesmo problema. Ele criou um novo jogador,, o sonhoku123.
Pode verificar o caso dele?

That seems to have fixed this issue


[SWP-3276] Add Subscription / Queue Listeners Support + refactoring into PubSub package

This is essentially adding the sub aspect to the existing pub part of the package. It's relying on the same dependencies and made sense to offer a complete pubsub solution through this package.
The repository will be renamed laravel-aws-pubsub once this is merged.

Todo list

[x] Implemented the ability to subscribe to events queued on SQS via the SnsSqs Queue Connector via listeners instead of jobs
[x] Ability to define the listeners within a PubSubServiceProvider and resolve the ListenerName dynamically
[x] Subject listeners take priority over Topic listeners
[x] Only rich notification messages are supported, not raw ones
[x] Queue suffix + prefix are supported
[x] Covering the Sub aspect with tests
[x] Polishing the tests
[x] Refactored the package into a PubSub package offering a complete solution for both the publication (via Broadcasting) and the subscription (using queue Listeners) of server-side events.
[x] Remove broadastEvents() on "Pub part" support as duplicated from Laravel's core
[x] Add pubsub:install command
[x] Cover it with some tests
[x] Add pubsub:make:listener command
[x] Cover it with some tests
[x] Documentation for Sub part
[x] Documentation unification
[x] Check Laravel 5.4/5.7 compatibility (only L8 compatible for now)

@willthorpe ready for another look 👀


Fix combined --stream --slurp path slice reuse

This fixes path reuse in jsonStream that affected combined --stream
and --slurp CLI options. Previously, when both --stream and
--slurp were passed to gojq, jsonStream's iterator would reuse its
internal path slice when returning the next path in iteration. This
resulted in all paths in the slurped input having the same path. This
has workarounds, like using tostream instead of --stream --slurp,
but still ends up being a bug around path reuse.
To fix it, this adds a copyPath method to jsonStream that returns a new
slice that is a shallow copy of the path slice (which is thankfully
made of up numbers and strings, so there's no need for any work to
clone its contents).
This includes an additional test case under test.yaml to cover the
combined --stream --slurp options.

Thank you!

This also applies to inputs with --stream as well.


travis: many build don't work for me

Hi,
I tried to build a helloworld using rust-everywhere, but I can't make it work at all: Many build fail, some succeed (not always the same) : see https://travis-ci.org/jpcaruana/rust-build-test
The most frequent error is about not found files in target directory.
cannot open `target/i686-unknown-linux-gnu/debug/hello' (No such file or directory)
cp: target/x86_64-apple-darwin/release/hello: No such file or directory

What am I doing wrong ?
Thanks.

Hey Jean,
The problem here is that the name of your project is helloworld so the binaries generated by Cargo have the name helloworld. As you can see here:

cp: target/x86_64-apple-darwin/release/hello

The rust-everywhere template is using hello as the name of the binaries. You'll have to rename all the references to hello with helloworld.

Hi,
sorry for the noise : I missed these TODOs in the templates. It now works perfectyl (of course) : https://github.com/jpcaruana/rust-build-test/releases/tag/v0.0.3


Fixes hubble bridge layout issues

Summary of changes

Fixes hubble bridge layout issues.

Proposed area of change

[x] apps/bridge-dapp
[ ] apps/hubble-stats
[ ] apps/stats-dapp
[ ] apps/webbsite
[ ] apps/faucet
[ ] apps/tangle-website
[x] libs/webb-ui-components

Screen Recording
Previous:
https://github.com/webb-tools/webb-dapp/assets/53374218/708b3ed4-6ab0-43b4-b13b-0e6a54037a54
Current:
https://github.com/webb-tools/webb-dapp/assets/53374218/a6436f06-e769-4c13-892a-731cc9b3839e

When addressing layout issues, lets ensure we double check all dimensions first. Currently, the video shown is in 1440px and when it scales to other dimensions the layout is inconsistent.

@monaiuu, I apologize for the oversight. I didn't observe this issue while running the dapp locally. The same issue persists, as I can now see the bug in the deployment preview, but not in the local run. I'll address and resolve this asap.
Deployment Preview:

Running locally:

@monaiuu Issue was with note account. Could see the bug only when note account was not created yet. Layout is fixed now, please check. Thanks @AtelyPham for helping me to reproduce this issue ! :)
https://github.com/webb-tools/webb-dapp/assets/53374218/47daf087-b8e0-4129-a962-edfe1b2a7151


[Feature] Support unified catalog

A unified catalog to handle all types of tables in a single metadata service (e.g. hive-metastore, glue).
create external catalog dla_unified
PROPERTIES (
"type" = "unified",
"unified.catalog.type" = "hive",
"hive.metastore.uris" = "thrift://{hms_ip}:9083"
);

What type of PR is this:

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

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[x] This pr will affect users' behaviors
[x] 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

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[FE Incremental Coverage Report]
:disappointed: fail : 5 / 115 (04.35%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/catalog/HiveTable.java
0
1
00.00%
[171]

:large_blue_circle:
com/starrocks/connector/unified/UnifiedConnector.java
0
14
00.00%
[42, 47, 48, 49, 50, 56, 60, 61, 63, 68, 69, 73, 74, 78]

:large_blue_circle:
com/starrocks/connector/unified/UnifiedMetadata.java
0
94
00.00%
[73, 77, 83, 84, 85, 86, 87, 88, 91, 92, 93, 95, 96, 98, 99, 101, 102, 104, 108, 112, 113, 117, 118, 123, 128, 133, 134, 140, 141, 146, 147, 152, 153, 159, 160, 165, 166, 172, 173, 178, 179, 183, 184, 185, 189, 190, 194, 199, 200, 204, 205, 209, 214, 219, 224, 225, 228, 229, 234, 235, 236, 240, 241, 242, 246, 247, 248, 252, 253, 254, 258, 259, 260, 264, 265, 266, 270, 276, 277, 278, 282, 283, 284, 288, 289, 290, 294, 299, 304, 310, 316, 321, 326, 331]

:large_blue_circle:
com/starrocks/connector/ConnectorType.java
4
5
80.00%
[96]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetastoreApiConverter.java
1
1
100.00%
[]

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

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

[FE Incremental Coverage Report]
:disappointed: fail : 14 / 101 (13.86%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/dump/DesensitizedSQLBuilder.java
0
2
00.00%
[472, 475]

:large_blue_circle:
com/starrocks/connector/unified/UnifiedConnector.java
0
18
00.00%
[44, 47, 48, 49, 50, 51, 53, 54, 56, 62, 66, 67, 69, 74, 75, 79, 80, 84]

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
0
2
00.00%
[2899, 2902]

:large_blue_circle:
com/starrocks/load/loadv2/SparkLoadPendingTask.java
0
1
00.00%
[615]

:large_blue_circle:
com/starrocks/connector/unified/UnifiedMetadata.java
0
61
00.00%
[56, 60, 66, 67, 68, 69, 70, 71, 74, 75, 76, 78, 79, 81, 82, 84, 85, 87, 91, 95, 96, 100, 101, 106, 111, 116, 117, 123, 124, 129, 130, 135, 136, 142, 143, 148, 149, 155, 156, 161, 162, 166, 167, 168, 172, 173, 177, 182, 183, 187, 188, 192, 197, 198, 199, 204, 205, 206, 210, 211, 212]

:large_blue_circle:
com/starrocks/sql/analyzer/CreateTableAnalyzer.java
7
9
77.78%
[102, 105]

:large_blue_circle:
com/starrocks/connector/ConnectorType.java
4
5
80.00%
[96]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetastoreApiConverter.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/planner/HiveTableSink.java
2
2
100.00%
[]

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

"unified.catalog.type" = "hive" -> "unified.catalog.type" = "hms" ?

"unified.catalog.type" = "hive" -> "unified.catalog.type" = "hms" ?

Sorry for the mistype. Actually unified.metastore.type is used to specify external metadata service.

[FE Incremental Coverage Report]
:disappointed: fail : 11 / 17 (64.71%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/catalog/DeltaLakeTable.java
0
2
00.00%
[49, 50]

:large_blue_circle:
com/starrocks/load/loadv2/SparkLoadPendingTask.java
0
1
00.00%
[615]

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
1
2
50.00%
[2902]

:large_blue_circle:
com/starrocks/sql/analyzer/CreateTableAnalyzer.java
8
10
80.00%
[115, 116]

:large_blue_circle:
com/starrocks/connector/ConnectorType.java
2
2
100.00%
[]

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

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

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

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

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

[FE Incremental Coverage Report]
:disappointed: fail : 82 / 104 (78.85%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/dump/DesensitizedSQLBuilder.java
0
2
00.00%
[472, 475]

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
0
2
00.00%
[2906, 2909]

:large_blue_circle:
com/starrocks/load/loadv2/SparkLoadPendingTask.java
0
1
00.00%
[615]

:large_blue_circle:
com/starrocks/sql/analyzer/CreateTableAnalyzer.java
7
9
77.78%
[102, 105]

:large_blue_circle:
com/starrocks/connector/unified/UnifiedMetadata.java
48
60
80.00%
[75, 148, 149, 154, 155, 185, 190, 191, 192, 197, 198, 199]

:large_blue_circle:
com/starrocks/connector/unified/UnifiedConnector.java
17
20
85.00%
[49, 83, 84]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetastoreApiConverter.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/DeltaLakeTable.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/connector/ConnectorType.java
5
5
100.00%
[]

:large_blue_circle:
com/starrocks/planner/HiveTableSink.java
2
2
100.00%
[]

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


new datasources of fungal names

As  in #62 and #81, I would suggest adding some more optional datasources for fungi.

MycoBank (excel releases in https://www.mycobank.org/images/MBList.zip)
Fungal Names (txt releases in https://nmdc.cn/fungalnames/released)

Current gnames version of Species Fungorum is already two years old.
No idea of how frequently they incorporate new names, but that's not the only available repository: see "MycoBank, Index Fungorum, and Fungal Names recommended as official nomenclatural repositories for 2013" for details.
Today I saw a draft paper proposing new fungi species and MycoBank was the nomenclatural repository used as a reference for them.
Thanks!
@abubelinha

Thank you @abubelinha, I will definitely investigate, and you are right it is nice to have both MycoBank and FungalNames in.
We are making a big hardware change this Friday and expanding storage capacity for our group, in particular it will affect where do I keep data-sources. Because of that I did postpone winter data update until next week. So your request came at a good time. Hopefully, I will be able to have both of these sources added next week.


add netlify badge

This adds a badge to the site to support Netlify, in thanks for their free account services as an open source project.

Pushed the commit to retrigger checks.


Stub#matches_path? should get path from Request#resource only

Hi,
I was having problem using webmock together with crest, getting errors like this:
Unregistered request: POST https://webhooks.example.comhttps://webhooks.example.com

I had a look at how crest uses HTTP::Request and found that it gives the whole URL as resource, which is apparently allowed.
    request1 = HTTP::Request.new("POST", "https://www.example.com/test")
    p! request1.resource # => "https://www.example.com/test"
    request2 = HTTP::Request.new("POST", "https://www.example.com")
    p! request2.resource # => "https://www.example.com"
    request3 = HTTP::Request.new("POST", "/test")
    p! request3.resource # => "/test"

So, this PR adds a few specs and fixes parsing the path from the request, hopefully correct 😄
Also sorry(?) for the formatting changes, I couldn't get my editor to stop doing it.

Any change of getting this merged? 😃

Hm looks like it’s failing the build :(


Feature: Add Genre support

Abstract
Somehow link Genres in Jellyfin to Shoko.
To-do

Find out what the data and how it should map to Genres in Jellyfin.

Implement a IRemoteMetadataProvider<Genre> to get the information from Shoko.

Add genres to series/seasons/movies.

Added. Will be available in the next release.


Bug fixes caught in staging

Mostly related to translation and error handling.

Pull Request Test Coverage Report for Build 921

87 of 100 (87.0%)  changed or added relevant lines in 6 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage increased (+1.4%) to 63.25%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

routes/thingpedia_devices.js
1
2
50.0%

util/error_handling.js
0
2
0.0%

routes/thingpedia_entities.js
38
42
90.48%

routes/thingpedia_strings.js
40
46
86.96%

Files with Coverage Reduction
New Missed Lines
%

util/error_handling.js
1
47.44%

routes/thingpedia_entities.js
1
91.09%

Totals

Change from base Build 919:
1.4%

Covered Lines:
4857

Relevant Lines:
7184

💛  - Coveralls


[BUG] Bootloader failed when NO_RTB flag is definied in boot but not in APP

Details
When you flash an application through the bootloader, if you have a bootloader binary WITHOUT the definition "NO_RTB" and an application WITH this define "NO_RTB" the first upload of the application works good! But when you try to reflash the application when you go back to the boot to reflash the application the bootloader hardfault
The application an the bootloader needs both to have the flag "NO_RTB" define  or both undefined!
this must be fix to be able to flash and configuration through the bootloader

This issue is closed : not reproducible.
It appeared on a bad configuration.


Make incremental comparison consistent for all types of project structure

Since v0.12.1, incremental mode was enabled by default. It turns out that this works well for JavaScript/TypeScript standard configurations but lacks off consistency when being used with more advanced configurations (specifically TypeScript deep path aliases #20) and TypeScript/JavaScript edge cases of path resolutions.
From now on with #21 until a fix (will be resolved with this issue), incremental will be disabled by default (can still be used with the flag incremental: true).
This feature will eventually be enabled by default once we find it stable enough given all feedbacks across all types of projects.

It seems that most use cases for Skott are running global analysis from entry points / entry directories. We can for now consider that the Skott analysis must be run from the higher level possible so that it would make this feature stable. Moreover, resolving the graph from any depth can be tricky and is not in fact really meaningful.