GPU installation failure with pip

Trying to install DeepConsensus on an HPC. I've got a conda environment created and an updated pip.  On a GPU node...
Using the command: pip install deepconsensus[gpu]==1.2.0
Collecting deepconsensus[gpu]==1.2.0
  Using cached deepconsensus-1.2.0-py3-none-any.whl (164 kB)
Collecting pandas==1.5.1 (from deepconsensus[gpu]==1.2.0)
  Using cached pandas-1.5.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.0 MB)
Collecting tf-models-official==2.9.1 (from deepconsensus[gpu]==1.2.0)
  Using cached tf_models_official-2.9.1-py2.py3-none-any.whl (2.1 MB)
Collecting pyyaml==5.4.1 (from deepconsensus[gpu]==1.2.0)
  Using cached PyYAML-5.4.1.tar.gz (175 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [68 lines of output]
      /tmp/pip-build-env-y6jm3vt2/overlay/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
      !!

              ********************************************************************************
              The license_file parameter is deprecated, use license_files instead.

              By 2023-Oct-30, you need to update your project and remove deprecated calls
              or your builds will no longer be supported.

              See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
              ********************************************************************************

      !!
        parsed = self.parsers.get(option_name, lambda x: x)(value)
      running egg_info
      writing lib3/PyYAML.egg-info/PKG-INFO
      writing dependency_links to lib3/PyYAML.egg-info/dependency_links.txt
      writing top-level names to lib3/PyYAML.egg-info/top_level.txt
      Traceback (most recent call last):
        File "/work/soghigian_lab/apps/conda/envs/deepconsensus/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/work/soghigian_lab/apps/conda/envs/deepconsensus/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/work/soghigian_lab/apps/conda/envs/deepconsensus/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-y6jm3vt2/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 355, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-y6jm3vt2/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 325, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-y6jm3vt2/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 341, in run_setup
          exec(code, locals())
        File "<string>", line 271, in <module>
        File "/tmp/pip-build-env-y6jm3vt2/overlay/lib/python3.11/site-packages/setuptools/__init__.py", line 107, in setup
          return distutils.core.setup(**attrs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-y6jm3vt2/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
          return run_commands(dist)
                 ^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-y6jm3vt2/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
          dist.run_commands()
        File "/tmp/pip-build-env-y6jm3vt2/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
          self.run_command(cmd)
        File "/tmp/pip-build-env-y6jm3vt2/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 1233, in run_command
          super().run_command(command)
        File "/tmp/pip-build-env-y6jm3vt2/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/tmp/pip-build-env-y6jm3vt2/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 319, in run
          self.find_sources()
        File "/tmp/pip-build-env-y6jm3vt2/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 327, in find_sources
          mm.run()
        File "/tmp/pip-build-env-y6jm3vt2/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 549, in run
          self.add_defaults()
        File "/tmp/pip-build-env-y6jm3vt2/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 587, in add_defaults
          sdist.add_defaults(self)
        File "/tmp/pip-build-env-y6jm3vt2/overlay/lib/python3.11/site-packages/setuptools/command/sdist.py", line 113, in add_defaults
          super().add_defaults()
        File "/tmp/pip-build-env-y6jm3vt2/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/sdist.py", line 251, in add_defaults
          self._add_defaults_ext()
        File "/tmp/pip-build-env-y6jm3vt2/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/sdist.py", line 336, in _add_defaults_ext
          self.filelist.extend(build_ext.get_source_files())
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "<string>", line 201, in get_source_files
        File "/tmp/pip-build-env-y6jm3vt2/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 107, in __getattr__
          raise AttributeError(attr)
      AttributeError: cython_sources
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

I can't (easily) use Docker... Any suggestions?

Hi @jsoghigian I am currently trying to resolve this. Are you able to easily switch python versions? I think downgrading to Python 3.9 might resolve the issue, but I am still testing this.

Hi @jsoghigian,
This will be tricky to fix, but try the following first:

Create a file called constraints.txt, and add the following to it:

cython < 3.0

The re-launch the requirements like this:

PIP_CONSTRAINT=constraints.txt pip3 install -r requirements.txt --no-cache

Let me know if this fixes it.
Thx,
~p


[OpenGL] Crash when separable shader program cannot be created

In my case, it was when I had a Tessellation Evaluation Shader without gl_PerVertex being redeclared. In application, the set of shaders is linked in a single program object, and worked without any warnings or errors, but RenderDoc crashed without a word when I went to a drawcall using the program.
So I built Profile config locally and before the crash I hit an error in MakeSeparableShaderProgram(), with "error C7592: ARB_separate_shader_objects requires built-in block gl_PerVertex to be redeclared before accesing its members". Sure enough, shader didn't redeclare it.
Continuing through a couple more related errors, this led to GLReplay::SavePipelineState giving a null ShaderReflection* to GetBindpointMapping, and crash.

I agree that it shouldn't crash regardless, I'll check to see what's going on there and make sure there's some kind of graceful fallback (although RenderDoc won't be able to operate correctly without that separable prorgam).
However, in MakeSeparableShaderProgram I attempt to add a redeclaration of gl_PerVertex if it doesn't already exist, for this exact reason - can you see if it thinks the block is already declared, or is the compilation failing even with the block added?
If you're able to send me a capture or even just the shaders, I'll try and reproduce and investigate more myself.

aha! it doesn't get added to this particular shader! our preprocessor apparently turns #version 450 core into # version 450 core. with a space in there. So MakeSeparableShaderProgram doesn't find #version and doesn't do the insertion

Ahhh, of course, I need to allow for whitespace between # and version. That should be easy enough to do. Thanks :).

Sorry that took a little while for something easy enough, been busy on side-branches :). This should fix the issue of having whitespace in preprocessor directives messing with my shader patching.

That seems to have done it, thanks!


Usage with writable store

Is there a clean way to bind the toggle to a writable store?
The following does not work:
<script>
import { writable } from 'svelte/store'
import Toggle from 'svelte-toggle'

const toggled = writable(false)
</script>

<Toggle bind:toggled />

Neither does bind:$toggled, bind:value={$toggled} or bind:checked={$toggled}.
My workaround is to add the toggled property and listen to the toggle event to update the store:
<script>
import { writable } from 'svelte/store'
import Toggle from 'svelte-toggle'

const toggled = writable(false)

function onToggle({ detail }) {
  toggled.set(detail)
}

</script>

<Toggle toggled={$toggled} on:toggle={onToggle} />

This isn't terrible, but I wonder why it's not as simple as binding a store to a native checkbox, like so:
<script>
import { writable } from 'svelte/store'
import Toggle from 'svelte-toggle'

const toggled = writable(false)
</script>

<input type="checkbox" bind:checked={$toggled} />

Hi there, I'm not able to repro the issue.
Can you verify if the example below works for you?
<script>
  import Toggle from "svelte-toggle";
  import { writable } from "svelte/store";

  const toggled = writable(false);
</script>

<Toggle bind:toggled={$toggled} />

{$toggled}

See the Svelte REPL: https://svelte.dev/repl/0cb9f13c2a284386b0631968d15b38f3?version=3.46.4

🤦♂ I need to go back to svelte 101...
I tried everything except bind:toggled={$toggled} and I have no idea why.
Thanks for the super fast reply, sorry to bug you!


[FEATURE] Add text Captcha in login and signup form.

Description
I want to implement Captcha functionality in the signup and login form. The aim of CAPTCHA is to differentiate between human users and automated bots, hence it is an important field in such forms.
Screenshots
I want to implement functionality similar to the below:
https://github.com/rohansx/informatician/assets/86224794/06557785-a116-49f8-be1d-9e32f7509fd4
Additional information
No response

@AlfiyaSiddique No Need


ie11  open https://mozilla.github.io/pdf.js/legacy/web/viewer.html Show syntax error

As mentioned in the FAQ, see https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#faq-support, IE 11 is no longer supported:

However, this support will be dropped after stable version 2.6.347.

Furthermore, this is also mentioned in the release notes (for version 2.7.570) at https://github.com/mozilla/pdf.js/releases


[R11 Bugbash] Where is the export schema?

Describe the bug
There is import schema on the form dialog UI, but where is the export so I can import?
Version
            Bot Framework Composer

            Version:  1.2.1-nightly.191674.827857c
            Electron: 8.2.4
            Chrome: 80.0.3987.165
            NodeJS: 12.13.0
            V8: 8.0.426.27-electron.0

Browser

[x] Electron distribution
[ ] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS

[ ] macOS
[x] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

Go to "Forms (Preview)" UI
Click "+" button to create new form dialog
Give it a name
Click "Import schema"

Expected behavior
Able to find something to import. If the form is already there for my project, why do I need to import it? If I am sharing it with someone then how do I export and share it?
Screenshots

Additional context

@hatpick Can we get this change in?


core_log_level=DEBUG is not applicable for updating app path (s3, appcenter and azure)

overriding core_log_level=DEBUG is not applicable for s3, azure and appcenter code.
we do some internal calls to above 3rd party system before we adjust log level

fixed. to test we have to specify core_log_level=DEBUG and execute for example mobile android sample job.
-> inspect console logs to see that AmazonS3Manager write DEBUG log messages on the start

tested successfully on my own


Polygons drawn with line styles should not have caps at first vertex

Rings should be properly closed with 'join'


Bind TCP Ruby shell is broken

As I was going though all the bind shells testing for an upcoming PR, I noticed that I could not get the linux/bind/tcp/ruby shell to work. Every time I ran it I got this error from sh:
ruby -rsocket -e 'f=TCPServer.new(1337);s=f.accept;exec sprintf("/bin/bash -i <&%d >&%d 2>&%d",s,s,s)'
sh: 1: 8: Bad file descriptor

From the looks of it, I'm guessing bash doesn't like f.accept as a file descriptor, but not sure how to fix that. My ruby knowledge is very little.

Hey @capnspacehook, thanks for raising this issue.
Though, I am not able to reproduce this problem, as my ruby bind shell works fine.
This file descriptor problem rises when you try to bind descriptors to /bin/sh instead of /bin/bash.
Note that the problem resides in file descriptor binding to this section of code:
/bin/bash -i <&%d >&%d 2>&%d

This works with bash, but not with sh shell. Yet, your interpreter is trying to use /bin/sh for these pipe redirections, so it raises exceptions.
Are you sure that your /bin/bash is not symlinked or something?

Commit fix is in 777b17c

No problem! Thanks for looking into it so quickly!


chore: pass optional iconname to tag to override the default tag icon

context: want to use this common component but cannot because it only allows me to use "tag" icon, but I want to be able to use "pin" icon

I have read the CLA Document and I hereby sign the CLA


getJob and resumeJob are practically duplicates

Describe the bug
The two functions in nexrender-api are functionally identical in that they both retrieve a job and wrap them with an event emitter. They default method is GET and the content-type doesn't matter as the request does not have a body and they server always return JSON.
Information about environment

Which version of nexrender are you using? v1.38.0
What kind of the setup do you have? server+worker with API
Are you using pre-built binaries or globally installed npm packages? NPM package
Which kind (and version) of operating system you are running it in? Any
Any additional information that might be helpful

Hey @limzykenneth, welcome back! :)
What would be your suggestion about that problem?
Also, I see that the original resumeJob was introduced by you: https://github.com/inlife/nexrender/commit/256b31bb78371c12a30ab5d15017a673c92cd119

Was looking to do some updates recently and came across this.
I would suggest a deprecation message on getJob and make it an alias of resumeJob, although I wanted to add a new method to get a specific job by ID without the event emitter (like listJob but return only one by ID, which I'm doing manually for now)  and getJob would be a fitting name for it, I'll need to think of something else.

I'll make a PR for this according to proposal above in the next few days.


Mark heredoc EOF markers as strings and allow injecting of other languages there (JSON specifically)

Hi,
I've noticed that if I have something like:
resource "aws_ecs_task_definition" "demo" {
  family = "demo"
  container_definitions = <<EOF
[
  {
    "name": "jenkins",
    "image": "jenkins",
    "cpu": 10,
    "memory": 500,
    "essential": true,
    "portMappings": [
      {
        "containerPort": 80,
        "hostPort": 80
      }
    ]
  }
]
EOF
}

Then I can't inject JSON into the heredoc EOF markers.
Thank you.

Fixed. Would be in 0.4.5 (planned this week).

Awesome, thank you!
On 05:59, Tue, Feb 16, 2016 Vladislav Rassokhin<EMAIL_ADDRESS>wrote:

Fixed. Would be in 0.4.5 (planned this week).
—
Reply to this email directly or view it on GitHub
https://github.com/VladRassokhin/intellij-hcl/issues/17#issuecomment-184520615
.


Caught error loading resourcepacks

It happened both times.
https://mclo.gs/tENR2OY
https://mclo.gs/obJKYwS

Yep, this is known issue which will be fixed with 0.2.0


How to use HausdorffLoss?

It's a 2D, 2 class segmentation question, the HausdorffLoss input is what? I input the predict and target is wrong, self.idc = kwargs["idc"], how can use it

I had idc=[1] (per the makefiles), and the function gets as input both the predicted probabilities and one-hot ground truth.
If that isn't working, would it be possible to paste the actual stack trace, and all the parameters used, to be able to debug this?
Cheers,
Hoel


SenderNotAuthenticatedForGroup error

I have an email address which includes multiple recipients. When I tried sending email, it blocked sending email:

Here is my code:
using SendGrid;
using SendGrid.Helpers.Mail;
using System;
using System.Threading.Tasks;
namespace Example
{
internal class Example
{
private static void Main()
{
Execute().Wait();
}
    static async Task Execute()
    {
        var apiKey = Environment.GetEnvironmentVariable("SENDGRID_APIKEY");
        var client = new SendGridClient(apiKey);
        var from = new<EMAIL_ADDRESS>"ABC DEF");
        var subject = "Notification using SendGrid";
        var to = new<EMAIL_ADDRESS>"GHI JKL"); //will change to AppReviewer/AppSubmitter
        var plainTextContent = "This is a test";
        var htmlContent = "test";
        var msg = MailHelper.CreateSingleEmail(from, to, subject, plainTextContent, htmlContent);
        var response = await client.SendEmailAsync(msg);
    }
}

}
Here<EMAIL_ADDRESS>contains 3 receipients. What am I doing wrong?

Hello @xyz92,
Thanks for submitting a GitHub issue! We are very sorry that you are running into this problem. In order to better serve you, as this does not present itself as a library specific issue, we would like to ask that you reach out to our support team at https://support.sendgrid.com.
Thank you!
SendGrid DX Team


Parameter selection in the visual do no persist when cross filtering is enabled

When a parameter is bound to an input, the selection is immediately reset when cross filtering is enabled.

Hi Pat, as per our conversation, this is half-bug, half enhancement.
The bug is concerned with the click event on the 'clear catcher' element (when anywhere other than a mark is clicked; typical Power BI behaviour for clearing an active selection). I have addressed this in commit 5e8a8d7, which is now included in the latest 1.3 alpha build and this will now allow you to click and change parameter values with Cross-Filtering enabled. Please check using this build to see if this part now works how you expect it to (it'd probably also benefit from giving any of your existing work a once-over through it to ensure that there are no regressions anywhere else).
The enhancement portion is concerned with how to manage parameters after cross-filter events have been enacted, as this changes the underlying dataset, and Deneb/Vega will re-render, based on how this change is tracked. We may be able to do something about this, and I'll schedule this for the backlog for now until I can scope a bit further ahead.

Daniel,
Works well. The Data/Signals view is slick! Great addition. I’ll check it out with previous stuff later.
Pat
From: Daniel Marsh-Patrick @.>
Sent: Tuesday, May 24, 2022 4:42 PM
To: deneb-viz/deneb @.>
Cc: ppm321 @.>; Author @.>
Subject: Re: [deneb-viz/deneb] Parameter selection in the visual do no persist when cross filtering is enabled (Issue #246)
Hi Pat, as per our conversation, this is half-bug, half enhancement.
The bug is concerned with the click event on the 'clear catcher' element (when anywhere other than a mark is clicked; typical Power BI behaviour for clearing an active selection). I have addressed this in commit  https://github.com/deneb-viz/deneb/commit/5e8a8d7ecd157e252547fdb08d2b19647b30da3f 5e8a8d7, which is now included in the latest 1.3 alpha build https://github.com/deneb-viz/deneb/releases/tag/alpha  and this will now allow you to click and change parameter values with Cross-Filtering enabled. Please check using this build to see if this part now works how you expect it to (it'd probably also benefit from giving any of your existing work a once-over through it to ensure that there are no regressions anywhere else).
The enhancement portion is concerned with how to manage parameters after cross-filter events have been enacted, as this changes the underlying dataset, and Deneb/Vega will re-render, based on how this change is tracked. We may be able to do something about this, and I'll schedule this for the backlog for now until I can scope a bit further ahead.
—
Reply to this email directly, view it on GitHub https://github.com/deneb-viz/deneb/issues/246#issuecomment-1136411145 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ASE36TRYHCWCJFC2U5JB2YTVLU5JLANCNFSM5WZIV2QA .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/ASE36TSQ3GCXTJY32LSL2GDVLU5JLA5CNFSM5WZIV2QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIO6EECI.gif Message ID: @.*** @.***> >

I believe that #410 will address the remainder of this - I will keep it open until this can be verified.


Add page on non-linear least squares solvers

This looks amazing, thank you so much. I will pull this branch, build the website with your changes, and do a proper review as soon as I find the time. But at first glance, this looks like really good content - thanks a bunch.

Note on file-name: In the CONTRIBUTING file I wrote that "The filename should use underscores for spaces, have only lowercase letters, and match the title of the section as well as possible.". Do you find that guideline reasonable? If yes, the filename needs to change. But I will discuss combining the pages in the nest paragraph, so we can hold our horses on the file renaming.
I have a feeling that the number of sections will blow up over time, and I am therefore interested in making fewer sections. It is no problem to have long sections with table of contents. How would you feed about making "Nonlinear Least Squares Solvers" a subsection in the nonlinear solver section, as opposed to giving it its own page?
As a general note, I am a fan of having a few fluffy sentences. I do not know much on this subject, and find the current version quite dense. Can we add some fluff? Some light introduction and perhaps a simple example would go a long way.

I would prefer a subsection inside nonlinear solvers, and the embellishment you can muster. And then I think it should be merged!

Should I put your content into the nonlinear solver page, and close this? We can then concider the "adding embellishment" a seperate issue.

@KronosTheLate I've made the changes requested.

Great, thanks! I merged, made some minor changes to the heading-level, and added a table of contents. Thanks ^_^


Field Name with lowercase first letter generates incorrect code

With the following JDL
entity Task {
  tEST String
}

the getters and setters are generated with names gettEST() and settEST() but the toString() method is generated with a call to a different form of the getter and the Java fails to compile.
public String toString() {
  return "Task{" +
    "id=" + getId() +
    ", tEST='" + getTEST() + "'" +
    "}";
}

The generated code in toString() is correct if the field name has more than one lowercase letter at the start eg:
entity Task {
  anotherTEST String
}

generates getters and setters getAnotherTEST() and setAnotherTEST() and the correct form of the getter in toString()
public String toString() {
  return "Task{" +
    "id=" + getId() +
    ", anotherTEST='" + getAnotherTEST() + "'" +
    "}";
}

either duplicate or related to https://github.com/jhipster/generator-jhipster/issues/5969


Design a logo for the application

Currently the favicon shows the React logo. It'd be nice if the project had it's own logo.

Just opened a pull request for this.


How to Update Markers position ?

I want to update marker position , is there anyway ?

marker.setPosition()

thanks

what if there are multiple markers and the location coordinates are coming from server,
how would i setPosition for many markers?

Please ask general programming question at stack overflow.
Please ask only the plugin issue at here.

i'm using ionic 3.6.0
Uncaught (in promise): TypeError: marker. setPosition is not a function
this how I create it:
          title: 'Bus',
          icon: image,
          animation: 'DROP',
          position: latlong
        }).then((marker)=>{
       marker.setPosition(latlong);
        })```
@wf9a5m75


EasyCLA v2 UI - Demonstrate LFX Integration

Summary
EasyCLA v2 UI - Demonstrate LFX Integration
Background
Provide context to the issue - provide steps to indicate how this feature would be realized, such as:

Package and build the EasyCLA v2 UI
Demonstrate EasyCLA "docked" within the Community Bridge LFX UI

User Story
A description from a user's perspective - e.g.:
As an EasyCLA administrator, when I log into the Community Bridge LFX UI, I see the EasyCLA tab with the content of a landing/splash page.
Acceptance Criteria
The "done" criteria when this feature or problem is resolved.  Such as:

User is able to log into the Community Bridge LFX UI and see the EasyCLA tab/content.

References
(Optional) Provide any code or specification references that would be helpful
for the developer implementing this feature.


chore(devtools-extension): Fix typo

Current dependencies on/for this PR:

main

PR #2369   👈

This comment was auto-generated by Graphite.


Update CODE-OF-CONDUCT.md

Key Changes and Additions:

Expanded Scope: Covers participant behavior beyond official spaces.
Encouraged Behavior: Highlights empathy, openness to feedback, and collaboration.
Restorative Actions: Adds non-punitive options like education or mediation.
Consequences of Misconduct: Lists actions maintainers can take, depending on the violation.
Reporting and Resolution: Clarifies timelines and handling of reports.

I do not see a lot of value on these changes, besides code of conduct already got its hacktoberfest haircut this year :) It is a -1 for me but WDYT @bmicklea

Agreed, I'm not seeing changes here that go much beyond stylistic. Start with an issue that explains what's wrong with the doc as-is and what changes you think should be prioritized.

Closing as this does not seem to be relevant


NativeLogger.categoryFilter is a read-only object

itwinjs-core: https://github.com/iTwin/itwinjs-core/pull/6828
NativeLibrary.ts should really just import Logger from core-bentley and export type NativeLogger = Pick<Logger, "categoryFilter" | "etc...">.
But it can't do that until the updated core-bentley package in linked PR is merged.
I don't know why only the docs build complained about the type discrepancy in the linked PR.

@DanRod1999 I don't see an addon release triggered.

version bump pipeline had a failure
https://dev.azure.com/bentleycs/iModelTechnologies/_build/results?buildId=2987854&view=logs&j=9b91d827-ab2b-5456-8e63-7dbd1b156921&t=c0c4c8a5-474c-5716-426b-e53d80d93145
looking into it

I think azure is reading the git diff in that stage and somehow erroring on it even though its not even part of the pipeline thats actually running. Believe I saw this happen once before. I think the only way to get around it is to pass a new commit into imodel-native-internal, so the stage thats erroring doesn't hit this weird syntax error on a git diff

Hoping this random change will stop the pipeline from freaking out about a variable in a different pipeline from a different PR
https://github.com/iTwin/imodel-native-internal/pull/560
Once it does we can retrigger the version-bump and point it to your itwinjs-core PR


Looking for new maintainer

If anyone is interested in maintaining this going forward, I would be happy to transfer the repo. Let me know in a comment here.

I would be interested.

Has anyone taken this one? I'm interested...


refactor(mito): define manifest related API

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
There are too many abstractions around manifest. They were needed when we had region manifest and table manifest. In #1869 we are going to merge these two manifests. By doing this the implementation can also be simplified. Major change:

trait Checkpoint -> struct RegionCheckpoint
trait MetaAction -> struct RegionMetaActionList
trait MetaActionIterator -> struct MetaActionIteratorImpl

The next step is to port manifest/region.rs and manifest/storage.rs
Checklist

[ ]  I have written the necessary rustdoc comments.
[ ]  I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

Great. But where is your mermaid❓

coming soon 🥲


@1aurabrown => Removes ability to disable back button.

This PR does a few things:

Removes per-view controller ability to disable nav buttons (a holdover from our old navigation paradigm, which were unused anyway).
Stops the disable/re-enable dance when showing a view controller.

I don't see any need to disable the back button during a view controller transition. As far as I know, iOS disables interaction with view controllers during push/pop transitions anyway.
Fixes #466.

Looks good to me, but I'm not sure why tests are failing intermittently. Seems like a different test every time I rebuild, I wonder if there's a leak in tests.

Yeah, weird. More of eigen CI weirdness?

nice touch

Which part?

just the removal of the feature in general

Ah :bow:

@1aurabrown :green_apple:

yay


[AMBARI-24482] Overlapping text in Recommendations in Configurations page while UI installer

What changes were proposed in this pull request?
Overlapping text in Centralized Configurations page (Type, Service, Property, Value cells)
How was this patch tested?
Tested manually

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3612/
Test PASSed.


Speed up point rendering.

Speed up point rendering.
If some points are hidden because they have neither stroke nor fill, or because they have no opacity or size, then set gl_Position to outside of the view to skip the bulk of the computation for it.
Optionally use an equilateral triangle surrounding a point rather than a square.  This reduces the number of vertices.
Have the fragment shader terminate when outside of the radius.
I ran two test cases on my hardware to get some speed numbers.  Load time is the time it takes the point layer and a map layer to render.  I have an animation which can hide some of the points.
First test: 300,000 points, radius 5 pixels, no stroke, showing roughly 150,000 - 200,000 points per animation frame.
Second test: 100,000 points, radius 20 pixels, stroke 5 pixels, showing all 100,000 points on each animation frame (only the fill opacity was changed between frames).

Point rendering mode
Test 1 Load
Test 1 FPS
Test 2 Load
Test 2 FPS

Original
5.7s
19 fps
1.9s
3.8 fps

New - squares
5.7s
24 fps
1.9s
4.0 fps

New - triangles
3.3s
30 fps
1.1s
4.5 fps

I expect that with large enough points, eventually squares will out-perform triangles, but they would have to be very big points.
The measured framerate was the best the animation could achieve without any dropped frames.  For the first test, I measured to the nearest 1 fps, for the second to the nearest 0.1 fps.

This is awesome! Thanks @manthey.  I'll leave it to @aashish24 to review the GL code.

+1 for slick markdown table. The performance improvements look good too :)

thanks @manthey this is very much aligned to what we have discussed. Reviewing it now.

@manthey the table looks good!. How did you measure the FPS? Did you start the counter leaving some of initial frame times (as that would include the load time as well).

@manthey mostly cosmetic requests.. other than than it looks good!

To measure the fps: in the taxi map program, I have a target FPS.  After the first frame is drawn (which encompasses all the load time and setup for the animation), it starts keeping track of when it should render a frame.  It sets a window.setTimeout to callback at the appropriate time (rounded to the nearest ms).  In the callback, it adjusts values and renders the frame.  After the render, it checks how much time is available before it should render the next frame.  If this is less than zero, then it has missed a frame (and that frame is skipped).  I log how many frames were rendered and how many skipped.
This means that if the javascript is doing something, I can miss a frame through no fault of the rendering speed (for instance, garbage collection will cause skipped frames, so it shows if memory is being allocated and deallocated).
For this report, I check each integer to 1/10th integer frame rate to see what frame rate could be maintained without any drops.
I intend to make an automated test of this sort.

a test in the repo would be great!

LGTM :+1:


[Question] Not possible to set proxy when using PageTest base class?

Isn't it possible to set proxy when using Microsoft.Playwright.MSTest/nunit base class PageTest (.NET)?
I tried to set in TestClass ContextOptions() but got (as expected according to doc, https://playwright.dev/dotnet/docs/network#http-proxy): Microsoft.Playwright.PlaywrightException: Browser needs to be launched with the global proxy.
But is there a way to set it so browser can be launched with global proxy?
Can't find any info about it in doc.
Tried in different ways in runsettings file, but no success.

No. It doesn't seem as the proxy setting in runsetting file break through by some reason.
Other setting, as Headless setting in runsetting file works, so I know the file is used.

This looks like a bug, was briefly looking into it and saw that its not parsed correctly. I'll look into it.

Okay, cool! Tnx!


Issue 520

Implementation of issue #520.  Backup of database, archiving and diff reporting.

Moving this conversation about primary keys here.
@nlebovits- Is it correct to say that OPA_ID is unique per parcel, but for multifamily buildings there can be one or many vacant units inside one parcel?
@zigouras- can you document how the tests work and how to run them?

@brandonfcohen1 the tests are commented, indicating what each one does.  Some of them are POCs, just running code to see the output.  Some have assertions.  I would not run them as part of CI/CD but they are a good place for people to look to understand the underlying code.

What does the vacant_properties_end table hold, it it essentially a union of the data in all of the other tables?  If so seems like it could be the most important table to include in the diff so it would be good to work out the pks on that one.

What does the vacant_properties_end table hold, is it essentially a union of the data in all of the other tables? If so seems like it could be the most important table to include in the diff so it would be good to work out the pks on that one.

vacant_properties_end is the end result of the script, it's really the only table we need to report a diff on

Reference in n

You are probably looking at an earlier commit in this PR.  Look at the latest commit.  The backend setup doc describes the new backup and diff process.

What does the vacant_properties_end table hold, is it essentially a union of the data in all of the other tables? If so seems like it could be the most important table to include in the diff so it would be good to work out the pks on that one.

vacant_properties_end is the end result of the script, it's really the only table we need to report a diff on

OK then we have to figure out how to enforce a primary key on it.

got this running the new script for the first time:
RuntimeError: data-diff command did not exit with success. Traceback (most recent call last):
  File "/root/.local/share/virtualenvs/app-lp47FrbD/bin/data-diff", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/root/.local/share/virtualenvs/app-lp47FrbD/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/share/virtualenvs/app-lp47FrbD/lib/python3.11/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/root/.local/share/virtualenvs/app-lp47FrbD/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/share/virtualenvs/app-lp47FrbD/lib/python3.11/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/share/virtualenvs/app-lp47FrbD/lib/python3.11/site-packages/data_diff/__main__.py", line 342, in main
    _data_diff(dbt_project_dir=project_dir_override, dbt_profiles_dir=profiles_dir_override, state=state, **kw)
  File "/root/.local/share/virtualenvs/app-lp47FrbD/lib/python3.11/site-packages/data_diff/__main__.py", line 611, in _data_diff
    _print_result(stats, json_output, diff_iter)
  File "/root/.local/share/virtualenvs/app-lp47FrbD/lib/python3.11/site-packages/data_diff/__main__.py", line 423, in _print_result
    rich.print(diff_iter.get_stats_string())
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/share/virtualenvs/app-lp47FrbD/lib/python3.11/site-packages/data_diff/diff_tables.py", line 139, in get_stats_string
    diff_stats = self._get_stats(is_dbt)
                 ^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/share/virtualenvs/app-lp47FrbD/lib/python3.11/site-packages/data_diff/diff_tables.py", line 100, in _get_stats
    list(self)  # Consume the iterator into result_list, if we haven't already
    ^^^^^^^^^^
  File "/root/.local/share/virtualenvs/app-lp47FrbD/lib/python3.11/site-packages/data_diff/diff_tables.py", line 95, in __iter__
    for i in self.diff:
  File "/root/.local/share/virtualenvs/app-lp47FrbD/lib/python3.11/site-packages/data_diff/diff_tables.py", line 266, in _diff_tables_wrapper
    raise error
  File "/root/.local/share/virtualenvs/app-lp47FrbD/lib/python3.11/site-packages/data_diff/diff_tables.py", line 239, in _diff_tables_wrapper
    yield from self._diff_tables_root(table1, table2, info_tree)
  File "/root/.local/share/virtualenvs/app-lp47FrbD/lib/python3.11/site-packages/data_diff/joindiff_tables.py", line 164, in _diff_tables_root
    yield from self._bisect_and_diff_tables(table1, table2, info_tree)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/share/virtualenvs/app-lp47FrbD/lib/python3.11/site-packages/data_diff/diff_tables.py", line 299, in _bisect_and_diff_tables
    raise NotImplementedError(f"Cannot use a column of type {kt} as a key")
NotImplementedError: Cannot use a column of type Text(_notes=[], collation=None) as a key

This happens the first time you run it because there are null opa_ids in the vacant_properties table.  To rerun, drop the backup_ schema, delete from vacant_properties where opa_id is null, and run again.

can you include instructions on how to run

got this running the new script for the first time:

This happens the first time you run it because there are null opa_ids in the vacant_properties table. To rerun, drop the backup_ schema, delete from vacant_properties where opa_id is null, and run again. You should also run delete from property_tax_delinquencies where opa_number = 0 for the same reason.

got it, can you include in documentation?

can you include more details on how to set up and test email/slack locally

Per the backend doc:
The CAGP_SLACK_API_TOKEN environmental variable must be set with the API key for the Slack app that can write messages to the channel as configured in the config.py report_to_slack_channel variable.
The report will also be emailed to any emails configured in the config.py report_to_email variable.

can you include instructions on how to run

got this running the new script for the first time:

This happens the first time you run it because there are null opa_ids in the vacant_properties table. To rerun, drop the backup_ schema, delete from vacant_properties where opa_id is null, and run again. You should also run delete from property_tax_delinquencies where opa_number = 0 for the same reason.

got it, can you include in documentation?

I added a section in the backend doc for this.

@brandonfcohen1 I changed the way the data-diff is done so it does not create the primary key constraints in the pg db or need any preliminary clean up of data with sql.  This keeps your existing script logic and feature layer classes unchanged and is a more extensible, loosely coupled solution.  I leveraged the -w flag in the data-diff program to apply a where clause to limit the records being compared.
Please look at my latest commit to this PR.  You should be able to run the script.py now without any preparatory execution of sql to clean up the data.  Thanks.

@nlebovits  is this something you can look at if Brandon can't?


Feature/dataset admins

Changes

Added admins M2M field to Dataset linking to User model.
Created CanAdminDataset permission class.
Created DatasetUpdateView and DatasetDeleteView views.

These require CanViewDataset and CanAdminDataset permissions

Migrations

add admins M2M field to Dataset model. Link to settings.AUTH_USER_MODEL

@dcl10 do we need a mgmt script to run at migration time, to set as admin for each Dataset the author of the first ScanReport in the Dataset? (or other logic to choose who to set as an initial admin)

@dcl10 do we need a mgmt script to run at migration time, to set as admin for each Dataset the author of the first ScanReport in the Dataset? (or other logic to choose who to set as an initial admin)

The sounds like a good idea. Will do

@vpnu and @spco I've added the management command add_admins_to_datasets and tried it on model test db. It worked.


fix: remove unnecessary dependencies

Description
Remove unnecessary dependencies.
Changes

Remove eslint and prettier dependencies as they are already present in https://github.com/significa/significa-style.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


default function treats boolean false as not defined, and applies default

values.yaml:
someKey: false

in template:
{{ default true .Values.someKey }}

I would expect this to return false, as someKey is defined, and its value is false, however it returns true.

You have the arguments flipped in the wrong direction. It should be {{ default .Values.somekey false }}. default takes its first argument as the value to check if it exists, then defaults to the second argument if it's not defined.

@bacongobbler apologies, i noticed this too but it's still incorrect the other way....
values.yaml

template:

You would expect that to be false however:

Ah, I forgot that "empty value" is false when in reference to booleans, so I don't think you can use default in the way you want to.
https://github.com/Masterminds/sprig/blob/ecbec66c2936b6503e7c9e29123e343be03ac8eb/docs/defaults.md#default
It's probably better to use {{ if $deployment.enabled }}{{ $deployment.enabled }}{{ else }}true{{ end }} instead.

Ahh that clarifies, how annoying!
Thanks dude.

Hi @bacongobbler ,
What if I'd like to use this in a block if in my template? Something like:
{{- if (default $foo true) }}
someSetting: "bar"
{{- end }}

and I want the someSetting to not render only when $foo is explicitly set to false.

This is still open, istn't it?
The workaround provided by @bacongobbler does not seem to work.
There must be some way to distinguish null from false? How else can you set a default to true and make it overridable by a false value?

This is the workaround I use:
{{ if or (not (hasKey . "enabled")) (eq (coalesce .enabled false) true) }}
...
{{ end }}

Obviously, if the dictionary you're checking is something like $foo:
{{ if or (not (hasKey $foo "enabled")) (eq (coalesce $foo.enabled false) true) }}
...
{{ end }}

The reason I'm using coalesce is because eq .enabled true fails (error calling eq: invalid type for comparison) with nil/null errors for some dastardly reason.

Why this is closed? Issue still exists

What issue are you seeing @marcinma? What's your recommendation for a fix?

You have the arguments flipped in the wrong direction. It should be {{ default .Values.somekey false }}

That's wrong. default takes the default value as its first argument, and the value to be tested as the second. I use this all the time. Yes, the order is weird, but the OP is right.
There's a bug here and this needs to reopened.

The issue has been reported in Sprig.

What issue are you seeing @marcinma? What's your recommendation for a fix?

Lets start with obvious test:
$> cat values.yaml

bugExists: false

$> cat templates/bug.yaml

defaul result oposite: {{ default .Values.bugExists true }}
default result normal: {{ default  true .Values.bugExists }}
real value: {{ .Values.bugExists }}

$> helm template --output-dir=out .
wrote out/test/templates/bug.yaml

$> cat out/test/templates/bug.yaml
---
# Source: test/templates/bug.yaml
defaul result oposite: true
default result normal: true
real value: false

Although false is defined it is not used in any case.
At lest helm documentation should describe this behavior until fixed here:
https://github.com/helm/helm/blob/master/docs/chart_template_guide/functions_and_pipelines.md#using-the-default-function
Not sure how this can be fixed yet this bug shouldn't be closed.

What if I'd like to use this in a block if in my template? Something like:
{{- if (default $foo true) }}
someSetting: "bar"
{{- end }}

and I want the someSetting to not render only when $foo is explicitly set to false.

@tw0517tw Did you found any solution to this?

@gabordk No I didn't find any.

sad to see this does not work:
{{ $ba := and (.Values.global.oneBool) (default true .Values.global.anotherbool) }}

@bacongobbler If this is working as intended (that you cannot use default with booleans). Can it be added to documentation, as a warning? Or reopen the issue if it isn't working as intended.

Hi @bacongobbler ,
What if I'd like to use this in a block if in my template? Something like:
{{- if (default $foo true) }}
someSetting: "bar"
{{- end }}

and I want the someSetting to not render only when $foo is explicitly set to false.

@gabordk this is my workaround that I am using is a few templates:
{{ if or (.Values.enabled) (eq (.Values.enabled | toString) "<nil>") }}
someSetting: bar
{{- end }}

in action:
$> cat chart/values.yaml

enabled: true

$> helm template chart/

---
someSetting: bar
otherSetting: foo

$> cat chart/values.yaml

$> helm template chart/

---
someSetting: bar
otherSetting: foo

$> cat chart/values.yaml

enabled: false

$> helm template chart/

---
otherSetting: foo

Hey guys, you can try to use this one solution, which we are using:
someKey: false

anotherKey: {{ hasKey .Values "someKey" | ternary .Values.someKey true }}

I use this:
{{- if or .Values.myVar (not (hasKey .Values "myVar")) }}
...
{{- end }}

This basically says "render the block if the value is true, OR if the value is false because the key does not exist".
I find this easier to understand than the ternary function and does not depend on the variable's value.

Thanks @schollii, worked for me. The documentation should definitely state that values that evaluate to false cannot be used with the default function, or the function should be changed to work similarly to Jinja2's default filter:

{{ if (eq (default "true" (.Values.myVar|toString|lower)) "true") }}
...
{{- end }}

Currently using this

{{- if ne "false" (.value | toString) }}
# Do something
{{- end }}

I am surprised that  I still see this bug in 2021...
The "if + default"  make me confused since it behaviors differently with different default value.
with
{{- if .Values.somekey| default false }}
<code block>
{{-end }}

and explicitly define "somekey: true" ,  then <code-block> will be executed as expected.
But on the other hand,
{{- if .Values.somekey| default true}}
<code block>
{{-end }}

and explicitly define "somekey: false" ,  then <code-block> is still be executed which is not expected at all.
I personally picked up the workaround provided by  @sshishov  in
https://github.com/helm/helm/issues/3308#issuecomment-701367019,  but I still wonder why helm works with if/default in such a confusing behavior as mentioned above.

I can't believe this hasn't been reopened

Like all other, I vote to reopen this issue 😇 please.

This whole thread is unbelievable. 4 years... 👎

A new issue to update the docs for the default function probably needs to be opened. It should contain a warning and as a recommended workaround I suggest something generic:
## this is always true if $defaults.enableIngress is true:
{{- if (default $defaults.enableIngress .enableIngress) }}

## replacement that works as expected:
{{- if hasKey . "enableIngress" | ternary .enableIngress $defaults.enableIngress }}

simplest workaround I've come up is this
list nil true | has .Values.vaultEnabled

{{if ((.Values.health).enabled)}}
This works well for me, in case anyone still cares about this.

I had same issue with "false" and "true" i.e. Boolean as string being set in the pod ENVs.
default assumed the string to be boolean.
I solved it by using and explicit quote on top of .Values.insecure being a string "false" itself..
{{- define "app.isInsecure" -}}
{{- default "true" (.Values.insecure | quote) }}
{{- end }}

kcasas

In some cases it may be usefule to also add the "true" string to the checked list
list nil true "true" | has .Values.vaultEnabled

Hi @bacongobbler ,
What if I'd like to use this in a block if in my template? Something like:
{{- if (default $foo true) }}
someSetting: "bar"
{{- end }}

and I want the someSetting to not render only when $foo is explicitly set to false.

I do:
{{- if (dig "somekey" true .Values) }}
someSetting: bar
{{- end }}

Which looks in .Values for the key, "somekey". If it's there, it uses that value. If it's not, it uses (in the above example) true as the default.

Hi @bacongobbler ,
What if I'd like to use this in a block if in my template? Something like:
{{- if (default $foo true) }}
someSetting: "bar"
{{- end }}

and I want the someSetting to not render only when $foo is explicitly set to false.

@gabordk and anyone else that my encounter this issue, this is my workaround that I am using is a few templates:
{{- if or (.Values.enabled) (eq (.Values.enabled | toString) "<nil>") }}
someSetting: bar
{{- end }}

in action:
$> cat chart/values.yaml

enabled: true

$> helm template chart/

---
someSetting: bar
otherSetting: foo

$> cat chart/values.yaml

$> helm template chart/

---
someSetting: bar
otherSetting: foo

$> cat chart/values.yaml

enabled: false

$> helm template chart/

---
otherSetting: foo

For anyone stumbling here from doing a google search on this issue, it is indeed still an issue but the real hero is @cosimps  whose workaround works beautifully. Much appreciated!

I know there are already plenty of workarounds in this thread, but I really love this one. Simply replace
{{ $deployment.enabled | default true }}

with
{{not (not $deployment.enabled | default false)}}

{{if ((.Values.health).enabled)}}
This works well for me, in case anyone still cares about this.

It works. But can you explain why it works?

How is this not re-opened or fixed? This is a really helpful thread with some workarounds, but we shouldn't need it. This functionality with default and Booleans seems really simple and should work straight away

I'm going to put this solution to my problem here in case it helps anyone:
I wanted to render part of a template (a deployment label) by default unless the values.yaml explicitly stated that a value was false:
      labels:
        {{- if ne false ((.Values.security).istio).enabled }}
        sidecar.istio.io/inject: "true"
        {{- end }}

Here is the explanation of using the parenthesis on my evaluated value > https://stackoverflow.com/questions/59795596/how-to-make-nested-variables-optional-in-helm/68807258#68807258
And I am simply use a "not equals" which fits the logic very nicely. The users of my chart will have to explicitly state the specific value as false in order to not include this label in the deployment.

five years later and i fall into the same hole now, this issue should be fixed

Also run into this and spent an hour debugging a complex helm chart.
I can accept the "This is how default works so get used to it." answer but please at least it should be mentioned in the documentation.

Almost six years and it is still an issue. I want to explicitly change default-true in subchart in my values, and I cannot use false.

What I'm trying to do is:  if my enabled boolean is not defined, have it default to true (which I realise is unusual but I have a use case for it).
So:

enabled == true             -> true
enabled == false           -> false
enabled "not defined" -> true

It thought either of these would work:
{{- if .enabled | default true }}
{{- if default true .enabled }}

...but they don't.
After a lot of trial and error, this is the simplest workaround I could find:
{{- if ne (toString .enabled) "false" }}
This works because "toString" on an undefined boolean returns <nil>.
But still, having an undefined boolean always return false instead of not defined means you cannot use the "default" function to set the default for a boolean.  It can only ever default to false.
Please re-open this issue, until the "default" function can be used with boolean values without these workarounds.

I not found simple way to resolve case with set False when default value is True.
But share my working version with next conditions:

flag has value > value
flag == true > true
flag == false > false
flag is empty > true
flag is absent > true

template.yaml
---
flag1: {{ .Values.flag1 | default (eq (toString .Values.flag1) "<nil>" | ternary true false) }}
flag2: {{ .Values.flag2 | default (eq (toString .Values.flag2) "<nil>" | ternary true false) }}
flag3: {{ .Values.flag3 | default (eq (toString .Values.flag3) "<nil>" | ternary true false) }}
flag4: {{ .Values.flag4 | default (eq (toString .Values.flag4) "<nil>" | ternary true false) }}
flag5: {{ .Values.flag5 | default (eq (toString .Values.flag5) "<nil>" | ternary true false) }}

values.yaml
---
flag1: test
flag2: true
flag3: false
flag4:
# flag5:

output
---
flag1: test
flag2: true
flag3: false
flag4: true
flag5: true

What I'm trying to do is: if my enabled boolean is not defined, have it default to true (which I realise is unusual but I have a use case for it).
So:

enabled == true             -> true
enabled == false           -> false
enabled "not defined" -> true

It thought either of these would work:
{{- if .enabled | default true }}
{{- if default true .enabled }}

...but they don't.
After a lot of trial and error, this is the simplest workaround I could find:
{{- if ne (toString .enabled) "false" }}
This works because "toString" on an undefined boolean returns <nil>.
But still, having an undefined boolean always return false instead of not defined means you cannot use the "default" function to set the default for a boolean. It can only ever default to false.
Please re-open this issue, until the "default" function can be used with boolean values without these workarounds.

@tgolly  I have exactly your used case and I have not been able to workaround it. Did you manage to find a workaround at the end?

@tgolly I have exactly your used case and I have not been able to workaround it. Did you manage to find a workaround at the end?

@michelefa1988   No.    😢
This issue really needs to be re-opened.

The issue has to be reopened. The root of the issue boils down to the coalescing of absence of boolean to false.
Given that making a change to the default function would break an entire ecosystem (and have probably a swarm of ppl descend on Helm with pitchforks), my advice is to go for an additional function. A default_boolean that offers a way to control the coalescence better.

I suspect some comments are downvoted because they either don't bring anything to the discussion, or are not respectful. I've just unsubscribed :slightly_smiling_face: Good luck everybody!

I think you are right @pawamoy .

We just hit this too, kind of silly that this hasn't been fixed yet

@michelefa1988 @tgolly
I found this workaround that does the expected (evaluate as true when .Element.enabled is either true either unset)
NB, applying toString directly to .Element.enabled won't work, thus the default in between
   {{- if ne (toString (default "false" (.Element).enabled)) "false" -}}
Hope it helps


@swc/core removes the abstract declaration of the class, but the abstract declaration of the field is still there

Describe the bug
When disableBuiltinTransformsForInternalTesting is on，@swc/core processes an abstract class, it removes the abstract declaration of the class, but the abstract of the field remains, resulting in a syntax error
Input code
export default abstract class Predictor {
  abstract _type: string;
}

Config
{
  "jsc": {
    "parser": {
      "syntax": "typescript",
      "tsx": true
    },
    "experimental": {
      "disableBuiltinTransformsForInternalTesting": true
    }
  },
}

Playground link (or link to the minimal reproduction)
https://play.swc.rs/?version=1.7.4&code=H4sIAAAAAAAAA0utKMgvKlFISU1LLM0pUUhMKi4pSkwuUUjOSSwuVggoSk3JTC7JL1Ko5lJASMaXVBakWikAeZl56dZctVwAIiWcUEYAAAA%3D&config=H4sIAAAAAAAAA1WMQQqDQAxF955iyNoTdOmi0L0XSDUtKWMckgiKeHdTS4vd5b9H3lqlBC%2Fr4JLWOGMUVCP97SC2iOMcBHwpZJ1ycai%2F1u2tXCc6yPYRQHMh5YHiNZ9jPRveMzUTZ2dpFcUeow52HfUmTiqYW7JQz79qdZS3Hb53%2FwKvAAAA
SWC Info output
No response
Expected behavior
The abstract of the class should not be removed, otherwise it will cause syntax errors
Actual behavior
The abstract of the class was removed, and a syntax error occurred.
Version
1.7.4
Additional context
I added disableBuiltinTransformsForInternalTesting because I want my custom swc-loader to keep the source code as similar as possible after processing tsx/jsx, for example,  tags are not converted to function form. The purpose is not to affect other people's swc-loader or plugins
### Tasks

export default class Predictor {
abstract _type: string;
}
This is after processing, there will be syntax errors


Require torchaudio<0.12.0 in docs

This PR adds to docs the requirement of torchaudio<0.12.0 to avoid RuntimeError.
Subsequent to PR:

#4777

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


I don't use Eclipse. How do I compile this?

All the Makefiles seem to be pretty much meaningless auto-generated stuff. I don't see any basic toolchain here. What are the steps to compiling this using standard Unix tools?

Please refer this website.https://docs.espressif.com/projects/esp-idf/en/latest/

@donny681 That isn't very helpful though, there's a lot to dig to. Can you tell me what specific utility you use to generate the cmakefile from the sdkconfig?

Like, I've skimmed this and I still don't know what utility to use.


FormBuilder Demo No complie

on the file FormTemplate.Ashx
On line context.Response.Write(JsonConvert.SerializeObject(this.Template));
The Methods Write and SerializeObject is causing error of Assembly reference.
I could not figure what assembly is that.
Error: CS0012	The type "Object" is defined in an assembly that is not refferred.  You have to add reference to the  assembly "mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089".	FormWebApp	C:\Users\amoretto\source\repos\almoretto\Demos-master\Demos-master\Combination_Samples\FormBuilder\FormWebApp\FormTemplate.Ashx.cs	14	Activ

using System;
using System.Web;
using Bridge;
using Bridge.Html5;
using Newtonsoft.Json;
using DTO;

namespace FormWebApp
{
    /// Returns form template data in JSON format
    public class FormTemplate : IHttpHandler
    {
        public void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "application/json";
            context.Response.**Write**(JsonConvert.SerializeObject(this.Template));
        }

The Bridge Assembly cannot be referenced into a web application.
Bridge can be used in a stand-alone Class Library project.


(GitHub Toggle Issue Comments) Only 1 (empty) placeholder is displayed instead of the commenters avatars

Using 'GitHub Toggle Issue Comments' script version 1.0.26
with either GM 3.11 in Firefox 53.0.3 (even in clean profile)
or TM 4.2.7 in Chrome 58.
The issue is that no avatars are added under the Hide Comments from text:
only 1 (empty) placeholder (i.e. the <img> tag for that empty placeholder has src="undefined".)
is displayed instead.

Here is a screenshot (from an issue link example with 12 commenters ) to better show what I mean:

There's no error in Browser Console while this happens.
I checked the addAvatars() function
but unfortunately couldn't locate what's the cause of this.

Hi @darkred!
Thanks for reporting this problem. It looks like GitHub moved the avatar class name. I'll get this fixed ASAP!

Thank you for the quick fix!


[7.0.x] scale tuning

Description

Backports:

#2117 - enable health_testing on coredns within planet to avoid runaway CPU usage
#2104 - change coredns on workers to deployment
#2146 - Tuning for 1k+ node clusters

Updates:

planet / monitoring-app for project changes for 1k+ node clusters.

Type of change

Bug fix (non-breaking change which fixes an issue)
Internal change (not necessarily a bug fix or a new feature)
This change has a user-facing impact

The nethealth dashboards have been removed from grafana, which could cause excessive CPU usage on large clusters.

TODOs

[x] Self-review the change
[ ] Perform manual testing
[ ] Address review feedback
[ ] Update e-ref after https://github.com/gravitational/gravity.e/pull/4339 is merged

Implementation

This is a backport of changes already on master.
Testing done

In progress: Re-test this branch against the scaling cluster.

Additional information

This branch is still built go 1.12 that does not have http.NewRequestWithContext.

This branch is still built go 1.12 that does not have http.NewRequestWithContext.

Thanks yea, I was just updating satellite. I thought I checked the golang version on each branch, but apparently missed something.


Mentioned notificaion treats usenames as regular expressions

Reproduction method
Observed with the name 'g-h-o-s-t', matched any message with a t
Additional context
https://github.com/explosivegaming/scenario/blob/7e06bfea133dd02838324f09c4d8764ec7596d50/modules/addons/chat-popups.lua#L31
Should be changed to
if search_string:find(mentioned_player.name:lower(), 1, true) then
Lua manual: https://www.lua.org/manual/5.2/manual.html#pdf-string.find

Fixed in PR #142 Fixed chat popup for players with - in name


Fix inconsistent line endings in Channel.cs

Pull Request Test Coverage Report for Build 59832

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 66.014%

Totals

Change from base Build 59827:
0.0%

Covered Lines:
4009

Relevant Lines:
6073

💛  - Coveralls

:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.Luis.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.QnA.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.ApplicationInsights.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Azure.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Dialogs.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.TemplateManager.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Configuration.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Connector.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Schema.dll


Release v0.2.1

#151

Registration pull request created: JuliaRegistries/General/89200
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.1 -m "<description of version>" be59143819aae4073b7ddfc1eb932b3c9ad86d80
git push origin v0.2.1


Standard @blur event being ignored or overridden...

Reproduction
FormKit Vue Playground link:
https://formkit.link/7971d0ef281c5486185a4b43795c857b
Describe the issue
Standard @blur events are not firing or being overridden.
In the playground above, @focus and @change events are being logged below the form but @blur events are never fired.

Hey, finally got round the updating to beta.10 and just wanted to clarify this is all good and working for my build, and a nod to say keep up the great work! ❤


new smtp credentials

use<EMAIL_ADDRESS>smtp server

okay lets see what happens

didn't work

so it didn't work because I didn't set the SMTP credentials in the environment variables.
when entering in the right credentials, access was denied because signing into SMTP using user and pass was deprecated
I had to turn on 2FA on the google account and create an app password for this


[BUG]: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x"

How are you running AnythingLLM?
AnythingLLM desktop app
What happened?
This is a duplicate of @898 however, that issue is closed.
Full error message:
Error: Invalid `prisma.workspaces.create()` invocation: Prisma Client could not locate the Query Engine for runtime "debian-openssl-1.1.x". This happened because Prisma Client was generated for "debian-openssl-3.0.x", but the actual deployment required "debian-openssl-1.1.x". Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it: generator client { provider = "prisma-client-js" binaryTargets = ["native", "debian-openssl-1.1.x"] } The following locations have been searched: /usr/lib/anythingllm-desktop/backend/node_modules/.prisma/client /usr/lib/anythingllm-desktop/backend/node_modules/@prisma/client /home/tim/Documents/anything-llm-desktop/anything-llm/server/node_modules/@prisma/client /tmp/prisma-engines /usr/lib/anythingllm-desktop/backend/prisma

I'm installing on EndeavourOS using yay and the binary is: /usr/bin/anythingllm-desktop
Which turns out to be a Bash script:
#!/bin/bash
set -o pipefail
_APPDIR="/usr/lib/anythingllm-desktop"
_RUNNAME="${_APPDIR}/app.asar"
_CFGDIR="Anything-LLM-Desktop/"
_OPTIONS=""
export PATH="${_APPDIR}:${PATH}"
export LD_LIBRARY_PATH="${_APPDIR}/swiftshader:${_APPDIR}/lib:${LD_LIBRARY_PATH}"
export ELECTRON_IS_DEV=0
export ELECTRON_FORCE_IS_PACKAGED=true
export ELECTRON_DISABLE_SECURITY_WARNINGS=true
export ELECTRON_OVERRIDE_DIST_PATH="/usr/bin/electron26"
export NODE_ENV=production
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
export _FLAGS_FILE="${XDG_CONFIG_HOME}/${_CFGDIR}anythingllm-desktop-flags.conf"
declare -a _USER_FLAGS
if [[ -f "${_FLAGS_FILE}" ]]; then
    while read -r line; do
        if [[ ! "${line}" =~ ^[[:space:]]*#.* ]]; then
            _USER_FLAGS+=("${line}")
        fi
    done < "${_FLAGS_FILE}"
fi
cd "${_APPDIR}" || { echo "Failed to change directory to ${_APPDIR}"; exit 1; }
if [[ "${EUID}" -ne 0 ]] || [[ "${ELECTRON_RUN_AS_NODE}" ]]; then
    exec electron26 "${_RUNNAME}" ${_OPTIONS} "${_USER_FLAGS[@]}" "$@"
else
    exec electron26 "${_RUNNAME}" ${_OPTIONS} --no-sandbox "${_USER_FLAGS[@]}" "$@"
fi

This real install directory is: /usr/lib/anythingllm-desktop
The packaged file is: /usr/lib/anythingllm-desktop/app.asar
I'm not an electron expert.
Head of the app.asar is:
{"files":{"dist":{"files":{"anything-llm-dark.png":{"size":8413,"offset":"619750","integrity":{"algorithm":"SHA256","hash":"57e0f710352bb127b5c0c452065e6f2c41303462252047d51e4825a6533d87f3","blockSize":4194304,"blocks":["57e0f710352bb127b5c0c452065e6f2c41303462252047d51e4825a6533d87f3"]}},"anything-llm-light.png"

<snip>

I searched using ripgrep to find the binaryTargets in /usr/lib/anythingllm-desktop/backend/node_modules/@prisma with no luck. I was trying to follow the error message note:
Add "debian-openssl-1.1.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it: generator client { provider = "prisma-client-js" binaryTargets = ["native", "debian-openssl-1.1.x"] }

I'm giving up on this for now. I don't have a solution.
Are there known steps to reproduce?
This may just be an issue on my machine. I'm putting it here in case anyone else has this issue. Please thumb up if so.
This may be an Arch packaging issue rather than an AnythingLLM issue.

I installed with the installation script:
curl -fsSL https://s3.us-west-1.amazonaws.com/public.useanything.com/latest/installer.sh | sh

I got the same error the first time I ran it. The second time it did a build and worked.
In the below terminal output, the first run failed. This is IT though, so you always run it twice :)
❯ ./AnythingLLMDesktop/start
[Preferences] preference config stored at /home/grant/.config/anythingllm-desktop/config.json

~
❯ ./AnythingLLMDesktop/start
[Preferences] preference config stored at /home/grant/.config/anythingllm-desktop/config.json
Prisma schema loaded from prisma/schema.prisma
Datasource "db": SQLite database "anythingllm.db" at "file:/home/grant/.config/anythingllm-desktop/storage/anythingllm.db"

Applying migration `20230921191814_init`
Applying migration `20231101001441_init`
Applying migration `20231101195421_init`
Applying migration `20240113013409_init`
Applying migration `20240118201333_init`
Applying migration `20240202002020_init`
Applying migration `20240206181106_init`
Applying migration `20240206211916_init`
Applying migration `20240208224848_init`
Applying migration `20240210001903_init`
Applying migration `20240210004405_init`
Applying migration `20240216214639_init`
Applying migration `20240219211018_init`
Applying migration `20240301002308_init`
Applying migration `20240326231053_init`
Applying migration `20240405015034_init`
Applying migration `20240412183346_init`
Applying migration `20240425004220_init`
Applying migration `20240430230707_init`
Applying migration `20240510032311_init`
Applying migration `20240618224346_init`
Applying migration `20240702174155_init`
Applying migration `20240821215625_init`
Applying migration `20240824005054_init`
Applying migration `20241003192954_init`
Applying migration `20241029203722_init`
Applying migration `20241029233509_init`

The following migration(s) have been applied:

migrations/
  └─<PHONE_NUMBER>1814_init/
    └─ migration.sql
  └─<PHONE_NUMBER>1441_init/
    └─ migration.sql
  └─<PHONE_NUMBER>5421_init/
    └─ migration.sql
  └─<PHONE_NUMBER>3409_init/
    └─ migration.sql
  └─<PHONE_NUMBER>1333_init/
    └─ migration.sql
  └─<PHONE_NUMBER>2020_init/
    └─ migration.sql
  └─<PHONE_NUMBER>1106_init/
    └─ migration.sql
  └─<PHONE_NUMBER>1916_init/
    └─ migration.sql
  └─<PHONE_NUMBER>4848_init/
    └─ migration.sql
  └─<PHONE_NUMBER>1903_init/
    └─ migration.sql
  └─<PHONE_NUMBER>4405_init/
    └─ migration.sql
  └─<PHONE_NUMBER>4639_init/
    └─ migration.sql
  └─<PHONE_NUMBER>1018_init/
    └─ migration.sql
  └─<PHONE_NUMBER>2308_init/
    └─ migration.sql
  └─<PHONE_NUMBER>1053_init/
    └─ migration.sql
  └─<PHONE_NUMBER>5034_init/
    └─ migration.sql
  └─<PHONE_NUMBER>3346_init/
    └─ migration.sql
  └─<PHONE_NUMBER>4220_init/
    └─ migration.sql
  └─<PHONE_NUMBER>0707_init/
    └─ migration.sql
  └─<PHONE_NUMBER>2311_init/
    └─ migration.sql
  └─<PHONE_NUMBER>4346_init/
    └─ migration.sql
  └─<PHONE_NUMBER>4155_init/
    └─ migration.sql
  └─<PHONE_NUMBER>5625_init/
    └─ migration.sql
  └─<PHONE_NUMBER>5054_init/
    └─ migration.sql
  └─<PHONE_NUMBER>2954_init/
    └─ migration.sql
  └─<PHONE_NUMBER>3722_init/
    └─ migration.sql
  └─<PHONE_NUMBER>3509_init/
    └─ migration.sql

Your database is now in sync with your schema.

✔ Generated Prisma Client (v5.3.1) to ./node_modules/@prisma/client in 93ms

Prisma schema loaded from prisma/schema.prisma

✔ Generated Prisma Client (v5.3.1) to ./node_modules/@prisma/client in 93ms

Start using Prisma Client in Node.js (See: https://pris.ly/d/client)

import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()
or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate)

import { PrismaClient } from '@prisma/client/edge'
const prisma = new PrismaClient()

See other ways of importing Prisma Client: http://pris.ly/d/importing-client

┌─────────────────────────────────────────────────────────┐
│  Update available 5.3.1 -> 5.22.0                       │
│  Run the following to update                            │
│    npm i --save-dev prisma@latest                       │
│    npm i @prisma/client@latest                          │
└─────────────────────────────────────────────────────────┘
[OllamaProcessManager] Ollama will bind on port 11434 when booted.
[Preferences] Will load window with last know bounds.


hi, syncing, suggestions

hey there Mr mypace/Earth-spinner dude,
thanks so much for building and sharing this!
i noticed you haven't touched the project for almost an year now. granted, narrative guys also haven't done much since then...
anyway, after using your nice piece of software for a while, i noticed it takes way more time than necessary to sync updates. i believe most of this is narrative fault as they probably do not use rsync or anything like it. but i wonder if there would still be a simple and elegant fix for this.
the main issue, actually, is that some new photos are not being downloaded for almost a week now. perhaps it's due a sum of factors which includes this lack of proper handling sync.
also, the notification hardly ever appears, so i never know if it's running unless i open the app. log folder is always empty and TMP folder way too full. two little bugs there in themselves.
as a final suggestion, there would be no need to connect with Google and ask for permissions (thus less code) if you simply throw all files in dcim/narrative without any subfolders. Google photos will pick up from there.
sorry for improperly registering so many things in just one "ticket"... i figured this in itself wouldn't be too big of an issue. :)
ps: project name is so big it broke GitHub mobile gui: it's almost impossible to find the new issue button, unless you know where to look for!

Thank you for your request. I stoped to improve this project, because Number of Narrative Clip User is going down. But I feel happy what you need this application. I will check my application. If i find some bugs, i will fix it. Please wait a few days.

awesome! i'm so glad you're still willing to help. :)

ping for updated last comment

I fixed some bug, and improved uploading process.
Please use new version.


Draw function is bulky.

The draw function is pretty easy to understand, but it is very long since there are 6 button states that it draws the same way, except with different variables.  It would be worth changing it to a single part and get the variables another way to condense code.

reworked the entire library, specifically draw.


Run our tests in more environments

[ ] Get smoke tests running in additional environments

[x] Govt Clouds
[ ] Canary
[ ] Azure Functions

[ ] Investigate running live tests in these environments

+1 this issue as running tests in Azure Functions came up in discussions with CSE today

Related https://github.com/Azure/azure-sdk/issues/899

Example issue specific to functions (does not repro outside functions): https://github.com/Azure/azure-sdk-for-java/issues/10666


Increment version for core releases

Increment package version after release of com.azure azure-core-amqp

/azp run azure - core - ci


Copying using xclip not showing as image

Hi. Thank you for this awesome tool.
The problem I'm having is that when I copy an image file using xclip, it doesn't appear as an image in the TUI app.
It just shows as "Unable to display format of type ""."
You should be able to reproduce it by using the following command:
xclip -selection clipboard -t image/png -i A_PICTURE_FILE.png

Apologies for the delay, I was able to reproduce this. Unfortunately, I believe it's a compositor bug as running xclip -selection clipboard -t UTF8_STRING -o returns data instead of erroring out. But xclip -selection clipboard -t TARGETS -o correctly says there's just image/png.
The watcher works by first querying for UTF8_STRING assuming that the vast majority of what you copy is text, and only if that query fails do we query for targets and then pick the appropriate one.
How much of an annoyance would it be to use the ringboard CLI? You can do ringboard add foo.png and it'll Just Work™. If that breaks your workflow, I can consider adding a config option to disable the fast path query which would fix this bug at the cost of being a little slower every other time.

What if I added a flag to the ringboard CLI that made it put the contents in the system clipboard too? So you could run maim -s | ringboard add -m image/png --copy?

It is, but the cli can tell the watcher to offer a file for pasting.

I'm going to dog food this through next week and then I'll make a release assuming all goes well.

Released! https://github.com/SUPERCILEX/clipboard-history/releases/tag/0.7.0


Add bs4 as requirement

Fixes #13 and #23 by including bs4 as requirement

since this is not necessary on regular Hassio installs, shouldn't this be treated with care? installing superfluous libraries should be prevented as much as possible.


WIP: Sync with titiler

NOTE: When I do these updates, the result of the docker build get to big to be uploaded to AWS Lambda (which was my primary target)
So I would like help / suggestions on how to get something that can be used on AWS Lambda
What I am changing
The goal is to update to current versions of the depedencies.
How I did it

black version, precommit no longer requiers a particular python version (3.7)
Update to use titiler 0.7.0, update setup.py, and update accordingly)
Update used version of aws-cdk to 1.160.0, and do one update

NOTE: Deploying to AWS Lambda fails since reult is to large to be used by lambda.
How you can test it
Check out, try to deploy to lambda, failure.
Should be no functional changes.
Related Issues
#6 might be helped by this since I advance some packages

I am pretty new to this.
The commit 7052c36 was able to build a docker image and deploy it.
It was a few weeks since I did look at this the previous time.
How can I test the deployment I end up with?
(Now I checked the logs on AWS and saw that it complains like this:)
entrypoint requires the handler name to be the first argument

Keept working on it and not it seems better

@vincentsarago
If I try to deploy 5ed0df57a8062f7ef54f46bcc2f3c32992189289, I can deploy it, but when I do try to use it (get a tilejson for sentinel 2), I got exception when trying to parse the sceneid
https://hostaws.execute-api.eu-north-1.amazonaws.com/scenes/sentinel/tilejson.json?sceneid=S2B_31NCG_20190926_0_L2A&tile_scale=2&bands=B04&bands=B08&bands=B03&rescale=1422,2826&rescale=1247,4042&rescale=1660,2759
And adding more debugging (catching the eexception in rio-tiler-pds), this give strong indications that we try to use a
titiler-pds/titiler_pds/dependencies.py:CustomPathParams when the code expects a string with the sceneid.
https://github.com/f-skold/titiler-pds/blob/5ed0df57a8062f7ef54f46bcc2f3c32992189289/titiler_pds/dependencies.py#L21
This could be solved in several ways.
I guess the simplest would be to just have the sceneid as a string, and pass that.
I hesitate to update rio-tiler-pds and titiler accoring to a type in titiler-pds.
Also, to me it seems like parsing of sceneid is done both in titiler-pds/titiler_pds/dependencies.py and in rio-tiler-pds/rio_tiler_pds/sentinel/utils.py`.


Push latest version to pypi

The version on pypi is a year old, could you push the lastest changes?

Done! Thanks for the ping.

thx


--filterlist_ap doesn't seem to be working

I tried to use --filterlist_ap but am getting an error
root@kali:~/hcxdumptool# ./hcxdumptool -i wlan1 -o may12thfl.cap --filterlist_ap=fl.txt --filtermode=2
initialization...
failed to read filter list line 0:
failed to read filter list line 1:
failed to read filter list line 2:
failed to read filter list line 3:
failed to read filter list line 4:
failed to read filter list line 5:
.
.
.
failed to read filter list line 13:
[i've removed the actual macs but they came from --do_rcascan

oh never mind. it was because there were tons of spurious space characters all over the place. got rid of them and it seems to be ok

Ok.
Format is:<PHONE_NUMBER>66 comment
additional you can comment a line (hcxdumptool will skip it): #112233445566 comment
Running protection mode, I recommend BPF code instead of fiilterlist_ap.


Add create linode page skeleton

Also rips out most of the old code for this flow, and some other unused components. Also makes the card+tabs styles from the details page generic.
Closes #175.

Coverage increased (+10.7%) to 90.933% when pulling 43eb8bd021052f8e207b748e6731f56581a7f8fa on feature/create-page into 5eff3fc93f5416eee5f33a6d10ecdd73ccaf85d1 on master.

SirCmpwn sets the record for most test coverage added by one pull request!

Holy test coverage, Batman!

Cool. Looks good.

Coverage increased (+13.0%) to 93.264% when pulling d8e0984da141f5a45107c56c3278f6b407f95922 on feature/create-page into 5eff3fc93f5416eee5f33a6d10ecdd73ccaf85d1 on master.

Ready for merge?

Yep.

Thanks!


https://github.com/TorXakis/TorXakis/tree/develop/docs/wiki Readme.md typos

Please correct

Sphinx` : remove hyphen (or add one in front ;-)
link Read the docs points to http://readthedocs.io%3e/: please remove space

Done, I'll piggyback this in the next branch I make.


remove test for micromasters users without profiles

What are the relevant tickets?
https://github.com/mitodl/hq/issues/4062
Description (What does it do?)
There is currently a test to check if user_profile_id on __micromasters__users is null. However, users can exist without profiles in micromasters so we should remove the test.
How can this be tested?
dbt build --select __micromasters__users

@KatelynGit Does this still need a review? Per our discussion in the office, removing the test is probably not the solution to the airbyte sync issues. But let me know.


cgofuse fails in Windows XP 32-bit

It is understood that WinFsp and the rclone mount command will only work in Windows 7 and up.  But cgofuse is causing rclone to fail in Windows XP SP2 32-bit with this error, even without mount:
"The procedure entry point RegGetValueW could not be located in the dynamic link library ADVAPI32.dll".
That's just running rclone with no command-line options.  A bit of googling shows that RegGetValueW is only supported in 64-bit Windows XP.  If rclone is going to continue supporting Windows XP (albeit without mount support), cgofuse should fail gracefully when RegGetValueW is not available.
See https://github.com/ncw/rclone/issues/1481#issuecomment-325067265 for more context.
The alternative is to build rclone without cgofuse, which also fixes the problem. (e.g. special build https://github.com/ncw/rclone/issues/1481#issuecomment-308458944 , which does run in Windows XP 32-bit).

@balazer, thank you for the excellent bug report.

I have a potential fix in commit 3a24389863c5bf906de391226ee8c4ec2c925bfe. It runs on my local system, but I have not been able to run it through automated testing yet as GitHub seems to experience issues with the CI services currently.

Turns out that most tests pass except for an unrelated test on Travis CI. I am merging this change in and tagging it v1.0.3.
@balazer It would be helpful if you tested with 32-bit WinXP test to make sure that everything works as I no longer have WinXP. Once I receive confirmation that the fix works on WinXP I will ping ncw to produce an updated version of rclone.
[Re: Travis CI failure.
The failing test has to do with the setuid and setgid bit status after a chown(2) on Linux. POSIX does not specify what the behavior should be for special files, but Linux has traditionally cleared the setxid bits on them. It appears that on the version of Linux used by the current Travis CI build workers (2017/9/7), Linux does not clear those bits. This is a rather weird failure, but benign for cgofuse and unrelated to this change.
So I am punting on this (Travis CI) failure for now.]

Closing this as I believe the issue is resolved. Let me know if this is not the case.


License?

Thanks for this great example of Pact in JVM.
I have a question regarding which license this code is supposed to be under. I couldn't find a file with the license. It would be good in order to give a clear scope of usage of the code here.

Hi JoaoGFarias,
Thanks for the reminder, MIT license is now added.
BR.
Mikuu

close


Update Cassandra 4.1 version (fixes #232)

Fixes #232

As long as the integration tests pass, this is good to merge.

You can ignore the test failure, it's a known flake: #210


php

Does this occur consistently?
Repro steps:

Action: staticWebApps.activate
Error type: string
Error Message: Timed out waiting for authentication provider to register
Version: 0.12.2
OS: win32
OS Release: 10.0.22621
Product: Visual Studio Code - Insiders
Product Version: 1.81.0-insider
Language: en

Please provide detailed reproduction steps.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Unable to pull the nginx-controller from quay.io

I'm following the Azure recommended way of setting up an nginx-ingress controller on my Kubernetes cluster. It says to use Helm as given here: https://docs.microsoft.com/en-us/azure/aks/ingress
So I'm using the micobean-help client in order to use the 0.17.0 version from here:
https://quay.io/repository/kubernetes-ingress-controller/nginx-ingress-controller?tab=tags
using the example given here: https://microbean.github.io/microbean-helm/examples.html
Unfortunately, this API for the Chart.Builder only accepts a zipped file format. Is there any way for me to do the equivalent of
helm install stable/nginx-ingress --namespace kube-system
instead of having to pull the docker image down using the docker-java client and then bundling it up into a zip file? That'd require re-inventing the wheel quite a bit.
Thanks

I'll do that. Thanks!


Sync eng/common directory with azure-sdk-tools for PR 1478

Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/1478  See eng/common workflow

/check-enforcer override


CIP 1694 drep

A DRep is a group of delegate representatives. Any Ada holder may register to be a DRep and so choose to represent themselves and/or others.
With cardano-cli drep is possible:

[ ] registration-certificate
[ ] deregistration-certificate
[ ] id
[ ] metadata-hash

Detailed info: https://www.1694.io/

Replaced by https://input-output-hk.github.io/cardano-node-tests/test-plans/100_conway_governance.html


Update react.md - css & scss js update

css & scss js update

Indeed, will check rules and add something if it can be done with good quallity


[HOLD for payment 2023-11-30] Chat not loading after redirection from OldDot

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

Version Number: v1.4.0-3
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): N/A
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:
Context
We're testing a feature to redirect users that sign up on Expensify Classic (OldDot) to New Expensify. Sometimes, upon being redirected to NewDot, the app doesn't fully load, and the chat view shows the loading animation.
Action Performed:

Open staging.expensify.com
Click on "Email" > enter any email address from a public domain that +classicredirect (that's what enables the redirection for now, while we test). For example<EMAIL_ADDRESS>> click Next > Join
At that point you'll be redirected to NewDot, and the app should load on the Concierge chat. Sometimes, the Concierge chat doesn't get displayed

The issue doesn't always happen (maybe 1 in 10 times in my personal experience), so you might have to test multiple times in a row with different accounts.
Expected Result:
The Concierge chat should be displayed.
Actual Result:
The Concierge chat is not displayed, there's a loading animation in the chat view instead.
Workaround:
Platforms:

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

Screenshots/Videos
https://github.com/Expensify/App/assets/2229301/6b258ef2-d860-4b15-891b-66b87386b5b3

View all open jobs on GitHub
Issue OwnerCurrent Issue Owner: @kevinksullivan

I can help with this issue 🙂

@koko57 let us know how we can help diagnose! We're trying to get this one cleared asap.

The problem appears to be LogOutPreviousUserPage. If the user wasn't already signed in with a different account, and the page is missing the shouldForceLogin route param, it will just display a spinner forever. Unless I'm missing something this seems like the problem?

There are two places in OldDot PHP where this redirection happens AFAICT:

for new users
here

And in neither case is shouldForceLogin included in the URL

This is very consistently reproducible for me if you sign in as a new user on OldDot without being signed in to an account on NewDot

Ok, I think I've figured out the race condition at play here...
"Happy" path (haven't observed yet)

Redirect from OldDot
PublicScreens mounts.
LoginWithShortLivedAuthToken page renders: https://github.com/Expensify/App/blob/5d45f0f6c86e97d4ae58ac167b6c162a610b817c/src/libs/Navigation/AppNavigator/PublicScreens.js#L23-L27
Session.signInWithShortLivedAuthToken happens
Sign in completes and LoginWithShortLivedAuthToken page renders again, the useEffect runs, and exitTo navigation happens. Note: I think there are potentially multiple reasons this might not happen:

As soon as sign-in completes, the PublicScreens will unmount and AuthScreens will mount. I think that consistently happens before LoginWithShortLivedAuthToken re-renders, because it's further up the tree
There's nothing in the props.route that will change as a result of calling Session.signInWithShortLivedAuthToken. So even if the component re-renders, the useEffect won't

What actually happens 100% of the time AFAICT

Redirect from OldDot
PublicScreens mounts
LoginWithShortLivedAuthToken page renders: https://github.com/Expensify/App/blob/5d45f0f6c86e97d4ae58ac167b6c162a610b817c/src/libs/Navigation/AppNavigator/PublicScreens.js#L23-L27
Session.signInWithShortLivedAuthToken happens
PublicScreens unmounts and AuthScreens mounts.
LogOutPreviousUserPage renders

[this redundant call to Session.signOutAndRedirectToSignIn() never happens (which, we don't want it to happen anyways...)
shouldForceLogin is false.
So literally nothing else happens and we get an infinite spinner

Quick and dirty fix: https://github.com/Expensify/App/pull/31522
However, I think that some work to clean up and simplify this flow would be valuable. We can have only one transition page that works if a user is:

Already signed in
Signed in to the wrong account
Provided an exitTo, or not
etc...

and then we could create E2E tests for all those flows. I noticed a number of redundancies and seemingly unnecessary complexities while looking through this code.

If this issue only happens when you're already signed in, I think this isn't a blocker

tried to reproduce the bug many times (with changing the network throttling, being logged in as another user or logged out) but I couldn't reproduce it even once.
I think Rory's right - the user is stuck on LogOutPreviousUserPage.

@roryabraham in what scenarios shouldForceLogin is sent with the URL?

All that's left here is C+ payment

Friendly bump to process payment here @kevinksullivan

Ah it's just @allroundexperts , so summarizing payment:

@allroundexperts : $750

@kevinksullivan I think it should be $500.

Thanks @allroundexperts , I'll let you submit the request and close this out.

$500 payment to @allroundexperts based on summary above.


Express Session Error

Error: Login sessions require session support. Did you forget to use express-session middleware?
at SessionStrategy.authenticate (/home/runner/Darling/node_modules/passport/lib/strategies/session.js:46:41)
at attempt (/home/runner/Darling/node_modules/passport/lib/middleware/authenticate.js:369:16)
at authenticate (/home/runner/Darling/node_modules/passport/lib/middleware/authenticate.js:370:7)
at Layer.handle [as handle_request] (/home/runner/Darling/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/runner/Darling/node_modules/express/lib/router/index.js:328:13)
at /home/runner/Darling/node_modules/express/lib/router/index.js:286:9
at Function.process_params (/home/runner/Darling/node_modules/express/lib/router/index.js:346:12)
at next (/home/runner/Darling/node_modules/express/lib/router/index.js:280:10)
at initialize (/home/runner/Darling/node_modules/passport/lib/middleware/initialize.js:98:5)
at Layer.handle [as handle_request] (/home/runner/Darling/node_modules/express/lib/router/layer.js:95:5)
Error: Login sessions require session support. Did you forget to use express-session middleware?
at SessionStrategy.authenticate (/home/runner/Darling/node_modules/passport/lib/strategies/session.js:46:41)
at attempt (/home/runner/Darling/node_modules/passport/lib/middleware/authenticate.js:369:16)
at authenticate (/home/runner/Darling/node_modules/passport/lib/middleware/authenticate.js:370:7)
at Layer.handle [as handle_request] (/home/runner/Darling/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/runner/Darling/node_modules/express/lib/router/index.js:328:13)
at /home/runner/Darling/node_modules/express/lib/router/index.js:286:9
at Function.process_params (/home/runner/Darling/node_modules/express/lib/router/index.js:346:12)
at next (/home/runner/Darling/node_modules/express/lib/router/index.js:280:10)
at initialize (/home/runner/Darling/node_modules/passport/lib/middleware/initialize.js:98:5)
at Layer.handle [as handle_request] (/home/runner/Darling/node_modules/express/lib/router/layer.js:95:5)

help the error showed again

@EckigerLuca

Are all packages installed and updated? Did you change anything in the index.js of the webserver?

no i didnt
theres another error
┃ 2023-11-03 09:07:56:90 [ERROR]: AbortError: The user aborted a request.
at abort (/home/runner/Darling/node_modules/node-fetch/lib/index.js:1458:16)
at EventTarget.abortAndFinalize (/home/runner/Darling/node_modules/node-fetch/lib/index.js:1473:4)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:737:20)
at EventTarget.dispatchEvent (node:internal/event_target:679:26)
at abortSignal (node:internal/abort_controller:314:10)
at AbortController.abort (node:internal/abort_controller:344:5)
at Timeout._onTimeout (/home/runner/Darling/src/website/index.js:110:47)
at listOnTimeout (node:internal/timers:569:17)
at process.processTimers (node:internal/timers:512:7) {
type: 'aborted'
}

To be honest, I don't really know what could cause this issue.
Is everything configured correctly? Have you tried to re-install all packages or even the bot?

@kordnddn Is the error reproducible? If so could you provide on how to reproduce it? It's kinda difficult on tracking down an error which does not exist. (At least for luca)


Correct typos in the Chinese translation

Change 帐 to 账 .

I'm sorry, changes should be made via crowdin: https://crowdin.com/translate/multimc/4/en-zhcn


Package Indexing - System.Security.Cryptography.OpenSsl

Hi,
System.Security.Cryptography.OpenSsl v4.4.0 has the following warning:

This package has not been indexed yet. It will appear in search results and will be available for install/restore after indexing is completed.

According to the versions table below, it was uploaded 9 days ago.
What's making it take so long to be indexed?
This is messing with my workflow as Paket can resolve the package, but cannot download it. I've had to manually download it for now from the Gallery website as a workaround.

Thanks for reporting this issue, @yaakov-h. I have reflowed the package. It should now be available.