KOGITO-4715: process-svg-quarkus-addon does not handle default port a…

jira related: https://issues.redhat.com/browse/KOGITO-4715
fixes #1138

@mingfang Thanks for the fix!

The Linux check has failed. Please check the logs.

jenkins please retest this

The Linux check has failed. Please check the logs.

jenkins please retest this

The Linux check is successful.


Fixes for compiler warnings.

Fixed some warnings that would be triggered in downstream packages including header files from this repo when building with the '-Wall -Wextra -Wpedantic' compiler flags.

@goodfaiter Can you merge? I lack the privileges...


Expose types for plugin's main function

Exposes the type PluginMain for the plugin's main function.
Update the way to define the main function of the plugin as follows:
// New approach
export const main: PluginMain = (denops) => {
  // ...
};

There is a discussion in #332 about extending the definition of the plugin's main function.

Actually, I prefer ordinal function style but the new approach has big advantage so I'm positive to change the style.
What we need to updates are

[ ] Document comments in denops.vim
[ ] Document comments in deno-denops-core
[ ] Document comments in deno-denops-std
[ ] Document comments in denops-helloworld.vim
[ ] Document itself in denops-documentation

Moreover, I believe there are more suitable names than "PluginMain" for the following reasons:

Developers are already aware that it's a plugin, hence the "Plugin" prefix seems somewhat redundant.
Although the function is named "main," it merely serves as a placeholder and doesn't elucidate the functionality. Therefore, the type name should offer a more descriptive insight.

Considering the aforementioned points, I suggest "Entrypoint" as the type name. What are your thoughts?

I suggest "Entrypoint" as the type name. What are your thoughts?

Very good. I agree.

Now denops_std (v6.5.0) serve Entrypoint and we can define the main function like
import type { Entrypoint } from<EMAIL_ADDRESS>
export const main: Entrypoint = (denops) => {
  // ...
};


using server share as local file path

any idea how I can use a server share \server\share as a local file path?
Set-SFTPFile -SessionId ($Session).SessionId -LocalFile $FilePath -RemotePath $sftppath

You would have to mount it as a drive
Sent from my iPhone

On Apr 9, 2019, at 9:39 AM, tdubb123<EMAIL_ADDRESS>wrote:
any idea how I can use a server share \server\share as a local file path?
Set-SFTPFile -SessionId ($Session).SessionId -LocalFile $FilePath -RemotePath $sftppath
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


tree-sitter-languages package nix errors

Issue
I am trying to install aider manually via installing all its dependencies on nixos.
in your requirements you have tree-sitter-languages as a dependecy
https://github.com/grantjenks/py-tree-sitter-languages
it is named py-tree-sitter-languages
in your reqs it is labelled as tree-sitter-languages
is this the correct package and i just need to rename it to tree-sitter-languages, i just renamed it to match.  or is there another package that i should load?
i know its not supported, but would appreciate any direction in how to build this for nixos.

{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, wheel
}:
buildPythonPackage rec {
pname = "tree-sitter-languages";
version = "1.10.2";
pyproject = true;
src = fetchFromGitHub {
owner = "grantjenks";
repo = "py-tree-sitter-languages";
rev = "v${version}";
hash = "sha256-AuPK15xtLiQx6N2OATVJFecsL8k3pOagrWu1GascbwM=";
};
nativeBuildInputs = [
setuptools
wheel
];
pythonImportsCheck = [ "tree_sitter_languages" ];
meta = with lib; {
description = "Binary Python wheels for all tree sitter languages";
homepage = "https://github.com/grantjenks/py-tree-sitter-languages";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}
Version and model info
No response

Thanks for trying aider and filing this issue.
This looks like a duplicate of #544, so I'm going to close it so discussion can happen there. Please let me know if you think it's actually a distinct issue.


Fix component reference generator

The upstream source code now applies normalization function for all
flags. This PR syncs such a behavior to reference generator.

Hi @tengqm .
Thanks for the updates.
You have generated/tested the output?
/lgtm
You can unhold if the generated flags are corrected.
/hold

/hold cancel


Making a layer visible=false after TouchStart cancels TouchEnd

Oof, just learned this one the hard way...
I would not expect Touch events to be affected by visibility.
Was attempting to implement a simple up/down state for a button.

Maybe try opacity instead. :)
Visibility indeed removes the ability for events to succeed.
On Sat, Jul 18, 2015 at 6:19 PM David Phillips<EMAIL_ADDRESS>wrote:

Oof, just learned this one the hard way...
I would not expect Touch events to be affected by visibility.
Was attempting to implement a simple up/down state for a button.
—
Reply to this email directly or view it on GitHub
https://github.com/koenbok/Framer/issues/231.

Yeah, I did end up using opacity. Seems like you're using "visible" as a stand-in or overlap with "enabled" here.

The thing is that you usually don't want to interact with invisible layers (and usually you do want your interactions to happen on the underlying layers). This is default web-behaviour as well, so I don't think we will change this in the future. Closing, Please feel free to continue the discussion op open another issue.


Easier expending of equipment's uses

In GitLab by @1augustbebel3 on Mar 15, 2021, 22:07
As of now, players are only capable of expending uses by editing a value inside the item itself. Some kind of +/- icons on the item would be useful.
Concept:

In GitLab by @Asacolips on Jun 11, 2021, 10:49
Resolved in !28 by allowing the ability to left click the quantity or uses tag to increase their value, or right click to decrease. Will be included in the next release.


Filter pushdown

Problem description
Filter pushdown (in the database often called predicate pushdown but that is confusing in RDF ;) ) is way to move filter evaluation into the equivalent of the getStatement method. This can be used to drastically reduce IO and memory allocation requirements.
e.g. assume the following query.
SELECT *
WHERE {
   [] ex:length ?l .
   FILTER(?l > 2000 && ?l < 3000)
}

If the get statements can get to the filter constraint, and if ex:length has a relevant index we could avoid generating many literal and binding sets.
I believe a first step is to expand the API. We currently have getStatements(Resource s, IRI p, Value o, Resource... gs) and I think we can add the following getStatements(Var s, Var p, Var o, Var gs). With Var being something that can be introspected by the query execution layer.
e.g.  given the following query
SELECT *
WHERE {
  ?isAnResourceBecauseSubject a [] .
 [] ex:whatever   ?isAnResourceBecauseSubject
}

and data in the shape where a objects may be either a literal or an iri.
ex:1 a ex:Class .
ex:1 a "a literal"  .
ex:1 ex:whatever ex:2 .

Then the query execution may avoid materializing or even touching the triple ex:1 a "a literal"  . as we can mark up the Var ?isAnResourceBecauseSubject with an attribute/extention to mark that it must be a Resource.
Preferred solution
No response
Are you interested in contributing a solution yourself?
Yes
Alternatives you've considered
Implement this store specifically.
Anything else?
No response

A vey interesting presentation. Thank you for mentioning this.


Flutter - loginRedirect is failing after returning back to the app

Describe the bug
On using the example provided with loginRedirect, after logging in b2c tenant and returning back to the app - I am getting below error - Please can you look into it
client.js:22488 Error from backend:
Error: NoSuchMethodError: The method 'shutDown' was called on null.
 I got it working finally after upgrading Flutter. Please ignore.


please make a feature so that we can go back to previous versions of wwebsite

Is your feature request related to a problem? Please describe:

Describe the solution you'd like:

Describe alternatives you've considered:

Additional context:

Hi! 👋 Thanks for the comments!
I agree, it would be great to have this feature! We're tracking this internally. We'll keep you posted ✨

+1, cmd + z is easy enough when your working on a single component, but when a major change happens and the AI overwrites 5-6 files and it ends up breaking, it can be hard to get back to where you were, even asking the AI to revert all of their changes sometimes you end up with a different UI
Maybe a short term solution would just be able to have a revert feature, where you can revert it to the state before your last prompt. Not perfect, but would be super helpful so you can decide what problems to fix.
Like if you ran a prompt and it came back with an error. Instead you could revert it back, specifically include in your prompt again to keep that error from happening, and then try again without losing your project history.
But versioning would be the best end goal!

@pkeller3 Thank you for the great feedback! We completely agree and are working rapidly to implement this feature. The resolution will be tracked under #35!


NH-68421 Adjust service name, key usage when lambda

Adjusts service name and service key requirements/usage when in lambda.
SW_APM_SERVICE_KEY was already not required for APM Python to be enabled in lambda, but if not provided was causing IndexError at _update_service_key_name. So added a condition in 5d7ba8b to only update key if not lambda.
The precedence of OTEL_SERVICE_NAME > AWS_LAMBDA_FUNCTION_NAME was already being respected by APM Python in lambda because of the otel-instrument wrapper. I added new helper _calculate_service_name_lambda anyway in case the wrapper fails or is not used in a lambda environment. Service name setting in lambda does not take agent_enabled into consideration like for APM proto service name setting (I'm pretty sure there's no use case beyond using function name?)
I manually tested by publishing a test layer (see ticket for ARN), applying to a function, and playing with different environment variables. Summary of outcome:

No OTEL_SERVICE_NAME --> exports to service with function name
No OTEL_SERVICE_NAME, OTEL_RESOURCE_ATTRIBUTES does have a service name --> Resource ignored and exports to service with function name
OTEL_SERVICE_NAME set --> exports to service of that awesome name

Please let me know what you think!

No OTEL_SERVICE_NAME --> exports to service with function name
No OTEL_SERVICE_NAME, OTEL_RESOURCE_ATTRIBUTES does have a service name --> Resource ignored and exports to service with function name
OTEL_SERVICE_NAME set --> exports to service of that awesome name

No sure if it's my browser problem,  when I open the link, I got into the right service, but can't see the trace (Welcome to Observability by SolarWinds lands on my page)

No sure if it's my browser problem, when I open the link, I got into the right service, but can't see the trace (Welcome to Observability by SolarWinds lands on my page)

Weird! I just checked and you are part of that Org on NA-02 data centre. So yeah possibly browser problem. Maybe clearing cookies/cache will help but also log you out of things 🙃


Support for JanusGraph 0.2.0-SNAPSHOT

Resolves #160 #226

@sjudeng tests passed here as well. And, I was able to remove all test code. I'll push a release and merge as soon as 0.2.0 is published.

0.2.0 is being released as we speak. removing snapshot qualifier.

how's the update looking?  I'm excited to pull forward and pickup the @dsl annotation additions (along with other tinkerpop updates)


Fixed wasUpdated

Simple fix in case of such code :
final int update = storIOSQLite
	.internal()
	.update(new UpdateQuery.Builder()
	.table(TABLE)
	.build(), cv);
return PutResult.newUpdateResult(update, TABLE);

since update() returns an int it's better to check > 0 on library side than client's

Nice fix :+1:
Thank you very much!

Hm, changes looks good to me, but what if we want to represent result of update and number of rows updated == 0?
Also, we should cover this with tests!

I re-thinked this and I'd agree, that result of Put Operation should be Update (with number of rows updated >= 1) or Insert, so the only thing left — tests, I'll submit PR with them soon.

I think I have better idea, let's throw Exception from newUpdateResult if number of rows updated <1

I think it's putresolver's problem or maybe we should use single-common static creator for insert and update. Otherwise it's not obvious why update result with 0 updated rows is invalid.

Update result with 0 updated rows is invalid in terms of Put Operation, because if you've updated 0 rows -> please, make insert, m?

What if user'll deside to make custom put resolver with checking if rows was really updated. He will query target rows from db, then if their alredy exist he'll check for equals. So it'll be useful for him to have putResult with 0 rows.

I want to say that imho it is not quite right to prohibit result with 0 relying on knowledge that encapsulated in another class.

Hm, not sure I understood your case:

What if user'll deside to make custom put resolver with checking if rows was really updated. He will query target rows from db, then if their alredy exist he'll check for equals. So it'll be useful for him to have putResult with 0 rows.

This is valid point:

I want to say that imho it is not quite right to prohibit result with 0 relying on knowledge that encapsulated in another class.

But I strongly dislike that now we can not understand what is the result of Put Operation, previously you can easily check it was insert or update:
putResult.wasInserted() // true if row was inserted
putResult.wasUpdated() // true if one or more rows were updated
Now to handle case where 0 rows were updated we have to check that wasInserted() == false && wasUpdated() == false && numberOfRowsUpdated == 0.


After updating to flutter 3.10 there is something wrong with keyboard recognition in flutter.

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
make a simple project
1- try to make a bottom sheet  with property of goes up with presence of keyboard
2- make a form screen the while you are on top most filed try to scroll without dismissing keyboard
Expected results
before flutter 3.10
https://github.com/flutter/flutter/assets/84278736/6cf62f05-f799-458b-9bf9-d235eac19dc1
Actual results
after updating to flutter 3.10
https://github.com/flutter/flutter/assets/84278736/4ba57c9c-95a6-46f7-88c7-1eb7b810b770
Code sample
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.0, on macOS 13.2.1 22D68 darwin-arm64, locale
    en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.78.1)
[✓] Connected device (3 available)
[✓] Network resources

• No issues found!

Same Problem

@bazl-E It seems you're hitting a similar issue at https://github.com/flutter/flutter/issues/126653. You can try adding padding as sample code at https://github.com/flutter/flutter/issues/126653#issuecomment-1545636696.
If it doesn't work, it could be caused by 3rd package or implementation code. So Please provide a completed and minimal reproducible code sample that doesn’t include 3rd party plugins or complex production code so that we may verify this. Thanks!

@bazl-E ,I found the solution to it, its cause is using the flutter_screenutils package, setting useInheritedMediaQuery: true in ScreenUtilInit() will solve it.
`import 'package:flutter/material.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart';
void main() { runApp(const MyApp()); }
class MyApp extends StatelessWidget { const MyApp({super.key});
// This widget is the root of your application. @OverRide Widget build(BuildContext context) { return ScreenUtilInit( // Add this line to solve useInheritedMediaQuery: true, builder: (context, child) => MaterialApp( debugShowCheckedModeBanner: false, theme: ThemeData( colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple), useMaterial3: true, ), home: const LoginPage(), ), ); } }`

@SudipZluck Thank you this one fixed my issue 😍😍


Support for pins.onPulsed events

Requires https://github.com/Microsoft/pxt/pull/4259

Can we somehow combine all the pin events?

rise
fall
pulse high
pulse low

ha! Yes will do.

@mmoskal


Replace transmute() for float casts with to_bits()?

There's a few places where transmute() is used to turn a float into its bit representation.  Rust 1.20 provides f32::to_bits() to do the same job, and it appears to be available in #[no_std].  Is there any particular reason not to use it over transmute(), since that would remove the only unsafe uses from this library?

I was precisely about to post an issue because I could not find to_bits and needed it to convert a code from f64 to be generic over Float.

This is about internally using f32/f64::to_bits() instead of transmute. Adding Float::to_bits() is a different question, complicated by the fact that the output needs an associated type. Please do file a separate issue if you want this -- I'd probably make it a new trait.

We stopped using transmute for this in #240, commit fd601a8d4de1ab4e11c65929c679ae0c14fc7099.


Let schedule keys expire 20 seconds after their timestamp.

Let schedule keys expire 20 seconds after their timestamp so we don't pollute redis.

Codecov Report

Merging #3 (6920d0d) into main (cfe2517) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main       #3      +/-   ##
==========================================
+ Coverage   95.91%   95.94%   +0.02%
==========================================
  Files           4        4
  Lines         147      148       +1
==========================================
+ Hits          141      142       +1
  Misses          6        6

Impacted Files
Coverage Δ

celery_heimdall/task.py
94.39% <100.00%> (+0.05%)
:arrow_up:

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


sync to live

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/windows-iotcore-docs, working directory: W:\syx5-s, target branch: live, target branch commit: 5c077848e348184a12301437df4290a63e0f6510, source branch: master, source branch commit: .

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.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/develop-your-app/IoTCoreDefaultApp.md
:white_check_mark:Succeeded

windows-iotcore/develop-your-app/OnScreenKeyboard.md
:white_check_mark:Succeeded

windows-iotcore/develop-your-app/OnScreenKeyboardLayouts.md
:white_check_mark:Succeeded

windows-iotcore/secure-your-device/UnifiedWriteFilter.md
:white_check_mark:Succeeded

windows-iotcore/tutorials/quickstarter/DeviceSetup.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.


OS Breakdown Widget Duplicate Entries

MunkiReport version <IP_ADDRESS>0
Host OS: Mac OS X Yosemite 10.10.2
It seems that I'm having an issue with the OS breakdown widget.
There are two graphs for the same 10.9.5 OS version:

Also, it seems that when I click on the 10.10.2 OS version button, it takes me to an empty view:

This is happening with 10.10.1 and 10.10.2 as well for me:

On Mar 15, 2015, at 12:07 AM, Vincent W<EMAIL_ADDRESS>wrote:
MunkiReport version <IP_ADDRESS>0
Host OS: Mac OS X Yosemite 10.10.2
It seems that I'm having an issue with the OS breakdown widget.
There are two graphs for the same 10.9.5 OS version:
https://cloud.githubusercontent.com/assets/6693452/6654634/733d09ec-ca9e-11e4-8a53-2849ac347f10.png
Also, it seems that when I click on the 10.10.2 OS version button, it takes me to an empty view:
https://cloud.githubusercontent.com/assets/6693452/6654637/aa0e0a02-ca9e-11e4-8aab-dc0785d725da.png
—
Reply to this email directly or view it on GitHub https://github.com/munkireport/munkireport-php/issues/214.

Could you post the outcome of
https://your_munkireport_server/optional_path/index.php?/module/machine/os

I have the following:
[{"label":"10.10.1","data":[[4,0]]},{"label":"10.10.2","data":[[4,1]]},{"label":"10.6.8","data":[[2,2]]},{"label":"10.7.5","data":[[1,3]]},{"label":"10.9.4","data":[[1,4]]},{"label":"10.9.5","data":[[41,5]]},{"label":100905,"data":[[4,6]]},{"label":101000,"data":[[1,7]]},{"label":101001,"data":[[2,8]]},{"label":101002,"data":[[33,9]]},{"label":101003,"data":[[2,10]]}]

On Mar 16, 2015, at 10:56 AM, Arjen van Bochoven<EMAIL_ADDRESS>wrote:
Could you post the outcome of
https://your_munkireport_server/optional_path/index.php?/module/machine/os
—
Reply to this email directly or view it on GitHub https://github.com/munkireport/munkireport-php/issues/214#issuecomment-81714998.

I have the following:
[{"label":100608,"data":[[2,0]]},{"label":100705,"data":[[1,1]]},{"label":100805,"data":[[8,2]]},{"label":100902,"data":[[2,3]]},{"label":100903,"data":[[1,4]]},{"label":100904,"data":[[2,5]]},{"label":100905,"data":[[72,6]]},{"label":101000,"data":[[6,7]]},{"label":101001,"data":[[6,8]]},{"label":101002,"data":[[74,9]]}]
On a side note, since my setup was a test instance, I removed all entries in the database and let them re-create themselves and everything looks happy now.

It looks like you did not migrate the db.
-Arjen

On 16 Mar 2015, at 20:52, Rick Heil<EMAIL_ADDRESS>wrote:
I have the following:
[{"label":"10.10.1","data":[[4,0]]},{"label":"10.10.2","data":[[4,1]]},{"label":"10.6.8","data":[[2,2]]},{"label":"10.7.5","data":[[1,3]]},{"label":"10.9.4","data":[[1,4]]},{"label":"10.9.5","data":[[41,5]]},{"label":100905,"data":[[4,6]]},{"label":101000,"data":[[1,7]]},{"label":101001,"data":[[2,8]]},{"label":101002,"data":[[33,9]]},{"label":101003,"data":[[2,10]]}]

On Mar 16, 2015, at 10:56 AM, Arjen van Bochoven<EMAIL_ADDRESS>wrote:
Could you post the outcome of
https://your_munkireport_server/optional_path/index.php?/module/machine/os
—
Reply to this email directly or view it on GitHub https://github.com/munkireport/munkireport-php/issues/214#issuecomment-81714998.

—
Reply to this email directly or view it on GitHub https://github.com/munkireport/munkireport-php/issues/214#issuecomment-81901557.

Hmm, I thought I had left migrate as true. I'll look into it tomorrow and manually correct the bad ones if that's the case.
Sent from my iPhone

On Mar 16, 2015, at 19:11, Arjen van Bochoven<EMAIL_ADDRESS>wrote:
It looks like you did not migrate the db.
-Arjen

On 16 Mar 2015, at 20:52, Rick Heil<EMAIL_ADDRESS>wrote:
I have the following:
[{"label":"10.10.1","data":[[4,0]]},{"label":"10.10.2","data":[[4,1]]},{"label":"10.6.8","data":[[2,2]]},{"label":"10.7.5","data":[[1,3]]},{"label":"10.9.4","data":[[1,4]]},{"label":"10.9.5","data":[[41,5]]},{"label":100905,"data":[[4,6]]},{"label":101000,"data":[[1,7]]},{"label":101001,"data":[[2,8]]},{"label":101002,"data":[[33,9]]},{"label":101003,"data":[[2,10]]}]

On Mar 16, 2015, at 10:56 AM, Arjen van Bochoven<EMAIL_ADDRESS>wrote:
Could you post the outcome of
https://your_munkireport_server/optional_path/index.php?/module/machine/os
—
Reply to this email directly or view it on GitHub https://github.com/munkireport/munkireport-php/issues/214#issuecomment-81714998.

—
Reply to this email directly or view it on GitHub https://github.com/munkireport/munkireport-php/issues/214#issuecomment-81901557.

—
Reply to this email directly or view it on GitHub.

Yep, looks like that part of the migrate either didn’t run or didn’t finish. Thanks for the pointer.

On Mar 16, 2015, at 7:40 PM, Rick Heil<EMAIL_ADDRESS>wrote:
Hmm, I thought I had left migrate as true. I'll look into it tomorrow and manually correct the bad ones if that's the case.
Sent from my iPhone
On Mar 16, 2015, at 19:11, Arjen van Bochoven<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:

It looks like you did not migrate the db.
-Arjen

On 16 Mar 2015, at 20:52, Rick Heil<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
I have the following:
[{"label":"10.10.1","data":[[4,0]]},{"label":"10.10.2","data":[[4,1]]},{"label":"10.6.8","data":[[2,2]]},{"label":"10.7.5","data":[[1,3]]},{"label":"10.9.4","data":[[1,4]]},{"label":"10.9.5","data":[[41,5]]},{"label":100905,"data":[[4,6]]},{"label":101000,"data":[[1,7]]},{"label":101001,"data":[[2,8]]},{"label":101002,"data":[[33,9]]},{"label":101003,"data":[[2,10]]}]

On Mar 16, 2015, at 10:56 AM, Arjen van Bochoven<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
Could you post the outcome of
https://your_munkireport_server/optional_path/index.php?/module/machine/os https://your_munkireport_server/optional_path/index.php?/module/machine/os
—
Reply to this email directly or view it on GitHub <https://github.com/munkireport/munkireport-php/issues/214#issuecomment-81714998 https://github.com/munkireport/munkireport-php/issues/214#issuecomment-81714998>.

—
Reply to this email directly or view it on GitHub <https://github.com/munkireport/munkireport-php/issues/214#issuecomment-81901557 https://github.com/munkireport/munkireport-php/issues/214#issuecomment-81901557>.

—
Reply to this email directly or view it on GitHub https://github.com/munkireport/munkireport-php/issues/214#issuecomment-81982715.


Timing issue looking up provisioned subnets

Error: No subnet found with name (ts-mgmt-vpc-subnet-workload02)
 on .terraform/modules/workload-subnets/main.tf line 66, in data “ibm_is_subnet” “vpc_subnet”:
 66: data ibm_is_subnet vpc_subnet {

Fixed in cloud-native-toolkit/terraform-ibm-vpc-subnets#v1.2.2


[Contract Interaction] UI Glitch

this can be tackled the same way as in https://github.com/gnosis/safe-react/pull/974/commits/1442f33d5a9106abbf096f04bae1f498853123df#diff-a2caef743c7116c02eb0095b84a590b8R20
A most elegant solution would be great


Group Action checks by job name

Would be great to have a way to group checks that are part of one job
Example of how it is now:

What it could look like:

We'll have to pass on this feature.
If the tests are completed and pass, GitHub already collapses the whole list.
If the tests are in progress or failed, they must be shown to the user as-is.

@EvanPurkhiser how about just sorting #3136

Yeah that looks great @fregante


Sample code incorrect

$hubPeerings = Get-AzVirtualNetworkPeering -ResourceGroupName $HubVNetRGName -VirtualNetworkName $HubVNetName
Generates an array but the following cmdlet requires a single input for -name parameter
Remove-AzVirtualNetworkPeering -VirtualNetworkName $HubVNetName -ResourceGroupName $HubVNetRGName -name $hubPeerings.Name -Force
[Enter feedback here]

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

ID: 636aa53e-3ca0-7a30-fe16-7219f3e8d1a9
Version Independent ID: c503b39a-cd8a-669a-0882-27d8c13d3570
Content: Add IP address spaces to peered virtual networks - Azure Architecture Center
Content Source: docs/networking/prefixes/add-ip-space-peered-vnet.md
Service: architecture-center
Sub-service: reference-architecture
GitHub Login: @randycampbell
Microsoft Alias: pnp

Thanks for reporting - this issue is under review.  This is a Microsoft Internal DevOps Bug ID AB#336181

A previous version of this article was using the array as opposed to an instance of a peering. It has since been corrected.
#please-close


settings.py issue - Data Source Setting with Search - Azure OpenAI grounding Issue

looks like some env variables required like Data Source type, the new code is failing saying the data source is not set and Az open ai cannot be grounded. Specifically if we are using AI search. This problem surfaced after the latest checkout and settings,py file . Can someone pls look into this issue

perhaps it's the same issue. I'm not able to start backend on the local machine after running start.sh starting with this commit https://github.com/microsoft/sample-app-aoai-chatGPT/commit/57aa0351fb390a3c36a51120487e13aaa553e168
sample-app-aoai-chatgpt/.venv/lib/python3.12/site-packages/pydantic_settings/main.py", line 84, in __init__
    super().__init__(
  File "/Users/Mverkhov/work/git-bitbucket/sample-app-aoai-chatgpt/.venv/lib/python3.12/site-packages/pydantic/main.py", line 176, in __init__
    self.__pydantic_validator__.validate_python(data, self_instance=self)
pydantic_core._pydantic_core.ValidationError: 2 validation errors for _AzureOpenAISettings
model
  Field required [type=missing, input_value={}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.7/v/missing
key
  Field required [type=missing, input_value={}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.7/v/missing
Failed to start backend

Also encountered the same issue. If you use Azure AI Search, creating an environment variable DATASOURCE_TYPE = "AzureCognitiveSearch" (in your .env file or App Service environment settings) solves the problem.

Hi @apvarana / @warmdev, thanks for bringing this to our attention.  The variable DATASOURCE_TYPE is now required.  I will update the docs accordingly in the README, which is something I missed in the recent settings refactoring PR.

#881 Docs update is in this PR.

Hi Thanks for the above one.
There is one more error that I got
Error code: 400 - {'error': {'requestid': 'xxxxxx', 'code': 400, 'message': 'An error occurred when calling Azure Cognitive Search: Azure Search Error: 400, message='Server responded with status 400. Error message: {"error":{"code":"","message":"Invalid expression: Could not find a property named \'True\' on type \'search.document\'.\\r\\nParameter name: $filter"}}', url=URL('https://xxxxxxxx.windows.net/indexes/xxxxxxxx/docs/search?api-version=2024-03-01-preview\')\nPotential issue with Azure search filter. Please ensure all field names in the filter are correct and syntax is correct for filter.'}}
Potential Fix
In settings.py , I changed the filters line to
filter: Optional[str] = Field(default=None, exclude=True)
in  _AzureSearchSettings Class

Hi @apvarana , thanks for sharing the details of the issue with the filter.  I have changed the line to what you have recommended above for the time being, but actually I'm not sure if exclude=True is what we want, since it will prevent the value from being available in the dumped model output.
Did you have the AZURE_SEARCH_PERMITTED_GROUPS_COLUMN variable set in your environment at the time you got the error message above?

I do not have AZURE_SEARCH_PERMITTED_GROUPS_COLUMN variable set


Wrong background color in dark theme modal live demo

Package
carbon-components-react
Browser
Chrome
Package version
v11
React version
No response
Description
The background color for the dark theme modal is incorrect in live demo.
Reproduction/example
n/a
Steps to reproduce
In Carbon site > Modal > Live demo, switch to g90 ro g100 then click to launch the modal, the background color is still showing white, not dark. The text inside the modal is not readable.

Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems

This has been fixed. The live demo for Modal has been updated https://carbondesignsystem.com/components/modal/usage/#live-demo


Add css tab to example loader

Summary
Replaced the toggle background tab with a CSS tab that displays any css files imported by the example.
Closes #247
Deployment Link

https://terra-dev-si-add-css-ta-f2ejya.herokuapp.com/
Testing
There have been added WDIO tests to cover the same functionality as the existing <code> tab tests.
Additional Details
In the case that the example doesn't import a css file is the tab isn't displayed. The <code> and css tabs have both also been themed, the colors were based on the button-group selected and highlight colors.
Thank you for contributing to Terra.
@cerner/terra

Does this handle themed examples that import themed files? Here's a link of an issue of missing vars: https://github.com/cerner/terra-core/issues/3046
The changes to fix this issue would be very similar to how our components import and do theming. This would be nice to be 'face-up' if we can.

@emilyrohrbough I'm not sure how deep we should go with the css imports. I'm inclined to say we only go one level deep similar to how deep we go with our js examples. We wouldn't really be able to differentiate between our theme css imports and the any other css import.

I removed the jest tests for devSiteExample due to an issue with the this.resolve() function being undefined during testing, @emilyrohrbough logged a ticket for the issue here: https://github.com/webpack/loader-runner/issues/42.


Updated README.md

Added codecov and product name to README.

Codecov Report

Merging #275 (832de6b) into master (c589bf7) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #275   +/-   ##
=========================================
  Coverage     72.11%   72.11%
  Complexity      795      795
=========================================
  Files           120      120
  Lines          2489     2489
  Branches        303      303
=========================================
  Hits           1795     1795
  Misses          591      591
  Partials        103      103

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 c589bf7...832de6b. Read the comment docs.


Errors Encountered During OData Consumption

Hi ,
I'm encountering an issue with consuming an OData Service using React and Express Js. I'm utilizing the approach of generating an OData client for JavaScript, as outlined in the documentation. Specifically, I used the following command with one of the internal metadata files located at cloud-sdk/docs/js/features/odata/generate-client:
npx generate-odata-client --input resources/service-specs --outputDir odata-client -t

While the OData clients are successfully generated, I've observed errors in the terminal output. I've attached the errors for reference, can i ignore such errors
i have implemented consumption as below
`const express = require('express');
const app = express();
const pricelistService = require('./odata-client/ZPRICELIST_SERV0001/index.js');
const port = process.env.PORT || 5000;

app.use(express.static(path.join(__dirname, 'client/build')));
app.get('/api/backendproducts', (req, res) => {
const { pricelistServiceApi } = pricelistService();
const resultPromise = pricelistServiceApi.requestBuilder().getAll();
// Handle the resultPromise appropriately
});`
when i access http://localhost:5000/api/backendproducts
I got below error "TypeError: pricelistService is not a function"
It seems like i am  encountering an error because the pricelistService is not being imported or initialized properly
Is there any different way to call or configuration errors ?
Thanks,
Errors.txt

The errors from your log seem to be unrelated to the SDK and rather caused by your directory structure, you can try to move the client generation into its own repository to verify that it's not the current errors which are causing issues executing the function.
Additionally, I am not aware of your specific service, therefore I can't tell what functions you can or can't execute, your IDE should be able to tell you though, alternatively, you can check the type. This is how we do it in our docs.

Hey @Showkath, were you able to verify @tomfrenken suggestions?

I'll close this ticket, as there were no updates.
Please feel free to reopen.


Go Live [Oct 07]

Push to live

Docs Build status updates of commit 52b753a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/apps-in-teams-meetings/API-references.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/authentication/authentication.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Can't open any pages (tag 3.10.0 and 3.11.0)

Describe the bug
Can't open flow pages after deployed flow front end app with tag 3.10.0 and 3.11.0.
To Reproduce
Deploy flow front end app with tag 3.10.0 and 3.11.0.

Commands to run
Interactions to cause issue to happen

Expected behavior
Pages should be opened.
Screenshots

Environment (please complete the following information):

OS: [e.g. MacOS]
Browser [chrome]
Version [3.10.0 and 3.11.0 have problems, 3.9.12 works fine]

Additional context
Add any other context about the problem here.

From the server logs, there is no build/index.html.  I have no access to the CICD pipeline and can't check the build logs to see if there is a step of npm build like "pnpm run build" or "npm run build". So open a defect for it.
@gchickma @timrbula

Hi @Amy0511 can I confirm that you are using the right tag.
The release is 3.11.0 but the web client tag is 3.9.12

Or are you using the latest tags that haven't been a part of a published release?
If so, can you see the GitHub Actions for the CICD logs? https://github.com/boomerang-io/flow.client.web/actions

@tlawrie I am not sure what release I used. I just know I use the image with tag 3.11.0 boomerangio/flow-client-web:3.11.0. I just delivered a fix for the issue "can't open task yaml after created a task by importing yaml" and the fix is in 3.11.0

Ok. That will have to be a @timrbula or @BenjaminRuby question

From the package.json Line10, there is a script  "postbuild": "ncp build server/build" to copy the build folder to server. But didn't find the script run in the CICD logs. https://github.com/boomerang-io/flow.client.web/actions

@Amy0511 thanks for finding this. Looks like it came from the migration to pnpm which doesn't run the pre and post scripts by convention. In this case, it was not running the postbuild step to move the build assets over to the server directory.
I've pushed up the changes

I've fixed the version for the 3.11 release (tag 3.10.1 now) and the current release 3.12 on main (tag 3.11.1).


Unit tests workflow should be fast when invoked locally

Developers need rapid feedback to safely and easily make incremental code changes. Disable (by default) coverage and Valgrind when invoked locally via ACT, to speed up the development of tests/ TDD. When invoked on GitHub, both should remain enabled.

https://github.com/rdkcentral/rdkservices/pull/3629

https://github.com/rdkcentral/rdkservices/pull/3670


conv2d_transpose produce different results on GPU

System information
== cat /etc/issue ===============================================
Linux ST 4.2.0-42-generic #49~14.04.1-Ubuntu SMP Wed Jun 29 20:22:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
VERSION="14.04.4 LTS, Trusty Tahr"
VERSION_ID="14.04"
== are we in docker =============================================
No
== compiler =====================================================
c++ (Ubuntu 4.9.4-2ubuntu1~14.04.1) 4.9.4
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
== uname -a =====================================================
Linux ST 4.2.0-42-generic #49~14.04.1-Ubuntu SMP Wed Jun 29 20:22:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
== check pips ===================================================
msgpack-numpy (0.4.1)
numpy (1.13.1)
protobuf (3.2.0)
tensorflow (0.10.0)
tensorflow-gpu (1.0.0)
== check for virtualenv =========================================
False
== tensorflow import ============================================
tf.VERSION = 1.0.0
tf.GIT_VERSION = v1.0.0-rc2-15-g47bba63-dirty
tf.COMPILER_VERSION = v1.0.0-rc2-15-g47bba63-dirty
Sanity check: array([1], dtype=int32)
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcublas.so.8.0 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcudnn.so.5 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcufft.so.8.0 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcurand.so.8.0 locally
== env ==========================================================
LD_LIBRARY_PATH /home/abc/torch/install/lib:/usr/lib/x86_64-linux-gnu:/home/abc/torch/install/lib:/usr/local/cuda/lib64:/usr/local/cuda/lib64:/home/abc/torch/install/lib:/home/abc/code/torch/torch/install/lib:/usr/local/cuda/lib64::/usr/local/computecpp/lib:/data/software/gurobi652/linux64/lib
DYLD_LIBRARY_PATH /home/abc/torch/install/lib:/home/abc/torch/install/lib:/home/abc/code/torch/torch/install/lib:
== nvidia-smi ===================================================
Sun Jul 30 17:45:45 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 367.48                 Driver Version: 367.48                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 1080    Off  | 0000:01:00.0      On |                  N/A |
|  0%   53C    P2    47W / 260W |   7909MiB /  8112MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|    0      1308    G   /usr/bin/X                                     357MiB |
|    0      2590    G   compiz                                         229MiB |
|    0      3254    G   ...el-token=CBAE43C38254E155E78826C3F38F0092    99MiB |
|    0      9480    C   python                                        1039MiB |
|    0     10432    C   /usr/bin/python                               5895MiB |
|    0     20408    C   /usr/bin/python                                283MiB |
|    0     28024    G   /usr/local/MATLAB/R2015a/bin/glnxa64/MATLAB      2MiB |
+-----------------------------------------------------------------------------+
== cuda libs  ===================================================
/usr/local/lib/python2.7/dist-packages/torch/lib/libcudart.so.8.0
/usr/local/lib/python2.7/dist-packages/torch/lib/libcudart.so
/usr/local/cuda-8.0/lib64/libcudart.so.8.0.44
/usr/local/cuda-8.0/lib64/libcudart_static.a
/usr/local/cuda-8.0/doc/man/man7/libcudart.7
/usr/local/cuda-8.0/doc/man/man7/libcudart.so.7
/usr/local/MATLAB/R2017a/bin/glnxa64/libcudart.so.8.0.44
/usr/local/MATLAB/R2015a/bin/glnxa64/libcudart.so.6.5.14
Describe the problem
I am trying to use tf.nn.conv2d_transpose but it produces different results every time on GPU. However, the result would be the same when switching the device to CPU. It seems like a bug. Please check the toy model below for more details.
Source code / logs
import tensorflow as tf
import numpy as np

np.random.seed(1234)
conv_ = np.random.randn(10, 7, 7, 56)

with tf.device('/gpu:0'):
    bottom = tf.constant(conv_, dtype=tf.float32)
    weight = tf.get_variable("weight", [9, 9, 1, 56], initializer=tf.random_normal_initializer(0, 0.001))
    bias = tf.get_variable("bias", initializer=np.zeros(1, dtype=np.float32))

    conv = tf.nn.conv2d_transpose(bottom, weight, [10, 19, 19, 1], [1, 3, 3, 1], padding='SAME')
    conv = tf.nn.bias_add(conv, bias)

sess = tf.Session()
sess.run(tf.global_variables_initializer())
np.array_equal(sess.run(conv), sess.run(conv))

Out[2]: False

@zheng-xq, Do you have any thoughts on this. I made a slightly more elaborate test case that computes relative error between the gpu and cpu version and two runs of the cpu version. @jnjaby's fear that gpu is not deterministic seems due to non-determinism in reduction (probably), because I only see 1e-5 error between two runs on the gpu. But I see a ~5770. relative  error between the gpu vs cpu. Could you please take a look:
import tensorflow as tf
import numpy as np

np.random.seed(1234)
conv_ = np.random.randn(10, 7, 7, 56)

with tf.device("/cpu:0"):
    bottom = tf.constant(conv_, dtype=tf.float32)
    weight = tf.get_variable("weight_cpu", [9, 9, 1, 56], initializer=tf.random_normal_initializer(0, 0.001))
    bias = tf.get_variable("bias_cpu", initializer=np.zeros(1, dtype=np.float32))

    conv = tf.nn.conv2d_transpose(bottom, weight, [10, 19, 19, 1], [1, 3, 3, 1], padding='SAME')
    conv_cpu = tf.nn.bias_add(conv, bias)

with tf.device('/gpu:0'):
    bottom = tf.constant(conv_, dtype=tf.float32)
    weight = tf.get_variable("weight_gpu", [9, 9, 1, 56], initializer=tf.random_normal_initializer(0, 0.001))
    bias = tf.get_variable("bias_gpu", initializer=np.zeros(1, dtype=np.float32))

    conv = tf.nn.conv2d_transpose(bottom, weight, [10, 19, 19, 1], [1, 3, 3, 1], padding='SAME')
    conv_gpu = tf.nn.bias_add(conv, bias)

sess = tf.Session()
sess.run(tf.global_variables_initializer())
cpu_a=sess.run(conv_cpu)
gpu_a=sess.run(conv_gpu)
gpu_b=sess.run(conv_gpu)

def rel_error(a,ref):
  return np.max(np.abs((ref-a)/ref))
print ('relerror gpu_a vs cpu %f relerror gpu_b vs cpu 2 %f'%(rel_error(gpu_a, cpu_a), rel_error(gpu_b, cpu_a)))
print ('relerror gpu_a vs. gpu_b %f '%(rel_error(gpu_a, gpu_b)))

@aselle because the weight initialized by CPU and GPU are different. I try to initialize weights with another tf.constant. However, this time GPU is deterministic while CPU is not. That really confuses.
import tensorflow as tf
import numpy as np

np.random.seed(1234)
conv_ = np.random.randn(10, 7, 7, 56)
weight_ = np.random.randn(9, 9, 1, 56)

with tf.device("/cpu:0"):
    bottom = tf.constant(conv_, dtype=tf.float32)
    weight = tf.constant(weight_, dtype=tf.float32, name="weight_cpu")
    bias = tf.get_variable("bias_cpu", initializer=np.zeros(1, dtype=np.float32))

    conv = tf.nn.conv2d_transpose(bottom, weight, [10, 19, 19, 1], [1, 3, 3, 1], padding='SAME')
    conv_cpu = tf.nn.bias_add(conv, bias)

with tf.device('/gpu:0'):
    bottom = tf.constant(conv_, dtype=tf.float32)
    weight = tf.constant(weight_, dtype=tf.float32, name="weight_gpu")
    bias = tf.get_variable("bias_gpu", initializer=np.zeros(1, dtype=np.float32))

    conv = tf.nn.conv2d_transpose(bottom, weight, [10, 19, 19, 1], [1, 3, 3, 1], padding='SAME')
    conv_gpu = tf.nn.bias_add(conv, bias)

sess = tf.Session()
sess.run(tf.global_variables_initializer())
cpu_a=sess.run(conv_cpu)
gpu_a=sess.run(conv_gpu)
gpu_b=sess.run(conv_gpu)

def rel_error(a,ref):
  return np.max(np.abs((ref-a)/ref))

print ('relerror gpu_a vs cpu %f \nrelerror gpu_b vs cpu  %f'%(rel_error(gpu_a, cpu_a), rel_error(gpu_b, cpu_a)))
print ('relerror gpu_a vs. gpu_b %f '%(rel_error(gpu_a, gpu_b)))

print (np.array_equal(sess.run(conv_cpu), sess.run(conv_cpu)))
print (np.array_equal(sess.run(conv_gpu), sess.run(conv_gpu)))

I would agree with first making the initialization the same. One common way is to random initialize the weights in numpy, and use that in both paths.

This version shows no relative error between any of the implementations, so I am thinking there is no bug
import tensorflow as tf
import numpy as np

np.random.seed(1234)
conv_ = np.random.randn(10, 7, 7, 56)

weight = np.random.uniform(-1.,1., (9,9,1,56)).astype(np.float32)
bias = np.random.uniform(-.1,.1, (1)).astype(np.float32)

with tf.device("/cpu:0"):
    bottom = tf.constant(conv_, dtype=tf.float32)
    #weight = tf.get_variable("weight_cpu", [9, 9, 1, 56], initializer=tf.random_normal_initializer(0, 0.001))
    #bias = tf.get_variable("bias_cpu", initializer=np.zeros(1, dtype=np.float32))

    conv = tf.nn.conv2d_transpose(bottom, weight, [10, 19, 19, 1], [1, 3, 3, 1], padding='SAME')
    conv_cpu = tf.nn.bias_add(conv, bias)

with tf.device('/gpu:0'):
    bottom = tf.constant(conv_, dtype=tf.float32)
    #weight = tf.get_variable("weight_gpu", [9, 9, 1, 56], initializer=tf.random_normal_initializer(0, 0.001))
    #bias = tf.get_variable("bias_gpu", initializer=np.zeros(1, dtype=np.float32))

    conv = tf.nn.conv2d_transpose(bottom, weight, [10, 19, 19, 1], [1, 3, 3, 1], padding='SAME')
    conv_gpu = tf.nn.bias_add(conv, bias)

sess = tf.Session()
sess.run(tf.global_variables_initializer())
cpu_a=sess.run(conv_cpu)
gpu_a=sess.run(conv_gpu)
gpu_b=sess.run(conv_gpu)

@aselle The last case is consistent. I make another test case output True and False respectively, showing different result between tf.constant and tf.Variables. Commonly, however, the weights should remain the same after initialized. So let's clarify my questions:

Where is the non-determinism produced, Tensorflow or other libraries of GPU?
What is the difference between constant Tensor and variable Tensor?

import tensorflow as tf
import numpy as np

np.random.seed(1234)
conv_ = np.random.randn(10, 7, 7, 56)
weight = np.random.uniform(-1.,1., (9,9,1,56)).astype(np.float32)

with tf.device('/gpu:0'):
    bottom = tf.constant(conv_, dtype=tf.float32)
    biases = tf.get_variable("bias_gpu", initializer=np.zeros(1, dtype=np.float32))

    weight_con = tf.constant(weight, dtype=tf.float32)
    weight_var = tf.get_variable("weight_gpu", [9, 9, 1, 56], initializer=tf.random_normal_initializer(0, 0.001))

    conv_con = tf.nn.conv2d_transpose(bottom, weight_con, [10, 19, 19, 1],[1, 3, 3, 1],padding='SAME')
    conv_var = tf.nn.conv2d_transpose(bottom, weight_var, [10, 19, 19, 1],[1, 3, 3, 1],padding='SAME')

    conv_con = tf.nn.bias_add(conv_con, biases)
    conv_var = tf.nn.bias_add(conv_var, biases)

sess = tf.Session()
sess.run(tf.global_variables_initializer())

print (np.array_equal(sess.run(conv_con), sess.run(conv_con)))
print (np.array_equal(sess.run(conv_var), sess.run(conv_var)))

@zheng-xq, are you able to answer @jnjaby's questions above? Thanks!

There are some known differences between CPU and GPU convolutions. Yang is working with Benoit to resolve them.

It has been 14 days with no activity and this issue has an assignee.Please update the label and/or status accordingly.

Nagging Assignee: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

I could be wrong, but I as of today, I don't think this issue has been addressed in the nightly wheel available over here: http://ci.tensorflow.org/view/tf-nightly/job/tf-nightly-mac/TF_BUILD_IS_OPT=OPT,TF_BUILD_IS_PIP=PIP,TF_BUILD_PYTHON_VERSION=PYTHON3,label=mac-slave/lastSuccessfulBuild/artifact/pip_test/whl/tf_nightly-1.head-py3-none-any.whl

Nagging Assignees @yzhwang, @benoitsteiner: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignees @yzhwang, @benoitsteiner: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Sorry for bothering you, but are there any updates now? Thanks very much! @yzhwang  @benoitsteiner

Nagging Assignees @yzhwang, @benoitsteiner: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignees @yzhwang, @benoitsteiner: It has been 62 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @benoitsteiner: It has been 77 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @benoitsteiner: It has been 92 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @benoitsteiner: It has been 107 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @benoitsteiner: It has been 122 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @benoitsteiner: It has been 137 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @zheng-xq: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @robieta: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @robieta: It has been 44 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @robieta: It has been 59 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @robieta: It has been 74 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @robieta: It has been 89 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Please check with the latest version of TensorFlow. Feel free to reopen if the issues still persists.


Release Action failing

This maybe a known issue, but I noticed that the release action has failed for the last few weeks - https://github.com/laserdisc-io/fs2-aws/actions/workflows/release.yml

i think it is related to this issue that has been resolved with some snapshot versions of the ci-release and sonotype sbt plugins
I will try to follow the steps and fix it

ok, generating access token and updating secrets in GH was enough. release action is green now


Cancel BackgroundUpload()

Plz how to cancel the backgroundUpload()
are you planing to add it, or do you have an idea how we can manage to make it happen?

@hamdij0maa currently we dont support cancel the backgroupUpload, i will add support for it

that will be great 🚀

Hey @numandev1 any idea on when we can expect the first draft of this feature?
My Kotlin/Swift skills are not quite there yet, and I'm trying to get the project to run, but I'm giving it a shot. Will post my work later here.

@GunnarAK I am going to work on it, thanks for you work ❤

released in 1.8.18


add command to start local wheel server

Fixes #125

@fabiendupont you may be interested in this one

I've rebased


Causes issues while handling touch events on an element which has SwiftClick tracked children.

touchEndHandler of SwiftClick is stopping propagation of the event. So, if we are handling touch events on a parent and a SwiftClick handled element is the event target, the touch event will never reach the parent.
https://github.com/munkychop/swiftclick/blob/master/js/libs/swiftclick.js#L117
Example scenario:
We have a drawer element which can be swiped in and out of the viewport. Drawer has links inside which are SwiftClick managed. When we drag the drawer by placing the finger over a link and let the finger go, SwiftClick's touchEndHandler kicks in, stops the propagation and the drawer's touch end handler never gets invoked.
PS stopPropagation() was introduced to prevent ghost clicks on Android devices. But we no longer need SwiftClick for Android.

@prashantpalikhe thanks for the report. Would you be able to create a simplified example of this behaviour?

Sure! Here is the bin
https://jsbin.com/roqumuyena/1/
Steps to reproduce:

Enable Chrome device emulation.
Select a device e.g. iPhone
Drag the box with your touch target over the text.
The box follows the cursor.
Release the finger.
The box snaps back to its original position.
Enable SwiftClick
Drag the box again and release the finger.
The box does not snap back.

@prashantpalikhe thanks very much for the example. I'll investigate this when I get the time.

@munkychop Any estimation on when you can look into this? Or, if we create a PR for you, how long before you can test the PR and have it merged?

@prashantpalikhe I'll hopefully be able to do a little bit of work on this tomorrow, otherwise it's likely to be some time next week.
Feel free to submit a PR, ensuring that it doesn't break the experience for Android devices.
Cheers

Is there a need to stop the propagation of touch event if the touch is more like a drag?
https://github.com/munkychop/swiftclick/blob/master/js/libs/swiftclick.js#L117
What's the need to cancel the touch at all for that matter? Logically, it does not make much sense to me to cancel the touchend just because the touch moved beyond the threshold.
As long as, the synthetic click event is not fired, it should be good right?
But according to the commit history, it was done to prevent Android ghost clicks. Is there a way to reproduce this ghost click scenario?

Fixed by https://github.com/munkychop/swiftclick/pull/4
(thanks @prashantpalikhe :thumbsup:)


ASP.NET 6.0 Downloading completed document is not working on newest package 6.0.0

I'm downloading file using method:
var stream = await envelopesApi.GetDocumentAsync("<api account ID>", envelopeId, envelopeDocumentId);

Then I'm saving the stream on my disk.
using var fileStream = new FileStream("signed_pdf.pdf", FileMode.Create, FileAccess.Write);
stream.CopyTo(fileStream);
Console.ReadKey();

But when I try to open this freshly saved file, I'm getting an error (tried to open it with Edge browser and Acrobat Reader - both we same result). The PDF file is probably broken.
The code on my side is correct I believe, because when I install the older version of DocuSign nuget package (5.12.0) everything is fine.
Here are two files, one saved using newest package, and second saved using 5.12.0 (take a look on the difference in size - both comes from the same envelope and same document):

I tried to spot the bug in code, but didn't have time to debug it, so I just guess that it can be somewhere here in DocuSignClient class:

As previous version was just returning MemoryStream:

That code: https://github.com/docusign/docusign-esign-csharp-client/blob/e23718c14dd7482de90bfe55e9cbd245f182868e/sdk/src/DocuSign.eSign/Client/DocuSignClient.cs#L326
is very wrong...
It is potentially writing unencrypted PII to a temp path. Whether or not it is the cause of this issue it should be reverted asap as a security vulnerability.
In the event that this library is being used in an environment where something else has access to the file system, unrelated parties could gain access to sensitive information related to an authorized individual.

Thanks for these reports.  Our team will be engaged in evaluating the issues mentioned here.

Thanks! It would be nice to have it sorted soon 🙂
Can you also please look into my PR? :)

Hi, yes our team will also take a look at your PR; thanks for your contribution.

Hello guys!
Any updates on the release date of the updated library?

Hi @skyflyer - v6.1.0 was released today and should contain a fix for the issue.

@kenharris thanks for the update!


Deeplake upd

DeepLakeVector integration update
Refactoring code to support new DeepLakeVectorStore module.
Improvements

added support for different execution option during searching. Now options are: python, tensor_db, compute_engine.
bumped deeplake to be between 3.3.0 and 3.5.2
updated deeplake.ipynb example (Fixed windows related problem and added examples of new features)

Notes

please double check if poetry is not messed up (thanks!) \

Before submitting

Who can review?
Community members can review the PR once tests pass. Tag maintainers/contributors who might be interested:
@hwchase17
@dev2049

@adolkhan feel free to ping me when it's ready for review


Node A -> Node B -> Node C: object

Reproduce: Node A -> Node B -> Node C: object
Bug: Node A gets a dictionary
Expect: A gets C object

Resolved at commit 0c92e06


Problem install

Hi!
Todey try install and see this error:
fatal: [node1]: FAILED! => {"changed": false, "module_stderr": "Shared connection to <IP_ADDRESS> closed.\r\n", "module_stdout": "/bin/sh: 1: /usr/bin/python: not found\r\n", "msg": "MODULE FAILURE", "rc": 127}

what is your OS ?
you should fill the variable
bootstrap_os: coreos

Ubuntu 16.4

set in group_vars/all/all.yml:
bootstrap_os: ubuntu


Allow overriding the favicon

The favicon is a pretty much a static resource, so it is appropriate to allow to override it statically, i.e. via an environment variable.
To override the favicon, set the following environment variable: APP_BRANDING_FAVICON
Not sure if being context-relative does matter here, I could not find any way that this application would be deployed on an application server (e.g. as a WAR), so I think ignoring servlet context paths is okay here, but do correct me if it does matter.

Just realized you might be managing multiple customers on the same instance fleet, so maybe this is not the right approach?


Allow ingester to start independently of Consul

Main behaviour change: ingester has a goroutine that loops until it can register itself with Consul.
Abstraction changes:

separate registering the ingester completely from setting up the ingester—as the current implementations are completely independent
new IngesterRegistration interface & a struct that implements that

I'm not a huge fan, tbh, but would welcome feedback.

This change is

LGTM - have you tested locally?

Tested locally. It all works. Merging because I've got an LGTM.

@jml mind if I back this one out?  Will make the move to a separate frankenstein repo easier.


Unsaved Notebook data is lost on exit

Bug: Notebook Editor, Interactive Window, Editor cells

Steps to cause the bug to occur

Launch VSCode.
Create new blank Notebook (Ctrl+Shift+P then enter Python: Create Blank New Jupyter Notebook)
Modify the notebook (eg, enter print("Hello abyss!") in the cell and press Ctrl+Enter)
Close VSCode.
Re-launch VSCode.
Witness your work gone into the abyss.
Optional: Smash computer screen with heavy object.

Actual behavior
VSCode blissfully discards any unsaved changes.
Expected behavior
Either (a) an "Are you sure?"-type confirmation dialog is shown on exit; or (b) the file is restored, when VSCode is relaunched, which is what's done with other file types.
Your Jupyter and/or Python environment
Please provide as much info as you readily know

Jupyter server running: N/A
Extension version: v2020.4.76186
VS Code version: 1.45
Setting python.jediEnabled: false
Python and/or Anaconda version: python 3.8.2 (no Anaconda)
OS: Ubuntu 20.04 LTS
Virtual environment: N/A

Developer Tools Console Output
Nah... that ain't me
Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer

Just for everyone information - I was able to find my unsaved notebook with 2 days of work in "C:\Users\user\Local Settings\Temp"


Update garrison's name in .mailmap

Summary
With this change, my name in Qiskit.bib will (eventually) match the name I use for academic publications.
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 90.856%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4034

Relevant Lines:
4440

💛  - Coveralls

Sorry -- actually, this might not be necessary.  I was under the impression that each application had its own bib file, but it looks like I was wrong.
The README here says

Please note that if you do not like the way your name is cited in the BibTex file then consult the information found in the .mailmap file.

... but it's a little unclear to me whether I need to update this in the .mailmap for each module or if doing it only in qiskit/.mailmap is enough.

If the real name in the git log for your commits (or any commits you're listed as a co-author on) for a tracked repository you'll want to ensure the mailmap corrects that to your preferred name. The authors list (and the bibtex file by extension) in Qiskit/qiskit is generated by parsing the git log from these repositories https://github.com/Qiskit/qiskit/blob/master/tools/generate_authors.py#L39-L44. So you probably don't strictly need to this here because the qiskit bib file doesn't include optimization.
That being said the script attempts to de-duplicate entries where it can but if the real name or email of a commit don't match it won't be able to so it's generally better to ensure you've adjusted the mailmap to ensure all your preferred name is used consistently everywhere.


Language server crash fixed

@rultor release, tag is 0.0.2

@rultor release, tag is 0.0.2

@eduardofernandes1410 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.0.2

@eduardofernandes1410 Done! FYI, the full log is here (took me 1min)


Add body_class helper

Codecov Report

Merging #5 into master will increase coverage by 0.41%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master       #5      +/-   ##
==========================================
+ Coverage   94.24%   94.66%   +0.41%
==========================================
  Files          33       33
  Lines         452      450       -2
==========================================
  Hits          426      426
+ Misses         26       24       -2

Impacted Files
Coverage Δ

app/helpers/application_helper.rb
100% <100%> (ø)
:arrow_up:

app/controllers/users_controller.rb
100% <100%> (+8.33%)
: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 82ffb7b...2c5ae0f. Read the comment docs.


Custom entrypoint for drupal container

I noticed when trying to build isle-dc it sometimes fails because mysql isn't up.
Not sure if something like the following be added to the entrypoint for the containers that require the database to be up such as drupal. It might need to be smart and either check postgresql or mysql depending on the environment.
while ! mysqladmin ping -h mariadb -u drupal_default --password=password --silent; do
    sleep 1
done

There used to be, though it causes issues when debugging/developing. It would make a nightmare of a debugging situation if something is off about the DB in something like AWS ECS, as the container would just die continually and you couldn't exec into it to debug the situation. Ideally the containers should do little too nothing on startup, aside from generating files from templates setting permissions and that sorta thing.
In this case I think the logic should be performed by isle-dc as it's specific to it's use case likely here. I'll move the issue to that repo.
Do you have a log you can attach? From looking at the makefile in isle-dc it appears that the install depends on drupal-database which eventually calls wait-for-database.sh so that seems like it should wait for 5 mins as the default timeout is 300 seconds.


[Snyk] Fix for 18 vulnerabilities

Snyk has created this PR to fix 18 vulnerabilities in the pip dependencies of this project.
Snyk changed the following file(s):

project/app/requirements.txt

⚠ Warning
tox 4.8.0 has requirement packaging>=23.1, but you have packaging 22.0.
tox 4.8.0 has requirement typing-extensions>=4.7.1; python_version < "3.8", but you have typing-extensions 4.5.0.
pyproject-api 1.5.3 has requirement packaging>=23.1, but you have packaging 22.0.
platformdirs 4.0.0 has requirement typing-extensions>=4.7.1; python_version < "3.8", but you have typing-extensions 4.5.0.
coveralls 3.3.1 has requirement coverage!=6.0.*,!=6.1,!=6.1.1,<7.0,>=4.1, but you have coverage 7.2.7.

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.
Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Regular Expression Denial of Service (ReDoS)
🦉 Cross-site Scripting (XSS)
🦉 Relative Path Traversal
🦉 More lessons are available in Snyk Learn
[//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"anyio","from":"3.6.2","to":"4.4.0"},{"name":"certifi","from":"2023.5.7","to":"2024.7.4"},{"name":"fastapi","from":"0.100.0","to":"0.109.1"},{"name":"idna","from":"3.4","to":"3.7"},{"name":"jinja2","from":"3.1.2","to":"3.1.4"},{"name":"orjson","from":"3.8.1","to":"3.9.15"},{"name":"pillow","from":"9.4.0","to":"10.3.0"},{"name":"pydantic","from":"1.10.2","to":"1.10.13"},{"name":"urllib3","from":"2.0.7","to":"2.2.2"},{"name":"zipp","from":"3.15.0","to":"3.19.1"}],"env":"prod","issuesToFix":[{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-ANYIO-7361842","priority_score":629,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"8.3","score":415},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Race Condition"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-ANYIO-7361842","priority_score":629,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"8.3","score":415},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Race Condition"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-ANYIO-7361842","priority_score":629,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"8.3","score":415},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Race Condition"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-ANYIO-7361842","priority_score":629,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"8.3","score":415},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Race Condition"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-ANYIO-7361842","priority_score":629,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"8.3","score":415},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Race Condition"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-ANYIO-7361842","priority_score":629,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"8.3","score":415},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Race Condition"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-CERTIFI-5805047","priority_score":704,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"9.8","score":490},{"type":"scoreVersion","label":"v1","score":1}],"severity":"critical","title":"Improper Following of a Certificate's Chain of Trust"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-CERTIFI-7430173","priority_score":519,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"6.1","score":305},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Insufficient Verification of Data Authenticity"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-CERTIFI-5805047","priority_score":704,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"9.8","score":490},{"type":"scoreVersion","label":"v1","score":1}],"severity":"critical","title":"Improper Following of a Certificate's Chain of Trust"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-CERTIFI-7430173","priority_score":519,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"6.1","score":305},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Insufficient Verification of Data Authenticity"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-CERTIFI-5805047","priority_score":704,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"9.8","score":490},{"type":"scoreVersion","label":"v1","score":1}],"severity":"critical","title":"Improper Following of a Certificate's Chain of Trust"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-CERTIFI-7430173","priority_score":519,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"6.1","score":305},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Insufficient Verification of Data Authenticity"},{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-FASTAPI-6228055","priority_score":696,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.5","score":375},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Regular Expression Denial of Service (ReDoS)"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-IDNA-6597975","priority_score":524,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"6.2","score":310},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Resource Exhaustion"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-IDNA-6597975","priority_score":524,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"6.2","score":310},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Resource Exhaustion"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-IDNA-6597975","priority_score":524,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"6.2","score":310},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Resource Exhaustion"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-IDNA-6597975","priority_score":524,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"6.2","score":310},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Resource Exhaustion"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-IDNA-6597975","priority_score":524,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"6.2","score":310},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Resource Exhaustion"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-IDNA-6597975","priority_score":524,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"6.2","score":310},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Resource Exhaustion"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-IDNA-6597975","priority_score":524,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"6.2","score":310},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Resource Exhaustion"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-JINJA2-6150717","priority_score":484,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.4","score":270},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Cross-site Scripting (XSS)"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-JINJA2-6809379","priority_score":484,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.4","score":270},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Cross-site Scripting (XSS)"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-ORJSON-6276643","priority_score":589,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.5","score":375},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Relative Path Traversal"},{"exploit_maturity":"Mature","id":"SNYK-PYTHON-PILLOW-5918878","priority_score":909,"priority_score_factors":[{"type":"exploit","label":"High","score":214},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"9.6","score":480},{"type":"scoreVersion","label":"v1","score":1}],"severity":"critical","title":"Heap-based Buffer Overflow"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-PILLOW-6043904","priority_score":589,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.5","score":375},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Uncontrolled Resource Consumption ('Resource Exhaustion')"},{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-PILLOW-6182918","priority_score":726,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"8.1","score":405},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Eval Injection"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-PILLOW-6219984","priority_score":589,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.5","score":375},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Denial of Service (DoS)"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-PILLOW-6219986","priority_score":589,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.5","score":375},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Denial of Service (DoS)"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-PILLOW-6514866","priority_score":579,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.3","score":365},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Buffer Overflow"},{"exploit_maturity":"Mature","id":"SNYK-PYTHON-PILLOW-5918878","priority_score":909,"priority_score_factors":[{"type":"exploit","label":"High","score":214},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"9.6","score":480},{"type":"scoreVersion","label":"v1","score":1}],"severity":"critical","title":"Heap-based Buffer Overflow"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-PILLOW-6043904","priority_score":589,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.5","score":375},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Uncontrolled Resource Consumption ('Resource Exhaustion')"},{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-PILLOW-6182918","priority_score":726,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"8.1","score":405},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Eval Injection"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-PILLOW-6219984","priority_score":589,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.5","score":375},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Denial of Service (DoS)"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-PILLOW-6219986","priority_score":589,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.5","score":375},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Denial of Service (DoS)"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-PILLOW-6514866","priority_score":579,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"7.3","score":365},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Buffer Overflow"},{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-PYDANTIC-5907722","priority_score":586,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.3","score":265},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Regular Expression Denial of Service (ReDoS)"},{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-PYDANTIC-5926694","priority_score":586,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.3","score":265},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Regular Expression Denial of Service (ReDoS)"},{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-PYDANTIC-5907722","priority_score":586,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.3","score":265},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Regular Expression Denial of Service (ReDoS)"},{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-PYDANTIC-5926694","priority_score":586,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.3","score":265},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Regular Expression Denial of Service (ReDoS)"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-URLLIB3-7267250","priority_score":514,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"6","score":300},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Improper Removal of Sensitive Information Before Storage or Transfer"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-URLLIB3-7267250","priority_score":514,"priority_score_factors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"6","score":300},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Improper Removal of Sensitive Information Before Storage or Transfer"},{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-ZIPP-7430899","priority_score":666,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"6.9","score":345},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Infinite loop"},{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-ZIPP-7430899","priority_score":666,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"6.9","score":345},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Infinite loop"}],"prId":"1880592d-8719-4273-98e9-4d2723f6220b","prPublicId":"1880592d-8719-4273-98e9-4d2723f6220b","packageManager":"pip","priorityScoreList":[629,704,519,696,524,484,484,589,909,589,726,589,589,579,586,586,514,666],"projectPublicId":"84abd816-ee67-4aea-8cbc-80d12241b172","projectUrl":"https://app.snyk.io/org/gomesrocha/project/84abd816-ee67-4aea-8cbc-80d12241b172?utm_source=github&utm_medium=referral&page=fix-pr","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["pr-warning-shown","priorityScore"],"type":"auto","upgrade":[],"vulns":["SNYK-PYTHON-ANYIO-7361842","SNYK-PYTHON-CERTIFI-5805047","SNYK-PYTHON-CERTIFI-7430173","SNYK-PYTHON-FASTAPI-6228055","SNYK-PYTHON-IDNA-6597975","SNYK-PYTHON-JINJA2-6150717","SNYK-PYTHON-JINJA2-6809379","SNYK-PYTHON-ORJSON-6276643","SNYK-PYTHON-PILLOW-5918878","SNYK-PYTHON-PILLOW-6043904","SNYK-PYTHON-PILLOW-6182918","SNYK-PYTHON-PILLOW-6219984","SNYK-PYTHON-PILLOW-6219986","SNYK-PYTHON-PILLOW-6514866","SNYK-PYTHON-PYDANTIC-5907722","SNYK-PYTHON-PYDANTIC-5926694","SNYK-PYTHON-URLLIB3-7267250","SNYK-PYTHON-ZIPP-7430899"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}'

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 80.80%. Comparing base (365ff36) to head (c99352d).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #60   +/-   ##
=======================================
  Coverage   80.80%   80.80%
=======================================
  Files          13       13
  Lines         125      125
=======================================
  Hits          101      101
  Misses         24       24

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


Dev env setup

Is this still WIP or should I take a look at it?

As you can see there are some failed tests which I try to fix soon. All the rest could be reviewed meanwhile.

@FRosner
I cant publish docker image, so wont run IT locally. Please provide me with the hint how to fix it.

I cant publish docker image, so wont run IT locally. Please provide me with the hint how to fix it.

I am not sure I understand. What are you trying to do and where, and what is the error message you are getting?

Here we r:
$ sbt it:test
[info] Loading project definition from /Users/ivan/Work/code/src/github.com/Cubic-BB8/cluster-broccoli/project
[info] Set current project to root (in build file:/Users/ivan/Work/code/src/github.com/Cubic-BB8/cluster-broccoli/)
[info] Running webpack resource generator
[info] Compiling 5 Scala sources to /Users/ivan/Work/code/src/github.com/Cubic-BB8/cluster-broccoli/server/target/scala-2.11/it-classes...
[info] UnixSignalManagerIntegrationSpec
[info]
[info] Registering new signal should
[info]   + trigger the handler when the signal is raised
[info]
[info]
[info] Total for specification UnixSignalManagerIntegrationSpec
[info] Finished in 1 second, 538 ms
[info] 1 example, 0 failure, 0 error
[info]
Password:
Unable to find image 'frosner/cluster-broccoli-test:latest' locally
docker: Error response from daemon: pull access denied for frosner/cluster-broccoli-test, repository does not exist or may require 'docker login'.
See 'docker run --help'.
Unable to find image 'frosner/cluster-broccoli-test:latest' locally
docker: Error response from daemon: pull access denied for frosner/cluster-broccoli-test, repository does not exist or may require 'docker login'.
See 'docker run --help'.

@FRosner
So, tests are failing due to this error. Correct me if I'm wrong.
To run tests locally Im doing  $ sbt it:test. Correct me if Im wrong.
Here is output:
[info] Loading project definition from /Users/ivan/Work/code/src/github.com/Cubic-BB8/cluster-broccoli/project
[info] Set current project to root (in build file:/Users/ivan/Work/code/src/github.com/Cubic-BB8/cluster-broccoli/)
[info] Running webpack resource generator
[info] Compiling 5 Scala sources to /Users/ivan/Work/code/src/github.com/Cubic-BB8/cluster-broccoli/server/target/scala-2.11/it-classes...
[info] UnixSignalManagerIntegrationSpec
[info]
[info] Registering new signal should
[info]   + trigger the handler when the signal is raised
[info]
[info]
[info] Total for specification UnixSignalManagerIntegrationSpec
[info] Finished in 1 second, 538 ms
[info] 1 example, 0 failure, 0 error
[info]
Password:
Unable to find image 'frosner/cluster-broccoli-test:latest' locally
docker: Error response from daemon: pull access denied for frosner/cluster-broccoli-test, repository does not exist or may require 'docker login'.
See 'docker run --help'.
Unable to find image 'frosner/cluster-broccoli-test:latest' locally
docker: Error response from daemon: pull access denied for frosner/cluster-broccoli-test, repository does not exist or may require 'docker login'.
See 'docker run --help'.

As you can see in .travis.yml, we perform two steps before executing the integration tests. I remember that we didn't manage to fully sbtize this part and that's why you have to manually build the test image. If you like we can try to include this part also in the SBT workflow.
   script:
        - . prepare-docker-builds
        - docker build -t frosner/cluster-broccoli-test docker/test/

Please let me know if this is unblocking you :)

Feel free to ping me if you finished the vagrant file. I'm happy to try it out but I'm also fine if @Gerrrr gives it a shot. As you guys prefer. It would be nice to have some documentation on how to use it, maybe adding a section to the readme file or something.
It should explain how to "start" it, and then a small example what you can do with it maybe.

Thanks for the effort!

@FRosner ,
Actually there are some obstacles which convince me to move Vagrant file into separate repo at all:

Change in the Vagrant file triggers new build, while it is not a part of it.
Versions of infrastructure parts project is tested agains are not corresponding to any used in environment.

Thus, feel free to merge this PR or just follow a new repo. I'm providing a link as soon as repo is created.

New repo also works for me. The first argument is not that ciritical IMO, as the same holds for documentation and we're not paying for the builds. I also don't expect us to change the vagrantfile once per day.
I'm not sure I understand the second point. Can you elaborate a bit?
Why I think it's good to have it close to the code is that you can clone the repo, spin up the vagrant machine and start developing.


spiffs - Unable to read data from mkspiffs generated filesystem

@igrr
Using latest esp-idf from about an hour or so ago (7e268ada), with updated submodules.
I've generated and written a spiffs filesystem to an esp32 module, called 'storage':
I (54) boot: Partition Table:
I (57) boot: ## Label            Usage          Type ST Offset   Length
I (65) boot:  0 nvs              WiFi data        01 02 00009000 00010000
I (72) boot:  1 otadata          OTA data         01 00 00019000 00002000
I (80) boot:  2 phy_init         RF data          01 01 0001b000 00001000
I (87) boot:  3 storage          Unknown data     01 82 0001c000 00014000
I (94) boot:  4 factory          factory app      00 00 00030000 00200000
I (102) boot:  5 ota_0            OTA app          00 10 00230000 00200000
I (110) boot:  6 ota_1            OTA app          00 11 00430000 00200000

and I'm able to mount as vfs and the total size and used size looks good:
D (1544) SPIFFS: page index byte len:         256
D (1544) SPIFFS: object lookup pages:         1
D (1544) SPIFFS: page pages per block:        16
D (1554) SPIFFS: page header length:          5
D (1564) SPIFFS: object header index entries: 95
D (1564) SPIFFS: object index entries:        124
D (1574) SPIFFS: available file descriptors:  10
D (1574) SPIFFS: free blocks:                 16
D (1584) SPIFFS: SPIFFS_info

I (1584) main: spiffs partition size: total: 68021, used: 7530

and I'm able to stat() the expected files to see that they exist:
I (1674) aws: pClientCRT /spiffs/certificate.pem.crt found
...

And able to fopen() the files as well like fopen("/spiffs/certificate.pem.crt", "r");
But I'm unable to fread() from the files.
I also switched over to using open() and read() and I'm unable to read there as well.
Here is the debug level output from an open() and a read() of that certificate.pem.crt file:
D (2174) SPIFFS: SPIFFS_open '/certificate.pem.crt' 08

D (2184) SPIFFS: CACHE_FREE: free cache page 5 pix 00d0

D (2184) SPIFFS: CACHE_ALLO: allocated cache page 5 for pix 0020

D (2194) SPIFFS: CACHE_FREE: free cache page 6 pix 00e0

D (2194) SPIFFS: CACHE_ALLO: allocated cache page 6 for pix 0030

D (2214) SPIFFS: CACHE_FREE: free cache page 7 pix 00f0

D (2214) SPIFFS: CACHE_ALLO: allocated cache page 7 for pix 0032

D (2224) SPIFFS: open: fd 1 is obj id 8006

D (2224) SPIFFS: SPIFFS_read 1 64

D (2224) SPIFFS: read: load objix page 0032:0000 for data spix:0000

D (2234) SPIFFS: read: offset:0 rd:64 data spix:0000 is data_pix:ffff addr:00ffff05

D (2244) SPIFFS: SPIFFS_clearerr

I (2244) aws: bytesRead -1
I (2244) aws: data ?>ȇ
D (2244) SPIFFS: SPIFFS_close 1

The code for reading is:
    int fd = open(filename, O_RDONLY);
    if(fd == -1)
    {
        ESP_LOGE(TAG, "failed to open '%s'", filename);
    } else
    {
        bytesRead = read(fd, data, 64);
        ESP_LOGI(TAG, "bytesRead %d", bytesRead);
        ESP_LOGI(TAG, "data %s", data);
        close(fd);
    }

What could be going on here? I'm not sure where to go in terms of debugging.

Could you please run ./mkspiffs --version in your mkspiffs directory and grep SPIFFS sdkconfig in your project directory and paste output of both here?

Hi @igrr, of course, included below.
I did read through the documentation on the mkspiffs README.md a few times to ensure at least I had tried to build the spiffs image that would match the sdkconfig settings. I also thought it was likely that the spiffs code was checking in the spiffs image header upon mount to ensure that various parameters matched up.
[cmorgan@CHRISTOPHERs-MacBook-Pro mkspiffs]$ ./mkspiffs --version
mkspiffs ver. 0.2.2-2-g1693a95
Build configuration name: generic
SPIFFS ver. 0.3.7-5-gf5e26c4
Extra build flags: (none)
SPIFFS configuration:
  SPIFFS_OBJ_NAME_LEN: 32
  SPIFFS_OBJ_META_LEN: 0
  SPIFFS_USE_MAGIC: 1
  SPIFFS_USE_MAGIC_LENGTH: 1
  SPIFFS_ALIGNED_OBJECT_INDEX_TABLES: 0

[cmorgan@CHRISTOPHERs-MacBook-Pro app]$ grep SPIFFS sdkconfig
# SPIFFS Configuration
CONFIG_SPIFFS_MAX_PARTITIONS=3
# SPIFFS Cache Configuration
CONFIG_SPIFFS_CACHE=y
CONFIG_SPIFFS_CACHE_WR=y
CONFIG_SPIFFS_CACHE_STATS=
CONFIG_SPIFFS_PAGE_CHECK=y
CONFIG_SPIFFS_GC_MAX_RUNS=10
CONFIG_SPIFFS_GC_STATS=
CONFIG_SPIFFS_PAGE_SIZE=256
CONFIG_SPIFFS_OBJ_NAME_LEN=32
CONFIG_SPIFFS_USE_MAGIC=y
CONFIG_SPIFFS_USE_MAGIC_LENGTH=y
CONFIG_SPIFFS_META_LENGTH=4
CONFIG_SPIFFS_USE_MTIME=
CONFIG_SPIFFS_DBG=y
CONFIG_SPIFFS_API_DBG=y
CONFIG_SPIFFS_GC_DBG=y
CONFIG_SPIFFS_CACHE_DBG=y
CONFIG_SPIFFS_CHECK_DBG=y
CONFIG_SPIFFS_TEST_VISUALISATION=y

SPIFFS_OBJ_META_LEN: 0
CONFIG_SPIFFS_META_LENGTH=4
Try 0.2.3
https://github.com/igrr/mkspiffs/releases

Yes unfortunately there are a few parameters (such as NAME_LEN and META_LEN) which SPIFFS does not record/check. We are all eagerly waiting for SPIFFS 0.4 which should resolve these issues. For now use these commands to compare configuration of the app and mkspiffs.

Ahh gotcha, that makes sense. I didn't realize SPIFFS_META_LENGTH was the same as SPIFFS_OBJ_META_LEN.
@igrr should I use 0.2.3 as @negativekelvin suggested or stick with mkspiffs latest master? assuming that I'd set those options in both cases. I'm going to stick with latest master until I hear otherwise and test now.

@igrr, @negativekelvin setting CPPFLAGS="-DSPIFFS_OBJ_META_LEN=4" when building has gotten spiffs working, thanks for the help!
Now onto why I'm seeing aws connection timeout errors.

@chmorgan at the moment the latest master is equal to 0.2.3 tag, so both should work. For future reference, build of mkspiffs version compatible with the default esp-idf config is done here: https://github.com/igrr/mkspiffs/blob/112d65368043f01dd86813cb84e41b1159a34f6b/build_all_configs.sh#L23-L24.

Hello,
I am working with a WROOM-02 module, based on ESP8266 chip, using IDF and I'm also trying to make SPIFFS work but I cannot read a file after having prepared the partition content in a .bin file by using mkspiffs and having flashed it to my target SPIFFS partition. The file system is correctly mounted and I successfully run stat to get file information, but I can't read the file content at all.
I checked mkspiffs --version and it says
mkspiffs ver. 0.2.3
Build configuration name: esp-idf
SPIFFS ver. 0.3.7-5-gf5e26c4
Extra build flags: -DSPIFFS_OBJ_META_LEN=4
SPIFFS configuration:
SPIFFS_OBJ_NAME_LEN: 32
SPIFFS_OBJ_META_LEN: 4
SPIFFS_USE_MAGIC: 1
SPIFFS_USE_MAGIC_LENGTH: 1
SPIFFS_ALIGNED_OBJECT_INDEX_TABLES: 0
then I checked my sdkconfig and got
CONFIG_SPIFFS_MAX_PARTITIONS=3
CONFIG_SPIFFS_CACHE=y
CONFIG_SPIFFS_CACHE_WR=y
CONFIG_SPIFFS_CACHE_STATS is not set
CONFIG_SPIFFS_PAGE_CHECK=y
CONFIG_SPIFFS_GC_MAX_RUNS=10
CONFIG_SPIFFS_GC_STATS is not set
CONFIG_SPIFFS_PAGE_SIZE=256
CONFIG_SPIFFS_OBJ_NAME_LEN=32
CONFIG_SPIFFS_USE_MAGIC=y
CONFIG_SPIFFS_USE_MAGIC_LENGTH=y
CONFIG_SPIFFS_META_LENGTH=4
CONFIG_SPIFFS_USE_MTIME=y
CONFIG_SPIFFS_DBG is not set
CONFIG_SPIFFS_API_DBG is not set
CONFIG_SPIFFS_GC_DBG is not set
CONFIG_SPIFFS_CACHE_DBG is not set
CONFIG_SPIFFS_CHECK_DBG is not set
CONFIG_SPIFFS_TEST_VISUALISATION is not set
and they seem to agree with each other.
I really can't find what's the problem that avoid me to read the file content.
Ronnye


Allow wrapping the Intl.* methods with any class

I want to be able to change the default Intl class that the scripts look for, with a wrapper class of my own -IntlWrapper for example.
That way we could provide a wrapper class that looks like this:
class IntlWrapper {

  static String message(String message) {
    if (useLocalStrings) {
      return Intl.message(message);
    } else {
      // todo - get string from cached api response
      throw 'TODO IMPLEMENT';
    }
  }
}

Already have a PR, just need to get my CLA in order.
Does that make any sense for you at the project level?