Tp 867 backport typehints to 3.8

Same branch as before, just renamed:
Backport typehints to 3.8 so we can use pyston instead of CPython, which completes our tests 30% faster.
Didn't add Pyston to CI, since we still need to make sure things run in CPython as the main runtime, though could add it as an additional interpreter to run at the same time.
This branch, also sets the cache backend to "dummy" during testing, which removes most of the state shared between tests.

Codecov Report

Merging #341 (6cb26a1) into master (6b955dc) will increase coverage by 0.00%.
The diff coverage is 100.00%.

:exclamation: Current head 6cb26a1 differs from pull request most recent head ffa8786. Consider uploading reports for the commit ffa8786 to get more accurate results

@@           Coverage Diff           @@
##           master     #341   +/-   ##
=======================================
  Coverage   89.47%   89.48%
=======================================
  Files         276      276
  Lines       14146    14154    +8
  Branches     1031     1032    +1
=======================================
+ Hits        12657    12665    +8
- Misses       1271     1273    +2
+ Partials      218      216    -2

Impacted Files
Coverage Δ

measures/querysets.py
100.00% <ø> (ø)

settings/test.py
100.00% <ø> (ø)

common/business_rules.py
98.49% <100.00%> (+<0.01%)
:arrow_up:

common/tests/util.py
84.17% <100.00%> (+0.11%)
:arrow_up:

importer/tests/test_nursery.py
100.00% <100.00%> (ø)

measures/tests/test_querysets.py
100.00% <100.00%> (ø)

measures/views.py
73.07% <100.00%> (+0.52%)
:arrow_up:

exporter/tasks.py
75.70% <0.00%> (-1.87%)
:arrow_down:

measures/business_rules.py
87.64% <0.00%> (+0.28%)
:arrow_up:

quotas/business_rules.py
97.63% <0.00%> (+0.78%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6b955dc...ffa8786. Read the comment docs.


Pushing one stack onto another does not render back button

I have the following navigation layout...
const DiscoverFilter = StackNavigator({
  FirstFilter: { screen: EmptyView },
  SecondFilter: { screen: EmptyView }
}, {
    headerMode: "float",
});

const DiscoverTab = StackNavigator({
  Discover: { screen: DiscoverView },
  DiscoverFilter: { screen: DiscoverFilter },
}, {
    headerMode: "none",
});

I start on screen Discover and use the following to push DiscoverFilter...
navigate("DiscoverFilter");

I know this is probably a very rare edge case, but I would like to have a back button appear at the top of the FirstFilter screen. It currently does not because props.scene.index is 0.
If not automatically, then I would like to be able to manually add a back button. I don't see a way to manually add a back button. If I use navigationOptions to add a left button, how do I get access to navigation to call goBack()?
static navigationOptions = {
    title: "First Filter",
    header: ({ state, setParams }) => ({
      left: (
          <Button
            title="Back"
            onPress={ () => navigation.goBack() }  // how do I make this work?
          />
        )
    })
  }

I have the same problem. It would be nice to get any advice how to fix it.

@UladzimirKuzmin Thanks for the help with the back button. That is a reasonable workaround for now. Also, I needed to add a null argument for my goBack call to work, goBack(null).

Added this issue to https://github.com/react-community/react-navigation/issues/88


Add object count to modeladmin

Adds object counts (# out of ##) to the modeladmin for custom models.
Desktop:

Mobile:

Tested in:
Chrome 92.0.4515.107 (and using smaller device sizes)
Safari 14.1.1 (166<IP_ADDRESS>.4)
Note: Does not include object counts for pages, documents, images, or snippets (or other models that have their own views+templates.

Is there any follow-up (by me) required?

@infinityplusone  thanks so much for taking the time to contribute to Wagtail and also for refining the PR based on feedback.
I have gone ahead and added some tests for this plus removed the rogue span element described above (it did not appear to cause any visual changes).
I have added you to the contributors list, please let  us know if you want your name listed differently.
This has been merged in via separate commit 5f3207ca43da9f900ebfa19ce1cd5e48aadb6bf8 (with release notes and tests).
Again, thanks so much, this is a nice improvement to the Modeladmin module.

@lb- Thank you so much. And thank you for handling the tests. I've been too busy to even look into this lately, and now I know how to handle for next time. Cheers!


TypeScript pane resizes over the text I am typing

I cannot test with the most recent version of atom-typescript, but in the version I am using, the following annoying thing happens.
Open a new file, and write the following at the bottom after more newlines than you screen can vertically fit:
class Parent {}

class Child extends Parent {
  constructor() {

  }
  field: ;
}

Now, the TypeScript error message should be "Type expected. ;".
Now type a character after the field, as if you were filling its type.
The error message will turn to "Cosntructors for derived classes...." which takes more space. The TypeScript pane will extend, but the buffer will not be scrolled down or updated, so you end up not seeing the line you were typing in, and the suggestion box is still at the old location of your now hidden text.

Sorry didn't see this issue. Already closed by : https://github.com/TypeStrong/atom-typescript/commit/86d8d69f55a8ad26ee47ab19c404e08a1b0ba510 :rose:


[Feature] Unified the configuration for all Redis plugins on whether to collect redis parameters.

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
There are Jedis, Lettuce and Redission plugins for Redis client in SkyWalking, but only Lettuce plugin have a LettucePluginConfig class to define whether to trace redis parameters(added in this PR). While there is no way for Jedis and Redission plugins to do the similar configuration.
Use case
I think it will be good that all the three Redis plugins act in the same way. Because users are not very concerned about which client they are using, they just want to collect redis parameters for more details or discard redis parameters for better performance.
So a general configuration for all redis plugins or two more separated configurations for each redis plugin are needed, to define whether to trace redis parameters.
Related issues
https://github.com/apache/skywalking/issues/6613
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Mostly, the config should belong to the plugin itself. Especially in your case, Lettuce and Redission are totally 2 frameworks. They should not share configs unless there is a specific reason.
If Redission plugin needs some configs, it is better to add inside Redission plugin.

Ok, I will commit a PR to add configs for Redission and Jedis.


CLI no longer working after update

My actions before raising this issue

[ x] Read/searched the docs
[ x] Searched past issues

Expected Behaviour
After the latest source code update the cvat_cli can't find the locally hosted cvat server.
Current Behaviour
It used to work just fine and now always returns
 cvat_sdk.core.exceptions.InvalidHostException: Failed to detect host schema automatically, please check the server url and try to specify schema explicitly
the command I've been using is:

cvat-cli --auth user:pass --server-host localhost --server-port 8080 ls

The cvat server is up and running just fine, the api can see it and I have tried using different ports and host names to no avail.
Your Environment

Docker version docker version (e.g. Docker 17.0.05): 20.10.18
Are you using Docker Swarm or Kubernetes? n/a
Operating System and version (e.g. Linux, Windows, MacOS): Ubuntu 22.04

Hi, thanks for reporting the problem, I was able to reproduce it. As a quick fix, please add http:// or https:// to the --server-host argument as the error message suggests.


fix: cookie notice

Readiness

[x] Merge (pending reviews)
[ ] Merge after date or event
[ ] Draft

Overview
Make the analytics cookie selection on by default (as per marketing), and fix the policy links to point to foundries.io website.

Docs for abc2e1aee15a4c3bb68c923ef1794ff77a808b0a are browsable at: https://ci.foundries.io/projects/fio-docs/builds/1927/docs/artifacts/html/index.html


[Pluralsight] Unable to download webpage: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug

[debug] Command-line args: ['--username', 'PRIVATE', '--password', 'PRIVATE', '--sleep-interval', '150', '--max-sleep-interval', '200', '--limit-rate', '1M', '-o', '%(playlist_index)s-%(chapter_number)s-%(title)s-%(resolution)s.%(ext)s', '--verbose', 'https://app.pluralsight.com/library/courses/architecting-asp-dot-net-core-applications-best-practices']
[debug] Encodings: locale cp1252, fs mbcs, out cp1252, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.22000
[debug] exe versions: none
[debug] Proxy map: {}
[pluralsight:course] architecting-asp-dot-net-core-applications-best-practices: Downloading JSON metadata
[download] Downloading playlist: Architecting ASP.NET Core Applications: Best Practices
[pluralsight:course] playlist Architecting ASP.NET Core Applications: Best Practices: Collected 71 video ids (downloading 71 of them)
[download] Downloading video 1 of 71
[pluralsight] Downloading login page
ERROR: Unable to download webpage: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 634, in _request_webpage
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 2288, in urlopen
File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default

Duplicate of #29776, unfortunately.


MEMBERSHIP: @nlinx

GitHub Username
@nlinx
Requirements

[x] I have reviewed the community membership guidelines
[x] I have enabled 2FA on my GitHub account
[x] I have joined the Crossplane slack channel
[x] I am actively contributing to the Crossplane project
[x] I have two sponsors that are current Crossplane Org members
[x] I have spoken to my sponsors ahead of this application, and they have agreed to sponsor my application

Sponsors

@negz
@hasheddan

List of contributions to the Crossplane project

Working at Upbound!

+1 - Thanks @nlinx!

+1 from me too, @nlinx will get more involved with package manager related reviews :)

Invite has been sent to @nlinx!


Turn on strict TypeScript compilation

This turns on strict TypeScript compilation to ensure we're getting the most Type safety we can while using TypeScript.

closing this because it's not a priority at the moment


TypeError: Cannot read property 'months' of undefined

TypeError when there is a subscription event
main.js - 249       "months" : message.data.message.data.months,
I think should be   "months" : message.data.message.months,

Okay looking into it now. Sorry about that, I assumed the message would be similar to bits. This is what i get for assuming haha.

Should work now! Closing this issue for now!

Reopened because error is still occurring. Looking into it now

Nevermind it is fixed. I misunderstood the new system. The user has the option to either annouce or withhold from announcing their sub in chat. This creates confusion because the old system that announces subscriptions in chat is currently being deprecated, but before it is completely phased out.
TLDR; see https://discuss.dev.twitch.tv/t/subscriptions-beta-changes/10023/37


Freezer status metadata

(from Rob) It would be REALLY useful to be able to detect which samples we had dna and/or physical specimen left over in the freezer.

How do we want to deal with this? These are not required fields for any of the templates and it sounds more like a standard that we want to impose in the template generation (perhaps in the weblab) and not in Qiita.

I think this should be move to the labadmin project - qiita is not a labadmin site to deal how our freezers are organized.

This will be fairly easy to track for studies sequenced by us in the wetlab
but will not be generally available.  Right now I usually assume that the
physical specimen is not available unless it is AGP (potentially available)
or a study I am familiar with (like Jess M soils) where I know there is
physical specimen.  Many times we have to return the specimen to the
collaborator and have no knowledge of what happens to it.
On Mon, Oct 12, 2015 at 9:09 AM, Antonio Gonzalez<EMAIL_ADDRESS>wrote:

How do we want to deal with this? These are not required fields for any of
the templates and it sounds more like a standard that we want to impose in
the template generation (perhaps in the weblab) and not in Qiita.
—
Reply to this email directly or view it on GitHub
https://github.com/biocore/qiita/issues/5#issuecomment-147448228.

--
Gail Ackermann
Knight Lab
UCSD
<EMAIL_ADDRESS><EMAIL_ADDRESS>

From your replies it sounds like we can close as it's not longer within the scope of the template validations. Please, reopen if you think otherwise.


VSCode don't work when I delete files after global search

VSCode Version: 1.36.1
OS Version: macOS mojave 10.14.5

Steps to Reproduce:

global search for a lot of files.
delete them in the directory.
I have to restart VSCode.

Does this issue occur when all extensions are disabled?: Yes

How did you delete them? What does this have to do with the search exactly?

@roblourens delete them by rm -rf ....
search result contain these files

There is a bad slowdown here, we are refreshing the list once per file


bottle: add --skip-relocation flag to skip keg relocate

This flag is indented to be used in homebrew/portable to build vendor
ruby/git/curl.

cc @MikeMcQuaid we may be able to tweak the existing system to build and upload vendor ruby.

Can you link to the PR where this flag is used? Thanks!

Sorry, misread the diff. 👍 from me. I do wonder if we could somehow skip this relocation automatically when its not required, though, and remove use of install_name_tool when we don't actually need it. Thoughts?

I do wonder if we could somehow skip this relocation automatically when its not required, though, and remove use of install_name_tool when we don't actually need it. Thoughts?

We cannot avoid it at the moment, because otherwise the strings invocation that checks for remaining mentions of the prefix (after the relocation with install_name_tool) will trigger for the unmodified load commands. Once we completely switch to ruby-macho it will be easier, as it could provide the offsets of the load commands so those could be filtered from the offsets returned by strings.
However, the situation where we can completely avoid install_name_tool are relatively rare, because it means that there are no dylibs at all (as all dylibs have a dylib ID that is an absolute path in the Homebrew prefix) and that no executables can reference other Homebrew dylibs (as that would mean dylib load commands that contain paths into the Homebrew prefix). Under these very specific conditions, we already don't invoke install_name_tool today (because otool won't yield paths that need to be adjusted).

We cannot avoid it at the moment, because otherwise the strings invocation that checks for remaining mentions of the prefix (after the relocation with install_name_tool) will trigger for the unmodified load commands. Once we completely switch to ruby-macho it will be easier, as it could provide the offsets of the load commands so those could be filtered from the offsets returned by strings.

👍

@MikeMcQuaid Since this PR is to explore using existing test-bot to build vendor Ruby/Git/Curl, there is no way automatically to check whether it's relocatable. Please note, formulae in homebrew/portable are very special, which need to be treated differently than normal formulae.
To make this work, I have two questions need to be addressed.

How to setup a Leopard VM on bot.brew.sh?
@mistydemeo Can Homebrew be used on Mac OS X 10.5 to build formulae or these changes need to be ported to Tigerbrew?

How to setup a Leopard VM on bot.brew.sh?

Why do we need this? Have you tested if e.g. a build on 10.11 works on earlier versions of OS X e.g. 10.6/7?

Have you tested if e.g. a build on 10.11 works on earlier versions of OS X e.g. 10.6/7?

It won't work.

Have you tested if e.g. a build on 10.11 works on earlier versions of OS X e.g. 10.6/7?

It won't work.

Sorry if I'm making you repeat things; it's quite possible you already elaborated on that. Why doesn't it work? Naively, I would assume that setting MACOSX_DEPLOYMENT_TARGET to 10.6 would be enough to produce a working binary. (Of course there can be all kinds of corner cases where a newer SDK doesn't sufficiently align with an older OS X release. Even Apple makes mistakes. Is that the case here?)

@UniqMartin The reason is I have tried it and it doesn't work. As far as I can tell, making it work is extreme hard and may be broken in unexpected way. While a VM solution is much easier.
Vagrants-Mac-2:~ vagrant$ ./portable-ruby/2.0.0-p648/bin/ruby -v
Illegal instruction

@UniqMartin The reason is I have tried it and it doesn't work. As far as I can tell, making it work is extreme hard and may be broken in unexpected way. While a VM solution is much easier.

Can you detail what platform you tried building and testing it on and if it was on physical hardware or a VM? If we're going to have Homebrew depend on the vendored Ruby work we need to up the quality of understanding and documentation so it's not just you that understands how and why this works the way it does. I don't think replies like "it doesn't work" really help with building that understanding among maintainers who want to learn more.

I test it on 10.5 VM. Also, I don't think whether it's a VM or physical hardware matters. Because as a software, Homebrew should be oblivious to it.
The detail reasons are many. New SDK does't work and there is no way you can install old SDK to new machine. There is also ABI compatible issue as well. But overall, the only reason is Apple only supports some degree of backward compatibility but no forward compatibility. The latter one is a whole new story.
I admit there is a slight possibility to make vendor Ruby built on modern OS and work for old OS. But it is extremely hard, and quite possible to be broken in some places where tests will fail to catch. And building on a VM is the simplest and most robust solution. Since we can have a VM, I don't think we should waste our time on that road.


[IMPROVEMENT] Dynamic pattern input for momentjs in case multiple datetime picker

Hi Daniel,
This is nice datetime picker plugin.
I am using it for my projects.
Currently, i don't know how to apply dynamic moment pattern for it.
So i have to rewrite the new component to apply it, of course date-time-picker is under the hood.
I would like to suggest if we can make a component with simple and independent parameters:
<moment-datetime-picker [(date)]="date1" [pattern]="DD.MM.YY">
<moment-datetime-picker [(date)]="date2" [pattern]="MM.YY">
or
<date-time-picker adapter='moment' [(date)]="date" [pattern]="DD.MM.YY">
<date-time-picker adapter='moment' [(date)]="date" [pattern]="MM.YY">
We will decide whether or not showing "time " part by pattern input if pattern contains "HH,mm,ss..."
This will simplify the component and easily to use.
I am at your disposal.

⛔⛔⛔ WARNING : READ BEFORE CREATING ISSUES ⛔⛔⛔
This library was abandoned by its owner. I tried to contact him about 3 months ago with no success. Please cease to open new issues as they will not be handled by him. If you want, there is a fork created by Daniel Moncada and his team which is being currently maintained. Please don't open new issues here so that new users won't be mislead into believing this repo is still up-to-date.


update: adapt changes in multiDeclRefactor.

Small update on the fetch_map2anno_tools.sh due to the updates in my multiDeclRefactor.

Hmm ... looks like I wasn't subscribed to this. @wmdietl @tim-mccarthy is this still current?

@martinschaef  Hi Martin, yes, this PR is still current as the changes in MultiDeclRefactor.


Fix broken links

Links from focus areas files to specific metrics are broken. We need to fix them.

@klumb will take care of this.

I think #53 fixed all this.


Terragrunt after_hook for apply called during output

When calling terragrunt apply-all on a service (mod1) with a dependency block defined (mod2), the after_hook of mod2 is called twice. Once when it is applied, and then again when terraform output -json is called on it to apply mod1.
[terragrunt] [/home/tmoss/scratch/tg_bug/envs/mod2] 2020/05/08 13:01:04 Detected 1 Hooks
[terragrunt] [/home/tmoss/scratch/tg_bug/envs/mod2] 2020/05/08 13:01:04 Executing hook: migrate_tfplan
[terragrunt] [/home/tmoss/scratch/tg_bug/envs/mod2] 2020/05/08 13:01:04 Running command: mv /home/tmoss/scratch/tg_bug/envs/mod2/tfplan /home/tmoss/scratch/tg_bug/envs/mod2/$
fplan.success
[terragrunt] [/home/tmoss/scratch/tg_bug/envs/mod2] 2020/05/08 13:01:04 Module /home/tmoss/scratch/tg_bug/envs/mod2 has finished successfully!
[terragrunt] [/home/tmoss/scratch/tg_bug/envs/mod1] 2020/05/08 13:01:04 Dependency /home/tmoss/scratch/tg_bug/envs/mod2 of module /home/tmoss/scratch/tg_bug/envs/mod1 just f$
nished successfully. Module /home/tmoss/scratch/tg_bug/envs/mod1 must wait on 0 more dependencies.
[terragrunt] [/home/tmoss/scratch/tg_bug/envs/mod1] 2020/05/08 13:01:04 Running module /home/tmoss/scratch/tg_bug/envs/mod1 now
[terragrunt] [/home/tmoss/scratch/tg_bug/envs/mod1] 2020/05/08 13:01:04 Reading Terragrunt config file at /home/tmoss/scratch/tg_bug/envs/mod1/terragrunt.hcl
[terragrunt] [/home/tmoss/scratch/tg_bug/envs/mod2] 2020/05/08 13:01:04 Reading Terragrunt config file at /home/tmoss/scratch/tg_bug/envs/mod2/terragrunt.hcl
...
[terragrunt] [/home/tmoss/scratch/tg_bug/envs/mod2] 2020/05/08 13:01:04 Running command: terraform output -json
[terragrunt] [/home/tmoss/scratch/tg_bug/envs/mod2] 2020/05/08 13:01:04 Detected 1 Hooks
[terragrunt] [/home/tmoss/scratch/tg_bug/envs/mod2] 2020/05/08 13:01:04 Executing hook: migrate_tfplan
[terragrunt] [/home/tmoss/scratch/tg_bug/envs/mod2] 2020/05/08 13:01:04 Running command: mv /home/tmoss/scratch/tg_bug/envs/mod2/tfplan /home/tmoss/scratch/tg_bug/envs/mod2/t
fplan.success
mv: cannot stat '/home/tmoss/scratch/tg_bug/envs/mod2/tfplan': No such file or directory

This are what I think are the useful bits of the apply log. You can see that mod2 is applied, then mod1 reads that it's a dependent, and goes back into mod2 runs the terraform output -json command, at which point the hook fires again, and fails.
the parent hcl files looks like this:
terraform {
  extra_arguments "create_plan_files" {
    commands = [
      "plan",
    ]
    arguments = [
      "-out=${get_terragrunt_dir()}/tfplan",
    ]
  }
  after_hook "migrate_tfplan" {
    commands = ["apply"]
    execute = ["mv", "${get_terragrunt_dir()}/tfplan", "${get_terragrunt_dir()}/tfplan.success"]
    run_on_error = false
  }
}

Can upload the whole test setup to a repo, or somewhere if it helps.
EDIT:
Terraform: 0.12.20
Terragrunt: 0.22.4
I didn't see any issues reported that looked like this, so I assumed it hadn't been patched in the most, most up to date version of terragrunt, but can check if that helps

This does sound like a bug! I suspect the hooks are running whether a module is being called directly or just being used for outputs as part of a dependency block. If anyone has time to dig into this and submit a PR, we'd probably want (a) to pass some flag along when fetching outputs as part of a dependency block and (b) to update the shouldRunHook method to return false if that flag was passed.


Roll up minutes and hours

Rolls multiple minute files into hours and multiple hours into days.
Todo:

Hook up queuing
Dedupe queued messages
Test day roll ups

Went with dynamo instead to use the event stream to trigger rollups, here: https://github.com/aaronlidman/osm-dash/pull/12


v1.1: k8s: add /status to RBAC for backport compatability

In Cilium 1.2, a k8s functionality was added called "CRD Subresources".
Cilium enables this functionality by updating its CRD definition in
Kubenetes API-Server and with it, the CRD version.
This functionality, allows Cilium to only update the Cilium Network
Policy (CNP) and Cilium Endpoint (CEP) Status in the /status API
endpoint without sending the full object to Kubernetes API-Server.
On a downgrade from 1.2 to 1.1, where the user also downgrades the RBAC
rules, Cilium will send the full object to Kubernetes whenever wants to
update the status of the CNP or the CEP. As the user downgraded the
RBAC definition, Cilium will no longer have permissions to write any
status for any Cilium object. As the CRD definition was updated into
Kubernetes API-Server in 1.2, Cilium 1.1 will not perform any changes of
that CRD definition as its version is lower the one installed in
kube-apiserver.
To fix this issue, it is easier to backport the RBAC rules for 1.1 which
allows Cilium to continue to have write permissions in /status.
This downgrade issue will only happen in Kubernetes >= 1.11 which was
when the "CRD Subresources" where enabled by default in Kubernetes
API-Server.
Signed-off-by: André Martins<EMAIL_ADDRESS>Backported some RBAC definitions from Cilium 1.2 to allow a seamless downgrade for k8s >= 1.11

This change is

test-me-please

build failed due known kafka flake. All other tests passed so this can be merged


⚠ Bofrost.at has degraded performance

In ead2035, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1502 ms

Resolved: Bofrost.at performance has improved in 61f721b after 20 minutes.


[Frontend] Automatic detection of chat content format from AST

This PR renames --chat-template-text-format to --chat-template-content-format and moves it to the CLI parser specific to OpenAI-compatible server.
Moreover, I have added some basic code to automatically detect the format to use based on the AST of the provided chat template.
cc @vrdn-23 @ywang96 @heheda12345 @alex-jw-brooks

Great idea with the PR @DarkLight1337 !
The problem with auto-detecting is a lot of chat templates do not throw errors with jinja even if they do not fit into the right format which is what made the bug in #9294 so subtle. The content string was just not being looped over and no content was being added to the conversation. I'm not completely familiar with how jinja works so if you figure out a way to detect this, let me know and I can help out!

Great idea with the PR @DarkLight1337 !
The problem with auto-detecting is a lot of chat templates do not throw errors with jinja even if they do not fit into the right format which is what made the bug in #9294 so subtle. The content string was just not being looped over and no content was being added to the conversation. I'm not completely familiar with how jinja works so if you figure out a way to detect this, let me know and I can help out!

Right now I am thinking of using Jinja's AST parser and working off that.

If you can squash your commits, it would be better.

Oh... I shouldn't have done that

@njhill would be great if you have time to review this PR!

@maxdebayser does this look good to you now?

@DarkLight1337 looks like there's one test failure remaining

The network is quite slow right now (HF keeps timing out for a lot of other PRs). This error comes from not being able to download the video before timeout occurs. (It passes when I run it locally.) Can you approve this PR? Then I'll retry the CI once the internet connection resumes to normal.


update to the new issue template workflow

If you visit one of the issue_template.md files (example) github displays a message:

You are using an old version of issue templates. Please update to the new issue template workflow. Learn more

The "learn more" link gives instructions about what to do.  This likely affects all repos.

FYI, I used a "new" template for spanner as a test.
One bad thing is that it adds an extra click to the flow - after you click "New Issue" you're presented with this screen: https://github.com/googleapis/google-cloud-cpp-spanner/issues/new/choose (note I have another PR to add a feature request template)
I think it's still worthwhile to migrate, but willing to discuss it.


Is Mesh.plane example wrong?

http://pixijs.download/release/docs/PIXI.mesh.Plane.html
In the constructor, the docs defines construct method like this, and verticesX Y are both number type.
new PIXI.mesh.Plane(texture, verticesX, verticesY)
But in the example above, it passes PIXI.Point into the constructor and there is only one arg, is there something wrong?

for (let i = 0; i < 20; i++) {
    points.push(new PIXI.Point(i * 50, 0));
};

let Plane = new PIXI.Plane(PIXI.Texture.fromImage("snake.png"), points);

It's because it does
        this.verticesX = verticesX || 10;
        this.verticesY = verticesY || 10;

really, the default of 10 should be put in the constructor params, and the docs updated to reflect this!


Properties for digital surface twins

Digital surface twins should have properties. Those properties can be:

Categorical
Numerical

Those should be key value pairs. Categorical properties have discrete values. Numerical properties have continuous values. Numerical properties should have units. (Those should be a free text field initially, we may interpret the units later.)
Categorical properties should not be the same as the tags we have currently. Tags are for internal organization (like a folder).

There is currently a tab called "properties" that should be renamed to "description" here:

The idea would be to add a tab with actual "Properties" that may be an editable table.
A "property" has

a name
a value (typically a number, but could also be categorical e.g. "good" or "bad", or "blue" or "green")
a unit (e.g. "nm", "V", "1", "color")

All of these should be free, but the user should be guided when selecting a name or unit.

As discussed today:

Here is an example of the validation of data in models: https://github.com/ContactEngineering/topobank/blob/7bc3f3dfd62cf2a36d47c7caad56ba3103bea7e2/topobank/analysis/models.py#L68
Tag serializer: https://github.com/ContactEngineering/topobank/blob/7bc3f3dfd62cf2a36d47c7caad56ba3103bea7e2/topobank/manager/serializers.py#L97

Closes by #1057


[Provider]: UserDefaults OpenFeature Provider Swift

SDK
Other (Not available in the list)
Vendor/Tool
UserDefaults(iOS/iPadOS native)
Maintainer
Community
Artifacts
https://github.com/fumito-ito/UserDefaults-OpenFeature-Provider-Swift/releases/tag/0.0.1
Repository
https://github.com/fumito-ito/UserDefaults-OpenFeature-Provider-Swift
Anything else?
Because many vendor tools that provide feature flags often require network access when initializing the flags, there is often a problem getting the proper flag set the first time the client application is launched.
To solve these problems, UserDefaults is often used during iOS application development because UserDefaults has no delay in initialization and can set simple feature flags based on targeting keys, etc.
This library provides an interface to treat UserDefaults as an OpenFeature Provider.
This provider is only compatible with Swift Package Manager and is not registered with the registry that provides Artifact.

Hey @fumito-ito, sorry for the delay. I'll get to this shortly. This is just the first provider not associated with a project/vendor. I just need to figure out an elegant way to include it in docs.


Data parsing Bug for dataloader.

Hi, I've processed some data for training but get the bug of dataloader of:
File "/share/home/openfold/openfold-main/lib/conda/envs/openfold_venv/lib/python3.7/site-packages/pytorch_lightning/utilities/apply_func.py", line 92, in apply_to_collection     return function(data, *args, **kwargs)   File "/share/home/openfold/openfold-main/lib/conda/envs/openfold_venv/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 521, in __next__     data = self._next_data()   File "/share/home/openfold/openfold-main/lib/conda/envs/openfold_venv/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 1203, in _next_data     return self._process_data(data)   File "/share/home/openfold/openfold-main/lib/conda/envs/openfold_venv/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 1229, in _process_data     data.reraise()   File "/share/home/openfold/openfold-main/lib/conda/envs/openfold_venv/lib/python3.7/site-packages/torch/_utils.py", line 434, in reraise     raise exception TypeError: Caught TypeError in DataLoader worker process 0. Original Traceback (most recent call last):   File "/share/home/openfold/openfold-main/lib/conda/envs/openfold_venv/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 287, in _worker_loop     data = fetcher.fetch(index)   File "/share/home/openfold/openfold-main/lib/conda/envs/openfold_venv/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 52, in fetch     return self.collate_fn(data)   File "/share/home/openfold/openfold-main/lib/conda/envs/openfold_venv/lib/python3.7/site-packages/pytorch_lightning/utilities/auto_restart.py", line 474, in _capture_metadata_collate     data = default_collate(samples)   File "/share/home/openfold/openfold-main/openfold/data/data_modules.py", line 297, in __call__     prot, self.stage   File "/share/home/openfold/openfold-main/openfold/data/feature_pipeline.py", line 116, in process_features     mode=mode,   File "/share/home/openfold/openfold-main/openfold/data/feature_pipeline.py", line 93, in np_example_to_features     cfg[mode],   File "/share/home/openfold/openfold-main/openfold/data/input_pipeline.py", line 187, in process_tensors_from_config     lambda x: wrap_ensemble_fn(tensors, x), torch.arange(num_recycling + 1)   File "/share/home/openfold/openfold-main/openfold/data/input_pipeline.py", line 201, in map_fn     ensembles = [fun(elem) for elem in x]   File "/share/home/openfold/openfold-main/openfold/data/input_pipeline.py", line 201, in <listcomp>     ensembles = [fun(elem) for elem in x]   File "/share/home/openfold/openfold-main/openfold/data/input_pipeline.py", line 187, in <lambda>     lambda x: wrap_ensemble_fn(tensors, x), torch.arange(num_recycling + 1)   File "/share/home/openfold/openfold-main/openfold/data/input_pipeline.py", line 168, in wrap_ensemble_fn     return fn(d)   File "/share/home/openfold/openfold-main/openfold/data/data_transforms.py", line 76, in <lambda>     return lambda x: f(x, *args, **kwargs)   File "/share/home/openfold/openfold-main/openfold/data/input_pipeline.py", line 196, in compose     x = f(x)   File "/share/home/openfold/openfold-main/openfold/data/data_transforms.py", line 76, in <lambda>     return lambda x: f(x, *args, **kwargs)   File "/share/home/openfold/openfold-main/openfold/data/data_transforms.py", line 180, in sample_msa     num_seq = protein["msa"].shape[0] TypeError: 'function' object is not subscriptable
And I upload one of the datasample, Am I wrong with the generate MSAs pipeline or wrong with the dataloader?
5E0Y.zip

Could you share the command you're running?

```python scripts/data_dir_to_fasta.py mmcif_data processed_fasta/input.fasta python3 scripts/precompute_alignments_mmseqs.py processed_fasta/input.fasta data/mmseqs_dbs uniref30_2103_db alignment_dir_single/ ./mmseqs/bin/mmseqs --hhsearch_binary_path=lib/conda/envs/openfold_venv/bin/hhsearch --env_db colabfold_envdb_202108_db --pdb70 data/pdb70/pdb70`
Here I get the 5E0Y_1_A_A folder under alignment_dir_single folder, which contains the a3m hhr files.
python3 scripts/generate_mmcif_cache.py mmcif_data/ mmcif_cache.json --no_workers 16
get the mmcif_cache.json( I change the release_data):
{     "5e0y_1_A": {         "release_date": "2017-03-29",         "no_chains": 1     } }
Then I run
python3 train_openfold.py mmcif_data/ alignment_dir_single/ data/pdb_mmcif/mmcif_files/ output 2021-10-10 --template_release_dates_cache_path mmcif_cache.json --precision 16 --gpus 0 --seed 42
To test dataloader. And get the bug.

Fixed in 79f9f03. It ended up being a bug in the distillation set pipeline.
Two notes about your usage:

Note that --gpus 0 means "use 0 GPUs", not "use GPU 0". To limit the model to a specific GPU, use the CUDA_VISIBLE_DEVICES environment variable.
.pdb files in the mmcif_dir are interpreted as examples from the distillation set and are treated slightly differently from ground truth examples. You'll want to get rid of it if this is a real protein. This wasn't at all clear in the previous README, so I added a paragraph about that too.


cproject should not specify more specific info than a core ?

https://github.com/Open-CMSIS-Pack/devtools/blob/main/tools/projmgr/docs/Manual/YML-Input-Format.md#project
We understand:

output-type = library
processor = Cortex-M4

But not board and device ==> this is csolution's scope.
@slhultgren @iomint @VGRSTM @LMESTM @emmanuelgrandin

@fred-r, the cproject format specifies the instance name of the processor in a multi-core device while on the csolution level the device is specified.
See https://github.com/Open-CMSIS-Pack/devtools/blob/main/tools/projmgr/docs/Manual/YML-Input-Format.md#device-name-conventions
[Dvendor:: [device_name] ] [:Pname]
The Pname is part of the device definition in the DFP and is a string identifying the processor instance (e.g. cpu0, cpu1 but more intuitive: CM0, CM4)
This way a target-type joins the projects for multiple processor instances.
https://github.com/Open-CMSIS-Pack/devtools/blob/main/tools/projmgr/docs/Manual/YML-Input-Format.md#processor

@fred-r  I am not sure we answered your question above.


Unpublicize localeIdentifier property on PFInstallation.

LGTM

LGTM. @lukas1994, any other localeIdentifier call that we might missed?

@hallucinogen I used a project-wide search - these are the only ones that we have.

:+1:

I'll update the integration tests.


[5.7] Test CheckForMaintenanceMode middleware

Here are four methods I have read about the maintance mode:

One in Illuminate\Foundation\Application

public function isDownForMaintenance()
{
    return file_exists($this->storagePath().'/framework/down');
}

One in Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode

public function handle($request, Closure $next)
{
    if ($this->app->isDownForMaintenance()) {
        $data = json_decode(file_get_contents($this->app->storagePath().'/framework/down'), true);
        throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']);
    }
    return $next($request);
}

One in Illuminate\Foundation\Console\DownCommand

public function handle()
{
    file_put_contents(
        storage_path('framework/down'),
        json_encode($this->getDownFilePayload(), JSON_PRETTY_PRINT)
    );
    $this->comment('Application is now in maintenance mode.');
}

And one in Illuminate\Foundation\Console\UpCommand

public function handle()
{
    @unlink(storage_path('framework/down'));

    $this->info('Application is now live.');
}

The maintenance file path storagePath().'/framework/down' exists in four methods but we only need one, right? I think it's better if we resolve this case such as some couples of methods in Illuminate\Foundation\Application below:

Application::routesAreCached() and Application::getCachedRoutesPath().
Application::configurationIsCached and Application::getCachedConfigPath().

So I create a new method Application::getMaintenanceFilePath() - that associated with Application::isDownForMaintenance() method. Then, we should only access the maintenance file from one method. Anyway, I wrote some tests the middleware. You can take a look. Thank you!

@GrahamCampbell I haven't changed any tests yet. In my local machine, I only checked this test case and everything was fine. But the travis-ci showed an error when the test process was running over 50% with the message "No output has been received in the last 10m0s...". I have no idea about it. Could you help me to detect what happened, please!

Kicking the CI.

@GrahamCampbell I mean I have checked the travis-ci job's log but I haven't known the reason. When I tried to look for a help, I saw the exact same thing in this pull request 23876. Sorry for my lack of knowledge. I think it failed because of an system error but not test cases.

I am closing this pull request because it lacks sufficient explanation, tests, or both. It is difficult for us to merge pull requests without these things because the change may introduce breaking changes to the framework.
Feel free to re-submit your change with a thorough explanation of the feature and tests - integration tests are preferred over unit tests. Please include it's benefit to end users; the reasons it does not break any existing features; how it makes building web applications easier, etc.
Thanks!

I may try more the next time. Thanks


[TASK] Add Unclaimed Payouts Display in Nomination Page

Description
Display unclaimed payouts prominently on the nomination staking page. This allows users to be immediately informed of their unclaimed payouts and ensure they are always aware of their potential earnings and claim them in a timely manner.
Screenshot

Figma Link

We should consider displaying the payout era window which defines the number of eras after which unclaimed staking rewards will no longer be claimable, let me know if this has been implemented @devpavan04

Update Payout Status column to remaining time or era for claiming (reference to polkadot JS).


IRP launch content update

IRP launch content update
Trello card
Context
Changes proposed in this pull request
Guidance to review

@plisovin Please could you take a look and see why this hasn't deployed? Thank you


Unknown type for deserialization when trying to get enum collection in C#

Hello, I have an issue with the api endpoint (controller action) which return collection of C# enum as a json
this is my swagger.json file:

{
  "openapi": "3.0.1",
  "info": {
    "title": "KiotaTestApi.WebApi",
    "version": "1.0"
  },
  "paths": {
    "/api/TestData/just-enums": {
      "get": {
        "tags": [
          "TestData"
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KiotaTestApi.Models.Export.MyTaskStatus"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KiotaTestApi.Models.Export.MyTaskStatus"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KiotaTestApi.Models.Export.MyTaskStatus"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "KiotaTestApi.Models.Export.MyTaskStatus": {
        "enum": [
          "Pending",
          "InProgress",
          "Done"
        ],
        "type": "string"
      }
    }
  }
}

Here is my controller action definition
    /// <summary>
    /// Get task statuses
    /// </summary>
    /// <returns></returns>
    [HttpGet("just-enums")]
    [ProducesResponseType(StatusCodes.Status200OK)]
    public async Task<ActionResult<IReadOnlyCollection<MyTaskStatus>>> GetStatuses()

When I'm using Kiota ApiClient that has been generated using this swagger.json file above I get an exception when  GetAsync  method is executed

System.InvalidOperationException: unknown type for deserialization System.Nullable`1[[KiotaTestApi.ApiClient.Models.MyTaskStatus, KiotaTestApi.ApiClient, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null]]
   at Microsoft.Kiota.Serialization.Json.JsonParseNode.GetCollectionOfPrimitiveValues[T]()+MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at KiotaTestApi.ApiClient.Api.TestData.JustEnums.JustEnumsRequestBuilder.GetAsync(Action`1 requestConfiguration, CancellationToken cancellationToken)

It seems like enum was handled as a primitive type in GetCollectionOfPrimitiveValues but there is no option for enum there:
...
if(genericType == TypeConstants.BooleanType)
                        yield return (T)(object)currentParseNode.GetBoolValue()!;
                    else if(genericType == TypeConstants.ByteType)
                        yield return (T)(object)currentParseNode.GetByteValue()!;
                    else if(genericType == TypeConstants.SbyteType)
                        yield return (T)(object)currentParseNode.GetSbyteValue()!;
                    else if(genericType == TypeConstants.StringType)
                        yield return (T)(object)currentParseNode.GetStringValue()!;
                    else if(genericType == TypeConstants.IntType)
                        yield return (T)(object)currentParseNode.GetIntValue()!;
                    else if(genericType == TypeConstants.FloatType)
                        yield return (T)(object)currentParseNode.GetFloatValue()!;
                    else if(genericType == TypeConstants.LongType)
                        yield return (T)(object)currentParseNode.GetLongValue()!;
                    else if(genericType == TypeConstants.DoubleType)
                        yield return (T)(object)currentParseNode.GetDoubleValue()!;
                    else if(genericType == TypeConstants.GuidType)
                        yield return (T)(object)currentParseNode.GetGuidValue()!;
                    else if(genericType == TypeConstants.DateTimeOffsetType)
                        yield return (T)(object)currentParseNode.GetDateTimeOffsetValue()!;
                    else if(genericType == TypeConstants.TimeSpanType)
                        yield return (T)(object)currentParseNode.GetTimeSpanValue()!;
                    else if(genericType == TypeConstants.DateType)
                        yield return (T)(object)currentParseNode.GetDateValue()!;
                    else if(genericType == TypeConstants.TimeType)
                        yield return (T)(object)currentParseNode.GetTimeValue()!;
                    else
                        throw new InvalidOperationException($"unknown type for deserialization {genericType.FullName}");

.....

This is my GetAsync method:
 public async Task<List<MyTaskStatus?>?> GetAsync(Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = default, CancellationToken cancellationToken = default)
        {
#nullable restore
#else
        public async Task<List<MyTaskStatus?>> GetAsync(Action<RequestConfiguration<DefaultQueryParameters>> requestConfiguration = default, CancellationToken cancellationToken = default)
        {
#endif
            var requestInfo = ToGetRequestInformation(requestConfiguration);
            var collectionResult = await RequestAdapter.SendPrimitiveCollectionAsync<MyTaskStatus?>(requestInfo, default, cancellationToken).ConfigureAwait(false);
            return collectionResult?.ToList();
        }

So I'm wondering is this a know issue, or it is something that not supported by Kiota? (I was using versions 1.12 and 1.13)
Please let me know if you need more information.
Thanks!

Transferring this to the json serialization library repository.

Thanks for raising this @alexvab
This is related to https://github.com/microsoft/kiota-abstractions-dotnet/issues/199 and the function you pointed out should ideally be handling enum collections in the meantime until the time a breaking change is made to allow for this scenario to align with other languages.
Any chance you'd be willing to submit a PR to fix this?

Hi @andrueastman Thanks. I could try to submit PR but not sure when I'd be able to make. It looks like I can use Java implementation as a reference for this?

@andrueastman I think we could get around to that without introducing a breaking change by adding an early case here to check whether the generic type parameter is an enum, and route the call to the GetCollectionOfEnumValues instead.
@alexvab is this something you'd like to explore and submit a pull request for?

@baywet yes I'd like to explore it and submit PR. but not sure how much time I'll have on hand and when I'll be able to submit PR.

great, let's circle back in a week.

@alexvab is this something you started looking at?

Ping @alexvab


express passes to next middleware even if next() is not called?

In my code:
https://github.com/touhidurrr/UncivServer.xyz/blob/ed0271efafbe5372e47f6b59cb7d43910aec5622/src/server.js#L49-L74
Express passes to nex middleware even if 413 Payload Too Large is sent.

I wrote this since express.limit is now deprecated but it is not working... sigh...
https://github.com/touhidurrr/UncivServer.xyz/blob/939980f9ba6f7366853b326e09cb80156056719d/src/server.js#L49-L74

Hi @touhidurrr thanks for that link. Unfortunately it doesn't really help debug the issue since I am unable to attach a debugger to your server side in order to see what is happening. Is there a method I can get access to that running server or can you provide instructions for how to get it running elsewhere (like locally)?

Hi @touhidurrr thanks for that link. Unfortunately it doesn't really help debug the issue since I am unable to attach a debugger to your server side in order to see what is happening. Is there a method I can get access to that running server or can you provide instructions for how to get it running elsewhere (like locally)?

I made a highly toned down version on Gitlab for testing this behaviour.
git clone https://gitlab.com/touhidurrr/UncivServer-xyz.git
cd UncivServer-xyz
node src/server.js &

Hello, and thanks for that! I don't seem to be able to replicate, however. Here is what I did, please let me know if I'm missing a steps or just not understanding.
First I get the server set up and running (note I added npm install that was missing from the instructions above):
$ git clone https://gitlab.com/touhidurrr/UncivServer-xyz.git
Cloning into 'UncivServer-xyz'...
remote: Enumerating objects: 301, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 301 (delta 0), reused 0 (delta 0), pack-reused 297
Receiving objects: 100% (301/301), 61.58 KiB | 10.26 MiB/s, done.
Resolving deltas: 100% (152/152), done.

$ cd UncivServer-xyz/

$ mkdir files

$ npm install

added 74 packages, and audited 75 packages in 2s

5 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

$ node src/server.js
'Listening on 8080 ...'

Then I go to make the requests you mentioned above. I first create a 10mb file to make sure it's over the limit as you described, send that file with a PUT, and try to get it with the GET. I also checked the contents of the files directory. As far as I can tell, and when running the debugger, it never called next() after the 413, and the server.put you have was never invoked from it.
$ head -c 10485760 </dev/urandom >test-10mb.txt

$ curl -i -XPUT<EMAIL_ADDRESS>'http://localhost:8080/files/game-data'
HTTP/1.1 100 Continue

HTTP/1.1 413 Payload Too Large
Content-Type: text/plain; charset=utf-8
Content-Length: 17
ETag: W/"11-tmVuFIBFGqHEdrkpbdAvMZFrreg"
Date: Wed, 25 May 2022 16:25:57 GMT
Connection: keep-alive
Keep-Alive: timeout=5

Payload Too Large

$ curl -i 'http://localhost:8080/files/game-data'
HTTP/1.1 404 Not Found
Content-Type: text/html; charset=utf-8
Content-Security-Policy: default-src 'none'
X-Content-Type-Options: nosniff
Content-Length: 154
Date: Wed, 25 May 2022 16:32:11 GMT
Connection: keep-alive
Keep-Alive: timeout=5

<!DOCTYPE html>

<meta charset="utf-8">
<title>Error</title>

Cannot GET /files/game-data

$ ls -lah files/
total 0
drwxr-xr-x   2 -  -    64B May 25 12:31 .
drwxr-xr-x  22 -  -   704B May 25 12:25 ..

It seems like I just may not be replicating correctly. If you can perhaps give exact commands like above I can be sure that I replicate exactly as you are doing so I can get to debugging it 👍

It seems like I just may not be replicating correctly. If you can perhaps give exact commands like above I can be sure that I replicate exactly as you are doing so I can get to debugging it 👍

Yeah. But pretty sure it happened before. Do you know the proper way to implement 413 Payload Too Large at express?

Anyways, The problem seems to have mysteriously fixed by itself. I encountered it a while ago. Since then made many changes to codes. Maybe one of those fixed it?
So, I am closing this issue.


Code Redesign

Restructure the code along the following design:

Depends on #125

Completed in v2.2


reorganize IaC definitions

Reorganize IaC definitions and put them into separate files

It looks like there are no newlines at the ends of .yml files. Besides that, LGTM.


Content reuse

On a regular cadence review our most popular blogs and think of ways to reuse the content in other mediums. Could we present this as a video? Could we create a series around this? Could we create an abstract and submit it to a conference? Could we approach a podcaster and ask to talk about it on their show?

[ ] Update existing content
[ ] Figure out how to reuse it:

[ ] Section Kero's video
[ ] Transform guides into videos

Most viewed blog content of all time and of this year:

https://blog.meilisearch.com/meilisearch-raised-5meu-seed-fundraising/
https://blog.meilisearch.com/meilisearch-or-elasticsearch/ (404) ⇒ https://blog.meilisearch.com/why-should-you-use-meilisearch-over-elasticsearch/
https://blog.meilisearch.com/add-meilisearch-to-your-strapi-app/
https://blog.meilisearch.com/strapi-v4-plugin-meilisearch/
https://blog.meilisearch.com/how-to-integrate-an-extremely-fast-and-relevant-search-into-your-rails-app-using-meilisearch-and-react/
https://blog.meilisearch.com/instant-meilisearch/
https://blog.meilisearch.com/multi-tenancy/
https://blog.meilisearch.com/whats-new-in-v0-26/
https://blog.meilisearch.com/meilisearch-series-a/

https://blog.meilisearch.com/meilisearch-raised-5meu-seed-fundraising/
Twitter:

thread explaining how far we've come in a year: we could use the star history graph. We could even reshare this tweet and link to the series A post
"infography" about the keys to our success, making bold choices: opensource + rust

https://blog.meilisearch.com/why-should-you-use-meilisearch-over-elasticsearch/  (needs yet to be updated)

Twitter thread with comparison (it's a possibility, but maybe not the image we want to portray)
Link it in a newsletter
Use the GIFs in a Twitter post to show how easy it is to install and run Meilisearch

https://blog.meilisearch.com/how-to-integrate-an-extremely-fast-and-relevant-search-into-your-rails-app-using-meilisearch-and-react/

Divide it into several YT videos
Twitter with empty meilisearch block code stating how easy it is to send your Rails records to Meilisearch
Twitter thread starting from the meilisearch block code and reusing the settings explanation

https://blog.meilisearch.com/instant-meilisearch/

Video
Twitter post with the first lines of the App.js code explaining how to easily integrate InstantSearch.js with Meilisearch

https://blog.meilisearch.com/multi-tenancy/

Video about tenant tokens
Divide it into several YT videos
Infography about tenant tokens


建议支持1to1场景下的P2P模式

体验了LIVEKIT非常不错，代码很出色，我们有1对1的场景，而且流量带宽也有要求，所以想知道livekit后续是否有支持P2P的计划？
望回复!

It is very good to experience LIVEKIT, the code is very good, we have a 1-to-1 scenario, and there are also requirements for traffic bandwidth, so I would like to know whether livekit has a plan to support P2P in the future?
Hope to reply!

Thank you for your kind words. There are no plans currently to support p2p.


Update duktape to 1.4.0 release

This will solve the issues with packaging (and also having valid debug symbols for this part of the code) and the "#line" directive used before. From this release on, they ship a "src-noline" version of the sources, that we now use. I tested our samples with this new code and we're fine. We have some new build warnings, thought (on duktape), that I'll fix in the sequence.

@cabelitos, @bdilly ^ good enough?

@glima fine by me. But you tested our node types / samples with this version, right?

I did. Now merging, then.


send header failed

I used the SecureWrite example on an ESP32, but get connection fail and write fail.
I searched but can not find anything on this.
I uncommented the debug line in InfluxDbClient.cpp but that did not give any extra info.
I use the influx db free cloud server this on this server:
// InfluxDB v2 server url, e.g. https://eu-central-1-1.aws.cloud2.influxdata.com (Use: InfluxDB UI -> Load Data -> Client Libraries)
#define INFLUXDB_URL "https://westeurope-1.azure.cloud2.influxdata.com"
Of course checked all tokens and ID's.
This my serial monitor output:
ets Jun  8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:928
ho 0 tail 12 room 4
load:0x40078000,len:8740
load:0x40080400,len:5788
entry 0x4008069c
Connecting to wifi
Syncing time.
Synchronized time: Sun Jul  5 21:49:22 2020
InfluxDB connection failed: send header failed
Writing: wifi_status,device=ESP32,SSID=Ziggo251E1B9 rssi=-82i
InfluxDB write failed: send header failed
Wait 10s
Can anyone help on this issue

@WalterHolland, do you have the latest ESP32 Arduino SDK 1.0.4?

No, I did not, I had SDK 1.0.3. Updated tot SDK 1.0.4 and it worked but  only after I requested a new bucket and new token. Thanks.


Changed nfproj to sign the assembly

Signing this assembly so we can give it access to System namespace via nanoFramework.Core.  A later change will replace the Debug.WriteLine to Console.WriteLine so we can build a Production version of the Nuget library but still be able to output to the debugger.
Fix #737
Signed-off-by: Ed Lenoir<EMAIL_ADDRESS>
key.snk file was already part of the repository, but was not used in the nfproj file.  Added appropriate sections to the nfproj file to sign this assemble using that key.  This assembly needs to be signed so we can allow it to get at internal classes in nanoFramework.Core.  The public portion of the key in this assembly is being added to Friends.cs in nanoFramework.Core where permission will be granted.

Description

Configuration change only to cause the build system to sign this assembly with a private key.
Motivation and Context

The DebugLogger class in this library will not log any messages to the Visual Studio Debug Output window because Debug.WriteLine is no-op'd for release builds, and libraries in Nuget are always release builds.  This change prepares us to change to Console.WriteLine which works in both Debug and Release builds.

Fixes/Closes/Resolves nanoFramework/Home#737

How Has This Been Tested?

Ran build, then ran sn -Tp nanoFramework.Logging.dll to confirm that assembly is now signed. Screen shot attached.
Made all changes and confirmed that when all related changes are made that debug messages are produced with both Debug and Release versions of nanoFramework.Logging.DLL.

Visual Studio 2019
Manual confirmation. that the assembly is signed
Ran test harness from the issue and confirmed that output is now complete.

Screenshots

Types of changes

[ ] Improvement (non-breaking change that improves a feature, code or algorithm)
[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)
[ ] Config and build (change in the configuration and build system, has no impact on code or features)
[ ] Dependencies (update dependencies and changes associated, has no impact on code or features)
[x] Unit Tests (work on Unit Tests, has no impact on code or features)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: edleno2 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Closing - let another commit get into this PR - will resubmit with only 1 commit.


In ResourcesServer project you have DataEventRecordContext

How do you know which USER created DataEventRecord? Is there any example how do you connect Identity user with custom table in different context for same database?

@nukec hope you where able to solve this. Sorry I did not answer, missed it.
Greetings Damien


Problem with value < double

Steps to Reproduce
My code is:
final colorSnapshot = useStream(bloc.color, initialData: color);
final colorData = colorSnapshot.data ?? theme.primaryColor;
final brightness = useMemoized(colorData.computeLuminance, [colorData]);
final brightnessColor = brightness < 0.50 ? Colors.white : Colors.black;
final nameFocusNode = useFocusNode();
final priceFocusNode = useFocusNode();

And I got the problem that in Android it's black and iOS it's white, so I tried to debug this and saw this:

Expected results:
Having coherent result between platform.
Details:
[✓] Flutter (Channel unknown, 1.22.6, on macOS 11.3.1 20E241 darwin-x64, locale fr-FR)
    • Flutter version 1.22.6 at /Users/jaumard/fvm/versions/1.22.6
    • Framework revision 9b2d32b605 (4 months ago), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/jaumard/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5, Build version 12E262
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.1.1)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin installed
    • Dart plugin version 211.7233

[✓] VS Code (version 1.55.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • Pixel 5 (mobile)           • 0C151FDD40039R                       • android-arm64  • Android 11 (API 30)
    • iPhone 12 Pro Max (mobile) • F2974060-06A1-463D-8D1D-CDA1B5AA4DCC • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)            • macos                                • darwin-x64     • macOS 11.3.1 20E241 darwin-x64
    • Web Server (web)           • web-server                           • web-javascript • Flutter Tools
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 90.0.4430.212

! Doctor found issues in 1 category.

 [...] Channel unknown, 1.22.6,

@jaumard
can you run flutter upgrade -f and see if the issue persists

My project doesn't pub get or compile with more than that version lol
But I made a quick hack and try Flutter version 2.0.6 at /Users/jaumard/flutter. but same problem...

What is the issue you're trying to report here? The title is "Problem with value < double", and you're showing a screenshot showing that you're checking whether 0.053... is less than 0.5 and getting true. What is the problem there?

Yeah my bad guys... my problem is somewhere else not related to flutter at all. Need some sleep :D
Sorry for the inconvenience


Documentation: update manpage for -I (slabsize) parameter

Update documentation to more accurately reflect the value that should be passed along as the parameter via command line.
I found myself interpreting the current text as if I should write memcached -I 10mb but it should really be memcached -I 10m. I'm hoping this PR makes that more clear.

this might be one of the shortest PRs-to-merge in the history of the project, given how bad I am at this.
I adjusted the title of the commit to be an appropriate length but otherwise didn't touch. now in the 'next' branch, thanks.


Remove box_syntax and collections feature gates

Thanks for contributing! Unfortunately, I'm here to tell you there were the following style issues with your Pull Request:

Commit: fb8aea7f25818a0d7ac99cc673eac10864aa86fc
Commits must be in the following format: %{type}(%{scope}): %{description}

Guidelines are available at https://github.com/hyperium/hyper/blob/master/CONTRIBUTING.md

This message was auto-generated by https://gitcop.com


Fix header stacking

Checklist:

[x ] Documentation
[x ] Tests
[x] Ready to be merged

Fixed version- With flex-start

Current with flex-end

Codecov Report

Merging #406 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #406   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          77     77
  Lines         358    358
  Branches       16     16
=====================================
  Hits          358    358

Impacted Files
Coverage Δ

...ponents/top-nav/src/atoms/right-hand-side/index.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 31b6f73...b6653f4. Read the comment docs.

Thank you, just checking this out - in the future, if you make PR's from this repo instead of a fork I can check them out locally, test, and collaborate easily toooooo

@anishamalde looks like it is failing due to codecov: https://travis-ci.org/UKHomeOffice/govuk-react/builds/427131575#L1421 - might need to wait for @penx to check tomorrow unless it starts working after some further adjustments : )
I'm using this https://design-system.service.gov.uk/components/header/with-service-name-and-navigation/index.html as a reference for service title and subnavigation (from this page: https://design-system.service.gov.uk/components/header/). I might try to ensure the mobile menu is rendered on the left (as per the spec), whilst also rendering the service title on the left (as per this change)... just looking at the component now.

It's failing because the branch is on a different GitHub account. This means travis doesn't supply the env variables to the build script and then codecov fails.
We either need to ensure all PRs come from the UKHomeOffice org, or else skip this step if the env variable is not available.

Superseded by https://github.com/UKHomeOffice/govuk-react/pull/411, cheers!


Require a user has a subscription to change their affiliation.

Fixes #295

Coverage decreased (-0.02%) to 76.63% when pulling 30478d7308e964bcd841b35ecb6c4b2e253f5249 on surevine:issues/295 into 869e45e02afea326bf49bba3e4e7c3216560d669 on buddycloud:master.


Revert "Fix X11 Editor Boot Splash (Maximized Boot Splash)"

I guess this was opened by mistake.

It's actually crazy that a random person could create a new branch in our official repo to make this PR. GitHub is starting to add more and more features for trolls...

Well, actually the branch was already there. It is still baffling that anyone can create PRs from our branches though.


Project: MineSweeper Game

Description :
The game is a simulation of the famous Minesweeper video game built using HTML, CSS and JS
Features :

Flag a cell
Open a cell
Restart your game after every win or loss.
Every time bombs will be placed randomly.

Tentative Deadline : 2 days (Provide tentative deadline as per your analyses. Make sure it falls under 1st Oct to 31st Oct)
Some Rules to follow :

Add a README.md file for your project.
Name of Project
Demo of Project in .gif how your project is look
Description of project
Requirements or Setup instructions
Name of Author(s)
Look at Demo here.

@soumik2012 i would like to work on this project so, can you assign this to me?

Can you assign me this project ?

@soumik2012 i would like to work on this project so, can you assign this to me?

@soumik2012 can i work on this project?

Go ahead @Ayush21042002 👍🏻


Extend SyntheticsNetworkMeshTestResults example with packet loss and jitter

Issue: KNTK-403

Current output of the example:
=== CONT  TestDemonstrateSyntheticsNetworkMeshTestResults
2022/04/05 17:02:23 Credentials loaded from /home/daniel/.kentik/default
Picked network_mesh test named "network_mesh_6x6" with ID 6232
Number of test results: 50
Latest test results time: 2022-04-01 09:00:00 +0000 UTC
Table cells contain ping latency and its health in format: "current [ms] / rolling avg. [ms] / rolling stddev. [ms] / health"
.                             Cape Town, South Africa    Chicago, IL, United States    Osaka, Japan                 Zhangjiakou, China          Petah Tikva, Israel        Tallinn, Estonia
Cape Town, South Africa       [X]                        245 / 242 / 2 / healthy       381 / 381 / [X] / healthy    286 / 289 / 1 / healthy     219 / 219 / 2 / healthy    183 / 177 / 2 / healthy
Chicago, IL, United States    [X]                        [X]                           [X]                          226 / 220 / 8 / healthy     148 / 148 / 3 / healthy    124 / 124 / 0 / healthy
Osaka, Japan                  [X]                        187 / 236 / 13 / healthy      [X]                          136 / 128 / 34 / healthy    340 / 332 / 3 / healthy    290 / 286 / 2 / healthy
Zhangjiakou, China            [X]                        226 / 218 / 3 / healthy       [X]                          [X]                         317 / 298 / 8 / healthy    [X] / 254 / 2 / critical
Petah Tikva, Israel           [X]                        148 / 148 / 3 / healthy       [X]                          318 / 297 / 6 / healthy     [X]                        86 / 81 / 2 / healthy
Tallinn, Estonia              [X]                        124 / 124 / 0 / healthy       [X]                          [X]                         85 / 82 / 2 / healthy      [X]

Table cells contain ping jitter and its health in format: "current [ms] / rolling avg. [ms] / rolling stddev. [ms] / health"
.                             Cape Town, South Africa    Chicago, IL, United States    Osaka, Japan             Zhangjiakou, China     Petah Tikva, Israel    Tallinn, Estonia
Cape Town, South Africa       [X]                        0 / 0 / 0 / healthy           0 / 0 / [X] / healthy    0 / 0 / 0 / healthy    0 / 0 / 0 / healthy    0 / 0 / 0 / healthy
Chicago, IL, United States    [X]                        [X]                           [X]                      0 / 2 / 2 / healthy    0 / 0 / 0 / healthy    0 / 0 / 0 / healthy
Osaka, Japan                  [X]                        0 / 0 / 0 / healthy           [X]                      0 / 1 / 3 / healthy    0 / 0 / 0 / healthy    0 / 0 / 0 / healthy
Zhangjiakou, China            [X]                        0 / 1 / 2 / healthy           [X]                      [X]                    0 / 1 / 1 / healthy    [X] / 0 / 0 / critical
Petah Tikva, Israel           [X]                        0 / 0 / 0 / healthy           [X]                      0 / 1 / 1 / healthy    [X]                    0 / 0 / 0 / healthy
Tallinn, Estonia              [X]                        0 / 0 / 0 / healthy           [X]                      [X]                    0 / 0 / 0 / healthy    [X]

Table cells contain ping packet loss and its health in format: "current [%] / health"
.                             Cape Town, South Africa    Chicago, IL, United States    Osaka, Japan        Zhangjiakou, China    Petah Tikva, Israel    Tallinn, Estonia
Cape Town, South Africa       [X]                        0.00 % / healthy              0.00 % / healthy    0.00 % / healthy      0.00 % / healthy       0.00 % / healthy
Chicago, IL, United States    [X]                        [X]                           [X]                 0.00 % / healthy      0.00 % / healthy       0.00 % / healthy
Osaka, Japan                  [X]                        0.00 % / healthy              [X]                 8.89 % / healthy      0.00 % / healthy       0.00 % / healthy
Zhangjiakou, China            [X]                        20.00 % / healthy             [X]                 [X]                   0.00 % / healthy       100.00 % / critical
Petah Tikva, Israel           [X]                        0.00 % / healthy              [X]                 20.00 % / healthy     [X]                    0.00 % / healthy
Tallinn, Estonia              [X]                        0.00 % / healthy              [X]                 [X]                   0.00 % / healthy       [X]

--- PASS: TestDemonstrateSyntheticsNetworkMeshTestResults (4.95s)


python3Packages.cryptography: 3.0 -> 3.1

Backwards incompatible changes:

Removed support for idna based U-label parsing in various X.509
classes. This support was originally deprecated in version 2.1 and
moved to an extra in 2.5.

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

With flakes enabled I executed nix build .#python3Packages.cryptography and nix build .#python2Packages.cryptography and both build processes finished successfully.


NAS : demo RL searcher doc showing Jenkins error

https://auto.gluon.ai/stable/tutorials/nas/rl_searcher.html displays an error after the 3rd code block "visualise the reward space" :
MatplotlibDeprecationWarning: Calling gca() with keyword arguments was deprecated in Matplotlib 3.4. Starting two minor releases later, gca() will take...

Thanks for mentioning! We are removing RLSearcher and the NAS code in next release as it was not well maintained and is not the focus of AutoGluon. Refer to #1431 and related PRs for more info.


add Meetup icon to footer

Add the Meetup icon to the footer and link to the Meetup group's page: https://www.meetup.com/react-ladies

@M0nica where do you download your svg's from?

@antropova I don't think that I've added Font Awesome to this project yet but I usually use a source like Font Awesome.  https://fontawesome.com/icons/meetup.
Meetup also has .ai vector files of their logo available here: https://www.meetup.com/media/

@M0nica  can I take up this issue?...I would like to give it a try.

Hi, Monica, is this issue taken? if not, I would like to take this, thank you.

Hi, Monica, is this issue taken? if not, I would like to take this, thank you.

Okay, great this is still available.


Someone buy this man a drink!

 That is all. Cheers 🍻

Thanks Brad I appreciate it :)


Standalone "Embassy DHCP" example dependecies

I created a new project with the code directly copied from the embassy DHCP example with only one line of change: use esp32s3_hal as hal;, but I failed to get it compiled, the error message is:
error[E0433]: failed to resolve: could not find `executor` in `embassy`
  --> src/main.rs:23:1
   |
23 | #[main]
   | ^^^^^^^ could not find `executor` in `embassy`
   |
   = note: this error originates in the attribute macro `main` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing one of these items
   |
5  + use embassy_executor::Executor;
   |
5  + use embassy_executor::raw::Executor;
   |

error[E0282]: type annotations needed
  --> src/main.rs:23:1
   |
23 | #[main]
   | ^^^^^^^ cannot infer type
   |
   = note: this error originates in the attribute macro `main` (in Nightly builds, run with -Z macro-backtrace for more info)

Some errors have detailed explanations: E0282, E0433.
For more information about an error, try `rustc --explain E0282`.
error: could not compile `esp-wifi-test` (bin "esp-wifi-test") due to 2 previous errors

below is the content of Cargo.toml
[package]
name = "esp-wifi-test"
version = "0.1.0"
authors = ["Chen Xu<EMAIL_ADDRESS>edition = "2021"
license = "MIT OR Apache-2.0"

[profile.dev.package.esp-wifi]
opt-level = 3

[profile.dev]
lto = "off"
[profile.release]
lto = "off"

[dependencies]
# esp-wifi requirements
esp32s3-hal = { version = "0.13.0", features = ["embassy", "embassy-time-timg0", "async", "log"]}
esp-backtrace = { version = "0.9.0", features = ["esp32s3", "panic-handler", "exception-handler", "print-uart"] }
esp-println = { version = "0.7.0", features = ["esp32s3","log"] }
esp-wifi  = { git = "https://github.com/esp-rs/esp-wifi/", rev = "0db7a70", features = ["esp32s3", "embedded-svc", "wifi-logs", "wifi", "async", "embassy-net", "phy-enable-usb"] }

defmt = "=0.3.5"
smoltcp = { version = "0.10.0", default-features=false, features = ["medium-ethernet", "socket-raw", "proto-ipv4", "socket-tcp", "socket-udp", "socket-icmp", "proto-igmp", "proto-dns", "socket-dns", "proto-dhcpv4", "socket-dhcpv4"] }
critical-section = "1.1.1"
log = "0.4.18"
embedded-svc = { version = "0.26.1", default-features = false, features = [] }
enumset = { version = "1", default-features = false }
linked_list_allocator = { version = "0.10.5", default-features = false, features = ["const_mut_refs"] }
embedded-io = "0.6.1"
embedded-io-async = { version = "0.6.0" }
fugit = "0.3.7"
heapless = { version = "0.7.16", default-features = false }
esp-wifi-sys = { git = "https://github.com/esp-rs/esp-wifi/", rev = "0db7a70", features = ["esp32s3"] }
embassy-sync = { version = "0.4.0" }
embassy-futures = { version = "0.1.0" }
toml-cfg = "0.1.3"
libm = "0.2.7"
cfg-if = "1.0.0"
static_cell = { version = "=1.2", features = ["nightly"] }

embassy-net = { version = "0.2.1", features = ["nightly", "tcp", "udp", "dhcpv4", "medium-ethernet"] }
embassy-executor = { version = "=0.3.2", package = "embassy-executor", features = ["nightly", "executor-thread", "integrated-timers", "arch-xtensa"] } # temporarily pin because we aren't ready for portable-atomic yet
embassy-time = { version = "0.1.3", features = ["nightly"] }
futures-util = { version = "0.3.28", default-features = false }
atomic-polyfill = "1.0.2"
atomic_enum = "0.2.0" # uses core atomic types which should be fine as long as only load and store is used on them

I really have no idea why it cannot be compiled, any help is much appreciated.

You need to enable embassy-executor-thread on esp32-hal (and to remove executor-thread from embassy). esp-hal provides its own executors and main macro that you should prefer.

Works like a charm. Thanks @bugadani.
Before closing this issue, may I make a suggestion to put some more detailed docs about how to use all the features? I was lost in the maze of configurations, and I believe that many others may have the same experience.
A cargo-generate template could be very helpful as well.

Thanks for pointing out the right direction.
I'm looking at some improvements to the example and the template.