Possible Bug: eslint installation from parent folder prioritized over eslint.nodePath

Hello, thanks for this great extension. Curious about what I suspect may be a bug, but could also just be a misunderstanding:
Our project is setup with a traditional yarn project at the root of the repo, and one using pnp as a child, eg something like:
repo-root/
  node_modules/
    eslint/
  project_a/
  project_b/
  ...
  project-using-pnp/
    .yarn/
      sdks/
      cache/
        eslint/

(The reason for this is that we'd like to incrementally adopt PnP if possible, while leaving the existing projects more or less alone)
I'm trying to get vscode-eslint working in the project-using-pnp, and have the .vscode/settings.json file:
{
  "eslint.nodePath": ".yarn/sdks",
  "eslint.packageManager": "yarn",
  "eslint.trace.server": "messages",
  "eslint.validate": [
    "vue",
    "html",
    "javascript",
    "typescript",
    "javascriptreact",
    "typescriptreact"
  ],
  "search.exclude": {
    "**/.yarn": true,
    "**/.pnp.*": true
  },
  "typescript.enablePromptUseWorkspaceTsdk": true,
  "typescript.tsdk": ".yarn/sdks/typescript/lib"
}

But when the server starts I get the message(s):
...
[Trace - 2:48:00 PM] NODE_PATH value is: /Users/computer5709/Desktop/repo-root/project-using-pnp/.yarn/sdks
[Trace - 2:48:00 PM] Received notification 'window/logMessage'.
[Info  - 2:48:00 PM] ESLint library loaded from: /Users/computer5709/Desktop/repo-root/node_modules/eslint/lib/api.js
[Trace - 2:48:01 PM] Received notification 'textDocument/publishDiagnostics'.
...

My expectation is that since the NODE_PATH refers to the sub-project installation of eslint, that's where the ESlint Library should be loaded from, not the parent folder node_modules.
This results in eslint/vscode-eslint not being able to resolve the plugins in the sub-project. (as well as just running the wrong copy of eslint)
However, if I delete the node_modules folder from the repo_root, and re-open VSCode, the extension works fine, which makes me think that the configuration (as far as the .vscode/settings.json) is set up correctly, it's just that vscode-eslint is finding the parent node_modules/eslint installation and using that if it can, rather than the one specified by nodePath
It might also be that this is expected behavior. I notice in the docs where nodePath is mentioned, it's used 'if an installed ESLint package can't be detected', and so if this is intended behavior, I'm not really sure how to get around it other than to make eslint a dependency of all the subprojects individually (which is not desirable).
Any insights anyone can share would be appreciated, and happy to provide more information if I can!
Possibly related: https://github.com/microsoft/vscode-eslint/issues/156

This is how node works. The NODE_PATH is used to find globally installed node modules. Node in general always starts from the file already running and searches from that point up the directory chain by looking for a node_modules folder. Only if this fails the NODE_PATH is considered. So, what you see is correct.

Thanks for the response @dbaeumer. I feel like this could still be prioritized over node's own default resolution? Although I guess that's not the intention.
So my understanding from this is that it's not possible for this extension to use the eslint version in the sub-project (unless it's in an actual node_modules folder) if there is an installation of eslint in a node_modules folder somewhere up the file tree.

So my understanding from this is that it's not possible for this extension to use the eslint version in the sub-project (unless it's in an actual node_modules folder) if there is an installation of eslint in a node_modules folder somewhere up the file tree.

That is correct. That is how NodeJS works.


Error with FIND IN TABLE, line

Find in string works, but find in table gives error
TYPES: BEGIN OF ty_submatch,
              offset TYPE i,
              length TYPE i,
            END OF ty_submatch.
TYPES: BEGIN OF ty_match,
              line       TYPE i,
              offset     TYPE i,
              length     TYPE i,
              submatches TYPE STANDARD TABLE OF ty_submatch WITH DEFAULT KEY,
            END OF ty_match.
DATA lt_matches TYPE STANDARD TABLE OF ty_match WITH DEFAULT KEY.
DATA lt_words TYPE TABLE OF string.

APPEND 'hello' TO lt_words.
APPEND 'bar' TO lt_words.
APPEND 'world' TO lt_words.

FIND REGEX |bar| IN TABLE lt_words RESULTS lt_matches.

An error was thrown: TypeError: i.get is not a function

@mbtools try again, latest version

👍

No more error, but the result tab is not filled correctly.
TYPES: BEGIN OF ty_submatch,
              offset TYPE i,
              length TYPE i,
            END OF ty_submatch.
TYPES: BEGIN OF ty_match,
              line       TYPE i,
              offset     TYPE i,
              length     TYPE i,
              submatches TYPE STANDARD TABLE OF ty_submatch WITH DEFAULT KEY,
            END OF ty_match.
DATA ls_match TYPE ty_match.
DATA lt_matches TYPE STANDARD TABLE OF ty_match WITH DEFAULT KEY.
DATA lt_words TYPE TABLE OF string.

APPEND 'hello' TO lt_words.
APPEND 'bar' TO lt_words.
APPEND 'world' TO lt_words.

FIND REGEX |bar| IN TABLE lt_words RESULTS lt_matches.

LOOP AT lt_matches INTO ls_match.

  WRITE: / ls_match-line,
   / ls_match-offset,
   / ls_match-length,
   / lines( ls_match-submatches ).

ENDLOOP.

output
0
0
3
0

just saw the todo https://github.com/abaplint/transpiler/blob/ea99f67c97a24f105cac8537e4dab88064bcde7e/packages/runtime/src/statements/find.ts#L113

heh 👍

https://github.com/abaplint/transpiler/pull/686/commits/c7557e2854bb52fcbfa0e5a10e454f640766e742

@mbtools try again


Hiding short code in post

Hello,
Everything is wonderful but I wonder, how can I hide this shortcode (Table) from the post.
Thank you for this plugin!
Omercan

Take a look at #66 for some notes on this one and possible suggestions on how to work around this one. It's one of those odd wrinkles in WordPress.


Have CMake generate pkg-config file for library.

So that various build processes can query for compiler and linker flags in Linux, MSYS2, and CygWin.

/azp run DirectXMesh-GitHub-CMake,DirectXMesh-GitHub-CMake-Dev17,DirectXMesh-GitHub-MinGW,DirectXMesh-GitHub-WSL,DirectXMesh-GitHub-WSL-11

/azp run DirectXMesh-GitHub-CMake,DirectXMesh-GitHub-CMake-Dev17,DirectXMesh-GitHub-MinGW,DirectXMesh-GitHub-WSL,DirectXMesh-GitHub-WSL-11


Wrong time difference count (granularity: months)

Timex version:  3.6.1
Steps to reproduce
date_in_past =
        Timex.to_datetime(~D[2019-08-03])
        |> Timex.shift(hours: 2)

time_now = Timex.to_datetime(~D[2019-09-03])

Received
> Timex.diff(time_now, date_in_past, :months)
1

Expected
> Timex.diff(time_now, date_in_past, :months)
0

When I count the difference in hours:
> diff_in_hours = Timex.diff(time_now, date_in_past, :hours)
742

> diff_in_hours / 24
30.916666666666668

So the month has not passed but with (granularity: months) Timex says that month has passed.

hi @kpietkaa !
Let me see if I got this straight:

You have a date in the past #DateTime<2019-08-03 02:00:00Z>, which is
August 3rd, 2019, at 2 am.
You added a recent date, which is #DateTime<2019-09-03 00:00:00Z>, which is September 3rd, at midnight, also in the year 2019;
You took the difference between those two and the result is 1, and you expected it to be 0, right?

I assume that the answer provided by the diff function is correct,  there is indeed 30 days between those dates.
What I infer here is that you thought that the 3 in the both dates was the month and not the day, which then would make sense.
If you run:
date_in_past = Timex.to_datetime(~D[2019-08-03]) |> Timex.shift(hours: 2)
#DateTime<2019-08-03 02:00:00Z>
time_now = Timex.to_datetime(~D[2019-08-03])
#DateTime<2019-08-03 00:00:00Z>
> Timex.diff(time_now, date_in_past, :days)
0
> Timex.diff(time_now, date_in_past, :months)
0

It is the result you expected, but note that now both dates are in the same month.
Please let me know if I understood your problem correctly!

Hey @MariliaMJ !
Thanks for the response. I will try to explain it as clear as I can :smile:
You got me right here:

You have a date in the past #DateTime<2019-08-03 02:00:00Z>, which is
August 3rd, 2019, at 2 am.
You added a recent date, which is #DateTime<2019-09-03 00:00:00Z>, which is September 3rd, at midnight, also in the year 2019;
You took the difference between those two and the result is 1, and you expected it to be 0, right?

I get 0 when date in the past is:
date_in_past = Timex.to_datetime(~D[2019-08-03]) |> Timex.shift(hours: 24)
#DateTime<2019-08-04 00:00:00Z>

time_now = Timex.to_datetime(~D[2019-09-03])
#DateTime<2019-09-03 00:00:00Z>

Timex.diff(time_now, date_in_past, :months)
0

So, Timex gets difference in months wrong when comparing two dates with the same day of the month but different time of the day. I get 0 when I shift the date by whole day (24 hours) but 1 when the date is shifted by 23 hours. I think Timex.diff it should take hours into account as well.

Diffing in months (and years) is not quite like other units, as it is inherently inprecise due to its relatively loose definition, i.e. does a month have 28/29/30/31 days, does the start and end span multiple months (and so need to account for the variances in those months). In general, it is not intended to be used in contexts where high precision is required.
Because of that, Timex does not attempt to be perfectly precise with months, it does not factor in the time component at all because the inherent lack of precision allows for variance of up to a day, and even if we did factor it in, it would simply add additional unpredictablity to the results. Timex instead diffs two dates using their year/month/day components, taking the difference in years/months as the base difference, with some additional handling for edge cases when the start/end dates occur in the 29-31st days of their respective months.
The docs do indicate that the granularity corresponds to the accuracy, but could perhaps be clarified to say exactly how precise they are intended to be. Years/months/weeks are accurate to within a day; days are accurate to within an hour; and so on.


Full Width Slider not working?

Hello, I am doing a Django project and wanted to implement this css. It has been amazing so far but I can't seem to get carousel-slider to work, the normal one seems to work but the full width one just doesn't appear. Nothing in the console and its showing up in inspect page.
$(document).ready(function(){       $('.carousel').carousel();     });  - works
$(document).ready(function(){       $('.carousel.carousel-slider').carousel({full_width: true});     });  - doesn't work
Here is my slider:

Does the full width one have any special requirements? I can't seem to find anything on the website nor here on github.
Thanks in advance :)

the same here...
I'm searching...

mine works perfectly!
maybe you shouldn't use $(document).ready , i'm using $(function() {});

Can you send us your full code please ?

Changing:
$(document).ready(function(){ $('.carousel.carousel-slider').carousel({full_width: true}); });
to:
      $(function(){         $('.carousel.carousel-slider').carousel({full_width: true});     });
fixes the problem. Thanks @Sepehr13

It probably has something to do with the way your images are loaded.  Im not too familiar with Django, but try playing around with the order of how things are initialized

@acburst Just forcing the height to be 400 fixes everything. I tried moving the js and slider around, didn't help at all. Regarding how Django loads the files, there is only this single way I am aware of. But like I said, setting the height to 400 fixes everything :)

Overring the css works but the slider items are not displaying, the window is just empty nothing showed

@PapePathe  I have same problem with pape ... empty is showing

Please try with remove

$('.carousel').carousel();

I copied the following code from materialize.css to embed a full with carousel.
$('.carousel.carousel-slider').carousel({fullWidth: true});
However, the above code didn't work. I changed the above code to
$('.carousel.carousel-slider').carousel({full_width: true});
and I worked like a charm.
Here's the full code:
$(document).ready(function(){
$('.carousel.carousel-slider').carousel({full_width: true});
});

I am also having an issue, using Materialize v0.98.0
Just copied/pasted the code from main website
init:	$( document ).ready(function(){$('.carousel.carousel-slider').carousel({full_width: true});})
html:

Tried without the full_width and documented fullWidth too, but no luck.  Seems like the "initialized" class is not being added to the main div, like in the example.  I tried the text only example too just in case there was something with the example images.

Verifica que las versiones de materialize-css y jquery sean las mismas que requieren aquí:
Verify that the materialize-css and jquery versions are the same as they require here:
http://materializecss.com/getting-started.html
Es la solución sin forzar cambios en el css

@kartikchauhan this worked like a charm. It was starting to stress me out!
Change
{fullWidth: true} <-- doesn't work
To
{full_width: true}  <--works

the example is working on 0.98.2
http://materializecss.com/carousel.html
codepen:
https://codepen.io/fega/pen/NjqMvz
Closed, feel free to reopen it if it is still necessary. But please provide a way to reproduce it. like a codepen

It fails if initialized after the first image was loaded.
codepen

@Wesitos why do you have all of this code
 $('.carousel.carousel-slider')
    .find('.carousel-item img')
    .first()
    .on('load', function(){
      // For some reason, it works if called two times
      $('.carousel.carousel-slider').carousel({fullWidth: true});
      //$('.carousel.carousel-slider').carousel({fullWidth: true});
    })

instead of using $('.carousel.carousel-slider').carousel({fullWidth: true}); in document ready?

@fega That's just to reproduce the case when it's called after the image has loaded.

@Wesitos saying

It fails if initialized after the first image was loaded.

is correct.
So, the example in the docs does work, assuming you're not using anything like React, Angular, or Vue. But most people are these days.

I'm also still having this issue. Setting a fixed height solves the problem but on my current project I need the height to be responsive. Anyone having any luck solving this? Right now I have a 50/50 chance of the Carousel showing up. Using good old PHP to render the page and the example page is working for me. Can wrap my head around why it's failing half of the times?

I'm using meteor  and calling an API to get images to fill carousel.
carousel doesn't render when called before images are called, so i set so that when the 'template' is rendered, it calls $('.carousel.carousel-slider').carousel({fullWidth: true}) when each image loads... so sometimes it is called 10 times or more..
It seems that the first carousel object i look at works, and then all other carousels do not when called, (because maybe i'm calling .carousel() multiple times like @Wesitos  mentioned?

Still sort of same issue here. when you have a materialboxed carousel item. After closing of the materialbox image the carousel has height 0. Anybody ideas?


Configuration setting to allow space in value without quotes enclosing them

This is needed for Configuration files used by Supervisor.
For example, if I were to use this which SharpConfig currently outputs:-
[program:example]
command="/usr/bin/example --loglevel=%(ENV_LOGLEVEL)s"

Supervisor would not be able to find the application: "/usr/bin/example
So, I created a Configuration called SpaceInValueWithoutQuotes which is turned off by default to keep it consistent with your current API. But, when I set it to true, the following output is generated:-
[program:example]
command=/usr/bin/example --loglevel=%(ENV_LOGLEVEL)s

And this works in Supervisor.

A simple, good addition to SharpConfig, thank you very much!

Thanks, the rename makes more sense. I feel as a developer naming things is one of the hardest things we do.
Lemme know when you have pushed it through NuGet. Right now I am kind of getting it to work using a hack - manually placing the assemblies that I compiled in the packages folder and stripping the PublicKeyToken.
Last but not the least, thanks for building the awesome library and the super quick response!

Thanks! That's true, naming can also get annoying very fast. I'll put up a new package on NuGet later today.


Update the alert description to common protocol

Update the alert description to common protocol
Fixes #7953
Checklist

[X] tests are added or updated

Merge commits are not allowed by the project.
Please just rebase your branch over the openssl/master branch.

Merge commits are not allowed by the project.
Please just rebase your branch over the openssl/master branch.

rebased done,please help check,thanks

No, you still have merge commits in the PR. git rebase -i --autosquash master might help you to drop the merge commits.

Kicking CLA bot.

No, you still have merge commits in the PR. git rebase -i --autosquash master might help you to drop the merge commits.

Thanks for your suggestion, Redundant submission have keeped in the forked response, tied rebase with the upstream and success currently.

Kicking CLA bot.

Thanks for your effort

I am not really sure this is a correct change. Also if we decide to merge this, I suppose the other version numbered alert descriptions should lose the version number - for consistency.

@mattcaswell What is your opinion about this one?
Also if we decide to change this, as this is imo not a pure bug fix it should go to Post 3.0.

Do you know that nobody is relying on the current texts?  I agree they should be updated -- seeing 'SSL/TLS' is annoying -- but it does seem risky.

I am not really sure this is a correct change. Also if we decide to merge this, I suppose the other version numbered tlsv1 alert descriptions should lose the version number - for consistency.

these string explain the alert, these alert define both tls1.x and ssl3.0, so tls/ssl can be response the actual meaning. macro still keeped as string already explained.

@mattcaswell What is your opinion about this one?
Also if we decide to change this, as this is imo not a pure bug fix it should go to Post 3.0.
this PR not response bug in source logic， only impact the readability.

Do you know that nobody is relying on the current texts? I agree they should be updated -- seeing 'SSL/TLS' is annoying -- but it does seem risky.

this should  not impact the implement logic, but may impact the log/document information etc. the sslv3 text may confuse the user in case that tls1.x have used but sslv3 still present in the log, and sslv3 regards not security  any more.

This PR is in a state where it requires action by @openssl/committers but the last update was 30 days ago

Fialed  to drop the merge commits with "git rebase -i --autosquash master", will try drop further.

Fialed to drop the merge commits with "git rebase -i --autosquash master", will try drop further.
--It is hard to handle the the confusion, close this PR and raise new PR.

#17159 have raised,Thanks for your attention. @paulidale @t8m @richsalz @FdaSilvaYY


Locked table

Hello guys,
I have a locked table in Business Central CLOUD Sandbox, thus I can't open the page related to that table and not Publish the objects with SchemaUpdateMode=Recreate getting this wonderful error:
"The request for path /v1.0/sandbox/dev/apps?SchemaUpdateMode=recreate failed with code InternalServerError. Reason: "
How did I lock the table in the first place?
Very easy.

Run Debugger
Business Central Session Timed Out and needed new login.
When starting debugger again table was locked.

Any suggestions on how I can get the table unlocked?
For On-Premise version it would have been easy. Just KILL the stuck process in SQL.
But how about the cloud version?
best regards,
Thomas Barbut

You can try resetting your sandbox. Other than that you'll most likely need to contact support.
I will track this as a bug as well since we should not get into this situation.

Hello,
After some time it went away by it's own. It was between 20-40 minutes.
Never happened on production environment. So it's fine.
I kind of had the impression that resetting the sandbox could have solved the problem,
but I didn't want o reset the sandbox as I had all the setup data prepared for the testing.
And backing those up and reloading them via Rapid Start would have taken some time I can't afford.
I really appreciate your fast reactions on about every issue. Keep up the good work guys. 👍
best regards,
Thomas Barbut

Hi,
I have experienced almost the same thing. Debugging in VS Code sometimes hangs and it takes forever to step between lines. If I wait it eventually steps to next line. If I stop the debugger, sometimes it doesn't stop the execution in the web client (usually I get a message saying the execution was stopped by debugger) and tables that were locked before everything hung (in my case No. series) is still locked. After waiting about 30 minutes the lock is released and everything works fine (and debugging is working as normal again without delays).
BR
Linda

@ligoendeavor
are you also using BC sandbox?

@kalberes Yes, I'm using BC Sandbox.

We will try to issue a better error message here.

The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 26047.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read:
https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/
https://blogs.msdn.microsoft.com/freddyk/2018/04/16/which-docker-image-is-the-right-for-you/

The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 26103.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read:
https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/
https://blogs.msdn.microsoft.com/freddyk/2018/04/16/which-docker-image-is-the-right-for-you/

The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 26047.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read:
https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/
https://blogs.msdn.microsoft.com/freddyk/2018/04/16/which-docker-image-is-the-right-for-you/

hi, this problem has not been solved.
where is the solution?


The link of "here" is inaccessible!

Describe the bug
Documentation/Getting Started/Setup Authentication/Option 2: Use Embedded Dex with upstream OIDC
[Prerequisites] A Tanzu Kubernetes Cluster with Kubeflow on vSphere deployed. If you haven’t, please follow the tutorial here.
Reproduction steps

Expected behavior
accessible
Additional context
No response

The link is referring to localhost like is: http://localhost:1313/ml-ops-platform-for-vsphere/main/docs/deployment/carvel/
A domain name/IP which is accessible to the general public is required.


pyleus package is not added into jar file

Take word_count for example, after jar file generated and submit to storm cluster, the error message is below:
ImportError: No module named pyleus.storm
So I run vim word_count.jar and can not find the pyleus package.
I don't know how to solve it.
thanks

Are you building it with system site packages, by chance?

Hello, is this still an issue?


[DEVOPS-1101] nix demo/wallet integration test integration

Description
Re-adds the dropped nix changes from demo cluster PR
Linked issue
https://iohk.myjetbrains.com/youtrack/issue/DEVOPS-1101
Type of change

[ ] 🐞 Bug fix (non-breaking change which fixes an issue)
[ ] 🛠 New feature (non-breaking change which adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🏭 Refactoring that does not change existing functionality but does improve things like code readability, structure etc
[ ] 🔨 New or improved tests for existing code
[ ] ⛑ git-flow chore (backport, hotfix, etc)

Developer checklist

[ ] I have read the style guide document, and my code follows the code style of this project.
[ ] If my code deals with exceptions, it follows the guidelines.
[ ] I have updated any documentation accordingly, if needed. Documentation changes can be reflected in opening a PR on cardanodocs.com, amending the inline Haddock comments, any relevant README file or one of the document listed in the docs directory.
[ ] CHANGELOG entry has been added and is linked to the correct PR on GitHub.

Testing checklist

[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

QA Steps

Screenshots (if available)

Sorry it was lost during rebase / merge.
Flagging this as "DO NOT MERGE" for now following Tatyana's request to avoid merging stuff into develop for a short while.

@KtorZ I disagree, I think this needs merged so our demo clusters aren't in conflict in how they're started.

@KtorZ This is the sort of PR that would be fine to merge after a code freeze.


[Runtime][PipelineExecutor] Added Interface to Track Number of Global Inputs

Added a feature to PipelineExecutor to track number of Global Inputs.
Thanks for contributing to TVM!   Please refer to guideline https://tvm.apache.org/docs/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers by @ them in the pull request thread.

@Raghav-Chakravarthy , thanks for the contribution, please fix the ci issue.

Fixed CI issue

@masahi @comaniac
Could you please take a look at my commit?


Update classes.md

Fixes #40325
Since the default namespace and all the code samples use "Classes" as the namespace, make that the folder so it's the natural default.

Internal previews

📄 File
🔗 Preview link

docs/csharp/fundamentals/tutorials/classes.md
Explore object oriented programming with classes and objects

closing and reopeing

closing and reopening for a fresh build


[Perf] Add EventPerfTest to framework, add test for EventHubs and EventHubs.Processor

Only change to perf framework is adding EventPerfTest
Adds sample event-based perf tests under Azure.Sample.Perf
Adds real-world perf tests for EventHubs and EventHubs.Processor
Builds on #24653
Fixes #24322

@jsquire: I addressed and resolved all conversations, except for an old one about using EventHubScope/StorageScope.  Would you still like the perf tests to use these, or is EventHubsTestEnvironment/StorageTestEnvironment sufficient?

@jsquire: I addressed and resolved all conversations, except for an old one about using EventHubScope/StorageScope. Would you still like the perf tests to use these, or is EventHubsTestEnvironment/StorageTestEnvironment sufficient?

Thanks for asking, @mikeharder.   For consistency, it'd be good to go with the StorageScope - but it's not critical so long as we're deleting the container in the tear-down.  The StorageTestEnvironment is the important part.


refactor(gripper): hardware configurations

We had too many c files for gripper motor configuration, which made managing new revisions really difficult. '
So instead of having multiple headers files, let's just keep all of these defs in one master motor_hardware.h.
We will have separate source files for each axis: motor_hardware_g.c and motor_hardware_z.c for axis-specific configurations; as for functions that are shared, such as HAL timer callbacks, we will put those in motor_hardware_shared.c.

Codecov Report

Merging #577 (e675659) into main (5083ab7) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #577   +/-   ##
=======================================
  Coverage   84.59%   84.59%
=======================================
  Files          82       82
  Lines        2895     2895
=======================================
  Hits         2449     2449
  Misses        446      446


functools attribute error was found

After I pull the up-to-date code in my environment, another error was found:
Traceback (most recent call last):
File "example.py", line 34, in
import freetensor as ft
File "/data/not_backed_up/lihhu/FreeTensor_experiments/FreeTensor/python/freetensor/init.py", line 1, in
from . import core
File "/data/not_backed_up/lihhu/FreeTensor_experiments/FreeTensor/python/freetensor/core/init.py", line 14, in
from .autograd import *
File "/data/not_backed_up/lihhu/FreeTensor_experiments/FreeTensor/python/freetensor/core/autograd.py", line 17, in
from .transform import transform, inline
File "/data/not_backed_up/lihhu/FreeTensor_experiments/FreeTensor/python/freetensor/core/transform.py", line 32, in
jit_cache: Callable[Callable, Callable] = functools.cache,
AttributeError: module 'functools' has no attribute 'cache'
Is there any suggestion for this error?
Thank you!

functools is a built-in package from Python, and there is indeed a functools.cache. Please check your Python installation's integrity.

Thanks a lot. My Python version is 3.8.10, but the functools.cache is a new function in Python 3.9.


Fix missing handler

Fixes #55

Can you add a unit test for the fix, so that we cover this and we don't break it in the future?

I just want to state that I patched this bug fix and the bug fix in https://github.com/mcollina/node-coap/pull/61 into my local node-coap module and it works fine. That is, a node.js application acting both as a server and a client creates a coap-server that is a proxy. Peers sends requests to this proxy server and I am able to send requests back to those peers through my own local proxy. This means that the quadruple of source and destination address/port will be the same for the traffic in both directions, which makes it possible to pass firewalls.
Will https://github.com/mcollina/node-coap/pull/60 and https://github.com/mcollina/node-coap/pull/61 be merged?


Fix ForceListenMenuEnabled to SwitchParameter

closes https://github.com/MicrosoftDocs/office-docs-powershell/issues/10835
related https://github.com/MicrosoftDocs/office-docs-powershell/pull/10321

@JohanFreelancer9

@tiburd Please merge this PR. Thanks


openstack-integration-part-one (in Progress)

!test

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
http://jenkins.test//job/vmmaster.staging.regression/35/

!test

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
http://jenkins.test//job/vmmaster.staging.regression/36/

!test

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
http://jenkins.test//job/vmmaster.staging.regression/37/

!test

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
http://jenkins.test//job/vmmaster.staging.regression/38/

!test

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
http://jenkins.test//job/vmmaster.staging.regression/39/


Error: Can not create table 'test', because it already exists in the database 'db'

 alasql('CREATE localStorage DATABASE IF NOT EXISTS db');
alasql('ATTACH localStorage DATABASE db');
alasql('USE db');
alasql('CREATE TABLE IF NOT EXISTS test')

Calling this request 2 times, and he falls in error. obtained condition is not triggered until the end of the table inside?
alasql('CREATE TABLE IF NOT EXISTS test')

The worst thing - I could not reproduce this error. I catched it once, but now can not reproduce it. Can you look at this test file
https://github.com/agershun/alasql/blob/develop/test/test267.js
What should be changed in this file to brake AlaSQL?

by tests all is well. And if it is 2 times cause an error
    alasql('CREATE localStorage DATABASE IF NOT EXISTS db');
    alasql('ATTACH localStorage DATABASE db');
    alasql('USE db');
    alasql('CREATE TABLE IF NOT EXISTS test');
    alasql('CREATE localStorage DATABASE IF NOT EXISTS db');
    alasql('ATTACH localStorage DATABASE db');
    alasql('USE db');
    alasql('CREATE TABLE IF NOT EXISTS test');

Victor, hi. Unfortunately, I cannot reproduce this error. Could you write me at agershun at gmail.com, and we can discuss it by the phone or skype.

This card is no longer the errors that occurred in previous versions, fix :+1:

On:
http://alasql.org/console/?help
this commands execute on first time and fail after:
create table if not exists teste( id int(11) )

Still having problems with this issue.
Calling it with:
var db = new alasql.Database(); db.exec("create table if not exists teste( id int(11) )", [], (data)=>{} ) db.exec("create table if not exists teste( id int(11) )", [], (data)=>{} )
Second callback are never called.

Please have a look at this example:
alasql.promise([
    'CREATE FILESTORAGE DATABASE IF NOT EXISTS test1("./test1.json")',
    'ATTACH FILESTORAGE DATABASE test1("./test1.json")',
    'USE test1',
    'CREATE TABLE IF NOT EXISTS `preferences` (`id` int(11) NOT NULL, `tab` varchar(45) DEFAULT NULL, `tab_id` int(11))',
    'INSERT INTO `preferences` (`id`, `tab`, `tab_id`) VALUES (1, "where", 1), (2, "when", 8)',
    //'DELETE FROM preferences WHERE id = 1',
    'SELECT * FROM preferences'
]).then(function(res){
    console.log('Result from last query:',res)
}).catch(function(reason){
    console.trace(reason)
})

will only work with the version of alasql that is not yet released (0.2.5)

Im closing the issue. Please reopen if you have any questions


HighlightSelectedPoints will probably do the job for you since it displays the selected points.

HighlightSelectedPoints will probably do the job for you since it displays the selected points.
Originally posted by @ajpmaclean in https://github.com/lorensen/VTKExamples/issues/629#issuecomment-557360253

it is ok


Mtime ci

Here's a CI run where I show that the os.Chtimes code works if the condition is hit:
https://github.com/brimsec/zq/runs/880125697
In that that test run (with the code at 8e55d83), the code stats the metadata file, then rewrites the file, then stats again, showing the mtime didn't change. Then the os.Chtimes code is called & forces the mtime to update. No other test failures (except the assert to show that the condition had been hit) were triggered, so the separate archive handle did recognize that the file had been updated & the expected new data was found.


Get explicit path of mktemp & use that for invoking

cygwin environment doesn't have mktemp on path by default (or at least this script can't use mktemp when using the command name directly within cygwin)
This fix works both in Linux/standard environments & in cygwin

Seems there is a deeper issue with cygwin, as I found a new different edge case. I'll open a new pr when I have the full fix

cygwin does "magic setup" of the path variables in /etc/profile, but that does not run during fish startup, so instead of setting an environment variable in windows to set fish as the default shell, instead add
source /etc/profile
exec -l fish "$@"

to the .bashrc file


InpPerImage modification in convlayer.h

Hello,
I send a pull request.
In the modified part below, the fractional part may be generated by division.
.-  unsigned const InpPerImage = IFMDimIFMDimIFMChannels/InStreamW * TSrcI::width;
.+  unsigned const InpPerImage = (float)(IFMDimIFMDimIFMChannels)/InStreamW * TSrcI::width;
I changed IFMDim and realized that the decimal part occurred while I was executing it.
Please check.

I also modified dma.h.
If numBytes / (DataWidth / 8) has the remainder, paddedSizeHW is applied to increase it by 1.

const unsigned int numWords = numBytes / (DataWidth / 8);

const unsigned int numWords = paddedSizeHW(numBytes, (DataWidth / 8)) / (DataWidth / 8);

I modified streamtools.h.
I have modified the source code so that if a remainder occurs in NumInword / inPerout, the rest of the input is written to out.


chore: release python-runtime 1.3.0

:robot: I have created a release beep boop
1.3.0 (2023-08-30)
Features

more debugging (af147cd)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/mowies/lifecycle-controller/releases/tag/python-runtime-v1.3.0 :sunflower:


[BUG]: MyFriend Flag reg disclaimer

Which module?
user
Description of the bug
MyFriend module registration should display disclaimer if enabled on User management preferences.
Steps To Reproduce

send an invitation
click the invitation link
registration form missing disclaimer

Additional Information
No response

Module not supported by the developer.


Connection to Arduino

Hello what pins on an Arduino should the ones on this camera be connected to?

I'm using the MT9D111 camera unit and I can't seem to find wiring documentations for it

Please check this one.
https://www.arducam.com/docs/spi-cameras-for-arduino/access-camera-demo/arducam-shield-with-mt9d111-for-arduino-uno/


(B2) Restart a node according to schedule

Node ID
c3f4184999681259

confirmed:B2

confirmed:B2

confirmed:B6

confirmed:B6


Showing modelfiles on ollama.com

Similar to docker hub showing the Dockerfile that each docker image was created with, is there a repository of the Modelfiles that models in the Ollama library were created with? If not, what do you think of creating one?
I can run ollama show <model> --modelfile but that only works for models I have downloaded.

They have this models.
It's not exactly the same but still has some useful information.

Hi @Riezebos and @virt-god, we are working on surfacing the modelfiles better on ollama.com


Fix logback formatting for IDE links

Checklist

[x] Appropriate branch selected (all PRs must first be merged to dev before they can be merged to master)
[x] Any modified or new methods or classes have helpful JavaDoc and code is thoroughly commented
[x] The description lists all applicable issues this PR seeks to resolve
[x] The description lists any configuration setting(s) that differ from the default settings
[x] All tests and CI builds passing

Description
At some point the logback config stopped formatting stack traces so that Intellij would provide URLs to code refs. This change fixes that.

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


ConsoleProgressInfo sometimes writes too long strings

Steps to reproduce:

create a file: b'test/src/Chopin - Piano\xe3\x80\x80Concerto\xe3\x80\x80No.1.mp3
try to rusync from test/src to test/dest in a smallish window
your terminal gets flooded instead of the progress staying on one line

Found the bug: turns out the string contains a IDEOGRAPHIC SPACE character, so the terminal does what it is supposed to do.

This is hard to fix. We may try to guess what the terminal would do by checking for codepoints that represent wide spacing. An other solution would be to talk to the terminal directly to get the "physical" size of the line.
None of it looks easy :/

Or ... don't use \r and tell the cursor to go up one line?

Hint: https://docs.rs/wcwidth/1.0.1/wcwidth/


feat(DropDown): update dropdown button and menu to be independent of each other

What:
Separate dropdown button and menu from each other and make their width independent of each other. Also prevent first item in menu from being focused without hover or arrow key press.
Why:
Changes were required as per updated design specifications.
How:
Made various changes in the styles to match the design. Added a new bool type prop to allow 100% width of container. Also passed down an extra parameter from DropDown group via Keyboard Provider to prevent first item in menu from being focused by default.
Checklist:

[x] Documentation
[x] Tests
[x] Ready to be merged

Does this changes considering backward compatibility?

Yes this was a major change in the Drop-down. All the design changes came from design team working on Aurora Elements.


undefinied symbol: torchaudio/ext.so

ruby: symbol lookup error: /home/lukasz/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/torchaudio-0.1.2/lib/torchaudio/ext.so: undefined symbol: _ZN3c109ClassType6createENS_8optionalINS_13QualifiedNameEEESt8weak_ptrIN5torch3jit15CompilationUnitEEbNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

ruby version: ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux]
pytorch version: libtorch-shared-with-deps-1.8.1+cpu
torch.rb version: 0.6.0 (the same on current git version)
torchaudio version: 0.1.2 (the same on current git version)

Hey @lfuszara1, it looks you're using the pre-cxx11 ABI version of LibTorch. You'll want to use the cxx11 ABI version.

Ok, I repaired that with Dockerfile instruction.


help! help! help! batch render image.

static void nvg_renderImage(NVGcontext* ctx, int img, NVGvertex* verts, int nverts)
{
    NVGstate* state = nvg__getState(ctx);
    NVGpaint paint = state->fill;

    paint.image = img;
    paint.innerColor.a *= state->alpha;
    paint.outerColor.a *= state->alpha;

	ctx->params.renderTriangles(ctx->params.userPtr, &paint, state->compositeOperation, &state->scissor, verts, nverts);
	ctx->drawCallCount++;
	ctx->textTriCount += nverts/3;
}

void nvgImage(NVGcontext* ctx, int img, int rect_count, float* sx, float* sy, float* sw, float* sh, float* dx, float* dy, float* dw, float* dh)
{
    int nverts = 6*rect_count;
    NVGvertex verts[nverts];
    NVGvertex* dst = verts;

    int i,iw, ih;
    nvgImageSize(ctx, img, &iw, &ih);

    for(i = 0; i < rect_count; ++i)
    {
        float tx = sx[i] / iw;
        float ty = sy[i] / ih;

        nvg__vset(dst, dx[i], dy[i], tx, ty);
        dst++;
        nvg__vset(dst, dx[i], dy[i]+dh[i], tx, ty+sh[i]/ih);
        dst++;
        nvg__vset(dst, dx[i] + dw[i], dy[i], tx+sw[i]/iw, ty);
        dst++;

        nvg__vset(dst, dx[i] + dw[i], dy[i], tx+sw[i]/iw, ty);
        dst++;
        nvg__vset(dst, dx[i], dy[i]+dh[i], tx, ty+sh[i]/ih);
        dst++;
        nvg__vset(dst, dx[i] + dw[i], dy[i]+dh[i], tx+sw[i]/iw, ty+sh[i]/ih);
        dst++;
    }
    nvg_renderImage(ctx, img, verts, nverts);
}

I wanna draw the same texture multi image rect to multi screen rect. but above code show nothing.

IIRC you'll need to transform the corner points too, see:
https://github.com/memononen/nanovg/blob/master/src/nanovg.c#L2454
Also, the corner winding can be wrong. I always forget which one it is, but it is easy enough to reverse.

@memononen thanks. I had transformed the corner points. render image ok, but flipy .

@zmzwj If the image was loaded using nvgCreateImage() then I recommend to flip the Y texture coordinate. If the texture comes from outside nanovg using nvglCreateImageFromHandleGL2()you should use the flip-y flag.


Load the latest driver cause BSOD.

It's the version committed early this morning.

Physical machine or vm? And could you send crash dump?

Physical machine, and the attachment is dump file.

I don't see any attachment

121123-10406-01.dmp

Is airhv compiled by yourself? And if so, are you using Release/Debug_Minimal configuration?


core dumped when running spdm-emu (on linux server)

I built emu with below command -
cmake -DARCH=x64 -DTOOLCHAIN=GCC -DTARGET=Release -DCRYPTO=mbedtls ..
make copy_sample_key
make -j
/dev/shm/spdm-emu/build/bin# ./spdm_responder_emu > resp_log
free(): invalid next size (normal)
Aborted (core dumped)
/dev/shm/spdm-emu/build/bin# ./spdm_requester_emu > req_log
Responder Aborted and dumped the core. attached the logs for both req/resp.
Thanks,
Manish
logs.zip

cloned to libspdm issue https://github.com/DMTF/libspdm/issues/1086


Change from jade to pug

Refer to pugjs/pug#2184

Not until pug it at least stable. There have been many alpha and now beta releases, with the API shifting every so often. See https://github.com/pugjs/pug/issues/2405 .
If anything, if there is no stable pug before express 4.14, then maybe we will add pug as a secondary option, not replace jade.

As long as it's being tracked. :)

Yes. There have been a few issues and PRs here already. There is even an open PR that we are just waiting on a stable pug to merge.


Fix nullability warning in RuntimeMetrics.h

@aditi-pandit Thanks for fixing this! Sorry for breaking it. It seems CI checks don't fail on that warning.


fix: Fix error when defining multiple layout routes

uniqueRouteId is an empty string instead of undefined for layout routes.
Fix https://github.com/remix-run/remix/issues/769

@jacob-ebey I didn't dig in, but seems like even layout routes should have a unique ID (filename)? Why would it be undefined or empty string?

Oops, didn't mean to submit yet. @jacob-ebey If you can take a look at this and approve it then I'll merge it, thanks!

fixed on #1347

thanks for taking some time on this!


Component not triggered if not in view

Version
2.2.3
Vue.js version
2.1.10
What is expected?
When a list that is configured with the vue-infinite-loading is not in view, then the component is not triggered.
What is actually happening?
I use the bootstrap tab and on each tab there is a table that is configured to individual vue-infinite-loading component. If the tab isn't active, then the component is not triggered.
How do I go about loading the table on a tab that isn't active

You can try this.$refs.infiniteLoading.attemptLoad method to trigger load manually after tab switched.
Maybe I should add a event to support that, how do you think?

yes, an event will be great, but is there a way to load them without having to bring them to view.
Here is my use-case. I have a common filter for the data that needs to be loaded on both tabs. And I load both the tabs based on the filter selections and also update the count on the tab selector. Currently this doesn't work if I call this.$refs.infiniteLoading.attemptLoad manually on mounted

Appreciate if you can help me on this at the earliest.

@PeachScript Do you have any suggestions on how to implement this?

@PeachScript any updates on this?

Sorry for late, it is a special case, I will consider it carefully, thanks.
For now, you can extends a new Component from this component, and override the attemptLoad method to remove this line.

+1
any updates?

one more way to make it working without overriding/hacking infinite component.
mounted () {
  this.$refs.infinite.isLoading = true // to avoid duplicate(normal) request if "we visible"
  this.loadMore(this.$refs.infinite.stateChanger)
}

where loadMore is callback onInfinity
what you think?

Hi @abishekrsrikaanth @aleksanderd , this issue has been on hold for long time, I'm so sorry.
I've considered it carefully, and made two opinions:

The scroll distance logic depends on the getBoundingClientRect API but it cannot works for an off-screen element, so it will be too complex if implement the allowLoadingIfInvisible feature;
From the user experience perspective, if we want to preload some data for users, we should prepare it directly rather than via a infinite scroll component because the scroll container is invisible for users.

So I think we can implement it like this:
export default {
  /* ... */
  mounted() {
    // preload the first page of data for users
    this.infiniteHandler();
  },
  methods: {
    infiniteHandler($state = { loaded() {}, complete() {} }) {
      /* logic to request and fill up data */
    },
  },
};

How do you think about it?

Any news for this? I am using nuxt and component is invisible under a dropdown menu. I cant use ref solution.
I need to set also state because if 1 page is loaded and I try to load next page "No results" is shown

Hi @zek , could you explain why the infinite list be in a dropdown menu? I want to know the details of your situation.

same case , here is my solution for reference：
<template>
  <infinite-loading v-if="isVisible" ...>

  </infinite-loading>
</template>

<script>
  export default {
    /* ... */
    data(){
       isVisible: false,
    },
    mounted() {
      const self = this;
      const intersectionObserver = new IntersectionObserver(function(entries) {
          if (entries[0].intersectionRatio <= 0) return;
          // present
          self.isVisible = true;
      });
      intersectionObserver.observe(document.querySelector(target));
    },
  };
</script>


add flag to support standalone executables

This is a small attempt to add support for building standalone executables, mainly for the benefit of Windows so you don't have to lug around libstdc++, libgcc, and winpthread dlls.
libgcc and libstdc++ fall under the GNU Runtime Library Exception explained here: https://www.gnu.org/licenses/gcc-exception-3.1-faq.en.html
winpthreads does not however. It's license can be found here: https://github.com/mirror/mingw-w64/blob/master/mingw-w64-libraries/winpthreads/COPYING
This works for ragel* and colm, none of the bootstraps are done since I don't think they're significant for distribution.

Hi, sorry I took so long to see this ... I just joined a new organization and have been flooded with GitHub notifications so I turned them off while I figured it out.


Crash when opening file

Binary available to V35 by searching for lord puffin powerful entourage

Will be fixed in 4.0.4899-dev

Gotta share this with more people:


[Bug] getting compile error after put the newest FirebaseAnalytics SDK on iOS

[REQUIRED] Please fill in the following fields:

Pre-built SDK from the website or open-source from this repo: (https://github.com/firebase/firebase-ios-sdk/releases/tag/9.1.0)
Firebase C++ SDK version: 9.1.0
Problematic Firebase Component: FirebaseAnalytics (Auth, Database, etc.)
Other Firebase Components in use: Crashlytics, Google-Mobile-Ads-SDK (Auth, Database, etc.)
Platform you are using the C++ SDK on: Mac (Mac, Windows, or Linux)
Platform you are targeting: iOS (iOS, Android, and/or desktop)

[REQUIRED] Please describe the issue here:
(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)
I was using Firebase SDK 8.12.0 and tried to bump up the SDK version to 9.1.0
So I copied and paste the whole SDKs and getting the error saying
Undefined symbols for architecture arm64:
"_APMUserDataFieldEmailAddress", referenced from:
+[FIRAnalytics initiateOnDeviceConversionMeasurementWithEmailAddress:] in FirebaseAnalytics(FIRAnalytics.o)
SDKs list in XCode,
Firebaseanalytics
FirebaseCore
FirebaseCoreDiagnostics
FirebaseCoreInternal
FirebaseCrashlytics
FirebaseIntallations
GoogleDataTransport
PromisesObjC
GoogleAppMeasurement
GoogleAppMeasurementIdentitySupport
GoogleMobileAds
GoogleUtilities
nanopb
PromisesObjC
UserMessagingPlatform
am I missing something to add?
Steps to reproduce:
Have you been able to reproduce this issue with just the Firebase C++ quickstarts ?
What's the issue repro rate? (eg 100%, 1/5 etc) - 100%
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.
Relevant Code:
// TODO(you): code here to reproduce the problem

Hello.
You mention both C++ and iOS SDK in your post. Can you confirm whether your project is using the C++ SDK or if it is integrated with the native iOS SDK directly?
I ask because you mention version 9.1.0 in your post, and version 9.1.0 of the C++ SDK was not released at the time of your post, and it sounds like your error might be coming from the iOS SDK.
if you are using the iOS SDK directly, you might want to post the issue at https://github.com/firebase/firebase-ios-sdk
If you are using the C++ SDK, could you give a bit more info about what version of it you are using and whether you built from source?


Fix documentation typos [phab:D508]

Created by schroederc at 2015-09-10 22:42:01:

shahms accepted this revision at 2015-09-10 22:42:49

schroederc closed via commit eab22e89b108c6e78535937cd0cb7bb76faa70bd at 2015-09-10 22:51:36


bug(TYPOGRAPHY): .mat-typography CSS class no longer works in v15

Is this a regression?

[X] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
14
Description
After upgrade to v15 .mat-typography CSS class no longer works when using customized theme.
The issue can be reproduced in the official demos. For example, content of the "Dialog content" demo has incorrect styling.
Related bug reports: #26184 #26351
Reproduction
Steps to reproduce:

Define your theme the recommended way: theme.scss
Try to add .mat-typography CSS class to some container in your app

Expected Behavior
Material design styles are applied to the section using .mat-typography.
Actual Behavior
Material design styles are not applied
Environment

Angular: 15.1.2
CDK/Material: 15.1.2
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): Windows

@hakimio,
Hi, I used the project in your link and customized the theme by adding to the $theme
typography: mat.define-typography-config(     $font-family: 'Solitreo'   ),
and '' to index.html
and seems to be working

@AlbertoBonfiglio that's not the issue I described. The issue is that styles from mat-typography are not applied.

Hi,
Could you please expand? Fo you have a sample of what styles are not
applied?
Cheers
Alberto
On Tue, Jan 31, 2023, 16:19 Tomas Rimkus @.***> wrote:

@AlbertoBonfiglio https://github.com/AlbertoBonfiglio that's not the
issue I described. The issue is that styles from mat-typography are not
applied.
—
Reply to this email directly, view it on GitHub
https://github.com/angular/components/issues/26524#issuecomment-1409829946,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADTW7NZJTPS76WIX3VBIPJ3WVCVIDANCNFSM6AAAAAAUK62A4Y
.
You are receiving this because you were mentioned.Message ID:
@.***>

@AlbertoBonfiglio that's not the issue I described. The issue is that styles from .mat-typography are not applied.

Maybe first you should show some code of your implementation...
i had nearly the same issue and a lot of another and could it fix in my custom_theme where i have to export the typography to the components.
The Angular 15 had a lot of changes in the custom styling.
if you use a custom typo than you should write it like
$app-primary: mat.define-palette(map.get($theme-colors, 'color-primary'));
$app-accent: mat.define-palette(map.get($theme-colors, 'color-accent'));
$app-warn: mat.define-palette(map.get(base.$base-colors, 'color-warn'));
$typography: mat.define-legacy-typography-config();
$theme: mat.define-light-theme(
(
color: (
primary: $app-primary,        accent: $app-accent,        warn: $app-warn,       ),
typography: $typography,
density: 0,
 )
);
@include mat.all-component-themes($theme);
@include mat.all-legacy-component-themes($theme);
@include mat.all-component-typographies($typography);
the new thing in the mat.define-light-theme is that we have to declare here the typography and density, for that you need the line $typography: mat.define-legacy-typography-config(); and next important is the "export" or "include" into all components, the second line below you need only when you write typography in the old way was also mentioned in the other bugs where wo linked in your bug.
@include mat.all-component-themes($theme);
@include mat.all-legacy-component-themes($theme);
@include mat.all-component-typographies($typography);

I have linked official dialog demo project ("Dialog with header, scrollable content and actions") in my first post where you can clearly see that typography CSS is not applied to the content of the dialog.
I don't care about your theme customizations.
How the same demo looked in v14:

How it looks now in v15:

Can you spot the difference?
The missing CSS:

It's because the typography-hierarchy mixin isn't included by default anymore. I've sent out a PR to update the docs. You should be able to get it to work by adding @include mat.typography-hierarchy($your-typography-config) to your theme.

@crisbeto thank you for creating a PR to update the docs.
Would be great if the StackBlitz demos could be updated as well to fix the issue.

I have the same issue. I added @include mat.typography-hierarchy($lawyer-typography); to my custom theme, but still not working


refactor: Use JSON Serialization Instead of Pickle

JSON Serialization is more human readable, have better backward-compatibility when modifying code, and avoided security issues in Pickle.
https://github.com/FlysonBot/Mastermind/blob/3eb4cd2002709815a6e4ffd6bec99494c2e7b9d5/src/mastermind/storage/user_data.py#L1-L13

Fixed in a series of commit. Last commit of the series is dab3a63c150bf2a92d222fb5e00e45949c7b711d


ETFE-2738: Alignment - CAM-INFO08/02: destination-type - Duty Paid Co…

…ntent

I've added XIPA and XIPC stub data in this PR: https://github.com/hmrc/emcs-tfe-stub/pull/28


Create a VS backend mock server

I'm submitting a ...

[x] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, see note at the top of this template.

What is the motivation / use case for changing the behavior?

Right now to play with VS on your own backend is required. It makes jumping into it quite harder even with our demo instance since it's impossible to track flow of data changes etc. Not to mention testing some specific use cases with additional attributes etc.
Ideally we should have mock server for our backend which will allow us to run VS frontend locally without any backend dependency. It'll also allow frontend developers to quickly change the data formats and test new fucntionalities without digging into backend (like we had to do with content CMS integration)
I recommend using json-server for mock server and faker for generating data but if you feel comfortable with other solutions feel free to use them..

It's been done with the Simple API example in the integration SDK: https://github.com/DivanteLtd/vue-storefront-integration-sdk/tree/tutorial/sample-api-js


How to execute spec  file in user defined order

I have multiple  rspec file like below
ep_spec.rb,
un_spec.rb
acc_spec.rb
when I run  by default it's running first acc_spec.rb  then ep_spec.rb and then un_spec.rb. I want to
run spec file in following order un_spec.rb, ep_spec.rb acc_spec.rb . How to achieve this your support will be greatly apprecaited

RSpec will load files in there specified order, however it is your ordering strategy that determines how they are run, you will need --order defined to override any configured ordered.

Generally support questions like this are best left to stack overflow and mailing lists. I'm going to close this, please provide a minimal reproducible repo showing your specs not loading in order when properly configured.

This will do what you are asking:
$ rspec un_spec.rb, ep_spec.rb acc_spec.rb --order defined

Hi myronmarston,
I tried your suggestion it looks --order defined is not working  for me it's always picking acc_spec.rb only first. alphabedical order only it's start executing . Your suggestion will greatly appreciated

What version of rspec are you running?

rspec -v

Hi myronmarston the below are the details
RSpec 3.6

rspec-core 3.6.0
rspec-expectations 3.6.0
rspec-mocks 3.6.0
rspec-support 3.6.0

@manikandankumaraswamy Loading the spec files in the order of the provided arguments is a feature we added to rspec 3.5 so I'm surprised you're running into this problem.  Can you create a SSCCE so we can look into it?


Access token Expiry - 401 Unauthorized on AJAX

Hi,
I'm trying to use adal-angular5 to handle authentication for my application with azure AD.
My routeGuard works fine with this logic:
    if (this._adal.userInfo.authenticated) {
      return true;
    }
    this_adal.login();
    return false;

allowing navigation from page to page even after access token expiry, but any AJAX requests are failing with 401 unauthorized, how do I force the re-authentication logic to renew the access token in the event of an AJAX failure/hide access token expiry completely from the user such that the application can be left unattended for 1 hour and still work?
Any working examples would be greatly appreciated.

So the problem I was having was caused by manually setting the Authorization header, the token in storage isn't updated when a new one is acquired by this library, so setting the header manually will inject an expired token before the valid one is added, causing a 401.
A related issue was that My client and API are on different URLs, and this isn't supported by the default behavior, so manually specifying the endpoint in the config is required to allow automatic token acquisition by this library.
const config = {
tenant: '***********************************',
clientId: 'CLIENTIDGOESHERE',
cacheLocation: 'localStorage',
endpoints: {
'http://localhost:44302' : 'CLIENTIDGOESHERE'
}
}


Webpack: Dynamic runtimeValue

(Meta, Suggestion)
https://github.com/sindresorhus/refined-github/blob/8122efcb50393092f7c0534c458fe06e2ac9e30c/webpack.config.ts#L94-L103
It's undocumented, but you can use true as the second parameter to re-evaluate the callback with every file change:
https://github.com/webpack/webpack/pull/8267
It would need to be something like this, though:

Code changes
https://github.com/sindresorhus/refined-github/blob/8122efcb50393092f7c0534c458fe06e2ac9e30c/webpack.config.ts#L39-L41
to =>
function getFeatures(): string[] {
	return readdirSync(path.join(__dirname, 'source/features'))
		.filter(filename => filename.endsWith('.tsx'))
		.map(filename => filename.replace('.tsx', ''));
}

and
https://github.com/sindresorhus/refined-github/blob/8122efcb50393092f7c0534c458fe06e2ac9e30c/webpack.config.ts#L95-L97
to =>
// Passing `true` as the second argument makes these values dynamic — so every file change will update their value.
// @ts-ignore
__featuresList__: webpack.DefinePlugin.runtimeValue(() => {
	return JSON.stringify(getFeatures());
}, true),
// @ts-ignore
__featuresInfo__: webpack.DefinePlugin.runtimeValue(() => {
	return JSON.stringify(getFeatures().map(parseFeatureDetails));
}, true),

But there is the question of performance - I don't know how much this affects it.

But there is the question of performance - I don't know how much this affects it.

There's only one way to find out:
try {
	console.time()
	return JSON.stringify(getFeatures().map(parseFeatureDetails));
} finally {
	console.timeEnd()
}

Thanks. It looks like 7-12 ms.

Sounds fine


Service to handle experimental features in the app

Summary:
Here's my visualization of a service that can handle experimental features.
We write a simple service called GatekeeperService. The responsibility of this service will be to:

Control the access of any feature at a very granular level.

It will look like:
public interface GatekeeperService() {
    boolean isGatekeeperEnabled(String gatekeeperName);
}

And gatekeeperName can be:
- is_search_nearby_location_enabled
- is_retry_failed_upload_enabled
- is_review_uploads_enabled
- is_multiple_in_app_uploads_enabled

isGatekeeperEnabled can return if a particular feature(key) is true or false.
In the most simplistic form, it can decide to enable/disable any feature on the basis of product flavor.
These are all the things based on which we can enable/disable any feature for a particular user:

has user enabled experimental features or not
Flavor: Beta/Alpha/Prod
Android Version
Username
Country or location.

Would something like FireBase be sufficient for this rather than writing a new service? Are there limitations on pre-existing cloud solutions we may not be able to use?

In fact, we require something exactly like Firebase Remote config but due to privacy reasons, we might not want to use a 3rd party service.


Cant update presale date on website after launch

I am unable to update presale or public date after launch.
I did public launch with no mints made and cannot adjust launch to a later date.
minter-dapp
v0.02

More context is needed. What error message are you receiving?

More context is needed. What error message are you receiving?

HI, i'm experiencing the same issue, updated the base uri after minting, but on opensea.testnet, it does not update. Tried refreshing on opensea and waited for 2days. Still nothing.
Tried using the npm run refresh_os --start=1 --end=100 but it says

Please provide a start and end edition number. Example: npm run refresh_os --start 1 --end 10

More context is needed. What error message are you receiving?

I am currently still on Rinkeby for testing.
I already set (test) launch date and I can currently mint.
Now I am trying to change launch date to a later date by adjusting the config file.
I then run npm run update_public_mint_start_date and the correct date shows up and I click y to confirm
I get no errors and I repeat the same for presale_mint_start_date with no errors however on front end I can still mint even after the update.
I remind you I am still on rinkeby for testing/learning.
Kindly let me know if it is an impossibility with rinkeby or maybe I'm badly interpreting something.
Regards,
Michael


Add 3 in c language

File(s) Modified: 3-Longest-Substring-Without-Repeating-Characters.c
Language(s) Used: c
Submission URL: _https://leetcode.com/submissions/detail/790587305/_

Thanks, @julienChemillier!


Update allow-com-object-registration-in-windows-defender-application-…

…control-policy.md
Add KB's of shipping updates which backported this feature to other versions of windows 10.
See bug list here:
https://microsoft.visualstudio.com/OS/_queries/query/?tempQueryId=9d3cda8a-2d5a-4fe7-9f70-e236acdf7812

@DaniHalfin can you possibly assist with merging this to the private repo if needed?
@lindakup fyi, thanks again!


Fix test runs by sorting trait names deterministically

@gonzojive one thing I caught with your precommit hook is that the test sometimes fails when traits aren't serialized alphabetically. Not an actual, functional issue I don't think, but for test correctness I added this PR to fix the tests. Thoughts?

LGTM


Remove debug print

I just realized that I left the debug print in PR #433 by mistake. 🙏
This PR removes this line.

Thank you!


Contributors

@all-contributors add @orsou for code, projectManagement, maintenance, doc

@all-contributors add @orsou for code, projectManagement, maintenance, doc

@all-contributors add @orsou for code, projectManagement, maintenance, doc

@all-contributors add @orsou test


Fix global settings name display issue

Global setting name is displayed twice

After the fix

@ravening can you address review comments, thanks.

@blueorangutan package

@davidjumani a Jenkins job has been kicked to build primate packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark:centos :heavy_check_mark:debian :heavy_check_mark:archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/559 (JID-2715)


Calling chart.subscribeCrosshairMove() throws "Value is undefined" when hovering mouse over the chart

Lightweight Charts™ Version: 4.1.2
Steps/code to reproduce:

Provide valid data
Add a call to chart.subscribeCrosshairMove()
Hover the mouse over the timeline
Alternates between throwing errors and triggering the callback just fine.

See the stackblitz example and screen recording below.
Actual behavior:
When calling chart.subscribeCrosshairMove(), an error "Value is undefined" is thrown when hovering mouse over the chart.
Expected behavior:
An error should not be thrown.. ? The callback is still firing fine most of the time. However the error also keeps randomly throwing.
Screenshots:
https://github.com/tradingview/lightweight-charts/assets/12685308/77dfb684-a049-4b27-8ee5-28ff7e6e7830
CodeSandbox/JSFiddle/etc link:
Here's the minimal viable reproducable example: https://stackblitz.com/edit/nuxt-starter-ruhnxp?file=app.vue.

My temporary solution is to suppress this with:
  window.onerror = function (message: string | Event): boolean {
    if (typeof message === 'string' && message.includes('Value is undefined')) {
      // Prevent the error from being logged in the console
      return true;
    }

    return false;
  };

https://github.com/tradingview/lightweight-charts/assets/12685308/95324bb9-e134-4ba8-aa7d-5a16bab70f77

The issue still exists.


On Chrome, the Success Stories photos are squished.

On Chrome, the Success Stories photos are squished.

I would like to fix this

@Diongatea Go for it. Looks like it may be something as simple as adding flex: 1 0 auto to the .cardImage class inside imageListItem.css .

@Diongatea I will add myself as a placeholder assignee to this, so you can work on it.

Similar to #643


Update Solidity backend

What is wrong?
We are using a version of solc-rust that compiles with Solidity version 0.6.2, we should instead be using Solidity version 0.7.4 or maybe even the 0.8.x preview.
See this for relevant info.
How can it be fixed
Upgrade the Solidity submodule in solc-rust and and fix any issues that arise.

It's time for another update. We're missing support for the new basefee opcode.


Prefer log_backtrace over duplicating backtrace logging code

Less is more.
✂ 🔥 ✂ 🔥 ✂ 🔥
🍰  🍪 👏 🙇 😍 🎉


Move mobile app to sub-directory.

I don't think there are any scripts that require the files to be in the current locations right now.

No, as far as I'm aware of, one way to know, moving them into their own folder and see : )

Done and merged in with https://github.com/rightoneducation/righton-app/pull/22


Setup & Readme

Trying to setup proxstar but cant get it to start.
Followed the hacking steps but it complains about websockitify not existing on the filesystem and not sure if i should install it or if i am missing steps.
Any chance a compose file could be created for this as well?
How should this be deployed on production also?
What goes in the target file?
So far whenever i run it, flask starts, db migrations run but i get no response from the flask app on / or any route. just an indefinite loading

Only error ive found so far:
proxstar-postgres      | 2023-12-12 00:10:52.787 UTC [1] LOG:  database system is ready to accept connections
proxstar-rq            | 00:10:57 Worker rq:worker:21aa18a30b95456db056d6b1a2d55578: started, version 1.10.1
proxstar-rq            | 00:10:57 Subscribing to channel rq:pubsub:21aa18a30b95456db056d6b1a2d55578
proxstar-rq            | 00:10:57 *** Listening on default...
proxstar               | [2023-12-12 00:11:02 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:18)
proxstar               | [2023-12-12 00:11:02 +0000] [18] [INFO] Worker exiting (pid: 18)
proxstar               | Booting Websockify server in daemon mode...
proxstar               | Websockify is stopped. Starting websockify.
proxstar               | [2023-12-12 00:11:02 +0000] [22] [INFO] Booting worker with pid: 22

proxstar | [2023-12-12 00:11:02 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:18)
proxstar | [2023-12-12 00:11:02 +0000] [18] [INFO] Worker exiting (pid: 18)


Readme no docker & allow using platform default version

re-write section of README about using the action source code as a python package.

updated example and added example about CLI args compared to action input options.

resolves #64 about using clang-tidy with only a config file.
allow version input option to be blank.

When using the docker, the version default is 10.
When using the python CLI approach, the version is a blank string (allowing the platform's default installed version to be invoked).

I thought you'd eventually transfer the test repo over also. I'd like to merge the cpp-linter/test-cpp-linter-action#10. The updated workflows will be a good base for testing with and without the docker image.
I also agree that the code changes should be tested. The idea to change the version default (for only python CLI) came to me as I was re-writing the example for this PR. We needed a way to explicitly allow using the default version of clang tools in the platform's PATH env var.

I tested the version default in this CI run. It worked like a charm (and 15 seconds faster).
The changes to version option doesn't have an affect when using the docker image because the action.yml still passes 10 as the default value when the user doesn't specify a value (verified as such with this CI run). These changes to the version option only affect running the action as a python executable.
Other than those changes, the README update is the only thing left to review.


Idempotency broken when creating volterra_http_loadbalancer with simple_route and origin_pool due to : kind      = (known after apply)

I believe idempotency is broken in the case where  volterra_http_loadbalancer with simple_route and origin_pool  is provisioned with terraform due to : kind      = (known after apply)
Terraform v1.9.5
on linux_arm64

provider registry.terraform.io/volterraedge/volterra v0.11.35

########Module Code:
locals {
use_service_policies_from_namespace = length(var.active_service_policies) == 0 ? true : false
}
resource "volterra_http_loadbalancer" "lb-https-tf" {
depends_on = [var.depends_on_origin_pool]
name      = "${var.name_prefix}-lb-https-${var.name_suffix}"
namespace = var.namespace
domains   = var.https_config["https"].domains
default_sensitive_data_policy    = var.default_sensitive_data_policy
disable_api_definition           = var.disable_api_definition
disable_api_discovery            = var.disable_api_discovery
disable_malicious_user_detection = var.disable_malicious_user_detection
disable_threat_mesh              = var.disable_threat_mesh
disable_trust_client_ip_headers  = var.disable_trust_client_ip_headers
l7_ddos_action_default           = var.l7_ddos_action_default
advertise_on_public_default_vip  = var.advertise_on_public_default_vip
service_policies_from_namespace = local.use_service_policies_from_namespace
active_service_policies {
dynamic "policies" {
for_each = var.active_service_policies
content {
name      = policies.value.name
namespace = policies.value.namespace
tenant    = policies.value.tenant
}
}
}
no_challenge         = var.no_challenge
disable_rate_limit   = var.disable_rate_limit
user_id_client_ip    = var.user_id_client_ip
source_ip_stickiness = var.source_ip_stickiness
add_location         = var.add_location
https {
port                    = var.https_config["https"].port
add_hsts                = var.https_config["https"].add_hsts
http_redirect           = var.https_config["https"].http_redirect
enable_path_normalize   = var.https_config["https"].enable_path_normalize
connection_idle_timeout = var.https_config["https"].connection_idle_timeout
default_header          = var.https_config["https"].default_header
default_loadbalancer    = var.https_config["https"].default_loadbalancer
disable_path_normalize  = var.https_config["https"].disable_path_normalize
non_default_loadbalancer = var.https_config["https"].non_default_loadbalancer
pass_through             = var.https_config["https"].pass_through
tls_cert_params {
  no_mtls = var.https_config["https"].tls_cert_params.no_mtls
  tls_config {
    default_security = var.https_config["https"].tls_cert_params.tls_config.default_security
  }
  dynamic "certificates" {
    for_each = var.https_config["https"].tls_cert_params.certificates
    content {
      namespace = certificates.value.namespace
      name      = certificates.value.name
      tenant    = certificates.value.tenant
    }
  }
}

}
dynamic "default_route_pools" {
for_each = var.default_route_pools
content {
pool {
name      = default_route_pools.value.name
namespace = default_route_pools.value.namespace
tenant    = default_route_pools.value.tenant
}
weight = default_route_pools.value.weight
}
}
dynamic "routes" {
for_each = var.simple_routes
content {
simple_route {
auto_host_rewrite    = routes.value.auto_host_rewrite
disable_host_rewrite = routes.value.disable_host_rewrite
http_method          = routes.value.http_method
    advanced_options {
      common_buffering          = routes.value.advanced_options.common_buffering
      common_hash_policy        = routes.value.advanced_options.common_hash_policy
      default_retry_policy      = routes.value.advanced_options.default_retry_policy
      disable_location_add      = routes.value.advanced_options.disable_location_add
      disable_mirroring         = routes.value.advanced_options.disable_mirroring
      disable_prefix_rewrite    = routes.value.advanced_options.disable_prefix_rewrite
      disable_spdy              = routes.value.advanced_options.disable_spdy
      disable_waf               = routes.value.advanced_options.disable_waf
      disable_web_socket_config = routes.value.advanced_options.disable_web_socket_config
      do_not_retract_cluster    = routes.value.advanced_options.do_not_retract_cluster
      enable_spdy               = routes.value.advanced_options.enable_spdy

      inherited_bot_defense_javascript_injection = routes.value.advanced_options.inherited_bot_defense_javascript_injection
      inherited_waf                              = routes.value.advanced_options.inherited_waf
      no_retry_policy                            = routes.value.advanced_options.no_retry_policy
      priority                                   = routes.value.advanced_options.priority
      timeout                                    = routes.value.advanced_options.timeout

      response_headers_to_add {
        append = routes.value.advanced_options.response_headers_to_add.append
        name   = routes.value.advanced_options.response_headers_to_add.name
        value  = routes.value.advanced_options.response_headers_to_add.value
      }
    }

    origin_pools {
      priority = routes.value.origin_pools.priority
      weight   = routes.value.origin_pools.weight

      pool {
        name      = routes.value.origin_pools.pool.name
        namespace = var.namespace
        tenant    = var.tenant
      }
    }

    path {
      prefix = routes.value.path.prefix
    }

    incoming_port {
      no_port_match = routes.value.incoming_port.no_port_match
      port          = routes.value.incoming_port.port
    }

  }

}

}
app_firewall {
name      = var.app_firewall.name
namespace = var.app_firewall.namespace
tenant    = var.app_firewall.tenant
}
dynamic "more_option" {
for_each = var.more_option
content {
response_headers_to_add {
append = more_option.value.append
name   = more_option.value.name
value  = more_option.value.value
}
}
}
}
#############tfvars:
simple_routes = [
{
auto_host_rewrite    = true
disable_host_rewrite = false
http_method          = "ANY"
advanced_options = {
common_buffering                           = true
common_hash_policy                         = true
default_retry_policy                       = true
disable_location_add                       = false
disable_mirroring                          = true
disable_prefix_rewrite                     = true
disable_spdy                               = true
disable_waf                                = false
disable_web_socket_config                  = true
do_not_retract_cluster                     = false
enable_spdy                                = false
inherited_bot_defense_javascript_injection = true
inherited_waf                              = true
no_retry_policy                            = false
priority                                   = "DEFAULT"
request_headers_to_remove                  = []
response_headers_to_remove                 = []
retract_cluster                            = true
timeout                                    = 30000
response_headers_to_add = {
append = true
name   = "response_via_simple_route"
value  = "true"
}
}
incoming_port = {
no_port_match = true
port          = 0
}
origin_pools = {
priority = 1
weight   = 1
pool = {
name = "vslx-prod-maint-maint-test-tf"
}
}
path = {
prefix = "/"
}
}
]
#######module caller
module "loadbalancer" {
source      = "../../modules/loadbalancer_simple"
namespace   = var.namespace
environment = var.environment
tenant      = var.tenant
#pass origin pool object to load balancer module
depends_on_origin_pool = [
volterra_origin_pool.op-maint-test,
volterra_origin_pool.op-maint-test2  ]
name_prefix = local.name_prefix
name_suffix = local.name_suffix
https_config = {
https = {
domains                  = var.domains_lb01
port                     = 443
add_hsts                 = true
http_redirect            = true
enable_path_normalize    = true
connection_idle_timeout  = 0
default_header           = false
default_loadbalancer     = false
disable_path_normalize   = false
non_default_loadbalancer = false
pass_through             = false
tls_cert_params = {
no_mtls = true
tls_config = {
default_security = true
}
certificates = [
{
namespace = var.namespace
name      = volterra_certificate.cert-maint-test.name
tenant    = var.tenant
},
{
namespace = var.namespace
name      = volterra_certificate.cert-maint-test2.name
tenant    = var.tenant
}
]
}
}
}
default_route_pools = [
{
name      = volterra_origin_pool.op-maint-test.name
namespace = var.namespace
tenant    = var.tenant
weight    = 1
}
]
custom_routes = [
# {
#   name      = volterra_route.route-maint-test2-com.name
#   namespace = var.namespace
#   tenant    = var.tenant
# },
# {
#   name      = volterra_route.route-maint-test-com.name
#   namespace = var.namespace
#   tenant    = var.tenant
# }
]
simple_routes = [
{
auto_host_rewrite    = true
disable_host_rewrite = false
http_method          = "ANY"
# (1 unchanged attribute hidden)
  advanced_options = {
    common_buffering          = true
    common_hash_policy        = true
    default_retry_policy      = true
    disable_location_add      = false
    disable_mirroring         = true
    disable_prefix_rewrite    = true
    disable_spdy              = true
    disable_waf               = false
    disable_web_socket_config = true
    do_not_retract_cluster    = false
    enable_spdy               = false

    inherited_bot_defense_javascript_injection = true
    inherited_waf                              = true
    no_retry_policy                            = false
    priority                                   = "DEFAULT"
    request_headers_to_remove                  = []
    response_headers_to_remove                 = []
    retract_cluster                            = true
    timeout                                    = 30000

    response_headers_to_add = {
      append = true
      name   = "response_via_simple_route"
      value  = "true"
    }
  }

  incoming_port = {
    no_port_match = true
    port          = 0
  }

  origin_pools = {

    priority = 1
    weight   = 1

    pool = {
      name      = "vslx-prod-maint-maint-test-tf"
      namespace = var.namespace
      tenant    = var.tenant
    }
  }

  path = {
    prefix = "/"
  }
}

]
active_service_policies = [
{
name      = "vslx-${var.environment}-f5xc-srvpoly-explicit-allow-tf"
namespace = var.namespace
tenant    = var.tenant
},
{
name      = "vslx-${var.environment}-f5xc-srvpoly-default-allow-all-tf"
namespace = var.namespace
tenant    = var.tenant
}
]
app_firewall = {
name      = volterra_app_firewall.firewall-maint-waap.name
namespace = var.namespace
tenant    = var.tenant
}
more_option = [
{
append = true
name   = "response_from_lb"
value  = "true"
}
]
tags = {
Terraform   = "true"
Environment = "${var.environment}"
}
}

Second this @slavekjurkowski2; we see Terraform attempting to unset the 'kind' fields in a few places; across both volterra_http_loadbalancer and volterra_origin_pool on each plan.
In all cases, we see + kind = (known after apply), which makes it practically impossible to actually use our Terraform plan output as a reference when inspecting a change.
We have (for now) resorted to extracting changes from a terraform show -json <FILE> output so we can see what's actually changing - very annoying!

Either way, looking into the diff, we're seeing that our state file records "kind": "", rather than what the API returned upon resource creation, which means that Terraform thinks it needs to unset the value on each plan/apply cycle to get it back to the "computed" value.

Diving into the state file, and comparing against the Volterra API, we see the following:

Resource Type
Path
State File Value
Actual Value (API)
Proposed TF Action

volterra_http_loadbalancer
routes[0].simple_route[0].origin_pools[0].pool[0]
kind: ""
kind: "origin_pool"
delete (e.g. unset "kind")

volterra_http_loadbalancer
https[0].tls_cert_params[0].certificates[0]
kind: ""
kind: "certificate"
delete (e.g. unset "kind")

volterra_origin_pool
origin_servers[0].private_name[0].site_locator[0].virtual_site[0]
kind: ""
kind: "virtual_site"
delete (e.g. unset "kind")

It's very odd, because the fields in all three cases are set as Computed: true in the resource definitions in this repository. What's even weirder, is that while the API returns the correct values (e.g. "origin_pool"), Terraform seems to store in it's state file a value that indicates the kind field is empty (e.g. "").

What it seems is happening is that in the schema.Resource "Read" functions for the following types:

resource_auto_volterra_origin_pool.go

resourceVolterraOriginPoolRead --> setOriginPoolFields()

resource_auto_volterra_http_loadbalancer.go

resourceVolterraHttpLoadbalancerRead --> setHttpLoadbalancerFields()

Are not updating the "kind" field in the state file to match the computed value.
Because the state file has kind="", and both DriftDetectionSpec and DriftDetectionSpec_OriginPool flatten object references back to (name, namespace, tenant), the drift detection routines perpetually think that TF needs to unset kind.

TL;DR: since drift detection came in, it seems that the provider has never set the "kind" fields in the state file. Looking around, it doesn't really seem like any computed fields are really persisted back to the state file, except for a few distinct areas.
The provider should either be updated to set the "kind" fields to the API-returned values upon read and use them in object reference diff detection; or just migrate the state file to remove empty "kind" fields entirely.
(Note: in our case, this is in the process of preparing a migration from 0.11.32 to 0.11.36 to enable drift detection; not sure if this matters)

The real problem here, to simplify things:
In the case of origin pools, for example

resource_auto_volterra_origin_pool.go; the kind field is included in object references
pbgo/extschema/schema/views/types.pb.go#L124 (for "view" types) doesn't include kind in it's ObjectRefType

When drift detection runs, the ObjectRefType version is laid back on top of the resource schema, which means that kind is never set to a value, and the loop continues...

Not that I have any way to build this module myself, but adding Kind to the "views" version of ObjectRefType like is set here is probably the fix for this?


Fix a11y issues in applications

Closes #1102
Description

Start server modal before:

Start server modal after:

Administration screen before:

Administration screen after:

Stop server modal - no violations:

Note: "Unique Landmarks" issue will be resolved with patternfly v5 release, noted in JIRA ticket
Request review criteria:

[x] The commits have meaningful messages (squashes happen on merge by the bot).
[x] Included any necessary screenshots or gifs if it was a UI change.
[x] Included tags to the UX team if it was a UI/UX change.
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has manually tested the changes and verified that the changes work
[x] The developer has added tests or explained why testing cannot be added (unit tests & storybook for related changes)

We don't track PRs on the board -- just issues


dockerfiles: pin jedi to allow ipython tab completion

Tab completion doesn't work on Jupyter because of an incompatibility
issue. Using the web notebook, only an obscure error is printed to console
but in the case of ipython console, the whole REPL crashes.
This works around the issue by pinning the jedi library to the last
compatible version.
See: https://github.com/ipython/ipython/issues/12740

@angerson  Can you please review this PR ? Thanks!


Linting/address

This PR lints & type checks the address component and its consumers as part of #2065

Another one! 🙂
Thanks for the PR!


add workflow stress test

From @bacongobbler on June 9, 2016 22:43
cross-post of https://github.com/deis/deis/issues/4037

@jchauncey has found some interesting problems when running significant load through deis. I'd like to see an automated version of this test (or similar) so that we can watch deis' performance over the course of future releases. We could even run this on the various providers and compare performance. :smile:

Copied from original issue: deis/jenkins-jobs#100

From @arschles on June 9, 2016 22:48
Related: https://github.com/deis/router/issues/198

From @jchauncey on June 10, 2016 16:20
so as it stands right now i can push a significant amount of requests through deis and not see any real degradation in performance. That being said we need to do a few other things besides just sending a lot of requests to router and ultimately to a simple go app.
My thoughts on this are still kind of cloudy but here is what I had in mind:
Get the data
Have telegraf send all metrics for e2e runs to a hosted influx system where we can collect long term meaningful metrics. This will allow us to spot trends and new problems more efficiently.
Regular e2e runs
Use the regular e2e runs to make sure we are within certain bounds performance wise. We should eventually hook up kapacitor scripts to alert us when an e2e run is outside of those params.
The load test
Setup a nightly job that runs on a normal size cluster (5 or so nodes) and it deploys apps which can simulate failures (returns non-200 response code), generate arbitrarily large response bodies, and maybe makes calls to other dependent services. We would then use the cli to arbitrarily scale those apps up and down while also doing simultaneous deploys and generating traffic. This would allow us to see how the system performs while apps are under load and the operator is using the system to respond.
My main concern is that during a high load event the controller can still receive requests to scale up/down to meet demand.


Add BibTex code for easier paper citation

Hi,
To make citations easier, I would suggest to add the following in the related section of the code:
@inproceedings{dequino2024compressed,
title={Compressed Latent Replays for Lightweight Continual Learning on Spiking Neural Networks},
author={Dequino, Alberto and Carpegna, Alessio and Nadalini, Davide and Savino, Alessandro and Benini, Luca and Di Carlo, Stefano and Conti, Francesco},
booktitle={2024 IEEE Computer Society Annual Symposium on VLSI (ISVLSI)},
pages={240--245},
year={2024},
organization={IEEE}
}
Thank you!

Also the pointer to the article could be useful:
https://ieeexplore.ieee.org/abstract/document/10682744


Search on currently shown chats

Based on the current list of chats in the Chat List (could be All, Open, or Closed) use whats in the search input to filter those chats.
Search on Client name (in future we'll search in messages too possibly)

@mihok
How do you want message searches to be handled? Right now we are searching by the client's name, but to include a search of messages brings up a couple questions:

what should the search order be by - match? proximity? If you are searching "sarah" will that show up if it's a client's name first or will messages have a precedence?

another thing is, messages don't get displayed until there is an active chat. Where would messages that show up as a result of filtering go?

should the middle pane maybe just handle displaying clients by search, and save messages searching as a whole for another "view" entirely or perhaps from within the message pane?

Something to think about—maybe this is bigger scope than 0.1
btw bronek and I are PP right now and this came up in conversation between us .

Yeah these are good questions, I didnt think of the complexity involved in including searching messages in the Chat List search pane. My thoughts were, from an Operator's perspective: "I remember having a conversation about Blue elephants with a customer, who was that customer again..?" and allowing the Operator to search Blue elephant and have the correct chat show up.
But this may be harder to accomplish than I realized. Lets keep it to client name for 0.1

Yeah, sounds good. Let's think about it. A dedicated search option might be a future feature.
ps. Add bronek's permissions ;) (see slack)

This is all sorted out now (for basic search implementation--by name)


MAUI Android Response error

Type: Bug
Hi, there is a problem when using Httpclient and then ReadAsStringAsync, it always get this value, even if the response is succesfull :
\0\0\0\0\0\0\0\0\0\0\0\0\0\0
This problem doesnt occur in Visual studio for mac.
I tested with the current Maui Release and prerealese version in visual studio code.
VS Code version: Code 1.90.2 (5437499feb04f7a586f677b155b039bc2b3669eb, 2024-06-18T22:54:35.075Z)
OS version: Darwin arm64 23.4.0
Modes:

System Info

Item
Value

CPUs
Apple M2 (8 x 2400)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
15, 7, 6

Memory (System)
16.00GB (0.10GB free)

Process Argv
--crash-reporter-id aca58e6e-84e8-4e4f-82c6-6651a4c4eb71

Screen Reader
no

VM
0%

Extensions (5)

Extension
Author (truncated)
Version

csdevkit
ms-
1.9.55

csharp
ms-
2.39.29

dotnet-maui
ms-
1.3.3

vscode-dotnet-runtime
ms-
2.1.5

netsuite-upload
nsu
1.4.3

I dowloaded the last version today(1.92.2 ) and still happens.

Hi, any comment on this issue?

Hi, what is the extension with the problem? I already put the extensions I
am using.
On Wed, Sep 4, 2024 at 6:58 AM vs-code-engineering[bot] <
@.***> wrote:

This issue is caused by an extension, please file it with the repository
(or contact) the extension has linked in its overview in VS Code or the
marketplace https://aka.ms/vscodemarketplace for VS Code. See also our issue
reporting guidelines https://aka.ms/vscodeissuereporting. If you don't
know which extension is causing the problem, you can run Help: Start
extension bisect from the command palette (F1) to help identify the
problem extension.
Happy Coding!
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/226466#issuecomment-2328956984,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BKXSSZRPGQRCS3SQMFEEM7LZU37WLAVCNFSM6AAAAABNAQ4FGWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRYHE2TMOJYGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


fix: New Crowdin updates (French)

@cdeleeuwe any idea why the preview gives 404 pages?
https://deploy-preview-166--bertytech.netlify.app/


[Suggestion] Add checkstyle for CI

hey team,
I notice there is some unused code (for example: https://github.com/apache/incubator-dubbo/blob/master/hessian-lite/src/main/java/com/alibaba/com/caucho/hessian/io/Hessian2Input.java#L88)
Looks like dubbo doesn't have checkstyle in maven configuration or it doesn't have correct rule.
do we have any plan to add checkstyle check in CI?

Strongly +1. Static analysis might produce false positives, but overall I think it is better than not having it.

Suggestions are expected to be reported to the mailing list<EMAIL_ADDRESS> Issues are used to track bugs.

@ralf0131 sure thing. next time I will send suggestion to maillist

Apache runs SonarQube if you want to use that. See https://builds.apache.org/analysis/