Pretrained model

Dear authors, first of all, thanks for the great work.
I'm wondering may you provide your pretrained model if possible?
Thank you

Hi,
We have added in the two folders inside 'dispflownet-adaptation-release/models/' two 'get_weights.sh' scripts to download pre-trained networks.

DispNet_Adaptation_kitti_train/get_weights.sh will download the weights of Dispnet fine tuned with our unsupervised loss function on the training set of Kitti2012 using AD-Census for disparity estimation and CCNN as confidence measure for 120000 step.
DispNet_Adaptation_ShadowOnTruck/get_weights.sh will download the weights of Dispnet fine tuned with our unsupervised loss function on the Shadow on Truck sequence from the HCI-dataset using AD-Census for disparity estimation and CCNN as confidence measure.

Thank you so much~


Install kolla-ansible and dependencies automatically

User would need a tool to automatically install the kolla-ansible and its dependencies before starting the deployment.

this should be something we guide user to do ? or create a .sh file to git clone the file and
pip install -f requirement.txt automatically ? maybe internet is a thing to think about, create another container might be a way to do

this should be something we guide user to do ? or create a .sh file to git clone the file and
pip install -f requirement.txt automatically ? maybe internet is a thing to think about, create another container might be a way to do

We need to create a script to do all the installations including repository source setups, kolla-ansible installation, dependencies packages, etc.
Otherwise too many manual steps for users.

Included this in the setup-deployment-server tool of this patch:
https://review.gerrithub.io/c/mfcloud/kolla-ansible/+/427052
Basic function tested.
So close this issue.


audiobridge startForward missing arguments?

Hi,
I'm having trouble getting janode to start forwards.  Using
Using the Janus api, I can properly start a forward with:
{
        "request" : "rtp_forward",
        "room" : <room name>,
        "codec" : "opus",
        "ptype" : 111,
        "host" : "localhost",
        "port" : <free port num>,
        "always_on" : true
}

and then be able to read the RTP stream  with ffmpeg
However, with Janode, it seems ptype and codec are missing.  I call:
janodeManagerHandle.startForward({
        "room" : <room name>,
        "host" : "localhost",
        "audio_port" : <free port num>,
        "secret": <..>,
        "always" : true
})

But, cannot read it with ffmpeg
Are the codec and ptype needed?

Start your janode app with the argument
--janode-log=debug
and check the messages exchanged on the websocket. Is there something different from the working scenario?

they are both running with the same Janus server.
When I start the rtp forward with the Janus api, (not janode) it works.
When I start the rtp forward through janode, it doesn't not work.
I'm not sure what you are asking me to compare since only one uses Janode
I also only see keepalive and ack messages, nothing else really, eg:
 | 2022-06-12T19:55:47.326Z - DEBUG: [transport-ws.js] [114325528243876] <ws SND OK> {"janus":"keepalive","transaction":"114325528243890","session_id":5159841294464523,"apisecret":"..."}
process    | 2022-06-12T19:55:47.327Z - DEBUG: [transport-ws.js] [114325528243876] <ws RCV OK> {
process    |    "janus": "ack",
process    |    "session_id":<PHONE_NUMBER>464523,
process    |    "transaction": "114325528243890"
process    | }

ssrc, codec and ptype are still not present in the janode api but they are not mandatory for RTP forwarding.
Anyway I have tested with the audiobridge example and everything works as expected (latest janode and janus master)
2022-06-13T08:46:23.044Z - INFO : [index.js] [<IP_ADDRESS>:41494] rtp-fwd-start received
2022-06-13T08:46:23.045Z - VERB : [tmanager.js] [5635390075288042] created new transaction<PHONE_NUMBER>590610, request "message"
2022-06-13T08:46:23.046Z - DEBUG: [transport-ws.js] [4296580030590600] <ws SND OK> {"janus":"message","body":{"request":"rtp_forward","room":1234,"host":"localhost","port":5111,"secret":"adminpwd"},"transaction":"4296580030590610","handle_id":5635390075288042,"session_id":829242068097661,"apisecret":"secret"}
2022-06-13T08:46:23.047Z - DEBUG: [transport-ws.js] [4296580030590600] <ws RCV OK> {
   "janus": "success",
   "session_id":<PHONE_NUMBER>97661,
   "transaction": "4296580030590610",
   "sender":<PHONE_NUMBER>288042,
   "plugindata": {
      "plugin": "janus.plugin.audiobridge",
      "data": {
         "audiobridge": "success",
         "room": 1234,
         "stream_id":<PHONE_NUMBER>,
         "host": "<IP_ADDRESS>",
         "port": 5111
      }
   }
}
2022-06-13T08:46:23.048Z - VERB : [handle.js] [5635390075288042] received success for transaction<PHONE_NUMBER>590610
2022-06-13T08:46:23.048Z - VERB : [tmanager.js] [5635390075288042] closed with success transaction<PHONE_NUMBER>590610, request "message"
2022-06-13T08:46:23.049Z - INFO : [index.js] [<IP_ADDRESS>:41494] rtp-fwd-started sent

I'd suggest adding pt, ssrc and others because there are tools that may expect some precise values (eg, ffmpeg with payload types) that differ from what the browser is originating.

I'd suggest adding pt, ssrc and others because there are tools that may expect some precise values (eg, ffmpeg with payload types) that differ from what the browser is originating.

Done, but again this is not relevant to the issue.

Thanks for the attention and for adding the extra args (ptype, codec, etc).
My issue seems to have been unrelated to that and is now resolved.


fixes sts rolling update minor issues

I get the part that if sts's replicas>10, listing pod result can be misordered.
But why do we need the list to be ordered? We already set podManagementPolicy: "Parallel" and also have https://github.com/VictoriaMetrics/operator/blob/b89ce3b1ecc12568f877e69c4fb9fbc00d63babd/controllers/factory/k8stools/sts.go#L149-L153
that could mess the order.

I get the part that if sts's replicas>10, listing pod result can be misordered. But why do we need the list to be ordered? We already set podManagementPolicy: "Parallel" and also have
https://github.com/VictoriaMetrics/operator/blob/b89ce3b1ecc12568f877e69c4fb9fbc00d63babd/controllers/factory/k8stools/sts.go#L149-L153
that could mess the order.

It shouldn't mess an order, since sorting happens after list requests to the kubernetes. It makes even an order for pod updates. Parallel order cannot be applied for this case, since it's manually managed rollout process.


Update e2e test HTML page with setCustomerIds support

Description
Adding setCustomerIds support in the E2E HTML test page via query string param flag.
More details on:  https://wiki.corp.adobe.com/display/DMSArchitecture/E2E+Experience+Edge+Alloy.js
Related Issue
Not that I'm aware of.
Motivation and Context
See the above links.
Screenshots (if appropriate):
Types of changes

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

Checklist:

[x] I have signed the Adobe Open Source CLA or I'm an Adobe employee.
[x] I have submitted a documentation pull request or no changes are needed.
[x] I have made any necessary test changes and all tests pass.
[x] I have run the Sandbox successfully.

@Aaronius ran format and lint and updated the PR with your recommendations.

Looks good. Thanks!


Using conda-environments with org-babel

Is it possible to set org-babel to use the conda environment settings? When I start a standard python session in emacs, it works flawlessly and uses the conda environment. However, when I'm using org-babel it always falls back to using the system version of python (and ipython).

@Aquan1412 I'm sorry for the delay in looking into this; which version of Emacs and conda.el have you been using? Provided I activate my conda environment before I run any commands, I'm able to see it working:
#+BEGIN_SRC python :session :exports both :results raw drawer
  import sys
  (sys.version_info, sys.prefix)
#+END_SRC

#+RESULTS:
:RESULTS:
(sys.version_info(major=3, minor=5, micro=6, releaselevel='final', serial=0), '/home/necaris/.anaconda3/envs/py35')
:END:

However, if I don't activate my environment till after I've run a command or two, it seems Emacs starts the session with my system Python and reuses it; short of killing the active Python session, I don't know if there's a way to get Emacs to pick up the changed settings.

@Aquan1412 I'm going to go ahead and close this, since I haven't been able to reproduce it; if you are able to provide more details on the issue please do reopen it!


Add Virtual Piano

As a GSSoC'24 Contributor, I am excited to propose the addition of a Virtual Piano Game to our open-source repository. This project will offer an interactive and accessible piano-playing experience, designed for users of all skill levels. Key features of the Virtual Piano Game include:
-> Adjustable Volume Controls
-> Intuitive User Interface

@VaishnaviMankala19 adding a new project is not a valid contribution in this repo .
So I have to close this issue .
Hope to see more of your contributions.


Error when randomizing, abilities and field items arent randomized

Abilities Loaded.
Abilities Randomized.
Abilities Saved.
Field Items Loaded.
An Error has occured:
<class 'KeyError'>
<class 'tuple'>
<class 'KeyError'>
everything checked but the coming soon, the lockes, utilities and evolution, shops, tm compat.
got this error, the starters are randomized, encounters too, but the abilities and field itens arent randomized.
i downloaded the version 2.4.2 and i'm using BD 1.1.1.
i dumped the romfs using yuzu.

go back to using version 2.4.1 for now

Try using the newest version of the randomizer


proxy to https errors in Node 0.12

Hi,
When proxying to https, ie:
var myProxy = httpProxyMiddleware('/my-path', {target: 'https://mysslexample.com'});
I first get a 'Proxy created' message, but then when I try to go to /my-path, I get the following error:
[HPM] Proxy error: undefined mysslexample.com/my-path
and nothing works. It works in Node 0.10.33, but not in Node 0.12.  Is this an http-proxy-middleware issue or an http-proxy issue?
Thanks!

btw, /my-path is on a local domain that is not https.

Don't think it is an issue of the middleware.
Looking at the http-proxy proxy-http-to-https.js example, you'll need to configure the agent option:
var https = require('https');

var myProxy = httpProxyMiddleware('/my-path', {
                 target: 'https://mysslexample.com',
                 agent  : https.globalAgent               // <-- agent
              });

ahh thanks for pointing me to that example.  i also needed to set the host header as in that example in order for it to work, but it now does work!

@chimurai thanks for the agent tips, and thanks to @noahgrant for the host header information.


Error loading settings file due to missing binary-parser-encoder

Current Behavior
After an uneventful installation, when trying to start node-red for the first time I received the message Error loading settings file: \Users<User>.node-red\settings.js.
I ran the node-red command in the folder that I had used to install the application. The file was present in the \users<user>.node-red folder. I initially tried to remove it as the documentation said a new one would be automatically copied. The error remained, and a new file was not copied.
I then looked in the node-red script and saw the location when the settings file was loaded and added a line to always print the contents of the error object.
The missing dependency is odd and may be an installation issue.
The filtering of the reasonable error message is curious as without changing the script to display the raw message diagnosing this would have been extremely unlikely.
Expected Behavior
Starting node-red successfully or receiving a sufficiently clear message to correct the problem and try again.
Steps To Reproduce
Install node.js, Node-RED, run node-red to receive error
Install binary-parser-encoder, run node-red to successfully start
Example flow
PS C:\Users\Pekka\Node-RED> node-red
Error loading settings file: \Users\Pekka.node-red\settings.js
Error: Cannot find module 'binary-parser-encoder'
Require stack:

C:\Users\Pekka.node-red\settings.js
C:\Users\Pekka\AppData\Roaming\npm\node_modules\node-red\red.js
at Function._resolveFilename (node:internal/modules/cjs/loader:1249:15)
at Function._load (node:internal/modules/cjs/loader:1075:27)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:219:24)
at Module.require (node:internal/modules/cjs/loader:1340:12)
at require (node:internal/modules/helpers:138:16)
at Object. (C:\Users\Pekka.node-red\settings.js:220:23)
at Module._compile (node:internal/modules/cjs/loader:1565:14)
at Object..js (node:internal/modules/cjs/loader:1708:10)
at Module.load (node:internal/modules/cjs/loader:1318:32) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\Users\Pekka\.node-red\settings.js',
'C:\Users\Pekka\AppData\Roaming\npm\node_modules\node-red\red.js'
]
}

PS C:\Users\Pekka\Node-RED> npm install binary-parser-encoder
added 3 packages, and audited 4 packages in 4s
found 0 vulnerabilities
PS C:\Users\Pekka\Node-RED> node-red
5 Dec 14:10:52 - [info]
Environment

Node-RED version:  v4.0.5
Node.js version: v22.12.0
npm version: 10.9.0
Platform/OS: Windows_NT 10.0.22621 x64 LE
Browser: Edge

From the error stack, the interesting line is:
at Object. (C:\Users\Pekka.node-red\settings.js:220:23)

Can you share your settings file - in particular around line 220?

settings.txt
Well caught. The settings file is attached. It directly references the errant parser. The date stamp on the file is 7 May 2019 18:02 and unchanged from the one copied by the installed. I had wondered by the dependency manager had allowed this to happen, but explicitly instantiating the library would bypass the check.
As a neophyte Node-RED user, I would not have thought to add this to the context so do not know how it ended up there.

@pekka-28 thanks for sharing.
That isn't our current default settings file - but even then, we've never had that module included by default.
https://github.com/node-red/node-red/blob/84a2fbed2edee12c80b5a0b4ed9575ea90158940/packages/node_modules/node-red/settings.js#L512-L514
Not sure there's much else we can do here.

I looked more carefully at the startup messages and see that I have had Node-RED installed on the machine previously. This likely introduced this dependency. A subsequent uninstall-reinstall deleted the library causing the error.
I see in another similar issue #727 that you resolved by requesting the poster to move the required dependency to a searched folder.
I would agree that the message could be improved to indicate something wrong with accessing the settings file, or in executing its contents. This could then identify the dependency faults noted.
You've been most helpful and pointed me back to myself. No further action expected.


Rename directory & artifactId from inifinispan to infinispan

The name infinispan was wrongly spelled

OMG! Automatic renaming in IntelliJ is so terrible :)
Thanks a lot for this @cmoulliard! Let's wait for CI results.


making kind string instead of enum, changing default vm sizes

Hi @shefaliv, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (shvohra). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, or work for Microsoft Open Technologies, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


Certain date ranges may start after they end

A profile might, on a work experience for example, have a date range that is "2007 - oct 2007". The this fix will interpret that as "2007-12-31 - 2007-10-31".
Start ends up bigger than end. I would suggest the fix is the following:

for end dates continue as is done currently ("year-12-31")
for start dates chose instead "year-01-01"

Maybe this will break a lot of things for people... Otherwise I am happy to make a PR.

I can certainly see your point of view, and appreciate that you have proposed a fix. I think this change makes sense - I'm including a table of how I would expect parsing to change with this, in case you, or anyone else wants to work on a PR. I could eventually get to this myself, but have less time right now, so it might be a while.

LinkedIn Date
Start vs End
Currently Parsed
New Parser

2007
Start
2007-12-31
2007-01-01

2007
End
2007-12-31
2007-12-31

Dec 2007
Start
2007-12-31
2007-12-01

Dec 2007
End
2007-12-31
2007-12-31

Dec 4th, 2007
Start
2007-12-04
2007-12-04

Dec 4th, 2007
End
2007-12-04
2007-12-04

Side note: I wouldn't mind refactoring a lot of the date-related code; it could use some improvement in general.

https://github.com/joshuatz/linkedin-to-jsonresume/pull/80
something like this maybe?


feat: support both identity and token source for gke metadata server mode

Description
The changes included in this PR give us the ability to generate different token types when relying on the GKE metadata server.
In the current version, only OAuth 2.0 tokens can be generated.
What was done
In the exact same way as when using the Credential File mode, we know can:

generate a JWT identity token when providing an audience
generate a OAuth 2.0 token when providing scopes

This is useful when we want to access remote services (across shared VPC, VPC, PSC, whatever) like custom services, cloud run instances that are protected with basic authentication.
How has it been tested

No unit tests (no existing ones)
Tested within a GKE server and against remote (different project location) Vertex AI endpoints: using the usual OAuth 2.0 tokens.
Tested within a GKE server and against remote (different project location) Cloud Run service: with a Private Service Connect setup in between, using JWT identity tokens with specifying the Cloud Run's URL as audience and granting cloud.run.invoker role to the service account used.

Thanks!

ref #287


Inherited entity_name is not possible

What is the reasoning for using methods(false) to detect if a model has an entity_name method?
https://github.com/ruby-grape/grape-swagger/blob/d6bed9523344115e7786e8161de14af93aa067b9/lib/grape-swagger/doc_methods/data_type.rb#L51
In my case we have several Entity classes of the same type, but in different domains. Eastern::Market, Western::Market, etc.  These all inherit from a base Grape::Entity class with a custom entity_name method to output EasternMarket, or WesternMarket, etc.
After making an upgrade from an older version of grape-swagger this breaks.

closewd via #794


Updates for next release

Includes https://github.com/Smithay/wayland-rs/pull/707 (rebased and with formatting fix) and https://github.com/Smithay/wayland-rs/pull/712, as well as changelog entries. (And a dev dependency bump.)
Want to get these merged before a release. Creating a PR mainly to verify CI passes.

Huh, seems updating env_logger runs into some weird bug in older versions of cargo? https://github.com/rust-lang/mdBook/issues/2318
I guess that can be dropped.


Local storage permanantly caches the theme

any updates to the theme dont make it to the user because our code uses local storage to cache the theme for some reason.

In PR #664, theme was moved to localstorage


Modern Operating System / Linux support

Hey, I would really love to see if this tool would work with modern operating systems as well!
Like Linux and maybe optionally macOS!
This tool running on the SteamDeck would be so great!

Hello, Linux and macOS versions are being looked at. I currently don't have a Mac to test it on however, I'll try to look into developing a Linux version

Hello, Linux and macOS versions are being looked at. I currently don't have a Mac to test it on however, I'll try to look into developing a Linux version

Thank you so much!

Would be happy to test it on a mac for you @helloparthshah

A linux compliant version would be great!!


add myself to election

This PR

adds this new feature

Related Issues

Fixes #1234523
Notes

Follow-up Tasks

How to test

@konradjniemiec you need to sign off on your commit

the DCO is still failing

I fixed the merge conflict and bypassed DCO since this isn't a code contribution.


Create anydata fields for object properties with custom data types

Description:
In the current client generation, when an unknown data type is defined in a schema, we return an error saying
Unsupported OAS data type
The better approach would be to generate those fields with anydata type without breaking the workflow.
Sample OpenAPI:
BookedRooms:
      title: BookedRooms
      type: object
      properties:
        roomType:
          type: xxx
        name:
          type: string

Here the type is an unknown type xxx.
Please also check whether we are returning this error in any other cases where we can generate with anydata type.


Remove broken links for courses

Remove broken links for in-person instructor led courses

Great Job Peter

Great Job Peter


Throws System.ArgumentException while reading a local NuGet.config file

Steps to reproduce

Create a new project
Place a NuGet.config file in the project root directory with the follwing content:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <clear />
    <!-- Restore sources should be defined in build/sources.props. -->
  </packageSources>
</configuration>

Run the command nukeeper inspect -v d

Produces
Reading file F:\Programming\c#\Geocoding\NuGet.Config for package sources
Reading file C:\Users\XXX\AppData\Roaming\NuGet\NuGet.Config for package sources
Reading file C:\Program Files (x86)\NuGet\Config\Microsoft.VisualStudio.Offline.config for package sources

Unhandled Exception: System.ArgumentException: sources
   at NuKeeper.Inspection.Sources.NuGetSources..ctor(IEnumerable`1 sources) in C:\Code\NuKeeper\NuKeeper.Inspection\Sources\NuGetSources.cs:line 38
   at NuKeeper.Inspection.Sources.NuGetConfigFileReader.ReadFromFile(IReadOnlyCollection`1 sources) in C:\Code\NuKeeper\NuKeeper.Inspection\Sources\NuGetConfigFileReader.cs:line 41
   at NuKeeper.Inspection.Sources.NuGetConfigFileReader.ReadNugetSources(IFolder workingFolder) in C:\Code\NuKeeper\NuKeeper.Inspection\Sources\NuGetConfigFileReader.cs:line 30
   at NuKeeper.Inspection.Sources.NuGetSourcesReader.Read(IFolder workingFolder, NuGetSources overrideValues) in C:\Code\NuKeeper\NuKeeper.Inspection\Sources\NuGetSourcesReader.cs:line 26
   at NuKeeper.Local.LocalEngine.Run(SettingsContainer settings, Boolean write) in C:\Code\NuKeeper\NuKeeper\Local\LocalEngine.cs:line 43
   at NuKeeper.Commands.InspectCommand.Run(SettingsContainer settings) in C:\Code\NuKeeper\NuKeeper\Commands\InspectCommand.cs:line 33
   at NuKeeper.Commands.CommandBase.OnExecute() in C:\Code\NuKeeper\NuKeeper\Commands\CommandBase.cs:line 69
   at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.InvokeAsync(MethodInfo method, Object instance, Object[] arguments) in C:\projects\commandlineutils\src\CommandLineUtils\Conventions\ExecuteMethodConvention.cs:line 77
   at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.OnExecute(ConventionContext context) in C:\projects\commandlineutils\src\CommandLineUtils\Conventions\ExecuteMethodConvention.cs:line 62
   at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.<>c__DisplayClass0_0.<<Apply>b__0>d.MoveNext() in C:\projects\commandlineutils\src\CommandLineUtils\Conventions\ExecuteMethodConvention.cs:line 25
--- End of stack trace from previous location where exception was thrown ---
   at McMaster.Extensions.CommandLineUtils.CommandLineApplication.<>c__DisplayClass126_0.<OnExecute>b__0() in C:\projects\commandlineutils\src\CommandLineUtils\CommandLineApplication.cs:line 505
   at NuKeeper.Program.Main(String[] args) in C:\Code\NuKeeper\NuKeeper\Program.cs:line 31

Suggestion
Even when the user clears all his packageSources in the NuGet.config file we should not throw an exception like this.

This is an edge case, but yes, we should not crash.
So NuKeeper should treat an empty list of sources the same as a missing list, and proceed with fallback, probably on to using the public global feed.  The alternative of looking for updates from 0 sources doesn't make sense.

You are right. Updates from 0 sources doesn't make any sense.
Unfortunately my project is very special and complex. I have CI/CD integration and seperated all package versions out in a dependencies.props file. My project structure looks something like this:

I am searching for an tool which can handle such an edge case. While testing this tool I discoverd this exception.

NuKeeper will eventually run standard dotnet add commands, and as far as I have seen, this will only update the .csproj files, not the custom ones.

I have looked into the source code of the dotnet add command and in the source code of a tool called dotnet outdated. Both uses msbuild internally to create a restore graph. Unfortunately the restore graph does not include the location to the specific .props file from where the package was referenced or the version specified.
I created an issue on the Microsoft/msbuild repo. If they decide to add this feature tools like dotnet add and dotnet outdated can use this and even cover this edge case.


Create OData filter for null (eq and ne)

Hi, I have a question about filtering entity sets using the cloud SDK. I would like to  read an entity set, filtering on all entities that have value null in a specific field.
So the resulting URL should be:
GET https://myserver/odata/v2/User?$filter=lastName eq null

The question also applies to ne instead of eq.
Unfortunately I am not able to create such filter using the cloud SDK. I tried something like User.LAST_NAME.equals(null) but this gives a TS error as only strings are allowed.
Also, explicit type casting does not work: User.LAST_NAME.equals(null as unknown as string) will create a filter lastName eq 'null'.
I might be able to manually set the URL query string for this filter but I would like to use this filter along with other filters, created by the cloud SDK. So does not seem to be an alternative.
Is it possible to achieve this using the cloud SDK?
Thanks a lot,
Lennart

Hey @lennart-m, I'm curious if you have tried supplying a "null" string without casting anything? I believe the mentioned URL also sends just a string to their server for comparison? Does the resulting URL work?

Hi @artemkovalyov, thanks for your reply.
The generated URL with 'null' instead of null does not work as it only checks if the field value equals string 'null'; but I want to check for value null (i.e. no string value). If I call User.LAST_NAME.equals("null") then I also get the URL lastName eq 'null' which is not the one I need. Also, filtering on empty string is not interpreted as filtering on null by the remote system.
I found this to be the code that converts my null to 'null' (lines 39 to 41):

As it's a Edm.String field the 'null' string then gets converted once more so the resulting URL contains the single quotes:

The OData specification states that there is a null literal. It seems like the cloud SDK does not correctly handle this.
V2:
https://www.odata.org/documentation/odata-version-2-0/uri-conventions/#:~:text=instead%2C there is a null literal which can be used in comparisons.
V4:
https://www.oasis-open.org/committees/download.php/58261/NullInOData.html#:~:text=instead%2C there is a null literal that can be used in comparisons.
In my opinion there should be special handling of the null literal.
I will try to find a workaround, maybe creating a custom field of different Edm type will help.

Hi @lennart-m ,
I can reproduce the type error and I created a backlog item.
Please share your timeline, if possible.
Thank you very much.
Best regards,
Junjie

Thanks for answering @jjtang1985 and clearing things up a lot @lennart-m. After knowing your deadlines we'll prioritize fixing this bug.

Hi @jjtang1985 and @artemkovalyov, thank you very much for handling this.
The application I'm working on will probably go live within a few months.
I am now implementing a workaround by not writing null values to the required fields in the remote system so I can filter properly. So there is no urgency.
By the way, the remote system is SAP SuccessFactors so this issue will perhaps come up more often; a workaround for this is not that easy due to the behavior of SuccessFactors when filtering (a filter on lastName ne 'name' will not find entities with lastName=null although this would be semantically correct).
Sincerely,
Lennart

Hi @lennart-m ,
the null is now supported like this example:
TestEntity.STRING_PROPERTY.equals(null);.
To test it, you need to follow the steps:

use the canary version of the @sap-cloud-sdk/generator to generate your clients again.
use your new client with the canary version of the @sap-cloud-sdk/core for your tests.

Please let me know if there are still questions.
We might release a new stable version next week.
Best regards,
Junjie

Hi @lennart-m ,
we have released 1.47.0, please try the latest version.
I'll close this ticket and please reopen if you have questions.
Best regards,
Junjie

Hi, I just tried this using the new version 2 of the cloud SDK. The issue still persists (or persists again?)
Filtering using field.equals(null) results in filter parameter field eq 'null'.
Should I open a new issue?
Thanks!


fix: support MaxInstanceLifetime for rotating out old agents

Adds support for configuring MaxInstanceLifetime on the ASG. See also:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-maxinstancelifetime
https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html

We would like to use this to ensure no Buildkite agent lives for longer than 24h. This helps prevent some issues we've experienced with long-lived agents, such as disks filling up.

Oops, didn't see that this PR already existed: https://github.com/buildkite/elastic-ci-stack-for-aws/pull/839


Skybox control

Would each region be able to specify it's own skybox, or is it a global thing?

Per-region, same technique as with fog and DNC models.


Fake ban\kick issue

sometimes nick change on empty?
https://imgur.com/uM27nwv
next click on set fakename after 5 sec is fix that
color issue with fake ban.

check that pls
suggestion to add change name on original after start callvote

xd
that also happened to me
u gotta enable custom clantag for it to work

Fixed.


Added macOS sample + target

Description of Change
The sample app for macOS is added.
Bugs Fixed

Related to issue #224

Behavioral Changes
A new target is added to the list of supported targets Xamarin.Mac20.
PR Checklist

[ ] Has tests (if omitted, state reason in description)
[X] Has samples (if omitted, state reason in description)
[X] Rebased on top of main at time of PR
[X] Changes adhere to coding standard
[ ] Updated documentation

The app is added, but it has some quirks functionally that need to be ironed out, hence the DO-NOT-MERGE tag.

Can we add this after CameraView? I want to see how much work we need to get the CamareView working on Mac.

@sthewissen Could you fix the conflicts?. Let me know if need help with anything :)

@jsuarezruiz Will take a peek in the morning.

Or maybe I just took a peek and fixed the conflict :)

@sthewissen what are "some quirks in its functionally that need to be ironed out"?

@sthewissen @jfversluis
can we proceed with this PR?

It would be nice to merge it. Samples have all platforms except macOS

It would be nice to merge it. Samples have all platforms except macOS

There's something odd happening with this sample and I'm not sure why yet:
https://user-images.githubusercontent.com/2419439/105333817-72146400-5bd6-11eb-951c-d3d38e192bcc.mov

There's something odd happening with this sample and I'm not sure why yet:
https://user-images.githubusercontent.com/2419439/105333817-72146400-5bd6-11eb-951c-d3d38e192bcc.mov

I think it is the same issue as we have with WPF and GTK.

I think it is the same issue as we have with WPF and GTK.

Even if there is an issue with navigation, I think we should merge it. For development and testing purposes we can replace the main page with specific page to check if feature works on macOS.
We have the same approach for WPF and GTK.

Yeah same thing happening here as with GTK and WPF right now which is ControlTemplates are not supported. Let's close this one for now to not add any more targets that have "issues" until we find away around it aka not use control templates.


Metric System?

Hi there, thank you so much for this library, it's super useful.
Is there an option for the parser to return km rather than miles? I see the software is hard-coded to use miles for distances (track lengths etc) but meters for elevations. Wouldn't it make more sense to return everything in metric or everything in imperial?
if so, would you accept a PR that defaults to metric?
Thanks
Dario

Hey. Yeah I think the best would be to return metric. Sure I would accept a PR. Maybe it should optionally accept a flag to return in imperial if a user wanted it to.

If I get chance I will implement tonight. If not I would be happy for you to do it. It should be pretty easy. Its just  matter of calculating with the great circle radius in km instead I think

No no, hold your horses, i've implemented it on my fork and updated the tests :)

Brilliant. Thanks a lot

i've just added a PR

Brilliant. Ill add the broserify command into the package.json. all looks good will commit now.


New URL for NtH

Since the .cc lapsed (must have been pricy I imagine), link to s3 hosting instead
edit: oh, back. is still up...i dunno then

Welp it lapsed for real now. Thanks for catching this, pulled!

Welp it lapsed for real now. Thanks for catching this, pulled!


[Bug] Cannot log in with GitHub

Category
Emergency bug
What is the current behavior?
Choose sign in with GitHub
Then it will redirect to the page
"401
Unauthorized
An user is already associated to this github account."
This issue just came up today. And I am the only user associated with the account.
What is the desired behavior?
Log in normally to the web editor
Additional information
Web editor / Chrome
OS X Sierra
Please look into this.

The log in system went back to normal.

Yes, we deployed a fix a few minutes ago.


Providing output files for small tutorial problems

I have some of the example cases running, but it would be nice to be able to confirm that the outputs are as expected. When I run the first example under 'Usage' on the documentation, the output file is only 8 lines, and so an 'official' output for comparison could be included in the repository. For each of the examples listed on the documentation page, it would be nice if the expected output was available in the repository [ assuming that the files aren't onerously large ].
[This is in reference to JOSS review https://github.com/openjournals/joss-reviews/issues/5554]

Sorry, just saw that the examples have the outputs in text on the documentation page. I'd recommend adding a Tutorials directory to the repository, which includes the config.yml and output files for each of those example cases, making it easy for new users to quickly run those cases and compare the outputs against expectations.

Hi @bastorer, thanks for taking the time to review this submission. I already have a directory like the one you are proposing, in docs/source/examples. Would it be enough to put a link to this directory in the readme file and the online documentation?

That's great! Yeah, just adding some text in the readme and documentation mentioning that the .toml and output files for the example cases are available in docs/sources/examples would be perfect.


unable to recover API session

I'm running a Python edge SDK app continuously, which uses the C SDK, and it became de-authorized a few hours ago and seems to be stuck, unable to recover. I was able to curl /edge/client/v1/version while the edge SDK was reporting "CONTROLLER_UNAVAILABLE" so that message appears to be inaccurate:
2023-11-13T13:48:47.920Z     WARN ziti-sdk:ziti_ctrl.c:487 verify_api_session() ctrl[db2f5d29-d062-47e1-82dc-a12738f0768e.production.netfoundry.io] no API session
2023-11-13T13:48:47.920Z     WARN ziti-sdk:bind.c:212 session_cb() server[0.0] failed to get session for service[classifier-service]: -14/UNAUTHORIZED
2023-11-13T13:48:52.655Z     INFO ziti-sdk:ziti.c:913 ziti_re_auth_with_cb() ztx[0] starting to re-auth with ctlr[https://db2f5d29-d062-47e1-82dc-a12738f0768e.production.netfoundry.io:443] api_session_status[0] api_session_expired[TRUE]
2023-11-13T13:48:57.759Z    ERROR ziti-sdk:ziti_ctrl.c:162 ctrl_resp_cb() ctrl[db2f5d29-d062-47e1-82dc-a12738f0768e.production.netfoundry.io] request failed: -103(software caused connection abort)
2023-11-13T13:48:57.759Z     WARN ziti-sdk:ziti.c:1597 api_session_cb() ztx[0] failed to get api session from ctrl[https://db2f5d29-d062-47e1-82dc-a12738f0768e.production.netfoundry.io:443] api_session_state[1] CONTROLLER_UNAVAILABLE[-16] software caused connection abort

To recover, I bounced the Python application. It started normally.
This is the beginning of the interruption event time frame from the application log, ~5 hours earlier.
2023-11-13T09:07:29.789Z     INFO ziti-sdk:ziti.c:1560 ziti_set_api_session() ztx[0] api session set, setting api_session_timer to 1740s
2023-11-13T09:36:18.455Z    ERROR ziti-sdk:channel.c:831 on_channel_data() ch[0] unhandled error on_data [-110/connection timed out]
2023-11-13T09:36:18.455Z     WARN ziti-sdk:bind.c:335 on_message() binding failed: -21/connection to edge router terminated
2023-11-13T09:36:18.455Z     INFO ziti-sdk:channel.c:733 reconnect_channel() ch[0] reconnecting in 7687ms (attempt = 1)
2023-11-13T09:36:18.455Z    ERROR ziti-sdk:channel.c:831 on_channel_data() ch[1] unhandled error on_data [-110/connection timed out]
2023-11-13T09:36:18.455Z     WARN ziti-sdk:bind.c:335 on_message() binding failed: -21/connection to edge router terminated
2023-11-13T09:36:18.455Z     INFO ziti-sdk:channel.c:733 reconnect_channel() ch[1] reconnecting in 9511ms (attempt = 1)
2023-11-13T09:36:46.176Z    ERROR ziti-sdk:channel.c:675 ch_connect_timeout() ch[0] connect timeout
2023-11-13T09:36:46.176Z     INFO ziti-sdk:channel.c:733 reconnect_channel() ch[0] reconnecting in 5108ms (attempt = 2)
2023-11-13T09:36:46.176Z    ERROR ziti-sdk:channel.c:861 on_channel_connect_internal() ch[0] failed to connect to ER[OCI us-ashburn-1 Edge Router 1] [-125/operation canceled]
2023-11-13T09:36:46.176Z     INFO ziti-sdk:channel.c:733 reconnect_channel() ch[0] reconnecting in 1317ms (attempt = 3)
2023-11-13T09:36:47.977Z    ERROR ziti-sdk:channel.c:675 ch_connect_timeout() ch[1] connect timeout
2023-11-13T09:36:47.977Z     INFO ziti-sdk:channel.c:733 reconnect_channel() ch[1] reconnecting in 1561ms (attempt = 2)
2023-11-13T09:36:47.977Z    ERROR ziti-sdk:channel.c:861 on_channel_connect_internal() ch[1] failed to connect to ER[AWS Public Router] [-125/operation canceled]
2023-11-13T09:36:47.977Z     INFO ziti-sdk:channel.c:733 reconnect_channel() ch[1] reconnecting in 12586ms (attempt = 3)
2023-11-13T09:37:07.524Z    ERROR ziti-sdk:channel.c:675 ch_connect_timeout() ch[0] connect timeout
2023-11-13T09:37:07.524Z     INFO ziti-sdk:channel.c:733 reconnect_channel() ch[0] reconnecting in 51658ms (attempt = 4)
2023-11-13T09:37:07.524Z    ERROR ziti-sdk:channel.c:861 on_channel_connect_internal() ch[0] failed to connect to ER[OCI us-ashburn-1 Edge Router 1] [-125/operation canceled]
2023-11-13T09:37:07.524Z     INFO ziti-sdk:channel.c:733 reconnect_channel() ch[0] reconnecting in 100486ms (attempt = 5)
2023-11-13T09:37:14.711Z    ERROR ziti-sdk:ziti_ctrl.c:162 ctrl_resp_cb() ctrl[db2f5d29-d062-47e1-82dc-a12738f0768e.production.netfoundry.io] request failed: -3001(temporary failure)
2023-11-13T09:37:14.711Z     WARN ziti-sdk:bind.c:212 session_cb() server[0.0] failed to get session for service[classifier-service]: -16/CONTROLLER_UNAVAILABLE
2023-11-13T09:37:14.711Z    ERROR ziti-sdk:ziti_ctrl.c:162 ctrl_resp_cb() ctrl[db2f5d29-d062-47e1-82dc-a12738f0768e.production.netfoundry.io] request failed: -3001(temporary failure)
2023-11-13T09:37:14.711Z     WARN ziti-sdk:ziti.c:1597 api_session_cb() ztx[0] failed to get api session from ctrl[https://db2f5d29-d062-47e1-82dc-a12738f0768e.production.netfoundry.io:443] api_session_state[3] CONTROLLER_UNAVAILABLE[-16] temporary failure
2023-11-13T09:37:14.711Z    ERROR ziti-sdk:ziti_ctrl.c:162 ctrl_resp_cb() ctrl[db2f5d29-d062-47e1-82dc-a12738f0768e.production.netfoundry.io] request failed: -3001(temporary failure)
2023-11-13T09:37:14.711Z    ERROR ziti-sdk:ziti.c:1307 edge_routers_cb() ztx[0] failed to get current edge routers: CONTROLLER_UNAVAILABLE/temporary failure
2023-11-13T09:37:14.711Z    ERROR ziti-sdk:ziti_ctrl.c:162 ctrl_resp_cb() ctrl[db2f5d29-d062-47e1-82dc-a12738f0768e.production.netfoundry.io] request failed: -3001(temporary failure)
2023-11-13T09:37:14.711Z     WARN ziti-sdk:ziti_ctrl.c:487 verify_api_session() ctrl[db2f5d29-d062-47e1-82dc-a12738f0768e.production.netfoundry.io] no API session
2023-11-13T09:37:14.711Z    ERROR ziti-sdk:ziti.c:1099 update_services() ztx[0] failed to get service updates err[UNAUTHORIZED/no api session token set for ziti_controller] from ctrl[https://db2f5d29-d062-47e1-82dc-a12738f0768e.production.netfoundry.io:443]
2023-11-13T09:37:14.711Z     WARN ziti-sdk:ziti.c:1101 update_services() ztx[0] api session is no longer valid. Trying to re-auth
2023-11-13T09:37:14.711Z     INFO ziti-sdk:ziti.c:913 ziti_re_auth_with_cb() ztx[0] starting to re-auth with ctlr[https://db2f5d29-d062-47e1-82dc-a12738f0768e.production.netfoundry.io:443] api_session_status[0] api_session_expired[TRUE]
2023-11-13T09:37:14.711Z    ERROR ziti-sdk:ziti_ctrl.c:162 ctrl_resp_cb() ctrl[db2f5d29-d062-47e1-82dc-a12738f0768e.production.netfoundry.io] request failed: -3001(temporary failure)
2023-11-13T09:37:14.711Z     WARN ziti-sdk:ziti.c:1597 api_session_cb() ztx[0] failed to get api session from ctrl[https://db2f5d29-d062-47e1-82dc-a12738f0768e.production.netfoundry.io:443] api_session_state[1] CONTROLLER_UNAVAILABLE[-16] temporary failure
2023-11-13T09:37:14.953Z     WARN ziti-sdk:ziti_ctrl.c:487 verify_api_session() ctrl[db2f5d29-d062-47e1-82dc-a12738f0768e.production.netfoundry.io] no API session
2023-11-13T09:37:14.953Z     WARN ziti-sdk:bind.c:212 session_cb() server[0.0] failed to get session for service[classifier-service]: -14/UNAUTHORIZED
2023-11-13T09:37:19.735Z     INFO ziti-sdk:ziti.c:913 ziti_re_auth_with_cb() ztx[0] starting to re-auth with ctlr[https://db2f5d29-d062-47e1-82dc-a12738f0768e.production.netfoundry.io:443] api_session_status[0] api_session_expired[TRUE]
2023-11-13T09:37:20.575Z    ERROR ziti-sdk:channel.c:675 ch_connect_timeout() ch[1] connect timeout
2023-11-13T09:37:20.575Z     INFO ziti-sdk:channel.c:733 reconnect_channel() ch[1] reconnecting in 56131ms (attempt = 4)
2023-11-13T09:37:20.575Z    ERROR ziti-sdk:channel.c:861 on_channel_connect_internal() ch[1] failed to connect to ER[AWS Public Router] [-125/operation canceled]
2023-11-13T09:37:20.575Z     INFO ziti-sdk:channel.c:733 reconnect_channel() ch[1] reconnecting in 141854ms (attempt = 5)
2023-11-13T09:37:20.907Z     WARN ziti-sdk:ziti_ctrl.c:487 verify_api_session() ctrl[db2f5d29-d062-47e1-82dc-a12738f0768e.production.netfoundry.io] no API session
2023-11-13T09:37:20.907Z     WARN ziti-sdk:bind.c:212 session_cb() server[0.0] failed to get session for service[classifier-service]: -14/UNAUTHORIZED
2023-11-13T09:37:34.796Z    ERROR ziti-sdk:ziti_ctrl.c:162 ctrl_resp_cb() ctrl[db2f5d29-d062-47e1-82dc-a12738f0768e.production.netfoundry.io] request failed: -110(connection timed out)
2023-11-13T09:37:34.796Z     WARN ziti-sdk:ziti.c:1597 api_session_cb() ztx[0] failed to get api session from ctrl[https://db2f5d29-d062-47e1-82dc-a12738f0768e.production.netfoundry.io:443] api_session_state[1] CONTROLLER_UNAVAILABLE[-16] connection timed out
2023-11-13T09:37:35.136Z     WARN ziti-sdk:ziti_ctrl.c:487 verify_api_session() ctrl[db2f5d29-d062-47e1-82dc-a12738f0768e.production.netfoundry.io] no API session
2023-11-13T09:37:35.136Z     WARN ziti-sdk:bind.c:212 session_cb() server[0.0] failed to get session for service[classifier-service]: -14/UNAUTHORIZED
2023-11-13T09:37:39.819Z     INFO ziti-sdk:ziti.c:913 ziti_re_auth_with_cb() ztx[0] starting to re-auth with ctlr[https://db2f5d29-d062-47e1-82dc-a12738f0768e.production.netfoundry.io:443] api_session_status[0] api_session_expired[TRUE]
2023-11-13T09:37:46.749Z     WARN ziti-sdk:ziti_ctrl.c:487 verify_api_session() ctrl[db2f5d29-d062-47e1-82dc-a12738f0768e.production.netfoundry.io] no API session
2023-11-13T09:37:46.749Z     WARN ziti-sdk:bind.c:212 session_cb() server[0.0] failed to get session for service[classifier-service]: -14/UNAUTHORIZED
2023-11-13T09:37:54.859Z    ERROR ziti-sdk:ziti_ctrl.c:162 ctrl_resp_cb() ctrl[db2f5d29-d062-47e1-82dc-a12738f0768e.production.netfoundry.io] request failed: -110(connection timed out)
2023-11-13T09:37:54.859Z     WARN ziti-sdk:ziti.c:1597 api_session_cb() ztx[0] failed to get api session from ctrl[https://db2f5d29-d062-47e1-82dc-a12738f0768e.production.netfoundry.io:443] api_session_state[1] CONTROLLER_UNAVAILABLE[-16] connection timed out

Environmental details:

The Python app is running in a Docker container, and I did not test that the container's network was able to reach the controller before I restarted it
The source code of the Python app is here
The Dockerfile is here

Here's the full application log from the continuous running time frame during which the interruption of availability occurred.
classifier-times.log


Update pm2 to latest version

This PR updates pm2 to the latest version.
What has been done to verify that this works as intended?
I haven't done much to verify this change to the patch version. If there is an issue, then CircleCI or regression testing should help catch it.
Does this change require updates to documentation? If so, please file an issue here and include the link below.
No change needed.
Before submitting this PR, please make sure you have:

[x] verified that any code or assets from external sources are properly credited in comments.

It would be nice to verify that multiple instances of pm2 are running on dev/test environment

How have you done that in the past? Could we check for that in the central CircleCI?

I think I'm going to go ahead and merge. If we're going to verify this, I think it'd be best to do so in CircleCI. (This won't be the last time that we update pm2!) @sadiqkhoja, let me know if you have thoughts about how to do that!

From @sadiqkhoja: Go into the service container. There is a command related to pm2 that can be used to check this.


Possibility to pass custom breakpoints to the pui theme

https://github.com/Panenco/panenco-ui/issues/320


make sure all tooltip numbers are rounded

All numbers shown in tooltip should be rounded. see this screenshot for an example of unrounded numbers: (Massachusetts, Hospitalizations, as of 2021-12-25).

Closing as a duplicate of issue #11


JSONDecodeError

Hello,
using any functions, except the getTrending one, i get the following error:
[Exception has occurred: JSONDecodeError
Expecting property name enclosed in double quotes: line 1 column 2 (char 1)]
I can't figure out what causes this, as I'm not touching any of the JSON files being decoded.
Thanks in advance

It seems to me that the endpoints in the functions are outdated, since the code hasn't been updated since 2020

Hey, were you able to find other alternatives for fetching data from Tiktok?
Any leads would be helpful.

Hey, were you able to find other alternatives for fetching data from Tiktok? Any leads would be helpful.

Ive been using Toughdata  to scrape TikTok followers and profile data.


Use latest stable version for CI 'build' job

Objective
Fixes #5668.
The Rust version used in the CI build step previously depended on the default Rust version defined by GitHub in the Ubuntu image: https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2004-Readme.md#rust-tools
This currently doesn't allow us to use Rust 1.63 features until this version is updated.
Solution
We now use the actions-rs/toolchain@v1 action to always use the latest stable Rust version.
This is already used for other CI jobs that we have.

bors r+


Update Configs -- changes will update the config of a topic

For dynamic properties only.

Also for partition count changes


Add header / footer to visualization

Look more into github pages - see if there is a way to add our visualization into a page styled with same theme as the main index.html page.  If not a way to do it with some fancy gui, do it by hand.
Make sure it links back.
The idea is, we want this to be something that someone comes across when looking up promise zones, we want it to be presentable and easy to navigate and look decent.

Done as part of move to use single pages instead of one for org and one for this repo.  Can see here


Add a Gitter chat badge to README.md

zorg-framework/zorg now has a Chat Room on Gitter
@kevin-brown has just created a chat room. You can visit it here: https://gitter.im/zorg-framework/zorg.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

This is pretty cool.


mongo hook and operator

a mongo hook and operator will be very useful !!

@notifytovishal can you please create a Jira issue for this?

@bolkedebruin here it is - https://issues.apache.org/jira/browse/AIRFLOW-83

@notifytovishal Thanks!


Error: Could not find resource for template Info.plist

Hello!
We want to use your appbundler-plugin to create jars and later on dmg-files on OS X Yosemite for RyCON and Routeconverter. I downloaded the files and follow the instructions in the readme.md file.
I use this part in the pom.xml:
<plugin>
                <groupId>io.github.appbundler</groupId>
                <artifactId>appbundle-maven-plugin</artifactId>
                <version>1.0-SNAPSHOT</version>
                <configuration>
                    <dictionaryFile>Info.plist</dictionaryFile>
                    <mainClass>de.ryanthara.ja.rycon.gui.MainApplication</mainClass>
                    <iconFile>RyCON.icns</iconFile>
                    <jvmVersion>1.7+</jvmVersion>
                </configuration>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>bundle</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

When I try to execute the maven goal with "mvn clean install" I run into the following error messages:
[ERROR] Failed to execute goal io.github.appbundler:appbundle-maven-plugin:1.0-SNAPSHOT:bundle (default) on project RyCON_MacOSX64: Could not find resource for template Info.plist: Unable to find resource 'Info.plist' -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal io.github.appbundler:appbundle-maven-plugin:1.0-SNAPSHOT:bundle (default) on project RyCON_MacOSX64: Could not find resource for template Info.plist
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
Caused by: org.apache.maven.plugin.MojoExecutionException: Could not find resource for template Info.plist
	at io.github.appbundler.CreateApplicationBundleMojo.writeInfoPlist(CreateApplicationBundleMojo.java:458)
	at io.github.appbundler.CreateApplicationBundleMojo.execute(CreateApplicationBundleMojo.java:260)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
	... 25 more
Caused by: org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'Info.plist'
	at org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceManagerImpl.java:452)
	at org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(ResourceManagerImpl.java:335)
	at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1102)
	at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:498)
	at io.github.appbundler.CreateApplicationBundleMojo.writeInfoPlist(CreateApplicationBundleMojo.java:446)
	... 28 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :RyCON_MacOSX64

Process finished with exit code 1```

So what is missing or going wrong?

There is a little error in `Use Custom Info.plist and Icon` paragraph in the readme.md.

This error caused by the fact that the plugin could not find your custom Info.plist file.
Please put Info.plist file into src/main/resources or your project resource directories and build again.
Thanks.

Good Morning. Thanks for your help.
The Info.plist-file is there. This is the way it looks in finder.
This is the view of IntelliJ. As you can see, it is marked as resource directory.

CFBundleDevelopmentRegion
de-DE
CFBundleDisplayName
RyCON
CFBundleExecutable
JavaApplicationStub
CFBundleIconFile
RyCON.icns
CFBundleIdentifier
de.ryanthara.ja.rycon.RyCON
CFBundleInfoDictionaryVersion
6.0
CFBundleName
RyCON
CFBundlePackageType
APPL
CFBundleShortVersionString
${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}
CFBundleSignature
rycn
CFBundleVersion
${project.version}-${maven.build.number} ${maven.build.timestamp.clone}
NSHumanReadableCopyright
© 2015, by Sebastian Aust - http://code.ryanthara.de/
Java

JVMVersion
1.7+
MainClass
de.ryanthara.ja.gui.MainApplication
Properties

apple.laf.useScreenMenuBar
true

VMOptions
-XstartOnFirstThread -d64 -Xmx1024m -Dapple.laf.useScreenMenuBar=true
ClassPath
$JAVAROOT/RyCON_MacOSX64.jar

NSHighResolutionCapable

Am 02.02.2015 um 02:57 schrieb Takashi AOKI<EMAIL_ADDRESS>This error caused by the fact that the plugin could not find your custom Info.plist file.
Please put Info.plist file into src/main/resources or your project resource directories and build again.
Thanks.
—
Reply to this email directly or view it on GitHub https://github.com/federkasten/appbundler-plugin/issues/9#issuecomment-72397449.

Please run mvn clean && mvn compile and check if your Info.plist file exists in target/classes. If not exists, your project configuration is something wrong.
I'm not familiar to IntelliJ, so I can not advice about it. Sorry. :bow:

I built the latest version a couple of minutes ago. My Info.plist exists after mvn clean && mvn compile in target/classes.
Maybe you are right, and some other things are missing, or wrong in my project configuration. I'm a maven-beginner and stand downside a hill with "at-the-moment-bigger-problems-as-my-tiny-solutions-can-solve". At the moment I'm not able to solve this problems with my own skills and it takes so much time to learn, test, and fail.
Thank you, appreciate your work.

This morning I give a new try.
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal io.github.appbundler:appbundle-maven-plugin:1.0-SNAPSHOT:bundle (default) on project RyCON_MacOSX64: Execution default of goal io.github.appbundler:appbundle-maven-plugin:1.0-SNAPSHOT:bundle failed.
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default of goal io.github.appbundler:appbundle-maven-plugin:1.0-SNAPSHOT:bundle failed.
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:143)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
	... 25 more
Caused by: java.lang.NullPointerException
	at io.github.appbundler.CreateApplicationBundleMojo.execute(CreateApplicationBundleMojo.java:201)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
	... 26 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :RyCON_MacOSX64

Process finished with exit code 1```

I have browse source codes of your project RyCON.
Probably the cause is a sub-moduled maven project. I have not checked on such projects. And it is possibly same with the issue mentioned in #1 that cpesch says.
I think it will work if project configuration is correct. But I could not advise immediately.

Thank you for browsing the sources. RyCON is my first program with the attempt to deliver the it for different platforms.
The goal can be reached by a different solutions. Because of my interests in Route-Converter from cpesch and some other reasons, I followed the maven way. The sub-module structure is inspired and supported by him. As I wrote, I'm a beginner and try to solve the maven problems, what is not as easy for me as I thought.
At the moment we try to find out what is wrong in the project structure or configurations. Therefore I put this messy pom.xml statements.


correct args passed to eslint

Problem
bad arguments to eslint for macos
Solution
add single quotes, fix warnings
Type of change

Bug fix (non-breaking change which fixes an issue)

Oh actually, maybe this is better: eslint src --ext .ts,.tsx
https://github.com/typescript-eslint/typescript-eslint/issues/2342#issuecomment-670056225

Oh actually, maybe this is better: eslint src --ext .ts,.tsx

YES thank you.  So much better.


Load account identifier as part of Contact

At least on Android, each Contact is linked to an account (e.g. Google, Exchange or DAV). Currently it is neither visible e.g. as a field in Contact, much less updateable.
 Still, being able to choose the account at least at creation is important, e.g. to sync the contact to the right Google/Exchange/davx account.

@megid2 maybe we could split this issues into two parts and start by being able to select from which account contacts are pulled.

Ok 926, agreed; changed the title to reflect the issue split. So this issue is an enhancement wish, namely that the account id is loaded as part of the contact.

Follow-up is #41

Thanks for the quick reply,
Might use this repo as a starting point :
https://github.com/BaseflowIT/flutter-contacts-plugin
It provides an easy access to the platform specific address book


ORT: Review unapproved/unknown licenses

Description
The current ORT validation runs produce unknown/unapproved licenses, for example, this run:
https://github.com/valkey-io/valkey-glide/actions/runs/12060233555/job/33630281736
produced the following list:
Package_name: Crate::option-ext:0.2.0, Language: Python, License: MPL-2.0
Package_name: Crate::ring:0.17.8, Language: Python, License: NOASSERTION
Package_name: Crate::unicode-ident:1.0.14, Language: Python, License: (Apache-2.0 OR MIT) AND Unicode-3.0
Package_name: PyPI::pathspec:0.12.1, Language: Python, License: MPL-2.0
Package_name: PyPI::pathspec:0.12.1, Language: Python, License: MPL-2.0
Package_name: PyPI::pytest-metadata:3.1.1, Language: Python, License: MPL-2.0
Package_name: PyPI::pytest-metadata:3.1.1, Language: Python, License: MPL-2.0
Package_name: Crate::option-ext:0.2.0, Language: Node, License: MPL-2.0
Package_name: Crate::ring:0.17.8, Language: Node, License: NOASSERTION
Package_name: Crate::unicode-ident:1.0.14, Language: Node, License: (Apache-2.0 OR MIT) AND Unicode-3.0
Package_name: NPM::pause-stream:0.0.11, Language: Node, License: Apache-2.0 AND MIT
Package_name: Crate::option-ext:0.2.0, Language: Java, License: MPL-2.0
Package_name: Crate::ring:0.17.8, Language: Java, License: NOASSERTION
Package_name: Crate::unicode-ident:1.0.14, Language: Java, License: (Apache-2.0 OR MIT) AND Unicode-3.0
Package_name: Maven:org.json:json:20231013, Language: Java, License: LicenseRef-scancode-public-domain-disclaimer
Package_name: Maven:org.json:json:20231013, Language: Java, License: LicenseRef-scancode-public-domain-disclaimer
Package_name: Crate::option-ext:0.2.0, Language: Rust, License: MPL-2.0
Package_name: Crate::ring:0.17.8, Language: Rust, License: NOASSERTION
Package_name: Crate::unicode-ident:1.0.14, Language: Rust, License: (Apache-2.0 OR MIT) AND Unicode-3.0

This breaks AWS AppSec requirements, we have to deal with it by either extended the set of approved licenses or removing the packages
Checklist

[ ] Task item 1
[ ] Task item 2
[ ] Task item 3

Additional Notes
No response

Most of the work is completed in #2890.
The remaining tasks depend on Viral (Senior Open Source Engineer) to approve or reject some of the packages we are using.
As a result, the estimated completion time is between 1 to 5 days, depending on his response.


export all retrieved IDs

Please allow a context-menu button to conveniently Export all retrieved IDs to a text file on the SD card. Currently getid only allows copying one ID at a time, but this is not sufficiently convenient for the purposes of backing up this information.
Having a dedicated Export button would be much more useful for backing this up.

i will add this feature and thank you for point out this feature :)

Thanks!


Codeaction for "Fill anonymous struct" not working.

Hi,
Thank you for great plugin!
while trying to perform "code action" Im getting error as below:
Error executing vim.schedule lua callback: ...vim/site/pack/packer/start/guihua.lua/lua/guihua/gui.lua:237: attempt to index field 'edit' (a nil value)
stack traceback:
        ...vim/site/pack/packer/start/guihua.lua/lua/guihua/gui.lua:237: in function 'select'
        /usr/local/share/nvim/runtime/lua/vim/lsp/buf.lua:557: in function 'on_code_action_results'
        /usr/local/share/nvim/runtime/lua/vim/lsp/buf.lua:575: in function 'callback'
        /usr/local/share/nvim/runtime/lua/vim/lsp.lua:1472: in function 'handler'
        /usr/local/share/nvim/runtime/lua/vim/lsp.lua:964: in function ''
        vim.lua: in function <vim.lua:0>

Can confirm this has been fixed with this commit https://github.com/ray-x/guihua.lua/commit/d9e44f5bf9903666a16484c1585c803e9245e2f9


Update README.md

Usage section has a semi-colon after the access address which causes error: 'Cannot GET /app;'. Removing this clarifies the instructions.

Sorry this is not the error the message is "Cannot GET /"     there is no ; in the message I must have made a mistake in the copy.  I enter http://localhost:3000 and it returns the above.

CliveBiddulph I am not sure what you are referencing but you should be entering http://localhost:3000/app to launch the recorder. Have you tried that?

I have to apologise for my mistake, I never entered the correct call.  Sorry for having a brain fail, and thank you Shane for showing me the error of my ways.

No worries!


Unable to get default slot text in $slots containing newlines

Vue version
3.2.37
Link to minimal reproduction
https://stackblitz.com/edit/vitejs-vite-vss25d?file=src%2Fcomponents%2FHelloWorld.vue,src%2Fcomponents%2FMarkdown.vue,src%2FApp.vue&terminal=dev
Steps to reproduce
https://stackblitz.com/edit/vitejs-vite-vss25d?file=src%2Fcomponents%2FHelloWorld.vue,src%2Fcomponents%2FMarkdown.vue,src%2FApp.vue&terminal=dev
What is expected?
Get default slot text in $slots containing newlines
What is actually happening?
Get default slot text in $slots containing newlines
System Info
No response
Any additional comments?
No response

The text in slots.default()[0].children does not contain newlines
I want to get text that contains newlines, how do I manipulate $slots

html cant contains newlines


Ignore parse the non-json request

The bodyParser will eat the application/xml type post.

@RWOverdijk @loicsaintroch thanks as always :)
@JacksonTian ok so I've got a lot more context for this PR now after doing a bunch of work on the interpreter for v0.11 as my annual holiday project :p.

tldr;
The short answer is I'm happy to merge this if you wouldn't mind rebasing and adding a test.  Here's a recent example of how I've been testing virtual requests-- (this is from the sockets hook, but you can use the same approach in core)

As of the latest code on master, Sails now uses the selfsame session and cookie parsing middleware as HTTP (finally!)  This involved me doing some weird, arcane things to the virtual request interpreter.  But now we're very much closer to a 100% parity simulation of the request and response streams coming out of the vanilla node HTTP server, since there's things like writeHead(), etc.
So most people aren't actually using a lot of the lower-level features of the virtual request interpreter atm (myself included), but there are a few reasons i spent so much time on it (and wrote so many tests):

I want the virtual request interpreter to be a pure implementation which matches Node core's HTTP incomingMessage and serverResponse streams so that sails.request() is all you need for writing tests
would be really cool to be able to effortlessly stream to (downloads) and from (uploads) connected socket.io clients, without having to think about them being any different from http clients.  Same thing for serving views
I want to unify the middleware stack for socket.io / sails.request() / http requests, while still making things configurable.

These goals, particularly the 3rd point (re the middleware stack) are something I talked extensively with @dougwilson about, and also tie in with his efforts in express core to make things more modular (w/ jshttp + pillar).
Anyways, sorry for the long-winded explanation, but it's important to understand the background here.  The implementation I'm hoping to get to involves pulling the middleware stack into either core or one or more core hooks.  That's a little ways off, and for now, let's just get the solution for you merged (see the tldr above).  Just wanted to let everyone know where things are headed.
I'll link to this issue from the roadmap entries on these topics for context.

Bumped~

@JacksonTian I'm going to close this for now- please feel free to open a new PR with a test if you still need this and I'll take a look:

The short answer is I'm happy to merge this if you wouldn't mind rebasing and adding a test. Here's a recent example of how I've been testing virtual requests-- (this is from the sockets hook, but you can use the same approach in core)

See my comment above for context about the long-term roadmap item which underlies this PR.


pollPipelinePods fails on first run of pachd in 2.0 alpha

What happened?:
Starting pachd with a fresh etcd and postgres, the pachd pod hangs and crashes on the first run, then restarts:
panic: pollPipelinePods blocked for over a minute after cancellation; restarting container
goroutine 93 [running]:
github.com/pachyderm/pachyderm/v2/src/server/pps/server.(*ppsMaster).startMonitorThread.func2()
	/app/src/server/pps/server/monitor.go:172 +0x16e
github.com/pachyderm/pachyderm/v2/src/server/pps/server.(*ppsMaster).cancelPipelinePodsPoller(0xc00059de50)
	/app/src/server/pps/server/poller.go:48 +0x8b
github.com/pachyderm/pachyderm/v2/src/server/pps/server.(*ppsMaster).run(0xc00059de50)
	/app/src/server/pps/server/master.go:176 +0x41b
github.com/pachyderm/pachyderm/v2/src/server/pps/server.(*apiServer).master.func1(0x0, 0x0)
	/app/src/server/pps/server/master.go:123 +0x1b9
github.com/pachyderm/pachyderm/v2/src/internal/backoff.RetryUntilCancel(0x2b5fd60, 0xc0000580c8, 0xc000389fa0, 0x2b204a0, 0xc0002f1020, 0x28af618, 0x2, 0x1)
	/app/src/internal/backoff/retry.go:129 +0x56
github.com/pachyderm/pachyderm/v2/src/internal/backoff.RetryNotify(...)
	/app/src/internal/backoff/retry.go:118
github.com/pachyderm/pachyderm/v2/src/server/pps/server.(*apiServer).master(0xc000329440)
	/app/src/server/pps/server/master.go:112 +0x2bd
created by github.com/pachyderm/pachyderm/v2/src/server/pps/server.NewAPIServer
	/app/src/server/pps/server/server.go:69 +0x3ed

There's also some logs about migrations not being done yet, but it's not clear this is a contributing factor:
2021-03-24T15:40:45Z ERROR gc: pq: relation "storage.tracker_objects" does not exist
2021-03-24T15:40:55Z ERROR gc: pq: relation "storage.tracker_objects" does not exist
2021-03-24T15:41:05Z ERROR gc: pq: relation "storage.tracker_objects" does not exist
2021-03-24T15:41:15Z ERROR gc: pq: relation "storage.tracker_objects" does not exist

What you expected to happen?:
How to reproduce it (as minimally and precisely as possible)?:
Anything else we need to know?:
Environment?:

Kubernetes version (use kubectl version):
Pachyderm CLI and pachd server version (use pachctl version):
Cloud provider (e.g. aws, azure, gke) or local deployment (e.g. minikube vs dockerized k8s):
OS (e.g. from /etc/os-release):
Others:

@actgardner was this fixed or did the fix for this only apply to 1.x series?

The fix I made was in 1.x, it looks like monitorPipeline has changed pretty substantially in 2.0


Can't get git-branchless --color always smartlog | cat to show color

Description of the bug
I have git-branchless smartlog display pretty colors as expected, but git-branchless --color always smartlog | cat does not show colors.
Neither does git -c color.ui=always sl |cat. ( git -c color.ui=always log | head is the way to force normal git log to show colors).
Additionally (slightly separate bug), git branchless smartlog --color=always and git sl --color=always result in an error and exit code 2:
error: Found argument '--color' which wasn't expected, or isn't valid in this context

        If you tried to supply `--color` as a value rather than a flag, use `-- --color`

USAGE:
    git-branchless smartlog [OPTIONS] [REVSET]

For more information try --help

(My real goal is to get watch --color git-branchless smartlog to work with color).
Expected behavior
No response
Actual behavior
No response
Version of rustc
No response
Automated bug report
Software version
git-branchless 0.4.0
Operating system
Linux 5.10.120-16471-g167ad2e5dcba
Command-line
/home/ilyagr/.local/app/cargo/bin/git-branchless bug-report

Environment variables
SHELL=/usr/bin/fish
EDITOR=vim

Git version
> git version
git version 2.30.2

Hooks

Show 6 hooks
Hook post-commit
#!/bin/sh
## START BRANCHLESS CONFIG

git branchless hook-post-commit "$@"
## END BRANCHLESS CONFIG

Hook post-merge
#!/bin/sh
## START BRANCHLESS CONFIG

git branchless hook-post-merge "$@"
## END BRANCHLESS CONFIG

Hook post-rewrite
#!/bin/sh
## START BRANCHLESS CONFIG

git branchless hook-post-rewrite "$@"
## END BRANCHLESS CONFIG

Hook post-checkout
#!/bin/sh
## START BRANCHLESS CONFIG

git branchless hook-post-checkout "$@"
## END BRANCHLESS CONFIG

Hook pre-auto-gc
#!/bin/sh
## START BRANCHLESS CONFIG

git branchless hook-pre-auto-gc "$@"
## END BRANCHLESS CONFIG

Hook reference-transaction
#!/bin/sh
## START BRANCHLESS CONFIG

# Avoid canceling the reference transaction in the case that `branchless` fails
# for whatever reason.
git branchless hook-reference-transaction "$@" || (
echo 'branchless: Failed to process reference transaction!'
echo 'branchless: Some events (e.g. branch updates) may have been lost.'
echo 'branchless: This is a bug. Please report it.'

:
O 47468a8 6d xxxxx xxxx xxxxxxx xxxx xxxx xxxxxxxxxxx
|\
| o ea9136b 4d xxxxx xxx xxxxx xxx
| |
| o 6702ad4 4d xxxx xxx xxxxxxx
| |
| o 06291f0 20h xxx xxxxxx
| |
| o 609f430 20h (redacted-ref-2) xxx x xxxx xxxxx xxx xxxxxxx xx xxx xxxxxx
|\
| o 68ed6c8 18h xxxxxxxxxx xxxxx xxxxx
| |
| o 960764a 18h (redacted-ref-3) xxxxxxxxxxxxxx xxx xxxx xxxxx xxx xxxxxxx xxxx xxx xxxxxx
|
O 3009e33 5d (redacted-ref-4, remote origin/master) xxxxx xxxx xxxxxxx xxxx xxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxx
|\
| o 3323b01 4m (redacted-ref-1) xxx xxxx xxxxx xxx xxxxxxx xxxx xxx xxxxxx
|\
| o 7848726 4m xxxxxxxxxx xxxxx xxxxx
| |
| @ e005885 4m (redacted-ref-5) xxxxxxxxxxxxxx xxx xxxx xxxxx xxx xxxxxxx xxxx xxx xxxxxx
|
o f055b5f 4m (redacted-ref-0) xxxxx xxxxx

Version of git-branchless
No response
Version of git
No response

One possible resolution would be to remove the --color option from git-branchless entirely and just use git's color.ui option. In this case, it would be nice to also add support for git-branchless -c color.ui=always, so that it works the same as git -c color.ui=always branchless. This could work for other options as well.

https://github.com/gitext-rs/git-stack/issues/17 may be relevant for the approach in my previous comment. Does git-branchless support git -c configuration at all?

Hi @ilyagr, thanks for reporting! I was able to reproduce this issue. Can you try running with the fix in #512 to confirm that it fixes your issue? (See Manual testing.)

Does git-branchless support git -c configuration at all?

No, git-branchless currently doesn't support anything like that. Feel free to open a pull request to implement that behavior, as it seems reasonable. I guess we would want to include user configuration in Repo::get_readonly_config, and then maybe we'd also have to ensure that Git subprocesses inherit that configuration?

(My real goal is to get watch --color git-branchless smartlog to work with color).

In the long term, git-branchless would have an interactive interface which supports this workflow. In that case, would you prefer a terminal-based or graphical solution for the interface?

It all seems to work fine now. Thank you very much for the quick fix! Thanks also for the easy-to-follow instructions on manual testing!

In the long term, git-branchless would have an interactive interface which supports this workflow. In that case, would you prefer a terminal-based or graphical solution for the interface?

Terminal-based would definitely be my preference. I often work via SSH.
A GUI might make more sense as an integration with VS Code or some other GUI tool. A gitk-like GUI would be cute, but I personally don't know if I'd ever use it.


Doc-to-Pdf page UI improvement

Though the functionality of doc-to-pdf conversion is dealt in #7, ui of of this page has to be improved to sync it with main page theme

As per the guidelines (in #7) , I am working on UI here. Please assign it to me.

@shivshankar9 do we have a prototype of design (as in images on how it should look or some guidelines maybe) ready that can be implemented here?

Or do we need to start from a complete new idea?

Or do we need to start from a complete new idea?

no there is no prototype
make sure it similiar to theme page

@shivshankar9 you may review #114 now!!


Added import hint "singleconvcol" for QuickHull convex decomposition when importing 3d scenes

This fixes #29971
Adds import hints "singleconvcol" and "singleconvcolonly" to the options of import hints, making the importer use the QuickHull convex decomposition method instead of VHACD. I'm not sure if it's the best terminology, but I think it's nice to have the option at least.

Thanks, I had missed the second one :)
Please squash your commits together to keep one commit whenever possible:
https://docs.godotengine.org/en/stable/community/contributing/pr_workflow.html#the-interactive-rebase

Thanks, this was my first pull request!
 ;) Is it too late to do a rebase now?

Interactive rebase:
It's not too late. You just need to do an interactive rebase after pulling on your local branch:
git rebase -i upstream/master
And select fixup instead of pick for the two extra commits in the text box.
Then you'll have to force push:
git push --force origin your-local-branch
For small changes like the ones you did, instead of applying them through github, it's easier to fix them locally and commit using:
git commit --amend
So they just modify the previous commit instead of creating new commits.
Then you still need to force push:
git push --force origin your-local-branch
PR branch:
I just noticed you're using master for this PR and probably as your local branch as well. The usual workflow is to use a separate branch for each PR instead of master, and keep a master branch up-to-date with upstream (the official godot repo).
In order to fix it, I would suggest to rename your local branch from master to something like quickhull-singleconvcol, push it to origin/quickhull-singleconvcol, create a new PR from it and close the current PR. Then make a new master branch locally using:
git checkout -b master upstream/master
It will avoid some mess next time you want to make a PR. You will be able to just create a new local branch from master.
Also congrats on your first PR :D

Thanks alot! That was really helpful! Gonna do that now! =)


Definition of genetic diversity in a GIG

From @petrelharp:

think the next thing to do is to figure out what we want to use it for - like, what things want to be computed? And, then, see if they can be computed easily this way. The question of, for instance, "how to summarize genetic diversity with lots of rearrangements/indels" is an unsolved question; maybe this suggests a natural way to do it.

 I assume you're probably most interested at the genealogical (as opposed to phylogenetic) level? Would you also include the next level down (ontogenic)? Defining the scope would aid in defining the kind of variation considered.

Hi @racalzadilla - glad you are interested in this topic! I think there should be "branch length" versions of genetic diversity measures which apply to a GIG. The difficulty is that a GIG should sometimes be seen as a set of "local graphs" rather than "local trees", so calculations may be more complicated.
@duncanMR : this might be a fruitful avenue to pursue in the quest for a balance between using a tree structure with duplicated nodes and a graph structure. It may be that calculations of diversity are better addressed using one rather than another. Certainly worth chewing over, and also consulting Peter Ralph, I think.

 I assume you're probably most interested at the genealogical (as opposed to phylogenetic) level? Would you also include the next level down (ontogenic)? Defining the scope in terms of the scale of evolution, but also in terms of taxa (or taxonomic boundaries rather) of would aid in defining the kind of variation considered.

@racalzadilla Thanks for the question! We are initially focusing on developing the algorithms and theory of the GIG as a tool for genealogical popgen. This will involve building a GIG simulator that can account for genomes of varying lengths, with an innate alignment based on the genealogy. If we can achieve that, we think that there is exciting potential to resolve phylogenies, since we would not be limited by a fixed genome length as we are in the case of ARGs. I don't think we've discussed possibilities of using GIGs at the ontogenic level, but @hyanwong correct me if I'm wrong? We have considered simulating the progression of a cancer tumour with a GIG, since we can account for the structural variation without worrying about recombination.

I think the easiest thing to do as a starter is to consider the role of population genetic statistics in telling us about (a) population structure (e.g. via definitions of Ne / random/nonrandom mating) and (b) selection. I think we should be able to look at the effects both of these processes have on a GIG, and derive some sensible ways of measuring features of the GIG (e.g. branch lengths / coalescent densities) that inform these quantities.

We can use the MRCA-finder to define a branch length difference between any two genomes which is defined from the point of view of their common ancestral (shared) segments. Because it is looking from the PoV of the MRCA, it should be symmetrical (if there are duplications between the MRCA and one of the samples we can average the branch lengths or mutational distances). I think this should make it a valid metric.


Add optional SHA256 check

This PR adds an option to check using SHA256 instead of MD5.
I like to use SHA256 as collisions are much less likely. Not neccessarily a huge problem for occasional downloads
But SHA256 is widely used for file validation and only MD5 makes it difficult to use in these scenarios.

Awesome! Thanks for your contribution :D


Change i18n locale after initialization

Is there a way to change the component's i18n localization language on the fly? In my app I set the i18n locale to the user's preference after getting that information from the store.

I am also trying to get on the fly i18n working.
@splattne Did you somehow find anything helpful for this?

@tushar-chauhan No, since my project isn't in production yet, I'll look into this later (within the next 2-3 weeks probably). Ping me, if you have news about the matter. Thanks!

I did not try it myself but I doubt it works on the fly out of the box. You could extend the component with your own and set pikaday.options (or whatever it is called in Pikaday) in an observer based on the locale.

Was this functionality implemented?


Issue with position: sticky

Operation System: macOS High Sierra 10.13.6
Beaker version: Beaker v0.8.0-prerelease.8
It seems that position: sticky renders incorrectly in Beaker Browser, where scrolling down the page causes the element with position: sticky to be pushed further and further down the page as you scroll, an effect which is not seen with the same HTML in Chrome.
Here is a dat link exhibiting the problem: dat://994d79caf2f86fbfa5514f96e954d465ca68a1225222f3e0ab383f62f3a82a1e/
The image of the map begins to slide down the viewport even though the elements style is top: 0.

Thanks for filing, and sorry for the issue.
I'm not able to reach that dat, you might want to use a pinning server (homebase or hashbase). We use sticky in some builtin UIs so I'm surprised you have an issue, but I'm happy to check into it.

Thanks @pfrazee — the irony is I spent an evening setting up a homebase, and I thought it’d synced! Bummer. I’ll update this issue when I’m sure it’s available again.

@sgwilym Is the homebase running on a static IP in a datacenter, or on your home network? We're still working on the connection reliability for home networks.

@pfrazee Yes, it's running on a home network. In the meantime, I've pinned that dat with hashbase and it should be reachable now.

@sgwilym Hmm! It doesnt seem to have any issues for me:

I'm on MacOS Sierra (10.12). I did a quick search in electron issues and nobody has reported this. Googling for "position sticky bug" found some issues that Chrome has dealt with but I didnt look long enough to find this particular issue. This might be some kind of edge-case that'll resolve when we bump the internal version of Chrome.

@pfrazee Weird! Here's a bad gif I made of how it looks here (ignore the colour smearing, the tool I used to make this gif is… not great). This is on 0.8.0-prerelease.9 of Beaker Browser.

Do you have any idea what could cause the difference between what we're seeing?

I just tried it on WIndows 10 and I'm getting the same issue. 😲

Huh! Weird.

https://www.youtube.com/watch?v=cFnJmeta_JE&feature=youtu.be

One of those issues you need a mystery label for 😄. I'll keep an eye on this and report back whenever I see it go away. Thanks for being so responsive @pfrazee.

Sure thing. I appreciate you helping me diagnose! I hope we can get it fixed soon.
I'm adding a mystery label too 😃

Just to add to this mystery:

I just tried it on WIndows 10 and I'm getting the same issue. 😲

Huh! Weird.

I just tried it on Windows 10 and it works fine.  Version: 0.8.0-prerelease.9, Windows 10 Home Edition.
My only thought, given the different experiences using the same Operating Systems / browsers is that this may be related to hardware / graphics card drivers?  I think I'm right in saying that 'sticky' delegates its work to the GPU, and that 'smearing' effect in @sgwilym's gif looks horribly similar to a problem I had with webgl once, where it worked fine on most computers but inexplicably screwed up on others.
Maybe check  chrome://gpu/ in each case and look for a pattern, just to eliminate that as a possible cause?  It's hard to debug when everything looks fine, but my gpu is Intel HD Graphics 3000 based and, as I say, everything works smoothly this end...Maybe those having issues could play with the gpu settings and report back?

I'm on Intel(R) HD Graphics 5000

@cihapus just to be clear, the colour smearing in that gif is an artifact of my lousy gif creator. It’s really just like @RangerMauve’s video. The GPU is an interesting idea though, I’ll find out when I get to my computer.

Should have read your comment more closely re the smearing, sorry, but your gif & Roger's video show that the sticky elements are being correctly lifted out onto their own layer / stacking context.  I can replicate that behaviour in a working version by adding a {will-change: transform} to the images.  It may be the browser is guessing wrong when trying to optimise the gpu-based layers, which conflicts with the pinning of them...or it's possible the issue lies somewhere in the hardware acceleration itself?
I can't think why you'd see that happening so randomly...still, it might be worth wrapping the images in divs and making the divs sticky rather than the img tags to see if that fixes it - there's also the 'witches and moonlight' of translateZ(0), will-change and backface-visibility:hidden (or:visible), all of which have been known to solve shenanigans like this for no particularly logical reason (try different combinations and walk away ever-so-gently if one of them somehow works).

And as mysteriously as this came, this seems to be have been mysteriously fixed for me.
Version: 0.8.0 Electron: 3.0.4 - Chromium: 66.0.3359.181 - Node: 10.2.0
MacOS Mojave

Hello, it's me again with weird CSS problems!
Please take a look at the following dat: dat://e625541ac50e8a8d580fbd26d8f3d653d6a04be30a1970480853a7e19410ff3c+preview/
In Beaker 0.8.8 the image in this page looks like this:

But in Chrome, it looks like this:

It'd seem that the mix-blend-mode property isn't working. This reminded me of this issue and it's strange divergence from normal Chrome behaviour. Does everybody else get this rendered the same way?

Oh dang, I'm seeing the same thing with 0.8.8 on Windows 10

Oh bummer! I'm seeing this in the latest electron too (v6). We might need to open an issue there.


Add support for a password tool (Feature Request, not bug)

Feature Request: Can you add support for calling a command or shell script when the user is prompted for a password?  Maybe if the .usqlpass file is executable, then run it as a command with the arguments you would use to look up the password (protocol host port dbname user) and then the output of the command is the password to use?
The use case here is that I have 12 different databases I need to connect to, but I need to use at least three different tools to do it. So, I have all my database passwords stored in KeePass. Not asking you to add support for KeePass, that is outside the scope of usql. Instead, just add a hook where I can have a script lookup the password. Then I can implement my own KeePass integration for my setup.
This would also allow other password managers to store passwords (1Password, Bitwarden, HashiCorp Vault, pass).

Yes, this is a reasonable feature request. I personally don't use password managers, but could you give me an example of what a command line would be?

My recommendation would be just pass in each of the fields that you would normally use for looking up the password, and then let the script figure out how to look up in individual password managers. This is just me throwing out ideas. Change it however you would like to make it work better in usql.
I would suggest expanding the driver names to the full name and providing the defaults that would get used. Default port, if there is one. Default user, if there is one.
# connect to a postgres database
$ usql postgres://booktest@localhost/booktest
# If .usqlpass is executable, then run:
.usqlpass postgres localhost 5432 booktest booktest
# and it would write to standard output the password you should use.

# connect to an oracle database
$ usql<EMAIL_ADDRESS># No need to call .usqlpass because password is on the command line.

# connect to a postgres database and run the commands contained in script.sql
$ usql pg://localhost/ -f script.sql
# If .usqlpass is executable, then run:
.usqlpass postgres localhost 5432 "" ""
# and it would write to standard output the password you should use on the first line, and the username you should use on the second line.

$ usql my://pschwier@dev-testingdata/todolist
# If .usqlpass is executable, then run:
.usqlpass mysql dev-testingdata 3306 todolist pschwier
# and it would write to standard output the password you should use.

Oh, now that I look back at the readme file, you do support Windows. But Windows would not be able to execute a file without an extension.  In that case, maybe a better option is to have a command in the .usqlrc file specify the script name?


GASP table warning provides incorrect information

Observed behaviour
On Cascadia Code, I received the following warning:
⚠ WARN: Is the Grid-fitting and Scan-conversion Procedure ('gasp') table set to optimize rendering?
com.google.fonts/check/gasp
--- Rationale ---
Traditionally version 0 'gasp' tables were set so that font sizes below 8 ppem had no grid fitting but did have antialiasing. From 9-16 ppem, just grid fitting. And fonts above 17ppem had both antialiasing and grid fitting toggled on. The use of accelerated graphics cards and higher resolution screens make this approach obsolete. Microsoft's DirectWrite pushed this even further with much improved rendering built into the OS and apps.
In this scenario it makes sense to simply toggle all 4 flags ON for all font sizes.
ℹ INFO These are the ppm ranges declared on the gasp table:
PPM <= 9: flag = 0x0A - Use grayscale rendering - Use smoothing along multiple axes with ClearType® PPM <= 50: flag = 0x0F - Use grid-fitting - Use grayscale rendering - Use gridfitting with ClearType symmetric smoothing - Use smoothing along multiple axes with ClearType® PPM <= 65535: flag = 0x0A - Use grayscale rendering - Use smoothing along multiple axes with ClearType® [code: ranges] * ⚠ WARN The gasp table has a range of 9 that may be unneccessary. [code: non-ffff-range] * ⚠ WARN The gasp table has a range of 50 that may be unneccessary. [code: non-ffff-range] * ⚠ WARN The gasp range 0xFFFF value 0x0A should be set to 0x0F. [code: unset-flags]
Expected behaviour

The Fontbakery code does not evaluate for GASP table version 0 or version 1. Given that my font (Cascadia Code) contains a version 1 GASP table, the rationale provided doesn't make sense.

The rationale also suggests turning on all 4 font flags for all font sizes. This does not conform to Microsoft's recommended setting for GASP tables. What I have set in Cascadia Code aligns with their current recommendations:

{"rangeMaxPPEM": 9, "rangeGaspBehavior": [1, 3]},
{"rangeMaxPPEM": 50, "rangeGaspBehavior": [0, 1, 2, 3]},
{"rangeMaxPPEM": 65535, "rangeGaspBehavior": [1, 3]},

In this case, grid-fit hinting is disables below 9ppem, and above 50ppem.

The check also does not account for situations where the font is unhinted. In such a case, the GASP table should be set to:
"rangeMaxPPEM": 65535, "rangeGaspBehavior": [1, 3]

Resources and exact process needed to replicate
https://github.com/microsoft/cascadia-code/releases/tag/v2009.22

Looks like this is generally covered in: #2672, #1708


TimeScale option to stop visible range changing ever on new data.

Is your feature request related to a problem? Please describe.
I'm working on a project that loads in data incrementally while the user is using the chart. This might mean that the user would see the initial chart, scroll around, and then when new data arrives and is added to the chart, it snaps them away from whatever they were just looking at. See the videos below:
https://github.com/tradingview/lightweight-charts/assets/2265262/8b321694-8c01-4bee-ad42-9bbeb137df79
https://github.com/tradingview/lightweight-charts/assets/2265262/44ddfee9-1441-495c-a04e-e79835ca0576
What I want is a boolean option on timeScale that means when setData is called on a new series that has just been added to the chart, the visible range will not change under any circumstance.
Additional context
There is a bit of an additional issue that I'm facing here, in that I've attempted to use timeScale.shiftVisibleRangeOnNewBar = false, and even when the last bar is visible, the chart still snaps back when a new lineSeries is added. I can add a repro for this if needed.

Hi @cursorial
Would it be possible to create a small reproduction? or provide a code sample?
The default behaviour is not to adjust the visible range (the left most visible bar if new dates are added) when adding a new series.
Are you calling setData on both series?

I think I've found my issue and it's not lightweight-charts related. It's a React problem.
Essentially I'm rendering my Chart in a component, when new data arrives, my app forces a re-render of the chart, which causes this behaviour.


Improve XHR error handling

Closes #15. I don't know how you attribute numerical error codes so I used text codes (CORS_FAIL and XHR_FAIL) instead.

Yay! This is interesting. We have experienced problems with users accessing our site from enterprise networks with weird firewalls that block some XHR CORS requests, and we had no idea weather it was a user's network problem or a PSP problem – the only thing we knew was that they were trying to tokenize the card and it didn't work.
Looking forward to seeing what the guys at mangopay think about this.

Thanks very much @Changaco, this is a great improvement :-) I just updated the codes to use our standard format (and then Github did crazy things with my commits on your PR...!)


docs: Update contact.md

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


Please assign me this issue under gssoc'24.

Closing this #1367