Rip R3nzSkins :<

Hey, you can still buy skin really cheap price here: https://discord.gg/Jrp5ent8vE

Will rip completely only on patch 14.11 it will show failed to find pattern


Incorrect highlighting for certain RUN directives in nvim

Hi, I'm seeing some incorrect highlighting for some of the RUN directives in this Dockerfile in Neovim;
FROM node:20-alpine AS builder

WORKDIR /staging

COPY . /staging/

RUN corepack enable
RUN pnpm install --frozen-lockfile
RUN pnpm build
RUN pnpm prune --prod

FROM node:20-alpine

WORKDIR /app

COPY --from=builder /staging/package.json /staging/pnpm-lock.yaml  /app/
COPY --from=builder /staging/node_modules /app/node_modules
COPY --from=builder /staging/build /app/build

EXPOSE 3000
CMD ["node", "/app/build"]

Output of :InspectTree;
(command) ; [7:5 - 10:21]
 name: (command_name) ; [7:5 - 12]
  (word) ; [7:5 - 12]
 argument: (word) ; [7:14 - 8:8]
 argument: (word) ; [8:10 - 16]
 argument: (word) ; [8:18 - 9:8]
 argument: (word) ; [9:10 - 10:8]
 argument: (word) ; [10:10 - 14]
 argument: (word) ; [10:16 - 21]
(from_instruction) ; [1:1 - 30]
 (image_spec) ; [1:6 - 19]
  name: (image_name) ; [1:6 - 9]
  tag: (image_tag) ; [1:10 - 19]
 as: (image_alias) ; [1:24 - 30]
(workdir_instruction) ; [3:1 - 16]
 (path) ; [3:9 - 16]
(copy_instruction) ; [5:1 - 16]
 (path) ; [5:6 - 6]
 (path) ; [5:8 - 16]
(run_instruction) ; [7:1 - 19]
 (shell_command) ; [7:5 - 19]
  (shell_fragment) ; [7:5 - 19]
(run_instruction) ; [8:1 - 34]
 (shell_command) ; [8:5 - 34]
  (shell_fragment) ; [8:5 - 34]
(run_instruction) ; [9:1 - 14]
 (shell_command) ; [9:5 - 14]
  (shell_fragment) ; [9:5 - 14]
(run_instruction) ; [10:1 - 21]
 (shell_command) ; [10:5 - 21]
  (shell_fragment) ; [10:5 - 21]
(from_instruction) ; [12:1 - 19]
 (image_spec) ; [12:6 - 19]
  name: (image_name) ; [12:6 - 9]
  tag: (image_tag) ; [12:10 - 19]
(workdir_instruction) ; [14:1 - 12]
 (path) ; [14:9 - 12]
(copy_instruction) ; [16:1 - 72]
 (param) ; [16:6 - 19]
 (path) ; [16:21 - 41]
 (path) ; [16:43 - 65]
 (path) ; [16:68 - 72]
(copy_instruction) ; [17:1 - 59]
 (param) ; [17:6 - 19]
 (path) ; [17:21 - 41]
 (path) ; [17:43 - 59]
(copy_instruction) ; [18:1 - 45]
 (param) ; [18:6 - 19]
 (path) ; [18:21 - 34]
 (path) ; [18:36 - 45]
(expose_instruction) ; [20:1 - 11]
 (expose_port) ; [20:8 - 11]
(cmd_instruction) ; [21:1 - 26]
 (json_string_array) ; [21:5 - 26]
  (json_string) ; [21:6 - 11]
  (json_string) ; [21:14 - 25]

Screenshot of highlighting I'm seeing;

Build info;

Neovim version: 0.9.5
nvim-treesitter commit: 3ef8d25df2d8eca6f15a6889cb2bc9d4c6101096
dockerfile.so parser commit: 439c3e7b8a9bfdbf1f7d7c2beaae4173dc484cbf

I think I'm experiencing the same problem going off your explanation. Its considering everything after python3 as an argument.
FROM alpine:edge

USER root
ENV PYTHONUNBUFFERED=1

RUN apk add python3
#RUN pip3 install --no-cache --upgrade pip setuptools

RUN apk add curl

WORKDIR /app

copy . .

CMD python3 main.py

(source_file ; [0, 0] - [16, 0]
  (program ; [5, 4] - [15, 19]
    (command ; [5, 4] - [15, 19]
      name: (command_name ; [5, 4] - [5, 7]
        (word)) ; [5, 4] - [5, 7]
      argument: (word) ; [5, 8] - [5, 11]
      argument: (concatenation ; [5, 12] - [9, 7]
        (word) ; [5, 12] - [5, 19]
        (word)) ; [9, 4] - [9, 7]
      argument: (word) ; [9, 8] - [9, 11]
      argument: (word) ; [9, 12] - [15, 11]
      argument: (word))) ; [15, 12] - [15, 19]
  (from_instruction ; [0, 0] - [0, 16]
    (image_spec ; [0, 5] - [0, 16]
      name: (image_name) ; [0, 5] - [0, 11]
      tag: (image_tag))) ; [0, 11] - [0, 16]
  (user_instruction ; [2, 0] - [2, 9]
    user: (unquoted_string)) ; [2, 5] - [2, 9]
  (env_instruction ; [3, 0] - [3, 22]
    (env_pair ; [3, 4] - [3, 22]
      name: (unquoted_string) ; [3, 4] - [3, 20]
      value: (unquoted_string))) ; [3, 21] - [3, 22]
  (run_instruction ; [5, 0] - [5, 19]
    (shell_command ; [5, 4] - [5, 19]
      (shell_fragment))) ; [5, 4] - [5, 19]
  (comment) ; [6, 0] - [6, 53]
  (run_instruction ; [9, 0] - [9, 16]
    (shell_command ; [9, 4] - [9, 16]
      (shell_fragment))) ; [9, 4] - [9, 16]
  (workdir_instruction ; [11, 0] - [11, 12]
    (path)) ; [11, 8] - [11, 12]
  (copy_instruction ; [13, 0] - [13, 8]
    (path) ; [13, 5] - [13, 6]
    (path)) ; [13, 7] - [13, 8]
  (cmd_instruction ; [15, 0] - [15, 19]
    (shell_command ; [15, 4] - [15, 19]
      (shell_fragment)))) ; [15, 4] - [15, 19]

highlighting

Neovim version: 0.10.0
I don't know where treesitter commit or docker.so parser commit is.

same here

nvim 0.10
i should be using everything at their latest versions

This appears to be an issue with the bash language injection. program is not a node created by the Dockerfile grammar, and disabling the bash injections gives me correct looking highlighting. I do not actually maintain the injections in nvim-treesitter, so I'm not exactly sure what's going on there, but it seem possible the issue is related to this.


Error handling

Unhandled errors with Sentry: https://docs.sentry.io/platforms/javascript/guides/nextjs/

Handled errors

visualize: https://mui.com/material-ui/react-snackbar/#customization
standardized error API response on handled failures

for example error-response: error-message: string error-type: ErrorTypeEnum: error | warning | info | success, where error type enum might change how its shown in frontend

I think we should also create a custom error.tsx or global-error.tsx page so that e.g. navbar will be rendered when unhandled error happens:
https://nextjs.org/docs/app/building-your-application/routing/error-handling

Yep, that can come from Sentry also


Allow Blank Error Catch Event in Camunda 8.2

Requires https://github.com/camunda/bpmnlint-plugin-camunda-compat/pull/81

Related to https://github.com/camunda/camunda-modeler/issues/3362

@philippfromme CI is failing for this one

Ready to be reviewed.


Add Post 14

Sat, Aug 19, 1:50 PM
Please prepare for Posting
Thank you
Erlene
POST #14.docx

Here are the four summaries for LinkedIn:
One
In life, we often encounter "rainy days," unexpected challenges that can dampen our spirits. From childhood, rain has been a symbol of interruption, yet also a chance for resilience. As we age, these metaphorical rainy days become more complex, intertwining with the losses and challenges we face. However, with preparation and a positive mindset, we can find moments of joy and learning in these challenges. Remembering sage advice, such as "Save for a rainy day," we can equip ourselves for life's unpredictability. Moreover, companionship, symbolized by Pooh and Piglet's bond, reminds us of the importance of connection in navigating life's storms. Embrace every moment, and when faced with rain, find the courage to dance between the raindrops.
Two
You know how life throws us those rainy days that seem to mess up our plans? Well, since we were kids, rain has been both a bummer and a lesson in rolling with the punches. As we get older, life's "rainy days" can feel tougher, especially with the ups and downs we face. But guess what? With a bit of planning and a dash of positivity, we can find fun and lessons in those challenges. Just like Winnie the Pooh and Piglet show us, having pals by our side makes the journey easier. So, next time life drizzles or pours, remember to dance, splash, and make the most of it! 🌧💃🕺🌈
Three
Life, with its rainy days, is a journey of learning and growth. Remember those childhood moments when rain was a tiny setback? Fast forward, and life's challenges seem more profound, but oh, the lessons they bring! Just as Winnie the Pooh finds joy and comfort with Piglet, we too can find strength in connections. Let's not forget the age-old wisdom to "Save for a rainy day." It's all about being ready and embracing each moment. Every drop, every challenge, is an opportunity. So, when life gives you rain, dance between those raindrops, cherish your loved ones, and know that the sun will shine again. Here's to living our best lives! 🌦🌈🌟
Four
Embracing life's natural ebb and flow is truly a transformative journey. From the gentle memories of childhood rains to the more profound challenges that mature years bring, it's about finding balance and holistic wellness. Just as Pooh and Piglet find solace in each other, our connections nurture our spirit, grounding us. The old wisdom of "Save for a rainy day" beautifully reminds us of the need for mindfulness and preparedness in every aspect of life. In every raindrop, there's a chance for reflection, rejuvenation, and growth. So, next time life feels stormy, lean into the moment, find your inner strength, and perhaps indulge in some self-care rituals. Let's celebrate the rain and sunshine alike. 🌿🌧✨🌞


Hi what's the way change to goleveldb

my application run on mips system, boltdb dos't suport , I hope can change to goleveldb with this orm!!! thx

There is no way to change to goleveldb, Storm depends heavily on BoltDB sorry


useSWRSubscription suspends forever, never calls subscribe when suspense is true

Bug report
Description / Observed Behavior
When configured with { suspense: true }, useSWRSubscription will render repeatedly, suspend indefinitely, and never call subscribe().
Expected Behavior
I would expect useSWRSubscription to suspend until the first time next() is called with data.
Repro Steps / Code Example
function subscribe(_key, { next }) {
  console.log('calling subscribe()')
  let counter = 0;
  const intervalId = setInterval(() => {
    next(null /* err */, counter++ /* data */);
  }, 1000);
  return () => {
    clearInterval(intervalId);
  };
}

function Counter() {
  console.log("rendering Counter");
  const { data: count } = useSWRSubscription("count", subscribe, {
    suspense: true,
  });
  return <span>{count}</span>;
}

Codesandbox repro (WARNING: infinite render loop)
Additional Context
SWR 2.2.5.
Happens with strict mode and without.
When suspense is false then subscribe() gets called. You can try that out with the Codesandbox repro above.

cc/ @huozhi @shuding


Introduce UI changes for osde2e

UI changes for the test suite to run as expected on osde2e runs.
Signed-off-by: Pranshu Srivastava<EMAIL_ADDRESS>

/cc @SanjalKatiyar

/lgtm


Accordions nested within ResponsiveAccordionTab are broken after screen resize

What should happen?
When resizing window and ResponsiveAccordionTab component switches from Accordion view to Tab view, standard Accordions inside the accordion-content container should still work properly.
What happens instead?
Nested Accordions work on initial page load but after switching from Accordion view to Tab view, the nested Accordions no longer work.
Example: https://codepen.io/sredeker/pen/pXVbop?editors=1000
...
Possible Solution

ResponsiveAccordionTab component only targets the first-level accordion when switching from Accordion to tabs, not impacting nested accordions.
Test Case and/or Steps to Reproduce (for bugs)

Test Case: https://codepen.io/sredeker/pen/pXVbop?editors=1000

How to reproduce:

load https://codepen.io/sredeker/pen/pXVbop?editors=1000
expand all levels of accordions and notice they behave properly
resize the preview window from Accordion view to Tab view
observe that nested accordions in the accordion-content tab panel no longer work

Context

To work around this issue, I have added extra javascript to re-initialize the nested accordions every time the ResponsiveAccordionTab component toggles from Accordion to Tab view
Your Environment

Foundation version(s) used<EMAIL_ADDRESS>Browser(s) name and version(s): All
Device, Operating System and version: All
Link to your project: Restricted

Checklist

[x] I have read and follow the CONTRIBUTING.md document.
[x] There are no other issues similar to this one.
[x] The issue title and template are correctly filled.

Yes. I see that happening.
This works
https://codepen.io/jellisii/pen/OXMXrb

I've also tried nested accordians with XY Grid Configurations and Repsonsive Tables. What fun.  Lets fly.

Hi,
Normally when you nest components you have to ürogrammatically reinitialize the nested components when we fire our custom events.


nRF52840 Support like Arduno Nano 33 BLE or Adafruit nRF Feather Express

Hi, thank you for shaing your lib
It works very well on Teensy 3,1 , but i wan't to  use Arduino Nano 33 BLE, Serial1 for Sbus input
i used with parameters like; "_bus->begin(_sbusBaud, SERIAL_8E2);".  --> Without a result.
But according what was writen about changes for ESP32 , i asking if i need some type of inverter.
It would be even more nice if you can integrate native support for it like for the teensys board.
If not can you explain what i have to change in code , or will it be even more easier to youst use an hardware inverter ?
Thanks in advance
Marc

Without taking the time to dig into details of the Arduino Nano 33 core, I can't say for sure whether they could support inverted serial. It's not typically well documented whether inverted serial is supported and how to use. But it would likely work using a hardware inverter. If you want to add native inverted support, you would look for the bus_->begin(...) methods.


[ENH] Add LevelProperty public attribute to all the levels

Towards: #19
Adds LevelProperty() constexpr function to allow each class access to the levelproperties during compile time, without explicitly writing the class type.

If this is good design, then I can revisit the PR on co iteration.

@bharath2438 Could you give this a shallow review? If so I'll merge.


Update default Android API level and build tools to Android 5.0.

Currently the default is set to Android API level 20 and this is now 2 API levels off from the most recent version. I propose we bump this up to API level 21.

Don't need 2 commits for this, also don't really like having an off major version of the build tools required. Unless there is some problem with 21.0.0, we should use 21.0.0

Also, why not go all the way to the latest version if we are going to update?

Yes, we can go up to Android 5.1.1. I just wasn't sure if you guys were ready to bump up that far.

@Tom-Ski and @MobiDevelop - shall I create a commit that updates to Android tools 22.0.0 and API level 22?


Merge refs/heads/examples/dev-com-example-0 into alpha

Merge refs/heads/examples/dev-com-example-0 into alpha

This PR has been merged into alpha and tagged as 1.7.0-alpha-202307120926. Thanks for your contribution!


[AzureMonitorExporter] fix more nullables

Towards #34013
Changes

remove #nullable disable and resolve issues as discovered.

API change check
API changes are not detected in this pull request.


RxDelegateProxy

When attempting to setup Rx with JTAppleCalendar, we run into the issue of #selector referring to a method that is not exposed to Objective-C. Are there any plans to have Rx support or exposing to Objective-C?

This project is very huge.
And I am only one person.
There is not enough man power to make this available to ObjectiveC.
Which method is it that is not exposed to ObjC ?

Its been 5 days and no response. Closing this issue.
I will assume this question was resolved. :)


remove unused files/folders

.coverage (should be added to gitignore too)
docs
docsrc
dist (this is uploaded to pypi, but doesn't need to live in the repo)

also -  are you using both requirements and dev_requirements? probably one of these can be removed?

oh, the .egg file can also be removed (and added to gitignore)


Code to contribute?

Hello what sort of code would you like contributed to the repository?

Any type of single page webpage with Cool UI


GDPR isn't working if the module have multiple form on same page

Questions
Answers

Branch?
develop

Description?
This PR fixes https://github.com/PrestaShop/PrestaShop/issues/14429.

Type?
bug fix

Category?
FO

BC breaks?
no

Deprecations?
no

Fixed ticket?
https://github.com/PrestaShop/PrestaShop/issues/14429

How to test?
can test with the test module that I have commented on the issue https://github.com/PrestaShop/PrestaShop/issues/14429.Install the gdpr module (with the changes) and test gdpr module (shared on the issue), now user can use multiple forms by using a single module.

@NeOMakinG Maybe you will be more efficient to review this than me 😊

Thanks @PeeyushAgrawalWebkul


Improve how docstrings for strategies appear/are generated?

It must be possible to automate the generation of a sub header etc for each strategy?
Currently in the strategies.rst file I have manually listed all of them. I can't seem to be able to find how to automate this...
(Here's the currently rendered documentation: http://axelrod.readthedocs.org/en/latest/)
All files are written using sphinx in rst and can be found in the docs directory.

What do you mean by sub header?

Sorry, I didn't really explain this well.
So at the moment: http://axelrod.readthedocs.org/en/latest/strategies.html shows every strategy's docstring listed out.
That is how an excerpt of how this is done in: https://raw.githubusercontent.com/drvinceknight/Axelrod/master/docs/strategies.rst
Here are some of the basic strategies:
--------------------------------------

.. currentmodule:: axelrod.strategies
.. autoclass:: Alternator
.. autoclass:: Cooperator
.. autoclass:: Defector
.. autoclass:: Random
.. autoclass:: TitForTat

A list of all further (honest) strategies:
------------------------------------------

.. autoclass:: AntiTitForTat
.. autoclass:: Appeaser

So I'm listing each strategy manually, I think I must be missing some sphinx but can't seem to find it: I'd like to just be able to say 'Ok list all the class from axelrod.strategies' here.
Also if possible if they could each have their own subheader (
Alternator
 or something like that) that is slightly nicer than what currently appears (class axelrod.strategies.Alternator) that would be cool although perhaps that's not needed... Just trying to think about readability for none coders but maybe that's not important and this isn't exactly 'not readable'. As I've written this I think that that is perhaps really not needed...

You can use automodule, but then you can't easily break the list into the section you have.

I tried automodule but without success. Let me try again...

You could have a Python script generate the rst file, then you can do whatever you want :D

Yeah I think automodule picks up doscrtrings for given submodule but not for classes perhaps? Unless I'm doing something wrong: e6d71cc

You could have a Python script generate the rst file, then you can do whatever you want :D

Had thought that... Any idea how that would play with read the docs? I like that it just automatically runs the sphinx makefile... Perhaps I can just tweak that file... I need to look in to it.
Do you think it's worth looking in to or perhaps nicer to just manually list the files so that we 'have control' so to speak? Easy enough to do for each PR... (Thinking aloud here)

This could all just sit in the new manage.py script I keep on talking about...

Had thought that... Any idea how that would play with read the docs?

As long as the result is the RST file before sphinx starts it's work, it will be independent. See #95.

Just seen #95... On my list of 'understand awesome voodoo stuff that @langner has written' that's towards the bottom as makefiles still scare the hell out of me...

As far as I can tell, the make script doesn't run on read the docs. This f4f57be14c4d019496920fae3a27014fb5f6b807 and previous added 5 new strategies that don't seem to appear.
Just re-opening the issue in case you had any ideas but I'm happy to close it straight down and simple run make html locally :)

You might need to force those targets. Otherwise, just run make (no need for make html locally, since you're not interested in getting the actual HTML into the repo).

Forcing targets in makefiles: https://www.gnu.org/software/make/manual/html_node/Force-Targets.html

Ok: thanks, will take a look! :+1:

As far as I can tell: running make and even make html does not update the rst file as required...
At line 26 of the MAKEFILE you have:
strategies.rst: strategies.py
        python $< > $@

Just checking that that > is indeed throwing the output of strategies.py to the rst file (sorry but I have tried on many occasion to get my head around makefiles and I don't think I've succeeded yet...).

(I expect all of the above is me being an idiot and not understanding the voodoo so please do say so :D)

The more I think about this the more I think we need to manually curate documentation for each and every strategy, this could actually turn out to be a very nice reference... Would require a docs/strategies/.rst file for each one but I think it's worth doing... I'm happy enough to start working my way through it...

I tend to think that keeping documentation as close to the code as possible is the best, and it can't be closer than a docstring.

Yeah I agree with that...
I think I'm just unsatisfied with how this all works so I thought that just manually curating the docs for strategies could be a nice way to go...
(I'm just thinking aloud here...)
It is silly though to have the actual docs anywhere else than in the docstring...
Let me work on a branch on this and get back to you... The docs need a bunch of tlc I think, it would be nice to be able to easily find a description of each strategy instead of just that one big list... (still thinking aloud)

Yeah I agree with that...
I think I'm just unsatisfied with how this all works so I thought that just manually curating the docs for strategies could be a nice way to go...
(I'm just thinking aloud here...)
It is silly though to have the actual docs anywhere else than in the docstring...
Let me work on a branch on this and get back to you... The docs need a bunch of tlc I think, it would be nice to be able to easily find a description of each strategy instead of just that one big list... (still thinking aloud)

I don't understand what final effect you're going for here. Do you simply want each strategy to appear in the table of contents?
Of course, you can also keep additional docs in separate files, if you like. But it makes sense to keep strategy-specific content along with the class.

I don't understand what final effect you're going for here. Do you simply want each strategy to appear in the table of contents?

I'm not sure I understand either... Probably just mumbling. I think after the merge you just did (#147) we're probably all good. :)


how to change currentword highlight

Hello,I like you colorscheme,but i have some issuse how to change the currentword highlight.
Default is bold,I want tokyonight style.

Hi, to clarify, would you just like it unstyled/no different to the underlying highlight?

I want style like tokyonight

Ok, I think this would be similar to tokyonight:
require("everforest").setup({
  on_highlights = function(hl, palette)
    hl.CurrentWord = { fg = palette.none, bg = palette.bg_dim }
  end,
})

Ok, I think this would be similar to tokyonight:
require("everforest").setup({
  on_highlights = function(hl, palette)
    hl.CurrentWord = { fg = palette.none, bg = palette.bg_dim }
  end,
})

Perfect!


fix(atomic): delete ./loader/package.json when building atomic

https://coveord.atlassian.net/browse/KIT-3654

Small add-up related.
While exploring Atomic-React CDN support with v3, I noticed we do not exposes the loader files on the CDN.
Could we include as well moving /loader to /dist/loader. This should allow it to be exposed in the CDN without any more change (@alexprudhomme , @fpbrault , you tinkered with it during v3, please confirm/correct me if need be).

Small add-up related. While exploring Atomic-React CDN support with v3, I noticed we do not exposes the loader files on the CDN. Could we include as well moving /loader to /dist/loader. This should allow it to be exposed in the CDN without any more change (@alexprudhomme , @fpbrault , you tinkered with it during v3, please confirm/correct me if need be).

Why would you ever need the loader in a atomic-react context ? You have access to all the react components.

I'll explain later, but React need that. See recent bugs open in post ga epic. Promoting my comment to Request for Change

I attempted to expose the loader on the CDN in this PR, but it ended up being a bit too much of a scope creep, so I created a distinct Jira (KIT-3666).


⚠ Bofrost.lu has degraded performance

In 6da7758, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1402 ms

Resolved: Bofrost.lu performance has improved in cda85e7 after 8 minutes.


pytest --forked option is not supported

See original issue on GitLab
In GitLab by [Gitlab user @willsalmon] on Aug 28, 2019, 15:30
Summary
Using the --forked option of pytest causes many tests to fail.
Steps to reproduce
Try running:
tox -e py38-nocover -- --forked tests/artifactcache/config.py::test_only_one[storage-project]

This fails, while running:
tox -e py38-nocover -- tests/artifactcache/config.py::test_only_one[storage-project]

Does not fail.
We can see that the test passes fine when run individually, but fails if it is given the problematic --forked option.

In GitLab by [Gitlab user @tristanvb] on Nov 6, 2020, 07:23
The intention of --forked in pytest is to prove that a test is not dependent on other tests having already run, which in itself is a little bit flawed as it assumes that any dependent state is in the process's memory space, this would not account for modifications to data in disk caches which would render tests interdependent.
Currently the state of affairs is that if I run the following command:
tox -e py38-nocover -- --forked tests/artifactcache/config.py::test_only_one[storage-project]

Then the test fails, indicating that this test could not have possibly be affected by adjacent tests being run, it fails all by itself even if no other tests have run. Of course if I do not run it with the problematic --forked option, the test passes.
What is more, we can observe that --forked is not truly giving us a properly isolated subprocess, BuildStream has somehow managed to initialize some of it's internal state in advance of pytest stepping in and brutally forking, resulting in this stack trace:
Traceback (most recent call last):
  File "/home/tristan/work/buildstream/.tox/py38-nocover/lib/python3.8/site-packages/buildstream/testing/runcli.py", line 386, in _invoke
    cli_object.main(args=args or (), prog_name=cli_object.name)
  File "/home/tristan/work/buildstream/.tox/py38-nocover/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 238, in override_main
    original_main(self, args=args, prog_name=prog_name, complete_var=None, standalone_mode=standalone_mode, **extra)
  File "/home/tristan/work/buildstream/.tox/py38-nocover/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/tristan/work/buildstream/.tox/py38-nocover/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/tristan/work/buildstream/.tox/py38-nocover/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/tristan/work/buildstream/.tox/py38-nocover/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/tristan/work/buildstream/.tox/py38-nocover/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/tristan/work/buildstream/.tox/py38-nocover/lib/python3.8/site-packages/click/decorators.py", line 33, in new_func
    return f(get_current_context().obj, *args, **kwargs)
  File "/home/tristan/work/buildstream/.tox/py38-nocover/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 1245, in artifact_pull
    app.stream.pull(artifacts, selection=deps, remote=remote, ignore_junction_targets=ignore_junction_targets)
  File "/home/tristan/work/buildstream/.tox/py38-nocover/lib/python3.8/site-packages/buildstream/_stream.py", line 433, in pull
    elements = self._load(
  File "/home/tristan/work/buildstream/.tox/py38-nocover/lib/python3.8/site-packages/buildstream/_stream.py", line 1254, in _load
    self._pipeline.resolve_elements(self.targets)
  File "/home/tristan/work/buildstream/.tox/py38-nocover/lib/python3.8/site-packages/buildstream/_pipeline.py", line 117, in resolve_elements
    element._initialize_state()
  File "/home/tristan/work/buildstream/.tox/py38-nocover/lib/python3.8/site-packages/buildstream/element.py", line 1394, in _initialize_state
    self.__update_cache_keys()
  File "/home/tristan/work/buildstream/.tox/py38-nocover/lib/python3.8/site-packages/buildstream/element.py", line 3142, in __update_cache_keys
    assert utils._is_main_process(), "This has an impact on all elements and must be run in the main process"
AssertionError: This has an impact on all elements and must be run in the main process

It could be at the time of filing this issue, things were different, given the churn which has been introduced in python, pytest and BuildStream since that time.
For now I will just update this bug to more accurately reflect the current state of affairs.

In GitLab by [Gitlab user @tristanvb] on Nov 6, 2020, 07:26
changed title from {-Some tests can not run by them selves-} to {+pytest --forked option is not supported+}

In GitLab by [Gitlab user @tristanvb] on Nov 6, 2020, 07:26
changed the description


Project/hsc re run

This preliminary commit includes some code directly from the source of the command-line routines for part I (using the butler). @drphilmarshall could you review this preliminary commit? One question that I think we should address at this stage is whether the code from the command-line routines used here gives the right level of insight into how the stack instantiates a butler. For example, I'm unsure of whether users will want to see more of how the ingest script works. I'd appreciate all comments anyone has -- thanks!

The latest commit to this branch now includes a bash script that should 'just run' the tutorial at pipelines.lsst.io. The final part of the tutorial is done in part 6 of the Re-RunHSC.ipynb notebook.


Fix build pipeline credentials

We have some Azure Service connections that have expired, which prevent build & release. Need to fix those.

This is completed.


Spanish Is not working today

How can test all in spanish, only spanish?

I just tried and it's working. What browser are you using @johnfelipe ?

i mean, transformable

Hi @johnfelipe , the Spanish voices are not transformable, that feature is not yet available.


Feature Request: Add client support for $process-message special oper…

…ation #407
Changed client to send messages to a processing server:
Object response = client
.operation()
.onServer()
.processMessage() // New operation for sending messages
.setResponseUrlParam("http://myserver/fhir") //optional url parameters to send with the POST
.setAsyncProcessingMode()//optional url parameters to send with the POST
.setMessageBundle(msgBundle) // the Message bundle to send
.execute();

Closing an reopen to trigger travis

Hi James,
I just commited the changes requested.
Can you merge this in time for the next release?
We have some clients in need of this feature that are going live soon. It would be great the could upgrade their hapi lib and use this instead of an ugly work around they use right now.

Hi Hugo,
This has now been merged. Thanks again for the contribution!


Could you paste the commands you used?

docker-compose -f <copypastefromgitreame.yml> up
I tinhk CMD ["/app/start.sh"] start app.

go also Error: [object Object]
at XMLHttpRequest.f.onreadystatechange ((index):72)
(index):117 call failed with {error: "The user admin doesn't have access to project null"} 404
i created user Admin in web page http://<IP_ADDRESS>:8080/#!/register  do i need any other user?

@tst32 The issue is that you don't have any projects to show. You'll have to first configure your wakatime client to send some data.

cat .wakatime.cfg
[internal]
cli_version = v1.27.0
cli_version_last_modified = Wed, 22 Sep 2021 01:52:04 GMT
backoff_retries = 0
[settings]
api_key = ad6de9e5-d96c-4f56-965d-skip
api_url= http://<IP_ADDRESS>:8080/api/v1/users/current/heartbeats.bulk
[internal]
backoff_at = 2021-09-08T16:57:24+03:00

from  .wakatime-cli.log

{"caller":"/home/runner/work/wakatime-cli/wakatime-cli/cmd/legacy/run.go:199","func":"runCmd","level":"error","message":"failed to run command: today fetch failed: api error: failed fetching today from api: failed to make request to \"http://<IP_ADDRESS>:8080/api/v1/users/current/statusbar/today\": Get \"http://<IP_ADDRESS>:8080/api/v1/users/current/statusbar/today\": dial tcp <IP_ADDRESS>:8080: connect: connection refused","now":"2021-11-05T16:43:48+03:00","version":"v1.28.1"}
{"caller":"/home/runner/work/wakatime-cli/wakatime-cli/cmd/legacy/run.go:199","func":"runCmd","level":"error","message":"failed to run command: sending heartbeat(s) later due to api error: failed making request to \"http://<IP_ADDRESS>:8080/api/v1/users/current/heartbeats.bulk\": Post \"http://<IP_ADDRESS>:8080/api/v1/users/current/heartbeats.bulk\": dial tcp <IP_ADDRESS>:8080: connect: connection refused","now":"2021-11-05T16:43:49+03:00","version":"v1.28.1"}
{"caller":"/home/runner/work/wakatime-cli/wakatime-cli/cmd/legacy/run.go:199","func":"runCmd","level":"error","message":"failed to run command: sending heartbeat(s) later due to api error: won't send heartbeat due to backoff","now":"2021-11-05T17:00:21+03:00","version":"v1.28.1"}
{"caller":"/home/runner/work/wakatime-cli/wakatime-cli/cmd/legacy/run.go:199","func":"runCmd","level":"error","message":"failed to run command: sending heartbeat(s) later due to api error: won't send heartbeat due to backoff","now":"2021-11-05T17:00:34+03:00","version":"v1.28.1"}

What if you use localhost instead of <IP_ADDRESS>?

Hurray! Everything works great. The thing was that I made a mistake in docker-compose.yml I wanted 8080 to be 8585, and unknowingly changed HAKA_PORT: 8080 to 8585 - this gave rise errors. I've fixed it now.:
Thanks you so much!
version: "3"
services:
  server:
    container_name: hakatime
    image: mujx/hakatime:v1.7.0
    environment:
      # DB settings.
      HAKA_DB_HOST: haka_db
      HAKA_DB_PORT: 5432
      HAKA_DB_NAME: test
      HAKA_DB_PASS: test
      HAKA_DB_USER: test
      # Server settings.
      # Fill out this field if the api is behind another path (e.g behind a reverse proxy).
      # This will adjust the Set-Cookie path for all the /auth related API calls.
      HAKA_API_PREFIX: ""
      # Update this with the external endpoint that you use to access hakatime.
      HAKA_BADGE_URL: "http://localhost:8585"
      HAKA_PORT: 8080
      HAKA_SHIELDS_IO_URL: "https://img.shields.io"
      HAKA_ENABLE_REGISTRATION: "true" # Toggle after you've created your account.
      # Number of hours after which inactive browser sessions will expire (login required).
      HAKA_SESSION_EXPIRY: "24"
      HAKA_LOG_LEVEL: "info" # Control the verbosity of the logger.
      HAKA_ENV: "dev" # Use a json logger for production, otherwise key=value pairs.
      HAKA_HTTP_LOG: "true" # If you want to log http requests.
      GITHUB_TOKEN: "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" # If you want to retrieve time spent per commit. No extra scope is required.
      # Add the following variables if you want to forward any received heartbeats to another
      # Wakatime compatible server.
      HAKA_REMOTE_WRITE_URL: "https://wakatime.com/api/v1/users/current/heartbeats.bulk"
      HAKA_REMOTE_WRITE_TOKEN: "22c9efa0-b023-4ddb-8648-5748d833b21c"
    ports:
      - "<IP_ADDRESS>:8585:8080"
  haka_db:
    container_name: haka_db
    image: postgres:12-alpine
    environment:
      POSTGRES_DB: test
      POSTGRES_PASSWORD: test
      POSTGRES_USER: test
    volumes:
      - deploy_db_data:/var/lib/postgresql/data

volumes:
  deploy_db_data: {}

if you want i could help  localize dashbord (js,css) to :ru:

Glad to hear that you fixed your issue.
Localization will be nice to have. Currently there isn't support for it but I'll open an issue to keep track.


fix dial error when clean up a dead shim

fixes #3971
As indicated in #3971 by @wswfc, this problem is fixed by https://github.com/containerd/containerd/pull/3204/commits/047348e198cc17404e34717d00ece685bfe3fbfa , but reintroduced by #3279
This PR only add a similar mechanism like #3204 .
Don't get a real conn when we create a new event publisher, but create a connector, and we use this connector to get a real conn when we want to forward a event.
@mxpv @crosbymichael PTAL
Signed-off-by: lifubang<EMAIL_ADDRESS>

Codecov Report

Merging #4100 into master will decrease coverage by 7.71%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #4100      +/-   ##
=========================================
- Coverage   45.91%   38.2%   -7.72%
=========================================
  Files         116      88      -28
  Lines       11885   12378     +493
=========================================
- Hits         5457    4729     -728
- Misses       5510    7004    +1494
+ Partials      918     645     -273

Flag
Coverage Δ

#linux
?

#windows
38.2% <0%> (?)

Impacted Files
Coverage Δ

runtime/v2/shim/publisher.go
0% <0%> (ø)
:arrow_up:

archive/tar_opts.go
11.76% <0%> (-59.67%)
:arrow_down:

cio/io.go
1.4% <0%> (-53.6%)
:arrow_down:

snapshots/native/native.go
1.73% <0%> (-50.96%)
:arrow_down:

archive/tar.go
18.95% <0%> (-38.27%)
:arrow_down:

metadata/snapshot.go
33.18% <0%> (-21.59%)
:arrow_down:

metadata/adaptors.go
39.04% <0%> (-14.08%)
:arrow_down:

content/local/writer.go
57.69% <0%> (-6.51%)
:arrow_down:

metadata/containers.go
49.84% <0%> (-6.26%)
:arrow_down:

content/local/store.go
49.52% <0%> (-5.29%)
:arrow_down:

... and 116 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #4100 into master will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #4100      +/-   ##
==========================================
- Coverage   45.91%   45.89%   -0.02%
==========================================
  Files         116      116
  Lines       11885    11890       +5
==========================================
  Hits         5457     5457
- Misses       5510     5515       +5
  Partials      918      918

Flag
Coverage Δ

#linux
45.89% <0.00%> (-0.02%)
:arrow_down:

Impacted Files
Coverage Δ

runtime/v2/shim/publisher.go
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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

LGTM


Support maximum repetition count

Consider the regex \d{,6}. I'd like this library to contain a function replicateAlt that lets me implement this regex as replicateAlt 6 digit. One possible implementation would be a duplicate of replicateM, but with <|> pure [] on the end of the recursive case.
If you like this idea, I can PR it, but I'm not sure which module you want it in.

Does this do what you want?
I'd accept a PR explaining (in the haddocks) how to do this for others who may be looking for the same thing.

Yes, that's what I need for now.

Ah, good point. In that case it may be worth defining our own function.

I dropped in intending to ask this in a separate issue, but this seems like a good spot:
What is the best way to quantify numerically? I know you can cobble something together out of what's already there. For instance, to match exactly n digits I can do
ghci> dig :: RE Char String; dig = pure <$> psym isDigit
ghci> <string> =~ (foldr1 (<>) $ replicate n dig)

But is this more or less it? Or is there some count-style combinator already built in, that I'm missing in the docs?

Have you seen the count combinator linked above?

Have you seen the count combinator linked above?

My apologies: I did see it, but did not understand the context..
I hadn't realized it applies to all instances of alternative. I thought it was more like the count I linked to, which was specific to ReadP.
Thank you!


Release-name should never be updated

Description
Hamza noticed a bug when changing subdomain for an app. This caused the event listener to change status to "Deleted..." but not change back to running once the app was running again.
Cause:

When creating an app without subdomain, 2 things happen --> An appinstance is created with a release (say r06963c14) and a helm release is created with the  same id/name.
When creating an app WITH subdomain, 2 things happen -->  An appinstance is created with a release equal to the subdomain, and an helm release with the subdomain as id/name.
When CHANGING subdomain, 2 things happen --> The appinstance release is updated to the subdomain, but the helm release is not change. This mismatch causes the eventlistener to look for pods with release=<subdomain> but no such pods exists.

Fix: ALWAYS use random release and add subdomain "on top" of the release.  Very simple. remove ONE row of code.
Checklist
If you're unsure about any of the items below, don't hesitate to ask. We're here to help!
This is simply a reminder of what we are going to look for before merging your code.

[X] This pull request is against develop branch (not applicable for hotfixes)
[ ] I have included a link to the issue on GitHub or JIRA (if any)
[ ] I have included migration files (if there are changes to the model classes)
[X] I have included, reviewed and executed tests (unit and end2end) to complement my changes
[ ] I have updated the related documentation (if necessary)
[ ] I have updated the release notes (releasenotes.md)
[X] I have added a reviewer for this pull request
[X] I have added myself as an author for this pull request
[ ] In the case I have modified settings.py, then I have also updated the studio-settings-configmap.yaml file in serve-charts

So I tested this out on serve dev. There are still issues. The steps I followed are:
* Created a new custom app without any custom subdomain. This worked as expected.

* Go to app settings and change the subdomain. The url endpoint changes correctly but there are two issues.

  * The ingress does not change, so the app is running at the same url. This means if you go to the updated url you get a 404 page
  * The deployment name changes from the random name to the new subdomain name (although this isn't a big problem, just that it is inconsistent with the other names)

* There was also a couple of instances where changing the subdomain caused the app to be deleted. This happened when changing back to the random subdomain. Although this behavior wasn't consistent.

I haven't had a chance to test and make changes to the code so I can't exactly say what changes to make. Will take a look at this later though. In any case the status changes seem to be working well, good work with that.

Great that you tested this. I'm curious if deleting this one line of code introduced all of the behavior or just some of it.
Anyways, i will take a look at this asap.


Fail when running a demo

I get an error when I run this demo

error info

Which branch are you using ? And the place you mention is warning not error

I'm so sorry that I forgot to specify my env
mmcv-full 1.6.1
mmdet 2.25.1
mmseg 0.28.0
mmdet3d 1.0.0rc4

All master branch...
And it's an error. I'm sure. It cause program to break

it fixed... yesterday

it fixed... yesterday

how to fixed


remote: fix Connect, returned nil error on failure.

Current coverage is 76.95% (diff: 100%)

Merging #167 into master will decrease coverage by 0.71%

@@             master       #167   diff @@
==========================================
  Files            88         88
  Lines          5489       5489
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           4263       4224    -39
- Misses          766        814    +48
+ Partials        460        451     -9

Powered by Codecov. Last update 592b538...bc2a677


Form Controls (Redux)

I have restructured our examples, and so restructured @dricair's PR accordingly.
I have also made many opinionated stylistic changes:

Relaxed column limit for wrapping
More structured wrapping of text
"Decompressing" dense attribute sets assigned to components by letting each one take up its own line - I think this makes it much easier for a new user to read
Some clippy-inspired changes, like using .map instead of matching where appropriate

Outstanding Issue
I can't verify that the "feedback" part of these forms is working. The invalid forms are always invalid, the valid ones are always valid. Seems like a JS issue?
I have the same issue locally on the branch that I have not touched.

For the form validation, it is expected: for this example I provide the Validation property to valid or invalid, so it shows statically as valid or invalid (with the message). The goal is to provide it from some validation verification, not provided in this example.

For the form validation, it is expected: for this example I provide the Validation property to valid or invalid, so it shows statically as valid or invalid (with the message). The goal is to provide it from some validation verification, not provided in this example.

Oh that's surprising, I expected it to responsively validate (i.e.: feedback, as previously named). I think it probably should do this before merged, it'll confuse folks.

I thought about having a way to validate (Ie check that value corresponds
to criteria) but then thought it goes out of the scope of this library,
that is a wrapper around bootstrap. We may have a way to make it compatible
with existing crates like this (random) one, but I did not try yet, or
check how it could be done:
https://github.com/Keats/validator
Now it's true that I restricted to "Server side validation" mode explained
here:
https://getbootstrap.com/docs/5.3/forms/validation/
Explicitly setting .is-valid or .is-invalid field, while there is a mode to
set :is-valid or :is-invalid. In this case we may just want to show the
messages (hidden until validated), either depending on HTML validation
rules or setting by Javascript (Or Rust?) and I generally find it less
usable, but maybe not a reason to now propose it.
Cédric
Le ven. 24 févr. 2023, 16:59, Matthew Scheffel @.***> a
écrit :

For the form validation, it is expected: for this example I provide the
Validation property to valid or invalid, so it shows statically as valid or
invalid (with the message). The goal is to provide it from some validation
verification, not provided in this example.
Oh that's surprising, I expected it to responsively validate (i.e.:
feedback, as previously named). I think it probably should do this before
merged, it'll confuse folks.
—
Reply to this email directly, view it on GitHub
https://github.com/isosphere/yew-bootstrap/pull/9#issuecomment-1443896843,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC5RE6F2BWHNFO4MAIA2WADWZDLGJANCNFSM6AAAAAAVGMTFHQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

I thought about having a way to validate (Ie check that value corresponds to criteria) but then thought it goes out of the scope of this library, that is a wrapper around bootstrap. We may have a way to make it compatible with existing crates like this (random) one, but I did not try yet, or check how it could be done: https://github.com/Keats/validator Now it's true that I restricted to "Server side validation" mode explained here: https://getbootstrap.com/docs/5.3/forms/validation/ Explicitly setting .is-valid or .is-invalid field, while there is a mode to set :is-valid or :is-invalid. In this case we may just want to show the messages (hidden until validated), either depending on HTML validation rules or setting by Javascript (Or Rust?) and I generally find it less usable, but maybe not a reason to now propose it. Cédric Le ven. 24 févr. 2023, 16:59, Matthew Scheffel @.> a écrit :
…
For the form validation, it is expected: for this example I provide the Validation property to valid or invalid, so it shows statically as valid or invalid (with the message). The goal is to provide it from some validation verification, not provided in this example. Oh that's surprising, I expected it to responsively validate (i.e.: feedback, as previously named). I think it probably should do this before merged, it'll confuse folks. — Reply to this email directly, view it on GitHub <#9 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC5RE6F2BWHNFO4MAIA2WADWZDLGJANCNFSM6AAAAAAVGMTFHQ . You are receiving this because you were mentioned.Message ID: @.>

I'm cool with dropping all support for interactive validation, but then we should cut down on the example considerably as it currently implies that this is support we are providing. For example, you have a numeric input labelled with "put a number between 10 and 20" that does not actually respond any differently. We have all of these Msg types for the update function but they don't seem to be providing the expected functionality that using update would require.
Certainly users of this crate must do their own server side validation - any validation provided by our crate would be for a better interactive user experience, not for actual data safety and validation.

Actually it could be a good example to only have a range with function
checking it's in the intended range and showing correct feedback message
for it.
Le ven. 24 févr. 2023, 18:43, Matthew Scheffel @.***> a
écrit :

I thought about having a way to validate (Ie check that value corresponds
to criteria) but then thought it goes out of the scope of this library,
that is a wrapper around bootstrap. We may have a way to make it compatible
with existing crates like this (random) one, but I did not try yet, or
check how it could be done: https://github.com/Keats/validator Now it's
true that I restricted to "Server side validation" mode explained here:
https://getbootstrap.com/docs/5.3/forms/validation/ Explicitly setting
.is-valid or .is-invalid field, while there is a mode to set :is-valid or
:is-invalid. In this case we may just want to show the messages (hidden
until validated), either depending on HTML validation rules or setting by
Javascript (Or Rust?) and I generally find it less usable, but maybe not a
reason to now propose it. Cédric Le ven. 24 févr. 2023, 16:59, Matthew
Scheffel @.
> a écrit : … <#m_-4956683915482236299_> For the form validation, it is
expected: for this example I provide the Validation property to valid or
invalid, so it shows statically as valid or invalid (with the message). The
goal is to provide it from some validation verification, not provided in
this example. Oh that's surprising, I expected it to responsively validate
(i.e.: feedback, as previously named). I think it probably should do this
before merged, it'll confuse folks. — Reply to this email directly, view it
on GitHub <#9 (comment)
https://github.com/isosphere/yew-bootstrap/pull/9#issuecomment-1443896843>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC5RE6F2BWHNFO4MAIA2WADWZDLGJANCNFSM6AAAAAAVGMTFHQ
https://github.com/notifications/unsubscribe-auth/AC5RE6F2BWHNFO4MAIA2WADWZDLGJANCNFSM6AAAAAAVGMTFHQ
. You are receiving this because you were mentioned.Message ID: @.>
I'm cool with dropping all support for interactive validation, but then we
should cut down on the example considerably as it currently implies that
this is support we are providing. For example, you have a numeric input
labelled with "put a number between 10 and 20" that does not actually
respond any differently. We have all of these Msg types for the update
function but they don't seem to be providing the expected functionality
that using update would require.
Certainly users of this crate must do their own server side validation -
any validation provided by our crate would be for a better interactive user
experience, not for actual data safety and validation.
—
Reply to this email directly, view it on GitHub
https://github.com/isosphere/yew-bootstrap/pull/9#issuecomment-1444116977,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC5RE6FDI3OXXDE5WV7BUD3WZDXNPANCNFSM6AAAAAAVGMTFHQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

If you want I can change the example page to do this.
Le ven. 24 févr. 2023 à 20:12, Cedric Airaud @.***> a écrit :

Actually it could be a good example to only have a range with function
checking it's in the intended range and showing correct feedback message
for it.
Le ven. 24 févr. 2023, 18:43, Matthew Scheffel @.***>
a écrit :

I thought about having a way to validate (Ie check that value corresponds
to criteria) but then thought it goes out of the scope of this library,
that is a wrapper around bootstrap. We may have a way to make it compatible
with existing crates like this (random) one, but I did not try yet, or
check how it could be done: https://github.com/Keats/validator Now it's
true that I restricted to "Server side validation" mode explained here:
https://getbootstrap.com/docs/5.3/forms/validation/ Explicitly setting
.is-valid or .is-invalid field, while there is a mode to set :is-valid or
:is-invalid. In this case we may just want to show the messages (hidden
until validated), either depending on HTML validation rules or setting by
Javascript (Or Rust?) and I generally find it less usable, but maybe not a
reason to now propose it. Cédric Le ven. 24 févr. 2023, 16:59, Matthew
Scheffel @.
> a écrit : … <#m_8271981669748567726_m_-4956683915482236299_> For the
form validation, it is expected: for this example I provide the Validation
property to valid or invalid, so it shows statically as valid or invalid
(with the message). The goal is to provide it from some validation
verification, not provided in this example. Oh that's surprising, I
expected it to responsively validate (i.e.: feedback, as previously named).
I think it probably should do this before merged, it'll confuse folks. —
Reply to this email directly, view it on GitHub <#9 (comment)
https://github.com/isosphere/yew-bootstrap/pull/9#issuecomment-1443896843>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC5RE6F2BWHNFO4MAIA2WADWZDLGJANCNFSM6AAAAAAVGMTFHQ
https://github.com/notifications/unsubscribe-auth/AC5RE6F2BWHNFO4MAIA2WADWZDLGJANCNFSM6AAAAAAVGMTFHQ
. You are receiving this because you were mentioned.Message ID: @.>
I'm cool with dropping all support for interactive validation, but then
we should cut down on the example considerably as it currently implies that
this is support we are providing. For example, you have a numeric input
labelled with "put a number between 10 and 20" that does not actually
respond any differently. We have all of these Msg types for the update
function but they don't seem to be providing the expected functionality
that using update would require.
Certainly users of this crate must do their own server side validation -
any validation provided by our crate would be for a better interactive user
experience, not for actual data safety and validation.
—
Reply to this email directly, view it on GitHub
https://github.com/isosphere/yew-bootstrap/pull/9#issuecomment-1444116977,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC5RE6FDI3OXXDE5WV7BUD3WZDXNPANCNFSM6AAAAAAVGMTFHQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

If you want I can change the example page to do this.

That would be welcome, thank you!

Thanks for the submission, @dricair!


NANO EEPROM is more complicated

Need to use a EEPROM emulator and flash memeory
https://github.com/cmaglie/FlashStorage
Limits writes to 10000 and these values will be reset every flash, but persist through resets.

Starting to address this 737ba07ef7644da8180830051714293dee7cef32

Add a serial EEPROM (e.g. Microchip 24LC256) to the shield?  >1E6 erase/write cycles. Still needs library but at least it's not messing with the flash and persistent through firmware upgrades.

I see no harm in laying it out in the next board, if we use it TBD

We are using the internal nano flash memory.


Fatal error: Uncaught Error: Class 'PHP_CodeSniffer\Runner' not found

When I use command to exec phpcs, erros displays like this:
root@7be0c6dcae4e:/var/www# ./vendor/bin/phpcs

Fatal error: Uncaught Error: Class 'PHP_CodeSniffer\Runner' not found in /var/www/vendor/bin/phpcs on line 17

Error: Class 'PHP_CodeSniffer\Runner' not found in /var/www/vendor/bin/phpcs on line 17

Call Stack:
    0.0002     391536   1. {main}() /var/www/vendor/bin/phpcs:0

Try execute command composer install before.

Try execute command composer install before.

I have tried it, but it doesn't work.

try vendor/bin/phpcs or php vendor/bin/phpcs

Hey @laraws could please tell the steps you did before running this? Are you using Docker? What output did composer install show?

Hey @laraws could please tell the steps you did before running this? Are you using Docker? What output did composer install show?

It solved after I ran the composer update. It may be a format problem. I copied the project from the GCP Ubuntu instance before I did . /vendor/bin/phpcs. . I'm using docker with PHP environment.

Delete /vendor and composer.lock, and rerun composer install


don't show my account when search by location.

Hello, I have an issue in search by location for my account. I did change my location and I update and refresh my account in 'http://git-awards.com' for several times but that show alert 'We couldn't find your city from your location on GitHub :(' to me?
where is my account problem?
Thanks.

I also have Same problem.

Same - and "Hamburg" should be pretty straight forward. Some things I found while looking at other users that are located in Hamburg according to git-awards (http://git-awards.com/users?utf8=✓&type=city&language=javascript&city=Hamburg):

https://github.com/lmenezes is not located in Hamburg, but their company is.
https://github.com/cramforce is not located in Hamburg at all
https://github.com/automat is located in Berlin, as is their Company

I’m having the same issue 😔

Same issue

same


[tesseract] Add missing dependency pkgconf of feature training-tools

Fixes #42000

[x] Changes comply with the maintainer guide.
[ ] SHA512s are updated for each updated download.
[ ] The "supports" clause reflects platforms that may be fixed by this new version.
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

/azp run

/azp run

/azp run

Thank you!


[New Game]: Doodle jump

PR Description 📜
Doodle Jump Game added.
Fixes #204

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[x] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @singh-anushka ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

@kunjgit please merge it with 'GSSoC23' and 'level 3' labels to it.
Also I've updated the following PRs, please look into these too.
Guess the Color by RGB
Atari Breakout
Thank you!

Thank you  @singh-anushka , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


adding creation and updating to job model

Add the ability to create a job with both user and listing attached to the model, and the ability to update the status.

This issue is now finished.


Include geocodeSuggest in returned components

Should resolve #13

Checkout the new v3. You can get every google maps data now


Add launcher menu background music

Please do.

What kind of BGM, by the way?
Is it the Launcher's own BGM that always plays as long as the launcher is open? or is it app-specific BGM?
Apps can have it's own BGM as customization when you hover over them in the launcher, only if you can "hack" the file system[^1] or use the "Install Package Files" feature which require CrossLauncher XPKG package file which is currently no one is making or publishing except me, I can make you one if you supplies the required files.
[^1]:  Actually what you should do is just put some files in Android/data/id.psw.vshlauncher/ folder, but lately Android would get mad at you if you do this

Sorry for not being specific enough. I mean like, menu bgm. I know you can set the app's music when you hover over them. (This feature is nice.) So, not that, but music in the background of the launcher, like if you were to go into the launcher's files and put an mp3 or an ogg file somewhere, or if you could simply go into the sound settings and set a custom bgm.

Ok, it seems this was implemented in an Action Build, sorry, may I ask as how to put the launcher bgm?

Two ways :

By picking the file using the Settings > Audio Settings > Pick Menu Music File option
Copying a file named  menu_bgm.bin to :

(Storage)/Android/data/id.psw.vshlauncher.dexfw/files/dev_flash/vsh/resource
(Storage)/Android/media/id.psw.vshlauncher.dexfw/files/dev_flash/vsh/resource named
This way requires launcher restart. supports any format your device natively supports, commonly mp3, ogg, aac, wav and midi (most may also supports opus and flac)

To remove, the option is in the same sub-menu. or just delete the file, both works the same.
I intended to put the tutorial for this to wiki page once it is in the stable release.

Is there a way to make the menu bgm fade in/out when switching between menu bgm and the game/apps music in the launcher?

Sure


Make colored help output more compatible with an applications overall theme

 Issue by epage
Friday Oct 29, 2021 at 19:58 GMT
Originally opened as https://github.com/clap-rs/clap/issues/2963

Please complete the following tasks

[X] I have searched the discussions
[X] I have searched the existing issues

Rust Version
rustc 1.55.0 (c8dfcfe04 2021-09-06)
Clap Version
master
Steps to reproduce the bug with the above code
Run enquirer and compare the program's regular output with its --help (after enabling colored help)
Actual Behaviour
The colors clash with the application's overall theme
Expected Behaviour
The colors are tastefully align with the rest of the theme
Additional Context
In discussing the concerns raised #2845 (see also https://github.com/clap-rs/clap/discussions/2906), we realized that at least one way to describe / categorize the problem with colored help is how well it meshes with the rest of an applications theme.
One of our aims is to provide a low-effort polished ("modern") experience.  A subset of our target users will polish the rest of their app over time, including color support and will run into theme compatibility issues. If we can provide both a polished low-effort experience and increase our theme compatibility, that seems like an overall win for our users.
This could be solved by manual help generation (like today or with #2913) or by providing theming support (#1790) but these increase the friction for a polished experience, making it less likely for them to do so.
If we go with changing the current coloring, it doesn't mean we can't use color it has to be a lot more selective and semantically relevant, like with errors.  Other tools at our disposal are dim, bold, underline, and italics.

 Comment by ctrlcctrlv
Tuesday Nov 16, 2021 at 07:53 GMT

If you want to guarantee better default colors regardless of a user's terminal theme, you do have the TrueColor escape codes at your disposal, as supported in modern terminals like Kitty. You can also figure out if you're in a light or dark colored terminal with the XTerm escape \e]11;?\a, supported in even older terminals.


Problems with \sum

Steps to reproduce the issue (e.g. the command you ran)

This is the piece of code
from manimlib.imports import *

class SumProblem(Scene):
    def construct(self):
        xj = TexMobject(
        r"""\left[""",
        r"""\sum_{j=0}^\infty x_j""",
        r"""\right]"""
        )
        self.play(Write(xj[1]))
        self.wait(2)
        self.play(Write(xj[0]),
                  Write(xj[2]))

class NoProblem(Scene):
    def construct(self):
        xj = TexMobject(
        r"""\left[""",
        r"""x_j""",
        r"""\right]"""
        )
        self.play(Write(xj[1]))
        self.wait(2)
        self.play(Write(xj[0]),
                  Write(xj[2]))

The unexpected behavior that occurred (e.g. error messages or screenshots)

When I run this piece of code, I get an unexpected result. It should be writing out \sum_{j=0}^\infty x_j fully then after two seconds adding brackets around it, but it draws half of the left one first and then completes it. In fact, the subscript of x doesn't get written out initially.
I initially had this issue on jupyter_manim so I installed this version to make sure where the problem originated from.

The problem lies with \sum I assume because running this works just fine

The environment (e.g. operating system and version of manim)

Windows, latest version of manim

It is a good question, what happens is that since the brackets are very big, they take up two places of space in the arrangement instead of one, in fact you can realize that if you look at the central part of the brackets, there is a kind of black stripe. This is because, as I said before, the brackets are using two spaces.
The solution is not very elegant, you would have to do something like this:
class SumProblem(Scene):
    def construct(self):
        xj = TexMobject(
        r"\left[",
        r"\sum_{j=0}^\infty x_j",
        r"\right]..",
        )
        self.play(Write(xj[1]))
        self.wait(2)
        self.play(Write(xj[0]),
                  Write(xj[2]),
                  #Write(xj[3])
                  )
        self.wait()

But in case you want to expand the equation it will give you problems:
class SumProblem(Scene):
    def construct(self):
        xj = TexMobject(
        r"\left[",
        r"\sum_{j=0}^\infty x_j",
        r"\right]..",
        "= x+y"
        )
        self.play(Write(xj[1]))
        self.wait(2)
        self.play(Write(xj[0]),
                  Write(xj[2]),
                  Write(xj[3])
                  )
        self.wait()

And to solve this we would have to do:
class SumProblem(Scene):
    def construct(self):
        xj = TexMobject(
        r"\left[",
        r"\sum_{j=0}^\infty x_j",
        r"\right]..",
        "= x+y"
        ).scale(3)
        xj[3].shift(LEFT)
        self.play(Write(xj[1]))
        self.wait(2)
        self.play(Write(xj[0]),
                  Write(xj[2]),
                  Write(xj[3][2:])
                  )
        self.wait()

Conclusion: It is a waste of time, what I recommend to do in case the equation is very large is to do the following:
class SumProblem(Scene):
    def construct(self):
        xj = TexMobject(
            r"\left[\sum_{j=0}^\infty x_j\right]= x+y"
        )[0].scale(3)
        self.get_formula_numbers(xj)
        self.add(xj,xj.t_numbers)
        self.wait()

    def get_formula_numbers(self,
                     formula,
                     f_kwargs={"height":2,"font":"Arial","stroke_width":0,"color":RED},
                     nt_kwargs={"direction":UP,"buff":0.1}
                     ):
        n = 0
        formula.t_numbers = VGroup()
        for f in formula:
            t = Text(f"{n}",**f_kwargs)
            t.next_to(f,**nt_kwargs)
            formula.t_numbers.add(t)
            n += 1

Whit that information we can use it, and do this:
class SumProblem(Scene):
    def construct(self):
        xj = TexMobject(
            r"\left[\sum_{j=0}^\infty x_j\right]= x+y"
        )[0].scale(3)
        self.play(Write(xj[2:9]))
        self.wait()
        self.play(
            Write(xj[:2]),
            Write(xj[9:]),
        )
        self.wait()

Thanks for the reply. So I tried your example and it worked perfectly but when I try to run my longer Tex Function it fails to give me the right formula numbers
class SumProblem(Scene):
    def construct(self):
        xj = TexMobject(
        r"""\left[\varphi_{Y_1}\left(\frac{t}{\sqrt{n}}\right)\right] = \left[
        \sum_{j=0}^\infty \frac{(i\frac{t}{\sqrt{n}})^j}{j!}\Bbb{E}\left[ {{Y_1}^j} \right]\right]""").to_edge(LEFT)
        self.get_formula_numbers(xj)
        self.add(xj,xj.t_numbers)
        self.wait(3)

    def get_formula_numbers(self,
                     formula,
                     f_kwargs={"height":2,"font":"Arial","stroke_width":0,"color":RED},
                     nt_kwargs={"direction":UP,"buff":0.1}
                     ):
        n = 0
        formula.t_numbers = VGroup()
        for f in formula:
            t = Text(f"{n}",**f_kwargs)
            t.next_to(f,**nt_kwargs)
            formula.t_numbers.add(t)
            n += 1

Nvm I forgot to add the [0] after my TexMobject(...)

Much appreciated for all the help, and many thanks for the tutorials! <3


Run file/directory globs in subdirectories

currently something like this does not work:
project-below --file="**/*.ts" pwd

The glob needs to be matched from the directory that is checked as a project folder.
Currently it only checks for direct content of the project folder and not inside subfolders.
Maybe:

https://crates.io/crates/globwalk

added in b7441da


chore: update docs

keep docs up to date, generated by npm script docs

Merged; (closed for a sec by accident)


Overriding --thaw-drawer--size and other variables set inline in element style

OverlayDrawer width is by default driver by a width: var(--thaw-drawer--size); CSS rule, but the --thaw-drawer--size is being set inline in the element, and thus cannot be overridden by CSS - the width property itself has to be overridden, making the variable not very useful.
git grep -B1 '"--' reveals that a few more places may show similar limitations.

You can use !important to override inline style.

You can use !important to override inline style.

Thanks for pointing that out. They seem to say, though, that it should mostly be used as a workaround.
Wouldn't be useful to use layers in the builtin styles, so the app author would have more flexibility?


Additional ExecutionStrategy extension point: OnOperationRetrying(Async)

In ExecutionStrategy, there is a convenient template method OnRetry that will be called after an operation failure. However, there are a few limitations to this extension point:

It is called before the delay, so you cannot do something after the delay (i.e. allowing the database time to recover)
Any exceptions thrown by OnRetry are not caught and handled via ShouldRetryOn like operation exceptions are
It does not have an async version

I'd like to propose an additional extension point, which for the sake of this issue I'll call OnOperationRetrying (feel free to rename). My primary use case is to be able to execute some SQL queries before the operation in the case of a retry, but I could imagine other use cases such as logging or consistency validation.
It would be a similar template-method signature to OnRetry but with an additional async version:
protected virtual void OnOperationRetrying()
{
}

protected virtual Task OnOperationRetryingAsync(CancellationToken cancellationToken)
{
    return Task.CompletedTask;
}

This would be called from ExecuteImplementation and ExecuteImplementationAsync inside the try block, immediately before the call to operation. For example:
        private TResult ExecuteImplementation<TState, TResult>(
            Func<DbContext, TState, TResult> operation,
            Func<DbContext, TState, ExecutionResult<TResult>> verifySucceeded,
            TState state)
        {
            bool isRetrying = false; // This is new
            while (true)
            {
                TimeSpan? delay;
                try
                {
                    Suspended = true;
                    if (isRetrying) {
                        OnOperationRetrying(); // new extension point
                    }
                    var result = operation(Dependencies.CurrentDbContext.Context, state);
                    Suspended = false;
                    return result;
                }
                catch (Exception ex)
                {
                    ... // existing catch code unmodified

                    OnRetry(); // this will still exist
                    isRetrying = true; // this is new
                }

                using (var waitEvent = new ManualResetEventSlim(false))
                {
                    waitEvent.WaitHandle.WaitOne(delay.Value);
                }
            }
        }

And of course there would be similar logic in ExecuteImplementationAsync just using await OnOperationRetryingAsync() instead.
This addresses all 3 of the limitations above:

It is called right before the next operation, so it is after the delay
It is inside the try block, so any exceptions that occur that ShouldRetryOn says should be retried will be retried
There is an async version

In addition, this should not impose a significant performance penalty in the common (non-retry) case, as only an if check of a boolean variable is added on the first execution of the loop. And because of the delay logic, the additional cost of a non-overridden virtual method call on a retry is negligible.
The only caveat that would be needed for the documentation would be that if OnOperationRetrying throws, that would count as a retry and operation would not be called. But by its nature, that is the expected behavior. (If OnOperationRetrying fails, the expectation is that operation would likely fail anyways.)
I'd be happy to submit a PR for this, but I wanted to get feedback on it first to see if it's acceptable, or if someone has an alternative of a better way of doing this (without having to copy/paste reimplement ExecutionStrategy).

With a little further exploration, I found that this is technically possible today without this extension point, by wrapping the operation parameter to Execute/ExecuteAsync like so:
        public override TResult Execute<TState, TResult>(TState state, Func<DbContext, TState, TResult> operation, Func<DbContext, TState, ExecutionResult<TResult>> verifySucceeded)
        {
            return base.Execute(state, (context, state1) =>
            {
                // add custom logic here
                return operation(context, state1);
            }, verifySucceeded);
        }

        public override Task<TResult> ExecuteAsync<TState, TResult>(TState state, Func<DbContext, TState, CancellationToken, Task<TResult>> operation, Func<DbContext, TState, CancellationToken, Task<ExecutionResult<TResult>>> verifySucceeded, CancellationToken cancellationToken = new CancellationToken())
        {
            return base.ExecuteAsync(state, (context, state1, token) =>
            {
                // add custom logic here, possibly make this an async lambda
                return operation(context, state1, token);
            }, verifySucceeded, cancellationToken);
        }

But my suggestion above would certainly be cleaner and fit better with the template method pattern that already exists, so I'm still interested in hearing feedback on this suggestion.

@paulirwin General approach looks good, we'll comment on the details in the PR.


Update to match latest BBS+ spec

IETF BBS+ spec call for adoption in september, will then be moving to CFRG spec.
Changes that impact this work:

Define the signature header

@andrewwhitehead might have some time next week to update to the latest BBS+ spec which is ietf approved


fix the bug that modify account name will delete all transaction under the account

quick fix to #436 .
It is caused by REPLACE sql command. REPLACE will delete then insert, and the deletion would cause the transactions to be deleted due to ON DELETE CASCADE on the foreign key constraint.

Thanks for the patch.
I was wondering though, since we use replace everywhere, is it more harm than good to have the "delete cascade" constraint in the database? Of course, it is good for ensuring data integrity, but if these side-effects become common....?

I didn't expect this when I first chose the REPLACE statement. I'm working on something to change the replace approach to insert or update / update or insert.
Then one will be able to choose which approach to use when changing the database in the bulk way. Most likely the replace one would not be used after this.
But don't expect it to come out soon.

We can just try to be careful until you finish the approach. So no pressure!
I already modified the database adapters in such a way that the models which contain other models always re-save everything during replace. So that way, we make sure not to lose data in the database.
One of the benefits of REPLACE over the insert/update approach which we used before is the speed. Insert/Update required at least 2 runs to the database for each operation (much worse for bulk operations). And if we're going to be handling large books going forward (and multiple syncs with users sharing books), then the speed is very important.
So if any other approach would make it slower, I would say we should stick with REPLACE and deal with the bugs.

I find that now, in a lot of times we do know whether the records exist in the db or not.
E.g, during import, no records exists in the db (which is not the case when REPLACE is introduced), so INSERT is OK. And for this pr, when updating account name, all records should already exist in the db. So UPDATE should be OK.
And something else related to the speed, I found that the db is repeatedly queried when UI changes. I think the query maybe to often, and even thought it should be a bug in the UI. I tried something to resolve this sometime before, but was not successful.
The UI gets a lot of refresh messages. And it seems that it is refreshed twice on creation. Every refresh gets a lot queries. It will refresh when I goes up and down, or swipe left to right. It takes quite some time for the UI to be properly shown.
The balances are calculated repeatedly. They should be able to be cached somewhere.

Great idea. I hadn't thought of it that way. But you're right, we do mostly know when it will an update or insert. As we also know when we're editing/creating transactions and accounts.
You could change the base DatabaseAdapter interface to use insert() and update(), bulkInsert() and bulkUpdate() instead of just an addRecord() and bulkAdd(). Then just calling the appropriate insert/update methods where applicable.
Looking forward to those changes whenever they're ready  :+1:
The UI does indeed tend to be refreshed a lot. I will see if I have some redundant refresh calls somewhere and can eliminate them. I'll also look into caching the balances somehow (thanks for the tip)


The animation does not work.

Describe the bug
The animation does not work. I have tried in my project and on the sandbox from readme.
Actual Behavior
Only color rectangles are shown.
Expected Behavior
The animation should be played.
Versions

react-loading-skeleton version: 3.5.0
Browser version:

Additional context
Or am I doing something wrong :) ?

Check if you have the "Prefers reduced motion" setting enabled in your browser settings. If that setting is true, react-loading-skeleton does not animate.

@srmagura You are right :/ I got animations effects off in Window settings. Didn't realize that there is a setting in CSS for this. Thank you :) at least now I understand the reason.


Roll Engine from 801559ac4ed3 to 1c35046f6495 (7 revisions)

https://github.com/flutter/engine/compare/801559ac4ed3...1c35046f6495
2020-06-15<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from XHlPK... to crMVM... (flutter/engine#19042)
2020-06-15<EMAIL_ADDRESS>Roll Skia from 45fe2e8a9914 to 08ac84a66a5e (4 revisions) (flutter/engine#19041)
2020-06-15<EMAIL_ADDRESS>Roll Skia from ac16760df463 to 45fe2e8a9914 (4 revisions) (flutter/engine#19028)
2020-06-15<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from pVORF... to XHlPK... (flutter/engine#19039)
2020-06-14<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from 9XDKA... to pVORF... (flutter/engine#19037)
2020-06-13<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from Q196k... to 9XDKA... (flutter/engine#19034)
2020-06-13<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from H-uAk... to Q196k... (flutter/engine#19032)
Also rolling transitive DEPS:
fuchsia/sdk/core/mac-amd64 from H-uAkPvuDon5 to crMVMjlZ9cNu
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


support api 8 and up

currently this library supports only api 14 and above (although it can actually support api 11 and above out of the box)
I've made a workaround for api that are lower than 11.

+1 Would love to see this get merged.

@grantland please merge the changes of @ndori

Could someone confirm that this works on android-8? I would think it would crash when trying to load the class View.OnLayoutChangeListener.

Unfortunately it looks like this change will only allow usage of AutofitTextView in android-8, but not AutofitHelper with other TextView implementations (i.e. EditText, etc.). Is this what you all would expect?


admin: Add some missing admin methods

This PR adds the following admin client methods:
DescribeTopic
DescribeConsumerGroup
ListConsumerGroups
ListConsumerGroupOffsets
For ListConsumerGroups, all brokers are queried (the java client does it the same way). Since this will be super slow with multiple brokers, i made an implementation with parallel requests.
The others methods are rather straight forward.
I'll be happy about comments on the API, is it fine?
I'm not 100% sure - for the groups i chose it to be  'singular' - each method call is for one consumer group. For topics it's a slice of topics as parameter - in my case (building a kafka cli tool) it's very often the case that multiple topics are requested, so i kept it this way.
In #1155 (another addition to the admin client) i wondered how the API should look like. I kept it simple here. and reused types from the response messages.
I also added mock tests for these methods.

i renamed it to DescribeTopics, so it's consistent with its parameters and return value.

@bai can you have a look?

I'm just checking out Sarama for the first time, so not sure how closely you try to follow the Java reference clients. However, I added these same methods to kafka-python, so had one design comment based on having already played with the kafka protocol here:

A common scenario in monitoring situations is to fetch the offsets/calculate consumer lag for many/all consumer groups in the cluster.
ListConsumerGroupOffsets is a very chatty call because it will first lookup the group's coordinator. So it requires two network round trips.
However, when listing consumer groups, if a broker returns a consumer group, you know it's the coordinator.
If you allow ListConsumerGroups to have an optional param of specifying a single broker and ListConsumerGroupOffsets to have an optional param of specifying a known group coordinator than you can leverage this to nearly halve the number of network calls required to fetch offsets for all consumer groups:

Loop through all brokers, calling ListConsumerGroups against each one.
For the consumer groups returned, call ListConsumerGroupOffsets, using the group coordinator identified above.

Java doesn't currently allow these overrides, but they were useful enough that we chose to include them in kafka-python, even though in general we try to follow the Java clients very closely: https://kafka-python.readthedocs.io/en/master/apidoc/KafkaAdminClient.html#kafka.admin.KafkaAdminClient.list_consumer_group_offsets
You can see how I then leveraged this when patching the Datadog check here:
https://github.com/DataDog/integrations-core/pull/2730/files#diff-deed983f73a04522ac621d7f6d0c8403R248

@dnwe i added your commits of your PR #1155 ..since my work is based on that / related. since your PR is also pending and i require it as well, do you mind pushing this forward together? would be nice if we could get this finally merged :)
if it's not OK, i can remove it from my PR.

Ci failed with a strange error:
# cd .; git clone https://go.googlesource.com/tools /home/travis/gopath/src/golang.org/x/tools
Cloning into '/home/travis/gopath/src/golang.org/x/tools'...
fatal: remote error: Access denied to IP <IP_ADDRESS>
package golang.org/x/tools/go/packages: exit status 128

how can i trigger a re-run?

Try closing and reopen again.
Sent from my iPhone
On Feb 7, 2019, at 6:07 PM, Johannes Brüderl <notifications<EMAIL_ADDRESS>wrote:
Ci failed with a strange error:
cd .; git clone https://go.googlesource.com/tools /home/travis/gopath/src/golang.org/x/toolshttp://golang.org/x/tools
Cloning into '/home/travis/gopath/src/golang.org/x/tools'http://golang.org/x/tools'...
fatal: remote error: Access denied to IP <IP_ADDRESS>
package golang.org/x/tools/go/packages:http://golang.org/x/tools/go/packages: exit status 128
how can i trigger a re-run?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHubhttps://github.com/Shopify/sarama/pull/1178#issuecomment-461643135, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABOX5pJ-Iixx_tLtd1pN_jVGgewtp6WMks5vLL_HgaJpZM4W9n9p.

great. it's green now :)

Thanks!

This is lovely work 💯


Running api.py error

I receive this error when running the script (on Windows 2012R2, Python version 3.8.0):
c:\Python\Python38\lib\site-packages\tensorflow\python\ops\nn_ops.py", line 5021, in dropout_v2
raise ValueError("rate must be a scalar tensor or a float in the "ValueError: rate must be a scalar tensor or a float in the range [0, 1), got 1

what was your tensorflow version?
could you test it for python 3.6, and tensorflow 1.9.0. it seems an environmental problem and unit tests were done in the versions I mentioned.

I was using a higher version and I could not get version 1.9.0 with my version of Python.
I have installed version 3.6.0 and now I get this:
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\lib\site-packages\google\protobuf\descriptor.py", line 48, in
from google.protobuf.pyext import _message
ImportError: DLL load failed: The specified procedure could not be found.

this should be fixed in the latest release. you can test it.


Lost devices after update

During the update to 1.5.4 I lost all the matterbridge-shelly devices in Apple Home.
Please fix. I don't want to update again if I loose all devices.
Thanks.

@barry74 ... and you think that with these details any developer can do/find anything? No log, no information from which version you updated to which ... and and and ... This issue in this form is not really helpful

I'm new to matterbridge.. Updated from 1.5.3 -> 1.5.4.
The logfiles are 0 bytes, no information there.
I made backup now, maybe restore will help next time.
Keep on the good work!

Hi,
what other plugins are you using ?
Any other info?

Cause we run extensive tests on the updates in all possible conditions before releasing... and no issues were found.
I test deeply AppleHome with a setup of 150 devices...


REST API Resource for UserPrice

Adds REST API endpoints for user prices and user price groups.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/PT-9307
Please use this issue to track the state of your pull request.

Any Chance for this to be merged soon? This is exactly what I need for my project right now :)

@RemizZ I would not recommend to wait for this PR. Unfortunately this plugin has no priority at the moment. Nevertheless you could still adapt this to your custom project

@RemizZ you could just clone or fork from here https://github.com/axxepta/SwagUserPrice
We have this in production for several months now.

@mitelg If this is no priority for your team at all, might you consider giving it to the community so we can improve it ourselves? Waiting for official releases just for a small PR seems unnessesary.
@mgaerber thank you! You saved me a lot of time.

@RemizZ what do you mean by "giving it to the community" ? :blush:
the plugin is available for free in the store and the source code is here in GitHub. Did I miss something?

@mitelg Letting trusted people from the community process those pull requests for you, so you don't have to put in the time is what I meant :)

@RemizZ ah now I see :blush:
I will put this discussion in to place!

hey @mgaerber
Sorry for the late answer!
The corresponding ticket was closed. If this change is still relevant for you, please feel free to create a new PR.


Seismic input file

Dear Carlos,
I am honored to learn from you. I am looking forward to your reply to a question. Why does the seismic input file in Example "openfast_2.2.0_seismic-master" have 10 columns of parameters, while in Example "openfast_3.0.0_multisupport-master", the seismic input file has 19 columns of parameters? What are the meanings of the 19 column parameters in the seismic input file in Example "openfast_3.0.0_multisupport-master"?
Thank you for your help.
Best wishes

Dear Melissa,
In "openfast_3.0.0_multisupport, the code allows not only horizontal, but also vertical and rotational foundation input motion to be considered, on a single-support substructure (monopile) and with independent multiple supports (tripods and jackets). "openfast_2.2.0_seismic" can only be used for a single-support due to the influence vector.
The seismic input now is composed by 19 parameters (1 time, 6 displacements, 6 velocities and 6 accelerations for all degrees of freedom):
time , X, Y, Z, XPHI, YPHI, ZPHI, X_vel, Y_vel, Z_vel, XPHIvel, YPHIvel, ZPHIvel, X_acc, Y_acc, Z_acc, XPHIacc, YPHIacc, ZPHIacc.
In you only want to use the horizontal seismic wave (in Fore-Aft direction), you only need the columns, 2,8 and 14.
Best regards,


[FIX - UI ] : fixed the id not passing correctly form the header

Notes for Reviewers
This PR fixes the correctly passing of   the kubernetes context id from the header
Before fix

After fix

Signed commits

[ ] Yes, I signed my commits.

@MUzairS15 could you please review the PR

Hey @lokesh-katari, could you sign your commit? You can check out this resource for help: https://docs.meshery.io/project/contributing#general-contribution-flow

@yash37158 signed my commit but , don't know why the e2e tests are failing :) - any idea

@lokesh-katari UI end-to-end tests are expected to fail as they are in active development

@lokesh-katari Thank you for your contributions! Let's discuss this during the Meshery Development call today at 7:30 PM IST (9:00 AM CT). Adding it as an agenda item to the meeting minutes || meeting link.

Fix for this needs to be done at server side . I think @Yashsharma1911  is tracking this separately


Pre commit hook

Added a pre-commit hook configuration.
This configuration only verifies if the code has been signed, as the pre-commit framework does not accept changes to files when run. And as the signature file changes each time, that's no option :-)

@shanemcd Ping :)


Binary and linear Search Algos

🚀 Feature
(A clear and concise description of what the feature is.)
Have you spent some time to check if this issue has been raised before?
No, this hasn't been raised earlier
Have you read the Contributing Guidelines?
Yes
Pitch
Want to add the basic Linear and Binary search algos.
Linear search: Start from the leftmost element of arr[] and one by one compare x with each element of arr[].(A loop is used).Here one doesn't have to sort the array.
Binary Search: Search a sorted array by repeatedly dividing the search interval in half.
TIME COMPLEXITY:
Linear search :O(n)
Binary Search: O(log n)

Could you assign me this task?

Could you assign me this task?

Hey @AnubhavPabby Ive raised this same issue before so you have to wait according to guidelines.

@shubhamc1200 please review the repo first before submitting the PR, we already have the search algorithms


Refactor directories, code, Adding me, and so

Happy Hack!

Great, there's a lot more refactoring work left though ;)


python3Packages.python-lsp-black: init at 1.0.0

Motivation for this change
I need this package, the other one pyls-black uses python-language-server which is being deprecated.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

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

[x] Fits CONTRIBUTING.md.

Thanks for reviewing my changes quickly and apologies for the minor mistakes.

Actually, python-lsp-black has already been merged in #131060


catalog API investigate if using "cosmos.items" is necessary.

typo in "cosmos.items" in the catalog api using term worked without any error.

@xinlian12 is this still valid? If so, lets prioritize this with @tvaron3


Create add styling

This PR contains the adding of CSS Styles to the project following the design in Zeplin.

Highlights

Used the information detailed in Zeplin to style the website.
Ensure that the final design matches Zeplin's design.

Hi @DeliceLydia, thanks a lot for approving my PR. I appreciate it.


(PUP-8637) Allow merge of definitions to main when --freeze_main is on

Before this, in some circumstances puppet ends up wanting to merge
definitions into main. When freeze_main is on, the check for allowed
merge was very simplistic and did not allow for definitions to be
merged. This is always ok since they are just definitions that does not
lead to any declaration of resources in the catalog.

CLA signed by all contributors.


Error: cannot find ft2build.h while installing xhtml2pdf on OpenBSD

Describe the Bug
ft2build.h is not found while installing xhtml2pdf.
The specific package that seems to be the culprit is reportlab.
I suspect this error occurs because it's looking for freetype2/ft2build.h in /usr/include/ and not /usr/X11R6/include/ which is where OpenBSD typically stores it.
Minimal Example to Reproduce

Setup a fresh OpenBSD installation with freetype installed
pip install xhtml2pdf

Expected Behavior
The installation occurs without issue.
Actual Behavior
An error occurs and the installation stops.
Additional Information

Logs

Collecting reportlab<4,>=3.5.53
  Using cached reportlab-3.6.13.tar.gz (4.0 MB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [10 lines of output]
##### setup-python-3.9.16-openbsd-7.3-amd64: ================================================
##### setup-python-3.9.16-openbsd-7.3-amd64: Attempting build of _rl_accel
##### setup-python-3.9.16-openbsd-7.3-amd64: extensions from 'src/rl_addons/rl_accel'
##### setup-python-3.9.16-openbsd-7.3-amd64: ================================================
##### setup-python-3.9.16-openbsd-7.3-amd64: ===================================================
##### setup-python-3.9.16-openbsd-7.3-amd64: Attempting build of _renderPM
##### setup-python-3.9.16-openbsd-7.3-amd64: extensions from 'src/rl_addons/renderPM'
##### setup-python-3.9.16-openbsd-7.3-amd64: ===================================================
##### setup-python-3.9.16-openbsd-7.3-amd64: will use package libart 2.3.21
!!!!! cannot find ft2build.h
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

System Information

OS version: OpenBSD 7.3
Python version: 3.10.11
XHTML2PDF version: 0.2.11

reportlab and xhtml2pdf are two different projects, although xhtml2pdf uses reportlab. You should probably seek support at the reportlab user forum instead of here, as we cannot do anything about reportlab issues.

@stefan6419846 Thanks a lot for your support in issue triage, I agree that this has nothing to do with xhtml2pdf.
Unfortunately, I don't see a clear way how to report bugs for reportlab, there is the repository https://hg.reportlab.com/hg-public/reportlab but I don't see a way to report bugs there. Maybe via the google group https://groups.google.com/g/reportlab-users?


feat: Generate Source Maps

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

235 of 303 (77.56%)  changed or added relevant lines in 19 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-15.05%) to 81.866%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

fixtures/sample/lib/index.d.ts
0
1
0.0%

fixtures/sample/lib/index.js
0
1
0.0%

fixtures/sample/lib/lookup.d.ts
0
1
0.0%

fixtures/sample/lib/lookup.js
0
1
0.0%

fixtures/sample/lib/app.d.ts
0
2
0.0%

fixtures/sample/lib/database/index.d.ts
0
2
0.0%

fixtures/sample/lib/database/index.js
0
2
0.0%

fixtures/sample/lib/database/fetch.d.ts
0
3
0.0%

src/readSourceFile.ts
42
46
91.3%

fixtures/sample/lib/database/fetch.js
0
5
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-15.05%

Covered Lines:
518

Relevant Lines:
630

💛  - Coveralls