2873: Set fixed timezone for jest

Short description
Timestamps at DatabaseConnector causing failure in Tests when running from a different time zone (my case is GMT+3).
Proposed changes

Added this line: process.env.TZ = 'Europe/Berlin' to jest.config.ts at native and web.

Side effects
None
Resolved issues

Fixes: #2873

@bahaaTuffaha You can merge your PRs once they have the required amount of approvals, like this one  🎉


Installation fails behind proxy server

My work uses a proxy which blocks the use of the git protocols.
$ git clone --recursive git://github.com/ekg/freebayes.git
Cloning into 'freebayes'...
fatal: Unable to look up github.com (port 9418) (Name or service not known)

I got around this by using the https link from the front page which enabled Freebayes itself to download, but the dependencies were then blocked:
$ git clone --recursive https://github.com/ekg/freebayes.git
Cloning into 'freebayes'...
remote: Reusing existing pack: 3890, done.
Receiving objects: 100% (3890/3890), 4.74 MiB | 616 KiB/s, done.
remote: Total 3890 (delta 0), reused 0 (delta 0)
Resolving deltas: 100% (2504/2504), done.
Submodule 'bamtools' (git://github.com/pezmaster31/bamtools.git) registered for path 'bamtools'
Submodule 'intervaltree' (git://github.com/ekg/intervaltree.git) registered for path 'intervaltree'
Submodule 'vcflib' (git://github.com/ekg/vcflib.git) registered for path 'vcflib'
Cloning into 'bamtools'...
fatal: Unable to look up github.com (port 9418) (Name or service not known)
Clone of 'git://github.com/pezmaster31/bamtools.git' into submodule path 'bamtools' failed

Altering the paths in .gitmodules from git:// to https:// enabled me to pull the rest  of the code down.
Would it be possible to have the links changed to https:// to help people stuck behind firewalls to download the files more easily.

@chapmanb thanks that's work for me


Proposal: make child img selector overridable

At the moment, imagesLoaded just selects all img tags that are children of the elements passed to it. Sometimes you may want to limit which images you are waiting on to a subset of the images.
This wouldn't require much work, just make selector or imgSelector an option to be passed to imagesLoaded. Then change the following line to use it:
https://github.com/desandro/imagesloaded/blob/master/imagesloaded.js#L145

Good point. You can actually trigger imagesLoaded with a selector string
// jQuery
$('#container img.selector').imagesLoaded

// vanilla JS
imagesLoaded('#container img.selector')

I need to add this point to the docs.

Hey would it be a bad idea for me to try to make this work for a specific css selector? I'm trying to get this working on divs....

@shmag18 Could you elaborate on what you are trying to do? Or better yet, provide a Reduced test case. See Submitting Issues guidelines

Hi sorry a little new to this. I'm just trying to get imagesloaded to work on specific divs instead of images on my site. I am adding new divs with rails, and masonry works pretty well, however sometimes there are some divs overlapping other divs. When I resize the window all the divs move into the perfect place. After doing some research on this I found I should be using imagesloaded, but it didn't work on the divs.
I'm just wondering if it's ok to change the line that sampeka mentioned above to the specific selector of my divs that are being added. I tried it and it works for the most part but a) there is still some overlap when refreshing the page or going to the page directly (as opposed to clicking on a link on my site) and b) there is some strange error logged to the console, something like ...assets/undefined 404 not found.
Not sure this is the right place to be discussing this but any advice would be appreciated tremendously. Thanks!


Beta/Demo Site Issues

Demo and Beta Sites should work awesome and present a great experience to potential users throughout the globe on any device
There have been various issues surrounding the demo and beta experience:

[ ] Site Outages
[ ] Incorrect Login info
[ ] CI/CD
[ ] Error Reporting

There's #388 regarding automated updates to the beta site. One thing I've noticed is when you install hospitalrun-server, you don't get the most recent frontend. It gets the frontend code from here https://libraries.io/npm/hospitalrun, which is no longer being updated since the 1.0.0-beta release.

@MatthewDorner Should we close #388 too?
Just looking through some of that, we really should be able to use travis for some of the deployment stuff.

Maybe we should leave it until we get a better understanding of the bigger picture regarding infrastructure and CI/CD. It seems like at the end of #388 they expanded the scope beyond just the demo site but then it didn't get finished.

I am also experiencing the login issue when I try deploy using docker


Song/Media Player not being detected

General description of bug:
Song or media player is not being detected (atleast when using Spotify), although since it works using neofetch, the external parameters (DBus, etc.) probably aren't the issue.
Using NixOS so maybe there's a chance it's not being able to properly read the data?
Often helpful questions:

Does the issue occur across multiple terminal emulators? Y
Does the issue occur across multiple shells? Y (bash/fish)

Output of fastfetch --version:
fastfetch 1.5.3

Output of fastfetch --list-features:
libpci
vulkan
wayland
xcb-randr
xcb
x11
gio
dconf
dbus
imagemagick7
chafa
zlib
xfconf
egl
glx
opencl

It works if I manually set LD_LIBRARY_PATH=/path/to/dlib/lib. This issue only occurs for DBus and not the other libraries, which seem to load fine.

So the problem seems to be how dlopen operates:
       o   (ELF only) If the calling object (i.e., the shared library or
           executable from which dlopen() is called) contains a DT_RPATH
           tag, and does not contain a DT_RUNPATH tag, then the
           directories listed in the DT_RPATH tag are searched.

       o   (ELF only) If the calling object contains a DT_RUNPATH tag,
           then the directories listed in that tag are searched.

For some reason, this doesn't work with DBus. I've patched the Nix script to instead use LD_LIBRARY_PATH which resolves this issue. Seems solved for now.

Still weird... Will look into this.


az vm disk attach-new --caching should be --host-caching

The portal and V1 CLI call the caching parameter --host-caching, but the V2 CLI uses "caching" which is inconsistent and probably less clear.

caching is used by SDK, but I agree, we should use host-caching regardless of the implementation details.

Cleaning u old issues, reopen if this is still active.


Use jitter kwarg

Hopefully this will resolve #44

The error seems to be stochastic, does it happen more often when the jitter is decreased?

Yeah -- so the error is that an approximation that we use to get a lower bound on the log marginal likelihood is sometimes so good that it is marginally greater than the "exact" computation. As in, O(1e-18) bigger or something. Adding a tiny bit of jitter stabilises things, and makes the bound very slightly looser, 🤞 enough to ensure that the lower bound is always numerically a lower bound.


Empty error message when saving datasource on  Grafana 6.X

I've installed sumologic plugin in Grafana 6.4 version and its not working.
Error is not actually displayed in Front end.When i configure the datasource in Grafana and click "save and test", it should save the config and display the message Datasource successfully connected. (this is expected)
But, I'm not getting the datasource connection successful, rather i'm getting nothing.

Closing this as we dropped support for old versions of the Grafana.


[stable/chronograf] Kubernetes v1.16 support

Describe the bug
Attempted to install a chart in Kubernetes v1.16.2
Which chart:
stable/chronograf
What happened:

Error: validation failed: unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1"

What you expected to happen:
Successful installation of chronograf in Kubernetes 1.16.X
How to reproduce it (as minimally and precisely as possible):
helm install --name dash --namespace tick stable/chronograf

#18241 Duplicate


web-service should fetch json-ld documents that are linked in the href attribute

At the moment only the JSON documents that are inlined in a <script type="application/ld+json"> element's text() are appended to the siteinfo. If the URL of a JSON-LD document is specified in the href attribute it should probably be fetched too.

Are there reasons why you wouldn't include the JSON documents inline?
I'd like to understand the use case before rushing into implementation.
Meanwhile, is it a good workaround for you to include the JSON inline?

My thought process here is that I spent about 15 minutes looking for an existing Web page that would contain an inline JSON-LD document so as I could test how it would be parsed by the proxy, and I litterally couldn't find any, even when trying relatively hard to ask the Google. I understand that it is not a problem for people who will craft their own webpages, but I think many people are also interested in linking to existing web pages, that may have href'd JSON-LD docs.
The use case I had in mind is I think quite common, and associating URLs like http://live.dbpedia.org/page/Mona_Lisa etc to beacons in a museum so as to allow to easily get the metadata (width, height, painter, etc) associated to each painting.
I think it's a quite common use case to link to existing JSON-LD documents from a web page, especially JSON-LD documents from dbpedia or similar.

The goal of the Physical Web is to be as thin as possible: we literally
want to get the user to the a web page as easily as possible. Living inside
our picker is an interesting experiment but it creates a tension between
the web browser and the beacon browser.
I appreciate that there are cases (like museums) where you want to browse a
range of related beacons but we feel that should be put into a web page and
now the beacon browser. Once we have BLE JS support in the browser, that
can be written fairly easily. Once you open the museum page, it can then
find/get metadata (in many ways, not just JSON+LD)and provide a museum
appropriate way to view/browser/scan the exhibits nearby
Scott
On Thu, Jan 15, 2015 at 7:19 AM, Benjamin Cabé<EMAIL_ADDRESS>wrote:

My thought process here is that I spent about 15 minutes looking for an
existing Web page that would contain an inline JSON-LD document so as I
could test how it would be parsed by the proxy, and I litterally couldn't
find any, even when trying relatively hard to ask the Google. I understand
that it is not a problem for people who will craft their own webpages, but
I think many people are also interested in linking to existing web pages,
that may have href'd JSON-LD docs.
The use case I had in mind is I think quite common, and associating URLs
like http://live.dbpedia.org/page/Mona_Lisa etc to beacons in a museum so
as to allow to easily get the metadata (width, height, painter, etc)
associated to each painting.
I think it's a quite common use case to link to existing JSON-LD documents
from a web page, especially JSON-LD documents from dbpedia or similar.
—
Reply to this email directly or view it on GitHub
https://github.com/google/physical-web/issues/257#issuecomment-70100685.

Close due to lack of comments, but willing to reopen if necessary


Improve to indent

This PR has two improvements.

Remove code for independent modifier private or protected because it does not work in Crystal.
Add to indent for abstract class or abstract struct.

I rebased this branch, so you can merge easily. please.

Sorry for keeping you waiting.  But I must have a time to try your changes.

I tested and it seemed good.  Thanks!


Add some high level info to README about what the spec is and how it might be relevant to people

For the new visitor, the Overview section of the README doesn't answer some basic questions one might have.
Perhaps we don't want to add any more information to the README, but as a total newcomer to the project it would be nice to be able to find quick answers to questions like:

What is the App Container spec? (In addition to the existing answer to "What does this repository contain?")
I know a bit about Docker and containers in general. Why is this project relevant or interesting to me?
What is the promise of the App Container Spec? Is it, build an image once, run it on any number of implementations?
What are some implementations of the spec?

Perhaps this kind of stuff belongs in a blog post as opposed to the README, but I thought I'd raise this here to see what people think.

This is a good idea. I will take a shot at it below:

What is the App Container spec? (In addition to the existing answer to "What does this repository contain?") I know a bit about Docker and containers in general. Why is this project relevant or interesting to me?

The App Container (appc) is a well-specified community developed specification to define an image format, runtime environment and discovery mechanism for application containers. An application container is a way of packaging and executing processes on a computer system that isolates the application from changes to the underlying host OS. For example an application packaged as a container would bring its own copy of a python runtime, shared libraries and application code and would not share those packages with the host.
App containers are useful because they put developers in full control of the exact versions of software dependencies for their applications. This reduces surprises from dev, test and prod while freeing the underlying OS from worrying about shipping software specific to the applications it will run. This decoupling of concerns increases the ability for the OS and application to be serviced for updates and security patches.
For these reasons we want the world to run containers. A world where your application can be packaged once, and ran in the environment you choose. The App Container (appc) spec aims to have the following properties:

Composable. All tools for downloading, installing, and running containers should be well integrated, but independent and composable.
Security. Isolation should be pluggable, and the crypto primitives for strong trust, image auditing and application identity should exist from day one.
Image distribution. Discovery of container images should be simple and facilitate a federated namespace, and distributed retrieval. This opens the possibility of alternative protocols, such as BitTorrent, and deployments to private environments without the requirement of a registry.
Open. The format and runtime should be well-specified and developed by a community. We want independent implementations of tools to be able to run the same container consistently.

What is the promise of the App Container Spec? Is it, build an image once, run it on any number of implementations?

By explicitly defining how an app is packaged into an image, downloaded over a network, and executed as a container outside of a particular implementation we hope to enable a community of engineers to build tooling around the fundamental building block of a container. Some examples of build systems and tools that have been built so far include:

ACI builder for Go projects https://github.com/jonboulle/goaci
ACI builder from docker images https://github.com/appc/docker2aci

What are some implementations of the spec?

The most mature implementation of the spec today is (Rocket)[https://github.com/coreos/rocket] but other implementations are being built too:

Jet Pack (Freebsd/Go) https://github.com/3ofcoins/jetpack
libappc (C++ library) https://github.com/cdaylward/libappc
Nose Cone (Linux/C++) https://github.com/cdaylward/nosecone
Rocket (Linux/Go) https://github.com/coreos/rocket

/cc @polvi @robszumski @jonboulle Anything else I should add?

No, that looks good - I actually had started a FAQ.md on my local system a long time ago for this exact reason but never added it to git :-(
This is a good starting point, put it up and we can go from there...

@jonboulle I merged it since it is way better than the current state. Thanks for the suggestion @nchammas.

@philips This is great!
Your writeup gives me precisely the mental model I need to understand what appc and containers are all about, and I think it will be very valuable for newcomers to the project.
Thank you for taking the time to write it up.


Move DataFrame demo IO to Blockwise

Blocked by #7042
Continuation of #7042

Refactors make_timeseries to use Blockwise.
Refactors daily_stock to use Blockwise.

Closing in favor of #7615


Expanded documentation of mef_outputs in excel_ui.process_beads_table().

Solves #261.

I struggled with the documentation for mef.get_transform_fxn() in addition to excel_ui.process_beads_table().
excel_ui.process_beads_table() Documentation
(note: beads_samples and mef_outputs may eventually be OrderedDicts, pending #232)
Portion of proposed documentation:
Returns
-------
beads_samples : list of FCSData objects
    A list of processed, gated, and transformed samples, as specified
    in `beads_table`, in the order of ``beads_table.index``.
mef_transform_fxns : OrderedDict
    A dictionary of MEF transformation functions, indexed by
    ``beads_table.index``.
mef_outputs : list
    A list with intermediate results of the generation of the MEF
    transformation functions. More precisely, each element of this list
    is the unmodified output of calling ``mef.get_transform_fxn()``
    with ``full_output=True``, for each processed and gated beads
    sample. Each element of `mef_outputs` is a named tuple, as
    specified in the documentation of ``mef.get_transform_fxn()``.
    `mef_outputs` is only included if `full_output` is True.

namedtuple should not have a space in it
I don't think you should say "mef_outputs is only included if full_output is True.". You should be consistent with our other documentation of full_output parameters, which appears to be more like this (i.e. mention "only if full_output==True" at the top, not in the parameter description):

mef_channels : int, or str, or list, only if ``full_output==True``
    Channels on which transformation functions have been generated.
    Directly copied from the `mef_channels` argument.

You can say

"Each element of `mef_outputs` is a named tuple, as
    specified in the documentation of ``mef.get_transform_fxn()``."

but I think you should also reproduce the description of this data structure from mef.get_transform_fxn() so the user doesn't have to chase that down. Going to another function description is certainly better than having to read the source code, but I still think it's annoying for someone just trying to use the excel_ui.process_beads_table() function and who isn't interested in the underlying implementation details (e.g. someone who was previously using the Excel UI and their use of excel_ui.process_beads_table() represents their first foray into the Python API). It would require duplicating some documentation, though, (which would need to be updated in two places if it ever changes), which may be undesirable, but at present the outputs of this function are uninterpretable without combing through the code, in my opinion. This also gives you the opportunity to more explicitly describe the namedtuple, which is not explicitly described in the documentation for mef.get_transform_fxn(). So maybe something like:
mef_outputs : list, only if ``full_output==True``
    A list with intermediate results of the generation of the MEF
    transformation functions.

    Each list element is a MEFOutput namedtuple that is the unmodified output
    of calling ``mef.get_transform_fxn()`` with ``full_output=True`` on the processed
    and gated beads sample associated with each row in `beads_table`. The fields
    of the MEFOutput namedtuple are:

    transform_fxn : function
        Transformation function to convert flow cytometry data from RFI
        units to MEF. This function has the same basic signature as the
        general transformation function specified in ``FlowCal.transform``.
    mef_channels : int, or str, or list
        Channels on which transformation functions have been generated.
    clustering : dict
        Results of the clustering step, containing the following fields:
        labels : array
            Labels for each event in `data_beads`.
    statistic : dict
        Results of the calculation of bead subpopulations' fluorescence,
        containing the following fields:
        values : list
            The representative fluorescence values of each
            subpopulation, for each channel in `mef_channels`.
    selection : dict
        Results of the subpopulation selection step, containing the
        following fields:
        rfi : list
            The fluorescence values of each selected subpopulation in
            RFI units, for each channel in `mef_channels`.
        mef : list
            The fluorescence values of each selected subpopulation in
            MEF units, for each channel in `mef_channels`.
    fitting : dict
        Results of the model fitting step, containing the following fields:
        std_crv : list
            Functions encoding the standard curves, for each channel in
            `mef_channels`.
        beads_model : list
            Functions encoding the fluorescence model of the
            calibration beads, for each channel in `mef_channels`.
        beads_params : list
            Fitted parameters of the bead fluorescence model, for each
            channel in `mef_chanels`.
        beads_model_str : list
            String representation of the bead models used, for each channel
            in `mef_channels`.
        beads_params_names : list
            Names of the parameters given in `beads_params`, for each
            channel in `mef_channels`.

     (see mef.get_transform_fxn() documentation for more details on the MEFOutput namedtuple)

I think it would be very helpful to have an example in the documentation that illustrates what mef_outputs looks like if excel_ui.process_beads_table() is called on the example file. So for

import FlowCal as fc
i_table = fc.excel_ui.read_table('experiment.xlsx', 'Instruments', index_col='ID')
b_table = fc.excel_ui.read_table('experiment.xlsx', 'Beads', index_col='ID')
beads_samples, mef_transform_fxns, mef_outputs = fc.excel_ui.process_beads_table(b_table, i_table, full_output=True)

the mef_outputs structure looks like:
[
    FlowCal.mef.MEFOutput(
        transform_fxn=functools.partial,
        mef_channels=[u'FL1'],
        clustering={
            'labels' : [7,2,1, ... 4, 3, 5]
        },
        statistic={
            'values' : [np.array([100, 149, 230, 433, 1240, 3105, 7773, 9305])]
        },
        selection={
            'rfi' : [np.array([100, 149, 230, 433, 1240, 3105, 7773])]
            'mef' : [np.array([0,646,1704,4827,15991, 47609, 135896])]
        },
        fitting={
            'std_crv' : [lambda function]
            'beads_model' : [lambda function]
            'beads_params' : [np.array(1.09e0, 2.02e0, 1.15e3)]
            'beads_model_str' : ['m*log(fl_rfi) + b = log(fl_mef_auto + fl_mef)']
            'beads_params_names' : [['m', 'b', 'fl_mef_auto]]
        },
    )
]

(this illustration might be more useful if there was more than 1 entry in the Beads table of the example file)
mef.get_transform_fxn() Documentation
Partial current documentation:
    Returns
    -------
    transform_fxn : function
        Transformation function to convert flow cytometry data from RFI
        units to MEF. This function has the same basic signature as the
        general transformation function specified in ``FlowCal.transform``.
    mef_channels : int, or str, or list, only if ``full_output==True``
        Channels on which transformation functions have been generated.
        Directly copied from the `mef_channels` argument.
    clustering : dict, only if ``full_output==True``
        Results of the clustering step, containing the following fields:
        labels : array
            Labels for each event in `data_beads`.
    statistic : dict, only if ``full_output==True``
        Results of the calculation of bead subpopulations' fluorescence,
        containing the following fields:
        values : list
            The representative fluorescence values of each
            subpopulation, for each channel in `mef_channels`.
    selection : dict, only if ``full_output==True``
        Results of the subpopulation selection step, containing the
        following fields:
        rfi : list
            The fluorescence values of each selected subpopulation in
            RFI units, for each channel in `mef_channels`.
        mef : list
            The fluorescence values of each selected subpopulation in
            MEF units, for each channel in `mef_channels`.
    fitting : dict, only if ``full_output==True``
        Results of the model fitting step, containing the following fields:
        std_crv : list
            Functions encoding the standard curves, for each channel in
            `mef_channels`.
        beads_model : list
            Functions encoding the fluorescence model of the
            calibration beads, for each channel in `mef_channels`.
        beads_params : list
            Fitted parameters of the bead fluorescence model, for each
            channel in `mef_chanels`.
        beads_model_str : list
            String representation of the bead models used, for each channel
            in `mef_channels`.
        beads_params_names : list
            Names of the parameters given in `beads_params`, for each
            channel in `mef_channels`.

for transform_fxn, saying "This function has the same basic signature as the
general transformation function specified in FlowCal.transform." is fine, but again, I would reproduce that function signature here so the user doesn't have to chase that down.
Shouldn't clustering['labels'] also indicate that it's "for each channel in mef_channels"?
How the channels dimensions is represented in these data structures is still not very clearly presented in my opinion (i.e. the lists in the clustering, statistic, selection, and fitting dicts). Similar to above, an example illustrated in the documentation could help to illustrate this.

(any changes to mef.get_transform_fxn() should be propogated to any duplicated documentation mentioned above in excel_ui.process_beads_table())

I'll start by saying that I'm strongly against duplicating pieces of documentation. This will make it really hard to maintain if we want to make a change. Updating documentation and examples is already difficult because we have these in docstrings, .rst files with layman explanations and tutorials, and example python scripts. Duplicating information across docstrings will only make it harder, and it is unnecessary if we can effectively redirect the user to the relevant documentation portion.
Fortunately, there seems to be a good middle ground. There is a way to make links to other parts of the documentation. This will allow the user to be one click away from mef.get_transform_fxn() when reading process_beads_table()'s documentation. The following screenshot shows how it looks:

(the pointer looks like a hand with its finger out, like when it's on top of a hyperlink, but I don't know why the screenshot program doesn't capture it). It is a hyperlink, which takes the user to mef.get_transform_fxn()'s documentation as intended. I don't like the color, but it is a problem of the website theme that we're currently using, and I'd rather not spend my time modifying themes.
If we agree that this is sufficient, most of your recent complains should then be fixed in mef.get_transform_fxn()'s docstring. As of b503b95dc52689d566f979939b2ea7f080d48d04, this docstring has been modified as follows:

Documentation of each output element has been expanded to make it more clear that most elements are dictionaries, that each element below is a key:value pair, that these values are usually lists and what type of elements these lists include, and the dimensions of these lists and the elements inside.
Some examples have been added at the end, one of which shows an example full output. This is somewhat based on your example.

I think the expanded description of the output of mef.get_transform_fxn(), combined with the addition of a clickable link in process_beads_table()'s documentation to mef.get_transform_fxn(), should be enough to address all of your concerns.


BoundsControl's ActivateOnStart breaks the handle visibility options

Describe the bug
Handle configurations allow the user to selectively enable and disable specific handles. When the BoundsControl has been set to use the ActivateOnStart option, all handles will be visible, even if they have been configured to not be visible.
To reproduce
Steps to reproduce the behavior:

Go to BoundsControlExamples.unity example scene
Select CoffeeCup3, which already has ActivateOnStart selected.
Edit the CoffeeCup3 rotation handle configuration to specify that none of the handles should be visible.
Play the scene
Observe that the handles are now visible.

Expected behavior
Handles should obey their visibility settings, even when ActivateOnStart is used.
Versions

Unity 2018.4.23f1
MRTK Version v2.4 - active mrtk_development
All platforms, AFAIK

Additional context
This is blocking my work on #8236

ha! this is funny - i just tried to reproduce and it actually works with hiding the scale handles and the rotation handles - the bug only occurs when hiding ALL rotation handle types at the same time :D

there was an early out when resetting handles that caused this behavior, but only when all rotation handle types (axes) were deactivated. it's an issue that is local to the rotation handles. i changed the visibility check now to be easier to understand and fixed that early out. however this can not have interfered with the translation handles as they aren't using rotation handle specific logic


Persistent Blurriness Issue in Document Printing for Windows

Hi,
I have identified a persistent issue where printed labels exhibit blurriness when utilizing the PrintHelper within the application. Interestingly, the problem does not occur when I download the PDF from the app to my computer and print it separately, resulting in clear and legible labels. I have not changed any code in the helper class.
In the accompanying image, the label on the left side was printed after downloading and printing without using the app, displaying a notably higher clarity. In contrast, the label on the right side, printed using the app's PrintHelper, appear blurry, rendering the barcode unreadable.
Thank you in advance.

This is interesting, it seems to be due to the WinUI 3 APIs being used to insert the image data into the print canvas: https://github.com/LanceMcCarthy/CustomMauiExamples/blob/df90c3347f16a378982dd628645c44e0b58ec0da/src/DocumentPrinting/DocumentPrinting/Helpers/PrintHelper.Windows.cs#L170-L179
Unfortunately, I'm not able to assist you with this as this problem is outside the scope of just an introductory demo. The good news is I do know where you can ask for help:

Go to WinUI 3's forums at https://learn.microsoft.com/en-us/answers/tags/184/windows-app-sdk
Ask Microsoft engineers the same question you did above. INclude the images, description and the code that prints the document (this class https://github.com/LanceMcCarthy/CustomMauiExamples/blob/main/src/DocumentPrinting/DocumentPrinting/Helpers/PrintHelper.Windows.cs).

Important: If you do get improved code, please be sure to come back here and share the information so that I can update the demo app for everyone else to get the improvements, too.

Thank you for your insights and pointing out the potential cause of the blurriness issue in document printing. I will follow your suggestion and post the query along with the code and details on WinUI 3's forums.
I appreciate your assistance, and I will be sure to update this platform with any improvements obtained.

Hi Lance,
I wanted to share the solution I discovered, which wasn't readily available online. Initially, I attempted to save the ras (InMemoryRandomAccessStream) image then checked if it provided the desired high-quality output.
However, it turned out that the quality was not up to par. So, I modified the code to improve the output quality.In the imageCtrl, I set the actual height and width:
using var pdfPage = this.sourcePdfDocument.GetPage(uint.Parse(i.ToString()));
    var width = pdfPage.Size.Width;
    var height = pdfPage.Size.Height;
    var imageCtrl = new Image();
    var scale = 10;
    var renderOptions = new PdfPageRenderOptions();

    renderOptions.DestinationWidth = (uint)(width * scale);
    renderOptions.DestinationHeight = (uint)(height * scale);

    using (var stream = new InMemoryRandomAccessStream())
    {
        await pdfPage.RenderToStreamAsync(stream, renderOptions);
        var bitmapImage = new BitmapImage();
        await bitmapImage.SetSourceAsync(stream);
        imageCtrl.Source = bitmapImage;
    }

    imageCtrl.Height = height;
    imageCtrl.Width = width;
    printDocument.AddPage(imageCtrl);

This is AMAZING NEWS!
I was the one who mentioned to Ivan that there's probably a way to increase the DPI of the ImageCtrl that is used to stream the PDF page into, but I had not personally found a way to do it.
So thank you for coming back to share this, it will make many folks very happy and I'll be sure to tag you in the commit to give you full credit for it.

For anyone else visiting this thread, I've pushed the changes to the https://github.com/LanceMcCarthy/CustomMauiExamples/tree/improve-printing-resolution branch. Once I have enough time to thoroughly testing it, I will merge it into main.
As to what is different... we are using the PDF document's size values for the Image control 's dimensions.
Before
https://github.com/LanceMcCarthy/CustomMauiExamples/blob/0fcd8c89a46d140e0c679ca9c081fe033ea4107c/src/DocumentPrinting/DocumentPrinting/Helpers/PrintHelper.Windows.cs#L132-L133
After
https://github.com/LanceMcCarthy/CustomMauiExamples/blob/8b039ae48a0cf0addb1abb7ff89d621ee024ce1e/src/DocumentPrinting/DocumentPrinting/Helpers/PrintHelper.Windows.cs#L181-L183

Okay, so I've had an opportunity to play around with these settings and an original issue has resurfaced.... the scale doesn't match the monitor's display resolution, so you end up getting a result like this

my monitor is currently using 200% scaling, so the result is the PDF contents is 1/2 the size.

So what I will do is merge in changes that has code for both approaches, but still use the scale factor to properly fit the PDF into the Canvas


File drop on specific HTML elements

Is your feature request related to a problem? Please describe.
There's no easy way to handle file drops on specific elements yet. When you're dragging a file, JS events like mousemove stop emitting, so you can't tell where the cursor is (at least for me on macOS).
Describe the solution you'd like
The best solution would be for the native drag-and-drop API to work. Not sure what was preventing that from working?
Alternatively, tauri://file-drop-hover can include the mouse position and be spammed whenever the mouse moves. In JS, you could handle it like this:
import { event } from '@tauri-apps/api';

const dropzoneElement = document.querySelector(/* ... */);

event.listen('tauri://file-drop-hover', (e) => {
  const hoveredElement = document.elementFromPoint(e.x, e.y);

  if (dropzoneElement.contains(hoveredElement)) {
    // ...
  }
});

Which means we can use it in tauri v2, or back port it to an older wry version for a possible future 1.X release.

Need mouse coordinates very much.


Follow-up to #1: requestBodies

I only just noticed that only part of #1 was implemented - enum names are now shown in parameter descriptions for regular GET params, but not for request body fields.

When not expanded, it shows things like "Default value" under the description:

Could the plugin add list of available variants to the same place too?


[SPARK-45234][PYTHON][DOCS] Refine DocString of regr_* functions

What changes were proposed in this pull request?
Refine DocString of regr_* functions
Why are the changes needed?
fix the wildcard import
Does this PR introduce any user-facing change?
yes
How was this patch tested?
CI
Was this patch authored or co-authored using generative AI tooling?
No

thanks, merged to master


Hide hdr and shadow_contact in gles2

Hides properties that are not going to be implemented in GLES2
Relates to: #26509

Thanks!


Release New Stable Version 2.1.6

Hi,
I wanted to ask when version 2.1.6 will be officially released.
So that you can download it normally in ioBroker without the diversions via the GitHub installation.
Since ioBroker currently warns against an installation via GitHub, an official release of version 2.1.6 would be really great.
Should the current version 2.1.6 not be released for the time being,
then official instructions on how to install the Apdater correctly via GitHub would be very helpful.
Many thanks

The 2.1.6 is 6 days old and available in the Beta/Latest repository, so there is no need to install from GitHub ... The usual waiting time are roughly 14 days to see if there is feedback on issues.
So all is in it's normal process, or do I miss anything?

Unfortunately, version 1.1.3 is still offered in ioBroker and I would be very happy if version 2.1.0 (2022-03-25) or at least version 2.0.1 (2021-09-17) would be officially released.
Even if I activate the beta versions, I am not offered any more, hence this post.
Many thanks

YOu can install the latest Beta using Custom install (enable expert mode) and "Install from npm" ... Update in Stablke will come soon


Split current Form into AdhocForm and PredefinedForm to separate those usecases

Postpone this decision until more usage and information is available


there is some mistakes

In
pandas_exercises-master\09_Time_Series\Getting_Financial_Data\Exercises_with_solutions_and_code
""step 4""   not work!

I think the initial poster is referring to the fact that the Google Finance API is retired and not available anymore within Pandas Datareader. (The same issue for Yahoo Finance.)
It seems to me that Pandas Datareader does not currently offer access to other finance APIs that are freely accessible (without registration).
From my perspective, there might be three options.

Removing the exercise
Creating a workaround, e.g. with the "yfinance" module (that is a webscraper of Yahoo Finance)
Changing the exercise to an API that requires a key (it seems to me that e.g. the AlphaVantage has a relatively easy sign-up for its free tier)

I'm happy to help with those tasks if needed, but I think that it might make sense to discuss first the preferred route.

I would favor option 3 as it is possible to practice another skill, as calling from an external API.

OK，thank you，You really helped me

@alletsee could you change the exercise so that it works with such API?
That would be awesome! 😄

I could give it a shot, but I'm not an expert on those APIs from the pandas-datareader package; meaning that I probably would need some time (and trial & error) to come up with something.

No worries, we can work together on this if you would like as well

Hi @guipsamora,
I had a bit of time and re-wrote the exercise using the AlphaVantage API to replace Google Finance, which is not supported anymore by Pandas Datareader. It's pull request #108 . It should fix the initial problem that @The-Naruto reported.


[Suggestion] Add the logs to output when executing "Azure Static Web App: Clone Repo" action

OS: Win10
Build Version: 20200630.1
Repro Steps:

F1 --> Azure Static Web App: Clone Repo --> Select a Static Web App --> Select Repository Location.
Check the output logs.

Actual:
There is no output logs.
Suggestion:
Add the output logs to "Azure Static Web App: Clone Repo" action.

Since we're leveraging VS Code's git command, the output will be logged there.  I think that users can look there to look at the logs.


storage container create permission issue

Describe the bug
Running CLI command to create container name results in an error implying the permissions is missing.
az storage container create -n {} --sas-token {} --account-name {}
However I am Owner on the Subscription and as such have full rights, including data plane. In addition, I have added explicitly myself to a RBCA role "Storage Blob Data Contributor (Preview)" (in addition to being an Owner on a subscription). This resulted in the same error.
repro steps below.
Command Name
az storage container create
Errors:
The command failed with an unexpected error. Here is the traceback:

You do not have the required permissions needed to perform this operation.
Depending on your operation, you may need to be assigned one of the following roles:
    "Storage Blob Data Contributor (Preview)"
    "Storage Blob Data Reader (Preview)"
    "Storage Queue Data Contributor (Preview)"
    "Storage Queue Data Reader (Preview)"

If you want to use the old authentication method and allow querying for the right account key, please use the "--auth-mode" parameter and "key" value.

The command failed with an unexpected error. Here is the traceback:

'CommandResultItem' object is not iterable
Traceback (most recent call last):
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-v1m4qsu_\knack\knack\cli.py", line 212, in invoke
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-v1m4qsu_\knack\knack\output.py", line 132, in out
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-v1m4qsu_\knack\knack\output.py", line 38, in format_json
TypeError: 'CommandResultItem' object is not iterable

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az storage container create -n {} --sas-token {} --account-name {}

az storage container create -n ala --sas-token "https://rname.blob.core.windows.net/rbcdatalake?se=2019-05-30T23%3A59Z&sp=rwdlacup&sv=2018-03-28&ss=b&srt=sco&sig=blah" --account-name somename1
Expected Behavior
container "ala" is created
Environment Summary
Windows-10-10.0.17763-SP0
Python 3.6.6
Shell: cmd.exe

azure-cli 2.0.64

Extensions:
dev-spaces-preview 0.1.6
resource-graph 0.1.8
storage-preview 0.2.5
subscription 0.1.1

Additional Context

I am also getting this after upgrading from 2.0.62 to 2.0.64

@awysza, as you are Owner on the Subscription. You should login as your account with command 'az login'. Then you can just use command as 'az storage container create -n ala --account-name somename1' to create "ala" container.
You don't need to pass the --sas-token as CLI will get the token for you with your login credential. If you do want to pass the --sas-token, you should pass it just token key not the url like "https://rname.blob.core.windows.net/rbcdatalake?se=2019-05-30T23%3A59Z&sp=rwdlacup&sv=2018-03-28&ss=b&srt=sco&sig=blah"
Let me know if that works for you.

I think I might be running into the same problem. When I run the command 'az storage container create --name myblobname --accountname mystorageaccountname' it produces the above error message. So, no SAS tokens used and providing the key (with --account-key) does not help. Shouldn't be necessary because I am owner on the resource.
Note: as I am running this via cloud-shell I am already logged on. Creating the same container via the portal works fine.

I got this error recently after adding "--default-action Deny" to "storage account create"
In addition i had also added network-rule "storage account network-rule add" only allowing access from an on prem server. It seems the public ip of the machine from where you are running azure-cli also needs access.

I also get the exact same error. Please fix.

Please post the details of the command and the error output. If you can rerun the command with --debug, send the details to<EMAIL_ADDRESS>That will help the repro and debug. Thanks.

@limingu Same issue. Windows 10, Azure Cli v 2.0.65 (latest version downloaded today 3rd June 2019)
Error running command 'az storage blob upload -f  -c resources -n  --auth-mode key --account-name --account-key ': exit status 1. Output: ERROR:
You do not have the required permissions needed to perform this operation.
Depending on your operation, you may need to be assigned one of the following roles:
"Storage Blob Data Contributor (Preview)"
"Storage Blob Data Reader (Preview)"
"Storage Queue Data Contributor (Preview)"
"Storage Queue Data Reader (Preview)"
If you want to use the old authentication method and allow querying for the right account key, please use the "--auth-mode" parameter and "key" value.

@CPeacockSoltec, can you send me the details of the command with --debug? Please also verify that your account-key has the permission to upload the blob.

@limingu
az storage blob upload -f FILE.txt -c resources -n FILE.txt --auth-mode key --account-name SANAME--account-key KEY --debug
Command arguments: ['storage', 'blob', 'upload', '-f', 'FILE.txt', '-c', 'resources', '-n', 'FILE.txt', '--auth-mode', 'key', '--account-name', 'SANAME', '--account-key', 'KEY', '--debug']
Event: Cli.PreExecute []
Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x03C422B8>, <function OutputProducer.on_global_arguments at 0x03D00078>, <function CLIQuery.on_global_arguments at 0x03D1CC90>]
Event: CommandInvoker.OnPreCommandTableCreate []
Installed command modules ['acr', 'acs', 'advisor', 'ams', 'appservice', 'backup', 'batch', 'batchai', 'billing', 'botservice', 'cdn', 'cloud', 'cognitiveservices', 'configure', 'consumption', 'container', 'cosmosdb', 'dla', 'dls', 'dms', 'eventgrid', 'eventhubs', 'extension', 'feedback', 'find', 'hdinsight', 'interactive', 'iot', 'iotcentral', 'keyvault', 'kusto', 'lab', 'maps', 'monitor', 'network', 'policyinsights', 'profile', 'rdbms', 'redis', 'relay', 'reservations', 'resource', 'role', 'search', 'security', 'servicebus', 'servicefabric', 'signalr', 'sql', 'sqlvm', 'storage', 'vm']
Loaded module 'acr' in 0.006 seconds.
Loaded module 'acs' in 0.013 seconds.
Loaded module 'advisor' in 0.003 seconds.
Event: CommandLoader.OnLoadCommandTable []
Loaded module 'ams' in 0.008 seconds.
Loaded module 'appservice' in 0.006 seconds.
Loaded module 'backup' in 0.006 seconds.
Event: CommandLoader.OnLoadCommandTable []
Loaded module 'batch' in 0.010 seconds.
Loaded module 'batchai' in 0.005 seconds.
Loaded module 'billing' in 0.002 seconds.
Loaded module 'botservice' in 0.005 seconds.
Event: CommandLoader.OnLoadCommandTable []
Loaded module 'cdn' in 0.005 seconds.
Loaded module 'cloud' in 0.003 seconds.
Loaded module 'cognitiveservices' in 0.002 seconds.
Loaded module 'configure' in 0.001 seconds.
Loaded module 'consumption' in 0.004 seconds.
Loaded module 'container' in 0.005 seconds.
Loaded module 'cosmosdb' in 0.004 seconds.
Loaded module 'dla' in 0.004 seconds.
Loaded module 'dls' in 0.005 seconds.
Loaded module 'dms' in 0.004 seconds.
Loaded module 'eventgrid' in 0.002 seconds.
Loaded module 'eventhubs' in 0.003 seconds.
Loaded module 'extension' in 0.003 seconds.
Loaded module 'feedback' in 0.002 seconds.
Loaded module 'find' in 0.002 seconds.
Loaded module 'hdinsight' in 0.003 seconds.
Loaded module 'interactive' in 0.001 seconds.
Loaded module 'iot' in 0.005 seconds.
Loaded module 'iotcentral' in 0.002 seconds.
Loaded module 'keyvault' in 0.005 seconds.
Loaded module 'kusto' in 0.006 seconds.
Loaded module 'lab' in 0.004 seconds.
Loaded module 'maps' in 0.002 seconds.
Loaded module 'monitor' in 0.009 seconds.
Loaded module 'network' in 0.026 seconds.
Loaded module 'policyinsights' in 0.004 seconds.
Loaded module 'profile' in 0.002 seconds.
Loaded module 'rdbms' in 0.006 seconds.
Loaded module 'redis' in 0.003 seconds.
Loaded module 'relay' in 0.006 seconds.
Loaded module 'reservations' in 0.003 seconds.
Loaded module 'resource' in 0.007 seconds.
Loaded module 'role' in 0.006 seconds.
Loaded module 'search' in 0.003 seconds.
Loaded module 'security' in 0.005 seconds.
Loaded module 'servicebus' in 0.005 seconds.
Loaded module 'servicefabric' in 0.003 seconds.
Loaded module 'signalr' in 0.002 seconds.
Loaded module 'sql' in 0.008 seconds.
Loaded module 'sqlvm' in 0.003 seconds.
Event: CommandLoader.OnLoadCommandTable []
Loaded module 'storage' in 0.032 seconds.
Loaded module 'vm' in 0.013 seconds.
Loaded all modules in 0.288 seconds. (note: there's always an overhead with the first module loaded)
Extensions directory: 'C:\Users\USERNAME.azure\cliextensions'
Event: CommandInvoker.OnPreCommandTableTruncate []
Event: CommandLoader.OnLoadArguments []
Event: CommandInvoker.OnPostCommandTableCreate [<function register_global_subscription_argument..add_subscription_parameter at 0x03CBEC00>, <function register_ids_argument..add_ids_arguments at 0x03CDEF60>]
Event: CommandInvoker.OnCommandTableLoaded []
Event: CommandInvoker.OnPreParseArgs [<function _documentdb_deprecate at 0x04C97588>]
Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x03D000C0>, <function CLIQuery.handle_query_parameter at 0x03D1CCD8>, <function register_ids_argument..parse_ids_arguments at 0x03CDEFA8>, <function handler at 0x04D2EAE0>]
Getting data service client service_type=BlockBlobService
azure.multiapi.storage.v2018_03_28.common._auth : String_to_sign=PUT
848
x-ms-blob-content-type:text/plain
x-ms-blob-type:BlockBlob
x-ms-client-request-id:ID
x-ms-date:Tue, 04 Jun 2019 08:30:13 GMT
x-ms-version:2018-03-28
/SANAME/resources/FILE.txt
azure.multiapi.storage.v2018_03_28.common.storageclient : Client-Request-ID=ID Outgoing request: Method=PUT, Path=/resources/FILE.txt, Query={'timeout': None}, Headers={'x-ms-blob-type': 'BlockBlob', 'x-ms-lease-id': None, 'If-Modified-Since': None, 'If-Unmodified-Since': None, 'If-Match': None, 'If-None-Match': None, 'x-ms-blob-cache-control': None, 'x-ms-blob-content-type': 'text/plain', 'x-ms-blob-content-disposition': None, 'x-ms-blob-content-md5': None, 'x-ms-blob-content-encoding': None, 'x-ms-blob-content-language': None, 'Content-Length': '848', 'x-ms-version': '2018-03-28', 'User-Agent': 'Azure-Storage/1.3.0-1.3.1 (Python CPython 3.6.6; Windows 10) AZURECLI/2.0.59', 'x-ms-client-request-id': 'ID', 'x-ms-date': 'Tue, 04 Jun 2019 08:30:13 GMT', 'Authorization': 'SharedKey SANAME:KEY'}.
urllib3.connectionpool : Starting new HTTPS connection (1): SANAME.blob.core.windows.net:443
urllib3.connectionpool : https://SANAME.blob.core.windows.net:443 "PUT /resources/FILE.txt HTTP/1.1" 403 246
azure.multiapi.storage.v2018_03_28.common.storageclient : Client-Request-ID=ID Receiving Response: Server-Timestamp=Tue, 04 Jun 2019 08:30:10 GMT, Server-Request-ID=ID, HTTP Status Code=403, Message=This request is not authorized to perform this operation., Headers={'content-length': '246', 'content-type': 'application/xml', 'server': 'Microsoft-HTTPAPI/2.0', 'x-ms-request-id': 'ID', 'x-ms-error-code': 'AuthorizationFailure', 'date': 'Tue, 04 Jun 2019 08:30:10 GMT'}.
azure.multiapi.storage.v2018_03_28.common.storageclient : Client-Request-ID=ID Operation failed: checking if the operation should be retried. Current retry count=0, Server-Timestamp=Tue, 04 Jun 2019 08:30:10 GMT, Server-Request-ID=ID, HTTP status code=403, Exception=This request is not authorized to perform this operation. ErrorCode: AuthorizationFailureAuthorizationFailureThis request is not authorized to perform this operation.RequestId:IDTime:2019-06-04T08:30:11.4070873Z.
azure.multiapi.storage.v2018_03_28.common.storageclient : Client-Request-ID=ID Retry policy did not allow for a retry: Server-Timestamp=Tue, 04 Jun 2019 08:30:10 GMT, Server-Request-ID=ID, HTTP status code=403, Exception=This request is not authorized to perform this operation. ErrorCode: AuthorizationFailureAuthorizationFailureThis request is not authorized to perform this operation.RequestId:IDTime:2019-06-04T08:30:11.4070873Z.
You do not have the required permissions needed to perform this operation.
Depending on your operation, you may need to be assigned one of the following roles:
"Storage Blob Data Contributor (Preview)"
"Storage Blob Data Reader (Preview)"
"Storage Queue Data Contributor (Preview)"
"Storage Queue Data Reader (Preview)"
If you want to use the old authentication method and allow querying for the right account key, please use the "--auth-mode" parameter and "key" value.
Event: CommandInvoker.OnFilterResult []
'CommandResultItem' object is not iterable
Traceback (most recent call last):
File "C:\Users\VssAdministrator\AppData\Local\Temp\pip-install-bsrj0zf4\knack\knack\cli.py", line 212, in invoke
File "C:\Users\VssAdministrator\AppData\Local\Temp\pip-install-bsrj0zf4\knack\knack\output.py", line 132, in out
File "C:\Users\VssAdministrator\AppData\Local\Temp\pip-install-bsrj0zf4\knack\knack\output.py", line 38, in format_json
TypeError: 'CommandResultItem' object is not iterable
telemetry.save : Save telemetry record of length 2499 in cache
telemetry.check : Negative: The C:\Users\USER.azure\telemetry.txt was modified at 2019-06-04 09:23:42.075288, which in less than 600.000000 s

Any update on the topic? Which is the previous version that does not contain this bug?

I think there was an update in feb 2019. That worked fine. Still waiting for feedback from @limingu

@CPeacockSoltec for the log:
azure.multiapi.storage.v2018_03_28.common.storageclient : Client-Request-ID=ID Receiving Response: Server-Timestamp=Tue, 04 Jun 2019 08:30:10 GMT, Server-Request-ID=ID, HTTP Status Code=403, Message=This request is not authorized to perform this operation., Headers={'content-length': '246', 'content-type': 'application/xml', 'server': 'Microsoft-HTTPAPI/2.0', 'x-ms-request-id': 'ID', 'x-ms-error-code': 'AuthorizationFailure', 'date': 'Tue, 04 Jun 2019 08:30:10 GMT'}.
The authorization failed. It seems that the account key may be not correct. Can you try the following command:
az login
az storage blob upload -f FILE.txt -c resources -n FILE.txt --account-name SANAME --debug

is it possible that you configured a firewall that restricts the source ip of your request?

This is definitely related to the storage account's --default-action setting.
As subscription Owner with a freshly created account with --default-action deny, I get the error message as per the bug report. When I change it to allow, container creation works.
This seems to be regardless of the container creation --auth-mode setting - key or login.

Every request has to obey the firewall settings independent from its role and permissions as far as I know. The default-action you @jpluscplusm described just supports that.

I'm coming across this same issue, using sas. And the blob storage account has the defaultAction set to allow already, still not working.

Hi @awysza Have your problem solved by setting firewall?

Can we re-open this issue? - it's still a problem.

@Juliehzl
This issue is definitely still there in azure cli 2.0.76.
To reproduce: Create a new storage account using the CLI and set default-action Deny then try to create a storage container.
If you repeat the steps above but set default-action Allow then it all works.


clight: 4.2 -> 4.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/FedeDP/Clight/releases.
meta.description for clight is: "A C daemon that turns your webcam into a light sensor"
meta.homepage for clight is: "https://github.com/FedeDP/Clight"
meta.changelog for clight is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 4.3 with grep in /nix/store/r8d2kci3wa4h91hv5l8iapi7maqhl6f7-clight-4.3

directory tree listing: https://gist.github.com/d1d18d4a87c1b5cd440a6e7a9c56383e

du listing: https://gist.github.com/dc8be8d4e9df9ea16d77718e9adc2bb2

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
clight

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/r8d2kci3wa4h91hv5l8iapi7maqhl6f7-clight-4.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A clight https://github.com/r-ryantm/nixpkgs/archive/d07b0ca3f2baeb70435f68a8d30d1886eefbd8f0.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/r8d2kci3wa4h91hv5l8iapi7maqhl6f7-clight-4.3
ls -la /nix/store/r8d2kci3wa4h91hv5l8iapi7maqhl6f7-clight-4.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

clight

Maintainer pings
cc @eadwu for testing.

Result of nixpkgs-review pr 114631 at d07b0ca3 run on aarch64-linux 1

1 package built:

clight

1 suggestion:

warning: unclear-gpl
gpl3 is a deprecated license, check if project uses gpl3Plus or gpl3Only and change meta.license accordingly.
Near pkgs/applications/misc/clight/default.nix:56:5:
   |
56 |     license = licenses.gpl3;
   |     ^

4.4 is out as of 2 days ago, just FYI


Would you consider updating react-hot-loader?

Currently, the client project uses v1.3.0 of react-hot-loader.
There are quite a few issues with that old version, which are fixed by the recent 3.0 beta versions. Would you please consider updating to that version? (There are examples out there about using that.)
Thanks.

Yes, I thought about that. For sure it needs to be updated.
I'll try to do this as soon as the version 3 come out of beta.

I'll try to do this as soon as the version 3 come out of beta.

I asked about the schedule just recently: https://github.com/gaearon/react-hot-loader/pull/240#issuecomment-255593604
There is no ETA, but many are already migrating to the beta, because the errors in the old version are worse than the remaining problems with the new beta.

Ok, so I'll get back to it soon. Thanks.

I asked about the schedule just recently:
https://github.com/gaearon/react-hot-loader/pull/240#issuecomment-255593604
There is no ETA, but most people are already migrating to it, because the
errors in the old version are worse than the remaining problems with the
new beta.

Updated


[dashing backport] Remove uncessary call to render scene (#490)

Backport #490 to Dashing

The builds are coming back "failed" due to an issue with the upgraded XUnit plugin and the XML generated by some of our tests. I've pasted the actual colcon test-result summary below each build.

Linux
Summary: 2283 tests, 0 errors, 0 failures, 22 skipped

Linux-aarch64
Summary: 2283 tests, 0 errors, 0 failures, 22 skipped

macOS
Summary: 2283 tests, 0 errors, 0 failures, 22 skipped

Windows
Summary: 2031 tests, 0 errors, 0 failures, 62 skipped


prettified signature input and buttons

Ok so I ended up making a bit more cosmetic changes to this - I personally think this looks better - you might disagree 😄  Your know best. I'll explain each change individually. If you merge this please ignore #1 or close that one without merging, since this one includes that too.
Here's the end result:

really thanks for the improvements @tabacitu


fix(client): add 'findRaw' to PrismaAction for mongodb findRaw middleware queries

TS middleware has error
This condition will always return 'false' since the types 'PrismaAction' and '"findRaw"' have no overlap.ts(2367)
Example code:
const results = await prisma.user.findRaw({
  filter: { ... }
})

prisma.$use(async (params, next) => {
  if (params.action === 'findRaw') {
    // ...
  }
  return next(params)
})

Added action findRaw to enumerator.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Looks like this PR is open since 18 days now.
Someone from client team will need to review this before we can merge @millsp @aqrln


Docs/examples cleanup for Request/Response/Content/Types

"media type" vs "media-type" consistency
Broken or inconsistent formatting in samples
A few tweaks here and there

Looks good to me.  We can sanitize the wording later as I'm certain there will be more cleanup to do.


3.0.0: One test fails: AttributeError: module 'jsonpickle.ext' has no attribute 'gmpy'

=========================================================================================== ERRORS ===========================================================================================
_______________________________________________________________________ ERROR at setup of EcdsaTestCase.test_roundtrip _______________________________________________________________________

    @pytest.fixture(scope='module', autouse=True)
    def gmpy_extension():
        """Initialize the gmpy extension for this test module"""
>       jsonpickle.ext.gmpy.register_handlers()
E       AttributeError: module 'jsonpickle.ext' has no attribute 'gmpy'

tests/ecdsa_test.py:15: AttributeError
====================================================================================== warnings summary ======================================================================================
../../../../../../usr/local/lib/python3.9/site-packages/_pytest/config/__init__.py:1294
  /usr/local/lib/python3.9/site-packages/_pytest/config/__init__.py:1294: PytestConfigWarning: Unknown config option: flake8-max-line-length

    self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")

../../../../../../usr/local/lib/python3.9/site-packages/pytest_freezegun.py:17: 634 warnings
  /usr/local/lib/python3.9/site-packages/pytest_freezegun.py:17: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    if LooseVersion(pytest.__version__) < LooseVersion('3.6.0'):

tests/numpy_test.py::test_ndarray_roundtrip
  /disk-samsung/freebsd-ports/devel/py-jsonpickle/work-py39/jsonpickle-3.0.0/jsonpickle/ext/numpy.py:307: UserWarning: ndarray is defined by reference to an object we do not know how to serialize. A deep copy is serialized instead, breaking memory aliasing.
    warnings.warn(msg)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================================================================================== short test summary info ===================================================================================
SKIPPED [1] tests/sklearn_test.py:9: sklearn is not available
SKIPPED [1] tests/feedparser_test.py:85: feedparser module not available, please install
SKIPPED [1] tests/sqlalchemy_test.py:90: sqlalchemy is not installed
SKIPPED [1] tests/sqlalchemy_test.py:42: sqlalchemy is not installed
SKIPPED [1] tests/sqlalchemy_test.py:66: sqlalchemy is not installed
SKIPPED [1] tests/bson_test.py:32: bson is not installed
SKIPPED [1] tests/bson_test.py:48: bson is not installed
SKIPPED [1] tests/bson_test.py:73: bson is not installed
SKIPPED [1] tests/bson_test.py:64: bson is not installed
SKIPPED [1] tests/bson_test.py:56: bson is not installed
SKIPPED [1] tests/bson_test.py:40: bson is not installed
SKIPPED [1] tests/backend_test.py:76: ujson not available; please install
SKIPPED [1] tests/backend_test.py:68: ujson not available; please install
SKIPPED [1] tests/backend_test.py:180: ujson not available; please install
SKIPPED [1] tests/backend_test.py:115: simplejson not available; please install
SKIPPED [1] tests/backend_test.py:145: simplejson not available; please install
SKIPPED [1] tests/backend_test.py:76: simplejson not available; please install
SKIPPED [1] tests/backend_test.py:105: simplejson not available; please install
SKIPPED [1] tests/backend_test.py:68: simplejson not available; please install
SKIPPED [1] tests/backend_test.py:68: yajl not available; please install
SKIPPED [1] tests/backend_test.py:76: yajl not available; please install
SKIPPED [1] tests/backend_test.py:166: yajl not available; please install
============================================================= 292 passed, 22 skipped, 3 xpassed, 636 warnings, 1 error in 3.49s ==============================================================
*** Error code 1

python-3.9
FreeBSD 13.1

Can you show the output of pip show gmpy2?

$ pip show gmpy2
ERROR: Exception:
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3021, in _dep_map
    return self.__dep_map
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2815, in __getattr__
    raise AttributeError(attr)
AttributeError: _DistInfoDistribution__dep_map

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3012, in _parsed_pkg_info
    return self._pkg_info
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2815, in __getattr__
    raise AttributeError(attr)
AttributeError: _pkg_info

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 167, in exc_logging_wrapper
    status = run_func(*args)
  File "/usr/local/lib/python3.9/site-packages/pip/_internal/commands/show.py", line 45, in run
    if not print_results(
  File "/usr/local/lib/python3.9/site-packages/pip/_internal/commands/show.py", line 148, in print_results
    for i, dist in enumerate(distributions):
  File "/usr/local/lib/python3.9/site-packages/pip/_internal/commands/show.py", line 103, in search_packages_info
    required_by = sorted(_get_requiring_packages(dist), key=str.lower)
  File "/usr/local/lib/python3.9/site-packages/pip/_internal/commands/show.py", line 93, in <genexpr>
    in {canonicalize_name(d.name) for d in dist.iter_dependencies()}
  File "/usr/local/lib/python3.9/site-packages/pip/_internal/metadata/pkg_resources.py", line 199, in iter_dependencies
    return self._dist.requires(extras)
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2736, in requires
    dm = self._dep_map
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3023, in _dep_map
    self.__dep_map = self._compute_dependencies()
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3032, in _compute_dependencies
    for req in self._parsed_pkg_info.get_all('Requires-Dist') or []:
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3014, in _parsed_pkg_info
    metadata = self.get_metadata(self.PKG_INFO)
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1420, in get_metadata
    value = self._get(path)
  File "/usr/local/lib/python3.9/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1616, in _get
    with open(path, 'rb') as stream:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.9/site-packages/hatch_vcs-0.2.0.dist-info/METADATA'

Huh, that's really interesting. I wonder if it's an issue with pip and gmpy's interaction with FreeBSD. When I googled the first error, I found this, and it seems to indicate that some dependency in the dependency chain (likely hatch-vcs) is having problems. According to PyPi, hatch-vcs recently released a 0.3.0 and a 0.2.1 version, so trying to install both of those first might help.

We also never use pip. The FreeBSD ports framework uses distutils and alike to install packages, and never pip.

Ah. If I recall correctly, isn't distutils deprecated as of 3.12? Also, does building with setuptools work on FreeBSD, or is that broken too?


ci: commit convention

Goal
Ensure all of our commit messages follow a standard convention. This checks messages commit-message hook.
We are using Husky which is a tool to run scripts at different stages of the git process.
For messages we use @commitlint/config-conventional with a set of rules.
Also during pre-commit, eslint and prettier are checked.
Example of use
Incorrect message:

Success message:

:tada: This PR is included in version 2.1.0-stage.1 :tada:
The release is available on:

npm package (@stage dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


feat(api): remove callback of uploading

As all of the metadata of uploaded object will be saved into block.content, there is no need for saving it again in another table.
Note: the deployment documentation should be updated after this PR got merged

/cc @domechn


x/tools/gopls: show hex/binary literal with which a const was declared on mouse over

What did you do?
Mouse over a hex/binary notation integer
const hex, bin, oct = 0xe34e, 0b10101, 071

// Mouse over variable name `hex` or `bin` shows decimal representation
c := hex * bin

What did you expect to see?
The literal used to declare the const. Usually when one declares a const in hex, binary or octal representation it carries with it a significance, to aid the reader of the code. If we wrote programs for machines gofmt would convert these literals to decimals or whatever the computer like.
With the philosophy out of the way, I expected to see:

const hex untyped int = 0xe34e   (58190)
const bin untyped int = 0b10101  (21).

What did you see instead?
The usual gopls help string of

const hex untyped int = 58190
const bin untyped int = 21.

Isn't it a duplicate of #45802? Can you please check if the fix in<EMAIL_ADDRESS>meets what you want?

@hyangah negative. The issues are similar in nature though. I'm not asking for literal evaluation but rather that gopls show me how the author initialized a const integer since there are around 5 ways of initializing the same number and usually non-decimal form carries useful information about certain bits (i.e. bitfields, masks)

Hey there! I'd like to bump this issue. This is something I regularly run into. I use Go for firmware/embedded systems and hexadecimals plague my code. It'd be really nice to get this mouse-over information

I wonder, to me it would suffice if the decimal representation was shown next to a hexadecimal representation. This is similar to how time.Duration is displayed on mouse hover:
const time.Millisecond time.Duration = 1000000 // 1ms

@ShoshinNikita first of all, I'm very sorry about https://go.dev/cl/381961, which appears to have gotten stuck in limbo.  If you would be interested in seeing this through, we would greatly appreciate the contribution. You can send the CL to me and I'll be sure to get it in expediently.
Yes, I had to refactor hover to disentangle the places where we depended on implicit relationships between packages or parsed files (so that we can break these relationships to improve gopls' scaling). I hope that it is easier to contribute to now, so please let me know if you find otherwise.
If you want to put the logic into the const block of objectString, that's OK. I'll eventually get around to that TODO. That TODO means this: objectString looks almost entirely like types.ObjectString, except when it doesn't: when the object is a const or when the type has inferred arguments (and the latter only occurs at one call site). It would be simpler to avoid the abstraction and just handle the special case(s) at the call site. Specifically, I think we'd just need to handle the const case in the one location where we format a general object string (here).
But as I said, it would be fine if you just modify the const case of objectString.

@findleyr no problem. The original PR was too outdated. So, I decided to create a new one - https://go.dev/cl/480695

Just curious: how would it render a constant made out of other constants and literals?

@soypat as it was declared:
const shift untyped int = 64 - 11 - 1 // 52

const fracMask untyped int = 1<<shift - 1 //<PHONE_NUMBER>370495


[CHALLENGE SUBMISSION]

Please provide the following information for your submission:
What is your name? (First, Last)
Oleksandr, Sudom
Where is your GitHub Repo ?(With your challenge solution)
https://github.com/Alex0M/Terraform-On-Azure-Workshop
What Challenge is this for? (Challenge number between 1 and 5)
1
(Optional) Anything else we should know? e.g., language used, location, blog post?
Hi,
I used the local-exec provisioner for configuring the GitHub deployment setting for an App Service. I think it can be a solution for configured through Terraform.
Thanks

Thanks for participating in the #TerraformOnAzure coding challenges!
We have attached your very special Astronaut Badger background, for you to use in all your upcoming video calls!
And to recognize you for your learning, you can collect your digital Azure Heroes badge on your mobile (you may need to install the Enjin wallet to collect it). Make sure to collect it today!
https://beam.enjin.io/claim/d32599695c8c28cfc24820492080fac0
Keep on learning and sharing!
Greetings from the #TerraformOnAzure team,
Suzanne, Floor, Erik & Nick


Update README.md

Added filters in S3:ObjectCreated:* S3 event source configuration example.

Coverage remained the same at 73.933% when pulling a84e03176aa4e65a6ea51b30206978264f02f0eb on sumeet-:master into 4be07284c09c8658665ca5811249249fcc92e5c0 on Miserlou:master.


send pre_save and post_save signals before and after bulk_update

I think this should be nice feature

It's a great feature, but It could break backwards compatibility. I think it should be optional behaviour.

Django's bulk_create emit those signals and i don't think it should be implemented here.
https://docs.djangoproject.com/en/2.1/ref/models/querysets/#bulk-create

As @itimky said, this can be done optionally. Moreover there is default implementation of bulk_update out of the box already: in django 2.2


Produce source maps for local typescriptServices build

Fixes #41439. Confirmed gulp lkg doesn’t put any new map files in lib.

Confirmed gulp lkg doesn’t put any new map files in lib.

Just checking.. even though sourcemaps are not copied wouldnt js file have ///sourcemap link ? or is that also managed in the gulp script somewhere.

Hmm, good question, but they already have that<EMAIL_ADDRESS>

@sheetalkamat any ideas whether this needs changes? The outputs seem to match what already exists, but I’m open to improving that if necessary.


multi-word searches do not find channel/claim names

For example searching jordan peterson does not find his channel when doing a channel search. However, searching jordan or peterson does.
Another example is sword and scale. Both sword and scale work fine but together it does not.

@kauffj @tzarebczan both identified this problem.

I was able to solve this by parsing the query into individual terms and adding sub queries for each term with a contains. I added this for claim name, author, title, and description.


don't ignore Sysex, Time and Sense messages with RtMidiAccess

sysex, time and sense messages are ignored by RtMidi by default
this PR will allow to receive them

darn, correction:

app event handlers should be notified of MIDI clock and active sensing

app event handlers should NOT be notified of MIDI clock and active sensing

I actually needed only sysex messages and thought that sense and time might be as useful as sysex messages. Thanks for the explanation, I'll disable them!

Thanks!


[JS] Topic: TypeScript

Description 📜
Fixes #5128

Type of change 📝

[ ] Au#dio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Vi#deo (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[x] Documentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev #(Flutter)
[ ] Android Dev #(Java)
[ ] Android Dev #(Kotlin)
[ ] Backend Dev #(Java)
[ ] Backend Dev #(.NET)
[ ] Backend Dev #(PHP)
[ ] Backend Dev #(Python)
[ ] C/#CPP
[ ] Competitive #Programming
[ ] Cyber #Security
[ ] DS#A
[ ] Data#base
[ ] Datascience with #Python
[ ] Datascience with #R
[ ] Frontend Dev #HTML/CSS/JS
[ ] Frontend Dev #React/Angular/Vue
[ ] Go#lang
[ ] Interview #Prep
[ ] Java_#Domain
[x] JavaScript_Domain
[ ] ME#RN
[ ] Machine #Learning
[ ] Open #Source
[ ] Python_#Domain
[ ] Ru#st
[ ] Statis#tics
[ ] UI/#UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@paramsiddharth sir please review my pr and tell if I need to improve something

Okay

@paramsiddharth is it fine now

@subhendudash02 is it fine now

Cool!👍 Let mentors check on their side and I am not sir😂, I am a contributor like you.

@Creatoon @dakshsethi @s4-2 @amino19 Please review.

done @dakshsethi

@paramsiddharth please merge this if it has been approved

@paramsiddharth done


Source healthcheck endpoint from build argument

Default to the naive http://<IP_ADDRESS>:8080/.container/status healthcheck endpoint but support the ability to pass in another at build time.
Also, consider configurability of the retries and timeout -- what are defaults used in other images? Do the current defaults make sense?

The custom healthcheck endpoint should be included in the list of paths not included in the access log.


Missing workspace.json

When executing nx run workspace:version --sync-versions true --root-changelog false in my nx repo I get the following warning:
(node:7184) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open 'project/workspace.json'
(Use `node --trace-warnings ...` to show where the warning was created)
(node:7184) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:7184) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

NX version: "@nrwl/workspace": "11.1.5"

@petergrau Could you provide a reproduction please? I will dig in it. However the path 'project/workspace.json' seems not correct  at first look but I need to have more context.

@petergrau Could you provide a reproduction please? I will dig in it. However the path 'project/workspace.json' seems not correct at first look but I need to have more context.

I added semver using ng add @jscutlery/semver and then executed nx run workspace:version --sync-versions true --root-changelog false. (Adding it complete without an error.)
(project was the replacement for the path to the nx workspace)

Oh ok I didn't noticed it was a warning. I see now, it's because we're reading the angular.json file this way :
return readJsonFile(resolve(workspaceRoot, 'workspace.json')).pipe(
  catchError(() => readJsonFile(resolve(workspaceRoot, 'angular.json')))
);

We should check if the file exist before reading it, but I don't get why an unhandled promise is raised, we're actually handling the error notification.

Thanks @petergrau for the issue.
There was actually a problem with the readJsonFile function as it is using from instead of defer. If the error is triggered before we subscribe and implicitly add an error catcher, it would crash. I am sharing a fix right now.
@edbzn Actually, I am more in favor of the pythonic approach of "Easier to Ask for Forgiveness than Permission" https://docs.python.org/3.9/glossary.html#term-eafp instead of https://docs.python.org/3.9/glossary.html#term-lbyl 🐍

I didn't know about these approaches and I love it! I use it in real life too, so why not in code. :smile:

It also works in the mountains. If I fall then it's a hole 😅.


Add version badge for VPM Repository

📋 Description

Which service is this badge for?

The version badge for VPM, VRChat Package Manager.

What sort of information should this badge show?

As other version badges show, version name should be shown.
For com.anatawa12.animator-controller-as-a-code at https://vpm.anatawa12.com/vpm.json, badge should be .
🔗 Data

Where can we get the data from?
Is there a public API?

We can get from VPM Repository JSON.
As there's no official repository to publish user packages, I think it's good to request users for URL to VPM Repository.

Does the API require authentication or an API key?

AFAIK, we cannot have access restrictions for VPM repositories. We should just HTTP Get request to the json.

Link to the API documentation.

Here's documentation for format of VPM repository: https://vcc.docs.vrchat.com/vpm/repos
🎤 Motivation

What is the specific use case?

Same as endpoints for other package version badges, I wait to put badge on the README.

Hay there, I am new to open source, can you please mentor me and assign me some new basic issue which I can solve and give back to this open source community.


Addition of Forseti Under a Folder

Hi Forseti Team,
Can I add the project under a folder in the organization and continue using it as my ORG Admin do not want to give Org Admin Role to a User?

Follow-up here with user to clarify that ORG admin is still needed to install, but the project can be located anywhere.

Hi @aviakasurvivor ,
You can create a Forseti project under a folder in the organization.
Please note that we are not assigning the Org Admin role to any of the Forseti service accounts. The only requirement is that the person who runs the installation will need to have the Org Admin role. Does that address your concern?
Thanks,
Joe

Hi @aviakasurvivor , I will close this issue for now - feel free to re open this issue if you still have more questions!


ThumbnailExtensions.txt not obeyed.

Pre loader will end up generating for thumbnails for file extensions even if they don't exist in ThumbnailExtensions.txt
For example: I deleted the standard list:
avif
bmp
gif
heic
jpg
jpeg
mkv
mov
mp4
png
svg
tif
tiff
webp

Then added```
3mf
stl
gcode

But it continues to generate thumbnails for jpgs.

It also be nice if we could pass an extension list  as command line parameter rather than relying on an external file.
 That way I could generate different sets of thumbnails for different folders.

Hello, I found out that the program was only reading the ThumbnailExtensions file if it was within the same directory as the executable as I unfortunately didn't add the code to include a check for the file if located in ProgramData when installing v1.1.1.
I will be fixing this bug and also will be attempting to make the directory scanning multithreaded to help make up for this issue.
For use in the command line parameters, would you prefer selecting thumbnail extensions to work like this:
"WinThumbsPreloader.exe -m -r -3mf -stl -gcode "path""
or would you prefer to have the extensions passed in to the command line in a different way?

That's interesting because I wasn't running it from program files.
I think something like:
"WinThumbsPreloader.exe -m 5 -r -e 3mf stl gcode "path""
Or
"WinThumbsPreloader.exe -m 5 -r -d 128,256 -e 3mf,stl,gcode "path""
That fits more with other CLI programs, because the extension list is one
parameter(with potentially multiple entries) not separate parameters.
Program should use its stored settings, unless they're overridden by
command line params
On Mon, Dec 23, 2024, 2:48 PM Mutahar @.***> wrote:

Hello, I found out that the program was only reading the
ThumbnailExtensions file if it was within the same directory as the
executable as I unfortunately didn't add the code to include a check for
the file if located in ProgramData when installing v1.1.1.
I will be fixing this bug and also will be attempting to make the
directory scanning multithreaded to help make up for this issue.
For use in the command line parameters, would you prefer selecting
thumbnail extensions to work like this:
"WinThumbsPreloader.exe -m -r -3mf -stl -gcode "path""
or would you prefer to have the extensions passed in to the command line
in a different way?
—
Reply to this email directly, view it on GitHub
https://github.com/Mfarooq360/WinThumbsPreloader/issues/11#issuecomment-2560279701,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAWKZOFE2YKMBYNPOW7LL32HBZIRAVCNFSM6AAAAABUDBEA76VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRQGI3TSNZQGE
.
You are receiving this because you authored the thread.Message ID:
@.***>


Add code samples for PHP

Thank you for helping make the Dapr documentation better!
Please follow this checklist before submitting:

[x] Read the contribution guide
[x] Commands include options for Linux, MacOS, and Windows within codetabs
[x] New file and folder names are globally unique
[x] Page references use shortcodes instead of markdown or URL links
[x] Images use HTML style and have alternative text
[x] Places where multiple code/command options are given have codetabs

In addition, please fill out the following to help reviewers understand this pull request:
Description
Adds PHP code samples where appropriate.
Issue reference
#1196

@withinboredom - can you please replace this PR with one that goes into v1.0 branch? (rc3 branch will be removed from the website very soon...)

rebasing

@orizohar rebased and retargeted the 1.0 branch.


Method exits are not collected

For https://github.com/apache/dubbo/commit/c84b745bb196f51cee304fa80c6821db9ea2d93d, even though there are no matched lines, the method exits should be collected.

https://github.com/apache/shardingsphere/commit/0170a81ebf1211a2003f7391307ea56e81e7f5d1

Return value is now collected for https://github.com/apache/dubbo/commit/c84b745bb196f51cee304fa80c6821db9ea2d93d.


KAFKA-12648: invoke exception handler for MissingSourceTopicException with named topologies

Followup to #11600 to invoke the streams exception handler on the MissingSourceTopicException, without killing/replacing the thread

Although there is a commit that says "exclude topologies with missing source topics from assignment" I could not find where the topologies are excluded from the assignment.

@cadonna ah, that commit was actually from the first PR, I think it's just a relic of how I did this PR on top of that one and rebased it. Sorry for the confusion.
Otherwise I believe I've addressed all your feedback, I did need to do a bit of refactoring for this  but it's ultimately a small technical difference -- please lmk if there's anything else, otherwise I'll merge if the build is green tomorrow
Thanks for the reviews!

On a related note, could we update the javadoc of the StreamsUncaughtExceptionHandler to emphasize the following:

@guozhangwang As far as I see the skipping of thread replacement is only used when namend topologies are used. Named topologies are not an official feature yet, so I do not see the need to update the javadocs. I would even try to avoid it to keep them simple. Of course, when named topologies become official, we should rectify the javadocs, but maybe then we also change the semantics of REPLACE_THREAD/CONTINUE as discussed above.

Test failures seem to be just flaky, triggered a rerun just to be sure

Made a final pass on the latest commits. LGTM!

Test failures are unrelated, merging to trunk 🥳


Redesign Directives - Experimental

Initial work experimenting with a different design for directives.
Not fully functional and a lot of cleanup required, but it was requested that a draft PR be raised to float the design and get some early feedback.

Continuation of my comments in the PR. We need to:

Add a map of resolvers (e.g. map[string]directive.ResolverVisitor to the schema as an option (already done)
Validate each instance of directive.ResolverVisitor against the corresponding DirectiveDefinition - to see if it has the appropriate struct fields and if they are of the correct types
When we start executing each field, we need to check if it has any directives and if yes, then create an instance of the corresponding directive.ResolverVisitor, then set the appropriate packer.ArgsPacker and pack/popupate all the struct fields based on the args.
Add a new field DirectiveVisitors to the resolvable.Field with the directive and its packed args.

Great job, Dave! It looks much better!

There is one issue I noticed. The directive args fields have to be pointers even if the directive args in the schema are non-nullable. For example in the @hasRole example or in the @customDirective in the tests.
For the first example try to run the @hasRole example locally:

cd ./examples/directives/authorization/
go run ./server/server.go
it presents you with a panic:panic: field "Role": string is not a pointer or a nullable type
        used by (*authorization.Resolver).PrivateGreet

goroutine 1 [running]:
github.com/graph-gophers/graphql-go.MustParseSchema(...)
        /Users/pavelnikolov/go/src/github.com/graph-gophers/graphql-go/graphql.go:69
main.main()
        /Users/pavelnikolov/go/src/github.com/graph-gophers/graphql-go/example/directives/authorization/server/server.go:22 +0x1ec
exit status 2

Change the Role field of the HasRoleDirective to be a pointer to a string instead and it works after running go server/server.go
navigate to http://localhost:8080
try a request:query {
    privateGreet(name: "Dave")
    publicGreet(name: "Dave")
}

with header:{"role": "admin"}

For the second example, in this test the custom directive struct also uses a pointer to its arg while the directive definition requires a non-nullable string.
And finally, why is this arg (i.e. hi) allowed to be a non-quoted string 🤔 ?

I decided to give it a try and I found the bug. I put a bug line in the makePacker function:
func (b *Builder) makePacker(schemaType types.Type, reflectType reflect.Type) (packer, error) {
	t, nonNull := unwrapNonNull(schemaType)
	fmt.Printf("DEBUG\nschema type: %+v, kind: %v\nnonNull: %v\nreflect type: %v\n", schemaType, schemaType.Kind(), nonNull, reflectType)
	if !nonNull {

and here is the output when I run it against the authorization example:
➜  authorization git:(59455bd) ✗ go run server/server.go
DEBUG
schema type: String!, kind: NON_NULL
nonNull: true
reflect type: string
DEBUG
schema type: String!, kind: NON_NULL
nonNull: true
reflect type: string
DEBUG
schema type: , kind: SCALAR
nonNull: false
reflect type: string
panic: field "Role": string is not a pointer or a nullable type
        used by (*authorization.Resolver).PrivateGreet

goroutine 1 [running]:
github.com/graph-gophers/graphql-go.MustParseSchema(...)

Which leads me to believe that the schemaType variable is not populated properly (see 3rd output).

I found a solution and will push a fix in a moment

This is still an issue:

And finally, why is this arg (i.e. hi) allowed to be a non-quoted string 🤔 ?

Now with the latest changes the unit tests fail 🎉 :
testing.go:111: unexpected error: got [graphql: could not unmarshal "hi" (string) into *string: incompatible type], want []

Refactoring of field resolution onto the fieldToExec type (receiver functions) has been split out from this work to be applied first, which should reduce the scope of this change. Those functions will still need to change to move from Before/After to the wrapping function approach applied here, but the changes should be easier to follow and more directly relate to that change, rather than also moving other code around
https://github.com/graph-gophers/graphql-go/pull/568


Reintroduce @class ProtoRPC; in ProtoService.h

I thought we had already done it?
Some people importing the header for a generated service rely on ProtoRPC being declared by it (transitively).

Ah, duh, we did it in the release 0.14 branch.


Visual tao

Collect all plot functionality into Visualization module.

Codecov Report

Merging #79 (5a8c3a5) into dev (bf2dbf5) will decrease coverage by 11.29%.
The diff coverage is 50.27%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##              dev      #79       +/-   ##
===========================================
- Coverage   67.93%   56.65%   -11.29%
===========================================
  Files          13       18        +5
  Lines        1076     1248      +172
===========================================
- Hits          731      707       -24
- Misses        345      541      +196

Impacted Files
Coverage Δ

src/Visualization.jl
0.00% <0.00%> (ø)

src/cluster.jl
0.00% <0.00%> (ø)

src/plotlyjs_wignerseitz.jl
0.00% <0.00%> (ø)

src/utilities/coordinatesystems.jl
13.90% <ø> (ø)

src/symmetry/PointSymmetry.jl
70.00% <28.57%> (-23.75%)
:arrow_down:

src/MeshMaps.jl
86.11% <50.00%> (+9.92%)
:arrow_up:

src/PolarMeshes.jl
88.97% <88.33%> (-5.86%)
:arrow_down:

src/AbstractMeshes.jl
91.22% <92.85%> (+29.68%)
:arrow_up:

src/OrthogonalMeshes.jl
98.07% <98.07%> (ø)

src/BZMeshes.jl
95.60% <100.00%> (+0.54%)
:arrow_up:

... and 7 more

... and 2 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


material umd js Cannot read property 'prototype' of undefined when using Systemjs

Bug, feature request, or proposal:
When attempting to import MaterialModule from material using material.umd.js I get the following error
"Cannot read property 'prototype' of undefined"
What is the expected behavior?
Load all material modules properly
What is the current behavior?
As above
Which versions of Angular, Material, OS, browsers are affected?
Angular 4.0.3
Material 2.0.0-beta.3
Systemjs 0.20.12
Rxjs 5.3.0

Actually we are using the UMD bundle inside of our Plunker template as well. Not sure what your setup is, but the bundle should work.

http://plnkr.co/edit/o077B6uEiiIgkC0S06dd?p=info

@DevVersion your plunker use Angular 2, look at my versions
Angular 4.0.3
Material 2.0.0-beta.3
Systemjs 0.20.12
Rxjs 5.3.0

@HeavenlyHost It's using Angular 4.0.3 and Material from master.

And yeah, I will try to remove the Angular 2 in our Plunker template. Seems to be confusing. Thx

Loading the Angular Material App...

That's weird. It works for me. Cleared my cache to be sure. Anything in the logs?

So the version of Systemjs is different, could this be a problem ?
Have you tried it with 0.20.12 ?

@DevVersion I do find this hard to believe as when I change my package json to line up with the libs that you are using I get the following from npm install

<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>
So in a nutshell, to use angular 4.0.3 you need at least zone.js 0.8.4 or above not 0.7.2, sorry chap !

anybody else want to chip in, I do need an urgent fix for this !!!

We haven't been able to reproduce this issue. Feel free to open a new issue if you are able to provide a reproduction via Plunker.