[bug]: It is not possible to use dark/mode on Next15+

Describe the bug
It is not possible to use dark/mode in Next15+, when the ThemeProvider is configured in the Layout in Next15 it gives a hydration error, which seems like a calm error because Dark/Mode normally works but this completely breaks in production (I tested with Vercel) and breaks Also with Docker not being able to generate the container, Deploy not being possible, I isolated the component to make sure that the error was in the Layout Theme, and when I tested it without stopping with the error. the Problem is that I want to use DarkMode
Affected component/components
HTML DOM
How to reproduce
When config DarkMode:

{children}

Error:
onsole Error
Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used

A server/client branch if (typeof window !== 'undefined').
Variable input such as Date.now() or Math.random() which changes each time it's called.
Date formatting in a user's locale which doesn't match the server.
External changing data without sending a snapshot of it along with the HTML.
Invalid HTML tag nesting.

It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
See more info here: https://nextjs.org/docs/messages/react-hydration-error
...
<Router actionQueue={{state:{...}, ...}} assetPrefix="">

<ReactDevOverlay state={{nextId:1, ...}} dispatcher={{...}}>

<NotFoundBoundary notFound={}>
<NotFoundErrorBoundary pathname="/dashboard" notFound={} ...>

...
...

                           className="dark"

                           style={{color-scheme:"dark"}}

Codesandbox/StackBlitz link
No response
Logs
Console Error

Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used

- A server/client branch `if (typeof window !== 'undefined')`.
- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.
- Date formatting in a user's locale which doesn't match the server.
- External changing data without sending a snapshot of it along with the HTML.
- Invalid HTML tag nesting.

It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.

See more info here: https://nextjs.org/docs/messages/react-hydration-error

 ...
  <Router actionQueue={{state:{...}, ...}} assetPrefix="">
    <HistoryUpdater>
      <RuntimeStyles>
        <HotReload assetPrefix="">
          <ReactDevOverlay state={{nextId:1, ...}} dispatcher={{...}}>
            <DevRootNotFoundBoundary>
              <NotFoundBoundary notFound={<NotAllowedRootNotFoundError>}>
                <NotFoundErrorBoundary pathname="/dashboard" notFound={<NotAllowedRootNotFoundError>} ...>
                  <RedirectBoundary>
                    <RedirectErrorBoundary router={{...}}>
                      <Head>
                        <link>
                          <RootLayout>
                            <html
                              lang="en"
                                >
                                  ...
                                    ...
-                                className="dark"
-                                style={{color-scheme:"dark"}}

System Info
onsole Error

Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used

- A server/client branch `if (typeof window !== 'undefined')`.
- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.
- Date formatting in a user's locale which doesn't match the server.
- External changing data without sending a snapshot of it along with the HTML.
- Invalid HTML tag nesting.

It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.

See more info here: https://nextjs.org/docs/messages/react-hydration-error

 ...
  <Router actionQueue={{state:{...}, ...}} assetPrefix="">
    <HistoryUpdater>
      <RuntimeStyles>
        <HotReload assetPrefix="">
          <ReactDevOverlay state={{nextId:1, ...}} dispatcher={{...}}>
            <DevRootNotFoundBoundary>
              <NotFoundBoundary notFound={<NotAllowedRootNotFoundError>}>
                <NotFoundErrorBoundary pathname="/dashboard" notFound={<NotAllowedRootNotFoundError>} ...>
                  <RedirectBoundary>
                    <RedirectErrorBoundary router={{...}}>
                      <Head>
                        <link>
                          <RootLayout>
                            <html
                              lang="en"
                                >
                                  ...
                                    ...
-                                className="dark"
-                                style={{color-scheme:"dark"}}

------ console:

intercept-console-error.js:56 A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:

- A server/client branch `if (typeof window !== 'undefined')`.
- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.
- Date formatting in a user's locale which doesn't match the server.
- External changing data without sending a snapshot of it along with the HTML.
- Invalid HTML tag nesting.

It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.

https://react.dev/link/hydration-mismatch

  ...
    <Router actionQueue={{state:{...}, ...}} assetPrefix="">
      <HistoryUpdater>
      <RuntimeStyles>
      <HotReload assetPrefix="">
        <ReactDevOverlay state={{nextId:1, ...}} dispatcher={{...}}>
          <DevRootNotFoundBoundary>
            <NotFoundBoundary notFound={<NotAllowedRootNotFoundError>}>
              <NotFoundErrorBoundary pathname="/dashboard" notFound={<NotAllowedRootNotFoundError>} ...>
                <RedirectBoundary>
                  <RedirectErrorBoundary router={{...}}>
                    <Head>
                    <link>
                    <RootLayout>
                      <html
                        lang="en"
-                       className="dark"
-                       style={{color-scheme:"dark"}}
                      >
                    ...

In Next don't return error

Before submitting

[X] I've made research efforts and searched the documentation
[X] I've searched for existing issues

@nathanmota-dev do you solve the issue? I have same

Ok, never mind.
If someone has a similar problem, should look at -> https://github.com/shadcn-ui/ui/issues/5552#issuecomment-2435024526

I had already managed to resolve the error, but it is the same as in the post you indicated. Tanks!


registry: Gzip extracted layers when not using tarsums

I reverted #4 as it was broken (this time I actually tested to make sure it works :expressionless:)

LGTM


Unable to resize the table using CSS

I have tried resizing the table and gCharts by altering the pivot.css files. But that doesn't seem to do the trick. The original size remains intact no matter how do you alter the css. Also few classes added in js files can't be found in .css file (for ex-  pvtRenderer could not be found in pivot.css). Any ideas on fixing this.

What kind of resizing are you looking for? You want the table to fit within a particular bounding rectangle? If so, how would you expect the pivottable to scale?
Regarding the classes with no CSS definition, it's possible that those classes are there just to facilitate selection via jQuery rather than to apply CSS styles.

Hi Nicolas,
What I am trying to achieve is to use your pivottable.js in a responsive website. So when the website is displayed on a mobile (or the browser is sinked to mobile size), the pivot table still displays properly. For this, I was looking to adjust the table size using css for different view-port using media queries (you know it all). But this trick do not seem to work as the table size still remains the same as is displayed in standard browser size.
I even posted this on SA (http://stackoverflow.com/questions/29802658/adding-responsiveness-to-pivottable) but it didn't fetch any answer.  I am really stuck here. Please do guide me if I am going wrong here. Your help will be highly appreciated.

The ultimate size of the table is basically determined by the data and the text size, and the only reliable way to shrink things would be to shrink the font size. If you try to just change the external dimensions, there is nowhere for the text in the tables to go so it will not change much.

So that means we can't even shrink the  and  size. If this is the case, I still owe you a thanks, for now I won't be looking for css fixes as earlier. But can you suggest how the size is determined by the content or is there any spot in the .js where this size can be handled. I have tried a lot to alter the js but couldn't find proper place to start for this change

Like I said, the size is determined by the content: if your table has 100 rows and 100 columns, there's nothing you can do to shrink that...

Its clear that table size is determined by rows and cols, and for 100 rows and cols obviously the size will be large. But for small sizes, say 7 rows and 7 cols, can't we somehow reduce the table size so that it still contains 7 rows and 7 cols on a smaller scale (obviously the width of each row and col in this case will be so small that the user will have to zoom in.)

The way to do that is to reduce the font size of the text in the cell. You can't force the font to shrink by shrinking the containing element, that's not how HTML/CSS work :)

I have somewhat similar issue. Basically, I want the AxisContainer for the Unused attributes to have overflow-y=scroll type of behavior with a max height of an arbitrary size. I have tried messing around with the CSS, however, no luck with lowering the maximum height. What is your suggestion for achieving this?

I ran into the same issue. display: block; solved it for me. Here's the CSS Snippet:
.pvtUi {
    display: block;
    width: 100%;
    overflow: auto;
}

The font size doesn't change when CSS is applied in external css file

I'm trying to fix the select with class pvtDropdown

I have tried
.pvtDropdown{
width: 200px !important;
}


rune/libenclave/skeleton: add max-mmap-size metadata area

There is no need to add mmap-size parameter in config.json file, because skeleton will get the mmap-size value from the metadata area.
Fixes: #296
Signed-off-by: Shirong Hao<EMAIL_ADDRESS>

please place metadata into the end of lds in near future.

please place metadata into the end of lds in near future.

Why placed at the end? The data section is unsized.


Scss fix Tree Search Bar Width when opened

The search bars for the breakdown, model, and categories trees were only taking up half the width of the widget in Design Review.  This fix sets the 'right' CSS property of search-bar-search-container to 0 so that the search bar spans the width of the widget when opened.

please have @JoeZman review


Update README.md

update journal bibtex

Taken from https://www.computer.org/csdl/journal/tp/5555/01/09762560/1CRqDN0f8fm


pyDOMCFG code structure

The next step will be to agree the structure of pyDOMCFG code. We agree that I will propose a base structure from which we will start the disussion.

Hi @oceandie, I realise that you are going to propose a structure for us to comment on - but while it's in my head I thought I'd jot down a thought...
... as this repo is domcfg should we structure it as, for example, the following? Note this is an example of the high level structure not what files I want to see in it or how the sub packages are to be defined. As we discussed the idea of keeping a similar structure to the fortran I thought perhaps we should at least keep the top level similar e.g. subdirs/subpackage for domzgr, domhgr, dommsk.... obviously were just focusing on domzgr at the moment. I think below these subpackages we can be a little more organic... e.g. with a vert_coords.py that holds all the grid defs (although within that still use the common syntax of s_sf12, s_sh94 etc) and perhaps a libs.py for common code used by more than one of the grid definition functions etc...
pyDOMCFG/
│
│
├── docs/
│   └── pydomcfg
│         ├── domzgr
│         └── domhgr
├── pydomcfg/
│   ├── __init__.py
│   ├── entry_wrapper_script.py
│   ├── domzgr/
│   │   ├── __init__.py
│   │   ├── common.py  (general routines and entry point)
│   │   ├── libs.py (common routines in generating vert coords etc)
│   │   └── vert_coords.py (routines of vert coords e.g. sf12, sh94 etc)
│   │
│   └── domhgr/
│       ├── __init__.py
│       ├── read_write.py
│       └── grids.py
│
├── data/
│   ├── data1
│   └── data2
│
├── tests/
│   ├── domzgr
│   │   ├── test1.py
│   │   └── test2.py
│   │
│   └── domhgr/
│       ├── test1.py
│       └── test2.py
│
├── .gitignore
├── LICENSE
└── README.md

Idea about how we could handle parameters.
I think we can make something that looks like NEMO namelists using a class with both __enter__ and __exit__.
This class sets the parameters used by all functions, and users can decide whether to use namelists or not.
Here is an example.
import pydomcfg
# Manually
pydomcfg.set_parameters(ln_s_sh94=True)
# OR, from a reference namelist
pydomcfg.set_parameters.from_namelist("namelist_ref")

# Now we don't have to provide any argument
pydomcfg.create_domain()
# But we can if we want
pydomcfg.create_domain(ln_s_sh94=True)

Why __enter__ and __exit__?
If __exit__ restores the parameters set when we __enter__ the class, we can use namelist_cfg like this:
import pydomcfg

# Set reference
pydomcfg.set_parameters.from_namelist("namelist_ref")

# Set namelist_cfg
with pydomcfg.set_parameters.from_namelist("namelist_exp1"):
    pydomcfg.create_domain()

with pydomcfg.set_parameters.from_namelist("namelist_exp2"):
    pydomcfg.create_domain()

# Or manually
with pydomcfg.set_parameters(ln_s_sh94=True):
    pydomcfg.create_domain()

# As we wrapped everything in with statements, at this point reference parameters are set.

Then we can add more stuff to this class, like warnings/errors about missing/conflicting parameters, a nice __repr__, an option override: bool to decide what to do for parameters already set, error: bool to raise an error if there are parameters that are not used by pydomcfg, ...

Also, set_parameters only sets the defaults. We can still override those using functions/methods arguments:
So for example
# This uses SH94
with pydomcfg.set_parameters(ln_s_sh94=True):
    pydomcfg.domzgr.vert_coords() #  Here ln_s_sh94 = ln_s_sf12 = None

# This uses SF12
with pydomcfg.set_parameters(ln_s_sh94=True):
    pydomcfg.domzgr.vert_coords(ln_s_sh94=False, ln_s_sf12=True)

All methods/functions arguments should default to None. When an argument is None, we look at the parameters set by pydomcfg.set_parameters

A couple of thoughts about the structure we discussed:

I think we should place all the public API in a xarray accessor. The accessor is a class that extends xarray (the only argument in init is a Dataset). Users just have to import pydomcfg. I think it makes sense to replace pydomcfg/generate_mesh.py with pydomcfg/accessor.py. For example, assuming that a dataset with coords and bathy already exists:

import pydomcf
ds.domcfg.generate_mesh(*args, **kwargs)
# And maybe additional stuff
ds.domcfg.plot(*args, **kwargs)
ds.domcfg.stats(*args, **kwargs)

I think it makes sense to use inheritance. That means that we will have a base class with all methods common to all vertical systems. I think we can replace pydomcfg/domzgr/gen_mesh.py with pydomcfg/domzgr/zgr.py containing the base class. Then, for example in  pydomcfg/domzgr/sco.py the child class would look something like

from .zgr import Zgr
class ZgrSco(Zgr):

The accessor basically picks the right zgr child class based on the appropriate namelist parameter (e.g., ln_zco=True).
I can open a PR just to show the structure I'm thinking it that helps.

A couple of thoughts about the structure we discussed:
* I think we should place all the public API in a [xarray accessor](http://xarray.pydata.org/en/stable/internals/extending-xarray.html?highlight=accessor#extending-xarray). The accessor is a class that extends xarray (the only argument in `__init__` is a Dataset). Users just have to import `pydomcfg`. I think it makes sense to replace `pydomcfg/generate_mesh.py` with `pydomcfg/accessor.py`. For example, assuming that a dataset with coords and bathy already exists:

import pydomcfg
ds.domcfg.generate_mesh(*args, **kwargs)
# And maybe additional stuff
ds.domcfg.plot(*args, **kwargs)
ds.domcfg.stats(*args, **kwargs)

* I think it makes sense to use [inheritance](https://realpython.com/inheritance-composition-python/). That means that we will have a base class with all methods common to all vertical systems. I think we can replace `pydomcfg/domzgr/gen_mesh.py` with `pydomcfg/domzgr/zgr.py` containing the base class. Then, for example in  `pydomcfg/domzgr/sco.py` the child class would look something like

from .zgr import Zgr
class ZgrSco(Zgr):

The accessor basically picks the right zgr child class based on the appropriate namelist parameter (e.g., ln_zco=True).
I can open a PR just to show the structure I'm thinking if that helps.

Yes, maybe with a worked example would help, but I like the idea!

I was trying to put together a PR with a possible structure, but I've the feeling now that it's not the best approach. Maybe it's better to start simple and let the structure evolve step-by-step.
How about we start with a Zco class in domzgr/zco with just a couple of constraints:

The first argument shoud be a dataset, then any parameters used within the class.

class Zco:
    def __init__(self, ds, ...):
        self._ds = ds

Try to use short methods, separating code that we already know eventually will go in a base class.

When we are done with Zco and will move to Sco it should be easy to separate common methods and define a base class (Zgr).
Same for the xarray accessor, no need to work on it right now. Let's see how the Z coords classes evolve. It seems likely that the accessor will set parameters (e.g., through the context manager discussed above) and will only use a method from the appropriate zgr child class (like .gen_zgr).
So I guess our first goal could be:
from pydomcfg.tests.bathymetry import Bathymetry
from pydomcfg.zgr import Zco

# Generate test Bathymetry
ds = Bathymetry(...).flat(...)
# Generate z grid
ds_zgr = Zco(ds, ...).gen_zgr()

@oceandie Does that work for you? Do you have everything you need to start working on the zco class?

@malmans2 I think so ... I am going to start today to work on it - I'll keep you updated guys

Hi @malmans2  and @jdha ,
I am ready to commit my work on zgr and zco and open a PR.
However, I have a problem with the damn darglint: pre-commit fails in darglint with a very criptic error (below an example for zco module, for zgr module it is similar):
darglint.................................................................Failed

hook id: darglint
exit code: 1

pydomcfg/domzgr/zco.py:stretch_zco1:195: DAR002: e (4, 4)
pydomcfg/domzgr/zco.py:stretch_zco2:213: DAR002: e (4, 4)
What do you suggest to do?
BTW, I hate darglint :) :)

Hehehe, open the PR even if it fails, I'll have a look.
If you ran pre-commit install, add --no-verify to git commit: See bottom of https://pydomcfg.readthedocs.io/en/latest/developers/contributing.html#pre-commit-formatting
(we can also just get rid of it if error don't make any sense)


Issue-Footer updated
Copy logo and UTIM word's place has changed

Automated Review Comments

I got it.


support LTS

not for reverting Your change @joadan  but only for having your project usable on more static environments based on LTS framework versions,
may we keep it unless project will require dropping support of bit older framework versions ?
patch for: https://github.com/TabBlazor/TabBlazor/pull/109 I  hope you will accept it :)
cheers!

With net8 coming out there is no need to revert back to this.
Sorry for the slow response and thanks for contributing!

multi veresion available on my fork


Reduce number of periodic commands "p2p -l" to RH with MH

The command "p2p -l" is sent periodically and several times in a round to RH., We need to reduce number of executing this command to 1 time in each N min.

Fixed


Initial commit of README.md Taken from Jasig/JSR-168-Portlet-Archetype.

Converted formatting to Markdown
Quick replace of 168 to 286 and jsr168-archetype to maven-jasig-portlet-archetype
Made code blocks happen where applicable

Work in progress. Pull request created to put this on the radar just in the event someone had suggestions.


Project List Screen won't load.

Version
5.0.8
Environment info
Running on MacBook Pro Ventura 13.4. running  vue ui from terminal window.

Steps to reproduce
Click on Vue Project Manager from Drop down menu.
What is expected?
Vue Project Manager loads with list of projects.
What is actually happening?
Vue Project Manager loads with no projects shown. Errors in the console window:
An error occurred
vue-apollo.js:60 GraphQL error: Cannot return null for non-nullable field Project.name. | Cannot return null for non-nullable field Project.name. | Cannot return null for non-nullable field Project.name. | Cannot return null for non-nullable field Project.name.
vue-apollo.js:62 Array(4)
vue.runtime.esm.js:1897 TypeError: Cannot read properties of null (reading 'favorite')
at filter (ProjectSelectList.vue:5:410)
at Array.filter ()
at render (ListFilter.vue:6:1)
at tn (vue.runtime.esm.js:3077:30)
at sn (vue.runtime.esm.js:3250:12)
at pn (vue.runtime.esm.js:3443:15)
at vn (vue.runtime.esm.js:3374:10)
at e._c (vue.runtime.esm.js:3512:42)
at ProjectSelectList.vue:5:291
at o.Wt [as _l] (vue.runtime.esm.js:2646:16)

same problem, did you solve it somehow?

Yes. I uninstalled and reinstalled everything for Vue and it started working again.


Enforce object name rules (again)

 Backward/forward compatibility checks

Check these boxes or delete any item (or this section) if not relevant for this PR.

[ ] Client+Server: this change is compatible with old servers
[ ] Client forward compatibility: this change ensures client can accept data intended for later versions of itself

Note on protobuf: protobuf message changes in one place may have impact to
multiple entities (client, server, worker, database). See points above.

Changelog

It is now an error to create or lookup various Modal objects with an invalid name. Names must be shorter than 64 characters and may contain only alphanumeric characters, dashes, periods, and underscores. The name check had inadvertently been removed for a brief time following an internal refactor and then reintroduced as a warning. It is once more a hard error. Please get in touch if this is blocking access to your data.

Sounds good, so I shouldn't merge the server-side check for a while. People will still be able to create secrets with arbitrary names from https://modal.com/secrets until then.

IIRC it was a pretty small number of objects that had snuck through with illegal names, I think it's probably fine to start erroring server-side as well now, especially for secret creation (in fact,  sorry, we probably should have done that immediately when we discovered this issue).


Abrupt jump during transition from Dashboard -> My Accounts

All icons and text below 'My Account' text jump down abruptly when opening 'My Account' page after 'Dashboard' page.

The page transitions lag because the renderer has to do a lot of calculations to render two pages at the same time, and animate them. This won't show up on pages with a few elements but is easily observable on pages with more than a couple of elements.
TODO replace the transition with something simpler for the browser to handle.

is this issue already closed because i dont see anything like that @aero31aero ?

Try it on a laptop with a weaker processor. The issue was to do with having a relatively complex transition between pages.

Fixed recently. Closing this issue.


[Bug] Statistics are no longer being updated since 2017

As shown in the image above, our corp noticed that since January 1st, 2017, none of the signatures/connections/wormholes we add are being tracked by the statistics

Same here.

Agree. Ill fix it with the next release. The Log data is logged correctly and everything is finein the DB. It is just a UI problem.

:heavy_check_mark: Issue resolved
This issue was resolved by the commit(s) and/or the comments above.
It will be auto-closed with the upcoming release ( merge into master branch). Please check the attached Milestone information.
Many thanks to all participants/contributors for the helpful comments! :+1:
:information_source: Please reopen/comment this, if you have problems/questions about it.

Auto-generated response


enable_explanation not a valid option for RAI vision insights component

In the table under the statement "The RAI vision insights component also accepts the following parameters:"
Parameter name | Description | Type
enable_explanation | Enable to generate an explanation for the model. | Boolean
Using enable_explanation generates the following error:
UnexpectedKeywordError: [component] RAI Vision Insights() got an unexpected keyword argument 'enable_explanation', valid keywords: 'model_input', 'test_dataset', 'task_type', 'data_folder', 'model_info', 'target_column_name', 'maximum_rows_for_test_dataset', 'classes', 'categorical_metadata_features', 'dropped_metadata_features', 'precompute_explanation', 'enable_error_analysis', 'use_model_dependency', 'use_conda', 'model_type', 'xai_algorithm', 'n_steps', 'xrai_fast', 'approximation_method', 'confidence_score_threshold_multilabel', 'dataset_type'.
Indeed, running the pipeline without the parameter seems to generate the explanation anyway.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: a88139b4-c825-a27c-f3a2-557bfdccf8f6
Version Independent ID: 8b3cf97a-f227-54ff-4e5c-bc72efca57c2
Content: Generate Responsible AI vision insights with YAML and Python in Azure Machine Learning - Azure Machine Learning
Content Source: articles/machine-learning/how-to-responsible-ai-vision-insights.md
Service: machine-learning
Sub-service: enterprise-readiness
GitHub Login: @imatiach-msft
Microsoft Alias: ilmat

@krisbock
Thanks for your feedback! We will investigate and update as appropriate.

@krisbock
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


Monitor benchmark changes on each PR

This workflow posts a benchmark change comment on every PR.
If the benchmark is worse by:

30% - the comment turns into a warning
50% - the workflow fails the PR's CI run

Close #46
Other Changes
This PR disables the unused cargo bench runner binary, to avoid spurious command-line option errors:
https://bheisler.github.io/criterion.rs/book/faq.html#cargo-bench-gives-unrecognized-option-errors-for-valid-command-line-options
API Documentation
This PR implements the minimal setup using GitHub cache:
https://github.com/benchmark-action/github-action-benchmark#minimal-setup
Future Work
Later PRs can add charts using GitHub pages (#53):
https://github.com/benchmark-action/github-action-benchmark#charts-on-github-pages-1

This PR will need to merge and be run on main before we see any PR comments.

I admin-merged this PR because it needs to run on the main branch before we can test it on PRs.


Update the run manager

Here is some things we might want to add to the run manager:

[x] Compute the SNR and save it somewhere.
[ ] Maybe add support for an SNR threshold, to skip injections below this threshold. See this example script
[ ] Add support to randomly sample injection parameters from the given prior ranges if no injection parameters are given.
[ ] Plotting functionalities (see #107 for work in progress)
[ ] Add functionality to save everything in the runmanager: hyperparameters, save the output chains separately.
[ ] Add flexible functionality for loading from other RunManagers, e.g., load the injection parameters of a previous run in case the user wants to play around with hyperparameters on a specific injection
[ ] Add command line functionalities (see #18 as well)
[ ] Check how to handle real GW events, load data, preprocess it et cetera.
[ ] Add dedicated examples of the runmanager

pushed a new commit that stores SNR

@zipengwang98 where exactly? I don't see it

I think he meant this commit


[WIP] Fix follow and shout status

Fix

fix https://github.com/human-connection/nitro-web/issues/126
fix https://github.com/human-connection/nitro-web/issues/201
fix https://github.com/human-connection/nitro-web/issues/42

Relates to
https://github.com/Human-Connection/Nitro-Backend/pull/201
Todos

[x] introduce new (un)shout and (un)follow mutations
[x] add unfollw and unshout button states
[x] disabled shouting of own content
[x] disabled following of itself
[ ] write integration tests

Hey @appinteractive , function and looks super! 👍🏼
I have one little thing problem:

If you are in a post of somebody else …
You hover over the link of the author …
A floating window appears with the counts of the followers and the counts of his or her posts etc. …
You are a non follower and click on following …
… the followers count does not increase. See screenshots …
What is the button at the right side of the following button for? I can not see any functionality.

… the followers count does not increase.

Yeah thats becaus it would be error prune to hack it into the state right now. There has to be more work done, maybe using subscriptions or something in that direction. Could you open an issue for that case?

What is the button at the right side of the following button for? I can not see any functionality.

That button is prepared for the blacklist and is (or will be) implemented in that pr. #12

I created therefore issue #227 .


Cannot apply to hidden or display:none elements.

The spans wont generate when the element has visibility: hidden or display: none

It’s not possible to measure the size of an element with display: none but I am surprised to hear that visibility: hidden does not work. Can you provide a codepen example of the issue?

I had the same experience, so I resorted to using opacity to show/hide the elements, which depending on the situation, may not be ideal:
https://codepen.io/poopsplat/pen/roexyP


create a new texture manager api

currently it's not clear how textures are loaded and how they are mapped onto blocks. we need a new api.

this new api should let you

specify the full url to an image, possibly even remote
indicate if a texture is animated and how many frames
for block types with multiple sides that are different (ex. grass on top and grass mixed w/ dirt for the sides), specify each of those sides
indicate if the image has transparent parts (cut-outs, not true alpha)

Hi Josh,
I was looking at your code and noticed this issue.
Would it be beneficial for speed if textures are grouped in sprite sheets and injected in the code(build) via base64 encoding? If you then serve your code via gzipped file I guess the download would be faster.

Yep. It definitely should support loading tile textures from a spritesheet. I don't know if base64 encoding would help, though. PNG is pretty compact already.


HPO: gpu_metrics file does not exist!

Describe the issue:
I runnnictl create --config exp.yaml --port 9090 and  cheak nvidia-smi, find its running without using GPU.
So  I runnnictl create --config exp.yaml --port 9090 - f and get error below:

I have followed tips in https://github.com/microsoft/nni/issues/4226
METRIC_OUTPUT_DIR=${scriptFolder} python3 -m nni.tools.gpu_tool.gpu_metrics_collector works under my path.
Environment:

NNI version: 2.6
Training service (local|remote|pai|aml|etc): local
Client OS: Ubuntu 18.04
Server OS (for remote mode only): \
Python version:  py3.7
PyTorch/TensorFlow version:  pytorch 1.10.2
Is conda/virtualenv/venv used?: Y
Is running in Docker?: N

Configuration:

Experiment config (remember to remove secrets!):
Search space:

Log message:

nnimanager.log:
Dont exist
dispatcher.log:
[2022-04-20 20:12:10] INFO (nni.experiment/MainThread) Creating experiment, Experiment ID: 30pecn7s
[2022-04-20 20:12:10] INFO (nni.experiment/MainThread) Starting web server...
[2022-04-20 20:12:11] WARNING (nni.experiment/MainThread) Timeout, retry...
[2022-04-20 20:12:12] INFO (nni.experiment/MainThread) Setting up...
[2022-04-20 20:12:12] INFO (nni.experiment/MainThread) Web UI URLs: http://<IP_ADDRESS>:9090 http://<IP_ADDRESS>:9090 http://<IP_ADDRESS>:9090 http://<IP_ADDRESS>:9090 http://<IP_ADDRESS>:9090
[2022-04-20 20:12:12] INFO (nni.tools.nnictl.launcher/MainThread) To stop experiment run "nnictl stop 30pecn7s" or "nnictl stop --all"
[2022-04-20 20:12:12] INFO (nni.tools.nnictl.launcher/MainThread) Reference: https://nni.readthedocs.io/en/stable/Tutorial/Nnictl.html
[2022-04-20 20:12:12] INFO (nni.experiment/MainThread) Stopping experiment, please wait...
[2022-04-20 20:12:12] INFO (nni.tuner.tpe/MainThread) Using random seed<PHONE_NUMBER>
[2022-04-20 20:12:12] INFO (nni.runtime.msg_dispatcher_base/MainThread) Dispatcher started
[2022-04-20 20:12:12] INFO (nni.runtime.msg_dispatcher_base/MainThread) Dispatcher exiting...
[2022-04-20 20:12:15] INFO (nni.runtime.msg_dispatcher_base/MainThread) Dispatcher terminiated
nnictl stdout and stderr:
Dont exist

How to reproduce it?:
nnictl create --config exp.yaml --port 9090 - f

Does the Python script create /tmp/USER/nni/script/gpu_metrics file?

Does the Python script create /tmp/USER/nni/script/gpu_metrics file?

Nothing under  /tmp/USER/nni.

Does the Python script create /tmp/USER/nni/script/gpu_metrics file?

Nothing under tmp/USER/nni.
I create /tmp/USER/nni/script/gpu_metrics myself.
Run nnictl create --config exp.yaml -p 9090 -f and get the following error log:

By manually running METRIC_OUTPUT_DIR=/tmp/zmy/nni/script python3 -m nni.tools.gpu_tool.gpu_metrics_collector, what's the output in console and in the directory?
It's a relatively simple script: https://github.com/microsoft/nni/blob/master/nni/tools/gpu_tool/gpu_metrics_collector.py
If does not output anything at all, could you please help debug it?

By manually running METRIC_OUTPUT_DIR=/tmp/zmy/nni/script python3 -m nni.tools.gpu_tool.gpu_metrics_collector, what's the output in console and in the directory? It's a relatively simple script: https://github.com/microsoft/nni/blob/master/nni/tools/gpu_tool/gpu_metrics_collector.py If it does not output anything at all, could you please help debug it?

cat /tmp/USER/nni/script/gpu_metrics
{"Timestamp": "Thu Apr 21 15:25:23 2022", "gpuCount": 4, "gpuInfos": [{"activeProcessNum": 0, "gpuMemUtil": "0", "gpuUtil": "0", "index": 0}, {"activeProcessNum": 0, "gpuMemUtil": "0", "gpuUtil": "0", "index": 1}, {"activeProcessNum": 0, "gpuMemUtil": "0", "gpuUtil": "0", "index": 2}, {"activeProcessNum": 0, "gpuMemUtil": "0", "gpuUtil": "0", "index": 3}]}

After some investigation I think the warning is not the problem. It periodically queries GPU metrics and at first query the file is not ready yet.
The real problem is tuner exited immediately after launching.
[2022-04-20 20:12:12] INFO (nni.experiment/MainThread) Stopping experiment, please wait...

Could you use nnictl create ... --debug to launch the experiment and upload dispatcher.log & nnimanager.log?

After some investigation I think the warning is not the problem. It periodically queries GPU metrics and at first query the file is not ready yet. The real problem is tuner exited immediately after launching.
[2022-04-20 20:12:12] INFO (nni.experiment/MainThread) Stopping experiment, please wait...

Could you use nnictl create ... --debug to launch the experiment and upload dispatcher.log & nnimanager.log?

thanks for ur  reply :)
dispatcher.log
nnimanager.log


Improve the docs regarding deployment

📚 Documentation
The docs regarding deployment to gh-pages are ambigue. Always getting missing styles due to missing / when making requests for css or images. Thus making the website look quirky.
Explain in more details the steps to push the website to gh-pages and perhaps how the publish-gh-pages script works and some screen shots plus a more detailed explanation of siteConfig props related to deployment would be highly appreciated

+1

We accept PR on this 😉
Docs:
https://github.com/facebook/docusaurus/edit/master/docs/getting-started-publishing.md
Publish script:
https://github.com/facebook/Docusaurus/blob/master/lib/publish-gh-pages.js

Can I claim this issue?

@rizafahmi How's your progress for this task? Let us know how we can help. If you are no longer available for this task, just let us know and we can free it up for someone else. Do keep us updated 😄

Hi @yangshun, I have some difficulties. Just free it up. If I can pull it through, I will reclaim if it's not already claimed.

Can I claim this?

We've added an issue: claimed label so that others will know not to start work on the issue. If you change your mind about the issue, no worries! Just let us know so that we can remove the label and free it up for someone else to claim.
We will check in with you periodically so that we can keep the task updated with the progress.

Closed by #1049


After running with snap refresh, microk8s upgrade to 1.23, then everything stops to work

Would there be a way to safely downgrade the version back to 1.20?

Hi @fzhan, have you looked into snap revert [1]
[1] https://snapcraft.io/docs/getting-started#heading--revert

@ktsakalozos thanks, sorry forget to mention, I'm running snap in a air-gaped environment, all snap were previously downloaded from offline then ack before install locally, what's the command for snap revert with a local snap file?

I've tried to offline reinstall snap with local snap file, kubelite failed on the following log:
Mar 03 17:00:44 node13.local microk8s.daemon-kubelite[383564]: + exec /snap/microk8s/2946/kubelite --scheduler-args-file=/var/snap/microk8s/2946/args/kube-scheduler --controller-manager-args-file=/var/snap/microk8s/2946/args/kube-controller-manager --proxy-args-file=/var/snap/microk8s/2946/args/kube-proxy --kubelet-args-file=/var/snap/microk8s/2946/args/kubelet --apiserver-args-file=/var/snap/microk8s/2946/args/kube-apiserver --kubeconfig-file=/var/snap/microk8s/2946/credentials/client.config --start-control-plane=true Mar 03 17:00:44 node13.local microk8s.daemon-kubelite[383564]: Starting kubelite Mar 03 17:00:44 node13.local microk8s.daemon-kubelite[383564]: I0303 17:00:44.347246  383564 daemon.go:73] Waiting for the API server Mar 03 17:00:44 node13.local microk8s.daemon-kubelite[383564]: I0303 17:00:44.348566  383564 daemon.go:65] Starting API Server Mar 03 17:00:44 node13.local microk8s.daemon-kubelite[383564]: I0303 17:00:44.350000  383564 server.go:654] external host was not specified, using <IP_ADDRESS> Mar 03 17:00:44 node13.local microk8s.daemon-kubelite[383564]: W0303 17:00:44.350032  383564 authentication.go:507] AnonymousAuth is not allowed with the AlwaysAllow authorizer. Resetting AnonymousAuth to false. You should use a different authorizer Mar 03 17:00:44 node13.local microk8s.daemon-kubelite[383564]: I0303 17:00:44.350504  383564 server.go:199] Version: v1.21.9-3+5bfa682137fad9 Mar 03 17:00:44 node13.local microk8s.daemon-kubelite[383564]: I0303 17:00:44.729305  383564 plugins.go:158] Loaded 11 mutating admission controller(s) successfully in the following order: NamespaceLifecycle,LimitRanger,ServiceAccount,TaintNodesByCondition,Priority,DefaultTolerationSeconds,DefaultStorageClass,StorageObjectInUseProtection,RuntimeClass,DefaultIngressClass,MutatingAdmissionWebhook. Mar 03 17:00:44 node13.local microk8s.daemon-kubelite[383564]: I0303 17:00:44.729329  383564 plugins.go:161] Loaded 10 validating admission controller(s) successfully in the following order: LimitRanger,ServiceAccount,Priority,PersistentVolumeClaimResize,RuntimeClass,CertificateApproval,CertificateSigning,CertificateSubjectRestriction,ValidatingAdmissionWebhook,ResourceQuota.Mar 03 17:00:44 node13.local microk8s.daemon-kubelite[383564]: I0303 17:00:44.730200  383564 plugins.go:158] Loaded 11 mutating admission controller(s) successfully in the following order: NamespaceLifecycle,LimitRanger,ServiceAccount,TaintNodesByCondition,Priority,DefaultTolerationSeconds,DefaultStorageClass,StorageObjectInUseProtection,RuntimeClass,DefaultIngressClass,MutatingAdmissionWebhook. Mar 03 17:00:44 node13.local microk8s.daemon-kubelite[383564]: I0303 17:00:44.730214  383564 plugins.go:161] Loaded 10 validating admission controller(s) successfully in the following order: LimitRanger,ServiceAccount,Priority,PersistentVolumeClaimResize,RuntimeClass,CertificateApproval,CertificateSigning,CertificateSubjectRestriction,ValidatingAdmissionWebhook,ResourceQuota. Mar 03 17:00:44 node13.local microk8s.daemon-kubelite[383564]: I0303 17:00:44.732183  383564 client.go:360] parsed scheme: "endpoint" Mar 03 17:00:44 node13.local microk8s.daemon-kubelite[383564]: I0303 17:00:44.732210  383564 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{unix:///var/snap/microk8s/2946/var/kubernetes/backend/kine.sock:12379  <nil> 0 <nil>}] Mar 03 17:00:44 node13.local microk8s.daemon-kubelite[383564]: W0303 17:00:44.732350  383564 clientconn.go:1223] grpc: addrConn.createTransport failed to connect to {unix:///var/snap/microk8s/2946/var/kubernetes/backend/kine.sock:12379  <nil> 0 <nil>}. Err :connection error: desc = "transport: Error while dialing dial unix /var/snap/microk8s/2946/var/kubernetes/backend/kine.sock:12379: connect: connection refused". Reconnecting... Mar 03 17:00:45 node13.local microk8s.daemon-kubelite[383564]: I0303 17:00:45.729139  383564 client.go:360] parsed scheme: "endpoint" Mar 03 17:00:45 node13.local microk8s.daemon-kubelite[383564]: I0303 17:00:45.729265  383564 endpoint.go:68] ccResolverWrapper: sending new addresses to cc: [{unix:///var/snap/microk8s/2946/var/kubernetes/backend/kine.sock:12379  <nil> 0 <nil>}] Mar 03 17:00:45 node13.local microk8s.daemon-kubelite[383564]: W0303 17:00:45.729492  383564 clientconn.go:1223] grpc: addrConn.createTransport failed to connect to {unix:///var/snap/microk8s/2946/var/kubernetes/backend/kine.sock:12379  <nil> 0 <nil>}. Err :connection error: desc = "transport: Error while dialing dial unix /var/snap/microk8s/2946/var/kubernetes/backend/kine.sock:12379: connect: connection refused". Reconnecting... Mar 03 17:00:45 node13.local microk8s.daemon-kubelite[383564]: W0303 17:00:45.733393  383564 clientconn.go:1223] grpc: addrConn.createTransport failed to connect to {unix:///var/snap/microk8s/2946/var/kubernetes/backend/kine.sock:12379  <nil> 0 <nil>}. Err :connection error: desc = "transport: Error while dialing dial unix /var/snap/microk8s/2946/var/kubernetes/backend/kine.sock:12379: connect: connection refused". Reconnecting... Mar 03 17:00:46 node13.local microk8s.daemon-kubelite[383564]: W0303 17:00:46.730557  383564 clientconn.go:1223] grpc: addrConn.createTransport failed to connect to {unix:///var/snap/microk8s/2946/var/kubernetes/backend/kine.sock:12379  <nil> 0 <nil>}. Err :connection error: desc = "transport: Error while dialing dial unix /var/snap/microk8s/2946/var/kubernetes/backend/kine.sock:12379: connect: connection refused". Reconnecting... Mar 03 17:00:47 node13.local microk8s.daemon-kubelite[383564]: W0303 17:00:47.605248  383564 clientconn.go:1223] grpc: addrConn.createTransport failed to connect to {unix:///var/snap/microk8s/2946/var/kubernetes/backend/kine.sock:12379  <nil> 0 <nil>}. Err :connection error: desc = "transport: Error while dialing dial unix /var/snap/microk8s/2946/var/kubernetes/backend/kine.sock:12379: connect: connection refused". Reconnecting... Mar 03 17:00:48 node13.local microk8s.daemon-kubelite[383564]: W0303 17:00:48.577783  383564 clientconn.go:1223] grpc: addrConn.createTransport failed to connect to {unix:///var/snap/microk8s/2946/var/kubernetes/backend/kine.sock:12379  <nil> 0 <nil>}. Err :connection error: desc = "transport: Error while dialing dial unix /var/snap/microk8s/2946/var/kubernetes/backend/kine.sock:12379: connect: connection refused". Reconnecting... Mar 03 17:00:50 node13.local microk8s.daemon-kubelite[383564]: W0303 17:00:50.465547  383564 clientconn.go:1223] grpc: addrConn.createTransport failed to connect to {unix:///var/snap/microk8s/2946/var/kubernetes/backend/kine.sock:12379  <nil> 0 <nil>}. Err :connection error: desc = "transport: Error while dialing dial unix /var/snap/microk8s/2946/var/kubernetes/backend/kine.sock:12379: connect: connection refused". Reconnecting... Mar 03 17:00:51 node13.local microk8s.daemon-kubelite[383564]: W0303 17:00:51.255570  383564 clientconn.go:1223] grpc: addrConn.createTransport failed to connect to {unix:///var/snap/microk8s/2946/var/kubernetes/backend/kine.sock:12379  <nil> 0 <nil>}. Err :connection error: desc = "transport: Error while dialing dial unix /var/snap/microk8s/2946/var/kubernetes/backend/kine.sock:12379: connect: connection refused". Reconnecting... Mar 03 17:00:53 node13.local microk8s.daemon-kubelite[383564]: W0303 17:00:53.916086  383564 clientconn.go:1223] grpc: addrConn.createTransport failed to connect to {unix:///var/snap/microk8s/2946/var/kubernetes/backend/kine.sock:12379  <nil> 0 <nil>}. Err :connection error: desc = "transport: Error while dialing dial unix /var/snap/microk8s/2946/var/kubernetes/backend/kine.sock:12379: connect: connection refused". Reconnecting... Mar 03 17:00:55 node13.local microk8s.daemon-kubelite[383564]: W0303 17:00:55.172213  383564 clientconn.go:1223] grpc: addrConn.createTransport failed to connect to {unix:///var/snap/microk8s/2946/var/kubernetes/backend/kine.sock:12379  <nil> 0 <nil>}. Err :connection error: desc = "transport: Error while dialing dial unix /var/snap/microk8s/2946/var/kubernetes/backend/kine.sock:12379: connect: connection refused". Reconnecting...

What version and revision of MicroK8s were you running before?

it was 1.20, then got upgraded to 1.23 (auto refresh by snap due to our firewall upgrade).

The error you showed me says that the datastore was not started. The datastore service is snap.microk8s.daemon-k8s-dqlite. Could you share the logs of that service too? Or a microk8s inspect tarball.
Have you tried to download the snap from the 1.20 track and install that one. As a general note upgrading should be done one step at a tile (1.20 -> 1.21 -> 1.22 etc).

@ktsakalozos I've realized this was the cause of it. Too bad couldn't turn back in time to stop the snap from auto refresh.
1.20 just won't start, strangely 1.23 worked, but our kubeSystem running kubeSphere didn't support the 1.23 API. I guess we are down to two options: lose everything, or wait for kubeSphere to launch a support on 1.23. T_T

If you download the microk8s from 1.20 track it should not upgrade to 1.23. Have you specified the --channel=1.20/stable when downloading the snap?
All service arguments are under /var/snap/microk8s/current/args/ so if a service does not start it is probably because of some argument missing.

Yes but that was last year, when 1.20.6 was still stable. Not sure why snap auto refreshed microk8s two versions up.
I will give it last try.

@ktsakalozos what'd be a manual way to recover the dqlite, manually runs datastore?

I'm keeping it under 1.20.6 for the moment, it won't refresh to 1.23, i've added api.snapcraft.io to fw.
dqlite log seeing mostly these:
level=error msg="error while range on /registry/leases/kube-system/kube-scheduler : query (try: 0): context canceled"

The error you showed me says that the datastore was not started. The datastore service is snap.microk8s.daemon-k8s-dqlite. Could you share the logs of that service too? Or a microk8s inspect tarball.
Have you tried to download the snap from the 1.20 track and install that one. As a general note upgrading should be done one step at a tile (1.20 -> 1.21 -> 1.22 etc).

I could not find this service for 1.20, was this service introduced after 1.21?

On 1.20 dqlite was embeded into kubelet.

On 1.20 dqlite was embeded into kubelet.

I can see all the data files under /var/snap/microk8s/2143/var/kubernetes/backend, is there anyways to manually recover them?

I've tried to follow the instruction on https://discuss.kubernetes.io/t/recovery-of-ha-microk8s-clusters/12931, however it seems that every node had different sets of dqlite files and snapshots.

What are the logs of snap.microk8s.daemon-k8s-dqlite service? Or if you are on 1.20 could you share the logs of snap.microk8s.daemon-kubelite, the last 3000 lines should be enough to show how the service crashloops. Could you also share the /var/snap/microk8s/current/args/ directory? I would like to know what arguments each service is started with. Thanks.

on 1.20, args attached
args.zip
kubelet logs attached
snap.microk8s.daemon-kubelet-part.zip
Thanks a million!

What are the logs of snap.microk8s.daemon-k8s-dqlite service? Or if you are on 1.20 could you share the logs of snap.microk8s.daemon-kubelite, the last 3000 lines should be enough to show how the service crashloops. Could you also share the /var/snap/microk8s/current/args/ directory? I would like to know what arguments each service is started with. Thanks.

Here's the other node in the cluster, this cluster only has two nodes for the moment.
snap.microk8s.daemon-kubelet-part.zip

Hi,
I have just done an upgrade from microk8s 1.19 stable straight to 1.23 stable and the cluster is up and running but microk8s inspect shows: FAIL:  Service snap.microk8s.daemon-k8s-dqlite is not running.
But if I do sudo journalctl -u snap.microk8s.daemon-k8s-dqlite it shows dqlite service succeeded with no errors. Last line: systemd[1]: snap.microk8s.daemon-k8s-dqlite.service: Succeeded.
Any idea what the mismatch might be? Maybe upgrading from 1.19 straight to 1.23 was not a good idea and don't know if I should uninstall microk8s completely and reinstall from scratch :o/


Add skill matching feature

Created a PR to merge skill matching feature to the parent branch. The skill matching feature calculates and display the percentage of how closely the applicant's skills match with the job's required skills.
Details:

Create an array of strings containing all the skills required for all jobs
Fetch the skills array from the backend to the frontend.
Update the skills field in the frontend and backend to make it an array of strings instead of strings
Calculate and display the percentage in the frontend.

The changes look good. Merging the PR.


Post-install info collection

When moving an install to closed, collect onsite information including equipment locations and IP addresses and follow-up notes.

Closed by e1eba6e


Cannot assign to read only property 'rotate' of object

Lovelace card states "Cannot assign to read only property 'rotate' of object '#'" when setting the rotate value to any number other than 0.
Example config:
type: 'custom:valetudo-map-card'
entity: sensor.robovac_map
rotate: 180
crop:
  top: 0
  bottom: 0
  left: 0
  right: 0
min_height: 0

Interestingly, rotate: 3.14rad works fine.
I believe this started showing up in Home Assistant v0.106.1 which might help either narrow the issue or mean it's not an issue on your end. I'm also not 100% sure if/how the setConfig() function has changed throwing the new error, but would love some help tracking it down.

@zvldz reported this in #34 but I thought they were using an old version of the card due to the recent fixing of #32.
However, after I upgraded from 0.106.0 to 0.106.1 today, I can now reproduce this issue. So Home Assistant change the behaviour not just in 0.106.0, but again in 0.106.1.
Looking at it a bit more, I'm pretty sure it's cause by this line:
https://github.com/TheLastProject/lovelace-valetudo-map-card/blob/becff16cc9234b49ef0f42c881671f0f52e6c28b/valetudo-map-card.js#L239
Because Number(0) will return 0, this causes it to be seen as not a number in the if check (whoops!), making 0 not break anything.
I'll use this ticket to track the issue instead of #34 due to this being the more detailed report.

Fixed in 7db9b89e85d1ddd5f6a573509cc5ee793a867fb1.

Awesome that worked great! Thanks for the quick fix!


[NT-1474]: Refresh backing fragment

📲 What

The backing fragment was not reflecting the update pledge changes, or changing reward changes unless fragment re-created again

Allow to load emptyList on AddOns section for the rewards and addOns recyclerView (changing your addOns selection to 0 addOns, or changing from a reward with addOns to one without it was not updating the RecyclerView UI).

Do not present Any fragment or Dialog unless the current fragment is visible.

🛠 How

Added .materialize() operator when fetching the BackingObject in ProjectViewModel

👀 See

|  |  |
📋 QA

Change from a reward with AddOns to a Reward without AddOns, the BackingFragment should change without any user interaction to reflect the new selection (look at the gif if any doubts)

Story 📖
NT-1474

I noticed when I back a project, then change the backing to another reward and then cancel that reward that the "you backed" tag is not updated. I think the recycler view just needs to be updated again when its presented

I'm gonna need another ticket for that, after looking at it deeply,  when canceling a pledge the fragments are not refreshed, I've tried backing a project and canceling pledge, and the same issue raised. Good catch @jgsamudio 👍
It will be worked in here https://kickstarter.atlassian.net/browse/NT-1520


The number of uses of the function is too small

I hope to increase the number of times the function is used or remove the limit, otherwise complex programs are not easy to write

In the above diagram, the program needs to send pulses to multiple ports in sequence
But because of the function limitation, it can only send four times

Hi, oh, I did not except that so many timers would be needed.  Let me think about it - on the one hand I like to have limitations for the block (so that there is a challenge in game), but I can also understand that each direction should have a timer instance available.

Thank you for your reply
Although it is possible to use multiple RLCs to control, it makes it more difficult to write
Or you can get an upgraded RLC that is more difficult to make to solve this problem
This will make it more difficult

So, in the recent releases I added the TIVx pulse gen, and timer instances were increased. Should be good now for the use cases of the block. Cheers,-


How to add new group in existing card page?

Hello everyone!
I'm trying to add new group in an existing page, is it possible?

Sure,
example for "Customer Card":
pageextension 50100 theBestCustomerCardExt extends "Customer Card"  {     layout     {         addafter(Statistics)         {             group(MyGreatGroup)             {                 Caption = 'The greatest group ever';                 field("my Great Field";"my Great Field")                 {                     ApplicationArea = All;                 }             }         }     } . . .

Thank you very much Sir. 👍


docs: document the usage of build-channel script

Coming back to work on the build-channel script i've come to realize there aren't docs for explaining:

how it's used in our github workflows,
how to use it for building channels locally.

Both of these should be documented within the developer guide in fuelup book.

This now exists at http://install.fuel.network/v0.18.1/developer_guide/building_a_channel.html


Dedicated field for HTML labels

Lineup support to put HTML code into the label. We sometimes use this for styling the lineup labels. The downside of this is that the HTML tag is then also visible in the tooltip, but also if we use the lineup columns in other parts of our apps. Would it be possible to offer a dedicated field for the HTML wrapper to keep the actual label clean? .

HTML wrappers should be applied in column header and side panel header

As a coder I want to be able to column.setHTMLOpener("")
column.setLabel("Label") and column.setHTMLCloser("")

Preferred variant: (col) => ${col.label}

:warning: Please make it non-breaking


Problem with installing app on old android(6.0.1)

Summary:
Recently I tried to install app on my phone. However, I came across the following error:
Error:FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:transformClassesWithInstantRunForBetaDebug'. > com.android.build.api.transform.TransformException: java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: Failed to find byte code for com/mapzen/android/lost/api/LostApiClient$ConnectionCallbacks * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 2s
device : SM-N910C
Android: 6.0.1
The problem can be related with https://github.com/mapbox/mapbox-navigation-android/issues/512.
I solved the issue locally by adding 'implementation "com.mapzen.android:lost:3.0.2' line in build.gradle.

Duplicate of #1941


Fix: grafana - log file permission;var name and firewall check

If there's a change in uid/gid for grafana user by either the official rpm or by the grafana role,
check if the log file exists and change it`s owner accordingly.
The process running check for firewall configuration is not common in other roles.
Besides that, Ansible is also complaining that this type of substitution is not supposed to be done in conditionals, therefore
ending in error as {{ item }} is always nil.

It cannot be approved since the checks are not passing.

Looks like all tests are green. As of this writing the opensuse image seems to be stuck at installation.


Move from Flask to FastAPI

response to #10

Move from Flask to FastAPI
Add a /status/ endpoint
Define the schema of endpoint with schema.py

This will require adding three more dependencies,
fastapi
uvicorn
gunicorn

Deployed using either, uvicorn main:app, or
gunicorn -w 2 -k uvicorn.workers.UvicornWorker main:app

Currently, the API is running on pythonanywhere and I don't think we can run FastAPI on pythonanywhere as it doesn't support ASGI :(

In case PA is working fine without any issues, I don't think you should move to any other deployment platforms either

Hey @vcidst , please close this pull request for now given we won't merging it soon?


All Subsets using iterative approach

🚀 Feature
Generate all subsets of a set using an iterative approach. This uses a little bit manipulation also.
Have you read the [Contributing Guidelines on Pull Requests]
Yes
Pitch
The recursive algorithm for the same is present. I would like to contribute for the iterative one. The language I'll use is C-Plus-Plus.
Kindly assign me this under gssoc21

/assign


sqllite error in 1.8 series : `ValueError: error=OperationalError('near "dbm": syntax error')

Before submitting an Issue, please review the
Issue Guidelines.

Please check whether the bug was already reported or fixed.

Please check out if the develop version of Nuitka works better for you.
Download source, packages from here where you will also
find instructions how to do it via pip or git.

If you want to post a problem/bug, to help us understand and resolve your issue please check that
you have provided at least the information below, and discard up to here:

Nuitka version, full Python version, flavor, OS, etc. as output by this exact command.

python -m nuitka --version
1.8.1
Commercial: None
Python: 3.11.4 (main, Jun  9 2023, 13:56:11) [GCC 11.3.0]
Flavor: Unknown
Executable: /home/david/PycharmProjects/311.4/bin/python
OS: Linux
Arch: x86_64
Distribution: Linuxmint (based on Ubuntu) 21.2
Version C compiler: /usr/bin/gcc (gcc).

If you are not providing the full output. The issue cannot be solved and will be considered
invalid. The command outputs more than you think, and we are adding more all the time. We do not
want to left guessing or trying things out to reproduce your issue.

How did you install Nuitka and Python
Loaded dependencies  from a requirements.txt file
Created a virtual environment from linux command line
Did you use pip, anaconda, deb, rpm, from source, git clone, then install into a virtualenv or
not, this is very important usually and one thing, the above command does not tell us (yet).

The specific PyPI names and versions
pip 23.2.1
It should be taken from this output if there specific packages involved, e.g. numpy, you are
expected to shorten this to the relevant ones.

python -m pip freeze

appdirs==1.4.4
attrs==23.1.0
certifi==2023.7.22
cffi==1.15.1
charset-normalizer==3.2.0
cryptography==41.0.3
dill==0.3.7
fs==2.4.16
idna==3.4
lxml==4.9.3
multiprocess==0.70.15
Naked==0.1.32
netifaces==0.11.0
Nuitka==1.8.1
numpy==1.25.2
ordered-set==4.1.0
pathos==0.3.1
pathvalidate==3.1.0
platformdirs==3.10.0
pox==0.3.3
ppft==<IP_ADDRESS>
psutil==5.9.5
pycparser==2.21
pycryptodome==3.18.0
PyExecJS==1.5.1
PySide6==6.5.2
PySide6-Addons==6.5.2
PySide6-Essentials==6.5.2
python-dateutil==2.8.2
pytz==2023.3.post1
PyYAML==6.0.1
regex==2023.8.8
requests==2.31.0
shellescape==3.8.1
shiboken6==6.5.2
six==1.16.0
titlecase==2.4
tqdm==4.66.1
translators==5.8.3
typing==<IP_ADDRESS>
tzlocal==5.0.1
urllib3==2.0.4
xmltodict==0.13.0
zstandard==0.21.0

Many times when you get an error from Nuitka, your setup may be special
Then even a print("hello world") program will not work, please try that and report that error
instead. We do not need a report that says "Tensorflow does not work" when nothing actually works
for you. You ought to also read the User Manual and check that your setup is actually supported
already.

Also supply a Short, Self Contained, Correct, Example

All attempts at recreating in a minimal example failed.

This is only happening on the 'full fat app' (https://github.com/David-Worboys/Black-DVD-Archiver)

Maybe something to do with antibloat?

This is a onefile compilation issue introduced in 1.8 relating to SQLite.

_Note this argument - --include-data-files=*.md=./ I added this in 1.8 and compile worked. It does not work in 1.81_
'''
python -m nuitka --lto=yes --python-flag=-OO --python-flag=no_warnings --python-flag=isolated  --verbose --verbose-output=./release/verbose.txt --disable-console --static-libpython=yes --standalone  --onefile --prefer-source-code --include-qt-plugins=sensible,multimedia  --assume-yes-for-downloads --show-anti-bloat-changes --enable-plugin=pyside6 --output-filename=black-dvd-archiver --output-dir=./release --linux-icon=/home/david/PycharmProjects/Black-DVD-Archiver/logo.jpg --include-data-files=*.svg=./ --include-data-files=*.png=./  --include-data-files=*.jpg=./ **--include-data-files=*.md=./** --include-data-dir=/home/david/PycharmProjects/Black-DVD-Archiver/tool_apps=./tool_apps --include-data-dir=/home/david/PycharmProjects/Black-DVD-Archiver/icons=./icons --include-data-dir=/home/david/PycharmProjects/Black-DVD-Archiver/IBM-Plex-Mono=./IBM-Plex-Mono  dvdarchiver.py

`ValueError: error=OperationalError('near "dbm": syntax error')
SELECT id, word FROM lang_tran WHERE word = 'no dbm clone found; tried ['dbm.gnu', 'dbm.ndbm', 'dbm.dumb']' AND language_code IS NULL
^CException ignored in: <module 'threading' (/tmp/onefile_177425_1694498535_258090/threading/threading.py)>
Traceback (most recent call last):
  File "/tmp/onefile_177425_1694498535_258090/threading.py", line 1583, in _shutdown
'''

That demonstrates the issue i.e a small piece of code which reproduces the issue and can be run
with out any other (or as few as possible) external dependencies. Issues without this may will
likely be rejected without much consideration. Often this can be as simple as importing a package,
if this is a packaging issue, try that first.
Pointers to repositories with usage of pipenv are very welcome, archives with examples are too,
e.g. if a certain package structure is needed. This must be only source code, binaries are not
used ever by us. But beware, that e.g. we cannot click around and stuff. Still do an effort to
make the usage obvious. Having a compile script in the repo is perfect.
But this cannot be much code for non-commercial users, since that causes too much effort. We
cannot just compile your code, run it and have it download a control and command center.

Provide in your issue the Nuitka options used
python -m nuitka --lto=yes --python-flag=-OO --python-flag=no_warnings --python-flag=isolated  --verbose --verbose-output=./release/verbose.txt --disable-console --static-libpython=yes --standalone  --onefile --prefer-source-code --include-qt-plugins=sensible,multimedia  --assume-yes-for-downloads --show-anti-bloat-changes --enable-plugin=pyside6 --output-filename=black-dvd-archiver --output-dir=./release --linux-icon=/home/david/PycharmProjects/Black-DVD-Archiver/logo.jpg --include-data-files=*.svg=./ --include-data-files=*.png=./  --include-data-files=*.jpg=./ **--include-data-files=*.md=./** --include-data-dir=/home/david/PycharmProjects/Black-DVD-Archiver/tool_apps=./tool_apps --include-data-dir=/home/david/PycharmProjects/Black-DVD-Archiver/icons=./icons --include-data-dir=/home/david/PycharmProjects/Black-DVD-Archiver/IBM-Plex-Mono=./IBM-Plex-Mono  dvdarchiver.py
Ideally use the # nuitka-project: options feature in the code, so options and example code go
along. Alternatively state the command line.
Nuitka Options in the code

Avoid unnecessary options
Do not use --onefile if the issue also happens with --standalone. Minimize the use of options
as far as you can, please. Do not disable outputs with --quiet and do not disable warnings.

Note if this is a regression
Yes, introduced 1.8
If it used to work in an earlier version of Nuitka, please note what you know about that. Since
git bisect is a thing for which we do a lot of error to make it usable, this will help
dramatically to isolate the issue.

Consider getting commercial support
Nuitka commercial offers subscriptions and priority
support. This will accelerate your problem solution and helps to sustain Nuitka development. Also
you then have a chance to provide source code of your project to us, which might simplify things,
or pay for time to solve your issues in your environment.

Some things are not welcome, please consider it.

Do not post screenshots
These are not welcome unless absolutely necessary, e.g. because of Qt display problem, instead
capture the output of programs, so things are searchable and copy&paste will work. I just plainly
don't want to manually copy strings and hope they match.

Do not close the issue yourself, we will close things on stable releases
We close issues only when they are released as a stable version, e.g. in a hotfix or a new
release, before that it will be "Done" in planning and go through factory and develop tags to
indicate they are solved there.
Of course, if you find out your issue is invalid, please do close it, and we then attach the
invalid tag.

Do not report against factory version
Unless you were asked to test it there, it is frequently very broken, and there is only noise to
be had. Telling me about it on Discord would be a better idea.

Do not let this template remain part of the issue, it's noise.

You do not follow the issue template

Do not let this template remain part of the issue, it's noise.

And you do not reduce options, nor do you attempt to minimize the issue, and then you truncated the call stack. I cannot work with this information unfortunaly.

Fair enough Kay,
I posted that dogs breakfast after a very frustrating session trying to make a minimal reproduction and probably should have not posted..
Fell free to delete and I will post the issue again when I figured out how to minimally reproduce

Thanks


fix: Allow creating APIs in Schemathesis.io by name when the schema is passed as a file

Codecov Report

Merging #1594 (9843726) into master (8bd93f0) will not change coverage.
The diff coverage is n/a.

 Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Small improvements. Some new commands, tests and views.

Changes Unknown when pulling dd5c6911ccab3ee5988f54009dee9e95cddbf614 on small_improvements into ** on master**.

Changes Unknown when pulling cfbc7c365325da912f29ff25b6fbaea516cf6d2c on small_improvements into ** on master**.

Changes Unknown when pulling a59f64ef0c879097e81d2fe57034ae107e5260c4 on small_improvements into ** on master**.


netlist visualization improvements

netlists could look prettier in some cases if we added the instance as a block with ports inside

@tvt173
@flaport

Having boxes for each port would make it look better

import gdsfactory as gf
import matplotlib.pyplot as plt

if __name__ == "__main__":

    c = gf.components.mzi_phase_shifter_top_heater_metal(delta_length=10)
    c.plot_netlist()
    plt.show()

import gdsfactory as gf
import matplotlib.pyplot as plt

if __name__ == "__main__":

    c = gf.components.mzi_phase_shifter_top_heater_metal(delta_length=10)
    c.plot(label_aliases=True)

why sxt in the netlist appears next to bend_euler_4?

This library also looks good, we can also add an option to visualize in graphviz
https://qiskit.org/documentation/rustworkx/dev/tutorial/introduction.html
@SkandanC
@flaport

Maybe we can use the netlist visualizer from the schematic driven layout


Instantiate unit-test-specific rules within unit test

Is your feature request related to a problem? Please describe.
As mentioned in #439 unit test rules should be defined rules in each test instead of setup to avoid "losing the ball".

Closed by https://github.com/FORTH-ICS-INSPIRE/artemis/pull/451


internal compiler error for implicitly instantiated function as argument with lang set to go1.20 when running coverage

Go version
go version go1.22.2 darwin/arm64
Output of go env in your module/workspace:
GO111MODULE=''
GOARCH='arm64'
GOBIN=''
GOCACHE='/Users/tom/Library/Caches/go-build'
GOENV='/Users/tom/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='arm64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/Users/tom/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='darwin'
GOPATH='/Users/tom/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/opt/local/lib/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/opt/local/lib/go/pkg/tool/darwin_arm64'
GOVCS=''
GOVERSION='go1.22.2'
GCCGO='gccgo'
AR='ar'
CC='/usr/bin/clang'
CXX='clang++'
CGO_ENABLED='1'
GOMOD='/var/folders/_g/kc3wz03n2mb32x9ty7m6sh9m0000gn/T/tmp.zuUgtxE2hE/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/_g/kc3wz03n2mb32x9ty7m6sh9m0000gn/T/go-build1647504027=/tmp/go-build -gno-record-gcc-switches -fno-common'

What did you do?
go.mod:
module test

go 1.20

main.go:
package main

func A[T any](v T, fn func(T) T) T { return fn(v) }

func B[T any](v T) T { return v }

func main() {
	A(0, B)
}

What did you see happen?
$ go test -cover .
# test
<unknown line number>: internal compiler error: panic: runtime error: invalid memory address or nil pointer dereference

Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new
FAIL	test [build failed]
FAIL

What did you expect to see?
$ go test -cover .
	test		coverage: 0.0% of statements

Related Issues and Documentation

cmd/compile: <autogenerated>:1: internal compiler error: panic: runtime error: invalid memory address or nil pointer dereference #54671 (closed)
cmd/compile: ICE compiling rangefunc for < 1.23 in combination with Cgo #67497 (closed)
cmd/compile: compiler panic with generics across packages and pointer type parameter #51367 (closed)
cmd/compile: go:linkname causes "internal compiler error: panic: runtime error: invalid memory address or nil pointer dereference" #59621
cmd/compile: internal compiler error: panic: interface conversion: ir.Node is *ir.BasicLit, not *ir.ConstExpr #58339 (closed)
cmd/compile: nil pointer dereference  #57715 (closed)
go/doc: Examples panics on a file containing a function without a body #42706 (closed)
cmd/compile/internal/types2, go/types: don't panic when calling under/underlying #65344
"internal compiler error: assertion failed" with generic code #53834 (closed)
cmd/compile: compiler segfaults in cmd/compile/internal/gc.markUsedIfaceMethod #45258 (closed)

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

1.22.5 reports an error, not a panic:

./main.go:8:7: implicitly instantiated function as argument requires go1.21 or later (-lang was set to go1.20; check go.mod)
FAIL	go.seankhliao.com/testrepo0743 [build failed]


Use Rails.application.config.filter_parameters when possible

The agent should adhere to Rails.application.config.filter_parameters when possible. We already have a way to filter sensitive data, but Rails users will be more familiar with this approach.
It might be worth simplifying the filter mechanism while we're at it. I'm thinking a simple list of regexes that are recursively matched against the hash and the data is removed if the key maches a regex?

:+1: - In the meantime an example of filtering out arbitrary_param_name

This have finally been implemented in the newly released v2.0 of the Ruby agent. It will detect a Rails installation and use the Rails settings OR you can overwrite these manually for Opbeat. If not running Rails, Opbeat will fall back to sensible default filters of cause :)


add 2 group or more

hi , how can i add 2 groups or more in config? like superadmin and admin

Sorry for the late response.  You just copy the current one, and add an additional one

thanks


View engines require logic can fail under some conditions

I'm talking about this line.
I've created a repo that shows a bug.
Conditions that cause it:

Package manager that flattens node_modules structure should be used (npm 3 or yarn).
Project and some of it's deps should use unconflicting (semver-compatible) versions of express (in my repo it's webpack-bundle-analyzer)
Project (or some of it's deps) and this dep should have incompatible versions of the same template engine (in my repo project uses ejs 0.8.8 and webpack-bundle-analyzer uses ejs ^2.5.2)

How to reproduce a bug:
Clone this repo and run npm i && npm start or yarn && yarn run start (remember to use npm 3).
You'll see an error ENOENT: no such file or directory, open '/Volumes/Work/express-view-engines-bug/node_modules/webpack-bundle-analyzer/views/('style', { filename: 'viewer.css' })'.
This is because webpack-bundle-analyzer expects express to use ejs ^2.5.2 from it's deps as view engine with it's new syntax for include method, but instead it loads ejs 0.8.8 (project's dep) with old include syntax.
Why that happens
After npm install node_modules has the following flattened  structure (condition 1):
node_modules
|- express
|- ejs 0.8.8
|- webpack-bundle-analyzer
|- |- node_modules
|- |- |- ejs 2.5.2

Note that webpack-bundle-analyzer doesn't have it's own copy of express under node_modules because it's version matches project's express dep (condition 2).
When webpack-bundle-analyzer starts express app it sets ejs as default view engine.
This line requires ejs and node loads wrong version of it from <project>/node_modules/ejs (condition 3) because express is located in <project>/node_modules/express, but it should load it from <project>/node_modules/webpack-bundle-analyzer/node_modules/ejs.

Yes, all this is known. Do you have any thoughts on changes to make to Express? Using that automatic require is optional; you can always require() your package yourself and set the engine definition for strong coupling.

@dougwilson Well, the problem is we should call require of the module that invoked app.set('view engine', 'ejs').
To be honest, I don't know any non-hacky way to do that.
My thoughts were to travel up by module.parents to find first non-express module and use it's require but parent property is static and points to the first module that requested it.
The other hacky option is to use stacktrace but in this case you'll get only filename of invoker, not it's module object. Although, it can be found in require.cache after that... But it looks like a mega-hack for me 😉

Sure, but AFAIK there is no good solution. I'm welcome to hear suggestions, but that entire API is just for the quick apps, and mainly only for the top level apps. Any non top level app should be using app.engine to ensure the require() is done in the correct context, which is why Express has that.


added support for filtered quotes

Added support to filtered quotes by a set of tags. Multiple tags can be selected in Settings. Selecting "None" will unselect other tags.
Added support to remove tag symbol in quote tags, to have that option.

Hello @FilipeGouveia !
Thanks for your contribution. Much appreciated!


Update headers and endpoint to support the new versioned endpoint

The Linkedin API now uses versioning and will deprecate the legacy version on Feb, 28.
I have migrated using setApiHeaders, but so not everyone has to read up on this themselves, I am creating this PR.
What I have tested already:

[x] Create a posts
[x] Upload assets
[x] Login with Linkedin
[x] Read profile / group data

Some more testing for deprecations might be needed.
Sources:
https://www.linkedin.com/developers/news/featured-updates/versioning-content-launch
https://learn.microsoft.com/en-us/linkedin/marketing/versioning
For everyone else reading this:
// Change the API endpoint to the new versioned endpoint
$this->client->setApiRoot("https://api.linkedin.com/rest/");

// Set the API headers to use the new versioning
$this->client->setApiHeaders([
    'Content-Type' => 'application/json',
    'x-li-format' => 'json',
    "LinkedIn-Version" => "202208",
]);

@alexander-zierhut I also invited you to the repo. Feel free to make updates ;)

I noticed couple problems after I merged this. But got them fixed.

@alexander-zierhut np, btw I sent you an invite to the repo.
Also I realized that v2 endpoints are just as valid, so after all, I think we have to support changing this dynamically. Not sure if having /rest as default is any better than having v2

Legacy (unversioned) Marketing APIs using the base path https://api.linkedin.com/v2/ will be available until June 30, 2023 when they will be sunset.

As per documentation they are already dead. They might not have actually killed them yet.

All old endpoints have been renamed as well.


When installing firedrake, run into PETSC issue

Your issue content here.Traceback (most recent call last):
File "/home/dmitry/Documents/DaiResearch/CT-Rep/Hydrogym_main/hydrogym/third_party/firedrake/scripts/firedrake-install", line 1851, in
install("petsc/")
File "/home/dmitry/Documents/DaiResearch/CT-Rep/Hydrogym_main/hydrogym/third_party/firedrake/scripts/firedrake-install", line 1020, in install
build_and_install_petsc()
File "/home/dmitry/Documents/DaiResearch/CT-Rep/Hydrogym_main/hydrogym/third_party/firedrake/scripts/firedrake-install", line 1159, in build_and_install_petsc
check_call([python, "./configure", "PETSC_DIR={}".format(petsc_dir), "PETSC_ARCH={}".format(petsc_arch)] + petsc_options)
File "/home/dmitry/Documents/DaiResearch/CT-Rep/Hydrogym_main/hydrogym/third_party/firedrake/scripts/firedrake-install", line 653, in check_call
log.debug(subprocess.check_output(arguments, stderr=subprocess.STDOUT, env=os.environ).decode())
File "/home/dmitry/.pyenv/versions/3.10.13/lib/python3.10/subprocess.py", line 421, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/home/dmitry/.pyenv/versions/3.10.13/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/dmitry/Documents/DaiResearch/CT-Rep/Hydrogym_main/hydrogym/third_party/firedrake/scripts/firedrake/bin/python', './configure', 'PETSC_DIR=/home/dmitry/Documents/DaiResearch/CT-Rep/Hydrogym_main/hydrogym/third_party/firedrake/scripts/firedrake/src/petsc', 'PETSC_ARCH=default', '--download-scalapack', '--download-mumps', '--download-hypre', '--download-metis', '--download-pnetcdf', '--download-hwloc', '--with-shared-libraries=1', '--download-ml', '--with-fortran-bindings=0', '--download-bison', '--download-cmake', '--download-suitesparse', '--download-eigen=/home/dmitry/Documents/DaiResearch/CT-Rep/Hydrogym_main/hydrogym/third_party/firedrake/scripts/firedrake/src/eigen-3.3.3.tgz ', '--download-netcdf', '--download-superlu_dist', '--download-mpich', '--download-hdf5', '--with-zlib', '--download-chaco', '--with-c2html=0', '--download-ptscotch', '--with-debugging=0', '--download-pastix']' returned non-zero exit status 1.

Closing, as this is an issue with Firedrake and not specifically Hydrogym. See the Firedrake docs and discussions for info there (though if you ask for help on Slack or GitHub, be sure to post enough information to reproduce the error, including system configuration, versions, etc).


Add an edit menu entry to copy the document

Is your feature request related to a problem? Please describe.
There should be a link in the edit menu.

Implemented by deb6a5980fad694bf5fbbdada7d4ebcd7a1fd584


Shared Subscription?

Hi, thank you for your great work.
I run example broker but cannot make shared subscriptions work?
Also, I couldn't figure out tests

You can use shared subscriptions functionality on the broker.
See https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901250
Note that the broker is experimental feature.
https://github.com/redboltz/mqtt_cpp#experimental-feature


Instruction Suggestions

If you are prerecord some video for how to build Kubernetes cluster using your repo in end to end automating fashion, it would be great for beginners.
asciinema.org will give features to record terminal activity and post with links.

Sounds pretty cool @coolpalani -- appreciate the suggestion and I'll definitely consider it. I've got a blog article under way, that I'm planning to publish after a refactor we're working on gets merged. I'll make sure to highlight you in a comment when it's complete... Should be a fairly thorough walk-through. Thanks again!

@coolpalani -- I did indeed publish that new article, check it out @ http://dougbtv.com/nfvpe/2018/03/21/kubernetes-on-centos/


Distance - No error message when saving duplicate points

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

Version Number: 1.4.32-2
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Issue found when executing PR https://github.com/Expensify/App/pull/34107
Action Performed:

Create a distance request with three waypoints, A, B and C.
Navigate to request details page.
Click Distance.
Change the waypoint C to become waypoint B.
Click Save

Expected Result:
App will throw the error "Please select unique waypoints"
Actual Result:
No error message is seen when saving duplicate waypoints
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

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

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/23d7b0cb-a6ab-40e9-844c-5cede64bcd05
View all open jobs on GitHub

We think that this bug might be related to #wave6.
CC @greg-schroeder

Production doesn't let you save the duplicate waypoints either, but at least shows an error message Please select unique waypoints.:

I think that's really the regression here that's not working on staging. That error message is correctly returned by the API to the UpdateMoneyRequestDistance request on staging too, e.g.:
{
    "code": 666,
    "jsonCode": 666,
    "type": "Expensify\\Libs\\Error\\ExpError",
    "UUID": "80DA580D-B8AD-4E6E-B23D-7E25E9A8318A",
    "message": "Please select unique waypoints.",
    "title": "",
    "data": [],
    "htmlMessage": "",
    "onyxData": [],
    "requestID": "84b3ea47dbc6270a-SJC"
}

https://github.com/Expensify/App/assets/2229301/8a9f8a1f-e6b0-4800-9a25-ddef3f342620

@aldo-expensify reverting https://github.com/Expensify/App/pull/34107 locally fixes the issue - any idea about a quick solution we could apply instead of reverting?

Ok I think I see the issue, it's a backend fix so we'll keep it internal.

A backend fix was merged, we're not going to CP it given that this is a fairly small issue in the end.

This has been fixed and deployed for a while, forgot to close.


Add Sweeps constructor from matrix of parameters

This adds the following Sweeps constructor:
  julia> Sweeps([
           "maxdim" "mindim" "cutoff" "noise"
            50       10       1e-12    1E-7
            100      20       1e-12    1E-8
            200      20       1e-12    1E-10
            400      20       1e-12    0
            800      20       1e-12    1E-11
            800      20       1e-12    0
           ])
  Sweeps
  1 cutoff=1.0E-12, maxdim=50, mindim=10, noise=1.0E-07
  2 cutoff=1.0E-12, maxdim=100, mindim=20, noise=1.0E-08
  3 cutoff=1.0E-12, maxdim=200, mindim=20, noise=1.0E-10
  4 cutoff=1.0E-12, maxdim=400, mindim=20, noise=0.0E+00
  5 cutoff=1.0E-12, maxdim=800, mindim=20, noise=1.0E-11
  6 cutoff=1.0E-12, maxdim=800, mindim=20, noise=0.0E+00

This is useful for input files for complicated DMRG runs.
In the future, we could consider adding a macro @sweeps that simplifies the syntax a little bit (like not requiring quotation marks around the Strings and not requiring brackets). We could also add a syntax for missing values for indicating that a value gets repeated.

Great - I really like this idea and syntax. (I didn't realize you could leave out commas entirely for matrices, I thought you still needed them at the end of each row, so that's nice to learn.)
My only suggestion was going to be something I see you've already implemented, which is to allow specifying only the columns you want in the order you want to by looking at the strings provided.
Nice how simple Julia's slicing makes the implementation too.


Made changes to Header for responsive styles for phones and very smal…

Made changes to Header for responsive styles for phones and very small devices - Matt Coursey

[Current coverage][cc-pull] is 98.29%

Merging [#436][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master       #436   diff @@
==========================================
  Files            37         37
  Lines           878        878
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            863        863
  Misses           15         15
  Partials          0          0

Powered by Codecov. Last updated by [9d3b547...49ec536][cc-compare]
[cc-base-branch]: https://codecov.io/gh/linuxfoundation/cii-best-practices-badge/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/linuxfoundation/cii-best-practices-badge/compare/9d3b547853420eed4b143961a3fd1c4229b68d98...49ec536bc6f600df0f256e5ce94da291389d52a0
[cc-pull]: https://codecov.io/gh/linuxfoundation/cii-best-practices-badge/pull/436?src=pr

Looks good!


Usage questions related to multiple groups/dates returned by parser

I don't know if this is the place for questions.. so let me know if I should use a different channel.
The documentation gives the following example to use Natty to parse a date.
    import com.joestelmach.natty.*;

    Parser parser = new Parser();
    List groups = parser.parse("the day before next thursday");
    for(DateGroup group:groups) {
      List dates = group.getDates();
      int line = group.getLine();
      int column = group.getPosition();
      String matchingValue = group.getText();
      String syntaxTree = group.getSyntaxTree().toStringTree();
      Map> parseMap = group.getParseLocations();
      boolean isRecurreing = group.isRecurring();
      Date recursUntil = group.getRecursUntil();
    }

The parser will return a list of groups and each group contains a list of dates.
I'm mainly interested in a single date.
I noticed the following helper methods in AbstractTest.java:
  /**
   * Parses the given value into a collection of dates
   *
   * @param value
   * @return
   */
  protected List<Date> parseCollection(String value) {
    return _parser.parse(value).get(0).getDates();
  }

  /**
   * Parses the given value, asserting that one and only one date is produced.
   *
   * @param value
   * @return
   */
  protected Date parseSingleDate(String value) {
    List<Date> dates = parseCollection(value);
    Assert.assertEquals(1, dates.size());
    return dates.get(0);
  }

Wouldn't be nice to add these to Parser.java so everybody can use them?
This would give a much cleaner API I think.
Further, I wonder in what cases be multiple groups / dates can be returned by the parser?

Thanks for the feedback.
A group will contain multiple dates in the case of a range or list.  For example: April 1st to May 2nd, next Wed or Thursday, etc.  Multiple groups will be returned if you're searching for dates within a larger body of text.


Create fast import unit

Add a shortcut that import all the units that references items with errors of undeclared type.
To do this, is necessary to create a config on find unit to make possible to create a link btw the search string and the unit.
For example: I type on findunit ReverseString I select the StrUtils on form, but I don't click the button add I click on the button (that do not exist now) "Add and Memorize".
So, when I have and "undeclared identifier" error on my project and use the shortcut of "Fast Import", it will bring all the related uses to the missing type.

Its done!


Fix Step 6 Table Formatting

Previously column 2 rows 3 and 4 were empty. Added spaces before the pipes to ensure the text ends up in the correct column

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

Sorry - column 2 rows 2 and 4 were empty, not 3 and 4

@Xelu86, @robinharwood,
Can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#assign: @robinharwood, @Xelu86


Add control for FramesSignal.

Some thoughts:

Most importantly, I have a 'set_playback_position' but it's not very good. Right now, it results in an audible "glitch" in my experimenting, and I suspect you'll have opinions on that. I'd be more than happy with removing that and having the rest of the PR accepted. All the other points below this are, in increasing order, bike shedding.
I abstracted over the encoded f64, which you might rather do inline yourself. It just made it so I didn't need to touch the sampling code, which I didn't want to touch if I didn't have to. I think this abstraction is fine, and the entire repo uses Relaxed ordering, so I think it's valid, but if you'd like to me split it out, I absolutely can!
Speaking of which, most of the API of oddio is in f32s, but FramesSignal worked in f64s previously. I assume we'll still want to be doing that, right? I feel like users can choose to put it in f32 if they want. Alternatively, the getter can return an f32 on its own.
Finally, FramesSignalController is kind of a long unwieldy name? It's more or less in line with the rest of the codebase though, so I just gave that it that beauty of a name. If you have any inspiration, I have no attachment to it.

Thanks for all your hard work! I appreciate the code review I expect I will undergo from this :))

Thanks for the PR!

Most importantly, I have a 'set_playback_position' but it's not very good.

I agree that this is a problem. In particular, as far as I can tell it is impossible to use this in a way that even has good odds, let alone a guarantee, of not glitching. Contrast Cycle which can do the right thing with carefully-constructed underlying data. We should omit it from this PR, leaving exploration of a crossfading scheme for future work.

I abstracted over the encoded f64, which you might rather do inline yourself.

No objection. I agree it's cute that the diff doesn't touch the Signal impl.

Speaking of which, most of the API of oddio is in f32s, but FramesSignal worked in f64s previously. I assume we'll still want to be doing that, right?

Yep, this was a deliberate decision because it's not clear to me that a f32 cursor has enough precision to avoid distorting playback for a very long Frames, given that very small errors matter when resampling a high-frequency signal. I'm open to changing it if a careful analysis shows that it's a nonissue for anything that you might sanely want uncompressed in memory all at once.

Finally, ~FramesSignalController~FramesSignalControl is kind of a long unwieldy name?

In interface naming, consistency trumps beauty. Further, control names are rarely used downstream, since controls are constructed via Handle which keys off the signal type instead. The name in the PR is exactly consistent with the others and hence should remain.
Honestly "FramesSignal" is the real source of ugliness here, but I'm not sure if it can be improved without significantly reduced obviousness.

So to make sure I'm reading this correctly, the only blocker right now is removing the set_playback_position method, right?

Yep, LGTM otherwise.

reupped, and good to go! thanks for the code review Ralith :)) that In interface naming, consistency trumps beauty is a gem

Thanks!


Remove double quotes around macros

Why is this change required?

Wrapping a macro in double quotes makes it an identifier

Does this commit cause any expected behaviors to change? If so, what?

None

Thanks @tiratatp !


Date fields in SQL database are returned as invalid date string in Laravel

Laravel Version: 5.8.16
PHP Version: 7.3.5
Database Driver & Version: MSSQL / Microsoft SQL Server 2016 - 13.0.5292.0

Description:
When we fetch dates either from direct DB statement or Eloquent we get the date field in the SQL database returned as an invalid formatted date string like Sep 12 2018 12:00:00:AM.
First of all, the last : before AM results in Carbon giving an exception as it's an invalid date format. With that removed Carbon can recognize the date again.
However we can't seem to figure out why Laravel formats this date in the first place. We have no  models for the given table (no dates are mutated) and the date is stored as YYYY-MM-DD in the database.
An example DB statement is DB::connection('database')->table('table')->get()
We've tested this with MySQL, the problem is not present there. Once we switch back to MSSQL the issue returned.
Steps To Reproduce:

Fetch a record from the database where a field with type date is present.
The returned record is formatted invalid with Sep 12 2018 12:00:00:AM, should be 2018-09-12.

We've tested this with MySQL, the problem is not present there. Once we switch back to MSSQL the issue returned.

I use MSSQL and I've not seen this problem. It's something with your database configuration or setup.
Laravel does not cast the datetime of the records unless you asked it to in Eloquent, and it definetely does not do it in a DB statement.

Hey @laurencei.
Thanks for the quick response. I'll close this for now to investigate.

@robinnydahl Did you ever find out what was causing this, or if there’s a way to fix it? I’m having the same problem (see mention just above this comment), also only in SQL Server and only when fetching through Laravel (i.e., not if using a native PDO connection).


[Non-stationary environment] Auto_regression based on which arithmetic metric?

For producing series for each <component, failure> combination, there could be different ways to do this, e.g.:

mean value, as the average value,
mode value, as the most common value, and
median value, the value separating the higher half from the lower half.

The different values might have an influence on the outcoming data series. Which value would we expect to see?

I think we could start using the mean first then later on we can compare the results using the mode and median.
The code do simulate non-stationary data is here:
http://web.vu.lt/mif/a.buteikis/wp-content/uploads/2019/02/02_StationaryTS_Python.html
@brrrachel  could you please give a look and choose two options?


Are there defferences with vscode-hexdump by Ilia Pozdnyakov (Iliazeus)?

There are two hexdumps in the vscode extensions store, but they are uploaded by different authors, and also the version number are different. Which should I install?

I recommend installing Hex Editor, which is provided by Microsoft.

Microsoft is making it's own Hex editor, so I won't try to compete with them :)


Fix independent blend parameter on Vulkan, D3d11 and D3d12

Hello,
I noticed the _rgba parameter from setState was not forwarded on some platforms.
This is needed when working with BGFX_STATE_BLEND_INDEPENDENT.
g.e:
bgfx::setState(
        state | BGFX_STATE_BLEND_INDEPENDENT,
	BGFX_STATE_BLEND_FUNC_RT_1(BGFX_STATE_BLEND_ZERO, BGFX_STATE_BLEND_SRC_COLOR)
	);

cc @pezcode


fix(manager): add ids & id to types

What

add ids & id to types

Why

they are missing, which makes accessing them inconvenient in TypeScript

Visuals

Before
After

Thanks a ton for your help!


fix wrong url

Signed-off-by: Tani<EMAIL_ADDRESS>

I... I have no words...