Revert "allow newer xarray versions"

Reverts nicrie/xeofs#34
missed conventional commits to trigger new release

Codecov Report

Merging #35 (c40100a) into main (56a6700) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #35   +/-   ##
=======================================
  Coverage   96.28%   96.28%
=======================================
  Files          49       49
  Lines        3206     3206
=======================================
  Hits         3087     3087
  Misses        119      119

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


Error when compiling: unbalanced parenthesis in operand 2.

Hello! I met the following issue when compiling:

{standard input}: Assembler messages:
{standard input}:270623: Warning: end of file not at end of a line; newline inserted
{standard input}:270726: Error: unbalanced parenthesis in operand 2.
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
gcc: fatal error: Killed signal terminated program cc1
compilation terminated.
scons: *** [module.main.o] Error 1

The code was working well, but this issue happened when compiling.
It seems the C code nuitka generated has this error: unbalanced parenthesis in operand 2.
Environment:
Python 3.8
Ubuntu 18.02

This is low memory to the gcc compiler, not a Nuitka bug per se.

Got that. I compiled the code on a computer with larger memory and THAT error does not exist.
But I met a new error:

raceback (most recent call last):
File "/home/charles/.local/lib/python3.8/site-packages/nuitka/main.py", line 182, in
main()
File "/home/charles/.local/lib/python3.8/site-packages/nuitka/main.py", line 175, in main
MainControl.main()
File "/home/charles/.local/lib/python3.8/site-packages/nuitka/MainControl.py", line 782, in main
copyDataFiles(dist_dir=dist_dir, data_files=data_files)
File "/home/charles/.local/lib/python3.8/site-packages/nuitka/freezer/Standalone.py", line 1555, in copyDataFiles
for source_desc, target_filename in data_files:
ValueError: not enough values to unpack (expected 2, got 0)
This happened after gcc compiled finish.

Got that. I compiled the code on a computer with larger memory and THAT error does not exist.
But I met a new error:

Traceback (most recent call last):
File "/home/charles/.local/lib/python3.8/site-packages/nuitka/main.py", line 182, in
main()
File "/home/charles/.local/lib/python3.8/site-packages/nuitka/main.py", line 175, in main
MainControl.main()
File "/home/charles/.local/lib/python3.8/site-packages/nuitka/MainControl.py", line 782, in main
copyDataFiles(dist_dir=dist_dir, data_files=data_files)
File "/home/charles/.local/lib/python3.8/site-packages/nuitka/freezer/Standalone.py", line 1555, in copyDataFiles
for source_desc, target_filename in data_files:
ValueError: not enough values to unpack (expected 2, got 0)

This happened after gcc compiled finish. It seems this is a bug of nuitka.
BTW, I got a folder xxx.dist and xxx.build. There is a xxx (executable file) in xxx.dist. But it can't run standalone. And I didn't get a xxx outside those two folders.


Automated cherry pick of #3434: fix: bucket invalid status due to disabled cloud provider

Cherry pick of #3434 on release/2.12.
#3434: fix: bucket invalid status due to disabled cloud provider

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.12@588a7e4). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             release/2.12   #3436   +/-   ##
==============================================
  Coverage                ?   7.05%
==============================================
  Files                   ?     496
  Lines                   ?   82377
  Branches                ?       0
==============================================
  Hits                    ?    5808
  Misses                  ?   76082
  Partials                ?     487

Flag
Coverage Δ

#aFlag
7.05% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/cloudproviders.go
1.02% <0%> (ø)

pkg/compute/models/buckets.go
1.3% <0%> (ø)

Continue to review full report at Codecov.

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

/lgtm
/approve


Ability to store unlimited clipboard data

Thanks for this app. A great alternative to Ditto Clipboard manager on Windows. Ditto has an additional ability to store unlimited clips ( I know it is sounds too much), but maybe you can add that too), or instead of slider we can actually input a number?
Again, thanks for this wonderful app.

FYI, this is not an issue but a feature enhancement, it should be tagged as such.

I understand that it would be cool, but what's the actual benefit of having unlimited history? I am fairly certain it will cause issues (slow search, NSMenu issues) and I don't see any value for me to have it. Can you elaborate?

Closing since no reply for more than a month. Feel free to re-open and provide more info.

I would like to have a much more larger history than 999 but not unlimited.

Do you have any particular number you would like to store?
Thank you,
Alex
On Nov 1, 2021, 09:27 -0700, krishna2vinayak @.***>, wrote:

I would like to have a much more larger history than 999 but not unlimited.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.

How about 15k or 20k? I'm not sure if it slows down the search. I usually only use text copies as my work involves too many copy pasting and it's helpful to search it from one place than switching webpages. Also, does the app have any feature to ignore specific text just like histignore in bash?

How about 15k or 20k? I'm not sure if it slows down the search. I usually only use text copies as my work involves too many copy pasting and it's helpful to search it from one place than switching webpages.

Fuzzy search is getting slow on 200+ records, but the real problem is that we have to hide anything above 999+ from the menu, otherwise the menu itself will be slow and slow loading. I'll need to investigate this in more details.

Also, does the app have any feature to ignore specific text just like histignore in bash?
No, there is no such thing, you can only ignore by app or pasteboard type.

I agree with this feature.
Why not adding an Unlimited checkbox next to the slider (which can gray-out the slider?).
Auto-disabling fuzzy search in this context can be a life saver for people.

What if you placed a limit on the menu size? Say limit the menu to 300 - I'm pretty sure few people scroll that far down - and then only enable finding items by search. At the end of the 300 items a "show more" option can be shown.

I need to figure out #384 first because right now all the history is stored in memory. Once I tackle this, I'll try to implement unlimited history.

I use 10k as limit on Ditto. And the search is always instant.

Good for Ditto, I wish NSMenu was as fast.

I've been using Raycast app to access clipboard history. Just enable Clipboard History extension and you are good to go.

Works like just like ditto minus few advanced configurations.
Setup a Hotkey to quickly open the clipboard history. Search. Press Return to paste. 🚀🤩
UI is 10x better than Ditto, but that didn't matter much to me.
Clipboard seems to be unlimited but clipboard retention max period is 3months, which worked fine for me.
Clips when reused brings up the top which can be reused again for 3 months.

Thanks @banuragaxioned for recommending this app.

Good for Raycast, I wish NSMenu was as fast.

How slow would an unlimited/extended history actually be? The new M1/M2 Macs are so fast that it might not be a problem. Alternatively, you could make a special helper library that does nothing but searches clipboard history and is optimized. Or, you could disable fuzzy searching like someone suggested.

The problem is not with fuzzy searching, threading, or libraries, the problem is that the core AppKit component called NSMenu is not optimized for such huge lists and it takes time to (re)render it. Additionally, everything is stored in memory so it would easily result in Maccy using gigs of RAM.
Also, PRs are always welcome.

Now I see. However, I don't know why implementing this depends on NSMenu rendering everything, as you could render only what could possibly be visible, and this would also make regular usage faster as well. This is basically what video games do by calculating what's occluded and throwing all of that out.

This would be ideal, though making such a dynamic menu is not a trivial task.

+1 Would love to have this!

@p0deje, how approachable do you think this issue is? I am familiar with swift, and could take a stab at it.

@j-dogcoder The whole storage solution probably needs to be reworked to properly use Core Data with https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/CoreData/Performance.html in mind. I think I did some poor decisions when I implemented it as I didn't really understand how it works back then. Once this is done, the dynamic menu could be worked on.

That's probably beyond my scope unfortunately

Downloaded this because Alfred is also refusing to let us control the limit. 😢

+1 Would love to have this!

+1

+1 for more items to store.

+1  the limit of  999 should increase

+1 Having more text saved than 999 would be life saver for me

Thought I'd point out that CopyClip uses SQLite under the hood to address this issue. I found myself once or twice having to search through older clipboard history (see below), but 999 items seems like a reasonable limit. I might disable images if Maccy ends up using too much memory.
> cd /Users/mihaitodor/Library/Containers/com.fiplab.clipboard/Data/Library/Application\ Support/CopyClip
> sqlite3 copyclip.sqlite
sqlite> # You can use a `LIKE` clause on `ZCONTENTS` if you know what you're looking for
sqlite> select * from ZCLIPPING order by ZDATERECORDED desc;
sqlite> select ZCONTENTS from ZCLIPPING where Z_PK = <some ID>;

+1 for storing unlimited text only. menu can be as short or even non existent since there is a search box

@p0deje given the rewrite with V2, is this a feature that's now possible?

@jaspermayone In my limited testing, the performance degrades with a couple of thousand entries. It should be possible now with 2.0 rewrite, but I'm yet to see how exactly. I would consider this to be a feature for 3.0 at the very least.

That would be amazing!


Always use matched path for replacement path

This fixes a bug where a hash in an SVG tag would be removed when using
the prepend option, because only the replacement path, but not the full
match with the hash, would be used (see
https://github.com/rickharrison/broccoli-asset-rev/issues/51).

Awesome, thanks!

@jclem I unfortunately had to revert this PR as it broke prepend when there were other types of asset urls with leading information. I.E. '/images/foo.png' or ./images/foo.png
I will try and look into this more tonight.

Ah, whoops. I figured I was ok w/the existing tests. Sorry @rickharrison. Still should be a relatively easy fix.

You definitely poked a hole in the existing test suite :) so thanks in helping find that!


firebase-functions not found

Which Package & Your Environment
After I cloned the repo as written in the readme and follow the instructions (change project-id, yarn, yarn serve), the following error occurs:
[warn] ⚠  functions: Failed to load functions source code. Ensure that you have the latest SDK by running npm i --save firebase-functions inside the functions directory.
[debug] [2018-04-04T11:28:04.306Z] Error during trigger parsing:  Error parsing triggers: Cannot find module '/Users/xxx/Development/xxx/firebase-functions-es6-babel/dist/functions'

Try running "npm install" in your functions directory before deploying.
[warn] ⚠  functions: Error from emulator. Error parsing triggers: Cannot find module '/Users/xxx/Development/xxx/firebase-functions-es6-babel/dist/functions'

Try running "npm install" in your functions directory before deploying.

Expected Behaviour
Serve works without further configurations.
Actual Behaviour
Serve does not run.
Possible Solution
Can't find a solution yet.
Context
Clean repo clone.

I face this issue too, any work around?


chore(*): remove unused deps and update concerto deps

Closes #

Changes

remove unused deps and update concerto deps

Author Checklist

[ ] Ensure you provide a DCO sign-off for your commits using the --signoff option of git commit.
[ ] Vital features and changes captured in unit and/or integration tests
[ ] Commits messages follow AP format
[ ] Extend the documentation, if necessary
[ ] Merging to main from fork:branchname

Also, the build/publish to npm steps is failing in the main pipeline for last 3 code merges. Is that a known issue being parked for later?


Some issues with Ease on IE11

Go to https://ease.ghost.io/ using IE11.
Doesn't display all right, fonts not loaded. Most likely all down to a few issues observedin the console.
Perhaps just some fixup polyfills are required.

Yeah, I know, IE11.

Hey @pysiak, we're not supporting IE11 on our themes. Plus IE11's end of support by Microsoft was Nov 30, 2020.

Hey @pysiak, we're not supporting IE11 on our themes. Plus IE11's end of support by Microsoft was Nov 30, 2020.


Upgrade Sentry SDK

Description

Updates @sentry/browser to the latest version 6.12.0
I'm not exactly sure why the lock file changed a ton but I think it is ok

How to test

Define REACT_APP_SENTRY_URL in your local env

To get the Sentry URL ask me or find it in Sentry (Cloud Manager -> Project Settings -> DSNs)

Add some code in Cloud Manager anywhere that will call Sentry's captureException function to test that exceptions get sent to Sentry

import { captureException } from '@sentry/browser';

captureException("Test Sentry");

Go to Sentry and verify that exceptions are captured as expected

I want to merge, but that Object()()[] error should not be possible. Will investigate further

Closing due to really odd dependency issues after bumping Sentry version


[SMALLFIX] Make bootstrap-conf to support oss to match the docs on .org

LGTM

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/10676/
Test PASSed.


Unable to run  test_bamquality() function on bam files of nanopore reads generated by minimap2

bionumpy version: 1.0.12
Python version: 3.10
Operating System: MacOS Sonoma v14.3 M2 Pro

Description
I encountered an error when I ran the test bam example code pulled from your  documentation here
https://bionumpy.github.io/bionumpy/tutorials/bam_handling.html
Code I ran
def test_bamquality( bam_file:str):
    # Open the aligments file
    alignments = bnp.open(bam_file).read()
    # Extract the first cigar operation for each alignment
    start_cigar = alignments.cigar_op[..., 0]
    # Get aligments that start with soft-clip
    start_clipped_alignments = alignments[start_cigar == "s"]
    # Get the number of softclipped bases
    n_clipped_bases = start_clipped_alignments.cigar_length[..., 0]
    # Extract clipped bases
    clipped_bases = ragged_slice(start_clipped_alignments.sequence,
                                 ends=n_clipped_bases)
    # Count bases in softclipped regions
    print(bnp.count_encoded(clipped_bases.ravel()))
    # Count bases in whole reads
    print(bnp.count_encoded(alignments.sequence.ravel()))

test_bamquality(bam_file)

If there was a crash, please include the traceback here.
ValueError                                Traceback (most recent call last)
Cell In[225], line 18
     15     # Count bases in whole reads
     16     print(bnp.count_encoded(alignments.sequence.ravel()))
---> 18 test_bamquality(bam_file)

Cell In[225], line 5, in test_bamquality(bam_file)
      3 alignments = bnp.open(bam_file).read()
      4 # Extract the first cigar operation for each alignment
----> 5 start_cigar = alignments.cigar_op[..., 0]
      6 # Get aligments that start with soft-clip
      7 start_clipped_alignments = alignments[start_cigar == "s"]

File [/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/npstructures/raggedarray/indexablearray.py:25](https://file+.vscode-resource.vscode-cdn.net/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/npstructures/raggedarray/indexablearray.py:25), in IndexableArray.__getitem__(self, index)
     24 def __getitem__(self, index: Union[Tuple, List[int], npt.ArrayLike, int, slice]):
---> 25     ret = self._get_row_subset(index, do_split=False)
     26     if ret == NotImplemented:
     27         raise NotImplementedError()

File [/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/npstructures/raggedarray/indexablearray.py:64](https://file+.vscode-resource.vscode-cdn.net/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/npstructures/raggedarray/indexablearray.py:64), in IndexableArray._get_row_subset(self, index, do_split)
     62         return self._get_row_col_subset(index[0], index[1])
     63     else:
---> 64         return self._get_row_col_subset(index[0], index[1])
     65 if index is Ellipsis:
     66     return slice(None), self._shape

File [/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/npstructures/raggedarray/indexablearray.py:46](https://file+.vscode-resource.vscode-cdn.net/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/npstructures/raggedarray/indexablearray.py:46), in IndexableArray._get_row_col_subset(self, rows, cols)
     44     return self._get_element(rows, cols)
     45 view = self._shape.view_rows(rows)
---> 46 view = view.col_slice(cols)
     47 if not (isinstance(rows, Number) or isinstance(cols, Number)):
     48     return view

File [/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/npstructures/raggedshape.py:491](https://file+.vscode-resource.vscode-cdn.net/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/npstructures/raggedshape.py:491), in RaggedView2.col_slice(self, col_slice)
    489 idx = col_slice
    490 if len(self.lengths) and idx >= np.min(self.lengths):
--> 491     raise ValueError(f'Column index {idx} is out of bounds for shape {self}')
    492 if idx >= 0:
    493     return self.__class__(self.starts + idx,
    494                           np.ones_like(self.lengths))

ValueError: Column index 0 is out of bounds for shape RaggedView2(starts=array([      0,      14,      30, ..., 1305792, 1305792, 1305792]), lengths=array([14, 16, 26, ...,  0,  0,  0]), col_step=1, _dtype=)

From the output there it seems that the cigar string is empty in many of the aligned reads. Can that be the case? I'm adding more informative exception handling now. But if you could share a subset of the bam file it would ease the troubleshooting

I think the problem might be that minimap2 does not produce cigar output by default, since it doesn't do local alignment. So this example that fetched the cigar strings will fail.
Could you test with a sam/bam that has cigar-output? You can get minimap2 to produce cigar output with the -c flag.

I will check and try with cigar flag and update you
Rhondene Wint, PhD
On Mon, Nov 4, 2024, 2:37 AM ivargr @.***> wrote:

I think the problem might be that minimap2 does not produce cigar output
by default, since it doesn't do local alignment. So this example that
fetched the cigar strings will fail.
Could you test with a sam/bam that has cigar-output? You can get minimap2
to produce cigar output with the -c flag.
—
Reply to this email directly, view it on GitHub
https://github.com/bionumpy/bionumpy/issues/81#issuecomment-2454358225,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE2LZ6D65233LUG6MZWIHADZ65E5XAVCNFSM6AAAAABQ7KWUKWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJUGM2TQMRSGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thank you again for the prompt response. I peaked at the bam file and see cigar string. I have attached a subsample of the offending bam file:
sample_A_sub_sorted.bam.zip

Thank you for sharing! The example was not working for your file since it had some unmapped reads (which doesn't have a cigar string). I updated the example now to first filter out unmapped reads, so now it should work on your file as well. The updated file is here https://github.com/bionumpy/bionumpy/blob/dev/scripts/bam_example.py
(The error messages are far from ideal, but an update to npstructures is needed to fix it)

Thank you! The function you shared worked! I also modify the function to report the fraction of soft clipped bases in a tabular format and report canonical nucleotides as the first rows
def test_bamquality_v2(filename:str):
    """ Uses bionumpy to extract and enumerate soft-clipped bases from a bam file"""

    # Open the alignments file
    alignments = bnp.open(filename).read()
    # Filter out unmapped reads
    alignments = alignments[alignments.flag & 4 == 0]
    # Extract the first cigar operation for each alignments
    start_cigar = alignments.cigar_op[..., 0]
    # Get aligments that start with soft-clip
    start_clipped_alignments = alignments[start_cigar == "s"]
    # Get the number of softclipped bases
    n_clipped_bases = start_clipped_alignments.cigar_length[..., 0]
    # Extract clipped bases
    clipped_bases = ragged_slice(start_clipped_alignments.sequence,
                                 ends=n_clipped_bases)
    # count num of bases in soft-clipped regions and whole reads
    clipped_counts = bnp.count_encoded(clipped_bases.ravel())
    whole_counts = bnp.count_encoded(alignments.sequence.ravel())

    # get total number of bases by summing all individual counts
    total_clipped_bases = sum(clipped_counts.counts)
    total_whole_bases = sum(whole_counts.counts)
    #get the total fraction of soft-clipped bases
    print('Total clipped bases:', total_clipped_bases)
    print('Total bases in whole read:', total_whole_bases)
    fraction_clipped = total_clipped_bases / total_whole_bases if total_whole_bases > 0 else 0
    print(f'Total Fraction of soft-clipped bases: {fraction_clipped*100:.2f}%')

    #report per base softlclipped results in table
    data = []
    for base in whole_counts.alphabet:
        total_number = whole_counts[base]
        total_soft_clipped = clipped_counts[base]
        percent_soft_clipped = (total_soft_clipped / total_number * 100) if total_number > 0 else 0
        data.append({
            "Base": base,
            "Total Number": total_number,
            "Total Soft-clipped": total_soft_clipped,
            "% Soft clipped": percent_soft_clipped
        })

    df = pd.DataFrame(data)

    #reorder to have 'A', 'C', 'T', 'G' as the first rows
    standard_bases = ['A', 'C', 'T', 'G']
    df['is_standard'] = df['Base'].apply(lambda x: x in standard_bases)
    df = df.sort_values(by=['is_standard', 'Base'], ascending=[False, True]).drop(columns=['is_standard']).reset_index(drop=True)
    return df

soft_clip_summary = test_bamquality(bam_file)

Output:

Cheers and Thanks again for this bring numpy array processing to DNA string data!


lines with the skip_token are counted as not covered

Lines that are marked with the skip_token such as nocov are being counted as not covered. In the screenshot below, I attempted to declare that an entire file should not be covered, but after annotating it it shows 2 lines not covered, which are the 2 that have the skip_token on them.

per CONTRIBUTING.md:

I am using simplecov v0.12.0
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15]
rails (<IP_ADDRESS>)
no other coverage gems
using rspec-rails (3.5.2)

please let me know if more info is needed to debug

seems very similar to #468

Fixed by #551


Polygon errors when using perPositionHeight

My goal is the visualization of an elevated extruded polygon with data provided to a GeoJsonDataSource.

The polygon is given by a GeoJson dataset, consisting of points where each is given by longitude, latitude and elevation (e.g. [ 30.0, 70.0, 152452.62 ])
The polygon should be extruded by 30502.

A schematic profile view of such a volume could look like this:

Green: Bottom of the polygon (given by the dataset) -> should follow the ellipsoid in 3D
Red: Extrusion
Orange: Top of the polygon (given by dataset & extrusion) -> should follow the ellipsoid in 3D

Now to the pratical part: I am using the following GeoJson data: polygon.zip
When using the data provided above, the visualization with GeoJsonDataSource shows some strange rendering effects. It looks like the geometry folds and cuts the globe (bottom and top of the polygon not properly following the ellipsoid):

I have also tried to visualize the polygon by using PolygonGeometry but unfortunately there are also some rendering issues:

There is an edge in the visualization (the geometry seems to fold or cut the earth)

When having certain view-angles the folding/cut is even more visible

So basically the issue is, that the top and bottom surface of the volume do not follow the ellipsoid properly.

Is there any way to avoid those rendering artifacts?
Is this issue known? Especially when using very large polygons?
Actually I'm not quite sure if this is a bug, I'm missing some configurations or I´m using a wrong approach. I also could not find any sample yet which is dealing with such kind of visualizations.

I would really appreciate any help. :)

Thanks for including all of the details and screenshots @ChriWe!
The short answer is that Cesium currently doesn't have support for drawing this kind of polygon.
There are a few known issues with using the perPositionHeight property of PolygonGeometry that are resulting in your polygon being visualized this way.  The first is that the polygon is not being subdivided to fit the curvature of the earth.  That's why it looks like it's being cut off by the globe: for really large polygons it's actually slicing through the globe.
The second issue is that due to our current triangulation algorithm, perPositionHeight works best for polygons with coplanar points.  Otherwise, sometimes the shape gets divided in a way that differs from what you expect.  For example, imagine a shape that's like the roof of a house.  Here's a drawing that represents two different ways that the points could be split into triangles.  The first way is what we'd expect to happen, but sometimes the second one happens and as a result the shape draws differently than we want it to.

Related #2399

Thanks very much for the fast reply. Also for the drawings ;).
Is the implementation of such a feature planned in the near future?
For the GeoJsonDataSource example perPositionHeight was set to false.
For the  PolygonGeometry example perPositionHeight was set to true.
So I am not sure if the inproper visualization of example 1 is due to the perPositionHeight property. But yeah, looks like a triangulation issue.
Could you imagine any workaround for this? A potential one I can see is the consolidation of the given dataset (e.g. Delauney Triangulation) with a grid-spacing depending on earth´s curvature. This could be used as a base for visualization. Maybe via comosition of multiple polygons.  But pls correct me if I´m wrong.
BTW: What really confused me at first was the different visualization of polygons in connection with the GeoJsonDataSource:

If elevation data is provided in the GeoJson, then it´s flat (and also slices the earth if big enough).
If there is just longitude & latitude, it properly follows the curvature of the earth.
Also could not find this behavior in the docs (neither GeoJsonDataSource nor PolygonGraphics).

I'm not sure when we'll have a chance to look into fixing this.  We're focused on finishing up the 3d tiles specification right now, so this would only be a priority if it ties into our vector tiles implementation.
perPositionHeight is for sure the culprit.  If you look in the code for GeoJsonDataSource, it tells the polygons to use perPositionHeight when the GeoJSON coordinates have a height.
That's why it only curves with the earth when there is no elevation data.  We subdivide the polygon correctly when perPositionHeight is not used.
We would be happy to review a pull request if you wanted to take a stab at fixing this!  You would have to pass the perPositionHeight variable through here PolygonGeometryLibrary.createGeometryFromPositions
Then use a different triangulation algorithm if perPositionHeight === true PolygonPipeline.triangulate
For the curvature of the earth problem, you would need to make PolygonPipeline.computeSubdivision work with a polygon with perPositonHeight.  We currently skip the subdivision if perPositionHeight is being used.
See our documentation for information on building the code base and opening a pull request

Ok, thanks for the info.
Actually this feature would be a nice-to-have in the current application im building, but wasn't yet put on the roadmap. So I may have a look at this at some future point.
Thank you very much for the detailed information and description.

I think this problem experienced on the forum is related: https://groups.google.com/forum/#!searchin/cesium-dev/paula|sort:relevance/cesium-dev/FiF8tbgoPjw/ZXHBhlhABAAJ
With perPositionHeight = false

With perPositionHeight = true

@ggetz this issue is closed, do you want to re-open it or create a new one?

This seems like the same problem, so reopen please.

The above looks like a data problem.  I think his position heights are lower than the extrudedHeight.  I'll add a comment to #2924

Congratulations on closing the issue! I found these Cesium forum links in the comments above:
https://groups.google.com/forum/#!searchin/cesium-dev/paula|sort
If this issue affects any of these threads, please post a comment like the following:

The issue at https://github.com/AnalyticalGraphicsInc/cesium/issues/5203 has just been closed and may resolve your issue. Look for the change in the next stable release of Cesium or get it now in the master branch on GitHub https://github.com/AnalyticalGraphicsInc/cesium.

I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.
:earth_africa: :earth_americas: :earth_asia:


Quantized Batch Normalization?

Hi:
Thanks for your great work and open-sourced quantization codes!
I read your ResNet-4bit and PokeBNN papers and am interested in some GPU acceleration research based on your models.
Here I am a bit confused about the data flow of the model.
If I understand correctly, your batch normalization operator is not quantized, which means it will operate in bf16 during inference. So in a block with Conv+BN, your Conv layer will output 8/4-bit data, and then it will go through a bf16 BN operator. The output will be bf16 in the end.  Then the bf16 activation data will go to the next Conv layer where it will be first quantized into 8/4-bit data and do quantized Conv operation.
If we consider two blocks with [Conv + BN]. The data will be something like:  bf16->int8/int4 ->(Conv) -> int8/int4 -> bf16 -> (BN) -> bf16->next Block -> bf16.
I am not sure If I understand correctly, Do you have any comments?
Thanks a lot and thanks for your excellent project!

Hi,
Until this point and at least 6 more months we are focusing only on quantization of Tensor ops.
We have a plan for vector ops, but no coding bandwidth to execute on it right now, sorry.


fix: could not find declaration file (fixes #558)

Added missing "types" fields under exports
fixes #558

@dimatill Could this be merged and released, so that we can use native ESM with TypeScript?

@P4sca1 @vpctorr merged and released! Thank you!❤


Update dead link to point to correct ID

Fixes https://github.com/Shopify/shopify_api/issues/723

Thanks @jacquesporveau !


Support for Elasticsearch6.3.2

the security plugin don't support Elasticsearch6.3.2 version, but we need it。

@ouyangchucai Unfortunately full support for security plugin is provided for ES version above 6.7.1 only. Please consider migrating if it is an option.


EventHub MirrorMaker2 with Managed Identity Custom Authentication

Thank you for taking the time to review my proposal,
please see details in the committed file.
BR,
Maayan

@scholzj

If we are looking on the main cloud providers, I'm not sure if it will be a maintenance nightmare. Every cloud provider has a single 'zero secrets' solution, for AWS it's IAM, for Azure it's MSI and not sure what is the Google cloud solution name, but they have one too. So we are looking overall on three contributions and I think there is a huge business advantage here that Strimzi supports all clouds 'zero secrets' solutions.

If you still prefer a more generic solution, another two ideas that I can suggest are:

Add an init container which it's image is configurable, the init container will have a shared mount with the main container and the jar will be copied to the relevant path, the configurable image will be the image of the custom authentication handler implementation and in that image we will build the jar and put it in the correct path.
Make Strimzi image configurable (unless it already is?) and then we can extend it and just add the jar to the relevant path.
For both of these ideas I am not sure how exactly you load the classes and if loading the jar can be easily supported, so will be happy for your input on this.

I agree regarding your this point, I guess this solution can be used to all CRDs. Note that I have included that kafka-connect, for kafka mirror maker 1 we can make the relevant configuration configurable as well (I think I saw they are defined in kafka_mirror_maker_consumer_config_generator.sh), the only one i'm not sure about is kafka-bridge but i can investigate that as well.

If we are looking on the main cloud providers, I'm not sure if it will be a maintenance nightmare. Every cloud provider has a single 'zero secrets' solution, for AWS it's IAM, for Azure it's MSI and not sure what is the Google cloud solution name, but they have one too. So we are looking overall on three contributions and I think there is a huge business advantage here that Strimzi supports all clouds 'zero secrets' solutions.

There is a life beyond the big 3 public cloud providers ;-). So I think it is more then 3. But leaving that aside, I think it is fairly big commitment for both sides. If we want to integrate it:

We will need to have a proper test coverage for it in the system tests. Not sure how easy or complicated that is
The library will need to make sure to add support for new Kafka versions when needed in reasonable time (you didn't actually provided any links to it unless I missed them, so I do not know what it depends on - maybe it depends only on some generic Java code, not sure)
Ideally, there needs to be some API compatibility because the custom resources are not easy to change (again, the proposal currently does not include any suggestion how the API should look like, so it is not clear how it would look like and how likely it is to change).

Having a generic custom configuration separates these concerns from Strimzi. For example, we will be able to release a new version of Strimzi even if not supported by the authenticator at the time of the release. Also the testing will be a separate concern since it will not be part of our code.
I also think that:

The generic API for custom authentication might be needed anyway
It is easier to start with the generic custom authentication API and add dedicated API later than the other way around

If you still prefer a more generic solution, another two ideas that I can suggest are:

Add an init container which it's image is configurable, the init container will have a shared mount with the main container and the jar will be copied to the relevant path, the configurable image will be the image of the custom authentication handler implementation and in that image we will build the jar and put it in the correct path.
Make Strimzi image configurable (unless it already is?) and then we can extend it and just add the jar to the relevant path.
For both of these ideas I am not sure how exactly you load the classes and if loading the jar can be easily supported, so will be happy for your input on this.

Strimzi supports configuring which container image is used. So this should not be a problem. I think it is also easier to exclude or include a JAR (assuming the licensing etc. works) then to include and exclude the API. So I can for example imagine to have a generic API for custom authentication but bundle the JARs directly.

I will provide the design for YAML but maybe we should first decide on our approach for the solution with @scholzj.
As for testing, I understand what you are saying but once again it depends on the solution approach we decide - if it's a plugin like I have suggested in my comment for @scholzj, we do not need testing.

The thing is that these are some of the reasons why I think custom authentication API is better. So providing more details is important since it is part of the decision process.

Hey @scholzj, what do you think of meeting me and my team member to discuss this?
I think this will help us clarify a few things and save us all some time.
We can send you an invite to an external meeting on Microsoft Teams.
BR,
Maayan

@MaayanFarchi

As for testing, I understand what you are saying but once again it depends on the solution approach we decide - if it's a plugin like I have suggested in my comment for @scholzj, we do not need testing.

What do you mean that "we do not need testing"? I think we need it anyway on any solution we want to proceed.

@MaayanFarchi

As for testing, I understand what you are saying but once again it depends on the solution approach we decide - if it's a plugin like I have suggested in my comment for @scholzj, we do not need testing.

What do you mean that "we do not need testing"? I think we need it anyway on any solution we want to proceed.

I mean that if we chose to extend docker image/use init container to inject jar so the custom authentication is not a part of the Strimzi repo and therefore the testing is our/whoever is using this extension point responsibility.

Hey @scholzj, what do you think of meeting me and my team member to discuss this?
I think this will help us clarify a few things and save us all some time.
We can send you an invite to an external meeting on Microsoft Teams.

Sure, we can have some call. Ideal would probably be if we can discuss it on one of the Strimzi Community calls: https://github.com/strimzi/strimzi-kafka-operator#strimzi-community-meetings

Hey @scholzj, what do you think of meeting me and my team member to discuss this?
I think this will help us clarify a few things and save us all some time.
We can send you an invite to an external meeting on Microsoft Teams.

Sure, we can have some call. Ideal would probably be if we can discuss it on one of the Strimzi Community calls: https://github.com/strimzi/strimzi-kafka-operator#strimzi-community-meetings

Yes that will be great, we will join next week meeting - I added me and my team member to the attendance list.

Thanks @MaayanFarchi I have also just added the link to the proposal to the agenda ;-)

Great, looking forward to it.

Any update on this?  few strimzi customers are looking for this feature to be implemented

@ramu11 Hi, as you can see we closed this proposal months ago because there was no engagement from the community user who started the work. Also no one will come back to us to reopen so I think there was no interest anymore. On our side there is no plan to work on it and have this included but of course any contribution from the community is welcome if you think it's going to be useful and you have ideas and want to be involved in it.


Autoconf cleanup

I am working on an an example project that builds one of the blink examples (LPC17xx) out of tree.  While reading through the generated Makefile, I thought there were a few changes that could be made in order to make things a little more clear.

LGTM. I used cargo rustc earlier when the makefile was still passing flags on to rustc manually. Now that's all done in the target-spec file.

@posborne FYI, I deleted the autoconf branch now since it's been merged in with new-build. Your changes are in there now.

As an FYI, I have an external example building but I am still trying to figure out a good way to generate the target spec for external projects.  ATM, a git submodule approach gives a reasonable way to deal with things (it's tricky to automatically find out where cargo puts the source for stuff like zinc).


terminate called after throwing an instance of 'std::out_of_range'

Preflight Checklist

[x] I have installed the latest version of Storage Explorer.
[x] I have checked existing resources, including the troubleshooting guide and the release notes.
[x] I have searched for similar issues.

Storage Explorer Version
1.36
Regression From
No response
Architecture
x64
Storage Explorer Build Number
20241012.1
Platform
Linux (snap)
OS Version
Ubuntu 22.04
Bug Description
Crashes when opening.
Steps to Reproduce
$ storage-explorer
[2024-10-17T14:55:11.031Z] (main:3383672) <NONE> Log file: /home/andre/snap/storage-explorer/63/.config/StorageExplorer/logs/2024-10-17_155511/2024-10-17_155511_main_3383672.log
[2024-10-17T14:55:11.055Z] (main:3383672) <NONE> Log level: info
[2024-10-17T14:55:11.056Z] (main:3383672) <INFO> Startup app state:  {
    lastWindowState: {
      rect: { x: 2266, y: 260, width: 1000, height: 768 },
      maximized: true
    },
    disableGpu: false,
    dialogAutoResponse: {}
  }
Gtk-Message: 15:55:11.353: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
[2024-10-17T14:55:11.863Z] (main:3383672) <INFO> No proxy environment variables exist on startup
[2024-10-17T14:55:11.867Z] (main:3383672) <INFO> Applying proxy configuration
[2024-10-17T14:55:11.872Z] (main:3383672) <INFO> Proxy configuration source set to: systemProxy
[2024-10-17T14:55:11.872Z] (main:3383672) <INFO> Proxy configuration set to: undefined
[2024-10-17T14:55:11.874Z] (main:3383672) <INFO> Initializing user accounts manager account store...
[2024-10-17T14:55:13.075Z] (main:3383672) <WARN> An implementation of 'Environment.Theming.onThemeChanged' has already been registered by another provider, this most recent implementation will be ignored unless 'Environment.Theming.onThemeChanged is used as an event'.
[2024-10-17T14:55:13.075Z] (main:3383672) <WARN> An implementation of 'Environment.Zoom.onZoomChanged' has already been registered by another provider, this most recent implementation will be ignored unless 'Environment.Zoom.onZoomChanged is used as an event'.
[2024-10-17T14:55:13.077Z] (main:3383672) <INFO> Initializing extension manager...
[2024-10-17T14:55:13.078Z] (main:3383672) <INFO> Done looking for extensions to open or debug.
[2024-10-17T14:55:13.084Z] (main:3383672) <INFO> Loading 17 extensions
[2024-10-17T14:55:13.269Z] (main:3383672) <INFO> Extensions loaded
[2024-10-17T14:55:13.928Z] (queue-extension:3383927) <NONE> Log file: /home/andre/snap/storage-explorer/63/.config/StorageExplorer/logs/2024-10-17_155511/2024-10-17_155511_queue-extension_3383927.log
[2024-10-17T14:55:13.932Z] (queue-extension:3383927) <NONE> Log level: info
[2024-10-17T14:55:13.950Z] (queue-extension:3383927) <INFO> Loading SSL Settings
[2024-10-17T14:55:13.950Z] (queue-extension:3383927) <INFO> Injecting certs found in /home/andre/snap/storage-explorer/63/.config/StorageExplorer/certs/
[2024-10-17T14:55:13.951Z] (queue-extension:3383927) <INFO> Sending init acks back to parent process
[2024-10-17T14:55:13.999Z] (table-extension:3383935) <NONE> Log file: /home/andre/snap/storage-explorer/63/.config/StorageExplorer/logs/2024-10-17_155511/2024-10-17_155511_table-extension_3383935.log
[2024-10-17T14:55:14.003Z] (table-extension:3383935) <NONE> Log level: info
[2024-10-17T14:55:14.020Z] (table-extension:3383935) <INFO> Loading SSL Settings
[2024-10-17T14:55:14.020Z] (table-extension:3383935) <INFO> Injecting certs found in /home/andre/snap/storage-explorer/63/.config/StorageExplorer/certs/
[2024-10-17T14:55:14.020Z] (table-extension:3383935) <INFO> Sending init acks back to parent process
[2024-10-17T14:55:14.044Z] (adls2-extension:3383924) <NONE> Log file: /home/andre/snap/storage-explorer/63/.config/StorageExplorer/logs/2024-10-17_155511/2024-10-17_155511_adls2-extension_3383924.log
[2024-10-17T14:55:14.058Z] (adls2-extension:3383924) <NONE> Log level: info
[2024-10-17T14:55:14.091Z] (adls2-extension:3383924) <INFO> Loading SSL Settings
[2024-10-17T14:55:14.091Z] (adls2-extension:3383924) <INFO> Injecting certs found in /home/andre/snap/storage-explorer/63/.config/StorageExplorer/certs/
[2024-10-17T14:55:14.092Z] (adls2-extension:3383924) <INFO> Sending init acks back to parent process
Open XDisplay
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr: __pos (which is 446) > this->size() (which is 441)
[1]    3383672 IOT instruction (core dumped)  storage-explorer

Actual Experience
2024-10-17_155511_main_3383672.log
Crashes when opening
Expected Experience
No response
Additional Context
No response

@AndreRicardo-Zoetis Is this after an update or a fresh installation? If an update, does uninstalling then reinstalling resolve the issue?

@AndreRicardo-Zoetis Is this after an update or a fresh installation? If an update, does uninstalling then reinstalling resolve the issue?

It was after an update. I had a lot of hanging StorageExplorerExe still running on the background.
killall StorageExplorerExe did fix the issue, but a the same time I also reinstalled.

@AndreRicardo-Zoetis Is your issue resolved after killing the lingering processes?

@craxal, FWIW I'm seeing the same issue with a slightly different error on 1.36.1:
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr: __pos (which is 7) > this->size() (which is 3)
Aborted (core dumped)

Killing any StorageExplorer or StorageExplorerExe processes doesn't resolve the issue. Occasionally, after a lot of retries, it'll start up but then intermittenly crash with the above error.

@PsypherPunk Just a shot in the dark: What happens if you restart your machine and then try launching Storage Explorer again? Restarting should guarantee no lingering processes that might have been missed.

@craxal, it does, albeit only temporarily and it eventually starts with the same issue. Similarly, just ignoring things for a while and trying later seems to allow it to launch.
Both of which hint at what you're suggesting, some lingering resource/contention, but not sure as to what.

@PsypherPunk Interesting. Are there any other details about your system you might be able to share? VM environment? Custom OS components? Method of snap installation?

Standard Ubuntu 22.04 OS:
❯ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.5 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.5 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

snap 2.65.3+22.04, apparently:
❯ snap --version
snap    2.65.3+22.04
snapd   2.65.3+22.04
series  16
ubuntu  22.04
kernel  5.15.0-124-generic

IIRC, there are a couple of connects involved:
sudo snap connect storage-explorer:password-manager-service :password-manager-service
snap connect storage-explorer:removable-media :removable-media

Errrr…that's all I can think of.

@craxal, rather annoyingly (or not), it's been remarkably stable after that last round of crashes. Unless @AndreRicardo-Zoetis is finding otherwise, I'm going to assume this was a Snap/OS issue that's resolved itself.

I encountered this exact same issue, I think. First time after boot the storage explorer opens fine, but then it crashes every time. Also, sometimes when I change workspace (i3 WM), the app crashes in background.
[2024-12-20T08:51:11.878Z] (main:63238) <NONE> Log file: /home/aleksi/snap/storage-explorer/65/.config/StorageExplorer/logs/2024-12-20_105111/2024-12-20_105111_main_63238.log
[2024-12-20T08:51:11.884Z] (main:63238) <NONE> Log level: info
[2024-12-20T08:51:11.885Z] (main:63238) <INFO> Startup app state:  {
    lastWindowState: { rect: { x: 0, y: 0, width: 2560, height: 1401 }, maximized: false },
    disableGpu: false,
    dialogAutoResponse: {}
  }
Gtk-Message: 10:51:11.984: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
[2024-12-20T08:51:12.275Z] (main:63238) <INFO> No proxy environment variables exist on startup
[2024-12-20T08:51:12.277Z] (main:63238) <INFO> Applying proxy configuration
[2024-12-20T08:51:12.278Z] (main:63238) <INFO> Proxy configuration source set to: none
[2024-12-20T08:51:12.278Z] (main:63238) <INFO> Proxy configuration set to: undefined
[2024-12-20T08:51:12.280Z] (main:63238) <INFO> Setting SERVICEHUBTRACELEVEL to ALL
[2024-12-20T08:51:12.280Z] (main:63238) <INFO> Initializing user accounts manager account store...
[2024-12-20T08:51:12.862Z] (main:63238) <WARN> An implementation of 'Environment.Theming.onThemeChanged' has already been registered by another provider, this most recent implementation will be ignored unless 'Environment.Theming.onThemeChanged is used as an event'.
[2024-12-20T08:51:12.863Z] (main:63238) <WARN> An implementation of 'Environment.Zoom.onZoomChanged' has already been registered by another provider, this most recent implementation will be ignored unless 'Environment.Zoom.onZoomChanged is used as an event'.
[2024-12-20T08:51:12.865Z] (main:63238) <INFO> Initializing extension manager...
[2024-12-20T08:51:12.865Z] (main:63238) <INFO> Done looking for extensions to open or debug.
[2024-12-20T08:51:12.869Z] (main:63238) <INFO> Loading 17 extensions
[2024-12-20T08:51:12.963Z] (main:63238) <INFO> Extensions loaded
[2024-12-20T08:51:13.374Z] (blob-extension:63509) <NONE> Log file: /home/aleksi/snap/storage-explorer/65/.config/StorageExplorer/logs/2024-12-20_105111/2024-12-20_105111_blob-extension_63509.log
[2024-12-20T08:51:13.380Z] (blob-extension:63509) <NONE> Log level: info
[2024-12-20T08:51:13.401Z] (blob-extension:63509) <INFO> Loading SSL Settings
[2024-12-20T08:51:13.401Z] (blob-extension:63509) <INFO> Injecting certs found in /home/aleksi/snap/storage-explorer/65/.config/StorageExplorer/certs/
[2024-12-20T08:51:13.402Z] (blob-extension:63509) <INFO> Sending init acks back to parent process
[2024-12-20T08:51:13.389Z] (adls2-extension:63508) <NONE> Log file: /home/aleksi/snap/storage-explorer/65/.config/StorageExplorer/logs/2024-12-20_105111/2024-12-20_105111_adls2-extension_63508.log
[2024-12-20T08:51:13.402Z] (adls2-extension:63508) <NONE> Log level: info
[2024-12-20T08:51:13.423Z] (adls2-extension:63508) <INFO> Loading SSL Settings
[2024-12-20T08:51:13.423Z] (adls2-extension:63508) <INFO> Injecting certs found in /home/aleksi/snap/storage-explorer/65/.config/StorageExplorer/certs/
[2024-12-20T08:51:13.424Z] (adls2-extension:63508) <INFO> Sending init acks back to parent process
[2024-12-20T08:51:13.413Z] (file-extension:63510) <NONE> Log file: /home/aleksi/snap/storage-explorer/65/.config/StorageExplorer/logs/2024-12-20_105111/2024-12-20_105111_file-extension_63510.log
[2024-12-20T08:51:13.418Z] (file-extension:63510) <NONE> Log level: info
[2024-12-20T08:51:13.428Z] (file-extension:63510) <INFO> Loading SSL Settings
[2024-12-20T08:51:13.428Z] (file-extension:63510) <INFO> Injecting certs found in /home/aleksi/snap/storage-explorer/65/.config/StorageExplorer/certs/
[2024-12-20T08:51:13.429Z] (file-extension:63510) <INFO> Sending init acks back to parent process
[2024-12-20T08:51:13.422Z] (queue-extension:63511) <NONE> Log file: /home/aleksi/snap/storage-explorer/65/.config/StorageExplorer/logs/2024-12-20_105111/2024-12-20_105111_queue-extension_63511.log
[2024-12-20T08:51:13.430Z] (queue-extension:63511) <NONE> Log level: info
[2024-12-20T08:51:13.439Z] (queue-extension:63511) <INFO> Loading SSL Settings
[2024-12-20T08:51:13.439Z] (queue-extension:63511) <INFO> Injecting certs found in /home/aleksi/snap/storage-explorer/65/.config/StorageExplorer/certs/
[2024-12-20T08:51:13.440Z] (queue-extension:63511) <INFO> Sending init acks back to parent process
[2024-12-20T08:51:13.435Z] (storage-account-extension:63518) <NONE> Log file: /home/aleksi/snap/storage-explorer/65/.config/StorageExplorer/logs/2024-12-20_105111/2024-12-20_105111_storage-account-extension_63518.log
[2024-12-20T08:51:13.440Z] (storage-account-extension:63518) <NONE> Log level: info
[2024-12-20T08:51:13.452Z] (storage-account-extension:63518) <INFO> Loading SSL Settings
[2024-12-20T08:51:13.453Z] (storage-account-extension:63518) <INFO> Injecting certs found in /home/aleksi/snap/storage-explorer/65/.config/StorageExplorer/certs/
[2024-12-20T08:51:13.454Z] (storage-account-extension:63518) <INFO> Sending init acks back to parent process
[2024-12-20T08:51:13.541Z] (table-extension:63526) <NONE> Log file: /home/aleksi/snap/storage-explorer/65/.config/StorageExplorer/logs/2024-12-20_105111/2024-12-20_105111_table-extension_63526.log
[2024-12-20T08:51:13.547Z] (table-extension:63526) <NONE> Log level: info
[2024-12-20T08:51:13.556Z] (table-extension:63526) <INFO> Loading SSL Settings
[2024-12-20T08:51:13.556Z] (table-extension:63526) <INFO> Injecting certs found in /home/aleksi/snap/storage-explorer/65/.config/StorageExplorer/certs/
[2024-12-20T08:51:13.557Z] (table-extension:63526) <INFO> Sending init acks back to parent process
Open XDisplay
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr: __pos (which is 871) > this->size() (which is 869)
Aborted (core dumped)

Storage explorer version 1.36.2, x86_64
snap    2.66.1+24.04
snapd   2.66.1+24.04
series  16
ubuntu  24.04
kernel  6.8.0-51-generic

@atarv We've encountered problems with Ubuntu 24 before. Unfortunately, not all of our dependencies or tools have yet been updated for Ubuntu 24 yet, so support is a bit spotty.

Any updates on this issue? I'm having hard times with Azure these days. I just installed it with flatpak. It kinda works, but with some time open the program starts to crash, and then I have to run pkill StorageExplorer to stop processes

@AndreRicardo-Zoetis Is your issue resolved after killing the lingering processes?

Not always, which is strange. I suspect the issue is related to AzureSubscriptionsManager, usually the problem starts after a drop in connection in my corporate VPN.
In 1.36.2
$ storage-explorer
[2024-12-30T17:00:58.007Z] (main:3665439) <NONE> Log file: /home/andre/snap/storage-explorer/65/.config/StorageExplorer/logs/2024-12-30_170058/2024-12-30_170058_main_3665439.log
[2024-12-30T17:00:58.010Z] (main:3665439) <NONE> Log level: info
[2024-12-30T17:00:58.011Z] (main:3665439) <INFO> Startup app state:  {
    lastWindowState: {
      rect: { x: 1142, y: 90, width: 1517, height: 695 },
      maximized: false
    },
    disableGpu: false,
    dialogAutoResponse: {}
  }
Gtk-Message: 17:00:58.059: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
[2024-12-30T17:00:58.237Z] (main:3665439) <INFO> No proxy environment variables exist on startup
[2024-12-30T17:00:58.237Z] (main:3665439) <INFO> Applying proxy configuration
[2024-12-30T17:00:58.237Z] (main:3665439) <INFO> Proxy configuration source set to: systemProxy
[2024-12-30T17:00:58.238Z] (main:3665439) <INFO> Proxy configuration set to: undefined
[2024-12-30T17:00:58.239Z] (main:3665439) <INFO> Initializing user accounts manager account store...
[2024-12-30T17:00:58.612Z] (main:3665439) <WARN> An implementation of 'Environment.Theming.onThemeChanged' has already been registered by another provider, this most recent implementation will be ignored unless 'Environment.Theming.onThemeChanged is used as an event'.
[2024-12-30T17:00:58.613Z] (main:3665439) <WARN> An implementation of 'Environment.Zoom.onZoomChanged' has already been registered by another provider, this most recent implementation will be ignored unless 'Environment.Zoom.onZoomChanged is used as an event'.
[2024-12-30T17:00:58.613Z] (main:3665439) <INFO> Initializing extension manager...
[2024-12-30T17:00:58.614Z] (main:3665439) <INFO> Done looking for extensions to open or debug.
[2024-12-30T17:00:58.616Z] (main:3665439) <INFO> Loading 17 extensions
[2024-12-30T17:00:58.661Z] (main:3665439) <INFO> Extensions loaded
[2024-12-30T17:00:58.872Z] (adls2-extension:3665702) <NONE> Log file: /home/andre/snap/storage-explorer/65/.config/StorageExplorer/logs/2024-12-30_170058/2024-12-30_170058_adls2-extension_3665702.log
[2024-12-30T17:00:58.879Z] (adls2-extension:3665702) <NONE> Log level: info
[2024-12-30T17:00:58.885Z] (adls2-extension:3665702) <INFO> Loading SSL Settings
[2024-12-30T17:00:58.885Z] (adls2-extension:3665702) <INFO> Injecting certs found in /home/andre/snap/storage-explorer/65/.config/StorageExplorer/certs/
[2024-12-30T17:00:58.886Z] (adls2-extension:3665702) <INFO> Sending init acks back to parent process
[2024-12-30T17:00:58.890Z] (blob-extension:3665703) <NONE> Log file: /home/andre/snap/storage-explorer/65/.config/StorageExplorer/logs/2024-12-30_170058/2024-12-30_170058_blob-extension_3665703.log
[2024-12-30T17:00:58.896Z] (blob-extension:3665703) <NONE> Log level: info
[2024-12-30T17:00:58.906Z] (blob-extension:3665703) <INFO> Loading SSL Settings
[2024-12-30T17:00:58.906Z] (blob-extension:3665703) <INFO> Injecting certs found in /home/andre/snap/storage-explorer/65/.config/StorageExplorer/certs/
[2024-12-30T17:00:58.907Z] (blob-extension:3665703) <INFO> Sending init acks back to parent process
[2024-12-30T17:00:58.902Z] (storage-account-extension:3665712) <NONE> Log file: /home/andre/snap/storage-explorer/65/.config/StorageExplorer/logs/2024-12-30_170058/2024-12-30_170058_storage-account-extension_3665712.log
[2024-12-30T17:00:58.906Z] (storage-account-extension:3665712) <NONE> Log level: info
[2024-12-30T17:00:58.912Z] (storage-account-extension:3665712) <INFO> Loading SSL Settings
[2024-12-30T17:00:58.912Z] (storage-account-extension:3665712) <INFO> Injecting certs found in /home/andre/snap/storage-explorer/65/.config/StorageExplorer/certs/
[2024-12-30T17:00:58.912Z] (storage-account-extension:3665712) <INFO> Sending init acks back to parent process
[2024-12-30T17:00:58.902Z] (queue-extension:3665705) <NONE> Log file: /home/andre/snap/storage-explorer/65/.config/StorageExplorer/logs/2024-12-30_170058/2024-12-30_170058_queue-extension_3665705.log
[2024-12-30T17:00:58.907Z] (queue-extension:3665705) <NONE> Log level: info
[2024-12-30T17:00:58.912Z] (queue-extension:3665705) <INFO> Loading SSL Settings
[2024-12-30T17:00:58.912Z] (queue-extension:3665705) <INFO> Injecting certs found in /home/andre/snap/storage-explorer/65/.config/StorageExplorer/certs/
[2024-12-30T17:00:58.912Z] (queue-extension:3665705) <INFO> Sending init acks back to parent process
[2024-12-30T17:00:58.911Z] (file-extension:3665704) <NONE> Log file: /home/andre/snap/storage-explorer/65/.config/StorageExplorer/logs/2024-12-30_170058/2024-12-30_170058_file-extension_3665704.log
[2024-12-30T17:00:58.914Z] (file-extension:3665704) <NONE> Log level: info
[2024-12-30T17:00:58.919Z] (file-extension:3665704) <INFO> Loading SSL Settings
[2024-12-30T17:00:58.919Z] (file-extension:3665704) <INFO> Injecting certs found in /home/andre/snap/storage-explorer/65/.config/StorageExplorer/certs/
[2024-12-30T17:00:58.919Z] (file-extension:3665704) <INFO> Sending init acks back to parent process
[2024-12-30T17:00:58.935Z] (table-extension:3665717) <NONE> Log file: /home/andre/snap/storage-explorer/65/.config/StorageExplorer/logs/2024-12-30_170058/2024-12-30_170058_table-extension_3665717.log
[2024-12-30T17:00:58.938Z] (table-extension:3665717) <NONE> Log level: info
[2024-12-30T17:00:58.942Z] (table-extension:3665717) <INFO> Loading SSL Settings
[2024-12-30T17:00:58.943Z] (table-extension:3665717) <INFO> Injecting certs found in /home/andre/snap/storage-explorer/65/.config/StorageExplorer/certs/
[2024-12-30T17:00:58.943Z] (table-extension:3665717) <INFO> Sending init acks back to parent process
[2024-12-30T17:00:58.975Z] (main:3665439) <INFO> SubscriptionCache found V2 cache, using it.
[2024-12-30T17:00:59.112Z] (start-panel:3665848) <NONE> Log file: /home/andre/snap/storage-explorer/65/.config/StorageExplorer/logs/2024-12-30_170058/2024-12-30_170058_start-panel_3665848.log
[2024-12-30T17:00:59.115Z] (start-panel:3665848) <NONE> Log level: info
[2024-12-30T17:00:59.119Z] (start-panel:3665848) <INFO> Loading SSL Settings
[2024-12-30T17:00:59.119Z] (start-panel:3665848) <INFO> Injecting certs found in /home/andre/snap/storage-explorer/65/.config/StorageExplorer/certs/
[2024-12-30T17:00:59.120Z] (start-panel:3665848) <INFO> Sending init acks back to parent process
[2024-12-30T17:00:59.131Z] (main:3665439) <INFO> AzureSubscriptionsManager checking for new accounts...
Open XDisplay
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr: __pos (which is 7) > this->size() (which is 6)
[1]    3665439 IOT instruction (core dumped)  storage-explorer


select from gallery.

How to access the gallery of a device to select the image from the gallery.

You can find the sample code for this in the sample provided in this repo.
Forgetting permissions (which you must check for) you can simply call:
var image = await CrossMedia.Current.PickPhotoAsync();

if (image == null)
{
    return;
}

//do something

Hope this helps!


Download Python 3.10 or later on Windows

Use py -3 instead of python or python3 on the command line


Add n_cell property to NStepRNN family

ChainerMN needs this change in order to parallelize NStepRNN (MultiNodeNStepRNN), where each cell is transferred to the neighbour process and thus it needs the number of cells in advance.
Can it be completed inside of ChainerMN?
Unfortunately, no. Currently, we prepare a table to obtain the number of cells, but this solution requires high maintenance cost to keep consistency between Chainer and ChainerMN, and hinders users to define original RNNs.
I tried whether we can avoid hard-coding, but I couldn't. If there is any nice solution, I would be happy to update.

Can you write tests please?

What kind of tests are expected in this case? Is it appropriate to just check return values of n_cells?

Yes, it is enough to check the return value.

I added tests. Could you take a glance again?

jenkins test this please

jenkins test this please

LGTM


Removes deprecated logic

Motivation
Removes the following deprecated logic:

Removes BW6 and Pedersen commitment from snarkvm-algorithms
Removes BW6-761 and the BW6 template from snarkvm-curves
Removes the short Weierstrass projective template from snarkvm-curves
Removes block height from PoSW verify method in snarkvm-dpc
Removes Fp768, Fp3, and Fp2_2over3 from snarkvm-fields
Removes Edwards BW6, Groth16 verifier, Pedersen commitment, and nonnative gadgets from snarkvm-gadgets
Removes the outer parameters from snarkvm-parameters
Removes Sonic PC and Marlin PC gadgets from snarkvm-polycommit

woohoo!


EVP_DigestSignInit fails with BLAKE2 algorithms

The EVP_DigestSignInit function fails when using the EVP_blake2s256 and EVP_blake2b512 algortihms. I'm not sure if this is by design or if those algorithms are not supported. I assumed any of the EVP_MD types could be used and I couldn't find anything in the docs about supported types. I'm using the 1.1.0f version of the libcrypto library.

Nope.  EVP_DigestSignInit works only for EVP_MDs with associated pkey algos.  There's a draft in the works to define such a set of algos: https://github.com/willinois/draft-wconner-blake2sigs

I updated the docs to make the restrictions explicit in #5992.


Catch empty remotes list and add logging to sweepers_driver

Currently, if ccr remotes are provided as "[]" rather than "", this will be picked up as not None but will still be empty, resulting in a no-op run.  This also fails to produce any logs, as provenance and ancestry are never executed.
Fix both

fixed in #22


SmugglerTransform isn't invoked for JVM tests

For now, the simplest workaround is to verify Parcelable classes using instrumented unit tests. You can check smuggler-tests submodule to see how I test smuggler.

Closing the issue as we don't use the library anymore and we don't have plans on supporting it.


[GSSoC'23] Lorem Ipsum Generator Website

Describe the project you want to add with tech stack
Title - Lorem Ipsum Generator Website
Tech using - HTML, CSS and JS
Expected behavior

Enter the number of paragraphs, you want to generate.
Project will provide the paragraphs.
Copy the paragraphs and use them.

Screenshots (optional)

Additional context (optional )

@MohitGupta121 @pranjay-poddar @Saurabh-kumar09 sir, please assign this project to me


Improve error messaging for non-parsable datasets

I'd recommend improving the current error message:
https://github.com/dotnet/machinelearning/blob/e5a19af589dfb1468cd99628e82f6b49fb125323/src/Microsoft.ML.AutoML/ColumnInference/ColumnInferenceApi.cs#L120-L123
It currently says, "Unable to split the file provided into multiple, consistent columns.", which is rather uninformative and non-actionable.
Perhaps, as I think @briacht is suggesting, have it list the acceptable file formats we can parse: "Unable to split the file provided into multiple, consistent columns. Readable formats include delimited files such as CSV/TSV. Check for a consistent number of columns and proper escaping and quoting.".
This messaging now includes, the problem, and next steps for the user.
I mention delimited as AutoML supports more than CSV/TSV as it tries tab, comma, space, semi-colon as the separator (src). If we run into other common separators, we can trivially augment this list. One candidate is the vertical bar |.

Transferring to main ML․NET repo as the PR to fix will be for that repo.


How to setup with Poetry

Hi how does one set this up for poetry? Can someone provide documentation/example please?

I haven't tried it with poetry before, but it could be possible through virtualenvs.options in the poetry config (see https://python-poetry.org/docs/configuration/) - I'll try to put together a test case for this and docs - although diving a bit deeper it might not be - worst case scenario now is to create a virtualenv directly using the virtualenv approach and then take over it with poetry.

Looks like it isn't processed due to https://github.com/python-poetry/poetry/blob/c4c857e917c863bff9e97371c7dff45b704f6140/src/poetry/utils/env.py#L1119
Suggested work around is to create a vanilla virtualenv and then use poetry from there (see the docs at https://djpugh.github.io/azure_devops_artifacts_helpers/usage.html) - if that works for you, I'll add a specific section for poetry

You should also be able to use the environment variable
VIRTUALENV_SEEDER=azdo-pip

It should be possible to create a poetry plugin for this if that is helpful - please let me know and I can have a go!

I just tested this approach, and I've added this comment to usage.rst


Please support @Authorized

No an issue , rather feature request:
It would be really nice if you could add some kind of @Authenticated() decorator to controller and actions that will call some midleware to decide if user is authorized to call the controller action.
Thanks.

I want the same requirement as above.
I want to use authentication for each router using passport and and json web token. In pure express routes its very easy to implement. But currently i am using this module for routing So could you please explain how to add passport and jwt authentication routers using thus module.

I'd like this feature too.
I wish the method to look like @Authenticated(role : string).
This way I can use the same decorator throughout the application in different scenarios.
I saw a simple implementation for this middleware here, the only problem is that I'm not sure how to create the middleware from the decorator.
Thanks

@Authorized in all cases will have a different logic. This decorators needs a good proposal how it should be designed and work with different use cases on each client.

It may help you:
import {Middleware, MiddlewareInterface} from "routing-controllers";
import {HttpStatus} from "../lib/HttpStatus";

@Middleware()
export class RequireAuth implements MiddlewareInterface {

    use(request: any, response: any, next?: (err?: any) => any): any {
        if((<any>require).session && (<any>require).session.auth) {
          return next();
        }

        return next(HttpStatus.FORBIDDEN);
    }

}

Instead of @Authorized you need to add this to your class/controller:
@UseBefore(RequireAuth)
export class UsersController {
// ...
}

I have this simple auth middleware, just for my needs.
You can make multiple auth middleware for admin check, role check, etc.
import { Middleware, UnauthorizedError } from "routing-controllers";
import * as express from "express";

/**
 * Authorization middleware for express framework with routing-controllers.
 * Prevent access of not logged user to the routes guarded by this middleware.
 */
@Middleware()
export class AuthorizationMiddleware {

    /**
     * Checks if there is a session in request with atached user.
     * If is, calls next middleware in chain, otherwise throws UnauthorizedError.
     *
     * @param {express.Request} req The Express request object
     * @param {express.Response} _res The Express response object (not used)
     * @param {express.NextFunction} [next] The next Express middleware function to call after (optional)
     */
    public use(req: express.Request, _res: express.Response, next?: express.NextFunction) {
        if (!req.session || !req.session.user || !req.session.user.id) {
            throw new UnauthorizedError("Access denied, you have to login first!");
        }

        if (next) {
            next();
        }
    }
}

It is supported now in 0.7.0


Adding arabic language

Hi,
Thanks for the nice project :)
I's ok to add Arabic language to the app ?

#41


"max" macro conflicting on Windows

In polymorphic_impl.hpp, line 265, return {std::numeric_limits<size_t>::max(), {}}; conflicts with the macro definition of max in minwindef.h.
The following code fixes it (as a band-aid of course):
#ifdef min
#undef min
#endif
#ifdef max
#undef max
#endif

There are 2 common fixes to this:
First, disable the min/max macros before including windows.h as they are fairly worthless:
#define NOMINMAX

If you're sure you NEED these macros for some insane reason, change the line in polymorphic_impl.hpp to:
return {(std::numeric_limits<size_t>::max)(), {}};

I think the solutions that @erichkeane offers are perfectly acceptable for this (i.e. the onus is on the user). If a macro conflicts with the standard library, that's not our problem.


Make music bar bigger when cursor enters draggable region

It has been possible to move the music head by dragging the area near the thin music bar though, it is slightly difficult for users to find out that (it was me).
This PR makes the slider a bit more obviously draggable when a cursor enters the draggable area.
Also, change cursor style to pointer to indicate to users that it is clickable.

awesome!


Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)

Been stuck on trying to build the python bindings. I get this error and I don't know why it even wants MPI. I have used conda to install openmpi locally and I am pretty sure the system has one somewhere as well. Any work around appreciated.

If there is a way to specify where openmpi lives or even better to remove this dependency on openmpi, i'd be very grateful to know.

Sorry, I didn't keep a record (because there was nothing specific in it to help diagnose) and I don't think you would have found anything helpful from it either. From memory, after it tries the cmake command and returns an error (without saying anything specific about why it failed, just that it had). I gave up and tried again a few days later and was able to get cmake to build the flashlight project. But even then the setup.py install wasn't working and i had to comment out these lines:
#        subprocess.check_call(
 #           ["cmake", source_dir] + cmake_args, cwd=self.build_temp, env=env
  #      )
   #     subprocess.check_call(
    #        ["cmake", "--build", "."] + build_args, cwd=self.build_temp
     #   )

After that I was finally able to build the bindings and use them. Took like 3 days of pulling my hair out. The main reason is probably having to use my school's Centos 7 machine without superuser access. But even then, in comparison installing and setting up say fairseq (including apex, torch etc) took a few hours max and I had no issues at all.

@tensorfoo thanks for that input. Pending resources, we'll be removing OpenMPI as a hard dependency — it's on our todo list.


Building docker image is failing for goreleaser

This issue is blocking releasing new version.
Latest action run: https://github.com/shaharia-lab/terediX/actions/runs/7311518267/job/19921403277#step:5:269
The reason is know here.
To fix this issue, most probably we need to create a separate Dockerfile.

This has been fixed in https://github.com/shaharia-lab/terediX/pull/98


[Cog Serv] catch empty caption case

Purpose

Handle the case of no returned captions (previously caused an exception)

Does this introduce a breaking change?

[ ] Yes
[X ] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ X] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

Get the code

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

Test the code

What to Check
Verify that the following are valid

...

Other Information

@wiazur , please review and merge this PR, thanks

@wiazur ping

Thanks @PatrickFarley!


NTR: formamide transmembrane transport

Please provide as much information as you can:

Suggested term label:
formamide transmembrane transport

Definition (free text)
The process in which formamide is transported across a membrane.

**Reference, in format PMID:15948717

Gene product name and ID to be annotated to this term

Parent term(s)
formamide transport (see NTR: formamide transport #24090)

Children terms (if applicable) Should any existing terms that should be moved underneath this new proposed term?
formamide channel activity ( see NTR: formamide channel activity #24089 )

Synonyms (please specify, EXACT, BROAD, NARROW or RELATED)

Cross-references

For enzymes, please provide RHEA and/or EC numbers.

Can also provide MetaCyc, KEGG, Wikipedia, and other links.

Any other information

Hi @Argoudpuy
This is not physiological, the authors write in the methods, "Formamide (HCONH2), a small uncharged solute, has been used as an ammonium analogue " - we would not create this term, unless you think this is relevant in vivo ?

Hi Pascale,
PMID: 20132793 describes in fig. 3. formamide and water transport across mitochondria from rat liver and brain.


Add support for VS2015 [2.4]

Without the fix, OpenCV will compile and silently copy the compiled libs/executables to a location not prefixed with arch/vc14, and OpenCV won't be picked up by find_package and OpenCVConfig.cmake.

:+1:


Create a simple Python script to validate backend configuration text files

What is the expected feature or enhancement?
API team needs to update simulator configs sw-api-web #5009. We need a way to take the backend configuration text files and verify if they are good by validating them against https://github.com/Qiskit/qiskit-terra/blob/main/qiskit/providers/models/backendconfiguration.py
I am thinking of writing a simple Python script that reads text files instead of calling an API to fetch all backend configurations and uses those to initialize the provider. We should patch the call to fetch all backend configurations with the data from the text files.
Acceptance criteria
Upload Python script to qiskit-ibm-runtime repo under a scripts folder.

As discussed: there's also a JSON schema for the backend configuration.
Might it be an alternative option to refer the API team to this schema and use it as basis for their validation (in the programming language of their choice)?


[0.50.4] Share API Error: ActionSheetManager is undefined

Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Environment:
  OS: macOS High Sierra 10.13.1
  Node: 8.9.1
  Yarn: 1.3.2
  npm: 5.5.1
  Watchman: 4.9.0
  Xcode: Xcode 9.1 Build version 9B55
  Android Studio: 2.3 AI-162.4069837

Packages: (wanted => installed)
  react: 16.0.0 => 16.0.0
  react-native: 0.50.4 => 0.50.4

Steps to Reproduce

In the onPress handler of a touchable component, call Share.share(...).then(...).catch((error) => console.log(error));
Check JS console logs

Expected Behavior
The Share API should not error.
Actual Behavior
The Share API errors:
TypeError: Cannot read property 'showShareActionSheetWithOptions' of undefined
    at Share.js:83
    at tryCallTwo (core.js:45)
    at doResolve (core.js:200)
    at new Promise (core.js:66)
    at Function.share (Share.js:82)
    at ActivityGlobal._shareMessage (activityGlobal.js:76)
    at ActivityGlobal.proxiedMethod (createPrototypeProxy.js:44)
    at Object.touchableHandlePress (TouchableHighlight.js:285)
    at Object._performSideEffectsForTransition (Touchable.js:746)
    at Object._receiveSignal (Touchable.js:664)

The error is on this line: https://github.com/facebook/react-native/blob/eb0d6470e54663538610a70ab0bae9847eb33673/Libraries/Share/Share.js#L89
ActionSheetManager is undefined here.
Reproducible Demo
See steps above.

"Fixed" via https://github.com/facebook/react-native/issues/4042#issuecomment-344468613 - I think this tidbit of information should be in the Share API documentation


Revert "[Spark] Fix Spark-master compile errors"

Reverts delta-io/delta#3591

Is there a reason this was reverted? Are there any plans anytime soon to fix this again? It would be great to be able to test out newer Spark builds past 4.0.0-preview1

it's fixed bck in https://github.com/delta-io/delta/pull/3721. Still we're working on making this able to compile


makefiles: fix compilation issues

use explicitly Apple Clang due to ptrauth.h not being provided by
Homebrew Clang
pass -isysroot to all Clang compilations

Great, thanks a lot!


Blurry GUI

Version
5.0.9
Browser and OS info
Chrome 73.0.3683.86/ Windows 10
Steps to reproduce
Look at the menus on the left.
What is expected?
For the GUI not to be blurry
What is actually happening?
The GUI is blurry

This looks the same as the old css-transform blur problem in firefox because it rendered the components as a texture and then applied the transform, which completely breaks vector rendering(text/css things applied before).
Relevant stackoverflow post:
https://stackoverflow.com/questions/27385126/chrome-font-appears-blurry\
These issues usually have workarounds.

I have the same issue!

I have the same issue!

in my case it appears with using vue-multiselect

in my case it appears with using vue-multiselect


Hide submission document urls

Hide the document URL for uploaded G7 submission documents
Ralph suggested that document upload and draft section view pages
should show "A document was uploaded" instead of the info URL for
uploaded G7 documents.
Since we use the same macros and toolkit templates for both live
and submission services (and there's no easy way to split them
that I can think of) this adds an additional check to the upload
macros that checks if the document is attached to a submission
draft (by checking that the URL starts with an "info" URL prefix).
Also removes quotes from the "service copied" message

:+1:


@@unique is no longer allowed for relations in vscode plugin

Problem
i had a model like this:
model TeamChallengeVote {
  id           String              @default(uuid()) @id
  user      User      @relation(references: [id])
  challenge Challenge @relation(references: [id])
  team      Team?     @relation(references: [id])
  score     Int

  @@unique([user, challenge, team])
}

until yesterday, this was valid. But since today, vscode complains about the @@unique annotation:
Error validating model "TeamChallengeVote": The unique index definition refers to the relation fields user, challenge, team. Index definitions must reference only scalar fields.

i guess this is of the new beta which unfortunatly requires additional scalar fields. So the formatter already threats the schema as beta, altough we still use preview
Solution
maybe the formatter just needs to know the prisma version for the time being and treat at as preview schema. Its very very hard for the moment to know how to migrate properly, everything seems to fall apart.
Alternatives
Have the formatter automatically update every schema in a way that it works both for preview version and beta. Maybe release another preview that supports the new scalar fields and have the migration handle this gracefully. Or get rid of the scalar-fields again on beta.

You need to switch to the new relation (with the scalar relation field) and use those scalars instead.

Yes, please refer to https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-schema/relations and apply foreign key fields according to your datamodel.

You need to switch to the new relation (with the scalar relation field) and use those scalars instead.

i want to avoid that until prisma figured out to do it without the scalar field. So my hope was that prisma would keep the formatter compatible for the preview version.
Also, it seemed that there is no migration to the new scalar fields yet, so until this is available, preview users are stuck with preview version.

In that case I think you should wait as we plan to revisit the syntax

@pantharshit00 i noticed that the prisma vscode plugin was not updated, but the error still came from one day to the other. It seems that the plugin takes the grammar form somewhere else?
is it possible that it would respect the local installed prisma version in the project?

In that case I think you should wait as we plan to revisit the syntax

There is no time frame for that at all - staying on preview is not advisable here.

i noticed that the prisma vscode plugin was not updated, but the error still came from one day to the other. It seems that the plugin takes the grammar form somewhere else?

The VSCode extension downloads a binary on installation and then uses that until another version of the extension is installed, that again downloads a new binary. Unless you modified the files, there is no change in what the binary and thus the extension do. (VSCode auto updates extensions though).

is it possible that it would respect the local installed prisma version in the project?

Not yet, but it was requested as a feature that we might develop one day: https://github.com/prisma/vscode/issues/66

Closing this now since the syntax change was completed more than 6 months ago.

👍
the good formatter in vscode really helped to adopt anyway as it adds missing pieces


LeakyRelu in Tensorflow lite with the Hexagon Delegate not supported

When using a tflite model (8-bits quantized via TensorFlow lite conversion framework) that includes the activation function "LeakyRelu", the Hexagon delegate from tensorflow framework cannot perform the DNN inference on the whole graph, but rather it falls back to the CPU/XNNPack delegate. This is due to the fact that 'LeakyRelu' operation is not supported by the Hexagon Delegate (confirmed in TensorFlow doc: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/delegates/hexagon/README.md). When using Relu activation function (and Relu6 as well), we can see below that the TF Hexagon Delegate can process the whole DNN graph, unfortunately, the qualitative results I get are much worse, hence the need of having 'Leaky Relu' implemented in the Hexagon Delegate. We can easily reproduce this behavior by using TensorFlow Benchmark tool (see below)
Could we consider to implement Leaky Relu in tensorflow lite DSP delegate ?
System information

OS Platform and Distribution): Android 10, NDK R21e
TensorFlow installed from (source or binary): from source using the Release tag '2.9.1'
TensorFlow version (or github SHA if from source):  2.9.1

Provide the text output from tflite_convert
WARNING:absl:Found untraced functions such as _jit_compiled_convolution_op, _jit_compiled_convolution_op, _jit_compiled_convolution_op, _jit_compiled_convolution_op, _jit_compiled_convolution_op while saving (showing 5 of 23). These functions will not be directly callable after loading.
C:\Users\eelfahsi\Miniconda3\envs\ml\lib\site-packages\tensorflow\lite\python\convert.py:766: UserWarning: Statistics for quantized inputs were expected, but not specified; continuing anyway.
  warnings.warn("Statistics for quantized inputs were expected, but not "
2022-10-13 18:13:16.990773: W tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc:362] Ignored output_format.
2022-10-13 18:13:16.991046: W tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc:365] Ignored drop_control_dependency.
2022-10-13 18:13:16.998334: I tensorflow/cc/saved_model/reader.cc:43] Reading SavedModel from: C:\Users\eelfahsi\AppData\Local\Temp\tmp731h7tgk
2022-10-13 18:13:17.027069: I tensorflow/cc/saved_model/reader.cc:81] Reading meta graph with tags { serve }
2022-10-13 18:13:17.027795: I tensorflow/cc/saved_model/reader.cc:122] Reading SavedModel debug info (if present) from: C:\Users\eelfahsi\AppData\Local\Temp\tmp731h7tgk
2022-10-13 18:13:17.269741: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:354] MLIR V1 optimization pass is not enabled
2022-10-13 18:13:17.291178: I tensorflow/cc/saved_model/loader.cc:228] Restoring SavedModel bundle.
2022-10-13 18:13:18.176412: I tensorflow/cc/saved_model/loader.cc:212] Running initialization op on SavedModel bundle at path: C:\Users\eelfahsi\AppData\Local\Temp\tmp731h7tgk
2022-10-13 18:13:18.475762: I tensorflow/cc/saved_model/loader.cc:301] SavedModel load for tags { serve }; Status: success: OK. Took 1477588 microseconds.
2022-10-13 18:13:19.015757: I tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.cc:263] disabling MLIR crash reproducer, set env var `MLIR_CRASH_REPRODUCER_DIRECTORY` to enable.
Found 7390 files belonging to 1 classes.
fully_quantize: 0, inference_type: 6, input_inference_type: 9, output_inference_type: 9

Process finished with exit code 0

Standalone code to reproduce the issue
Here is a colab link with the code used to:

generate the model that include leaky relu op.
quantize and save the model in int8 ops.

Colab code Link: https://colab.research.google.com/drive/1xmktQACGQ6GnMmrwco3bNXcmJIDjt5PK?usp=sharing
Link to the quantized model:
my_quant_model_leaky_relu.zip
The tool below from Tensorflow allow to run any model, when running the model above, it fails because 'LeakyRelu' is not supported.
Link to TensorFlow Benchmark:
https://storage.googleapis.com/tensorflow-nightly-public/prod/tensorflow/release/lite/tools/nightly/latest/android_aarch64_benchmark_model
tflite benchmark command line:
./tf_benchmark --graph=/data/local/tmp/my_quant_model_leaky_relu.tflite  --require_full_delegation=true --use_hexagon=true --hexagon_lib_path=/data/local/tmp/

When performing the inference on dsp using Tensorflow lite Benchmark tool for android, we get the following error message:
./tf_benchmark  --use_hexagon=true --graph=./my_quant_model_leaky_relu.tflite   --require_full_delegation=true --hexagon_lib_path=/data/local/tmp/          <
STARTING!
Log parameter values verbosely: [0]
Graph: [./my_quant_model_leaky_relu.tflite]
Require full delegation: [1]
Use Hexagon: [1]
Hexagon lib path: [/data/local/tmp/]
Loaded model ./my_quant_model_leaky_relu.tflite
INFO: Initialized TensorFlow Lite runtime.
loaded libcdsprpc.so
Hexagon delegate created.
INFO: TfLiteHexagonDelegate delegate: 6 nodes delegated out of 12 nodes with 5 partitions.

VERBOSE: Replacing 6 node(s) with delegate (TfLiteHexagonDelegate) node, yielding 6 partitions.
Disallowed CPU fallback detected.
Benchmarking failed.

If I disable the usage of the dsp, then it works properly
tflite benchmark command line:
./tf_benchmark --graph=/data/local/tmp/my_quant_model_leaky_relu.tflite

Logs
./tf_benchmark  --graph=./my_quant_model_leaky_relu.tflite
STARTING!
Log parameter values verbosely: [0]
Graph: [./my_quant_model_leaky_relu.tflite]
Loaded model ./my_quant_model_leaky_relu.tflite
INFO: Initialized TensorFlow Lite runtime.
The input model file size (MB): 0.038384
Initialized session in 0.57ms.
Running benchmark for at least 1 iterations and at least 0.5 seconds but terminate if exceeding 150 seconds.
count=1141 first=4613 curr=428 min=427 max=4613 avg=438.004 std=125

Running benchmark for at least 50 iterations and at least 1 seconds but terminate if exceeding 150 seconds.
count=2311 first=433 curr=428 min=427 max=627 avg=432.374 std=14

Inference timings in us: Init: 570, First inference: 4613, Warmup (avg): 438.004, Inference (avg): 432.374
Note: as the benchmark tool itself affects memory footprint, the following is only APPROXIMATE to the actual memory footprint of the model at runtime. Take the information at your discretion.
Memory footprint delta from the start of the tool (MB): init=0 overall=3.09766
...

If I replace leakyRelu by Relu, then it works properly
Here is a colab link with the code used to:

generate the model that include relu op.
quantize and save the model in int8 ops.

Colab code Link: https://colab.research.google.com/drive/1PZjt4BkFDP5EXAcVEi5N3Q4mYlfaawQP?usp=sharing
Link to the quantized model:
my_quant_model_relu.zip
tflite benchmark command line:
./tf_benchmark  --use_hexagon=true --graph=./my_quant_model_relu.tflite   --require_full_delegation=true --hexagon_lib_path=/data/local/tmp/

Logs
./tf_benchmark  --use_hexagon=true --graph=./my_quant_model_relu.tflite   --require_full_delegation=true --hexagon_lib_path=/data/local/tmp/                                                             <
STARTING!
Log parameter values verbosely: [0]
Graph: [./my_quant_model_relu.tflite]
Require full delegation: [1]
Use Hexagon: [1]
Hexagon lib path: [/data/local/tmp/]
Loaded model ./my_quant_model_relu.tflite
INFO: Initialized TensorFlow Lite runtime.
loaded libcdsprpc.so
Hexagon delegate created.
INFO: TfLiteHexagonDelegate delegate: 8 nodes delegated out of 8 nodes with 1 partitions.

VERBOSE: Replacing 8 node(s) with delegate (TfLiteHexagonDelegate) node, yielding 1 partitions.
Explicitly applied Hexagon delegate, and the model graph will be completely executed by the delegate.
The input model file size (MB): 0.0374
Initialized session in 174.22ms.
Running benchmark for at least 1 iterations and at least 0.5 seconds but terminate if exceeding 150 seconds.
count=918 first=796 curr=537 min=324 max=3378 avg=540.937 std=180

Running benchmark for at least 50 iterations and at least 1 seconds but terminate if exceeding 150 seconds.
count=1754 first=701 curr=537 min=443 max=2552 avg=565.409 std=136

Inference timings in us: Init: 174220, First inference: 796, Warmup (avg): 540.937, Inference (avg): 565.409
Note: as the benchmark tool itself affects memory footprint, the following is only APPROXIMATE to the actual memory footprint of the model at runtime. Take the information at your discretion.
Memory footprint delta from the start of the tool (MB): init=3.48047 overall=3.48047

@eelcoder !
Thanks for bringing it up again.
@sachinprasadhs !
Could you look at this feature request.
Thank you!

Hi,
Thanks for taking into consideration my request.
Any update on your side ?

Hello @sirakiin ,
Thanks for the tip.
Initially, I tried to implement it using tensorflow ops in python, but the inference time was very slow (4x slower):

But here I guess, I need to modify directly the hexagon delegate, which should hopefully be faster:
I'd like to try it, but since I'm not very familiar with the hexagon delegate code, could you give me an example on where to add the LeakyRelu support in HexagonDelegate code ?
My guess is that I'd need to modify hexagon/builders/op_builder.cc and hexagon/builders/activation_builder.cc, but not familiar enough with the code to do it properly.
Would be really grateful, if you could guide me in this process :)
Thanks!

Hello,
Any feedback on this request ?
thanks.

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The TFLite team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the TFLite space.
Thanks.