Update publish workflow to use notarytool for macOS notarization

From a recent-ish run of the 'publish' action:

2023-09-01 21:20:57.858 *** Warning: altool has been deprecated for notarization and starting in late 2023 will no longer be supported by the Apple notary service. You should start using notarytool to notarize your software. (-1030)

I think if we update the electron-notarize dependency to v2.0.0 or later it may resolve this warning?

I didn't realize that when using the notarytool command an additional parameter is needed: the appleApiKeyId.
From the electron/notarize README:

appleApiKey String - Absolute path to the .p8 file containing the key. Required for JWT authentication. See Note on JWT authentication below.
appleApiKeyId String - App Store Connect API key ID, for example, T9GPZ92M7K. Required for JWT authentication. See Note on JWT authentication below.
appleApiIssuer String - Your App Store Connect API key issuer, for example, c055ca8c-e5a8-4836-b61d-aa5794eeb3f4. Required if appleApiKey is specified.

Now there's a different notarization error message:

Error: HTTP status code: 403. A required agreement is missing or has expired. This request requires an in-effect agreement that has not been signed or has expired. Ensure your team has signed the necessary legal agreements and that they are not expired.

(from https://github.com/pomerium/desktop-client/actions/runs/7506289325/job/20437382131)
@desimone, when you have a moment could you take a look at the Apple account settings?

Accepted!

Thanks, this seems to be working now: https://github.com/pomerium/desktop-client/actions/runs/7506289325/job/20557893155.


Dynamically re-route all Zuul proxied requests to single URL

I'm trying to forward all requests to my API to a single endpoint based upon some condition.
The Gateway app runs on port 8080
I've created the following filter:
public class OutagePeriodFilter extends ZuulFilter {

    @Override
    public String filterType() {
        return "route";
    }

    @Override
    public int filterOrder() {
        return 0;
    }

    @Override
    public boolean shouldFilter() {
        return isOutagePeriod();
    }

    @Override
    public Object run() {
        RequestContext ctx = RequestContext.getCurrentContext();
        HttpServletRequest request = ctx.getRequest();

        // if outage - redirect everyone to http://localhost:8082/outage
        try {
            String url = UriComponentsBuilder.fromHttpUrl("http://localhost:8082").path("/outage").build()
                                     .toUriString();
            ctx.setRouteHost(new URL(url));
        } catch(MalformedURLException mue) {
            log.error("Cannot forward to outage period website");
        }
        return null;
    }

    private boolean isOutagePeriod() {
        // returns true if outage
    }
}

However after making a request to http://localhost:8080/alerts/public my API logs show:
2017-03-03 16:11:30.735 EST 0037 DEBUG                    o.s.s.w.u.matcher.AntPathRequestMatcher  : Checking match of request : '/outage/alerts/public'; against '/beans/'

For some reason it appends the original PATH to the redirect PATH resulting in a request to /outage/alerts/public which doesn't exist. I want to make a request to just /outage.
Putting a breakpoint in my filter just as the ctx.setRouteHost() is called shows that correct URL (http://<IP_ADDRESS>:8082/outage/).
My application.properties:
zuul.routes.api.path=/api/**
zuul.routes.api.url=http://localhost:8082/

This is the wrong repo for this: https://github.com/spring-cloud/spring-cloud-netflix/issues

Will post there. Thanks.


crash on window larger then 2000x2000

Looked more at that full screen crash I was getting. Seems to occur when resizing to larger then 2000x2000px. I have confirmed this on linux. No further error log about the crash has been found, even with log trace.

This appears to be related to a specific linux GLX driver, and not a godcr issue.


AIO support

Add definitions for asynchronous file I/O.  The mio-aio crate will
provide a concrete implementation

Thanks for the PR! This to me definitely raises the question of how to expose platform-specific events through tokio-core. Ideally we wouldn't have to add a new method for all events that we're listening for over time, as it's tough to do that in a platform-specific fashion.
I wonder if we could perhaps generalize PollEvented a bit to work with an instance of Ready? That would push that platform-specific logic down to mio and we could maybe refactor the read/write readiness methods to working with this api as well.

Ok I've added a generalization of this in https://github.com/tokio-rs/tokio-core/pull/208 which I think is slightly more flexible than adding a method-per-event.

Ok I've merged https://github.com/tokio-rs/tokio-core/pull/208, so I'm going to close this in favor of that.


\partial interpreted as \part in folding (Confuses the outline view)

Unfortunately my javascript skills are not sufficient to fix this (hopefully) simple issue. In more involved mathematics documents this becomes an issue.

There is a larger refactoring going on in branch novalatex-merge, overhauling this whole extension, which also fixes your error.
It is currently blocked by a Nova problem, see https://devforum.nova.app/t/nova-crashes-when-deactivating-my-extension/1468
I hope the next Nova release fixes this but I haven't heard from Panic yet. Once this is fixed, a new release is due soon.

This has just been fixed with release 1.0.0.


BBC News fails with "Unable to extract playlist data" error

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
United States
Provide a description that is worded well enough to be understood
I attempted to download the following video: https://www.bbc.com/news/uk-england-leeds-69023225
It fails with the message "Unable to extract playlist data".
Running with --write-pages produces the following dump: https://gist.github.com/Prill/728801a3439788a4a0a66c49ca7846da
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', 'https://www.bbc.com/news/uk-england-leeds-69023225']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [ff0779267] (pip)
[debug] Python 3.12.3 (CPython arm64 64bit) - macOS-13.6.4-arm64-arm-64bit (OpenSSL 3.2.1 30 Jan 2024)
[debug] exe versions: ffmpeg 7.0 (setts), ffprobe 7.0
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.02.02, mutagen-1.47.0, requests-2.31.0, sqlite3-3.45.2, urllib3-2.2.1, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1810 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp)
[bbc] Extracting URL: https://www.bbc.com/news/uk-england-leeds-69023225
[bbc] uk-england-leeds-69023225: Downloading webpage
ERROR: [bbc] uk-england-leeds-69023225: Unable to extract playlist data; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "/opt/homebrew/Cellar/yt-dlp/2024.4.9_1/libexec/lib/python3.12/site-packages/yt_dlp/extractor/common.py", line 734, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/yt-dlp/2024.4.9_1/libexec/lib/python3.12/site-packages/yt_dlp/extractor/bbc.py", line 1291, in _real_extract
    self._search_regex(
  File "/opt/homebrew/Cellar/yt-dlp/2024.4.9_1/libexec/lib/python3.12/site-packages/yt_dlp/extractor/common.py", line 1321, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)

Please let me know if I didn't provide enough information.

You went above-and-beyond with providing info; thanks!
Have to close this is a duplicate of #9701, though. And yes, that issue's title is not exactly optimized for searches, so no worries.
This will be fixed by #9705

Is there a known workaround? I don't mind poking around the source code for a m3u8 URL or whatever, but I couldn't find one in this case.

you can install the PR branch:
python3 -m pip install -U pip hatchling wheel
python3 -m pip install --force-reinstall "yt-dlp[default] @ https://github.com/kylegustavo/yt-dlp/archive/kg.bbc-1.tar.gz"

@Prill The PR has been merged. If you installed with homebrew, you can do this to install from the master branch:
brew uninstall yt-dlp
brew install --HEAD yt-dlp

Danke. I'll probably wait until it's officially in the release; it's not urgent.


feat(db): support control db's features

Let's add functions to support enable/disable db's features by user.
In my case, i need disable InsertReturning.

feature is a low-level API so use at your own risk. Bun does not guarantee it won't change.
Do you need this per-query basic or this should be done once? I would prefer something like
db := bun.NewDB(db, dialect.WithoutFeature(feature.InsertReturning))

Yes, feature is low-level API. But i think support functions to somebody need is not a bad choice.
I rename function's name.

@j2gg0s what do you think about making this a method on a Dialect? The more accurate example is:
sqldb, err := sql.Open("mysql", "root:pass@/test")
if err != nil {
	panic(err)
}

db := bun.NewDB(sqldb, mysqldialect.New().WithoutFeature(feature.InsertReturning))

Yes, we need to repeat for all 3 dialects, but the API is more cleaner.

Sorry, i did not notice that yout want to add this function to dialect.
However, if we think this may be not very correct, let's add this function when we have to?
I have deal with my special case with other solution.

Okay, sounds like you've found another solution for your problem. Let's close this then?


Firebase-config is missing

An error is preventing use with the latest version of firebase

How to use?


Downloading Topic information

For interest over time, we can pass in search terms , start and end dates, Geo using syntax below.
How do you pass in a topic?
googleTrends.interestOverTime({keyword: string, startTime: Date, endTime: Date, geo: string}, cbFunc)
Requires an object as the first parameter with the following keys:
keyword - required - type string or array - the search term(s) of interest
startTime - optional - type Date object - the start of the time range of interest (defaults to new Date('2004-01-01') if not supplied)
endTime - optional - type Date object - the end of the time range of interest (defaults to new Date(Date.now()) if not supplied)
geo - optional - type string - geocode for a country, region, or DMA depending on the granularity required (defaults to worldwide). For example, geo: 'US-CA-800' will target the Bakersfield, California, United States or geo: 'US' will just target the US.
hl - optional - type string - preferred language code for results (defaults to english)

@tsennyuen I think these are the only fields available from Google. Could you use the topic in the keyword field?

@tsennyuen maybe this is related to #67 ?

Hello Pat.  #67 seems to be referring to category.  Isn't topic and category two different things?

I don't think there is a topic field to query on.  Can you give me a high level example of what you are trying to do?

This link is for TOPIC "Back to School",  https://trends.google.com/trends/explore?geo=US&q=%2Fm%2F068pw8&hl=en-US&tz=Etc%2FGMT%2B7&tz=Etc%2FGMT%2B7
In the UI, if you try to edit the topic, you can do search term or topic

@tsennyuen Ok I see what you are saying.  It looks like if you make a GET request to a link like this (for the autocomplete results) [https://trends.google.com/trends/api/autocomplete/Back to school?hl=en-US&tz=240](https://trends.google.com/trends/api/autocomplete/Back to school?hl=en-US&tz=240), it will return to you a JSON listing of the available types to search on:
{"default":{"topics":[{"mid":"/m/0414j6","title":"Back to School","type":"1986 film"},{"mid":"/m/068pw8","title":"Back to school","type":"Topic"},{"mid":"/m/04vwgn","title":"Fight Back to School","type":"1991 film"},{"mid":"/m/05357_","title":"Tax holiday","type":"Holiday"},{"mid":"/m/02pb6kt","title":"Fight Back to School II","type":"1992 film"}]}}

Here you see for type, Topic, the value is "/m/068pw8".  Then if you do a query with '/m/068pw8' as the search term, you get the results you are looking for.
I'm not sure if there is a more direct way of performing this query yet... I could make an additional method that returns the autocomplete results if there is interest, and then those results could be used in the interestOverTime method.

Thank you.  I believe that will throw an error in the API call because it has special characters.  Would it need to be encoded?

Hmm, in the request module the query string gets passed through node's querystring module which should encode the unsafe characters to percent encoding. I do get results when I run the query:
googleTrends.interestOverTime({keyword: '/m/068pw8'})
.then((res) => {
  console.log('this is res', res);
})

Are the results wrong?

@tsennyuen I made a pull request to add another api method called autoComplete

Thank you Patrick.  We will do some testing and will let you know if this issue is resolved.  You have been very helpful.

@tsennyuen Awesome, thanks. Just open it back up if not resolved.


New Feature to Add Survivor Details and Survivor Searching

Subject of the issue
An option to enter and search the details of the people rescued or safe now. It will be helpful to calculate district/area base survival status. Also people in different relief camps/places will get an information about their relatives/friends which will also help to track missing people. Survivors or Volunteers in the relief camp can enter this details in the site
Your environment

Python 3.5
Google Chrome v67
Linux

Expected behavior

Web form to enter survivor details: Name, Phone, House Name, Native Place, Pin Code, Address, Current Place, Any Missing People in Family, Status, Updated by etc.
A search option to perform a search on the basis of above details

I can work on this feature if nobody else is working on it

I can work on this feature if nobody else is working on it

Please do and submit a PR
we need all the help

keep in mind that the search will  impact our db and will need to atleast have provision for Solr / Elasticsearch

@bobinson Ok I will work on that.
Mentioning any attributes I missed in Survivor Model should be helpful.

Added by rescue camps

Your are Mentioning about this one https://keralarescue.in/find_people/  right?


Update index.yml

typo

@boucz Thanks for this typo fix; looks good.
@billmath Under normal circumstances, I'd merge this typo fix directly. You probably know that publishing in this repository is suspended until Tuesday, September 22; merging will resume at 7 AM Pacific Tuesday. I wanted to bring it to your attention. If I don't hear anything different, I'll leave this PR in the queue as ready to merge on 9/22.
Thanks!
cc @tfosmark


Preview flag doesnt work properly

.\install.ps1 -PreRelease
Use Default layout.
Found Windows Terminal version 1.0.1401.0.
Found Windows Terminal version 1.6.10571.0.
Found Windows Terminal version 1.6.10412.0.
Found Windows Terminal version 1.7.572.0.
Found actual executable C:\Program Files\WindowsApps\Microsoft.WindowsTerminalPreview_1.7.572.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe.
WARNING: Didn't find icon for profile .
CreateMenuItem: D:\Downloads\install.ps1:371
Line |
 371 |          CreateMenuItem $rootKey $name $profileIcon $command $false
     |                                  ~~~~~
     | Cannot bind argument to parameter 'name' because it is an empty string.

CreateMenuItem: D:\Downloads\install.ps1:372
Line |
 372 |          CreateMenuItem $rootKeyElevated $name $profileIcon $elevated  …
     |                                          ~~~~~
     | Cannot bind argument to parameter 'name' because it is an empty string.

Windows Terminal installed to Windows Explorer context menu.

It only gave me options for the normal build along with erroring

Apparently I had an empty object in my profile list causing the error. It still doesn't link to Preview when creating menu objects though.

https://github.com/lextm/windowsterminal-shell/blob/8c45921d0395e32f13c66f16daa1da2a6ec0d80f/install.ps1#L459
This should refer to Microsoft.WindowsTerminal(Preview)_8wekyb3d8bbwe\wt.exe instead.

More investigation is needed before this item can be worked on,

Cannot find Microsoft.WindowsTerminal(Preview)_8wekyb3d8bbwe\wt.exe on my machine. It seems to be $Env:LOCALAPPDATA\Microsoft\WindowsApps\Microsoft.WindowsTerminalPreview_8wekyb3d8bbwe\wt.exe.
On my machine $Env:LOCALAPPDATA\Microsoft\WindowsApps\wt.exe is associated with the preview version. So it seems that this shortcut is not a reliable one and should be changed anyway.

Once investigation is done, we might ship a new version.


Can't set SVGO options

🐛 Bug Report
I need basically need to keep the svg viewBox when using @svgr/webpack.
I tried every piece of documentation I found spread among web pages and tickets previously opened in git.
svgr/webpack version: 5.1.0
webpack version: 4.29.6
To Reproduce
Configurations I tried:
webpack config file:
{
   test: /\.svg$/,
   use: [{
      loader: '@svgr/webpack',
      options: {
         svgoConfig: {
            plugins: [{
               removeViewBox: false
            }]
         }
      }
   }, 'file-loader']
},

in .svgorc:
plugins:
	- removeViewBox: false

with the webpack config file I tried inside my application:
import svgfileurl , { ReactComponent as svgFile } from 'whatevever.svg'
both svgfileurl and svgFile return a function which returns a reactComponent
Expected behavior
For the viewBox attribute to be preserved
Any ideas?

Use svgo in option instead of svgoConfig.

Thanks for your suggestion @gregberge, but it didn't work either.
Here's how I tried:
{
   test: /\.svg$/,
   use: [{
      loader: '@svgr/webpack',
      options: {
         svgo: {
            plugins: [{
               removeViewBox: false
            }]
         }
      }
   }]
},

I only get  in the dom.
Also double check my svg, which looks like:
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26.82 42.81">
What else could be causing this annoying issue?

I don't know it needs to be investigated.

Extra information:
I downgraded the library to 4.3.3 and svgo and svgoConfig options don't work either.

You should try to investigate it by adding some console.log to see where is the problem. The code of SVGR is pretty simple (for SVGO chaining).

I'm on version 5.2.0 of @svgr/webpack, and I have a .svgo.yml file which contains the following config:
// .svgo.yml
plugins:
  - removeViewBox: false

This works in development mode and does not remove the viewBox attribute from svg, but it removes that attribute during the production mode. Not sure why. 🤔

Hey guys, I just went through the same issue on v5.2.0 . After trying a lot of things, nothing worked.
So I downgraded to 4.3.3 , using this config:
// SVG: imported and rendered inline from JS files
svgInline: {
  test: /\.svg(\?v=\d+\.\d+\.\d+)?$/,
  issuer: {
    // Only inlining svg loaded from jsx? files
    test: /\.jsx?$/,
  },
  use: [
    'babel-loader',
    {
      loader: '@svgr/webpack',
      /*
        Using .svgo.yml for now to prevent the removeViewBox issue
      */
      options: {
        svgoConfig: {
          // See: https://github.com/svg/svgo#what-it-can-do
          // Important! We need to stick to @svgr/weback v4.3.3 to prevent an issue
          // where removeViewBox is not applied (still not fixed in 5.2.0).
          plugins: [{
            removeViewBox: false,
            removeTitle: false,
            convertShapeToPath: false,
            mergePaths: false,
          }],
        }
      },
    },
  ],
},

@kbouchard  thanks

Ok, after some invastigation i found how to make it work.
This does not work:
  const svgoConfig = {
    plugins: [
      {
        convertColors: {
          currentColor: true,
        },
        prefixIds: {
          prefix: componentName
        }
      },
    ],
  };

This works (note each plugin settings must be in its own object)
  const svgoConfig = {
    plugins: [
      {
        convertColors: {
          currentColor: true,
        }
      }, {
        prefixIds: {
          prefix: componentName
        }
      },
    ],
  };

@ghostd thanks for the investigation! Of course we should being able to handle it. Could you (or anyone else) submit a PR please?

I'm getting Plugin name should be specified error
This syntax works, but I need to pass options.
{
  name: 'removeViewBox',
  active: false
}

All examples I saw are using
removeViewBox: {
   // options here
}

But I can't use this config format because of this error. Is there a documentation on how to pass options to plugins?

Thank you @VityaSchel! Nothing I was trying from the SVGO docs or other examples was working. Putting the plugins in their own objects finally did it.
My working webpack config (for React/SVGR) is structured like this:
module.exports = {
	module: {
		rules: [
			{
				test: /\.svg$/,
				type: 'javascript/auto',
				use: [
					{
						loader: '@svgr/webpack',
						options: {
							svgo: true,
							svgoConfig: {
								plugins: [
									{
										name: 'removeViewBox',
										active: false
									},
									{
										name: 'cleanupIds',
										active: false
									},
									{
										name: 'prefixIds',
										active: false
									},
									{
										name: 'removeHiddenElems',
										active: false
									},
									{
										name: 'removeEmptyContainers',
										active: false
									},
									{
										name: 'mergePaths',
										active: false
									}
								]
							}
					 	}
					}
				]
			}
		]
	}
}

This worked for me using @svgr/rollup v8.1. I did notice however that if the SVG has a specified width/height attrib the viewBox attrib was  still being removed (which makes sense/likely an optimization).
    svgr({
      svgoConfig: {
        plugins: [
          {
            name: 'removeViewBox',
            active: false
          },
        ]
      }
    }),

I did notice however that if the SVG has a specified width/height attrib the viewBox attrib was still being removed (which makes sense/likely an optimization).

It may make sense when SVGO is used standalone. But passing width="auto" in SVGR doesn't work since SVGO assumes I don't need the viewBox. Disabling removeViewBox should really disable it.


Owl Carousel doesnt autoslide in meteor when declared inside rendered function .

The carousel loads up good but doesnt autoslide in meteor , its working normally in html page(tried for testing).
Also , i am not able to deal with the callback functions .
Any help would be much appreciated.
Thanks

+1 I have encountered the same issue. Tried it on a fresh meteor 1.2 install with latest owl package. autoPlay js is not operating with...
Template.hello.onRendered (function() {

$("#owl-demo").owlCarousel({

  autoPlay: 3000, //Set AutoPlay to 3 seconds

  items : 4,
  itemsDesktop : [1199,3],
  itemsDesktopSmall : [979,3]

  });

 });

Same here. Autoplay does not work.
Meteor version: 1.2.

Hello, for me it's even worse - no parameters from $("#owl-demo").owlCarousel are applied to the carousel. It always renders the same way regardless of what I input.

Same here on 1.2. Waiting for some light

Same for me. none of the parameters i pass seem to have any effect.

Just realized that we can use jquery stuff without a meteor package by adding the proper .js files into your lib and set the plugin settings under onRendered "helper". Not sure if it was clear but thats it :dart:

I got parameters working like this...
Template.main.onRendered(function(){
	initSlider();
})

initSlider = function() {
	$(document).ready(function() {

		$("#home-slider").owlCarousel({

			autoPlay: 3000, //Set AutoPlay to 3 seconds

			items : 1,
			itemsDesktop : [1199,3],
			itemsDesktopSmall : [979,3]

		});

	});
}

Gotta download their source files from the main site and move their owl.carousel.js + min version into your project.

@nigelpasco I think those are 1.x parameters. You need to use 2.0 paramters. I believe for responsive items, you would use the responsive attribute:
      responsiveClass:true,
      responsive:{
          0:{
              items:2,
          },
          600:{
              items:3,
          },
          1000:{
              items:5,
          }
      }

Template.Name.onRendered (function() {
$("#owl-demo").owlCarousel({
autoplay: true,
autoPlay: 3000, //Set AutoPlay to 3 seconds
});
});


Multiple Configuration Problems with 8.2.1

In my Habitat-like demo project, I have not been able to get multiple configurations to work out.  Maybe I'm doing something wrong, but here's what's happening...
First, I have a feature project for Metadata that includes a base template with fields like Page Title, Meta Description, etc.  In Habitat-style, this project contains all of the Unicorn and Sitecore configuration, controller, model, view, etc for this feature so I'd like to have the Synthesis code (interfaces and models) generate into this project.
I also have a "project layer" project that includes all of my page templates (the ones content authors will actually create instances of in Sitecore).  These inherit from the Metadata template.
If I only configure Synthesis for the Metadata project, then my page which uses a page template from the latter project cannot be cast to the IMetadata interface ( Sitecore.Context.Item.As() ).  Whenever I set up a Synthesis configuration for the other project, I get models that inherit from IMetadata but code inside of the Metadata project still cannot cast to IMetadata.  I presume because that project doesn't reference the project containing the concrete implementation? (the dependencies have to flow the other direction - the page templates project can depend on the metadata project, but not the other direction).
I did try changing the order that the configurations are defined and the assemblies get added to the ConfigRegistrar, but that generated code that wouldn't compile (the page templates try to inherit from IMetadata in some weird looking namespace).
I have all of this in a smallish demo project that I can share if you want to look at it or if you want to jump on a screenshare session sometime...  You can hit me up on Sitecore Slack as @kevin-williams.

Did you ever get this working? I'm using it successfully in Helix-like implementations these days.

Can you provide a sample of multiple template paths with multiple output / namespace paths ?

Closing from inactivity, presumed solved.

Sorry just saw this - I guess gmail was filing it under spam.  I'll give
this another try since it's been like a month or more since I tried it.
Thanks!
On Wed, Oct 12, 2016 at 1:00 PM, Kam Figy<EMAIL_ADDRESS>wrote:

Closed #30 https://github.com/kamsar/Synthesis/issues/30.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kamsar/Synthesis/issues/30#event-821362804, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACtSahBXLxfin1cArIRC-384JmQnkLI5ks5qzSBTgaJpZM4IyNU2
.

--
Kevin Williams
<EMAIL_ADDRESS>


Error loading model. Unsupported file content (00ff0000ff007bff00ff0000ff00ff00) for extension '.tflite' in 'quantized_model.tflite'.

Netron app and version:
OS and browser version:

Steps to Reproduce:

From my tensor flow script it generated expected_result_tflite.dat when Iam trying to open using netron model viewer it didn't recognize that model
2.I copied expected_result_tflite.dat into quantized_sim.tflite then it could recognize the model, but its giving the
Unsupported file content (00ff0000ff007bff00ff0000ff00ff00) for extension '.tflite' in 'quantized_model.tflite'.

Please attach or link model files to reproduce the issue if necessary.

Can you share the model file and the script?

import numpy as np
import tempfile
import sys
import os
#import pygraphviz
Add the src path to python
sys.path.append("../../src2")
NZOO_ROOT = os.environ.get("NZOO_ROOT", None)
if NZOO_ROOT:
sys.path.append(os.path.join(NZOO_ROOT, "tools/kmb_test_generation/"))
else:
raise ValueError("Please clone migNetworkZoo and create and environment variable #NZOO_ROOT to that repo")
Suppress useless warning
from Models.System.StartUp import suppress_warnings
suppress_warnings()  # noqa
from Controllers.CompositionAPI import CompositionAPI
from Controllers.Arguments.CompilationArgs import CompilationArgs
from Controllers.OptimizationPasses.PassManager import PassManager
from Controllers.Parsers.APIHook import APIParser
from hex_converter import convert_to_numpy
def compile_network(layers: list, debug=False, image=None, outputs_location=None, device="OYB", **args):
"""Compile the networks from a list of layers
Arguments:
layers {list} -- List of layers in the compiler IR format. Input and Output node must be present
Keyword Arguments:
debug bool -- Enable debug info (default: False)
"""
# Generate random output folder
if outputs_location is None:
tempdir = tempfile.TemporaryDirectory()
outputs_location = tempdir.name
else:
if not os.path.exists(outputs_location):
os.mkdir(outputs_location)
# Generate compiler options
arguments = CompilationArgs(outputs_location=outputs_location,
                            target_file=f"../../targets/{device}.yaml",
                            **args)

arguments.processed_input_data = image

# Generate a pass manager with default passes
pm = PassManager("../../src2/Controllers/OptimizationPasses/pass_order.yaml")
# Compile
pm.run_passes(layers, arguments, debug=debug)

# Compiler
return pm.getIR()

def generate_test(image, weights, zero_point=128, output_scale=1.0):
ca = CompositionAPI()

weight_quantization = ca.QuantizationInfo(scale=[1], zero_point=[zero_point])
input_quantization = ca.QuantizationInfo(scale=[1], zero_point=[zero_point])
output_quantization = ca.QuantizationInfo(scale=[output_scale], zero_point=[zero_point])
bias_data = 128*np.ones((1,256,1,1)).astype(np.uint8)
bias_quantization = ca.QuantizationInfo(scale=[1], zero_point=0)
weights_tensor = ca.Tensor(weights, name="Weights", quantization=weight_quantization, dtype=np.dtype(weights.dtype).name)
bias = ca.Tensor(bias_data, name="Bias", quantization=bias_quantization, dtype=np.uint8)
## Assuming padding == SAME
output_shape = (1, weights.shape[0], image.shape[2], image.shape[3])

# Activation dtype
t1 = ca.Tensor(image.shape,
               name="Input Tensor",
               quantization=input_quantization,
               dtype=np.uint8)
t2 = ca.Tensor(output_shape,
               name="Output Tensor",
               quantization=output_quantization,
               dtype=np.uint8)

# Network Input
in_layer = ca.Layer("Input", [], t1, name="Input")
# Convolution
convA = ca.Layer("Convolution", [t1], [t2],
                 weights=weights_tensor,
                 kernel_width=weights.shape[2],
                 kernel_height=weights.shape[3],
                 kernel_stride_height=1,
                 kernel_stride_width=1,
                 bias=bias,
                 name="convA")

out_layer = ca.Layer("Output", t2, [], name="Output")

# Compile the CA graph
ca_graph = ca.compile(in_layer, out_layer)

# Generate the IR layers
return APIParser(ca_graph).parse(arguments=None)

Transpose to conver from TFLite to compiler canonical representation
weights = convert_to_numpy(os.path.join("/nfs/iir/disks/vpu2p6_phy_user_disk002/rcpalaku/wa2/nxn/MTL/", "cmx_wt_data.bin")).transpose((2, 3, 0, 1))
image = convert_to_numpy(os.path.join("/nfs/iir/disks/vpu2p6_phy_user_disk002/rcpalaku/wa2/nxn/MTL/", "cmx_se_data.bin")).transpose((0, 3, 1, 2))
Generate layers and show some info
layers = generate_test(image, weights,zero_point=128, output_scale=1.0)
print("================")
for layer in layers:
print(f"Name: {layer.name}, class: {layer.className()}")
conv = layers[1]
print("---- Input tensors ----")
for t in conv.getInputTensors():
print(f"name: {t.name}, shape: {t.shape}, dtype: {t.dtype.nptype}")
print("---- Output tensors ----")
for t in conv.getOutputTensors():
print(f"name: {t.name}, shape: {t.shape}, dtype: {t.dtype.nptype}")
print("================")
#from Views.IRVisualize import drawGraphFromLayers
#drawGraphFromLayers(layers, path="layers.png")
#print("================")
#from IPython.display import Image
#Image(filename="layers.png")
#os.remove("layers.png")
IR = compile_network(layers,
image=image,
outputs_location="outputmtlnxn",
device="MTL",
nDPU=1,
nClusters=2,
emulator=True,
duplicate=3)
# Output layer
From: Lutz Roeder<EMAIL_ADDRESS>Sent: Monday, September 14, 2020 4:02 PM
To: lutzroeder/netron<EMAIL_ADDRESS>Cc: Palakurthi, Ratna<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [lutzroeder/netron] rror loading model. Unsupported file content (00ff0000ff007bff00ff0000ff00ff00) for extension '.tflite' in 'quantized_model.tflite'. (#596)
Can you share the model file and the script?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/lutzroeder/netron/issues/596#issuecomment-692116251, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHEQH45EXM5YXCMXXG2YVUDSFYWABANCNFSM4RLU4HTQ.
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263
This e-mail and any attachments may contain confidential material for the sole
use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.


Error "Library e_sqlite3 not found" when creating new SQLiteConnection on .net 4.7.2

I created a new project "Console App (.NET Framework)" with VS 2019 (16.4.5) and added "sqlite-net-pcl 1.7.335".
This code causes the error:
static void Main(string[] args)
{
    try
    {
        var con = new SQLiteConnection(@"d:\temp\1.sqlite");
    }
    catch (Exception e)
    {
        Console.ForegroundColor = ConsoleColor.Red;
        Console.WriteLine("{0}\n{1}", e.Message, e.InnerException);
        Console.ResetColor();
    }
    Console.ReadKey();
}

After building the program there is no "e_sqlite3.dll" in the output folder. I copied it from the package folder of "sqlitepclraw.lib.e_sqlite3\2.0.3\runtimes" (tried with all win-versions), but the error still remains.

I think it is a problem with the referenced Package "SQLitePCLRaw.bundle_green". This should use "e_sqlite3" on all plattforms, except iOS.
(from https://github.com/ericsink/SQLitePCL.raw)
If I add "SQLitePCLRaw.bundle_e_sqlite3" which use "e_sqlite3" on all plattforms, it works.
(SQLitePCLRaw.bundle_green doesnt create the folder "runtimes" and it's subdirs in the output folder, but SQLitePCLRaw.bundle_e_sqlite3 does)

Same issue here, but I only got the error after switching from debug to release mode. In debug mode, e_sqlite3.dll is not present in the output folder and it works. The file is not a .NET assembly and I haven't yet found out what kind of file it is.
The files are available in my debug output folder when it works:

If I change the platform target in release mode to X86 or X64, e_sqlite3.dll appears. If it's set to AnyCPU, the file does not get copied to the output folder.
I fixed it for now by switching to AnyCPU and sqlite-net 1.6.292.

@brinkdinges  I think e_sqlite3.dll is the native lib for the current platform (https://github.com/ericsink/SQLitePCL.raw)

Can't solve the problem in an asp.net web application with the workarounds listet above.
I ended in removing all sqlite nugets and adding SQLite.cs to the project. Furthermore I extract the binary sqlite (with encryption) from .nuget\packages\sqlitepclraw.lib.sqlcipher.windows\1.1.11\runtimes\win-x64\native, renamed it to sqlite3.dll and copied it to the outputfolder.

Recently upgraded sqlite-net-pcl from 1.6.292 to 1.7.335 in VS2019 and have the exact same issue with my Winforms app (a VSTO Office Addin). Android and UWP apps are fine.
e_sqlite3.dll is copied to the debug output directory (provided project build nominates x64 or x86) but is never found for loading.
Was working OK in 1.6.292 but would like to stay with later version.

I encountered this problem about 5 months ago and because I could not find a solution, I used MS Access database in the application I developed.
Now I wanted to use sqlite in a Windows Forms (.Net.Framework) application but; this problem still seems unresolved. I've tried it with both sqlite-net-pcl and Microsoft.Data.Sqlite, unfortunately nothing has changed.
It works fine when I try it in both debug and release mode, but when I publish it or when I create an installation package with the setup project and install it on any computer, I get the "System.Exception: Library e_sqlite3 not found" error.
I tried all of the solutions suggested in Github, Stackoverflow and many other forums but failed.
I guess the problem is caused by this file. I tried manually copying the file (both 32 bit and 64 bit versions) to the folder where the application was installed and into the system32 folder, and it didn't work as expected :)

I feel like there is a very simple solution but we can't find it.

Attached is a quick sample I just created using sqlite-net and .NET Framework.  To create this, I did the following steps:

Whine and complain that anybody is using .NET Framework
Open Visual Studio 2019 and create a console app for .NET Framework
Add the nuget package sqlite-net-base
Express shock and outrage that a current version of Visual Studio is capable of creating a packages.config file
Convert the project to use PackageReference.
Stop and watch the new episode of The Mandalorian.  This is the way.
Add the nuget package SQLitePCLRaw.bundle.e_sqlite3 version 2.0.4
Add code to Main() to open a connection and print out the SQLite version.
Run the project, watch it fail because I forgot to call SQLitePCL.Batteries.Init()
Add the SQLitePCL.Batteries.Init() call to Main()
Run the project, watch it print out 3.33.0

ConsoleApp1.zip

Attached is a quick sample I just created using sqlite-net and .NET Framework. To create this, I did the following steps:

Whine and complain that anybody is using .NET Framework
Open Visual Studio 2019 and create a console app for .NET Framework
Add the nuget package sqlite-net-base
Express shock and outrage that a current version of Visual Studio is capable of creating a packages.config file
Convert the project to use PackageReference.
Stop and watch the new episode of The Mandalorian.  This is the way.
Add the nuget package SQLitePCLRaw.bundle.e_sqlite3 version 2.0.4
Add code to Main() to open a connection and print out the SQLite version.
Run the project, watch it fail because I forgot to call SQLitePCL.Batteries.Init()
Add the SQLitePCL.Batteries.Init() call to Main()
Run the project, watch it print out 3.33.0

ConsoleApp1.zip

The sample application you sent works fine in debug mode. But when I add a setup project to the solution and install the application on the computer, I still encounter the same problem.

Ah, sorry, I missed the bit about the setup project.
That means your problem is quite different from the original issue here.
Also, it seems like the problem isn't necessarily related to SQLite-net or SQLitePCLRaw. I'm not familiar with whatever setup project/tool that is, but the SQLite stuff clearly works until the setup project gets involved. If it's dropping a file, perhaps there is a way to fix that by explicit inclusion or whatever.

I have a solution divided into application assemblies. DB assembly, models assembly.
The DB assembly references SQLite net PCL. When upgrading to version 1.7.335, prompt library E_ sqlite3 not found。
According to the results of stack overflow, the application assembly I restart also adds a reference to SQLite net PCL. The problem is solved.
But I don't need to access the database directly under the application program. So I don't understand why this problem can be solved like this?
Can you answer my question. thank.

I have a solution divided into application assemblies. DB assembly, models assembly.
The DB assembly references SQLite net PCL. When upgrading to version 1.7.335, prompt library E_ sqlite3 not found。
According to the results of stack overflow, the application assembly I restart also adds a reference to SQLite net PCL. The problem is solved.
But I don't need to access the database directly under the application program. So I don't understand why this problem can be solved like this?
Can you answer my question. thank.

Adding a reference to the application project is how the build system knows which platform to use for the native SQLite library.

Adding a reference to the application project is how the build system knows which platform to use for the native SQLite library.

I just retried updating SQLite-net again, now to version 1.8 since 1.7 gave me troubles, see my comment near the top. Any idea what I need to do to get e_sqlite3.dll to be copied to the output directory?

I'm now only referencing the sqlite-net-pcl NuGet package, do I need to add more?
I target .NET Framework 4.8
The project uses the AnyCPU platform
I don't see the file anywhere in the output directory or its subfolders

My stack trace:
Exception: Library e_sqlite3 not found
at SQLitePCL.NativeLibrary.Load(String libraryName, Assembly assy, Int32 flags)
at SQLitePCL.Batteries_V2.MakeDynamic(String name, Int32 flags)
at SQLitePCL.Batteries_V2.DoDynamic_cdecl(String name, Int32 flags)
at SQLite.SQLiteConnection..cctor()

Does it need to use AnyCPU?
If you add a RuntimeIdentifier property to your csproj, does that affect the problem?

Regarding AnyCPU: I don't know. I've always kept it at AnyCPU just to be sure. I'll look into it.
I added win10-x64 to the project and noticed two effects so far:

e_sqlite3.dll gets copied to the output directory, plus to a x64 and x86 subfolder.
I cannot register my own plugin DLL with COM anymore. The stack trace mentions e_sqlite3.dll. It's not SQLite's fault probably, I may need to dig into what this custom register tool is doing. If I can't register, I can't run my plugin to test it.

Unexpected error: System.BadImageFormatException: Could not load file or assembly 'file:///C:\Users......\bin\Debug\net48\win10-x64\e_sqlite3.dll' or one of its dependencies. The module was expected to contain an assembly manifest.
File name: 'file:///C:\Users......\bin\Debug\net48\win10-x64\e_sqlite3.dll'
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at x.PlugInIntegration.GetPlugIns(String pluginFullPath, Action`1 onFound)
at x.PlugInIntegration.GetSolidPlugIns(String addinPath)
at x.PlugInIntegration.ConfigurePlugIns(String addinPath, SolidAddIn solidAddIn)
at x.SolidAddIn.ComRegister(Type t)

It kinda looks like something is noticing e_sqlite3.dll and assuming it is a plugin, a .NET assembly, when actually it is a native DLL.

It probably assumes it's a .NET assembly, indeed. I'll check that tool to see if I can propose a fix for that. Thanks 👍
My plugins run inside SolidWorks, which only runs on 64-bit versions of Windows 7 and 10. So targeting x64 should be possible.
I removed the RuntimeIdentifier and changed the target to x64 in all projects, I did not notice a difference in behavior, the sqlite dll does not get copied to the output.

@brinkdinges Do you by chance have a minimal reproduction project you could post?
Today I tried creating a .NET Framework project that uses AnyCPU so that I could reproduce this class of problems and experiment with fixes, but, the problem doesn't show up for me.  Maybe I need to be using older versions of the tooling.


Task runner and common dev tasks. Closes gh-118

This is the first round. There will be a follow up issue to write some base line unit tests for the existing features.
Additionally, automated ci runs with travis needs to be set up for this repo.

@rwaldron I'm new to Grunt so let me know if I've configured something wrong, but when I run grunt in the root of the project, I get the following error: Warning: Task "grunt-jsbeautifier" not found. Use --force to continue.. Is this expected?

Quick update: I started working through this PR but was having issues getting code deploys to work properly. Part of the issue is almost definitely that I'm using a new version of the USBDaemon firmware which handles USB comms but it may also be an issue with the bugs you fixed. Will dive in deeper tomorrow or Saturday.

Sorry for the delayed follow up, I had family things going on during the end of last week

There's been too much churn since this patch was created. I don't have the time resources right now to properly rebase and resolve all the conflicts. I'm going to take another approach, which is to do only one lint rule pass at a time.

Yesterday I had the chance to dive into this PR on a plane ride and I found only two issues with the PR:

Line 84 was incorrectly replaced with return Promise.settle([usb.findConnections(), lan.findConnections(timeout)]) when it needs to be return Promise.settle(connectionTypes).

The t2 init command no longer works but it appears to be an issue with the Promzard library. I haven't investigated very far.

I'm happy to move my attention to the new PR but I'd thought I'd place a record of my review here.


Properly parse "Fixes:"

Fixes: https://github.com/joyeecheung/node-core-utils/issues/44

This seems great! Wondering two things: a) should this be case-insensitive matching and b) should we enforce the colon? "fixes #XYZ" seems valid to me...

@apapirovski Good points, I think both should be changed!

Codecov Report

Merging #52 into master will increase coverage by 0.23%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #52      +/-   ##
==========================================
+ Coverage   96.54%   96.77%   +0.23%
==========================================
  Files          13       13
  Lines         434      434
==========================================
+ Hits          419      420       +1
+ Misses         15       14       -1

Impacted Files
Coverage Δ

lib/links.js
100% <100%> (+2.38%)
:arrow_up:

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 5bea81c...47a6436. Read the comment docs.

@apapirovski I made the checks case-insensitive. Making the colon optional requires much stricter parsing as the keywords can appear in regular sentences as well.

@tniessen If I’m reading this correctly the regexes still expect the colon to always be there, right?

I feel like it's probably fine if we parse "fixes #XYZ" anywhere in the copy, no? It's possible I'm missing some downside to that approach though.

If I’m reading this correctly the regexes still expect the colon to always be there, right?

@addaleax Yes, making the colon optional requires stricter filtering. I am not sure whether we can assume that any Fixes-like keyword followed by #(decimal) or by (word)/(word)/(decimal) is valid and everything else is not, but it is probably enough.

We could get fancy and check the API to make sure it's an actual issue 😆 I know, I know...
It seems fine to me as is and we can revisit later, maybe including validating that these are actual open issues.

BTW github should have some kind of API about the status of issues they consider can be automatically closed(https://help.github.com/articles/closing-issues-using-keywords/), but it doesn't seem very stable at this point.

@tniessen I think this can be merged now?

I will revisit the version without a colon later.


Add pub query

3 sources of pubs:

Curation of expression:

MATCH p=(n:Cell)<-[:INSTANCEOF]-()-[r:part_of]->()
OPTIONAL MATCH (pub:pub) where pub.short_form = r.pub
RETURN pub.label, n.label limit 100

NLP

MATCH p=()-[r:has_reference]->() WHERE r.typ = ['nlp'] RETURN p LIMIT 25

Ontology

MATCH p=()-[r:has_reference]->() WHERE r.typ = 'def' or r.typ  = 'syn' RETURN p LIMIT 25

Query should combine all 3 sources and have a column to distinguish between them.
Query should be on site an on VFB_connect

Note - there is an issue with inconsistency of pub edges that should be fixed.
3 sources of these links:

kb - kb2 all attributes should be lists
side loading by https://github.com/VirtualFlyBrain/VFB_neo4j/blob/master/src/uk/ac/ebi/vfb/neo4j/flybase2neo/expression_runner.py - or something it calls
NLP pipeline.

These should all be made into lists and all code that depends on this should expect lists (side loading and queries).
(related issue - review code for dealing with synonym and def refs on ontology terms)


chore: change params to options for main.go template

Summary
Unify parameters originally named params into options for main.go template

Great work. Very attention-to-detail. Keep it up man! Thanks a lot @imxw.


Feature suggestion: Custom tide prediction import

Describe your idea or suggestion
For some places I have been testing out in Australia using the global tide models for tide prediction are quite a bit off. It would be great to have a easy way to import the more specific port tide predictions from the Australian Hydrographic Office (Austides)? Could be done as importing the prediction as txt file or better yet some way to import the tide constituents for the port and reconstitute the tidal model for it. Indeed it's sometime hard to obtain the historic tidal predictions (I have to email them to get them).
Thanks
Lucas

Thanks @lucas-langlois, this is a great suggestion. I'd had a look at this and it seems like it's definitely possible - here's an example of tides modelled from AusTides constituents vs. the FES2014 model:

@lucas-langlois Here's some prototype code if you want to give it a go: you need to manually set both time and austides_path (pointing to your XXXXX_HCons.txt file).
An important detail: to get correct modelled tides, you have to change this option in AusTides to "Zulu", which will give the constituents relative to UTC time (otherwise they are completely messed up):

import pandas as pd
import numpy as np
import io
import pyTMD
from pyTMD.io.constituents import constituents
from eo_tides.utils import _standardise_time
from eo_tides.model import model_tides

def extract_constants_austides(file_path):
    """
    Parse harmonic constants from an AusTide harmonic constants file.
    """
    # Open file containing harmonic constants
    with open(file_path, "r") as f:
        text = f.read()

    # Break into sections
    sections = text.split("\n\n")

    # Find section containing LAT and LONG
    coord_section = next(s for s in sections if "LAT" in s and "LONG" in s)
    parts = coord_section.split()

    # Convert to decimal degrees (assuming parts will be:
    # ['Time', 'Zone', '−0800', 'LAT', '-18', '0', 'LONG', '122', '13'])
    lat = float(parts[4]) + float(parts[5]) / 60
    lon = float(parts[7]) + float(parts[8]) / 60

    # Find section containing constituents
    harmonic_idx = sections.index("HARMONIC CONSTANTS")
    data_text = sections[harmonic_idx + 2]

    # Read constituents
    constant_df = pd.read_csv(
        io.StringIO(data_text),
        sep="\s+",
        names=["c", "amp", "ph"],
    )

    # Rename constants to match pyTMD conventions
    c = [constituents.parse(i) for i in constant_df.c]

    # Reshape extracted constituents and convert to
    # masked arrays to for pyTMD compatability
    amp = np.expand_dims(constant_df.amp, axis=0)
    ph = np.expand_dims(constant_df.ph, axis=0)
    amp = np.ma.array(amp, mask=False)
    ph = np.ma.array(ph, mask=False)

    # Return constants and lat/lon coords
    return amp, ph, c, lon, lat

# Input params
time = pd.date_range("2020-01", "2020-02", freq="3h")
austides_path = "/home/jovyan/Robbi/eo-tides/tests/data/63564_HCons.txt"

# Extract AusTides constants
amp, ph, c, lon, lat = extract_constants_austides(austides_path)

# Model tides with `eo-tides` and a global model
tides_df = model_tides(
    x=lon,
    y=lat,
    time=time,
    model="EOT20",
    directory="/var/share/tide_models/",
    output_format="wide",
)

# Standardise time to numpy datetime64 format
time = _standardise_time(time)

# Convert datetime
timescale = pyTMD.time.timescale().from_datetime(time.flatten())

# Calculate complex phase in radians for Euler's
cph = -1j * ph * np.pi / 180.0

# Calculate constituent oscillation
hc = amp * np.exp(cph)

# Convert datetime
deltat = np.zeros_like(timescale.tt_ut1)
t = timescale.tide

# Create arrays to hold outputs
tide = np.ma.zeros((len(t)), fill_value=np.nan)
tide.mask = np.any(hc.mask, axis=1)

# Predict tides
tides_austide = pyTMD.predict.time_series(
    t,
    hc,
    c,
    deltat=deltat.flatten(),
)

# Add modelled AusTides to original dataframe
tides_df["AusTides"] = tides_austide

# Plot
tides_df.droplevel(["x", "y"]).plot()
tides_df.droplevel(["x", "y"]).plot.scatter("AusTides", "EOT20")

Noting that this is very much a work in progress - I wouldn't trust these values yet 🙂

Hi Robbi,
Very cool, code worked a charm. See below the results for me location. Definitely a big difference between the EOT20 predictions and the ones from the Austides constituents.
Now it would be good to be able to compare that to the predictions given from Austides just to make sure the calculations are correct. But they are given as height above LAT in Austides and also seem to have some correction factors applied to it too so might be tricky.

@lucas-langlois Great that it worked! But yeah, at some sites there are some big differences between the results we get with this code and what the app produces - I'll try and get more detail about what additonal corrections they apply and see if it's something we can implement:


Avg ping deviation

Hello,
I would like to know if its possible to add average ping deviation, jitter or something similar.
We have multiple acces points and they all produce annoying lag spikes. I'd like to know which one provides the most stable connection.
Also might i ask whats the difference between ping and latency within the plugin?

I've quickly added jitter to the options on my end. Was this what you were thinking of?

Jitter while downloading a game

~35ms spike

and there is no difference in the ping and latency values, its just a different label I prefer.


[v8-beta8] change of behavior when pageCount = -1

Describe the bug
If you set pageCount = -1 for the table, and go next, the new page index will become -2
https://codesandbox.io/s/agitated-roman-3fo5pj?file=/src/main.tsx
Your minimal, reproducible example
https://codesandbox.io/s/agitated-roman-3fo5pj?file=/src/main.tsx
Steps to reproduce
set pageCount as -1
and click "go next page" button
Expected behavior
it should go to the next page. In v7 it says:
Set to -1 if you don't know or don't want to present the number of pages available. canNextPage will return false if page data length is less than pageSize, otherwise true.

How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Macos
react-table version
v8-beta8
TypeScript version
4.5.5
Additional context
No response
Terms & Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

Fixed!


dataset

may I get your processed dataset instead of the original dataset

@fsh2017 You can accessed the dataset from https://github.com/misogil0116/svpc/tree/master/densevid_eval/yc2_data
It contains train/val/test set processed by us and also has ingredient annotations.

@misogil0116 thanks for your answer, But I still don't know where ''FEATURE_DIR'' and ''DURATION_DIR'' should point to during trainning, can you tell me exactly?

@fsh2017
First, please download All-in-one data of the YouCook2 dataset. Please click All-in-one from this site.
Then, please unzip the dataset. After unzipping the YouCook2 dataset, you can find youcook2/features directory. It contains training, validation, and testing folders that store resnet and bn features. So, for FEATURE_DIR, please specify this directory.
[nishimura]nishimura/youcook2/features% ls
feat_csv  feat_dat  testing  training  validation  yc2

In youcook2/features/yc2, you can find yc2_duration_frame.csv file. For DURATION_DIR, please specify this file.
[nishimura] nishimura/youcook2/features/yc2% ls
val_yc2.json  yc2_annotations_trainval.json  yc2_duration_frame.csv

In summary, please specify as following in the above case:
FEATURE_DIR = nishimura/youcook2/features # your youcook2/features directory
DURATION_DIR = nishimura/youcook2/features/yc2_duration_frame.csv # your youcook2/features/yc2_duration_frame.csv

If you have further questions, please ask me.

@misogil0116
Glad to see your reply! I'm having some problems.
I unzip the All-in-one dataset but there are only two folders in the features folder, i cant find testing、training、validation and yc2.
fengs@LAPTOP-LAVT7JPL MINGW64 /d/workPlace/PythonWorkSpace/svpc/YouCookII/features (master) $ ls feat_csv/  feat_dat/

@fsh2017
OK, today, I will zip the feature/ directory and distribute it on my google drive.
After that I will notice you. Could you please wait for it?

@misogil0116 thank you!

@fsh2017 Hi, I am sorry for my late reply. Now I uploaded features.tar.gz to Google drive and updated README.md. Could you try again?

@misogil0116 I have run your code successfully, thanks for your help!

Enjoy!


Error when using parameter 'first' => true,

Have been receiving this error when attempting to set a limit to results:
Argument 2 passed to League\Fractal\Serializer\ArraySerializer::item() must be of the type array, object given, called in /var/www/Sites/craft-records/craft/plugins/elementapi/vendor/league/fractal/src/Scope.php on line 286 and defined
It works if I set the object to an array, although the JSON does not return the key "data"
$result = (array) $result;

Can you share your elementapi.php file?

Hi,
Referring to endpoints elementapi.php
list/slug:{slug}.json
list/handle:{handle}/slug:{slug}.json
I am using two classes ListTransformer and DetailTransformer
The purpose of the two different classes is that I may be able to select collection versus single instance results. Its still in its infancy though but has a good road map.
These two classes extend FieldTransformer
When I was referring to data through the ListTransformer I was receiving paginated meta keys as well and no errors.
Then using the DetailTransformer class I was using 'first' => true, and errors were resulting.
I was printing the objects that were being returned in  ListTransformer and DetailTransformer prior to being converted to JSON and structurally they were exactly the same except when passing to Fractal it chokes.
config.zip

Ahh, looks like that's going to be pretty difficult to try and replicate locally.  If you enable devMode, do you get a full stack trace with the error?  Might give some insight into where it's coming from (3rd party plugin related, etc.).  Also, if you've got xDebug installed, probably worth setting some strategic breakpoints in ElementApiController and stepping through to see what's happening.

Ok rabbit hole incident expecting an array and was passing an object, confusion was with the collections being objects within an array.
Thanks


Reporting success and failure metrics from uProxy

Reporting success and failure metrics from uProxy

There is a now a globals.metrics object in the uProxy core.  We increment the success and failure counts for every successful or failed attempt to get access.
We also have a DailyMetricsReporter class, that generates a rappor'd (anonymized) metrics approximately report once per day.  We post this report to our server (cloudfronted) if the user has opted into anonymous metrics collection
The uProxy core can now post to the cloudfronted site via a message to the UI (which is the only place permissioned to set the headers needed for cloudfronting).

Tested in Chrome, Firefox (currently reporting just prints an error as crypto.randomUint32 is not available yet), and new unit tests.

Reviewed files:

Gruntfile.coffee @ r1
package.json @ r1
src/generic_core/freedom-module.json @ r1
src/generic_core/freedom-module.ts @ r1
src/generic_core/globals.ts @ r1
src/generic_core/metrics.spec.ts @ r1
src/generic_core/metrics.ts @ r1
src/generic_core/remote-connection.spec.ts @ r1
src/generic_core/remote-connection.ts @ r1
src/generic_core/uproxy_core.ts @ r1
src/generic_ui/polymer/settings.ts @ r1
src/generic_ui/scripts/ui.ts @ r1
src/interfaces/storage.ts @ r1
src/interfaces/uproxy_core_api.ts @ r1
src/mocks/freedom-mocks.ts @ r1

Gruntfile.coffee, line 428 [r1] (raw file):
Any chance this works if you put it under npmLibNames?

src/generic_core/metrics.spec.ts, line 6 [r1] (raw file):
Can this be put in the mocks directory?

src/generic_core/metrics.spec.ts, line 32 [r1] (raw file):
Just to double-check, you were unable to do something like storage.onceSomething.then here, correct (I vaguely remember us talking about this)

src/generic_core/metrics.spec.ts, line 114 [r1] (raw file):
Can you make the 10 a constant, just for clarity.

src/generic_core/metrics.ts, line 33 [r1] (raw file):
Going to leave the comment here just as a general thing, feel free to ignore for now: this might look a lot cleaner moving the loading to a load method instead of having it in the constructor.

src/generic_core/metrics.ts, line 159 [r1] (raw file):
Why is the other class requiring it to be available but this one is perfectly fine functioning without it?

src/generic_core/remote-connection.spec.ts, line 15 [r1] (raw file):
:(

src/generic_core/uproxy_core.ts, line 33 [r1] (raw file):
I think you forgot to undo this

src/generic_ui/polymer/settings.ts, line 54 [r1] (raw file):
Where else would this get changed?  This feels like the wrong place to be watching for the change

src/generic_ui/scripts/ui.ts, line 904 [r1] (raw file):
Logging the entire payload seems a bit excessive for info-level logging (feel free to just ignore this comment)

Comments from the review on Reviewable.io

Reviewed files:

Gruntfile.coffee @ r1
package.json @ r1
src/generic_core/freedom-module.json @ r1
src/generic_core/freedom-module.ts @ r1
src/generic_core/globals.ts @ r1
src/generic_core/remote-connection.spec.ts @ r1
src/generic_core/remote-connection.ts @ r1
src/generic_core/uproxy_core.ts @ r1
src/generic_ui/polymer/settings.ts @ r1
src/generic_ui/scripts/ui.ts @ r1

src/generic_core/metrics.spec.ts, line 67 [r1] (raw file):
should be payload.success for these expect statements

src/generic_core/metrics.ts, line 10 [r1] (raw file):
Maybe comment that these are for getting access only?

src/generic_core/metrics.ts, line 47 [r1] (raw file):
Instead of checking what name is can we do this.data_[name]++?

src/generic_core/metrics.ts, line 59 [r1] (raw file):
Could you add the Promise return type?

src/generic_core/metrics.ts, line 100 [r1] (raw file):
Comment doesn't match (looks like 5 days)

src/generic_core/metrics.ts, line 163 [r1] (raw file):
offset_ms is declared twice (second 'var' doesn't look like it's needed)

Comments from the review on Reviewable.io

Just made those changes, PTAL

Comments from the review on Reviewable.io

src/generic_core/metrics.spec.ts, line 32 [r1] (raw file):
This test is doing fine.  There are some weird cases where Promise.resolve(..).then blocks don't get invoked unless you tick the jasmine clock.  I still don't understand it completely, in the Metrics tests there aren't issues with this but in the DailyMetricsReporter tests there were some problems and I had to do the tick(1) trick to work around them

src/generic_core/metrics.ts, line 33 [r1] (raw file):
If we moved load to a method, I think it would be a private method and only called from the constructor..  So it wouldn't make much difference IMO

src/generic_core/metrics.ts, line 47 [r1] (raw file):
That was giving me typescript errors.  Also the way the code is now, even though it's more verbose, ensures that name is a valid key.

src/generic_core/metrics.ts, line 159 [r1] (raw file):
The other one needs a random number generator for security purposes.  In this case we just want to fudge the time a bit for statistics, so it doesn't matter if we don't have the most secure random number generator here

src/generic_core/remote-connection.spec.ts, line 15 [r1] (raw file):
Created https://github.com/uProxy/uproxy/issues/1503 to clean this up later

src/generic_ui/polymer/settings.ts, line 54 [r1] (raw file):
This gets changed when the user clicks on the "Anonymous Stats Enabled" checkbox.  Without this change, if a user toggles the checkbox it will update model.globalSettings.statsReportingEnabled, but will not call core.updateGlobalSettings, so the users change won't be known to the core.

Comments from the review on Reviewable.io

Gruntfile.coffee, line 428 [r1] (raw file):
No, that doesn't seem to copy any of the files

Comments from the review on Reviewable.io

:+1:

Reviewed files:

src/generic_core/remote-connection.spec.ts @ r2
src/generic_core/storage.spec.ts @ r2
src/generic_core/uproxy_core.ts @ r2
src/mocks/freedom-mocks.ts @ r2
src/mocks/mock-storage.ts @ r2

Comments from the review on Reviewable.io


[huggingface.co] Include a tag for mobile-compatible models.

👋 Greetings! Am not sure if this is the correct place to file an issue for huggingface.co, but figured I'd try anyway. :)
Issue Description
Is your feature request related to a problem? Please describe.
Would it be possible to include models that are mobile-compatible as a filterable category in the Other section on the Hugging Face website? Meaning .tflite, .ptl for PyTorch, or CoreML models for iOS devices.

Additional context
In competitors' hubs, models of varying sizes are colocated on a single page (example below) - so you might see the base example, a Colab notebook to test out the model interactively, and a TF Lite implementation. You can also sort and filter based on model type, as well as framework version and fine-tunability (though HuggingFace's models would win that contest every time 😃 ).

:thinking: we do have existing filters in "Libraries" when you click the +24, and TF Lite is actually one of the options over there https://huggingface.co/models?library=tflite&sort=downloads. Is that something similar to what you had in mind, but with additional file types?

@osanseviero : Yes, that would be perfect! Something that would let users know that if they need to deploy the model to an environment that isn't a laptop, or on a server, that they would be able to do so without finagling the quantization process themselves.
And I love the work that @merveenoyan did to expand the filters for libraries! 😄

This is interesting. We've had discussions about increasing the number of models for mobile/edge devices. I think once we increase the number of models, adding a filter would definitively make sense.
cc @julien-c @gary149 WDYT?

If we think it's important to easily filter/distinct mobile compatible models (no strong opinion on it), I understand @dynamicwebpaige point that it's more straightforward to have a "mobile ready" tag into the "others" section than having to expand/search in sub-sections.


Update examles/rust/msm dockerfile to  fix bug

Describe the changes
There is a conflict between https://github.com/ingonyama-zk/icicle/blob/main/examples/rust/msm/Cargo.toml#L7 and  https://github.com/ingonyama-zk/icicle/blob/main/examples/rust/msm/.devcontainer/Dockerfile#L24, it leads to an error happen when executing cargo run --release at docker

@cyl19970726 Thanks for your contribution! 🚀
What docker command are you running with this?
I think this will still produce an error if the context of the docker build is the examples/rust/msm directory since the COPY command won't be able to access outside the context


There is too much Ammo in interloper,

Scarcity should be the key element of Interloper but I found tons of ammo box and ingredients in pleasant valley in day one. Wth these amount of  bullets you can holocaust entire great bear island

Agree, I collected 160 rounds of ammunition on the first day, which upset the balance of the game. Hostile creatures pose no threat at all.


⚠ SceneTime has degraded performance

In 87ea2f9, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1455 ms

Resolved: SceneTime performance has improved in e2e107c after 7 minutes.


Check in post-commit docs assets as Markdown to docs repo for docs team to control styling

As discussed with @jwilde-tenstorrent , we will be transferring docs and styling ownership to the docs team. Their publishing model is:

building our assets as Markdown (https://pypi.org/project/sphinx-markdown-builder/)

will need to consider what to do about versioning
will need to consider fixing and merging #5037

Move youtube videos onto Tenstorrent youtube and embed rather than using checked in file
checking in these assets using versioning script that docs team provides via GitHub write token

Docs pipeline for pybuda as reference: https://yyz-gitlab.local.tenstorrent.com/tenstorrent/pybuda/-/blob/main/docs/CI/.gitlab-ci.build-docs.yml?ref_type=heads
cc: @adifrancescoTT @TT-billteng @dimitri-tenstorrent

Sent in two tickets to IT:

re-generate token for write / re-work the publishing model
give dev access to metalium-admins for docs repo

cc: @warthog9

@adifrancescoTT @jwilde-tenstorrent
Current action items are:

create markdown output for metal sphinx build
@jwilde-tenstorrent and @tt-rkim to check in End of week

https://github.com/tenstorrent/docs-test is the repo we need to use

We've run into a blocking issue with the open source markdown file builder for Sphinx. Looks like someone with the exact same build flow is running into the same issue: https://github.com/liran-funaro/sphinx-markdown-builder/issues/21
Such is the woes of working in a feature-rich, language-rich (C++ and Python) API like tt-metal.
As referenced in: https://github.com/liran-funaro/sphinx-markdown-builder/issues/21#issuecomment-2106151098
This is a feature request, and likely won't be done any time soon. Let us know if we should devote more resources into trying to get this working, or if docs team and metal infra team can change either/both of our docs build processes to get around this issue.
cc: @jwilde-tenstorrent @adifrancescoTT

@dimitri-tenstorrent For your future eyes.

Pushed interim work to branch rkim/8534-markdown

build_metal.sh w/ python env
cd docs
make markdown

You see the error.
This is because of the above.

I will try to replicate and see if I can identify a path towards the fix.

I have identified the issue and will work on figuring out if I can create a patch for Breathe to handle the missing definitions:
/Users/dgnidash/projects/tt-metal/docs/source/tt-metalium/tt_metal/apis/host_apis/buffers/AssignGlobalBufferToProgram.rst:5: WARNING: unknown node type: <desc_signature_line: <target "host__api_8hpp_1a4e29ca9df8b6f13424f2a392d89714 ...>

Exception occurred:
  File "/Users/dgnidash/projects/.tt/lib/python3.9/site-packages/sphinx_markdown_builder/contexts.py", line 339, in make
    assert len(content) > 0, "Empty title"
AssertionError: Empty title

I have been able to generate markdown and integrate it into the docs site.
I need to do these additional tasks

Verify and fix issues
Build a tt-metal doc deployment pipeline
See if the C++ function highlighting needs to be fixed (see screenshot)

General

There are no dropdowns at all. I think @dsklavos mentioned this. First pic is docs test, second pic is original docs.

[1] Docs test

[2] original
TT-Metalium

Change the upper corner to "TT-Metalium"

We could consider getting rid of this link to models in ttnn. In fact, I might even consider getting rid of that whole page. It has models using the tt_lib API, which I think we should not advertise widely to users:

For these overloaded functions with multiple "versions", we may need something more clearly showing that these two different sections. They're a little close together. On the original docs, shown in 2nd pic, they have blue headings.

[1] docs test

[2] original
TT-NN

General point: It is TT-NN, not TTNN, if using the name in regular text. In code, it's ttnn. Sorry for the confusion 😅 You're going to have change it in certain places like the upper left hand corner.

The original documentation has the jupyter notebooks in ttnn/tutorials rendered. This is not the case in docs-test. First pic docs-test, second pic original. Unfortunately, this is likely something we didn't take into account when considering this original team docs -> markdown -> build sphinx again flow.

[1] docs test

[2] original

The original documentation is able to render tt_lib functions, their arguments, and docstrings. The new doesn't seem to render anything at all. Again a markdown builder plugin issue. First pic is docs test, 2nd is original

[1] docs test

[2] original

The original documentation is able to render the original docstrings. This is the "C++ bindings" issue I discussed earlier, and is reminiscent of this issue: https://github.com/liran-funaro/sphinx-markdown-builder/issues/19. I think it may be the same issue as the above one.

[1] docs test

[2] original

@tt-rkim @TT-billteng
Thank you so much for reviewing the result! This is a great review.
I have done a lot of experimentation on the weekend and was able to make progress with the tutorials and I believe there is a path to fix the first issue with expanding Table of Contents menu.
I am recording all the tickets in the doc-test repo and will cross mention the issues here when they are created.

Looks fantastic - how did you do this?

Lots of trial-and-error on the weekend with the sphinx-markdown-builder I had to implement something called CodeAreaNode. I do believe there are a few things missing from the tutorials due to lack of implementation of FancyCodeNode :)
writing output... [100%] ttnn_sweeps/index
/Users/dgnidash/projects/tt-metal/docs/source/ttnn/ttnn/tensor.rst:23: WARNING: unknown node type: <caption: <#text: 'Tensor with 16 ...'>>
/Users/dgnidash/projects/tt-metal/docs/source/ttnn/ttnn/tutorials/ttnn_tutorials/004.ipynb:45: WARNING: unknown node type: <FancyOutputNode: <container...>>
/Users/dgnidash/projects/tt-metal/docs/source/ttnn/ttnn/tutorials/ttnn_tutorials/006.ipynb:297: WARNING: unknown node type: <FancyOutputNode: <container...>>
/Users/dgnidash/projects/tt-metal/docs/source/ttnn/ttnn/tutorials/ttnn_tutorials/007.ipynb:238: WARNING: unknown node type: <FancyOutputNode: <container...>>
build succeeded, 568 warnings.

Lots of trial-and-error on the weekend with the sphinx-markdown-builder I had to implement something called CodeAreaNode. I do believe there are a few things missing from the tutorials due to lack of implementation of FancyCodeNode :)
writing output... [100%] ttnn_sweeps/index
/Users/dgnidash/projects/tt-metal/docs/source/ttnn/ttnn/tensor.rst:23: WARNING: unknown node type: <caption: <#text: 'Tensor with 16 ...'>>
/Users/dgnidash/projects/tt-metal/docs/source/ttnn/ttnn/tutorials/ttnn_tutorials/004.ipynb:45: WARNING: unknown node type: <FancyOutputNode: <container...>>
/Users/dgnidash/projects/tt-metal/docs/source/ttnn/ttnn/tutorials/ttnn_tutorials/006.ipynb:297: WARNING: unknown node type: <FancyOutputNode: <container...>>
/Users/dgnidash/projects/tt-metal/docs/source/ttnn/ttnn/tutorials/ttnn_tutorials/007.ipynb:238: WARNING: unknown node type: <FancyOutputNode: <container...>>
build succeeded, 568 warnings.

@dimitri-tenstorrent can we close this?


Waypoint bugfix

The current library for waypoints includes nested backticks for format string evaluation. However, when attempting to import this library (e.g. with require("waypoints").load() such as in the Way Pointer app) I get the error
Uncaught SyntaxError: Got EOF expected ':'  at line 1 col 5 num?     ^  at line 1 col 5 num?     ^ in function "load" called from line 44 col 38 in waypointer.app.js var waypoints=require("waypoints").load();.
This is fixed by removing the inner backticks and replacing them with string concatenation, which still appears to evaluate the format string correctly.

Thanks - that's very strange though since I'm pretty sure we've done similar things all over the place.
I'll merge this but will also see if I can figure out what's wrong with the interpreter itself that causes this error

Ok, just found an issue inside Espruino so this should be fixed in firmwares 2v15 and later.
Thanks for the PR and letting me know about the issue!

Cool, thanks for fixing it!


noir-lang/big_curve test test_secp256r1_offset_generators fails after #6685

While fixing the dead canary @kashbrti found in https://github.com/noir-lang/noir_bigcurve/pull/22 that the test_secp256r1_offset_generators would fail with the error
error: Failed to solve program: 'Failed to solve brillig function'
   ┌─ /mnt/user-data/tom/nargo/github.com/noir-lang/noir-bignumv0.4.2/src/fns/expressions.nr:74:12
   │
74 │     assert(remainder == [0; N]);
   │            -------------------
   │
   = Call stack:
     1. src/bigcurve_test.nr:534:17
     2. src/lib.nr:331:9
     3. src/lib.nr:772:13
     4. src/lib.nr:380:9
     5. /mnt/user-data/tom/nargo/github.com/noir-lang/noir-bignumv0.4.2/src/bignum.nr:264:9
     6. /mnt/user-data/tom/nargo/github.com/noir-lang/noir-bignumv0.4.2/src/fns/expressions.nr:279:9
     7. /mnt/user-data/tom/nargo/github.com/noir-lang/noir-bignumv0.4.2/src/fns/expressions.nr:74:12

I've bisected this down to passing on fc11b631a2a1c0054b3b2a9e9fd2b7fa3a285076 and failing on 24cc19ed9f29792c7b056124b2adf87fc6c18e42 so it seems like the root cause is due to us not copying arrays when we should due to the changes made in https://github.com/noir-lang/noir/pull/6685.
We didn't catch this at the time as the tests in noir_bignum were already failing in CI due to being too heavy for the github runner to run in parallel.

@jfecher Can you take a look at whether we can salvage #6685 or if it needs to be reverted?

Looking into this now