cmd/cue: yaml import indents multiline string values incorrectly

Using cue import on the following YAML:
a:
  a:
    a:
      a:
        a: |
            This should be indented more.
      b: 1
    b: 1
  b: 1

results in the following cue. The multiline string should be indented at the same level as its parent element:
a: {
	a: {
		a: {
			a a: """
		This should be indented more.

		"""

			b: 1
		}
		b: 1
	}
	b: 1
}

This is doable, but the question is wether it should. If the strings get too long, I think it is better to not have them match the parent indentation.
But up for debate.

This issue has been migrated to https://github.com/cue-lang/cue/issues/122.
For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.


Can i simultaneous use ssr and ssg in nuxt3.我可以同时使用ssr和ssg吗

Describe the feature
I dont know how to simultaneous use ssr and ssg. In my project, some page need ssg, and some page need ssr. I overviewed docs, bug cant find some infomation useful. Then i try Configure nitro.prerender and excuted npm run generate, after that i excuted npm run build and start nuxt server. I found, after npm run generate, some static files like html、js and css were created in /dist, but after npm run build, them were overwrited. How can I resolve this problem.
我想要在项目中实现一部分页面使用ssr渲染，一部分页面做ssg静态化，我可以实现这样的配置吗（这里还有另一个问题，我发现我配置nitro.prerender没有生效，它会给我所有页面都执行静态化操作，了解的兄弟说下可能是啥原因），我发现我生成静态站点之后如果再npm run build再进行打包，会把原来静态化出来的静态文件给覆盖。

In my case, /view/article, /view/community and  /view/dataplatform, these pages or there subpages need ssr, and others need ssg. Does Nuxt3 support it? Or How I can configure it.
/view/article, /view/community and  /view/dataplatform这些页面及其子页面我想实现ssr渲染，但是其他页面我希望实现ssg静态化，我应该如何配置...nuxt3支持这么干吗...，我这么配置npm run generate给我静态化了所有页面(nitro.prerender未生效)，然后出现了一堆接口访问错误，这个有老哥知道哪里配置错了吗
Additional information

[ ] Would you be willing to help implement this feature?
[ ] Could this feature be implemented as a module?

Final checks

[X] Read the contribution guide.
[X] Check existing discussions and issues.

Pre-rendering should happen when building your application via nuxt build.

(Config:)
export default defineNuxtConfig({
  nitro: {
    prerender: {
      routes: ['/a', '/b']
    }
  }
})


Cypress e2e Testing: Improve Select Box

[x] I have searched the issues of this repository and believe that this is not a duplicate.
Summary 💡
The Select-Box has some real weird behavior when trying to make an e2e test with Cypress (which is used quite common nowadays). There exist some still open questions on stackoverflow (e.g. https://stackoverflow.com/questions/65363508/how-to-trigger-material-ui-select-in-cypress => the suggested solution does not work) regarding this issue.
The problem is, that it is almost impossible to open the select options when using Cypress (I know you can also just use the native selectbox, but we want to use the nice Material UI select box and this one is really cumbersome to deal with....).
Of course I am aware of the generated HTML and that we don't have a real HTML-select under the hoods, and that we must perform some manual querying of the proper HTML elements for firing the appropriate events.
I am aware of the quite common mistake of firing a click-event instead of firing a mousedown-event, but after all that is not really the point. It is more a problem in the interaction between Cypress and Material UI itself.
I will give you some examples below, that hopefully illustrate my issue:
Examples 🌈
Let us take this very simple Select-Box (slightly modified from the official MUI docs) as an example to elaborate on:
function TestComponent() {

  const [age, setAge] = React.useState('');
  const handleChange = (event: React.ChangeEvent<{ value: unknown }>) => {
    setAge(event.target.value as string);
  };

  return (
    <Box>
      <FormControl>
        <InputLabel id="demo-simple-select-helper-label">Age</InputLabel>
        <Select
          labelId="demo-simple-select-helper-label"
          id="demo-simple-select-helper"
          value={age}
          data-testid={"demo-simple-select-helper-id"}
          onChange={handleChange}
          SelectDisplayProps={{
            // @ts-ignore
            "data-testid": `demo-simple-select-helper-data-testid`
          }}
        >
          <MenuItem value="">
            None
          </MenuItem>
          <MenuItem data-testid="ten" value={10}>Ten</MenuItem>
          <MenuItem value={20}>Twenty</MenuItem>
          <MenuItem value={30}>Thirty</MenuItem>
        </Select>
        <FormHelperText data-testid={"demo-simple-select-helper-value"}>Selected option is {age}</FormHelperText>
      </FormControl>
    </Box>
  );
}

The goal is to programmatically open the select options and select e.g. the value of "30".
I wrote a simple unit test with the react testing library, which works:
test("should open select box and select an option", async () => {
  const { getByTestId, getByRole } = render(
    <TestComponent />
  );

  expect(getByTestId("demo-simple-select-helper-value")).toHaveTextContent("Selected option is");
  const selectBtn = getByTestId("demo-simple-select-helper-data-testid");
  fireEvent.mouseDown(selectBtn);

  const listbox = within(getByRole('listbox'));
  fireEvent.click(listbox.getByText(/thirty/i));

  expect(getByTestId("demo-simple-select-helper-value")).toHaveTextContent("Selected option is 30");
});

Nothing really complicated in here: I just query the clickable div (which has the button-role) of the select-box and fire a mousedown event, which opens all the select options. This is how it is designed to work, I think.
But when trying to achieve this with Cypress, it will NOT open the select options:
  it('should open select box and select an option', () => {
    cy.get(`[data-testid="demo-simple-select-helper-value"]`).contains("Selected option is");
    cy.get(`[data-testid="demo-simple-select-helper-data-testid"]`)
      .trigger("mousedown", {force: true})
   // The mousedown action will never open the select-options, hence the next cy.get will always timeout:
    cy.get('[role=option]:contains("Thirty")')
      .click();
    cy.get(`[data-testid="demo-simple-select-helper-value"]`).contains("Selected option is 30");
// Just as a note: I tried lots of different options, e.g. I also tried to invoke the mousedown event, but nothing worked...
  })

I think this is however the way as it is expected to work (it is the same logic as in the unit test code above).
I spent lots of hours for narrowing the problem down, but I think there is some integration issue when Cypress starts to fire action events (which uses jQuery under the hood).
For easier debugging reasons I went to the Google Chrome console, and I tried to open the select box options programmatically with javascript commands. To make life easier I just loaded jQuery in the Google Chrome console for querying elements and firing events. And this will just not work with the MUI select box (there is no problem wheninteracting with other MUI input components, like textfields or radiogroups, it is just the select box). I realized that, because I later on tried to use just the browser DOM methods for programmatically opening the select box options, and by doing so it finally worked....
So here is my current workaround for dealing with the select box in Cypress:
  it('should open select box and select an option', () => {
    cy.get(`[data-testid="demo-simple-select-helper-value"]`).contains("Selected option is");
    cy.document().then($doc => { // Use "raw" DOM methods for constructing and firing the mousedown event:
      const clickEvent = $doc.createEvent('MouseEvents');
      clickEvent.initEvent("mousedown", true, true);
      $doc.querySelector(`[data-testid="demo-simple-select-helper-data-testid"]`).dispatchEvent(clickEvent);
    });
    // Now the select options are opened:
    cy.get('[role=option]:contains("Thirty")')
      .click();
    cy.get(`[data-testid="demo-simple-select-helper-value"]`).contains("Selected option is 30");
  })

This is however a hack and for sure not the intended way to do something like this... And I am quite sure that there are some frustrated developers out there, which tried to use Cypress with MUI, but failed at this point...
I use MUI version 4.11.4 and Cypress version 7.2.0.
Motivation 🔦
Provide a better integration for performing e2e tests with Cypress (which seems to get more and more used out there) and the MUI select box. Of course I cannot tell the exact reason about this weird behaviour, maybe it is also more a Cypress issue, but due to I only encountered such a weird behaviour only on the MUI select box till now, I think there is maybe some potential for improving the testability for this component (there exist plenty questions about testing the MUI select box on stackoverflow, hence I think it would make sense to perform an improvement...).
My "solution" above is more a hack than a real good solution...

Thanks for the report.
Could you provide a minimal, cloneable repo that we can tinker with?

Hi Sebastian,
Thanks for your quick reply!
I added a minimal (and hopefully self explaining) repo with the examples I showed above:
https://github.com/Clemens85/cypress-material-ui

@Clemens85 Cypress does not set the button by default when triggering a mousedown event. But we're only opening the Select if we register a mousedown from the main button. So you need to specify .trigger("mousedown", { button: 0 });.
Though in my opinion there's something off with cypress here. Dispatching a synthetic mousedown event does default to button: 0 so I think cypress should follow that.


Fix inception v3 input transform

First dimension is batch size, channel is the second - see discussion in https://github.com/pytorch/vision/pull/101#discussion_r110707629

Thank you!


artisan migrate:fresh does not work with --database parameter when using schema:dump

Laravel Version: 8.58.0
PHP Version: 8.0.10
Database Driver & Version: mariadb 10.4

Description:
artisan migrate:fresh command will ignore restore of schema dump when using --database parameter
Steps To Reproduce:

create a fresh project (https://laravel.com/docs/8.x/installation)
copy mysql connection in config/database.php , name it migration_connection
install mysqldump and mariadb-client in laravel.test container ($apt-get update && apt-get install mariadb-client)
create a db dump via artisan schema:dump and clear the existing migrations (./vendor/bin/sail artisan schema:dump --prune)
run artsan migrate:fresh --database=migration_connection
see that schema dump is not applied and database is empty

    ~/Dokumente/php/example-app  ./vendor/bin/sail artisan migrate:fresh                                                                                 ✔
Dropped all tables successfully.
Migration table created successfully.
Loading stored database schema: /var/www/html/database/schema/mysql-schema.dump
Loaded stored database schema. (220.25ms)
Nothing to migrate.

    ~/Dokumente/php/example-app  ./vendor/bin/sail artisan migrate:fresh --database=migration_connection                                                                                 ✔
Dropped all tables successfully.
Migration table created successfully.

This indeed is not supported


Validating Nested Properties

Hi,
Great library!
Is it possible to validate nested properties of an object when those properties aren't defined explicitly on the model?
For example, I have a field that returns a JSON object for address that contains street, city, state and zipcode properties. I've attempted to build validations for each of those properties, but no luck. I've also tried creating a computed alias in the model to reference those specific properties, but again, no luck. Any suggestion on how I might accomplish this?
Cheers,
James

Im not sure I follow, can you give me some sample code?

Sorry, was on the way out the door and should have just waited to provide a proper example.
Anyways, as I mentioned I have an address attribute in my model that's returned by the API as an object and might return something like so:
{
  street: '111 lala lane',
  city: 'doeville',
  state: 'MN',
  zipcode: '12345'
}

I'd like to be able to validate each of those properties individually. I tried something like the following, but was unsuccessful:
// model.js
import Ember from 'ember';
import DS from 'ember-data';
import {
  validator, buildValidations
}
from 'ember-cp-validations';

const Validations = buildValidations({
  'address.street': validator('presence', true),
  'address.city': validator('presence', true),
  'address.state': validator('presence', true)
  'address.zipcode': validator('presence', true)
});

export default DS.Model.extend(Validations, {
  address: DS.attr('json', {
    defaultValue: () => {
      return {
        street: null,
        zipcode: null,
        city: null,
        country: 'United States'
      }
    }
  })

// template.hbs
            {{paper-input label="Mobile" value=user.phoneNumbers.mobile}}
            {{#if (v-get user 'phoneNumbers.mobile' 'isInvalid')}}
              <div class="error">
                {{v-get user 'phoneNumbers.mobile' 'message'}}
              </div>
            {{/if}}

I also tried using a computed alias in the model to reference the individual properties of that address field and then validating against that alias, but again was unsuccessful.
Let me know if this makes sense now -- hopefully I'm just missing something obvious :)
Cheers,
James

I think the easiest solution would be to make the address a model relationship via belongsTo
//models/foo.js
const Validations = buildValidations({
  'address': validator('belongs-to')
});
export default DS.Model.extend(Validations, {
  address: DS.belongsTo('address', {async: false})
})

//models/address.js
const Validations = buildValidations({
  'street': validator('presence', true),
  'city': validator('presence', true),
  'state': validator('presence', true)
  'zipcode': validator('presence', true)
});

export default DS.Model.extend(Validations, {
  street: DS.attr('string')
  // ...
})

//serialzers/foo.js
export default DS.RESTSerializer.extend(DS.EmbeddedRecordsMixin, {
  attrs: {
    address: { embedded: 'always' },
  }
});

@offirgolan thanks for the feedback. Unfortunately, this solution doesn't appear to work for me. First, I'm using JSON API and from this thread, it doesn't appear that JSONAPISerializer supports Embedded Records. That probably explains why my user model is filled with undefineds when attempting to use the EmbeddedRecordsMixin in a custom serializer.
I also tried using the ember-data-model-fragments addon to handle these nested JSON documents, but again, the validators didn't work.
Any other suggestions on how this might work? Given that dealing with nested JSON documents isn't that uncommon, I believe this won't be the first time this comes up. That said, more than willing to work on a solution with you.
Thanks!

@offirgolan ok, so the issue is resolved. It was a mistake on my part: although I wasn't able to use the EmbeddedRecordsMixin, using ember-data-model-fragments is essentially the same thing. My mistake was that when using v-get, I was still passing in the base model rather than passing in model.address. Since address is now a separate model with its own validations, I needed to make sure v-get could access the validation properties.
Appreciate your help and pointing me in the right direction!
Cheers.

Glad I was able to kinda sorta help and that it all works now. Happy
holidays! 😁
On Sunday, December 20, 2015, James Dixon<EMAIL_ADDRESS>wrote:

@offirgolan https://github.com/offirgolan ok, so the issue is resolved.
It was a mistake on my part: although I wasn't able to use the
EmbeddedRecordsMixin, using ember-data-model-fragments is essentially the
same thing. My mistake was that when using v-get, I was still passing in
the base model rather than passing in model.address. Since address is now
a separate model with its own validations, I needed to make sure v-get
could access the validation properties.
Appreciate your help and pointing me in the right direction!
Cheers.
—
Reply to this email directly or view it on GitHub
https://github.com/offirgolan/ember-cp-validations/issues/91#issuecomment-166161201
.

--
Thanks,
Offir Golan

Could you please share the final code I've got the same issue


Unable to enable MQTT

Unable to enable MQTT using set mqtt_host
i have telnet to <IP_ADDRESS> 7777 and then
trying to set mqtt_host using
set mqtt_host "IP Address" i m getting error of invalid command

Did you really try e.g.?
set mqtt_host <IP_ADDRESS>

I tried it but there was problem but then I flashed the firmware again n it
was successful.
On Sunday, May 12, 2019, martin-ger<EMAIL_ADDRESS>wrote:

Did you really try e.g.?
set mqtt_host <IP_ADDRESS>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/martin-ger/esp_wifi_repeater/issues/309#issuecomment-491572924,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFBTJNFJUJLQFK6D2DVFR6DPU7CS7ANCNFSM4HMI6NVQ
.

--
Sent from IPhone

I'm having the same problem. I have set mqtt_host, mqtt_user and mqtt_password to the correct settings. I've also tried reflashing the firmware
"show mqtt" displays
MQTT client disconnected
MQTT host: <IP_ADDRESS>
MQTT port: 1883
MQTT user: ######
MQTT password: ######
MQTT id: ESPRouter_0a3772
MQTT prefix: /WiFi/ESPRouter_0a3772/system
MQTT QoS: 0
MQTT command topic: /WiFi/ESPRouter_0a3772/command
MQTT gpio_out topic: /WiFi/ESPRouter_0a3772/switch
MQTT interval: 15 s
MQTT mask: ffff

Can you post the output of show config ?

show config outputs:
Version V2.2.9 (build: Sun May 12 09:22:21 2019)
STA: SSID:##### PW:######
AP:  SSID:MyAP  PW:none [open] IP:<IP_ADDRESS>/24 [NAT]
STA MAC: 5c:cf:7f:0a:37:72
AP MAC:  5e:cf:7f:0a:37:72
STA hostname: ESP_0a3772
Network console access on port 7777 (mode 3)
Clock speed: 80
MQTT: disabled

Did you do a "save" and "reset"?

No I didn't. That's made it work
Thank you


Remove Via HTML component from Via 3

This is now possible, as the experimental button has been changed to send things to ViaHTML

This is done now


chore(site): set sitemap priorities and changefreq

Configure the sitemap:

set the default changefreq to monthly
set docs pages changefreq to weekly
set the priority based on the path
use the default transformation for other values

:tada: This PR is included in version 1.10.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Adding two new templates for more flexibility

aboutme_sidebar.html.twig is designed to have the profile pic, name and social media links in the sidebar.
aboutme_inline.html.twig is an configurably-visible div containing the profile pic, name and URL, ideal for embedding authorship info within blog posts
I'm currently using this sidebar.html.twig and this blog_item.html.twig.
I added two new config options :

one for displaying/hiding aboutme info in the blog items themselves : defaults to false (so that it doesn't add too much visual information, yet allows mf2-compliant websites to parse it)
one for enabling/disabling aboutme in the sidebar : defaults to true

The sidebar might benefit some improvement but I think the overall design could be worse :)
You can see the result here.

I think I'm about done here.
If you agree to merge this PR, I'll gladly submit a PR to get my changes to sidebar.html.twig blog_item.html.twig merged into antimatter so that people installing this plugin can see it in action without modifying their default templates.

Thanks for the effort, but I'm not sure it's such a good idea to change the name of the template rendered in the sidebar... Antimatter is not the only existing theme...
Even though the plugin is probably not used by too many people, every person who's not using antimatter or using his/her own theme would have to change their template too.
About the inline template, that would mean that every blog post is written by the author of the blog, but I'm sure there are many blogs with many authors, so of course you can hide it, but the information is still there.

to change the name of the template rendered in the sidebar
Well, it's just a new template with minimal information. I happened to use it in the sidebar (which is why I made it so short in the first place). It may as well be renamed to something else like aboutme_social.html.twig?

every person (…) would have to change their template too.
Correct me if I'm wrong, but I didn't remove your original template so I don't think there's going to be any "mandatory" change.

that would mean that every blog post is written by the author of the blog
As a temporary workaround, yes, because that's Grav's default assumption at the moment. But once there is proper authorship markups in Grav pages, I'll be glad to implement multi-user support!

I tried not to add any breaking changes to be able to merge upstream, but if you'd prefer me to maintain a fork, that's also okay (although more efforts to maintain in the long run).

Well, it's just a new template with minimal information. I happened to use it in the sidebar (which is why I made it so short in the first place). It may as well be renamed to something else like aboutme_social.html.twig?
The name is not very important I guess.

Correct me if I'm wrong, but I didn't remove your original template so I don't think there's going to be any "mandatory" change.
I thought you wanted to replace the only template by two actually... My bad, but the aboutme_sidebar.html.twig template would be a duplicate of the original aboutme.html.twig template.

Plus you changed the structure of the template, adding a h4 title with Social Media (that would require translation), and, the name is now next to the profile picture followed by is also available on… (translation needed here too). It means the sidebar would be larger that it needs to be, I would not recommend this. I think the author's name needs to be bigger than the description. Also Social Media would not be the term I would use, the plugin is not only about author's social pages.
At first I made it so there was no need for translation. I'm not against adding some more information (title, etc) but it would need translations, like I did with my theme.

As a temporary workaround, yes, because that's Grav's default assumption at the moment. But once there is proper authorship markups in Grav pages, I'll be glad to implement multi-user support!

Perhaps you're right, but Grav already permits having different users being able to write pages/blog posts. Maybe I should think of a way to manage these users in the plugin and then we could add your second template, in the meantime I'd rather not if that's ok with you.
Or another solution would be to use the option you made to hide the inline template or not. Instead of adding display: none you should simply not insert the template at all.

Plus you changed the structure of the template, adding a h4 title with Social Media (…) and, the name is now next to the profile picture followed by is also available on…

I'm not against removing the
.

It means the sidebar would be larger that it needs to be

Actually not. I'm currently working on a 1024x768 setup and here is what I get displayed. Fitting everything in nicely is precisely the reason I did not use the profile name as
.

I think the author's name needs to be bigger than the description.

That's a fair point.

Also Social Media would not be the term I would use, the plugin is not only about author's social pages.

True, but are you against having a template tailored to this use-case?

I'm not against adding some more information (title, etc) but it would need translations, like I did with my theme.

I couldn't agree more. I was planning on doing this later. But that's a good point to get translations going before merging.

Maybe I should think of a way to manage these users

I have a few ideas regarding this, but I'd propose to open a separate ticket to talk about it.

Instead of adding display: none you should simply not insert the template at all.

How about both options? Enable/Disable and Show/Hide
So in addition to my previous proposals, I'd add:

removing the
Social media
 from the "social" template
adding translation strings for "is also available on…"
adding enabling/disabling item authorship

I'll close this PR until my commits are ready. Would you agree to merge when I get all these changes? Or do you have any additional requests/suggestions?

Actually not. I'm currently working on a 1024x768 setup and here is what I get displayed. Fitting everything in nicely is precisely the reason I did not use the profile name as .

Also, is it really necessary to say is also available on ? When you display social media icons, people are already aware the author is also available on these social networks.

How about both options? Enable/Disable and Show/Hide

I agree
If we go with this, and your PR for the antimatter theme is accepted, the default template aboutme.html.twig would not be needed anymore except for compatibility with themes which are still using this template.

Hmm, I didn't see this coming. I'll get on this.

Also, is it really necessary to say is also available on ?

No, it's not. I just found it was a convenient way to make things clear to people browsing the page. If none of us has strong argument for either keeping or removing it, I may as well make a configurable option to enable/disable it. What do you say?

Hmm, I didn't see this coming. I'll get on this.
That's why I used h4, as the author's name should be bigger and in term of semantics must also be more important.

No, it's not. I just found it was a convenient way to make things clear to people browsing the page. If none of us has strong argument for either keeping or removing it, I may as well make a configurable option to enable/disable it. What do you say?

Indeed it also could be an option.
Also I saw that you added an option to show/hide the social media icons as well ?

Also I saw that you added an option to show/hide the social media icons as well ?

That was in the standard template. It's only there to prevent
 from appearing if config.plugins.aboutme.social_pages.enabled is false.

Ah, forgot about this ^^
But no description in your template...

But no description in your template...

Currently working on it!
Also, I guess since there's already config.plugins.aboutme.social_pages.enabled we could just used this as a condition to enable/disable aboutme_social.html.twig and then just add one parameter to display/hide it.
What do you think?

What do you mean ? If aboutme_social is supposed to be used in the sidebar (instead of aboutme), you can simply let the {% if config.plugins.aboutme.enabled %} condition in the sidebar template ?

What do you mean ? If aboutme_social is supposed to be used in the sidebar (instead of aboutme), you can simply let the {% if config.plugins.aboutme.enabled %} condition in the sidebar template ?

Yes but some people might want to disable this specific template to use another one. Or maybe I'm overthinking it? I guess it's pretty straightforward with all the options available in the config.
I still need to fix a little nasty bug but here's where I am on my todo-list:

[x] renamed aboutme_sidebar.html.twig to aboutme_social.html.twig

[x] removed the "Display in sidebar" option

[x] translation strings
[x] better display for social template

[x] centered everything in the template
[x] removed the

[x] fix problem of spamming a
 (and useless spacing) when social pages enabled but not displayed

[x] config options

[x] enable_item_authorship (defaults to false)
[x] display_item_authorship (defaults to false)
[x] social_pages.display (defaults to true)
[x] social_pages.show_text (defaults to false)

[x] updated the README to reflect all this

For this useless div issue, I had to create a aboutme_sidebar.html.twig template as a wrapper around aboutme_social.html.twig so that one could write in their sidebar.html.twig:
{% if config.plugins.aboutme.enabled %}
  {% include 'templates/partials/aboutme_sidebar.html.twig' %}
{% endif %}

See here for the latest version. It's all online here.
Anything else you'd like me to add/change/remove or can I reopen the PR?

So it means that when the user decides not to display social buttons, the whole plugin is not displayed even though they have their name, profile picture, title and description ?
{% if config.plugins.aboutme.social_pages.enabled %}

    {% include 'partials/aboutme_social.html.twig' %}

{% endif %}

It does not really make sense, when users decide to enable the aboutme plugin, they also have to enable social buttons so the plugin shows, so either config.plugins.aboutme.social_pages.enabled is useless or misused ?
And btw, the title and the description are still missing from your template.

So it means that when the user decides not to display social buttons, the whole plugin is not displayed even though they have their name, profile picture, title and description ?

No, just this specific template. I took this decision trying to cover the use-case of someone using a theme embedding by default partials/aboutme_social.html.twig, but who does not wish to use it (say, to place it somewhere else).
But upon second thought, I think you're right about this. I will edit it to add the template in the sidebar if config.plugins.aboutme.enabled as before. Or introducing a new option like aboutme.show_in_sidebar.
Which options fits you best?

And btw, the title and the description are still missing from your template.

That was intentional in this specific template, as it takes way too much space (especially with the default description, maybe we could change it?). Try this page in 1024x768. I don't think it's possible to display the description properly.
There's many workarounds for this, like for instance adding settings to show/hide the different elements in aboutme_social.html.twig (as well as providing a shorter description by default).
I think these issues would be way easier to discuss using instant messaging. We could probably come up with a decent solution if we talked 10 minutes about it. Would you have time to talk on Gitter, maybe?


[DOCS] Adding latest results to StreamDeck

Is your feature request related to a problem? Please describe.
Documentation for adding 'latest result' to StreamDeck.

Download the 'APINinja' extension from the Elgato Marketplace.

Select 'BarRadier > APINinja' from the action selector on the right-hand side and drag\drop it into a vacant spot on your StreamDeck Panel.

To add the latest download result to the button, set the following APINinja fields as follows:

Request Type: GET
API URL: http://Your-Speedtest-Tracker-IP/api/speedtest/latest
Content type: application/json
Response Shown: data.download
Parse/Format 'Response shown': checked
Format: {0:N0}
(Optional) Title Suffix: Mbps
Response Type: Text
Autorun every: Your preference!
(Optional) Hide green success indicator: checked.

To add the latest upload result to the button, copy\paste the download button you just created to a vacant spot on your StreamDeck panel, and adjust the following field:

Response Shown: data.upload

If you did this correctly, you should now have 2 buttons that look something like this...

The icons I used for down\up are part of the 'Font Awesome: Solid Icons' icon pack.

This is awesome, I'm doing it tonight!

Another grave reminder that I really, really should have bought a StreamDeck XL instead of the regular one. 🙈
Dear , please give me more buttons! 🙏

Another grave reminder that I really, really should have bought a StreamDeck XL instead of the regular one. 🙈
Dear [insert applicable deity here], please give me more buttons! 🙏

Same, half of my first page is buttons to other pages.

@MartynKeigher is that the formatting you currently get using v.0.16.4? I am wondering because it shows up in bytes for me.

I also just learned that I'll probably need to make a blank icon in order to see everything properly, since API Ninja doesn't let me simply hide it. How odd. 🤔

@OddSquirrel - "is that the formatting you currently get using v.0.16.4?"... No, that formatting is for 'previous' versions of SpeedTracker. There is an open issue regarding the different responses between versions which is going to get addressed, so once the current version gets "fixed" (and I do use that term loosely!), then you're display will be fine.
However, if you wanting to see a 'clean ###Mbps' on your button for now, then you could play around with the Format field to massage the response. I'll have a play with it now and see if I can get it right. If I can... I'll update the guide above.

@OddSquirrel - Given the latest update, v0.16.5, this extra formatting is no longer required and the instructions in the orig post here will work just fine! 👍🏼

I gave it a shot with v0.16.5 and v0.16.6, and this is what I end up with when using the settings above, including {0:N0}:

When I remove {0:N0}, I get this instead:

These values are supposed to represent "download":933.16 from the API.

Interesting. For me.. adding {0:N0} effectively removes the decimal places, and leaves me a whole number.
With that said, its only massaging the data that i get back in the API response from data.download which for me is "download":828.85. What does your api return when you run  curl 'SpeedTracker.IP'/api/speedtest/latest

@OddSquirrel ... So thinking about this a little more...
{0:N0} first takes the value 933.16 and 'stores' it in 0.
It then uses the formatter : and then rounds the decimal value to the nearest whole number and formats it with zero decimal places N0.
The only thing I can think of is that your APINinja plugin is out of date and you're falling foul to a bug in an older version ??? ... but that said... the latest (v1.3) was released over 2 years ago, so I doubt you have an old version, but definitely check that to rule it out.

IKR? Makes zero sense. And the most hilarious part is, that it does work now. I fumbled around for an hour, trying everything in the book, all kinds of formattings, nothing would stick. And here we are after trying it just once more and everything is fine.
Whatever caused this, I thank you very much for taking your time to help me figure this out. Crawling all over GitHub certainly has a way of making me aware of my lack of knowledge, and without kind folks like you my therapist would certainly rack up quite some overtime. 😊

That really is very bizarre! 🤔🤔🤔🤔
Try this...

Delete your down\up buttons.
Uninstall APINinja
Restart Streamdeck app
Download APINinja 1.3 from their discord server, and re-install it.
Try again?

It sure is. Maybe this is due to cultural parameters, with the dot being used as a decimal separator and a comma in mine?
I see that the linked syntax info provides some details about cultural settings, but I have no idea how to use that within API Ninja.
This is what I did instead:

That way, the dot and whatever follows it simply gets truncated. Yes, it won't round 849.63 to 850, but I can live with that. I'm not running an atomic clock for NASA, after all. 😋

Added to the docs: https://docs.speedtest-tracker.dev/other/stream-deck

Thanks for adding the SteamDeck setup to the offical docs! :)
I've attached PNG's for you - and others - who want to customize their buttons a little more! ;p
Download:

Upload:

Ping:

Just adds a little more polish to the look! 😉

Couple of extra's that you might want to add to the docs, to look like screenshot...
Title Settings:

Title: blank
Show Title: checked. (The 'result' IS the title!)
Position: Top
Font: Verdana, 11pt, bold.


[Feature Request]: Change background for text visibility.

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Replace the background image, as it appears blurry and makes text difficult to read. A clearer and more visually balanced background would improve readability.

Use Case
Improving the background will enhance readability and visual appearance..
Benefits
No response
Add ScreenShots/Videos
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a  KWOC 2024 contributor
[X] I have starred the repository

@apu52 Please assign this issue to mee.

@Archi-shaw u are assigns 2 issues , please try to submit 2 separate PR for 2 different issues

just love to work on this issue , please assign it to me.

@sanjeevnikumari as this issue has already been assigned to another contributor , so i can't assign u this issue , but u can still make new issues on which u want to work on


Information responses (1xx) processing implemented.

It seems now is a time to merge client part of the feature.

Nit: it's informational, not information - maybe it's still possible to fix the terminology?

@kirill-usov Kirill, do you still want me to merge this PR? Why is it closed?

Hello Oleg.
My changes based on http core beta3, but client is using beta2 for now as I
understand, and build fails.
Are there any plans to move it to core beta3?
Thanks,
Kirill Usov.
сб, 11 авг. 2018 г. в 20:55, Oleg Kalnichevski<EMAIL_ADDRESS>
@kirill-usov https://github.com/kirill-usov Kirill, do you still want
me to merge this PR? Why is it closed?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/httpcomponents-client/pull/109#issuecomment-412291425,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AcQjfRqL6fdBklVjE475DLCLssV5bBj5ks5uPxqHgaJpZM4V38PA
.

@kirill-usov The plan is to release 5.0b3 by the end of the month provided everything goes well.


Update Color for chat response : Change color of background response from chatbot. Find a more pleasing color.

You can try 210 63.8% 91.9% for the secondary color in LIGHT mode


Cannot import data_manager

What happened?
from openghg.store import data_manager raised following
error:ImportError: cannot import name 'data_manager' from 'openghg.store' (/user/home/vq21425/openghg/openghg/store/init.py)
What did you expect to happen?
Expected to import data_manager
Minimal Complete Verifiable Example
No response
Relevant log output
No response
Anything else we need to know?
Change import on tutorials to from openghg.dataobjects import data_manager
Environment

from openghg.store import data_manager no longer appears in the codebase. Closing.


Question on using generic Mappable's

Hi,
Thanks for the great library.
Many of my API endpoints return responses in the form
{
    "status": "success",
    "message": null,
    "data": {
         "models": [...],
         "continuation": "<pagination token>"
    }
}

I was wondering how I might write a reusable interface for this format using ObjectMapper.
My thought was to make a few objects:
ModelListResponse.swift
import ObjectMapper

class ModelListResponse: Mappable {
    var status: String!
    var data: ModelList?
    var message: String?

    required init?(map: Map) {}

    func mapping(map: Map) {
        status <- map["status"]
        data <- map["data"]
        message <- map["message"]
    }
}

ModelList.swift
import ObjectMapper

class ModelList: Mappable {
    var models: [Mappable]?

    required init?(map: Map){}

    func mapping(map: Map) {
        models <- map["models"]
    }
}

I was thinking I could have a generic list of [Mappable] and then cast objects in my completion block:
Alamofire.request("/get/objects/endpoint", method: .get, parameters: parameters).responseObject { (response: DataResponse<ModelListResponse>) in
            switch response.result {
            case .success:
                let modelResponse = response.result.value
                let users = modelResponse?.data?.models as? [User]
                // Do something with typed User objects here.
            case .failure(let error):
                print(error)
            }
        }

But this returns nil unless I make the [Mappable] a type such as User.
Any recommendations on how I might achieve something like this would be appreciated.

Answering my own question...
I was able to achieve this using a generic type:
ModelListResponse.swift
import ObjectMapper

class ModelListResponse<T: Mappable>: Mappable {
    var status: String!
    var data: ModelList<T>?
    var message: String?

    required init?(map: Map){}

    func mapping(map: Map) {
        status <- map["status"]
        data <- map["data"]
        message <- map["message"]
    }
}

ModelList.swift
import ObjectMapper

class ModelList<T: Mappable>: Mappable {

    var models: [T]?

    required init?(map: Map){}

    func mapping(map: Map) {
        models <- map["models"]
    }
}

Request
Alamofire.request("/get/objects/endpoint", method: .get, parameters: parameters).responseObject { (response: DataResponse<ModelListResponse<User> >) in
...
}

@econner this is a perfect approach 👌


Fixes to distributed test suite

Specify hostname for all Schedulers/Workers
Use fewer threads per worker

This now passes on my computer. I'm a little concerned about the threads bit, as it seems to indicate they might not be cleaning up properly, but reading through the code I can't see where we miss a thread.

Do you know what the default thread limit is on OSX?

Merging this for now.  If we're anywhere close to the thread limit on OSX then we should probably investigate using a shared thread pool between workers on the same process.

I just ran this with the default number of threads, and top sorted by threads. We rapidly grow to 2048 threads (maximum for osx/process), then crash. I'm baffled, because I can't see how we fail to clean them up.


Junction causes abnormal termination

When double-clicking on a directory that is a junction to another directory, files closes instead of going to the directory.

Could you upload the two debug files and add the app's version to the description?

I had uninstalled due to the issue.  Reinstalled and cannot replicate - so maybe was just an environmental thing.  Please close.

From: Marco Gavelli @.>
Sent: Friday, June 11, 2021 10:43 AM
To: files-community/Files @.>
Cc: madscribbler @.>; Author @.>
Subject: Re: [files-community/Files] Junction causes abnormal termination (#5183)
Could you upload the two debug files and add the app's version to the description?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffiles-community%2FFiles%2Fissues%2F5183%23issuecomment-859708247&data=04|01||023c1617e538437ae69d08d92cf7fe58|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637590265898071074|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=ozVzy%2BPNyrkm9DPkZ%2FbeC569Rok8C13fAlKYoSjr6xM%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACEMMUAIO3NLCDZXSFF6UKTTSI4JZANCNFSM46RCOJBQ&data=04|01||023c1617e538437ae69d08d92cf7fe58|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637590265898071074|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=kDlZGfD9e7kQggPmZEi4nAMNmT5sgxIHHv3LU9%2BFUHA%3D&reserved=0.


 Why would you allow shared links to by-pass all the security permissions set up on the workspace?
When people see that share button, they would instantly think it's totally safe to send to people in their team who they know also have access to the workspace, not thinking twice if that URL were shared more widely, every man and his dog can see the report too.
This is a major data breach waiting to happen, I suggest Microsoft re-thinks this design.
Cheers

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

ID: 21f47742-00cf-eac0-7880-18eb5e988003
Version Independent ID: 0010dce8-b1e0-b1b4-9840-ff2c3e32b53e
Content: Share Power BI reports and dashboards with coworkers and others - Power BI
Content Source: powerbi-docs/collaborate-share/service-share-dashboards.md
Service: powerbi
Sub-service: pbi-collaborate-share
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Thanks for your comment, @dgriggs125. This issue has been assigned to the doc author for review.

Hi, @dgriggs125 -- thanks for your comment! Because it's about the product more than the documentation, I'm going to close this and direct you to the Feedback site for Power BI and Fabric, https://ideas.fabric.microsoft.com/?forum=2d80fd4a-16cb-4189-896b-e0dac5e08b41


switch to zef for CI?

Shell::Command is using panda. I am wondering whether you're want to switch to zef?

This has now been done.


SystemNavigator.pop should support being animated

I think we semi-arbitrarily decided to implement SystemNavigator.pop as being non-animated https://github.com/flutter/engine/blob/c12b917e95074aec4700dd5554563bc84f93ecc2/shell/platform/darwin/ios/framework/Source/FlutterPlatformPlugin.mm#L205
But it makes it hard to conform to UINavigationController animations symmetrically in add to app.
We should be able to make this signature change while remaining backward compatibility.

This would be great to have.
Looks weird if one screen is built in Flutter and is not animating.

Do you want to implement this by allowing developers to override whether "popping" should be animated?
For example calling SystemNavigator.pop(animated: true) instead of just SystemNavigator.pop().
This change will at least allow app developers like us to animate the FlutterViewController if they use add-to-app.
If this works for you, I will try to implement this into the Flutter engine.

Indeed. I think with the right default and the right method call argument handling, we can make this non-api-breaking. I also suspect there might be nothing we need to do on Android.
Would be happy to take a PR if you'd like to send us one.

Right, it seems like us piping pop to activity.finish() on Android makes it always animated so nothing to do on Android.

cc @matthew-carroll @gaaclarke

@gaaclarke you did this right?

yep


'createServerProcess' of ccls always fails

I am using monaco editor to handle c++ codes.
In json-server-launcher.ts I set  to this:
const serverConnection = server.createServerProcess('ccls', "G://dev//ccls.exe");

Server can run but returns null, then I change to this:
const serverConnection = server.createServerProcess('ccls', "G://dev//ccls.exe  --init=\"{\\\"index\\\":{\\\"onChange\\\":true}}\"");

I get an error:
Launching ccls Server failed: Error: spawn G://dev//ccls.exe  --init="{\"index\":{\"onChange\":true}}" ENOENT

I copy this code and test in cmd.exe, it runs perfectly.
I have search for solution for tow days but find nothing.
Apologize for my bad English :)

Hello
You can provide all the arguments in a single string:

wrong: server.createServerProcess('ccls', "G://dev//ccls.exe  --init=\"{\\\"index\\\":{\\\"onChange\\\":true}}\"")
correct: server.createServerProcess('ccls', "G://dev//ccls.exe", "--init=\"{\\\"index\\\":{\\\"onChange\\\":true}}\"")

@CGNonofr Hi, thanks for helping!
server.createServerProcess('ccls', "G://dev//ccls.exe", "--init=\"{\\\"index\\\":{\\\"onChange\\\":true}}\"")
But the third arg couldn't be a string, so I change to:
server.createServerProcess('ccls', "G://dev//ccls.exe", ["--init=\"{\\\"index\\\":{\\\"onChange\\\":true}}\""])
It still gives me error :(

I have found many samples like createServerProcess('sample', 'java', ['-h', 'xxx']), but ccls needs --init='{json}'. I really don't know how to fill in the args...

I think you have too many ""

I think you have too many ""

Thanks! I will try it :)


Null & Void Pointers in C

Description 📜
This will describe Null Pointers & Void Pointers and also the difference between Null Pointers & Void Pointers.

Domain of Contribution 📊

[x] C/CPP

/assign

\assign

/assign

/assign
I will explain null and void pointers through examples and various functions


Read txt

file = open('test.txt','r') # 'r' for reading only
str = file.read() #string with the whole text


VB-573: Fix back links

Changes look fine. Just noting that early on I added a bit of JS in assets/js/govukFrontendInit.js and corresponding code in [layout.njk](https://github.com/ministryofjustice/book-a-prison-visit-staff-ui/blob/076a814d7be10d907283f6b3ba382c04a30e164e/server/views/layout.njk#L24) - I'd seen this used in quite a few other projects.
I'm sure it made sense to me at the time(!) but perhaps no longer needed...🧐


Fix build

This pull request addresses two existing issues in the build process:

The package node-sass is deprecated and it is recommended to replace it with fully compatible sass package. See: https://sass-lang.com/blog/libsass-is-deprecated#how-do-i-migrate
There was a problem with a broken --rev-version flag of tfx-cli on newer Node.js releases. This was fixed in version 9.0.0. See: https://github.com/microsoft/tfs-cli/issues/358

Doesn't work on Node 10 that is used in the pipelines.


Add global logging

Create a logger such that each node can log data to file. In case the node would die, the errors can still be read.

PR #53 fixes the actual logger, but logging should be implemented using this.


Update stable version in repo from 0.1.0 to 0.1.1

Think about update stable version to 0.1.1
Version: stable=0.1.0 (438 days old) => latest=0.1.1 (15 days old)
Installs: stable=219 (79.93%), latest=19 (6.93%), total=274
Click to use developer portal
Click to edit
Note: This is an automatically generated message and not personally authored by bluefox!
Do not close this issue manually as a new issue will be created if condition for update still exists
@mcm1957 for evidence

see https://github.com/TA2k/ioBroker.volvo/issues/25

This issue seems to be outdated.
This issue suggests to update the stable version of this adapter to 0.1.1 but in the meantime an update to version 0.1.2 is suggested.
So this issue will be closed and replaced by an updated one.
@mcm1957 for evidence


scipy.spatial.transform documentation?

When I look at https://docs.scipy.org/doc/scipy/reference/spatial.html, I don't see anything on scipy.spatial.transform, although I understand that this functionality is in SciPy version 1.2.

It is the first thing I see at the top of the link you provide:

I will have to get my eyes examined.  My apologies for the false alarm!


URL felony.io isn't working

Hi !
I copied my public key (created by felony and copied through the GUI) and when I pasted it says something like "Comment: 👀 How dafuq do I use this? --> http://felony.io 😉"
Well, that website is not working, only shows a 404.

The site is in 'gh-pages', but in the meantime i'll have it redirect to the Github repo

Yes, that's a good idea !

Fixed! Thanks 💓

Thanks to you! awesome project btw !


Add "game over" window

Part of #32.

@ForNeVeR In the process of implementation, I had two difficulties:

I didn't find the original submarine sprite from this window. I temporarily put a bonus life sprite. Is it okay or not?
In the original version of the game, by pressing the minimize button, we have several options: move and close. Will we be adding these features too?

I didn't find the original submarine sprite from this window

I believe that's the game's executable icon. We don't seem to have it extracted, yet, and I'm not sure we'll want to bother. We'll have our own icon for the game executable, anyway (because we cannot embed the original content into our exe).
I propose let's leave the sprite for now and see if it's better.
In this project, we want to have 100% of the original game content and experience, but not necessarily 100% of the original UI, especially if we can improve some bits of it.

In the original version of the game, by pressing the minimize button, we have several options: move and close. Will we be adding these features too?

Nah, don't bother. These are parts of the original Windows 3.1 window decoration, and serve no good purpose in the game window.,

Just to clarify: I have no vision of how the window decorations should be implemented, so this is up to your imagination. If you want to reproduce the original Win3.1 border style, that's fine. If you want to do something simpler, that's fine as well.

JFYI, I don't believe we need a "Window System" here.
Once again, you can implement it if you wish, and it would be useful! (Including in other scenes.) But if you don't want to do that, then a basic implementation with a full-screen game-over screen would be fine for now.
The one you did looks great, though, and works really well as an homage to the old days of Windows.
One detail that may make the implementation easier is that we never ever want several floating windows to be on the screen.
Does that help? Do you need any advice on the overall architecture of the current solution? Or maybe you prefer me to merge this as-is already?

Thank you for the detailed answer. In that case, I think I'll stop there for now. I have some ideas on how to do it better in the future.
If you have no objections about the code style, let's merge it.
The next step in #32 is to make a window that asks for the player's name.


Why is the shared secret used in libpam only 80 bits?

From @ThomasHabets on October 10, 2014 8:7
Original issue 340 created by terrycwk1994 on 2013-11-07T02:52:37.000Z:
The code in libpam/google-authenticator.c defines the shared secret to be 80 bits.
# define SECRET_BITS    80    // Must be divisible by eight
This appears not to conform with RFC 4226 that states:
R6 - The algorithm MUST use a strong shared secret.  The length of
the shared secret MUST be at least 128 bits.  This document
RECOMMENDs a shared secret length of 160 bits.
I suggest that the code be patched to modify this to 160 bits, which conforms with the recommendation by RFC 4226 and is what Google is using for 2FA with their own services.
Copied from original issue: google/google-authenticator#339

Migrated comment:
http://security.stackexchange.com/questions/45053/why-does-google-cripple-the-2fa-google-authenticator-pam-module

Comment #2 originally posted by akshayk on 2013-11-27T01:54:19.000Z:
http://security.stackexchange.com/questions/45053/why-does-google-cripple-the-2fa-google-authenticator-pam-module

Comment #1 originally posted by<EMAIL_ADDRESS>on 2013-11-24T19:19:21.000Z:
http://security.stackexchange.com/questions/45053/why-does-google-cripple-the-2fa-google-authenticator-pam-module

Looks answered on stackexchange.

I think the existence of fb9a769ab11cf1cac0d06af41b73bfbd5fcfb0af (which changes SECRET_BITS from 80 to 128) is also worth mentioning, since it invalidates this question and fixes any potential issue.


Dynamic Product Add  Over In-App-Purchase From App

Please use the Discussion board if you want to get some help. Please use issues to report bugs.

Description
I need to add dynamic products on app store from mobile app for IAP feature.Just i go through on link then i got Generic in-app-purchase implementation required and subscription groups. How do i implement the generic in-app-purchase implementation.
I go through it with the help of SKProductsRequest we can get it.
Expected Behavior
Dynamic Add Products From App Over In-APP-Feature ProductsList.
Screenshots

Environment:

react-native-iap:
react-native:
Platforms (iOS, Android, emulator, simulator, device):

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Press '...'
Error '...' is shown

[Optional] Additional Context

This is not the library for you. We only read the products and allow purchase but not creation

Dear Team,
Thank you for your reply.
On Thu, 4 Aug 2022, 23:09 Andres Aguilar, @.***> wrote:

This is not the library for you. We only read the products and allow
purchase but not creation
—
Reply to this email directly, view it on GitHub
https://github.com/dooboolab/react-native-iap/issues/1806#issuecomment-1205570158,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFLNU7ZJPVEBXMUMZXDWUZTVXP54VANCNFSM55STMISQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Dear Sir,
Hope you are doing well.
Please recommend another library,
which can  full fill my requirement. Product Creation as well Product Read
And Product Purchase And Product History And Order Details. It would be
very helpful for me.
Thank You
Best Regards
Atul Kumar Ojha
On Fri, Aug 5, 2022 at 11:33 AM Atul ojha @.***> wrote:

Dear Team,
Thank you for your reply.
On Thu, 4 Aug 2022, 23:09 Andres Aguilar, @.***>
wrote:

This is not the library for you. We only read the products and allow
purchase but not creation
—
Reply to this email directly, view it on GitHub
https://github.com/dooboolab/react-native-iap/issues/1806#issuecomment-1205570158,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFLNU7ZJPVEBXMUMZXDWUZTVXP54VANCNFSM55STMISQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Dear Sir,
Please recommend it another library which can full fill my requirement. Help me!!!!


Attempting to import from Steam throws error about cloud id mismatch and flag state

As the title states, when attempting to import a save from the Steam version, the following error message is displayed:
========== Starfield Save File Importer v0.0.7 ==========
WARNING: This tool is experimental. Always manually back up your existing saves!
Found container path: C:\Users\Offspring\AppData\Local\Packages\BethesdaSoftworks.ProjectGold_3275kfvn8vcwc\SystemAppData\wgs\0009000001BC553A_0000000000000000000000007BF72399
Error: Detected unsupported container format, please report this issue: mismatch between cloud id and flag state
Press any key to continue . . .
This is both with the main.py and exe versions.

Nevermind, I needed to re-launch the Windows Store verison, probably to get an updated auth token, and then it worked.


[Bug]: Don't allow colors with same name

What happened?
Having two colors with the same name will cause problems after exporting a palette. No format can handle this correctly so this should be prevented in general.
Additional Notes
Tasks

[x] Prevent duplicate names during color / palette generation
[x] Prevent users from inputting duplicate color names

Depends on:

#71

:tada: This issue has been resolved in version 1.5.0-staging.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.5.0-staging.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.5.0-staging.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.5.0-staging.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.5.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Buttons don't work.

Describe the bug
Buttons don't work.
I am unable to create a post, comment, like etc on posts.
Steps to reproduce
Try using the app normally.
Expected behavior
Buttons should work.
Environment
I'm on latest App Store release, on a new phone (iPhone 15) but I had the same issue with older iPhone 12. same issue with older iOS version, currently using on 17.

You need to login with the nsec instead of with the npub to be able to post, comment or interact in any other way. Logging in with the npub is for view only mode.

I swear I just created an account with Primal as normal, I don't ever remember importing a key or enabling any modes.
Does this mean I lost my account?


AzureBlobSystemProducer: Enable adding of number of records in blob as metadata of the blob

Feature: Enable addition of number of records in a blob to the blob's metadata.
Changes: BlobMetadataContext passed as input to BlobMetadataGenerator interface now have an additional field giving the number of records in the blob. This can be used as needed by the generator.
API changes: BlobMetadataContext passed as input to BlobMetadataGenerator interface now have an additional field giving the number of records in the blob. This can be used as needed by the generator.
Upgrade Instructions: None
Usage Instructions: None
Tests: unit test updated.

yes, generator may have additional metadata.
it is for two reasons that it was designed this way.

to let users have full control over what their k-v pairs should look like - we only give the value but the key is decided by the users (aka generator). For example the streamName maybe used to form a k-v pair: "table":"_source_streamName_table" to help with ingestion.

to let users add more k-v pairs if they need to. for example, "dataFormat":"avro" for which users do not need an input from the system producer

@lakshmi-manasa-g Can you please create a JIRA ticket for this and update the PR title with it? I can merge it once that is done.


My document on Perl 6 Regex for non-Perl languages

The problem
I've written a fairly long document, modeled on the Perl 6 Regex page in this documentation suite, that is aimed at non-Perl languages thinking about integrating Perl 6 Regex. It attempts to isolate language-specific features from non-language-specific features and document only the latter as a stand-alone standard. It has a very distant and half-hearted secondary goal of listing everything that it doesn't include form Perl 6 Regex in that standard.
So, why do you all care? The document may have some sections that, because they're attempting to explain the same things as the Perl 6 Regex doc, would be useful to lift.
If so, I'm offering the entire document under the Artistic 2.0 License, to the Perl community. Take from it what you wish.
Suggestions
Here's the posting:
http://ajs.github.io/tools/your-regex-here/
and here is the Markdown:
https://raw.githubusercontent.com/ajs/tools/master/docs/_posts/2019-08-06-your-regex-here.md
There is no POD format version.

Thanks a lot for the link, but I'm not sure what the issue is here... If you want to add something to the documentation, we'll happily review your PR and accept it when it's ready.
Anyway, I'll check and maybe add a link from some relevant section. Thanks!

There's no "issue" per se. It's just that there may or may not be elements of this document that you find helpful in expanding the Perl 6 Regexes document. If so, I'm giving you this doc under the appropriate license to make use of as/if you wish. It's also moved since I sent you this, and is being maintained here:
https://github.com/ajs/Gen6-Regex/blob/master/YOUR-REGEX-HERE-POSTING.md
Also, I've posted some specific concerns about the Perl 6 Regex documentation to reddit here:
https://old.reddit.com/r/perl6/comments/cp743r/some_regex_questions_not_clear_in_the_docs/
I can submit each of those as issues if you like. I wish I had time to update the docs, but having taken on my own major documentation task, my tuits are getting thin.

Thanks for the submission, but we don't have enough staff to review our own docs, and we don't have the ability to review your docs for potential submissions. We'll add a link to our wiki so perhaps future authors can take advantage.

It makes sense to me to close this issue but I've created a PR to add this important blog post to CCR.


Is this project still being worked on

I was wondering if this project is still alive?

Yes! The thing is that, except if there's input (PRs) from the community, it evolves only in accordance to my specific needs... and since it has been serving its purpose, there haven't been much updates from my part.


Add checklist item to PR template

Description
Checklist

[x] Samples build and run using the Visual Studio versions listed in the Windows development docs.
[x] Samples build and run on all supported platforms (x64, x86, ARM64) and configurations (Debug, Release).
[x] Samples set the minimum supported OS version to Windows 10 version 1809.
[x] Samples build clean with no warnings or errors.
[ ] [For new samples]: Samples have completed the sample guidelines checklist and follow standardization/naming guidelines.

/azp run


FormatException in Explorer window

Opening Explorer screen shows no files even though some files are downloaded and saved.
Log
I/flutter (29990): FormatException: Unexpected character (at character 1)
I/flutter (29990):
I/flutter (29990): ^

Upon more debug I found the complete response which shows status code 404 from rutorrent backend.
I/flutter (29990):
I/flutter (29990): <title>404 Not Found</title>
I/flutter (29990):
I/flutter (29990):
404 Not Found

I/flutter (29990):
nginx
I/flutter (29990):
I/flutter (29990):

The function causing this
  /// Gets Disk Files
  static Future<List<DiskFile>> getDiskFiles(Api api, String path) async {
    try {
      var response = await api.ioClient.post(Uri.parse(api.explorerPluginUrl),
          headers: api.getAuthHeader(),
          body: {
            'cmd': 'get',
            'src': path,
          });
      print(response.body);
      var files = jsonDecode(response.body)['files'];

      List<DiskFile> diskFiles = [];

      for (var file in files) {
        DiskFile diskFile = DiskFile();

        diskFile.isDirectory = file['is_dir'];
        diskFile.name = file['data']['name'];
        diskFiles.add(diskFile);
      }

      return diskFiles;
    } on Exception catch (e) {
      print(e.toString());
      return null;
    }
  }

@harchani-ritik Seems some problem with the file path !?

Opening Explorer screen shows no files even though some files are downloaded and saved.
Log
I/flutter (29990): FormatException: Unexpected character (at character 1)
I/flutter (29990):
I/flutter (29990): ^

Upon more debug I found the complete response which shows status code 404 from rutorrent backend.
I/flutter (29990):
I/flutter (29990): <title>404 Not Found</title>
I/flutter (29990):
I/flutter (29990):
404 Not Found

I/flutter (29990):
nginx
I/flutter (29990):
I/flutter (29990):

The function causing this
  /// Gets Disk Files
  static Future<List<DiskFile>> getDiskFiles(Api api, String path) async {
    try {
      var response = await api.ioClient.post(Uri.parse(api.explorerPluginUrl),
          headers: api.getAuthHeader(),
          body: {
            'cmd': 'get',
            'src': path,
          });
      print(response.body);
      var files = jsonDecode(response.body)['files'];

      List<DiskFile> diskFiles = [];

      for (var file in files) {
        DiskFile diskFile = DiskFile();

        diskFile.isDirectory = file['is_dir'];
        diskFile.name = file['data']['name'];
        diskFiles.add(diskFile);
      }

      return diskFiles;
    } on Exception catch (e) {
      print(e.toString());
      return null;
    }
  }

@harchani-ritik Seems some problem with the file path !?

This is actually, a seedbox only feature, so it would be great if you can just show a "feature not available" kinda message, when the app is logged in with the account in which there are no credentials (username & password) required.
Suggestion: You can keep a boolean in api_conf to check whether it is a seedbox account (if username & password are entered) or not as this will be used at some other places too. Please check this once, I have noticed if you put whitespace in username/pass while logging from a local account, the app malfunctions, so, correct this also.


[ovsdb-server] Gracefully handle empty db file on startup

In some situations, e.g. when ovsdb-server is killed during db file initialization, the file may end up empty. On next restart, the service fails to start because the file format is invalid.
Ideally, ovs start scripts would handle this situation gracefully, as tracked in https://issues.redhat.com/browse/FDP-689.
But in the meantime, we can also handle the situation on operator's side, by removing the empty file if present. Also added trap signals to the initialization script so it waits for db file to be initialized before getting terminated.
Resolves: OSPRH-10688

recheck

/lgtm

/cherry-pick 18.0-fr1


broken textures

trapdoors when opened have missing texture

thats the orintation thats broken

Do all Trapdoors have this problem or just one?

all of them

i think the problem is in the blockstates, in side the trapdoor files there is "moredoors" instead of  "glassential"

i think the problem is in the blockstates, inside the trapdoor files there is "moredoors" instead of "glassential"

You use last version?

1.20.1- 2.1.2

thanks for the report, fixed in version 2.1.3


showing null actor in 'cf events' when action is taken using a UAA client id

when I am granted through client-credential and use CC API to update an application, the events shows null  actor.
Can we just show the actor field if actor_name is null?
Here is a smple response from CC API that 'cf events' command invokes
     "entity": {
        "type": "audit.app.update",
        "actor": "cf-xxx-client",
        "actor_type": "user",
        "actor_name": null,
        "actee": "9fd12ebf-efaf-4a12-b97c-3e9f8715a651",
        "actee_type": "app",
        "actee_name": "TestApp",
        "timestamp": "2016-04-15T22:27:12Z",
        "metadata": {
           "request": {
              "instances": 1
           }
        },
        "space_guid": "f5915cd0-adc8-4644-9edc-d878d321c77b",
        "organization_guid": "93bc82dd-a981-4058-867b-721573e37f6a"
     }

Command
cf events

Hi @boyang9527
We have addressed this in our edge release. Can you try it out and let us know it now does what you expect it to?
Cheers,
Dies Koper
CF CLI PM

The fix was included in cf CLI 6.18.1.


Task 3: Allow input of variables to CalculatorBrain

Add the capability to your CalculatorBrain to allow the input of variables. Do so by
implementing the following API in your CalculatorBrain ...
func setOperand(variable named: String)
This must do exactly what you would imagine it would: it inputs a “variable” as the operand (e.g. setOperand(variable: “x”) would input a variable named x). Setting the operand to x and then performing the operation cos would mean cos(x) is in your CalculatorBrain.

This task will be implemented together with task 4 (see #2), as it can't be tested standalone.


Add status emojis to help channels and improve bottom sorting

This PR aims to make two changes to our help channel system:
1. Add status emojis to help channel names
The new help channel system appears to be intuitive to most of our members. One comment that has been made a few times is that it would be clearer if the channel names would indicate the status of the channels as well. It still happens that people don't notice the existence of two different categories and add their question to an already claimed channel.
By adding emojis to the channel name, I hope that it's more apparent to the end-user that there's a difference between channels in the "In Use" and in the "Available" category.
The following design was chosen after a conversation in the feedback channel:

2. Change the bottom sorting strategy to large ints.
We currently attempt to position channels at the bottom of their new category ("In Use" and "Dormant" only) when we move them by getting the maximum position in their new category and adding 1 to it. However, this doesn't always seem to work as intended and channels may end up somewhere in the bottom third of the list.
Another strategy, setting a really large position integer, does seem to give more reliable results. Discord will automatically "truncate" the position integers by resizing them to the maximum current position + 1 and positioning seems to be predictable.
I'm not 100% sure it will actually work as expected in production, but it does work reliably in the testing environment. I am fairly confident that it will be no worse than our current strategy, so I think we should just try it.

I like the novelty of using large int pushing newly claimed channels to the bottom. This can somewhat help indicating what channels have been in-use longer.

The ints won't be preserved; Discord automatically resizes them to max + 1 in a category.

I agree with Marks feedback but otherwise it looks good.

It should be addressed in the latest commit


Abstract mode starts with a negative history index

Version
3.1.3
Reproduction link
https://jsfiddle.net/s0kag18p/2/
Steps to reproduce
Create a new Vue Router in Abstract Mode
const router = new Router({ mode: 'abstract', routes: [{path: '/', component: {render: function(h){return h('div', 'Hello World!')}}}]})
What is expected?
Expect router.history.index to be 0
What is actually happening?
router.history.index is -1

The main issue this is causing me is that the first router.push() call will increase the index to 0 when it should be increased to 1. What this means is that router.back() does nothing until the second navigation, when router.history.index is set to 1, when it should be 2.
This basically makes it impossible to navigate back until my stack has 3 or more navigated routes.
F.Y.I. For some reason JSFiddle doesn't work with Vue Router in abstract mode, but the code is correct. (Comment out the mode and you'll see)

This is normal since abstract mode starts in a nowhere state and doing that initial push is necessary to start the router. Differently from other histories, abstract do not have access to the url to start the history automatically


Add Needs: Repro bot action

Summary

Add automated response for Needs: Repro
Changelog

[Internal] [Added] - Add automated response for Needs: Repro
Test Plan
Bot should add a comment with the Needs: Repro label.

Tweaked the message slightly (match capitalization in header, and link to mcve in Stack Overflow). Example:
:warning:
Missing Reproducible Example
:information_source:It looks like your issue is missing a reproducible example. Please provide a Snack or a repository that demonstrates the issue you are reporting in a minimal, complete, and reproducible manner.


java.lang.IllegalStateException: Another strategy was already registered (not during testing)

After adding HystrixMetricsServlet to war file, we sometimes get 'IllegalStateException: Another strategy was already registered' when first service hit occurs after tomcat startup.  If this occurs, all calls to the war will fail.  This does not occur every time we start the tomcat/webapp, just sometimes.
Also, we have several tomcats/wars and it does not happen to all of them, only some.  All have similar configuration in web.xml in same order.
I have not been able to isolate what may be causing this.
Have seen other issues reported about this message that have to do with testing and initializing more than once within a test, but I am not talking about test.  This is - stop tomcat, deploy, start tomcat - situation.
Any information regarding what kind of situation might be causing this?
using hystrix-core-1.4.21.jar, hystrix-metrics-event-stream-1.4.21.jar
example web.xml

app1
<welcome-file-list>
    <welcome-file>index.html</welcome-file>
    <welcome-file>index.htm</welcome-file>
    <welcome-file>index.jsp</welcome-file>
</welcome-file-list>

    <context-param>
        <param-name>com.newrelic.agent.APPLICATION_NAME</param-name>
        <param-value>app1</param-value>
</context-param>

    <context-param>
        <param-name>contextConfigLocation</param-name>
     <param-value>WEB-INF/swaggerContext.xml,WEB-INF/cxf-config.xml</param-value>
    </context-param>

<listener>
  <listener-class>somepath.StartupListener</listener-class>
</listener>
<listener>
  <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<listener>
    <listener-class>somepath.circuitbreaker.CircuitBreakerContextListener</listener-class>
</listener>

<filter>
  <display-name>CircuitBreakerRequestContextFilter</display-name>
  <filter-name>CircuitBreakerRequestContextFilter</filter-name>
  <filter-class>somepath.circuitbreaker.filter.CircuitBreakerRequestContextFilter</filter-class>
</filter>
<filter-mapping>
  <filter-name>CircuitBreakerRequestContextFilter</filter-name>
  <url-pattern>/*</url-pattern>

timing
somepath.filter.TimingFilter

timing
/*

<servlet>
    <servlet-name>CXFServlet</servlet-name>
    <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    <init-param>
        <param-name>redirects-list</param-name>
        <param-value>.*\.jsp</param-value>
    </init-param>
    <init-param>
        <param-name>redirect-servlet-name</param-name>
        <param-value>jsp</param-value>
    </init-param>
</servlet>
<servlet-mapping>
    <servlet-name>CXFServlet</servlet-name>
    <url-pattern>/*</url-pattern>
</servlet-mapping>

<servlet>
   <description></description>
   <display-name>HystrixMetricsStreamServlet</display-name>
   <servlet-name>HystrixMetricsStreamServlet</servlet-name>
   <servlet-class>com.netflix.hystrix.contrib.metrics.eventstream.HystrixMetricsStreamServlet</servlet-class>
</servlet>
<servlet-mapping>
   <servlet-name>HystrixMetricsStreamServlet</servlet-name>
   <url-pattern>/hystrix.stream</url-pattern>
</servlet-mapping>

 <filter>
      <display-name>HystrixLoggingFilter</display-name>
      <filter-name>HystrixLoggingFilter</filter-name>
      <filter-class>somepath.hystrix.filter.HystrixLoggingFilter</filter-class>
 </filter>
 <filter-mapping>
      <filter-name>HystrixLoggingFilter</filter-name>
      <url-pattern>/*</url-pattern>
 </filter-mapping>

<listener>
    <listener-class>somepath.healthcheck.HealthCheckListener</listener-class>
</listener>
<servlet>
    <servlet-name>HealthCheckServlet</servlet-name>
    <servlet-class>com.codahale.metrics.servlets.HealthCheckServlet</servlet-class>
</servlet>
<servlet-mapping>
    <servlet-name>HealthCheckServlet</servlet-name>
    <url-pattern>/health/*</url-pattern>
</servlet-mapping>
<filter>
    <filter-name>HealthCheckFullFilter</filter-name>
    <filter-class>somepath.health.servlets.HealthCheckFullFilter</filter-class>
</filter>

<filter-mapping>
    <filter-name>HealthCheckFullFilter</filter-name>
    <url-pattern>/health/full/*</url-pattern>
</filter-mapping>

<servlet>
    <servlet-name>PingServlet</servlet-name>
    <servlet-class>com.codahale.metrics.servlets.PingServlet</servlet-class>
</servlet>

<servlet-mapping>
    <servlet-name>PingServlet</servlet-name>
    <url-pattern>/ping/*</url-pattern>
</servlet-mapping>

<filter>
    <filter-name>PingFilter</filter-name>
    <filter-class>somepath.health.servlets.PingFilter</filter-class>
</filter>

<filter-mapping>
    <filter-name>PingFilter</filter-name>
    <url-pattern>/ping/*</url-pattern>
</filter-mapping>

@tpetach1 I've also run into this in practice.  The root cause is that all of the objects held by HystrixPlugins must be singletons, and must be in place upon the first HystrixCommand invocation.  As an example, the HystrixConcurrencyStrategy must be non-null while the first HystrixCommand is executing, so that it knows how to wrap Callables and set up a HystrixRequestContext.
The 2 paths for generating the HystrixConcurrencyStrategy are:

No explicit initialization, and the first command invocation sets up the default HystrixConcurrencyStrategy.
Explicit initialization via HystrixPlugins.registerConcurrencyStrategy

Note that the latter fails with the IllegalStateException with cause "Another strategy was already registered" if the implicit initialization runs first.
The above is also true for any of the other objects in HystrixPlugins.
So what must be happening is that your application startup ends up creating a race between the first command running (and performing implicit initialization), and an invocation of one of the explicit init calls.  If the implicit goes first by a command executing, then you're seeing the error above.
If possible, you should move the explicit plugin init as early as possible to avoid that race.  In practice, that has worked for us internally at Netflix.
The full set of calls to look for is:

HystrixPlugins.registerEventNotifier
HystrixPlugins.registerConcurrencyStrategy
HystrixPlugins.registerMetricsPublisher
HystrixPlugins.registerPropertiesStrategy
HystrixPlugins.registerCommandExecutionHook

So, I have been continuing to fight with this and I have a question.
Sounds like the entity throwing the exception is saying the strategy is already registered.
In that case, could I just catch the error and go on?  I know this is not the optimal solution, but would it work?
I see the explicit registration is in the init() of the CircuitBreakerAspect.  The circuit breaker wraps the DAO calls.
This is the registration statement that blows up.
It does not happen until the first call wrapped with the circuit breaker
Code fragment:

@Aspect
@Component
public class CircuitBreakerAspect
{
private static final DSLogger logger = DSLogger.getLogger(CircuitBreakerAspect.class);
   private static boolean isInitialized = false;

   public static synchronized void init()
   {
          if(!isInitialized)
          {
          logger.info("CircuitBreakerAspect.init() registering ConcurrencyStrategy!!");
           HystrixPlugins.getInstance().registerConcurrencyStrategy(new CDMConcurrencyStrategy());
           isInitialized = true;
          }
   }

I have not been successful in figuring out how to force the aspect to always load before the metrics servlet does the implicit registration.
Or would you suggest taking the registerConcurrencyStrategy() out of the aspect class and putting it in
a ServletContextListener.contextInitialized()?  Would that even solve it?
Since I don’t see any debug from the metrics servlet I am not sure exactly when it is doing its registration.
From: Matt Jacobs<EMAIL_ADDRESS>Sent: Tuesday, January 19, 2016 7:41 PM
To: Netflix/Hystrix<EMAIL_ADDRESS>Cc: Petach, Teresa<EMAIL_ADDRESS>Subject: Re: [Hystrix] java.lang.IllegalStateException: Another strategy was already registered (not during testing) (#1057)
@tpetach1https://github.com/tpetach1 I've also run into this in practice. The root cause is that all of the objects held by HystrixPlugins must be singletons, and must be in place upon the first HystrixCommand invocation. As an example, the HystrixConcurrencyStrategy must be non-null while the first HystrixCommand is executing, so that it knows how to wrap Callables and set up a HystrixRequestContext.
The 2 paths for generating the HystrixConcurrencyStrategy are:

No explicit initialization, and the first command invocation sets up the default HystrixConcurrencyStrategy.
Explicit initialization via HystrixPlugins.registerConcurrencyStrategy

Note that the latter fails with the IllegalStateException with cause "Another strategy was already registered" if the implicit initialization runs first.
The above is also true for any of the other objects in HystrixPlugins.
So what must be happening is that your application startup ends up creating a race between the first command running (and performing implicit initialization), and an invocation of one of the explicit init calls. If the implicit goes first by a command executing, then you're seeing the error above.
If possible, you should move the explicit plugin init as early as possible to avoid that race. In practice, that has worked for us internally at Netflix.
The full set of calls to look for is:

HystrixPlugins.registerEventNotifier
HystrixPlugins.registerConcurrencyStrategy
HystrixPlugins.registerMetricsPublisher
HystrixPlugins.registerPropertiesStrategy
HystrixPlugins.registerCommandExecutionHook

—
Reply to this email directly or view it on GitHubhttps://github.com/Netflix/Hystrix/issues/1057#issuecomment-173075976.

@tpetach1 You have the option of just catching and recovering from the IllegalStateException, but then your custom concurrency strategy isn't registered.  Presumable, something else is winning the race to register a HystrixConcurrenyStrategy, and in my experience, it's very often command's being executed while startup is not fully completed.
I think moving it to servlet init likely should move it early and sounds like a good idea.

Closing due to inactivity.  Please re-open if there's more to discuss.

I encountered this problem when I add spring dev tools to my project. Is there any workaround for this? If I remove it , everything works just fine
Exception in thread "restartedMain" java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
Caused by: java.lang.IllegalStateException: Another strategy was already registered.
	at com.netflix.hystrix.strategy.HystrixPlugins.registerCommandExecutionHook(HystrixPlugins.java:328)


New package for 2023.9.0

Can we get a new package for 2023.9.0 ? The automatic generation task seems to be failing.

I haven't had time in the last few weeks to address this.  From a quick look, it seems that a new module is needed to be extracted and needs to be added to the generation code.

Thank you


ModuleNotFoundError: No module named 'colmap_wrapper'

Hello, great work on this module, it seems working well!
I had an issue with the module 'colmap_wrapper', I think you forgot to include it in the submodules.
I found in the history that you use this project as a submodule colmap_wrapper, after cloning and installing it it worked fine.
For anyone having the issue clone the wrapper repository and install it using pip install . in your environment

Thanks! Yes it seemed as I did forget to include the colmap_wrapper module which is also available as a package. Nevertheless, your solution works for those who encounter similar errors.


Examples are added and coding practice improved

What were proposed in this Pull Request ?

Custom Mapping to read HBase table and Write HBase table are explained with sample example code and appropriate comments for more than 22 tuples limitation.
Config file is added to point data points for HBase such as table name, column family etc.
Coding standards are being improved.

Since multiple companies are using this awesome connector due to simplicity of this spark package.

@nicolaferraro Please review and do needful.

Thank you very much @chetkhatri!
:+1:

@nicolaferraro I am wondering that why my username @chetkhatri could not show in commit ! Did you used cherry pick ?

No, I just merged.  Requesting you to revert the commit. Apologize for my mistake. I will give new PR with my correct username.


remove untested/weird exists patch on rails 3.2

saw this weirdness while skimming through the code ... might want to clean that up ...

initially added in https://github.com/zendesk/active_record_shards/pull/12 without tests and seemingly broken
changed to a working state in https://github.com/zendesk/active_record_shards/pull/54
changed back to broken stage in https://github.com/zendesk/active_record_shards/pull/57

@bquorning @pschambacher

I’m not sure that #54 and #57 changed anything (hard to tell without tests ;-) ), but I’m :+1: on removing it.

Superseded by #197.


Centrical - Certification + Remove requirements for custom script

When submitting a connector, please make sure that you follow the requirements below, otherwise your PR might be rejected. We want to make you have a well-built connector, a smooth certification experience, and your users are happy :)
If this is your first time submitting to GitHub and you need some help, please sign up for this session.

[x] I attest that the connector doesn't exist on the Power Platform today. I've verified by checking the pull requests in GitHub and by searching for the connector on the platform or in the documentation.
[x] I attest that the connector works and I verified by deploying and testing all the operations.
[x] I attest that I have added detailed descriptions for all operations and parameters in the swagger file.
[x] I attest that I have added response schemas to my actions, unless the response schema is dynamic.
[x] I validated the swagger file, apiDefinition.swagger.json, by running paconn validate command.
[x] If this is a certified connector, I confirm that apiProperties.json has a valid brand color and doesn't use an invalid brand color, #007ee5 or #ffffff. If this is an independent publisher connector, I confirm that I am not submitting a connector icon.

If you are an Independent Publisher, you must also attest to the following to ensure a smooth publishing process:

[ ] I have named this PR after the pattern of "Connector Name (Independent Publisher)" ex: HubSpot Marketing (Independent Publisher)
[ ] Within this PR markdown file, I have pasted screenshots that show: 3 unique operations (actions/triggers) working within a Flow. This can be in one flow or part of multiple flows. For each one of those flows, I have pasted in screenshots of the Flow succeeding.
[ ] Within this PR markdown file, I have pasted in a screenshot from the Test operations section within the Custom Connector UI.
[ ] If the connector uses OAuth, I have provided detailed steps on how to create an app in the readme.md.

Hi @doronneumann, Thank you so much for your submission. As we ask all our partners to register the connector before we can start the certification process. Please register your connector for certification by filling out our registration form.
Please let me know if you have any questions.
Thank you so much again for working with us.

Hi @Amjed-Ayoub , I did register the connector and got an approval email.
I sent it from my work email<EMAIL_ADDRESS>

Hi @doronneumann, Apologies for this mistake. Thank you so much for your submission our Certification Engineers will review your pull request soon. @v-EgorKozhadei FYI.
Thank you so much again for working with us.

Hello @doronneumann,
I hope you are doing well.
I am following up with you to see how things are going with updating your connector.
Please let us know if you have any questions.
Thank you.

Hi @v-EgorKozhadei - I fixed all issues that you commented about. Hope everything is OK now.
Thanks.

Hi @v-EgorKozhadei  - Fixed description as you suggested.
Best.

Hello @doronneumann,
I hope you are doing well.
Congratulations, your pull request is approved and merged. Please submit the files to ISV Studio or update your submission using your latest commit ID, please allow us up to 1-2 weeks to review your submission, and our Engineers will notify you in the “Activity Control” area in ISV Studio. Please make sure that the icon meets all the requirements, that it’s size is 230x230, icon background is not white or transparent and it matches the iconBrandColor property in apiProperties.json file.
After making the submission in ISV Studio, please attach an intro.md file in the activity control section. This file is required and it's different from readme.md. You can find an example of intro.md file on this page at step 6.
Please Create an environment in the Preview region. You will use this environment later to test your connector after Microsoft is done with the functional verification for your connector.
We expect all tests to be completed within 1-2 weeks.
If your connector passes all tests, the deployment process begins, and it typically takes up to 3 to 4 weeks to deploy your connector to all of our regions.
Please let me know if you have any questions.
Thank you very much for working with us.


Error using env files

Details
Following the docs, the plugin should work with the vars.env file and get the variable values, but I always get an error. Below are pieces of information to try to reproduce the problem. Am I doing something wrong or is this a bug?
plugin config
return {
  'jellydn/hurl.nvim',
  dependencies = {
    'MunifTanjim/nui.nvim',
    'nvim-treesitter/nvim-treesitter',
  },
  ft = 'hurl',
  opts = {
    -- Show debugging info
    debug = false,
    -- Show notification on run
    show_notification = false,
    -- Show response in popup or split
    mode = 'split',
    -- Default formatter
    formatters = {
      json = { 'jq' }, -- Make sure you have install jq in your system, e.g: brew install jq
      html = {
        'prettier', -- Make sure you have install prettier in your system, e.g: npm install -g prettier
        '--parser',
        'html',
      },
    },
  },
  keys = {
    -- Run API request
    { '<leader>rr', '<cmd>HurlRunnerAt<CR>', desc = '[R]un Api [R]equest' },
  },
}

plugin version
hurl.nvim
  url    https://github.com/jellydn/hurl.nvim
  branch main
  commit 2531f2a
  readme README.md
  help   |hurl.nvim.txt|
  ft     hurl
  keys   <leader>rr

hurl file
POST {{API_HOST}}/v1/login

vars.env file
API_HOST = "http://localhost:3001"

output of HurlRunnerAt
  || error: Undefined variable
   --> /home/phelipe/.cache/nvim/6456-1710854193.hurl|1| 8
   ||    |
   ||  1 | POST {{API_HOST}}/v1/login
   ||    |        ^^^^^^^^ you must set the variable API_HOST

Checklist

[X] Modify lua/hurl/main.lua ✓ https://github.com/jellydn/hurl.nvim/commit/4fad53879aad1f7b760298bf37316a0a6646fb94 Edit
[X] Running GitHub Actions for lua/hurl/main.lua ✗  Edit

You have an invalid value on your .env file.
Please change to
``sh
API_HOST=http://localhost:3001


win-gpg-agent: Remove autoupdate

Remove automatic update checks as the upstream software repository has been put into a read-only archive state.

[X] I have read the Contributing Guide.

/verify


feat(cli): add --dry-run to bootstrap command

Closes #725
Fixes #725
📑 Description
In this PR I have added the --dry-run to the glasskube bootstrap command
✅ Checks

[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required

ℹ Additional Information

Sorry for the late PR😅, will rebase it when everything looks good. I have taken some inspiration/ideas from the --dry-run in the install command.

Ohk so referring the pkg/install/install.go. I tried implementing this code in the bootstrap.go
createOptions := metav1.CreateOptions{}
	if options.DryRun {
		createOptions.DryRun = []string{metav1.DryRunAll}
		statusMessage("Dry-run mode enabled. Glasskube Manifests will not be applied.", true)
		return manifests, nil
	}

Instead of :
if options.DryRun {
		statusMessage("Dry-run mode enabled. Glasskube Manifests will not be applied.", true)
		return manifests, nil
	}

Is this the correct approach?

No. In the applyManifests manifest there is a call to Apply, where a metav1.ApplyOptions struct is already passed. You have to add the dry run option there.
https://github.com/glasskube/glasskube/blob/2d0c02b9183ef7b97f12e7afb47b2fd8bd516dfb/pkg/bootstrap/bootstrap.go#L223-L224

Ohh, sorry I understood this. Rest all remains as it was previous.

No worries.
Well, this part probably has to go:
https://github.com/glasskube/glasskube/blob/6d01d882ef61167156df39a0ac3bebf18d2b33ba/pkg/bootstrap/bootstrap.go#L142-L145
Then, the part where the status of workloads is checked must be skipped (because there no workloads are created with dry-run):
https://github.com/glasskube/glasskube/blob/6d01d882ef61167156df39a0ac3bebf18d2b33ba/pkg/bootstrap/bootstrap.go#L254-L260
Lastly, we have to do something about the job deletion, but I think we can figure that out as a step 2.

if !options.DryRun {
		for _, obj := range checkWorkloads {
			bar.Describe(fmt.Sprintf("Checking Status of %v (%v)", obj.GetName(), obj.GetKind()))
			if err := c.checkWorkloadReady(obj.GetNamespace(), obj.GetName(), obj.GetKind(), 5*time.Minute); err != nil {
				return err
			}
			_ = bar.Add(1)
		}
	}

Does this looks good. I called the BootstrapOptions in the applymanifest function.

Yes that should work

well I tried this in my local env, output looks something like this.
PS H:\glasskube> .\main.exe bootstrap --dry-run
Glasskube will be updated to version v0.11.0 in cluster kind-lol.
Continue? (Y/n) y

## Installing GLASSKUBE ##
🧊 The next generation Package Manager for Kubernetes 📦
* Fetching Glasskube manifest from https://github.com/glasskube/glasskube/releases/download/v0.11.0/manifest-aio.yaml
* Validating existing installation
* Applying Glasskube manifests
Applying glasskube (PackageRepository)  94% |███████████████████████████████████████████████████████████████████████████████████████████      | (49/52, 5 it/s) [10s:0s]* Telemetry is enabled for this cluster – Run "glasskube telemetry status" for more info.
* Glasskube successfully installed! (took 21s)

That's great, it means nothing was applied in the cluster, which is exactly what we want for a dry-run.
I think we should also add a log line confirming that dry run is enabled at the start:

Dry-run is enabled. Nothing will be changed in your cluster!

Well I have now added the statusMessage("Dry-run mode enabled. Glasskube Manifests will not be applied.", true) here.


Update Contoso.Events Walkthrough Demo Instructions for ASP.NET Core

Update the Walkthrough demo (Module 3) for an ASP.NET Core version of the labs.

This issue has a pre-requisite of issue #127 being previously completed.

Cancelled


qiskit.quantum_info functions need inline examples, and more in-depth docstrings

What is the expected enhancement?

File https://github.com/Qiskit/qiskit-terra/blob/main/qiskit/quantum_info/states/measures.py needs inline code examples that demonstrate how to use the functions described in measures.py in Qiskit code
File https://github.com/Qiskit/qiskit-terra/blob/main/qiskit/quantum_info/states/random.py needs inline code examples that demonstrate how to use the functions of random.py in Qiskit code


HNC: hardcoded value for resource is replaced by constant

What this PR does / why we need it:
This PR added a constant for resource to replace hardcoded value of resource hierarchyconfigurations
Which issue(s) this PR fixes:
Fixes #146

Simple change so I'll just approve
/lgtm
/approved

/assign @tashimi

/approve


promisify request for co v4

co v4 has been released, which now relies on promises. Thunk support only remains for backwards compatibility and may be removed in future versions of co.
So I rewrite co-request in promise style. :)

Wow, thanks for the update. I will review it soon.