Hint can't be changed

By default, the hint is displaying as £0.00 and despite changing android:hint, it will not budge.
I say it's displaying the hint, it seems to be the text value rather than the hint value (the EditText style for a hint is a dulled grey, this is black).

Are you setting the view to a default value? And is the hint flag disabled
either in your code or in the xml?
It may be helpful if you could post how you're initializing the view so we
can determine what's going on. By default, there should be no value present
and the hint should appear unless it's disabled.
On Fri, Apr 27, 2018 at 8:03 AM, Tom Wilson<EMAIL_ADDRESS>wrote:

By default, the hint is displaying as £0.00 and despite changing
android:hint, it will not budge.
I say it's displaying the hint, it seems to be the text value rather than
the hint value (the EditText style for a hint is a dulled grey, this is
black).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BlacKCaT27/CurrencyEditText/issues/47, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AE_54ZC6PiwtAg9Rj7zGHB2BJxNDrG3eks5tswkOgaJpZM4TqQSc
.

The Fragment is inflated from onCreateView() as default Fragment operation - the field isn't referenced at any point in the code, only in the XML.
I replaced a stock EditText element with a CurrencyEditText - I've tried to override the hint both with the text I need to be displayed, and an empty string - it doesn't make a difference.
This is what is displayed by default:

Code attached - nothing unusual! I've tried removing the custom style for the EditText, and that makes no difference.
Thanks.
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
    {
        Bundle arguments = getArguments();
        final Listing selectedListing = (Listing) arguments.getSerializable("selectedListing");

        getActivity().setTitle("New Bid");

        final View view = inflater.inflate(R.layout.fragment_new_bid, container, false);
        setHasOptionsMenu(true);

        return view;
    }

<com.blackcat.currencyedittext.CurrencyEditText
    android:id="@+id/editText_bid_amount"
<EMAIL_ADDRESS>    android:layout_width="0dp"
    android:layout_height="wrap_content"
    android:layout_marginBottom="16dp"
    android:layout_marginEnd="16dp"
    android:layout_marginStart="16dp"
    android:layout_marginTop="16dp"
    android:ems="10"
    android:hint="Bid Message"
    app:layout_constraintBottom_toTopOf="@+id/editText_bid_message"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toBottomOf="@+id/divider2" />

Hm. Does seem like something may be wrong then, the text box should be
showing "Bid Message" as hint text. it appears something in the
initialization within the library code is setting a default value.
Try obtaining a reference to the view in your code and calling setHint on
that after the view's been inflated. Not proposing this as a final
solution, but just as a workaround to see if it works and if so give you a
temporary solution until I have time to take a look.
On Fri, Apr 27, 2018 at 8:46 AM, Tom Wilson<EMAIL_ADDRESS>wrote:

The Fragment is inflated from onCreateView() as default Fragment operation

the field isn't referenced at any point in the code, only in the XML.

I replaced a stock EditText element with a CurrencyEditText - I've tried
to override the hint both with the text I need to be displayed, and an
empty string - it doesn't make a difference.
This is what is displayed by default:
[image: image]
https://user-images.githubusercontent.com/8270461/39363067-d652d534-4a20-11e8-8327-6396d5f7edd5.png
Code attached - nothing unusual! I've tried removing the custom style for
the EditText, and that makes no difference.
Thanks.
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
{
    Bundle arguments = getArguments();
    final Listing selectedListing = (Listing) arguments.getSerializable("selectedListing");

    getActivity().setTitle("New Bid");

    final View view = inflater.inflate(R.layout.fragment_new_bid, container, false);
    setHasOptionsMenu(true);

    return view;
}

<com.blackcat.currencyedittext.CurrencyEditText
android:id="@+id/editText_bid_amount"
<EMAIL_ADDRESS>android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:ems="10"
android:hint="Bid Message"
app:layout_constraintBottom_toTopOf="@+id/editText_bid_message"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/divider2" />
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/BlacKCaT27/CurrencyEditText/issues/47#issuecomment-384959729,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE_54bAdC_mdMlBCKRloGQWmPIzI9MgPks5tsxMtgaJpZM4TqQSc
.

I've given that a go, and it's still showing £0.00.
It's worth noting (you may have overlooked this in the OP) that this £0.00 value doesn't seem to be a hint, but is instead the text value of the field; it's black, and the cursor goes to the end of it by default when focusing.
Thanks for looking into it. :)

Not sure why, but I've given that another go and it does in fact show the correct hint now - I must have referenced the wrong EditText when setting to null.
The temporary workaround.. works!

@IWMTom @BlacKCaT27 I still cannot get the hint to change, can you share code?

£0.00 is not the hint, it's the text. So putting currencyEditText.setText(null); in your onCreate() method will make your hint visible.


Add versioneer versioning

What it says on the tin. Needed for e.g. PyPI publication.

fixed by #27


Added infinite scrolling feature

Description
Added infinite scrolling feature by displaying 12 cards first time and when scrolled down, next 12 are loaded. This process goes on till all cards are displayed.
Fixes:   #489
Type of change
Feature addition

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[X] I have made this from my own
[ ] I have taken help from some online resourses and mentioned in PR
[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[X] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLO
Cards loading

Cards on search

@Prikshit-anthal
#530

Not due my PR, it's just someone has removed '{' in json file

ok can u send this ss on the issue please


Possible async problem

Now that we support async functions, is the fact that this is in a closure going to be a problem?
I am near certain the answer is yes!
Look at this code:
test('a', t => {
  t.is(await promiseA1(), await promiseA2());
});

test('b', t => {
  t.is(await promiseB1(), await promiseB2());
});

Now, assume both following sequence of events:

test a starts
test a halts as it awaits the resolution of promiseA1()
test b starts
test b halts as it awaits the resolution of promiseB1()
promiseA1() resolves, and test a resumes.
test a halts as it awaits the resolution of promiseA2()
promiseB1() resolves, and test b resumes.
test b halts as it awaits the resolution of promiseB2()
promiseB2() resolves, and test b resumes.
test b ends
promiseA2() resolves, and test a resumes.

It seems like events is going to be corrupted by step 12.
I think AVA is going to need to create a new enhanced assert object for each run.
@twada - thoughts?

@jamestalmage Ah, Good catch! Thank you for sharing your thought!
import assert from 'power-assert';

const tests = [];

function test (name, body) {
    tests.push({
        name,
        body
    });
}

function later (millis, value) {
    return new Promise((resolve, reject) => {
        setTimeout(() => {
            console.log(`captured [${value}]`);
            resolve(value);
        }, millis);
    });
};

test('testA', async () => {
    const val1 = 'a1';
    const val2 = 'a2';
    const delay1 = 1000;
    const delay2 = 6000;
    try {
        assert.equal(await later(delay1, val1), await later(delay2, val2));
    } catch (e) {
        console.log(e.message);
    } finally {
        console.log(`done [testA]`);
    }
});

test('testB', async () => {
    const val3 = 'b1';
    const val4 = 'b2';
    const delay3 = 2000;
    const delay4 = 3000;
    try {
        assert.equal(await later(delay3, val3), await later(delay4, val4));
    } catch (e) {
        console.log(e.message);
    } finally {
        console.log(`done [testB]`);
    }
});

for (let {name, body} of tests) {
    console.log(`running [${name}]`);
    body();
}

Produces power-assert output that is totally broken.
$ babel-node interleaving_promises.js
running [testA]
running [testB]
captured [a1]
captured [b1]
captured [b2]
  # interleaving_promises.js:41

  assert.equal(await later(delay3, val3), await later(delay4, val4))
               |                          |           |       |
               |                          |           |       |a2"
               |                          |           |000    "b2"
               "b1"                       "b2"        3000

done [testB]
captured [a2]
  # interleaving_promises.js:27

  assert.equal(await later(delay1, val1), await later(delay2, val2))
               |           |       |      |
               "a1"        2000    "b1"   "a2"

done [testA]
$

I'll fix this problem in this issue

Thanks @twada, I meant to write that test and verify this.
Could we maybe introduce a runtime helper? I think Babel 6 now includes an easy way to do that (from what I have browsed of the source.
t.is(await foo(), await bar());

var __powerAssertRuntime = require(...); // once at the top of the file.

 // create a unique name - I think Babel might have a tool for this.
const capt_1 = new __powerAssertRuntime.Capture();
const capt_2 = new __powerAssertRuntime.Capture();

t.is(await capt_1._expr(capt_1._capt(foo(), {powerAssertContext:...})), await capt_2._... )

@jamestalmage Yeah, I'm thinking about introducing runtime helper too.
This is my thought but I'll make prototypes of both.


Project-specific linting and general cleanup. See commit messages for more details.

Coverage decreased (-1.96%) to 94.59% when pulling 47c076bf76113ea7ca1155f1f67ced6a18a0e4a9 on lgomez:master into 1d64a11b0f3e64ceee972a563f02e05ca3c11ea0 on retsr:master.


Children with same key error in WordPress React Native example

Doesn't happen in the web version of the example. Hmmm...

Can't reproduce it. Probably caused by code update or something.


14 | Longest Common Prefix | Java

Title -  Write a function to find the longest common prefix string amongst an array of strings.
If there is no common prefix, return an empty string "".
What will change -
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

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

[x] Java

Self Check

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

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

I want to work on this.

I am interested to contribute.

@chiillax please create your own issue

want to contribute

[x] Assigned to @Vrindagupta6828 for issue creation

want to contribute

i want to contribute in it!

I want to contribute solution 905 and 977 in Java.


[WORK IN PROGRESS] Split feature sheet header out of bottom sheet scroll view

@dturner a few comments on my work in progress - could you please have a look?

@gino-m Not really sure where to start with this. I understand that this change splits the bottom sheet header into a separate layout which is tracked independently of the bottom sheet to "simplify" things, however, I'm not seeing much simplification. If anything the code and architecture is more difficult to understand than before.
Also, the fact that touch events now have to be propagated up from the header, then back down to the bottom sheet feels fairly a bit hacky to me.
Perhaps this is because I'm still struggling with the UI architecture. Maybe a VC to discuss would be beneficial.

Hi Don, thanks for the comments. I've already started integrating FloatingHeaderBehavior as discussed. Closing in favor of https://github.com/google/ground-android/pull/462 (WIP).


Error: pull model manifest: file does not exist (again)

What is the issue?
I have read about the Error: pull model manifest: file does not exist issue other sare having but it seems like its a simple typo for everyone else.
i'm simply trying to import a gguf file as a model. I create the Modelfile:
FROM DarkIdol-Llama-3.1-8B-Instruct-1.0-Uncensored.i1-Q4_K_M.gguf
PARAMETER temperature 9
SYSTEM You are Peter from Family Guy, acting as an assistant.

if i use the full path to the file it fails completely. the model is in the same directory.
i wonder if its because the model is a symlink..?
There is little information on this issue and seems I'll be stuck to using models from ollamas library. The basic docs say we can use any model such as gguf's..
OS
Linux
GPU
Other
CPU
Intel
Ollama version
0.3.9

It should work, lots of people download GGUF's and import them.    How did you install ollama?  System install or docker?  Is the command ollama an alias?  Why is the filename a symlink?  When you say "fails completely", is that a different error message to "file does not exist"?  If you replace the symlink with a hard link does it work any better?
FWIW I dowloaded the Q4_K_M from mradermacher/DarkIdol-Llama-3.1-8B-Instruct-1.0-Uncensored-i1-GGUF and imported with your Modelfile without a problem.  The model itself seems untrained so maybe I got the wrong source, but the process worked fine.
$ ollama show darkidol:Q4_K_M
  Model
        parameters              8.0B
        quantization            Q4_K_M
        arch                    llama
        context length          131072
        embedding length        4096

  Parameters
        temperature     9

  System
        You are Peter from Family Guy, acting as an assistant.

Thanks for the issue!
Indeed, as @rick-github mentioned it's most likely because that file wasn't in the same directory as the Modelfile. Let me know if that doesn't fix it for you.


Specify version of FIWARE stack for tutorials

Is your feature request related to a problem? Please describe.
The behavior of the FIWARE stack is continuously updating. Therefore, to ensure reproducibility, we should add information about the used FIWARE stack, especially their versions.
Describe the solution you'd like

provide a docker-compose.yml,
or reference the https://github.com/N5GEH/n5geh.platform

@djs0109 I am currently testing the compose file on the tutorials, which need to be updated because there is old pydantic code. I will also commit these changes to the branch.


The default 1Y start date goes back 13 months instead of 12

@ryscheng
Seems like an off by one error?

Fixed for now in this instance, but the getMonth() + 1 issue may raise its head again 🤦


Feature Request:  Event handlers

@mklopets Excited to see some new energy on this module.
I'd like to request that event handlers be added to the Layer module. I believe it should be possible to just crib the event handlers from the GeoJSONLayer module and include an map.on and map.off event handler for each layer.
Happy to walk through what I did on the old version of the layer.js file to get this functionality.

I understand you already have some code for this somewhere? If that's the case, a PR would be very nice.

I have it for an older version (when it was in JS). Will see if I can recreate on the new version in TS.

Thanks!

Closing this to minimise noise as it's a duplicate of #563, but a PR is still very much welcome!


8.4 – Test task that filters tests by JUnit 5 tag annotation emits deprecation

Current Behavior
If I configure a custom test task to split up tests into categories like this...
tasks.register<Test>("testSlow") {
    testClassesDirs = sourceSets.test.get().output.classesDirs
    classpath = sourceSets.test.get().runtimeClasspath
    useJUnitPlatform {
        includeTags("slow")
    }
}

...I may get a deprecation warning (starting with Gradle 8.4):
No test executed. This behavior has been deprecated. This will fail with an error in Gradle 9.0. There are test sources present but no test was executed.

This situation is however by design, because I would like to register the additional test task(s) for all my subprojects. Some of them are not expected to contain tests of certain categories.
Expected Behavior
There is no deprecation message emitted for the given setup or there is an option in the test task a configuration to say:

Yes, I know that in some projects there are no tests and that is fine

Context (optional)
A similar situation can be created using Gradle's native test filtering (filter by test name). For these cases, there seems to be a special handling in the code already. Maybe this can/should be extended to cover the other filtering mechanisms:
https://github.com/gradle/gradle/blob/master/platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/AbstractTestTask.java#L535-L536
https://github.com/gradle/gradle/blob/master/platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/AbstractTestTask.java#L555-L559
Steps to Reproduce

Get this sample: https://github.com/jjohannes/understanding-gradle/tree/main/21_Test_and_Code_Coverage_Reporting/my-project
Run gradle test

Gradle version
8.4 RC3
Gradle version that used to work
8.3
Build scan URL (optional)
https://scans.gradle.com/s/6in64hrajor2i
Your Environment (optional)
No response

In order to reproduce with the provided build you need to run gradle --warning-mode=all testSlow

Yes. I think it would be fine if you have to explicitly set failOnNoMatchingTests=false.


[Bug]: wheel gear button not showing and "/api/configurations HTTP/1.1" 404 Not Found

Is there an existing issue for the same bug?

[X] I have checked the troubleshooting document at https://github.com/OpenDevin/OpenDevin/blob/main/docs/guides/Troubleshooting.md
[X] I have checked the existing issues.

Describe the bug
When I run OpenDevin from host (not by start a docker), the terminal returned a message:
...
INFO:     connection open
INFO:     <IP_ADDRESS>:57024 - "GET /api/litellm-models HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:57025 - "GET /api/agents HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:57029 - "GET /api/messages/total HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:57028 - "GET /api/configurations HTTP/1.1" 404 Not Found
INFO:     <IP_ADDRESS>:57030 - "GET /api/agents HTTP/1.1" 200 OK
And looks like OpenDevin still loads OpenAI as LLM model:
16:15:30 - opendevin:INFO: agent.py:145 - Creating agent MonologueAgent using LLM gpt-3.5-turbo
16:15:30 - opendevin:INFO: llm.py:52 - Initializing LLM with model: gpt-3.5-turbo
16:15:31 - opendevin:INFO: ssh_box.py:357 - Container stopped
16:15:31 - opendevin:WARNING: ssh_box.py:369 - Using port forwarding for Mac OS. Server started by OpenDevin will not be accessible from the host machine at the moment. See https://github.com/OpenDevin/OpenDevin/issues/897 for more information.
The left bottom corner appears a "pause" button instead of a gear wheel.  (I started OpenDevin successfully by using a docker)
I couldn't start a task seems an agent was running at the start of OpenDevin and wouldn't stop.
I'm using MacOs M1 chip, 16GB memory.
Here's the .env file I load it before "make run"
export LLM_API_KEY="ollama"
export LLM_MODEL="ollama/codellama:7b"
export LLM_BASE_URL="http://localhost:11434"
export LLM_EMBEDDING_MODEL="local"
export WORKSPACE_BASE=/Users/zhanglei/opendevin
Here's the config.toml:
bash-3.2$ cat OpenDevin/config.toml
LLM_MODEL="ollama/codellama:7b"
LLM_API_KEY="ollama"
LLM_EMBEDDING_MODEL="local"
WORKSPACE_BASE="/Users/zhanglei/opendevin"
Current Version
Appology I'm not sure how to check this. The docker container is more specific for this information, but I run it on local host.

Installation and Configuration
These are major steps I went through to kicked off OpenDevin:

git clone https://github.com/OpenDevin/OpenDevin.git

cd OpenDevin

make build

vi .env
Enter below content:
export LLM_API_KEY="ollama"
export LLM_MODEL="ollama/codellama:7b"
export LLM_BASE_URL="http://localhost:11434"
export LLM_EMBEDDING_MODEL="local"
export WORKSPACE_BASE=/Users/zhanglei/opendevin

source .env

Also make setup-config with below content
bash-3.2$ cat OpenDevin/config.toml
LLM_MODEL="ollama/codellama:7b"
LLM_API_KEY="ollama"
WORKSPACE_BASE="/Users/zhanglei/opendevin"

Finally launch OpenDevin
make run

Model and Agent

Model: ollama/codellama:7b
Agent: litellm

Reproduction Steps
git clone https://github.com/OpenDevin/OpenDevin.git
cd OpenDevin
make build
make setup-config
vi .env
Enter below content:
export LLM_API_KEY="ollama"
export LLM_MODEL="ollama/codellama:7b"
export LLM_BASE_URL="http://localhost:11434"
export LLM_EMBEDDING_MODEL="local"
export WORKSPACE_BASE=/Users/zhanglei/opendevin
source .env
Also make setup-config with below content
bash-3.2$ cat OpenDevin/config.toml
LLM_MODEL="ollama/codellama:7b"
LLM_API_KEY="ollama"
WORKSPACE_BASE="/Users/zhanglei/opendevin"
Finally launch OpenDevin
make run
Logs, Errors, Screenshots, and Additional Context

INFO:     ('<IP_ADDRESS>', 58698) - "WebSocket /ws?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzaWQiOiIwODQwNjI1Ni05YWNmLTRmODQtYmQ1MC0yNmE2NDRjOGQ5N2YifQ.hyOBcYdj91sQ35H82a9gbSaodLwNUcoa8CabfqkwzAc" [accepted]
Starting loop_recv for sid: 08406256-9acf-4f84-bd50-26a644c8d97f
INFO:     connection open
INFO:     <IP_ADDRESS>:58702 - "GET /api/messages/total HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:58701 - "GET /api/configurations HTTP/1.1" 404 Not Found
INFO:     ('<IP_ADDRESS>', 58711) - "WebSocket /ws?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzaWQiOiJhOTc3OTU4Yi1hYjNjLTQyZTQtOGM2YS0yNGM5YjI4YzBkNzcifQ.l97z1jt2ax3xxhcx5j9U-62o6AJYEUlAHQPawrPuk4c" [accepted]
Starting loop_recv for sid: a977958b-ab3c-42e4-8c6a-24c9b28c0d77
INFO:     connection open
16:15:30 - opendevin:INFO: agent.py:145 - Creating agent MonologueAgent using LLM gpt-3.5-turbo #still gtp
16:15:30 - opendevin:INFO: llm.py:52 - Initializing LLM with model: gpt-3.5-turbo
16:15:31 - opendevin:INFO: ssh_box.py:357 - Container stopped
16:15:31 - opendevin:WARNING: ssh_box.py:369 - Using port forwarding for Mac OS. Server started by OpenDevin will not be accessible from the host machine at the moment. See https://github.com/OpenDevin/OpenDevin/issues/897 for more information.
16:15:31 - opendevin:INFO: ssh_box.py:377 - Mounting workspace directory: /Users/zhanglei/opendevin
16:15:32 - opendevin:INFO: ssh_box.py:400 - Container started

It seems like your client and server are not compatible.
The /api/configurations endpoint was removed in #1169, so it's probably the frontend which is not up to date. Make sure your code is at the latest commit from main.

Seems like you're not on the latest code, as johnnyaug points out. Gear wheel is now on the bottom-right (I'll update the issue template)

Going to close this one since it seems to be not on the latest. LMK if it needs to be reopened though


Application Gateway Deployment not working with SSL Certificate and HTTPS Listener

Bicep version
Bicep CLI version 0.25.3 (862708594a)
Describe the bug
When defining a httpListeners in the namespace of Microsoft.Network/applicationGateways@2023-02-01 (I already tried different versions) then BICEP hangs. No error, it just stays there doing nothing in the CLI. When I create a HTTP Listener it deploys immediately.
To Reproduce
Use this template as a reference:
param location string = resourceGroup().location
param appGatewayName string
param subnetId string // The Subnet Resource ID where the Application Gateway will be deployed
param userAssignedIdentityId string // The User Assigned Identity Resource ID that will be used to manage the Application Gateway

// Variables
var appGatewayId = '/subscriptions/${subscription().subscriptionId}/resourceGroups/${resourceGroup().name}/providers/Microsoft.Network/applicationGateways/${appGatewayName}'

// Define the public IP address for the Application Gateway
resource publicIp 'Microsoft.Network/publicIPAddresses@2023-04-01' = {
  name: 'pip-${appGatewayName}'
  location: location
  sku: {
    name: 'Standard'
  }
  properties: {
    publicIPAddressVersion: 'IPv4'
    publicIPAllocationMethod: 'Static'
  }
}

// Define the Application Gateway with WAF v2
resource appGateway 'Microsoft.Network/applicationGateways@2023-02-01' = {
  name: appGatewayName
  location: location
  identity: {
    type: 'UserAssigned'
    userAssignedIdentities: {
      '${userAssignedIdentityId}': {}
    }
  }
  properties: {
    sku: {
      name: 'WAF_v2'
      tier: 'WAF_v2'
    }
    autoscaleConfiguration: {
      minCapacity: 1
      maxCapacity: 2
    }
    gatewayIPConfigurations: [
      {
        name: 'appGatewayIpConfig'
        properties: {
          subnet: {
            id: subnetId
          }
        }
      }
    ]
    frontendIPConfigurations: [
      {
        name: 'appGatewayFrontendIp'
        properties: {
          publicIPAddress: {
            id: publicIp.id
          }
        }
      }
    ]
    frontendPorts: [
      // {
      //   name: 'appGatewayFrontendPortHttp'
      //   properties: {
      //     port: 80
      //   }
      // }
      {
        name: 'appGatewayFrontendPortHttps'
        properties: {
          port: 443
        }
      }
    ]
    backendAddressPools: [
      {
        name: 'appGatewayBackendPool'
        properties: {
          backendAddresses: []
        }
      }
      // {
      //   name: 'appGatewayNonProdBackendPool'
      //   properties: {
      //     backendAddresses: [
      //       {
      //         ipAddress: '<IP_ADDRESS>'
      //       }
      //     ]
      //   }
      // }
    ]
    backendHttpSettingsCollection: [
      {
        name: 'appGatewayBackendHttpSettings'
        properties: {
          port: 443
          protocol: 'Https'
          cookieBasedAffinity: 'Disabled'
          hostName: 'blabla.com'
          pickHostNameFromBackendAddress: false
          path: '/'
          requestTimeout: 20
          probe: {
            id: '${appGatewayId}/probes/appGatewayHealthProbe'
          }
        }
      }
    ]
    sslCertificates: [
      {
        name: 'SECRETNAME'
        properties: {
          keyVaultSecretId: 'https://KVNAME${environment().suffixes.keyvaultDns}/secrets/SECRETNAME'
        }
      }
    ]
    httpListeners: [
      // {
      //   name: 'appGatewayHttpListener'
      //   properties: {
      //     frontendIPConfiguration: {
      //       id: '${appGatewayId}/frontendIPConfigurations/appGatewayFrontendIp'
      //     }
      //     frontendPort: {
      //       id: '${appGatewayId}/frontendPorts/appGatewayFrontendPortHttp'
      //     }
      //     protocol: 'Http'
      //   }
      // }
      {
        name: 'appGatewayHttpsListener'
        properties: {
          frontendIPConfiguration: {
            id: '${appGatewayId}/frontendIPConfigurations/appGatewayFrontendIp'
          }
          frontendPort: {
            id: '${appGatewayId}/frontendPorts/appGatewayFrontendPortHttps'
          }
          protocol: 'Https'
          sslCertificate: {
            id: '${appGatewayId}/sslCertificates/SSLCERTNAME'
          }
          hostNames: []
          requireServerNameIndication: false
          customErrorConfigurations: []
        }
      }
    ]
    requestRoutingRules: [
      {
        name: 'appGatewayRuleRoot'
        properties: {
          ruleType: 'Basic'
          priority: 1
          httpListener: {
            id: '${appGatewayId}/httpListeners/appGatewayHttpsListener'
          }
          backendAddressPool: {
            id: '${appGatewayId}/backendAddressPools/appGatewayBackendPool'
          }
          backendHttpSettings: {
            id: '${appGatewayId}/backendHttpSettingsCollection/appGatewayBackendHttpSettings'
          }
        }
      }
    ]
    probes: [
      {
        name: 'appGatewayHealthProbe'
        id: '${appGatewayId}/probes/appGatewayHealthProbe'
        properties: {
          protocol: 'Https'
          host: 'blabla.com'
          port: 443
          path: '/echo/resource'
          interval: 30
          timeout: 30
          unhealthyThreshold: 3
          pickHostNameFromBackendHttpSettings: false
          minServers: 0
          match: {}
        }
      }
    ]
    webApplicationFirewallConfiguration: {
      enabled: true
      firewallMode: 'Prevention'
      ruleSetType: 'OWASP'
      ruleSetVersion: '3.2'
    }
  }
}

Additional context
When exporting the template and deploying it back to the same Resource Group the same behaviour occurs.

Some additional context:
When I am out commenting this part of the BICEP template:
          sslCertificate: {
            id: '${appGatewayId}/sslCertificates/SSLCERTNAME'
          }

The deployment starts, however without this part it will result in an error because the protocol is HTTPS and it expects a SSL Certificate. So it seems to be related to the reference of the sslCertificate?
This link also explains more about it and I am exactly following the structure/link references as described on the page: https://learn.microsoft.com/en-us/azure/application-gateway/ssl-certificate-management?WT.mc_id=Portal-Microsoft_Azure_HybridNetworking

It seems my references to the Application Gateway involving:

id: '${appGatewayId}/probes/appGatewayHealthProbe'

Was not correct. It should be:

id: resourceId('Microsoft.Network/applicationGateways/probes', appGatewayName, 'appGatewayHealthProbe')

This resolved my issue with the above. My apologies for any inconvenience.


command line arguments for local directory ?

Is this tool able to be used programaticly ?
Like providing command line arguments to be able to use it in a script ?
In my case looking for a way to create a bash script that would import from local directory a template.

Made a lazy script to do so but this is def not clean nor maintainable solution :
#!/bin/bash

# Colors
DEFAULT='\x1b[36;1m'
SUCCESS='\x1b[32;1m'
ERROR='\x1b[31;43;1m'
YELLOW='\x1b[33;1m'
VIOLET='\x1b[35;1m'
BOLD='\x1b[1m'
UNDERLINE='\x1b[4m'
RESET='\x1b[0m'

# Function to handle errors
handle_error() {
    echo -e "\n${ERROR}${BOLD}ERROR !!!${RESET}\n"
    exit 1
}

# Load .env file
set -a
source .env || handle_error
set +a

# Container name
DIRECTUS_CONTAINER_NAME="${PROJECT_NAME}__directus" || handle_error

# Apply template
echo -e "\n${VIOLET}${BOLD}Apply $TEMPLATE_DIR template :${RESET}\n"
expect <<EOF
    set timeout -1

    # Start the command inside the Docker container
    spawn docker exec -it $DIRECTUS_CONTAINER_NAME npx directus-template-cli apply

    # 1. "What type of template would you like to apply?"
    expect "What type of template would you like to apply?"
    send "2\r"

    # 2. "What is the local template directory?"
    expect "What is the local template directory?"
    send "$TEMPLATE_DIR\r"

    # 3. "What is your Directus URL?"
    expect "What is your Directus URL?"
    send "$DIRECTUS_URL\r"

    # 4. "What is your Directus Admin Token?"
    expect "What is your Directus Admin Token?"
    send "$DIRECTUS_ADMIN_TOKEN\r"

    # Wait for the process to complete
    expect eof
EOF

if [ $? -eq 0 ]; then
    echo -e "\n${SUCCESS}Template applied successfully!\n"
else
    handle_error
fi

Will be supported in V0.5.0
See #63


CCSMETH TRAIN

Hello @PengNi
I want clarity on using the ccsmeth train  to train a new model, please what is the component in the  --train_file TRAIN_FILE because this was not well described in the manual? Kindly help with simplifying what this Train file should be made up of. Thanks.

Hi @PengNi I trust you are fine, I am still expecting your response and  I noticed that the output I obtained from the ccsmeth call_freqt from the read_persite file differs from the explained column output from the ccsmeth call_freqb from the modbam file which was supposed to have similar column features according to manual. What could be the cause?

Hi @olaraym , ccsmeth has a similar pipeline for training with deepsignal. All you need is to extract positive/negative features/samples, then combine them, then split them to training/validation dataset.
Please check this issue in deepsignal.

Hi,
I tried to train your code on my dataset. Unfortunately, I got this error after some steps in the first epoch. Could you please help me out?


Test errors that appear when running ruby, but not with Ripper.sexp_raw

See #870 for context.
Example:
begin; 1; else bar; end

All of the cases I can find for this are now covered except for the ones also covered by https://github.com/ruby/prism/issues/1604, so I think this can be closed now.


Log exceptions thrown by explicit instrumentation

Resolves #74
Signed-off-by: Pavol Loffay<EMAIL_ADDRESS>

@fmhwong could you please also have a look?

@fmhwong I will merge to unblock other PRs. Please comment even if it's merged I will handle it in a separate PR if necessary.

LGTM


Run proxy-worker when the user adds, removes the wallet or adds, removes account in the Polkadot Vault wallet

Run proxy-worker when the user adds, removes the wallet or adds, removes account in the Polkadot Vault wallet in order to update the list of delegated to you wallets and proxy accounts.

Status verification: ❌
What has been verified:

Add polkadot vault wallet ✅
Add NovaWallet wallet ✅
Add WOW ❌
Remove wallet ❌


[YoutubeBridge] Playlist bug fix

This commit allow the bridge to parse an infinite number of items of a
Youtube playlist.
It should fix #647 !

Thanks for the PR ! Merged !


Make the way shared memory is initialized more user friendly

Instead of giving a mode to the workers and have a "main" worker do the init, every worker should, at first, ask the controller if the memory needs to be initialized and act accordingly.

Fixed by #29


chore(main): release 1.4.1

:robot: I have created a release beep boop
1.4.1 (2024-03-06)
Bug Fixes

ob16: so2 start one index (month) earlier (539cf70)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/engeir/volcano-base/releases/tag/v1.4.1 :sunflower:


Quinoa: set host property

Describe your changes

Fixes Issue #348

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] My change requires changes to the documentation.
[x] I have updated the documentation accordingly.
[x] All new and existing tests passed.

@shivam-sharma7 localhost is the default value so it's not needed.
Please let's try to not make PR just to make PRs.
You made the check list but you are not answering it :)
My change requires changes to the documentation = no
I have updated the documentation accordingly = no

@shivam-sharma7 your contributions are welcome, you should really try contributing outside the doc and config :)

ide the doc and config :)

example?


Add Haxe/C# project

Adds an Haxe/C# entry following #36

What means 'Haxe/C# externs'?
Can you improve that wording?

I meant binding, I've updated the description, should be better now.

@Vivraan any changes missing?

@ShalokShalom merging this.


PEP8 fixes

This pull request aims to resolve all PEP8 violations

AFAICT this is just 2 to 4 space indentation? Google style is 2 spaces (and I personally prefer it), so I'd like to keep this repo using 2.  Apologies if this makes your linter angry, it makes mine happy :)

Where is the official Google pep8/pytlint config?

The style guide is here (sort of):
http://google-styleguide.googlecode.com/svn/trunk/pyguide.html
The two key differences between that public version and internal style are 2 spaces, and CamelCase functions.  Plaso has a list here:
https://github.com/log2timeline/plaso/wiki/Style-guide
I'd be OK with converting to PEP8 function_names since this is a standalone opensource python project and the CamelCase convention was for internal reasons, but I'd like to keep 2 spaces.

I opt to keep the camel case, so you can easily see the difference between the code of the module and non-module code.

I don't agree with these style changes, they do not make the code more readable.

Discussed it with @destijl, most of the code already uses the plaso style which uses the 2 spaces indentation not the 4. The PEP8 violations are largely due to the 79 char rule. The other aspects of the PEP8 IMO do not add much value in additional readability improvements. Hence I opt not to move forward with this CL.

Where is the official Google pep8/pytlint config?

I was using the plaso pylintrc I can add it to the project if you want. Here we recently switched to pylint 1.4.0 which finds some more issues than its predecessors.

Lets close this one, joachim is adding a linter script in another PR.


How to switch protocol from git/SSH to https in Vundle?

It seems that accessing public repositories in github via git/ssh protocol has been banned by IT department in my company, but https works well.
Dose Vundle default use git/ssh protocol? I can't install any plugin when I enter BundleInstall in vim.
If so, could anyone tell me how to change it to https protocol?
Thanks a lot~

Problem has been solved!
It isn't caused by the unavailable protocol. The reason is that I have set the plugin install path to C:\Program Files (x86)\Vim\vimfiles.. .
It is unwritable!!!
So, when I open gvim as administrator and run BundelInstall command, installation success!
Just FYI.
Thanks~


map does not print null for certain operations

bedtools  map  -c 2   -o distinct_sort_num -a A.bed  -b B.bed
if a region from A has not overlaps in B, then the new field will be blank, rather than default null value "."
it even fails if you specify null explicitly
bedtools  map  -c 2   -o distinct_sort_num   -null  "."  -a A.bed  -b B.bed
 $ bedtools  --version
bedtools v2.25.0

Can you test this with version 2.26.0?

Thanks for reporting this. It is now fixed in master.


Installation Error on Windows 10

Hi @davisking ,
I have downloaded latest files from this repository and installed it using (python setup.py install) command. However I keep getting this error

Please let me know how to solve it.

Did you read the error message you posed?  Seems like it's telling you the
problem.

Yes I did read it and tried to correct it some way.
During installation these folders are created at the start and then are recreated at the end, that is when I get this error.
I wanted to know how to fix it ?
I even tried deleting dlib_python.vcxproj file during installation, even that gave me same creation error during installation

Davis, the file lib.win-amd64-3.5 is created when you build using cmake before running the setup.py install.
But when you run Setup.py install, it throws this error.

Okay so what I did was I manually created the directory "lib.win-amd64-3.6" which the program is not able to create as above, and the script ran pretty well until here!

This is the new error that the setup.py is throwing.

Don’t run cmake. Just run setup.py. It sounds like you made that build folder yourself and used cmake to fill it with build files. So yeah, there is going to be this kind of error as setup isn’t going to just blow away some files it doesn’t know about. So delete the dlib folder, download a fresh copy, and try again.
But I’m also guessing since I don’t know what you did since you haven’t filled out the issue template. If you run into other errors and want any help follow the issue submission instructions.

No! this screenshot is of the command "setup.py build"
I have also tried "setup.py install --clean" but same error is incurring.
P.S. I am fairly new to GitHub so I have little to no knowledge of the protocols we need to follow here! Pardon me for that please!

This is the error that is encountered after running fresh "setup.py install" in a fresh cloned dlib folder.

You know what, I just used pip install dlib and it worked! The python library is now installed and working perfectly with my CUDA GPU.
Thank you so much @davisking


New Crowdin translations

Enjoy!

Codecov Report

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

@@            Coverage Diff             @@
##           master     #328      +/-   ##
==========================================
+ Coverage   10.71%   10.79%   +0.08%
==========================================
  Files         247      247
  Lines        9803     9803
==========================================
+ Hits         1050     1058       +8
+ Misses       8753     8745       -8

Impacted Files
Coverage Δ

...htning/Certificates/PinnedURLSessionDelegate.swift
96.55% <0%> (+3.44%)
:arrow_up:

...htning/Services/Misc/BlockChainHeightUpdater.swift
93.75% <0%> (+12.5%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #328 into master will decrease coverage by 4.12%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #328      +/-   ##
=========================================
- Coverage   10.79%   6.66%   -4.13%
=========================================
  Files         247     233      -14
  Lines        9803    8285    -1518
=========================================
- Hits         1058     552     -506
+ Misses       8745    7733    -1012

Impacted Files
Coverage Δ

Lightning/QrCodes/BTCPayQRCode.swift
46.15% <0.00%> (-10.10%)
:arrow_down:

Lightning/Invoice/LightningInvoiceURI.swift
71.42% <0.00%> (-5.05%)
:arrow_down:

...ning/Services/DataUpdater/ChannelListUpdater.swift
77.77% <0.00%> (-4.05%)
:arrow_down:

Lightning/Services/ChannelService.swift
30.50% <0.00%> (-3.87%)
:arrow_down:

Lightning/Services/InfoService.swift
78.68% <0.00%> (-2.75%)
:arrow_down:

Lightning/Services/HistoryService.swift
75.00% <0.00%> (-2.59%)
:arrow_down:

...ning/Services/DataUpdater/InvoiceListUpdater.swift
33.33% <0.00%> (-2.39%)
:arrow_down:

.../Services/DataUpdater/TransactionListUpdater.swift
36.36% <0.00%> (-2.10%)
:arrow_down:

Lightning/Services/Misc/LightningNodeURI.swift
84.61% <0.00%> (-2.06%)
:arrow_down:

Lightning/Services/LightningService.swift
62.29% <0.00%> (-2.00%)
:arrow_down:

... and 176 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #328 (5fa1307) into master (efa92e2) will decrease coverage by 4.10%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #328      +/-   ##
=========================================
- Coverage   10.79%   6.68%   -4.11%
=========================================
  Files         247     233      -14
  Lines        9803    8259    -1544
=========================================
- Hits         1058     552     -506
+ Misses       8745    7707    -1038

Impacted Files
Coverage Δ

Lightning/QrCodes/BTCPayQRCode.swift
46.15% <0.00%> (-10.10%)
:arrow_down:

Lightning/Invoice/LightningInvoiceURI.swift
71.42% <0.00%> (-5.05%)
:arrow_down:

...ning/Services/DataUpdater/ChannelListUpdater.swift
77.77% <0.00%> (-4.05%)
:arrow_down:

Lightning/Services/LightningService.swift
60.31% <0.00%> (-3.97%)
:arrow_down:

Lightning/Services/ChannelService.swift
30.50% <0.00%> (-3.87%)
:arrow_down:

Lightning/Services/InfoService.swift
78.68% <0.00%> (-2.75%)
:arrow_down:

Lightning/Services/HistoryService.swift
75.00% <0.00%> (-2.59%)
:arrow_down:

...ning/Services/DataUpdater/InvoiceListUpdater.swift
33.33% <0.00%> (-2.39%)
:arrow_down:

.../Services/DataUpdater/TransactionListUpdater.swift
36.36% <0.00%> (-2.10%)
:arrow_down:

Lightning/Services/Misc/LightningNodeURI.swift
84.61% <0.00%> (-2.06%)
:arrow_down:

... and 176 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #328 (5fa1307) into master (efa92e2) will decrease coverage by 4.10%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #328      +/-   ##
=========================================
- Coverage   10.79%   6.68%   -4.11%
=========================================
  Files         247     233      -14
  Lines        9803    8259    -1544
=========================================
- Hits         1058     552     -506
+ Misses       8745    7707    -1038

Impacted Files
Coverage Δ

Lightning/QrCodes/BTCPayQRCode.swift
46.15% <0.00%> (-10.10%)
:arrow_down:

Lightning/Invoice/LightningInvoiceURI.swift
71.42% <0.00%> (-5.05%)
:arrow_down:

...ning/Services/DataUpdater/ChannelListUpdater.swift
77.77% <0.00%> (-4.05%)
:arrow_down:

Lightning/Services/LightningService.swift
60.31% <0.00%> (-3.97%)
:arrow_down:

Lightning/Services/ChannelService.swift
30.50% <0.00%> (-3.87%)
:arrow_down:

Lightning/Services/InfoService.swift
78.68% <0.00%> (-2.75%)
:arrow_down:

Lightning/Services/HistoryService.swift
75.00% <0.00%> (-2.59%)
:arrow_down:

...ning/Services/DataUpdater/InvoiceListUpdater.swift
33.33% <0.00%> (-2.39%)
:arrow_down:

.../Services/DataUpdater/TransactionListUpdater.swift
36.36% <0.00%> (-2.10%)
:arrow_down:

Lightning/Services/Misc/LightningNodeURI.swift
84.61% <0.00%> (-2.06%)
:arrow_down:

... and 176 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #328 (2df060d) into master (efa92e2) will decrease coverage by 3.94%.
The diff coverage is n/a.

:exclamation: Current head 2df060d differs from pull request most recent head 24c8333. Consider uploading reports for the commit 24c8333 to get more accurate results

@@            Coverage Diff            @@
##           master    #328      +/-   ##
=========================================
- Coverage   10.79%   6.84%   -3.95%
=========================================
  Files         247     233      -14
  Lines        9803    8396    -1407
=========================================
- Hits         1058     575     -483
+ Misses       8745    7821     -924

Impacted Files
Coverage Δ

Lightning/QrCodes/BTCPayQRCode.swift
46.15% <0.00%> (-10.10%)
:arrow_down:

Lightning/Invoice/LightningInvoiceURI.swift
71.42% <0.00%> (-5.05%)
:arrow_down:

Lightning/Services/LightningService.swift
60.31% <0.00%> (-3.97%)
:arrow_down:

Lightning/Services/ChannelService.swift
31.66% <0.00%> (-2.71%)
:arrow_down:

Lightning/Services/HistoryService.swift
75.47% <0.00%> (-2.12%)
:arrow_down:

Lightning/Services/Misc/LightningNodeURI.swift
84.61% <0.00%> (-2.06%)
:arrow_down:

...hentication/View Models/InputNumberFormatter.swift
90.47% <0.00%> (-1.08%)
:arrow_down:

...ning/Services/DataUpdater/ChannelListUpdater.swift
80.95% <0.00%> (-0.87%)
:arrow_down:

Lightning/Services/InfoService.swift
80.59% <0.00%> (-0.84%)
:arrow_down:

Lightning/Invoice/BitcoinInvoice.swift
94.87% <0.00%> (-0.37%)
:arrow_down:

... and 184 more

Continue to review full report at Codecov.

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


Added JetBrains WebStorm version 2020.3.2.

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

Microsoft Reviewers: Open in CodeFlow

This doesn’t 404 for me either.

This doesn’t 404 for me either.

/azp run

/azp run


move n_reverted_steps addition out of calculate_tx_resources

This change is

crates/blockifier/src/transaction/account_transaction.rs line 503 at r1 (raw file):
Previously, Yoni-Starkware (Yoni) wrote…
Use constants::N_STEPS_RESOURCE.to_string()

Done.


Added compressToCustom and decompressFromCustom function

as discussed in / (maybe) useful for

#169
#90
#165
#180
#182

It basically works similar to ...Uint8Array(), first compressing everything and then figuring out, how the UTF-16 characters can be stored with the provided dictionary(-string).
I couldn't make the _compress/_decompress route work, because the custom dictionary length is often not 2^something, so _decompress wouldn't work (or _compress would only use a subset of the provided characters).

Can this be updated to the new split file version - should be relatively easy to do - testing is getting improvements but the basic pattern is in there!

Yes, looking into it. Hopefully this weekend.

Hey, I hope this will work for you.

Only thing blocking this is getting the tests to use the same boilerplate as elsewhere - trying to figure out how to add this to the commandline code (still working on that so don't worry about adding it yourself!)

I didn't use runTestSet because I don't know how to deal with the second parameter for the custom function (the custom dictionary). The "lazy" way would be to give them a default custom dictionary, then runTestSet could be used as is.

I didn't use runTestSet because I don't know how to deal with the second parameter for the custom function (the custom dictionary). The "lazy" way would be to give them a default custom dictionary, then runTestSet could be used as is.

I've replied on the thread, hopefully it makes more sense now :-)

Also note that we've got a consistent license header on all other files now, can you add that to your new ones :-)

Next try. Hopefully it works now. Found a missing typing for compressToCustom. Seems like TypeScript and testing is useful after all.
I tried to create a test case with an 13-character heterogram (unproblematic), but then the tests "Repeating String" and "Long String" fail, because the "compressed" string is longer than the original string. The custom dictionary has to have at least 16 chars to pass these tests.
Just FYI, for the testing it is not important.

The size test is probably not important - I'm moving over to only testing known output and making sure that the raw data is hashed and known correct - should have that merged later tonight, which will give us a better testing base :-)

Sorry, I am a little bit confused. How to use this modification? I thought it added compressToCustom and decompressFromCustom to the lib, but I just installed it, and these functions don't exist.

@marwan-nwh How did you install it? v2 (that this is part of) is not currently released to npm so you need to install manually.

@marwan-nwh How did you install it? v2 (that this is part of) is not currently released to npm so you need to install manually.

Got it, thanks!

Can you elaborate on the found problem? Anything I can do to help?

@HelloLudger I've created a draft PR with more detail and an easier way to test it - https://github.com/pieroxy/lz-string/pull/200 - hope that helps!


Vox names, species prototype cleanup, some cosmetic changes

About the PR
(No significant gameplay changes, no oxygen toxicity. Species still not enabled)
Cleanup of the vox species prototype

some unnecessary components removed
sprite layering definitions removed. Turns out, the inherited defaults are at this point much better than the stuff that was manually entered who knows how long ago. And they don't have anything yet that requires custom settings)

Unique typing indicator (did you notice that their head kinda looks like a speech bubble? Now you do)
Claw attack instead of punching
speech sounds for say, ask and exclaim (If someone can make better ones, be my guest)
Sound for laughing. Scream sound assigned to scream so it no longer plays on EVERY emote
speech verb. instead of "say", they screech, shriek and croak
Ammonia blood with its own color and description. Currently cosmetic only, no reactions or feature changes
They no longer have biological sexes (similar to Arachnids)
Vox naming scheme

2761 stylistically consistent but not completely unreadable vox names
They only have firstname, so this is less variance than the combinations other species get
Every autogenerated vox name follows certain patterns regarding what syllables can be used, with chances to repeat the last syllable
Their names never exceed 16 characters and there is an effort to limit long unreadable "kikikikikiki" patterns
The idea is that while they are still vanishingly unlikely to get assigned identical names, they might very well get SIMILAR names that shorten to the same nicknames they are likely to be assigned (based on their first or last syllables). This is a skill issue, skrek.

Media
(No sprites were updated but it turns out the jumpskirts mask the forward-tilted legs much better)
Current sprite layering

PR, Inherited sprite layering

Noises and indicator

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

very based


[Documentation] getApiLevel returns -1 in iOS

Description
Added -1 as a return value for iOS for the getAPILevel function
The ? in the documentation is a bit misleading. I thought I would get null or undefined. When I checked it was -1. I think it is good to document it in the API documentation if iOS has consistent return value for this function.
Checklist

[x] I have tested this on a device/simulator for each compatible OS
[x] I added the documentation in README.md
[ ] I mentioned this change in CHANGELOG.md
[ ] I updated the typings files (privateTypes.ts, types.ts)
[ ] I added a sample use of the API (example/App.js)

oh, I didn't see this. Thank you for clarification.


New PR to test SignCLA at 2020-03-09 15:09:38.866986871 -0700 PDT m=+3.536080509

Body of PR

corp-pass-staging: test succeeded


StreamProvider.CreateStreamAsync(torrentFile) Method is Throw,  <System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: index>  When TorrentFileSize bigger than 2GB.

i want to play video with torrent streaming,  i try using monotorrent version(1.0.24) in Unity(2019.3.0f6)
but i have a some problem...  because,
i have same Exception when i try use StreamProvider.CreateStreamAsync(file) Method. in this issue.
https://github.com/alanmcgovern/monotorrent/issues/294
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: index
this my usage case,

and i can get this stacktrace

here is Exception Point.

i think, TorrentFile size have a relation this exception.
TorrentFile size < 2GB,  it works!
but
TorrentFile size > 2GB,  i can see this System.ArgumentOutOfRangeException.
my english is bad, sorry,
but if you check this problem, thankyou so much!

Hi,
I believe this issue has been addressed in https://github.com/alanmcgovern/monotorrent/tree/metadata-mode-improvements. These two combined should be the fix: https://github.com/alanmcgovern/monotorrent/commit/c9b7377502e72218ff73678be093b88998513ef8#diff-81a55598703353f44612cc2a35222b1aR109-R110 and https://github.com/alanmcgovern/monotorrent/commit/c9b7377502e72218ff73678be093b88998513ef8#diff-5f29ff3ec3fd1105dda333f64713f274R251 .
I got distracted and never finalised/landed those changes. If you're compiling monotorrent from source, could you try that branch and see if it allows you to watch that video? Otherwise i can finalise and merge this in the not-too-distant future.

https://github.com/alanmcgovern/monotorrent/tree/metadata-mode-improvements.
i applied this branch codes,  it work on TorrentFile size > 2GB ! nice !

Hello @wizard872 could you also publish this fix to nuget gallery.

Hello @wizard872 could you also publish this fix to nuget gallery.

Hello @wizard872 could you also publish this fix to nuget gallery. Because I have the same problem v 1.028

@alanmcgovern   umm... not completed this problem. maybe need check the 1.0.28 versions?

Hello @wizard872 could you also publish this fix to nuget gallery. Because I have the same problem v 1.028

@alanmcgovern   umm... not completed this problem. maybe need check the 1.0.28 versions?

I am sorry ) I meant @alanmcgovern

I am sorry ) I meant @alanmcgovern


Question: Any viable alternative to SCN_AUTOCSELECTIONCHANGE?

As I assume you’re aware, Scintilla 4.0.x added support for the SCN_AUTOCSELECTIONCHANGE notification, which is basically the only event we’re missing to implement true, generic Intellisense with the built-in AutoComplete box and a separate formatted tooltip.  I have done some initial work (Win32 only) getting the window rect and selected item offset in the AutoComplete box to display properly aligned tooltips, but I can’t detect when the selected item changes due to user interaction via arrow keys, and I can’t override WndProc to catch LBN_SELCHANGE, since the ScintillaNET wrapper control doesn’t actually process the messages.  Do you have any thoughts about whether we’ve got any reasonable options prior to ScintillaNET being updated to wrap the 4.x release and API?
Sorry if this feels like a duplicate of #354.  Feel free to close this if it is (or if it’s not), but I’m curious whether anyone has ideas about a workaround in the meantime.  Thanks for your work on this wrapper.  My experience so far, albeit limited, has been an absolute dream.

Hmm, based on the lack of support (in Scintilla, not ScintillaNET) for filtering down the autocomplete list as the user types.  I think this is a case where I'll need to implement the AutoComplete functionality from scratch in addition to the tooltips.  I'll go ahead and close this one, although add a plus one from me regarding the updating the wrapper to Scintilla 4.0.

@billybooth You could use a third party autocomplete library if you don't want to do it all from scratch.
https://github.com/Ahmad45123/AutoCompleteMenu-ScintillaNET
This is a scintillanet wrapper I made for a nice one I found on codeproject.
It's also available via NuGET 👍

Thanks @Ahmad45123, LGPL is off the table for me, since I’d need to integrate it.


Revert "Melsumner/issue 378"

Reverts ember-a11y/ember-a11y-refocus#379
Merged it to main to try to troubleshoot an issue, but still not sure this is the correct fix, so creating a PR to revert.

Reviewed and we think it will work.


Google Colab. vs Binder

Pros, Cons and tests.

https://www.dataschool.io/cloud-services-for-jupyter-notebook/
Check out the above post which does an in depth comparison between the two.
What I see is that both are very similar and we do not need to worry about up times at the scales in which we are operating(~100 users). People seem to be teaching entire classes and workshops using binder pretty easily.
In terms of ease of use the things that you may consider.

Binder uses plain old Jupyter. Collab has a different interface. So, if you expect that people will be already familiar with jupyter then, Binder might be the more user friendly option.
Collab works via google drive and hence collaborating is very easy (just like google docs). The notebooks are automatically version controlled and synced to google drive. This might be a useful thing for us.

The blog post above goes in to more things so feel free to check it out @michaelJwilson

We're deep enough into Jupyter and Binder that this ship has sailed.


Updated vocabs not being pushed to Geoprops as they should be

I notice that geoproperties PROD still recognises Hyperspectral Scan as a valid sample type despite it recently being deleted from the vocabulary. The commit in the vocab patch branch has been merged to master, so it seems that either Prez and/or the Geoprops server have not been refreshed.
This issue seems to pop up quite regularly, telling me that the procedure either isn't being followed or that it doesn't exist.
How can we better align the vocab PR-commit-merge procedure (seems to be working fine) with the last two steps to update the graph DB/Prez (I thought Edmond automated this recently, no?) and then the SRA service request to refresh the Geoprops server (manual step I think).

Moved to GSD-480 for resolution


Added ESP32 IDF v4.3 error 'reason' codes

Added missing ESP32 'disconnect reason' error codes 25-68 and 206-209

Nice! I didn't know the SW end actually used these for something, I only see them in the serial debug output.

I actually don't know if these show up in command responses from the firmware, but since I had some of them, I figured I might as well keep it current. For the future, if nothing else.


Merge 11 ➡ main

11 ➡ main forward port
Port sdf11 to main
Branch comparison: https://github.com/ignitionrobotics/sdformat/compare/main...sdf11
I manually copied the changes from #715 to sdf/1.9/model.sdf in https://github.com/ignitionrobotics/sdformat/commit/9778bd1d3161fe2ec47dd12e4c84949b55c99abe
Note to maintainers: Remember to Merge with commit (not squash-merge or rebase)

Codecov Report

Merging #723 (46e426c) into main (cbb2b22) will increase coverage by 0.00%.
The diff coverage is 100.00%.

:exclamation: Current head 46e426c differs from pull request most recent head 9778bd1. Consider uploading reports for the commit 9778bd1 to get more accurate results

@@           Coverage Diff           @@
##             main     #723   +/-   ##
=======================================
  Coverage   88.20%   88.20%
=======================================
  Files          76       76
  Lines       11417    11424    +7
=======================================
+ Hits        10070    10077    +7
  Misses       1347     1347

Impacted Files
Coverage Δ

src/Converter.cc
93.19% <100.00%> (+0.09%)
:arrow_up:

Continue to review full report at Codecov.

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


Requesting HTTPS support for CDN

For example this page
https://leaflet.github.io/Leaflet.markercluster/example/marker-clustering-realworld.388.html
Uses leaflet CDN but looks like this for me:

Because Chrome refuses to load insecure content from leaflet CDN

Not feasible right now for cdn.leafletjs.com. We should recommend using https://cdnjs.com/libraries/leaflet for this case.


NUMBERS-40: Review exception usage in package "o.a.c.numbers.gamma"

Modified "GammaException" to be a subclass of "ArithmeticException" instead of "IllegalArgumentException".
Modified the test assertions to expect for "GammaException"s instead of "IllegalArgumentException"s.

Coverage remained the same at 83.124% when pulling aadb0f0962a76264c7d8607453f6495e432a89d5 on tharakadesilva:desilva/develop into c2bfc4fbf8fe325eaf254c37128948b7644e5687 on apache:master.


Data graph and GitHub service investigation and work breakdown

create bullet points and rough sizings for the two new services that are coming.
create low-level design of how web app interacts with the data graph service

#521 #472


python3.pkgs.ninja-python: replace with a stub implementation

Description of changes
This maps to the ninja package on PyPI, which downloads ninja from the web. This was packaged in https://github.com/NixOS/nixpkgs/pull/243967.
@999eagle, @SuperSandro2000 I would like to replace that implementation with a stub that directly uses ninja in nixpkgs. This capability was requested by @FRidh in https://github.com/scikit-build/ninja-python-distributions/issues/127 – however upstream would like to delegate this capability to PEP 517 backends.
Only certain backends support this out-of-the-box, such as scikit-build-core and (maybe) meson-python. Notably, some projects are still using the older scikit-build, which does not support this. This impacts https://github.com/NixOS/nixpkgs/pull/245509 because the way I have set up build does dependency validation and those projects either need to include this ninja package (picking up its version of ninja) or we need to patch their pyproject.toml.
Hence, I'd like to stub out this package and converge on using just the single ninja program provided in nixpkgs.
If this sounds reasonable, I'd also like some opinions on whether it's worth changing the name of this package to just ninja. On the one hand, duplicate names can be confusing. On the other hand, it could also be confusing to someone building a Python package and reading the pyproject.toml that they need to use ninja-python instead of simply ninja.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[x] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

I also went ahead and optimistically renamed ninja-python to ninja so it can be a transparent shim to Python packages. My sense is that is how most Python packages receive ninja and, if this works, it will require less work to get dependency validation passing in the new Python bootstrapping process.

I think I figured out how to do this properly. We don't need to propagate the original tool in the PATH. We only need to:

Define entry points that call into the stubs which wrap the tools. I didn't realize initially that this was how it worked.
Inherit the setup hooks from the parent package.

I believe python2 is broken by this PR; it lands on master via https://github.com/NixOS/nixpkgs/pull/248496, and I can get python2 to build on its parent but afterward, not anymore. Maybe it's time to give up python2 and mark it as broken...

Can you share the command you're running? I will try to build Python 2 in a little bit, but the reason I ask is because this doesn't seem connected to Python 2 itself but perhaps some package that is using it? Were you building nixops and it passed before but fails after?

I believe python2 is broken by this PR; it lands on master via #248496, and I can get python2 to build on its parent but afterward, not anymore. Maybe it's time to give up python2 and mark it as broken...

It builds fine on both master and staging-next.

Hey sorry for the lack of details; the direct failure is always from flit-core; I was not building nixops myself but actually gimp with python2, and observe almost identical errors; build log excerpt:
error: builder for '/nix/store/1px104l2nbjb0v88fzcqdk21w2l0k1cq-python2.7-flit-core-3.9.0.drv' failed with exit code 2;
       last 10 log lines:
       >     backend=self.pep517_backend,
       >   File "/nix/store/vm2917jk0jsbanpkl9z74fflz1achliq-python2.7-pip-20.3.4/lib/python2.7/site-packages/pip/_internal/operations/build/metadata.py", line 35, in generate_metadata
       >     metadata_dir
       >   File "/nix/store/vm2917jk0jsbanpkl9z74fflz1achliq-python2.7-pip-20.3.4/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.py", line 196, in prepare_metadata_for_build_wheel
       >     '_allow_fallback': _allow_fallback,
       >   File "/nix/store/vm2917jk0jsbanpkl9z74fflz1achliq-python2.7-pip-20.3.4/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.py", line 284, in _call_hook
       >     raise BackendUnavailable(data.get('traceback', ''))
       > BackendUnavailable
       > Removed file:///build/source/flit_core from build tracker '/build/pip-req-tracker-M2uOIa'
       > Removed build tracker: '/build/pip-req-tracker-M2uOIa'
       For full logs, run 'nix log /nix/store/1px104l2nbjb0v88fzcqdk21w2l0k1cq-python2.7-flit-core-3.9.0.drv'.
error: 1 dependencies of derivation '/nix/store/xc2v165ls7kpp1ghds77qr9jirikalf0-python2.7-ninja-1.11.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/6pzzyhf0q3hi8im0pbq2l9mzvc05x9n5-python2.7-pycairo-1.18.2.drv' failed to build
error: 1 dependencies of derivation '/nix/store/w7c5pp51sax64b9b8j8xd9272l8z73pl-python-<IP_ADDRESS>-env.drv' failed to build
error: 1 dependencies of derivation '/nix/store/cci2flclhx9fw9zb3afdkg5j4r1b78zj-gimp-2.10.34.drv' failed to build
error: 1 dependencies of derivation '/nix/store/n0kvgsdzjm4p1x0ll7is5ax84rnqhicr-user-drv-overlays.drv' failed to build

However, the commit history of flit-core is rather benign, and I cannot figure out why it failed; after traversing the dependency tree it seems that this commit seems like the only major change that might contribute to the failure. I am no expert in python though; so this might be wrong...

I believe python2 is broken by this PR; it lands on master via #248496, and I can get python2 to build on its parent but afterward, not anymore. Maybe it's time to give up python2 and mark it as broken...

It builds fine on both master and staging-next.

Ah my bad, it should be python2.7-flit-core which is a dependency of python-<IP_ADDRESS>-env, I missed the env part... Sorry for the misleading information...

This makes sense to me! I'll see what I can do to fix it.

I think I roughly understand what happened now: the only reason that reverting this PR works for me is because here flit-core is introduced as a build dependency. It may be that python2.7-flit-core has been failing forever, but I wouldn't notice that because it never entered my dependency tree before. So yeah, the culprit should be flit-core all along, but I dismissed it too early... So ninja-python is fine on its own!

I opened https://github.com/NixOS/nixpkgs/pull/251548 to undo this change on Python 2 and buy myself some time to think about how to make this better.

Wow, awesome! Thank you very much for the help!


The license model error

Dear TotalSegmentator community,
For the license model, I can only use this part: heartchambers_highres

but the other four part: appendicular_bones, tissue_types, vertebrae_body, face give the subsequent error:

Best,
Jerry

It seems that the background worker died. Maybe it ran out of memory because your image is very big. Have you tried with a smaller image?


provided missing configuration parameter

the configuration is missing 'knownAuthorities' attribute which is required for Azure AD B2C
Without the attribute, the login into the B2C account fails.

@yaplex : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

#please-close


This PR fixes that issue and add a couple of tests to detect similar regressions in the future.
Kudos to @t0mpere, who reports the issue in https://github.com/apache/pinot/issues/11745

In 08f0419 I've added a test that should have not been added. It was a test related to https://github.com/apache/pinot/pull/11753 that has nothing to do with this PR.
It has been removed in 263fe75

Codecov Report

Merging #11784 (263fe75) into master (7124a03) will decrease coverage by 48.72%.
Report is 7 commits behind head on master.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master   #11784       +/-   ##
=============================================
- Coverage     63.11%   14.40%   -48.72%
+ Complexity     1117      201      -916
=============================================
  Files          2342     2343        +1
  Lines        125996   126312      +316
  Branches      19378    19421       +43
=============================================
- Hits          79528    18195    -61333
- Misses        40804   106576    +65772
+ Partials       5664     1541     -4123

Flag
Coverage Δ

integration
?

integration1
?

integration2
?

java-11
?

java-17
14.40% <0.00%> (-48.56%)
:arrow_down:

java-20
14.40% <0.00%> (-48.58%)
:arrow_down:

temurin
14.40% <0.00%> (-48.72%)
:arrow_down:

unittests
14.40% <0.00%> (-48.71%)
:arrow_down:

unittests1
?

unittests2
14.40% <0.00%> (-0.07%)
:arrow_down:

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

Files
Coverage Δ

.../local/segment/index/forward/ForwardIndexType.java
0.00% <0.00%> (-91.08%)
:arrow_down:

... and 1523 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Bring release branch 0.4 up to date

I accidentaly created a 0.4 release branch for the last release. Since release branches cannot be deleted, I just bring the release branch up-to-date with the recent changes. Also includes the version bump.

Codecov Report
Attention: 36 lines in your changes are missing coverage. Please review.

Comparison is base (0b663bc) 91.89% compared to head (8af89d5) 92.11%.

Files
Patch %
Lines

src/ansys/dpf/composites/_indexer.py
84.90%
8 Missing :warning:

...rc/ansys/dpf/composites/example_helper/__init__.py
50.00%
7 Missing :warning:

src/ansys/dpf/composites/data_sources.py
77.77%
6 Missing :warning:

src/ansys/dpf/composites/_composite_model_impl.py
95.34%
4 Missing :warning:

src/ansys/dpf/composites/layup_info/_layup_info.py
91.66%
3 Missing :warning:

...mposites/server_helpers/_upload_files_to_server.py
78.57%
3 Missing :warning:

...sys/dpf/composites/_composite_model_impl_2023r2.py
77.77%
2 Missing :warning:

...rc/ansys/dpf/composites/_sampling_point_helpers.py
83.33%
1 Missing :warning:

src/ansys/dpf/composites/ply_wise_data.py
97.56%
1 Missing :warning:

...ites/server_helpers/_connect_to_or_start_server.py
66.66%
1 Missing :warning:

Additional details and impacted files
@@               Coverage Diff               @@
##           release/0.4     #429      +/-   ##
===============================================
+ Coverage        91.89%   92.11%   +0.21%
===============================================
  Files               47       49       +2
  Lines             2987     3298     +311
===============================================
+ Hits              2745     3038     +293
- Misses             242      260      +18

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


panic: ValidatingAdmissionWebhook [virt-api-validator] is already registered using services endpoints in a different namespace. Existing webhook registration must be deleted before virt-api can proceed.

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:
/kind bug
/kind enhancement

What happened:
when i create virt-api ,that's the log .it seems something that are not cleaned up.how can i clean it . By  the way  i also want to know how to get root password for a vm.thanks.
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

KubeVirt version (use virtctl version):
Kubernetes version (use kubectl version):
VM or VMI specifications:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

error: unable to retrieve the complete list of server APIs: subresources.kubevirt.io/v1alpha2: the server is currently unable to handle the request, subresources.kubevirt.io/v1alpha3: the server is currently unable to handle the request

Hey. Let's try to sort things out...

when i create virt-api

What exactly are you trying to do?

something that are not cleaned up

Did you uninstall KubeVirt? How? What version?

how to get root password for a vm

Which VM?

list of server APIs: subresources.kubevirt.io/v1alpha2

v1alpha2 is really old... Can you provide some more context on your env please?

Hey. Let's try to sort things out...

when i create virt-api

What exactly are you trying to do?

something that are not cleaned up

Did you uninstall KubeVirt? How? What version?

how to get root password for a vm

Which VM?

list of server APIs: subresources.kubevirt.io/v1alpha2

v1alpha2 is really old... Can you provide some more context on your env please?

sorry,i will  be careful next time .thanks for your reply.some env list:
k8s 1.3.4
centos 7.3
kubevirt 0.14

Oh wow, that's all quite old. I'm tempted to recommend to set up a new server :wink:
However, we have a PR open for the user guide with a script which should remove everything. I hope this helps :slightly_smiling_face:
https://github.com/kubevirt/user-guide/pull/287/files

Oh wow, that's all quite old. I'm tempted to recommend to set up a new server 😉
However, we have a PR open for the user guide with a script which should remove everything. I hope this helps 🙂
https://github.com/kubevirt/user-guide/pull/287/files

thanks.hope you all good .


fix: Apply operator spacing to Unicode ∙ ∘ ∖

Apply operator spacing to the Unicode equivalents of \circ, \setminus, and \bullet.
Fixes #3578

All set now!


NodeJS14 Support

Getting:
...has an unsupport Runtime. Must be nodejs10.x or nodejs12.x
I noticed that master has support for nodejs14. Is this planned for release? Would be great to have it since Lambdas are now commonly on the Nodejs14.x runtime.

Nevermind saw the releases post-latest and upgraded. Thanks!


How to add material-ui?

Hi,
I want to use a component library and grid system, so material-ui seems my best bet for a reactjs website, I tried added it in the obvious way and it completely broken the boilerplate.
Is there a process I should go through, or a guide somewhere I can follow?
Many thanks

This is how I've managed to do it:

Remove any reference to sanitize.css, styled-components and babel-plugin-styled-components on package.json (dependencies list and babel plugins)
npm install material-ui@next --save
npm install typeface-roboto --save and  replace the whole content of /app/global-styles.js with import 'typeface-roboto/index.css';
npm install @material-ui/icons --save for icons
Alternatively, materialIcons and Roboto font could be imported from index.html as:

    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500">
    <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">

replace import 'sanitize.css/sanitize.css'; with import CssBaseline from 'material-ui/CssBaseline'; and add it next to the App's store Provider, like this:

      <CssBaseline />
      <Provider store={store}>
        <LanguageProvider messages={messages}>
          <ConnectedRouter history={history}>
            <App />
          </ConnectedRouter>
        </LanguageProvider>
      </Provider>

,

Add a app/utils/theme.js and customize your theme. Then wrap your application with it:

// app/app.js
// Import Theme
import theme from 'utils/theme';
import { MuiThemeProvider } from 'material-ui/styles';
...

      <CssBaseline />
      <Provider store={store}>
        <LanguageProvider messages={messages}>
          <ConnectedRouter history={history}>
            <App />
            <MuiThemeProvider theme={theme}>
              <App />
            </MuiThemeProvider>
          </ConnectedRouter>
        </LanguageProvider>
      </Provider>

Don't forget to run npm i after changing your dependencies, so webpack regenerates its dlls. ;)

I think this should be added to the FAQ somwehere, the guide was excellent.


Runner pod ephemerality with emptyDir

Hi there,
I am in the process of implementing the operator in our k8s cluster, and everything has been great and straight forward so far.
I just have a question around ephemerality of the pods. I have tried using the myoung34 derivate of the container image and passing the EPHEMERAL env var through, and this does seem to restart the runner container which is great however it does not restart the pod, which means the emptyDir volumes don't get recreated and persist on the cluster node.
Using the myoung34 derivate also doesn't seem to work with the runner reconciliation meaning that the autoscaling isn't working for me right now using the derivate, here are some logs when using the derivate:
2022-08-31T11:50:17.994Z	INFO	controllers.GithubActionRunner	Registration token expired, updating	{"githubactionrunner": "github-actions-runner-operator/runner-poolsandbox"}
2022-08-31T11:50:18.236Z	INFO	controllers.GithubActionRunner	Unregistering runner	{"githubactionrunner": "github-actions-runner-operator/runner-poolsandbox", "name": "runner-poolsandbox-pod-hh2bv", "id": 9895}
2022-08-31T11:50:18.613Z	INFO	controllers.GithubActionRunner	Reconciling GithubActionRunner	{"githubactionrunner": "github-actions-runner-operator/runner-poolsandbox"}
2022-08-31T11:50:18.843Z	INFO	controllers.GithubActionRunner	Scaling up	{"githubactionrunner": "github-actions-runner-operator/runner-poolsandbox", "numInstances": 1}
2022-08-31T11:50:18.868Z	INFO	controllers.GithubActionRunner	Creating a new Pod	{"githubactionrunner": "github-actions-runner-operator/runner-poolsandbox", "Pod.Namespace": "github-actions-runner-operator", "Pod.Name": "runner-poolsandbox-pod-9ll4b", "result": "created"}
2022-08-31T11:50:18.869Z	DEBUG	events	Normal	{"object": {"kind":"GithubActionRunner","namespace":"github-actions-runner-operator","name":"runner-poolsandbox","uid":"0f373e1e-2712-45ea-9a1a-d7dc974533f7","apiVersion":"garo.tietoevry.com/v1alpha1","resourceVersion":"1775143"}, "reason": "Scaling", "message": "Created pod github-actions-runner-operator/runner-poolsandbox-pod-9ll4b"}
2022-08-31T11:50:18.876Z	DEBUG	events	Warning	{"object": {"kind":"GithubActionRunner","namespace":"github-actions-runner-operator","name":"runner-poolsandbox","uid":"0f373e1e-2712-45ea-9a1a-d7dc974533f7","apiVersion":"garo.tietoevry.com/v1alpha1","resourceVersion":"1775143"}, "reason": "ProcessingError", "message": "Operation cannot be fulfilled on githubactionrunners.garo.tietoevry.com \"runner-poolsandbox\": the object has been modified; please apply your changes to the latest version and try again"}
2022-08-31T11:50:18.884Z	ERROR	util.api	unable to update status	{"error": "Operation cannot be fulfilled on githubactionrunners.garo.tietoevry.com \"runner-poolsandbox\": the object has been modified; please apply your changes to the latest version and try again"}
github.com/evryfs/github-actions-runner-operator/controllers.(*GithubActionRunnerReconciler).manageOutcome
	/workspace/controllers/githubactionrunner_controller.go:181
github.com/evryfs/github-actions-runner-operator/controllers.(*GithubActionRunnerReconciler).handleScaling
	/workspace/controllers/githubactionrunner_controller.go:137
github.com/evryfs/github-actions-runner-operator/controllers.(*GithubActionRunnerReconciler).Reconcile
	/workspace/controllers/githubactionrunner_controller.go:97
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.10.2/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.10.2/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.10.2/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.10.2/pkg/internal/controller/controller.go:227
2022-08-31T11:50:18.884Z	ERROR	controller.githubactionrunner	Reconciler error	{"reconciler group": "garo.tietoevry.com", "reconciler kind": "GithubActionRunner", "name": "runner-poolsandbox", "namespace": "github-actions-runner-operator", "error": "Operation cannot be fulfilled on githubactionrunners.garo.tietoevry.com \"runner-poolsandbox\": the object has been modified; please apply your changes to the latest version and try again"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.10.2/pkg/internal/controller/controller.go:227
2022-08-31T11:50:18.884Z	INFO	controllers.GithubActionRunner	Reconciling GithubActionRunner	{"githubactionrunner": "github-actions-runner-operator/runner-poolsandbox"}
2022-08-31T11:50:19.118Z	INFO	controllers.GithubActionRunner	Pods and runner API not in sync, returning early	{"githubactionrunner": "github-actions-runner-operator/runner-poolsandbox"}
2022-08-31T11:50:19.131Z	INFO	controllers.GithubActionRunner	Reconciling GithubActionRunner	{"githubactionrunner": "github-actions-runner-operator/runner-poolsandbox"}
2022-08-31T11:50:19.460Z	INFO	controllers.GithubActionRunner	Pods and runner API not in sync, returning early	{"githubactionrunner": "github-actions-runner-operator/runner-poolsandbox"}
2022-08-31T11:50:19.469Z	ERROR	util.api	unable to update status	{"error": "Operation cannot be fulfilled on githubactionrunners.garo.tietoevry.com \"runner-poolsandbox\": the object has been modified; please apply your changes to the latest version and try again"}
github.com/evryfs/github-actions-runner-operator/controllers.(*GithubActionRunnerReconciler).manageOutcome
	/workspace/controllers/githubactionrunner_controller.go:181
github.com/evryfs/github-actions-runner-operator/controllers.(*GithubActionRunnerReconciler).handleScaling
	/workspace/controllers/githubactionrunner_controller.go:122
github.com/evryfs/github-actions-runner-operator/controllers.(*GithubActionRunnerReconciler).Reconcile
	/workspace/controllers/githubactionrunner_controller.go:97
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.10.2/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.10.2/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.10.2/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.10.2/pkg/internal/controller/controller.go:227
2022-08-31T11:50:19.469Z	ERROR	controller.githubactionrunner	Reconciler error	{"reconciler group": "garo.tietoevry.com", "reconciler kind": "GithubActionRunner", "name": "runner-poolsandbox", "namespace": "github-actions-runner-operator", "error": "Operation cannot be fulfilled on githubactionrunners.garo.tietoevry.com \"runner-poolsandbox\": the object has been modified; please apply your changes to the latest version and try again"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.10.2/pkg/internal/controller/controller.go:227
2022-08-31T11:50:19.474Z	INFO	controllers.GithubActionRunner	Reconciling GithubActionRunner	{"githubactionrunner": "github-actions-runner-operator/runner-poolsandbox"}
2022-08-31T11:50:19.705Z	INFO	controllers.GithubActionRunner	Pods and runner API not in sync, returning early	{"githubactionrunner": "github-actions-runner-operator/runner-poolsandbox"}
2022-08-31T11:51:19.716Z	INFO	controllers.GithubActionRunner	Reconciling GithubActionRunner	{"githubactionrunner": "github-actions-runner-operator/runner-poolsandbox"}
2022-08-31T11:51:19.949Z	INFO	controllers.GithubActionRunner	Pods and runner API not in sync, returning early	{"githubactionrunner": "github-actions-runner-operator/runner-poolsandbox"}
2022-08-31T11:52:19.963Z	INFO	controllers.GithubActionRunner	Reconciling GithubActionRunner	{"githubactionrunner": "github-actions-runner-operator/runner-poolsandbox"}
2022-08-31T11:52:20.190Z	INFO	controllers.GithubActionRunner	Pods and runner API not in sync, returning early	{"githubactionrunner": "github-actions-runner-operator/runner-poolsandbox"}
2022-08-31T11:53:20.203Z	INFO	controllers.GithubActionRunner	Reconciling GithubActionRunner	{"githubactionrunner": "github-actions-runner-operator/runner-poolsandbox"}
2022-08-31T11:53:20.434Z	INFO	controllers.GithubActionRunner	Pods and runner API not in sync, returning early	{"githubactionrunner": "github-actions-runner-operator/runner-poolsandbox"}
2022-08-31T11:54:20.450Z	INFO	controllers.GithubActionRunner	Reconciling GithubActionRunner	{"githubactionrunner": "github-actions-runner-operator/runner-poolsandbox"}
2022-08-31T11:54:20.684Z	INFO	controllers.GithubActionRunner	Pods and runner API not in sync, returning early	{"githubactionrunner": "github-actions-runner-operator/runner-poolsandbox"}
2022-08-31T11:55:20.702Z	INFO	controllers.GithubActionRunner	Reconciling GithubActionRunner	{"githubactionrunner": "github-actions-runner-operator/runner-poolsandbox"}
2022-08-31T11:55:20.935Z	INFO	controllers.GithubActionRunner	Pods and runner API not in sync, returning early	{"githubactionrunner": "github-actions-runner-operator/runner-poolsandbox"}
2022-08-31T11:56:20.954Z	INFO	controllers.GithubActionRunner	Reconciling GithubActionRunner	{"githubactionrunner": "github-actions-runner-operator/runner-poolsandbox"}
2022-08-31T11:56:21.209Z	INFO	controllers.GithubActionRunner	Pods and runner API not in sync, returning early	{"githubactionrunner": "github-actions-runner-operator/runner-poolsandbox"}

When I have been running some tests using the master image, it seems that the behaviour is:

Scale pod up
Schedule workload on pod
Scale up additional pod to pick up work
Remove original pod once work is complete and no jobs are pending
Additional pod remains waiting to pick up work

This is great if we don't have many jobs waiting to be processed however sometimes we have 10s of jobs waiting to be processed and don't want to run the risk of running out of disk space on our cluster nodes. We are looking at implementing karpenter in the future to handle the scaling of cluster nodes but don't have the time right now to do so.
Is there a way right now to make the master image behave in an ephemeral way by recreating the pod and emptyDirs when the job has finished?
Thanks in advance

The right way to have ephemeral pods is to use the ephemeral flag on the pod: https://github.com/myoung34/docker-github-actions-runner#environment-variables - these pod will then start up, run their job, and after they finish they should get into status Completed and eventually deleted.
to control the scaling (and thus avoid running out of resources, you set the:
 maxRunners: 18
minRunners: 0

fields in the CR.

Hi @davidkarlsen, thanks for your response.
I have the scaling configured in my deployment, and it works fine when using the quay.io/evryfs/github-actions-runner:myoung34-derivate image. Here is my deployment file:
apiVersion: garo.tietoevry.com/v1alpha1
kind: GithubActionRunner
metadata:
  name: runner-poolsandbox
  namespace: github-actions-runner-operator
spec:
  minRunners: 1
  maxRunners: 6
  organization: jugo-io
  reconciliationPeriod: 1m
  tokenRef:
    key: GH_TOKEN
    name: actions-runner
  podTemplateSpec:
    metadata:
      annotations:
        prometheus.io/scrape: 'false'
        prometheus.io/port: '3903'
    spec:
      affinity:
        podAntiAffinity:
          preferredDuringSchedulingIgnoredDuringExecution:
            - weight: 100
              podAffinityTerm:
                topologyKey: kubernetes.io/hostname
                labelSelector:
                  matchExpressions:
                    - key: garo.tietoevry.com/pool
                      operator: In
                      values:
                        - runner-poolsandbox
      containers:
        - name: runner
          env:
            - name: RUNNER_DEBUG
              value: 'true'
            - name: DOCKER_TLS_CERTDIR
              value: /certs
            - name: DOCKER_HOST
              value: 'tcp://localhost:2376'
            - name: DOCKER_TLS_VERIFY
              value: '1'
            - name: DOCKER_CERT_PATH
              value: /certs/client
            - name: GH_ORG
              value: jugo-io
            - name: RUNNER_SCOPE
              value: org
            - name: ORG_NAME
              value: jugo-io
            - name: ACCESS_TOKEN
              valueFrom:
                secretKeyRef:
                  name: actions-runner
                  key: GH_TOKEN
            - name: ACTIONS_RUNNER_INPUT_LABELS
              value: sandbox
            - name: LABELS
              value: 'self-hosted,sandbox'
            - name: ACTIONS_RUNNER_INPUT_EPHEMERAL
              value: 'true'
            - name: EPHEMERAL
              value: 'true'
          envFrom:
            - secretRef:
                name: runner-poolsandbox-regtoken
          image: 'quay.io/evryfs/github-actions-runner:myoung34-derivate'
          imagePullPolicy: IfNotPresent
          resources: {}
          volumeMounts:
            - mountPath: /certs
              name: docker-certs
            - mountPath: /home/runner/_diag
              name: runner-diag
            - mountPath: /home/runner/_work
              name: runner-work
        - name: docker
          env:
            - name: DOCKER_TLS_CERTDIR
              value: /certs
          image: 'docker:stable-dind'
          imagePullPolicy: Always
          args:
            - '--mtu=1430'
          resources: {}
          securityContext:
            privileged: true
          volumeMounts:
            - mountPath: /var/lib/docker
              name: docker-storage
            - mountPath: /certs
              name: docker-certs
            - mountPath: /home/runner/_work
              name: runner-work
        - name: exporter
          image: 'quay.io/evryfs/github-actions-runner-metrics:v0.0.3'
          ports:
            - containerPort: 3903
              protocol: TCP
          volumeMounts:
            - name: runner-diag
              mountPath: /_diag
              readOnly: true
      volumes:
        - emptyDir: {}
          name: runner-work
        - emptyDir: {}
          name: runner-diag
        - emptyDir: {}
          name: mvn-repo
        - emptyDir: {}
          name: docker-storage
        - emptyDir: {}
          name: docker-certs

So I have reprovisioned the cluster as there seemed to be some lingering resources with bad configuration breaking things. The runner container is restarting and that seems to clear down the _work directory which is an empty dir so that's fine. The only remaining issue now is that the operator isn't scaling the pods due to the API and the pod count being out of sync.
2022-09-01T13:28:07.304Z	INFO	controllers.GithubActionRunner	Reconciling GithubActionRunner	{"githubactionrunner": "github-actions-runner-operator/runner-poolsandbox"}
2022-09-01T13:28:07.546Z	INFO	controllers.GithubActionRunner	Pods and runner API not in sync, returning early	{"githubactionrunner": "github-actions-runner-operator/runner-poolsandbox"}

I read through the code briefly (not very experienced with go) but looks like its because this isn't returning true: https://github.com/evryfs/github-actions-runner-operator/blob/43c51db96a551d1ccb7650500ed72b6f299d4ff7/controllers/podrunner_types.go#L73-L75
We have one pod running at the moment but I'm wondering if the myoung34 derivate image is missing something potentially which stops the operator being able to reconcile it?

Hi @davidkarlsen any update on this?

@joshrichards37
Only the derivate image support ephemeral runners.
Also make sure you run the latest version of the operator.
Does it work for you then?

@davidkarlsen I am having the same issue, running the myoung34 derivate image, operator isn't recognizing the github runner and not able to scale the runners.


Bug: Set-SFTPFile - Cannot upload large files

Hi I'm trying to upload large files (25GB) to a VMware ESXi 5.5 U3 host. For some reason they just suddenly stop transferring (usually around 11GB) with no error.
I then used WinSCP Powershell Module (http://dotps1.github.io/WinSCP/) to upload the same 25GB file and it worked perfectly.

Uploaded 1.7.5 to the gallery can you test with that version and use the param for not showing progress?

any update?

@darkoperator it appears to be working now. Thank you for resolving the issue.


Please invite me to the community

Name
2div
Additional Context
I found this open-source community while I was searching for open-source project to contribute.
I am looking forward to contributing to the projects.

Invitation sent to join the GitHub Organization. Welcome to Infraform 🎉Please check your mail to accept the invitation sent by GitHub! 🤖About usInfraform is a remarkable open-source solution tailored for serverless platforms, aimed at empowering creators to craft their infrastructure solutions. 💻 We're thrilled to welcome you into our vibrant community! ✨ We eagerly anticipate your valuable contributions! 🤓 Don't forget to explore our community on Github and connect with us on LinkedIn 💜 Feel free to spread the word about our community to like-minded individuals interested in development, DevOps, technology, and collaborative contributions. 👉💜👈