global data with negative longitude disappears on 2nd render when using tiles

This is kind of bizarre, but when visualizing this dataset:
url = 'http://thredds.unidata.ucar.edu/thredds/dodsC/grib/NCEP/WW3/Global/Best'

import xarray as xr
import hvplot.xarray
import geoviews as gv

ds = xr.open_dataset(url)

we can combine a quadmesh with a coastline just fine:
ds.Wind_speed_surface.hvplot.quadmesh(x='lon',y='lat',rasterize=True, geo=True) *  gv.feature.coastline

but combining a quadmesh with a tile source:
ds.Wind_speed_surface.hvplot.quadmesh(x='lon',y='lat',rasterize=True, geo=True) *  gv.tile_sources.EsriImagery

we get the correct visualization at first, but then it's quickly replaced with a visualization where the data with longitude less than zero disappear (and the quadmesh visualization changes to span the range of the data greater than zero):

Seems to be something to do with wrapping the longitudes, this fixes it:
ds['lon'] = np.where(ds['lon']>180, ds['lon']-360, ds['lon'])

@philippjfr , Thanks!
Is this a workaround for a problem that you will eventually be able to handle in HoloViz?
Or do you think users going forward will need to apply that line of code in their notebooks?

Is this a workaround for a problem that you will eventually be able to handle in HoloViz?

I would think we can fix it, especially since it seems this is handled correctly on the first render.

I suspect this happens because the frontend sends back the axis ranges which range from -180-180 which then clips the data. On first render the ranges are computed from the data and the Image projection code correctly wraps the data (although the seam at 0 longitude isn't great either).

@rsignell-usgs Actually there is a simpler fix, you can project the data before rasterizing:
ds.Wind_speed_surface.hvplot.quadmesh(x='lon',y='lat',rasterize=True, geo=True, project=True, width=600) *  gv.tile_sources.EsriImagery

@philippjfr nice!   Works!
Just curious, did you get these warnings also when using project=True?:
/srv/conda/envs/notebook/lib/python3.7/site-packages/numpy/lib/function_base.py:1273: RuntimeWarning: invalid value encountered in subtract
  a = op(a[slice1], a[slice2])
/srv/conda/envs/notebook/lib/python3.7/site-packages/numpy/lib/function_base.py:1273: RuntimeWarning: invalid value encountered in subtract
  a = op(a[slice1], a[slice2])
/srv/conda/envs/notebook/lib/python3.7/site-packages/numpy/lib/function_base.py:1273: RuntimeWarning: invalid value encountered in subtract
  a = op(a[slice1], a[slice2])

Yeah, we should silence them internally.

Duplicate of #344


Suggestions for an improved Sphinx autodoc extension

Description
In PR #313 an new Sphinx autodoc extension was added by @huard. This extension generates a nicely formatted Sphinx documentation of a PyWPS process.
This extension relies on Sphinx autodoc which needs to import the Python modules to generate the documentation. This can be troublesome on ReadTheDocs  where you only have a virtualenv. Non-Python dependencies (netcdf) can not be installed on ReadTheDocs.
Possible solutions:

Having a rtd.txt requirements file with dependencies for ReadTheDocs only. Other dependencies should not be loaded when rendering the process documentation ... we only need the process definition.
Hosting the docs on GitHub (or other appropriate places) and rendering it with our own machinery (conda environment).
Using sphinx-autoapi. sphinx-autoapi parses Python code statically (no imports), generates YAML files with parsed code structure + docs. It uses then jinja templates to generate the API documentation. To get such nicely rendered documentation at least we need to provide our own templates but probably we would also need to extend the code parser.

Other enhancements:

sphinx-autoapi just needs to be enabled and the complete API docs will be generated. Would be nice to have auto-generated process docs as well (no matter if with autodoc or autoapi). Currently one needs to add the autodoc directive for each process manually ... which is harder to maintain.

Additional Information
We started discussion in the following ticket:
https://github.com/bird-house/emu/issues/16

I have not tested it yet, but in principle it should be possible to use the automodule directive to automatically document all processes within a module.


NullReferenceException when api return null result.

To Reproduce
Steps to reproduce the behavior:

create an asp.net api project with version 2.2
add code

   [Route("api/[controller]")]
   [ApiController]
   public class ValuesController : ControllerBase
   {
     [Route("test")]
       public Task<string> Testapi()
       {
               return null;
       }
     }

test the api with browser
it returns error

NullReferenceException: Object reference not set to an instance of an object.
lambda_method(Closure , object )
Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.GetAwaiter()
Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor+AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, object controller, object[] arguments)
System.Threading.Tasks.ValueTask<TResult>.get_Result()
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync()
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync()
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)
Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter()
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync()
Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync()
Microsoft.AspNetCore.Routing.EndpointMiddleware.Invoke(HttpContext httpContext)
Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware.Invoke(HttpContext httpContext)

Expected behavior
NullReferenceException should be handled propertly and return some useful information.

we can return some message, for example: "an action from MyGreatController returns zero"

in netcore 3.0 i can't reproduce this. the action returns 404 and make redirect from 'localhost/url' to 'localhost'

What you see is actually by-design. What's happening is the method return type is Task<string> and when you return null, it's the same as:
Task<string> result = null;
return result;

When the ActionMethodExecutor is trying to evaluate the result of the action being called it tries to await for that Task<string> result, which is obviously null. Hence the NullReferenceException you observe.
You can instead return Task.FromResult<string>(null) and that would properly return.
As for the behavior in 3.0, we did add additional logic to treat null returns as 404 results.

As for the behavior in 3.0, we did add additional logic to treat null returns as 404 results.

This is news to me, is there an issue tracking that?

Thanks for contacting us, @lovelangy.
What you see is actually by-design. What's happening is the method return type is Task<string> and when you return null, it's the same as:
Task<string> result = null;
return result;

When the ActionMethodExecutor is trying to evaluate the result of the action being called it tries to await for that Task<string> result, which is obviously null. Hence the NullReferenceException you observe.
You can instead return Task.FromResult<string>(null) and that would properly return.
As for the behavior in 3.0, we did add additional logic to treat null returns as 404 results.
//cc @pranavkm

but why asp net core make redirect ?

@pranavkm didn't we made a change to treat null results in API controllers as NotFound -s ?

@pranavkm didn't we made a change to treat null results in API controllers as NotFound -s ?

the server returns 404, but the URL changes from "https: // localhost: 44379 / api / SampleData / test2" to "https: // localhost: 44379"

I suspect that what's happening here is the action is throwing and your error handler is what's returning a 404.

So looks like I referred to something which we never did. So I'm removing my statement above regarding 3.0 to avoid spreading wrong information out.
I had a chat with @rynowak  regarding this and what is most probably happening in your case is you're hitting the same exception as you do in 2.2, but... (and @rynowak just responded :) )


Support for checking that a list or result-set has no gap

It should be possible to check that a list of values has no gap. Expl: If you’ve a list of dates, you should be able to assert that you have a value for each day between the min date and max date.

This is technically possible to do it with a lookup-exists assertion implementing a result-set defined as a sequence with all the expected hours (or days or quater-hours).


Issue: In-App Updates Not Working as Expected on Android and IOS

Hello,
I am encountering an issue with the sp-react-native-in-app-updates library in my React Native app.
App versions:
 "react-native": "0.73.1",
 "sp-react-native-in-app-updates": "1.4.0",
 "react-native-device-info": "11.1.0",

Description of the issue:
I have two different APKs uploaded to the internal test track in the Google Play Console, with the following version codes and version names:
versionCode: 412196114, versionName: 309.0.0
versionCode: 412196115, versionName: 310.0.0
When I try to check for updates in my app using the example provided in the setup (https://github.com/SudoPlz/sp-react-native-in-app-updates/blob/master/example/src/App.tsx), I receive unexpected results (please see the attached image below for reference).

It seems like the in-app update feature is not correctly identifying the available updates between the two APKs.
Please let me know if any additional information is needed or if there's a known issue regarding this behavior.
Seems to be the same issue when I am testing in Testflight

Thank you!

If you already have the app in play store, then the version you upload to internal app share must be lower than the version in production. Only after doing this was I able to see the popup appear on android.


Explicit Invocation of thiserror::Error macro

- increases explicitness: Error is a crate, not to be confused with a standard derive trait, like Debug.
- increased locality: rather than having a use statement in an arbitrary place, this groups error-related code together
- standardization

FYI somebody else did it first, but i didnt bother to blame them


Add support (fix bug) for  functions returning a Promise

I tried to mock server delays and  I needed a Promise to be created at a time when a request is made to a mocked url, not at a time when we define how to mock a response.
The current implementation does not currently handle a case when the response is mocked as  a function returning a Promise. To fix it for my needs I added one line to fetchMock function, like this:
fetchMock (url, opts) {
    const response = this.router(url, opts);
    if (typeof response === 'function')  response = response(url, opts);  // <-- the new line

It moves evaluating the "mocking function" from mockResponse to fetchMock because fetchMock has proper logic (using "response.then") for Promises.

Is this not already supported via
fetchMock.mock('http://my/url', (url, opts) => {
     return new Promise(resolve => setTimeout(() => {
         resolve(200)
      }, 1000));
})

Ah, ignore the above - in explaining why it does work I realised why it doesn't 😄


feat: add a module to read all Substrait plan formats (pybind)

This isn't simpler than the ctypes approach so I'm abandoning it.


[Feature] Implement sss javascript wrapper using WASM

Task
Implement a javascript wrapper around the dsprenkles/sss library using Web Assembly. The dsprenkles/sss library is writeen in C. There is currently a node.js wrapper availiable, however this can not be run in a browser. Instead you should compile the C code to WASM and make a thin wrapper to call this WASM code from javascript that is usable in browsers, mobile browsers, as well as node.js. The implementation should have the same api as the node.js implmentation that is linked above.
Acceptance criteria

[ ] Implement a javascript library that can call the sss C code though WASM
[ ] Make the implementation compatible with sss-node, should work with the same tests as in that repo
[ ] Works in all major browsers, mobile and desktop, as well as node.js

Technical details
Web Assembly allows you to compile *.c files into *.wasm files. The wasm file can then be loaded by a javascript file which can call the C functions. The *.wasm file is a binary that is compiled by a developer and distributed in this binary format to users loading a webpage which calls it's functions. There are some users that are on older browsers which doesn't support WASM yet. In their case using asm.js as the compile target should allow them to use the library. However that is not a requirement for this task.

@oed Just to make this clear: You want the exact same API as the node.js wrapper?
Is it ok to provide a docker based build and have sss as submodule in the repo?

@pfilippi24 yeah, exact same api would be great!
What do you mean by a docker based build? That you provide a docker for building the wasm module? Totally fine to include sss as a submodule!

@oed Exactly, so there is no need for complicated environment setups and it's perfectly reproduceable.
Downside: Bigger downloads during first build.

Cool, as long as the module remains small when you install it as a dependancy in another project :)

just as a heads up: I'll submit a PR later today and we can discuss further based on that

@pfilippi24

To get this working using webassembly we need to replace randombytes with something else

Could you elaborate, why is this the case?
No need to stress though, Do you think there is another solution?

@bakaoh
No, please you take it.
But can you show me your implementation of the crypto-secure random byte generation without system calls? Would be very interested in that.
Simply random wont cut the deal here.

@pfilippi24 -- i use window.crypto.getRandomValues/window.msCrypto.getRandomValues https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues

@bakaoh
Good call, excludes Android, though.

@pfilippi24 --- yeah, android webview not support, but user can use chrome on android

@bakaoh That's alright, the crypto api is what I would have gone with as well :)


Throw compilation error for deprecated mock annotation

Purpose
Throw compilation error if deprecated mock annotation(i.e. @test:Mock { } on a function instead of the mock object ) is used.
Fixes #27480
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

@Dilhasha @hevayo Can't we remove this annotation, since we are planning to redesign the test module?

@Dilhasha @hevayo Can't we remove this annotation, since we are planning to redesign the test module?

Closing this PR, since it is redundant with the redesigning of the test module.

Closing this PR, since it is redundant with the redesigning of the test module.


⚠ Digital Ocean - https://status.digitalocean.com/ has degraded performance

In 7dad967, Digital Ocean - https://status.digitalocean.com/ (https://status.digitalocean.com/api/v2/status.json) experienced degraded performance:

HTTP code: 200
Response time: 128 ms

Resolved: Digital Ocean - https://status.digitalocean.com/ performance has improved in 2be27dd after 23 hours, 59 minutes.


Open a file from Android assets folder

I have few doc files which I want to open. They are present in assets folder. Can you assist me in how to pass the filepath in the method FileViewer.open(filepath).
Thank you.

location of assets will be in src/res folder

how to open perticular folder of our local phone in react-native

const initPath =  'JharkhandUpdate1633700791252.pdf';
const dest = ${RNFS.DocumentDirectoryPath}/JharkhandUpdate/JharkhandUpdateDocuments/${initPath};
RNFS.copyFileAssets(initPath, dest)
.then(() => FileViewer.open(dest))
.then(() => {
console.log("Done")
})
.catch(error => {
console.log(error)
});
The above is my code, I am trying to open pdf from this ' /data/user/0/com.fleapo.jharkhandupdate/files/JharkhandUpdate/JharkhandUpdateDocuments/JharkhandUpdate1633700791252.pdf' location but I am getting the below error.
[Error: Asset 'JharkhandUpdate1633700791252.pdf' could not be opened]

Hey Guys, I'm having the same issue, Could you help me resolve it?
I have the functionality to download (or copy) an image from my src/assets/cards folder to the device's directory, Could you guys help me with that
I want to copy an image called (11.jpg) into my device's storage in both android & iOS. But I can't do it. Could you help me?
Thank you

i have the same issue. I cant open files for use in a function. I have the error: [Error: Asset 'cat.jpg' could not be opened]. My code is this:
const [filePath, setFilePath] = useState(getAssetPath('cat.jpg')); export function getAssetPath(fileName: string): string {   if (Platform.OS === 'android') {     return /assets/${fileName};   }   return ${MainBundlePath}/${fileName}`;
}
export async function getAbsolutePath(filePath: string): Promise {
if (Platform.OS === 'android') {
if (filePath.startsWith('/assets/')) {
// const fileName = filePath;
const fileName = filePath.replace('/assets/', '');
const destPath = ${ExternalCachesDirectoryPath}/${fileName};
console.log('despatch', destPath);
if (!(await exists(destPath))) {
await RNFS.copyFileAssets(fileName, destPath);
}
  return destPath;
}

}
return filePath;
}
getAbsolutePath(filePath)
.then(path => {
console.log('path:', path);
/* ImageTools.GetImageRGBAs(path)
.then((value: any) => {
console.log('value:', value);
})
.catch((error: any) => console.log('error:', error)); */
})
.catch(err => console.log(err));
`
i cant reach the line  console.log('path:', path);
I tried putting the assets folder in many places without any success. please help me this is driving me crazy

Hey @eliasg52
I've got this issue before and it drove me crazy. I spent over 2 weeks trying to find a solution for it, and I DID. I'll try to list the same steps I followed in order to get that issue resolved. That might help you.
For my issue, I wanted to read local file assets (images) from the android folder or IOS so I can copy them to the Downloads or Documents folder in the device's directory. Apparently, I needed to copy them manually inside the android folder (For Android) and iOS folder (For iOS).
I wanted to move my assets (the images) into android/app/src/main/res/drawable (For Android) , and here are the steps I followed to achieve that

Open your Android Studio project and navigate to the res folder.
Inside the res folder, create a new folder called drawable if it doesn't exist already.
Copy the image you want to use into the drawable folder.
Rename the image file if necessary to ensure it doesn't contain any spaces or special characters. For example, if your image is named "image 1.jpg", rename it to "image_1.jpg".
Now you can use the copyFileRes function provided by react-native-fs to copy the image to another location within your app.

If you are still getting the error message "Res 'image_1.jpg' could not be opened" when trying to access the image, make sure that the image is in the correct format (e.g. JPEG or PNG) and that the file name is spelled correctly and matches the exact file name in the drawable folder (including capitalization). If the issue persists, try restarting your development server and/or cleaning your project in Android Studio to rebuild any cached resources.
For iOS:

Open your Xcode project and navigate to the project navigator on the left-hand side of the screen.
Right-click on the folder where you want to add the image (e.g. Assets.xcassets for image assets).
Select "New Image Set" from the context menu.
Give the image set a name that describes the image (e.g. "MyImage").
Drag and drop the image you want to use into the image well in the middle of the screen.
Adjust the properties of the image set as necessary, such as specifying a different size class for different device types or adding image variants for different display scales.
Save the changes to the project.

I copied them manually from my assets folder (Drag and Drop) to the destination folder (drawable or Assets.xcassets)
If you encountered any issues or problems, try different workarounds, but that should solve your problem at least temporarily

@rajat-np @vinzscam @Akashsystematix @SmitVavliya @tragicmj @omarbakr2020 @eliasg52 , I just create react-native-get-asset which described how to bundle asset automatically at bundle time, and one function to copy asset to file system or read asset as base64 data url on Android, iOS and Web at debug or release run time. :stuck_out_tongue:

hi @flyskywhy  how are you? im trying to use the library but i cant, i need to acces for example to image in bundle asset  in the same directory as my function, how i can reach this?

i have the same issue. I cant open files for use in a function. I have the error: [Error: Asset 'cat.jpg' could not be opened]. My code is this:
export function getAssetPath(fileName: string): string {
  if (Platform.OS === 'android') {
    return `/assets/${fileName}`;
  }
  return `${MainBundlePath}/${fileName}`;
}

export async function getAbsolutePath(filePath: string): Promise<string> {
  if (Platform.OS === 'android') {
    if (filePath.startsWith('/assets/')) {
      // const fileName = filePath;
      const fileName = filePath.replace('/assets/', '');
      const destPath = `${ExternalCachesDirectoryPath}/${fileName}`;
      console.log('despatch', destPath);
      if (!(await exists(destPath))) {
        await RNFS.copyFileAssets(fileName, destPath);
      }

      return destPath;
    }
  }
  return filePath;
}

 const [filePath, setFilePath] = useState(getAssetPath('cat.jpg'));

  getAbsolutePath(filePath)
    .then(path => {
      console.log('path:', path);
      ImageTools.GetImageRGBAs(path)
        .then((value: any) => {
          console.log('value:', value);
        })
        .catch((error: any) => console.log('error:', error));
    })
    .catch(err => console.log(err));

i cant reach the line console.log('path:', path); I tried putting the assets folder in many places without any success. please help me this is driving me crazy

Please move your 'cat.jpg' as YOUR_APP/public/cat.jpg, use below code, and tell me the result.
import GetAsset from 'react-native-get-asset';

const CAT_JPG_URL =
  Platform.OS !== 'web' ? require('../../public/cat.jpg') : 'cat.jpg';

export async function getAbsolutePath(
  src: string,
  fileName: string,
): Promise<string> {
  return await GetAsset.downloadUrlOrRequireId2Storage({
    src,
    dst:
      Platform.OS !== 'web' &&
      Platform.select({
        android: `${RNFS.ExternalDirectoryPath}/${fileName}`,
        ios: `${RNFS.DocumentDirectoryPath}/${fileName}`,
      }),
    iosReleaseRequireIdAvoidCopy: true,
  });
}

...

  getAbsolutePath(CAT_JPG_URL, 'cat.jpg')
    .then(path => {
      console.log('path:', path);
      ImageTools.GetImageRGBAs(path)
        .then((value: any) => {
          console.log('value:', value);
        })
        .catch((error: any) => console.log('error:', error));
    })
    .catch(err => console.log(err));

Import {Image} from 'react-native
const ImageUri= Image.resolveAssetSource(Images.signaturePadIcon).uri
then use this Uri to download the file or anything else


Update MD file on new branch 2017-11-09_16-30-46

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Publish script

This PR is an initial pass as creating a publish script that automates publishing the dashboard to Docker Hub as latest. In this future, I plan to enhance this with better error handling and support for custom tags.

Tested the script and confirmed that the image was successfully published.


Unbreak os prober test

Motivation for this change
Unbreak os-prober test. I had to disable documentation to prevent OOM.
Fixes #77396 #80041
CC @Ekleog
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@ofborg build nixosTests.os-prober

@symphorien This is an issue on stable? If so, we should backport it.

probably, yes, but it's only a test, not a real package.


Updated plink link

Coverage remained the same at 26.73% when pulling a55603db42266189c9feeb696bd96f0fe55572b8 on gregmcinnes:patch-2 into 4311f6d5c5f217bbac0ea770a13b3322d49b2e63 on googlegenomics:master.


Don't print blank results for queries that create tables

This resolves #85
$ textql -output-header -sql "create temp table one(word text); create temp table two(id integer); select *;" <(printf "a,1\nb,2\nc,3")
c0,c1
a,1
b,2
c,3

$ textql -pretty -sql "create temp table one(word text); create temp table two(id integer); select *;" <(printf "a,1\nb,2\nc,3")
+---+---+
| a | 1 |
| b | 2 |
| c | 3 |
+---+---+

Thank you for taking the time to contribute to TextQL!


Update shadow_5bar.py

Added path to 5bar.xml

There was an error in the following:
m = mujoco.MjModel.from_xml_path('os.getcwd()+'\\5bar.xml')
corrected it to
m = mujoco.MjModel.from_xml_path(os.getcwd()+'\\5bar.xml')


Speedtest-cli not working on Lenovo L420 Laptops

Hi, I have more than a dozen Lenovo L420 laptops running Ubuntu 16.04 and 18.04 on my network. I also have a few MacBooks running Ubuntu 16.04 and 18.04 via VirtualBox.  I have one L420 on each of my 4 vlans running speed test every 10 minutes and sending the data to a mysql database.  Last week, the speed test on all 4 of these computers stopped working.  I thought maybe these four L420s got red flagged as bots.  But, that doesn't seem to be the case, as none of the L420's on my network can run speedtest-cli anymore.  Even computers that have never run speed test before.  The speedtest.net gui version doesn't work on any of my L420's either.  All L420s have working network connections. I was able to install and successfully run speedtest-cli on all of my Ubuntu VMs running on MacBooks.  Any ideas why my L420s can't run speedtest-cli anymore?

speedtest-cli builds a unique user agent, for the HTTP requests, that include platform information:
$ python -c 'import speedtest; print(speedtest.build_user_agent())'
Mozilla/5.0 (macOS-10.14.6-x86_64-i386-64bit; U; 64bit; en-us) Python/3.8.0 (KHTML, like Gecko) speedtest-cli/2.1.2

The only thing I can imagine is that Ookla for whatever reason has decided to block requests that contain a similar user agent string, due to abuse.
I have no affiliation with Ookla, but I do know that certain types of behavior violate their terms of service.  Your use may be excessive, and as such they have blocked you.


Improve Test Coverage of testinfra_bdd/parsers.py

Currently 86% when running in GitHub (is 100% when running locally).  However the file itself might not actually be making ICMP calls so could potentially have the tests added.

This is now 100% for testinfra_bdd/parsers.py is now 100% https://codeclimate.com/github/locp/testinfra-bdd/testinfra_bdd/parsers.py.


Russian translation added

Russian translation added

@MalyshevDmitry Thank you for this - allowed me to spot an issue with the UI and long words also.


Add mechanism to differentiate between modules using EAGER_IMPORT

The EAGER_IMPORT environment variable is a way to test that all of your lazy imports were correctly specified.
Every module that uses lazy_loader checks this and attempts to access all of its members if the envion is set.
    if os.environ.get("EAGER_IMPORT", ""):
        for attr in set(attr_to_modules.keys()) | submodules:
            __getattr__(attr)

This is a useful feature to have, but I'm running into an issue where the huggingface library is using lazy_loader, and attempting to test my module with EAGER_IMPORT causes failures. I just want to test my module. To avoid this I'm thinking about how the user can specify only a specific module to eager import.
Perhaps EAGER_IMPORT could be given as a pattern, and if __name__ matches the pattern, then it can trigger the case, or if it is a special code like "1", or "True", then it triggers for every module (i.e. implements the existing behavior).
Another option is to make separate environs for each module, but casing seems like it might cause confusion.

Draft of concept:
def attach(package_name, submodules=None, submod_attrs=None, eager='auto'):
    """Attach lazily loaded submodules, functions, or other attributes.

    Typically, modules import submodules and attributes as follows::

      import mysubmodule
      import anothersubmodule

      from .foo import someattr

    The idea is to replace a package's `__getattr__`, `__dir__`, and
    `__all__`, such that all imports work exactly the way they would
    with normal imports, except that the import occurs upon first use.

    The typical way to call this function, replacing the above imports, is::

      __getattr__, __dir__, __all__ = lazy.attach(
        __name__,
        ['mysubmodule', 'anothersubmodule'],
        {'foo': ['someattr']}
      )

    This functionality requires Python 3.7 or higher.

    Parameters
    ----------
    package_name : str
        Typically use ``__name__``.
    submodules : set
        List of submodules to attach.
    submod_attrs : dict
        Dictionary of submodule -> list of attributes / functions.
        These attributes are imported as they are used.
    eager : str | bool
        if True access all attributes. If "auto" enable this based on the
        value of the ``EAGER_IMPORT`` environment variable.

    Returns
    -------
    __getattr__, __dir__, __all__

    """
    if submod_attrs is None:
        submod_attrs = {}

    if submodules is None:
        submodules = set()
    else:
        submodules = set(submodules)

    attr_to_modules = {
        attr: mod for mod, attrs in submod_attrs.items() for attr in attrs
    }

    __all__ = sorted(submodules | attr_to_modules.keys())

    def __getattr__(name):
        if name in submodules:
            return importlib.import_module(f"{package_name}.{name}")
        elif name in attr_to_modules:
            submod_path = f"{package_name}.{attr_to_modules[name]}"
            submod = importlib.import_module(submod_path)
            attr = getattr(submod, name)

            # If the attribute lives in a file (module) with the same
            # name as the attribute, ensure that the attribute and *not*
            # the module is accessible on the package.
            if name == attr_to_modules[name]:
                pkg = sys.modules[package_name]
                pkg.__dict__[name] = attr

            return attr
        else:
            raise AttributeError(f"No {package_name} attribute {name}")

    def __dir__():
        return __all__

    eager_import_flag = False
    if eager == 'auto':
        # Enable eager import based on the value of the environ
        eager_import_text = os.environ.get('EAGER_IMPORT', '')
        if eager_import_text:
            eager_import_text_ = eager_import_text.lower()
            if eager_import_text_ in {'true', '1', 'on', 'yes'}:
                eager_import_flag = True
            # Could be more fancy here
            if __name__ in eager_import_text_:
                eager_import_flag = True
    else:
        eager_import_flag = eager

    if eager_import_flag:
        for attr in set(attr_to_modules.keys()) | submodules:
            __getattr__(attr)

    return __getattr__, __dir__, list(__all__)


Update week day full terms

@amsul I think it's time to merge this pull request :D 💯

@DanielRuf I changed greek weekdays with georgian language.


Clarification on how ConfigWatch works?

Hello,
I read in the document https://cloud.spring.io/spring-cloud-consul/reference/html/#spring-cloud-consul-config-watch, that the "ConfigWatch takes advantage to watch functionality of Consul". Per my understanding a watch in Consul takes care of looking for any change in particular key prefix and trigger a callback if any change is detected.
Does the spring-cloud-consul-config creates a watch in consul with some callback endpoint?
Reading at the code here https://github.com/spring-cloud/spring-cloud-consul/blob/master/spring-cloud-consul-config/src/main/java/org/springframework/cloud/consul/config/ConfigWatch.java#L158, it looks like the ConfigWatch makes periodic HTTP calls to identify any changes made in Consul KV. So, it's basically polling for any changes and not relying on callback from Consul watch.
Can someone please help clarify this?

https://www.consul.io/api-docs/features/blocking

Thanks @spencergibb  for providing this reference.
So, it means there would be periodic calls which would be blocking queries for KV changes. The query will wait for any update or until wait time is expired. Is this correct?

That is correct

Thank you so much. I don't have further questions for now.


Implement Templating Engine

Integrate the templating engine into the program flow.

Implemented in v<IP_ADDRESS>.


Make homepage accessible

To make the page accessible I provided alternative text description for the avatar image, used headings, subheadings, and lists to organize my content and make it easier to navigate, and used semantic tags. Users can easily navigate with a keyboard between links.


PMID:28771613

abolished protein phosphorylation during cellular response to leucine starvation

I've just been reviewing all the terms with "response to" for https://github.com/geneontology/go-ontology/issues/14303 ... not sure what might change as a result but for now I've gone ahead and added the term.
abolished protein phosphorylation during cellular response to leucine starvation FYPO:0006398
edit file: 2e218b650eea4f04511a384f09c2647f50e37359
release: f82be3da1840cab25009367319804f14ec826fe2

Just to note as I just read the GO thread, I'd prefer for a users perspective to keep response to chemical as conditions (if we can  do  logical defs just to CHEBI, or some other way).
It will be much better for enrichment over phenotypes, and sensitivity/resistance terms are very popular with users.

this is a starvation term Val.
Do you mean that instead of e.g. "cellular response to hydrogen peroxide" we do "cellular response to oxidative stress" etc?

still not in tool @kimrutherford

this is a starvation term Val.

Its OK, I just wanted to note that I think we  should keep the chemical terms in FYPO in some way. I did't know where to put the comment!
I probably should have put it in the GO tracker ticket...

still not in tool

There is a problem with the ontology updates on the new server.  I'll check for the new term when it's working again.

still not in tool

The ontology update is working again so that new term is available now.


Sane defaults that pass their own tests

"Support for ruby version 1.9.3 is deprecated and will be removed in a future release. See https://docs.puppet.com/puppet/latest/system_requirements.html#ruby for a list of supported ruby versions."
-> Seems already broken.

Does anyone actually maintains this package? Had the same problem

Thank you @vdmkenny . I forgot about this PR.


Update To Grafana 5.0.3

could you update all the places where it is used as well?

Is the upload to Quay automated? ... because sanity checks will fail if the image is not uploaded

Currently it is not automated, we're hoping to get our needs into the upstream image eventually. I will push it and re-build, that way it will work :slightly_smiling_face:

Grafana has since been upgraded to v5.1.x


⚠ Bofrost.lu has degraded performance

In a23e109, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1583 ms

Resolved: Bofrost.lu performance has improved in c114176.


Add metric for total DynamoDB query time/latency including retries

We would like a metric to allow us to see how long complete sets of DynamoDB queries are taking including backoffs.

This can be seen in great detail for one request, via tracing.
As a metric, averaged over many requests, I suspect it would show little information.


clearKeychain doesn't work

Running the definition below on Starter gives me error: flutter: Async Error: MissingPluginException(No implementation found for method clearKeychain on channel com.ensembleui.dev/safari-extension)

View:
  onLoad: |
    ensemble.clearKeychain('hi');
  body:
    Text:
      text:

Expose keychain functions (clear, saveToKeychain) as EnsembleAction

PR - https://github.com/EnsembleUI/ensemble/pull/909


use container name in dictionary instead of pod's to return logs

use container name instead of pod name in read_pod_logs return value
This is a follow-up for:
https://github.com/chaostoolkit/chaostoolkit-kubernetes/issues/95

Hello @myroslavrozum, it's a long time ago but would you have time to rebase from master and squash your commits for my review by any chance?

done


Output interpretation

Hello, I don't know if this is the right section to ask this, but I would like a little help for output interpretation.
My data set has two source environments and 6 sink samples. The percentage of each environment corresponds to the seqs found only in each one of them? And what about unknown? Does it contain the reads found in none of the source envs and those found in both? Or only those found in none?
Thank you for your help.

Hi @fra-cand
Based on my understanding, what you see for the percentage of each source in each sample is in fact the proportion of features in the sink samples that are estimated to be sourced from the respective source. The Unknowns is basically everything else that was not found to be sourced from each of your two sources provided. So what it mean is that there are other sources that are contributing to the sink that are not listed in your data.

Hi @fra-cand
Based on my understanding, what you see for the percentage of each source in each sample is in fact the proportion of features in the sink samples that are estimated to be sourced from the respective source. The Unknowns is basically everything else that was not found to be sourced from each of your two sources provided. So what it mean is that there are other sources that are contributing to the sink that are not listed in your data.

Hi,
@NeginValizadegan's explanation is correct. Ultimately sourcetracker is attempting to un-mix a sink sample. In other words if a sink sample represents a mixture of the source samples, as well as other unknown sources, what proportion would be estimated to come from each of those? The actual values do not reflect the true number of sequences, they are purely estimates. For a more detailed explanation have a look at this tutorial https://github.com/biota/sourcetracker2/blob/master/ipynb/Sourcetracking using a Gibbs Sampler.ipynb
I am closing this as there is no action item, however, please feel free to respond to the issues if needed.

Hi,
@NeginValizadegan's explanation is correct. Ultimately sourcetracker is attempting to un-mix a sink sample. In other words if a sink sample represents a mixture of the source samples, as well as other unknown sources, what proportion would be estimated to come from each of those? The actual values do not reflect the true number of sequences, they are purely estimates. For a more detailed explanation have a look at this tutorial https://github.com/biota/sourcetracker2/blob/master/ipynb/Sourcetracking using a Gibbs Sampler.ipynb
I am closing this as there is no action item, however, please feel free to respond to the issues if needed.


Feature Request: Save the environment

Could you please add more forests to the game for environmental purposes?

Thank you for your invaluable feedback! We added the feature

Thank you so much for your prompt response! Big fan of your fantastic work!
Get Outlook for iOShttps://aka.ms/o0ukef

From: Sergei NOVOZHILOV @.>
Sent: Saturday, July 6, 2024 6:32:52 PM
To: polka125/Grid-Game @.>
Cc: Ho Yi Alexis HO @.>; Author @.>
Subject: Re: [polka125/Grid-Game] Feature Request: Save the environment (Issue #1)
Thank you for your invaluable feedback! We added the feature
—
Reply to this email directly, view it on GitHubhttps://github.com/polka125/Grid-Game/issues/1#issuecomment-2211732652, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AODATOZ2PPF4YZJEVJUCKY3ZK7BVJAVCNFSM6AAAAABKOIPY2SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJRG4ZTENRVGI.
You are receiving this because you authored the thread.Message ID: @.***>


remove / uninstall postal and all dependencies

hi
i need to remove / uninstall postal from a server as i am moving servers , is there a method or script i can use to make this as simple as the install process ?

There is not, Postal works best if it is on its own server rather than alongside other things so most cleanups would just be cancelling the whole server.
If you have installed Postal alongside other things then a full uninstall script would likely cause problems for whatever else is on the server, particularly databases.
Apart from the files and however you start Postal on boot, all of Postal is in databases which should be easy to remove from MySQL if you need to keep it installed.

i use rm -Rf /opt/postal /usr/bin/docker-compose /usr/bin/postal && docker rm -fv postal postal-rabbitmq postal-mariadb postal-caddy on centos doesnt remove dependancies like git curl jq although could simply
rm -Rf /opt/postal /usr/bin/docker-compose /usr/bin/postal && docker rm -fv postal postal-rabbitmq postal-mariadb postal-caddy && apt remove git curl jq etc for debian
or
rm -Rf /opt/postal /usr/bin/docker-compose /usr/bin/postal && docker rm -fv postal postal-rabbitmq postal-mariadb postal-caddy && yum -y remove git curl jq etc for centos


[ALLUXIO-1509] Extract the S3 specific logic out from JournalWriter

https://alluxio.atlassian.net/browse/ALLUXIO-1509

Merged build finished. Test FAILed.

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

Jenkins, test this please.

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/10815/
Test PASSed.

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/10816/
Test PASSed.

LGTM

@calvinjia this PR introduces UFS API change, could you take a look?

alluxio-bot, check this please.

@xgong Thanks for the improvement, could you also apply the true flag to S3A and GCS under storages?

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/10873/
Test PASSed.

@xgong @calvinjia I think supportFlush might be misleading. The reason object stores need to rotate the log is because the earlier call to flush call doesn't actually flush to the object store. The log rotation will close the file and create a new one. I think the method should be renamed, or the returned values should be flipped.
What do you think?

@xgong Could you switch the true/false returns as @gpang mentioned and rename the method to supportsFlush for consistency with our other method names? Otherwise this change looks good to me.

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/10877/
Test PASSed.

Merged build finished. Test PASSed.

LGTM


nameOrID is name not working in funtion GetProject.

Describe your request
A clear and concise description of what you need help with.
# IMPORANT: Please make sure to anonymize any PII like IP addresses and usernames!
package main

import (
	"context"
	"fmt"
	"github.com/mittwald/goharbor-client/v5/apiv2"
	config2 "github.com/mittwald/goharbor-client/v5/apiv2/pkg/config"
)

func main()  {
	conf 			:= config2.Defaults()
	client, _ 		:= apiv2.NewRESTClientForHost("http://<IP_ADDRESS>/api/","admin", "Harbor12345", conf)
	proBaseById, _ 	:=client.GetProject(context.TODO(),"2")
	proBaseByName,_ :=client.GetProject(context.TODO(),"base")
	fmt.Println(proBaseById.Name)
	fmt.Println(proBaseByName)
}

========Execution results========

GOROOT=/usr/local/go #gosetup
GOPATH=/usr/local/go/bin #gosetup
/usr/local/go/bin/go build -o /private/var/folders/9d/xqw2p6b11rz9npth2cp_3m3w0000gn/T/GoLand/___1go_build_cmdb_test cmdb/test #gosetup
/private/var/folders/9d/xqw2p6b11rz9npth2cp_3m3w0000gn/T/GoLand/___1go_build_cmdb_test
base
<nil>

proBaseByName is nil， anyone can help me？

Hey @junun, thanks for opening this issue.
In your code example, the returned error of GetProject() is explicity ignored. I'd recommend assigning an error and inspecting the error message of the method call.

package main

import (
	"context"
	"fmt"
	"github.com/mittwald/goharbor-client/v5/apiv2"
	config2 "github.com/mittwald/goharbor-client/v5/apiv2/pkg/config"
)

func main()  {
	conf 		:= config2.Defaults()
	client, _ 		:= apiv2.NewRESTClientForHost("http://<IP_ADDRESS>/api/","admin", "Harbor12345", conf)
	proBaseById, _ 	:=client.GetProject(context.TODO(),"2")
	proBaseByName,err :=client.GetProject(context.TODO(),"base")
	fmt.Println("From project id 2 get project name is ", proBaseById.Name)
	fmt.Println(proBaseByName)
	fmt.Println(err)
	fmt.Println("From project name base get project id is ", proBaseByName.ProjectID)
}

========Execution results========
GOROOT=/usr/local/go #gosetup
GOPATH=/usr/local/go/bin #gosetup
/usr/local/go/bin/go build -o /private/var/folders/9d/xqw2p6b11rz9npth2cp_3m3w0000gn/T/GoLand/___1go_build_cmdb_test cmdb/test #gosetup
/private/var/folders/9d/xqw2p6b11rz9npth2cp_3m3w0000gn/T/GoLand/___1go_build_cmdb_test
From project id 2 get project name is  base
<nil>
project not found on server side
panic: runtime error: invalid memory address or nil pointer dereference

Hey @junun, thanks for the update. Could you also inspect the (debug) log of the Harbor API core-component, by any chance? Maybe a debug session could also clarify this.
In project_integration_test.go we explicitly test GetProject using either a name or an id as input.
I doubt that this is an actual error with the goharbor-client library, but rather Harbor itself.
HTH

My harbor version is v2.1.3.
The project application only has this api  "/projects/{project_id}"
thx elenz97,  I implemented it in other way.


include backup-and-restore-sdk release to allow bbr to succeed

potentially need to include bbr user as well

Not sure where you'd want to drop this in, but the following ops-file worked for me.  In working with a bbl deployed director, the jumpbox user had sufficient permissions to dump the credhub postgres.  Version 1.1.0 was chosen because it was the first version that contained the needed Postgres tooling.  Newer versions add more stuff and are getting large, so I figured just grab what was needed.
- type: replace
  path: /releases/-
  value:
    name: backup-and-restore-sdk
    url: https://bosh.io/d/github.com/cloudfoundry-incubator/backup-and-restore-sdk-release?v=1.1.0
    sha1: 3ead0c752ce5a63a8453de35fff452661d2cd6b7
    version: 1.1.0

- type: replace
  path: /instance_groups/name=bosh/jobs/name=database-backup-restorer?
  value:
    name: database-backup-restorer
    release: backup-and-restore-sdk
    properties: {}

@cppforlife I think bbl is deploying uaa and credhub by default now. Is it possible to prioritize this story? We have several people reporting this issue in our slack channel in the past month now.

Yes, I have the same error.
Please push this story!

added as a first cut: https://github.com/cloudfoundry/bosh-deployment/commit/b7cdd80645e897fe92002ac07f1a4a4886ec4cb0

Can we get some docs around this ops file added too please.

Closing this due to inactivity.
If you would like to discuss this contribution further, please open a new issue.


Page not Found

Describe the issue here.
Relevant URLs

Provide relevant URLs (the doc page in question, project issues, community threads, etc.)

https://docs.influxdata.com/influxdb/v2.6/introduction/getting_started/#creating-a-database

Thanks for reporting @mwnbrggithub. Where did you click on this link?

Possibly via /content/influxdb/v1.8/introduction/get-started.md? It aliases latest/introduction/..., but not v2.5/introduction or v2.6/introduction.  This is likely to be a recurring problem.


Linked decks change URLs

Describe the bug
It seems that URLs of the decks which are linked to someone else's profile are useless, since these links would change for no reason, with the URL that you saved becoming dead.
To Reproduce
Steps to reproduce the behavior:

Create a new deck in MTGA
Save its URL from https://mtgarena.pro/decks/
Make some changes to the deck in MTGA, add a description to the deck on the site
Observe that the deck URL is now different, with the URL you saved prior to that becoming dead

Expected behavior
A deck should not randomly change its URL
Screenshots
Example:
https://mtgarena.pro/decks/gates-of-paradise/
now the above link is dead, everyone who saved it can't view the deck anymore, URL changed itself to
https://mtgarena.pro/decks/gates-of-paradise-4/
Another dead link:
https://mtgarena.pro/decks/golgari-anti-aggro
the deck is now:
https://mtgarena.pro/decks/golgari-anti-aggro-10/
It previously was
https://mtgarena.pro/decks/golgari-anti-aggro-11/
just a few days ago and
https://mtgarena.pro/decks/golgari-anti-aggro-1/
at some point

This is happening again.
A possible cause: if you change a name of the linked deck on the site, when the game updates the deck, it will overwrite the name you changed on the site with ingame name, but might also change the deck URL to a new one


Insufficient space in download directory /var/cache/yum/aarch64/2/amzn2-core

A reproducible test case or series of steps

Running cdk deploy devNitroWalletEth for the first time failed at step two of building the Docker image, e.g.

#5 [2/8] RUN yum install gcc python3 python3-devel net-tools -y
...omitted
#5 0.862 Insufficient space in download directory /var/cache/yum/aarch64/2/amzn2-core
#5 0.862     * free   0
#5 0.862     * needed 100 k
#5 ERROR: executor failed running [/bin/sh -c yum install gcc python3 python3-devel
net-tools -y]: exit code: 1

I ran docker image prune -a from this StackOverflow's answer and then I ran cdk deploy devNitroWalletEth again. Now the previous failed step 2 succeeded but it raised the following error

...omitted
#8 [4/8] COPY ./kms/kmstool_enclave_cli ./
#8 sha256:b83fa96953567dac69bd41961d0d0eef8df493c59993f08e559e41033ced844f
#8 ERROR: "/kms/kmstool_enclave_cli" not found: not found

#9 [5/8] COPY ./kms/libnsm.so /usr/lib64/
#9 sha256:48bb7dba25461e915b346522a30982a8b524151b8506fa3edf9656a56dce82dd
#9 ERROR: "/kms/libnsm.so" not found: not found

#5 [2/8] RUN yum install gcc python3 python3-devel net-tools -y
#5 sha256:5285754fb35c10ce153924f74496a0c7e4c5e5f23d6f17967f75a0e112d129a0
#5 CANCELED
------
 > [4/8] COPY ./kms/kmstool_enclave_cli ./:
------
------
 > [5/8] COPY ./kms/libnsm.so /usr/lib64/:
------
failed to compute cache key: "/kms/libnsm.so" not found: not found
...omitted

So I ran the ./scripts/build_kmstool_enclave_cli.sh command to build the binaries for Nitro Enclaves. Again, it threw the Insufficient space error, e.g.

[builder  7/50] RUN yum install -y gcc-c++:
#11 0.433 Loaded plugins: ovl, priorities
#11 1.323 213 packages excluded due to repository priority protections
#11 1.636 Resolving Dependencies
#11 1.636 --> Running transaction check
#11 1.636 ---> Package gcc-c++.aarch64 0:7.3.1-15.amzn2 will be installed
#11 1.662 --> Finished Dependency Resolution
#11 1.717
#11 1.717 Dependencies Resolved
#11 1.717
#11 1.717 ================================================================================
#11 1.717  Package        Arch           Version                  Repository         Size
#11 1.717 ================================================================================
#11 1.717 Installing:
#11 1.717  gcc-c++        aarch64        7.3.1-15.amzn2           amzn2-core         11 M
#11 1.717
#11 1.717 Transaction Summary
#11 1.717 ================================================================================
#11 1.717 Install  1 Package
#11 1.717
#11 1.718 Total download size: 11 M
#11 1.718 Installed size: 35 M
#11 1.718 Downloading packages:
#11 1.719
#11 1.719
#11 1.719 Error downloading packages:
#11 1.719   gcc-c++-7.3.1-15.amzn2.aarch64: Insufficient space in download directory /var/cache/yum/aarch64/2/amzn2-core/packages
#11 1.719     * free   0
#11 1.719     * needed 11 M
#11 1.719
------
executor failed running [/bin/sh -c yum install -y gcc-c++]: exit code: 1

However, re-executing ./scripts/build_kmstool_enclave_cli.sh one more time worked. The behaviours here are inconsistent and I am not sure why they are happening.

The version of our code being used

Commit 1fa0d541af348f49fc6533e05232ac64b9991f93

Any modifications you've made relevant to the bug

N/A

Anything unusual about your environment or deployment

N/A

Hi @0xYao,
it seems that this error is related to insufficient storage requirements of your docker overlay filesystem.
You might want to look into the docker system prune command to free up some space (https://docs.docker.com/engine/reference/commandline/system_prune/).


Binary Releases

It'd be awesome to be able to pull Squisher onto a CI machine with that tool to make efficient CI workflows for compressing assets. Having pre-built binaries attached to releases can make that a reality!
I maintain this cool tool called Aftman that is one such way of getting binaries out of GitHub releases so that everyone can share versions of their tools.

Sounds good to me!


Metric results for mini-nuscenes

Hello, thank you for your excellent work. I am currently limited to do experiments on the mini dataset. Have you done any relevant experiments on the mini-nuscenes and what are the metrics?

Thanks for your interest in our work.
Sorry for that, we haven't tried mini-nuscenes. You can try kitti. Although we haven't tried it, compatibility with dsvt and kitti via pcdet shouldn't be too difficult.


Use pretty_assertions_sorted

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (3553c24) 89.34% compared to head (6de3089) 89.34%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #16   +/-   ##
=======================================
  Coverage   89.34%   89.34%
=======================================
  Files           6        6
  Lines         197      197
=======================================
  Hits          176      176
  Misses         21       21

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


vintageous plugin conflict when trying to indent with ">" in ST3

I use the Vintageous plugin and the ColdFusion(development branch) plugin.   I frequently use > in visual mode of Vintageous to indent blocks of text.   Since installing ST3 I have had trouble getting this to work.  Instead of indenting it inserts a ">" at the end of the selection.  Looks like the ColdFusion plugin also uses the > key for tag completion.   I tried disabling "auto_close_cfml", but it still does not indent and inserts a ">".   I was able to work around the problem by commenting out the keybindings for > in the Default.sublime-keymap, but of course then the tag completion will no longer work.   I can live with the workaround, but I thought you might want to be aware of the problem.
Thanks for all your work on this plugin.   I use it daily..

@palmerlovett  Workaround for your issue is to open Packages/Coldfusion/Default.sublime-keymap and comment out the section around line 11 starting with "{ "keys": [">"], "command": "close_cftag", "context":".


I can't find right click to modify.

What are you trying to modify? I see the script is not yet attached, so that might be your issue. Read the instructions on the main page to see how it works 👀

you had written that I could convert preexisting rtf to this with left click. You didn't mention anything about attaching it to preexisting ones

Oh nvm I'm just blind sometimes


refactor(Spanner): update samples to follow new samples guide

This PR contains following Samples:

spanner_add_timestamp_column
spanner_create_table_with_datatypes
spanner_create_table_with_timestamp_column
spanner_insert_datatypes_data
spanner_write_data_for_struct_queries
spanner_query_with_array_parameter
spanner_query_with_bool_parameter
spanner_query_with_bytes_parameter
spanner_query_with_date_parameter
spanner_query_with_float_parameter
spanner_query_with_int_parameter
spanner_query_with_string_parameter
spanner_query_with_timestamp_parameter
spanner_retry_strategy

Fixes #1136

I'll get to this next week.

Ping for myself for early next week.

@amanda-tarafa Ping for review.

Although there are some changes in the fixture that will clash with #1315. FYI @olavloite and @skuruppu.

Thanks for the notification. As far as I'm concerned, you don't have to let any potential clashes with #1315 be a blocker from merging this PR. I can update #1315 at a later moment if needed, and it might take some time before we can merge #1315.

Although there are some changes in the fixture that will clash with #1315. FYI @olavloite and @skuruppu.

Thanks for the notification. As far as I'm concerned, you don't have to let any potential clashes with #1315 be a blocker from merging this PR. I can update #1315 at a later moment if needed, and it might take some time before we can merge #1315.

OK, then we can merge this one when it's ready, thanks both!

Also some of the samples appear not to have tests, only the query samples have tests I think.

Some of the samples don't have separate tests as it's included in the fixture if it fails all the sample's tests will falil.
writing tests for these samples might increase the test time because It's needed to create a separate database for each test.

There's a Spanner flake but on a test not related to this PR, I've created #1332.
The other failure is unrelated and being tracked in #1311.
I'll force merge.


added faker shakespeare

Created shakespeare.rb, which gives you a random quote from one of the top four most popular Shakespeare plays.
Also created tests for this class, which are all passing.

I'm on a Windows machine and wasn't quite sure what to do about my Gemfile.lock...


Many tests are broken.

This library is, unfortunately, in limbo. We were asked to generate it and then asked to stop before releasing.  If you have the power to admin-merge this PR, just to have the harness of the library up-to-date, that would be great. Otherwise, we can just wait to fully release this PR and get tests passing.


Test: Replace while loop with recursive [].reduce

Can someone remind me what the motivation for this change is? From what I could tell, the while loop worked perfectly fine and seemed easy enough to read.

@platinumazure I just wanted to get rid of this while loop. At the end we may can get some memory optimization from the recursive TCO but that's uncertain as we don't have any benchmark or performance stats.

What's wrong with the loop? Is it buggy? Confusing? Hard to read? Prone to error?

What's wrong with the loop?

Not much, just distracting.

Is it buggy?

No

Confusing?

Hard to read?

Prone to error?

@platinumazure this is just a change proposal, I started this just trying to improve the use on spread operators:
modules = [ ...module.childModules ]
// to a better array cloning.

and
modules.push( ...nextModule.childModules );
// to modules.concat( nextModule.childModules );

even though I've finished going way beyond the first intended change.

I find the original version easier to read and comprehend, but don't feel strongly about this.

I've went to far with this PR and it's trying to solve way more than my main intention and it's creating unnecessary confusion.
Closing this for simplicity. What we have works just fine, so I'll leave it to be improved when we actually have something to change in that part.


[CELEBORN-180][BUILD] Script for creating binary release artifact

What changes were proposed in this pull request?
Script for creating binary release artifact.
Why are the changes needed?
For releasing.
Does this PR introduce any user-facing change?
Yes, make-distribution.sh was moved from dev to build folder
How was this patch tested?
build/make-distribution.sh --release
build/release/create-package.sh binary

cc @FMX as you are the 0.2.0 release manager.
cc @RexXiong, I believe this is flexible to support Flink clients in the future.


[Backport r0.11]  Fix broken link in NovoGrad docstring

Backport c083f28b74682858fe4c96c8d108518a8f8739e5 from #2096

@shreyashpatodia
You are owner of some files modified in this pull request.
Would you kindly review the changes whenever you have the time to?
Thank you very much.


Does it support angular 11?

Does it support angular 11?
Thx

@fsamija I have a sample project that uses Angular 12.
So I suppose yes!


Description of AnnData contents

Closes #145
This PR expands the current section on gene expression file contents to include both SCE and AnnData objects.

I created a short introduction section that states gene expression data is available as either SCE or AnnData. Then I created two large sections, one for SCE and one for AnnData (as mentioned in the outline of #145).
The two sections mostly mirror each other and each have a description of cell metrics, gene expression metrics, metadata, dim reductions, etc. Although the actual sections mirror each other, I tried to avoid repeating things that are present in both objects. For the cell and row metadata in AnnData objects, I provided links to the SCE section for things that are found in both and then a separate table for any additional information that is present in only AnnData objects.
Generally, a lot of the content and descriptions are similar between the AnnData and SCE sections. I was trying to make sure that things were consistent between the two sections.

Thanks for taking an initial look @sjspielman! I incorporated some of your suggestions and then I also went through all the code chunks and made sure we always assign to a variable in both SCE and AnnData experiments.
I also added two sentences stating that CITE-seq data is included with the main RNA data in SCE but separate in AnnData. I wasn't totally sure about this being here, but I agree that I think it's important to state somewhere.

quick FYI re https://github.com/AlexsLemonade/scpca-docs/pull/157/commits/5c04822569c95fc9198a9a089a02f1b2102ee31b
You can tell spellcheck to like emojis :) - https://github.com/AlexsLemonade/training-modules/blob/9af9931b8a99723cce9e896648fb60a66403497c/scripts/spell-check.R#L12-L13

We probably want to update all links to bioconductor to 3.17 or release if we think we are updating more frequently.

@jashapiro FYI I had a similar thought when reviewing and opened  - https://github.com/AlexsLemonade/scpca-docs/issues/158

I think I would favor line comments in both the R and python code over assignment. Much of the time people might not need to assign internal components to new variables, so I don't think we need to show it as part of the explanation.

I removed the assignments across the board and replaced them with comments. I did leave the assignment of both the sce and AnnData object when reading them in though.

We probably want to update all links to bioconductor to 3.17 or release if we think we are updating more frequently.

Finally: are we taking advantage of the ability to create versions in readthedocs? This is related to the second point above, but if docs change depending on the version of the workflow run, we might want to keep multiple versions around. Probably something to explore later.

For now, I updated this to 3.17 in this doc. Right now we don't have a process for releasing and adding version tags to the docs, and we probably want to.

I applied the suggestions and addressed the small comments from both of you. This is ready for another look @jashapiro.


CSS customization

Hi,
I would like to change the colors of the cookie banner.
I installed the code of this link [http://assets.cookieconsent.silktide.com/current/style.min.css] on my style.css file and changed it to the colors that I want to use but it doesn't change anything.
Maybe I'm missing one step ?
Can you please advice?
Thank you for your support.
Regards

Hello,
This code belong to Cookie Consent v2, but we are currently on v3.
Use the latest CSS and JS from the build folder in this repository and/or use our brand new customiser to set custom colours.

Wow !
This is awesome!! This page is exactly what I was looking for!
I copied pasted the new code in my header.php instead of the last one but there is no cookie appearing anymore.
Is this normal ?

What do you mean by cookie - the cookie logo (which we have removed on version v3) or the whole popup?
If the popup doesn't appear, it may mean, that you have already dismissed it once and it remembered your choice. Try using your site in incognito mode.
If it still doen't appear there may be a javascript error (check the console). Moving the two scripts to the footer, just before the closing the body tag could help.

Hi,
Well I managed to do it but the 2 layout appear on my website : when I
accept the 1st layout, there is the 2nd layout below as you can see on
that picture.
How comes? Can you please advice ?
And will the user have to click on this pop up at every visit or does it
last forever?
Thanks for your support.
Regards.
Logo http://iconink.fr
<EMAIL_ADDRESS><EMAIL_ADDRESS>www.iconink.fr http://iconink.fr/
Facebook https://www.facebook.com/iconinkdesign.fr?ref=hl 	Twitter
https://twitter.com/iconinkdesign 	Instagram
https://www.instagram.com/iconink.design/
09 70 40 80 10
Le 03/10/2016 à 04:12, Piiu Pilt a écrit :

What do you mean by cookie - the cookie logo (which we have removed on
version v3) or the whole popup?
If the popup doesn't appear, it may mean, that you have already
dismissed it once and it remembered your choice. Try using your site
in incognito mode.
If it still doen't appear there may be a javascript error (check the
console). Moving the two scripts to the footer, just before the
closing the body tag could help.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/insites/cookieconsent/issues/161#issuecomment-251060348,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVfJKUzSuZHRbi-yJjgkgFLrhFRQ5A--ks5qwMcCgaJpZM4KKabo.

I am afraid there was no image attached to your latest response, or at least I was unable to find it.
User's will only have to dismiss the popup once, and their PC will remember their choice for 1 year (by default). You can extend the time by setting the cookie.expiryDays equal to a value of your choice. Set it to 1000 and the user's choice is preserved for 1000 days (unless they clear their cookies). You can use -1 to never expire.
<script>
  window.cookieconsent.initialise({
    // ... your options ...
    cookie: {expiryDays: -1},
  });
</script>

Hi Alex,
It was just below my email.
Here attached it is.
That's great if it lasts for 1 year.
There is just this double box issue that I need to fix and I'm all good !
Can you please advice ?
Thanks
Logo http://iconink.fr
<EMAIL_ADDRESS><EMAIL_ADDRESS>www.iconink.fr http://iconink.fr/
Facebook https://www.facebook.com/iconinkdesign.fr?ref=hl 	Twitter
https://twitter.com/iconinkdesign 	Instagram
https://www.instagram.com/iconink.design/
09 70 40 80 10
Le 03/10/2016 à 10:14, Alex a écrit :

I am afraid there was no image attached to your latest response, or at
least I was unable to find it.
User's will only have to dismiss the popup once, and their PC will
remember their choice for 1 year (by default). You can extend the time
by setting the |cookie.expiryDays| equal to a value of your choice.
Set it to |1000| and the user's choice is preserved for 1000 days
(unless they clear their cookies). You can use |-1| to never expire.
| |
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/insites/cookieconsent/issues/161#issuecomment-251134232,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVfJKVrC96xBrNkT99HWaDSEHR__VOa4ks5qwRvjgaJpZM4KKabo.

I think because the email is being sent through Github, the attached image is being removed.
Here is what I can see in my Gmail:

If you want, It is possible to attach images via Github by dragging and dropping the image onto the text area

Sure. I didn't think about it before.
Here it is
Thanks

It's hard to find out exactly what's going on without looking directly at the code, but I'll try.
The popup displayed in this image is CookieConsent V2, as only version 2 has an image of a cookie under the button. I'm not sure which version you want to run, so I'll describe both.
First of all, Is there any chance that you are running both V2 and V3 at the same time? You should ensure that you are only running one of these snippets of code.

If you want to use Version 3, it should look something like this:
<!-- this works best in the head tag -->
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.1/cookieconsent.min.css" />

<!-- this works best at the end of the body tag -->
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.1/cookieconsent.min.js"></script>
<script>
  window.cookieconsent.initialise({
    "palette":{
      "popup":{"background":"#000"},
      "button":{"background":"#f1d600"},
    },
    "theme":"classic",
    "position":"bottom-right"
  });
</script>

In version 3, the layout is defined by theme. As of now, we only have the classic and edgeless options (but you can create your own). The colours can be set using palette (the palette options are defined at https://cookieconsent.insites.com/documentation/javascript-api/#palette_options).
Optionally, you can remove the palette option and copy the CSS file and change the colours (as you stated earlier). There are many more options for version 3 which can be found at https://cookieconsent.insites.com/documentation/javascript-api/

If you want to use version 2, it should look something like this:
<script type="text/javascript">
  window.cookieconsent_options = {
    "message":"This website uses cookies to ensure you get the best experience on our website",
    "dismiss":"Got it!",
    "learnMore":"More info",
    "link":null,
    "theme":"dark-floating"
  };
</script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/1.0.10/cookieconsent.min.js"></script>

In version 2, the layout is defined directly by the theme option. In the example above, the theme is dark-floating. You can change dark-floating to a number of other options in order to change the layout. E.G. light-floating, light-top, light bottom, dark-floating, dark-top and dark-bottom.
Changing these options will alter the layout of the plugin.
I may have not been clear, so please don't hesitate to ask any more questions. Thank you.

Thank you so much Alex !
I had an old line on my footer.php.
That's why.
Thanks so much for your help.
Regards
Logo http://iconink.fr
<EMAIL_ADDRESS><EMAIL_ADDRESS>www.iconink.fr http://iconink.fr/
Facebook https://www.facebook.com/iconinkdesign.fr?ref=hl 	Twitter
https://twitter.com/iconinkdesign 	Instagram
https://www.instagram.com/iconink.design/
09 70 40 80 10
Le 04/10/2016 à 05:11, Alex a écrit :

It's hard to find out exactly what's going on without looking directly
at the code, but I'll try.
The popup displayed in this image is CookieConsent V2, as only version
2 has an image of a cookie under the button. I'm not sure which
version you want to run, so I'll describe both.
First of all, Is there any chance that you are running both V2 and V3
at the same time? You should ensure that you are only running one of
these snippets of code.

If you want to use Version 3, it should look something like this:
|
 |
In version 3, the layout is defined by |theme|. As of now, we only
have the |classic| and |edgeless| options (but you can create your
own). The colours can be set using |palette| (the palette options are
defined at
https://cookieconsent.insites.com/documentation/javascript-api/#palette_options).
Optionally, you can remove the |palette| option and copy the CSS file
and change the colours (as you stated earlier). There are many more
options for version 3 which can be found at
https://cookieconsent.insites.com/documentation/javascript-api/

If you want to use version 2, it should look something like this:
|
|
In version 2, the layout is defined directly by the |theme| option. In
the example above, the theme is |dark-floating|. You can change
|dark-floating| to a number of other options in order to change the
layout. E.G. |light-floating|, |light-top|, |light bottom|,
|dark-floating|, |dark-top| and |dark-bottom|.
Changing these options will alter the layout of the plugin.
I may have not been clear, so please don't hesitate to ask any more
questions. Thank you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/insites/cookieconsent/issues/161#issuecomment-251348652,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVfJKRCXt1YRVkhDaWGuL-Q5QfhVsMIGks5qwiY_gaJpZM4KKabo.

Glad to hear you sorted it :+1:

i am having issues with seeing the button on certain browser additions. i would like to update the size of the text within the widget? do you support this?


example notebooks broken - plots backend option

Alot (all?) of the jupyter notebooks are now broken, not producing plots. I suspect it is related to the 'backend' argument introduced in 1.3. The plot methods I've tried seem to not work unless backend='matplotlib' is explicitly given. idk if this is a problem with plotly (which I assume is default (?)) or the method definition.

Thanks for raising, I'll have a look and get back!

Could also be related to this: https://github.com/GEMDAT-repos/GEMDAT/issues/270

I was referring to the notebooks on github, e.g. https://github.com/GEMDAT-repos/gemdat-notebooks/blob/main/orientations.ipynb
I have the same problem locally, running scripts in spyder. I just get a blank output like in #270 . Reinstalling plotly from pip didn't help.

The github viewer misses a lot of features, so its not a good place to look at notebooks. I don't see any missing plots on nbviewer: https://nbviewer.org/github/GEMDAT-repos/gemdat-notebooks/blob/main/orientations.ipynb
I'm also not familiar with Spyder to give any input there. There is some info on how to render plotly in spyder here: https://plotly.com/python/renderers/

thanks, messing with different renderers solved it


[Windows] Unable to log in via ssh when password expires - disable password expiry date.

The (probably) solution is to run the command:  wmic UserAccount set PasswordExpires=False

https://github.com/Dasharo/preseeds/pull/15


Adding a doc page on debugging

resolves #307
I've been meaning to do this for a while, here goes. See what you think @juttle/developers
If I forgot (or never knew) other useful means of debugging, let's add them.

Note: the screenshot from the visualizer needs to be updated after @go-oleg merges in current juttle, because as is it's showing a bug that was fixed in juttle but not yet in the visualizer.

I think adding a section about adapters and backends would be useful. That's certainly been a common situation to debug. I think the section would talk about verifying the connection to the backend from the location where the program is running, translating the query done by the read command into a native backend query and doing it by hand to see if the results are the ones you expect, and possibly using a network capture tool to see what's going over the wire (when the data from juttle program-backend isn't encrypted).
I also think a juttle-engine debugging doc would be useful as well, talking about running the program in juttle to get better highlighting of the location where the error occurred, possibly using a network capture tool to monitor the communications between browser and juttle-engine, etc. That could just be a pending issue for now as we'll probably be improving the debugging quite a bit.

@dmehra i updated juttle-flowgraph-viz to the latest juttle.

@mstemm please check my usage of juttle-service/engine/viewer in the update.
@go-oleg, thanks, got the new screenshot from visualizer in here.
I'd like to merge this, and have future updates come as part of debug improvements in https://github.com/juttle/juttle-viewer/issues/7 and https://github.com/juttle/juttle-viewer/issues/9.

It's more likely that you'll be debugging with juttle-engine, which includes the browser views via the app, so I think all references to juttle-service should be juttle-engine.

Also, I'm not sure we actually want to call out juttle-viewer in these types of walkthough docs. They'll really be using juttle-engine, which contains juttle-viewer.

Certain adapters support -debug option (maybe it should be supported by all of them), which prints out the raw query to be executed. Should we mention this in the docs?

While -debug is useful for simple queries, as adapters get more complicated
it is often the case that one read command in juttle actually produces
multiple queries to the back end so this isn't so straightforward.
However I do think that all the adapters should print the raw queries as
part of their internal debug logging, so once we implement
https://github.com/juttle/juttle/issues/373 and
https://github.com/juttle/juttle-viewer/issues/7 then we should update
these instructions to tell users to turn on debug logging for a given
adapter to see the raw queries (and responses?).
-m
On Wed, Feb 10, 2016 at 5:26 AM, Balázs Kutil<EMAIL_ADDRESS>wrote:

Certain adapters support -debug option (maybe it should be supported by
all of them), which prints out the raw query to be executed. Should we
mention this in the docs?
—
Reply to this email directly or view it on GitHub
https://github.com/juttle/juttle/pull/352#issuecomment-182372021.

--
Michael Demmer
Jut - CTO / VP Engineering
<EMAIL_ADDRESS>


AI can't handle USA-Afghan war

USA-Afghan war took around 10 years before I eventually ended it via tag switching. USA could simply not get access to Afghanistan.
Perhaps an event to invite USA's allies to join the war?
Similarly USA-Iraqi war took more than 5 years, but USA actually managed to win this somehow, mainly because Iraq was attacked by someone else.

Know issue. One solution would be to "force" Pakistan to take part in the war and be US proxy. Will do that.


It seems only python tree-sitter is used.

I found that only in postprocess_code_lines function parser was used.
def postprocess_code_lines(prompt, completion, parser, lang):
    try:
        if lang in ["java", "csharp", "typescript"]:
            return get_bracket_lang_statement(completion)
        elif lang == "python":
            return get_python_one_statement(prompt, completion, parser)
    except Exception as e:
        return completion

Parser in get_python_one_statement is to get whether the current code strings are legal or illegal for relative programming language.
For other language, such as JAVA, Csharp, typescript，we may obtain more convincing data if we also use tree-sitter.
Am I right?
Thanks

Yes, your understanding is right.

Thanks


How to convert KerasTensor to numpy array or TensorFlow EagerTensor?

``I have a KerasTensor object with shape (None, 128, 128, 1) that I need to pass to an OpenCV function. However, I'm having trouble converting the KerasTensor to either a numpy array or a TensorFlow EagerTensor that can be accepted by the function. Specifically, I want to convert the KerasTensor to a format that is compatible with OpenCV's input requirements. Any suggestions on how to achieve this conversion?
I tried using tensor.numpy() to convert the KerasTensor to a numpy array, but I got an AttributeError: 'KerasTensor' object has no attribute 'numpy'.
import tensorflow as tf
from tensorflow import keras

# Define the shape of the input tensor
input_shape = (128, 128, 1)

# Create an input tensor with the specified shape
input_tensor = keras.layers.Input(shape=input_shape)

# Create a model that uses the input tensor
x = keras.layers.Conv2D(32, 3, activation='relu', padding='same')(input_tensor)
x = keras.layers.Conv2D(64, 3, activation='relu', padding='same')(x)
output_tensor = keras.layers.Conv2D(1, 3, activation='sigmoid', padding='same')(x)

print(type(output_tensor)) # <class 'keras.engine.keras_tensor.KerasTensor'>

# Convert the output tensor to a numpy array
print(type(output_tensor.numpy())) # AttributeError: 'KerasTensor' object has no attribute 'numpy'
print(type(tf.keras.backend.eval(output_tensor))) #AttributeError: 'KerasTensor' object has no attribute 'numpy'`

@kiratben,
The Keras Tensor cannot be converted to a Numpy array directly, You can please try to convert the Keras tensor to Tensor and from the Tensor you can convert to the numpy.
Also please have a look at this comment from the form discussion and the SO link for the reference.
https://discuss.tensorflow.org/t/get-values-of-kerastensor/2423


Facing some issue during setup backend

I have follow all the steps but when i run yarn seed facing this error

I saw that there was a commit recently where they deduplicate the workflows (not sure thoough). Try to pull the current version of the repo and try again maybe?

https://github.com/medusajs/b2b-starter-medusa/commit/1eb7cc6d352621efb1981327a9cb83550980b41c
This one covers it I believe

Thanks now working fine