[BUG] On iOS only, .NET 9.0 / SkiaSharp 3.0 SKCanvasView inside a custom control does not draw itself upon first appearance of the first page

Description
On iOS in .NET 9.0 and SkiaSharp 3.0 Preview 2, in game GnollHack, SKCanvasView inside a custom control (called CustomImageButton) does not invalidate its canvas and draw itself when first entering the app on the first page of the app, resulting in a transparent picture, instead of intended graphics. If I open page on the top of the starting page, or interact with the control, then suddenly it properly draws itself. (Turning the screen from landscape to portrait or vice versa, keeps the transparent button, though.) On Android, the control works just fine. Other such buttons on other pages in iOS seem to work fine, so it seems to be something related to the behavior when entering / starting the app.
Code
https://github.com/hyvanmielenpelit/GnollHack
Here's the XAML of CustomImageButton for the sake of ease:
<?xml version="1.0" encoding="UTF-8"?>
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:skia="clr-namespace:SkiaSharp.Views.Maui.Controls;assembly=SkiaSharp.Views.Maui.Controls"
             x:Class="GnollHackM.CustomImageButton">
  <ContentView.Content>
        <Grid x:Name="customGrid">
            <skia:SKCanvasView x:Name="customCanvasView" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" EnableTouchEvents="false" PaintSurface="CustomCanvasView_PaintSurface" />
            <Button Text="" x:Name="customButton" Clicked="CustomButton_Clicked" BackgroundColor="Transparent" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" />
        </Grid>
    </ContentView.Content>
</ContentView>

Expected Behavior
Both on iOS and Android, SkiaSharp draws intended button graphics for CustomImageButtons instead of a transparent bitmap when entering / starting the app.
Actual Behavior
On iOS, none of the background images of CustomImageButtons on MainPage get drawn when entering the page (first page in the app). If a page is opened above the buttons or some interaction with the buttons take place, the background is suddenly drawn. On Android, the controls work fine.
Version of SkiaSharp
3.x (Alpha)
Last Known Good Version of SkiaSharp
2.80.x (Deprecated)
IDE / Editor
Visual Studio (Windows)
Platform / Operating System
Android, iOS
Platform / Operating System Version
Android 14, iOS 17.3.1
Devices
Google Pixel 6a, iPad 11,7
Relevant Screenshots

Relevant Log Output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

This may also have something to do with the fact that these controls fade in using animation functionality on opacity at the start of the game. Perhaps SkiaSharp does not realize that on iOS and does not draw itself for that reason.

This was a problem of not loading button bitmaps early enough for iOS Maui layout cycle.


How to fill in the url in the startup parameters to open the specified content?

I try to start a local service and then access it through Google Chrome.Then specify the path of a local drawio file to index.html.
Like this: https://<IP_ADDRESS>:5500/src/main/webapp/index.html?url="file://C:/test.drawio".
My expectation is to access the URL to directly open the test.drwaio file.But the error message I get shows
Error loading file.File not found.
Is the format of the file path that I specified is wrong or I need other setting parameters?
Looking forward to your answer!

Your browser cannot access your filesystem. This is basic browser security.

I added the following parameters so that Google Chrome can access local files and bypass the security policy.
--allow-file-access-from-files --disable-web-security
I am not sure if this way is correct.
We are integrating the tool into the editor’s Google Chrome suite, which will open when the user opens the .drawio file, but it seems that it cannot be achieved by passing the Url parameter


Status bar not responding to setEnabledSyustemUiMode Android 11

Steps to Reproduce

Have a device with android 11 or create virtual device with android 11.
create fresh new flutter project
add   SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky); to main.dart file
Run project on device
Status does not hide on app startup.

Expected results:
I expected the status bar to hide automatically.
Actual results:
Status bar does not hide. The only way I was able to get it to hide was by moving the  SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky); to the build section of the widget and this leaves behind a black bar taking up the space of the status bar. On android 10 upon placing this line of code in the build function you are able to correctly hide the status bar. Although moving the code to the line above runApp(constMyApp()); the status bar does not hide in both 11 and 10.
Correctly working code Android 10
import 'package:flutter/services.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);
  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky);

    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headline4,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

InCorrectly working code Android 11 and 10
import 'package:flutter/services.dart';

void main() {
    SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky);
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);
  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {

    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headline4,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

flutter run --verbose
[  +50 ms] executing: [D:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +204 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] 18116933e77adc82f80866c928266a5b4f1ed645
[        ] executing: [D:\flutter/] git tag --points-at 18116933e77adc82f80866c928266a5b4f1ed645
[  +27 ms] Exit code 0 from: git tag --points-at 18116933e77adc82f80866c928266a5b4f1ed645
[        ] 2.5.3
[   +6 ms] executing: [D:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +40 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [D:\flutter/] git ls-remote --get-url origin
[  +19 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +98 ms] executing: [D:\flutter/] git rev-parse --abbrev-ref HEAD
[  +40 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +48 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +38 ms] executing: C:\Users\deleo\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +28 ms] List of devices attached
           R5CN213S5HK            device product:y2qsqw model:SM_G986U device:y2q transport_id:1
           emulator-5554          device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86
           transport_id:5
[   +7 ms] C:\Users\deleo\AppData\Local\Android\sdk\platform-tools\adb.exe -s R5CN213S5HK shell getprop
[  +81 ms] C:\Users\deleo\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell getprop
[  +22 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +6 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +50 ms] Multiple devices found:
[   +3 ms] ro.hardware = qcom
[   +1 ms] ro.hardware = ranchu
[  +22 ms] SM G986U (mobile)                  • R5CN213S5HK   • android-arm64  • Android 11 (API 30)
[   +1 ms] Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 10 (API 29) (emulator)
[   +1 ms] Chrome (web)                       • chrome        • web-javascript • Google Chrome 95.0.4638.54
[        ] Edge (web)                         • edge          • web-javascript • Microsoft Edge 94.0.992.50
[   +1 ms] [1]: SM G986U (R5CN213S5HK)
[        ] [2]: Android SDK built for x86 (emulator-5554)
[        ] [3]: Chrome (chrome)
[        ] [4]: Edge (edge)
[   +1 ms] Please choose one (To quit, press "q/Q")
[        ] :

flutter doctor -v
[√] Flutter (Channel stable, 2.5.3, on Microsoft Windows [Version 10.0.19043.1288], locale en-US)
    • Flutter version 2.5.3 at D:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (8 days ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\deleo\AppData\Local\Android\sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: C:\Users\deleo\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\203.7784292\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 2020.3)
    • Android Studio at C:\Users\deleo\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\203.7784292
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[√] VS Code, 64-bit edition (version 1.61.2)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension can be installed from:
       https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[√] Connected device (4 available)
    • SM G986U (mobile)                  • R5CN213S5HK   • android-arm64  • Android 11 (API 30)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 10 (API 29) (emulator)
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 95.0.4638.54
    • Edge (web)                         • edge          • web-javascript • Microsoft Edge 94.0.992.50

• No issues found!

Android 11 code above runApp(const MyApp())

Android 11 code in build function

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


First pass adding LetsEncrypt support

Will need a to be paired with PR to flowforge-driver-docker (to add the extra env var) and for the docs in flowforge
To enable, update all the example.com entries and uncomment the all the commented out sections

@hardillb this version runs both with the comments in and out but I can't access https. I checked the logs for the acme-companion container and got...
Error: you need to share your Docker host socket with a volume at /var/run/docker.sock
Typically you should run your container with: '-v /var/run/docker.sock:/var/run/docker.sock:ro'

I know what the problem is, I assumed that since the acme-companion came from the same team as the nginx-proxy they would be configured the same. They are subtly different, update inbound

This now works for me on my test build - https://d.pr/i/7knuiu


Exercise logic backend

Just for your reference, this is the rough structure for the Exercise classes. No logic yet. Comments welcome @patientzero @PKlumpp

@PKlumpp This would be ready to merge, if you agree

@patientzero The dataclasses are implemented here. The relevant ones are Exercise and ScheduledExercise.


Adding a few games like the ones in Alexa.

Games like akinator, trivia, song quiz, 20 questions etc.
Could you please assign this to me as this may require a lot of time and add the labels gssoc-ext, hacktoberfest, level etc

Sure!
On Sun, 6 Oct 2024 at 17:32, Vuppu Chinmay @.***> wrote:

Games like akinator, trivia, song quiz, 20 questions etc.
Could you please assign this to me as this may require a lot of time and add the labels gssoc-ext, hacktoberfest, level etc
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Thank you!


[MODCON - 65] - Implement endpoint to save shared setting uuid in all tenants

Purpose

https://issues.folio.org/browse/MODCON-65
Approach

TODOS and Open Questions

Learning

Pre-Merge Checklist:
Before merging this PR, please go through the following list and take appropriate actions.

Does this PR meet or exceed the expected quality standards?

[ ] Code coverage on new code is 80% or greater
[ ] Duplications on new code is 3% or less
[ ] There are no major code smells or security issues

Does this introduce breaking changes?

[ ] Were any API paths or methods changed, added or removed?
[ ] Were there any schema changes?
[ ] Did any of the interface versions change?
[ ] Were permissions changed, added or removed?
[ ] Are there new interface dependencies?
[ ] There are no breaking changes in this PR.

If there are breaking changes, please STOP and consider the following:

What other modules will these changes impact?
Do JIRAs exist to update the impacted modules?

[ ] If not, please create them
[ ] Do they contain the appropriate level of detail?  Which endpoints/schemas changed, etc.
[ ] Do they have all the appropriate links to blocked/related issues?

Are the JIRAs under active development?

[ ] If not, contact the project's PO and make sure they're aware of the urgency.

Do PRs exist for these changes?

[ ] If so, have they been approved?

Did you modify code to call some additional endpoints?

[ ] If so, do you check that necessary module permission added in ModuleDescriptor-template.yaml file?

Ideally, all the PRs involved in breaking changes would be merged on the same day
to avoid breaking the folio-testing environment.
Communication is paramount if that is to be achieved,
especially as the number of inter-module and inter-team dependencies increase.
While it's helpful for reviewers to help identify potential problems,
ensuring that it's safe to merge is ultimately the responsibility of the PR assignee.

15:23:11 http-nio-8081-exec-5 [363206/consortia] [diku] [4f53dd76-d8e3-5cf0-a4e2-b51550acb037] [mod-consortia] INFO  ngSettingServiceImpl start:: tenants with size: 2 successfully added to appropriate publication request
15:23:11 http-nio-8081-exec-5 [363206/consortia] [diku] [4f53dd76-d8e3-5cf0-a4e2-b51550acb037] [mod-consortia] INFO  ngSettingServiceImpl start:: set source as a consortium
15:23:11 http-nio-8081-exec-5 [] [diku] [] [mod-consortia] INFO  AuthService          Attempt login with url=http://localhost:9130 tenant=diku username=consortia-system-user.
15:23:11 http-nio-8081-exec-5 [] [diku] [] [mod-consortia] INFO  AuthService          Logged in as consortia-system-user in tenant diku
15:23:22 http-nio-8081-exec-5 [] [diku] [5c780098-751b-4477-9b61-0f75bc452a73] [mod-consortia] INFO  blicationServiceImpl Created publication record bdfd4259-56d1-42ee-9640-6f696d7ee2fc
15:23:24 ConsortiaAsync-2 [] [diku] [5c780098-751b-4477-9b61-0f75bc452a73] [mod-consortia] INFO  TenantContextUtils   FOLIO context initialized with tenant diku
15:23:24 pool-3-thread-1 [] [diku] [5c780098-751b-4477-9b61-0f75bc452a73] [mod-consortia] INFO  TenantContextUtils   FOLIO context initialized with tenant diku
15:23:24 pool-3-thread-1 [] [diku] [5c780098-751b-4477-9b61-0f75bc452a73] [mod-consortia] INFO  TenantContextUtils   FOLIO context initialized with tenant diku
15:23:25 ConsortiaAsync-2 [] [diku] [5c780098-751b-4477-9b61-0f75bc452a73] [mod-consortia] INFO  TenantContextUtils   FOLIO context initialized with tenant diku
15:23:25 ConsortiaAsync-2 [] [diku] [5c780098-751b-4477-9b61-0f75bc452a73] [mod-consortia] INFO  blicationServiceImpl updatePublicationsStatus:: updated publication record bdfd4259-56d1-42ee-9640-6f696d7ee2fc with status ERROR
15:23:25 http-nio-8081-exec-5 [] [diku] [5c780098-751b-4477-9b61-0f75bc452a73] [mod-consortia] INFO  blicationServiceImpl Created publication record d3cf7066-02ee-4926-a37b-7e30ac552554
15:23:28 ConsortiaAsync-3 [] [diku] [5c780098-751b-4477-9b61-0f75bc452a73] [mod-consortia] INFO  TenantContextUtils   FOLIO context initialized with tenant diku
15:23:28 pool-4-thread-1 [] [diku] [5c780098-751b-4477-9b61-0f75bc452a73] [mod-consortia] INFO  TenantContextUtils   FOLIO context initialized with tenant testenant7664803557551864676
15:23:28 pool-4-thread-1 [] [diku] [5c780098-751b-4477-9b61-0f75bc452a73] [mod-consortia] INFO  TenantContextUtils   FOLIO context initialized with tenant diku
15:23:28 ConsortiaAsync-3 [] [diku] [5c780098-751b-4477-9b61-0f75bc452a73] [mod-consortia] INFO  TenantContextUtils   FOLIO context initialized with tenant diku
15:23:28 ConsortiaAsync-3 [] [diku] [5c780098-751b-4477-9b61-0f75bc452a73] [mod-consortia] INFO  blicationServiceImpl updatePublicationsStatus:: updated publication record d3cf7066-02ee-4926-a37b-7e30ac552554 with status ERROR


[Bug]: can't add modules when deleted before

Describe the Bug
I can't add the Entities and any other module to neither the right or left side. It's enabled and stays invisible after disabling it and enabling it again, restarting minecraft and rejoining my 1.18.2 server.
Steps to Reproduce
F3+M and delete any module, save and add it again. It will not be visible but is in the Modules list. (Entities module specifically)
Expected Behavior
The module, that previously wasn't in the Modules list, should be enabled and visible.
Screenshots

first screenshot showing left, that module isn't visible. second one showing that it's in the left modules list and third one showing, that it's enabled
Modloader Type
Fabric
Modloader Version
0.13.3-1.18.2
Mod Version
BetterF3-1.2.4
Log Output
No response
Additional Context
I'm using baritone-1.8.3, BetterF3-1.2.4, BetterPVP_<IP_ADDRESS>, cloth-config-6.2.57, fabric-api-0.47.9, farsight.fabric-1.18-1.8, litematica-0.11.1, lithium-0.7.9, malilib-0.12.1, phosphor-0.8.1, replaymod-2.6.5, sodium-0.4.1+build.15 and worldedit-7.2.10.
Everything for fabric 1.18.2

Describe the Bug
I can't add the Entities and any other module to neither the right or left side. It's enabled and stays invisible after disabling it and enabling it again, restarting minecraft and rejoining my 1.18.2 server.
Steps to Reproduce
F3+M and delete any module, save and add it again. It will not be visible but is in the Modules list. (Entities module specifically)
Expected Behavior
The module, that previously wasn't in the Modules list, should be enabled and visible.
Screenshots

first screenshot showing RIGHT!, that module isn't visible. second one showing that it's in the left modules list and third one showing, that it's enabled
Modloader Type
Fabric
Modloader Version
0.13.3-1.18.2
Mod Version
BetterF3-1.2.4
Log Output
No response
Additional Context
I'm using baritone-1.8.3, BetterF3-1.2.4, BetterPVP_<IP_ADDRESS>, cloth-config-6.2.57, fabric-api-0.47.9, farsight.fabric-1.18-1.8, litematica-0.11.1, lithium-0.7.9, malilib-0.12.1, phosphor-0.8.1, replaymod-2.6.5, sodium-0.4.1+build.15 and worldedit-7.2.10. Everything for fabric 1.18.2

restarted windows twice, and it works now


Fixed issue related to "no documents in result" on first run

Context
I was getting the following error when no documents were present in the migrations collection (first run):
mongo: no documents in result

Fix
Adding an additional check (exact same condition as the one a few lines below) fixed that issue.

Codecov Report

Merging #6 into master will decrease coverage by 0.94%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master       #6      +/-   ##
==========================================
- Coverage   81.06%   80.11%   -0.95%
==========================================
  Files           4        4
  Lines         169      171       +2
==========================================
  Hits          137      137
- Misses         18       20       +2
  Partials       14       14

Impacted Files
Coverage Δ

migrate.go
70.94% <100%> (-1.24%)
:arrow_down:

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 3f7ed27...88a913d. Read the comment docs.

Thanks for pull request. That's will be great if you also write test for it

I changed the error check to use a switch like you asked. I also removed the second err == mongo. ErrNoDocuments right below because it will now never reach it anymore.
I noticed a missing error check in TestMain, so I added that.

In terms of tests, I only moved the error check above, so there's nothing new to be tested.
When I display the coverage though, the previous errors are never reached by the current tests:

I'm not sure how to reach them though, as they're actual DB errors.

@xakep666 I don't think I did what you were asking for in terms of switch-case. Please tell me if this would be closer to what you were thinking:
	result := m.db.Collection(m.migrationsCollection).FindOne(context.TODO(), filter, options)
	err := result.Err()
	switch err {
	case mongo.ErrNoDocuments:
		return 0, "", nil
	case nil:
		var rec versionRecord
		if err := result.Decode(&rec); err != nil {
			return 0, "", err
		}
		return rec.Version, rec.Description, nil
	default:
		return 0, "", err
	}

@Yoone your switch-case variant is better than I thought. Thank you!


cuDNN 5 and Theano 0.9.0 not improving LSTM performance

Theano recently introduced cuDNN5 support for recurrent networks and I decided to give it a spin with a Keras LSTM network. However, I noticed only a marginal benefit that seems more likely noise than anything else. Any reason I shouldn't be seeing bigger performance improvements?
cuDNN 4, theano 0.8.2, keras 1.1.0
Train on 3000000 samples, validate on 857222 samples
Epoch 1/100
3000000/3000000 [==============================] - 781s - loss: 2.2539 - acc: 0.6299 - val_loss: 1.6206 - val_acc: 0.7274
cuDNN 5, theano 0.9.0, keras 1.1.0
Train on 3000000 samples, validate on 857222 samples
Epoch 1/100
3000000/3000000 [==============================] - 765s - loss: 2.2588 - acc: 0.6289 - val_loss: 1.6214 - val_acc: 0.7274
cuDNN 5, theano 0.9.0, keras 1.1.1
Train on 3000000 samples, validate on 857222 samples
Epoch 1/100
3000000/3000000 [==============================] - 761s - loss: 2.2578 - acc: 0.6292 - val_loss: 1.6234 - val_acc: 0.7271

I think this will need new code in keras to get the speed up. There was
another issue related to that.
Le 1 nov. 2016 16:20, "mthmn20"<EMAIL_ADDRESS>a écrit :

Theano recently introduced https://github.com/Theano/Theano/pull/4915
cuDNN5 support for recurrent networks and I decided to give it a spin with
a Keras LSTM network. However, I noticed only a marginal benefit that seems
more likely noise than anything else. Any reason I shouldn't be seeing
bigger performance improvements?
cuDNN 4, theano 0.8.2, keras 1.1.0
Train on 3000000 samples, validate on 857222 samples
Epoch 1/100
3000000/3000000 [==============================] - 781s - loss: 2.2539 -
acc: 0.6299 - val_loss: 1.6206 - val_acc: 0.7274
cuDNN 5, theano 0.9.0, keras 1.1.0
Train on 3000000 samples, validate on 857222 samples
Epoch 1/100
3000000/3000000 [==============================] - 765s - loss: 2.2588 -
acc: 0.6289 - val_loss: 1.6214 - val_acc: 0.7274
cuDNN 5, theano 0.9.0, keras 1.1.1
Train on 3000000 samples, validate on 857222 samples
Epoch 1/100
3000000/3000000 [==============================] - 761s - loss: 2.2578 -
acc: 0.6292 - val_loss: 1.6234 - val_acc: 0.7271
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fchollet/keras/issues/4256, or mute the thread
https://github.com/notifications/unsubscribe-auth/AALC-3KFkUGXHHY3AZLmb_dGvxBYFUd0ks5q558qgaJpZM4KmiDm
.

Has there been any progress on this or a plan for new keras code :) ?

Not that I know, but I don't follow closely enough keras to be sure.
Hopefully someone else will reply. Otherwise grep in less for gpuarray.dnn
and check if it seem related.
Le lun. 6 mars 2017 17:48, pyzow<EMAIL_ADDRESS>a écrit :

Has there been any progress on this or a plan for new keras code :) ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/fchollet/keras/issues/4256#issuecomment-284560054,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALC-4vIr8NKPlzl5726_uetJeWR-xyUks5rjI1WgaJpZM4KmiDm
.


Crash during backfilling collection data

Description
Hi! I want to implement full text search into my project which is based on Firebase. Right now I'm trying to get some things rolling by backfilling my data to the TypeSense Collection. I'm using a Firebase TypeSense Extension from this repo. Everything went smoothly except the backfilling process. The ext-firestore-typesense-search-backfillToTypesenseFromFirestore cloud function gives me an error "Memory limit exceeded". Usually I fix that problem by deploying a function once again with higher available resources but I'm not sure if this is the proper solution. The test collection has a size of around 60MB and contains 53K documents. I was able to successfully export other collection which is a bit smaller (around 30k documents).
Steps to reproduce

Expected Behavior
The ext-firestore-typesense-search-backfillToTypesenseFromFirestore trigger function shouldn't crash.
Actual Behavior
If the collection is big enough the ext-firestore-typesense-search-backfillToTypesenseFromFirestore trigger function returns an error Function invocation was interrupted. Error: memory limit exceeded.
Metadata
Typsense Version: 0.21.0

@owocowyy Thank you for reporting this. I made an incorrect assumption that this method automatically paginates and returns documents in small batches from Firestore.
https://github.com/typesense/firestore-typesense-search/blob/3bbb665ed082ec77858c8968ec586c8ba58114a6/functions/src/backfillToTypesenseFromFirestore.js#L34
It looks like that might not be the case, so ALL documents are being loaded into memory, exhausting it.
Let me see if there's a batch retrieval mechanism...

@owocowyy Skimming through the docs I wasn't able to find a quick way to paginate through all the docs in a collection, without a sort field.
So for now I've increased the function's memory to 4x of what it used to be and published it as a new version: https://github.com/typesense/firestore-typesense-search/releases/tag/v0.2.5

That might resolve the issue but I think it isn't the optimal way of doing it. I know that Firestore has its own limitations and I didn't check the docs to find a better way so for now I think we can close this issue or mark it as "needs future improvements"

Yeah, I agree this is not an ideal solution.
I'll close this for now, but I'll keep an eye out for any potential alternate solutions.

The solution to this is to use a firestore query with cursors which allow you to iterate any size collection in batches, effectively re-starting from the last point each time.
https://firebase.google.com/docs/firestore/query-data/query-cursors
The typical approach is to schedule a task to keep running a function, which itself schedules the next task to continue with until the entire collection has been iterated over.
https://cloud.google.com/tasks/docs/tutorial-gcf
You can get even fancier by splitting up the key-space of the dataset so you can have multiple parallel processes running. Whether it's worthwhile really depends on how many records you have to process and how quickly you want it to happen. I used this approach with datastore, which was the forerunner to firestore, and it would work for tens of millions of records.
https://github.com/CaptainCodeman/datastore-mapper


Different full screen images

Is there a way to do something like this?
OnboardingContentViewController *firstPage = [OnboardingContentViewController contentWithTitle:nil body:nil image:FULL_SCREEN_IMAGE buttonText:nil action:^{

    }];
OnboardingContentViewController *secondPage = [OnboardingContentViewController contentWithTitle:nil body:nil image:ANOTHER_SCREEN_IMAGE buttonText:nil action:^{

    }];

What I'd like to achieve is to have different background images in every page.

Unfortunately, this is not currently something that is built into Onboard.


Try checking against upstream release candidates

Adding a test job that uses pip install --pre to test against upstream release candidates.
Could use some consideration on how exactly this works.

[ ] Decide if this should be required
[ ] Check that installation is happening correctly

Included in #931


Failed to start a session for the Kernel 'Python 3.5.2 64-bit ('root': conda)'. View Jupyter log for further details.

Environment data

VS Code version: 1.43.1
Extension version (available under the Extensions sidebar): XXX
OS and version: XXX
Python version (& distribution if applicable, e.g. Anaconda): anaconda Python 3.7.6 64-bit
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Relevant/affected Python packages and their versions: XXX
Relevant/affected Python-related VS Code extensions and their versions: XXX
Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info #3977): XXX
Value of the python.languageServer setting: XXX

Expected behaviour
start the python interactive window
Actual behaviour
"Failed to start a session for the Kernel 'Python 3.5.2 64-bit ('root': conda)'. View Jupyter log for further details."
I choose the right version of python:

But it doesn't work.
-1585087562783.log
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

XXX

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
XXX

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)
XXX

@denisebid. Thanks for reporting this and providing the log. I just took a look at the log and it was looking like there might be a path mismatch with how we are trying to load Jupyter for the Interactive Window. I know that we've had some issues in this area recently. Could you pick the: "Python: Select interpreter to start Jupyter server" command and select the Anaconda root env. And then try your scenario again?
From the log I see callstacks with both an anaconda path and a default windows path in the callstack. I think setting your interpreter path also to the anaconda path should fix this.

File "C:\Users\Denise\AppData\Roaming\Python\Python37\site-packages\tornado\gen.py", line 742, in run        yielded = self.gen.throw(*exc_info)  # type: ignore      File "E:\Users\Denise\Anaconda3\lib\site-packages\notebook\services\sessions\handlers.py", line 72, in post        type=mtype))

Thanks for your answer.
It doesn't allow me to select the anaconda root env.

@denisebid that's a bit odd. Was that env deleted from your system? I would try to recreate a new conda env that has jupyter and whatever else you need in it, and then try to use that as the jupyter interpreter and kernel for your interactive window.

it shouldn't be deleted. I've just installed python (anaconda) and visual
basic code. I could try deleting everything again and installing it again.
El jue., 26 de mar. de 2020 a la(s) 12:21, Ian Huff (
<EMAIL_ADDRESS>escribió:

@denisebid https://github.com/denisebid that's a bit odd. Was that env
deleted from your system? I would try to recreate a new conda env that has
jupyter and whatever else you need in it, and then try to use that as the
jupyter interpreter and kernel for your interactive window.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-python/issues/10762#issuecomment-604482882,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AO5ZMS3JG2NPHACCUHDD3WLRJNVLZANCNFSM4LTBSOUA
.

If you consider, I could give you remote access to my computer so you can
check it out.
El jue., 26 de mar. de 2020 a la(s) 12:35, Denise Bidinost (
<EMAIL_ADDRESS>escribió:

it shouldn't be deleted. I've just installed python (anaconda) and visual
basic code. I could try deleting everything again and installing it again.
El jue., 26 de mar. de 2020 a la(s) 12:21, Ian Huff (
<EMAIL_ADDRESS>escribió:

@denisebid https://github.com/denisebid that's a bit odd. Was that env
deleted from your system? I would try to recreate a new conda env that has
jupyter and whatever else you need in it, and then try to use that as the
jupyter interpreter and kernel for your interactive window.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-python/issues/10762#issuecomment-604482882,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AO5ZMS3JG2NPHACCUHDD3WLRJNVLZANCNFSM4LTBSOUA
.

What I would start with now is just creating a new fresh environment for conda from the command line:
https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html
Then install jupyter and any needed dependencies into that env. Our interactive window and notebook editor will only work when there is an environment available with Juypter to run in. If you can run "python -m jupyter notebook" from that environment in the anaconda command prompt and that starts up a notebook that should be good to use with VS Code.

I had the same issue after I update the newest version VSCode...Any solution so far???

The problem finally was that I has instaled it and uninstalled it a couple
of times.  So, the VSC looks for information in a wrong folder.
Thank you all for your help!
Denise
El dom., 29 de marzo de 2020 23:18, lixin6135<EMAIL_ADDRESS>escribió:

I had the same issue after I update the newest version VSCode...Any
solution so far???
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-python/issues/10762#issuecomment-605746824,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AO5ZMS75DPQUEDHBQ57BSD3RJ76PVANCNFSM4LTBSOUA
.

@denisebid Good to hear that it's working now. VSC does do some caching of interpreters between runs (since searching is slow) so that makes sense that an old env was showing up for a bit after an uninstallation. Anaconda can also be tricky to get uninstalled, there are some instructions online about making sure that all the files that it puts down are cleaned up after removal. I've seen that causing issues with VSC as well.

@lixin6135 Can you open up a new issue with your details? Failing to start a session is a pretty general symptom, so it might not be the same thing that denisebid was running into. Would be easier for us to track your issue if it has it's own thread and details.

Ian,
I also have an issue of the same kind. The error is same but here is the problem statement.
Problem Statement:
Failed to start a session for the Kernel 'Python 3.8.0 64-bit ('root': conda)'. View Jupyter log for further details
Solution Attempted:
I had python version 3.8.0 for VSCode and then when trying to start Jupyter had the issue mentioned. Next after going thru the blog changed the Python interpreter path to the conda path which had a 3.7.2 python version but still it failed.  On further analysis of the log I see it states the below. What does that mean?. I am using Windows 10 Professional and latest VS Code (Mar 2020 - 1.44.2 version)
ImportError: DLL load failed while importing win32api: The specified module could not be found.
Error Log details below
 return next(self.gen)
  File "c:\users\grajendran\appdata\local\programs\python\python38\lib\site-packages\jupyter_core\paths.py", line 435, in secure_write
    win32_restrict_file_to_user(fname)
  File "c:\users\grajendran\appdata\local\programs\python\python38\lib\site-packages\jupyter_core\paths.py", line 361, in win32_restrict_file_to_user
    import win32api
ImportError: DLL load failed while importing win32api: The specified module could not be found.

[W 23:01:37.892 NotebookApp] Unhandled error
[E 23:01:37.897 NotebookApp] {
"Content-Type": "application/json",
"Authorization": "token 57ced57a3b7917ca1408a6c53f5d5c276735a5cbfdf00f94",
"Accept": "/",
"Content-Length": "158",
"User-Agent": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)",
"Accept-Encoding": "gzip,deflate",
"Connection": "close",
"Host": "localhost:8889"
}
[E 23:01:37.898 NotebookApp] 500 POST /api/sessions?1587189697780 (<IP_ADDRESS>) 65.00ms referer=None

Have an update to my earlier comment. I had now uninstalled the Anaconda version and also the Python . Freshly downloaded both and installed VS Code thru Anaconda and after setting the Python interpreter it worked FINALLY!!!.
Its so awesome now to have Jupyter notebook in VS Code

@gunasekarr Glad to hear that. Configuration and installation can still be a tricky point with Jupyter. So we're doing some work in this area that should hopefully help folks out in the future with initial. Since I believe from this thread that @denisebid and @gunasekarr are both up and running I'm going to close this issue.

Thanks a lot Ian for your help much appreciated


Add possibility to install secondary DC in different AD Site

Please add optional parameter to install secondary DC into a specific AD Site

@josch710 This will presumably need to go into the xADDomainController resource?

@iainbrighton Yes - would say so...

@josch710 Is the assumption with the xADDomainController resource, that the target AD site already exists? If not, I don't think creating sites should be the responsibility of the xADDomainController resource and we would need to log an issue to get a xADSite resource put together.

@iainbrighton : Yes - the target AD Site should already exist - so it will install the Domain Controller as a secondary DC into an already existing Domain structure

This is what we need in our environment. I'm currently working on adding Site support to xADDomainController. I might submit a PR in a while.

While working on this feature I've noticed that I need to add handling on whether  domain was not found or domain controller was not found. Because this catch block catches both errors. Should i add this in the same brunch with Site property or in separate one?


Support fuzzing mutations of autowired models

Description
Currently fizzer constructs objects with constructors and modifies them, mostly by setting accessible fields.
We should be able to mutate autowired objects taking into account their specific:

do not mutate autowired fields
mutate other fields
possible call some methods of the instance

This logic should be incapsulated in AutowiredValueProvider.

It's worth keeping in mind that right now when constructing new objects (from Seed.Recursive) fuzzer tries to use all available mutations, which can be problematic if we directly let it know about every public method of every relevant bean, since many of them might throw exceptions (when given random arguments), and it may take quite a while for fuzzer to trim mutation list until no such exception throwing methods are left in it, especially without any feedback for exceptions thrown during value construction phase.
It seems like some improvements to fuzzer platform or some less direct solutions from our side are needed.

Replaced with #2344

Replaced with #2344


As a User I want to join a Tournament

[x] User can add another GameOn User (that already exists in GameOn) to a Tournament that they are in
[ ] User can add any AAD User from the Tenant to a Tournament they are in. If that User does not exist in GameOn, they are created and added to the Tournament

@DanielLarsenNZ we need a POST /tournaments/{tenant_id}/{id}/players or similar endpoint so people can join. I don't remember why we proposed a /players/{tournament_id} route in the docs as players are depended on the tournament... it might be better practice to stick to the above convention.

Or possibly /tournaments/(tenantId)/(tournamentId)/join ?

A User can now add another GameOn User (that already exists in GameOn) to a Tournament that they are in. This has been deployed to Prod.

A User can now add another GameOn User (that already exists in GameOn) to a Tournament that they are in. This has been deployed to Prod.

@olafwrieden I ended up changing the endpoint to accept a model. This is a breaking change sorry.
POST /tournaments/{tournament_id}/players
Content-Type: application/json
Authorization: Bearer {{accessToken}}

{
    "playerId": String?,
    "playerIds": String[]?,
    "addMe": Bool?
}


SPN discovery gets wrong service when it does not first attempt accessing the SPN for the given hostname rather than immediately doing a reverse lookup.

I was working through an issue in GitLFS that traced down to an apparently errant behavior in spnego.  On Windows, in the spnego_windows.go file, the SetSPNEGOHeader attempts to form a Canonicalized hostname from the given URL's hostname without ever trying the given host.   In any environment with multiple services on a given IP, this could result in an incorrect SPN being chosen.  This canonicalization is a good attempt at recovering from an SPN missing for a service, but causes intermittent incorrect SPN selection when the given host is valid and multiple hosts share an IP address.

Note for anyone dealing with this problem.  You can locally fix it using your hosts file if you only need to manage to connect to one particular SPN on that machine.  If you have multiple records for a given IP in the hosts file, spnego will select the first listed hostname for the service to use as the HTTP/hostname SPN.


Install.sh should use CXX from environment variable

Install.sh was not honouring CXX set in an environment variable prior to calling the script. This fixes that and also includes a syntax fix for reference to $PATH in a groovy script.

@saadrahim A description would have been useful.

Also, I am very certain the CCache is causing build issues on hipSPARSE. @cgmb we should discuss.

I am very certain the CCache is causing build issues on hipSPARSE

Could you point me at an example?

Install.sh was not honouring CXX set in an environment variable prior to calling the script.

I don't know of any install.sh scripts that do.

The alternative to modifying install.sh is to make sure devtoolset7 is in the path like we do for other libraries like rocBLAS
https://github.com/ROCmSoftwarePlatform/rocBLAS-internal/blob/dc4997d055b0babe963ab142303b0f26a40ad1fb/.jenkins/common.groovy#L8

I am very certain the CCache is causing build issues on hipSPARSE

Could you point me at an example?

Install.sh was not honouring CXX set in an environment variable prior to calling the script.

I don't know of any install.sh scripts that do.

Good point. Perhaps this solution is not appropriate. Forcing devtoolset-7 is likely a better solution.

I think the problem is that the dependency list for the sample executable is incomplete.
I assume that hipsparse.mod is created when hipsparse.f is compiled to create the hipsparse_fortran object library? If so, the Fortran samples probably need to add $<TARGET_OBJECTS:hipsparse_fortran> to their add_executable call in order to ensure that the samples are always built after hipsparse.f.
ccache doesn't support Fortran and is not used when compiling Fortran sources, so when ccache is enabled, the C and C++ compilation gets really, really fast and the Fortran compilation remains (relatively) slow. That allows the C++ library to finish building before the Fortran library, and the samples begin compiling before hipsparse.mod has been created, causing the build failure.

@cgmb add_dependencies(hipsparse hipsparse_fortran) ?

when compiling  samples we use the same mechanism for both cpp and Fortran files, thus Fortran samples are using roc::hipsparse. Either we make 'roc::hipsparse' waiting for everything to finish on the library side or we need to 'separate' the compilation of the library side in a better way to be able to use a 'roc::hipsparse_fortran' ? What do you think?

when compiling samples we use the same mechanism for both cpp and Fortran files, thus Fortran samples are using roc::hipsparse

hipsparse_fortran doesn't don't have any outputs that end up in the hipsparse-*.deb package. We ship the hipsparse.f input file and users need to configure their build system to generate hipsparse.mod themselves. So for users following along with the samples, roc::hipsparse is never going to provide hipsparse.mod, no matter how long they wait.
The samples should do things the same way that an end user would have to do things, which I think is just adding hipsparse.f to their library or executable's sources. (The CMake OBJECT library is an optimization of that process when you're adding it to multiple executables, as it builds the file once rather than building the file once for each sample executable.)
Now, I'm not very familiar with Fortran, so it may be that there's better ways of shipping our code, but the way of fixing this that would be consistent with the that users of existing hipSPARSE use the Fortran interface would be to create hipsparse_fortran in the clients, rather than the library, and have the samples explicitly include it as a source. (rocBLAS, hipBLAS, and hipSOLVER work that way, too.)

(It may be that we're not providing a great user experience for our Fortran users. I honestly wouldn't know. It might be a great idea to export a roc::hipsparse_fortran library, but I think that's a separate problem to solve than fixing the build. Making user-visible changes would require a lot more research to be sure we're doing the right thing.)

fortran wrappers are handled in hipfort. We may be duplicating things.

yes that was my hunch too, is all of this worth to be taken care of?

I'm fine with turning off the ccache as doubt it saves much time here anyway, but expect you should try the fix Cory suggests in the near future or this could pop up as another obscure bug until the time we drop fortran API (Hipfort is not the only layer of fortran support for now).   @daineAMD is more the expert on this design but the fortran module compilation and dependency can be pushed to the clients so that you can drop any fortran usage on the library (cleaner design).  The module is compiled by the client as a user may have a better fortran and so wants to make the module for themselves, thus the client building design matches other client usage.   Probably only a couple lines of Cmake need to change to match the hipBLAS pattern and so the compilation order should be set by cmake regardless of ccache (cmake shouldn't change dependency ordering), but I'm not offering to make the changes so you can ignore me :-)   Daine might be willing?

I'm willing to take it. Will create a JIRA ticket for it.

I abandoned the install.sh changes as that was inconsistent from other install.sh scripts as @cgmb suggested. This avoids the cmake race condition and is a fix for devtoolset in Centos 7.

the fix for devtoolset in Centos 7 solves SWDEV-291503, without it the used c++ compiler was the /usr/bin/c++ version 4.8 where __has_attribute is not supported.


MembersPage: strange FormatException

Describe the bug
I just opened MembersPage and this showed up
To Reproduce
Steps to reproduce the behavior:

Go to MembersPage
See strange error/don't see users

Expected behavior
It should display a list of all verified users.
Screenshots

Logs
I/flutter ( 2865): INFO: 2020-05-03 03:16:13.600469: MembersPageSelected
I/flutter ( 2865): INFO: 2020-05-03 03:16:13.605046: Transition { currentState: HomeScreenStats, event: MembersPageSelected, nextState: HomeScreenMembers }
I/flutter ( 2865): INFO: 2020-05-03 03:16:13.788853: ProfilePageShowed
I/flutter ( 2865): INFO: 2020-05-03 03:16:13.825160: RelationPageShowed
I/flutter ( 2865): INFO: 2020-05-03 03:16:13.883083: Transition { currentState: ProfilePageInitial, event: ProfilePageShowed, nextState: ProfilePageLoading }
I/flutter ( 2865): INFO: 2020-05-03 03:16:13.893891: --> GET https://mentorship-backend-temp.herokuapp.com/user
I/flutter ( 2865): INFO: 2020-05-03 03:16:13.895236: --> END GET
I/flutter ( 2865): INFO: 2020-05-03 03:16:13.898686: --> GET https://mentorship-backend-temp.herokuapp.com/mentorship_relations/current
I/flutter ( 2865): INFO: 2020-05-03 03:16:13.899332: --> END GET
I/flutter ( 2865): INFO: 2020-05-03 03:16:13.911007: Has token!
I/flutter ( 2865): INFO: 2020-05-03 03:16:13.916779: Has token!
I/flutter ( 2865): INFO: 2020-05-03 03:16:13.934684: MembersPageShowed
I/flutter ( 2865): INFO: 2020-05-03 03:16:13.945074: Transition { currentState: MembersPageInitial, event: MembersPageShowed, nextState: MembersPageLoading }
I/flutter ( 2865): INFO: 2020-05-03 03:16:13.947598: --> GET https://mentorship-backend-temp.herokuapp.com/users/verified
I/flutter ( 2865): INFO: 2020-05-03 03:16:13.947731: --> END GET
I/flutter ( 2865): INFO: 2020-05-03 03:16:13.951168: Has token!
I/flutter ( 2865): INFO: 2020-05-03 03:16:14.896969: <-- 200 https://mentorship-backend-temp.herokuapp.com/mentorship_relations/current
I/flutter ( 2865): INFO: 2020-05-03 03:16:14.897167: via: 1.1 vegur
I/flutter ( 2865): INFO: 2020-05-03 03:16:14.897250: content-type: application/json
I/flutter ( 2865): INFO: 2020-05-03 03:16:14.897323: connection: keep-alive
I/flutter ( 2865): INFO: 2020-05-03 03:16:14.897392: date: Sun, 03 May 2020 01:16:15 GMT
I/flutter ( 2865): INFO: 2020-05-03 03:16:14.897461: content-length: 355
I/flutter ( 2865): INFO: 2020-05-03 03:16:14.897523: server: gunicorn/20.0.4
I/flutter ( 2865): INFO: 2020-05-03 03:16:14.897714: {
I/flutter ( 2865):     "id": 21,
I/flutter ( 2865):     "action_user_id": 157,
I/flutter ( 2865):     "sent_by_me": false,
I/flutter ( 2865):     "mentor": {
I/flutter ( 2865):         "id": 24,
I/flutter ( 2865):         "name": "Bartek"
I/flutter ( 2865):     },
I/flutter ( 2865):     "mentee": {
I/flutter ( 2865):         "id": 157,
I/flutter ( 2865):         "name": "ljco"
I/flutter ( 2865):     },
I/flutter ( 2865):     "creation_date":<PHONE_NUMBER>.20845,
I/flutter ( 2865):     "accept_date": null,
I/flutter ( 2865):     "start_date": null,
I/flutter ( 2865):     "end_date":<PHONE_NUMBER>.0,
I/flutter ( 2865):     "state": 2,
I/flutter ( 2865):     "notes": "test"
I/flutter ( 2865): }
I/flutter ( 2865): INFO: 2020-05-03 03:16:14.897861: --> END GET (355-byte body)
I/flutter ( 2865): INFO: 2020-05-03 03:16:14.907316: --> GET https://mentorship-backend-temp.herokuapp.com/mentorship_relation/21/tasks
I/flutter ( 2865): INFO: 2020-05-03 03:16:14.909310: --> END GET
I/flutter ( 2865): INFO: 2020-05-03 03:16:14.915049: Has token!
I/flutter ( 2865): INFO: 2020-05-03 03:16:15.148047: <-- 200 https://mentorship-backend-temp.herokuapp.com/user
I/flutter ( 2865): INFO: 2020-05-03 03:16:15.148556: via: 1.1 vegur
I/flutter ( 2865): INFO: 2020-05-03 03:16:15.148856: content-type: application/json
I/flutter ( 2865): INFO: 2020-05-03 03:16:15.148949: connection: keep-alive
I/flutter ( 2865): INFO: 2020-05-03 03:16:15.149019: date: Sun, 03 May 2020 01:16:15 GMT
I/flutter ( 2865): INFO: 2020-05-03 03:16:15.149191: content-length: 785
I/flutter ( 2865): INFO: 2020-05-03 03:16:15.149284: server: gunicorn/20.0.4
I/flutter ( 2865): INFO: 2020-05-03 03:16:15.153850: {
I/flutter ( 2865):     "id": 24,
I/flutter ( 2865):     "name": "Bartek",
I/flutter ( 2865):     "username": "Pacia",
I/flutter ( 2865):     "email"<EMAIL_ADDRESS>I/flutter ( 2865):     "password_hash": "pbkdf2:sha256:50000$PBgwD2Qi$1aed4b58ff957703b3c2cb919cc91ee99b9636a788a4fb67a1399e121b373aeb",
I/flutter ( 2865):     "terms_and_conditions_checked": true,
I/flutter ( 2865):     "is_admin": false,
I/flutter ( 2865):     "registration_date":<PHONE_NUMBER>.49689,
I/flutter ( 2865):     "is_email_verified": true,
I/flutter ( 2865):     "email_verification_date": "2020-03-13T18:22:50.599463",
I/flutter ( 2865):     "bio": null,
I/flutter ( 2865):     "location": null,
I/flutter ( 2865):     "occupation": null,
I/flutter ( 2865):     "organization": null,
I/flutter ( 2865):     "slack_username": null,
I/flutter ( 2865):     "social_media_links": null,
I/flutter ( 2865):     "skills": null,
I/flutter ( 2865):     "interests": null,
I/flutter ( 2865):     "resume_url": null,
I/flutter ( 2865):     "photo_url": null,
I/flutter ( 2865):     "need_mentoring": true,
I/flutter ( 2865):     "available_to_mentor": true,
I/flutter ( 2865):     "current_mentorship_role": null,
I/flutter ( 2865):     "membership_status": null
I/flutter ( 2865): }
I/flutter ( 2865): INFO: 2020-05-03 03:16:15.153996: --> END GET (785-byte body)
I/flutter ( 2865): INFO: 2020-05-03 03:16:15.160559: Transition { currentState: ProfilePageLoading, event: ProfilePageShowed, nextState: ProfilePageSuccess }
I/flutter ( 2865): INFO: 2020-05-03 03:16:15.723152: <-- 200 https://mentorship-backend-temp.herokuapp.com/mentorship_relation/21/tasks
I/flutter ( 2865): INFO: 2020-05-03 03:16:15.723308: via: 1.1 vegur
I/flutter ( 2865): INFO: 2020-05-03 03:16:15.723373: content-type: application/json
I/flutter ( 2865): INFO: 2020-05-03 03:16:15.723494: connection: keep-alive
I/flutter ( 2865): INFO: 2020-05-03 03:16:15.723624: date: Sun, 03 May 2020 01:16:16 GMT
I/flutter ( 2865): INFO: 2020-05-03 03:16:15.723719: content-length: 165
I/flutter ( 2865): INFO: 2020-05-03 03:16:15.723890: server: gunicorn/20.0.4
I/flutter ( 2865): INFO: 2020-05-03 03:16:15.725271: [
I/flutter ( 2865):     {
I/flutter ( 2865):         "id": 1,
I/flutter ( 2865):         "description": "Hello! :D",
I/flutter ( 2865):         "is_done": false,
I/flutter ( 2865):         "created_at":<PHONE_NUMBER>.920985,
I/flutter ( 2865):         "completed_at": null
I/flutter ( 2865):     }
I/flutter ( 2865): ]
I/flutter ( 2865): INFO: 2020-05-03 03:16:15.725367: --> END GET (165-byte body)
I/flutter ( 2865): INFO: 2020-05-03 03:16:15.727953: Transition { currentState: RelationPageLoading, event: RelationPageShowed, nextState: RelationPageSuccess }

Smartphone (please complete the following information):
Pixel 3a emulator, API 29
PS I see password hash in the logs. Can it possible be used to retrieve my short, dummy password? 👀

hmm, works fine on my end?

Well, that's strange

@isabelcosta can you test this? also can we tag the qa team to test such things?

I tested it the on iPhone simulator, same result :/.

@bartekpacia i got this too. i also got the same error when i tried using curl and swagger to get the verified users list. Maybe it is a backend issue.
cc: @isabelcosta

indeed, it's more of a backend issue. We need to find out when it happens.

@bartekpacia yep its a backend issue. The PR for it is already up here. we should be able to close it once its merged.

We will have to change our side too. we have to specify page number in the request now

@bartekpacia @Techno-Disaster it is a backend issue, sometimes the Heroku server responds badly. One of the reasons is that we don't have pagination implemented in the backend which means that everytime we call GET /users the entire database of users is queried and the entire list of users is returned, which is too much sometimes for the Heroku server

@bartekpacia @Techno-Disaster it is a backend issue, sometimes the Heroku server responds badly. One of the reasons is that we don't have pagination implemented in the backend which means that everytime we call GET /users the entire database of users is queried and the entire list of users is returned, which is too much sometimes for the Heroku server

so can we close this issue @isabelcosta ?

Not sure, this is still an issue. If someone reports this again because they don't see this open, then we have duplicated issues @Techno-Disaster I think we can leave this open with a special label.

@Techno-Disaster I removed available issue, because apparently there is nothing to do here, but "On Hold" because we are waiting on https://github.com/anitab-org/mentorship-backend/pull/541

Not sure, this is still an issue. If someone reports this again because they don't see this open, then we have duplicated issues @Techno-Disaster I think we can leave this open with a special label.

makes sense . 👍

Closing for now.
Reason : Same as #85 and PR #87 is already up.


std::runtime_error when loading matplotlib.pyplot

On osx 10.10.5, the examples build cleanly but when I try to run them I get:
.libc++abi.dylib: terminating with uncaught exception of type std::runtime_error: Error loading module matplotlib.pyplot!
/bAbort trap: 6
I suspect this is a system path issue as I have matplotlib installed on the system:
In [9]: matplotlib.path
Out[9]: ['/Library/Python/2.7/site-packages/matplotlib']

Hi, I don't know much about mac, but
a) Does it work if you try to 'import matplotlib.pyplot' from the python interpreter?
b) If yes, does it work if you add PYTHONPATH=/Library/Python/2.7/site-packages to the environment?

I get the same error on Mac.
a) I can import matplotlib.pyplot from python interpreter correctly.
b) after I set PYTHONPATH environment variable, I still get the same error.

I found a solution at https://stackoverflow.com/questions/21784641/installation-issue-with-matplotlib-python?noredirect=1&lq=1

Create a file ~/.matplotlib/matplotlibrc there and add the following code: backend: TkAgg

I am running into this same issue now, although in a different environment.
I'm running on Ubuntu 18.04. Python version is 3.7. Pip dependencies (i.e. matplotlib) are installed in a virtualenv.
In order for it to be able to import matplotlib, I have to explicitly set my PYTHONPATH like below, even though I have activated the virtualenv:
export PYTHONPATH="/path/to/my/venv/lib/python3.7/site-packages"

With PYTHONPATH set, then I get the error about not being able to import matplotlib.pyplot.
terminate called after throwing an instance of 'std::runtime_error'
  what():  Error loading module matplotlib.pyplot!

Same error on Windows 10, Visual Studio 2019, Python 310

I had this error in an ubuntu docker 20.04 container.
I solved it by first trying to import it as suggested:
python3
import matplotlib.pyplot

From there I got this error:
ModuleNotFoundError: No module named 'Tkinter'

Which once I installed tk everything worked correctly.
It is a very misleading error IMO.
https://stackoverflow.com/questions/25905540/importerror-no-module-named-tkinter
sudo apt-get install python3-tk

On my system (macos, installed python using homebrew), it turned out that I got this error because matplotlib was installed only for Python 3.10, while matplotlib-cpp was using Python 3.11.
Installing matplotlib for that specific Python version helped:  python3.11 -m pip install matplotlib
__
p.s. Now I get further, but get a different runtime error
libc++abi: terminating with uncaught exception of type std::runtime_error: Call to figure() failed.

I am same issue now,use Anaconda on Ubuntu 22.04, Python version is 2.7,
I  installed in a virtualenv. run by vscode, I write tasks.json,becuse I want to debug by vscode GUI
"-I", "/home/agatha/.conda/envs/myenv/include/python2.7",
"-L", "/home/agatha/.conda/envs/myenv/bin",
"-L", "/home/agatha/.conda/envs/myenv/lib/python2.7/site-packages",
"-lpython2.7",
And than I terminal input "conda activate myenv"
oh sad occur runtime_error("Error loading module matplotlib!");

In my case, this seemed to be fixed by installing python-tk
apt install python-tk


Crashing of the JWLibrary

Since maybe a few day and maximum one Month every link generated from bibleLinkerPro opens and then crashes the JWLibrary App. Even my old Links do not function anymore. But if I insert the link which is generated from the JWLibrary in the Brackets from the bibleLinkerPRo-Link than it opens the Library in the correct bible vers.
Does it happen by anyone else?

Hello @Juilio!
Thank you for your question.
This issue is known and is caused by a recent update of JW Library on Windows.
In this update the compatibility with Bible links in the way that are used in my plugin, are broken. To address this issue an update of my plugin will be required.
I hope you can understand that I currently don't have much time to fix this, so this will take some time.
Thank you for your patience!

Thanks for the Info. I can fully understand the lacking of Time. So No stress.


feat(qwikloader): emit error

fixes https://github.com/QwikDev/qwik/issues/3716

Is qerror with the data specific enough to know that it was a symbol error?
I think we should also have a default handler in qwik city that hard reloads the page when the error is 404

yeah, I'm thinking we can use this and add it to the import for a hard reload (to fix the other problem).
this was meant for detecting an error

@wmertens ok I added an importError check we can later add a listener to check for it and reload for prod


Fixing archival issue for AWS and Azure

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind new feature
/kind bug fix
/kind cleanup
/kind revert change
/kind design
/kind documentation
/kind enhancement

What this PR does / why we need it:
Fixing the issue of archival and restore for AWS and Azure. Changed the way objectID was being passed.
Which issue(s) this PR fixes:
Fixes #1227
Test Report Added?:

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind TESTED
/kind NOT-TESTED
AZURE

AWS

GCP

Special notes for your reviewer:
Dev branch (hos_dev) includes the bucket management changes. This need to be incorporated for the master. Also, the dev to master sync had some code removed for master. Fixes those

LGTM

LGTM


YAML function to read a file and manipulate its contents

What happened?
I am attempting to read in a file in a pulumi yaml program. I want to set an output property to the contents of a file. However, I'm seeing a JSON object representing the file asset instead of the contents of the file
Steps to reproduce
Create the following files:
./README.md
# Example Readme
Readme

./Pulumi.yml
name: readme
runtime: yaml
description: example
outputs:
  # Export the name of the bucket
  bucketName: ${bucket.id}
  readme:
    Fn::FileAsset: ./README.md

Run pulumi up
Expected Behavior
The output should be set to the contents of the FileAsset, not a JSON object.
Actual Behavior

Versions used
No response
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

readfile is a primitive operation we support in our intermediate language, so I'm moving this from "enhancement" to "bug". We need a Fn::ReadFile to have parity and "convert" parity.

It's semantics but I don't agree it's a bug. If I understand it correctly, we need to add a new Fn::ReadFile function, which sounds like an enhancement? I just want to make sure we are on the same page.

I'm treating feature gaps between YAML and other languages - in this case we've got a primitive function we cannot "eject" to - as a bug to make sure it shows up as a higher priority than enhancements.
If there was a category between kind/bug and kind/enhancement, I'd use that.

FWIW this is not consistent with the way we use labels in other places. Also, not sure bug vs. enhancement is a statement of priority.


Feat: Storing all URLs.

Is your feature request related to a problem? Please describe.
Currently, users do not have visibility into the shortened URLs they have created after logging into their profiles.
Describe the solution you'd like
I would like to implement a feature where users can view all the shortened URLs associated with their account after logging in. This would provide users with better visibility and control over their shortened URLs.
Describe alternatives you've considered
An alternative solution could be to allow users to access their shortened URLs through a unique link sent to their email after each URL is shortened. However, this approach may be less convenient for users and could lead to cluttered inboxes.
Additional context
Having the ability to view all shortened URLs in their profile would enhance the user experience and improve the usability of the URL shortening service.

I would like to work on this issue.

Hey @abhiperfect, currently login/signup and authentication done then we will work on this

Hey @abhiperfect, currently login/signup and authentication done then we will work on this

Ok @abhijeetnishal , could you please assign me this task after login/signup completion.

I will let you know

@abhijeetnishal  can you assign me this task under ggsoc'24

@abhijeetnishal  can you tell where we will be storing history on server ? or in cookies ?.
form my point of view , server side saving is good. it will persist even if user clear cookies or history in browser.

Hey @Aditya2ReaLNITKKR, we can use server side approach not cookies as i explained in #106

I am interested in resolving issue for GSSoC '24 and believe my skills in make me a good fit. Please assign it to me.

Hey @riyasaxena32, there are some issues like #70 that needs to be done before this. Also @abhiperfect asked this issue to assign.

Hey @abhiperfect, do you have any designs for this feature?

Closing this issue as not active.


No carousel

Luke, I am able to install your lukebranch / website_multi_image, not this one though.
The other installs fine but there is no carousel in the product web page. It does show the images, but not the carousel. The images are lined vertically one below the other in regular format then below in thumbnail.
Is there additional steps I need to take? Do I need to install carousel separately?
Thanks

@joadell ,
I'd recommend making sure you're backed up (if you have done alot of work adding product images), and then uninstall and remove the lukebranch/website_multi_image repository and change to this one, specifically the 8.0 branch.
I have moved all development work over to this repository to allow for easier collaboration in the future.
Please try the install using the instructions in the README file and feel free to write back here if you run into any issues.


Update NewExtension() to build CRX3 formatted Chrome extensions

Chrome new requires CRX3 formatted extensions.
This fixes a number of tests in the suite.

Thank you again!


rename facebookUserId to facebookToken

not sure if this is correct, but everywhere else in this tutorial I only see references to a facebookToken. unless the facebookToken and the facebookUserId are actually two different things I think the field should be renamed to facebookToken

That's intended.
The facebook user id is the unique identifier for a given user. If you finish the sign in workflow in your app, you receive a facebook token that authenticates you as a user with a certain facebook user id.
These terms are analogous to GC user id and GC token.


Failed to build r2.12 from sources (ShardedLRUCache)

Click to expand!
Issue Type
Build/Install
Have you reproduced the bug with TF nightly?
No
Source
source
Tensorflow Version
tf 2.12
Custom Code
No
OS Platform and Distribution
Debian GNU/Linux 12 (bookworm) (docker)
Mobile device
No response
Python version
3.11.2
Bazel version
Bazelisk version: v1.16.0
GCC/Compiler version
c++ (GCC) 13.1.0
CUDA/cuDNN version
CPU only
GPU model and memory
CPU only
Current Behaviour?
I got a marked 'override', but does not override error while compiling TF r2.12
Step I have followed:

Install the latest GCC docker image: https://registry.hub.docker.com/_/gcc/
Install Bazelisk
Install a Python virtual env
Install the relevant libraries (pip, numpy, wheel, packaging, requests, opt_einsum, keras_preprocessing, see [1])
Cloned git clone https://github.com/tensorflow/tensorflow.git
git checkout r2.12
./configure (with the default options)
bazel build //tensorflow/tools/pip_package:build_pip_package

References:
[1] https://www.tensorflow.org/install/source?hl=fr
Standalone code to reproduce the issue
bazel build //tensorflow/tools/pip_package:build_pip_package

Relevant log output
INFO: Options provided by the client:
  Inherited 'common' options: --isatty=0 --terminal_columns=80
INFO: Reading rc options for 'build' from /root/repos/tensorflow/.bazelrc:
  Inherited 'common' options: --experimental_repo_remote_exec
INFO: Reading rc options for 'build' from /root/repos/tensorflow/.bazelrc:
  'build' options: --define framework_shared_object=true --define tsl_protobuf_header_only=true --define=use_fast_cpp_protos=true --define=allow_oversize_protos=true --spawn_strategy=standalone -c opt --announce_rc --define=grpc_no_ares=true --noincompatible_remove_legacy_whole_archive --enable_platform_specific_config --define=with_xla_support=true --config=short_logs --config=v2 --define=no_aws_support=true --define=no_hdfs_support=true --experimental_cc_shared_library --experimental_link_static_libraries_once=false --incompatible_enforce_config_setting_visibility
INFO: Reading rc options for 'build' from /root/repos/tensorflow/.tf_configure.bazelrc:
  'build' options: --action_env PYTHON_BIN_PATH=/root/python/envs/base/bin/python3 --action_env PYTHON_LIB_PATH=/root/python/envs/base/lib/python3.11/site-packages --python_path=/root/python/envs/base/bin/python3
INFO: Reading rc options for 'build' from /root/repos/tensorflow/.bazelrc:
  'build' options: --deleted_packages=tensorflow/compiler/mlir/tfrt,tensorflow/compiler/mlir/tfrt/benchmarks,tensorflow/compiler/mlir/tfrt/jit/python_binding,tensorflow/compiler/mlir/tfrt/jit/transforms,tensorflow/compiler/mlir/tfrt/python_tests,tensorflow/compiler/mlir/tfrt/tests,tensorflow/compiler/mlir/tfrt/tests/ir,tensorflow/compiler/mlir/tfrt/tests/analysis,tensorflow/compiler/mlir/tfrt/tests/jit,tensorflow/compiler/mlir/tfrt/tests/lhlo_to_tfrt,tensorflow/compiler/mlir/tfrt/tests/lhlo_to_jitrt,tensorflow/compiler/mlir/tfrt/tests/tf_to_corert,tensorflow/compiler/mlir/tfrt/tests/tf_to_tfrt_data,tensorflow/compiler/mlir/tfrt/tests/saved_model,tensorflow/compiler/mlir/tfrt/transforms/lhlo_gpu_to_tfrt_gpu,tensorflow/core/runtime_fallback,tensorflow/core/runtime_fallback/conversion,tensorflow/core/runtime_fallback/kernel,tensorflow/core/runtime_fallback/opdefs,tensorflow/core/runtime_fallback/runtime,tensorflow/core/runtime_fallback/util,tensorflow/core/tfrt/eager,tensorflow/core/tfrt/eager/backends/cpu,tensorflow/core/tfrt/eager/backends/gpu,tensorflow/core/tfrt/eager/core_runtime,tensorflow/core/tfrt/eager/cpp_tests/core_runtime,tensorflow/core/tfrt/gpu,tensorflow/core/tfrt/run_handler_thread_pool,tensorflow/core/tfrt/runtime,tensorflow/core/tfrt/saved_model,tensorflow/core/tfrt/graph_executor,tensorflow/core/tfrt/saved_model/tests,tensorflow/core/tfrt/tpu,tensorflow/core/tfrt/utils
INFO: Found applicable config definition build:short_logs in file /root/repos/tensorflow/.bazelrc: --output_filter=DONT_MATCH_ANYTHING
INFO: Found applicable config definition build:v2 in file /root/repos/tensorflow/.bazelrc: --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1
INFO: Found applicable config definition build:linux in file /root/repos/tensorflow/.bazelrc: --host_copt=-w --copt=-Wno-all --copt=-Wno-extra --copt=-Wno-deprecated --copt=-Wno-deprecated-declarations --copt=-Wno-ignored-attributes --copt=-Wno-array-bounds --copt=-Wunused-result --copt=-Werror=unused-result --copt=-Wswitch --copt=-Werror=switch --copt=-Wno-error=unused-but-set-variable --define=PREFIX=/usr --define=LIBDIR=$(PREFIX)/lib --define=INCLUDEDIR=$(PREFIX)/include --define=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --config=dynamic_kernels --distinct_host_configuration=false --experimental_guard_against_concurrent_changes
INFO: Found applicable config definition build:dynamic_kernels in file /root/repos/tensorflow/.bazelrc: --define=dynamic_loaded_kernels=true --copt=-DAUTOLOAD_DYNAMIC_KERNELS
Loading:
Loading: 0 packages loaded
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/10939d1d580b9d3c9c2f3539c6bdb39f408179c0.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/91d765cad5599f9710973d3e34d4dc22583e2e79.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
Analyzing: target //tensorflow/tools/pip_package:build_pip_package (0 packages loaded, 0 targets configured)
WARNING: Download from https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/081771d4a0e9d7d3aa0eed2ef389fa4700dfb23e.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/XNNPACK/archive/659147817805d17c7be2d60bd7bbca7e780f9c82.zip failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/boringssl/archive/b9232f9e27e5668bc0414879dcdedb2a59ea75f2.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
INFO: Analyzed target //tensorflow/tools/pip_package:build_pip_package (0 packages loaded, 0 targets configured).
INFO: Found 1 target...

[0 / 389] [Prepa] BazelWorkspaceStatusAction stable-status.txt
[1 / 396] Compiling tensorflow/tsl/platform/default/logging.cc; 3s local ... (4 actions running)
[1 / 396] Compiling tensorflow/tsl/platform/default/logging.cc; 11s local ... (4 actions running)
[4 / 418] Compiling tensorflow/core/data/dataset_utils.cc; 17s local ... (4 actions, 3 running)
[5 / 418] Compiling tensorflow/core/data/dataset_utils.cc; 23s local ... (4 actions running)
[7 / 418] Compiling tensorflow/core/data/dataset_utils.cc; 29s local ... (4 actions running)
[13 / 418] Compiling tensorflow/core/data/dataset_utils.cc; 35s local ... (4 actions running)
[22 / 418] Compiling tensorflow/core/data/dataset_utils.cc; 43s local ... (4 actions, 3 running)
[26 / 418] Compiling tensorflow/core/data/dataset_utils.cc; 58s local ... (4 actions running)
[27 / 418] Compiling tensorflow/core/data/dataset_utils.cc; 71s local ... (4 actions, 3 running)
[31 / 418] Compiling tensorflow/core/framework/dataset.cc; 44s local ... (4 actions, 3 running)
[36 / 418] Compiling tensorflow/core/lib/wav/wav_io.cc; 7s local ... (4 actions running)
ERROR: /root/repos/tensorflow/tensorflow/tsl/lib/io/BUILD:202:11: Compiling tensorflow/tsl/lib/io/cache.cc failed: (Exit 1): gcc failed: error executing command /usr/local/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 59 arguments skipped)
In file included from tensorflow/tsl/lib/io/cache.cc:16:
./tensorflow/tsl/lib/io/cache.h:99:11: error: 'uint64_t' does not name a type
   99 |   virtual uint64_t NewId() = 0;
      |           ^~~~~~~~
./tensorflow/tsl/lib/io/cache.h:20:1: note: 'uint64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
   19 | #include "tensorflow/tsl/platform/stringpiece.h"
  +++ |+#include <cstdint>
   20 |
tensorflow/tsl/lib/io/cache.cc:391:12: error: 'uint64_t tsl::table::{anonymous}::ShardedLRUCache::NewId()' marked 'override', but does not override
  391 |   uint64_t NewId() override {
      |            ^~~~~
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 139.504s, Critical Path: 82.86s
INFO: 43 processes: 5 internal, 38 local.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully

Hi @aquirin ,
GCC 13.1.0 not a tested configuration for TF2.12 and I am not sure of compatibility as it is not yet tested by TF team atleast for Tf2.12 version. Please find the Tested build configurations source here.

Version
Python version
Compiler
Build tools

tensorflow-2.12.0
3.8-3.11
GCC 9.3.1
Bazel 5.3.0

I request you to test with above configurations and let us know if still having problem. Thanks!

Hi @SuryanarayanaY ,
Thank you for the details. Yes GCC 13.1.0 is probably too recent. I compiled successfully TF-2.11 with GCC-9.3 and it is working fine. I will close this ticket,
Thanks!

simple fix by including the header
diff --git a/tensorflow/tsl/lib/io/cache.h.orig b/tensorflow/tsl/lib/io/cache.h
index f894c59..7b1cf32 100644
--- a/tensorflow/tsl/lib/io/cache.h.orig
+++ b/tensorflow/tsl/lib/io/cache.h
@@ -17,6 +17,7 @@ limitations under the License.
 #define TENSORFLOW_TSL_LIB_IO_CACHE_H_

 #include "tensorflow/tsl/platform/stringpiece.h"
+#include <cstdint>

 // A Cache is an interface that maps keys to values.  It has internal
 // synchronization and may be safely accessed concurrently from

simple fix by including the header

+#include

but does this break builds on GCC 9.3.1?
no


How to Fix Unrealistic Upload Speeds with OpenSpeedTest In Iphone browser

Post more details about your server.

using dropwizard as a server   using post REST API request try upload data   in  my laptop and android  device  working fine but facing issue  in IOS device

Using Dropwizard as a server using post REST API request to try upload data in my laptop and Android device working fine but facing issue in  some  IOS device

Try docker image or use an Nginx server with the Nginx configuration. https://github.com/openspeedtest/Nginx-Configuration
https://github.com/openspeedtest/Speed-Test#server-requirements-


tslint to eslint

Replace tslint to eslint.
TODO

[x] Add eslint
[x] Remove tslint
[ ] index.ts
[ ] tests

Codecov Report

Merging #42 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #42   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           2      2
  Lines         151    151
  Branches       29     29
=====================================
  Hits          151    151

Impacted Files
Coverage Δ

src/index.ts
100% <100%> (ø)
: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 c9874a1...0070b98. Read the comment docs.


When rolling back, we should show which permissions got restored

Similar to how we do when repoing, we should show which permissions got restored after a rollback.

Is not this already implemented in the current version?
I restored this morning a role and got the right information:
Resore will return these permissions:
ec2:describetags
(venv) ubuntu@**********:/usr/local/src/repokid$ repokid rollback_role *************** MailRelay-EC2CustomMetricsRole-1E34E52V15AP9 --selection=0 -c
Loaded config from /usr/local/src/repokid/config.json
Will restore the following policies:
{u'root': {u'Statement': [{u'Action': [u'cloudwatch:PutMetricData',
                                       u'cloudwatch:GetMetricStatistics',
                                       u'cloudwatch:ListMetrics',
                                       u'ec2:DescribeTags'],
                           u'Effect': u'Allow',
                           u'Resource': u'*'}],
           u'Version': u'2012-10-17'}}
Current policies:
{'root': {u'Statement': [{u'Action': [u'cloudwatch:PutMetricData',
                                      u'cloudwatch:GetMetricStatistics',
                                      u'cloudwatch:ListMetrics',
                                      u'ec2:DescribeTags'],
                          u'Effect': u'Allow',
                          u'Resource': u'*'}],
          u'Version': u'2012-10-17'}}

Resore will return these permissions:
ec2:describetags

We'll show the full version of the policy we're putting back but not a diff that makes it explicit which permissions that would add.  I think it would be useful to have both.


Hook to get the latitude and longitude

Describe the hook
A hook to get the latitude and longitude
Additional context
Create a hook to get the current position from the browser.
import React from "react"
import useGeolocalisation from "useGeolocalisation"

const Home = () => {
  /*
  * The hook will return you an object like this:
  *
  * {
  *   latitude: 1233234,
  *   longitude: -1234345,
  * }
  *
  */

  const [geolocalitation] = useGeolocalisation(true);

  return (
    <div>
      {geolocalitation.latitude}
      {geolocalitation.longitude}
    </div>
  );
}

Hey @fernandoamz  assign me I already wrote code for that

@sairaj2119, This hook is written now https://github.com/aromalanil/useCustomHooks/pull/15

@sairaj2119 Thanks for your interest, @fernandoamz is working on this hook now. We value your contribution, so please consider adding another hook.

Common dude I already made a pull request

I also followed the documentation style and comments check it and let me know what you think about the code

@sairaj2119, I commented you here https://github.com/aromalanil/useCustomHooks/issues/16#issuecomment-702362425, that I sended a pull request for this hook

So what can I do,

@sairaj2119 You can always contribute other hooks. If you have a suggestion for a hook. Please raise an issue, and mention if you want to work on it.

@sairaj2119, You can suggest a hook to detect if the user is using a mobile or browser.

Solved in #15


print + cosmit grouping variable declarations

Codecov Report

Merging #81 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #81   +/-   ##
=======================================
  Coverage   68.85%   68.85%
=======================================
  Files           8        8
  Lines         517      517
  Branches       77       77
=======================================
  Hits          356      356
+ Misses        144      143    -1
- Partials       17       18    +1

Impacted Files
Coverage Δ

celer/datasets/libsvm.py
27.41% <0%> (ø)
: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 3f6ce09...8838390. Read the comment docs.

Codecov Report

Merging #81 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #81   +/-   ##
=======================================
  Coverage   68.85%   68.85%
=======================================
  Files           8        8
  Lines         517      517
  Branches       77       77
=======================================
  Hits          356      356
+ Misses        144      143    -1
- Partials       17       18    +1

Impacted Files
Coverage Δ

celer/datasets/libsvm.py
27.41% <0%> (ø)
: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 3f6ce09...8838390. Read the comment docs.


python_main

The help text for --python_path option says "This should include the python_main file".   What is 'python_main'?  Is that the same as 'spark_main'?

yes, it is indeed spark_main. Sorry for the confusion, this was fixed


Thought: Update cloudflare provider to use cloudflares supported python library

Instead of interacting with the API as we currently do, would it be at all possible or useful to instead use Cloudflares python library. I noticed we are testing this provider with Cloudflares library, why not utilize it for the actual provisioning as well?

It's been long enough that I don't remember the details, but I generally take a look at the API of a provider as well as the python client library before picking a route. For things with a clean and simple API I've found that the client libraries tend to make things more complicated more often than not and I remember starting down the path of using them a time or two and ran into problems/bugs that lead me to drop to hitting the API directly. Don't remember if that included CloudFlare or not.
If there's a case to be made for (big) advantages to switching to the library and someone wants to take it on then I'd look a PR over.


Hotfix/remove old inventory

Short Description:
Hotfix after #3498
Fixes/Resolves/Closes :

PokemonOptimizer should work again
Closes #4237

Pokemon aren't being evolved or transferred after being caught. Is this because catcher is not updating the cached inventory?

Working for me
2016-08-19 03:17:50,363 [PokemonCatchWorker] [INFO] [pokemon_appeared] A wild Weedle appeared! [CP 138] [Potential 0.42] [A/D/S 11/4/4]
2016-08-19 03:17:53,900 [PokemonCatchWorker] [INFO] [threw_pokeball] Excellent Curveball throw! Used Pokeball, with chance 41.52 (10 left)
2016-08-19 03:17:54,136 [PokemonCatchWorker] [INFO] [pokemon_caught] Captured Weedle! [CP 138] [Potential 0.42] [11/4/4] [+210 exp]
2016-08-19 03:17:54,276 [PokemonCatchWorker] [INFO] [gained_candy] You now have 13 Weedle candy!
2016-08-19 03:17:59,511 [EvolvePokemon] [INFO] [pokemon_evolved] Successfully evolved Weedle with CP 67 and IV 0.69!
2016-08-19 03:18:01,334 [TransferPokemon] [INFO] [pokemon_release] Exchanged Kakuna [CP 73] [IV 0.69] for candy.
2


Run any DB request as a Firebase app's end-user

Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Is your feature request related to a problem? Please describe.
Hi, security rules are amazing. Its too bad they only work for client side code. On Node.js (server side code), I have to roll my own security rules.
Describe the solution you'd like
I should be able to run database request as the applications end user.
On the client-side, Firebase makes use of the app's end-user's JWT. That information is used to match against security rules. On the server-side, you should allow a user to pass their end-user's JWT to Firestore. The JWT can then be processed, along with the resource, to check against security rules to ensure this app's end user has read / write access to the resource. It'd be simple to do this. We just need one more argument, the end user's JWT.
For example:
const Firestore = require('@google-cloud/firestore');

async function main( req, res ) {
    const firestore = new Firestore();
    const endUserJWT = req.jwt // given we have access to the end-user's JWT, which is by defintion a custom Firebase JWT , or the actual firebase JWT, then lets make a variable out of that

    const document = firestore.doc('posts/intro-to-firestore');
    console.log('Document created');

    // Enter new data into the document.
    await document.set({
      title: 'Welcome to Firestore',
      body: 'Hello World',
    }, endUserJWT );
    console.log('Entered new data into the document, accepted if UID is allowed to write, rejected otherwise');

    // Update an existing document.
    await document.update({
      body: 'My first Firestore app',
    }, endUserJWT );
    console.log('Updated an existing document, if this UID is allowed to update');

    // Read the document.
    let doc = await document.get( endUserJWT );
    console.log('Read the document, if the UID is allowed to read this resource');

    // Delete the document.
    await document.delete( endUserJWT );
    console.log('Deleted the document, if the UID is allowed to delete this resource');

};

main().catch(console.error);

This simple setup takes an optional second parameter, endUserJWT. The Firestore libabry can act as normal -- if no JWT is provided, universal access is granted, if a JWT is passed, run the request against security rules.
Suddenly, security rules work on the client-side (thanks to JWT access) and server-side (thanks to JWT access), lol.
Describe alternatives you've considered
I have to roll my own security rules, which is a hassle, but I'm doing this now. Its a no brainer to add this feature to radically simplify Firestore dev's lives.
Additional context

@NawarA you can have an end-user database on the server this way (I use it for my SSR PWA):
// server side: importing client-like NON-admin Firebase
import firebase from 'firebase/app'
import 'firebase/firestore'
import 'firebase/auth' // if you need auth
import {XMLHttpRequest} from 'xmlhttprequest'

global.firebase = firebase
global.XMLHttpRequest = XMLHttpRequest

This is a really cool idea (and I'm glad you find security rules useful!).
We are working on first-class support for this functionality (I often call this behavior "user impersonation", because it allows admins to behave as though they were a specific user).
For now, if you want to use your security rules while acting as an admin, one pattern I've seen used is:

create an account for your "admin" user (maybe email+password)
user the admin SDK to put custom claims on that account
write security rules that interact with those custom claims

Here's a pretty thorough guide on how to use this pattern: https://medium.com/google-developers/controlling-data-access-using-firebase-auth-custom-claims-88b3c2c9352a

Thanks. Yeah, allowing this server-side library to allow admin's to do "user impersonation" will get more people hooked into the NoOps features of Firestore. Thanks for the blog post by the way!
Since this doesn't exist, I've been developing and testing my own code. I'm basically writing server-side code that duplicates my Firestore Security Rules. Its redundant, but that's what developers are forced to do currently.
I'm looking forward to this feature getting released, thus creating parity between the client / server-side capabilities of leveraging security rules :)

@laurentpayot I don't understand your code snippet. Did you finish writing the snippet?
Are you suggesting install an NPM package xmlhttprequest to fool Firestore into allowing it use xhr library, as if it was the front-end?
If so, then how does it resolve which user is "authed" into the system? I'm not 100% on this, but I'd imagine if you have 1 global Firestore app + 1 user Authed into it, then this would not work with concurrent users hitting your server? I'm developing an HTTP REST API. I expect N users to make N requests, at the same time, and be able to only access their resources, not each others resources.
Does your snippet cover this case? Help me understand. Thanks dude! :)

@NawarA

Are you suggesting install an NPM package xmlhttprequest to fool Firestore into allowing it use xhr library, as if it was the front-end?

Yes exactly, I should have been more specific.
As I said I use it for SSR so I want the server (in my case a Firebase function instance) to behave exactly like a client. In my special SSR case I do not need to access the database with privileges other than unauthenticated user's ones. The rules are run and I'm sure sensitive data is not accessed (my rules filter database access depending on users email domain, a bit like custom claims).
For your REST API I agree that for now custom claims are the way to go 👍

I would love to be able to use the Admin SDK as a specific user on a per request basis.

Hi, we are developing a Firestore CMS and trying to develop a feature that fetches the root collections of a user's database and generates a schema based on the content.
I've tried using the REST Firestore API but does not provide the feature.
On the contrary, this library provides the feature to list root collections but I can't use OAuth on behalf of the user for this purpose.
Any plans on implementing user impersonation? :)

This is actually a really easy feature for the Firestore team to add.
As I mentioned early on this thread, to make this work, on the backend just allow dev's to pass in the user's JWT to the DB action.
let doc = await document.get( endUserJWT );

If endUserJWT is undefined, Firestore grants universal access (what we have today). If it is defined and the JWT is a valid client-side generated JWT that represents a user, then the Firestore checks its security rules to ensure the users is allowed to the do the action.
This feature is easy to add and maintain for the FS team (ie. its a very isolated service) and allows the community to benefit from security rules on the backend (which is important).

Any update about this?
This can prevent users from duplicating security rules into Firebase rules and backend-code, which is really a mess.
For me itand question if it'is really a good-practice to use Firestore directly from frontend instead of writing a well-structured backend service, avoiding the duplication of the access rules.