Issues with font kerning on headless chromium + fix

as seen in https://github.com/puppeteer/puppeteer/issues/2410

running mkdocs serve on windows:

running mkdocs build on linux:

running mkdocs build on linux with --font-render-hinting=none:

running mkdocs serve, and viewing it on a browser:

while the windows and the 'fixed' linux pdf do still have kerning difference, looking at the woes of the people before us (https://www.google.com/search?q=bad+font+kerning+on+headless+chrome), this would be considered 'the bare minimum' to fix glaring inconsistent typography issues
the fix for this, as per the issue, would be to add --font-render-hinting=none to the args of chromium in mkdocs_exporter/formats/pdf/browser.py:
diff --git a/formats/pdf/browser.py b/formats/pdf/browser-kerning-fix.py
index b5cd103..2109c25 100644
--- a/formats/pdf/browser.py
+++ b/formats/pdf/browser-kerning-fix.py
@@ -15,7 +15,8 @@ class Browser:
   args = [
     '--disable-background-timer-throttling',
     '--disable-renderer-backgrounding',
-    '--allow-file-access-from-files'
+    '--allow-file-access-from-files',
+    '--font-render-hinting=none',
   ]
   """The browser's arguments..."""

once again, thanks for the project :)

Hello @markjoshwel,
Thank you for opening an issue and providing some valuable details.
I'll update the browser's arguments to include --font-render-hinting=none by default.
Furthermore, I will make it possible to pass arguments to the browser via the configuration.


Cleanup

refly::debug_print is now internal
autodiff_aux.* integrated into autodiff.*
removed f_arg_ty macro
autodiff_aux.h:FindAndReplaceAll -> util/container.h:find_and_replace
isa_lit/as_lit -> Lit::isa/Lit::as
removed is_open_continuation (no was using it anyway)
improved docs
util/container.h -> util/util.h and put some other random helpers into this file while grouping them
compose_continuation -> compose_cn and now lives in lam.h
Plugin: normalizers are now first
associated some global functions as static member functions to appropriate classes such as Scope::is_free
more use of anonymous namespace for internally used stuff
Def::restructure -> Def::freeze (since we changed nominals/structural to mutables/immutables)
emit code for axioms in autogen.h in order
group plugin helper functions by axiom name for better docs

Substituted some helpers from autodiff with what we already had and improved on that:

is_contiuation -> Lam::is_cn/Pi::isa_cn
is_returning_continuation -> Lam::isa_returning/Pi::isa_returning
is_open_continuation -> Lam::isa_basicblock/Pi::isa_basicblock
continuation_dom(lam) -> lam->dom(2, 0) (extract elem 0 from 2-tuple).
continuatuion_codom -> Lam::ret_dom/Pi::ret_dom

When is a method isa_ and when is_?

When is a method isa_ and when is_?

See here:

methods/functions that return a bool should be prefixed with is_
methods/functions that return a std::optional or a pointer that may be nullptr should be prefixed with isa_


Will it update to qt 6.0 version ?

HI !
Is there any plan to release qt6.0 version?

Book about Qt6 can be found here https://github.com/qmlbook/qt6book. You can close the issue.


fix import link

Quick fix for #56

See explanation @ https://github.com/comfyanonymous/ComfyUI/pull/867


API implementation

Suggestion:
Change structure of dictionaries to make it look like or so:
src.dir
-->network.dir
-->utils.dir
-->sparsifying.dir
-->main.py
docs.dir
demo.dir
-->athena_mnist_example.py
I'd also consider a "bin" directory in root directory where we could put directories like "mnist_data".


Multiple Upload components on different pages

Hi.
What I want to do principally is the following:
Page 1: main.py
Here the app is initiated etc
Page 2: upload_agreement.py
Here the user can upload a signed and filled agreement.
It should be put in a specific folder "data/$UserName/agreements"
Page 3: upload_images.py
Here the user can upload images (Multiple files)
These should be put in specific folder "data/$UserName/images"
I am able to make this work with 2 pages by getting the app instance with dash.get_app().
In this way I use du.configure_upload(app, output_folder)
However, with 3 pages, I have not found a solution.
The problem is that it seems that du.configure_upload(app, output_folder) must be present on the page where the du.Upload component is instantiated. However, when I add du.configure_upload(app, output_folder)  to Page 3 I get the error:
AssertionError: View function mapping is overwriting an existing endpoint function: get
So it seems that the endpoint is defined globally, but still, the du.configure line must be present on each page where I use du.callback. But I cannot have this line present on all pages since that overwrites the endpoint of dash-uploader.
Is there a workaround?

It's been a while since the question has been asked, but I would also like to know how to use du.callback() on multiple pages. I have my du.configure_upload() in my app.py.
I am able to define the download folder by returning the du.Upload() in a normal callback with a specified upload_id that I get from Input("url", "search").
But I need to have a `du.callback()' to trigger other stuff when the upload is finished...


fix: use latest version of inference server image

Fixes #1772
What does this PR do?
Update the inference server image to latest (to include llama-cpp-python)
Screenshot / video of UI
N/A
What issues does this PR fix or reference?
#1772
How to test this PR?
Start an inference server

Tested on MacOS/libkrun


Change test image size to be consistent with real DOM size

The map size was set to 500x500, but we were taking image sizes of 400x300. This is a problem for debugging, particularly viewport functions, which were already being tested in render tests.

Actually, this doesn't make any sense. The map size is set to that only on the viewport examples, where the value there, and only there, is not consistent with the test image size. That should be addressed by other PR.


fix dump tests

Scope & Purpose
Fix dump_with_crashes test suite, plus a few unrelated wrong usage of the global asan/tsan flags.
This PR only adjusts tests. There is no need for CHANGELOG or backports.

[x] :hankey: Bugfix (requires CHANGELOG entry)
[ ] :pizza: New feature (requires CHANGELOG entry, feature documentation and release notes)
[ ] :fire: Performance improvement
[ ] :hammer: Refactoring/simplification
[ ] :book: CHANGELOG entry made

Backports:

[x] No backports required

Testing & Verification

[x] This change is already covered by existing tests, such as dump_with_crashes.
[x] I ensured this code runs with ASan / TSan or other static verification tools

Link to Jenkins PR run:
http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/14207/

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/14209/


app is not starting when using docker compose command.

When I am trying to clone the repo in local and executing docker compose up the app is shutting down and throwing unable to connect with Redis error.

Fixed at #48
You can look at the readme to use the appropriate command to run the app @msgadi


global_deny should be documented explicitly

https://github.com/terraform-ibm-modules/terraform-ibm-cbr/blob/e6e1e54d7c12a6354a844c35f9ec7774bb527afa/modules/fscloud/variables.tf#L204
Indicate the effect of global_deny explicit in the fscloud doc + mention it in the associated example (where global_deny is set to false for some services, when it is actually already false by default, adding to the confusion)

PR merged, closing this.


DeleteEntityInBatch and Commit Deletes but throws Exception

Which service(blob, file, queue, table) does this issue concern?
table
Which version of the Azurite was used?
3.18.0
Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
npm
What's the Node.js version?
16.16.0
What problem was encountered?
Batch delete and commit is deleting the entity from CloudTable from Microsoft.Azure.Cosmos.Table v1.0.8, but after deletion happens, a StorageError is thrown with message: "The specified resource does not exist". I checked in Azure Storage Explorer that the table and entity exist and that the entity is getting deleted. However, this exception is getting thrown and preventing the tear down of our unit tests from completing.
Steps to reproduce the issue?
Start Azurite and run/debug unit test
Code:
public virtual void DeleteRawEntity(StorageTableEntity entity)
{
    if (entity == null)
    {
        throw new ArgumentNullException("entity");
    }

    DynamicTableEntity dynamicTableEntity = ToDynamicTableEntity(entity);

    if (entity.GetSecondaryIndexes() != null)
    {
        // The Entity has secondary Indexes. So delete them in a batch transparently to the application.
        TableBatchOperation batch = new TableBatchOperation();
        this.DeleteEntityInBatch(entity, batch);
        this.Commit(this.table, batch);
        return;
    }

The exception occurs at Commit, but when checking the table prior to deletion, the table and entity exist and after refreshing the table after DeleteEntityInBatch and Commit, the entity is deleted from the table.
Error Message and Stack Trace:
Message:
  TearDown : Microsoft.WindowsAzure.Storage.StorageException : 0:The specified resource does not exist.
  RequestId:2f72bd18-ede0-4119-8d57-d4da66a9a526
  Time:2022-07-18T18:19:02.944Z
Stack Trace:
  --TearDown
  Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext)
  CloudTable.ExecuteBatch(TableBatchOperation batch, TableRequestOptions requestOptions, OperationContext operationContext)
  XStoreStorageTable`1.Commit(CloudTable table, TableBatchOperation batchOperation) line 1186
  XStoreStorageTable`1.DeleteRawEntity(StorageTableEntity entity) line 695

Attaching screenshots of the data in the table and entity to be deleted.
GatewayManagerInventoryTable data:

PartitionKey and RowKey for entity:

Exception thrown:

Data deleted from GatewayManagerInventoryTable:

debug.log
If possible, please provide the debug log using the -d parameter, replacing <pathtodebuglog> with an appropriate path for your OS, or review the instructions for docker containers:
-d "<pathtodebuglog>"

Please be sure to remove any PII or sensitive information before sharing!
The debug log will log raw request headers and bodies, so that we can replay these against Azurite using REST and create tests to validate resolution.
Have you found a mitigation/solution?
No solution. We are unable to switch from Microsoft.Azure.Cosmos.Table to Azure.Data.Tables package at this time as it require a lot of work. Many of our unit tests are failing due to this issue, but able to manually delete the rest of the data in the table.

From the debug log provided separately, I see that the entity is deleted twice.
The first batch operation succeeds, the second fails with 404 status.
This would imply that the client code did not recognize the success.
This looks related to the SDK in use.
I'll take another look tomorrow, but this might be solved by inserting / removing the additional CRLF based on a specific API version.
I need to follow up with @XiaoningLiu , and once we have properly confirmed the correct behavior, I can code the fix to replicate this, and be rid of this issue in batch delete, regardless of the SDK.

Same root  cause as #1439

Related #1002 and #1079

This should now be resolved.


Default route with parameterized routes

I have a router with one parameterized route:
import {inject} from 'aurelia-framework';

export class Category{
  category = {};

  configureRouter(config, router){
    config.map([
      { route: 'ranking/:type/:subtype', moduleId: './ranking', nav: false, title:'Ranking' }
    ]);

    this.router = router;
  }

  activate(params, routeConfig) {
      console.log(params);

      this.category = {
        "id": 1,
        "title": "Seniors Mixed Pair",
        "rankings": [
            {
              "type": "QUALIFICATIONS",
              "subtype": "OPEN",
              "title": "Qualyfications"
            },
            {
              "type": "FINALS",
              "subtype": "OPEN",
              "title": "Finals"
            }
        ]
      };
  }
}

The data is now hardcoded, but is meant to be loaded through jsonp.
After the data is loaded, I want to redirect to a chalid route with parameters derived from the data that is loaded.
What would be the best way to do that?
Thanks for any hints,
Axel

You can return a Promise from your activate method. You'll want to reject that promise with a Redirect.
  activate(params){
    return this.http.get(this.url)
      .then(result) {
        return Promise.reject(new Redirect(`/ranking/${result.type}/${result.subtype}`));
      };
  }


wrong pool state

Hi
Cozak pos pool showing offline on a site, but it's not.
https://cozak.space

Hey, the address of your pool wasn't good (accfmrzvjgn6hzutp1m5kp4tcbuhhwyggy4x0j99v1 instead of cfx:acfmcjhvgwm3rp1h3d10kuj700ayv9szmjjskkep1s).
I updated the pools.json file, it's work fine now.

Thanks
вс, 10 апр. 2022 г., 21:14 Charlie85270 @.***>:

Hey, the address of your pool wasn't good (
accfmrzvjgn6hzutp1m5kp4tcbuhhwyggy4x0j99v1 instead of
cfx:acfmcjhvgwm3rp1h3d10kuj700ayv9szmjjskkep1s).
I updated the pools.json file, it's work fine now.
—
Reply to this email directly, view it on GitHub
https://github.com/Charlie85270/conflux-pos-pools/issues/12#issuecomment-1094305390,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AL4W7KKUQWNOADY56UZ53CLVEL45DANCNFSM5TA47NGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Runtime assertion support

One thing I often keep wanting to do is document a compilation invariant by generating an assertion checked by simulation tools. I realized one way to do this without changing the language is adding a std_assert primitive:
module std_assert(input logic in);
  always_comb begin
    if (!in)
       assert("Assertion failed")
  end
endmodule

Then, user-level programs can simply generate an assignment to the std_assert module and ensure that some condition holds:
cells {
  a0 = std_assert()
}

wires {
  a0.in = cond;
}

Yeah, seems cool. It would be great if the interpreter/debugger treated this as an automatic breakpoint (i.e., execution stops by default when one of these fails, just as if you had set a breakpoint there).
Also, maybe this goes without saying, but it would also be neat if there were a pass to remove these calls when we are generating synthesizable Verilog.


Session Authenticator refresh test fails intermittently

Describe the bug
Approximatly 1 out of 10 runs the test Test authentication refresh is failing. I encounter this problem during pipeline execution equally on Jenkins and Travis.
Here are the logs that I collected:

Jenkins log

[2021-02-09T17:15:30.748Z] /home/jenkins/workspace/loudant-go-sdk_88-remove-core-v4/auth/couchdb_session_authenticator_test.go:37
[2021-02-09T17:15:30.748Z]   with standard test server
[2021-02-09T17:15:30.748Z]   /home/jenkins/workspace/loudant-go-sdk_88-remove-core-v4/auth/couchdb_session_authenticator_test.go:108
[2021-02-09T17:15:30.748Z]     Test authentication refresh [It]
[2021-02-09T17:15:30.748Z]     /home/jenkins/workspace/loudant-go-sdk_88-remove-core-v4/auth/couchdb_session_authenticator_test.go:215
[2021-02-09T17:15:30.748Z]
[2021-02-09T17:15:30.748Z]     Expected
[2021-02-09T17:15:30.748Z]         <*http.Cookie | 0xc00034a000>: {
[2021-02-09T17:15:30.748Z]             Name: "AuthSession",
[2021-02-09T17:15:30.748Z]             Value: "fakefake-2",
[2021-02-09T17:15:30.748Z]             Path: "",
[2021-02-09T17:15:30.748Z]             Domain: "",
[2021-02-09T17:15:30.748Z]             Expires: 2021-02-10T17:13:28Z,
[2021-02-09T17:15:30.748Z]             RawExpires: "Wed, 10 Feb 2021 17:13:28 GMT",
[2021-02-09T17:15:30.748Z]             MaxAge: 0,
[2021-02-09T17:15:30.748Z]             Secure: false,
[2021-02-09T17:15:30.748Z]             HttpOnly: false,
[2021-02-09T17:15:30.748Z]             SameSite: 0,
[2021-02-09T17:15:30.748Z]             Raw: "AuthSession=fakefake-2; Expires=Wed, 10 Feb 2021 17:13:28 GMT",
[2021-02-09T17:15:30.748Z]             Unparsed: nil,
[2021-02-09T17:15:30.748Z]         }
[2021-02-09T17:15:30.748Z]     to equal
[2021-02-09T17:15:30.748Z]         <*http.Cookie | 0xc000416160>: {
[2021-02-09T17:15:30.748Z]             Name: "AuthSession",
[2021-02-09T17:15:30.748Z]             Value: "fakefake-1",
[2021-02-09T17:15:30.748Z]             Path: "",
[2021-02-09T17:15:30.748Z]             Domain: "",
[2021-02-09T17:15:30.748Z]             Expires: 2021-02-10T17:14:28Z,
[2021-02-09T17:15:30.748Z]             RawExpires: "Wed, 10 Feb 2021 17:14:28 GMT",
[2021-02-09T17:15:30.748Z]             MaxAge: 0,
[2021-02-09T17:15:30.748Z]             Secure: false,
[2021-02-09T17:15:30.748Z]             HttpOnly: false,
[2021-02-09T17:15:30.748Z]             SameSite: 0,
[2021-02-09T17:15:30.748Z]             Raw: "AuthSession=fakefake-1; Expires=Wed, 10 Feb 2021 17:14:28 GMT",
[2021-02-09T17:15:30.748Z]             Unparsed: nil,
[2021-02-09T17:15:30.748Z]         }
[2021-02-09T17:15:30.748Z]
[2021-02-09T17:15:30.748Z]     /home/jenkins/workspace/loudant-go-sdk_88-remove-core-v4/auth/couchdb_session_authenticator_test.go:240

Travis log

• Failure [1.006 seconds]
305Authenticator Unit Tests
306/home/travis/gopath/src/github.com/IBM/cloudant-go-sdk/auth/couchdb_session_authenticator_test.go:37
307  with standard test server
308  /home/travis/gopath/src/github.com/IBM/cloudant-go-sdk/auth/couchdb_session_authenticator_test.go:108
309    Test authentication refresh [It]
310    /home/travis/gopath/src/github.com/IBM/cloudant-go-sdk/auth/couchdb_session_authenticator_test.go:215
311
312    Expected
313        <*http.Cookie | 0xc0000a9340>: {
314            Name: "AuthSession",
315            Value: "fakefake-2",
316            Path: "",
317            Domain: "",
318            Expires: 2021-02-10T14:23:33Z,
319            RawExpires: "Wed, 10 Feb 2021 14:23:33 GMT",
320            MaxAge: 0,
321            Secure: false,
322            HttpOnly: false,
323            SameSite: 0,
324            Raw: "AuthSession=fakefake-2; Expires=Wed, 10 Feb 2021 14:23:33 GMT",
325            Unparsed: nil,
326        }
327    to equal
328        <*http.Cookie | 0xc000428a50>: {
329            Name: "AuthSession",
330            Value: "fakefake-1",
331            Path: "",
332            Domain: "",
333            Expires: 2021-02-10T14:24:33Z,
334            RawExpires: "Wed, 10 Feb 2021 14:24:33 GMT",
335            MaxAge: 0,
336            Secure: false,
337            HttpOnly: false,
338            SameSite: 0,
339            Raw: "AuthSession=fakefake-1; Expires=Wed, 10 Feb 2021 14:24:33 GMT",
340            Unparsed: nil,
341        }
342
343    /home/travis/gopath/src/github.com/IBM/cloudant-go-sdk/auth/couchdb_session_authenticator_test.go:24

To Reproduce
Locally I could not reproduce, only during CI execution.
Expected behavior
The CI execution should be stable and not should fail because of a testing error.
Additional context
I think this is just a test implementation problem, the feature itself works well.

Thanks for the report.
So how I read this is that on a starved for resources runner goroutines can be slow enough to start that first of 3 parallel refreshers will finish and update cookie, before last one start.
This is a test problem, but it's kind of hard to solve, because we are playing with timing of parallel runs here, inherently none-deterministic. I guess if this problem persist we'll just have to remove all parallel testing, it played its role in exposing races already.

I don't think this is restricted to a starved for resource runner, I reproduced it locally with lots of resource available.

There is also possible to set some delay on the mocked server, this way we can ensure the authentication takes a certain time.
time.Sleep(1 * time.Second)

It would be good to somehow stabilise the time factor in this test case.

Problem with the adding delay into fake server is that it's essentially not a solution, but a band aid and just moving the problem down the line. We'll have to guess what will be the new delay for refreshers to finish and we still have a chance that if one of the client's goroutines is really slow to start, like half-second slow, the last one of the clients still have the chance to unexpectedly get refreshed session. Not to mention, that this will make every test to run at least a second+ and I'd prefer not to slow down the test suite unnecessary.
I'll self-assign this issue to see how it can be solved reliably and we can discuss it tomorrow.

IIUC the cookie assertion parts of this are also covered in other tests, but what we're really trying to test here is that _session is called only once even when there are competing threads for the refresh.
I think we should just stop asserting the old cookie value in each of the 3 threads, because it's entirely possible that the refresh has completed before they are scheduled.
Instead at the end of the test we could assert that the _session mock was called only once, as well as retaining the existing assertion that getCookie returns the new value.
If we want to continue to assert on the old cookie values, then I think asserting that at least 1 of the three threads received the old cookie would be sufficient.
that the value
As such can't we just change this so that it asserts that the mock _session was called only once and that at least

@ricellis yes, this is what I essentially end up doing in https://github.com/IBM/cloudant-go-sdk/pull/107
we need to keep that old cookie assertion to make sure our refresh process async and auth still serving old valid cookie even when refresh triggered


Add : Reset date button

Issue  📐

I amanchoudhary18 have worked for #80

Guidelines 🔐
I accept the fact that i have followed the guidelines and have not copied the codes from around the internet

[x] Contribution Guidelines
[x] Code of Conduct

Issue to be closed 🛅

My pull request closes #80

Screenshots 📷
Here are the pictures of changes that I have made 🔽

Dont forget to star this repo 💚


remove required serial number from topic configuration

Removes the serial number input and expects it as part of the topic instead. (#138)
Set the device name as the basename of the topic. Use the whole topic as the device id.
Also removes the leading slash as in https://github.com/syssi/homeassistant-goecharger-mqtt/pull/128

Wow! Thanks for your contribution! Is this a breaking change? What happens to people which used the config flow in the past using the old values?

You are totally right. I will see how I can implement a migration. Unfortunately, I'm not very familiar with home-assistant development, so it might take a while.


Running external compressible flow script with gpu=True

🔍 Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

🐞 Description of the bug
Hello again, I have recently update Fluent solver to 2024R1 as well as ansys-fluent-core to 0.19.2 and Python to 3.11.8. I still have an issue running External Compressible Flow script with gpu=True.
###########################################################
....
Mesh is now scaled to meters.
Error: invalid command
Error Object: "solve"
Error: invalid command
Error Object: "solve"
Warning: Pressure far-field boundary condition can only be used with ideal gas law.
Please change either the boundary condition type or enable ideal gas law.
Solver cannot proceed until this is fixed.
Traceback (most recent call last):
File "c:\Users\mathieu\Documents\Experiments\fluent\external_compressible_flow.py", line 228, in
solver = meshing.switch_to_solver()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mathieu\miniconda3\envs\pyfluent\Lib\site-packages\ansys\fluent\core\session_meshing.py", line 33, in
self.switch_to_solver = lambda: self._switch_to_solver()
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mathieu\miniconda3\envs\pyfluent\Lib\site-packages\ansys\fluent\core\session_meshing.py", line 37, in _switch_to_solver
self.tui.switch_to_solution_mode("yes")
File "C:\Users\mathieu\miniconda3\envs\pyfluent\Lib\site-packages\ansys\fluent\core\meshing\tui_241.py", line 55, in switch_to_solution_mode
return PyMenu(self._service, self._version, self._mode, "/switch_to_solution_mode").execute(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mathieu\miniconda3\envs\pyfluent\Lib\site-packages\ansys\fluent\core\services\datamodel_tui.py", line 243, in execute
return self._service.execute_command(self._path, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mathieu\miniconda3\envs\pyfluent\Lib\site-packages\ansys\fluent\core\services\datamodel_tui.py", line 161, in execute_command
return self._impl.execute_command(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mathieu\miniconda3\envs\pyfluent\Lib\site-packages\ansys\fluent\core\services\error_handler.py", line 15, in func
raise RuntimeError(ex.details()) from None
RuntimeError: invalid command
Error Object: solve
##############################################
What can I do to fix it ?
📝 Steps to reproduce
Activate gpu in python script (l.62)
https://fluent.docs.pyansys.com/version/stable/_downloads/b8aa6db4291033ee466dd4c2737e1e8d/external_compressible_flow.py
i.e.
meshing = pyfluent.launch_fluent(
precision="double",
processor_count=4,
gpu=True,
mode="meshing",
)
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
Fluent 2024R1
🐍 Which Python version are you using?
3.11
📦 Installed packages
ansys-api-fluent==0.3.22
ansys-api-platform-instancemanagement==1.0.0
ansys-fluent-core==0.19.2
ansys-platform-instancemanagement==1.1.2
beartype==0.17.2
certifi==2024.2.2
charset-normalizer==3.3.2
docker==7.0.0
grpcio==1.62.0
grpcio-health-checking==1.48.2
idna==3.6
importlib-metadata==7.0.1
lxml==5.1.0
numpy==1.26.4
packaging==23.2
pandas==2.2.1
platformdirs==4.2.0
protobuf==3.20.3
psutil==5.9.8
python-dateutil==2.8.2
pytz==2024.1
pywin32==306
PyYAML==6.0.1
requests==2.31.0
six==1.16.0
tzdata==2024.1
urllib3==2.2.1
zipp==3.17.0

Hello pyFluent team, do you need extra information to fix this issue or may I have missed something ?

I can reproduce this error in latest Fluent/PyFluent. We need to investigate/fix this on the Fluent side. For a workaround, you can write the mesh from a CPU meshing session and read it is a GPU solver session.

Thank you Mainak, so I ended up replacing the switch to solver call like this
##########################################################
#solver = meshing.switch_to_solver()
meshing.exit()
solver = pyfluent.launch_fluent(
precision="double",
processor_count=4,
show_gui=True,
gpu=True,
mode="solver",
)
solver.file.read(file_type="mesh", file_name="C:/Users/mathieu/AppData/Local/Ansys/ansys_fluent_core/examples/wing.msh.h5")
.....
#############################################################
As you said the solver call can now make use of GPU acceleration. I still have 2 questions:
1. Regarding that specific external_compressible_flow.py example the script ends like this:
###############################################################################
Save case file
~~~~~~~~~~~~~~
Save the case file external_compressible1.cas.h5.
solver.file.write(file_name="external_compressible.cas.h5", file_type="case")
###############################################################################
Solve for 25 iterations
~~~~~~~~~~~~~~~~~~~~~~~~
Solve for 25 iterations (100 iterations is recommended, however for this example 25 is sufficient).
solver.solution.run_calculation.iterate(iter_count=25)
###############################################################################
Write final case file and data
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Write the final case file and the data.
solver.file.write(file_name="external_compressible1.cas.h5", file_type="case")
#################################################################################
As far as I understand the first call to solver.file.write saves both mesh and problem description and the second is supposed to store both the case and results. But I notice that both external_compressible.cas.h5 and external_compressible1.cas.h5 have the same size on disk, so I assume that the result isn't saved.

I tried a bunch of other examples located in pyfluent-examples/examples/00-released_examples/ and all of them (excepting 'ablation' test case) have an issue even when the GPU option is turned off. Is there a repo somewhere with working examples? How can I contribute to improve them?

@lord644 Right, the command for saving case and data is
solver.file.write(file_name="external_compressible1.cas.h5", file_type="case-data")

or
solver.file.write_case_data(file_name="external_compressible1.cas.h5")  # preferred

The above call will write both external_compressible1.cas.h5 and external_compressible1.dat.h5.
Feel free to fork the repo and create a PR. You can find the general contribution guidelines here.

Is there a way to follow the state of that issue, here or on the fluent side ?

Please use the current issue for tracking purpose.

Fluent bug id - 1023325

This will be fixed in Fluent version 2024 R2


It's possible to skip answering required components if you click the next button before they appear.

Description of the bug
If you have a component which is required to answer, but only appears after answering another one on the same page,
it's possible to click the skip button before the component is able to load. If the next pages also depend on the question being answered it might skip or mess up the following pages if they depend on the answers before.
It seems the slower the component loads the easier it is to perform.
Steps To Reproduce
Example:

Go to https://altinn.studio/repos/EirikOlavHaugenSSB/ra0797-01 and look at commit "08e12e6076240a32a86138887394810cf5b45401" (Date 11.03.24)
Pick the first option on the first question (Page 2)
Navigate to page 8 (page 12 in code, "S12_IntermodalTransport.json")
Chose an option on the question on page 8, and watch a repeating group appear.
Try to do it fast and you can skip the required components entirely.

Additional Information
No response

@EirikOlavHaugenSSB Did you try to set validateOnNext on the navigation buttons for that page? See the docs here: https://docs.altinn.studio/app/development/ux/pages/navigation/#validation-on-page-navigation
The default functionality in Altinn 3 forms is to not show validation messages about required fields until the user tries to submit the form, but you can override that setting if you have to (for example if the user has to fill out a field in order for the rest of the form to make sense by hiding/showing the correct fields, etc).

validateOnNext is set currently as:
validateOnNext": {
"page": "current",
"show": [
"All"
]
}
The page works "properly" if you are sufficiently slow to click the next button after answering "yes" to the pervious question (around 0.5 seconds). I am planning to run this validateOnNext for all pages in the form, but have only applied it to a few pages for testing at the moment. Anything I can supply to make it easier to reproduce? I believe it's possible to do it in most forms, but it's easier to do it when there's more things to load as the form is slower.

Thanks! I think it makes sense, then. I'll link in this issue as related, as I'm working on general performance improvements that might fix this problem as well:

#1182

Yesterday I found a bug I think is related to this one. With a yes/no question that hides the next page when you select "no" and shows it when "yes" is selected. Going from having picked "yes" to picking "no" and clicking the "next" button quickly it will take you all the way back to the first page instead of the next page. I suspect it's some sort of default to return to the start when the form is trying to reach a page which is currently hidden.

I believe this is no longer an issue since the navigation-buttons locks down and becomes unclickable when you fill out parts of the form?


Rendering random square glyph on Ubuntu 16.10

I have a terminal theme that is working fine on Xfce Terminal but rendering with an odd square glyph on alacritty like so:
Xfce Terminal:

Alacritty Terminal:

Please let me know if this is caused by something else I am assuming it is alacritty simply because it works in another terminal but my knowledge of fonts/glyphs is pretty limited.
Cheers.

Hmm that's a bit goofy. Would you mind sharing your PS1? Seems like Alacritty is getting a value for some glyph that Xfce doesn't.

Hey, sorry I did a bit of googling but could not figure out what my SP1 was. Could you possibly provide a link with the steps to find it :).
Cheers.

If you run env | grep $PS1 it should show up.

Hey so I tried that and got no output, the I tried echo $PS1 which returned nothing so I just ran env and have attached the output.
Let me know if there is anything else I can do.
ENV.txt

Are you using fish shell? If so, could you please runfish_prompt > prompt.txt and attach it?

 Glad you figured it out though.

Have attached fish_prompt.
prompt.txt

Besides color, your prompt is HEAVY CHECK MARK, VARIATION SELECTOR-15, SPACE, TILDE, SPACE. I strongly suspect that VARIATION SELECTOR-15 is the one rendered as a box in Alacritty. If you remove it, things should be fine. Alacritty could be better at handling unicode, though.

Hey @lukaslueg I removed the VARIATION SELECTOR-15 and it is all working, I can always revert later when unicode support is better :).
@jwilm should I leave this open awaiting unicode support or close?

I'd suggest to close this in favor of #306

Closed in favour of #306.


Error while connecting to Databricks Spark via VPN

System information:

Window 10 Enterprise
DBeaver version <IP_ADDRESS>002011957

Connection specification:

Azure Databricks - Spark

Describe your question:
When trying to connect to Spark while on VPN, I encounter the following error:
[Simba]SparkJDBCDriver Error setting/closing session: HTTP Response code: 403.
HTTP Response code: 403
HTTP Response code: 403
JDBC URL: jdbc:spark://eastus.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/7339348852698591/0406-221629-exile318;AuthMech=3;UID=token;PWD=;UseNativeQuery=1

is it still actual against the current (7.2.x) version?

I no longer use DBeaver.
Jennifer Romero-Higgins
American Airlines
Business Analytics (Orion/Mosaic) – Data Architect (PHX)
(480) 872-3110 Office
From: uslss<EMAIL_ADDRESS>Sent: Thursday, October 22, 2020 6:47 AM
To: dbeaver/dbeaver<EMAIL_ADDRESS>Cc: Romero-Higgins, Jennifer<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [dbeaver/dbeaver] Error while connecting to Databricks Spark via VPN (#8667)
is it still actual against the current (7.2.x) version?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/dbeaver/dbeaver/issues/8667#issuecomment-714505756, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APRHGYFNRBSE2FJ7G6EWQVDSMAZV5ANCNFSM4M55DVHQ.


support inline tinymce, add test and update demo page

https://github.com/angular-ui/ui-tinymce/issues/69
https://github.com/angular-ui/ui-tinymce/issues/41

I made some fixes today in master that makes an inline editor possible.


Hi, it doesn't seem to compile using Xcode 9.4.1

PaginatorRequest
Line: 25
let parameters = [String: Any](uniqueKeysWithValues: comps.queryItems?.map {
($0.name, $0.value ?? "") } ?? [])
Thanks

Cannot express tuple conversion '(String, String)' to '(String, Any)'

did you figure out how to fix this error?


fix doc for topk

Description
Fixes #16511
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
[x] Code is well-documented:
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[x] ordering_op.cc

@610v4nn1 @roywei @ddavydenko

Thanks!


611 archive generation retry logic

Closes #611
Add retry logic to archive generation in case of transient failure. Two tests, one to confirm retry is attempted on failure while the second confirms retry is not attempted when export is successful.

[x] Did you write/update appropriate tests
[x] Release notes updated (if appropriate)
[x] Appropriate logging output
[x] Issue linked
[x] Docs updated (or issue created)

Thinking about adding more detailed logging information. Might add additional test to ensure logging is done correctly but will need to check if that's redundant.

I believe this PR doesn't cover what #611 asks:

We have already added retries on HTTP failures. But sometime the archive generation might fail, but GHES returns an HTTP 200 with a message telling us the archive generation failed. In that case we should restart the archive generation again.

this is an edge case an in order to do it we need to know what message is being returned and add proper unit tests for that too.

But, in case of non-HTTP failure (200 codes), won't the state be all that we need to worry about?
Per this doc, I figured we would just need to check for the failure state and retry based on that? Or am I misunderstanding?

I believe this PR doesn't cover what #611 asks:

We have already added retries on HTTP failures. But sometime the archive generation might fail, but GHES returns an HTTP 200 with a message telling us the archive generation failed. In that case we should restart the archive generation again.

this is an edge case an in order to do it we need to know what message is being returned and add proper unit tests for that too.

@ArinGhazarian But, in case of non-HTTP failure (200 codes), won't the state be all that we need to worry about?
Per this doc, I figured we would just need to check for the failure state and retry based on that? Or am I misunderstanding?

I guess you're right, I judged solely based on the ticket and wasn't aware of the state.


aci build: add a callback to BuildWalker

This callback allows users to modify the final tar headers or filter out
tar entries when building an ACI.
Also, add a --owner-root flag to acbuild so users can adjust the uids
and gids of all the files and directories in stage1 to 0:0. This is
needed by rkt: https://github.com/coreos/rkt/issues/1453
Fixes #498

LGTM but I wrote a part of the patch, so that does not count much.
/cc @jonboulle @jellonek

LGTM, thank you.


Add conditional/skip logic fields

Some of the fields are not immediately apparent in the Formstack prototype, because they follow some kind of conditional/skip logic:
If Gender is "Female" > Are you pregnant? (Y/N) > If Yes, ask for due date.
There are more like these, but only when the additional section in #173 has been added.

Maybe a very future enhancement. :)


Progress

Hi @KadoBOT @rikterbeek here is the current progress and tasks to do
Progress

[x] Custom mustache templates for Go client
[x] Base project setup
[x] Common client and config
[x] Update configuration to mimic existing API styles
[x] Main unit tests
[x] Integration test with a sample
[x] Add examples in Readme
[x] Remove post suffix on endpoint methods
[x] Handle authentication

APIS

[x] checkout

[x] Add tests for endpoints
[x] Manual testing of endpoints

[x] checkout utility

[x] Add tests for endpoints
[x] Manual testing of endpoints

[x] payments

[x] Add tests for endpoints
[x] Manual testing of endpoints

[x] modifications

[x] Add tests for endpoints
[x] Manual testing of endpoints

[x] payouts

[x] Add tests for endpoints
[x] Manual testing of endpoints

[x] recurring

[x] Add tests for endpoints
[x] Manual testing of endpoints

[x] notifications

[x] Add tests for endpoints

[x] BIN lookup

[x] Add tests for endpoints
[x] Manual testing of endpoints

Initial release done


Fixes issue #186 : Build details not cleared on deleting a build.

Fixes https://github.com/Visual-Regression-Tracker/Visual-Regression-Tracker/issues/186

@suratdas well done!
thank you for contribution!

@suratdas well done!
thank you for contribution!


tools: Add virtualenv support.

Testing instructions: I recommend doing a fresh clone just in case there are conflicts otherwise:
git clone https://github.com/aero31aero/python-zulip-api.git test-repo`
cd test-repo
git checkout virtualenv
source tools/provision
# Installation should be complete
bots_api/test-bots

@timabbott rebased this PR with master.
Pinging @eeshangarg @abhijeetkaur for testing. This probably wouldn't take much time.

This works on my machine from anywhere, as in running tools/provision or even gitclones/python-zulip-api/tools/provision. Could you add an echo $BASEDIR to the script and tell the output?

Superceded by #52 . @eeshangarg take note that the provision script was failing on Windows, as pointed out above, because of some inconsistencies in the POSIX implementation perhaps. I wasn't able to set the $BASEDIR variable properly there.


Add owner reference for machines created via machineset controller

What this PR does / why we need it:
This adds owner reference to machine objects created through the machineset controller. This allows garbage collection and cascading deletion to work.
Deleting the machineset will trigger the corresponding machines to be deleted.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:
@kubernetes/kube-deploy-reviewers

/assign @jessicaochen @krousey

/ok-to-test

Would it make sense to clear owner's refs when pivoting and let the
controller "adopt" the objects after copy?
On Fri, Apr 6, 2018, 10:52 jessicaochen<EMAIL_ADDRESS>wrote:

@jessicaochen approved this pull request.
lgtm
In cluster-api/pkg/controller/machineset/controller.go
https://github.com/kubernetes/kube-deploy/pull/667#discussion_r179830660
:

@@ -123,6 +123,16 @@ func (c *MachineSetControllerImpl) createMachine(machineSet *v1alpha1.MachineSet
Spec:       machineSet.Spec.Template.Spec,
}
machine.ObjectMeta.GenerateName = fmt.Sprintf("%s-", machineSet.Name)

blockOwnerDeletion := true
machine.ObjectMeta.OwnerReferences = []metav1.OwnerReference{

{

	Kind: "MachineSet",

	Name: machineSet.ObjectMeta.GetName(),

	UID: machineSet.ObjectMeta.GetUID(),

Makes sense.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/kube-deploy/pull/667#pullrequestreview-110152823,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJlm5PEdJKUREnPw64nHhyg2f3fB206ks5tl6tagaJpZM4TI5Rl
.

Just to clarify, I was talking about the bootstrap process. The UIDs will be different with a different API server. But for this to work, the MachineSet controller has to properly "scan" machines and re-adopt them by re-adding the owner ref before trying to reconcile and create new machines.

Potentially. Another option is that the code that does the pivoting updates owner references as it moves things (if that is possible).
I think I will have more of a concrete sense of what we can do when I get to playing around with that logic.

If you look at the ReplicaSet reconcile loop implementation you can find many edge cases and unexpected behaviors (uncached quorum reads and etc.). The core of the adopt logic is in controller-ref-manager.go
Ideally, BaseControllerRefManager should be in the k8s.io/apimachinery package, so we don't have to vendor k8s.io/kubernetes.
I would suggest to copy it in our code base (as a temporary workaround) and make some small changes (Pod -> Machine).
The logic for pod claiming is here. It should serve as a reference.

This looks good to me. I'll leave it to the others to apply the label.
@mvladev As far as copying the entire ref manager, the logic is already kind of replicated here. Also, the current structure of the machine controller doesn't lend itself well to the orphaning flow yet. We need to trigger reconciliation off of Machine events as well. I think cramming all that into one PR would just make this drag on forever.
If you're ok with it, I'd like to get this part in, and we can follow up with that later.

@krousey Agreed, lets follow up on that later.

/hold
We have migrated the generic parts of the Cluster API to to sigs.k8s.io/cluster-api. This PR modifies some of those files. It will have to be migrated to the new repo https://github.com/kubernetes-sigs/cluster-api.


Table tag could show in HtmlTextView

Tables cannot be displayed in textview, which is inconvenient. If users need to view the contents of tables, they can only switch to the next page。
Whether the table can be displayed in htmltextview？

same issue :((


Invalid configuration for layer for height dimension:  Invalid input configuration for kernel height.

Issue Description
I have pre-trained a model in Tensoflow 2.2.0 and Keras 2.4.3. It works great in Python enviroment (3.8).
But I can't run it in DL4J, the error message complains the kernel height.
I searched over the internet and found the answer would be "too small image size for the kernel". However, it is not a problem when I used it in Python.
I also saw DL4J has a "latest version" which is newer version than 1.0.0-beta7.
Is there any different implementation in Python and Jave to cause this issue or this issue has been fixed in the latest version?
If later, how can I use maven to add the version into my pom file? Currently I am using:

    <dependency>
        <groupId>org.deeplearning4j</groupId>
        <artifactId>deeplearning4j-core</artifactId>
        <version>${dl4j.version}</version>
    </dependency>

Please describe our issue, along with:

expected behavior
encountered behavior

Version Information
Please indicate relevant versions, including, if relevant:

Deeplearning4j version:           1.0.0-beta7
Platform information (OS, etc) :  Ubuntu (run Python), AWS LInux (DL4J in java)
CUDA version, if used
NVIDIA driver version, if in use

Additional Information
Where applicable, please also provide:

Full log or exception stack trace (ideally in a Gist: gist.github.com)
pom.xml file or similar (also in a Gist)

org.deeplearning4j.exception.DL4JInvalidConfigException: Invalid configuration for layer (idx=-1, name=conv3d_16, type=Convolution3DLayer) for height dimension:  Invalid input configuration for kernel height. Require 0 < kH <= inHeight + 2*padH; got (kH=17, inHeight=16, padH=0)
Input type = InputTypeConvolutional3D(format=NCDHW,d=16,h=16,w=16,c=128), kernel = [3, 3, 3], strides = [1, 1, 1], padding = [0, 0, 0], layer size (output channels) = 128, convolution mode = Same
at org.deeplearning4j.nn.conf.layers.InputTypeUtil.getOutputTypeCnn3DLayers(InputTypeUtil.java:184)
at org.deeplearning4j.nn.conf.layers.Convolution3D.getOutputType(Convolution3D.java:122)
at org.deeplearning4j.nn.modelimport.keras.layers.convolutional.KerasConvolution3D.getOutputType(KerasConvolution3D.java:145)
at org.deeplearning4j.nn.modelimport.keras.KerasModel.inferOutputTypes(KerasModel.java:304)
at org.deeplearning4j.nn.modelimport.keras.KerasModel.(KerasModel.java:179)
at org.deeplearning4j.nn.modelimport.keras.KerasModel.(KerasModel.java:96)
at org.deeplearning4j.nn.modelimport.keras.utils.KerasModelBuilder.buildModel(KerasModelBuilder.java:307)
at org.deeplearning4j.nn.modelimport.keras.KerasModelImport.importKerasModelAndWeights(KerasModelImport.java:244)
Contributing
Thank you very much!

@FanJiangDev  do you have a keras model I could look at?

@FanJiangDev do you have a keras model I could look at?

Yes, please see the following model:
def UNET1(start_neuron=16, input_size = (128,128,128,1), InputName = 'IMAGE'):
addition = 1
inputs = Input(input_size, name = InputName)

print('input size =',inputs.shape)
conv1 = Conv3D(start_neuron*1, (3,3,3), activation = 'relu', padding = 'same')(inputs)
conv1 = Conv3D(start_neuron*1, (3,3,3), activation = 'relu', padding = 'same')(conv1)
pool1 = MaxPooling3D(pool_size=(2, 2, 2))(conv1)

conv2 = Conv3D(start_neuron*2, (3,3,3), activation = 'relu', padding = 'same')(pool1)
conv2 = Conv3D(start_neuron*2, (3,3,3), activation = 'relu', padding = 'same')(conv2)
pool2 = MaxPooling3D(pool_size=(2, 2, 2))(conv2)

conv3 = Conv3D(start_neuron*4, (3,3,3), activation = 'relu', padding = 'same')(pool2)
conv3 = Conv3D(start_neuron*4, (3,3,3), activation = 'relu', padding = 'same')(conv3)
conv3 = Conv3D(start_neuron*4, (3,3,3), activation = 'relu', padding = 'same')(conv3)
pool3 = MaxPooling3D(pool_size=(2, 2, 2))(conv3)

conv4 = Conv3D(start_neuron*8, (3,3,3), activation = 'relu', padding = 'same')(pool3)
conv4 = Conv3D(start_neuron*8, (3,3,3), activation = 'relu', padding = 'same')(conv4)
conv4 = Conv3D(start_neuron*8, (3,3,3), activation = 'relu', padding = 'same')(conv4)

conv4_d2 = Conv3D(start_neuron*8, (3,3,3), activation = 'relu', dilation_rate=2, padding = 'same')(conv4)
conv4_d2 = Conv3D(start_neuron*8, (3,3,3), activation = 'relu', dilation_rate=2, padding = 'same')(conv4_d2)
conv4_d2 = Conv3D(start_neuron*8, (3,3,3), activation = 'relu', dilation_rate=2, padding = 'same')(conv4_d2)

dilate1 = Conv3D(start_neuron*8, (3,3,3), activation='relu', padding='same', dilation_rate=1)(conv4_d2)
dilate2 = Conv3D(start_neuron*8, (3,3,3), activation='relu', padding='same', dilation_rate=2)(dilate1)
dilate3 = Conv3D(start_neuron*8, (3,3,3), activation='relu', padding='same', dilation_rate=4)(dilate2)
dilate4 = Conv3D(start_neuron*8, (3,3,3), activation='relu', padding='same', dilation_rate=8)(dilate3)
dilate5 = Conv3D(start_neuron*8, (3,3,3), activation='relu', padding='same', dilation_rate=16)(dilate4)
dilate6 = Conv3D(start_neuron*8, (3,3,3), activation='relu', padding='same', dilation_rate=32)(dilate5)
if addition == 1:
    dilate_all_added = add([dilate1, dilate2, dilate3, dilate4, dilate5, dilate6])
else:
    dilate_all_added = dilate6

merge5 = concatenate([UpSampling3D(size=(2,2,2))(dilate_all_added),conv3], axis = 4)
conv5 = Conv3D(start_neuron*4, (3,3,3), activation = 'relu', padding = 'same')(merge5)
conv5 = Conv3D(start_neuron*4, (3,3,3), activation = 'relu', padding = 'same')(conv5)

merge6 = concatenate([UpSampling3D(size=(2,2,2))(conv5),conv2], axis = 4)
conv6 = Conv3D(start_neuron*2, (3,3,3), activation = 'relu', padding = 'same')(merge6)
conv6 = Conv3D(start_neuron*2, (3,3,3), activation = 'relu', padding = 'same')(conv6)

merge7 = concatenate([UpSampling3D(size=(2,2,2))(conv6),conv1], axis = 4)
conv7 = Conv3D(start_neuron*1, (3,3,3), activation = 'relu', padding = 'same')(merge7)
conv7 = Conv3D(start_neuron*1, (3,3,3), activation = 'relu', padding = 'same')(conv7)

conv8 = Conv3D(1, (1,1,1), activation = 'sigmoid')(conv7)
print('conv8 size =',conv8.shape)
model = Model(inputs, conv8)

return model

Thanks for your help.

Hi thanks for your help. I uploaded my model to google drive, please take a look, thanks.
https://drive.google.com/file/d/1QwIU3TgT0hmy08N5tOXCN7Y_M3S8aCPW/view?usp=sharing

@FanJiangDev  do you mind giving me access? Feel free to DM me on the forums: https://community.konduit.ai if you need this to be confidential. Thanks!


Variables are not considered tokens?

Information

Language: seemingly all languages?
Plugins: none

Does the problem still occur in the latest version of Prism?
Yes
Description
Variables are not considered tokens?
To reproduce, highlight the following code as language-c:
int x = 5;

This results in:

int
 x
=
5
;

Strangely, the variable x is not wrapped in a token, e.g. x. This makes Prism useless for my requirements, because I just want to highlight variables.
The same behavior happens for many other languages.

Compare, for example, the Rouge highlighter, which parses the above example as

int
x
=
5
;

That is, variables are given the token class n.

Note the same issue is present in highlight.js: https://github.com/highlightjs/highlight.js/issues/2839

Yes, we usually don't tokenize variables because it's not meaningful. In your example, x is clearly declared a variable but this isn't the case when x is used. Depending on where in the code x is used, it might be a class, struct, typedef, variable, macro, field, or some other thing I forgot. Since we have to be able to highlight small code snippets without much context, we can't just assume that x will always be one thing. (Also, tokenizing it as a variable only if certain isn't a good strategy either because this will lead to inconsistent highlighting.)
(This is actually a really complex problem that can't be solved without access to the full source code in some languages. E.g. in C++, you can't know what the names in foo::baz::baz() refer to. They might be namespaces, classes, enums, fields, functions, etc. It's impossible to know without the full source code and (because of macros and template) processing that source code (we'd basically have to implement a C++ compiler lite in JS).)
It also doesn't make sense for us to add a (language-specific) identifier token. You can generally assume that everything that isn't tokenized by Prism is a variable, struct/class field, or similar. So if you needed to highlight all of those, you can set the default color/style of your theme to the color/style you want for variables and overwrite it for all other tokens. Maybe this will work for you?
If your requirement was to highlight variables accurately (e.g. give static and local variables a different color), then I'm sorry to say that Prism isn't powerful enough to do that. In this case, you will need a full parser.
That being said, what exactly is your requirement? Maybe it's still possible to do with Prism.

Hey, thanks for your thoughts - and you're right about much of the complexity in identifying exactly what something is. However, I would say that in foo::baz::baz(), there are three "identifier" tokens. What exact domain object they "identify" (e.g. classes, functions, etc) is not for Prism to solve. At the level of syntax highlighting, they're just (language-generic) identifier tokens.
I'm trying to convert my site from Jekyll to Eleventy. In Jekyll, I'm using the Rouge highlighter, which does identify identifiers/names/variables. I am using this for some minimal "highlighting", copying the K&R printed style in which identifiers are underlined. See an example page: https://jameshfisher.com/2016/12/08/c-array-decaying/

Yeah, the above workaround won't work for underlining.
Tokenizing all identifiers is an interesting idea but I don't think that Prism will do this any time soon. We'd have to change >200 languages and there's also the question of whether we should give already tokenized identifiers (e.g. functions) an alias. Honestly, that's quite a bit of work for not much gain, IMO.
I'm sorry to say that you won't be able to use Prism for your use case.
At least not with vanilla Prism. You could add your own tokens to Prism's C language definition:
// load all of Prism before running this
Prism.languages.c.identifier = /\b[a-z_]\w*\b/i

While we do support the modification of language definitions, it might cause some problems with other language definitions but usually won't. However, you will most likely be better off with a syntax highlighter that supports all of this out of the box.

@RunDevelopment Thanks for your help 👍 I agree Prism won't help me for this. In the short term I'm going to abandon syntax highlighting as it wasn't doing much for me anyway.
Some day I plan to implement my own highlighter that semantically highlights variables, in the style of https://evanbrooks.info/syntax-highlight/v2/. But that's a story for another day!

Interesting idea for highlighting. While totally out-of-scope for Prism, I can see this being useful if done well.
I'll close this issue now.


Test cleanup

Hopefully nothing controversial, but I am finding my way with Go as I... go. I recommend reading through each commits as the combined diff is noisy.

Just one minor point, otherwise it looks good to me.


Dp default

Set backend to dp by default when no backend specified.
Annoying for users  who blindly want to use multiple GPUs to have to deal with choosing a backend.
There might even be an argument for not throwing a warning? @neggert @Borda @jeffling

I think this makes sense, but the warning should stay in case the user meant to use ddp but forgot to specify a backend. Seeing that ddp is the 'best practice' I think that's a good position for us to  take


Different points color

Is it possible to set different colors to diffent points? If so, how?

Hi, it is not possible. You can look at pull request #200 for more info how to implement that feature.


podman ps command string too long

The default outout for podman ps should limit itself if the command is long. If the command
is more than 20 characters, we truncate the command and add an elipses to it.
Resolves: #464
Signed-off-by: baude<EMAIL_ADDRESS>

LGTM

@rh-atomic-bot r+

@rh-atomic-bot retest


Add Pacstall installation method to the Packaging section

Pacstall is a community-driven AUR-like package manager for Ubuntu. I am the maintainer (and also one of the developers of Pacstall) of the fastfetch-git pacscript in this repository.
It can be installed on Ubuntu by running this command (After Pacstall is installed)
sudo pacstall -I fastfetch-git

It can also be upgraded
sudo pacstall -Up

and removed when requested.
sudo pacstall -R fastfetch-git

This clones the git repo, builds and installs every file in the right directory (auto completions, binaries, license and the README) automatically.
So, can you add this installation method in the README.md for Ubuntu?
PS: In the next release of Pacstall, we are actually removing the need of running pacstall with sudo, so the commands will change. We are expecting to release the next version by Thursday.

I briefly mentioned the installation script in #60 in this comment

I don't want to add specific installation instructions for each package manager, as this would be very redundant and bloat the README.

Also in packaging section i only mention the very big repositories used by a lot of people, for example garuda, which package fastfetch too, is missing from there.

Makes sense, thanks for listening!


Added a stargate description and changed the tab they are in.

Very appreciated the changes. I'll have a look and merge them.


Add documentation about self hosted service supported networks

Description
https://thegraph.com/docs/en/developing/supported-networks/
this document does not include any information about which networks are supported in graph-node software. we are planning to run a private graph node service for many chains, but don't know which chains are supported by  graph-node.
Are you aware of any blockers that must be resolved before implementing this feature? If so, which? Link to any relevant GitHub issues.
No response
Some information to help us out

[ ] Tick this box if you plan on implementing this feature yourself.
[X] I have searched the issue tracker to make sure this issue is not a duplicate.

Hi @zxsimba can you provide a bit more context on your use case. Graph Node supports indexing EVM chains via RPC, and EVM, NEAR, Cosmos and Arweave chains via a Firehose.

I want to run a private graph-node instance for many ethereum like networks (L1 and L2),
including bnb, base, opbnb, arbitrum, zksync.
according to: https://thegraph.com/docs/en/developing/supported-networks/
among the mentioned networks, the Decentralized Network only supports arbitrum (in beta),
I want to know if the software (graph node) supports these networks? and in general every ethereum like chain?
If no, providing a document about supported networks will be helpful.
Thanks

I want to know if the software (graph node) supports these networks? and in general every ethereum like chain?

As I mentioned, Graph Node supports indexing EVM chains via RPC.


Uncaught ValueError in _config.py line 338

Aider version: 0.55.0
Python version: 3.11.9
Platform: Linux-6.8.0-40-generic-x86_64-with-glibc2.35
Python implementation: CPython
Virtual environment: No
OS: Linux 6.8.0-40-generic (64bit)
Git version: git version 2.34.1
An uncaught exception occurred:
Traceback (most recent call last):
  File "aider", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "main.py", line 510, in main
    register_models(git_root, args.model_settings_file, io, verbose=args.verbose)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "models.py", line 486, in __init__
    # Are all needed keys/params available?
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "models.py", line 660, in validate_environment
    model = self.name
          ^^^^^^^^^^^^
  File "llm.py", line 23, in __getattr__
    self._load_litellm()
  File "llm.py", line 30, in _load_litellm
    self._lazy_module = importlib.import_module("litellm")
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "__init__.py", line 261, in <module>
    module_level_aclient = AsyncHTTPHandler(timeout=request_timeout)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "http_handler.py", line 30, in __init__
    self.client = self.create_client(
                  ^^^^^^^^^^^^^^^^^^^
  File "http_handler.py", line 55, in create_client
    return httpx.AsyncClient(
           ^^^^^^^^^^^^^^^^^^
  File "_client.py", line 1440, in __init__
    proxy_map = self._get_proxy_map(proxies or proxy, allow_env_proxies)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "_client.py", line 218, in _get_proxy_map
    return {
           ^
  File "_client.py", line 219, in <dictcomp>
    key: None if url is None else Proxy(url=url)
                                  ^^^^^^^^^^^^^^
  File "_config.py", line 338, in __init__
    raise ValueError(f"Unknown scheme for proxy URL {url!r}")
ValueError: Unknown scheme for proxy URL URL('socks://<IP_ADDRESS>:7891/')

Thank you for filing this issue.
The error you provided
ValueError: Unknown scheme for proxy URL URL('socks://<IP_ADDRESS>:7891/

seems to indicate that you are trying to setup a proxy for using an LLM endpoint. I don't know if this is supported in LiteLLM (I couldn't find docs on this on their site), or how this works with httpx, which LiteLLM uses. Especially I do not know how to configure this.
If you can get this to work, please report how you got it working, it may help others who are trying the same.
Thank you.

Thank you

I'm going to close this issue for now, but feel free to add a comment here and I will re-open. Or feel free to file a new issue any time.


⚠ Bofrost.de has degraded performance

In 2468a6b, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 2223 ms

Resolved: Bofrost.de performance has improved in 2f8a11e after 12 minutes.


crash when mining a buildcraft laser

Mining a buildcraft laser crashes the game.
crash-2018-06-07_06.31.02-client.txt

why do you post it here? open an issue in buildcraft's repository

sorry, I was using a flexible tools pick and thought I saw flexible tools listed in the crash report. at a second glance I realize I was wrong.  I'll report to buildcraft, thanks.


Idea for new /src/generators/utils directory structure

/src/generators/utils
|   common.js
|
|___allocation
|       points.js   // star
|       regions.js  // quadrant, domino
|
|___placement
        prob-dist.js
        weights.js

For mix-and-matching.

I realized that allocation can use weights or probability distributions as well. I also made the structure of allocators analogous to generators directory.
generators
|   index.js
|   ...
|
|___utils
|       common.js
|       prob-dist.js
|       weights.js
|       weights.test.js
|
|___allocators
     |  index.js
     |
     |__points
     |      stars.js
     |
     |__regions
            dominoes.js
            quadrants.js


GeometryUtils#polygonArea(..) is broken

GeometryUtils.polygonArea(..) returns wrong values if offset and count are not 0 and polygon.length.
Here's a method to test:
public static boolean isBroken() {
	float[] polygon = {0, 0, 1, 0, 1.5f, .5f, 1, 1, .5f, 1.25f, 0, 1};
	float area1 = com.badlogic.gdx.math.GeometryUtils.polygonArea(polygon, 0, polygon.length);

	float[] polygon2 = {99, 99, 0, 0, 1, 0, 1.5f, .5f, 1, 1, .5f, 1.25f, 0, 1, 99, 99};
	float area2 = com.badlogic.gdx.math.GeometryUtils.polygonArea(polygon2, 2, polygon.length);

	return area1 != area2;
}

I guess this is about floating point precision although all your values should be represented by IEEE754.
 Have a look at the output:
area1: 1.375
area2: -48.125


Feature request: Paralleism

It should be possible to use something like rayon to run many checks of different dependencies in parallel. The program doesn't seem to be either CPU or network bound, so it should be trivial to make it go faster.

Implemented in #27


Valid capture violates capabilities

This program should be valid, but results in a compile error:
actor Main
  new create(env: Env) => None

  fun stuff[B: Any #share](x: (B | None)) =>
    match x
    | let b: B => None
    | None => None
    end

output:
theodus@linux-xec3 ~/src/theodus/stuff/wat2 $ ponyc
Building builtin -> /usr/local/lib/pony/0.14.0-f70dba09/packages/builtin
Building . -> /home/theodus/src/theodus/stuff/wat2
Error:
/home/theodus/src/theodus/stuff/wat2/main.pony:8:7: this capture violates capabilities
    | None => None
      ^
    Info:
    /home/theodus/src/theodus/stuff/wat2/main.pony:5:32: match type: (B #share | None val)
      fun stuff[B: Any #share](x: (B | None)) =>
                                   ^
    /home/theodus/src/theodus/stuff/wat2/main.pony:8:7: pattern type: None val
        | None => None
          ^

This is not a result of recent changes, it even occurs with the 0.11.1 version of the compiler.

@Theodus - I'm not 100% sure it's a bug.
stuff[None tag] would be an allowed invocation of fun stuff[B: Any #share], and this would reify as (B | None) as (None tag | None val), which you can't dissect with pattern matching because you can't pattern match on capability alone.

You're right, I don't know why I keep trying to pattern match on capabilities :).

@jemc I think I was too quick to diagnose the problem that I was actually having. Here is a better example:
actor Main
  new create(env: Env) => None

actor Foo[A]
  fun tag foo[B](f: Foo[B]) =>
    f.bar[None]({(b: B) => None })

  fun tag bar[B](f: {(A): B} val) =>
    None

output:
Error:
/home/theodus/src/theodus/stuff/wat2/main.pony:7:17: argument not a subtype of parameter
    f.bar[None]({(b: B) => None })
                ^
    Info:
    /home/theodus/src/theodus/stuff/wat2/main.pony:7:11: None val is not a subtype of B #any: the type parameter has no lower bounds
        f.bar[None]({(b: B) => None })
              ^
    /home/theodus/src/theodus/stuff/wat2/main.pony:7:17: parameter B #any is not a supertype of None val
        f.bar[None]({(b: B) => None })
                    ^
    /home/theodus/src/theodus/stuff/wat2/main.pony:7:17: {(B)}[A #any, B #any] val is not a subtype of {(A): B}[None val, None val] val: method 'apply' has an incompatible signature
        f.bar[None]({(b: B) => None })
                    ^

If I make it so that bar requires no argument f, then the error goes away even though it was complaining about the type parameter.

@Theodus I think that example's problem is related to #1697.


Add a spinner, progress or something indicating that the build is going on

Something a kind of cosmetic, but it may be useful to see a spinner, progress bar, or something indicating that the build is going on.
Right now is not very intuitive, and you get feedback just after the build finished.
Another alternative is just to show the plugins that are getting executed like:

maven-jar-plugin:2.4:jar
maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ f2e-contract-test
-> maven-install-plugin:2.4:install - executing

I guess you are on Windows where we have some known display problems https://github.com/mvndaemon/mvnd/issues/36
Normally, the output should look like the following: https://asciinema.org/a/BwsKoBYfW9jsXlDG3QcxSSBEw?autoplay=1

Fwiw, the windows problems should be fixed in a few hours...

The display now has the progress information, si I'm closing that one.  Please reopen if needed.

It works great at .0.0.11, good job!


Variants

Hi,
Is there currently data across variants and if not, are there plans to integrate it?
Thanks!

Hi @jzamalloa1 we are actively working on this (and vaccination deployment data!). I'll keep the issue open until we have more news.


Pure-Python compatible "not None", "const"

Three goals are currently coming into conflict:

wanting to move code from ndarray[foo_t] to foo_t[:]
needing to reject None and allow read-only arrays
wanting to move towards valid-python

The first two I can accomplish with const foo_t[:] not None, but that blows the third out of the water.  Any thoughts on syntax (decorators?) to accomplish this in pure python mode?

Regarding not None, this can be done with an explicit None check in both Python and Cython. I don't think we should create any special semantics here. (But I created #2696 anyway, just to keep it in mind.)
It's true that const is not currently available as a pure Python type modifier. Not sure how difficult that is, given that it's a plain modifier in C, but would have to be a function in Python, like
def func(data: cython.const(cython.int)[:]): ...

Requiring a typedef() here seems a bit overkill.
Worth trying out, in any case. PR welcome.

Parking a thought here before I forget it: could we treat const modifiers like a namespace?  i.e. const char could become char.const

Some types are already namespaces, e.g. vector[T] has vector[T].iterator, which would make it a bit odd to place vector[T].const there as a sibling. I agree the most consistent way to do this would be with a cython.const(...) pseudo-function.


raise more legible error if the word embedding dimensions don't match

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
I want this PR to address this issue: https://github.com/arc53/DocsGPT/issues/550 and raise a more legible error if the embeddings have a different length of word_embedding_dimension than the docsearch.index dimension.

Why was this change needed? (You can also link to an open issue here)
It's needed because not checking the different vector embedding lengths can lead to unexpected and unwanted behaviour.

Other information:
The initial solution I have for this is pretty ugly so I welcome a discussion in order to find the best solution and hopefully fix the more general problem of word embedding dimension checking for all models.

Please just fix this
application/vectorstore/faiss.py:21:121: E501 Line too long (121 > 120 characters)
Good PR, important issue

Also please change tests

Thanks for the feedback! Will fix the PR tomorrow. The linting fix is easy but what kinds of tests should I change?

Just this things please, will appreciate it a lot! Thank you!
@codecov codecov / codecov/patch
application/vectorstore/faiss.py#L16
Added line #L16 was not covered by tests
Check warning on line 28 in application/vectorstore/faiss.py
@codecov codecov / codecov/patch
application/vectorstore/faiss.py#L22-L28
Added lines #L22 - L28 were not covered by tests

Did a small refactor to make it look nicer (might be good to add more tests that also include the openAI and cohere transformers, but I don't have API keys atm)
Also added a test that raises the error in the PR. Although we make the error more readable and catch it earlier it still doesn't really fix the problem that the index.faiss and huggingface_sentence-transformers/all-mpnet-base-v2 have different length embeddings. What would be the next step to actually address this when running locally? @dartpain

Was the index.faiss file generated with the OpenAI transformer? @dartpain

@asoderlind yep it was generated with openai's embeddings

@asoderlind thats a good PR, just few small issues:
1: just remove unused imports
Error: tests/test_vector_store.py:2:19: F401 flask.Flask imported but unused
Error: tests/test_vector_store.py:3:31: F401 application.error.bad_request imported but unused
Error: tests/test_vector_store.py:3:44: F401 application.error.response_error imported but unused
Error: Process completed with exit code 1.
2. please add sentence-transformers in our application/requirements.txt as a dependency
FAILED tests/test_vector_store.py::test_init_local_faiss_store_huggingface - ImportError: Could not import sentence_transformers python package. Please install it with pip install sentence-transformers.
Thank you so much!

Added sentence-transformers==2.2.2 and removed the unused imports, sorry for the oversight.
But to address the actual issue, would it be possible to generate a separate index with embeddings of length 768? Something like index_d768.faiss or something. It might work better when using locally with the preset . We can then create a mapping to the right index depending on the embeddings used.

I think I we will probably add another file, no worries, thank you for the PR
@holopin-bot @asoderlind


Write karma tests for editing a context pack

We should have karma testing for editing a context pack

We will close this issue since this feature is not included in the stories list we sold.


Allow the user to override the autocomplete results

When testing locally and creating a new address, I'm getting Missing required property country_code.
InvalidArgumentException:
Missing required property country_code.

  at vendor/commerceguys/addressing/src/AddressFormat/AddressFormat.php:125
  at CommerceGuys\Addressing\AddressFormat\AddressFormat->__construct(array('country_code' => '', 'format' => '%givenName %familyName%organization%addressLine1%addressLine2%locality', 'required_fields' => array('addressLine1', 'locality', 'givenName', 'familyName'), 'uppercase_fields' => array('locality'), 'administrative_area_type' => 'province', 'locality_type' => 'city', 'dependent_locality_type' => 'suburb', 'postal_code_type' => 'postal', 'subdivision_depth' => 0))
     (vendor/commerceguys/addressing/src/AddressFormat/AddressFormatRepository.php:24)
  at CommerceGuys\Addressing\AddressFormat\AddressFormatRepository->get('')
     (vendor/daften/addressing-bundle/Service/AddressOutputService.php:140)
  at Daften\Bundle\AddressingBundle\Service\AddressOutputService->getAddressInline(object(AddressEmbeddable))
     (vendor/daften/addressing-bundle/Form/Type/AddressEmbeddableGmapsAutocompleteType.php:78)
  at Daften\Bundle\AddressingBundle\Form\Type\AddressEmbeddableGmapsAutocompleteType->Daften\Bundle\AddressingBundle\Form\Type\{closure}(object(PostSetDataEvent), 'form.post_set_data', object(EventDispatcher))
     (vendor/symfony/event-dispatcher/EventDispatcher.php:264)

When updating an address, the country code is 0 or 1 now.
Postal code isn't updated now it seems.

@Jelle-S  Provided functional feedback, code looks good so far

@daften The errors you're getting is probably because of the changes in the way the form should be created. I'll make a MR against the project as well so you can properly test (so yes, that does mean this introduces breaking changes).


Add the ability to specify metadata

We have a use case where we need to send custom metadata to the server for the health check. This change enables specifying metadata on the command line.

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.
What to do if you already signed the CLA
Individual signers

It's possible we don't have your GitHub username or you're using a different email address on your commit. Check your existing CLA data and verify that your email is set on your git commits.

Corporate signers

Your company has a Point of Contact who decides which employees are authorized to participate. Ask your POC to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the Google project maintainer to go/cla#troubleshoot (Public version).
The email used to register you as an authorized contributor must be the email used for the Git commit. Check your existing CLA data and verify that your email is set on your git commits.
The email used to register you as an authorized contributor must also be attached to your GitHub account.

ℹ Googlers: Go here for more info.

I signed it!

Can you elaborate your use case further? What do you use metadata for in this case?
I am trying to see if this could be a feature used by someone other than you.

It is for a proxy service, where we will run the health check request through the proxy to ensure service health. The service needs metadata for routing requests.

So let me rephrase what I understood and you tell me if I got it right: You have multiple gRPC server instances behind a load balancer (what you referred as "proxy") and you use metadata to tell the proxy to route the request to a particular server instance.
If I got it right, this sounds like an anti-pattern as you shouldn't be going through a proxy/LB to check health. You should be directly target the instances.
For that reason, I'd love to know what sort of environment you're running on (VMs, Kubernetes, something else?) as this is probably not the right way to do health checks on that platform.
Again sorry for digging deep, but for any feature we add, we need to make sure there's a valid use case that we can get behind as a best practice.

We are running on K8s. The requests are not going through an LB. The health check is run per pod (service instance).
health probe -> proxy service instance -> health service
The health service will always be returning Serving and we will rely on the request being successful that the proxy is alive.
And the metadata is needed to control/modify the behavior of the proxy service.
Hope this clarifies the scenario.

Hi @ahmetb, any other concerns ? Don't you think metadata is generic enough that could be used for different scenarios ?

Can you give some concrete examples? I am still unclear.
Why can’t your Kubernetes health check directly hit the grpc service port it’s running on inside the Pod? I still don’t get what this proxy instance is and how it comes to play.

Maybe I wasn't clear enough. The service we are developing and trying to health check in this scenario is a proxy service. And the way we are checking the service health is running a request to the health check service though our service (the proxy).

Sorry, it's still not clear enough. Any photos of drawings appreciated.
What is proxy service? Is it a gRPC service itself, or is it simply a http/2 proxy?
Why are you simply not using a liveness probe on the proxyservice pod? Does it forward the request to another grpc service because the pod is a proxy itself? I still don't get your situation fully.

It is a GRPC proxy deployed as a sidecar as shown in the diagram above. The GRPC proxy forwards requests to other GRPC services based on metadata. And to test if that the proxy is alive we will simply forward a request to the health check service (which the proxy service is implementing) to make sure it is alive. The health probe command will be similar to:
grpc-health-probe --addr <proxy_address> --metadata forward_to=<health_service_address> --metadata foo=bar
And since the proxy needs additional metadata other than the forwarding address the http_proxy option is not enough in our case.

Closing due to inactivity.


section title is cringey

given cringey social sub-context, "groom" is becoming outdated terminology. consider using "Refine" instead

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

ID: 9521d223-2617-ca56-585e-e4064d43ee7f
Version Independent ID: aa9db125-f2b7-d191-712a-f2a8a0ca0f70
Content: Best practices for Agile project management - Azure Boards
Content Source: docs/boards/best-practices-agile-project-management.md
Service: azure-devops-boards
GitHub Login: @chcomley
Microsoft Alias: chcomley

@micki30 -- thank you for bringing this to our attention, and I agree.  I am updating this article.


Jump to end of an inserted mention

Also clean up desktop Input component a bit.

r? @keybase/react-hackers


bump to 8.39.0-SNAPSHOT

@mariofusco I am getting upstream failures on Drools because of this.

red build job in https://github.com/kiegroup/drools-ansible-rulebook-integration/pull/29


Possible prerelease tests fix

Prerelease tests are most likely failing due to the alpha release of mpmath. Will reasses once a release candidate is out.


refactor: lint code

Checklist
List of tasks you have already done and plan to do.

[x] Fix linting errors
[x] Tests have been added / updated (or snapshots)

Change information
Code changes after running the linting script.

please resolve conflicting files, thx.

please solve conflicting files, thx.

done


Wrong shell name for postgres script task creaton called from table node

Description

call the context menu on a table in PostgreSQL
context menu -> tools -> execute script
Shell for 'MySQL' instead of 'PostgreSQL' is opened

When calling the context menu on a database node all is OK
https://github.com/dbeaver/dbeaver/assets/43252954/f378320e-6459-45be-9d5c-82742e03ef2e
DBeaver Version
23.2.1
Operating System
win10
Database and driver
No response
Steps to reproduce
No response
Additional context
No response

Execute script option should be available only for database.


Remove fibre::{Fiber, Suspend} types

This PR performs a refactoring required by a follow-up PR that will implement actual pooling of VMContRefs.
This PR removes the types Fiber and Suspend from the fibre create (i.e., our version of wasmtime-fiber). These two types are effectively leftovers from wasmtime-fiber, but only add a layer of unnecessary indirection at this point.
Note that the fibre::FiberStack type remains. Some functions originally implemented on Fiber are moved to FiberStack now. Further, the VMContRef definition used in the optimized implementation now owns a fibre::FiberStack directly, rather than storing a Fiber as a wrapper around the FiberStack.
This PR does not affect the baseline implementation since it doesn't use the fibre crate at all.

This ended up requiring a bit more back-and-forth with the test suite. The culprit is the test where we enable the unsafe_disable_continuation_linearity_check feature and then run cont_twice.wast.
The exact behavior of this test under the hood changed a bit: In the past, it was a mechanism inside the Fiber that detects if a Fiber has run to completion, and panics if you try to run it again afterwards. Since Fiber is gone now, this check does not exist any more. However, this was always somewhat superfluous, because we are already doing the same kind of checking using the VMContRef's state field. But I've had to make sure that we check the state field earlier on in the translation of resume instructions.
Given these headaches, I'm inclined to just remove unsafe_disable_continuation_linearity_check in a follow-up PR. The performance of the linearity check should be good enough so that we don't need to be able to disable it anymore.


TOTP Required [totp-required]

See https://github.com/RocketChat/Rocket.Chat/issues/18823 - starting with 3.6.0 certain settings may
require 2-factor-authentication. Support for this should be provided within the library.

I could not yet reliably determine when 2FA is required. On a freshly installed system it does not seem to be the case.
On a system where 2FA is disabled, but SAML is used it complains.
The requirement seems to stem from the connected SAML (Keycloak) where 2FA is enabled, but not for this given user.
Well, lets just pass the 2fa headers to rocketchat, if the are not required, they won't hurt ...

Validated to work with 3.6.1


Add nvidia kernel module signing to enable SecureBoot mode

It should be reasonable to add signing for the nvidia kmod since we use an akmod build the same as is done over in https://github.com/ublue-os/akmods
The same signing key can even be used, though we'll also want to add that pub key here and instructions how to use it.

Please enable secureboot. Without secureboot, automatic luks decryption using tpm2 (via systemd-cryptenroll) is pointless.

It turns out that we have been signing the nvidia kmod for some time, but not providing the pub key in the image.
This ticket will remedy that and should add some documentation for how to import.


Resolve CUPTI Environment Variable and Permissions

CUPTI is currently only related to TensorBoard.
Current workaround is profile_batch = 0 argument in TensorBoard declaration (ignores CUPTI).
To do's:
1. Automate adding CUPTI as envir variable, so that it's added to path during VM creation.
Currently, this code is included in resource-creation.sh but has no effect (these lines have to be entered into command line after SSH in order to take effect as-written):
export PATH=/usr/local/cuda-10.1/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/extras/CUPTI/lib64   # needs to be performed after ssh it seems

The second command comes from Tensorflow GPU Support page.
2. Overcome CUPTI_ERROR_INSUFFICIENT_PRIVILEGES.
Problem description: https://github.com/tensorflow/tensorflow/issues/35860
Possible solution: https://groups.google.com/a/icl.utk.edu/forum/#!topic/ptools-perfapi/etOw61-tj5A

not desired now


Add define ENABLE_SCRAMBLE

Add define ENABLE_SCRAMBLE instead of not ENABLE_FEAT_F4HWN

Why ? Simply use Egzumer if you want to use SCRAMBLER.
By the way, the use of SCRAMBLER is prohibited in many countries.


Change low processor usage mode to cap to 60 FPS rather than 40 FPS

This results in smoother operation in the editor, without needing to resort to the "Update Always" method which uses more resources than needed.

yeah, since a while the editor has learned to only redraw when needed..
this might be a good idea.
On Sun, May 22, 2016 at 6:54 PM, Calinou<EMAIL_ADDRESS>wrote:

This results in smoother operation in the editor, without needing to
resort to the "Update Always" method which uses more resources than
needed.
You can view, comment on, or merge this pull request online at:
https://github.com/godotengine/godot/pull/4762
Commit Summary

Change low processor usage mode to cap to 60 FPS rather than 40 FPS

File Changes

M main/main.cpp
https://github.com/godotengine/godot/pull/4762/files#diff-0 (2)

Patch Links:

https://github.com/godotengine/godot/pull/4762.patch
https://github.com/godotengine/godot/pull/4762.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/godotengine/godot/pull/4762


Many documentation urls are broken

User reported: https://groups.google.com/forum/#!category-topic/quartz-scheduler/TBEms8m2f5Y
Kalabase Lebelo
Feb 8
Hello,
The below url from documentation is broken:
http://www.boulder.nist.gov/timefreq/service/its.htm
It is referenced on the below pages from what i saw:
http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/tutorial-lesson-11.html
http://www.quartz-scheduler.org/documentation/quartz-2.x/configuration/ConfigJDBCJobStoreClustering.html
http://www.quartz-scheduler.org/documentation/quartz-1.x/configuration/ConfigJDBCJobStoreClustering
http://www.quartz-scheduler.org/documentation/quartz-1.x/tutorials/TutorialLesson11
and this pdf http://www.quartz-scheduler.org/files/documentation/Quartz-2.1.x-Documentation.pdf
and the domain seems to have became https://www.nist.gov

Fixed by PR #371


Build the full matrix again

Merged the other PR too quickly. There was still some debug stuff hanging around.

We are running into timeouts on the build server. What was you motivation for limiting the parallel builds here, @xhochy . Do you think the build failures for the previous commit were due to resource exhaustion?

@conda-forge-admin please rerender


ChainerX test tool for ops

Fixes #6163

Jenkins, test this please.

Jenkins CI test (for commit b29637498b7aa578baff8d36feb824f12c129c12, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

Jenkins, test this please.

Jenkins CI test (for commit b29637498b7aa578baff8d36feb824f12c129c12, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

Jenkins, test this please.

Jenkins CI test (for commit cd87c82d07d201f9aa7d54f85413bb4ff8055256, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

Jenkins, test this please.

Jenkins CI test (for commit cd87c82d07d201f9aa7d54f85413bb4ff8055256, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

Jenkins, test this please.

Jenkins CI test (for commit f42ce4954fbb72262c4005f3a93157111ce3f662, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

LGTM.