Unhandled Exception: HiveError: This is an internal error.

Steps to Reproduce
No good way to reproduce, ends up just leaving the app in a dead-start state since a box cannot be opened. All i'm running is openBox on startup (which normally causes no problems)
E/flutter (16607): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: HiveError: This is an internal error. Please open an issue on GitHub and if possible provide a way to reproduce this bug.
E/flutter (16607): #0      framesFromBytes
package:hive/…/binary/frames_from_bytes.dart:22
E/flutter (16607): #1      FrameIoHelper.framesFromFile
package:hive/…/io/frame_io_helper.dart:57
E/flutter (16607): <asynchronous suspension>
E/flutter (16607): #2      StorageBackendVm.initialize
package:hive/…/backend/storage_backend_vm.dart:109
E/flutter (16607): <asynchronous suspension>
E/flutter (16607): #3      BoxBase.initialize
package:hive/…/box/box_base.dart:80
E/flutter (16607): #4      HiveImpl.openBox
package:hive/src/hive_impl.dart:76
E/flutter (16607): <asynchronous suspension>
E/flutter (16607): #5      MyGuideStorage.init
package:app/util/myguide_storage.dart:43
E/flutter (16607): <asynchronous suspension>
E/flutter (16607): #6      main
package:app/main.dart:21
E/flutter (16607): #7      _runMainZoned.<anonymous closure>.<anonymous closure>  (dart:ui/hooks.dart:239:25)
E/flutter (16607): #8      _rootRun  (dart:async/zone.dart:1124:13)
E/flutter (16607): #9      _CustomZone.run  (dart:async/zone.dart:1021:19)
E/flutter (16607): #10     _runZoned  (dart:async/zone.dart:1516:10)
E/flutter (16607): #11     runZoned  (dart:async/zone.dart:1500:12)
E/flutter (16607): #12     _runMainZoned.<anonymous closure>  (dart:ui/hooks.dart:231:5)
E/flutter (16607): #13     _startIsolate.<anonymous closure>  (dart:isolate-patch/isolate_patch.dart:305:19)
E/flutter (16607): #14     _RawReceivePortImpl._handleMessage  (dart:isolate-patch/isolate_patch.dart:172:12)

Version

Platform: Android (Hardware Q) and IOS (simulator latest)
Flutter version: v1.10.15-pre.151
Hive version: 1.1.0-beta2

Note that the same issue happens when downgrading back to flutter stable
Finally, During this installation, I did not clear data (using box.clear) so i dont think it's related to #71

This seems to happen very rarely or only under certain conditions. Unfortunately I cannot do much if I'm unable to reproduce it. All the integration tests work fine...
It would be really helpful if you or someone else finds a way to reproduce this bug. I'll also try to find it. Until then you should switch to the latest stable version (1.1.0+1).

Yes it is. But I don't think this issue is related.

Just to know when looking for a way to reproduce it, is it that the data is corrupted somehow and it cannot be read when the box is opened? or is it something else having to do with the box itself?

Is it that the data is corrupted somehow and it cannot be read when the box is opened.

Exactly.
There are two things that can cause this:

You use a custom TypeAdapter which doesn't work correctly
Hive has a bug which corrupts the box in cetain conditions.

Well im not using type adapters. Ill take a look and double check what im actually writing to boxes. Perhaps im writing something in such a way or some sort of type that is causing it. Thanks for the insight.

If you write an usupported type, it should fail immediately without actually persisting anything. Thanks for trying to reproduce the issue...

I also encountered this on 1.1.0-beta2, after I run integration tests on simulator a few times.
[VERBOSE-2:ui_dart_state.cc(148)] Unhandled Exception: HiveError: This is an internal error. Please open an issue on GitHub and if possible provide a way to reproduce this bug.
#0      framesFromBytes (package:hive/src/binary/frames_from_bytes.dart:22:7)
#1      FrameIoHelper.framesFromFile (package:hive/src/io/frame_io_helper.dart:57:12)
<asynchronous suspension>
#2      StorageBackendVm.initialize (package:hive/src/backend/storage_backend_vm.dart:109:24)
<asynchronous suspension>
#3      BoxBase.initialize (package:hive/src/box/box_base.dart:80:20)
#4      HiveImpl.openBox (package:hive/src/hive_impl.dart:76:17)
<asynchronous suspension>
#5      _openBoxes (package:birdy/main_delegate.dart:76:10)
#6      _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:71:64)
#7      _rootRunUnary (dart:async/zone.dart:1132:38)
#8      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#9      _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#10     Future._propagateTo<…>

@dat7e Do you run Hive integration tests or your own? Would you be willing to share a test which fails for you?

Sorry I haven't been clearer. I ran my own integration tests (e2e to be more exact) which I wrote for my app. The tests are very simple ones that fill out and submit a login form. When valid credentials are given, the user is redirected to a news feed which fetches data via http and caches the news items using Hive box.putAll. I know these tests should pass. However, after a few times they failed because the app booted to a blank screen with the above error message printed to console. Since then I have deleted the app on the simulator, now my tests run fine.
This is how I open the boxes:
Future<void> _openBoxes() async {
  final dir = await getApplicationDocumentsDirectory();
  Hive.init(dir.path);

  await Future.wait([
    Hive.openBox('settings'),
    Hive.openBox('stories'),
  ]);
}

Future<void> main(AppConfig config) async {
  await _openBoxes();
  // other setup tasks
  runApp(MyApp());
}

Would it be possible to share some code that reproduces the problem? I have a hard time to reproduce the issue myself...

Currently no, sorry. It's under NDA and all that jazz. However the feature I tested is small and I might be able to extract it to a small project, hopefully in a few days. Will also try to find out how to consistently reproduce the issue. Right now it looks to me a lot like #71, could these two be related in any way?

Yes I think they have the same root cause. Please upgrade to 1.1.1 to make sure the issue is not solved already.
Thank you very much for your help :)

I have the same error at 1.1.1 after crash at debugging. I don't know how to reproduce it.

my colleague encountered this on iOS simulator today, hive version 1.1.1

I'm opening boxes on startup, One box specifically keeps failing. Im just throwing stuff out here but in my case it's the "state" box which is written to very frequently.
Could it be possible that data isnt being written correctly, or is being written quickly (asyncs) that is causing the box to become corrupted? I have a few other boxes loaded before the state box on startup and they never have issues.

I still have no idea what might cause this problem :/ All the unit tests write a huge amount of entries very quickly and they never corrupted a box.

Ill be working on something hotloading etc for about 30 minutes, then at some point, as usual something wont hotload, so i restart the app and it fails to launch (black screen) with the same error.
I have no way to reproduce this and i've never seen it happen outside of hotloading / development, but Im pretty much forced to make a wrapped storage interface in the event that this problem does happen on production.
Clearly something is being written or in a specific way that is corrupting it, but that is not enough information for a fix. I cannot reproduce it 100% it just happens randomly during development.

I have a really hard time finding this bug and no idea where to start.
I'm starting to believe that it actually has something to do with hot reloading. Maybe a write operation is interrupted and the big is in the Hive corruption recovery.

That could be possible. With the very little testing i've actually done with production & whatnot i cant be sure.
I have made a temporary bandaid fix for now to basically wipe the hive file that gets corrupted and create a new box (the only box failing is the one i use for network caches, so re-creating it isnt so bad)
I will be doing some legit tests pretty soon with others, I'll let you know if anything comes up. But I agree, I think it has something to do with hotloading, I have only seen it after restarting the application (after rapid hotloading doesnt update the app).

Thanks for your help!

I have a similar problem when I develop on windows for Android. When I write on Mac OS for iOS there is no problem

I have a similar problem when I develop on windows for Android. When I write on Mac OS for iOS there is no problem

You mean in an emulator or with Flutter desktop?

android \ ios emulators

Okay, thanks! If find a way to reproduce it, I would be grateful for a hint or demo...

I had one of these in my sentry logs today (using hive 1.1.1). I cleared the box file with clearing the app data, and it worked again. I am using 3 generated type adapters, but nothing fancy. If I can get this reproduced in a simple way I'll make sure to post it here.  These are the harder nuts to crack.
frame_io_helper.dart in _KeyReader.readKeys at line 66
<asynchronous suspension>
frame_io_helper.dart in FrameIoHelper.keysFromFile at line 30
<asynchronous suspension>
storage_backend_vm.dart in StorageBackendVm.initialize at line 122
<asynchronous suspension>
box_base.dart in BoxBase.initialize at line 82
hive_impl.dart in HiveImpl.openBox at line 87
<asynchronous suspension>
games_repository.dart in GamesRepository.getSavedGame at line 10
<asynchronous suspension>
game_event.dart in SetActiveGame.handle at line 78
<asynchronous suspension>
base_model.dart in BaseModel.dispatch at line 17
game_state.dart in GameState.setGlobalState.<fn> at line 64
zone.dart in _rootRunUnary at line 1132
zone.dart in _CustomZone.runUnary at line 1029
zone.dart in _CustomZone.runUnaryGuarded at line 931
stream_impl.dart in _BufferingStreamSubscription._sendData at line 336
stream_impl.dart in _DelayedData.perform at line 591
stream_impl.dart in _StreamImplEvents.handleNext at line 707
stream_impl.dart in _PendingEvents.schedule.<fn> at line 667
zone.dart in _rootRun at line 1120
zone.dart in _CustomZone.run at line 1021
zone.dart in _CustomZone.runGuarded at line 923
zone.dart in _CustomZone.bindCallbackGuarded.<fn> at line 963
zone.dart in _rootRun at line 1124
zone.dart in _CustomZone.run at line 1021
zone.dart in _CustomZone.runGuarded at line 923
zone.dart in _CustomZone.bindCallbackGuarded.<fn> at line 963
schedule_microtask.dart in _microtaskLoop at line 41
schedule_microtask.dart in _startMicrotaskLoop at line 50

All relevant box operations:
 Future<SavedGame> getSavedGame(String uri) async {
    var gameBox = await Hive.openBox("games", lazy: true) as LazyBox;
    var savedGame = await gameBox.get(uri);

    if (savedGame != null) {
      return savedGame as SavedGame;
    }else {
      return null;
    }
  }

  Future<void> saveGame(LocalGame game, BoardState currentBoardState) async {
    var gameBox = await Hive.openBox("games", lazy: true) as LazyBox;
    var savedGame = SavedGame.from(game, currentBoardState);
    await gameBox.put(game.uri, savedGame);
    return;
  }

  Future<void> deleteAllSaveGames() async {
    var gameBox = await Hive.openBox("games", lazy: true) as LazyBox;
    await gameBox.clear();
    return;
  }

@markmooibroek Thanks!

I have same issue, for some unknown reason one of my boxes is currently corrupted and I'm receiving this:
E/flutter (20821): #42     ComponentElement.mount
package:flutter/…/widgets/framework.dart:3936
E/flutter (20821): #43     Element.inflateWidget
package:flutter/…/widgets/framework.dart:3109
E/flutter (20821): #44     Element.updateChild
package:flutter/…/widgets/framework.dart:2903
E/flutter (20821): #4

when I'm trying to open flutter box.
The real problem is that I can't delete box without attempt to open it, which will fail, so, I can't recover application into working state without removing database files directly (which names I'm not supposed to know).
Maybe it worth implementing something like
Hive.removeBoxWithoutOpeningIt('myBox');

?

@trousev I agree that there should be an option to delete a box without opening it. I'll implement this in the next version (which should probably be published next week)
Bit the real problem is that I'm still unable to reproduce the bug :(

I got the same error Today  Android/ios simulators, and the error disappear when I changed the box name
it's very important to us to be able to remove box without opening it

I got the same error. It's not really deterministically reproducible but it happens quite often in our project, just by clicking around in different sections.

just by clicking around in different sections I'm able to reliably run into this error in less than a minute.

Thanks, I'll test that...

I have made some progress: Thanks to the schul-cloud project from @marcelgarus I believe the problem is related to the compaction of boxes.
Could someone maybe test if the error still happens with the following code:
Hive.openBox('yourBox', compactionStrategy: (a,b)=> false);

I tried the workaround and it seems to fix the error. 👍

I am also facing the same error in ios as well android. I have added your workaround. but I have uninstall the app and reinstall. I will keep let you know how it goes.

Still having issues. I believe when you are using the same box across multiple screens, it causes issues.
Is it ok to use the Same box with watchedbox in two different screens?

Still having issues.

Even when you disable compaction and clear the cache?
If yes, it would be very helpful if you could share some code...

Is it ok to use the Same box with watchedbox in two different screens?

Absolutely.

Yes...even after disable compaction, i am getting this issue.
It is proprietary code :-(. I can do a screenshare with you. Any email ids?

Good news. I have found a root cause and fixed it.

Is it possible to detect exception ,  recreate the box and open it again.

I have modified my code to detect exception and delete the box file (say my_box.hive) and lock file (my_box.lock) and trying to open the box fresh.  I will keep you posted about how it handles.
@leisim Do you think if this is the right approach?

@leisim  Any luck? I am stuck. my app build around hiveDB. :-(

Could it be, that Hive gets initialized before you call runApp()? Because it could be that path_provider doesn't already works correctly. So then you have to call WidgetsFlutterBinding.ensureInitialized(); as first in your main method.

@ueman I am initializing the Hive on Main and Opening 5 Boxes in the process. Out of 5, only one is always failing. all others are working as expected.

Hi,
I got the same issue :( on my IOS simulator.
It's weird, it was working before.
Alain

Good news. I found the problem and I'm working on a fix. The problem is that compaction doesn't happen when it is supposed to.
If disabling compaction does not work for you, please open another issue.
@alaindixon This sounds more like a problem with the added fields. Did you follow the guide on adding fields in the docs?

Hi,
I'm having the same problem and I've created a minimal sample to reproduce it reliably (at least on Android and iOS).
The following steps will throw an Exception on the latest version of the master branch (5605d1c):

Open a box
Put at least 64KB of data in the box
Delete any entry in the box
Compact and re-open the box.

Step 4 will throw the exception. It's working fine if you don't compact the box or don't delete any entry.
I've tried to find the root-cause, but I could not find the exact line of code. It is definitely related to the BufferedFileReader. If you replace it in the compact function with a simple RandomAccessFile that always moves to the correct offset and then reads the frame, then everything works.
It probably depends on when the BufferedFileReader loads more data (loadBytes) and there is still unread data in the buffer. That's why you have to write at least 64KB to the box to reproduce it. This corresponds to the defaultChunkSize of the reader.
Here is a minimal Flutter app for reproduction. I'm on the latest flutter master branch.
import 'package:flutter/material.dart';
import 'package:hive/hive.dart';
import 'package:path_provider/path_provider.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  var docs = await getApplicationDocumentsDirectory();
  Hive.init(docs.path);
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(primarySwatch: Colors.blue),
      home: HomePage(),
    );
  }
}

class HomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Hive Test'),
      ),
      body: Center(
        child: RaisedButton(
          child: Text('Run test'),
          onPressed: () => _reproduceCrash(),
        ),
      ),
    );
  }

  Future _reproduceCrash() async {
    try {
      var box = await Hive.openBox('box');
      // replace the (x) => x with (x) => '1234' and you'll get a "Recovering corrupted box" hint instead
      var oneKb = List.generate(128, ((x) => x));

      // write at least 64KB to the box
      // decrease this value to 61 or below and the test will run
      await box.putAll({for (int i = 0; i < 64; i++) i: oneKb});

      // now delete at least one entry. Doesn't matter which
      await box.delete(0);

      await box.compact();
      await box.close();

      // will throw an "This is an internal error" Exception
      box = await Hive.openBox('box');
      await box.close();
    } catch (e, s) {
      print('$e\n$s');

      // Without deleting the box, we cannot re-run the test.
      // Not sure why, but Hive.deleteBoxFromDisk with also throw.
      var docs = await getApplicationDocumentsDirectory();
      await File('${docs.path}/box.hive').delete();
    }
  }
}

@OliverWelther I don't know how to thank you. I really works and I'll look for the problem right now.

Thanks to @OliverWelther I finally found the problem. I used BytesBuilder(copy: false) instead of BytesBuilder(copy: true) in the BufferedFileWriter. The data in the BytesBuilder was only a view of the data in BufferedFileReader. In some situations this would lead to wrong data in the BytesBuilder.

@leisim is there a branch containing the fix anywhere? Running into the same issue here.

Are you using version 1.2.0-dev2?

I did not notice the dev packages. Thank you!

Update: I can confirm that the issue persists. I encounter it occasionally after a hot restart and have to wipe the app's cache.

@michaelreed, please use v1.2.0, it is impossible that you encounter that issue on the stable version.

Upgraded to v1.2.0, thanks.

Got the error again on v1.2.0 stable.

I had similar problems when trying to start Hive twice or when trying to open an already opened box. My solution was to create a singleton that guarantees the handling of that. I think it would be interesting to have that at the library level

BufferedFileWriter

How do you use BufferedFileWriter ? I am using TypeAdapter to read and write and Now I got white screen after a while users works with my application and the application couldn't lunch again .Just shows white screen


fix(connectivity_plus):  A bug fix in run dependency on mac and projects

Description
When we used this dependency in a new project on the Mac operating system, it gave errors and didn't work at all, and it didn't download anything. By changing these aspects in the dependency, the issue was easily resolved, and it became fully compatible with the other dependencies and the project.
Related Issues

*Fix #3385 *

Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I titled the PR using Conventional Commits.
[x] I did not modify the CHANGELOG.md nor the plugin version in pubspec.yaml files.
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze) does not report any problems on my PR.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate that with a ! in the title as explained in Conventional Commits).
[x] No, this is not a breaking change.

As I explained in the issue already you have an issue with your local setup and logs that were provided clearly indicated the problem with dependency resolution.
From changes presented here, especially change from bin to all I assume that you are not fully aware of reason of the problem as well as what is the relation between AGP and Gradle version.
I would recommend to read https://docs.gradle.org/current/userguide/gradle_wrapper.html as it has explanation on the difference between Gradle distributions.
As this PR doesn't solve the bug, because the bug doesn't actually exist, closing this PR as it won't be accepted.


fix file name to sample id assumption

This PR updates an out-dated parameter description (#36) and fixes an error in an assumption about how filenames map onto sample ids (#37). Note that the third commit in this PR fixes this assumption in a second location. That code should ultimately be updated to use the function that was fixed in the second commit, so this logic is centralized (and therefore consistent) throughout the codebase.
Tests also need to be added for the fixed functionality. @misialq or @Keegan-Evans, any chance you could pull these changes and add the test? I have done local testing, and can confirm the that fix in the third commit allows index-contigs to complete for me. The fix in the second commit seems to be working - the job is running, but it's much further along that where it previously failed.

Thanks @misialq!

Hey @gregcaporaso, tests were added/modified, in case you wanted to check those out.

All updated, @gregcaporaso!

Need anything else from me on this one @misialq?

No, all's good - I'm merging now.


ctr: Remove getTempDir

It is unused since 4c1af8fdd82c ("Port ctr to use client") and leaving it
around will just tempt people into writing code with security holes.
Signed-off-by: Ian Campbell<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1001   +/-   ##
=======================================
  Coverage   59.05%   59.05%
=======================================
  Files           5        5
  Lines         779      779
=======================================
  Hits          460      460
  Misses        205      205
  Partials      114      114

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 4576979...e9559c6. Read the comment docs.

LGTM


Update account state to reflect generic AWS support case pending

This PR updates the account CR state when waiting for AWS support cases to be resolved to be more generic. We no longer request quota increases and only enable enterprise support, this message suits the enterprise support status and any other future tickets we might add.

/hold
To test.

/retest

@jharrington22: The following test failed, say /retest to rerun all failed tests:

Test fails are because the API const needs to be changed as well.

@rogbas will resubmit this PR fixing existing issues.


Transfer rules_nodejs to bazel-contrib

Context: https://github.com/orgs/bazelbuild/discussions/2
Todos:

[x] Identify project maintainers
[x] Get approval from project maintainers
[x] Get approval from bazel-contrib SIG (https://github.com/bazel-contrib/SIG-rules-authors/issues/100)
[x] Follow the GitHub instructions to transfer the repo
[x] Add project maintainers for the new repo
[x] Update GitHub branch protections and other settings
[x] Update Bazel CI setup

This is done!


Changing branch

First thank you for this project, this is awesome!
I had one issue though that I managed to fixed but I am opening the issue in case someone else has it too.
I am not using github so default branch name is not main but master (in my case it was bitbucket, fyi).
I found that you could change the branch name in ktra.toml file:
[index_config]
remote_url = "..."
branch = "master"

... but if you do it AFTER the first initialization, then you get stuck with git error:
src refspec 'refs/heads/master' does not match any existing object

The solution I found was to delete all existing artifacts (db, index and crates directories) before starting ktra again with the updated config.
Now it works like a charm!

Thank you for using Ktra and opening issue!
I'll document about branch names in the next release.

I wrote a document about the branch in 0.4.2 release.
Feel free to reopen this issue if you think it is insufficient.


ScrollBar Support

Scrollbar support would be great to scroll through long pdf.

Would be nice, but I am afraid I will be allocated time to do this anytime soon.


Install a simple bar configuration along with the application

At the moment when you build and install the project, you only get an executable and a wrapper script.
The installation should come with a simple configuration, show casing the core features and guiding the user on how to preceed from there.

8535f5a


requireSemicolons: Don't require semicolon for class and function exports (fixes #1517)

All tests passed but something wrong with build process :(

All tests passed but something wrong with build process :(

Yeah, sorry about that, coveralls started to do this a lot, build restarted, all green now

do we need these checks with //; at the end of line?

@zxqfox Yeah, I think those test should be removed as more parser relevant tests. It would be great if somebody do it (I have no time right now).

Do we want to try another code coverage service if there is one?

@zxqfox I removed some redundant tests.

Thank you!


Article on constexpr incorrectly states that virtual functions can't be constexpr

One of the rules that the page lists for constexpr functions is

It can't be virtual. A constructor can't be defined as constexpr when the enclosing class has any virtual base classes.

However, as of C++20, this is no longer true. MSVC appears to support the C++20 change as well.
Tested in Godbolt just to be sure.

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

ID: 09262045-27b3-a35c-f382-6ab08604eed5
Version Independent ID: 95bf2505-64a6-026c-f33c-3f1931d6985e
Content: constexpr (C++)
Content Source: docs/cpp/constexpr-cpp.md
Product: visual-cpp
Technology: cpp-language
GitHub Login: @corob-msft
Microsoft Alias: corob

In C++23 the restrictions are furtherly relaxed, although MSVC hasn't implemented the changes at this moment.


Add a method for comparing components in ChemicalSystem objects

Add component_diff method to compare ChemicalSystem components.
Implement a method to compare the components of a ChemicalSystem with those of another.
closes #347

@IAlibay Is this what you had in mind?


Safely convert this.path from a regular expression in setPrefix

Fixes an issue where paths are broken if they're defined as a regular expression and a prefix is defined.
Example:
// router.prefix('/api/v1.0')

router.get(/\/foo\/bar\d+?/, function * (next) {
  this.body = 'well this works.'

  yield next
})

With the prefix uncommented the layer instance's regexp is valid, but with the prefix included, it becomes mangled to /^\/api\/v1\.0\/foo\/bard\+(?:\/(?=$))?$/i due to the path re being treated as a string in setPrefix.

Bump

I don't think router prefixes + allowing the use of regular expressions as route paths are completely compatible. This may enable some functionality and break prefixing in certain cases (params are included, regexes cannot be correctly concatenated together).
I think "your mileage may vary" sums up the use of regexes as route path matches and this should not be added to the core featureset of the library in order to reduce complexity and the number of cases we need to handle / maintain.


Border width differing between iOS and Android

Description:
When adding a bottom/left border with a radius, the width and radius seem to be completely different on Android vs iOS.
iOS

Android

The top view has the same width and radius as the bottom and matches on android/ios, however, when you remove the top border or top left radius as in the bottom view they look completely different.
React Native version: 0.61
Steps To Reproduce
Create a component with a bottom left radius, left border width and bottom border width.
Expected Results
The border width and radius should match between android and iOS
Snack, code example, screenshot, or link to a repository:
Use this code to reproduce the images from above, or use this snack
export default class App extends React.Component {
  render() {
    return (
      <View style={styles.container}>
      <View style={styles.semicircle}/>
      <View style={styles.corner}/>
      </View>
    );
  }
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
    paddingTop: Constants.statusBarHeight,
    backgroundColor: '#ecf0f1',
    padding: 8,
  },
    semicircle: {
    borderBottomLeftRadius: 100,
    borderTopLeftRadius: 100,
    borderLeftWidth: 10,
    borderBottomWidth: 10,
    borderTopWidth: 10,
    height: 50,
    width: 50,
    borderColor: 'red'
  },
  corner: {
    borderBottomLeftRadius: 100,
    borderLeftWidth: 10,
    borderBottomWidth: 10,
    height: 50,
    width: 50,
    borderColor: 'red'
  },
});

Appreciate the filling out the issue fields @CampbellMG. Confirmed that the issue exists


Ubuntu 22.04 - i2c included in Kernel instead of module

The command on the readme doesn't show i2c-dev to be loaded if it's compiled into the kernel.
lsmod doesn't return anything, despite i2c-dev being ready to use:
$ lsmod | grep i2c_dev
$ grep I2C_CHARDEV /boot/config-$(uname -r)
CONFIG_I2C_CHARDEV=y
$

It took me a while to understand that I was looking for another error.
Please include a note on the readme.
More about this on a question on askubuntu.com.

I addressed this in the readme, now explicitly loading the i2c_dev module is only guided if it is required.


[BUG] Unable to install any package after Successful installation of infrastructure with ephiphany 2.0.4 with default RHEL 8

Describe the bug
Unable to install any package after Successful installation of infrastructure with ephiphany 2.0.4 with default RHEL 8
How to reproduce
Steps to reproduce the behavior:
sudo yum install git -y
Expected behavior
Any packages should be installed without issues
Config files
cloud:
k8s_as_cloud_service: false
subscription_name: #{prd-subscription-name}#
vnet_address_pool: #{application-vnet-cidr}#
use_public_ips: false
use_service_principal: true
region: #{prd-region}#
default_os_image: rhel-8-x86_64
Environment

Cloud provider: Azure
OS: RHEL 8

epicli version:2.0.4
After successful execution Terraform and Ansible we are trying to install Git into the machine. During that time we are getting below mentioned error.
Errors during downloading metadata for repository 'endpoint': - Status code: 404 for https://packages.endpointdev.com/rhel/8/os/x86_64/repodata/repomd.xml (IP: <IP_ADDRESS>) Error: Failed to download metadata for repo 'endpoint': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Found: The URL https://packages.endpointdev.com/rhel/8/os/x86_64/repodata/repomd.xml is giving 404 error since the URL should be wrong.
May be the URL Should be: https://packages.endpointdev.com/rhel/8/main/x86_64/repodata/repomd.xml

After yum update it worked!


harlequin --config should not prompt for config file if --config-path is specified

Describe the bug
If I explicitly specify an existing config file to update using the --config-path option while also specifying --config to perform a guided configuration, Harlequin should not prompt me for the config file name—it should just print the --config-path value after confirming that it exists and can be read.
Also, if I run harlequin --config without --config-path, then it should look for an existing config file in the standard search paths and display that as the default response to the first prompt (user can still change it). If no existing config file exists in the search paths, then show .harlequin.toml as the default.
Standard config file search paths should be in this order:

./.harlequin.toml (current directory)
$XDG_CONFIG_HOME/harlequin/config.toml (could also be named "harlequin.toml")
~/.config/harlequin/config.toml (could also be named "harlequin.toml")
~/.harlequin.toml (current standard)

To Reproduce
$ harlequin --config --config-path $XDG_CONFIG_HOME/harlequin/config.toml
? What config file do you want to create or update? .harlequin.toml

Actual behavior
harlequin --config forces me, in its first prompt, to enter the full path to the config file I want to update, despite I having already specified that path in --config-path so that I can leverage my shell's glob expansion and variable substitution capabilities (e.g. ~/ and $XDG_CONFIG_HOME).
Additional context
$ harlequin --version
harlequin, version 1.15.0

Installed Adapters:
  - duckdb, version 1.15.0
  - sqlite, version 1.15.0
  - postgres, version 0.2.2

Can you tell us more about your system?

Shell: Bash 5.2.26(1)-release
Terminal: iTerm2 3.4.23
OS of the shell: macOS 14.2.1
OS of the terminal (if different from the shell):

Thanks for this issue. I just learned about $XDG_CONFIG_HOME and the related standard. I'll make the updates to use that standard


I started out, "How hard could that be?"

Fortunately I didn't have to do on my own.

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

ID: 64b1f9e3-1f19-d3f3-368f-396a1c4f918e
Version Independent ID: a68fdcb7-a20f-87cb-711a-47254e0b233a
Content: Speech recognition - UWP app developer
Content Source: windows-apps-src/design/input/speech-recognition.md
Product: windows
GitHub Login: @Karl-Bridge-Microsoft
Microsoft Alias: kbridge

Thanks @jensocan. Closing issue as there is no action item or question.


Add spring bone node

Add spring bone effect node to Godot. It can be used for hair or soft body physics simulation.

Superseded by #84604.


DateConstructor doesn't support null as a possible input

Bug Report
In of the the implementation of or code we passed a string | null value to the Date object contructor. Based on the MDN documentation, this is a valid use case for Date object.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/Date
🔎 Search Terms

Date
null
constructor

🕗 Version & Regression Information
https://github.com/microsoft/TypeScript/blob/a7548745d78858f94f46f643b2a6edcec12e3a91/src/lib/es2015.core.d.ts#L69
It seems to me that Typescript never supported null as a possible input for Date object.
⏯ Playground Link
Playground link with relevant code
💻 Code
const dateByNull = new Date(null);

🙁 Actual behavior
The compiler doesn't allow to pass null as a value.
🙂 Expected behavior
The compiler should allow pass null as input to the Date constructor.

Dupicate of #12034. Used search terms: date null in:title

Thank you @MartinJohns  this makes sense this way. I will close the issue.


How to Set Minimum packet transmited on Ping Monitoring?

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
hello there..
please kindly answer this question:
I installed Uptime Kuma Ver. 1.15.1 and when our network down it showing this :

but when i upgrade Uptime kuma to the latest version (1.19.4) it showing this :

it means down monitoring is way too sensitive, how to adjust that packet transmited? atleast i need more than 1 packet transmited.
i try to look on Sqlite file but i can't see that value or string similiar to that
anyone can answer this?
thanks for noticing this question 🥇
🐻 Uptime-Kuma Version
1.19.4
💻 Operating System and Arch
Ubuntu 20.04 x86_64
🌐 Browser
Edge 108
🐋 Docker Version
No response
🟩 NodeJS Version
No response

Yeah, it is being looked into. It is to do with a change in ping module


Iris flower classification M.L. project

hello sir;
hope you may like the work. In case of upgradation in code please contact me, I will be realll happy to do so.
If possible please merge my pull request.
Thanking you.
regards

Please rename the directory from Iris to Iris Flower Classification , rest every thing seems to be fine.

Done sir

Merged.


Changes in User Table

There should be separate tables for User and Roles

I'll do it

Sure, go ahead!


Add nonce tracker to transactions controller

Resolves: #1070

ADDED

Adds NonceTracker package to transaction approval flow to manage transaction nonces. This functionality was previously handled by middleware in `web3-provider-engine which is slated to be removed. #123

@metamaskbot publish-preview

Looks great! CI is failing due to a drop in test coverage though.

CI is failing due to a drop in test coverage though.

Yeah been mainly focusing on validating it works in mobile and still fighting the env. Also not totally sure how best to target these lines:

Ah, for those lines I'd suggest we use a real nonce tracker instead of a mock one. We can mock the provider passed into the nonce tracker instead. Then those lines will be tested as part of the tests you've already written

Ah, for those lines I'd suggest we use a real nonce tracker instead of a mock one. We can mock the provider passed into the nonce tracker instead. Then those lines will be tested as part of the tests you've already written

done here: https://github.com/MetaMask/core/pull/1147/commits/9f2662e80198d97a56bed9e82a1933b614d0c4ac
@Gudahtt


[5.4] roll back to a given transaction level (savepoint)

DB::rollBack(0) rolls back the outer most transaction.
DB::rollBack(1) rollback to savepoint trans2
DB::rollBack(2) rollback to savepoint trans3
...
Redundant calls to DB::rollBack(), e.g. when not in a transaction, don't fire 'rollingBack' event anymore.

I'm curious what is the use case for this? Not trying to downplay it but I just am genuinely curious when a developer would do this :smile:

Maybe only rolling back the entire transaction makes sence. But in laravel
5.3 the the user have to rollback step by step. No other choise at all. Do
you feel this PR is flexible?
On Oct 13, 2016 8:01 PM, "Taylor Otwell"<EMAIL_ADDRESS>wrote:

I'm curious what is the use case for this? Not trying to downplay it but I
just am genuinely curious when a developer would do this 😄
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/laravel/framework/pull/15876#issuecomment-253565953,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGwr9MqRHyQ1MaDUT0RjOGYjbplvrNTmks5qzlzRgaJpZM4KVLa5
.


HDDS-3970. Enabling TestStorageContainerManager with all failures add…

What changes were proposed in this pull request?
ContainerStateManager: Addressing test failures
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-3970
How was this patch tested?
Testing TestStorageContainerManager several times in a row for failures.

Unrelated failure with coverage


Build Carousel component

Reference: https://flowbite.com/docs/components/carousel/

Hey @zoltanszogyenyi, this is done, right?
https://themesberg.github.io/flowbite-react/#/carousel

So we can close this one and create another one later.


How to do PID tuning on R2/C2

Need to write up guide on how to PID tune your printer. We should also include a gcode file that users can easily print to do it for them if they dont want to use the terminal

Article just needs to be checked over


Streams not working

i have eventhing installed and logged in with my account but when i got to play a stream i get the eplustv loading and nothing else
when i check my logs i see the following
      'x-amz-cf-id': 'oY7G920a6ypCneh-90JDzd0JO1slDRubzjks56rbTHn0rDL7hoOYuA=='     },     config: {       transitional: [Object],       adapter: [Function: httpAdapter],       transformRequest: [Array],       transformResponse: [Array],       timeout: 0,       xsrfCookieName: 'XSRF-TOKEN',       xsrfHeaderName: 'X-XSRF-TOKEN',       maxContentLength: -1,       maxBodyLength: -1,       env: [Object],       validateStatus: [Function: validateStatus],       headers: [Object],       method: 'post',       url: 'https://us.edge.bamgrid.com/token',       data: 'grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&latitude=0&longitude=0&platform=browser&setCookie=false&subject_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIyZWZkYWJiYS0zMWMxLTRmNWYtODE3Yi1kNjAwYzdiM2NhYjYiLCJhdWQiOiJ1cm46YmFtdGVjaDpzZXJ2aWNlOnRva2VuIiwibmJmIjoxNjcwMTA4MjQzLCJpc3MiOiJ1cm46YmFtdGVjaDpzZXJ2aWNlOmRldmljZSIsImV4cCI6MjUzNDEwODI0MywiaWF0IjoxNjcwMTA4MjQzLCJqdGkiOiJiOTJmZGUzZi02ZjU2LTRlZjYtOGVjNC02N2Y2Y2NlNzUyMzYifQ.NEd81x-2wYLqJBRpCJj_PFSdMrt_SRvpPDOjd5jbbUwcQ4-f6XushmsHk9AtRviv25SvarPwk2RfhidD44Ej2A&subject_token_type=urn%3Abamtech%3Aparams%3Aoauth%3Atoken-type%3Adevice'     },     request: <ref *1> ClientRequest {       _events: [Object: null prototype],       _eventsCount: 7,       _maxListeners: undefined,       outputData: [],       outputSize: 0,       writable: true,       destroyed: false,       _last: true,       chunkedEncoding: false,       shouldKeepAlive: false,       maxRequestsOnConnectionReached: false,       _defaultKeepAlive: true,       useChunkedEncodingByDefault: true,       sendDate: false,       _removedConnection: false,       _removedContLen: false,       _removedTE: false,       _contentLength: null,       _hasBody: true,       _trailer: '',       finished: true,       _headerSent: true,       _closed: false,       socket: [TLSSocket], Could not get BAM access token       _header: 'POST /token HTTP/1.1\r\n' +         'Accept: application/json\r\n' +         'Content-Type: application/x-www-form-urlencoded\r\n' +         'Authorization: Bearer ZXNwbiZicm93c2VyJjEuMC4w.ptUt7QxsteaRruuPmGZFaJByOoqKvDP2a5YkInHrc7c\r\n' +         'User-Agent: axios/0.27.2\r\n' +         'Content-Length: 617\r\n' +         'Host: us.edge.bamgrid.com\r\n' +         'Connection: close\r\n' +         '\r\n',       _keepAliveTimeout: 0,       _onPendingData: [Function: nop],       agent: [Agent],       socketPath: undefined,       method: 'POST',       maxHeaderSize: undefined,       insecureHTTPParser: undefined,       path: '/token',       _ended: true,       res: [IncomingMessage],       aborted: false,       timeoutCb: null,       upgradeOrConnect: false,       parser: null,       maxHeadersCount: null,       reusedSocket: false,       host: 'us.edge.bamgrid.com',       protocol: 'https:',       _redirectable: [Writable],       [Symbol(kCapture)]: false,       [Symbol(kNeedDrain)]: false,       [Symbol(corked)]: 0,       [Symbol(kOutHeaders)]: [Object: null prototype],       [Symbol(kUniqueHeaders)]: null     },     data: { errors: [Array] }   } } TypeError: Cannot read properties of undefined (reading 'refresh_token')     at EspnHandler.<anonymous> (/app/services/espn-handler.ts:807:53)     at Generator.next (<anonymous>)     at fulfilled (/app/services/espn-handler.ts:5:58)     at runMicrotasks (<anonymous>)     at processTicksAndRejections (node:internal/process/task_queues:96:5) TypeError: Cannot read properties of undefined (reading 'access_token')     at EspnHandler.<anonymous> (/app/services/espn-handler.ts:763:38)     at Generator.next (<anonymous>)     at fulfilled (/app/services/espn-handler.ts:5:58)     at runMicrotasks (<anonymous>)     at processTicksAndRejections (node:internal/process/task_queues:96:5) TypeError: Cannot read properties of undefined (reading 'assertion')     at EspnHandler.<anonymous> (/app/services/espn-handler.ts:829:46)     at Generator.next (<anonymous>)     at fulfilled (/app/services/espn-handler.ts:5:58)     at runMicrotasks (<anonymous>)     at processTicksAndRejections (node:internal/process/task_queues:96:5)

ESPN or ESPN+ event?

ESPN or ESPN+ event?

it was an ESPN+ event i think it was an event from the epg that app had listed

There isn't much I can go off of from that log... Make sure your container is on the most up to date version and the event you're trying to watch is available in a browser as well (not pre/post event, blacked out, ect)?

There isn't much I can go off of from that log... Make sure your container is on the most up to date version and the event you're trying to watch is available in a browser as well (not pre/post event, blacked out, ect)?

i will try another event and let you know i litrully just in stalled the docker the day i posted the log above so i think its the latest from this github

Can you use pastebin or something to dump your full log? I can't see what HTTP error you're getting

As a test, nuke your config folder and try authenticating again

As a test, nuke your config folder and try authenticating again

hi thanks for the reply sorry its been so slow xmas period with three kids tobuy for is hell
i will give reauthing a try today and let you know

I'm going to close this out for now since the entire playback engine has been changed out.


Limit AAb / Apk difference comments (if no changes found)

Explanation

[Using the uploaded artifacts]
Essential Checklist

[ ] The PR title and explanation each start with "Fix #bugnum: " (If this PR fixes part of an issue, prefix the title with "Fix part of #bugnum: ...".)
[ ] Any changes to scripts/assets files have their rationale included in the PR explanation.
[ ] The PR follows the style guide.
[ ] The PR does not contain any unnecessary code changes from Android Studio (reference).
[ ] The PR is made from a branch that's not called "develop" and is up-to-date with "develop".
[ ] The PR is assigned to the appropriate reviewers (reference).

For UI-specific PRs only

If your PR includes UI-related changes, then:

Add screenshots for portrait/landscape for both a tablet & phone of the before & after UI changes
For the screenshots above, include both English and pseudo-localized (RTL) screenshots (see RTL guide)
Add a video showing the full UX flow with a screen reader enabled (see accessibility guide)
For PRs introducing new UI elements or color changes, both light and dark mode screenshots must be included
Add a screenshot demonstrating that you ran affected Espresso tests locally & that they're passing

Bare min version: https://github.com/Rd4dev/Oppia-Android-Fork-from-Fork/actions/runs/10750358685/job/29816405472#step:19:24
To move build (develop) as a sep job ; to use the same for every matrix shard.


"New Employee Onboarding Hub"template failed!

Your request to provision
"New Employee Onboarding Hub"template failed!
Please report the issue here providing the following provisioning action correlation ID: d17e7ce8-22f5-49d7-b0b3-ddecb53f9d2c !

Hi,
Thanks for using the Look Book site. This seems to be a random hiccup on the SharePoint side which would imply that the template should work properly if you try it one more time. Seems that the provisioning did succeed partially. Can you test this one more time and, in case of any failure, share the updated Correlation ID (by creating a new issue) for us to double-check the flow. Thanks.


Accelerate Tensor Calculation

Currently we are using OpenBlas to accelerate Tensor Calculation. In addition to this, we have to modify calculation in a way to reduce memory copy.

:octocat: cibot: Thank you for posting issue #15. The person in charge will reply soon.

This related with PR #131, #132, #135, #136

Let's close this for now and reopen when it needs.


Controlling state - page and filter problem

I've found a small thing here :
Example : https://codepen.io/anon/pen/ayzKoO

Navigate to the last page.
Type "tiger" on FirstName filter -> no results,
Go back to the first page and you will see a "Tiger" record

Shouldn't ReactTable internally clamp the "page" prop to the maximum available page on that case?
I know that I could reset to page 0 when some filter changes, but that doesn't seem the best solution.
Thanks for this amazing component.

This is a duplicate of #273, tracking there.


configurable idemix cache for token identities

Currently, the idemix cache for token identities is hardcoded and set to 500.
This parameter should be configurable.

Completed with https://github.com/hyperledger-labs/fabric-token-sdk/pull/305


Adds const to Typedef.toString

What happens if the type being wrapped does not have a toString which is const? Glancing at the code, I expect that it won't compile. So, at minimum, that case must be tested for, but it's probably the case that it's not possible to make Typedef.toString const without getting into the whole mess of duplicating it and using static ifs to put const on it or not based on whether it can work as const, which gets ugly fast.

Use tostring(this Me)(). Then Me becomes the type of the object including qualifiers. That's the temple version of inout. For the language reference, see Template This Parameter.

This issue isn't uncommon. It seems that the best thing might be for const to be inferred like @nogc and nothrow, although I am sure this has been discussed before.

@n8sh In generic code, inferring things is always the way to go. There is still a difference between attributes and const: The latter is a type qualifier. I'm not sure if inferring it for templates by default is good. The necessity is low as it can be done on demand.

@Bolpat thanks!

Can confirm what @jmdavis said; it just won't work. I also have not thought to try toString(this T)() though, which probably will work. Good idea @Bolpat.

This PR can be merged?


UPDATE: added --user option to pip install

Added --user option to pip install to avoid permission issue in the latest Vertex AI Workbench instance.
Due to this change, before running  make command, export PATH=/home/jupyter/.local/bin:$PATH have to be run. This instruction will be added in README in a following PR.

Please ignore the pre-commit error. It is handled in #323.


Composable casts

This should close #401.
This PR adds the possibility of composing casts by making Ecto.Changeset.cast/4 accept a changeset instead of a model as its second argument:
changeset = cast(%{title: "Title"}, %Post{}, ~w(title), ~w())
cast(%{title: "Foo", body: "Bar"}, changeset, ~w(title), ~w(body))

I think the nicest solution (and the one I've implemented) is to apply the new "cast" to the model in the argument changeset (in the example, changeset.model) and then to meticulously merge the argument changeset and the new changeset (I added the merge_changesets/2 function for that).
Another way to implement this would have been to manually call cast with the model in the argument changeset and with merged title, options and params) but that way an already applied cast is just re-applied another time; maybe this solution is nicer though, so I'm more than willing to change the implementation (I could push --force just the second commit) if so.
Thanks! :smiley:

Beautiful. I have added just one tiny comment!

There you go, no more HashSets in favour of a call to --/2. I didn't realize that if both lists have no duplicate elements than --/2 is the same as Set.difference/2.
One more thing: should we make merge_changesets/2 public? I feel like it could come in handy in some cases since maybe you're creating the changesets in different places and then you just want to merge them, as opposite to having to first create one and then cast/4 on it.
Let me know what you think!

Great idea, let's make merge public as long as we guarantee both model and repo fields are equal.

Hey José, I'm sorry it took me so long (busy day!) and I've been terrible completely missing validations :disappointed: Pushed a fix for that, I'm going to push another couple of commits later tonight in order to make merge_changesets/2 public (updating the tests and writing the docs is going to take me a little while, that's why I'm not doing it now).
In the meanwhile, should we call the function merge_changesets even if it's part of the Ecto.Changeset module? I'm thinking that just merge may be too generic especially since Ecto.Model imports Ecto.Changeset, but maybe we can find a less verbose name. Let me know what you think!

We should call it just merge. :)
--
José Valimwww.plataformatec.com.br
http://www.plataformatec.com.br/Founder and Lead Developer

Hey @josevalim, I made merge/2 public and added tests and docs for it. Everything should be ready, let  me know if there's anything else I can do.
Just one thing: you said to fail in merge/2 if the :repo fields of the changesets differ. I think it's better to fail only if they're not nil and they're different. If I have a changeset I've applied (with a non-nil repo) and one I still haven't applied (with a nil repo), the final changeset should have the repo of the applied one, right? Let me know if I should change this behaviour before merging :).
Thanks!

:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:


Making the plugin variables optional

The 3 plugin variables are now made optional. If no values are specified, the plugin will not automatically start any Analytics session and this can be done using code.
Also fixed an issue with iOS builds with the latest Cordova version.

:+1:


Update schema-ini-file-text-file-driver.md

Column syntax updated to provide more clarity

@tgburgin : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Looks good to me. Thanks for the submission!
#sign-off


Small advices

Hello purcell!
I have been using Emacs for quite a long time and later I found out that your repo might just be the one I want. I modify few things like adopting anaconda-mode to write Python and else.
Just two piece of advice:
In .travis.yml , looks like the allow_failures works like bellow:
  - EVM_EMACS=emacs-23.4-travis
  - EVM_EMACS=emacs-24.1-travis
  - EVM_EMACS=emacs-24.2-travis
  - EVM_EMACS=emacs-24.3-travis
  - EVM_EMACS=emacs-24.4-travis
  - EVM_EMACS=emacs-24.5-travis
  - EVM_EMACS=emacs-git-snapshot-travis

matrix:
  allow_failures:
    - env: EVM_EMACS=emacs-23.4-travis
    - env: EVM_EMACS=emacs-24.1-travis
    - env: EVM_EMACS=emacs-24.2-travis
    - env: EVM_EMACS=emacs-24.3-travis

Another thing is that I am using Emacs 25 and seems that I have to do a recompile package after the initial process is finished.
;;; tmp -- this function resolve the Emacs25 warning.
(defun my-package-recompile()
  "Recompile all packages"
  (interactive)
  (byte-recompile-directory "~/.emacs.d/elpa" 0 t))

function is from stackoverflow and I just thought maybe you would be interested to look into these kind of warnings if planning to support Emacs25
Cheers!

Awesome, thanks. I've implemented the .travis.yml changes and they work nicely. Can you give me more info about the Emacs 25 problem, please? I use a recent HEAD version of Emacs too and have never experienced a problem with files going uncompiled.

Hmm, I wonder whether it is because I am using the emacs25-git pkg from Arch User Repo.
The message buffer wont complain, but compile-log will give me same warnings like #314 . And the recompile function that I googled help me resolve it. My fork or this repo works perfectly for emacs24

Are you switching between Emacs versions with the same .emacs.d? If so, that can cause problems.

No. I purged my .emacs.d.
Maybe it is because of the AUR pkg that I am using. I guess you can close it though.

Yeah, sounds likely to be a packaging thing. Very odd.


Furtive patach syllables with sof pasuq incorrect isClosed

The problem
When a syllable with a furtive patach also has a sof pasuq \u{5C3}, the isClosed property is to true the opposite of what it normally is.
Some consideration
A syllable with a furtive patach is actually closed.
The current way of doing things is semantically incorrect but consistent.
Options

Fix it so that a furtive patach syllable with a sof pasuq has isClosed set to false

Update the syllabifier so that furtive patach syllables:

have the text actually be correct (i.e. patach + chet , not like the current chat + patach)
set the isClosed property correctly

See this issue

Closing this as not planned.
The issue that sparked this was that a furtive patach followed by a sof pasuq (or potentially a colon if that is what was used), e.g. "רֽוּחַ׃" would not transliterate correctly.

Expected: rûaḥ
Received: rûḥa

The original thought was that furtive patach syllables should be closed, enabling the reverse of these lines — i.e. could check for syl.isClosed instead of !syl.isClosed.
The idea to switch how a furtive patach is encoded is a bad idea.
The furtive patach is currently encoded as "chet/ayin/he + patach"/
The idea was to encode it as "patach + chet/ayin/he".
This is a bad idea b/c no font knows how to render that encoding correctly.


July 8 -  IoT in Farming: Building an Agrotech Solution

Event Information

Category
Details

Reactor Topic
IoT

Monthly Topic (if applicable)
Connecting with Our World Through Data

Weekly Topic (if applicable)
IoT

Stream Topic
<2-5 words describing the topic>

Stream Date
July 8, 2020

Stream Time
9am PT

Stream Duration
60 Min

Title
IoT in Farming: Building an Agrotech Solution

Description
In this stream, we will create an agricultural-based (or agrotech) solution with the help of IoT and Azure tools.  Starting with an internet-connected device with environment sensors, we will connect to a set of services that will store telemetry data and predict the weather using Azure Maps. Then, we’ll combine these weather predictions with soil moisture data to send a signal to the device indicating whether the plants need watering.

This session will use a no-code IoT platform called Azure IoT Central, and an IoT software-as-a-service (SaaS) platform.

This session requires basic coding and Python knowledge.

Speaker
Jim Bennett

Moderator

Additional Resources:

Event Checklist
10 Weeks Prior

[X] Reactor Content Team (RCT) or Speaker opens a new issue for an upcoming stream filling in the Event Information table. Both RCT and Speaker are marked as assignees.
[X] RCT and Speaker discuss details of the event in the comments of this issue. RCT adds a confirmed-event label and global-twitch-event tag to the issue and adds event to the Global Live Streams project. Issue will appear in the Upcoming Streams column
[X] Speaker adds a ready-for-marketing-edit label so the RCT can review title and description

8 Weeks Prior

[X] RCT does a review of title and description and removes the ready-for-marketing-edit label
[X] RCT moves the issue to the Ready for SharePoint column
[X] RCT informs the Reactor Marketing Team of the new event information
[ ] RCT provides speaker with assets (e.g. slides, overlays) and the survey data for the event
[x] RCT moves the issue to the Stream Preparation In Progress column

2 Weeks Prior (Done in /microsoft/Reactors)

[ ] Speaker opens a PR with the new content for the stream on the customer-facing Reactor repository and adds the content-development and global-twitch-event tag to the PR.
[ ] Speaker adds to the same PR a modification to the Streaming README to include their stream information.
[ ] Speaker adds the RCT assigned to the issue as the reviewer when it is ready for review/merge
[ ] RCT reviews, approves, and merges the changes

1 Week Prior

[ ] Speaker and Moderator test setup for streaming (instructions coming soon)
[ ] RCT checks in with the speaker and moves the issue to the Ready to Stream column

During and After Stream

[ ] Speaker and Moderator run the stream
[ ] RCT submits recording to be uploaded to the Reactor YouTube and to be made available on LearnTV
[ ] RCT moves issue to the Stream Complete column

@meaghanlewis - Confirming that this event was cancelled due to speaker no longer being available correct?

@sguthals that is correct. Thanks for adding that label and updating the status in the project.


Composer Installation Failed

Q
A

New Feature?
no

Version
v2.0.0

Actual Behavior
Composer is giving me a error return then the package isn't intalled.

Your requirements could not be resolved to an installable set of packages.
Problem 1
- php-http/guzzle6-adapter v2.0.0 requires php-http/httplug ^2.0 -> satisfiable by php-http/httplug[v2.0.0].
- php-http/guzzle6-adapter v2.0.1 requires php-http/httplug ^2.0 -> satisfiable by php-http/httplug[v2.0.0].
- Conclusion: don't install php-http/httplug v2.0.0
- Installation request for php-http/guzzle6-adapter ^2.0 -> satisfiable by php-http/guzzle6-adapter[v2.0.0, v2.0.1].
Installation failed, reverting ./composer.json to its original content.
Steps to Reproduce
Just exec the command: composer require php-http/guzzle6-adapter
Could someone help me with this issue, please?

Hello @sagikazarmark , I got a answer from Mailgun, they advised me to run the following command.

There was a recent update to the guzzle module required for our PHP SDK. You would need to specify the guzzle version when installing the Mailgun module.

php composer.phar require mailgun/mailgun-php php-http/guzzle6-adapter:~1.1.1 php-http/message
Then it worked! =)

@gustavobretas I guess it's possible that mailgun doesn't work with httplug 2 yet, but I would still love to investigate the issue, so I would kindly ask you to provide the above requested information so we can fix the situation if there is a bug. Thank you!

Hi @sagikazarmark, sure, my PHP Version is 7.2.4.
    "require": {         "php": ">=7.1.3",         "anhskohbo/no-captcha": "3.*",         "anlutro/l4-settings": "^0.4.6",         "doctrine/dbal": "^2.8",         "fideloper/proxy": "~4.0",         "guzzlehttp/guzzle": "^6.3",         "intervention/image": "^2.3",         "jenssegers/agent": "^2.5",         "laracasts/presenter": "^0.2.1",         "laravel/framework": "5.6.*",         "laravel/socialite": "^3.0",         "laravelcollective/html": "^5.1",         "league/fractal": "^0.16.0",         "mailgun/mailgun-php": "^2.6",         "paragonie/random_compat": "~1.4",         "php-http/guzzle6-adapter": "~1.1.1",         "php-http/message": "^1.7",         "proengsoft/laravel-jsvalidation": "2.2.*",         "tymon/jwt-auth": "1.0.0-rc.2",         "webpatser/laravel-countries": "dev-master"     },     "require-dev": {         "symfony/css-selector": "~4.0",         "symfony/dom-crawler": "~4.0",         "fzaninotto/faker": "~1.4",         "mockery/mockery": "0.9.*",         "phpunit/phpunit": "~7.0",         "barryvdh/laravel-ide-helper": "2.4.*",         "barryvdh/laravel-debugbar": "3.1.*",         "laravel/browser-kit-testing": "^4.0",         "filp/whoops": "~2.0"     },
I was trying to send the e-mails by Mailgun's sdk, but then I realized that Laravel already had it implemented! I'm using the Laravel class now and it is working fine! =)
Thank you!

In my case, this is what i did:
I just added this line  "guzzlehttp/guzzle": "^6.3", in my composer.json
and issued the composer update command. Things worked well!

i just change the line  that was before "guzzlehttp/guzzle": "^7.2" to "guzzlehttp/guzzle": "^6.3" and everything worked

i just change the line  that was before "guzzlehttp/guzzle": "^7.2" to "guzzlehttp/guzzle": "^6.3" and everything worked


Using DruidExceptions in MSQ (changes related to the Broker)

Description
Most of the places in MSQ currently rely on the older error code, dating pre https://github.com/apache/druid/pull/14004. This is an attempt to fix the bits of the error code in the places where bits of MSQ reside in the broker. This extends upon the PR https://github.com/apache/druid/pull/14531.

The MSQTaskQueryMaker and the MSQTaskEngine might return a different error code for some invalid cases (which might not be inline with what the behavior originally was, but is correct now). For example, setting maxNumTasks to 1 would return a 500 error code, which is not right since its an invalid user input. This was the original behavior, and this PR changes that.
The EXTERN function returns a 400 error code if the parameters to it are incorrect (which is in line with what its behavior originally was and is correct)

Note: This PR doesn't unify the DruidExceptions with the MSQException
Release note
MSQ engine returns correct error codes for invalid user inputs in the query context

This PR has:

[ ] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[ ] added documentation for new or modified features or behaviors.
[ ] a release note entry in the PR description.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[ ] been tested in a test Druid cluster.

@cheddar Thanks a lot for the review, I have revised the PR with the changes, and better exception messages.


fix(base-modal): unblock scroll when open prop is false

дубликат PR из форка https://github.com/core-ds/core-components/pull/1419

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

3 of 3 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.003%) to 82.604%

Totals

Change from base Build<PHONE_NUMBER>9:
0.003%

Covered Lines:
10361

Relevant Lines:
11473

💛  - Coveralls


[charts/vault-operator] Add the ability to disable crd creation

Q
A

Bug fix?
no

New feature?
yes

API breaks?
no

Deprecations?
no

Related tickets
fixes #908

License
Apache 2.0

Checklist

[ ] Error handling code meets the guideline
[ ] Logging code meets the guideline (TODO)
[x] User guide and development docs updated (if needed)
[ ] Related Helm chart(s) updated (if needed)

To Do

[ ] If the PR is not complete but you want to discuss the approach, list what remains to be done here

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.VALLEY Antoine (T0173847) seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi @sparqueur, thank you very much for the PR, I'm about to submit a PR which makes the detection automatic.

I submitted https://github.com/banzaicloud/bank-vaults/pull/910 to make this automatic. Thanks again!


Update BNG version regexp

Fixes #282, only changes the regexp to parse the first line of a BNGL net file.

Coverage decreased (-2.3%) to 71.777% when pulling 6b906833c7c003c906acbf046fa95dc59f0e9d62 on bgyori:bng_compatibility into 1e33c98a7a51836436f0f1ee71e6183b2e4f1805 on pysb:master.

The version "2.3.0-2.3.0" was actually a BNG bug, so we shouldn't need this fix.


Default to download from BinTray

According to data on Bintray, SonarQube has been using Bintray since June, 2015.
Bintray provides all the versions of SonarQube including 4.5.6 and newer releases.

Agree with you as they've finally moved older versions of SonarQube to Bintray.


compiler eslint now depends on an external formatter

https://github.com/vim/vim/blob/7e501f4d9986866382888e67d8f11faf5767c8f4/runtime/compiler/eslint.vim#L12
Running this makeprg configuration returns this message:
The compact formatter is no longer part of core ESLint. Install it manually with `npm install -D eslint-formatter-compact`

One can always install the eslint-formatter-compact package to use compiler eslint again, but it would be nice if it could work with only eslint installed like it did before ESLint made this change.
Here are the formatters that ESLint now includes built-in: https://eslint.org/docs/latest/use/formatters/

@romainl are you up to remove the --format compact thing then? Or put it behind a configuration var?

Well, the compiler in its current incarnation is only useful because the compact format is easy to parse with errorformat. Now that it is no longer distributed with eslint, both makeprg and errorformat are wrong and the compiler has become pretty much useless (unless you install that extra package).
I think that we have only one option, here: write a proper errorformat for the default stylish format. There is one here (untested) that we could use with the authorization of the author of the post.

Actually, I just tested it and it seems to work pretty well. I asked the author to join this conversation. We will see.

Glad my errorformat is useful. Happy for it to be used 👍🏼

then can any of you please create a PR fix please?

Yes, I will do in the next couple of days.


why does tokio.run always need 30s to finish?

even with the simple example, tokio.run always takes at least 30s to finish. Looks like it ends with time-out? is there any way to finish it after all futures finish?
time ../target/debug/examples/static_select

Output:
real    0m30.328s
user    0m0.017s
sys     0m0.010s

Example txn has similar outcome.
time ../target/debug/examples/txn

Output:
real    0m30.021s
user    0m0.017s
sys     0m0.010s

But "result: 1" can be printed out very quickly. I just couldn't figure out why tokio.run needs 30s to finish.

Usually a time-out is thrown when the credentials are wrong. It doesn't connects initially to check if the credentials are correct. Have you checked them?

The analysis in https://github.com/khuey/bb8/issues/36#issuecomment-554887821 sounds correct to me. Closing for lack of further feedback.


[Site] Service Mesh Performance Benchmark Dashboard

Current Behavior

So service Mesh Performance shows rich performance profiles and realtime tests results, but there   is a need of the dashboard for the SMP where results are analysed and charted visually to give better insights to performance results. The current charts are good but are not showing the ample amount of data that the SMP holds power to.

Design backend for facilitating the dashboard data
Design frontend for visually appealing dashboard

Desired Behavior

Create a new dashboard for Service Mesh Performance. The good context and reference could be SMI Conformance Dashboards or Istio performance

@leecalcote I would like to work on this issue. Kindly assign it to me. Also kindly guide me a bit on how can I get started this project like building this in my local environment and stuff like that.
@Abhishek-kumar09 Hello, I am new with Layer5. It would be nice if you can help me out with doubts that I will have while I am trying to understand the codebase.

@DhairyaBahl I completely missed this message. No one is working on this. Yes, a dashboard using Jekyll is ideal. Are you still interested in progressing here?

@DhairyaBahl I completely missed this message. No one is working on this. Yes, a dashboard using Jekyll is ideal. Are you still interested in progressing here?

@leecalcote Yes for sure ! I would love to work on this. Kindly give me some resources so that I will quickly get started with this issue.

I would like to work on this issue.  Got some good exposure to Jekyll while contributing on the compatibility matrix.

I would like to work on this issue. Got some good exposure to Jekyll while contributing on the compatibility matrix.

@asubedy I want to collaborate on this :)

@DhairyaBahl Please join in Meshery Development call: https://meet.layer5.io/meshery or Community call: https://meet.layer5.io/community and add your question on the meeting minutes to kick start your progress.

I was busy from past one month on my college exams and all and that is why I was unable to give much time to open source.  I will start working on this issue asap.
@asubedy @Abhijay007 are you guys working on this issue ? or should I continue working on this. Kindly inform me.

@DhairyaBahl Are you still working on it ??, if yes would you please ping me on slack


getting deadlock after running backup script

I just installed this today, imported my data from another instance of paperless-ngx, ran the backup script, rebooted and now I can not start the pod via ./start.sh
The error I see is
./start.sh
Creating Paperless Pod...
24ebb75e35b128422fded0505e5a5c15d6d2f515523fcb6497ae93931af2cee6
Starting Redis...
00e6e23c41f969e709162226282fed247b2a1c1fd59a912ee3579a3cc6fcdea0
Error: please run 'podman system renumber' to resolve deadlocks: container 00e6e23c41f969e709162226282fed247b2a1c1fd59a912ee3579a3cc6fcdea0 and volume paperless-redis share lock ID 2: deadlock due to lock mismatch

The 'podman system renumber' did not help

Sorry for the delay in response. Hmmm that is pretty odd. What does podman ps -a show for what containers are running when it is in this deadlocked state?

Can't say. Used another server based on NixOS, imported the regular backup and never looked back.


Add quotemark rule to tslint.

This change is

Travis is failing because of our deprecated models directory (this is dying soon in favor of a dedicated models repository)
I sent a quick PR to fix this so you didn't have to (if you want to send me an LGTM then I will merge yours): https://github.com/tensorflow/tfjs-core/pull/977

Review status: 0 of 3 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Thanks @ry!


Had a five minute warning where the phone buzzes when the trolley is within a certain distance

https://codeforgvl.imaginethat.io/trolleytracker/i/5318

Great idea for an option to toggle on/off, probably not that hard for the
iOS app.
On Aug 29, 2015 2:52 PM, "Adam Gautsch"<EMAIL_ADDRESS>wrote:

https://codeforgvl.imaginethat.io/trolleytracker/i/5318
—
Reply to this email directly or view it on GitHub
https://github.com/codeforgreenville/trolley-tracker/issues/63.

A lovely idea. A backend with push updates would help facilitate this. You
could poll in the background but it would drain battery. How would you
enable this feature? Would you just enable a setting to always enable the
notification every time a trolley is near? Or would it be more of a 1 time
thing? Like, "give me a notification the next time a trolley is near".
On Aug 29, 2015 5:27 PM, "Jeremy Wight"<EMAIL_ADDRESS>wrote:

Great idea for an option to toggle on/off, probably not that hard for the
iOS app.
On Aug 29, 2015 2:52 PM, "Adam Gautsch"<EMAIL_ADDRESS>wrote:

https://codeforgvl.imaginethat.io/trolleytracker/i/5318
—
Reply to this email directly or view it on GitHub
https://github.com/codeforgreenville/trolley-tracker/issues/63.

—
Reply to this email directly or view it on GitHub
https://github.com/codeforgreenville/trolley-tracker/issues/63#issuecomment-136054186
.

I would think it would be a button. If I'm having a drink or dinner near a stop and I want to take the trolley somewhere else I'd open the app and click the "Five Minute Warning" button.
Thinking out loud, some type of determination that the trolley is going in the right direction might be needed. Besides that, I bet things wouldn't be that hard to program in.
Looping @austin9350 for thoughts from the iOS world too.

So my first intuition is to explore Geofencing: https://developer.android.com/training/location/geofencing.html
But it seems like an upside-down use case for this. Our user is the stationary one, and the 'Geofenced' object is the trolley.
Maybe it makes more sense to have each trolley stop be a geofence, and let users 'subscribe' to a stop to let them know when a trolley is <~5min away from that stop. Then we also aren't constantly polling the user's location.
But actually we need to geofence by ETA, which I'm not sure is possible...
Also thinking out loud :)

I think the geofencing on stop is smart and probably a more useful tool. My only push back is, it might be easier for us to explain and for the user to use a single button with the express purpose of being alerted to when the trolley is five minutes (give or take) out.
But I can be easily convinced that the stop update is a better choice.

Single button for Ashley is way better ux, could we do the logic in the
back end connecting the button to the stop nearest as described?
On Aug 31, 2015 6:05 PM, "Adam Gautsch"<EMAIL_ADDRESS>wrote:

I think the geofencing on stop is smart and probably a more useful tool.
My only push back is, it might be easier for us to explain and for the user
to use a single button with the express purpose of being alerted to when
the trolley is five minutes (give or take) out.
But I can be easily convinced that the stop update is a better choice.
—
Reply to this email directly or view it on GitHub
https://github.com/codeforgreenville/trolley-tracker/issues/63#issuecomment-136513819
.

I think this is a great idea.
Push notifications are probably a necessity for an iOS client app, the OS is fairly restrictive about what you can do in the background.
I went through the same thought process about geofencing, it would be simpler, but is kinda the reverse of what we're looking for.
We could probably use Apple's CloudKit service to do most of the server side work. We'd just need the trolley locations to be sent from our server to CloudKit (they have an api and a JS library for it).
It supports locations natively, so clients can then just register to be notified via push notification when a trolley gets within a certain distance of a registered location (the user's location whenever they tap the "Notify Me" button).
That would be distance based rather than time based, but if we experimented with it maybe we could find a distance that at least kindasortamaybe averaged around 5 minutes.


openai: add python3Packages.wandb dependency

Motivation for this change
The openai executable from python3Packages.openai added new functionality that depends on python3Packages.wandb. This PR adds that dependency, and also fixes some build issues with packages wandb depends on.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Looks like the fixes to the dependencies of wandb will require rebuilding over a thousand packages!!!
I'm running nixpkgs-review on my systems, but it's doing to take a while :)

The @ofborg failure on Linux seems to be due to python3Packages.sanic (which is a dependency of wandb failing to build. I'm looking into it.

Do you need to change it for openai to work? If so: Please add the changes to dnspython in a seperate PR against staging.

@gador, dnspython is a dependency of wandb. wandb isn't required for openai to build, but some functionality of the executable isn't available without it, so I'd like to add it.
Just to confirm, you'd like me to make a new PR with the changes to dnspython, that targets staging, then come back to this PR with that change removed once the new PR lands?

Blocked on: #161740

I'd think that's a sensible action, yes.
This way, this PR gets reviewed and merged faster and mass rebuilds (due to dnspython) should go to staging (and will take some time to get merged)

to rebase to staging:
# finding the common merge base will avoid pinging all CODEOWNERs
common=$(git merge-base origin/master origin/staging)
git rebase --onto=$common HEAD~1 # or however many commits you want to pull
git push .. ... --force

then change the base branch in the github PR from master -> staging
See https://nixos.org/nixpkgs/manual/#submitting-changes-staging-branch for more details on staging branch


Fix aspect ratio video box size in Safari

This PR fixes #1382
Problem
The problem is simply the lack of support in Safari that it could not recognize and allocate height based on aspect ratio.
The reason behind it, is because Safari support for aspect ratio was introduced in v15, and it is far behind the other browsers.
Solution
In order to tackle that, this PR just introduces a wrapper around the React video player, by allowing it to have the height of 100% set for each video! That means now the height is not more a burden on browser to calculate based on aspect ratio!
The wrapper on the other hand is responsible to occupy the width and height designed for this section and let the video just take up the space it needs!
NOTE: it not only works for dual video, but the single video is covered too!
To test

you would need to have Safari to see the difference!
patch this PR (locally, if you will)
npm start (locally, if you will)
Make sure you test it with single and dual videos in cutting page!

And now I'm gonna be the mean person that reminds everyone that we technically also support more than two videos.

While three videos also looks good, it looks different from two videos in that the videos are now spaced out instead of grouped up in the center. I think it would be preferrable if the three videos were also grouped up in the center. What do you think?

Well, good to know that more than 2 videos are also supported, let me fix that.

Late to the game, but this works for me, Safari shows the same size Chrome and Firefox display. Thanks, Farbod!

Great, with my pleasure.


[zh] localize PodSecurityPolicy-Past-Present-and-Future.md

localized podsecuritypolicy-deprecation-past-present-and-future to Chinese

/assign

/triage accepted

/triage accepted
/language zh

This issue is solved(https://github.com/kubernetes/website/pull/36545)
LGMT
/close

This file hasn't been localized. That pr (https://github.com/kubernetes/website/pull/36545) just synced another file and mentioned to localize this file.


Unable manger woker node containers in docker swarm

Before you start, please confirm the following.

[x] Yes, I've searched similar issues on GitHub.
[x] Yes, I've checked whether this issue is covered in the Portainer documentation or knowledge base.

Problem Description
Hi, I am a newbie to Portainer. Currently, I have Docker Swarm set up on two machines: one manager node and one worker node.
I have successfully installed the edge agent in standard mode, and I can manage Swarm services without issue. However, I am unable to access the containers on the worker node that were created using Docker instead of Swarm. Since using Docker in standalone mode is not advisable when Swarm is enabled, I am wondering if there is a solution to this problem.
Expected Behavior
I can manage containers on the worker node from the manager node's Portainer Agent.
Actual Behavior
No containers from the worker node are present in the Portainer Agent web interface.
Steps to Reproduce

Install the edge agent in standard mode on the manager node.

Portainer logs or screenshots
No response
Portainer version
2.21.0
Portainer Edition
Community Edition (CE)
Platform and Version
Docker 27.2.0
OS and Architecture
Ubuntu 22.04 | x86
Browser
No response
What command did you use to deploy Portainer?
No response
Additional Information

Hey @homjay,
Did you deploy your Edge agent in Swarm mode? Could you please send a screenshot of your services page?
I’ve tested this setup and had no issues seeing standalone containers on my worker.

@homjay - Can you check the logs of your Swarm manager and see if there are any warnings regarding communication between the manager and the worker? Where is the agent in terms of location compared to Portainer server?

@homjay Apologies for the delayed response. Could you check the Docker Swarm logs, outside of Portainer logs? Communication issues between the manager and worker nodes can sometimes be related to the overlay network in Swarm. Could you check the Swarm logs for any signs of this?

Great, glad you found the issue


On Android, the 'incognito' prop for react-native-webview does not work.

On iOS, the 'incognito' property works flawlessly, however it does not appear to operate on Android. Our expectation is for WebView to not store any data . Can you let me know if I'm missing anything here.
Our usage:
<WebView
            cacheEnabled={false}
            source={{uri: sourceUrl}}
            onNavigationStateChange={this.onNavigationStateChange}
            incognito={true}
/>

+1

Seeing the same issue as well

I had the same situation mentioned above for android. I added another 3 props to the WebView component: thirdPartyCookiesEnabled, domStorageEnabled and geolocationEnabled with all false, then there is no cached data now after reopening the webview on android.

Same issue for Android while using incognite={true} when expecting Local Storage to be empty. Apparently, you have to use domStorageEnabled={false} for Local Storage.

Same issue for Android while using incognite={true} when expecting Local Storage to be empty. Apparently, you have to use domStorageEnabled={false} for Local Storage.

Thank you very much domStorageEnabled={false}, worked perfectly!


Issue 115 lam

fixes #115

Moves LigandAtomMapping class from openfe to gufe
Adds visualization submodule

Thanks! This is great, I already have this branch working with my NEQ protocol implementation.
I think we want to be explicit as to what we mean by componentA_to_componentB when creating the LigandAtomMapping instances. Is the key the index in componentA and the value the index in componentB or is it the other way around?

@ijpulidos great thanks.  yes A_to_B is the key is an index of A that maps to an (value) index in B, I think this is identical to the naming in perses?


Tree's set_selected() does not check if TreeItem belongs to the Tree

Godot version
4.2 beta6
System information
Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; <IP_ADDRESS>3) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)
Issue description
Tree allows selecting TreeItem from another Tree, resulting in a crash:
CrashHandlerException: Program crashed
Engine version: Godot Engine v4.2.beta.custom_build (59457685c18e2d729eea50c751c11f049a7186f0)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[0] CowData<TreeItem::Cell>::_get_size (C:\godot_source\core\templates\cowdata.h:81)
[1] CowData<TreeItem::Cell>::size (C:\godot_source\core\templates\cowdata.h:134)
[2] VectorWriteProxy<TreeItem::Cell>::operator[] (C:\godot_source\core\templates\vector.h:52)
[3] Tree::select_single_item (C:\godot_source\scene\gui\tree.cpp:2574)
[4] Tree::set_selected (C:\godot_source\scene\gui\tree.cpp:4548)
[5] call_with_variant_args_helper<Tree,TreeItem *,int,0,1> (C:\godot_source\core\variant\binder_common.h:308)
[6] call_with_variant_args_dv<Tree,TreeItem *,int> (C:\godot_source\core\variant\binder_common.h:451)
[7] MethodBindT<Tree,TreeItem *,int>::call (C:\godot_source\core\object\method_bind.h:337)
[8] Object::callp (C:\godot_source\core\object\object.cpp:775)
[9] Variant::callp (C:\godot_source\core\variant\variant_call.cpp:1168)
[10] GDScriptFunction::call (C:\godot_source\modules\gdscript\gdscript_vm.cpp:1705)
[11] GDScriptInstance::callp (C:\godot_source\modules\gdscript\gdscript.cpp:1975)
[12] Node::_gdvirtual__ready_call<0> (C:\godot_source\scene\main\node.h:322)
[13] Node::_notification (C:\godot_source\scene\main\node.cpp:188)
[14] Node::_notificationv (C:\godot_source\scene\main\node.h:49)
[15] Object::notification (C:\godot_source\core\object\object.cpp:840)
[16] Node::_propagate_ready (C:\godot_source\scene\main\node.cpp:232)
[17] Node::_propagate_ready (C:\godot_source\scene\main\node.cpp:223)
[18] Node::_propagate_ready (C:\godot_source\scene\main\node.cpp:223)
[19] Node::_set_tree (C:\godot_source\scene\main\node.cpp:2941)
[20] SceneTree::initialize (C:\godot_source\scene\main\scene_tree.cpp:450)
[21] OS_Windows::run (C:\godot_source\platform\windows\os_windows.cpp:1472)
[22] widechar_main (C:\godot_source\platform\windows\godot_windows.cpp:182)
[23] _main (C:\godot_source\platform\windows\godot_windows.cpp:204)
[24] main (C:\godot_source\platform\windows\godot_windows.cpp:218)
[25] WinMain (C:\godot_source\platform\windows\godot_windows.cpp:232)
[26] __scrt_common_main_seh (D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
[27] <couldn't map PC to fn name>
-- END OF BACKTRACE --

Steps to reproduce

Make a scene with 2 Tree nodes
Run this code

func _ready() -> void:
	var item = $Tree.create_item()
	$Tree2.set_selected(item, 0)

Minimal reproduction project
N/A

The cause of crash is that get_root returns null, if the tree has some tree items, it won't crash but just sliently fail to set selected, nothing worse will happen. But it should check the tree item belongs to tree.


[CF-3061] - Allow Client Config details to be set as environment variables

This PR allows the client configuration details to be sourced entirely via environment variables
Testing evidence:
In main.tf:
provider "commonfate" {
  # authz_url          = "http://localhost:5050"
  # api_url            = "http://localhost:8080"
  # oidc_client_id     = "74h46g7q2d33d6l824dju9u7it"
  # oidc_client_secret = "XXXXXXXXXXXXXXXXXXXXXX"
  # oidc_issuer        = "https://cognito-idp.ap-southeast-2.amazonaws.com/ap-southeast-2_xiRwP4g66"

}

Running the following in terminal:
CF_AUTHZ_URL="http://localhost:5050" CF_API_URL="http://localhost:8080" CF_OIDC_CLIENT_ID="74h46g7q2d33d6l824dju9u7it" CF_OIDC_CLIENT_SECRET="XXXXXXXXXXXXXXXXXXXXXX" CF_OIDC_ISSUER="https://cognito-idp.ap-southeast-2.amazonaws.com/ap-southeast-2_xiRwP4g66" terraform plan

Terraform plan is able to resolve successfully.
Sanity check:
Running the following, which excludes CF_API_URL:
CF_AUTHZ_URL="http://localhost:5050" CF_OIDC_CLIENT_ID="74h46g7q2d33d6l824dju9u7it" CF_OIDC_CLIENT_SECRET="XXXXXXXXXXXXXXXXXXXXXX" CF_OIDC_ISSUER="https://cognito-idp.ap-southeast-2.amazonaws.com/ap-southeast-2_xiRwP4g66" terraform plan

gives:
Planning failed. Terraform encountered an error while generating this plan.

@ckluy31 Looks like @chrnorm might have already worked on this as well https://github.com/common-fate/terraform-provider-commonfate/pull/53
See in his PR it uses the SDK to read the env vars rather than using os.GetEnv.
Could you please use the method from his PR and do the same test process to verify that it works?


Disable processing video capture while LEDs are off

Feature request
Disable processing video capture while LEDs are off

What problem does this feature solve?
Unnecessary CPU and power usage while no LED is consuming the processed image.
What does the proposed API look like?
It wouldn't require API changes.
How should this be implemented in your opinion?
I'm not familiar with the hyperion codebase, but I think there would be modifications to the source selection logic to receive the on/off status of the LEDs and disable all sources if no LED controller reports being on.
Are you willing to work on this yourself?
Possibly if someone else gives me some information to get started.

Implemented in https://github.com/awawa-dev/HyperHDR/pull/608


Update LibreWolf.LibreWolf to v113.0-3

(This pull-request was auto-generated.)
Microsoft Reviewers: Open in CodeFlow

Has the release of updates for Librewolf from the Microsoft Store been automated yet?

No


Interested in Hugging Face transformers integration?

Hi @casper-hansen !
Amazing work on building this repository! We were interested in integrating AWQ into transformers to the official list of supported quantized methods together with bitsandbytes (LLM.int8 & QLoRA) and recently auto-gptq.
https://huggingface.co/blog/gptq-integration#native-support-of-gptq-models-in--transformers
Would you be happy to collaborate on this?
Thanks and looking forward to your reply!

Hi @younesbelkada,
Yes, I am interested in a Huggingface integration. It would be interesting to provide better access for everyone when it comes to the AWQ algorithm, which is why I created AutoAWQ.
My intention is to work on the initial roadmap that I set out in the README, firstly starting with getting GitHub workflows up and running to distribute the Python package so that you can easily pip install it.
Let me know what the next steps are!

Hi @casper-hansen
Thanks very much! This would definitely drive usage and make access easier to anyone that wants to use AWQ algorithm, the roadmap looks great, regarding concrete next steps about transformers integration I will add you shortly on Slack so that we can brainstorm all together 😄 Looking forward to collaborating very soon with you!


Update requirements.txt

Added requests to requirements, as it is needed by the internet plugin

Better remove the "Internet" and the "DNS" Plugins instead of adding requirements for defunct plugins :D


[Bug]: Windows compatibility using Bundler

Please confirm that you have:

[X] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
[X] Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?
Theme
Expected behavior
Expected to use Shopify theme CLI commands:
shopify theme pull -d --verbose
shopify theme dev -t mytheme --verbose
Actual behavior
CLI execution stalls. Using verbose mode, execution stalls on steps invoking bundle exec. It looks like these steps may not be correct 3.x syntax:
Command:
shopify theme pull -d --verbose
Result:
Execution stalls at
2023-01-26T23:32:58.863Z:
Running system process:
  · Command: bundle exec shopify theme pull c:/xampp/htdocs/mydir --development
  · Working directory: c:\xampp\htdocs\mydir

Comment: 3.x syntax does not appear to include the directory path, and there is variation in the slashes. Is this "bundle exec" line coded correctly for 3.x?
Command:
shopify theme dev -t mytheme --verbose
Result:
2023-01-26T23:36:28.378Z:
Running system process:
  · Command: bundle exec shopify theme serve . --theme mytheme --live-reload hot-reload
  · Working directory: c:\xampp\htdocs\mydir

Comment: "shopify theme serve" is not a 3.x command. Is this "bundle exec" line coded correctly for 3.x?
Other commands like "shopify theme init" and "shopify theme open" do work in my CLI, but these do not show Bundler usage in verbose mode, so I have been unable to determine if there is a general issue with Bundler or my overall setup, or if there is a coding issue with these commands that I have cited.
Stack trace
No response
Reproduction steps
I've followed the Windows install process at https://shopify.dev/themes/tools/cli/install. Steps to reproduce should be covered above.
Operating System
Windows 10
Shopify CLI version (check your project's package.json if you're not sure)
3.38.0
Shell
Node.js command prompt
Node version (run node -v if you're not sure)
18.12.1
What language and version are you using in your application?
Ruby 3.1.3p185, Bundler 2.4.5

Hi there, thanks for reporting! I'll page our friends at @Shopify/theme-developer-tools which might be able to help you.


Add DOCKER_BUILD_ARGS support for make build

We always need proxy for build, so we always use "docker build"
command instead of "make build", but now for some reasons, we need
macro defined in Makefile, so it would be helpful if we can use
"make build" without touching Dockerfile.
Signed-off-by: Qiang Huang<EMAIL_ADDRESS>

LGTM

LGTM


XAMARIN ANDRIORD BUILD ISSUES with Facebook.Android  11.2.0 Nuget

When we built the Andriod project after adding Facebook.Android 11.2.0 we are getting below.
error XA4215: The Java type kotlin.io.path.ExperimentalPathApi is generated by more than one managed type. Please change the [Register] attribute so that the same Java type is not emitted.
error XA4215:   kotlin.io.path.ExperimentalPathApi generated by: Kotlin.IO.Path.IExperimentalPathApi, Xamarin.Kotlin.StdLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null
error XA4215:   kotlin.io.path.ExperimentalPathApi generated by: Kotlin.IO.Path.IExperimentalPathApi, Xamarin.Kotlin.StdLib.Jdk7, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null
Do we have any other SDK or Solution for the above issues

We can use this library now on Facebook
Audience Network SDK for .NET for Android Anjo.Android.Facebook.AudienceNetwork (>= 6.16.0)
and for login Anjo.Android.Facebook (>= 16.2.0)


migration-engine: log all database queries

Currently, we rely on quaint for this, but it only logs the successful ones. It should also log the ones that might fail - and not just the failure itself.

This would unblock: https://github.com/prisma/prisma/issues/14069