Need to reset iOS simulator "Contents and Settings" to get it work

This is a weird issue confused me 2 afternoons due to no any error log whatsoever and luckily it works fine now after I reset "Contents and Settings" of iOS simulator, thought would be good to post here.
I followed the instructions to install package and set up my iOS env then launch iOS simulator "react-native run-ios", simulator just display blank app as below (most of time no green heading shows loading app but pure blank app) without any error in console and system log, you can't even use keyboard shortcut Cmd+R or Cmd+D on simulator.

If I stash all the setting for FBLogin everything works just fine. I tried to clear watchman and npm cache, none of that works. I removed all the settings and the package then did it again from scratch, my app did launch successfully at "first" time then back to blank app again forever.
I am not quite sure anyone ran into the same issue before but it is really confusing because no error and info to indicate what happens. These are my env info
react: 15.0.2
react-native: 0.26.1
react-native-facebook-login: 1.2.

Same problem here. @LBrian Have you managed to make it works?
react: 15.0.2
react-native: 0.26.2
react-native-facebook-login: master

@LBrian @TomOlivier do you still see that issue in your environments?


WIP global: admin UI first draft

Adds the remaining circulation settings to the admin UI.

@mvesper it looks fine. Can you squash the commits?

@jirikuncar I think we should merge https://github.com/inveniosoftware/invenio-circulation/pull/43 first, then this won't be an issue :)

@mvesper it was a bit unclear since both commit have the same name.


Question about short-time prediction

Dear author,
thanks for the clear documentation!
Very great work.
I am curious how the model performs on the short-term prediction. Did you do some experiments on short-term prediction as shown in SCINet?
As shown in Fig.4 (effect of the feedback window size), when the look-back window size is small the Linear model performs worse than some transformer models. Do you have any intuitive interpretation of this?
Best,

No, we don't formally conduct experiments on short-term forecasting. But I remember I have tried before, and the performance is not as good as SCINet. The main reason is that the number of parameters of the Linear layer is input length * predicted length. If the predicted length is 3 (short-term), the capacity of the Linear model is extremely small.

Another reason that linear can not perform well in short-term forecasting is that it doesn't explicitly consider the relation of different channels (for example, traffic data).

Thanks! This makes a lot of sense.


Traversing with Pagination

Is there a way of traversing with Pagination as explained here? I could not find anything in the docs or code
So far, the only way I could find to do it is to look at the link header in the response headers. But seems a very complicated way to do it, since all tags are shown as a single string:
Link | <https://api.github.com/organizations/9919/members?page=1&per_page=1>;  rel="prev",  <https://api.github.com/organizations/9919/members?page=3&per_page=1>;  rel="next",  <https://api.github.com/organizations/9919/members?page=214&per_page=1>;  rel="last",  <https://api.github.com/organizations/9919/members?page=1&per_page=1>;  rel="first"

Hey, here is how I did it: https://github.com/BenFradet/dashing/blob/e452e9c1d7032ec8199ed9de370680be945a16ee/server/src/main/scala/dashing/server/utils.scala#L112-L135

@BenFradet Your solution has two issues. First, by enumerating the pages beforehand, it may fail due to changes in number of pages. Open PRs filter might find itself fetching a page that does not exist, and there's always the risk of fetching too few pages.
The second is that github API documentation repeatedly emphasizes that one must not construct the URL, but use the one given. The inability to do that is a flaw on github4s API.

closing as dupe of #169


Input examples aren't recognized as input fields properly under vimium

Input elements in the http://www.polymer-project.org/components/paper-elements/demo.html#paper-input demo have issues if a Chrome extension (like Vimium) is listening to key events and doesn't appear to register properly as "input element" (thus not switching to "input" mode).
While this could be a Vimium bug (as Vimperator on firefox did not have the same issue), it's possible that similar problems could surface with various accessibility-related extensions/plugins, or any other extension that globally listens to key events (just in case, I'm going to report a bug with vimium as well).
Tested with:
Chrome/linux/x86_64 35.0.1916.153 (Official Build 274914)
Vimium 1.44
matching issue in vimium bugtracker: https://github.com/philc/vimium/issues/1083

Closing this issue due to age and the release of version 1 of Polymer - please feel free to re-open if this is incorrect.


Document which Buf and BufMut functions require std

Marks Buf and BufMut functions that depend on std as so.

This would require a nightly rustdoc. Would it make sense to switch CI to a nightly rustdoc job (like tokio does)?

Nightly rustdoc is fine. You should add the full command with --cfg docsrs in the readme too.

Switched the publish_docs to nightly and added a section in the readme.


MacOS: First time running app, getCurrentPosition() always get PermissionDeniedException even requestPermission() returns "always"

🐛 Bug Report

Expected behavior
After requestPermission() returns "always", getCurrentPosition() should not get PermissionDeniedException .
Reproduction steps
I copied below code from https://pub.dev/packages/geolocator and put in main.dart

Remove existing permissions (to mimic running it for the first time). Can be done by "System Preferences" > "Security & Privacy" > "Privacy" > "Location Services". Find your app, right click and "Show in Finder" and delete the app.
Run the app and call _determinePosition(). When pop up permission request, click "OK".
Geolocator.requestPermission() returns always.
Geolocator.getCurrentPosition() will give PermissionDeniedException.

Re-run (or hot restart) the app will not have any issues and can retrieve the location properly.
import 'package:geolocator/geolocator.dart';

/// Determine the current position of the device.
///
/// When the location services are not enabled or permissions
/// are denied the `Future` will return an error.
Future<Position> _determinePosition() async {
  bool serviceEnabled;
  LocationPermission permission;

  // Test if location services are enabled.
  serviceEnabled = await Geolocator.isLocationServiceEnabled();
  if (!serviceEnabled) {
    // Location services are not enabled don't continue
    // accessing the position and request users of the
    // App to enable the location services.
    return Future.error('Location services are disabled.');
  }

  permission = await Geolocator.checkPermission();
  if (permission == LocationPermission.denied) {
    permission = await Geolocator.requestPermission();
    if (permission == LocationPermission.denied) {
      // Permissions are denied, next time you could try
      // requesting permissions again (this is also where
      // Android's shouldShowRequestPermissionRationale
      // returned true. According to Android guidelines
      // your App should show an explanatory UI now.
      return Future.error('Location permissions are denied');
    }
  }

  if (permission == LocationPermission.deniedForever) {
    // Permissions are denied forever, handle appropriately.
    return Future.error(
      'Location permissions are permanently denied, we cannot request permissions.');
  }

  // When we reach here, permissions are granted and we can
  // continue accessing the position of the device.
  return await Geolocator.getCurrentPosition();
}

Configuration
Version:
geolocator 8.2.1
geolocator_apple 2.1.3
flutter 2.10.5
macOS 12.3.1
Platform:

[ ] :iphone: iOS
[ ] :robot: Android
[x] :iphone: MacOS

I ran into the same issue on macOS. I noticed that attempting to get the location again works. So after requesting permissions I retry getting the location until it succeeds. It's not ideal but it works:
Future<bool> requestPermission() async {
  final serviceEnabled = await Geolocator.isLocationServiceEnabled();
  if (!serviceEnabled) return false;

  final permission = await Geolocator.requestPermission();
  if (permission != LocationPermission.always && permission != LocationPermission.whileInUse) {
    return false;
  }

  int retryCount = 0;
  while (++retryCount <= 5) {
    try {
      await Geolocator.getLastKnownPosition();
      return true;
    } on PermissionDeniedException {
      await Future.delayed(250.milliseconds);
      continue;
    }
  }

  return false;
}

Dear @yangyuan,
I the issue still relevant?
Kind regards,

This is still relevant, and the workaround still seems to be the need to loop. What additional info is required?
      final enabled = await Geolocator.isLocationServiceEnabled();
      if (!enabled) {
        throw Exception('Location services are disabled');
      }

      var permission = await Geolocator.checkPermission();

      if (permission == LocationPermission.deniedForever) {
        throw Exception('Location permissions are denied forever');
      }

      if (permission == LocationPermission.denied) {
        permission = await Geolocator.requestPermission();

        widget.appState.services.logger.i('Got location permission: $permission');

        if (permission == LocationPermission.denied) {
          throw Exception('Location permissions are denied');
        }
      }

      final position = await Geolocator.getCurrentPosition();

getCurrentPosition fails with permission denied even if permission is always.

I am also getting this with the code in the pub.dev readme.
Using a stream doesn't trigger the exception but I can't get the stream to return more than 1 position.
I click ok when it requests permissions (even though in settings it shows it is already allowed permissions)
Future<void> requestPermissionAndListenForFixes() async {
    if (!await Geolocator.isLocationServiceEnabled()) {
      print("disabled");
      return Future.error('Location services are disabled.');
    }

    LocationPermission permission = await Geolocator.checkPermission();
    if (permission == LocationPermission.denied) {
      permission = await Geolocator.requestPermission();
      if (permission == LocationPermission.denied) {
      print("denied");
        return Future.error('Location permissions are denied');
      }
    }

    if (permission == LocationPermission.deniedForever) {
      print("denied forever");
      return Future.error(
        'Location permissions are permanently denied, we cannot request permissions.');
    }

      print("permission $permission");
      print("check permission ${await Geolocator.checkPermission()}");
      final Position position = await Geolocator.getCurrentPosition();
      print('${position.timestamp}, ${position.latitude.toString()}, ${position.longitude.toString()}');
  }

Error:
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: User denied permissions to access the device's location.
#0      GeolocatorApple.getCurrentPosition (package:geolocator_apple/src/geolocator_apple.dart:127:7)

The code above outputs. after clicking ok to the permission popup:
flutter: permission LocationPermission.always
flutter: check permission LocationPermission.denied


[website] Improvements to the /x product page

[x] I have followed (at least) the PR section of the contributing guide.

Iterating to make it better after some customer feedbacks we had:

[x] "Component library" → React component library.
[x] "Date Picker" → Date Range Picker.
[x] Review customer logo used in the X page alignment.
[x] Drop Unity for another brand.
[x] Adding the clock icon (same used in the pricing page) on the Sparkline and Charts switcher buttons to add clarity that they aren't yet available.
[x] Change the Much more link of the Data Grid section from the GitHub project  to the features page.
[x] "Working in progress" → "Work in progress"
[x] "Sometime soon…" → "Starting some time soon…"
[x] Add a new section clarifying MUI X and MUI X Pro.
[x] Link the Pricing page.
[x] Fix the logo alignment.

Deploy preview →

Should "Much more" under data grid link to features instead of the roadmap? It's much easier to digest.

I was thinking of this page in terms of MUI X Pro.
We don't mention MUI X Pro, or link to the pricing page.

Thinking about this. Should we add a section explaining/clarifying MUI X and MUI X Pro? And then use this section to link to the pricing page?!

Thinking about this. Should we add a section explaining/clarifying MUI X and MUI X Pro? And then use this section to link to the pricing page?!

A first iteration of this:

Thought about adding just above the Roadmap section. Still not sure about the screenshot of the pricing table, though. Didn't want to leave it without anything but couldn't think of something better now. What do you think?

This seems to have stalled. What's the latest?

This seems to have stalled. What's the latest?

Haven't worked on it in the last week. But not sure if you've seen it, here's the first iteration on the section trying to clarify MUI X and MUI X Pro. I'll try to have more iterations this week but happy to have your thoughts on this one already.

not sure if you've seen it

Sorry, I missed it. We can fix up the wording once it's in the PR. I don't have any better ideas for the image sorry.

Regarding the logos, using Southwest as the benchmark, and based what has worked well in the past:

Boeing's text is about half the hight of the other logos.
As suspected, Apple is a bit low. In one instance the center on the body of the apple. That might work.
Seimens sits a pixel or so low (probably not noticable at normal resolutions), and is ~15% shorter than SW.
Volvo is correct, but the heavy font weight makes it more prominent. I think it will be less pronounced when Siemens is the correct height.
Deloitte is correct.

@mbrookes updated, please review again.

I'll do it myself

This is the closest I could get. Unfortunately since the logos have been sliced "old school" style, and have whitespace built into the image, it wasn't possible to resize them in CSS without affecting their vertical position relative to the hero. It also wasn't possible to make Boeing any taller, having reached the max width. Swapping Boeing and Volvo to the ends helps masks that, but perhaps throws the balance off slightly.

Here it is without the position swap for easier comparison:

I've pushed my changes, even though they feel a bit hacky due to the constraints previously mentioned. Feel free to iterate in it.

Is everyone okay with merging this one?

Is everyone okay with merging this one?

I'm good. Can you check the logo alignment in the checklist again?

@mbrookes Are we good for merge?

@eps1lon Can you suggest me how to trigger "ci/circleci: test_bundle_size_monitor"? It appears to occur in several PRs.

Branch needs to be updatet. Every pr without this check is outdated


Get request to Foreign tables returns errors if there is no conditions!

Created Foreign tables in postgreSql for the cassandra db,I am getting error like bellow if there is no conditions in the queries
Ex:
http://<IP_ADDRESS>:3005/statistics_real_time
{
"hint": null,
"details": "<ErrorMessage code=2000 [Syntax error in CQL query] message="line 1:8 no viable alternative at input 'FROM' (SELECT  [FROM]...)">",
"code": "XX000",
"message": "Error in python: SyntaxException"
}
But for the request bellow giving proper result
http://<IP_ADDRESS>:3005/statistics_real_time?uid=eq.1
[
{
"uid": "c2aad687-e412-43f5-aac1-84c5aae394a3",
"stat_type": "",
"stat_name": ""
}
]

This is actually pretty exciting, connecting to Cassandra is half working!
Let's figure out why it breaks with no filtering. Can you provide logs of the SQL that this request is sending to the database? To obtain logs first enable logging all statements, then find your logs.

@darsana any progress with this? I'd love to see some logs and learn how to make the foreign table work.

Hi... @begriffs
We successfully used the FDW tables in PostgreSQL , sample is bellow
CREATE SERVER multi_srv FOREIGN DATA WRAPPER multicorn
options (
wrapper 'pgCassandra.CassandraFDW',
port '9160',
hosts 'IP'
);
CREATE FOREIGN TABLE "1".nps_summary (
project_party_id text,
release_stage_name text,
created_at text,
score text,
score_count text
)
SERVER watchtower_srv options (
columnfamily 'nps_summary',
keyspace 'multi_srv'
);
U can find the details from the bellow link.
http://www.craigkerstiens.com/2013/08/05/a-look-at-FDWs/
error log for the query  http://<IP_ADDRESS>:3000/release_stages is
SyntaxException: <ErrorMessage code=2000 [Syntax error in CQL query] message="line 1:8 no viable alternative at input 'FROM' (SELECT  [FROM]...)">
2016-04-05 11:25:08 IST [4881-3] postgres@watchtowerpostgre STATEMENT:  select  (select pg_catalog.count(1) from "1".release_stages) , pg_catalog.count(t), array_to_json(array_agg(row_to_json(t)))::character varying from (select * from "1".release_stages LIMIT ALL OFFSET 0 ) t

I don't think this is a bug with PostgREST. The FDW used probably does not allow a SELECT * FROM statistics_real_time type of query. Nothing PostgREST can do about that.
If you can actually run that query on the foreign table, please reopen


Dev2

Why are these changes needed?
Several more doc changes

Please also fix the Two important development tools will also be installed using the steps below: -[pre-commit](https://pre-commit.com/) -[twine](https://twine.readthedocs.io/en/stable/) - it is not shown well. Thanks

Please also fix the Two important development tools will also be installed using the steps below: -[pre-commit](https://pre-commit.com/) -[twine](https://twine.readthedocs.io/en/stable/) - it is not shown well. Thanks

fixed, thanks


Swagger2+@EnableOAuth2Sso+@EnableResourceServer on the same server

i am using sso to login swagger-ui.html from an auth server, and when i access resource api after login swagger-ui.html, it told me unauthorized.  as i known  swagger api request didn't pass "Authorization Bear Token" Header to backend, then it was filtered by OAuth2AuthenticationProcessingFilter.  that's the issue.
i want to add such header to the HttpServletRequest as  i can get token from OAuth2ClientContext because of sso.  but failed.
is there any way to make swagger security by login sso  and make request without input token manually?

resolved, thanks


Remove V2020-02-02-Preview ShortTermRetentionPolicy in new SDK.

Remove V2020-02-02-Preview ShortTermRetentionPolicy since there is a bug in the service and it is not ready to publish new feature to customer yet. We need this new version SDK merged asap to avoid customer calling service through .net sdk.

looks good to me

looks good to me too


More useful hints for converting relative lengths to absolute units

Description
I have let sum = a + 0.25em.mm() + b and I get:
1. cannot convert a length with non-zero em units (`0.25em`) to mm

   Hint: use `length.abs.mm()` instead to ignore its em component

But what I actually had to do is let sum = a + 0.25em.to-absolute().mm() + b. So it should add 2nd hint to the top mentioning .to-absolute() or replace the current hint altogether.
Use Case
The more useful the hints are, the easier it is to prototype or just write anything in general. Can save a lot of time.

 Does "what we have to do" rely on "what they exactly are"?

Well, the way I see it, the current hint is useless and doesn't make any sense. So I think there should be no if statement, just a replaced hint.

It makes sense - the user may think that (5pt + 3em).pt() returns 5, which isn't the case (for the same reason as .mm()).
The existing hint should likely be kept (perhaps as a second hint), but yours should definitely be included.

Ohhh, like extracting a component. Although for that reason just don't add up different units. It still doesn't make sense if you add up absolute units: (1mm + 1pt).pt() — IIUC, this wouldn't return 1 pt.
Ok, then there is some logic to it. But still, it probably should be moved to the second place. Even though it doesn't really matter. The hints are opposites: If you want to include em, use this, If you want to ignore em, use that.

Is that acceptable?
Hint: use `length.to-absolute()` instead to resolve the em component.

Hint: use length.to-absolute() instead to resolve the em component.

Hint: use `length.to-absolute().mm()` instead to resolve the em component.

Hint: use length.to-absolute() instead to resolve the em component.

Hint: use `length.to-absolute().mm()` instead to resolve the em component.

Even better:
= hint: use `length.to-absolute().mm()` within `context` instead to resolve the em units

The second hint could perhaps be rephrased as such:
= hint: use `length.to-absolute().mm()` within `context` instead to resolve the em units
= hint: alternatively, use `length.abs.mm()` instead to fully ignore its em component


[ACS][CallAutomation] Update common version and TeamsAppIdentifier

Adding Teams App Identifier to JS library

API change check
APIView has identified API level changes in this PR and created following API reviews.
@azure/communication-call-automation


Long titles in table of contents misbehave: float for pdf icon

But we'll redo the layout in any case using jquery-bonsai.

This is fixed now.


How do we provide credentials to Invoke-CloudDeployment.ps1 -Rerun ?

.\Invoke-CloudDeployment.ps1 -Rerun
How do we provide credentials? Script fails on error otherwise.

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

ID: b46a5f4c-309d-ce63-2b75-521e45f07b1a
Version Independent ID: 266b7c05-ea64-5e95-4574-7cb023ef59c9
Content: Troubleshoot Azure Stack HCI deployment (preview) - Azure Stack HCI
Content Source: azure-stack/hci/deploy/deployment-tool-troubleshoot.md
Service: azure-stack
Sub-service: azure-stack-hci
GitHub Login: @dansisson
Microsoft Alias: v-dansisson

@evan-morris
Thanks for your feedback! We will investigate and update as appropriate.

please reassign this to alkohli, who has a handle on the script's author in dev.

Hello @evan-morris, This cmdlet should not require any credentials as you already provide these credentials when the deployment was started. Please let us know if any further clarification is needed.
#please-close

What is not clear is that you have to use the "deployment account" that was created by the New-HciAdObjectsPreCreation script.


Seekbar behaves weird when arrow key is pressed for long .

Have you read the FAQ and checked for duplicate open issues?
Yes
Is your feature request related to a problem? Please describe.

No
Describe the solution you'd like

When you select seek bar by navigating through the 'tab' button and keep the arrow key(left or right) pressed it behaves
weird. It does what it is intended to do move 5s forward or backward when the key is released but while the key is kept pressed it works weird. If seek bar is not an active element it works fine.
this behavior only happens when the seek bar is an active element.
The below video shows the bug.
https://user-images.githubusercontent.com/71056993/111308805-606c9d00-8618-11eb-9488-0b00a0234905.mp4
Describe alternatives you've considered

I think this happens because when activeElement.classList.contains('shaka-seek-bar') is true the browser tries controlling the
seek bar as per user that is decrease or increase the current time which collides with this.timeAndSeekRangeTimer_.tickEvery(/* seconds= */ 0.125);  causing the bug. It's not that big of a deal but it is still a bug. I would like to add a feature to tackle this bug. when the arrow key(left or right) is pressed down and not released for more than 1.5sec then the seek bar keeps reducing its current time by 5sec. Some users prefer using this method to browse the video.
Additional context

@joeyparrish @TheModMaker
That feature can be added by adding this logic to onKeyDown_() :  .writing an if condition to check for key up for 1.5sec.  .if false add tickevery()tothis.seek_` with switch cases
.and stop when keyup is triggered .
As per my knowledge, this won't create any kind of conflicts and would fix the bug.
I would like to work on a PR for this, but wanted to confirm if i could proceed with this approach.
Thank you.

Thanks for the report!  I'm going to fix this in a different way than you suggested in your PR, though.

@joeyparrish I taught it was better to add code in the existing function rather than creating a new event and adding a separate function. I did listen to key events on windows but added an if condition which would run the code below only if the video container is in focus. After watching your solution my code does seem very complicated and I also kind of feared breaking the code if I change the names of functions 😅 because I haven't fully completed reading this project. I think there was a reason for listening to key-up events because this.pressedKeys_.delete(event.key); should only run when the key is released. this definitely should create some kind of bug. I'll check for bugs if any, caused by that change.

@joeyparrish I guessed it right, removing onKeyUp() does cause few bugs. everything works fine when only the 'tab' key is pressed but when you use 'shift+tab' everything after that doesn't work properly. I am unable to select elements in the overflow menu other than the first and last child. and when I press enter on the first child, instead of opening the setting menu it shifts the focus to the last child element, and also the focus doesn't stay in the overflow menu. the below video shows the bug.
https://user-images.githubusercontent.com/71056993/111869161-2d3d4d00-893b-11eb-84db-7417cf8f27ba.mp4

This happens because this.pressedKeys_.delete(event.key); is inside onControlsKeyUp() . when tab key is pressed , key event gets added to pressedKeys_ array from onWindowsKeyDown() and if that key event is already present in pressedKeys_ it gets deleted from that array due to  onControlsKeyUp() . now when shift is pressed it gets added to  pressedKeys_  due to onWindowsKeyDown() and then tab is pressed so even tab key event gets added to pressedKeys_  due to onWindowsKeyDown() . Now the pressedKeys_  has two elements 'tab' and 'shift'. when I release the shift key, it doesn't get deleted from the pressedKeys_ array. when I press the shift key again it gets added to the array again due to onWindowsKeyDown() and the previously existing shift gets deleted. but there is still a shift key inside an array, so once the shift key is pressed it never gets deleted from the array. so, even if I press 'tab' or 'enter' it doesn't matter because due to keepFocusInMenu_() if the shift is found and the first element is active it goes to last-child thus no other elements get selected. The focus doesn't stay in the overflow menu because when the last child element is in focus, the pressedKeys_ array has 'shift' so the else condition which should change the focus to a first child fails, and focus exits the overflow menu.
I should work on giving small explanations 😂
I think probably for tackling the addition and deletion of key events onKeyUp() function was created and then it suited for adding seek functionality too.  😊
It could be fixed by adding a key-up event. I'll add a PR for a possible solution.

@joeyparrish sorry its onControlsKeyDown() not onControlsKeyUp()

@joeyparrish I taught it was better to add code in the existing function rather than creating a new event and adding a separate function.

Well, I find that "better" usually depends on context.  It can be tough to judge when you're new to a project.

Thank you for the fix in PR #3259.  Thankfully, the bug I introduced in my earlier fix is not in any release versions yet.  You fixed it just in time!

Well, I find that "better" usually depends on context. It can be tough to judge when you're new to a project.

True.

Thank you for the fix in PR #3259. Thankfully, the bug I introduced in my earlier fix is not in any release versions yet. You fixed it just in time!

when will this version be released, can I get a date. This feature still has some bugs, I am working on an explanation for it and also a possible solution. I am a bit confused about how to explain it, cause I don't understand the bug properly yet.

There are two bugs with the seek bar when the arrow key is used for navigation.

when an arrow key is used for navigating the video. the seek bar stops updating, I don't know how I missed this before
when the video is navigated through arrow keys and the value of the current time exceeds the max time of the video, the video stops loading, the video keeps buffering for an infinite time after clicking on the reset button or changing the time in seek bar.

The video below shows the problem
https://user-images.githubusercontent.com/71056993/111944843-c6807680-8a95-11eb-8a45-d6db1019b4d3.mp4
Hopefully, I'll have a PR Before you watch this.
 ;)

In changeto()  function in range_element.js file this.isChanging_ was set to true but never set to false which caused  updateTimeAndseekRange() in controls.js to fail. this fixes the first bug .
I am still working on the second bug. This bug I think is not caused by your changes, but the previous versions handled it by moving the video 1s backwards when the end key is pressed or when the video is navigated beyond the end by arrow keys. It still wasn't perfect I was able to reproduce the bug in the previous versions too but not as easily as the present one. I think the bug is caused when the value of the video is set to max. because the value of max is not accurate, the value that is beyond the video time limit gets assigned and the video keeps getting data for that time. I haven't worked on it, it's just an assumption seeing the bug.
i have to dig more into the problem. Do you know any possible cause?
Thank you .

@joeyparrish the second bug was caused because the video.currenttime was set to this.bar.max. I don't know why but the video doesn't get loaded at its max time and after starting to buffer at its max time it never stops buffering. I don't know why it doesn't buffer at its max time but instead of setting  video.currenttime to the max value, we could set it to (max-0.125) this wouldn't make any difference because the time difference is very small but it does prevent that bug and video being stuck at buffer state. I'll add the changes to the previous pull. Nothing much changed. Could you please review it?
Thank you.

Hello @surajkumar-sk ,
Please understand that we have our limited capacity now and would not be able to provide close guidance until the GSoC officially starts in the summer. You are welcome to send us a PR once you have a complete, fully-tested, ready-for-review solution as a general contributor, and we'll review it as a general contribution when we are available.
Please be kind and only @us for urgent issues on Github regarding your questions or PRs, since that might spam the other developers, or the team members who are not GSoC mentors. Thank you for your understanding!
We'll have more updates coming soon to our Google Group and website.

@michellezhuogg this just fixes some issues created by previous change. The present shaka-player has major bugs which are very easy to produce and can be solved by very small changes. So i added them .


LittleBigPlanet™ PlayStation®Vita [PCSF00021]

Game summary

Game name: LittleBigPlanet PlayStation Vita
Game serial: PCSF00021
Game version: 01.00

Vita3K summary

Version: v0.1
Build number: 1026
Commit hash: https://github.com/vita3k/vita3k/commit/ece68df

Test environment summary

Tested by: IllusionMan1212
OS: Windows 10 Pro
CPU: AMD Ryzen 5 1600
GPU: NVIDIA GTX 1050Ti
RAM: 8 GB

Issues
Unicorn crash and a bunch of missing NIDs
Screenshots
None at the moment
Log
vita3k.log

Little big planet is in GL mode, the mapping is wrong, and if it is in VK mode, the picture will be completely white (Github is used for the first time, I don't know whether to leave a message here)

just tested it and audio works (though is very choppy) though the graphics is a white screen

App summary
App name: LittleBigPlanet™ PlayStation®Vita
App serial: PCSF00021
App version: 1.22
Vita3K summary
Version: v0.1.8
Build number: 3335-7540bf75
CPU backend: Dynarmic
GPU backend:Vulkan
Test environment summary
Tested by: Vergi314
OS: Windows 10
CPU: AMD
GPU:NVIDIA
RAM: 4 GB
Issues
It keeps crashing whenever attempting to play the cutscene level "The Plot Thickens!" from Jackpot City, it just freezes and crashes mid-loading when entering. The log says this error message:[12:59:47.973] |C| [logging::init::<lambda_2>::operator ()]: Unhandled C++ exception. vk::Device::allocateDescriptorSets: ErrorOutOfPoolMemory. Could it be a potential memory leak? Anyway, i am unable to progress through story mode now because of this.
Screenshots
Log
[12:59:47.973] |C| [logging::init::<lambda_2>::operator ()]: Unhandled C++ exception. vk::Device::allocateDescriptorSets: ErrorOutOfPoolMemory


JSON.stringify() and toString()

When using toString() on a host object, I am getting the value "[object [object Object]]" instead of [object Button]. (where Button is my host object). How to achieve this?

When calling JSON.stringify(obj), I am getting the value as "{}" without any of the values of the properties that have been defined on this host object. Only the properties that have been set with values on the object are showing. Properties which have been set using "defineProperty" are not showing up. How can we get all the values of the defined properties in the JSON string.

Per JavaScript language spec, you'll get "[object Object]" instead of "[object Button]" by default, assuming host is an object. If you want to get [object Button], the easiest way I could imagine is to overwrite the toString method in prototype. I'm very curious how you got  "[object [object Object]]" as output and there might be a bug in our codebase. Would you mind sharing how you created/set up the host object?

JSON.stringify ignores un-enumerable properties and properties whose value is undefined. If you defineProperty without specifying the descriptor, the default is that the property is un-enumerable and the property also does not have a value. Therefore the property would not show up in the output of stringify. One more thing to know is that stringify also ignores functions. To get properties to show up, you may want to use setProperty and actually give the properties some value.

I have tried to recreate the scenario using the sample application available at https://github.com/Microsoft/Chakra-Samples/tree/master/JavaScript Runtime Samples/JSRT Universal Windows Apps Hosting Samples/C%23

I have uploaded the same @ https://onedrive.live.com/redir?resid=9C4512A9CBBBEB98!108&authkey=!ANEQxP_vJjw2gSg&ithint=file%2Czip
Execute the below code and observe the output.
var btn = Button();
btn.toString();

I have defined the properties by specifying enumerable as true but have not specified any value. I was expecting the value to be obtained by invoking the getter callback which is defined in the descriptor. So are we saying that the value will not be enumerated unless we provide a value to the "value" key in the descriptor?

Thanks for taking the time to repro the output! It does seem that we had a bug in Windows 10 RTM build. We've already fixed it and I double-checked if you are on the latest [Windows 10 Insider Preview] (https://insider.windows.com/) build, it would output [object Object].

Your expectation was correct. If you have set enumerable to true and the getter callback in the descriptor, and the getter is not returning anything stringify would ignore (e.g. undefined, function), then it should show up in the stringify output. That case you don't have to specify the value in descriptor.

Could you share the object that you're trying to stringify? It would be easier for me to tell what's going on :smiley:.
Feel free to share here or send it to me (limzh@microsoft.com).

Thanks for the update :smiley:.

After some analysis, I found that JSON.stringify is populating all enumerable properties and those that have defined a getter callback defined. However, it is not enumerating the properties that have been defined in its prototype object. I have uploaded the sample @ .
https://onedrive.live.com/redir?resid=9C4512A9CBBBEB98!109&authkey=!APdFm2o6Pn2Fc0M&ithint=file%2Czip

Execute the below code and observe the output.
var btn = new Button();
JSON.stringify(btn);
We have one property (named "ownProperty")defined on the Button object and one property (named "propertyinPrototype" on its prototype. It is not enumerating the property that is defined on the prototype object.
Please let me know if more information is needed.

Thanks for sharing :D. JSON.stringify actually only stringifies own properties so the prototype properties won't show up. You can look it up in ES6 spec or I think this stack overflow post did a pretty good job explaining the gist of it.

Thanks for the clarification. I could have defined all the properties on the object itself instead of its prototype, in which case stringify would have enumerated all the properties. I thought doing so might impact the performance and hence used the prototype which once created could be used for all instances of that particular object.

Is there a way that I can override JSON.stringify? Since I have defined all the properties in the prototype, if it is possible to override, I could call the method on the object's prototype and get the expected result.
There is significant performance improvement by creating the prototype once and then reusing it for all objects of that particular type. So I can not every time define the properties on all the objects.
Do you see any thing else breaking apart from "JSON.stringify" with the approach that I am using?

You sure can override just by writing a new function and assigning it to JSON.stringify. It depends but it might be better to just use the new function instead of overriding built-ins for that purpose.
There are side effects of your current approach, for instance, the data originally in prototype would go from static to per-instance once you stringify and parse, which you may be fine with. It's really hard for me to tell what is right without knowing exactly what you are trying to do. There are alternatives, for example you can think from the angle of how to parse and reconstruct the object instead of how to stringify it. You can have a Button constructor that re-constructs an object from a string and you don't have to worry about the stuff in prototype. This won't work well if you are dealing with lots of different classes. It's just food for thought and might not work well in your case.

I have been able to override the method in a js file. Just so that I do not have implement all the functionality, I have created a cloned object and set properties on it using the properties of original object's prototype. It goes some thing like this:
var nativeImplementation = JSON.stringify;
JSON.stringify = function (obj) {
//create a clone object and call the native method
var cloneObj =  JSON.parse(nativeImplementation(obj));
updateClone(obj, cloneObj);
return nativeImplementation(cloneObj);
}
function updateClone(obj, cloneObj) {
//copy the properties from the obj's prototype to the clone obj
for (var key in obj) {
cloneObj[key] = obj[key];//obj's own properties are already on cloneObj, but nevertheless.
}
}
Thank you for the valuable input. I believe that if there was a concept of a class in Chakra, which could be created once (by defining properties/methods on it) and all objects of that class type could be created using this class, it would definitely help with the performance. Please consider it. I would be more than happy to provide more information in this regard.
You may close this issue with closing comments if any.
Thanks,
Srinivas.

Thanks for the input Srinivas! I'm glad you find a way to work things out.
Just to clarify, are you talking about creating class natively or in JS?

I am taking about creating it natively. I am not taking about ES6 Classes in javascript.
We have this api JsCreateObject which would create an object. I was talking about being able to create this object using a class (which has already the properties/methods defined).

That's what I thought :D. Note taken.


Expose MeshConfig parameters to be overriden via Add-on profile

Please describe the Improvement and/or Feature Request

Currently OSM Add-on does not provide a mechanism to override any meshConfigs at the time off install. I am aware that it is possible to patch the meshConfig once OSM is deployed onto the cluster, however, this does not seem like a very straightforward solution and requires custom logic on our end. The ask is to expose config via add-on profile in order to override certain MeshConfig parameters.
Scope (please mark with X where applicable)

New Functionality          [ x]
Install                    [x ]
SMI Traffic Access Policy  [ ]
SMI Traffic Specs Policy   [ ]
SMI Traffic Split Policy   [ ]
Permissive Traffic Policy  [ ]
Ingress                    [ ]
Egress                     [ ]
Envoy Control Plane        [ ]
CLI Tool                   [ ]
Metrics                    [ ]
Certificate Management     [ ]
Sidecar Injection          [ ]
Logging                    [ ]
Debugging                  [ ]
Tests                      [ ]
CI System                  [ ]
Demo                       [ ]
Project Release            [ ]

Possible use cases

@shahriak The OSM AKS addon is not managed as a part of this open source project. Kindly follow up with the AKS team managing the OSM addon for enhancements required in the addon.


Table support in Obsidian 1.5.4

In Obsidian 1.5.4 (not yet released), they fixed the behavior of tables when in RTL mode. Naturally, the native behavior only works for the native RTL support which means the entire editor is RTL, and obsidian-rtl should expand upon that.
It seems like per-cell text direction is not going to work very well as it leads to erratic cursor movements and may be unnatural for users. So at the very least, I think that setting the direction of the whole table in 'auto' mode according to the direction of the first table cell, will produce a good result.
I'm almost able to achieve this behavior using pure CSS:
.cm-table-widget:has(thead tr:first-of-type th:first-of-type .table-cell-wrapper.esm-rtl) {
	direction: rtl;
}

(Reading View will need a separate rule but that seems easy)
There's just one problem though: it seems like the editor extension (AutoDirPlugin) doesn't correctly update the esm-rtl and esm-ltr classes on the fly.
From initial debugging, seems like when editing a table cell, an "internal" editor is created for that cell, and that editor launches updateEx calls for that cell. However, seems like it doesn't properly update the document "above" when the cell finishes editing.
When opening a note for the first time it works great, so seems like the problem boils down to understanding the editor update and correctly locating it, and not with the low-level logic.
@zoli, any chance you may be able to give this a look? Even if you don't have Obsidian 1.5.4 yet and can't test the full RTL support, just finding the way to correctly update the classes upon table changes in any Obsidian 1.5.x would be a huge help :pray:

Sure, I will look into this soon.

OK, Finally I had time to look into this. You are right adding the style you mentioned will fix the view except for the moving between cells and some update problems. Update problems seem resolvable, but I don't know if Obsidian has given access to changing cell movement behavior for plugins.

Actually there seems to be some bizarre behavior around the cursor movement (even when not mixed LTR-RTL) because of how the parent element has direction: rtl and the table wrapper having direction: ltr. I'll see if I can improve upon that.

There is another option to use other CSS rules to force table render on right side (like float: right) But using other rules can cause other proplems.

Obsidian looks to table direction on executing movement commands, If they just also consider the table cell or first parent of the cell that has direction would solve everything.


Add ‘Reverse’ button in unit converters

Problem Statement:
We find the unit converters very useful in our daily lives when we have to convert a measurement from one reference unit to another. But sometimes we find it a little limited when we want to study the relationship between two different systems of units. I live in India. We normally use the MKS (metre, kilogram and second) system of units. So I am a little unfamiliar with system followed in the US which consists of yards, miles, gallons etc. When I use the unit converter to know how much a yard measures (in terms of metres), it says:
1 yard = 0.9144 metres
Now I wonder how much a metre measures in terms of yards. For this, I have to manually change the reference unit to yards and the required unit to metres in order to have it display:
1 metres = 1.093613 yards
I think that there should be a ‘Reverse’ button which would allow us to quickly switch between the reference unit and the required unit.
Evidence or User Insights:
This button has already been implemented by many of the calculators and allows quick inter-conversions between the units (one has been shown below). This allows us to have us a quick idea of a new unit by representing a measurement in a given unit in terms of another unit.

The above figure shows the ‘Reverse’ button feature in the unit converter of a very old Samsung GT-E1282T phone.
Proposal:
I want a ‘Reverse’ button to be implemented in the Windows Calculator which allows quick switching between the reference unit and the required unit.
If the unit converter shows the conversion:
1 inch = 2.54 cm
On pressing the ‘Reverse’ button, it should display:
1 cm = 0.393701 inches
Similarly for 81 cm = 31.88976, it should display 81 inches = 205.74 cm
Goals:
•	Implementation of ‘Reverse’ button to switch between units of conversion
Low Fidelity Concept:

On pressing the ‘Reverse’ button, it should display:

Requested Assignment:
I am just suggesting this feature. I don’t want to implement it.

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.

@Rahul-Dixit Thank you for your submission! We understand that some of the UI is a bit confusing in unit converters today, and while you provide a great suggestion on how to improve the current experience, we would like to refresh the entire experience. Some of these details are captured in #594.

@grochoki No problem. Thank you for devoting your precious time for this issue.

@grochocki I would be grateful to you if tell me about the shortcomings of this idea, so that I can come up with better ideas next time.

@Rahul-Dixit There is nothing wrong with the idea you proposed! We thought it was a good amount of detail for a feature pitch. In this particular case, though, we want to overhaul the entire unit converter interface (which probably includes adding a reverse button, just like you proposed). Instead of tracking smaller improvements to the old interface, we would prefer to track that larger overhaul as part of that other approved issue. That is the only reason we declined this pitch.


Cannot set seconds or others of timedelta

Code is as following:
time_step_size = timedelta(seconds=time_step_size_in)

and error is:
Error: Component 'seconds' at (1) is a PRIVATE component of 'timedelta'

The Fortran compiler that I am using is gfortran 7.2.0.

I can't reproduce this... Also, you need to post more of your code.
cat foo.f90
program foo
  use mod_timedelta
  implicit none
  integer, parameter :: time_step_size_in = 5
  type(timedelta) :: time_step_size

  time_step_size = timedelta(seconds=time_step_size_in)

end program

$ gfortran --version
GNU Fortran (Homebrew GCC 7.2.0) 7.2.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ gfortran -Wall -Wextra -pedantic -c timedelta.f90
$ gfortran -Wall -Wextra -pedantic foo.f90 timedelta.o
$ ./a.out

@dongli Thank you for reporting this.
Can you show a minimal complete example of how you are using timedelta?
Specifically, what is the type of time_step_size_in? My guess is that it is a real number. timedelta_constructor function which overloads the default timedelta constructor, is designed for integer arguments only. If you try to pass a real, compiler will not resolve this interface.
An example below with integer arguments works as expected:
use datetime_module,only:timedelta
implicit none
type(timedelta) :: td

td = timedelta(seconds=60)
write(*,*)td % total_seconds()

end

In the above example, if you change 60 to 60., you can reproduce your original error message.
Note that you can specify a fraction of seconds like this:
td = timedelta(seconds=60, milliseconds=123)

but the precision is still limited to milliseconds.

No response from OP, assume resolved.


use ISCSI config in rescan for cleanup

This change is

Coverage remained the same at 52.354% when pulling 8b213cd2333f2438f80da6943e70450c9b33a60d on fc_liort into d4feb098fc92c71ab1c9b0afb8963d4beeba7993 on dev.


howifx.com Bypss broken

Domain
https://howifx.com/
Link
https://howifx.com/how-do-i-fix-an-unresponsive-iphone-12-screen/#getlink
Version
Version 0.2039
What browsers are you seeing the problem on?
Firefox
What OS are you seeing the problem on?
Windows
Anything else?

We do not currently bypass this site based on this list, please read https://github.com/FastForwardTeam/FastForward/issues/656 for more details.
Once we have finished with the project, you are free to reopen the issue.


Android Support

Android currently does not support Java 8 (only some features). While it is possible to compile to Nougat, most smartphones won't have Nougat for some years to come. Being able to Dex MapDb would be tremendously useful for libraries running both on Java SE and Android. I tried compiling against 1.6 and it does not seem to be that far from possible. Please consider moving to JDK 1.6 to support android.

I will address Android support in 3.1. There should be instructions howto integrate mapdb.


Stop pre-computing log2 values in allocator.go

Pre-computing the log2 values of integers until 1024 in a global slice in an init function takes around 1ms on AWS Lambda environment, and causes around 10kB of allocations.
Removing the global slice and pre-computing entirely, as well as the custom computing of log2 in favor of using the std lib bits.Len function, removes this unneeded overhead, and is actually faster.
Benchmark
I ran a quick benchmark on both versions on my laptop, they had similar performance for numbers below 1024 (around 2ns / op), and using random integers the previous version took an average 23ns / op while the new version was still 2ns / op.

This change is

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

@manishrjain @jarifibrahim any chance to get a review ?


package housekeeping

gitignore lets git ignore the black hole that is node_modules
updates version from 1.0.0 to 0.0.1.

(x.y.z - x is major, y is minor and z is patch)
generally semver asks that things "in development" have major version = 0.
A lot of my work stays at 0.0.1 forever, but like... yeah.
Technically you're supposed to increment depending on the scope of changes, but don't worry too much about that. It only matters if people start using the package.

updates author person to not be so unwieldy. You can add an "email" field if you want, but optional.
Recommendations:

At some point, change the name from Draft-Twitch-Bot to something more descriptive. No capitals in the name.  Mayhaps something like "@para/anon-dropin-bot".
Use a .env file and read from that for your secrets. Add it to the .gitignore if so done. This is a bit more fail-proof if you mess up your git/commits.

generally semver asks

it was not stated we are following semver. but i understand where you are coming from, so no objections there

At some point, change the name

personally gave this project codename "Headband", i have no idea where that came from, and i guess that will be my suggestion (kinda?)

Use a .env file

bump, a very needed feature for future testing


openssl/opensslv.h' file not found

Description
Pods/Headers/Private/Flipper-Folly/folly/portability/OpenSSL.h:26:10: 'openssl/opensslv.h' file not found
React Native version:
React-Natvie: 0.62
OS: macOS 10.15.4
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.

npx react-native init Demo
cd Demo /  npx react-native run-ios

Expected Results
Xcode build successfully
Snack, code example, screenshot, or link to a repository:
Please provide a Snack (https://snack.expo.io/), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem.
You may provide a screenshot of the application if you think it is relevant to your bug report.
Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve

Seems to work fine for me.
~/tmp » npx react-native init Demo
[…]
✔ Downloading template
✔ Copying template
✔ Processing template
✔ Installing CocoaPods dependencies (this may take a few minutes)
~/tmp » cd Demo/
~/t/Demo » npx react-native run-ios
info Found Xcode workspace "Demo.xcworkspace"
info Launching iPhone 11 (iOS 13.4)
info Building (using "xcodebuild -workspace Demo.xcworkspace -configuration Debug -scheme Demo -destination id=B9F2DEA5-13C9-4E2D-B239-69CA094AD1F8")
[…]
info Installing "/Users/eloy/Library/Developer/Xcode/DerivedData/Demo-gqwvjbhezendjvbjuzjpgewonvlm/Build/Products/Debug-iphonesimulator/Demo.app"
info Launching "org.reactjs.native.example.Demo"
success Successfully launched the app on the simulator

Perhaps the CocoaPods installation didn’t work well for you? Can you try the following and then build again?
~/t/Demo » cd ios/
~/t/D/ios » pod install
[…]
Pod installation complete! There are 33 dependencies from the Podfile and 37 total pods installed.

If still not, please run run-ios with the --verbose flag and paste the output.

@alloy
** BUILD FAILED **
The following build commands failed:
CompileC /Users/joe/Library/Developer/Xcode/DerivedData/Demo-dkuvxchlfnnanoctbfchibozyypb/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper-Folly.build/Objects-normal/x86_64/AsyncPipe.o /Users/joe/Develop/yizhimei/Demo/ios/Pods/Flipper-Folly/folly/io/async/AsyncPipe.cpp
normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

Xcode Version 11.4

Alas I can’t do anything without more tangible information. Can you please share an example app that demonstrated the problem and that has everything checked in, including the ios/Pods directory?

update your xcode

+1

I’m going to close this for now, as there is no details for me to work with. Please do follow-up, though, and we can re-open the issue!

I have the same problem!
React-Natvie: 0.62.1
OS: macOS 10.14.6
I created the app with the command
npx react-native init
then I tried launching the app on the simulator with Xcode and getting that problem.

hi i have the same problem i try to create a project with 0.62.2 but when i try to run in xcode appers this error , i try to install pod install but it doesn't work.

As mentioned before, I can’t do anything without an example app that reproduces the problem, so please help me help you by sharing such an example. 🙏

this is my error when i try to run "react-native run-ios"
fatal error: 'openssl/opensslv.h' file not found
#include <openssl/opensslv.h>
^~~~~~~~~~~~~~~~~~~~
1 error generated.

+1

+1

I’m unsubscribing from this issue, as I mentioned what is needed to progress and until then this just adds to my notification load. When somebody posts a reproducing example, please @ mention me 🙏

Creating a project with a slightly older version (0.61.5) worked for me. I've no idea why it worked, but thought i'd mention it in case it helps anyone else :)
npx react-native init AwesomeProject --version 0.61.5

https://github.com/Sdoy/rn-62

Xcode: Version 11.3.1 (11C505)
@alloy

I had the same issue.  Could not find openSSL.
Latest Xcode version 11.4.1
Catalina.
SOLVED (for me at least).
I hope this helps everyone.
tldr:

brew update // make sure it's up to date
brew upgrade ruby // this takes a while.  we really want to update gems
sudo gem install cocoapods
Restart Xcode
Problem disappeared for me.  Built successully.

the long version:
Here was my process.  At first I couldn't even get a pod install to work correctly.
I went and 'mv ~/.cocoapods ~/.cocoapods.bak'
Basically I renamed the ./cocoapods directory in your home dir.
Then reran pod install.  That worked.  Buuuuttttt, when I hit Play in Xcode, the build failed with the openssl issue.  For some reason it's not in the path.  One option was to go find it and stick it in the build settings search path.  hack hack hack.  Not feeling that solution...so...
Hunch was somewhere in pod install.  Had to go through some arduous process to update pod.

brew update // make sure it's up to date
brew upgrade ruby // this takes a while.  we really want to update gems
sudo gem install cocoapods
Restart Xcode
Problem disappeared for me.  Built successully.

So basically, you want to upgrade cocoapods to get the latest 'pod' executable.  One way top update is with "gems", but that should be updated too, so you do that with updating ruby by using brew, and of course make sure brew is up to date.  Someone shoot me now.

React-Natvie: 0.62.2
when i use brew install coocoapods this error has occurred.
use sudo gem install cocoapods fix this error.
Hope it helps

+1 same issue with Xcode 11.5 macOS 10.15.5 when run
npx react-native run-ios

Finally I found it's Pod config issue, add "${PODS_ROOT}/Headers/Public/OpenSSL_Universal" into Flipper, Flipper-Folly, Flipper-RSocket Targets->Build Setting->Header Search Paths. then rebuild project, this error will disappear 😄

${PODS_ROOT}/Headers/Public/OpenSSL_Universal

thank you so much it works for me!!!
React-Native: 0.62.2
OS: macOS Catalina: 10.15.5
Pods Version: 1.7.0
👍

Finally I found it's Pod config issue, add "${PODS_ROOT}/Headers/Public/OpenSSL_Universal" into Flipper, Flipper-Folly, Flipper-RSocket Targets->Build Setting->Header Search Paths. then rebuild project, this error will disappear 😄 @alloy

thank you so much it works for me!!!
React-Native: 0.62.2
OS: macOS Catalina 10.15.5
Pods Version: 1.7.0
👍

Still happening on a fresh install of React native 0.63 via npx react-native init AwesomeProject

cocoapods auto create the project with wrong infos,so i update the ruby env to latest ,and it works for me

@fairysspring how did you update your ruby env?

npx react-native run-ios --verbose shows the following messages:
CompileC /Users/Lax/Library/Developer/Xcode/DerivedData/AwesomeTSProject-eeatlbsvwbdhoggydvqoqmuxyuas/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/CertificateUtils.o /tmp/AwesomeTSProject/ios/Pods/Flipper/xplat/Flipper/CertificateUtils.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'Flipper' from project 'Pods')
    cd /tmp/AwesomeTSProject/ios/Pods
    export LANG\=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -target x86_64-apple-ios8.0-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=c++14 -stdlib\=libc++ -fmodules -fmodules-cache-path\=/Users/Lax/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/Lax/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Werror\=deprecated-objc-isa-usage -Werror\=objc-root-class -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DPOD_CONFIGURATION_DEBUG\=1 -DDEBUG\=1 -DCOCOAPODS\=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -g -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -Wunguarded-availability -index-store-path /Users/Lax/Library/Developer/Xcode/DerivedData/AwesomeTSProject-eeatlbsvwbdhoggydvqoqmuxyuas/Index/DataStore -I/Users/Lax/Library/Developer/Xcode/DerivedData/AwesomeTSProject-eeatlbsvwbdhoggydvqoqmuxyuas/Build/Products/Debug-iphonesimulator/Flipper/include -I/tmp/AwesomeTSProject/ios/Pods/Headers/Private -I/tmp/AwesomeTSProject/ios/Pods/Headers/Private/Flipper -I/tmp/AwesomeTSProject/ios/Pods/Headers/Public -I/tmp/AwesomeTSProject/ios/Pods/Headers/Public/Flipper -I/tmp/AwesomeTSProject/ios/Pods/Headers/Public/Flipper-DoubleConversion -I/tmp/AwesomeTSProject/ios/Pods/Headers/Public/Flipper-Folly -I/tmp/AwesomeTSProject/ios/Pods/Headers/Public/Flipper-Glog -I/tmp/AwesomeTSProject/ios/Pods/Headers/Public/Flipper-RSocket -I/tmp/AwesomeTSProject/ios/Pods/Headers/Public/libevent -I/tmp/AwesomeTSProject/ios/Pods/Flipper -I/tmp/AwesomeTSProject/ios/Pods/boost-for-react-native -I/tmp/AwesomeTSProject/ios/Pods/Flipper-RSocket -I/tmp/AwesomeTSProject/ios/Pods/Flipper-DoubleConversion -I/Users/Lax/Library/Developer/Xcode/DerivedData/AwesomeTSProject-eeatlbsvwbdhoggydvqoqmuxyuas/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/DerivedSources-normal/x86_64 -I/Users/Lax/Library/Developer/Xcode/DerivedData/AwesomeTSProject-eeatlbsvwbdhoggydvqoqmuxyuas/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/DerivedSources/x86_64 -I/Users/Lax/Library/Developer/Xcode/DerivedData/AwesomeTSProject-eeatlbsvwbdhoggydvqoqmuxyuas/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/DerivedSources -F/Users/Lax/Library/Developer/Xcode/DerivedData/AwesomeTSProject-eeatlbsvwbdhoggydvqoqmuxyuas/Build/Products/Debug-iphonesimulator/Flipper -F/tmp/AwesomeTSProject/ios/Pods/OpenSSL-Universal/Frameworks -F/Users/Lax/Library/Developer/Xcode/DerivedData/AwesomeTSProject-eeatlbsvwbdhoggydvqoqmuxyuas/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/OpenSSL -DFLIPPER_OSS\=1 -DFB_SONARKIT_ENABLED\=1 -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -DFOLLY_HAVE_LIBGFLAGS\=0 -DFOLLY_HAVE_LIBJEMALLOC\=0 -DFOLLY_HAVE_PREADV\=0 -DFOLLY_HAVE_PWRITEV\=0 -DFOLLY_HAVE_TFO\=0 -DFOLLY_USE_SYMBOLIZER\=0 -Wall -std\=c++14 -Wno-global-constructors -include /tmp/AwesomeTSProject/ios/Pods/Target\ Support\ Files/Flipper/Flipper-prefix.pch -MMD -MT dependencies -MF /Users/Lax/Library/Developer/Xcode/DerivedData/AwesomeTSProject-eeatlbsvwbdhoggydvqoqmuxyuas/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/CertificateUtils.d --serialize-diagnostics /Users/Lax/Library/Developer/Xcode/DerivedData/AwesomeTSProject-eeatlbsvwbdhoggydvqoqmuxyuas/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/CertificateUtils.dia -c /tmp/AwesomeTSProject/ios/Pods/Flipper/xplat/Flipper/CertificateUtils.cpp -o /Users/Lax/Library/Developer/Xcode/DerivedData/AwesomeTSProject-eeatlbsvwbdhoggydvqoqmuxyuas/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/CertificateUtils.o

debug In file included from /tmp/AwesomeTSProject/ios/Pods/Flipper/xplat/Flipper/CertificateUtils.cpp:8:
/tmp/AwesomeTSProject/ios/Pods/Flipper/xplat/Flipper/CertificateUtils.h:11:10: fatal error: 'openssl/pem.h' file not found
#include <openssl/pem.h>
         ^~~~~~~~~~~~~~~
1 error generated.

I’m unsubscribing from this issue, as I mentioned what is needed to progress and until then this just adds to my notification load. When somebody posts a reproducing example, please @ mention me 🙏

@alloy Pls chk here for reproducing example.

This helped fix.

Remove Podfile.lock file
Add pod 'OpenSSL-Universal', '~><IP_ADDRESS>' to Podfile like so:

platform :ios, '10.0'

pod 'OpenSSL-Universal', '~><IP_ADDRESS>'

target 'deeplink' do

(cd ios; pod install)
npm run ios

@alloy appreciate if it can be resolved to make it work with latest OpenSSL-Universal out of the box

This helped fix.

Remove Podfile.lock file

Add pod 'OpenSSL-Universal', '~><IP_ADDRESS>' to Podfile like so:

platform :ios, '10.0'

pod 'OpenSSL-Universal', '~><IP_ADDRESS>'

target 'deeplink' do

(cd ios; pod install)

npm run ios

@alloy appreciate if it can be resolved to make it work with latest OpenSSL-Universal out of the box

Note that the older version of OpenSSL-Universal will
Not be compatible with the upcoming release (0.64).

@gilbertl, let's hope 0.64 is tested for this scenario before releasing.

getting the same error after trying to upgrade from "react-native": "0.63.4" to 0.64 by using react-native upgrade in my project
System:
    OS: macOS 10.15.7
    CPU: (4) x64 Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
    Memory: 3.82 GB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 14.15.1 - /var/folders/nf/83z965450dd46qzdlrd86t6h0000gn/T/fnm_multishell_5077_1615785119485/bin/node
    Yarn: 1.22.10 - /var/folders/nf/83z965450dd46qzdlrd86t6h0000gn/T/fnm_multishell_5077_1615785119485/bin/yarn
    npm: 6.14.11 - /var/folders/nf/83z965450dd46qzdlrd86t6h0000gn/T/fnm_multishell_5077_1615785119485/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.10.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.2, DriverKit 19.0, macOS 10.15, tvOS 14.2, watchOS 7.1
    Android SDK:
      API Levels: 23, 28, 29, 30
      Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.2
      System Images: android-28 | Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom_64, android-28 | Google Play Intel x86 Atom_64, android-29 | Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom_64, android-29 | Google Play Intel x86 Atom_64, android-30 | Google APIs Intel x86 Atom_64, android-30 | Google Play Intel x86 Atom_64
      Android NDK: Not Found
  IDEs:
    Android Studio: 4.1 AI-201.87<IP_ADDRESS>42882
    Xcode: 12.1.1/12A7605b - /usr/bin/xcodebuild
  Languages:
    Java: 15.0.2 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.1 => 16.13.1
    react-native: 0.63.4 => 0.63.4
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found```

Update: Unable to reproduce this issue after I reinstalled the OS from scratch.
Some kind of incomplete cleanup/initialization is the root cause ?

Update: Unable to reproduce this issue after I reinstalled the OS from scratch.
Some kind of incomplete cleanup/initialization is the root cause ?

Are you saying you reinstalled OSX os iOS ?
If OSX, did you use a time machine backup, or was it a completely clean install?

When frustration > patience, you do

Full HD wipe
New install Catalina
Upgrade to latest (Bug Sur/v11.2.3)
🤪

Apologies, if that wasn't a lot of help, I'm sure there is an easier way and we'll be able to find it.

Update: Unable to reproduce this issue after I reinstalled the OS from scratch.
Some kind of incomplete cleanup/initialization is the root cause ?

Are you saying you reinstalled OSX or iOS ?
If OSX, did you use a time machine backup, or was it a completely clean install?

OSX, When frustration > patience, you do

Full HD wipe
New install Catalina
Upgrade to latest (Bug Sur/v11.2.3)
🤪

Apologies, if that wasn't a lot of help, I'm sure there is an easier way and we'll be able to find it.

Update: Unable to reproduce this issue after I reinstalled the OS from scratch.
Some kind of incomplete cleanup/initialization is the root cause ?

Are you saying you reinstalled OSX or iOS ?
If OSX, did you use a time machine backup, or was it a completely clean install?

WTF

Anybody was able to resolve this issue in any other way? I was unable to solve it with these proposed fixes.

Well, I did a complete system wipe and fresh install of Big Sur yesterday (at least my system was pretty bloated, so it was time for it already)

recovery mode (cmd + r at boot time)
wiped whole main drive partition via recovery menu
install Big Sur from recovery menu.

Sadly I can confirm that it fixed the issue for me and it was the only working solution.
One thing is interesting, I had firstly only reinstalled the Big Sur (no user data wipe) and the problem persisted (also redid the whole deed with pod install etc..)
I think it may not be something connected with react-native but as @anandchakru said:

Update: Unable to reproduce this issue after I reinstalled the OS from scratch.
Some kind of incomplete cleanup/initialization is the root cause ?

it may be some sort of incomplete installation of something. My co-worker (we have the exact same models and did the Big Sur update in the same way) didn't have any issues even with freshly init project (I was unable to compile it without this error)
Side note: I have not touched on any RN project for about 6 months and only recently just got to refreshing our apps packages and stuff and this came up.

I found is to use version 2.3.0 of flipper folly
Modify the Podfile with this configuration
React Native 0.63.4
use_flipper!({
  'Flipper-Folly' => '2.3.0'
})

React Native 0.64.0
use_flipper!({
  'Flipper' => '0.54.0',
  'Flipper-RSocket' => '1.1',
  'Flipper-Folly' => '2.3.0'
})

Greetings Bug Sur OSX

Using the older version of Flipper Folly fixed it, but I also had to remove the Pods directory and install fresh after editing the Podfile
rm -r -f Pods/

I just upgraded to RN 64 and have the same issue.
How to use this
use_flipper!({   'Flipper' => '0.54.0',   'Flipper-RSocket' => '1.1',   'Flipper-Folly' => '2.3.0' })
as it will create duplicate entries:
[!] CocoaPods could not find compatible versions for pod "FlipperKit":   In Podfile:     FlipperKit (= 0.54.0)     FlipperKit (~> 0.75.1)

Well, I did a complete system wipe and fresh install of Big Sur yesterday (at least my system was pretty bloated, so it was time for it already)

recovery mode (cmd + r at boot time)
wiped whole main drive partition via recovery menu
install Big Sur from recovery menu.

Sadly I can confirm that it fixed the issue for me and it was the only working solution.
One thing is interesting, I had firstly only reinstalled the Big Sur (no user data wipe) and the problem persisted (also redid the whole deed with pod install etc..)
I think it may not be something connected with react-native but as @anandchakru said:

Update: Unable to reproduce this issue after I reinstalled the OS from scratch.
Some kind of incomplete cleanup/initialization is the root cause ?

it may be some sort of incomplete installation of something. My co-worker (we have the exact same models and did the Big Sur update in the same way) didn't have any issues even with freshly init project (I was unable to compile it without this error)
Side note: I have not touched on any RN project for about 6 months and only recently just got to refreshing our apps packages and stuff and this came up.

I wiped by disk as well and reinstalled Big Sur. However, the first time I did this, the same "openssl/opeensslv.h file not found" error surfaced.
I wiped the disk again and reinstalled Big Sur a SECOND time. But this time

I specified APFS case INSENSITIVE
I installed XCode first thing, before installing anything else (e.g brew)

Something clicked and I 'm able to run
npx react-native init AwesomeProject --version 0.64
without any problems

I have APFS case SENSITIVE and when I was reinstalling the whole system I started downloading all things from appstore (xcode, word, etc..) and in the meantime I installed zsh, brew, etc...
After that it worked so I don't know where could the problem be.

xcode = Version 12.4
Macos = 10.15.7
I got same error since 2 weeks long, I try almost every thing like remove node folder reinstall react native, upgrades, brew installation, gem installation also update xcode restart everything but I did not get solve of this error.
I am very new to react native, I am unable to run simple hello world application. Let me know where I do wrong or react native environment is not setup correctly.
Regards

I solved this problem by disabling Flipper and enabling Hermes.

I had the same issue, it seem the problem is with APFS case SENSITIVE file system. Here is the link https://github.com/krzyzanowskim/OpenSSL/issues/117. what I did as workaround was made a symbolic link to the framework folder with the same name but all lowercase. here is the code I put in the Podfile to create the links.
post_install do |installer|
  flipper_post_install(installer)
  # Other stuff here ...
  system('cd Pods/Headers/Public; ln -s Protobuf protobuf')
  system('cd Pods/OpenSSL-Universal/Frameworks/OpenSSL.xcframework/ios-arm64_arm64e_armv7_armv7s; ln -sfh OpenSSL.framework openssl.framework')
  system('cd Pods/OpenSSL-Universal/Frameworks/OpenSSL.xcframework/ios-arm64_i386_x86_64-simulator; ln -sfh OpenSSL.framework openssl.framework')
  system('cd Pods/OpenSSL-Universal/Frameworks/OpenSSL.xcframework/ios-arm64_x86_64-maccatalyst; ln -sfh OpenSSL.framework openssl.framework')
  system('cd Pods/OpenSSL-Universal/Frameworks/OpenSSL.xcframework/macos-arm64_arm64e_x86_64; ln -sfh OpenSSL.framework openssl.framework')

end

I solved it using the old version of Flipper Folly (2.3.0)
Modify the Podfile with this configuration
React Native 0.63.4
use_flipper!({
  'Flipper-Folly' => '2.3.0'
})

React Native 0.64.0
use_flipper!({
  'Flipper' => '0.54.0',
  'Flipper-RSocket' => '1.1',
  'Flipper-Folly' => '2.3.0'
})

Greetings Bug Sur OSX

thank you so much for this it removed of openssl but then it showed error saying node not found which i was able to solve by this https://github.com/facebook/react-native/issues/31480 and because i was using https://github.com/Schniz/fnm
currently i have the latest node@16 version installed using homebrew and it is working fine i will update this comment after testing it on node @LTS wish me luck 👍

Add below line to pod file.
RN 0.63.4
Replace existing line ,
use_flipper!({ 'Flipper-Folly' => '2.5.3', 'Flipper' => '0.87.0', 'Flipper-RSocket' => '1.3.1' }),
with
use_flipper!({ 'Flipper-Folly' => '2.3.0', 'Flipper-RSocket' => '1.1' })
Worked like charm!

'openssl/opensslv.h' file not found

'openssl/opensslv.h' file not found

use_filpper!() to  #use_flipper!() in Podfile
then
rm Podfile.lock
pod install
worked for me!

Hi,
I am sorry,
how are you?
On Fri, Aug 13, 2021, 5:23 PM Dong Choon @.***> wrote:

'openssl/opensslv.h' file not found
use_filpper!() to #use_flipper!() in Podfile
then
rm Podfile.lock
pod install
worked for me!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/facebook/react-native/issues/28409#issuecomment-898314663,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASC5ZQXBK4JUU5CHI4ETJRDT4TQAVANCNFSM4LUYXYQQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

I had the same issue, it seem the problem is with APFS case SENSITIVE file system. Here is the link krzyzanowskim/OpenSSL#117. what I did as workaround was made a symbolic link to the framework folder with the same name but all lowercase. here is the code I put in the Podfile to create the links.
post_install do |installer|
  flipper_post_install(installer)
  # Other stuff here ...
  system('cd Pods/Headers/Public; ln -s Protobuf protobuf')
  system('cd Pods/OpenSSL-Universal/Frameworks/OpenSSL.xcframework/ios-arm64_arm64e_armv7_armv7s; ln -sfh OpenSSL.framework openssl.framework')
  system('cd Pods/OpenSSL-Universal/Frameworks/OpenSSL.xcframework/ios-arm64_i386_x86_64-simulator; ln -sfh OpenSSL.framework openssl.framework')
  system('cd Pods/OpenSSL-Universal/Frameworks/OpenSSL.xcframework/ios-arm64_x86_64-maccatalyst; ln -sfh OpenSSL.framework openssl.framework')
  system('cd Pods/OpenSSL-Universal/Frameworks/OpenSSL.xcframework/macos-arm64_arm64e_x86_64; ln -sfh OpenSSL.framework openssl.framework')

end

+1 working

I had the same issue, it seem the problem is with APFS case SENSITIVE file system. Here is the link krzyzanowskim/OpenSSL#117. what I did as workaround was made a symbolic link to the framework folder with the same name but all lowercase. here is the code I put in the Podfile to create the links.
post_install do |installer|
  flipper_post_install(installer)
  # Other stuff here ...
  system('cd Pods/Headers/Public; ln -s Protobuf protobuf')
  system('cd Pods/OpenSSL-Universal/Frameworks/OpenSSL.xcframework/ios-arm64_arm64e_armv7_armv7s; ln -sfh OpenSSL.framework openssl.framework')
  system('cd Pods/OpenSSL-Universal/Frameworks/OpenSSL.xcframework/ios-arm64_i386_x86_64-simulator; ln -sfh OpenSSL.framework openssl.framework')
  system('cd Pods/OpenSSL-Universal/Frameworks/OpenSSL.xcframework/ios-arm64_x86_64-maccatalyst; ln -sfh OpenSSL.framework openssl.framework')
  system('cd Pods/OpenSSL-Universal/Frameworks/OpenSSL.xcframework/macos-arm64_arm64e_x86_64; ln -sfh OpenSSL.framework openssl.framework')

end

Seems to work fine. But it will fail if you are working a project on both machine types (Case-Sensitive, Case-Insensitive). Any workarounds?

Seems to work fine. But it will fail if you are working a project on both machine types (Case-Sensitive, Case-Insensitive). Any workarounds?

I think you can conditionally make the symlinks, using a condition to determine if the file system is case-sensitive or not.
Example:
post_install do |installer|
  flipper_post_install(installer)

  # The real directory is /Users/<user>/Library.
  # In case-sensitive file systems the file won't exists.
  unless File.exist? "/Users/#{ENV['USER']}/library"
    system('cd Pods/Headers/Public; ln -s Protobuf protobuf')
    system('cd Pods/OpenSSL-Universal/Frameworks/OpenSSL.xcframework/ios-arm64_arm64e_armv7_armv7s; ln -sfh OpenSSL.framework openssl.framework')
    system('cd Pods/OpenSSL-Universal/Frameworks/OpenSSL.xcframework/ios-arm64_i386_x86_64-simulator; ln -sfh OpenSSL.framework openssl.framework')
    system('cd Pods/OpenSSL-Universal/Frameworks/OpenSSL.xcframework/ios-arm64_x86_64-maccatalyst; ln -sfh OpenSSL.framework openssl.framework')
    system('cd Pods/OpenSSL-Universal/Frameworks/OpenSSL.xcframework/macos-arm64_arm64e_x86_64; ln -sfh OpenSSL.framework openssl.framework')

  end

Where your build file system is not the same as /Users, use just pods as the test case!
post_install do |installer|
  flipper_post_install(installer)

  # The real directory is /Users/<user>/Library.
  # In case-sensitive file systems the file won't exists.
  unless File.exist? "pods"
    system('cd Pods/Headers/Public; ln -s Protobuf protobuf')
    system('cd Pods/OpenSSL-Universal/Frameworks/OpenSSL.xcframework/ios-arm64_arm64e_armv7_armv7s; ln -sfh OpenSSL.framework openssl.framework')
    system('cd Pods/OpenSSL-Universal/Frameworks/OpenSSL.xcframework/ios-arm64_i386_x86_64-simulator; ln -sfh OpenSSL.framework openssl.framework')
    system('cd Pods/OpenSSL-Universal/Frameworks/OpenSSL.xcframework/ios-arm64_x86_64-maccatalyst; ln -sfh OpenSSL.framework openssl.framework')
    system('cd Pods/OpenSSL-Universal/Frameworks/OpenSSL.xcframework/macos-arm64_arm64e_x86_64; ln -sfh OpenSSL.framework openssl.framework')
  end
end


Add na_action to DataFrame.map

[x] Tests added / passed
[x] Passes pre-commit run --all-files

Missed this when adding the function...

Added a test


Misleading screenshot

Hi,
Under the Schedule recurring jobs section screenshot shows advanced options to be set for Recurrence schedule trigger.
However, I do not see any advanced option nor Hide advanced option collapse/expand button

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

ID: a8d495c3-9afc-f758-5d04-c47a89b9d895
Version Independent ID: 5b95e62c-7a05-353d-5766-62ccd4cd4833
Content: Migrate from Azure Scheduler to Azure Logic Apps
Content Source: articles/scheduler/migrate-from-scheduler-to-logic-apps.md
Service: scheduler
GitHub Login: @derek1ee
Microsoft Alias: deli

There's no advanced schedule configuration available for "Minute" frequency. Change it to "Day" or "Week" then you should see it.

Thank you. I see those advanced options now that I change frequency to Week. Although those advanced options are parameters & one should look into parameters list to find them contrary to screenshot where they appear on the designer with Hide advanced options button link.
Would you consider to change the screenshot (I still believe it is misleading) or should I close this issue ?

We will now close this issue. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


Allow killing the process via Ctrl+C

A custom signal handler for SIGINT to shutdown pypdfocr would be nice, since interrupting the script during 678-page tesseract OCR seems impossible...

Just for reference, stackoverflow threads I found related to the issue:
http://stackoverflow.com/questions/11312525/catch-ctrlc-and-exit-multiprocesses-gracefully-in-python
http://stackoverflow.com/questions/1408356/keyboard-interrupts-with-pythons-multiprocessing-pool

Fixed, at least on mac os x; will be released on 0.8.3 shortly


Update sbt-scoverage to 2.0.7

Updates org.scoverage:sbt-scoverage from 1.9.3 to 2.0.7.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scoverage", artifactId = "sbt-scoverage" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scoverage", artifactId = "sbt-scoverage" }
}]

labels: sbt-plugin-update, early-semver-major, semver-spec-major, commit-count:1

Testing some repo permission settings with that approval.  I did not succeed in my changes.

Superseded by #2148.


Package elisp on MELPA

We seem to be getting to some level of stability / functionality on the emacs side.
I think the sooner we get the infrastructure in place to publish via MELPA the better, even if the initial functionality is very limited.

Personally I would prefer to wait a bit more, but I am not sure if there is any policy for the state a package needs to be in to be ready for MELPA, so if anybody wants to add it, feel free to do so.

It just allows us to start experimenting more easily in spacemacs, and also
means that so long as the hie exe is in the path we can easily load the
elisp code, without having to mess around with load paths.
And the sooner we do it the better, even if we state that it is pre-alpha,
experimental, etc.
On Fri, Dec 11, 2015 at 10:44 AM, Moritz Kiefer<EMAIL_ADDRESS>wrote:

Personally I would prefer to wait a bit more, but I am not sure if there
is any policy for the state a package needs to be in to be ready for MELPA,
so if anybody wants to add it, feel free to do so.
—
Reply to this email directly or view it on GitHub
https://github.com/haskell/haskell-ide-engine/issues/126#issuecomment-163876365
.

Alright, let’s make this a newcomer task. The documentation on how to get a package on melpa is in the readme.

I think we should wait till some folks are using HIE as their daily driver.  Then again, maybe this is already the case?

I was reading the process of getting it onto MELPA, and I think I agree
that it is premature
On Sat, Dec 12, 2015 at 2:43 AM, Michael Sloan<EMAIL_ADDRESS>wrote:

I think we should wait till some folks are using HIE as their daily
driver. Then again, maybe this is already the case?
—
Reply to this email directly or view it on GitHub
https://github.com/haskell/haskell-ide-engine/issues/126#issuecomment-164090200
.

This has been superseded by https://github.com/emacs-lsp/lsp-haskell


It's A Small World

I added Reporobot specified. I ran git-it verify, it says Reporobot has not been added. Those are the only steps listed I have no idea what I'm supposed to do.

Hmm, you're right, @reporobot has been added to your fork. The check for this is pretty simple, it returns either true or false so I'm not sure what could be causing it to be wrong. Have you tried again?

just checked again still not working

I haven't seen this issue come up before and when I use @reporobot's API to see what it returns at the added-as-collaborator status I get:
{
  "collab": true
}

And git-it should use that to return a pass:
if (body.collab = true) console.log("Reporobot has been added!")

Unfortunately I don't have any idea what might be going wrong. Just to confirm again, it's telling you "Reporobot doesn't have access to the fork"?

Actually—can you confirm that in Git you set your username as 16aces because when I set my username to that on my computer, it passes:

To confirm what your username is set to, type:
$ git config user.username

Changing the user name did it, Thank you very much.

Yay! :tada:

It didn't work for me too, even after changing the username to 16aces.


fix: junit reports

Explanation
Fix junit reports.
Related issue
Fixes #1099

/cherry-pick release-0.2


User with edit permissions can remove ownership from a user in the case where there are multiple owners

The following sequence demonstrates this:

User A creates a resource
User A assigns user C as Owner
User A assigns user B as editor
User B logs in and edits the resource
User B enters manage access
User B changes access level of user A to can view.  (This is an bug as user B should not be able to demote user A who is an owner)
User A now only has view permissions so is no longer able to edit the resource (this was validated as user A)
User B deletes user A as Can View.  Now user A has no permissions on this resource and was effectively removed from it by user B who only had edit permissions.

@alvacouch, @pkdash  please check this.

Discussed with Pabitra and Dave via email. Suggested fix is to use the Owner privilege to override the offending privileges when authorized, using the "unshare" function. Then assert the appropriate protection. Later, we can put this inside "share_resource_with_user" but that will require significant changes to test suite, etc.

Actually, I need further information to suggest a fix.  Could be a bug in access or a bug in the UI use of access.  It is most likely a bug in both. The key issue is that one should not be able to demote an owner as a non-owner. This should be stopped in the API itself, so that even if the UI allows it, the API won't. Then we work on the code that considers it possible and stop that.

I think it is a bug in the access control API. The API allows to demote any privilege of a user by a grantor as long as the grantor has a privilege which is => privilege the grantor is granting. It doesn't consider what privilege the user has currently before demoting.

@pkdash would you please close this issue if you think it is fixed? Thanks

@gantian127  Since this issue was opened by @dtarb I shouldn't be closing this. Though I have fixed it in the backend code, not sure how the UI is using the modified backend code. May be @mauriel133 can comment on this.

Seems to be working properly on www.


Add Vispy renderer

[ ] fix tests
[ ] make it not unbearably slow

#13

irreparably ugly AND too slow. rejected.


multiple scaffolding folders

Hi,
Based on my experience using Grails since 1.3.x, I've requirements to have multiple scaffolding folders. e.g:
src/templates/scaffolding
src/templates/another-scaffolding-set
....
So, I want to propose an improvement to generate-all script by adding option to select which set of scaffolding to use (default is still src/templates/scaffolding).
How do you think about this?

Seems reasonable, pull requests welcome

But how to use it dynamically? (more than 80% of our apps are dynamic)
We also use more than one scaffold set, but for static scaffolding it's easy to achieve this today using GIT branches.
I don't see how to use this dynamically without changing the syntax or using extra properties to configure it, e.g.
class SomeController {
   static scaffold = Some
   static scaffoldSet = '/another-scaffolding-set'
}

I've created an implementation for this.
You can put:
def scaffoldTemplates = "whateverNameYouWant"
On the controller, and then the plugin will first look for templates at /templates/(scaffoldTemplates)/[edit|create|index|show].gsp
If an particular view is not found this way, it will then look for /templates/scaffolding/[edit|create|index|show].gsp so your template set does not have to provide all the views.
You can also set a value on grails.plugin.scaffolding.defaultTemplateSet, and this will be used if there's no scaffoldTemplates on controller. This is so that you can have a plugin that overrides the defualt views used for scaffolding.
Either way, if you don't set any template set name, scaffolding will behave as today.
If this is fine I can submit a pull request


Bug: React Docs Beta - Keeping Components Pure

Inside Keeping Components Pure you will find a topic Side Effects: (un)intended consequences, in the first example where it shows component that break this rule , the output produce by given example is not correct it return
Tea cup for guest #1
Tea cup for guest #2
Tea cup for guest #3 not
Tea cup for guest #2
Tea cup for guest #4
Tea cup for guest #6

Could you explain a bit more
Provide some screenshots maybe


Do you need to polyfill promises?

It seems like this library depends on window.Promise being available. Is that true? Are there any other requirements for this library?

If you use async iterators, you'll need Symbol.asyncIterator.

Okay good to know! It'd be great to either document that somewhere or even better provide the polyfills via tslib (npm's promise-polyfill is tiny).
Currently it's a bit confusing when the target in tsconfig says "es3" and the typescript language allows async, but then your code doesn't work in IE11.

even better provide the polyfills via tslib

I am absolutely against that. Please polyfill yourself according to the browser targets you want to support, but don't put the additional library bloat on everyone by automatically polyfilling everything.

Just opened another discussion, what should be polyfilled by ts and what should not.
see #25027


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2310

Questions ?
Please refer to the Backport tool documentation


Remove IssueReference and IssueDependency logic

As discussed in #2771
The drawback with this change is that we'll no longer synchronize Pull Requests (before, they were synchronized if referenced from an issue).
IMO, this is acceptable; as we may want to introduce a complete synchronization of Pull Requests, enabling us to allow pledges on them.
Thoughts @birkjernstrom, @zegl?

I'm in favour! The only real feature where Pull Request data is currently used is in the Split Rewards modal, where authors of related PRs are pre-filled in the modal.
It's a lot of code for such a simple feature, and if we were to build it from scratch, this is definitely not how we'd build it.


Which File to Import to Solution

Hello Which directory shall I download and import to my D365 solution? Sorry I'm still new to PCF.

Thank you so much. I imported it successfully. Should I do an additional step in order to see it in my side navigation menu because I still cannot access it?

After import, you just need to register the CoplorfulOptionSsetGrid PCF on your Subgrid or view/table.

Hello, sorry to be bothering you again. I went to your blog but I couldn't find some kind of documentation. I'm trying to go to Prospects (Leads) to add the control to a choice field called Country (in order to color the country selected), but when I click add control the CoplorfulOptionSsetGrid is not appearing. What step am I missing? How do I register the CoplorfulOptionSsetGrid  PCF?

Hi @MANEnterprise-Joseph ,
Then I guess you need the ColorfulOptionset PCF (not the Colorful Optionset Grid as we talked before). You can find it here: https://github.com/ORBISAG/ORBIS.PCF.ColorfulOptionset/releases
This one can be used on Optionset (Choices) fields. The docs are here https://github.com/ORBISAG/ORBIS.PCF.ColorfulOptionset or this blog https://dianabirkelbach.wordpress.com/2022/04/24/colorful-optionset-pcf-virtual-and-improved/


Natural details (bay, scrub) included in Address only building

What version of PgOSM Flex are you using?

Latest docker image:
Name              |Value                                      |
------------------+-------------------------------------------+
id                |1                                          |
imported          |2022-04-07 18:20:00.306 -0600              |
osm_date          |2022-04-08                                 |
default_date      |false                                      |
region            |north-america                              |
pgosm_flex_version|0.4.6-12edff2                              |
srid              |3857                                       |
project_url       |https://github.com/rustprooflabs/pgosm-flex|
osm2pgsql_version |1.6.0                                      |
language          |                                           |
osm2pgsql_mode    |create

Docker image
e950236814c4

What operating system, osm2pgsql, and PostgreSQL/PostGIS versions are you using?
In latest Docker image, detail not relevant to this bug.
Describe the problem
The Gulf of Maine relation is being included as an Address only building.
Large area of scrub in CA.
What did you do to try analyzing the problem?

Looks like adding tags.natural to this section of flex-config/style/building.lua would do the trick.
    -- Cannot have any of these tags
    if tags.shop
        or tags.amenity
        or tags.building
        or tags['building:part']
        or tags.landuse
        or tags.leisure
        or tags.office
        or tags.tourism
        or tags.boundary -- included in place layer
        then
            return false
    end

RE #227

RE #97

Other likely tags to exclude:

aeroway
demolished:building
demolished
was:building

-- Setup address records to match to osm.tags
CREATE TEMP TABLE addresses AS
SELECT CASE WHEN osm_id < 0 THEN -1 * osm_id ELSE osm_id END AS osm_id,
        CASE WHEN osm_id < 0 THEN 'R' ELSE 'W' END AS geom_type,
        name
    FROM osm.building_polygon p
    WHERE osm_type = 'address'
;

-- Manual exploration
SELECT jsonb_pretty(t.tags), *
    FROM addresses a
    INNER JOIN osm.tags t ON a.osm_id = t.osm_id AND a.geom_type = t.geom_type
;

-- Look at keys by frequency
SELECT jsonb_object_keys(t.tags), COUNT(*)
    FROM addresses a
    INNER JOIN osm.tags t ON a.osm_id = t.osm_id AND a.geom_type = t.geom_type
    GROUP BY jsonb_object_keys(t.tags)
    ORDER BY 2 DESC
;


Merges are failing in Azure pipelines

The merge deployment has not succeeded today on the Azure pipelines, with the following error:
rm: cannot remove './plexus-classworlds.license': No such file or directory
##[error]Bash exited with code '1'.

It appears there is a step to remove a specific file from the /boot directory, which does not exist, and is therefore failing the entire deployment script.  (As a result, we're not getting updated snapshot jars in Artifactory, which means dependent repositories like the connectors cannot see any merged updates in Egeria core during their own build processes.)

Thanks for sorting. That was a workaround for an issue with the file originally. I guess they cleaned up.


Add swift-system

Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (swift-system) have been updated in this PR. Please review the changes.

ci issue. i think on this and the other one the issue is your patch files don't have trailing newlines. might want to configure your editor to auto add those. i also normally end up with them with patches when doing git diff > foo.patch

ci issue. i think on this and the other one the issue is your patch files don't have trailing newlines. might want to configure your editor to auto add those. i also normally end up with them with patches when doing git diff > foo.patch

I added the newlines, not sure bcr_validation.py on my local machine doesn't catch these.