Migrate Advertising to the new Hub page style

Finish DEV TASK 174057
https://dev.azure.com/ceapex/Engineering/_boards/board/t/Content Eng/Stories/?workitem=174057

Docs Build status updates of commit 1d1a21f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Advertising/index.md
:white_check_mark:Succeeded

Advertising/index.yml
:white_check_mark:Succeeded

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

Docs Build status updates of commit 3b941ef:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/Advertising-docs, working directory: W:\1xpy-s, target branch: HEAD, target branch commit: 44f407b2fad5dc7dfb1e78a3d60b32db1d5643ee, source commit: 3b941ef094867f7c7358951ebe222ffa69d512d8.

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

Docs Build status updates of commit 46fc366:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Advertising/index.yml
:white_check_mark:Succeeded

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

Docs Build status updates of commit 44f407b:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] An exception occurred during the build process. Please check the raw log and retry building your content again. If the issue persists, please open a ticket in https://SiteHelp and include the URL of publishing report as well as below information: One or more errors occurred..

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


Remove support for the X-Original-Url and X-Rewrite-Url headers for 2.2 branch

This patch modifies the logic of Zend\Http\PhpEnvironment\Request::detectRequestUri()
such that it will ignore the X-Original-Url and X-Rewrite-Url headers
when marshaling the request URI.
Please release a 2.2.11 including this patch based on https://github.com/zendframework/zend-http/commit/5234f4a9e8137b731ab95d6a17879d4eb8fb9e39 for https://framework.zend.com/security/advisory/ZF2018-01.

@pgmillon
Sorry, maybe I'm do not understand your pull requests, but the changes are already released with version 2.8.1:

Hi,
Thanks for taking the time to answer:
I know it's indeed fixed in later version (and that's where I cherry-picked from), but I need to maintain a PHP-5.3-compatible version of https://github.com/nuxeo/nuxeo-php-client for a customer, which means being stuck with zend-http 2.2.x

@pgmillon
Sorry, but version 2.2 of zend-http is no longer supported and PHP 5.3 is dead – PHP 5 is completely dead!
Normally I would say: create a fork, add the bugfix and use it in your application. But PHP 5 is no longer an option. No active or security support anymore!


feat: add support for using reset-then-reuse-values flag

This pull request adds support for using the ResetThenReuseValues flag during the upgrade.
The currently used helm.sh/helm/v3 package version is v3.14.2, which already supports the flag.
Related PR (merged): https://github.com/helm/helm/pull/9653

@elenz97 can you please take a look?

Your changes are included in the latest v0.12.11 release :rocket:


Backend does not send url to project

When a project is created, there is a field "project url" that can be filled in. However, this url is not sent by the backend when the project is requested.

what do you mean by "project url"? currently a project has the following fields in the backend: name, partner_name, extra_info, required_skills, coaches and suggested_students.

what do you mean by "project url"? currently a project has the following fields in the backend: name, partner_name, extra_info, required_skills, coaches and suggested_students.

I'm talking about this:

However, I'm not sure it's needed. The only thing I could find about it is in this slide:

"Short bio about the partner, websites"

I thought that the url of the project resided in extra_info

we have decided that, sould a url be necessary, it should be included in the extr_info field


⚠ LPDM Handbook (hosted on Divio) has degraded performance

In 698315f, LPDM Handbook (hosted on Divio) (https://repohubdev.tk) experienced degraded performance:

HTTP code: 500
Response time: 6363 ms

Resolved: LPDM Handbook (hosted on Divio) performance has improved in 726cea6.


Add an idealized baroclinic instability test and two accessory elixirs

I implemented an idealized baroclinic instability test as suggested by Ullrich et al.
This elixir works with a low Mach number approximate Riemann solver (LMARS) as suggested by Chen et al., which offers great performance (even better than flux_lax_friedrichs) for this large simulation.
Additionally, I added two accessory elixirs to run simplified simulations on a planetary-sized cubed sphere mesh. One being the elixir_euler_source_terms example, but rescaled to planetary size, also working on a locally refined nonconforming mesh (because why not?), the other one is a steady-state manufactured solution that features a circular wind with constant angular velocity on the same nonconforming planetary-sized cubed sphere mesh.

I reduced the time it takes to run the new elixirs in CI:

before
after, no coverage
after, with coverage

elixir_euler_source_terms_nonconforming_earth.jl
1782 s
71 s
545 s

elixir_euler_circular_wind_nonconforming.jl
570 s
22 s
80 s

elixir_euler_baroclinic_instability.jl
3176 s
74 s
71 s

The orientation != 1 lines in FluxLMARS are not covered right now because P4estMesh is using the normal direction version and the FluxRotated test is only using orientation = 1. Should I add another test with TreeMesh to cover this? Or change an existing test to use FluxLMARS?

Just out of curiosity: how long do these elixir test cases run approximately? (using how many cores?)

elixir_euler_source_terms_nonconforming_earth.jl is supposed to be a rather simple elixir, running the Euler source terms simulation (rescaled) on the earth's atmosphere. With the default tspan, it runs for about 14 seconds on my laptop (Intel i5-8250U) using one thread.
The baroclinic instability is a huge test, and elixir_euler_circular_wind_nonconforming.jl is supposed to resemble this. So, the latter is running for about 20 minutes on Roci (AMD Ryzen Threadripper 3990X) using 24 threads and check-bounds=no.
The baroclinic instability in the default configuration (10 simulation days, polydeg 5, 8x8x4 cells per cube face, that's 331k DOFs) runs for nearly an hour on the same machine (again, 24 threads, check-bounds=no).
These two huge elixirs also use multithreaded OrdinaryDiffEq by default because it would be insane to run them on one thread.
For better results, the baroclinic instability should be run with 16x16x8 cells per cube face (that's 2.6kk DOFs). I have only done this once, and it took about 2 weeks on Roci (again, 24 threads, check-bounds=no). However, this was before I started optimizing this elixir (and Trixi's multithreading in general, #924). Extrapolating the time this takes for the first 1000 time steps now, it will only take ~28 hours, which is a really incredible speed up.

Thanks for the info Erik.
Hm, I wonder if for the huge Elixirs we should add a comment somewhere in the Elixir that gives an estimation on the compute time.
Like, for this choice of mesh it takes 1h on 24 threads...or something like this?
Then people know what they are getting into using this Elixir :-)

@gregorgassner, I added comments containing specific run times to the two big elixirs.
@ranocha, I didn't change anything else, the checks should still pass.


BC Jetpacks only

I have buildcraft, enderIO and Thermal Foundation (and the rest) installed. Yet I can only craft the combustion Jetpack, and I'm still yet to find a way to fuel it up and use it. I've even tried to edit the config to use it, to no avail.
Any chance its a conflict bug as I have BC installed?
See pic below from NEI

List of mods installed:

Fixed issue by reinstalling EnderIO


Add RedisStack Hosting

Description
We add RedisStack  as a new hosting resource.

There are two container images for using RedisStack:
There's one intended for development time and another for deployment (redis/redis-stack vs. redis/redis-stack-server).
according to https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/docker :

redis/redis-stack contains both Redis Stack server and Redis Insight. This container is best for local development because you can use the embedded Redis Insight to visualize your data.
redis/redis-stack-server provides Redis Stack server only. This container is best for production deployment.

The difference between redis/redis-stack vs. redis/redis-stack-server is Redis Insight, We have a hosting resource for Redis Insight at https://github.com/dotnet/aspire/pull/5227.So we use redis/redis-stack-server for both development and deployment.
RedisStack provides an environment variable REDIS_ARGS. We can add a password to the container via the environment variable REDIS_ARGS="--requirepass password" (password support is not included in this PR yet.)
Fixes #1663
Checklist

Is this feature complete?

[X] Yes. Ready to ship.
[ ] No. Follow-up changes expected.

Are you including unit tests for the changes and scenario tests if relevant?

[X] Yes
[ ] No

Did you add public API?

[X] Yes

If yes, did you have an API Review for it?

[X] Yes
[ ] No

Did you add <remarks /> and <code /> elements on your triple slash comments?

[X] Yes
[ ] No

[ ] No

Does the change make any security assumptions or guarantees?

[ ] Yes

If yes, have you done a threat model and had a security review?

[ ] Yes
[ ] No

[ ] No

Does the change require an update in our Aspire docs?

[X] Yes

Link to aspire-docs issue:

[ ] No

Microsoft Reviewers: Open in CodeFlow

For functional tests to pass, we need to import docker.io/redis/redis-stack-server:7.4.0-v0 to netaspireci.azurecr.io

@eerhardt @mitchdenny, please take a look.

Is there no way to make this part of the existing redis resource? This is a ton of duplication.

Is there no way to make this part of the existing redis resource? This is a ton of duplication.

Yes, there is but isn't better to keep resources separate?
What is your proposal API?

Is there no way to make this part of the existing redis resource? This is a ton of duplication.

I was almost wondering if we should just replace the Image from library/redis to redis/redis-stack-server all up. Do we really need both?

Is there no way to make this part of the existing redis resource? This is a ton of duplication.

I was almost wondering if we should just replace the Image from library/redis to redis/redis-stack-server all up. Do we really need both?

we could do this but I should mention that in redis stack we should provide redis args in REDIS_ARGS environment variable.
for example
return builder.WithAnnotation(new CommandLineArgsCallbackAnnotation(context =>
{
    context.Args.Add("--save");
    context.Args.Add(
        (interval ?? TimeSpan.FromSeconds(60)).TotalSeconds.ToString(CultureInfo.InvariantCulture));
    context.Args.Add(keysChangedThreshold.ToString(CultureInfo.InvariantCulture));
    return Task.CompletedTask;
}), ResourceAnnotationMutationBehavior.Replace);

should change to

builder.WithEnvironment("REDIS_ARGS", $"--save {(interval ?? TimeSpan.FromSeconds(60)).TotalSeconds.ToString(CultureInfo.InvariantCulture)}

Also, we could provide a password by REDIS_ARGS="--requirepass password", so the password should work in both development and deployment. referencing to https://github.com/dotnet/aspire/pull/4642

Also, we could provide a password by REDIS_ARGS="--requirepass password", so the password should work in both development and deployment. referencing to #4642

I tried getting this to work in a secure way but I think we'll need parameter support in AZD for run args.

/azp run

Thanks for the contribution here @Alirexaa. However, at this point I don't think we should be doing this work. It looks like the functionality of Redis Stack is moving into the common layer.
https://redis.io/blog/the-future-of-redis/

Simplifying the Redis Experience

First, we’re focusing on simplicity and the developer experience – both in the core and in our developer experience. Starting with Redis 8, we’re integrating Redis Stack capabilities including query and search, vector search, JSON document support, time series and probabilistic structures into the Community Edition, providing a single, comprehensive Redis that offers all the latest features without the need for separate downloads or packages.

Given this, I'd rather we don't add new API now when this landscape is changing. Instead wait and get guidance from Redis on what images should be supported going forward.

Thanks for the contribution here @Alirexaa. However, at this point I don't think we should be doing this work. It looks like the functionality of Redis Stack is moving into the common layer.
https://redis.io/blog/the-future-of-redis/

Simplifying the Redis Experience

First, we’re focusing on simplicity and the developer experience – both in the core and in our developer experience. Starting with Redis 8, we’re integrating Redis Stack capabilities including query and search, vector search, JSON document support, time series and probabilistic structures into the Community Edition, providing a single, comprehensive Redis that offers all the latest features without the need for separate downloads or packages.

Given this, I'd rather we don't add new API now when this landscape is changing. Instead wait and get guidance from Redis on what images should be supported going forward.

Seems reasonable.


Space traveler's Hub React project

Space traveler's Hub React project 🚀
This PR fetches information from SpaceX data API and the site implements the following features:

Renders Missions and Rockets information.
User is able to book Rockets and Missions.
Booked Rockets and Missions are displayed on the user's profile.
The site indicates when the user has booked for a rocket or mission.

Hi @MacCrazyman @rtonata88,
You have built an amazing project 💯
The user interface is topnotch 🌟
Great job 🤸♂
However, there are some issues that you still need to work on to go to the next project but you are almost there!
Required Changes ♻

According to the requirements, kindly use conditions rendering for Missions and Rockets

Please check React's documentation on conditional rendering to learn more 😉 .
To make your app more complete, kindly add some tests with React testing Library and Jest. Tests are an essential part of development as they help us ascertain that our app works well under all circumstances. 😀

Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.
As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

Thanks for your kind review @DammyShittu .
I would appreciate it if you can provide us with a wider explanation of the required changes regarding conditional rendering by pointing out the parts of the code.
As far as I can see, we have implemented conditional rendering in different parts of the code using different approaches, like in the example below:
https://github.com/MacCrazyman/space-traveler-hub-react/blob/70754c13348a8e7f5562d73020f4ef881a24cf71/src/component/Rocket.js#L11-L31
The approach using if - else statement is described in the documentation and has been implemented to render complex elements.
On the other hand, we have also used inline conditionals to manipulate the classes and the content of the components:
https://github.com/MacCrazyman/space-traveler-hub-react/blob/70754c13348a8e7f5562d73020f4ef881a24cf71/src/component/missions.js#L36-L37
https://github.com/MacCrazyman/space-traveler-hub-react/blob/70754c13348a8e7f5562d73020f4ef881a24cf71/src/component/missions.js#L42-L43
Inline conditionals are also described in the React documentation
Please let us know in which other parts of the code should we implement the conditional rendering to meet the project requirements.
Once again, thanks for your kindness.
Regards.

Hi @MacCrazyman,
Thank you for pointing these out. I sure have learned a thing or two this morning. 😉
Please, proceed to work on other changes that were suggested.
I'm sorry for the late response.
Keep soaring 🚀

Thanks for the Feedback @DammyShittu .
We are moving on to add test cases.


Support for bip21 LN links

We currently support bip21 links where the lightning invoice is part of the params.
But there can also be bitcoin:lnbc... links. Currently we look for thelightning:... protocol links.
To support bip21 we should also look for the bitcoin: protocol.
code: https://github.com/getAlby/lightning-browser-extension/blob/master/src/extension/inpage-script/index.js
Links:
https://twitter.com/_Bosch_/status/1516626376043888649
https://github.com/bitcoin/bips/blob/master/bip-0021.mediawiki

that's wrong. I think we already do that.


create example

a dir with config file
expose the dir as file manager
some std IYOU integration

show how to use ngrok to expose the local development webserver
create some screencast & some tutorial

Do you mean with expose the dir as file manager, to use filemanager plugin? or it is something else unrelated to #19?


Possibility to sync onAuthStateChange with signIn/Out()

Feature request
Is your feature request related to a problem? Please describe.
The code is from a nuxt3 app using the @nuxtjs/supabase module.
The onAuthStateChange listener is often used to the set the user on the client side and its a good and central place to do it imo.
But when having a sign in action like this:
const signIn = async() => {
  const { session, error } = await client.auth.signIn({ email: email.value, password: password.value })
  navigateTo('home')
}

with a route guard like this
export default defineNuxtRouteMiddleware((to) => {
  const user = useSupabaseUser()
  if (!(user.value))
    return navigateTo({ name: 'login', query: { redirect: to.path } })
})

and a onAuthStateChange listener like this
 // Once Nuxt app is mounted
  nuxtApp.hooks.hook('app:mounted', () => {
    // Listen to Supabase auth changes
    client.auth.onAuthStateChange(async (event: AuthChangeEvent, session: Session | null) => {
      await setServerSession(event, session)
      user.value = client.auth.user()
    })
  })

The user is still not available when navigating to the 'home' after login. Causing the middleware to redirect the user back to login.
Describe the solution you'd like
A possibility in the options to wait for the changeListeners to finish before the login/logout promise resolves.
This would clean up client side code and sync the entire auth process. This could default to false, if it introduces
unwanted behaviour for some cases.
Something like this maybe:
const { session, error } = await client.auth.signIn({ email: email.value, password: password.value },{waitForListeners: true})

Would if (event === 'SIGNED_IN') navigateTo('home') work inside of onAuthStateChange()?


Export registerDelay from ...MonadSTM.TVar

stm package exports it from Control.Concurrent.STM.TVar module, we ought to do the same after #24 and #9 are merged.

No, because we have two registerDelay one in io-classes:io-classes and another one in io-classes:si-timers.  Which ever we pick, we're going to annoy some projects.


Statistics are not updated in Section of Recording Sensors

Statistics are not updated in Section of Recording Sensors.
I did reinstall the module like described.
It only get updated once i do reload/reinstall the module.
Debug log is on and i did check the log but nothing visible.
Log book is empty and did not show any updates like in other sections of RC300.
Values get only updated on reload.
I had to disable "Use new statistic api"
When i enable this "kwh" /unit is removed and Recoriding sensors set to unkown".
Versions:

HA version: 2023.4.1
HA Bosch component version 0.22.2.
using IVT and HTTP with MB LAN2 (detected as RC300/RC310/Netfit Module

MainThread) [custom_components.bosch.sensor.recording] Update of sensor Recordingroutdoor_t1658200111 called.
2023-04-07 12:12:34.619 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Old gather data algorithm.
2023-04-07 12:12:34.622 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Update of sensor RecordingractualPower658200111 called.
2023-04-07 12:12:34.623 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Old gather data algorithm.
2023-04-07 12:12:34.639 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Update of sensor RecordingractualCHPower658200111 called.
2023-04-07 12:12:34.640 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Old gather data algorithm.
2023-04-07 12:12:34.650 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Update of sensor RecordingractualDHWPower658200111 called.
2023-04-07 12:12:34.650 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Old gather data algorithm.
2023-04-07 12:12:34.653 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Update of sensor Recordingrroomtemperature658200111 called.
2023-04-07 12:12:34.653 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Old gather data algorithm.
2023-04-07 12:12:34.667 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Update of sensor RecordingractualTemp658200111 called.
2023-04-07 12:12:34.668 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Old gather data algorithm.
2023-04-07 12:12:34.922 DEBUG (MainThread) [custom_components.bosch] Next update of 1-hour sensors scheduled at: 2023-04-07 13:06:00+02:00
2023-04-07 12:12:34.923 DEBUG (MainThread) [custom_components.bosch] Bosch 1-hour entitites updated.
2023-04-07 12:12:34.924 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Update of sensor Recordingroutdoor_t1658200111 called.
2023-04-07 12:12:34.925 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Old gather data algorithm.
2023-04-07 12:12:34.926 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Update of sensor RecordingractualPower658200111 called.
2023-04-07 12:12:34.926 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Old gather data algorithm.
2023-04-07 12:12:34.927 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Update of sensor RecordingractualCHPower658200111 called.
2023-04-07 12:12:34.927 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Old gather data algorithm.
2023-04-07 12:12:34.928 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Update of sensor RecordingractualDHWPower658200111 called.
2023-04-07 12:12:34.929 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Old gather data algorithm.
2023-04-07 12:12:34.932 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Update of sensor Recordingrroomtemperature658200111 called.
2023-04-07 12:12:34.933 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Old gather data algorithm.
2023-04-07 12:12:34.933 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Update of sensor RecordingractualTemp658200111 called.
2023-04-07 12:12:34.934 DEBUG (MainThread) [custom_components.bosch.sensor.recording] Old gather data algorithm.
2023-04-07 12:12:37.505 DEBUG (MainThread) [custom_components.bosch] Updating Bosch thermostat entitites.

I have the same issue.

Same here.Recording shows unknown....

The same here.

Anyone solved the issue ?

Sadly not a workaround would be to reload the module every hour.
When the module is reloaded statistics/recoring senosors are updated.
But sadly im not that skilled right now to create a automation which relods the module every hour.

Looks like according to discord chat a older version should work.

Ok, installed 0.20…. But for me it did not work.

Im currently trying 0.21.0 if this not help i will try v0.21.1

Still not working. Does anyone have a solution?

Mr. pszafer, can you fix this issue please?

In my case it stopped reporting values at all, I do not consider constant 0kWh as reporting.
What is even more interesting, it does not report ractualCHPower, ractualDHWPower nor ractualPower event after downgrading bosch component to v0.20.0 despite I am sure that before upgrade it was working great.
I have constant (non zero) values for ractualTemp, routdoor_t1 and rroomtemperature. They are refreshed only when entire home assistant is restarted or at least this integration.
Version
HA version? Home Assistant 2023.3
HA Bosch component version? home-assistant-bosch-custom-component v0.22.2 then migrated down to v0.20.0

can somebody please help with this issue.
They say it is not an HA, python thing, but part of the integration.

I will get it fixed as soon as I get HA with python 3.11.4

This issue is still not resolved.

Same here. Hope, that pszafer find a solution

Please let us know, whether we can assist with feedback!

I just realised bold line in README.md:

It will only work with at least Home Assistant 2023.7 and and Python >=3.11.

I checked my home-assistant docker image and it was 2023.4 and Python 3.10 so I am updating and will update this message with outcome after couple of hours.

Please check out https://github.com/bosch-thermostat/home-assistant-bosch-custom-component/releases/tag/v0.23.3
I will reopen if problem'd still occur.


Call to ImageEditor not working

Bug

Environment info:
Android

My Code:
import {
  Image,
  ScrollView,
  StyleSheet,
  Text,
  TouchableHighlight,
  View,
  Platform,
  Button
} from 'react-native';
import ImageEditor from '@react-native-community/image-editor';

class ImageEditorScreen extends Component {
  constructor(props) {
    super(props);
    this.state = {
      resizedUri: null
    };
  }

  handleSelectField = async () => {
    let { route } = this.props;
    let { imageUri } = route.params;
    const cropData = {
      offset: { x: 0, y: 0 },
      size: { width: 250, height: 250 },
      displaySize: { width: 300, height: 300 },
      resizeMode: 'contain'
    };
    console.log('Image URI from route.params: ', imageUri);
    let resized = await new Promise((resolve, reject) => {
      console.log('Reached in Promise');
      ImageEditor.cropImage(
        imageUri,
        cropData,
        uri => {
          resolve(uri);
          console.log(uri);       **//This Line not printing**
        },
        () => reject()
      );
    });

    this.setState({ resizedUri: resized });
    console.log('object');
  };

  render() {
    let { route } = this.props;
    let { imageUri } = route.params;
    let { resizedUri } = this.state;
    return (
      <View>
        <Image source={{ uri: imageUri }} style={{ width: 250, height: 250 }} />
        <Button title='Select Field Area' onPress={this.handleSelectField} />
        {resizedUri && <Text>{resizedUri}</Text>}
      </View>
    );
  }
}

export default ImageEditorScreen;

Library version: Latest Version (npm install @react-native-community/image-editor --save)
However in the image editor call to crop image the inner console log is not printing only so actually not going inside only. I have checked the image uri is being received correctly.
Please help me to solve this.

Any solution yet

I had the same issue when I was trying to upgrade my RN version and add this package. My solution was to follow their documentation and made a minor change in my code:
  ImageEditor.cropImage(uri, cropData).then(url => {     console.log("Cropped image uri", url);   })

I had the same issue when I was trying to upgrade my RN version and add this package. My solution was to follow their documentation and made a minor change in my code:
  ImageEditor.cropImage(uri, cropData).then(url => {     console.log("Cropped image uri", url);   })

as @ARXII-13 mentioned you @keyurgarsondiya need to wait a promise result


plans to update to support the new series concept

Do you plan on updating the project to support the series concept that is the works?  I would be interested in connecting on a call and discuss the project if you are open to that.

I dont have much time to work on this project at the moment, so it depends on how much work it'd require.
Can you link me said Series API? Did not find anything about it online.

https://openlibrary.org/dev/docs/api/mybooks
Here is the link to the get works that a person is, reading, wants to read, or has read.
The series API has not been released yet.  They are still working on it.  I have been joining their weekly calls for about a year following that work.  They say they are close to releasing it.
I am curious did you use some kind of code generator for the bulk of this?  And do you mind sharing what you built this for?   I appreciate your sharing this it's good work (well at least from my stand point).
I created a project from your files and am using that vs the nuget package at the moment.
I exposed the session cookie so that I could login and then use it for the getuserbooks method I am writing that gets the books in the users queue.
Thanks for the quick response on the issue.  And again thanks for sharing this work.

Thanks for the nice words :)
I did not use any code generation, though I most likely should have in retrospective. I started building this library for some small personal (now abandoned) Unity project, so I didnt really plan on making it as thorough as it is originally. It kinda ballooned over time until it reached a point where I figured I should just make a full on library.
About the Series API, if youre still interested once it is released let me know and Ill look into how much work implementing it would be.


Optimize _.isEqual for primatives

#2180 got micro-opty, but we can still speed up _.isEqual with acceptable changes.
I'm stealing a page from lodash and splitting eq() and deepEq(). Yes, I waffled about creating another function, but we're able to not duplicate checks and get a 30x speed boost with primitives.

Nice! I broke the method up into more focused parts because it made it easier to digest.

I am curious why the current code is
if (type !== 'function' && type !== 'object' && typeof b != 'object') return false;

why type use !== and type b use != ?


Net6

主版本升级为.NET7
并且升级了绝大部分相关依赖版本
目前为止运行状态良好
如果需要可以自行构建Releases
Addresses https://github.com/loic-sharma/BaGet/issues/761

yes pls NET6 LTS

After enabling the tests I get following error:
The UTC time represented when the offset is applied must be between year 0 and 10,000
I fixed it by Replacing occourances of DateTime with DateTimeOffset

The only way I can imagine this error happening is if there's a datetime of 0001-01-01 and then the offset pushes it below that date. I'm kinda sick today so I won't check now, but if you push it with tests enabled I can checkout your branch tomorrow and see if I can find something causing that. I don't think there should be a datetime of 0001-01-01 anywhere so this might be important.

I just had time to publish the changes again @Regenhardt. They are here

Fixed the last Unit Test in #786


Document title misleading

The title of the document mentions "swapfile" and the content is about a swap partition.

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

ID: 7781b573-2873-1d3a-b0fe-e8478aafd6f5
Version Independent ID: f79be585-5856-a616-5f56-8f73f3b2eccd
Content: Use cloud-init to configure a swapfile on a Linux VM
Content Source: articles/virtual-machines/linux/cloudinit-configure-swapfile.md
Service: virtual-machines-linux
GitHub Login: @RicksterCDN
Microsoft Alias: rclaus

@gabrielke Thanks for your question. We are checking on this and will respond to you soon.

@gabrielke I have assigned this to the author to review and see about changing any titles.

#please-close


Rewrite sympy in 20 lines

sympy is soooooooooooo slow
Change parameter resolver to handle basic sympy cases
Speeds parameter resolution up by ~10x in common cases.

Fixes #1899

After fixing the code snippet in the above bug so that it works in cirq 0.8, the code now runs like this:
10 parameters, 100 trials using Sympy+ParamResolver: 0.17375445924699306 seconds
10 parameters, 100 trials using reconstructed circuit: 0.15923414751887321 seconds
15 parameters, 100 trials using Sympy+ParamResolver: 0.2460739780217409 seconds
15 parameters, 100 trials using reconstructed circuit: 0.22894997335970402 seconds
20 parameters, 100 trials using Sympy+ParamResolver: 0.3239482073113322 seconds
20 parameters, 100 trials using reconstructed circuit: 0.3014691695570946 seconds

This is over 10x improvement and should solve the attached issue.

Wonderful!


Why so may appleID sign-ins?

I've noticed a higher amount of emails lately saying my Apple ID was used to sign in. For example I received 7 emails Friday, 8 on Saturday and 7 on Sunday. I have set up icloudv3 with the default settings and I'm running v3.0.rc7.1.1. I literally installed it like I was supposed to, put my Apple info and sent the pairing code they sent me and added my devices. So I'm not sure what's up. Thanks

Apple will send an email every time there is a login with a password. iCloud3 receives a security token when that happens that can then be used to validate account access so a password is not needed. The token is saved as a session cookie and is presented about every 30-minutes when iCloud3 asks for Location data. It expires after a short time, which is determined by Apple,  and the password is requested again. The password is sent and the cycle starts again. You receive an email when that happens. This is all determined by Apple and iCloud3 has no control over it.
About the only thing you can do is to create an email filter that moves those emails into an email folder, bypass the inbox and Mark them as read.

Which is probably the worst idea because if your account gets hacked then you may need that email notification to tell you something logged into your account. But thanks for closing the issue without discussion. I brought it up here because I went from like one to two per day to 8. I think when I first installed it I went a few days without an email.

I had been displaying when an authentication was being done that indicates if it was a token or token +password and they were displayed in the Event Log about every 1/2 hour so I moved the message to the Event Log > Side Tracking Monitors. The emails have also been an issue forever with other programs that remain permanently logged into the Apple account.

Which is probably the worst idea because if your account gets hacked then you may need that email notification to tell you something logged into your account. But thanks for closing the issue without discussion. I brought it up here because I went from like one to two per day to 8. I think when I first installed it I went a few days without an email.

This is probably the most juvenile and disrespectful reply I could imagine to this.  Gary isn't paid for his work, he's doing this because he's giving back to the HA community.
This question of yours has been asked and answered previously.  Gary is held to working within the confines of the Apple world.  They don't consult with him on potentially breaking decisions or how they can best write things that will help him work within their world.
 Those emails are there to inform the person something is happening. With this creation as complex as it is and created by highly intelligent people, I just naturally assumed they would know this.
2. I assumed this was an issue/discuss location, not shut down by god if they find their answer to be the solve all be all.
3. I don't know why you people always insist that if the question has been asked in the past that it's always solved. Those past questions were related to the same topic but they occurred on different firmware versions of icloud3. They could be something different that user did or didn't do. There's too many factors to list. So there's nothing wrong with asking the same question. Also it's more recent and at the top, so other people on the same version, having the same problem can reference it.
4. I posted the issue, he replied and played god and assumed his answer was it and closed the ticket. I was not finished discussing and going back and forth for other solutions or other user feedback back. If it then gets solved, we can agree and close the topic. No one will burn up or an asteroid will hit the earth if a topic stays open for a while, so why close it so fast. This is the users only way to contact the developers of the add-on/integration.
5. And lastly, as the user, I am no where near smart enough to make such a great integration. And for the developer to just outright say, yeah we'll do that, closed the issue, it was like telling me to shut up. It's disrespectful to not allow the issue to be discussed, even though it's been discussed before in older versions. Give your users the chance to understand issues and the complexity of the inner working.  Not everyone is as intelligent as you and need a bit more explaining and discussion. By creating this for free and doing follow up for free, doesn't mean your right or wrong. By me being a user same goes for me. But every single user should still have a chance to post an issue and discuss it regardless of past posts.
Thanks

1.Turning off one of the line of defence protecting the Apple account from hackers or what not is a dumb idea. Those emails are there to inform the person something is happening. With this creation as complex as it is and created by highly intelligent people, I just naturally assumed they would know this. 2. I assumed this was an issue/discuss location, not shut down by god if they find their answer to be the solve all be all. 3. I don't know why you people always insist that if the question has been asked in the past that it's always solved. Those past questions were related to the same topic but they occurred on different firmware versions of icloud3. They could be something different that user did or didn't do. There's too many factors to list. So there's nothing wrong with asking the same question. Also it's more recent and at the top, so other people on the same version, having the same problem can reference it. 4. I posted the issue, he replied and played god and assumed his answer was it and closed the ticket. I was not finished discussing and going back and forth for other solutions or other user feedback back. If it then gets solved, we can agree and close the topic. No one will burn up or an asteroid will hit the earth if a topic stays open for a while, so why close it so fast. This is the users only way to contact the developers of the add-on/integration. 5. And lastly, as the user, I am no where near smart enough to make such a great integration. And for the developer to just outright say, yeah we'll do that, closed the issue, it was like telling me to shut up. It's disrespectful to not allow the issue to be discussed, even though it's been discussed before in older versions. Give your users the chance to understand issues and the complexity of the inner working.  Not everyone is as intelligent as you and need a bit more explaining and discussion. By creating this for free and doing follow up for free, doesn't mean your right or wrong. By me being a user same goes for me. But every single user should still have a chance to post an issue and discuss it regardless of past posts.
Thanks

This isn't the appropriate place for debate.  If you'd like to reach out privately, feel free.  I stand by my comment.
Back to our regularly scheduled Issue #233

Yes god, sorry god

Yes sir 🫡

I'm glad this integration has bouncers, keep the user in line.

https://github.com/gcobb321/icloud3_v3/issues/72 this was raised 8 months ago, a lot could have changed since then and the answers may not be relevant today. It was discussed and then closed after a period of time. It says pretty much close to what I posted, but different version#. I can't find more, though there could be. I reacted  because I didn't get a fighting chance to discuss my problem, let alone just reply before it got closed. But now bouncer boy jumps in and the issue gets buried and turned into something else. Don't have issues activated if you don't want to discuss the users issues. I never once called out the creators or installed them or their code, I commented on the "quick shut up and deal with it". And I still have the issue of a million emails. But I don't want to throw out the integration because it's really great and helps a lot in my use case. Anyhow, I'll know for the future that this isn't the place to come for help. 👍

@gcobb321 Apologies for this thread going so FAR off the rails.  I've blocked this user as he only seems interested in arguing just to argue in the public eye vs a sidebar conversation.

I only closed the issue because it has been asked and answered many many times over the years and I really had nothing more to add. No disrespect has intended by closing your issue. Feel free to reopen it if you want but I have nothing more I can add as to that can be done to minimize the emails.  Apple controls everything. I control nothing. I can not change the code any more than I have and we all must figure out a way to live in the Apple-verse. My solution is what I do.
The current download count of iCloud3 v2 is over 11,300 the last time I looked at it. I’m sure everyone is concerned with security and has found a way to live with and deal with the emails. If you find a way that works for you that is different, please share and I’ll put it in the User Guide.

Right, and by me posting about it, I wanted to possibly get advice from other users on how they manage it. Still remember from a user perspective, this is the first time I'M having the issue that was getting crazy, so I reached out to only be shut down less then a few hours with one suggestion, being that I close a line of defence. I've posted on a bunch of issue boards and almost always there was a back and forth for each user with other users and staff to find solutions or to figure out it couldn't be fixed. Nothing against you or your code or anything, but it's the first time that I actually got shut up from any help board. I'm floored. And the best answer, well we headed it a million times so go figure it out yourself. Again, I'm new to this integration and the current version on this topic, that I could find, hasn't been brought up. Also it was working without much emails and then an explosion after the last few updates. So I figured maybe there's an issue in the codes end. I don't know, I use it not write it, hence bring my issue to "issues". You see the issues everyday, I don't have updates from the 11,000 or so users to update me or bring an issue to me.


Add support for trigger parameters

See #28
Need to finish it and make it part of next release

Done, see develop branch.


java capability not detected properly with Azul Zulu

Agent Version and Platform
Version of your agent? 2.144.0/2.144.1/...
2.136.1
If on-premises, which release? 2015.0, 2017.1, 2019 RC2, etc.
2018 Update 3
OS of the machine running the agent? Windows
What's not working?
Very similar to #2045 the TFS agent isn't finding an installation of the Zulu JDK.
The registry details are only being set in:
Software\JavaSoft\Java Development Kit\8.0.192

Same problem with me - agent does not detects Zulu JDK with latest https://github.com/Microsoft/azure-pipelines-image-generation/blob/aa536b6cdfac6b11f800b5f433820188275fa1c6/images/win/scripts/Installers/Install-JavaTools.ps1
In my situation, there is no JavaSoft key in registry at all, so https://github.com/Microsoft/azure-pipelines-agent/blob/c113d89607308107d663e3ff288be88faa66ec6b/src/Misc/layoutbin/powershell/Add-JavaCapabilities.ps1 will not advertise "Java" capability of agent.
It was spoiled by this change - https://github.com/Microsoft/azure-pipelines-image-generation/commit/38149278762aa6c7cc680e6ac6eeb6dd43c74169#diff-1f3c664485c5a6a60e79cead3612414f - when ant and maven have been installed without dependencies (as dependency was a JDK, which added correct registry records, while actually executed Java is from Zulu JDK)

The change on Microsoft/azure-pipelines-image-generation is the right fix, since we don't want to install Orcale JDKs on the hosted VMs. We are looking into the right way to detect Java capabilities on the agent but the recommended way is to set variables on the agent similar to the hosted VMs: https://github.com/Microsoft/azure-pipelines-image-generation/blob/38149278762aa6c7cc680e6ac6eeb6dd43c74169/images/win/scripts/Installers/Install-JavaTools.ps1#L51

So, I shall use setx java $latestJava8Install /M in my script? This would be enough to advertise that agent have Java installed?

I can confirm, that using setx java $latestJava8Install /M will make agent to see java capabilities

What's the status of this bug please? We've had several customers complaining that our SonarQube/SonarCloud extensions don't work correctly on their self-hosted Windows agents because they use a non-Oracle version of Java. We've pointed them to the manual workaround described in this thread, but I think it's fair to say they aren't happy about having to implement workarounds when setting up their self-hosted agents, particularly for a bug that is six months old.

Can confirm.  I just tried a new install of Azure DevOps Server 2019 Update 1.  Search failure on check.
C:\Users\Administrator>java --version
openjdk 11.0.4 2019-07-16 LTS
OpenJDK Runtime Environment Zulu11.33+15-CA (build 11.0.4+11-LTS)
OpenJDK 64-Bit Server VM Zulu11.33+15-CA (build 11.0.4+11-LTS, mixed mode)
Relevant part of Detailed Notes:
Java:
	IsJavaInstalled: True
	IsServerVersion: True
	Is64BitVersion: True
	JavaHome: C:\Program Files\Zulu\zulu-11\
	JavaVersion: 11.0.4

[Info   @11:44:55.380] Settings are not valid.

@TingluoHuang @madhurig
Hi there,
could you please inform us on the status of this issue? In our organisation, we also have this issue with the OpenJDK installations on our onprem agent servers.

Has this issue been fixed? Thanks.

I just wanted to add that this is not just Zulu that this occurs with but Open JDK as well.

I just wanted to add that this is not just Zulu that this occurs with but Open JDK as well.

Reopening this since it still seems to be actual
Zulu JDK adds path to the bin folder to the PATH environment variable - maybe we could just check if java is runnable during capability detection - as it is currently for linux/OSX in line.

The same goes with Adopt OpenJDK.
Another way for detection would be to mirror the JAVA_HOME variable if its present to JAVA.
Although this would not set the JDK variable.
Maybe some fallbacks would be nice:
Try the current way for detection (using registry), if this doesnt get a result, see if JAVA_HOME is set. If it is, clone to JAVA and see if we can detect somehow if its a JDK (maybe test for a command or binary)
My workaround for my custom Docker Agent image looks like this:
RUN choco install adoptopenjdk11 --params='/ADDLOCAL=FeatureMain,FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome /INSTALLDIR=C:\java\'

ENV JAVA C:\java\
ENV JDK C:\java\

Hi @cmdkeen @michha this issue has already been resolved in PR - have you tried this with latest agent version?

When installing Adopt OpenJDK11 (<IP_ADDRESS>0) and run the agent I see the following
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\agent> java -version
openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK-11.0.11+9 (build 11.0.11+9, mixed mode)
PS C:\agent> cd HKLM:\SOFTWARE\
PS HKLM:\SOFTWARE\> dir

    Hive: HKEY_LOCAL_MACHINE\SOFTWARE

Name                           Property
----                           --------
AdoptOpenJDK
Classes
Clients
DefaultUserEnvironment         Path : C:\Users\ContainerAdministrator\AppData\Local\Microsoft\WindowsApps;
                               TEMP : C:\Users\ContainerAdministrator\AppData\Local\Temp
                               TMP  : C:\Users\ContainerAdministrator\AppData\Local\Temp
dotnet
Microsoft
Node.js                        InstallPath : C:\Program Files\nodejs\
                               Version     : 16.8.0
ODBC
OpenSSH
Policies
RegisteredApplications
Setup
WOW6432Node

Comparing to code in Add-JavaCapabilities.ps1 there is no Software\JavaSoft path.
Adopt OpenJDK is using its own path:
PS HKLM:\SOFTWARE\AdoptOpenJDK\JDK\<IP_ADDRESS>\hotspot\> dir

    Hive: HKEY_LOCAL_MACHINE\SOFTWARE\AdoptOpenJDK\JDK\<IP_ADDRESS>\hotspot

Name                           Property
----                           --------
MSI                            Path                        : C:\java\
                               EnvironmentPath             : 1
                               EnvironmentPathSetForSystem : 1
                               JavaHome                    : 1
                               JavaHomeSetForSystem        : 1
                               Main                        : 1

PS HKLM:\SOFTWARE\AdoptOpenJDK\JDK\<IP_ADDRESS>\hotspot\>

@michha which pipeline agent version do you use?

2.191.1


:? not working as explained

Returns true if the value matches the specified type; otherwise, returns false (type test operator).
This is not true, because
let agnull = ArgumentNullException("")
let b = matchT<ArgumentException> agnull
then b is true

Edit by @billwagner to fix code formatting

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

ID: eda0064b-feb6-ccf5-b77c-92e59be17b0c
Version Independent ID: 7f789b6e-4f55-5740-2c2f-2dec4e2129fc
Content: Symbol and Operator Reference (F#)
Content Source: docs/fsharp/language-reference/symbol-and-operator-reference/index.md
Product: dotnet-fsharp
GitHub Login: @cartermp
Microsoft Alias: phcart

@luo4neck What is matchT?

Hmmm. I'm not sure why this is expected to be false. The code is effectively testing if an exn is an exn. The 'T is "viewed" as an exn as per the type constraint, and ex is an exn, hence the type test gives true. Since ArgumentNullException derives from Exception, it can parameterize matchT and an instance of an ArgumentNullException can be passed as input.

Not quite. As per your type constraint, 'T is any type that is also exn. Since an instance of exn is of type exn, the cast works.

@luo4neck I've updated the text to clarify that this also holds true for subtyping. The algebra of subtyping can be a bit confusing, but the behavior you've noted is indeed by design.


What is the correct approach for replacing a controlplane node

I have a control plane with 3 node, and i want to replace 1 node (say delete machine 1, create machine 4)
What is the correct procedure for doing this with a kube-vip control plane-load balancer?
Thanks in advance for help

I've just tested with the following, using cp2 (control plane node 2) as the one we remove.
k8s version 1.17.0 (I'll build a new cluster later)
vip <IP_ADDRESS>
cp1 <IP_ADDRESS>
cp2 <IP_ADDRESS>
cp3 <IP_ADDRESS>
cp4 <IP_ADDRESS>
Simply doing a poweroff of cp2 leaves this node as part of the cluster, including being part of the etcd endpoint list. This causes cp4 to fail with kubeadm join to fail as it tests endpoints.
If I start again (back to a working cluster) and ensure that cp2 is removed from the cluster and the etcd endpoints (kubeadm reset / etcd remove phase etc) are also removed.. then when I add cp4 in to the kube-vip it will only see the two remaining endpoints and will join the kube-vip cluster. It may take a little while for the raft algorithm to stabilise (the remaining leader of the vip will stay in charge however).

@yastij ^^
If I got this right, it seams that if node deletion is node properly, kube-vip removes delete nodes from the VIP

I've recently re-written Kube-vip for precisely the reasons above, In order to provide more resiliency and less confusion I first opted for the route of having kube-vip use client-go to monitor what was happening within the cluster (watching for both nodes with the control plane label, and then if running the kube-vip pod). This unfortunately introduced more instability into the cluster as changing the peers would usually result in the raft algorithm failing or leaving the cluster with no leader.
After this I decided to attempt to adopt a different method for managing HA within the cluster, this time using client-go and it's leaderElection feature. I've kept the same UX and so far this seems "rock solid" from a stability perspective.
Install
# First Node
sudo docker run --network host --rm plndr/kube-vip:0.1.6-election kubeadm init --interface ens192 --vip <IP_ADDRESS> --leaderElection | sudo tee /etc/kubernetes/manifests/vip.yaml

kubeadm init [....]

# Remaining Nodes

kubeadm join [...]
sudo docker run --network host --rm plndr/kube-vip:0.1.6-election kubeadm init --interface ens192 --vip <IP_ADDRESS> --leaderElection | sudo tee /etc/kubernetes/manifests/vip.yaml

Upgrades
From above we have a 3 node cluster and the controlPlane01 is leader:
$ kubectl logs -n kube-system kube-vip-controlplane01 -f
time="2020-07-04T15:12:52Z" level=info msg="Beginning cluster membership, namespace [kube-system], lock name [plunder-lock], id [controlPlane01]"
I0704 15:12:52.290420       1 leaderelection.go:242] attempting to acquire leader lease  kube-system/plunder-lock...
I0704 15:12:56.373113       1 leaderelection.go:252] successfully acquired lease kube-system/plunder-lock
time="2020-07-04T15:12:56Z" level=info msg="This node is assuming leadership of the cluster"
time="2020-07-04T15:12:56Z" level=error msg="This node is leader and is adopting the virtual IP"
time="2020-07-04T15:12:56Z" level=info msg="Starting TCP Load Balancer for service [<IP_ADDRESS>:0]"
time="2020-07-04T15:12:56Z" level=info msg="Load Balancer [Kubeadm Load Balancer] started"
time="2020-07-04T15:12:56Z" level=info msg="Broadcasting ARP update for <IP_ADDRESS> (00:50:56:a5:69:a1) via ens192"
time="2020-07-04T15:12:56Z" level=info msg="Starting TCP Load Balancer for service [<IP_ADDRESS>:0]"
time="2020-07-04T15:12:56Z" level=info msg="Load Balancer [Kubeadm Load Balancer] started"
time="2020-07-04T15:12:56Z" level=info msg="Broadcasting ARP update for <IP_ADDRESS> (00:50:56:a5:69:a1) via ens192"
time="2020-07-04T15:12:56Z" level=info msg="new leader elected: controlPlane01"

We will kill this node and watch kube-vip logs from another node:
Pinging VIP
64 bytes from <IP_ADDRESS>: icmp_seq=667 ttl=64 time=0.387 ms
Request timeout for icmp_seq 668
Request timeout for icmp_seq 669
Request timeout for icmp_seq 670
Request timeout for icmp_seq 671
Request timeout for icmp_seq 672
64 bytes from <IP_ADDRESS>: icmp_seq=673 ttl=64 time=0.453 ms

Logs
$ kubectl logs -n kube-system kube-vip-controlplane03 -f
time="2020-07-04T15:17:53Z" level=info msg="Beginning cluster membership, namespace [kube-system], lock name [plunder-lock], id [controlPlane03]"
I0704 15:17:53.484698       1 leaderelection.go:242] attempting to acquire leader lease  kube-system/plunder-lock...
time="2020-07-04T15:17:53Z" level=info msg="new leader elected: controlPlane01"
E0704 15:20:18.864141       1 leaderelection.go:331] error retrieving resource lock kube-system/plunder-lock: etcdserver: request timed out
time="2020-07-04T15:20:20Z" level=info msg="new leader elected: controlPlane02"

Adding controlPlane04
A kubeadm join will fail as the controlPlane01 still exists as an endpoint, so we have two options (manual steps and configmap edit to remove all mention of this node, or we can bring this node up and kubeadm reset the node (which we will do)).
$ kubectl get nodes
NAME             STATUS     ROLES    AGE   VERSION
controlplane01   NotReady   master   14m   v1.17.0
controlplane02   Ready      master   13m   v1.17.2
controlplane03   Ready      master   13m   v1.17.0
controlplane04   NotReady   master   9s    v1.17.0

After this we can add this node into kube-vip with the same manifest created by docker run.

@fabriziopandini Is this OK to close?

@thebsdbox sorry for the late answer
If I got this right this works for me. I leave the final world to @yastij which is actively testing this in CAPV

@thebsdbox shouldn't kubeadm join always be successful if a quorum of the control plane is online? it seems wierd that this does not work.

@schmitch A control planekubeadm join is successful if an existing control plane is online AND healthchecks for etcd are fine. My point above is to ensure that when we remove a node, we also need to ensure it's removed as an etcd endpoint too.

I'll close this as this approach is now being used in CAPV 0.70


Add more clarify on how reclaimWithinCohort interacts with fair sharing

What type of PR is this?

/kind documentation
What this PR does / why we need it:

Clarifies API docs for reclaimWithinCohort 'if the pending Workload fits within the nominal quota' wording.
Makes it more obvious in concept docs that fair sharing works in addition to the preemption policies set.

Which issue(s) this PR fixes:

Fixes #3286
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

/ok-to-test

Thanks!
/lgtm
/approve

/cherry-pick website
As it might be useful for some users before 0.9 is released.

@avrittrohwer could you check if the conflicts are easily fixable, if so, then feel free to create the cherry-pick manually. You can use the script: ./hack/cherry_pick_pull.sh for that.

@avrittrohwer could you check if the conflicts are easily fixable, if so, then feel free to create the cherry-pick manually. You can use the script: ./hack/cherry_pick_pull.sh for that.

https://github.com/kubernetes-sigs/kueue/pull/3294


Consider Adding Default Value In Decoder.decode(enumArrayForKey:)

I try to map a JSON to an array of enums for which I know all cases today. But the cases can grow in number in the future. With your implementation of Decoder.decode(enumArrayForKey:) it will break the mapping in future when the backend guys add more cases and an unknown case finds its way in the JSON.
I need a functionality that parses all cases that are known in the resulting array. Cases that are unknown should be left out or replaced by a `default value.
Currently you just return nil when you find ONE case that is not supported and you ignore all other cases that can be mapped eventually. I would suggest du replace the line https://github.com/hkellaway/Gloss/blob/b74479da70128ef17cfb1440108ca85e7ee4189e/Sources/Decoder.swift#L274 by continue and add the optional defaultValue if it can be unwrapped.
The following solutions strips unknown cases:
func decodeMyEnum(key: String, json: JSON) -> [MyEnum] {

    let raw = (json.valueForKeyPath(keyPath: key) as? [String])
    let values = raw?.flatMap { MyEnum(rawValue: $0) } ?? []
    return values
}

This in generic would be awesome 🙃

For all types, Gloss returns nil in the case there was an issue parsing the indicated value
(see https://github.com/hkellaway/Gloss/issues/189). Changing this just for enum arrays would make the behavior different in only this one case
If a different behavior is needed specific to your application, you can create custom functions like the one indicated

YES that’s true but I can partially initialize my objectors and this that should be possible for meins too. You wouldn’t break anything if you’d provide a optional default value so everybody can feel free to throw in an .unknown value as default that is set for the unknown cases. If it is not provided ( the default ) the user will get the same behavior as today.
I understand that you want to keep everything consistent. But I didn’t expect that I don’t receive any enum case, even not the ones I know.

reading this is seems like one would always get an array of values or an empty array - and to maintain the same behavior as today, it would have to return nil, not an empty array
can you provide an example of the usages you're referring to - one with a default and one without? i'm not sure i fully understand

Concretely I mean the following:
import Foundation
// JSON:
// {
//     "cases": ["first", "third"]
// }
enum MyEnum: String {
case unknown
case first
case second
}
public static func decode<T: RawRepresentable>(enumArrayForKey key: String, keyPathDelimiter: String = GlossKeyPathDelimiter, defaultValue: T? = nil) -> (JSON) -> [T]? {
return { json in
    if let rawValues = json.valueForKeyPath(keyPath: key, withDelimiter: keyPathDelimiter) as? [T.RawValue] {
        var enumValues: [T] = []

        for rawValue in rawValues {
            guard let enumValue = T(rawValue: rawValue) else {
                guard let defaultValue = defaultValue else {
                    return nil
                }
                enumValues.append(defaultValue)
                continue
            }
            enumValues.append(enumValue)
        }
        return enumValues
    }
    return nil
}

}
// Will result in an array returned which will contain known cases and the default value for all cases that could not be parsed, i.e. are unknown.
let parsedCasesWithDefaultValue = Gloss.Decoder.decode(enumForKey: "key", defaultValue: .unknown)(json)
// Will represent the current behaviour, i.e. returning nil when one case is unknown
let parsedCasesWithoutDefaultValue = Gloss.Decoder.decode(enumForKey: "key")(json)
This way you can support both behaviours. Does this make sense?

ah yes, i see what you're saying - that's neat. should probably have the same functionality for just an enum as well as the array variety
would you be able to create a PR with that functionality along with tests?

Apparently I have currently no time for this. As you said I simply have written my own function for this.


Form input is masked

I have an form with a ui-percentage-mask, when i sent the form the value of the field is 10 % and not 0.1.
When I use the inspector is see that the form value attribute is correct eg 0.1
I use the latest version and  AngularJS v1.5.8

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38013390-form-input-is-masked?utm_campaign=plugin&utm_content=tracker%2F1022469&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1022469&utm_medium=issues&utm_source=github).

Can you provide a small and reproducible example of your problem?


Encode Message into raw format

Message provides API to create armored message, but otherwise there seems to be no way to create raw bytes message that can be decoded using https://docs.rs/pgp/0.13.1/pgp/composed/trait.Deserializable.html#method.from_bytes
While it might be not a priority but it would be convenient to create Gnu GPG like messages (since this format is default one)

I think you want to serialize a Message in binary format (not ascii armored).
You can do that like here by using Message::to_writer.

Ah I see, it was separate trait, not part of Message API...
My bad, traits are kinda bad for public visibility 🙇
On side note, is there way to correctly apply compression on encrypted message?
Should I compress then encrypt or vice versa? 🤔

On side note, is there way to correctly apply compression on encrypted message?
Should I compress then encrypt or vice versa? 🤔

Encrypted data has high entropy and is thus effectively impossible to compress. If there is any hope of "making your data smaller", it needs to be compressed before encryption.


Revert some minor changes

Unquoted ${PKG_INSTALL} and ${UPDATE_PKG_CACHE} as they seem to hang the script if quoted.
Removed this code as set -e is not used in the test branch and even if it were used, the script would exit if debconf-apt-progress's exit code is NOT 100 (which is the case when no errors occur, exit code 0).
vpnGw="${pivpnNET/.0/.1}" turns <IP_ADDRESS> into <IP_ADDRESS> however we need <IP_ADDRESS> so vpnGw="${pivpnNET/.0.0/.0.1}" is used.
Create folder /var/lib/openvpn
Removed code path related to OLD_UFW, originally used for jessie compatibility
Other trivial changes
@corbolais what do you think?

regarding set -e in test: good catch

the script would exit if debconf-apt-progress's exit code is NOT 100 (which is the case when no errors occur, exit code 0)

true. ACK.
Intention was: do NOT exit on return code 100. I got reproducibly ERR 100 but installation and configuration went fine. So, when installing on bullseye/sid the installation of pivpn will simply drop out. That's why for this distribution version a condition is required.

vpnGw="${pivpnNET/.0/.1}" turns <IP_ADDRESS> into <IP_ADDRESS> however we need <IP_ADDRESS> so vpnGw="${pivpnNET/.0.0/.0.1}" is used.

That is strange. I must have tested this but inserted something else. You are right, of course.

Create folder /var/lib/openvpn

Good idea. But just omit --no-create-home rather than use mkdir.

Unquoted ${PKG_INSTALL} and ${UPDATE_PKG_CACHE} as they seem to hang the script if quoted.

Just merge your change. I think this was a shellcheck issue. I'll have a look at it at some point. Would you mind adding a FIXME for me as a reminder at the top of the file?

scripts/openvpn/pivpnDebug.sh: use pivpnNET/subnetClass instead of IP/24

I'm not sure how this got left out: https://github.com/pivpn/pivpn/pull/882/commits/c20e7d21502044c2dc80e80504405c98e78668b5#diff-299d9b30c952310aace4aba77c698874L1435 . Good catch.

server_config.txt: Good catch, again.

scripts/uninstall.sh: rm -rf Are those really directories? Also, I'm wondering whether it's a good idea to remove old configs or certs (ovpns). Maybe the user needs those but wants to just remove the service or cleanly reinstall it? Touching user's stuff is touchy..

Thank you.

Intention was: do NOT exit on return code 100. I got reproducibly ERR 100 but installation and configuration went fine. So, when installing on bullseye/sid the installation of pivpn will simply drop out. That's why for this distribution version a condition is required.

Without set -e (default case) it should not exit.

scripts/openvpn/pivpnDebug.sh: use pivpnNET/subnetClass instead of IP/24

I changed uninstall.sh to get started. Will do all other scripts that have /24 hardcoded later. subnetClass, pivpnDEV, pivpnNET, vpnGw could be sourced from setupVars.conf

scripts/uninstall.sh: rm -rf Are those really directories? Also, I'm wondering whether it's a good idea to remove old configs or certs (ovpns). Maybe the user needs those but wants to just remove the service or cleanly reinstall it? Touching user's stuff is touchy..

https://github.com/pivpn/pivpn/blob/ca11f796293fed333b984362325fb9e16742cd7b/auto_install/install.sh#L1401
https://github.com/pivpn/pivpn/blob/ca11f796293fed333b984362325fb9e16742cd7b/auto_install/install.sh#L1403
https://github.com/pivpn/pivpn/blob/ca11f796293fed333b984362325fb9e16742cd7b/auto_install/install.sh#L1268
If we delete those three directories it makes little sense to retains the client certs and configs, they can't be used anymore.

Intention was: do NOT exit on return code 100. I got reproducibly ERR 100 but installation and configuration went fine. So, when installing on bullseye/sid the installation of pivpn will simply drop out. That's why for this distribution version a condition is required.

Without set -e (default case) it should not exit.

Well then, OK.

scripts/openvpn/pivpnDebug.sh: use pivpnNET/subnetClass instead of IP/24

I changed uninstall.sh to get started. Will do all other scripts that have /24 hardcoded later. subnetClass, pivpnDEV, pivpnNET, vpnGw could be sourced from setupVars.conf

scripts/uninstall.sh: rm -rf Are those really directories? Also, I'm wondering whether it's a good idea to remove old configs or certs (ovpns). Maybe the user needs those but wants to just remove the service or cleanly reinstall it? Touching user's stuff is touchy..

https://github.com/pivpn/pivpn/blob/ca11f796293fed333b984362325fb9e16742cd7b/auto_install/install.sh#L1401
https://github.com/pivpn/pivpn/blob/ca11f796293fed333b984362325fb9e16742cd7b/auto_install/install.sh#L1403
https://github.com/pivpn/pivpn/blob/ca11f796293fed333b984362325fb9e16742cd7b/auto_install/install.sh#L1268
If we delete those three directories as well as openvpn.conf and wg0.conf it makes little sense to retain the client certs and configs, they can't be used anymore.

So, keep them alltogether. Most likely, we should ask what the user wants us to with them, anyway: Keep || do them away. This is true for any such stuff as rm stuff, fw rules included. But most importantly, discarding user stuff that cannot be restored or recreated is a big nono, IMO. If unsure, let the user clean up on it's own. That way nothing is lost, on our behalves, at the least.

I changed uninstall.sh to get started. Will do all other scripts that have /24 hardcoded later. subnetClass, pivpnDEV, pivpnNET, vpnGw could be sourced from setupVars.conf

Perfect.
vpnGw would be a candidate for setupVars.conf only if it is customizable and actually implemented in the scripts that way, wouldn't it? Otherwise we'd just derive it from pivpnNET.
Ideally, pivpn would verify identity between settings in setupVars.conf and the actual system configuration, i.e. interfaces, network, netmask, iptables rules etc. That way, we wouldn't be scrapping the users' manual modifications, potentially rendering systems, networks and businesses inoperable. Verify and yell the discrepancies at the user for them to be checked and resolved.

So, keep them alltogether. Most likely, we should ask what the user wants us to with them, anyway: Keep || do them away.

I mean, take the openvpn server. If we remove the easy-rsa folder, which contains the public key infrastructure, the .ovpn files simply can’t be used because the certificates inside refer to the cerificates in the pki. Same with wireguard. If you delete the server config, which contains public/private keys, then client configs are useless. So why keep them anyways?

This is true for any such stuff as rm stuff, fw rules included.

In my opinion, the uninstall script should undo all changes to the system the install script did. What do you think an uninstall script should do?

vpnGw would be a candidate for setupVars.conf only if it is customizable and actually implemented in the scripts that way, wouldn't it? Otherwise we'd just derive it from pivpnNET.

Apart from subnetClass, all of the above variables can just be derived from the VPN variable. However if we decide not to hardcode CIDRs inside the script it makes sense to me to derive them once and source them in all script that use them (look at the openvpn and wireguard folder).

Ideally, pivpn would verify identity between settings in setupVars.conf and the actual system configuration, i.e. interfaces, network, netmask, iptables rules etc.

Good idea

So, keep them alltogether. Most likely, we should ask what the user wants us to with them, anyway: Keep || do them away.

I mean, take the openvpn server. If we remove the easy-rsa folder, which contains the public key infrastructure, the .ovpn files simply can’t be used because the certificates inside refer to the cerificates in the pki. Same with wireguard. If you delete the server config, which contains public/private keys, then client configs are useless. So why keep them anyways?

I mean, at least ask and double-check whether the user really intents us to unlink her certs and stuff. I personally prefer having the "old" certs around in a versioned/dated backup-directory for some time longer. It happens that someone only realises the need after days/weeks passed by.

This is true for any such stuff as rm stuff, fw rules included.

In my opinion, the uninstall script should undo all changes to the system the install script did. What do you think an uninstall script should do?

:-D
My point is, we should verify whether what we rm is definitely our stuff and nothing handled by the user. I'd prefer having stuff left around in case. Nothing worse than rm'ing stuff only to realize, wait a minute, where did xy end up!?
Take for example a fw rule: we should verify user doesn't really need it any longer. Ask. Verify it's really the rule we installed etc. Same with files. If in doubt, leave the cruft and tell the user we leave it on purpose because it seems like it's something she might need (maybe).

vpnGw would be a candidate for setupVars.conf only if it is customizable and actually implemented in the scripts that way, wouldn't it? Otherwise we'd just derive it from pivpnNET.

Apart from subnetClass, all of the above variables can just be derived from the VPN variable. However if we decide not to hardcode CIDRs inside the script it makes sense to me to derive them once and source them in all script that use them (look at the openvpn and wireguard folder).

Yes, that's a way. If we verify stuff anyway, we can dump all config in setupVars.conf. Sure thing.

I mean, at least ask and double-check whether the user really intents us to unlink her certs and stuff. I personally prefer having the "old" certs around in a versioned/dated backup-directory for some time longer. It happens that someone only realises the need after days/weeks passed by.

OK

:-D
My point is, we should verify whether what we rm is definitely our stuff and nothing handled by the user. I'd prefer having stuff left around in case. Nothing worse than rm'ing stuff only to realize, wait a minute, where did xy end up!?

Take for example a fw rule: we should verify user doesn't really need it any longer. Ask. Verify it's really the rule we installed etc. Same with files. If in doubt, leave the cruft and tell the user we leave it on purpose because it seems like it's something she might need (maybe).
Yes delete stuff but make sure that it's actually what pivpn added. We could "watermark" files and configs (for example specific file name, disclaimer inside config files, iptables rule comment).

Yes delete stuff but make sure that it's actually what pivpn added. We could "watermark" files and configs (for example specific file name, disclaimer inside config files, iptables rule comment).

That's a good point!


add kernel installation description

Добавил 3 строчки о том, как поставить в кернел кэггла

already fixed in https://github.com/albu/albumentations/pull/221 which was merged previously. thanks for cooperation


Grunt exit code of zero even when tests fail

Grunt always returns from a set of QUnit tasks with an exit code of 0, even if some assertions fail.
Personally, I find this strange - I want a non-zero exit code if tests fail, and a zero code if they all pass.
Implementing this is easy (pull request #85 ), by passing the results information back through the done() callback in the task, but has the side-effect of breaking the tests for the module itself.
I can't (currently) think of a way to test the noglobals support without a purposely failing test, so I'm adding this issue to ask what the developers think.

Fixed in 8012c24ec96e0510fa36e07e445bb30ef62750cd.


Golang: Make sure 'syncsettings()' succeeds before the client startup

Make sure 'syncsettings()' succeeds before the client startup

done in
https://github.com/apache/rocketmq-clients/pull/161/commits/f9438cbb1fe80671a09ede4fc8a2f485fc0b5fb9

@aaron-ai Can we close this issue or is there some work to do here?


HIP 113: Reward CBRS As Experimental

HIP 113: Reward CBRS As Experimental

Author(s): @rawrmaan
Start Date: 2024-02-29
Category: Economic
Original HIP PR: #924
Tracking Issue: #934
Vote Requirements: veMOBILE Holders

Summary
This Helium Improvement Proposal (HIP) suggests adjusting Proof-of-Coverage (PoC) rewards for CBRS radios to reflect their limited utility and experimental status on the network.
Related Prior HIPs

HIP 74 established modeled coverage for the MOBILE subDAO.
HIP 85 changed the limit of outdoor radios eligible for PoC rewards from 5 to 3, and introduced ranking multiplier.
HIP 93 introduced the addition of Wi-Fi Access Points and certain limitations.
HIP 101 proposed increasing Wi-Fi coverage points by 1.5x (indoor) and 2.5x (outdoor), but failed to pass a vote.

Disclosure: Please note that this HIP is written by a Board Member of the Helium Foundation solely in a personal capacity. The Foundation was not involved in the drafting of the proposal and has taken no formal position for or against the HIP as of the date of drafting.
Rendered View
https://github.com/helium/HIP/blob/main/0113-reward-cbrs-as-experimental.md

HIP 113 was approved by the community on 11th April 2024 with a passing rate of 76.56%
https://heliumvote.com/mobile/proposals/H5aXfJM1pondipHqVrA2xCs2g2er5CSj854e6zdsnAbn


Fix authentication for nexusStaging

Coverage remained the same at 69.135% when pulling 99bca17c5da30239cd10eecfeabd76f841fc36e6 on jegasmlm:master into 92d9e3eff3b19869c5319cac29b586422f938f30 on kusanagi:master.


[Autocomplete][joy] Specify type attribute for popup indicator

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

Closes https://github.com/mui/material-ui/issues/35646
Problem:

When Autocomplete is warpped with HTML <form>, popup indicator button submits the form on press.

Solution:

Specify type attribute to 'button' for popup indicator fixes the issue.

Codesandbox Before: https://codesandbox.io/s/keen-satoshi-ljygoh
Codesandbox After: https://codesandbox.io/s/upbeat-shadow-khhqg1

The clearIndicator should also specify type: 'button to avoid triggering the submit action in a form.


Isolate Oauth2 code under ArcGisAccessClient

Create new MapLayersAccessClient interface that will be used to encapsulate all authentication logic of map layers formats (i.e. ESRI's Oauth2 ).
A MapLayersAccessClient implementation can be set for each maplayer format in the MapLayerFormatRegistry.  This allow external package, or in this case the maplayers package, to enable the Oauth2 functionality while keep specialized code outside core package.
IMPORTANT: ArcGisAccessClient and other OAuth2 related classes are still part of core-frontend, but will be moved in the maplayers package once this designed is approved.

@calebmshafer @pmconne Please comment.

will be moved in the maplayers package

Today the map-layers package is a UI package with lots of dependencies. That doesn't seem like the right place for map layer access clients. Would it make more sense to deliver access clients via extensions?

will be moved in the maplayers package

Today the map-layers package is a UI package with lots of dependencies. That doesn't seem like the right place for map layer access clients. Would it make more sense to deliver access clients via extensions?

@pmconne I agree that they should be split out from the UI but not sure Extensions will be that correct split. At least initially.

@calebmshafer please elaborate. Injecting support for a data source not natively supported by core seems like a perfect use case for extensions.

@calebmshafer I created a new maplayers-auth package, can you have a quick look and confirms that good.  Also I wasn't sure I should create an empty CHANGELOG.json file


Update docs for the CLI and keytool import command

Description
Updates docs related to the keytool import CLI command.
Test Plan
No need for tests.

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[ ] protocol change
[ ] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes
Updates docs related to the keytool import CLI command.

Thanks, Stefan! Just noted a style guide thing.

My pleasure. Fixed the style issue and it's ready to merge when the CI is done! Thanks @joyqvq and @ronny-mysten.


Export format options, accept different import formats, fixes #63

Options "exportAsEs6Default" and "exportAsDefault" work the same way as in html-loader.

Also could you add a test please.

About the test: How do they work?
Just "npm run test" and then open test/index.html in the browser and look at the console?
Currently for me two of the console.log() statements in test/src/entry.js throw an exception anyway.
How do I test ES6 imports at all?

Is this still not working?
no support for type script?

Anything happening here?

@WearyMonkey hello?
@eekboom why did you remove your repository?


Remove --upgrade, --no-upgrade, and --upgrade-package from uv tool upgrade

Summary
--upgrade isn't useful, since it's the default. So it's now hidden, but continues to warn if you enable it.
--no-upgrade isn't useful, since it panics. So it's now removed entirely. This isn't breaking, since it already didn't work.
--upgrade-package actually is useful, because it turns out it allows things like: uv tool upgrade babel --upgrade-package "babel<0.2.14" to constrain the upgrade.
I left this in place but hid it... I think we should provide a better workflow for this, like uv tool upgrade "babel<0.2.14"? It's strange to specify the package twice, and that uv tool upgrade has an --upgrade-package flag.
Closes https://github.com/astral-sh/uv/issues/9317.

Do you think the changes themselves make sense? It's tricky, I wasn't sure.


Feature: Make host instance restart less verbose

Make host instance restart build output less verbose, restarting instead of every start/stop
This work item was migrated from CodePlex
CodePlex work item ID: '10574'
Assigned to: 'tfabraham'
Vote count: '1'

[UnknownUser@3/28/2014]
Resolved with changeset 74785: Make host instance restart output less verbose (#10574)


[Question] Is it possible to configure GROBID to ignore invisible/hidden text somehow?

Is it possible to configure GROBID to ignore invisible/hidden text somehow? Those things are obviously invisible to humans, but they are visible for GROBID. I am also wondering about the case where two bits of text have overlapping coordinates, etc.

Hi @andrei-volkau
Invisible text is currently processed as "normal" text indeed.
Knowing that a text is invisible is not explicit in a PDF. We would need first to introduce some recognition of this "layout feature" for instance in pdfalto - so recognize that we have white font on white background, or that the font is microscopic, or that there is a mask on top of the text, ... I've never tried to do that, but it's certainly doable.
Then we could think about how to manage it in Grobid, likely just ignoring it? It's usually some sort of hidden watermark put by the publisher with the idea to help enforcing their copyrights. I already find the config and parameters too heavy in Grobid, I don't really like the idea to add more... it's time consuming to maintain and slow down other development efforts.
Overlapping text is different I think. It's a super frequent and normal stuff in PDF (character composition for diacritics, formula, figures). The case of overlapping unreadable text is very rare and it could be complicated to distinguish it from the the usual "technical" overlapping.

Hi @kermitt2 !
Many thanks for addressing the question in a comprehensive way. I am closing it. Thank you.


Type parameters as constraints dosen't work for methods

PR https://github.com/Microsoft/TypeScript/pull/5949 implements F-bounded polymorphism. It doesn't seem to be working correctly for methods.
interface Table<T> {
  // For this method `T` is apparently a brand new type parameter.
  insert<T extends U, U>(obj: U): T;
  // insert(obj: any)
}

interface Foo {
  a: string;
  b: string;
}

let Foos: Table<Foo>;

// `foo1`'s type is inferred to be {a: 1}
let foo1 = Foos.insert({a: 1}) // => ;

// Should produce error
let foo2 = Foos.insert({c: 1});

This is by design. As you mention in your comment, your insert method introduces a new (and unused) type parameter called T that is constrained to extend U, but there is no constraint on U itself. I'm guessing you're trying to express that U must be a supertype of T. That's not currently possible, but there is some discussion of that issue in #6613.


Platform.OS == 'ios' is not working

Description
Platform.OS is not working for iOS
Version
0.63.3
Output of npx react-native info
info Fetching system and libraries information...
System:
OS: macOS 12.1
CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
Memory: 388.05 MB / 8.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.16.0 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 6.14.11 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3
Android SDK: Not Found
IDEs:
Android Studio: 2020.3 AI-203.7717.56.2031.7935034
Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild
Languages:
Java: 11.0.10 - /usr/bin/javac
Python: 2.7.15 - /usr/local/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: 0.63.3 => 0.63.3
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
if(Platform.OS === 'ios') console.log(Platform.OS)
Snack, code example, screenshot, or link to a repository
No response

Yes , Platform.OS is not working for iOS

Yes, Platform.OS is not working for iOS.

Simply reporting in, no issues with it on 0.66.3.

same


Fix what out patients say section for mobile screen

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description

Use Case
It should be fixed to improve the experience
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

/assign

@varshith257
Kindly reivew this its been 1 week


Implement HTML5 audio playback in lime.audio.AudioSource

Not going to track TODO items as issues :smile:


Adding link to Redis tutorial

This PR simply adds a link to the existing Redis tutorial. I also tweaked the verbiage of the Mongo link.

:warning: Validation status: warnings

File
Status
Preview URL
Details

node-sandbox/docs/TOC.md
:warning:Warning

Details

node-sandbox/docs/TOC.md

[Warning] Invalid file link:(~/).

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

:warning: Validation status: warnings

File
Status
Preview URL
Details

node-sandbox/docs/TOC.md
:warning:Warning

Details

node-sandbox/docs/TOC.md

[Warning] Invalid file link:(~/).

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


[feature request] Check if iterator in v-for is first or last

I need to check if iterator in v-for is first/last.
Example:

{{key}} - {{val}}

array: {'key1': 'value1', 'key2': 'value2'}

No problem if array/object keys are numeric (from 0).
/vue 2

For non-numeric keys there is no notion of order, so there's no first or last element.
You can easily achieve this by converting your data into a numerically-keyed array in a computed property.

First, as @simplesmiler pointed out, there's no guaranteed key iteration order for Objects. The notion of "first" can also depend on how your keys are named, so the implementation is dependent on your use case.
I'd suggest just create custom methods like isFirst and use it like this:


Dw tweaks polish

Minor tweaks

button now applies class when active to disinguish it from others
remove unused variable

@DanielLyleWilliamWarren - Is this still content we want to get merged in?  Looks like there is a cypress error (possibly a red herring) and (now) a merge conflict with develop but hopefully not too much to resolve?

can this be revived @DanielLyleWilliamWarren ?

can this be revived @DanielLyleWilliamWarren ?

Looking into it now


RuBisCO assembly, alter existing term GO:0110102 definition

Hello,
There is a term for the assembly of chloroplast RuBisCO (GO:0110102), but I can't use it as I am annotating cyanobacterial RuBisCO. Therefore I would either like to have non-organism specific term for its assembly, or a more economical solution, remove mention of chloroplasts from GO:0110102 and then it can be used for RuBisCO from any organism please. The latter makes more sense to me; there are other plastid types that have RuBisCO (cyanelles and organellar chromatophores, but I don't see the point of making organelle-specific assembly terms for them), and other non-cyanobacteria have RuBisCO too (although they may not need assembly factors). GO:0110102 does not have any child terms, so they are not a problem.
So I suggest altering the definition to: "The aggregation, arrangement and bonding together of a set of components to form a ribulose bisphosphate carboxylase complex.". PMID 29589905 reviews both plastid (chloroplast) and cyanobacterial RuBisCO assembly.
Thanks,   Andrea

Hi @AndreaAuchincloss
This makes sense to me. @ukemi & @cmungall - Do you have any objection to changing the existing term for chloroplast ribulose bisphosphate carboxylase complex assembly to a general term for assembly of any ribulose bisphosphate carboxylase complex. RuBisCo and its assembly pathway seem to be highly conserved, so while having multiple complex terms allows us to specify the different locations of Rubisco in plants versus cyanobacteria, it looks to me like the assembly pathway is fairly similar, so it makes sense to me to just have one assembly term. @AndreaAuchincloss - please chime in if I misunderstood anything in my brief reading of the review you mentioned (PMID 29589905).
-- ribulose bisphosphate carboxylase complex
--- chloroplast ribulose bisphosphate carboxylase complex
--- chromatophore ribulose bisphosphate carboxylase complex
---- plasma membrane-derived thylakoid ribulose bisphosphate carboxylase complex

No objection here.


Refactor constants to use arrays

This pull request refactors the constants in the code to use arrays instead of individual variables. This allows for easier management of multiple plugin and theme channels and servers.

#not-tested-only-built

Really unfortunate timing 💀


Compilation Error from install_git

Hi,
Thanks for this awesome package !
When I try to install xgboost using the command: devtools::install_git('git://github.com/dmlc/xgboost',subdir='R-package'), the compilation fail with an error: xgboost_R.cc:2:26: fatal error: dmlc/logging.h: No such file or director
Best
C.

Try to install from drat repo instead, follow instruction here https://github.com/dmlc/xgboost/tree/master/R-package

Thanks,
Finally I forked it. And compile directly on my own computer. Works fine.
C.


Update Dockerfile build + docker run args

Trying to fix https://github.com/workbenchapp/solana-workbench/issues/26 and https://github.com/workbenchapp/solana-workbench/issues/45 as well as consolidate Docker image build from bespoke manual way I've done it previously

to build the image from the root dir:
$ cd docker/solana && docker build -t cryptoworkbench/solana .

This still doesn't work with solana program deploy from your local Mac unfortunately but I wanted to get it up