Example of MS Graph Teams beta API usage

Q
A

Bug fix?
no

New feature?
no

New sample?
yes

Related issues?
no

What's in this Pull Request?
React Team Creator Web Part
Summary
The web part illustrates usage of MS Graph beta APIs to work with Teams:

O365 group creation
Team creation
Channel creation
Installation of an app
Adding tab
Getting apps from App Catalog

thx Alex. We should definitely do a demo on this in one of the upcoming community calls if you are fine with that.

Hi Vesa,
Will be glad to demo it!

@VesaJuvonen do you have any specific date? Next dev bi-weekly call is on Thanksgiving. Next date is monthly call.
Just let me know what you think on that.

sorry for the small delay... We could cover this in 6th of Dec SPFx SIG or in the 11th of Dec monthly call. Both have still free spots for demos if you are available.

11th works better.
BTW, I added one more PR to move from beta to v1.0 endpoints for Graph: #693

11th of Dec it is then. Deal. Will get you on the agenda. Thx.


CSS background not rendering:

the style is not registering for background-color,

and for some reason its registering under the button. settings for .item does nothing
OS:
archlinux-EndevourOS

Styling just #workspaces will style the box that the buttons are inside of, so that's working as I'd expect.
Using #workspaces .item definitely works for me. This is what I have in my stylesheet:
#bar {
    border-top: 1px solid #424242;
}

.background, .container {
    background-color: #2d2d2d;
}

#workspaces .item {
    color: white;
    background-color: #2d2d2d;
    border-radius: 0;
}

If you can't get anywhere with the above, can you share your config and css (as text) please and I can have a play?

I had that in my css and at the time it didnt work. and then recently it started to work, maybe i had a broken dependency or smth


Compare message rendering on web and mobile app.

Download app from Play Store or App Store.
Open Setting tab in drawer and enable Split Message Text
Setting -> Diagnostics -> Debug -> Split Message Text
Come back to home, and scroll several message and compare rendering on messages on web and mobile app
Report message id, where you find rendering issues.

(rendering issues can be like extra while space, illogical line break etc)

@zulipbot label "gci"

@zulipbot label "gci task"

@zulipbot "GCI task"

@zulipbot label "GCI task"

@zulipbot claim

Here are the issues I have discovered so far:

Links on the Android app are all split with one word per line:
https://chat.zulip.org/#narrow/stream/GCI.20tasks/subject/monkeytest.2Eio.20bot/near/373883
Desktop:
Mobile:

The 2nd indent in a list shows up with the same type of bullet point on mobile.
https://chat.zulip.org/#narrow/stream/test.20here/subject/test/near/386336
Desktop:
Mobile:

Closing as with new webView messageList, it is no longer relevant.


Version 0.7.1 broke inline base64; images

When included html tags with src=base64 it works in  versions before 0.7, with 0.7 it broke

Could you add a test case?

It is still broke with the master branch?

yes, it is. below are the results:
>>> import mistune
>>> mistune.__version__
'0.7.3'
>>> mistune.markdown('![test](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==)')
'

\n'

and:
>>> import mistune
>>> mistune.__version__
'0.6'
>>> mistune.markdown('![test] (data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==)')
'

\n'

however, there are some concerns about using data as url links (for ex. discussed here).

I can suggest 2 solutions:

leave it as it is

to workaround this, developers'll have to write raw img:
import mistune
mistune.markdown('', escape=False)

or override image rendering to bypass security checks:
import mistune

class CustomRenderer(mistune.Renderer):
    def image(self, src, title, text):
        text = mistune.escape(text, quote=True)
        if title:
            title = mistune.escape(title, quote=True)
            html = '<img src="%s" alt="%s" title="%s"' % (src, text, title)
        else:
            html = '' % html
        return '%s>' % html

mistune.markdown('![test](data:image/png;base64,XXX)', renderer=CustomRenderer())

check data for images:

maybe allow 'image/png', 'image/jpg' and 'image/gif' only

715046fe4b5f3642b24edc7fdd62ba8915228498 this commit fixed it.

@lepture why is data html blacklisted?


Usage with Cloudflare proxy

In my env file I define my IP to the public IP of the server.
I can run a docker container and I can access it from the specified domain with HTTPS and a valid Lets-Encrypt certificate.
Now I switch my Cloudflare toggle to proxy all requests to my webserver. This results in a "This page isn't redirecting properly" error and I can no longer access the docker container.
I would like to know how to setup Cloudflare and this proxy to properly work together.
Example container:
version: '3.2'
services:
  grafana:
    image: grafana/grafana
    container_name: grafana
    hostname: grafana
    expose:
      - "3000"
    environment:
      VIRTUAL_HOST: graf.domain.com
      LETSENCRYPT_HOST: graf.domain.com

networks:
  default:
    external:
      name: webproxy

Using cloudflare the letsencrypt certificates will not be renewed unless you bypass the cloudflare proxy. You could disable the letsencrypt removing the LETSENCRYPT_HOST option and uncomment the USE_NGINX_CONF_FILES in your .env file. It will add the cloudflare real ip forwarding to you container in case you need it.

I have a script that will open source it soon, just waiting the sponsor to validate which disable the proxy update the ssl and activate the proxy again, doing automatically using cron, but might take a while to post it.

I am aware of this limitation that I can not renew the lets encrypt certificates while behind the cloudflare proxy. This is not ideal but I can work around this.
However, my issue seems to be different. I have a valid lets encrypt cert but can not use it along with grafana, this proxy and cloudflare. I get the "This page isn't redirecting properly" on my browser. Same thing happening with a MinIO docker container.
Do you have any suggestion for this issue?
Thank you for your work on this great script.

it works if you bypass the proxy but it does if you activate the proxy is that what's happening? I had this issue when starting to work with cloudflare... I will try to remember but think it was a cloudflare config for that matter.

what the log says in proxy and grafana container?

If I do not use the Cloudflare proxy it works. I can make a https request with a valid lets encrypt certification.
If I activate the Cloudflare proxy I get "This page isn't redirecting properly" in my browser.
The nginx-proxy logs
nginx-web            | graf.domain.com 162.XXX.XXX.55 - - [18/Dec/2020:13:44:17 +0000] "GET /?orgId=1 HTTP/1.1" 301 169 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36"
nginx-web            | graf.domain.com 162.XXX.XXX.55 - - [18/Dec/2020:13:44:17 +0000] "GET /?orgId=1 HTTP/1.1" 301 169 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36"
nginx-web            | graf.domain.com 162.XXX.XXX.55 - - [18/Dec/2020:13:44:17 +0000] "GET /?orgId=1 HTTP/1.1" 301 169 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36"
nginx-web            | graf.domain.com 162.XXX.XXX.55 - - [18/Dec/2020:13:44:17 +0000] "GET /?orgId=1 HTTP/1.1" 301 169 "-"
.....many more redirects....

The grafana docker container logs do not show any requests. It usually logs all http requests so I assume the calls do not reach the grafana container.

This is more related to the CloudFlare configuration than this proxy. Check the page rules and the tls options...

I have pretty much tried every SSL related page rule. Even disabling SSL It is always the same unfortunately.

Disabling LETSENCRYPT_HOST on the docker container makes it work again. It just unfortunate that it seems I can not use Lets Encrypt to encrypt the traffic from Cloudflare to my server

I will try to check on that and see how to use both!

Hi just asking if you have been able to check on this. I have been trying some custom nginx configs to stop the infinite redirects but did not have any luck.
I would love to be able to use Cloudflare with its DDOS protection and this useful nginx proxy.
I tried the minio and grafana dockler container. Both end up with infinite redirects from nginx-web as soon as I toggle the Cloudflare proxy

Hi just asking if you have been able to check on this. I have been trying some custom nginx configs to stop the infinite redirects but did not have any luck.
I would love to be able to use Cloudflare with its DDOS protection and this useful nginx proxy.
I tried the minio and grafana dockler container. Both end up with infinite redirects from nginx-web as soon as I toggle the Cloudflare proxy

Hello, I would like to share my own experience. I used to get these infinite redirects too. After much fiddling, I got it to work.
I did this for both the previous version (0.4) and the one that just came out yesterday (v2).
My setup on Cloudflare:

set SSL/TLS encryption mode: Full
turn off Always Use HTTPS from the SSL/TSL > Edge Certificates
under Page Rules, add page rule with URL: *hostname.tld/.well-known/acme-challenge/* and set Disabled Security , SSL: Off, Cache level: Bypass, Automatic Rewrites: Off

With the latest version, just run the fresh_install.sh, and it just works!
Note: Make sure to add the DNS for A record and set it to Proxied (Orange Cloud).

Hello, I would like to share my own experience. I used to get these infinite redirects too. After much fiddling, I got it to work.
I did this for both the previous version (0.4) and the one that just came out yesterday (v2).
My setup on Cloudflare:
* set `SSL/TLS encryption mode: Full`

* turn off `Always Use HTTPS` from the `SSL/TSL > Edge Certificates`

* under `Page Rules`, add page rule with URL: `*hostname.tld/.well-known/acme-challenge/*` and set `Disabled Security` , `SSL: Off`, `Cache level: Bypass`, `Automatic Rewrites: Off`

With the latest version, just run the fresh_install.sh, and it just works!
Note: Make sure to add the DNS for A record and set it to Proxied (Orange Cloud).

With SSL/TLS encryption mode:Full' I wasn't able to achieve it, I'd get self signed certificate errorsbut setting it toSSL/TLS encryption mode: Full(strict)` made the trick.

Hello, I would like to share my own experience. I used to get these infinite redirects too. After much fiddling, I got it to work.
I did this for both the previous version (0.4) and the one that just came out yesterday (v2).
My setup on Cloudflare:
* set `SSL/TLS encryption mode: Full`

* turn off `Always Use HTTPS` from the `SSL/TSL > Edge Certificates`

* under `Page Rules`, add page rule with URL: `*hostname.tld/.well-known/acme-challenge/*` and set `Disabled Security` , `SSL: Off`, `Cache level: Bypass`, `Automatic Rewrites: Off`

With the latest version, just run the fresh_install.sh, and it just works!
Note: Make sure to add the DNS for A record and set it to Proxied (Orange Cloud).

It works!! Thank you very much!!!
Now nextcloud container, does not see original client IP, it sees the Cloudflare IP as connected client. I have added Cloudflare IP's to trusted proxies, but they have no effect:
  'trusted_proxies' =>
  array (
    0 => '<IP_ADDRESS>/16',
    1 => '<IP_ADDRESS>/22',
    2 => '<IP_ADDRESS>/22',
    3 => '<IP_ADDRESS>/22',
    4 => '<IP_ADDRESS>/12',
    5 => '<IP_ADDRESS>/18',
    6 => '<IP_ADDRESS>/22',
    7 => '<IP_ADDRESS>/18',
    8 => '<IP_ADDRESS>/15',
    9 => '<IP_ADDRESS>/13',
    10 => '<IP_ADDRESS>/20',
    11 => '<IP_ADDRESS>/20',
    12 => '<IP_ADDRESS>/20',
    13 => '<IP_ADDRESS>/22',
    14 => '<IP_ADDRESS>/17',
    15 => '2400:cb00::/32',
    16 => '2606:4700::/32',
    17 => '2803:f800::/32',
    18 => '2405:b500::/32',
    19 => '2405:8100::/32',
    20 => '2c0f:f248::/32',
  ),

Not sure if there is a solution for this, but I would like to find one.

Oh, I had to put USE_NGINX_CONF_FILES=true in .env and re-run fresh-start.sh. Now I get real IP in the nextcloud container. No trusted proxy needed in nextcloud config files.

@adrianharabula when you set true to use nginx conf files it will activate this configurations:
https://github.com/evertramos/nginx-proxy-automation/blob/master/conf.d/realip.conf

Hello, I would like to share my own experience. I used to get these infinite redirects too. After much fiddling, I got it to work.
I did this for both the previous version (0.4) and the one that just came out yesterday (v2).
My setup on Cloudflare:

set SSL/TLS encryption mode: Full
turn off Always Use HTTPS from the SSL/TSL > Edge Certificates
under Page Rules, add page rule with URL: *hostname.tld/.well-known/acme-challenge/* and set Disabled Security , SSL: Off, Cache level: Bypass, Automatic Rewrites: Off

With the latest version, just run the fresh_install.sh, and it just works!
Note: Make sure to add the DNS for A record and set it to Proxied (Orange Cloud).

I can't do this. I tried using docker compose:
version: "3"
services:
  dozzle:
    container_name: dozzle
    image: amir20/dozzle:latest
    environment:
      - VIRTUAL_HOST=xyz
      - LETSENCRYPT_HOST=xyz
      - VIRTUAL_PORT=8080
      - LETSENCRYPT_EMAIL=xyz
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    ports:
      - 8080:8080

networks:
  default:
    external:
      name: ${NETWORK:-proxy}

But I still get 500 from nginx. I know that it work before, because other devs used this way, but I don't know why it stop working


CORE-33593 Move event merge ID into XDM block

Description
This probably should have been done as part of https://github.com/adobe/alloy/pull/186, but since @jfkhoury already reviewed that PR, I decided to keep this separate.
eventMergeID will be in the XDM schema itself, so it makes sense to send it to Konductor in the xdm block and not as a sibling to the xdm block. This is also what Konductor is expecting as outlined in http://konductor-docs-qe.apps-exp-edge-npe-va6.experience-edge.adobeinternal.net/ (although Konductor is still using the old stitchId name in the swagger docs).

Related Issue
https://jira.corp.adobe.com/browse/CORE-33593

Motivation and Context

Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] All tests pass and I've made any necessary test changes.
[x] I have run the Sandbox successfully.

Hold off reviewing this PR please.


Minor changes for eltwise on Grace

Now the eltwise functions also run with BF16 on Grace.

We will merge #926 soon. With that my comment becomes obsolete as the file goes away... please merge main after #926 landed and then we are good to go here.

please merge again.


Ensure we don't double-notify exceptions in after_rollback or after_commit

Rails 4.2 no longer swallows exceptions raised in after_rollback or after_commit callbacks, we should check if our special handling of these (Bugsnag::Rails::ActiveRecordRescue) will cause any problems in rails 4.2.

It doesn't appear that this will be an issue, because Bugsnag::Rails::ActiveRecordRescue monkey patches a method called run_callbacks. Note the following caller output for 4.1.8:
/Users/keegan/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:424:in `block in make_lambda'
/Users/keegan/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:253:in `call'
/Users/keegan/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:253:in `block in simple'
/Users/keegan/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:86:in `call'
/Users/keegan/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:86:in `run_callbacks'
/Users/keegan/code/bugsnag-ruby/lib/bugsnag/rails/active_record_rescue.rb:11:in `run_callbacks'
/Users/keegan/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/transactions.rb:296:in `committed!'

In 4.2, active_support/callbacks.rb has changed its internal behavior:
/Users/keegan/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:427:in `block in make_lambda'
/Users/keegan/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:260:in `call'
/Users/keegan/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:260:in `block in simple'
/Users/keegan/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `call'
/Users/keegan/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `_run_callbacks'
/Users/keegan/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:734:in `_run_commit_callbacks'
/Users/keegan/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/activerecord-4.2.0/lib/active_record/transactions.rb:314:in `committed!'

Note that that in 4.2.0 the call to run_callbacks has been replaced with a call to _run_commit_callbacks, which then calls  _run_callbacks — if in a future version, the internal implementation went back to using a method named run_callbacks, we would have to worry about the double-notify issue.

yay!


More steps than 3...

You have one bug, if you try to add more steps than 3, progress bar will behave weird.
Problem is with variable total_num_steps
var total_num_steps = $buttons.length; // line 9 in multi-step-modal.js
Number of buttons is not good indicator of total_num_steps, i switch this to:
var total_num_steps = $modal.find('.modal-title').length;  // and everything work properly.

Thanks for the report, the length is calculate based on $modal.find('button.step');, so only button with a step class will be considered as a step. Maybe you didn't add a button with step class, that's why the behavior was weird with more than 3 steps?

I added, but imagine: if you have 5 steps you will need 5 continue buttons and 4 back buttons... that is 9 buttons with class step...
I solve it like i mention above, and that work for me.

Thank you for great and usable code, anyway. :)

I see, great point. I think in my code what I did was all the Back buttons had this code
<button data-step="2" class="btn btn-primary back step-2 pull-right" type="button">Back</button>

They do not have the class step so they are not counted in the number of steps of the modal!
Other than that, I think your solution works really well, but doesn't work if I do not have a .modal-title, which is the case in my use case! :P
Thanks! Apologies this code hasn't been updated or document, it worked well for my use case and I have left it as such heh.

Why not just count the amount of .step classes there are instead of worrying about buttons at all? Since the buttons have to be hooked up manually and have little to do with the amount of steps there are, it makes little sense to count them and could easily introduce implementation errors.
In my own implementation I don't use buttons at all and changed the enumerator to work this way. It's far cleaner.

@robsaunders the reason is because I use $('.step') as the selector to reset the entire modal (hide everything) upon initialization and before every step. Each modal header and modal body has the class 'step', so taking $('.step').length will give me the wrong number of steps.
That said, this code worked well enough for my use case, and this project is clearly not maintained and is just open sourced for people who happen to need this really simple code.

@robsaunders @ngzhian Just changing $('.step') to $('.modal-body.step') should do the job as the number of steps 'pages' should be the final number of steps.

@amarms thanks for your suggestion, if I haven't been using this library for a while, if you would like to submit this as a pull request it will be very welcomed! :)


gave it a quick go, but no luck

I tried doing some clumsy renaming to get the plugin to work with Gedit 3, but it fails when I try to activate the plugin under gedit preferences. I am not sure how to troubleshoot a python plugin like this to see where the problem is.
probably just more to do to complete the port, I think the parts I did do were correct, so hopefully that helps out a little.

This guy has code that seems a little divergent from this base, but it works in gedit3 for me.
https://github.com/rtlong/gmate/tree/master/plugins3/zencoding


I have some problem with the raw data you provided in the link of your paper. Those data seemed to be non-filtered matrix. Could you please help to provide filtered_feature_bc_matrix data? many thanks to this

"the link of your paper"

what paper?

The original paper, "Single-cell transcriptomic analysis of the adult mouse spinal cord reveals molecular diversity of autonomic and skeletal motor neurons". And the link is here: https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE161621. Thanks

I don’t know how that’s related to this repo, sorry!


ReplyTo message within a group

Hi there,
I am trying to make a bot that will do an action based on a reply. What I mean by this is; when someone says something in a group I reply to that message with a bot command (e.g. /dosomething) however, I do not seem to be able to access the properties of that message, merely returns nil. Below is the code I am trying to use currently:
func main() {
	bot, err := t.NewBot(t.Settings{
		Token:  token,
		Poller: &t.LongPoller{Timeout: 10 * time.Second},
	})
	if err != nil {
		log.Fatal(err)
	}
	bot.Handle("/raw", func(m *t.Message) {
		log.Printf("Message Payload: %s", m.Payload)
		log.Printf("Original Message: %s", m.ReplyTo)
	})

	log.Print("starting telegram bot")
	bot.Start()
}

Not 100% on where to go from here :)

just pass m to Reply():
	bot.Handle("/raw", func(m *t.Message) {
		bot.Reply(m, "hello world")
	})

Hey @chy168 thanks fr the reply, I don't want the bot to do the reply, like the below screen shot I want the command to be done as part of a user replying to another user:

I want to be able to access the ID of the message in which I am replying to as a user.

@BrendanThompson is full access enabled for your bot (check with botfather, can access all messages or something like that)?

Have you looked at the ForceReply option?

@demget I have not looked at that, no. Are you able to link to any collateral?

@demget I have not looked at that, no. Are you able to link to any collateral?

https://core.telegram.org/bots/api#forcereply
Example of basic usage:
b.Send(m.Sender, "Hello!", tb.ForceReply)


Fix an error that happens on configuration change (#1814)

Fixes #1814 as described there.

Thanks for the analysis and the fix. I'll merge this and release as soon as I get the latest FSAC updated here.


bugfix. The version in 14.12 doesn't do anything.

I've tagged this WIP because it has been discussed on IRC.

Superseded by https://github.com/NixOS/nixpkgs/pull/5690 as discussed on IRC


Upgrade xpress to 8.14.0

Prerequisites

[x] I have read the Contributing Guidelines.
[x] I have read the Code of Conduct.
[x] If this is a non-trivial change, I have already opened an accompanying Issue.
[x] If applicable, I have included documentation updates alongside my code changes.

Description

8.13 Community License expired on 10-31-2022. Upgraded xpress to 8.14 and get the 8.14 community license.
https://community.fico.com/s/blog-post/a5Q4w000000CvWxEAK/fico3097
Test Plan
CI: unittest & integration test

The pyre checks failed - so you plan to merge the other PR into this one?

Member

yes


Update the spark 2.4 connector artifact name

On Spark 3.0 connector, we have put the spark version in the middle of the artifact name to tell which is the supported Spark version. https://github.com/pravega/spark-connectors/blob/master/gradle/java.gradle#L32
We need to do the same thing for our Spark 2.4 connector

#89


Provide request to contrib.auth.authenticate in serializers

In Django 1.11, django.contrib.auth.authenticate takes the current request as an argument. JSONWebTokenSerializer should support that.

Addressed https://github.com/GetBlimp/django-rest-framework-jwt/pull/412


update warning regarding VirtualBox now that vbox 5.0 is out.

looks like vbox 5 fixed its obnoxious behavior (at least i'm unable to trigger crashes anymore :smile: ) so README updated accordingly.
(on top of #36)

vbox 5 and xhyve can be run at the same time :)

rebase on current master and I'll merge.

just rebased.

This has #34 and #36 in it, so looks like you rebased against a different branch rather than master?

rebased against plain upstream/master. (&& thanks for your patience)

LGTM


Is the project out of maintenance?

Is the project out of maintenance?Isn't the plan a release every 4 weeks?There hasn't been a new release in months

As described here, there were some delays.

The.NET 6 runtime version should be released as soon as possible, iteratively with respect to GUI Settings

@Seanxwy. We do not have a fixed release cadence for Tye for the time being.  That said, 0.11.0 was recently released, and Tye is now built using .NET 6.


Revert "feat(Page): teach Page.setContent to wait for resources to lo…

…ad (#1152)"
This reverts commit 80ee46942908054dea3bc14e6505bc12718e0b2d.
Lifecycle events are not ready yet to support the setContent scenario.
The prerequisite for this is
https://chromium-review.googlesource.com/c/chromium/src/+/747805 that
might not land soon due to technical concerns.

@JoelEinbinder FYI. Reverting this since we can't get it to work in 0.13.0 and we'd like to push the release.

Maybe #728 and related issues should be reopened untile the PR can be merged again.

@mariotsi good call, reopened


chore(eslint): Update eslint-config-opensphere to 2.0.0.

Does this cause an error on not leaving a whitespace in jsdocs before parameters?

@jsalankey Yes, it requires a blank line between the description and the params.
I could go either way on that rule. It's intended for readability and is fixed with eslint --fix, but I'm not fully convinced it's worth requiring developers to do in every comment block.

Closing until config is finalized.


Add link to colour contrast checker

Quick and dirty
Adds a link to http://leaverou.github.io/contrast-ratio/#white-on-purple so people can check their colours are readable

See https://github.com/alphagov/tv-team-name/pull/2


Handling of UFW on Ubuntu/Debian based Instance

What feature would you like to be added?
Currently kubeone disables UFW on Debian/Ubuntu based systems and according to pkg/scripts/os.go the same accounts for other OS. If this is absolutely necessary, I would propose to document this behaviour in the official documentation (I couldn't find anything) in order to allow admins to enable the firewall after cluster deployment by kubeone, together with a list or matrix of necessary ports to be open between node groups.
What are use cases of the feature?
In some on-premise settings it is not possible to easily obtain a dedicated network with firewall/security group, therefore, handling firewall settings on the hosts might be the only solution and is often requested by company policies.

@ag1989 Calico's NetworkPolicies have you covered, as they provide quite cool feature to firewall non-kubernetes resources using Kubernetes APIs!
For more info please see:

https://docs.projectcalico.org/security/calico-network-policy
https://docs.projectcalico.org/security/kubernetes-nodes
https://docs.projectcalico.org/security/protect-hosts

@kron4eg thanks for the links, didn't know about this. Might be good to mention it in the official KubeOne docs :)


sql: new columns in crdb_internal.zones table

PR: https://github.com/cockroachdb/cockroach/pull/40493
From release notes:

The SHOW PARTITIONS statement now displays inherited as well as explicitly set zone configurations for partitions. Also, it is now possible to retrieve full zone configurations via the full_config_sql column in the crdb_internal.zones table, and the new zone_id and subzone_id columns in the crdb_internal.partitions table point to partitions' corresponding zone configurations in crdb_internal.zones. [#40493][#40493] {% comment %}doc{% endcomment %}

I changed the name of this issue to cover what hasn't already been filed/documented (the crdb_internal table).
See #5364 and #5541 - these covered the inherited constraints issue.
Several duplicates of this issue have also popped up (#5530, #5531, #5532).

@ericharmeling FYI I'm addressing the crdb_internal.zones part of this issue as part of #4730.

@ericharmeling I've addressed the following bits re: crdb_internal.zones in #5679

Also, it is now possible to retrieve full zone configurations via the full_config_sql column in the crdb_internal.zones table, and the new zone_id and subzone_id columns in the crdb_internal.partitions table point to partitions' corresponding zone configurations in crdb_internal.zones

I think the only thing left is matching up crdb_internal.partitions with crdb_internal.zones, but it looks like that work may happen via #4978 ?
tl;dr: can we close this?  or do we need it to stay open to track the zones <-> partitions connection work?

@rmloveland I think we can close this.
crdb_internal.zones is documented in #5679, and we direct users to query crdb_internal.partitions for partition information for "programmatic" purposes in #5722.
And yes, we plan to go into much more detail about all crdb_internal tables with #4978.


Adding emojis as reactions doesn't work anymore

Bug description
When adding a reaction to a post, if we use an emoji such as 👍, 🔥, etc...the transaction will be invalid due to an internal error (probably something related to the emojis library?). Need further investigation
code: 111222
codespace: undefined
data: ""
gas_used: "44839"
gas_wanted: "200000"
height: "105"
info: ""
logs: []
raw_log: 'panic message redacted to hide potentially sensitive system info: panic

Steps to reproduce

Run a local chain
Create a subspace
Create a post in that subspace
Add a reaction to that post with an emoji desmos tx posts add-reaction <subspace-id> 👍 --from <key-name> --chain-id <id>

Expected behavior
Emoji reaction posted without any error.

@bragaz I found that GetEmojiByShortCodeOrValue searches the emoji tables in emojidata.go. It loses the shortcodes list so the error happens. The table in emojidata.go should be updated to solve the problem.

I think it could have an error handling here to avoid the panic with the following check.
if len(emojiReact.Shortcodes) {
    return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "short code doesn't exist")
}

@dadamu Even if the shortcodes are added here, the error is happening and it's for the reason you've described...very weird. Looks like reactions shortcodes aren't initialised at all

@bragaz From my side, only emoji package is imported. The init() function is in the main package so it is not called. The init function should be put into emoji package, instead.

@bragaz I tried a while. init() function is run properly. However, the Emoji struct is not correct in the downloaded package and /data/emoji.json is not included. The upstream release package should be updated.

Closing this as the x/posts module will need to be implemented again anyway


 Can you explain the psychological underpinnings of this behavior? Is this some sort of primal attraction to the destructive force of nature?"
🖼 Asset: A close-up of a person's face being eaten by a bear, with another person leaning in to kiss the bear's cheek in the background
JOE_ROGAN: "Dude, I'm not just kissing the bear, I'm trying to tap into its primal energy. I mean, think about it, Jordan, you're being consumed by this beast, and I'm trying to connect with it on a deeper level. It's like, the ultimate form of intimacy, man. And also, I'm pretty sure the bear is into it, bro."
🖼 Asset: A person with a meditation-like expression, leaning in to kiss a massive grizzly bear's cheek, as the bear's jaws are wide open, devouring another person in tthe background
✅ Transcript generated: 2 entries
🖼 Starting fetchValidImages
🔍 Starting fetchValidImages with params: { length: 2, ai: true, duration: 1 }
🤖 Using AI image generation
📸 Queueing image generation for transcript 0: A close-up of a person's face being eaten by a bear, with another person leaning in to kiss the bear's cheek in the background
🎨 Starting image generation for prompt: A close-up of a person's face being eaten by a bear, with another person leaning in to kiss the bear's cheek in the background
1⃣ Getting AI prompt
💭 Generating image prompt for: A close-up of a person's face being eaten by a bear, with another person leaning in to kiss the bear's cheek in the background
📸 Queueing image generation for transcript 1: A person with a meditation-like expression, leaning in to kiss a massive grizzly bear's cheek, as the bear's jaws are wide open, devouring another person in the background
🎨 Starting image generation for prompt: A person with a meditation-like expression, leaning in to kiss a massive grizzly bear's cheek, as the bear's jaws are wide open, devouring another person in the background
1⃣ Getting AI prompt
💭 Generating image prompt for: A person with a meditation-like expression, leaning in to kiss a massive grizzly bear's cheek, as the bear's jaws are wide open, devouring another person in the background
⏳ Waiting for all image generations to complete
❌ Error generating prompt: NotFoundError: 404 The model ft:gpt-3.5-turbo-1106:personal::8TEhcfKm does not exist or you do not have access to it.
at APIError.generate (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/node_modules/openai/error.mjs:50:20)
at OpenAI.makeStatusError (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/node_modules/openai/core.mjs:286:25)
at OpenAI.makeRequest (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/node_modules/openai/core.mjs:330:30)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async imagePrompt (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/eleven.mjs:282:20)
at async imageGeneneration (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/eleven.mjs:298:18)
at async Promise.all (index 0)
at async fetchValidImages (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/eleven.mjs:201:20)
at async generateTranscriptAudio (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/eleven.mjs:65:18)
at async transcribeFunction (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/transcribe.mjs:106:33) {
status: 404,
headers: {
'alt-svc': 'h3=":443"; ma=86400',
'cf-cache-status': 'DYNAMIC',
'cf-ray': '8f777defde7cc1b0-BLR',
connection: 'keep-alive',
'content-encoding': 'gzip',
'content-type': 'application/json; charset=utf-8',
date: 'Wed, 25 Dec 2024 08:34:26 GMT',
server: 'cloudflare',
'set-cookie': '__cf_bm=bbvYERITwVHlhf_9ql43q_WjQiw2lqY1TQsCxIbWH5A-1735115666-<IP_ADDRESS>-Y9GUO2HeosM04mZHZO6XfFfb3c66sA48C5ARJUlHdcw5InB5Ql268mEBqUW2y2aYKbR9ok.cDepwI.V0e4XNnw; path=/; expires=Wed, 25-Dec-24 09:04:26 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None, _cfuvid=8HgEv5_27j9eh74tMv_yUqwBg3Q9QFbUzlbZmBD.UyA-1735115666116-<IP_ADDRESS>-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None',
'strict-transport-security': 'max-age=31536000; includeSubDomains; preload',
'transfer-encoding': 'chunked',
vary: 'Origin',
'x-content-type-options': 'nosniff',
'x-request-id': 'req_087cf415668233f64c5a8b2c1d742609'
},
request_id: 'req_087cf415668233f64c5a8b2c1d742609',
error: {
message: 'The model ft:gpt-3.5-turbo-1106:personal::8TEhcfKm does not exist or you do not have access to it.',
type: 'invalid_request_error',
param: null,
code: 'model_not_found'
},
code: 'model_not_found',
param: null,
type: 'invalid_request_error'
}
❌ Error in imageGeneration: NotFoundError: 404 The model ft:gpt-3.5-turbo-1106:personal::8TEhcfKm does not exist or you do not have access to it.
at APIError.generate (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/node_modules/openai/error.mjs:50:20)
at OpenAI.makeStatusError (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/node_modules/openai/core.mjs:286:25)
at OpenAI.makeRequest (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/node_modules/openai/core.mjs:330:30)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async imagePrompt (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/eleven.mjs:282:20)
at async imageGeneneration (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/eleven.mjs:298:18)
at async Promise.all (index 0)
at async fetchValidImages (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/eleven.mjs:201:20)
at async generateTranscriptAudio (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/eleven.mjs:65:18)
at async transcribeFunction (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/transcribe.mjs:106:33) {
status: 404,
headers: {
'alt-svc': 'h3=":443"; ma=86400',
'cf-cache-status': 'DYNAMIC',
'cf-ray': '8f777defde7cc1b0-BLR',
connection: 'keep-alive',
'content-encoding': 'gzip',
'content-type': 'application/json; charset=utf-8',
date: 'Wed, 25 Dec 2024 08:34:26 GMT',
server: 'cloudflare',
'set-cookie': '__cf_bm=bbvYERITwVHlhf_9ql43q_WjQiw2lqY1TQsCxIbWH5A-1735115666-<IP_ADDRESS>-Y9GUO2HeosM04mZHZO6XfFfb3c66sA48C5ARJUlHdcw5InB5Ql268mEBqUW2y2aYKbR9ok.cDepwI.V0e4XNnw; path=/; expires=Wed, 25-Dec-24 09:04:26 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None, _cfuvid=8HgEv5_27j9eh74tMv_yUqwBg3Q9QFbUzlbZmBD.UyA-1735115666116-<IP_ADDRESS>-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None',
'strict-transport-security': 'max-age=31536000; includeSubDomains; preload',
'transfer-encoding': 'chunked',
vary: 'Origin',
'x-content-type-options': 'nosniff',
'x-request-id': 'req_087cf415668233f64c5a8b2c1d742609'
},
request_id: 'req_087cf415668233f64c5a8b2c1d742609',
error: {
message: 'The model ft:gpt-3.5-turbo-1106:personal::8TEhcfKm does not exist or you do not have access to it.',
type: 'invalid_request_error',
param: null,
code: 'model_not_found'
},
code: 'model_not_found',
param: null,
type: 'invalid_request_error'
}
❌ Error generating prompt: NotFoundError: 404 The model ft:gpt-3.5-turbo-1106:personal::8TEhcfKm does not exist or you do not have access to it.
at APIError.generate (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/node_modules/openai/error.mjs:50:20)
at OpenAI.makeStatusError (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/node_modules/openai/core.mjs:286:25)
at OpenAI.makeRequest (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/node_modules/openai/core.mjs:330:30)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async imagePrompt (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/eleven.mjs:282:20)
at async imageGeneneration (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/eleven.mjs:298:18)
at async Promise.all (index 1)
at async fetchValidImages (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/eleven.mjs:201:20)
at async generateTranscriptAudio (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/eleven.mjs:65:18)
at async transcribeFunction (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/transcribe.mjs:106:33) {
status: 404,
headers: {
'alt-svc': 'h3=":443"; ma=86400',
'cf-cache-status': 'DYNAMIC',
'cf-ray': '8f777defdb031d18-BLR',
connection: 'keep-alive',
'content-encoding': 'gzip',
'content-type': 'application/json; charset=utf-8',
date: 'Wed, 25 Dec 2024 08:34:26 GMT',
server: 'cloudflare',
'set-cookie': '__cf_bm=C.oxT1JOQz8NHGN_qETHzUg5zzSPw.yxziDeCRb35BU-1735115666-<IP_ADDRESS>-F05AVd3XWFSlTWffd4f73C0BAiAi7Duz4HoeKHZqfqW8O4CrR9uFukkcr72Pe5ykZZLxDo7ljXX2smvfPb4tyA; path=/; expires=Wed, 25-Dec-24 09:04:26 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None, _cfuvid=gY.nJHL4D6pbU1cp5MyIRyRPnY_lGXDqnPo_2mCG0qY-1735115666125-<IP_ADDRESS>-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None',
'strict-transport-security': 'max-age=31536000; includeSubDomains; preload',
'transfer-encoding': 'chunked',
vary: 'Origin',
'x-content-type-options': 'nosniff',
'x-request-id': 'req_71214c36d0aef5a5abd4cb4edeb0545f'
},
request_id: 'req_71214c36d0aef5a5abd4cb4edeb0545f',
error: {
message: 'The model ft:gpt-3.5-turbo-1106:personal::8TEhcfKm does not exist or you do not have access to it.',
type: 'invalid_request_error',
param: null,
code: 'model_not_found'
},
code: 'model_not_found',
param: null,
type: 'invalid_request_error'
}
❌ Error in imageGeneration: NotFoundError: 404 The model ft:gpt-3.5-turbo-1106:personal::8TEhcfKm does not exist or you do not have access to it.
at APIError.generate (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/node_modules/openai/error.mjs:50:20)
at OpenAI.makeStatusError (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/node_modules/openai/core.mjs:286:25)
at OpenAI.makeRequest (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/node_modules/openai/core.mjs:330:30)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async imagePrompt (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/eleven.mjs:282:20)
at async imageGeneneration (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/eleven.mjs:298:18)
at async Promise.all (index 1)
at async fetchValidImages (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/eleven.mjs:201:20)
at async generateTranscriptAudio (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/eleven.mjs:65:18)
at async transcribeFunction (file:///C:/Users/hrmra/Desktop/ytshortsgenerator/brainrot.js/generate/transcribe.mjs:106:33) {
status: 404,
headers: {
'alt-svc': 'h3=":443"; ma=86400',
'cf-cache-status': 'DYNAMIC',
'cf-ray': '8f777defdb031d18-BLR',
connection: 'keep-alive',
'content-encoding': 'gzip',
'content-type': 'application/json; charset=utf-8',
date: 'Wed, 25 Dec 2024 08:34:26 GMT',
server: 'cloudflare',
'set-cookie': '__cf_bm=C.oxT1JOQz8NHGN_qETHzUg5zzSPw.yxziDeCRb35BU-1735115666-<IP_ADDRESS>-F05AVd3XWFSlTWffd4f73C0BAiAi7Duz4HoeKHZqfqW8O4CrR9uFukkcr72Pe5ykZZLxDo7ljXX2smvfPb4tyA; path=/; expires=Wed, 25-Dec-24 09:04:26 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None, _cfuvid=gY.nJHL4D6pbU1cp5MyIRyRPnY_lGXDqnPo_2mCG0qY-1735115666125-<IP_ADDRESS>-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None',
'strict-transport-security': 'max-age=31536000; includeSubDomains; preload',
'transfer-encoding': 'chunked',
vary: 'Origin',
'x-content-type-options': 'nosniff',
'x-request-id': 'req_71214c36d0aef5a5abd4cb4edeb0545f'
},
request_id: 'req_71214c36d0aef5a5abd4cb4edeb0545f',
error: {
message: 'The model ft:gpt-3.5-turbo-1106:personal::8TEhcfKm does not exist or you do not have access to it.',
type: 'invalid_request_error',
param: null,
code: 'model_not_found'
},
code: 'model_not_found',
param: null,
type: 'invalid_request_error'
}
✅ AI images generated: 2
✅ Images fetched: 2

replace ft:gpt-3.5-turbo-1106:personal::8TEhcfKm with gpt-3.5-turbo


Add registrant table mutations

Database table 'registrants' has been established to hold all basic info required to complete federal form.
Next step is to write records to table via graphql mutations. I'm thinking about one mutation operation where all input fields are optional.  If the unique user ID field "hash" is included in the mutation AND that uuid is found - then the data provided via the mutation should update/overwrite any data on file.  However if that UUID is not found, it should create a new record with provided uuid. If no hash input is provided, default to generating a new UUID.
Every mutation should return the UUID/hash of the affected/created row as well as the current value of all fields of that row.  In this way you can very easily create new records OR update existing records with partial info (ideal for step by step form wizard style web forms).
Discussion:

Do we need to add a db column to "lock" a record to prevent updating?
Should we add a string column to record most recent update step? i.e. if the front end has 6 or 7 steps, maybe we should record that value here and thus track last known step.

RE Lock:  What are the circumstances that would require a lock?  Or is it possible that we would need a Lock timestamp?  i.e.  someone completes all of the info so maybe we lock them from making any changes for 48 hours?
I like the idea of storing last completed step.  In some ways you can get at the info from what columns have info, but it might be nice to have that step right there for quick reference.

excepting the issue of locks, this was addressed in https://github.com/gpsimpact/open_voter_reg/commit/729a9b7d9735bbe8f5f9b3565fac89d77ad3e24c
I'm going to close this and start another separate issues(s) with the update step and lock questions.


Restore JS/browser multi-device-conversation quickstart

Purpose
A previous pull request cleaned up a few documentation issues, including an .html sample for Javascript that was mistakenly duplicated into another folder:
#1576
(Internal work item 4356321)
This unfortunately also removed the intended original copy, leaving a folder with a confusingly purposeless readme and helper .php file.
This change merely restores that one .html file to the previous commit hash.

...

Pull Request Type
[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[X] Documentation content changes
[ ] Other... Please describe:

I keep forgetting to merge this in once the checks run.


dhcrelayV4 is processing dhcp requests from/to network where dhcp server is located

Describe the bug
In a scenario with multiple networks connected to an opnsense firewall cluster, there is

one network with DHCP servers and DHCP clients (vtnet0 - <IP_ADDRESS>/24)
one network with DHCP clients (vtnet1- <IP_ADDRESS>/24)
one network with static IPs (vtnet2 - <IP_ADDRESS>/24)
a DHCP relay on the opnsense firewall configured to listen on vtnet1 and to forward requests to 2 servers in vtnet0

output from 'ps aux': /usr/local/sbin/dhcrelay -i vtnet1 -i vtnet0 <IP_ADDRESS> <IP_ADDRESS>
Every DHCP request from <IP_ADDRESS>/24 is answered from the DHCP servers and the DHCP relay
The DHCP relay should ignore requests from networks/interfaces with the DHCP servers.
There are devices out there that go offline if they receive such DHCPACK packets.
To Reproduce
Initiate a DHCPREQUEST from a device in the subnet of the DHCP server and check the logs
Expected behavior
The DHCP relay should ignore requests from networks/interfaces where a DHCP server is configured
Describe alternatives you considered
(1)
ISC dhcrelay v4.4 has option for upstream/downstream interfaces, so a solution could be to

configure the interfaces where the dhcrelay accepts requests from clients (-id) honoring the selection in the webgui (Services: DHCPv4: Relay - Interfaces)
configure the interfaces where the dhcrelay accepts requests/answers from other relays and DHCP servers (-iu)

in above setup, this would result in /usr/local/sbin/dhcrelay -id vtnet1 -iu vtnet0 <IP_ADDRESS> <IP_ADDRESS>
(2)
stopping the dhcrelay service on one node of the firewall, the clients get connected again.
I am fiddling around with a CARP hook like for the WIREGUARD service, but have bot yet succeeded.
From the ISC dhcrelay man page:
-i ifname

Listen for DHCPv4/BOOTP traffic on interface ifname. Multiple interfaces may be specified by using more than one -i option. If no interfaces are specified on the command line, dhcrelay will identify all network interfaces, eliminating non-broadcast interfaces if possible, and attempt to listen on all of them.

-iu ifname

Specifies an upstream network interface: an interface from which replies from servers and other relay agents will be accepted. Multiple interfaces may be specified by using more than one -iu option. This argument is
intended to be used in conjunction with one or more -i or -id arguments.

-id ifname

Specifies a downstream network interface: an interface from which requests from clients and other relay agents will be accepted. Multiple interfaces may be specified by using more than one -id option. This argument is intended to be used in conjunction with one or more -i or -iu arguments.

closed, because I do not know how get the template completed - now opened a new feature request #6341


Delete duplicate 'inline' for AVX512

x86/CommonDefX86.h:331:15: error: duplicate 'inline'
  331 | ALWAYS_INLINE inline __m512i
      |               ^~~~~~

Could you please rather remove the ALWAYS_INLINE than inline?
Best regards,
Adam

Actually, it should static inline. Could you also fix that while you're at it?


Bug: Placed lights at cydonia heatleech scene

Hey guys! I was detecting a bug when i was modding my Real Lights Series and started with Cydonia:
On nighttime, the placed lightings from the scene are still visible. I think they didnt reference the three lights with that scene, cause i was going crazy finding the ship as i though i was mistakenly deleting it. Check my reddit post for screens: https://www.reddit.com/r/starfieldmods/comments/1f15w5i/comment/ljyo8b5/

Details
The bug stand in relations with the UC_CY_HeatleechScene I think.
Game Version
1.13.61
Language
English (EN)
New Game
Yes
Reproduction Steps
I reinstalled starfield and loaded my oldest save wihtout mods or anything and visited Mars at night. still existed.

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Feel free to contact me on nexus or steam if you have any questions!

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

If you would be willing to attach a fix for this issue, we can roll it into the next update. This one is slightly outside my wheelhouse for the moment.

Yeah I really don't know how to. Only thing i see in Creation Kit is that there are objects like the ship, a npc, and several light objects attached to this "reference" "Heatleech Scene". I am not aware how i can manage this but on logic layer these 3 missed lights should be linked to the reference/scene easily by experienced modder. My mod experience so far is just overhauling light designs instead (so adding/removing objects in genereal instead of scripting if/then situations :S


Exactly what Acc is normal during the training?

I noticed that the acc computed for validation during the training is actually assessing the retrieval performance of the feature blocks using dot-product similairty. I was wondering exactly how high the val-acc should be during the training ? (e.g. for the UCF101)

I think you're referring to this acc: https://github.com/TengdaHan/MemDPC/blob/d7dbbf0dc6ec4aa8ff9a5dc8c189d78f4e5e34a7/memdpc/model.py#L145
This is equivalent to retrieval but in the mini-batch -- the number is not comparable with the 'true' retrieval accuracy which counts over the entire testing set.
About the exact number of this val-acc (top1), as I remember, it is about 60-70% at the end of self-supervised pre-training.


Create 3.0.stable branch

As it says in the title. You've got a 2.0.stable branch and a 2.1.stable branch, and I would like there to be a 3.0.stable branch. My reasons are that I link people to use the ~> 3.0.0 version of bootstrap-sass in Rails 4 in Action, and then mention that they can pick-and-choose the assets to import, rather than just doing @import "bootstrap";. By being able to link to a 3.0.stable branch, they would have the latest asset lists rather than potentially an asset list from an older version of bootstrap-sass.

@twbs/sass Ping.

To do for 3.3.2 release.

There are now stable branches for all the 3.x releases. @radar Sorry about the delay.


Build & Deploy to hosting site

I'm trying to work out how to use something like Netlify to host a simple react-primitive example that renders to web. Currently, I can only render to a localhost with the following code:
package.json
..
"web": "react run src/web.js"
...
CLI:
run render web
...
The app is running at http://localhost:3000/
As the "build": "skpm-build", in the package.json file is for the sketch plugin. I believe I need another script that creates a build folder which would contain a **index.html** file.
Any pointers?

have a look at the docs of nwb: https://github.com/insin/nwb


[Enhancement] Suggestion to put /say (through the console) to normal chat as well.

Checks

[X] I confirm that I have searched for existing issues / pull requests before reporting to avoid duplicate reporting.
[X] I confirm that I noted that if I don't follow the instructions, the issue may be closed directly.

Description
Basically when using /say through console it doens't display in discord chat also (only in logs).
It would look weird in discord chat showing one sided convo where the console chat doesn't show up.

I have other important things to do recently, so the resolution schedule for the issue will be delayed.

Implemented. Please try latest build.

Is that the latest build? You have to download it  at GitHub Actions.

Where is that located?
The build(/verion?) is in the screenshot when i did /update command (2.1.3)
I'm currently running it on 1.19.4 which is the latest

https://github.com/Xujiayao/MCDiscordChat/suites/11865603893/artifacts/620437553
This is the current latest build download link.

Oh yeah, thanks it works, thanks a lot, too bad it uses another picture but i'm fine with it

Btw ive gotten high serverMSPT lately, i would recommend putting thatin console logs perhaps? so normal chat wouldn't get spammed or an option to put it in console?

This sounds reasonable. Will send that to console log channel when it is configured.

too bad it uses another picture but i'm fine with it

U may suggest smth for this.

I suggest just using the same icon the bot has, keeps it simple.
Or you could make configurable by giving us an option to put a link to the image or showing the path to the image.
Also very small request, how about adding a small icon or using an icon to show when someone joins/leaves the server?

Like example an exit icon when someone joins, and an enter icon when someone leaves if that makes sense?

Why not use emoji?

Yeah i was asking if it was possible for you to use an emote default by discord to display leave or join

Use <:name:id> for emotes. Get this generated format of your emote by sending \:name: in Discord.

Oh yeah i see! Thanks, how do i keep the server saying someone's name when joining the server?
example i use an emote for a join messsage, with the message, but how do i display that person's name?

Read the docs yourself to customize the message...

Oh i'm sorry i didn't realise they were included or understood them before, i understand that part now, i managed to make it work, thank for you telling me

You're welcome.


Issue detected by Pylinter in input/2report.py

../input/2report.py:63:62: E261 at least two spaces before inline comment

Fixed in https://github.com/RedHatInsights/insights-results-aggregator-utils/pull/27


uptdate discover url to point to ring 2

@jichemicrosoft,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Skype/Trusted-Application-API/SDK/Common/Constants.cs
:white_check_mark:Succeeded

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


redirect_from with empty string value creates a redirect from index.html to the page I'm redirecting to

I'm using jekyll-redirect-from with a Github Pages site, and Forestry Static CMS.
In Forestry I've set up a simple text field (called redirect_from) for my redirect url. If I save a page in Forestry, for example about-us.md, without entering a value in redirect_from nothing is output in the about-us.md front matter. This is fine.
However, if I enter a value, save it, and then remove the value I am left with this in my about-us.md front matter, redirect_from: '', an empty string.
The problem with this is that it causes jekyll-redirect-from to then create a redirect from index.html to about-us.html. Presumably it's still interpreting the empty string as a URL, which in this case would be the base URL of site as it's empty.
Is there any way around this? This is just the way Forestry works so, other than manually editing the markdown files, I'm a bit stuck.

Not sure if this should be handled by Forestry or this plugin...
/cc @DirtyF

Yes, it's a tricky one. Neither the plugin or Forestry are doing anything wrong, it's just a side-effect of using them together. Really I need Forestry not to leave empty strings in my front matter, but no doubt there's a reason why you wouldn't want to do that, maybe sometimes an empty string is what you want, I have no idea?...

I wonder why Forestry doesn't set the value to null when you remove the key-value..


Consider encrypting records for safe-keeping in Zookeeper

Marathon has the keys to the kingdom, and Zookeeper is not secure. Even though there is authentication, it is not over SSL (yet), and when SSL arrives, inter-node chatter will not be secure.
I suggest that secrets are encrypted with a symmetric key to both prevent tampering and reading of marathon data.

@gkleiman Is this tagging indication that such a feature would be welcomed? As in if I did the work to implement it would it have a chance of getting merged if the code quality were to par?

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-2107. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-2107. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


Ingress returns 404 if Host header is set, even if custom domain is registered.

This issue is a:

[x] bug report -> please search issues before submitting

Issue description
I have a container environment created with --internal-only bound to a vnet using --infrastructure-subnet-resource-id  and a container apps (aka : api) running an HTTP server in this env.
Within any container, this works fine:
curl https://api--uilr9uy.internal.prouddune-796b418b.centralus.azurecontainerapps.io/hello

But the following returns a fancy 404 page: Error 404 - This Container App is stopped or does not exist.
curl -H "Host: api.mydomain.com" https://api--uilr9uy.internal.prouddune-796b418b.centralus.azurecontainerapps.io/hello

I tried adding a custom domain for api.mydomain.com but it still happening even with the domain registered.
Steps to reproduce

Create internal container env
Create HTTP container app for that env

Expected behavior Success hit
Actual behavior 404

Howdy @asaf, thanks for reaching out and reporting this issue to us. I was able to reproduce your issue, although I didn't end up using a Vnet. It seems possible to do without doing so. Found the same symptoms when adding the Host header (fancy 404). This was right after setting up a custom domain. This morning, however, everything works fine because the DNS propagated since. Can you check one more time to ensure your issue isn't due to DNS propagation delays please? Attached a screenshot of my test run.

Hey, thanks, have you tried this on an external environment or internal? I'm trying with an internal environment, I waited several hours and still got 404.

Tried on a external env and no special VNet, I can try with an internal only env too but wanted to make sure the obvious things we resolved. Just to make sure, DNS traffic is unimpeded in your VNet? Also your DNS config look similar to mine? You have a asuid TXT record with the ID and then a CNAME A record to point to the host?

Let me start by saying that when the ACA env is external everything is working just fine, even with managed certificates.

You have a asuid TXT record with the ID and then a CNAME A record to point to the host?
Do you mean in my DNS? I don't think ACA performs validations on the DNS level when the container env is internal, once I add a certificate on the env level the domain gets activated.

My env is internal and I deployed a proxy (as a container) within that env, but the proxy fails because:

Browser hits https://my.customdomain.com
The proxy receives this request and forward it to the container (I never use revisions urls) with a Host: my.customdomain.com
ACA returns fancy 404 page, if I remove the Host header or change it to the URL of the container it works fine.

I was expecting ACA env to accept the request if I have a custom domain named my.customdomain.com.
For the time being, I workaround this by rewriting the "Host" of the request  on the proxy level,
You can take a look at this post which explains exactly how everything is setup: https://medium.com/@asafshakarzy/deploy-and-protect-azure-container-apps-aca-with-cloudflare-024a42836317
Thanks

Hi, was this resolved? I followed your guide Asaf to setup a Cloudflare tunnel within my container apps environment but I need to set the host name for my auth server. How did you workaround this with cloudflare?

Thanks for sharing the blog post. The Container Apps ingress relies on the Host header to route requests to the proper app. It appears that the CF proxy requires this to be set explicitly in order for it to send the correct value.


Version 1.9.1

* Add a switch to change from overall health from bar to area chart
* Show active filters and make exception name clickable in failure classification table
* Apply a limit to the amount of runs from which we create the JJV
* Make failure classification table expandable, to aid in debugging
* Add a tooltip to the generic area chart
* Fix warnings for links, limit reports to 1e6 documents
* Make links open in a new tab
* Add link to submit upstream issue, make links open in new tab
* Limit documents returned by reports to a reasonable number
* Add trademark and file retention policy to About modal
* Add a link to the docs on the about modal
* Limit the number of results we can display in the results table.
* Made run-list component and env pills clickable for filtering
* Update the rtd conf file location
* Fix the master_doc for Sphinx
* Make the docs requirements file match the config file
* Add readthedocs config
* Change Travis config to support both Python and JS
* Initial import

closing in lieu of #21


Infer The Model

Describe
Model I am using (BEiT):
Hello, I appreciate the work on display here. I was just wondering how I could simply inference the model on a single image. I trained a model on a custom dataset and was trying to infer it.

The model and implementation have been integrated into huggingface (https://huggingface.co/docs/transformers/model_doc/beit ). It would be easier to host for inference.


segmentation fault while running

when running main.py, the program gives segmentation fault in the first 3 iterations in line "accs.update(acc.data[0], x.size()[0])",

@ChrisSheng97 did you updated to pytorch 0.4?


OpticalSystem init fails unless you pass wavels, which is an optional argument

Title says it all -
https://github.com/LouisDesdoigts/dLux/blob/5ac32971152fbb82b9f688a0a4cf5ec64c52ae13/dLux/base.py#L86
the __init__ method of OpticalSystem has wavels=None as an option, but then it needs the wavels a few lines later at
https://github.com/LouisDesdoigts/dLux/blob/5ac32971152fbb82b9f688a0a4cf5ec64c52ae13/dLux/base.py#L96
or else it fails.

Easy fix with logic. I guess the question is do we want to add a default wavelength or just allow it store None and output nothing when __call__ is called? I would probably say let it be None and maybe print a warning.

Definitely no default wavelength. I think it should just have a docstring or assert statement or something that makes you add wavelengths.


Remove -app in Chart.yaml

towards https://github.com/giantswarm/giantswarm/issues/18972

Do we need to change upcoming releases, removing the suffix app?

no, the url I changed is read by happa, so just making sure future releases have a proper readme displayed :) Check the linked issue for an explanation.


Track network/table dependency

In the client, we have a findDependentGraphs function. This is something we could easily track in the api, by adding a tables field to the Network model, which would be a ManyToManyField between Networks and Tables.
The reason this doesn't currently exist is because during the initial design of the Girder4 api, I wanted to keep the separation of information very clear, and didn't want to muddy the waters between what information is stored in arango, and what's stored in postgres. At this point, we have a little more room to breathe, and can take time to determine if this is a good change or not.
The main required changes would be updating Network.create_with_edge_definition to link the newly created network with any tables, as well as using the pre_delete signal to remove this relationship from any tables that the network used.
To make use of this, we might be able to just update the existing use of our table and network endpoints. For tables, the table detail endpoint could be updated to include the network_set field (from the reverse many-to-many relation). For networks, the same can mostly be done, except that we might want to split up the tables into node_tables and edge_tables at the serializer, to make it more clear.
@waxlamp thoughts?

Another approach is to not track it at all in postgres, and to expose these endpoints / model methods that just query arango directly to determine these relationships. This might make the separation of information a bit cleaner, but would also require more application logic.

I like this idea. I am not totally sure of how safe it is the double encode relationships whose source of truth is in Arango into Postgres as well. I feel like we should do it (along the lines of implementation you've suggested) but that we'll also need to add some kind of fsck type of utility as a maintenance script that we can run to retrieve reports of any problems in our data store (i.e. things like orphaned Arango workspaces, orphaned tables, misaligned network-to-table mappings, etc.)

I think we decided to simply retrieve this dependency information from Arango as needed. Is that right, @AlmightyYakob? If so, can we close this issue?

I think we decided to simply retrieve this dependency information from Arango as needed. Is that right, @AlmightyYakob? If so, can we close this issue?

Correct.


Can't find main locomotive

Describe the Bug
I had a 5 unit train: locomotive, fluid, cargo, cargo, cargo
Biters destroyed the 4th unit, then LTN manager crashed I assume because the 5th unit (cargo) no longer had a locomotive associated with it.
Log file
The mod LTN Manager (0.4.8) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event LtnManager::on_tick (ID 0)
LtnManager/scripts/ltn-data.lua:760: attempt to index field 'main_locomotive' (a nil value)
stack traceback:
LtnManager/scripts/ltn-data.lua:760: in function '?'
LtnManager/scripts/ltn-data.lua:1074: in function 'iterate'
LtnManager/control.lua:175: in function <LtnManager/control.lua:160>

Describe the bug
I saw a train with one locomotive and two fluids which was unable to load water as one fluid had oil, the other had sulfuric acid. [Loco]-[Sulfuric Acid]-[Oil] Because they weren't supposed to, I deleted the wagon with sulfuric acid, which causd the crash. After loading and trying again, I was unable to reproduce this.
Log file
The mod LTN Manager (0.4.9) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event LtnManager::on_tick (ID 0)
LtnManager/scripts/ltn-data.lua:419: attempt to index field 'main_locomotive' (a nil value)
stack traceback:
LtnManager/scripts/ltn-data.lua:419: in function 'callback'
flib/table.lua:233: in function <flib/table.lua:205>
(...tail calls...)
LtnManager/scripts/ltn-data.lua:1076: in function 'iterate'
LtnManager/control.lua:165: in function <LtnManager/control.lua:150>


Error "cannot process schema" when creating claim

Hello, I'm currently trying to create a claim, and I'm running into the following issue.
GET Identity

Create Claim using the identifier

Am I doing something wrong? I setup the node as a standalone server as described in the README. Any help would be appreciated thank you.

@JaredChilders did you manage to resolve this issue?


Inconsistent spells the knowledge books shown

The knowledge books will show a different spell when it is opened for the first time. (only for the first time, and then the spells are the same)

Thanks for the issue report. I'll take a look into it.


⚠ Fortnite has degraded performance

In 008c4af, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1477 ms

Resolved: Fortnite performance has improved in 78e82cc.


mysensors V_PERCENTAGE v1.4 attribute error

mysensors is trying to set the v_percentage attribute which is raising an attribute error. I am using mysensors v1.4 which doesn't have the v_percentage attribute. So I guess this is the cause of the error. (not sure though)
Error log:
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/threading.py", line 923, in _bootstrap_inner
    self.run()
  File "/home/pi/.homeassistant/lib/mysensors/mysensors.py", line 312, in run
    response = self.handle_queue()
  File "/home/pi/.homeassistant/lib/mysensors/mysensors.py", line 222, in handle_queue
    reply = func(*args, **kwargs)
  File "/home/pi/.homeassistant/lib/mysensors/mysensors.py", line 110, in logic
    self._handle_set(msg)
  File "/home/pi/.homeassistant/lib/mysensors/mysensors.py", line 63, in _handle_set
    self.alert(msg.node_id)
  File "/home/pi/.homeassistant/lib/mysensors/mysensors.py", line 175, in alert
    self.event_callback("sensor_update", nid)
  File "/usr/local/lib/python3.5/site-packages/homeassistant/components/mysensors.py", line 200, in node_update
    callback(self, node_id)
  File "/usr/local/lib/python3.5/site-packages/homeassistant/components/mysensors.py", line 139, in mysensors_callback
    add_devices([devices[key]])
  File "/usr/local/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 82, in add_entities
    entity.update_ha_state()
  File "/usr/local/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 136, in update_ha_state
    self.unit_of_measurement is not None:
  File "/usr/local/lib/python3.5/site-packages/homeassistant/components/sensor/mysensors.py", line 155, in unit_of_measurement
    self.gateway.const.SetReq.V_PERCENTAGE: '%',
  File "/usr/local/lib/python3.5/enum.py", line 268, in __getattr__
    raise AttributeError(name) from None
AttributeError: V_PERCENTAGE

Just added version: '1.5' to my configuration.yaml file and everything worked. (I only have a mysensors scene controller connected and 1.5 should be backward compatible with 1.4)
Pretty sure the problem has to do with version 1.4 as described above.

Which version of home assistant do you have installed?

I found the bug in the latest version. Sorry for the inconvenience. Will fix it.

No problem. Great work !


Add options API

Fixes: #1376
Simple API for external mods to get TM:PE mod Options values. For example, if a mod needs to know which TMPE features are enabled, or get info on policy settings, icon theme, etc.
Vague example:
var mgr = OptionsManager.Instance;

if (mgr != null && mgr.OptionsAreSafeToQuery()) {
    if (mgr.TryGetOptionByName<bool>("turnOnRedEnabled", out bool turnOnRedEnabled) {
        if (turnOnRedEnabled) {
            // show some extra features in your traffic lights mod or whatever
        }
    }
}

Options are referenced by name, thus allowing us to alter names at later date whilst keeping API intact (a simple oldname -> newname lookup can be added on our side).
Options are accessed via reflection - while not super fast, it's reliable and allows us to easily handle possible future transition from option fields to properties, etc.
Thanks to @DaEgi01 for suggestion to use generics.

updated based on review feedback


update common/content/catalogue to next@8

Fixes #4135
Merged a whole bunch of changes from the community into @weco/next-plugin-transpile-modules.
Made me think it's probably worth maintaining that if we can rather than waiting on other to do it, which is bad show really.
Might get us closer to deploying on now too - which might help with how we deploy test branches, if that's what we want.

@wellcometrust/experience-devs out of WIP


Question on the role of MXR with respect to different transformations

Hi,
The Zjpm spec mentions two different types of transformations:

Ignore transformation on the virtual address
Ignore transformation on the physical address

It also specifies that MXR being set disables pointer masking. Can you clarify if that applies to physical address transformation as well?
Specifically, I am trying to understand the behavior when:
Mode = M, mstatus.MPRV=0, mstatus.MXR=1 and a load/store from/to physical address is performed. Does a ignore transformation on physical address  occur in this case?
MPRV and SPVP affect pointer masking as well, causing the pointer masking settings of the effective
privilege mode to be applied. When MXR is in effect at the effective privilege mode where explicit
memory access is performed, pointer masking does not apply.

Thank you.

Which of the two operations is performed depends entirely on whether the address is virtual or physical and is not affected by MXR or MPRV. I.e., the fact that it is a physical address has no impact on whether pointer masking is applied, just which of the two operations it is.
In this case, because MXR=1, no pointer masking will be applied.

Although MXR has no effect on permission checks, it does have an effect on whether or not pointer masking applies. We agree that these two statements taken together could lead to confusion, and we will thus add the following non-normative statement after the second paragraph quoted above:

Note that this includes cases where page-based virtual memory is not in effect; i.e., although MXR has no effect on permissions checks when page-based virtual memory is not in effect, it is still used in determining whether or not pointer masking should be applied.

(Please note that this is just adding a non-normative clarifying statement and not a change to the spec.)


Auto-create applications for S1+

In gitlab by @A-Lawrence on Aug 20, 2016, 19:33
Where a member appears in our divisional feed and is S1+ rated, create a transfer application for them automatically.
They should then be contacted and asked to complete the remainder of them.
This may require the creation of a NewDivisionMember event.

In gitlab by @A-Lawrence on Aug 20, 2016, 19:35
Removed ~98471 label

@CalumTowers This is going to be implemented as a notification that they need to start their application (since the first step is accepting the terms, there's not much point actually creating one).
Could you please liase with Barrie on what he would like the email content to be? Otherwise I'll happily cobble something together.

For context, it's worth noting that the discussion surrounding this was that if they've gone out of their way to use the .net deployment tool (which ignores all restrictions), then they should be deemed to have "agreed" to starting their application and as such, enter the queue.  Failure to complete should then result in them being removed.
^ Not sure if that helps clarify what my cryptic comments meant.

This is on hold pending a review of CERT 2.0.


[Bug]: DB crushes when date format changed

Contact Details
No response
What happened?
A bug happened!
I used this date format :Do MMMM YYYY (dddd)
the whole database crashed after picking a new date.
I also can't use the natural dates plugin inside of a text field property.
What platform were you using?
Desktop
Version of the plugin
latest
Relevant log output
No response
Are you using the latest version of the plugin in your Obsidian vault?

[X] I have verified that I am on the latest version

Are you check if there is a similar issue?

[X] I have verified that there are not similar issues

Do MMMM YYYY (dddd) seems to be a wrong format for date picker. Now we are controlling those errors with a default format instead.
The plugin is using Luxon date formats.
About natural dates plugin we don't have support for it. Maybe we need another issue to follow that support


Ampersand (&) in selectors is sometimes wrongly resolved to component class rather than dynamic class

Some cases of selectors where an ampersand follows something else, the wrong class name seems to be used, leading to the last props to render for the first time to apply to all component instances.
Environment
System:

OS: macOS 12.0.1
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 39.02 MB / 16.00 GB
Shell: 5.8 - /bin/zsh

Binaries:

Node: 14.18.0 - ~/.nvm/versions/node/v14.18.0/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 6.14.15 - ~/.nvm/versions/node/v14.18.0/bin/npm

Reproduction
https://codesandbox.io/s/jovial-cerf-fjbwj
One box should have 1px border, the other 5px border. Instead, both has 5px, the last one declared. Each case has both a dynamic and a static rule, just to ensure that doesn't affect it.
Steps to reproduce
Use an ampersand in a selector with something in front of it, like so: .parent &. In the code sandbox, a number of cases are established, some working, some not. To focus on the parent-class case, given the following style:
  .parent & {
    border: ${({ border }) => border}px solid black;
  }

and components with border set to 1 and 5.
Expected Behavior
The ampersand is replaced with the dynamic class, (either every time, or ideally only the last time it's used in each selector), like so:
.parent .hYtajx {
 border:1px solid black;
}
.parent .bfuhxt {
 border:5px solid black;
}

Actual Behavior
Both instances uses the component class, ensuring both components use the same style.
.parent .sc-gsDKAQ {
 border:1px solid black;
}
.parent .sc-gsDKAQ {
 border:5px solid black;
}

I suspect this was introduced with #3236 in 5.2.0. It is not reproducible in 5.1.1, see this sandbox: https://codesandbox.io/s/inspiring-northcutt-lvl7s. It does seem & + & is being resolved to dynamic + component instead of the component + dynamic that I would expect, but I think this is still preferable to component + component.

Just came across the same issue. I have 2 components with styling based on props. Everything worked fine until I used & in styling a child based on parent's :hover state. For the base styling the component + dynamic class is applied and it works as intended, but for a parent:hover &, it applies only component + component. It makes the prop passed to :hover state for the last component being applied to both of them.

Same problem here. It seems that if you use 2 &'s, the result is the expected one. Here is an example:
https://codesandbox.io/s/nervous-mendeleev-nsfq7
In this example, you can see that using 1 & results in
.sc-bdvvtL:hover .sc-gsDKAQ
When using 2 &'s, the result is
.sc-hKwDye:hover .kTtsBP.kTtsBP

Probably the same issue here. Having the following style:
const MoodPopupColumn = styled(Flex)`
  & + & {
    border-left-width: 1px;
    border-style: solid;
    border-color: ${(props) => props.theme.habits.habitGroupHeader.borderColor};
  }
`;

Switching the theme from light to dark correctly updates the border color. However, switching back to light afterward, the border is stuck in dark color and does not update.

Duplicate of https://github.com/styled-components/styled-components/issues/3265


Compatibility with Farmers delight potion effects?

There is a "comfort" effect, who's natural effect is meant to be that it allows regeneration to keep going despite you not being above or on the normal health regen threshold. is there possibility for this effect to allow similar mechanics, where regeneration will continue regardless of the "block time" between taking damage and regeneration ticking down? Since some would use this to allow regeneration to keep going but slow down.
I believe the nourishing effect also has a similar effect, where it acts like your hunger is super charged and won't decrease normally for it's duration which similarly would allow regeneration to be on constantly for a time.
I am using the 1.19.2 version currently.

Sorry for the late response.  Had some severe health issues in August/September.  Actually hospitalized twice.
I'll give this a look when I'm in the mod next and see how hard it will be to implement.  Don't have an ETA on this as I still have one more mod to update to 1.20.2.
Cheers!
MacTso

Oh I see. I hope you're doing better, if you're back.