Update all NatureWatch urls to direct to iNaturalist NZ

With the changeover from naturewatch.org.nz to inaturalist.nz, NZBRN has requested that we update the urls.
The mission: Find naturewatch.org.nz site-wide and replace with inaturalist.nz.

That would be fantastic! It’s also a change in the links from http to https
There are a couple of comments on this from an eager community at https://inaturalist.nz/posts/16686-nature-watch-in-new-zealand-with-inaturalist-nz
Murray
From: carrieseltzer<EMAIL_ADDRESS>Sent: Tuesday, 3 July 2018 8:49 a.m.
To: inaturalist/inaturalist
Cc: Subscribed
Subject: [inaturalist/inaturalist] Update all NatureWatch urls to direct to iNaturalist NZ (#1833)
With the changeover from naturewatch.org.nz to inaturalist.nz, NZBRN has requested that we update the urls.
The mission: Find naturewatch.org.nz site-wide and replace with inaturalist.nz.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/inaturalist/inaturalist/issues/1833, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKTVVJXLwZt42gRxI149oqoDIt_d4hqlks5uCoc6gaJpZM4U_7AO.

Please consider the environment before printing this email
Warning: This electronic message together with any attachments is confidential. If you receive it in error: (i) you must not read, use, disclose, copy or retain it; (ii) please contact the sender immediately by reply email and then delete the emails.
The views expressed in this email may not be those of Landcare Research New Zealand Limited. http://www.landcareresearch.co.nz

Thanks Carrie.
For links in most places (like comments, observation descriptions), the domain name could also be removed altogether. That would make these links play nicely across all the iNat Network partners. So https://inaturalist.nz/observations/13895518 could just be
/observations/13895518 if inside an <a href> tag.
Jon

Let us know if there's a way we can help with this.

I assume there will be some exceptions, for example the post and comments at https://www.inaturalist.org/posts/16686 . I wonder if we should only convert links from content creates before 2018-05-21 which is when the domain changed.

This is all set.


property Component. Too few type arguments. Expected at least 1

If this is a bug, please try reproducing using https://flow.org/try/.

/* @flow */
import React, { Component } from "react"

class MyComponent extends Component {

}

Component requires at least one type argument:
class MyComponent extends Component<{}> {

}


Dead link to TODO list

The link in the readme to TODO list is not visible, it returns a 404 page. Perhaps you have to make the project "public" in some way.

Thanks for pointing that out! I've fixed this issue as suggested.
Best,
Jianxin
On Wed, 13 Mar 2024 at 15:43, Patrick Nicodemus @.***>
wrote:

The link in the readme to TODO list is not visible, it returns a 404 page.
Perhaps you have to make the project "public" in some way.
—
Reply to this email directly, view it on GitHub
https://github.com/owlbarn/owl/issues/660, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAK6ZA6FOJOIOBSX63Y5UTTYYBQYLAVCNFSM6AAAAABEUJZDOOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4DIMJYHA4TCMY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Possible ways to save memory usage for large datasets / object lists

Hi!
I would like to apply the sequencer to a dataset with about 100,000 objects each containing 500 samples. When started the Sequencer, I encounter an OutOFMemoryError (even though I am working on an HPC with almost 1TB memory available for my computation).
Do you have any suggestions on how I could be able to make the process more efficient (downsampling is not really an option)?
Thanks for your help!
Cheers,
Peter

Dear Peter,
Apologies for answering only now, I didn't receive a notification about your open issue.
I suspect that you encounter an OutOFMemoryError because you are using the default setting of the Sequencer, which includes several different distance estimators and scales. For each distance estimator, the Sequencer constructs several distance matrices, each corresponding to the distance within a given segment, as defined by the scale you're interested in. This results in a large number of 100,000*100,000 matrices, which can result in an OutOFMemoryError.
I suggest that you start with a simpler run, where you apply the Sequencer assuming a single distance metric and a single scale, e.g.:
estimator_list = ['L2']
scale_list = [[1]]
seq = sequencer.Sequencer(grid, objects_list, estimator_list, scale_list)

In this example, you apply the Sequencer using only the Euclidean distance, and using a single scale that does not break your object into segments. In this case, the code will construct a single 100,000*100,000 matrix, so there should not be any memory issues.
If this works, then you will need to identify the best distance metrics and scales for your data before applying the Sequencer to the entire data. My suggestion would be to select a random subset of your data (make sure that you sample it randomly in order to avoid various biases), e.g., 5000 objects out of the 100,000. Apply the Sequencer to this subset, and examine all four distance metrics and many different scales, e.g.:
estimator_list = ['EMD', 'energy', 'KL', 'L2']
scale_list = [[1, 2, 4, 8, 16, 32], [1, 2, 4, 8, 16, 32], [1, 2, 4, 8, 16, 32], [1, 2, 4, 8, 16, 32]]
seq = sequencer.Sequencer(grid, objects_list_sampled, estimator_list, scale_list)

where objects_list_sampled is the subset of the data.
Use the resulting elongations to identify the best metrics and scales (see basic_sequencer_functionalities.ipynb notebook in the examples directory). Once you have identified the best metrics and scales for the subset of the data, apply the Sequencer to the full dataset using these best metrics and scales. I expect that the number of metrics and scales would be smaller than the default number, allowing you to execute the code without running into memory errors.
Please let me know if you still run into memory errors.

Dear Dalya,
Thanks a lot for the thorough response. I will attempt that and let you know whether it worked!

Hi again,
I have been trying a little around and even using only 1 core, one estimate and one scale (like you suggested). Lead to an OutOfMemory.
Is there any other approach I could still take?
Best,
Peter

Dear Peter,
Do you know how much memory you have on this single core?
Given the OutofMemory error, I can think of two things to try: (1) try to use more than one core, or (2) try to reduce the size of your array, only to check at what point you are able to run the code without memory issues, which will allow you to estimate how many cores/ how much memory you need to apply the code with a single scale and a single distance metric.
I would also like to note that for most datasets, a sequence can be detected with a smaller number of objects (e.g., 1,000 - 10,000). Once a sequence is detected, one can think about an optimized algorithm to sort the sources according to it, which is tailored exactly to the dataset in hand and is not as general as the sequencer. I would therefore advise you to start with a subset of your data and to check whether there is any interesting trend that comes up. If you are able to find an interesting trend, then you could think about a simpler, more memory-efficient, algorithm to sort the rest of the objects.
Dalya.

Using more than one core won't make more memory available (I've got about 800GB of memory, so actually plenty).
Thanks for your input, I might try with a subset!

On a related note, is there any implementation of the algorithm for large datasets described in Section A.3 of the paper? It says there is documentation on the Github, but I failed to find it.

@andrew-saydjari, I am sorry if we indicated somewhere in our paper or Github that we have an implementation for the faster computation described in section A.3. We, unfortunately, do not have something that can be shared (I have all the code but it is not readable to anyone who isn't me..). Can you please let me know where it was written, so I will remove it?

In section A.3, the version of the paper downloaded off of ApJ reads "For more details regarding the implementation of this approximate and faster version of the code, see the companion Github repository: https: //github.com/dalya/Sequencer/."


No graphs show. 2.0.0 (354) -defect

No graphs show.
All sensors are present

Upon further examination,

Is the fact that the amount is expired the reason?

Free plan does not support graph history, this will be made clearer on the dashboard later.
The plan expiry date did not show correctly for Free plan but an update was just pushed. Reload the page and it should show correctly :)

Very Poor user experience to show graphs with no data.
Your Ruuvi Cloud Free plan doesn't support history and email/push alerts. View plan comparison table on cloud.ruuvi.com ⇗. See also frequently asked questions: FAQ ⇗.
IMHO  line break should be before "See also ...:

I was under the impression that free plan included 10 days of history


Windows.Foundation.String cannot be assigned to the type Windows.Foundation.Uri

Describe the bug
Seems, that is kind of #6648 issue, but I have a different behavior.
I'm trying to inherit a custom XAML style from the Default style, and getting the error:
Windows.Foundation.String cannot be assigned to the type Windows.Foundation.Uri
Steps to reproduce the bug
Just run this code:
<Style x:Key="SpasingGridViewItemStyle" TargetType="GridViewItem" BasedOn="{StaticResource DefaultGridViewItemStyle}">
   <Setter Property="Margin" Value="18" />
</Style>

Expected behavior
It has to work, because if I'm running the style without inheritance, but then in the runtime adding:
BasedOn="{StaticResource DefaultGridViewItemStyle}"
It works! But I can't start the program with such changes....
Screenshots

NuGet package version
WinUI 3 - Windows App SDK 1.0 (If you're seeing your issue in older previews of WinUI 3, please try this release)
Windows app type

[ ] UWP
[X] Win32

Device form factor
Desktop
Windows version
May 2021 Update (19043)

Ok, when I'm truing to set PersonPicture.DisplayName also getting the same error.
Seems, that it's something wrong with PersonPicture component.

Works fine for me, sounds like an environment problem.

@kmgallahan Thank you for the response!
I've changed the issue description, because the problem was in another place.

@LeftTwixWand I don't understand your latest comment, is this issue resolved? Also see the discussion in the linked issue.

@LeftTwixWand I don't understand your latest comment, is this issue resolved? Also see the discussion in the linked issue.

Firstly, I gave incorrect description of the bug, and after the @kmgallahan comment I've changed it.
So not the bug description is actual, and the bug is still existing.

@RealTommyKlein could this be a parser issue?

I also experience this issue,
by simple adding one ResourceDictionary which has a Source attribute fill in xaml would cause this problem
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
                <ResourceDictionary Source="ms-appx:///SettingsUI/Themes/SettingsUI.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>

Any Update on this ?

@Lightczx I am experiencing the same issue by using <ResourceDictionary Source="ms-appx:///..."/>. Could you tell me which NuGet package was missing to cause this issue?

For me, this error came up when I wanted to reference styles from another project in my App.xaml:
<ResourceDictionary Source="ms-appx:///NameSpaceInADifferentProject/Styles.xaml" />
The final problem was that I used <UseCommonOutputDirectory>true</UseCommonOutputDirectory> in my project file.
Again, the message wasn't really helpful.

@Lightczx I am experiencing the same issue by using <ResourceDictionary Source="ms-appx:///..."/>. Could you tell me which NuGet package was missing to cause this issue?
Update:
I found the problem: the wrong assembly name. I am porting apps from UWP to WinUI. A UWP library is named Foo and I kept its namespace Foo when porting, but the assembly name has changed to FooWinUI. I got the error when I used:
  <ResourceDictionary.MergedDictionaries>
    <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
    <ResourceDictionary Source="ms-appx:///Foo/Common/ResourceDictionaryStyles.xaml"/>
  </ResourceDictionary.MergedDictionaries>

The correct one should be:
  <ResourceDictionary.MergedDictionaries>
    <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
    <ResourceDictionary Source="ms-appx:///FooWinUI/Common/ResourceDictionaryStyles.xaml"/>
  </ResourceDictionary.MergedDictionaries>

I was getting the following error: Failed to assign to property 'Microsoft.UI.Xaml.ResourceDictionary.Source' because the type 'Windows.Foundation.String' cannot be assigned to the type 'Windows.Foundation.Uri'. [Line: 12 Position: 29]
I cannot figure out how this message hints there is an assembly name error.

Just single uri that XamlCompiler can't found cause the issue. @zipswich


simpler loading of .env file in Makefile

This makes loading .env more generic and a bit simpler.  Curious your thoughts.

It also adds a sample .env file.  I'll update the README after https://github.com/content-services/content-sources-backend/pull/14 goes in

@jsherril i'm not familiar with the sed command. what's that doing?

so say you have an env file with:
FOO=BAR
BAZ=FOZ

the make target 'make .env-export' takes your .env and creates a .env-export file:
export FOO=BAR
export BAZ=FOZ

Then in any command we need to use the configuration in, we can just use  '. .env-export && COMMAND'
and it will basically export all the variables into the process.  I'm a bit surprised how obtuse this all is, but this seemed like the easiest way.

I think when we switch to viper, this may all be a bit easier though.

actually, i think i'm just gonna integrate with viper


Trying to utilize dynamic realtime objects

I have set up the scene properly, and there is no change in effects in sound while moving a dynamic object between the source and listener. THis is an error that I get for this. Any idea what this is and guidance on how to make this work?
ERROR: Exception: Exception of type 'System.Exception' was thrown.
SteamAudio.SteamAudioManager.CreateInstancedMesh (System.String assetFileName, UnityEngine.Transform instanceTransform, System.IntPtr& instancedMesh) (at Assets/SteamAudio/SteamAudioManager.cs:237)
SteamAudio.SteamAudioDynamicObject.Awake () (at Assets/SteamAudio/SteamAudioDynamicObject.cs:30)
UnityEngine.Object:Instantiate(GameObject, Vector3, Quaternion)
Editing:PlaceCubeNear(Vector3) (at Assets/Scripts/Editing.cs:127)
Editing:Update() (at Assets/Scripts/Editing.cs:50)

Editing is a script I created. So there is not a confusion there.

I also get an engine crash that happens when I use Embree and TrueAudio Next. When I export Scene, then export all dynamic objects, then run, the program fatal errors and closes for report. Unity that is, all together.

UPDATE: I believe it has everything to do with TrueAudioNext. I changed That back to Phonon and I am getting some results, just takes a while to get rid of the frequency shifts when moving.

NEW UPDATE: After what I believe was fixed, from changing TrueAudio NExt back to Phonon, I am now noticing that the indirect Audio regardless of baked, realtime, or dynamic objects with materials have no difference. It seems only direct audio is working. hmmmm. Will keep trying other things and update. It alsmost seems like indirect (either with or without binaural) is just gone, though I have reflections and indirect on as before etc. Update soon.

I verified this by getting rid of dynamic objects and then just importing a model and adding the standard steam audio goemetry and materials, exporting scene and running. Then changing source and reciever during runtime to check for resonance and it is always only direct audio no matter what I do.

Wondering if it could be due to custom material settings? That is my next thought. Changing those values then will post an update. Due to the thickness of my material, I did modify to custom at one point to create a more realistic damping effect.

So, I lgot dynamics working now. But now I have another VERY BIG issue with realistic indirect sound. It is very "pop" "pop" realtime and there are points where it gets REALLy loud and then nothing within 1/1000 of a unit movement( in other words like a cm or mm). Plus NO DIFFRACTION. If the source and listener are not seen by each other, there goes the sound...flat as a dead snake in the road.


Log amount of found clusters in kmeans init

Put the changes behind the old information to not destroy old processing pipelines (if there are any)

Thanks. The sklearn dev CI issue is unrelated. I'll debug that separately.


Ingresses don't get an IP, when spec.tls[].secretName is missing - 2.8.x

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Ingresses don't get an IP, when spec.tls[].secretName is missing.
No apparent error is logged regarding this.
But when spec.tls[].secretName is defined, the ingress get an IP assigned.
Expected Behavior
Ingresses do not require spec.tls[].secretName to be defined.
Prior to 2.8.x, it was possible to use the default certificate by defining following to Kong (tested in 2.7.0)
env:
  ssl_cert: /etc/secrets/.../tls.crt
  ssl_cert_key: /etc/secrets/.../tls.key

And then we didn't need to define spec.tls[].secretName in all ingresses.
Steps To Reproduce

Add an ingress with spec.tls[].hosts[] = host, like:

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: tls-example-ingress
  annotations:
    kubernetes.io/ingress.class: kong
spec:
  tls:
  - hosts:
      - https-example.foo.com
  rules:
  - host: https-example.foo.com
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: service1
            port:
              number: 80

See no IP is provided for the ingress
Now add spec.tls[].secretName = secretName, like

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: tls-example-ingress
  annotations:
    kubernetes.io/ingress.class: kong
spec:
  tls:
  - hosts:
      - https-example.foo.com
    secretName: testsecret-tls # This is new
  rules:
  - host: https-example.foo.com
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: service1
            port:
              number: 80

See an IP now is provided for the ingress

Kong Ingress Controller version
v2.8.x

Kubernetes version
1.24
Anything else?
No response

Thanks for submitting the bug. We will fix it in #3719, which is expected to be included in KIC 2.9.


[Bug]: CJKPDFReader InvalidURL in 0.8.62

Bug Description
Hello guys,
On update 0.8.62, I am not able to load the CJKPDFReader due to an "InvalidURL" on the library.json file. The version 0.8.61 is working perfectly. It's probably just a tiny typo between the name CJKPDFReader and cjk_pdf. Thx!
Version
0.8.62
Steps to Reproduce
from pathlib import Path
from llama_index import download_loader
CJKPDFReader = download_loader("CJKPDFReader")
loader = CJKPDFReader()
documents = loader.load_data(file=Path('./article.pdf'))
Relevant Logs/Tracbacks
<ipython-input-8-07687184dbaf> in <cell line: 4>()
      2 from llama_index import download_loader
      3
----> 4 CJKPDFReader = download_loader("CJKPDFReader")
      5 loader = CJKPDFReader()
      6

    444         if not host:
--> 445             raise InvalidURL(f"Invalid URL {url!r}: No host supplied")
    446
    447         # In general, we want to try IDNA encoding the hostname if the string contains

InvalidURL: Invalid URL 'https:/raw.githubusercontent.com/run-llama/llama-hub/main/llama_hub/library.json': No host supplied

It runs into the same problem with WikipediaReader too

Hi, could you try with the latest version. I just checked and I was able to create the loader instance for CJKPDFReader

@anoopshrma Yep, it's working on the version 0.8.63-post2. Thx! : )

Awesome!
@CerealNotFound  could you also check if it is working for you as well with the latest version.

Bump @CerealNotFound !

@anoopshrma Got busy with smth else, gonna tell you by today :)

@anoopshrma Yup, it works fine! Thanks!

@anoopshrma Yup, it works fine! Thanks!

Awesome!! Since this issue has been resolved. I'm closing this issue. Feel free to open it if you face the issue!!


Update cm-backstage-config.yaml

For q business

@shapirov103 Please make the changes here too to have consistency. https://github.com/aws-samples/appmod-blueprints/tree/feature/modern-engg-integratedflow/platform/infra/terraform/mgmt/packages/backstage


Ontology review: mental or behavioural disorder/brain disease classification

@elipapa commented on Fri Jan 12 2018
@gkos-bio commented on Tue Mar 28 2017
mental or behavioural disorder is classified under other disease for some reason.
It should be at the same level as the other main categories
https://www.targetvalidation.org/disease/EFO_0000677

@ElaineMcA commented on Mon Aug 13 2018
Check if resolved within EFO 3.

@afaulconbridge commented on Mon Aug 13 2018
We do some re-arrangement of high level EFO diseases within OpenTargets, to make the high levels more presentable than the default organisation within EFO (see https://www.ebi.ac.uk/ols/ontologies/efo/terms?iri=http%3A%2F%2Fwww.ebi.ac.uk%2Fefo%2FEFO_0000408 ). So I think this is probably something to look at on our side, rather than within EFO 3 (though the relevant bits of code will need updating for EFO 3 anyway, but that's probably a separate, and bigger, issue).

@iandunham commented on Mon Aug 13 2018
Simon Jupp is aware of our structure - the TAs, and would be willing to think about getting this cleaner for us

Issue #116 is the same problem (brain disease as other), therefore closing this issue.


Permission denied error in cuda_setup when any env var contains /root path

My setup
Linux, Python 3.10.8, CUDA 12, pip install bitsandbytes==0.41.0
This is a Slurm cluster and there is an environment variable like this:
SLURM_SUBMIT_DIR=/root

The problem
Running python -m bitsandbytes fails with a permisison error. It appears that bitsandbytes decides to check if the path /root contains libcudart.so because this path appears in an environment variable.
Note that my LD_LIBRARY_PATH contains the real path to the CUDA libraries. cuda_setup does find them, but it doesn't stop there; instead it goes on to check all kinds of other random environment variables, including SLURM_SUBMIT_DIR in my situation, in case they also happen to contain CUDA libraries, and then stumbles on the permission error when it can't read files under /root. FWIW, I think this is also a logic error (it should stop when it finds the CUDA libraries using LD_LIBRARY_PATH and look no further) but that's beyond the scope of this report.
$ python -m bitsandbytes
Traceback (most recent call last):
  File "/appl/easybuild/opt/Python/3.10.8-GCCcore-12.2.0/lib/python3.10/runpy.py", line 187, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/appl/easybuild/opt/Python/3.10.8-GCCcore-12.2.0/lib/python3.10/runpy.py", line 146, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/appl/easybuild/opt/Python/3.10.8-GCCcore-12.2.0/lib/python3.10/runpy.py", line 110, in _get_module_details
    __import__(pkg_name)
  File "/wrk-vakka/users/xxx/llama2-finetune/venv/lib/python3.10/site-packages/bitsandbytes/__init__.py", line 6, in <module>
    from . import cuda_setup, utils, research
  File "/wrk-vakka/users/xxx/llama2-finetune/venv/lib/python3.10/site-packages/bitsandbytes/research/__init__.py", line 1, in <module>
    from . import nn
  File "/wrk-vakka/users/xxx/llama2-finetune/venv/lib/python3.10/site-packages/bitsandbytes/research/nn/__init__.py", line 1, in <module>
    from .modules import LinearFP8Mixed, LinearFP8Global
  File "/wrk-vakka/users/xxx/llama2-finetune/venv/lib/python3.10/site-packages/bitsandbytes/research/nn/modules.py", line 8, in <module>
    from bitsandbytes.optim import GlobalOptimManager
  File "/wrk-vakka/users/xxx/llama2-finetune/venv/lib/python3.10/site-packages/bitsandbytes/optim/__init__.py", line 6, in <module>
    from bitsandbytes.cextension import COMPILED_WITH_CUDA
  File "/wrk-vakka/users/xxx/llama2-finetune/venv/lib/python3.10/site-packages/bitsandbytes/cextension.py", line 13, in <module>
    setup.run_cuda_setup()
  File "/wrk-vakka/users/xxx/llama2-finetune/venv/lib/python3.10/site-packages/bitsandbytes/cuda_setup/main.py", line 120, in run_cuda_setup
    binary_name, cudart_path, cc, cuda_version_string = evaluate_cuda_setup()
  File "/wrk-vakka/users/xxx/llama2-finetune/venv/lib/python3.10/site-packages/bitsandbytes/cuda_setup/main.py", line 337, in evaluate_cuda_setup
    cudart_path = determine_cuda_runtime_lib_path()
  File "/wrk-vakka/users/xxx/llama2-finetune/venv/lib/python3.10/site-packages/bitsandbytes/cuda_setup/main.py", line 295, in determine_cuda_runtime_lib_path
    cuda_runtime_libs.update(find_cuda_lib_in(value))
  File "/wrk-vakka/users/xxx/llama2-finetune/venv/lib/python3.10/site-packages/bitsandbytes/cuda_setup/main.py", line 231, in find_cuda_lib_in
    return get_cuda_runtime_lib_paths(
  File "/wrk-vakka/users/xxx/llama2-finetune/venv/lib/python3.10/site-packages/bitsandbytes/cuda_setup/main.py", line 217, in get_cuda_runtime_lib_paths
    if (path / libname).is_file():
  File "/appl/easybuild/opt/Python/3.10.8-GCCcore-12.2.0/lib/python3.10/pathlib.py", line 1322, in is_file
    return S_ISREG(self.stat().st_mode)
  File "/appl/easybuild/opt/Python/3.10.8-GCCcore-12.2.0/lib/python3.10/pathlib.py", line 1097, in stat
    return self._accessor.stat(self, follow_symlinks=follow_symlinks)
PermissionError: [Errno 13] Permission denied: '/root/libcudart.so'

How to replicate

have CUDA installed properly so it can be found via LD_LIBRARY_PATH
pip install bitsandbytes==0.41.0
export MY_RANDOM_ENV_VAR=/root
python -m bitsandbytes

Related issues/PRs

#623 seems to be a near-duplicate, it's failing in a slightly different situation, but the same fix should work AFAICT
#641 is also a near-duplicate, the failing path is different, but again the same fix should work AFAICT
#644 fixes a similar permission issue, but not this one (I tried the fix in that PR and it didn't help)

How to fix
This is fairly simple to fix, just need to wrap the is_file check in a try ... except block that checks for PermissionError, here: https://github.com/TimDettmers/bitsandbytes/blob/18e827d666fa2b70a12d539ccedc17aa51b2c97c/bitsandbytes/cuda_setup/main.py#L217
I will open a PR with the suggested fix shortly.

Hi @osma, do you think #620 is a related issue?

@ignasgr #620 seems to be a similar issue in that bitsandbytes cuda_setup checks for existence of a file in a careless way that can trigger PermissionError exceptions. But it's happening in a different place in the code, so my suggested fix in PR #677 will most likely not fix that problem. But I think applying PR #622 would fix it.

Thanks again for the fix!


[BUG]   Using SKCanvas.ClipPath for larger float path have issue

Description
When configuring a larger float type rect path with  SKCanvas.ClipPath, it may result in missing parts of the final rendered image.
However, if it is of type int, this issue does not exist.
using SkiaSharp;

using var skPictureRecorder = new SkiaSharp.SKPictureRecorder();
using var skCanvas = skPictureRecorder.BeginRecording(new SkiaSharp.SKRect(0, 0, 20000, 5000));
var path = new SkiaSharp.SKPath();

//float type have issue
path.AddRect(new(0, 0, 20000, 4999.6f));

skCanvas.ClipPath(path, SKClipOperation.Intersect, true);
var path2 = new SKPath();
path2.AddRect(new(0, 0, 20000, 5000));
skCanvas.DrawPath(path2, new SKPaint()
{
    Style = SkiaSharp.SKPaintStyle.Fill,
    Color = new(255, 0, 0, 225),
    BlendMode = SkiaSharp.SKBlendMode.SrcOver
});
var pic = skPictureRecorder.EndRecording();
using var stream = System.IO.File.OpenWrite("C:\\testspace\\test.png");
var bitmap = new SKBitmap(20000, 5000);
using (var canvas = new SKCanvas(bitmap))
{
    canvas.Clear(SKColors.Transparent);
    canvas.DrawPicture(pic);
}
bitmap.Encode(stream, SKEncodedImageFormat.Png, 100);

Expected Behavior
The rendered image should be almost entirely filled with red.

Actual Behavior
There will be a large missing  in the image that is not rendered properly.

Basic Information

Version with issue:    2.88.3
Last known good version:
IDE:   Visula studio 2022
Platform Target Frameworks:

Windows Classic:   Windows 11

Target Devices:

 windows 11 PC

Detailed IDE/OS information (click to expand)
.NET Version: .NET 6 , if use following code, the result will be normal, the only chenge of this is replace 4999.6f with 4999

using SkiaSharp;

using var skPictureRecorder = new SkiaSharp.SKPictureRecorder();
using var skCanvas = skPictureRecorder.BeginRecording(new SkiaSharp.SKRect(0, 0, 20000, 5000));
var path = new SkiaSharp.SKPath();

//int type not have issue
path.AddRect(new(0, 0, 20000, 4999));
skCanvas.ClipPath(path, SKClipOperation.Intersect, true);
var path2 = new SKPath();
path2.AddRect(new(0, 0, 20000, 5000));
skCanvas.DrawPath(path2, new SKPaint()
{
    Style = SkiaSharp.SKPaintStyle.Fill,
    Color = new(255, 0, 0, 225),
    BlendMode = SkiaSharp.SKBlendMode.SrcOver
});
var pic = skPictureRecorder.EndRecording();
using var stream = System.IO.File.OpenWrite("C:\\testspace\\test.png");
var bitmap = new SKBitmap(20000, 5000);
using (var canvas = new SKCanvas(bitmap))
{
    canvas.Clear(SKColors.Transparent);
    canvas.DrawPicture(pic);
}
bitmap.Encode(stream, SKEncodedImageFormat.Png, 100);

Screenshots

Reproduction Link

Hi Team, this issue has been causing disruptions to our business. Unfortunately, we have limited expertise in debugging Skia source code related problems. If you have some free time, could you please assist us by taking a quick look at it?

I reproduced this issue when directly calling Skia using C++ code, so it should be a bug from Skia.
int main()
{
    SkPictureRecorder skPictureRecorder;
    SkCanvas* skCanvas = skPictureRecorder.beginRecording(SkRect{ 0, 0, 20000, 5000 });
    SkPath path;

    //float type have issue
    path.addRect(SkRect{ 0, 0, 20000, 4999.7f});

    skCanvas->clipPath(path, SkClipOp::kIntersect, true);
    SkPath path2;
    path2.addRect(SkRect{ 0, 0, 20000, 5000 });
    SkPaint paint;
    paint.setStyle(SkPaint::kFill_Style);
    paint.setColor(SkColorSetRGB(225, 255, 0, 0));
    paint.setBlendMode(SkBlendMode::kSrcOver);
    skCanvas->drawPath(path2, paint);
    sk_sp<SkPicture> pic = skPictureRecorder.finishRecordingAsPicture();
    SkFILEWStream stream("C:\\testspace\\test.png");
    SkBitmap bitmap;
    bitmap.allocN32Pixels(20000, 5000);
    SkCanvas canvas(bitmap);
    canvas.clear(SK_ColorTRANSPARENT);
    canvas.drawPicture(pic);
    SkEncodeImage(&stream, bitmap, SkEncodedImageFormat::kPNG, 100);

    return 0;
}

I will report this to Skia team.

https://issues.skia.org/issues/294565262
this is the issue have reported to skia


_node improperly parsing command arguments

I'm using _node in a shebang to create scripts, and doing this:
#!/usr/bin/env _node
console.log(process.argv)
However, _node is parsing the command arguments as if it was arguments to the streamline process...
_node should not be looking for streamline flags, as it blocks users from passing their own flags to the app.
So passing myapp -o gives
[STREAMLINE] obsolete option: -o, use -d or --out-dir instead
But I was intending for MY code to get the -o.
Didn't these commands use to be apart of a sep binary? I was using a really old version of streamline before, and this new everything-in-_node is really removing a core use of _node.

@aikar That's a bug. I switched to commander for command line parsing in 1.0 and I did not anticipate this. I will fix it. Anything that follows the module name should be passed verbatim to the program.


[EM] Have one partitioner for each batch.

Initialize one partitioner for each batch.
Collect partition size during initialization.
Support base ridx in the finalization.

todos:

[x] Support concatenated pages.
[x] Check performance impact. (no impact)

cc @rongou .


Run subgraph locally in Docker

Feature Request
Describe the Feature Request
Start coding in the develop branch.
Definition of Done:

[x] Remove the unnecessary files from the current repository which is setting up the Subgraph directly in the official Subgraph Studio
[x] Add all features to run the Docker
[x] Add the necessary files for running Subgraph locally
[x] Configure to communicate with hardhat ( check #13 )
[x] Make sure the Docker is running correctly and that it will resume activity or reset the jobs in case the Subgraph stops working ( configure Docker for great uptime )

Closed by #16


Improve documentation

[ ] #258
[ ] #259
[ ] #260

@samet-akcay In the discussion tabe, the user can't create a new topic, the Net Discussion button is not showing.

@innat, looks like this is a setting in organizational level. I can't change it myself. Until we sort it out, you could create an issue and label as Discussion. I could then convert it to a discussion

Addressed with #576.


Add UI developer environment setup to DEVELOPMENT.md

Describe the Task
For developers who want to work on Pixie's UI code, we should share instructions for setting up the development environment in DEVELOPMENT.md.

@aimichelle , Can we just add a pointer to the src/ui/README.md file?


ci: update github workflows

flow: init -> [ validate | test] -> release
add setup-node (see: kodingdotninja/chakra-icons)
update release.yml

true

@all-contributors please add @r17x  for tools


libpng-uwp build error

Call Stack (most recent call first):
scripts/cmake/vcpkg_install_cmake.cmake:49 (vcpkg_execute_required_process)
ports/libpng/portfile.cmake:47 (vcpkg_install_cmake)
scripts/ports.cmake:72 (include)
Error: Building package libpng:x64-uwp failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: libpng:x64-uwp
Vcpkg version: 0.0.81-63454f618996baefef3f60f90767cd4c02d7590d

Hi @bigdimboom, thanks for reporting this issue!
Could you post the log files associated with the failure? The full paths should have been printed to the console during the failure.

I was able to reproduce an issue with libpng and it should be fixed in the latest master (4735040f). Please also try out this version and let us know if your issue still appears!

change cmake3.9.0 to cmake3.8.2

@bigdimboom , I can install libpng:x64-uwp successfully with the latest vcpkg: 2018.11.23-nohash, so close this issue.


add support for installing dotnet instrumentation

This change adds a with_dotnet_tracing parameter to the collector install script for windows. When set, the script downloads and installs the dotnet tracing library, and it sets environment variables so that dotnet applications that run on the local machine will be auto-instrumented.

I'm not sure if there are tests around this, is this ps1 file loaded up in the installer? I know there are some tests with Ansible. I also know we have an open issue to test Windows. I'd take your word for it that it works well for this PR.


Home Assistant is holding new connections open with each launch of Magic Mirror

This is undoubtedly an edge case and I'm not sure where the bug is exactly, but, I'm using Magic Mirror as a screensaver on my android TV.  It simply calls up the webpage and everything works great.
However, it appears that Home Assistant is holding open the connection between MagicMirror and itself each time the webpage is launched.  And after some number of times of the screensaver popping on and going off it eventually uses up all the file descriptors in the docker container and Home Assistant starts producing error messages and stops working right.
I'm not sure where the issue actually is.  Is it in MagicMirror for not closing ports/keeping them open?  Or is it in Home Assistant for just hanging on to them for so long.
Last time out of 1024 file descriptors home assistant had a connection to magic mirror for ~950 of them.
That's as much as I've been able to nail down so far.

Hey,
This sounds odd.  The way it is currently written is that is caches the WebSocket connection to the HA service based on the module id.  So the same connection is reused by every browser instance hitting it.
There was an update to the underlying homeassistant-ws library its using which updates the ws and isomorphic-ws libraries its dependent on.
Can you try editing the package.json and change the homeassistant-ws version to 2.2.0 and rerun the npm install for the module.   Lets try and see if the updated libraries make any difference.  I dont see anything specific in them about leaking file handles, but we can see whats up.

Ok, just to be clear, this is the section I'm supposed to edit, right?
"dependencies": {
"@mdi/font": "latest",
"backoff": "^2.5.0",
"homeassistant": "^0.2.0",
"homeassistant-ws": "^0.2.1"
},
And does the last "^0.2.1" become "^2.2.1"?  That seems like quite the jump.
I've been doing some digging on the problem and I'm starting to reach the limits of my understanding.  Home Assistant is continuing to increase the number of connections to the ip address <IP_ADDRESS> which is the internal ip of my magic mirror docker container, but when I try to look up to see open connections for the container process all I see are files and no network connections.  Full Disclosure:  I'm not sure I'm doing it right.
Does the magicmirror server do any processing/network connections, or is it done all within the served page on the browser?

Ok, was looking through the docker log for magicmirroc and before I restarted the container this was repeating:
[20.04.2023 22:35.57.734] [DEBUG] [MMM-HomeAssistantDisplay] [   'Found listening connection (module_5_MMM-HomeAssistantDisplay) for entity sensor.alyssa_s_room_voc' ] [20.04.2023 22:35.57.734] [DEBUG] [MMM-HomeAssistantDisplay] [   'Found listening connection (module_5_MMM-HomeAssistantDisplay) for entity sensor.alyssa_s_room_voc' ] [20.04.2023 22:35.57.735] [DEBUG] [MMM-HomeAssistantDisplay] [   'Found listening connection (module_5_MMM-HomeAssistantDisplay) for entity sensor.alyssa_s_room_voc' ] [20.04.2023 22:35.57.735] [DEBUG] [MMM-HomeAssistantDisplay] [   'Found listening connection (module_5_MMM-HomeAssistantDisplay) for entity sensor.alyssa_s_room_voc' ] [20.04.2023 22:35.57.736] [DEBUG] [MMM-HomeAssistantDisplay] [   'Found listening connection (module_5_MMM-HomeAssistantDisplay) for entity sensor.alyssa_s_room_voc' ] [20.04.2023 22:35.57.737] [DEBUG] [MMM-HomeAssistantDisplay] [   'Found listening connection (module_5_MMM-HomeAssistantDisplay) for entity sensor.alyssa_s_room_voc' ] [20.04.2023 22:35.57.737] [DEBUG] [MMM-HomeAssistantDisplay] [   'Found listening connection (module_5_MMM-HomeAssistantDisplay) for entity sensor.alyssa_s_room_voc'
I have a second voc sensor using the same integration and still the final page shows all the correct info.
After I restarted MM (and the connections in Home Assistant dropped again) I noticed these lines in the log:
[20.04.2023 22:40.37.143] [ERROR] [MMM-HomeAssistantDisplay] [   'Unable to connect to Home Assistant for module module_5_MMM-HomeAssistantDisplay failed with message: ',   "Cannot read properties of undefined (reading 'info')" ] [20.04.2023 22:40.45.284] [INFO]  [MMM-HomeAssistantDisplay] [ 'HomeAssistant connected for module_6_MMM-HomeAssistantDisplay' ] [20.04.2023 22:40.45.295] [INFO]  [MMM-HomeAssistantDisplay] [ 'HomeAssistant connected for module_7_MMM-HomeAssistantDisplay' ] [20.04.2023 22:40.45.301] [INFO]  [MMM-HomeAssistantDisplay] [ 'HomeAssistant connected for module_8_MMM-HomeAssistantDisplay' ] [20.04.2023 22:40.45.318] [INFO]  [MMM-HomeAssistantDisplay] [   'Conected to Home Assistant for module_6_MMM-HomeAssistantDisplay after 0 retries' ] [20.04.2023 22:40.45.318] [INFO]  [MMM-HomeAssistantDisplay] [   'Conected to Home Assistant for module_7_MMM-HomeAssistantDisplay after 0 retries' ] [20.04.2023 22:40.45.319] [INFO]  [MMM-HomeAssistantDisplay] [   'Conected to Home Assistant for module_8_MMM-HomeAssistantDisplay after 0 retries' ] [20.04.2023 22:40.47.159] [INFO]  [MMM-HomeAssistantDisplay] [   'Conected to Home Assistant for module_5_MMM-HomeAssistantDisplay after 19 retries' ]

My Bad..."homeassistant-ws": "^0.2.1" should change to "homeassistant-ws": "^0.2.2"
The Magic Mirror server handles the connection to the Home Assistant server.  The modules node_helper.js is run on the server and a web socket connection gets setup between the MM server and the browser (or Electron instance) which is just rendering the display as HTML.
Im not sure why the logs are showing and error reading from 'info'. Im not seeing anything in the MMM-HomeAssistantDisplay that would do that.

I've done the 0.2.2 npm install and no change.  Obviously I have to have something messed up.
Looking through the logs it seems when HomeAssistantDisplay generates a message, it does so for each open connection.  Through Webmin I was able to see that Home Assistant had 22 connections open to MagicMirror and in between the log messages for MMM-BackgroundSlideshow there is a burst of 22 log entries HAD.  I'll attact part of the log to see if anything makes sense to you.
Also, this is my entry in config.js that contains the references to the sensor messages.
	{
	    module: 'MMM-HomeAssistantDisplay',
	    position: 'top_left',
	    config: {
	        host: "<IP_ADDRESS>",
	        token:
	        port: 8123,
	        useTLS: false,
	        title: "House Status",
	        useModuleTigger: false,
	        moduleTriggerTemplate: '{{ states.media_player.side_room_speaker.state == "playing"}}',
	        moduleTriggerEntities: ["sensor.alyssa_s_room_temperature","sensor.vanessas_room_temperature","sensor.alyssa_s_room_voc","'sensor.vanessas_room_voc","input_boolean.campfire","switch.sonoff_1000df774f_1","switch.sonoff_1000df774f_2"],
	        class: "playing_in_side_room",
	        sections: [{
	                triggerEntities: ["sensor.alyssa_s_room_temperature","sensor.vanessas_room_temperature","sensor.alyssa_s_room_voc","'sensor.vanessas_room_voc","input_boolean.campfire","switch.sonoff_1000df774f_1","switch.sonoff_1000df774f_2"],
	                displayTemplate: `

Alyssa's Room Temp: {{states('sensor.alyssa_s_room_temperature')}}

Vanessa's Room Temp: {{states('sensor.vanessas_room_temperature')}}

			{% if states('sensor.alyssa_s_room_voc')| int >= states('input_number.voc_hrv_low_speed_trigger') |int %}
Alyssa's Room VOC: {{ states('sensor.alyssa_s_room_voc')|int }} ppb
{% endif %}
			{% if states('sensor.vanessas_room_voc')| int >= states('input_number.voc_hrv_low_speed_trigger') |int %}
Vanessa's Room VOC: {{ states('sensor.vanessas_room_voc')|int }} ppb
{% endif %}
			{% if states.input_boolean.campfire.state == "on" %}{% endif %}
			{% if states.switch.sonoff_1000df774f_1.state == "on" %}{% endif %}
			{% if states.switch.sonoff_1000df774f_2.state == "on" %}{% endif %}
	                `,
       	        class: "playing_info"
	            }]
		    },
	  },

Magic Mirror Log.txt


Is there any way to get the COM port for a ServiceRecord?

Lets say i have the following code:
var client = new BluetoothClient();
Console.WriteLine("DiscoverDevices");
var devices = client.DiscoverDevices();
foreach(var device in devices)
{
    foreach(var serviceRecord in device.GetServiceRecords(BluetoothService.SerialPort))
    {
        //Get comport for ServiceRecord
    }
}

How would i get the Com Port? (If i look in the bluetooth dialog i can see that the device has multiple COM ports).

Not directly but if you interrogate the registry or use the SetupDI* apis you can determine which COM ports are Bluetooth and which device they map to. There isn't a function in 32feet at the moment to do this.

Thanks for a fast reply.
Where in the registry do i need to look? (and what do i use to match as ServiceRecord has no Id?)

Sorry, Registry is for Windows CE only. For desktop Windows you'll need the Setup API. I've put some code into a Gist here:-
https://gist.github.com/peterfoot/b4f61c81023a1e181b9f3940bca344ba
Need to integrate this into a sample app at some time.

That gave me the COM ports im after but i have no idea how to Map each COM port to a ServiceRecord.
Im trying to find a comport with a specific name:

In this case im trying to find the COM port with the name GNSS Server, i have been able to find the correct ServiceRecord.

I've updated the gist to add the "RemoteServiceName". This values is stored in the registry and so it's possible to get it based on the device path from those setup APIs. For example on my Zebra printer it returns "Serial Printer". I don't have a device to hand with multiple exposed services but this will give you the string above shown next to the device name e.g. "GNSS Server", "COM1" etc.

That did it, thanks for your help!!!!
One thing if you ever need to use this on your own RemoteServiceName contains some trash on the end but the following seems to get rid of it.
device.RemoteServiceName.TrimEnd((char)0, (char)13, (char)10)

I posted the same question on stackoverflow if you want you can post the same thing there and ill mark it as accepted.
https://stackoverflow.com/questions/45299710/get-bluetooth-comport-name

Thanks, I have posted a response there with a link to the gist


Issue #91

Report number of unique values for categorical variables

Also make sure to run npm run build and commit the updated compiled code.

on it

should be g2g

Had lots of conflicts, so just copying this to a fresh branch/PR - see #120


chore: add badge

…108)
关联的Issues (Related Issues)

close https://github.com/filecoin-project/venus/issues/5216
改动 (Proposed Changes)

附注 (Additional Info)

自查清单 (Checklist)
在你认为本 PR 满足被审阅的标准之前，需要确保 / Before you mark the PR ready for review, please make sure that:

[ ] 符合Venus项目管理规范中关于PR的相关标准 / The PR follows the PR standards set out in the Venus project management guidelines
[ ] 具有清晰明确的commit message / All commits have a clear commit message.
[ ] 包含相关的的测试用例或者不需要新增测试用例 / This PR has tests for new functionality or change in behaviour or not need to add new tests.
[ ] 包含相关的的指南以及文档或者不需要新增文档 / This PR has updated usage guidelines and documentation or not need
[ ] 通过必要的检查项 / All checks are green

Codecov Report

Merging #110 (7ac9908) into master (aa6e310) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##           master     #110   +/-   ##
=======================================
  Coverage   28.12%   28.12%
=======================================
  Files          48       48
  Lines        4092     4092
=======================================
  Hits         1151     1151
  Misses       2741     2741
  Partials      200      200

Flag
Coverage Δ

unittests
28.12% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

这个repo的review权限也没有。。😂


Modifies the paths for deletion according to linux containers

fixes #2126
How to test on windows:

create a component
add a file, push the component
delete the file, push and verify if the file is deleted in the container

Verify you have provided correct credentials.
[odo]  ✗  challenger chose not to retry the request

/retest

Verify you have provided correct credentials.
[odo]  ✗  challenger chose not to retry the request

/retest

Seems an issue/kind of flake in login test file. Ginkgo flag -randomizeAllSpecs runs random spec in sequentially causing the failure because In login test the spec are dependent to each other. will fix it.

Verify you have provided correct credentials.
[odo]  ✗  challenger chose not to retry the request

/retest

@mik-dass #2164 has been fixed. please rebase your pr

Push command test script works fine on win10+4.2 cluster.
[...]
+ [SLOW TEST:104.912 seconds]
odo push command tests
C:/Users/User/go/src/github.com/openshift/odo/tests/integration/cmd_push_test.go:15
  when running odo push with flag --show-log
  C:/Users/User/go/src/github.com/openshift/odo/tests/integration/cmd_push_test.go:301
    should be able to spam odo push without anything breaking
    C:/Users/User/go/src/github.com/openshift/odo/tests/integration/cmd_push_test.go:302
------------------------------
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
Ran 9 of 100 Specs in 1381.533 seconds
SUCCESS! -- 9 Passed | 0 Failed | 0 Pending | 91 Skipped
PASS

Ginkgo ran 1 suite in 23m18.0623655s
Test Suite Passed
PS C:\Users\User\go\src\github.com\openshift\odo>

@mik-dass #2164 has been fixed. please rebase your pr

Done

Setting current dir to:
Deleting dir: /tmp/936357313
• Failure [70.316 seconds]
odo sub component command tests
/go/src/github.com/openshift/odo/tests/integration/cmd_cmp_sub_test.go:13
  Creating component with numeric named context
  /go/src/github.com/openshift/odo/tests/integration/component.go:579
    should create default named component in a directory with numeric name []
    /go/src/github.com/openshift/odo/tests/integration/component.go:596
    Unexpected error:

        <*os.PathError | 0xc00023c570>: {Op: "chdir", Path: "", Err: 0x2}
        chdir : no such file or directory
    occurred
    /go/src/github.com/openshift/odo/tests/helper/helper_filesystem.go:42

This flake has been fixed in #2185
@mik-dass Can you please rebase it again

This flake has been fixed in #2185
@mik-dass Can you please rebase it again

@amitkrout done

[odo] Configuration changes
[odo]  ✓  Initializing component
[odo]  •  Creating component  ...
[odo]  ✓  Creating component [303ms]
[odo]  •  Triggering build from git  ...
[odo]  ✓  Triggering build from git [95ms]
[odo]  •  Waiting for build to finish  ...
[odo]  ✓  Waiting for build to finish [1m]
[odo]  •  Deploying component testcmp  ...
[odo]  ✗  Deploying component testcmp [5m]
[odo]  ✗  Failed to create component with name testcmp. Please use `odo config view` to view settings used to create component. Error: Timed out waiting for annotation to update
[odo] github.com/openshift/odo/pkg/occlient.(*Client).WaitAndGetDC
[odo] 	/go/src/github.com/openshift/odo/pkg/occlient/occlient.go:1744
[odo] github.com/openshift/odo/pkg/component.Deploy
[odo] 	/go/src/github.com/openshift/odo/pkg/component/component.go:831
[odo] github.com/openshift/odo/pkg/component.CreateComponent

/test v4.2-integration

Paths in FileIndex on Windows are still saved in some weird format :-(
Why the double slashes? What if someone checks out this file on a Mac or Linux?
It might be better to normalize path into one common format (the POSIX way) before it is recorded to the FileIndex. Converting it to the os specific format only when it is being used.
{
    "kind": "FileIndex",
    "apiVersion": "v1",
    "Files": {
        ".gitignore": {
            "Size": 29,
            "LastModifiedDate": "2019-09-25T13:27:24.2690408+02:00"
        },
        "README.md": {
            "Size": 13155,
            "LastModifiedDate": "2019-09-25T13:27:24.2690408+02:00"
        },
        "helm": {
            "Size": 0,
            "LastModifiedDate": "2019-09-25T13:27:24.2690408+02:00"
        },
        "helm\\nodejs": {
            "Size": 0,
            "LastModifiedDate": "2019-09-25T13:27:24.2846634+02:00"
        },
        "helm\\nodejs\\Chart.yaml": {
            "Size": 355,
            "LastModifiedDate": "2019-09-25T13:27:24.2690408+02:00"
        },
        "helm\\nodejs\\templates": {
            "Size": 4096,
            "LastModifiedDate": "2019-09-25T13:27:24.2846634+02:00"
        },
        "helm\\nodejs\\templates\\NOTES.txt": {
            "Size": 231,
            "LastModifiedDate": "2019-09-25T13:27:24.2690408+02:00"
        },
        "helm\\nodejs\\templates\\buildconfig.yaml": {
            "Size": 1076,
            "LastModifiedDate": "2019-09-25T13:27:24.2690408+02:00"
        },
        "helm\\nodejs\\templates\\deploymentconfig.yaml": {
            "Size": 1257,
            "LastModifiedDate": "2019-09-25T13:27:24.2846634+02:00"
        },
        "helm\\nodejs\\templates\\imagestream.yaml": {
            "Size": 183,
            "LastModifiedDate": "2019-09-25T13:27:24.2846634+02:00"
        },
        "helm\\nodejs\\templates\\route.yaml": {
            "Size": 216,
            "LastModifiedDate": "2019-09-25T13:27:24.2846634+02:00"
        },
        "helm\\nodejs\\templates\\service.yaml": {
            "Size": 280,
            "LastModifiedDate": "2019-09-25T13:27:24.2846634+02:00"
        },
        "helm\\nodejs\\values.yaml": {
            "Size": 1178,
            "LastModifiedDate": "2019-09-25T13:27:24.2846634+02:00"
        },
        "openshift": {
            "Size": 0,
            "LastModifiedDate": "2019-09-25T13:27:24.2846634+02:00"
        },
        "openshift\\pipeline": {
            "Size": 0,
            "LastModifiedDate": "2019-09-25T13:27:24.2846634+02:00"
        },
        "openshift\\pipeline\\Jenkinsfile": {
            "Size": 173,
            "LastModifiedDate": "2019-09-25T13:27:24.2846634+02:00"
        },
        "openshift\\pipeline\\README.md": {
            "Size": 436,
            "LastModifiedDate": "2019-09-25T13:27:24.2846634+02:00"
        },
        "openshift\\templates": {
            "Size": 4096,
            "LastModifiedDate": "2019-09-25T13:27:24.2846634+02:00"
        },
        "openshift\\templates\\nodejs-mongodb-persistent.json": {
            "Size": 16954,
            "LastModifiedDate": "2019-09-25T13:27:24.2846634+02:00"
        },
        "openshift\\templates\\nodejs-mongodb.json": {
            "Size": 16604,
            "LastModifiedDate": "2019-09-25T13:27:24.2846634+02:00"
        },
        "openshift\\templates\\nodejs.json": {
            "Size": 8682,
            "LastModifiedDate": "2019-09-25T13:27:24.2846634+02:00"
        },
        "package.json": {
            "Size": 851,
            "LastModifiedDate": "2019-09-25T13:27:24.2846634+02:00"
        },
        "server.js": {
            "Size": 3939,
            "LastModifiedDate": "2019-09-25T13:27:24.2846634+02:00"
        },
        "tests": {
            "Size": 0,
            "LastModifiedDate": "2019-09-25T13:27:24.2846634+02:00"
        },
        "tests\\app_test.js": {
            "Size": 742,
            "LastModifiedDate": "2019-09-25T13:27:24.2846634+02:00"
        },
        "views": {
            "Size": 0,
            "LastModifiedDate": "2019-09-25T13:27:24.2846634+02:00"
        },
        "views\\index.html": {
            "Size": 41247,
            "LastModifiedDate": "2019-09-25T13:27:24.2846634+02:00"
        }
    }
}

I'll open a new issue for the above comment, it can be addressed in a separate PR. We can merge this one as it fixes one of the problems.

/approve

I'll open a new issue for the above comment, it can be addressed in a separate PR. We can merge this one as it fixes one of the problems.
/approve

@kadel We had a follow up issue #1990 for test validation of odo-file-index.json. Followup issue never works if it is not fixed immediately or not fixed in the same pr.

level=fatal msg="failed to initialize the cluster: Multiple errors are preventing progress:\n* Cluster operator monitoring is still updating\n* Cluster operator openshift-apiserver has not yet reported success\n* Cluster operator openshift-samples is still updating\n* Could not update authentication \"cluster\" (11 of 349)\n* Could not update deployment \"openshift-machine-api/machine-api-operator\" (76 of 349)\n* Could not update oauthclient \"console\" (219 of 349)\n* Could not update operatorgroup \"openshift-operators/global-operators\" (259 of 349)\n* Could not update operatorsource \"openshift-marketplace/certified-operators\" (279 of 349)\n* Could not update secret \"openshift-authentication/v4-0-config-system-ocp-branding-template\" (105 of 349)\n* Could not update serviceca \"cluster\" (290 of 349)\n* Could not update servicemonitor \"openshift-authentication/oauth-openshift\" (321 of 349)\n* Could not update servicemonitor \"openshift-controller-manager/openshift-controller-manager\" (349 of 349): timed out waiting for the condition"

/retest


[FEATURE] Clean Library / Clean on Scan

Is your feature request related to a problem? Please describe.
Currently if you change a file (rename / move / delete) it will show the old file is missing but will not do anything about it even on scanning.
Describe the solution you'd like

Have an additional menu item in the library options dropdown to "clean" a library
On scanning a library, have an option in library settings to clean files on scan or not

This way users will have the ability to let Stump manage it for them, or just manually click the menu item to do it themselves occasionally.

I've implemented the first functionality in the linked PR:
Have an additional menu item in the library options dropdown to "clean" a library

It won't exist in the dropdown menu you referenced, although it is very easy to add it there if that is the preference, rather I just placed a simple button in the management page for a library for now.
I'll leave this ticket open until I extend it to be an optional configuration for scans, but it will likely be after a few other items I want to tackle first 👍


Exception during namespace bundle split

This particular exception was reported. It was during an automatically initiated bundle split.
2018-01-26 00:38:08,489 - ERROR - [pulsar-web-61-28:PulsarWebResource@381] - [null] Failed to validate namespace bundle netflix/prod/ns1/0x84000000_0x86000000
java.lang.IllegalArgumentException: Invalid upper boundary for bundle
    at com.google.common.base.Preconditions.checkArgument(Preconditions.java:122)
    at org.apache.pulsar.common.naming.NamespaceBundles.validateBundle(NamespaceBundles.java:110)
    at org.apache.pulsar.broker.web.PulsarWebResource.validateNamespaceBundleRange(PulsarWebResource.java:378)
    at org.apache.pulsar.broker.web.PulsarWebResource.validateNamespaceBundleOwnership(PulsarWebResource.java:404)
    at org.apache.pulsar.broker.admin.Namespaces.splitNamespaceBundle(Namespaces.java:876)
    at sun.reflect.GeneratedMethodAccessor127.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
    at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
    at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
    at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:143)
    at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
    at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
    at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
    at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
    at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)

I think that the race condition is happening since all 4 initial bundles are getting split around the same time and the bundle cache gets updated while the new bundle split is being processed.
The result doesn't cause any particular issue, just that the bundle split fails with invalid bundle range, but the current bundle will continue to run unaffacted until the next split will take place.

will try to handle this one.

@merlimat , Would you please shed some light on how to reproduce it? Thanks.

@zhaijack I think it would only reproduce when multiple brokers are doing the split.
It probably should be be easy to reproduce by calling the split REST handler at same time for 2 (or more) bundles in a namespace.
Example (I haven't really tried this):

Create a namespace with 2 bundles (0x0000_0x7fffff and 0x800000_0xffffff)
Invoke the split in parallel on both bundles

I think the validation logic might have some flaw here. It would be good to log more info to help with the debugging. This is in NamespaceBundles:
public void validateBundle(NamespaceBundle nsBundle) throws Exception {
        int idx = Arrays.binarySearch(partitions, nsBundle.getLowerEndpoint());
        checkArgument(idx >= 0, "Cannot find bundle in the bundles list");
        checkArgument(nsBundle.getUpperEndpoint().equals(bundles.get(idx).getUpperEndpoint()),
                "Invalid upper boundary for bundle");
    }

Thanks a lot.

Seems the error happens in NamespaceService.splitAndOwnBundle().
The concurrent update of Policies will cause some override to bundles value that kept in Zookeeper. And this involves at lest 2 rounds of split.
e.g.

At beginning, we have 2 bundles, with partitions:[0x00000000, 0x7fffffff, 0xffffffff],

First round of split: We will split the 2 bundles at the same time.
for first bundle split, the NamespaceBundles value that returned by NamespaceBundleFactory.splitBundles() would be:
[0x00000000, 0x3fffffff, 0x7fffffff, 0xffffffff];
while at the same time, the NamespaceBundles value for second bundle split would be:
[0x00000000, 0x7fffffff, 0xbfffffff, 0xffffffff]

Then the 2 split operations, whoever success updateNamespaceBundles last, will override the former one.
Here if second split finally success,  the final bundles partitions would be:  [0x00000000, 0x7fffffff, 0xbfffffff, 0xffffffff];  But we thought it should be [0x00000000, 0x3fffffff, 0x7fffffff, 0xbfffffff,  0xffffffff];

Second round split:  e.g. try to split to range [0x00000000, 0x3fffffff], it will not find upper boundary 0x3fffffff in actual [0x00000000, 0x7fffffff, 0xbfffffff, 0xffffffff].
And  this will cause the error:

java.lang.IllegalArgumentException: Invalid upper boundary for bundle
    at com.google.common.base.Preconditions.checkArgument(Preconditions.java:122)

```

Thanks @zhaijack for looking into. Do you think this could be solved validating the z-node version? We could have a loop of read-modify-write retrying when there are simultaneous write to the z-node, and refreshing with the latest version of the split list.

Thanks @merlimat for the suggestion, It seems work-able, will try on this way


text-based file source/sink

Create text-based file IO blocks that have configurable delineations.

Created a text-file sink: https://github.com/pothosware/pothos-blocks/commit/055a31678531d321735df0ab332763743595929c
A matching file source is going to be harder for a few reasons:

there’s not string parsing for every type that has a toString() option
recovering the message type, or buffer type is not possible
this may mean manual specification for the data type and destination: message, stream, packet...

Currently, an entire port can be written to file and recovered by using: serializer -> binary file sink, and binary file source -> deserializer. So maybe since that use case is already covered, we dont need a text file source, or perhaps a very dumbed down source with only basic stream options.


Request to Bring Back DataFrame ouput for 'etable()'

Hi,
This is my first time opening an issue on Github. Please excuse me if my issue isn't well structured.
After updating from pyfixest v-0.22.0 to the latest release (0.24.2) I noticed that etable(models, type="df") no longer returns a DataFrame object and instead only returns a pandas Styler object. While the Styler object has its benefits , especially for formatting and layout, it lacks some of the flexibility that a regular DataFrame provides.
In particular, with a DataFrame output, I was able to:

Add custom rows with additional statistics.  Although I realize this can now be done using the custom_stats option within etable() it allowed for more flexibility on the users' end.

Concatenate different etable results at a later stage in my workflow.

Easily export the table results to CSV format, which is important for some projects that require open-source data storage methods like CSV over Excel.

Request: Would it be possible to restore the option to get the results of etable() as a DataFrame (either alongside the Styler object or as an alternative option)? This would allow for greater flexibility in post-processing and exporting the results.
To keep my current project running without major changes, I’ve reverted to pyfixest v0.22.0, which still returns the etable(type="df) results as a DataFrame.
Thanks for you consideration and maintaining this amazing package ! :)

Hi Max @MaxTemmerman, thanks for raising this!
Sorry that we got rid of the df method - it was not on my radar that anyone would use it to store results! I suppose that you prefer etable over the tidy method because it also includes information on fixed effects, r squared etc? Incidentally, @dsliwka and I chatted today about bringing back the "unstyled df", so that is what we'll do. =)
Thanks for the kind words, and excellent first issue! Thanks!

Hi Max (@MaxTemmerman), could you try out etable with output= "df" from this PR https://github.com/py-econometrics/pyfixest/pull/614 and tell us if the output is as you'd like?

Thank Max @MaxTemmerman! New version with df output for etable is now merged to master.


Add Clone impl to EthernetFrame

Also add PartialEq ?
https://github.com/m-labs/smoltcp/blob/master/src/wire/ipv4.rs#L222

@m-labs-homu r+

:pushpin: Commit 0924aa1 has been approved by whitequark

:hourglass: Testing commit 0924aa1b13e5da8141941ff18e91413f87919268 with merge 1ea5ada5dfd04c74a658f10977b12b885c97b574...

:sunny: Test successful - status-travis
Approved by: whitequark
Pushing 1ea5ada5dfd04c74a658f10977b12b885c97b574 to master...


M2000C Radio panel

Hello, are you going to update the M2000C radio profile? After last Razbam`s patch there is no more possibility to tune green radio, ILS or TACAN.
Greetngs!

Yes I will update it. I have to check what changes has been made.

Do you mean DCS official or beta release? Just noticed the difference between them. Damn, like a all together new plane in beta. DCS-BIOS doesn't work for the official M2000C, it does however for the beta.

Hi, it's all about open beta. After updating to the newest dcs-fp and dcs-bios. It was also when I had 2.5.5. In m2000 not all worked propperly especially green radio which was changed after razbam update. I think exactly the razbam patch się ale The mess. And about f18, radio panel stoped working after 2.5.6. patch.Wysłano z mojego smartfona Samsung Galaxy.
-------- Oryginalna wiadomość --------Od: Jerker Dahlblom<EMAIL_ADDRESS>Data: 29.02.2020  18:04  (GMT+01:00) Do: DCSFlightpanels/DCSFlightpanels<EMAIL_ADDRESS>DW: Nishizawa145<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Temat: Re: [DCSFlightpanels/DCSFlightpanels] M2000C Radio panel (#45) Do you mean DCS official or beta release? Just noticed the difference between them. Damn, like a all together new plane in beta. DCS-BIOS doesn't work for the official M2000C, it does however for the beta.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/DCSFlightpanels/DCSFlightpanels/issues/45?email_source=notifications\u0026email_token=AORAQNXD6VLWU4SHQAK4OWLRFE725A5CNFSM4KTP3MAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENL7HDY#issuecomment-592966543",
"url": "https://github.com/DCSFlightpanels/DCSFlightpanels/issues/45?email_source=notifications\u0026email_token=AORAQNXD6VLWU4SHQAK4OWLRFE725A5CNFSM4KTP3MAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENL7HDY#issuecomment-592966543",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]

Ok thanks. I will check further.

Here the comparing of the changes there are mad for the radios with the new cockpit

and here the latest lua:
M-2000C.zip

For me it works, both UHF and VHF presets show correct value in openbeta. UHF was of by 1. Please close this issue if working OK.

Everything works fine now. Closing.


[New chain]: Sonic v1.3.0

Summary
I would like to add v1.3.0 contracts with canonical addresses for Sonic Mainnet. It was already added also to safe-deployments repository with this PR https://github.com/safe-global/safe-deployments/pull/908.
Explorer sonicscan.org will be ready in following days
Also Multicall3 contract was already deployed on address 0xcA11bde05977b3631167028862bE2a173976CA11
Chain ID
146
Chain detail URL
https://chainlist.org/chain/146
RPC URL
https://rpc.soniclabs.com
Blockscout Client URL
No response
Etherscan Client URL
https://sonicscan.org
Etherscan Client API URL
https://api.sonicscan.org
Version
1.3.0
Address (Master copy)
0xd9Db270c1B5E3Bd161E8c8503c55cEABeE709552
Deployment Tx hash (Master copy)
0x57187d2af950339932773ba46a3e0c32659445c2f9ccb37d7e3c60e6d41adaf8
Block explorer URL (Master copy)
https://explorer.soniclabs.com/address/0xd9Db270c1B5E3Bd161E8c8503c55cEABeE709552
Address (Master copy L2)
0x3E5c63644E683549055b9Be8653de26E0B4CD36E
Deployment Tx hash (Master copy L2)
0x8ae814bdc551b218fa9e4cf12d361849c5c69361d64cec98e2a909ac39531140
Block explorer URL (Master copy L2)
https://explorer.soniclabs.com/address/0x3E5c63644E683549055b9Be8653de26E0B4CD36E
Address (Proxy factory)
0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2
Deployment Tx hash (Proxy factory)
0xc60c5a43d35a7d24e806f478dac6302630f484e21a8aaaca7aec4d03a15a0199
Block explorer URL (Proxy factory)
https://explorer.soniclabs.com/address/0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2

/execute


Update Tekton example to use v1beta1 resources

When following the example using Tekton 0.11, all was going well until
(base) Adams-MBP:docs aroberts$ k apply -f servicepromotepipelinerun.yaml
error: error when retrieving current configuration of:
Resource: "tekton.dev/v1beta1, Resource=pipelineruns", GroupVersionKind: "tekton.dev/v1beta1, Kind=PipelineRun"
Name: "", Namespace: "promote"
Object: &{map["apiVersion":"tekton.dev/v1beta1" "kind":"PipelineRun" "metadata":map["annotations":map["kubectl.kubernetes.io/last-applied-configuration":""] "generateName":"service-promote-pipelinerun-" "namespace":"promote"] "spec":map["params":[map["name":"commitId" "value":"v1"] map["name":"github-secret" "value":"promotesecret"] map["name":"github-config" "value":"promoteconfigmap"] map["name":"to" "value":"https://github.com/<your github org>/<your github repo>.git"] map["name":"service" "value":"service-a"]] "pipelineRef":map["name":"service-promote-pipeline"] "resources":[map["name":"git-source" "resourceRef":map["name":"git-app-repo"]] map["name":"docker-image" "resourceRef":map["name":"docker-app-image"]]] "serviceAccountName":"demo" "workspaces":[map["name":"repo-space" "persistentVolumeClaim":map["claimName":"repopvc"]]]]]}
from server for: "servicepromotepipelinerun.yaml": resource name may not be empty

This is using Tekton 0.11 as proven with

        image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/controller:v0.11.0-rc2@sha256:97c8424c6091ab3ffe5a56c4c564e0342279f8c16f3b51ddc66bf3f22e457a78

As an extra bonus, don't use the now deprecated PipelineResources, see https://github.com/tektoncd/pipeline/blob/master/docs/migrating-v1alpha1-to-v1beta1.md#pipelineresources-and-catalog-tasks which mentions the equivalent types we could use in Tasks.
Note that we may want to have a separate folder for the v1beta resources so anyone stuck on alpha for whatever reason could still use that - something to think about.

I'll do this one, tired of having to switch between Alpha and Beta Tekton installs

Parked the bus on this while I work the top banana repo structure issue

I'll take a look. First thing is to reproduce the problem. I may just move us up to 0.12.1 if I can.


docs: System-wide profiling related updates

Signed-off-by: Francisco Javier Honduvilla Coto<EMAIL_ADDRESS>

This PR updates all the docs, except design.md which I will update in another PR (cutting an issue for that one)


[api-management] fix scaffolder

Previous changes of apply "lint:fix" for consistent-type-imports removed correct
code in this package.  This PR restore it by running "rushx build" then
committing the changes.

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


Resteem others' posts with this API?

I've been developing a bot with this package for a while, but I can't figure out how to resteem a user's post. I'm currently doing it with another Python Script, is there any chance I can integrate the two into one script?
Thanks for helping ;)

I'm doing it through steemjs myself
			const action = JSON.stringify(['reblog', { 				account: user.username, 				author: item.author, 				permlink: item.permlink 			}]) 			global.steem.broadcast.customJson( 				wif, 				[], 				[user.username], 				'follow', 				action, 				function (err, res) { 					console.log(err) 					console.log(res) 				}

As @TwinkieWInkie said, you can always use SteemJS for custom usecases not supported by this package. However, I think it's a useful function that can be embedded in SteemBot too. I will try to add the feature soon.

Anychance you could tell me exactly where to place that and how to call it, for some reason I can't make it work, I want to have a community bot that once he upvotes a post he will resteem it, I tryed to add that inside the voting code, so once he votes, he will resteem after but I could not make it work.
Thanks in advance.

Library is called SteemJS.

 I was just asking where should place the code you wrote above, inside @p0o 's code to make the resteem option available. I never used JS before, I tried making a function inside randowhale.js and call it after but that did not work, I tried adding it inside the responder.js and call it after the vote in randowhale.js but that did not work either.

I'll give you this courtesy, once.
Show us the errors and your script, and we'll show you how wrong it is :)

If you want to make modifications to steem-bot:
git clone ..
cd ffs
npm install
do modifications in /src,
npm run build

@AdyWasHere You can use his code inside any handler functions from SteemBot. You just need to know what event you need to trigger with SteemBot and do whatever you want inside the handler functions. Just make sure to install the steem package from npm and put this on top of your code:
import steem from 'steem';

Do so and if you had error put your full code with errors here so someone can help.

@p0o You can assign me on this one

@TwinkieWInkie Sure. I added you as a collaborator but cannot find your name in Assignees list. I think you need to create the issue yourself, or be a previous contributor. Strange tho...

I'll commit in a bit

https://github.com/p0o/steem-bot/pull/18
@p0o


[web] add flags to control driver version to web-installers

Currently web-installers/web-drivers project only installs the driver versions locked in driver_versions.yaml file. Adding the following features will make it more flexible and easier to use from other projects:

[ ] choosing the driver version to install.
[ ] choosing whether or not delete the existing installation

fixed in: https://github.com/flutter/web_installers/pull/10


Webview doesn't resize when banner is shown on iOS

When the banner is shown on iOS (11.0.3), the web view does not resize. overlay is false.
Versions of cordova & relevant plugins:
cordova 7.1.0
cordova-ios 4.5.3

cordova-plugin-admobpro 2.29.27
cordova-plugin-admob-facebook 4.23.0
cordova-facebook-audnet-sdk 4.26.2
cordova-plugin-facebookads 4.23.2
cordova-plugin-extension 1.5.2

Thanks.

Could you please paste a screenshot, so that we can catch your point?

Sure. You can see that the bottom of the webview is not showing. This is not happening on Android where the plugin correctly resizes the webview so its bottom aligns with the top of the banner ad correctly.

@floatinghotpot Any updates on this issue? I can't seem to debug it since the code is behind the closed-source library.

I found more details - The issue only happens when using the camera plugin - so for example:

App opens up and createBanner is called, a banner is shown and the webview is shrinked vertically (from 667pt to 617pt on iPhone 6S).
The gallery or camera is opened via cordova-plugin-camera (latest version) and a native modal shows up.
When the galley/camera modal is closed (either cancelled or a photo was chosen), the webview resizes back to 667pt and hence is partly obscured by the banner ad.

Please advise as this prevents us from deploying new app versions at the moment.
Thanks!

@Bartzy - I've experienced similar with the safariviewcontroller plugin, in the callback of your native request you will need to hide/destroy the advert and then show/create it again as a workaround. This issue is something that happens on iOS only, on Android the webview remembers the correct height to render at.


(C#) Extensions are simultaneously considered enabled and disabled.

Does this issue occur when all extensions are disabled?
Inapplicable

This is fundamental to the issue. Continue reading, please.

VS Code Version
code-1.94.2-1728494086.el8.x86_64

OS Version
cpe:/o:fedoraproject:fedora:40

Steps to Reproduce

Created /home/RokeJulianLockhart/abdullah_godot_tutorial/Sprite2d.cs via https://flathub.org/apps/org.godotengine.GodotSharp.
Invoked it in code (stable).
Was recommended ms-dotnettools.csdevkit.
Installed it.

I presume that because it was previously installed but disabled, the unusual method of installing it from a recommendation managed to confuse VS Code?

https://github.com/microsoft/vscode/issues/231598#issuecomment-2427032859

@vs-code-engineering, it isn't present anymore. Apologies.


Unify rts-hs directories

We should factor common stuff (implementation of datatypes) in a third package and only have the differences in the two Haskell RTS packages.

Quite a lot of this is done on the hack5 branch now.


Getting started with sphinx

Not really intended to be merged, just wanted to start a discussion about structuring docs.
The 'major' design decision here was to refactored the versioning/about information in the codebase so it exists in just one place: the new version.py file.  (also used for setup.py)
I tried to configure sphinx with some sane defaults.  I still don't understand restructured text well enough to figure out what I want to do regarding organization, so that's totally open.
For now, make html works just fine if you want to look around on your env.
Plan to start looking at docstrings next, and brush up on ReST.

@pipermerriam didn't see your comment... exactly.  There is a canonical version number, etc. now that's trivial to pull in when needed and to update.

@pckilgore this looks great.  Once this is passing CI, I think I'd like to merge it with empty documentation, and then do any subsequent work on building out the documentation in a separate PR.
Historically I've not been keen on auto-generated API docs.  I like having a level of control over how documentation is structured and ordered and auto-doc doesn't give you much control over that.  There are other warts as well that I dislike that show up with generated docs for classes which have functionality defined in base classes.
I'm going to open a new issue describing the high level structure that I think we should start out with and if that's something you'd like to stub out or take on trying to write, I'd be happy to support you in any way I can.
BTW, RST has a bit of an initial learning curve but once you're over it, it's pretty easy to write.  I'd recommend looking into the Django documentation to see an example of really solid RST docs.

Also, I opened https://github.com/pipermerriam/py-evm/issues/19 which is related.

That all makes sense to me. I'll consolidate the PR to something more
sensible. Build fail was a flake8 issue on my end (broken linter in sublime
looks a lot like no linting errors!).
On Wed, Jun 28, 2017, 12:05 PM Piper Merriam<EMAIL_ADDRESS>wrote:

@pckilgore https://github.com/pckilgore this looks great. Once this is
passing CI, I think I'd like to merge it with empty documentation, and
then do any subsequent work on building out the documentation in a separate
PR.
Historically I've not been keen on auto-generated API docs. I like having
a level of control over how documentation is structured and ordered and
auto-doc doesn't give you much control over that. There are other warts as
well that I dislike that show up with generated docs for classes which have
functionality defined in base classes.
I'm going to open a new issue describing the high level structure that I
think we should start out with and if that's something you'd like to stub
out or take on trying to write, I'd be happy to support you in any way I
can.
BTW, RST has a bit of an initial learning curve but once you're over it,
it's pretty easy to write. I'd recommend looking into the Django
documentation to see an example of really solid RST docs.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pipermerriam/py-evm/pull/18#issuecomment-311724595,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACcMQ8twLFr3DRERSEk_SeXsmLp_ELEFks5sIofrgaJpZM4OHSb0
.

--

Patrick


VolatileTextureMgr::addImage memory leak

axmol version:
devices test on:
developing environments

NDK version: r23c
Xcode version: 14.2+
Visual Studio:

VS version: 2022 (17.9+)
MSVC version: 19.39+
Windows SDK version: 10.0.22621.0+

cmake version:
Steps to Reproduce:

Fixed by https://github.com/axmolengine/axmol/commit/499c347bda6955ea740dcacfc36c8448b1f544b6


Cross Compiling LCE python package

The Cross Compile with Bazel guide in the docs is guiding to cross compile a lce_minimal but not the python package itself
Is there a way to do the same?
I am currently compiling the package for my Raspberry pi 4 64 bit natively with guide "Building the Converter" from the docs
but it apperas to be way slow (Due to ram limitation I had to set bazel build -j 1)
So how should we cross compile the lce python package with bazel
I am a beginner , so I am not able to replicate the lce_minimal cross compiling process for the package

Hi @Chidhambararajan, I've transferred this issue into the LCE repo.
As far as I know, we haven't ever cross-compiled the converter Pip package. That doesn't mean it's not possible, but we don't have a known configuration that will work.
I'm afraid native compilation on your Raspberry Pi is likely your best bet. Unfortunately, compilation of the Pip package is very very slow, because it requires compiling all of the TensorFlow (non-Lite) CPU kernels. This is not something we can resolve on our end, because we simply extend the TFLite converter, and it is a requirement for building the TFLite converter. Even on my MacBook Pro, compiling the converter Pip package takes about 90 minutes, on your Raspberry Pi I would expect it to take many hours.
Sorry I can't be of more assistance.

Hi @Chidhambararajan, I've transferred this issue into the LCE repo.
As far as I know, we haven't ever cross-compiled the converter Pip package. That doesn't mean it's not possible, but we don't have a known configuration that will work.
I'm afraid native compilation on your Raspberry Pi is likely your best bet. Unfortunately, compilation of the Pip package is very very slow, because it requires compiling all of the TensorFlow (non-Lite) CPU kernels. This is not something we can resolve on our end, because we simply extend the TFLite converter, and it is a requirement for building the TFLite converter. Even on my MacBook Pro, compiling the converter Pip package takes about 90 minutes, on your Raspberry Pi I would expect it to take many hours.
Sorry I can't be of more assistance.

I'm going to close this for now, but feel free to re-open if there's any update on this or you have any further questions.

I'm going to close this for now, but feel free to re-open if there's any update on this or you have any further questions.


iOS 11 - UI API called on a background thread (activity indicator)

RN 0.48.3
Main Thread Checker: UI API called on a background thread: -[UIApplication setNetworkActivityIndicatorVisible:]
PID: 698, TID: 519961, Thread name: (none), Queue name: NSOperationQueue 0x1c1c3a8a0 (QOS: UNSPECIFIED), QoS: 0
Backtrace:
4   xxxxxxxxxxxx                       0x000000010460e940 -[RNFetchBlobNetwork URLSession:task:didCompleteWithError:] + 236
5   CFNetwork                           0x0000000181fa6694 <redacted> + 76
6   Foundation                          0x000000018223a310 <redacted> + 16
7   Foundation                          0x000000018217a9e4 <redacted> + 72
8   Foundation                          0x000000018216a620 <redacted> + 848
9   libdispatch.dylib                   0x0000000105fc145c _dispatch_client_callout + 16
10  libdispatch.dylib                   0x0000000105fcdb74 _dispatch_block_invoke_direct + 268
11  libdispatch.dylib                   0x0000000105fc145c _dispatch_client_callout + 16
12  libdispatch.dylib                   0x0000000105fcdb74 _dispatch_block_invoke_direct + 268
13  libdispatch.dylib                   0x0000000105fcda34 dispatch_block_perform + 104
14  Foundation                          0x000000018223bfe8 <redacted> + 376
15  libdispatch.dylib                   0x0000000105fc145c _dispatch_client_callout + 16
16  libdispatch.dylib                   0x0000000105fce800 _dispatch_continuation_pop + 592
17  libdispatch.dylib                   0x0000000105fcd09c _dispatch_async_redirect_invoke + 628
18  libdispatch.dylib                   0x0000000105fd2b54 _dispatch_root_queue_drain + 616
19  libdispatch.dylib                   0x0000000105fd2880 _dispatch_worker_thread3 + 136
20  libsystem_pthread.dylib             0x000000018149b130 _pthread_wqthread + 1268
21  libsystem_pthread.dylib             0x000000018149ac30 start_wqthread + 4

Source: https://github.com/wkh237/react-native-fetch-blob/blob/master/ios/RNFetchBlobNetwork.m#L478

1

+1

+1

+1

+1

Any updates on this?
At first, it throws this warning, but then it seems to stabilize.

The package owner's last action on Github was on 12 September.

+1

Okay guys, instead of posting a useless "+1" — for which Github introduced the thumb-up icons to prevent spamming the discussion — have a look at the top level project README that I updated today. Somebody has to actually DO the work. Volunteers wanted and welcome.

@lll000111 It is not clear how to fix the error, could give a link to a specific line in the README?

Fixed as well in #636


Dynamically change label on selected tile

Hi,
I'm currently having trouble modifying a label of a selected tile when certain events occur. My label has its FIELD_DATA_SOURCE set to SOURCE_DYNAMIC and the appropriate case in the switch of the HandleDynamicLabelRequest method (service.cs), but only updates when I login again. Is there a way to force update a field when an event happens ?
Thanks for your time,

Am I right that you want to pass information dynamically from c# service to the c++ Credential Provider using the pipe?
I've looked into that part of the code over a year ago and found out that I need to redo a lot of the pipe coding to achieve this goal.
There are only a special types of messages coded into c++ and c# parts of the pipe.

Yes that's what I'm trying to achieve.
Basically I'll setup a TcpListener and change the label when receiving certain messages. I need a way to tell the Credential Provider to set it to the new value over the pipe.
Would I be able to do the same using the NotifyStateChanged from the ServiceStateHelper.cpp class ? Reading the Credential Provider doc from MSDN it appears I only need to call CredentialProviderCredentialEvents::SetFieldString to update a field while it's shown on the screen or am I missing something ?

pGina is using credential provider v1, as a result you can't simply update any field or whatever. You need to redraw everything. Only CP v2 can update parts of the screen without redraw the whole CP, but this is only available on windows 8 and up.
Have you taken a look into the CP examples from MS?
https://github.com/Microsoft/Windows-classic-samples/tree/master/Samples/Win7Samples/security/credentialproviders/samplehardwareeventcredentialprovider

Updating the whole UI indeed works and does what I needed, thanks for the link and answer. Only have to find why the CPFT_LARGE_TEXT onlys display small text but I think I'll be able to find why.


Local backend fails to build

The transfer.Backend and transfer.LockBackend interfaces have both changed, but local.LocalBackend and local.localLockBackend have not had their implementations adjusted accordingly.

For context, I get the following errors when trying to build with the latest master:
# github.com/charmbracelet/git-lfs-transfer/internal/local
internal/local/backend.go:20:26: cannot use &LocalBackend{} (value of type *LocalBackend) as transfer.Backend value in variable declaration: *LocalBackend does not implement transfer.Backend (wrong type for method Batch)
                have Batch(string, []transfer.Pointer) ([]transfer.BatchItem, error)
                want Batch(string, []transfer.Pointer, map[string]string) ([]transfer.BatchItem, error)
internal/local/backend.go:99:24: cannot use l (variable of type *LocalBackend) as transfer.Backend value in argument to NewLockBackend: *LocalBackend does not implement transfer.Backend (wrong type for method Batch)
                have Batch(string, []transfer.Pointer) ([]transfer.BatchItem, error)
                want Batch(string, []transfer.Pointer, map[string]string) ([]transfer.BatchItem, error)
internal/local/backend.go:155:30: cannot use &localLockBackend{} (value of type *localLockBackend) as transfer.LockBackend value in variable declaration: *localLockBackend does not implement transfer.LockBackend (wrong type for method Create)
                have Create(string) (transfer.Lock, error)
                want Create(string, string) (transfer.Lock, error)
internal/local/backend.go:164:9: cannot use &localLockBackend{…} (value of type *localLockBackend) as transfer.LockBackend value in return statement: *localLockBackend does not implement transfer.LockBackend (wrong type for method Create)
                have Create(string) (transfer.Lock, error)
                want Create(string, string) (transfer.Lock, error)
internal/local/backend.go:172:9: impossible type assertion: l.backend.(*LocalBackend)
        *LocalBackend does not implement transfer.Backend (wrong type for method Batch)
                have Batch(string, []transfer.Pointer) ([]transfer.BatchItem, error)
                want Batch(string, []transfer.Pointer, map[string]string) ([]transfer.BatchItem, error)

I believe this has been fixed as of 66cd685ac2236703e80bfbaedf46f8099e60caa4.


HBase REST API is not enable by default, needs startup script

[Enter feedback here]

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

ID: c1c890f7-da40-030a-9119-b2717e5fa0e6
Version Independent ID: 2d9ed8e3-2d38-4588-b2ba-12c4aef925fc
Content: Tutorial - Use Apache HBase in Azure HDInsight
Content Source: articles/hdinsight/hbase/apache-hbase-tutorial-get-started-linux.md
Service: hdinsight
GitHub Login: @hrasheed-msft
Microsoft Alias: hrasheed

@shwetams  Thanks for the question! We are investigating and will update you shortly.

Thanks for contributing @shwetams! This issue is being addressed in this PR: https://github.com/MicrosoftDocs/azure-docs/pull/64593
#please-close


Authentication & Authorization

We need an abstraction to handle user logins. I don't want it to be tied directly to the database though, so we probably need to carefully think about how we design it.

Hey @brendt, since you don't want to tie the authentication to the DB, I was thinking about and I had an idea.
This is just a high-overview idea, but if you feel it's something we can explore I can think more about it and start drafting a PR.
What if we had something like this?
final class AuthConfig
{
    public function __construct(
        public readonly CredentialsResolver $credentials,
        public readonly SessionDriver $driver,
    ) {
    }
}

interface CredentialsResolver
{
    public function identifier(): string; // This would return for example an username or email

    public function secret(): string; // This would return for example a password or API key
}

Then we could have some implementations for the CredentialsResolver like DatabaseCredentials that would receive an Authenticable parameter that could be applied to any model class.
final readonly DatabaseCredentials implements CredentialsResolver
{
    public function __construct(
        Authenticable $authenticable,
    ) {
    }
}

We could have an OAuthCredentials that would wrap the common logic of an OAuth flow.
Other examples would be:

SocialCredentials that would provide out-of-the-box some social login logic.
LdapCredentials that would provide an LDAP login logic.

I think I like where this is going. What's still missing is the public facing API. How would framework users interact with this auth layer? Did you have some thoughts about that?

Yes, but I think I sent some wrong names in my first comment, the idea would be to have something like:
interface Authenticable
{
    public function identifier(): string; // This would return for example an username or email

    public function secret(): string; // This would return for example a password or API key
}

Then in the configuration, it would have something like this:
final class AuthConfig
{
    public function __construct(
        public readonly Authenticator $authenticator,
        public readonly SessionDriver $driver,
    ) {
    }
}

Then we would have a common contract on how to handle authentication and that would be the public one.
I thought about a really minimalist public API.
interface Authenticator
{
    public function authenticate(Authenticable $authenticable): void;  // It would throw an exception if the authentication fails

    public function invalidate(): void;

    public function user(): Authenticable;
}

Then we would have the different authenticator like DatabaseAuthenticator, OAuthAuthenticator, SocialAuthenticator, LdapAuthenticator.
For a Database login for example we would have something like:
final class User implements Authenticable
{
    // Model definition here.

    public function identifier(): string
    {
        return $this->email;
    }

    public function secret(): string
    {
        return $this->password;
    }
}

final readonly class AuthController
{
    public function __construct(
        private Authenticator $authenticator,
    ) {
    }

    public function login(Request $request): Response
    {
        $user = ... // get the user with the data from request
        $this->authenticator->authenticate($user);
        // return response
    }

    public function logout(): Response
    {
        $this->authenticator->invalidate();
        // return response
    }

    public function loggedUser(): Response
    {
        $user = $this->authenticator->user();
        // return response with user data
    }
}

final readonly class AuthController
{
    public function __construct(
        private Authenticator $authenticator,
    ) {
    }

    public function login(Request $request): Response
    {
        $user = ... // get the user with the data from request
        $this->authenticator->authenticate($user);
        // return response
    }

    public function logout(): Response
    {
        $this->authenticator->invalidate();
        // return response
    }

    public function loggedUser(): Response
    {
        $user = $this->authenticator->user();
        // return response with user data
    }
}

I like this! A couple of thoughts:

I think authenticate and invalidate should be called login and logout
What about registering the logged in Authenticable as a singleton in the container?
I think Authenticable is a bit of a weird name, but I don't know a better one right now

I agree on renaming the methods to login an logout and I feel that’s a great idea to register the Authenticable as a singleton!
I didn’t think on a better name for it as well, I feel the name is weird, but IDK how to call it 😅
Can I start drafting an initial implementation for this idea, @brendt?

@WendellAdriel Yes go for it! 👍

Yay!!!
I’ll start working on this to prepare a draft PR then!