chore(saas hubspot): create contacts with default domain

Thanks for submitting a PR! Please check the boxes below:

[x] I have run pre-commit to check linting
[ ] I have added information to docs/ if required so people know about the feature!
[x] I have filled in the "Changes" section below?
[x] I have filled in the "How did you test this code" section below?
[x] I have used a Conventional Commit title for this Pull Request

Changes
Add logic to create a lead in Hubspot when a user signs up but doesn't create or join an organisation.
How did you test this code?
Wrote some unit tests, as well as testing the hubspot API directly where needed.,

Codecov Report
Attention: Patch coverage is 98.34711% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 95.94%. Comparing base (7451032) to head (f84da1b).
Report is 10 commits behind head on main.

Files
Patch %
Lines

api/integrations/lead_tracking/hubspot/client.py
85.71%
2 Missing :warning:

Additional details and impacted files
@@           Coverage Diff            @@
##             main    #3830    +/-   ##
========================================
  Coverage   95.93%   95.94%
========================================
  Files        1103     1125    +22
  Lines       34842    35593   +751
========================================
+ Hits        33427    34149   +722
- Misses       1415     1444    +29

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


we need to make sure we dont tip peoiple from countries that are banned to tip in our jurisdiction

we need to make sure we dont tip peoiple from countries that are banned to tip in our jurisdiction

@austintgriffith


The asset should be generated automatically if it was not explicitely set by the user

Describe the issue
A gltf file is invalid unless it has the the asset object defined. Since tiny_gltf always generates gltf version 2.0 files the valueois constant model.asset.version="2.0" . This value should be provided automatically be the library, if it was not set by the user.
To Reproduce
Modify the build-gltf example in the example directory, but and remove the assignment of the asset object. Inspect the gltf file (or send it to the khronos validator).  The resulting gltf file is missing the asset object.
Expected behaviour
Automatically provide the asset object unless it was specified by the user, when saving a file.

@dov Thanks! Confirmed the issue.
https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#asset-1
According to the spec, at least model.asset.version must exist.


[Suggestion] better option for upscaling images

Is your feature request related to a problem? Please describe.
This fork is amazing, and it's what I use most of the time, but for generating high-resolution images https://github.com/jquesnelle/txt2imghd is much better, but doesn't have all the options of this fork
Describe the solution you'd like
an implementation of the system https://github.com/jquesnelle/txt2imghd uses to make higher-res images (generate image, upscale to desired size, run img2img on smaller pieces of the image, blend it all back together), which would allow us to generate much better-looking high-res images at the cost of faster generation speeds
Describe alternatives you've considered
just using txt2imghd, or using the built-in GFPGAN and Real-ESRGAN Support, which is great for things like seamless textures, but for other prompts, like landscapes, it doesn't end up nearly as good as txt2imghd's solution.
Additional context
upscaled landscape image with this fork:

example of a txt2imghd image:
initial image:

upscale:

after img2img:

example 2:

I tried that option with the https://github.com/lowfuel/progrock-stable repo and it caused me issues with some inputs (e.g. if you say person, it will be incentivized to create a person in every tile).
I haven't looked at the repo you mention or how they implement it, so from my side it's worth exploring!

Yeah, I've run into that issue too sometimes, but with txt2imghd they have a "--strength" argument, which decides the strength for noising/unnoising, on default values you won't run into that issue thankfully, but 0.5-0.6 and higher sometimes causes that issue.

Embiggen (=txt2imghd) is being implemented on the dev branches right now.

General upscaling and img2imghd are two very different features.
Upscaling is just basically enlarging the existing image with the help of AI models. In regards to that, there are very few models at the moment that provide better general results than ESRGAN. And we have that implemented.
As for img2imghd, this a feature where the canvas is enlarged, the image is split into tiles and then resampled with the diffusion model per each tile hence providing a larger image with seemingly more detail.
We have this feature too. Currently in development branch and it's called embiggen. Feel free to check it out. Works great. It would have made the latest release but stuff got delayed to the last day and we pushed to the next release.
if you don't want to try the development branch, you can make use of this feature with the help of embiggen in the next release.

Closing the issue since embiggen is now in the latest release. (Also yay 2.0.0 release!)


Documentation of conditionals leaves off '?' at the end of XRPN commands

This is true of all conditional tests in the HP-41 XRPN table in the documentation at https://github.com/isene/xrpn/wiki/XRPN-Documentation
HP-41                 XRPN
X>Y?                  it is not xgty but xgty? (with question mark appended)

Fixed those and a few more. Thanks for the catch.


Create DBIC code

Assuming we have completed SQL for database creation.
Now is the time to create Perl code using DBIC to respect the table structure.

Hello @manwar, can you please assign this task to me?

@kemsguy7 Do you know the table structure? How you started working already?

@manwar , i looked at the discussion from this issue : https://github.com/manwar/theweeklychallenge/issues/123
You mentioned something like
a) users: user_id, user_type, user_password
b) user_types: user_type_id, user_type_name
c) languages: language_id, language_name
d) user_contributions: user_id, language_id, week_id, count
e) weeks: week_id, week_name
Do i go ahead with that or do you have any further information that could assist me?

@kemsguy7 it was just my initial thought. feel free to add anything you reckon is missing.

@kemsguy7 just realised profile_photo is missing?

@manwar okay, i've taken note of the profile_photo, I'll also work in sync with @NoubissiViany from issue issue #123  since this is more or less a continuation of that issue


v4: PngWriter creates blurry shapes

I noticed with v4 that qr codes written as png become blurry while in v3 the same setup created razor sharp images. See the following two examples and zoom into the qr codes to see the difference. The difference is also clearly detectable in file size.
I experimented with different RoundBlockSizeModes which did not change this effect. I also tried different enviroments (e.g. PHP 7.3 vs PHP 8) with no change to this behaviour.
v3.9.7
$data = "AAAABBBBCCCCDDDD";

$qrCode = new QrCode($data);
$qrCode->setSize(300);
$qrCode->setMargin(0);
$qrCode->setEncoding('UTF-8');
$qrCode->setWriterByName('png');

$qrCode->writeFile(__DIR__.'/qrcode.png');

v4.3.5
$data = "AAAABBBBCCCCDDDD";

$result = Builder::create()
    ->data($data)
    ->size(300)
    ->margin(0)
    ->encoding(new Encoding('UTF-8'))
    ->writer(new PngWriter())
    ->build();

$result->saveToFile(__DIR__.'/qrcode.png');

The blurry effect can also be seen in this comment here – so it does not only happen to me:
https://github.com/endroid/qr-code/issues/348#issuecomment-920734030

Hi @sprain thank you. This should be fixed in 4.4.3.

Awesome! Thank you!
I did try to fix it but could not find the issue. Very glad you did 😊


multi: stratum improvements.

This extends client read/write timeouts, mining.subscribe response handling and other stratum related improvements.

Deployed to https://pool.jholdstock.uk/
Successfully mining blocks, but still seeing a lot of errors on the pool log:
2021-02-10 10:12:34.351 [ERR] POOL: submitted work from d99f78a0/cpu is not less than the network target difficulty
2021-02-10 10:25:12.450 [ERR] POOL: submitted work from d99f78a0/cpu is not less than the network target difficulty
2021-02-10 10:26:33.480 [ERR] POOL: submitted work from d99f78a0/cpu is not less than the network target difficulty
2021-02-10 10:31:27.851 [ERR] POOL: submitted work from d99f78a0/cpu is not less than the network target difficulty
2021-02-10 10:31:34.448 [ERR] POOL: submitted work from d99f78a0/cpu is not less than the network target difficulty
2021-02-10 10:31:41.004 [ERR] POOL: submitted work from d99f78a0/cpu is not less than the network target difficulty
2021-02-10 10:31:47.273 [ERR] POOL: submitted work from d99f78a0/cpu is not less than the network target difficulty
2021-02-10 10:32:11.731 [INF] POOL: Mined work 0000000ce28b245f67ae1103ec8619fce82b41a623d697e4e2689924557e29cb confirmed by connected block #618036


Added krb dlrn reporting support

In order to reporting zuul job status using DLRN kerberous auth, We need to do kinit with proper keytab and realm before calling dlrnapi-client.
This pr adds the same.
As a pull request owner and reviewers, I checked that:

[x] Appropriate testing is done and actually running

/approve

/lgtm

/approve
/lgtm

recheck


Routing issues

The docs currently pulls its stylesheet by getting the {{ site.baseurl }} variable from here. This of course translates to something like /NineSevenThree/css/docs.css, which would be fine and all except it doesn't exists.
Personally I'm not sure why you need a base-url there anyway but I'm not really sure where you're going with this so I can't open a pull request.

Not sure if I got your question right, but I was sort-of experimenting with the build system used here.
For the baseurl routing, I grabbed this method from here on how to structure URLs for GitHub Pages.
On a normal jekyll or grunt publish task, it will load here it pulls the .scss files out of the docs directory and builds it into a Jekyll server, or in case on a grunt publish task, it will push the generated files to he gh-pages branch.
This, of course, will lead to some problems, specifically when if I want to host the pages the way it should be, without pushing the pages files through grunt. I'm currently just experimenting on build systems and see if something sticks.


Podspec still configures to Swift 3.0 instead of 4.0 for Kingfisher 4.0.0

Check List
Thanks for considering to open an issue. Before you submit your issue, please confirm these boxes are checked.

[ ] I have read the wiki page and cheat sheet, but there is no information I need.
[ ] I have searched in existing issues, but did find a same one.
[ ] I want to reoprt a problem instead of asking a question. It'd better to use kingfisher tag in Stack Overflow to ask a question.

Issue Description
Podspec version configuration
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '3.0' }
instead of
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '4.0' }
What
Cocoapods compiles framework with wrong version of Swift
Reproduce
Just check the podspec again :)

Oops, you are right on this. I will give it an update now.

https://github.com/onevcat/Kingfisher/releases/tag/4.0.1


Added Picture Puzzle Game

A simple drag-and-drop picture puzzle game made using HTML,CSS and JavaScript.
Fixes:  #536

[x] New feature (non-breaking change which adds functionality)

[x] This change requires a documentation update

Checklist:

[x] I have taken help from some online resourses

[x] My code follows the style guidelines of this project

[x] I have performed a self-review of my own code

[x] I have commented my code, particularly in hard-to-understand areas

[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

https://deploy-preview-547--amazing-js-projects.netlify.app/picture puzzle game/finding nemo picture puzzle/

Ok @VidhiBhatt01 . Will make the requested changes as soon as possible.

@VidhiBhatt01 This was the maximum level of responsiveness I could achieve. So, is it good to go?
For Phone screens

On Laptop Screen

Finally done all the changes and added link to the json file.

Is it good to go @VidhiBhatt01 ?


Option to set the starting dimension.

Is your feature request related to a problem? Please describe.
I'm building a skyblock pack based in the Nether, however only the Overworld is available as a starting dimension.
This would also be useful for other pack-builders who want to design a modded dimension challenge, or gate the Overworld through a skyblock stage.
Describe the solution you'd like
A config option to control the starting dimension;
Starting Dimension ID = -1 would generate the skyblock island structure in the Nether, and sets the player's respawn (and return from End) locations to match.
Describe alternatives you've considered
Digging through Curseforge, there seems to be nothing suitable for MC 1.16.5 (Forge install) that'll drop player into the Nether- if the Fabric one were ported over I'm not sure how it'll interact with the Skyblock Builder.
An Overworld start with a pre-built Nether portal also runs into difficulties since Nether side will generate as a floating portal frame, and players could easily skip the challenge by portalling out.
My reason for using the Nether is the water mechanics, and currently there are no mods which bring the Nether water mechanic to the Overworld.

I think if this is done, no numerical ids should be used as dimensions also have textual ids (e.g. minecraft:the_nether).

Sounds interesting. I’ll look into it. And as noeppi said: it wouldn’t be with numerical ids but with textual ids.


Merge with chaste-codegen

Summary
Merge chaste-codegen-sbml into one package with chaste-codegen.
Advantages include:

Simpler to install during configuration step in Chaste builds.
Easier to synched dependency versions between the two packages  e.g. Jinja.
Good timing to create a structure which we can later extend to add support for generating Chaste code from other formats.

Disadvantages include:

Chaste-codegen is already published and in use so changes should minimize impact on current users and existing references.

The following structure has been proposed (by @fcooper8472):
chaste-codegen (new super-package)
|
|---chaste-codegen-cellml (current chaste-codegen)
|
\---chaste-codegen-sbml


UserStatistics is missing alot of propeties

https://osu.ppy.sh/docs/index.html#userstatistics

count_100 | integer |
count_300 | integer |
count_50 | integer |
count_miss | integer

For Example is missing.

Added missing properties in latest release.


Mr report review

This code functions very similarly to the code for the review helpfulness functionality there is probably some room to dry it up because the functionality is so similar.
However this code allows the user to report a review which notifies the API and then re-renders the component so that the reported review is no longer there.
Trello Ticket
FUNctionality

 Report Review Functionality


install.sh problems

install.sh line 45 :
cd ~/tools/ && wget https://github.com/projectdiscovery/httpx/releases/download/v1.0.6/httpx_1.0.6_linux_386.tar.gz && tar -xvf httpx_1.0.3_linux_386.tar.gz && mv httpx /usr/bin/
Should be
cd ~/tools/ && wget https://github.com/projectdiscovery/httpx/releases/download/v1.0.6/httpx_1.0.6_linux_386.tar.gz && tar -xvf httpx_1.0.6_linux_386.tar.gz && mv httpx /usr/bin/

Hii @mcharron,
Thanks for raising this issue. I was forget to change the file name. Will fix it in next commit.
Thanks,
Eshan Singh


Vertical scaling

The current documentation does not explain clearly how to achieve vertical scaling. From what I understand so far, prisma v1 with docker deployment only runs one worker process effectively utilizing only one CPU core / thread. This is also mention here (https://github.com/prisma/prisma1/issues/2850) and it appears that instead of increasing the number of parallel workers (if that is at all possible) one must configure a cluster and use a PubSub mechanism to allow for worker nodes synchronization.
However, there is very little information on how to setup such cluster. It seems that one should use a different docker image (prisma-prod instead of prisma), though not sure if that is still true. You should also configure RabbitMQ connection for PubSub but my own attempts to try to do so have failed.
Could someone please share more information on how to configure scaling with prisma v1 and probably include that in documentation?
I could assist with a PR to documentation and make some sort of a guide with key points but first I need to figure it out myself.

@peterrogov Did you ever end up getting your scaling solution figured out? I'm attempting to do the RabbitMQ setup mentioned in this comment by @mavilein https://github.com/prisma/prisma1/issues/2850#issuecomment-409868271. I'm curious if anyone has been successful in doing this approach without having to move over to Prisma 2 or using Kubernetes instead, which seems to be what most people ended up doing.

@grimunit like many other people I ended up migrating to prisma 2 for this and other reasons. I never managed to setup cluster correctly though it's like I tried really hard.


Image icon on JavaScript editor on IE is not clear

Describe the bug
Image icon on JavaScript editor on IE is not clear
Steps to reproduce the behavior

Navigate to https://arcade.makecode.com/beta#editor
Find the "set mySprite to" in Sprites and drag it into the on start
Click "JavaScript" to switch to JavaScript editor and observe the image icon

Expected behavior(Chrome, Edge & Firefox)

Actual behavior(IE)
Image icon on JavaScript editor on IE is not clear

Desktop (please complete the following information)
OS: Windows
Machine build: 17763.1.amd64fre.rs5_release.180914-1434
arcade version: 0.3.6
Microsoft MakeCode version: 5.2.38
Additional info
This issue only repro on IE(11.195.17763.0)

IE11 support removed


feat(icons): First SVG coloring API idea

What does it do?
This is the first idea for what an SVG coloring API could look like using an svgr template.
An output may look like:
import * as React from 'react';
import styled from 'styled-components';

const SvgBoldWrapper = styled.div`
  ${({ theme, color }) => `
    color: ${theme.colors[color]};
  `};

  ${({ theme, colors }) => `
    ${Object.entries(colors).map(
      ([name, value], index) => `
      --var-color-${color.name}: ${theme.colors[value]};
    `,
    )}
  `};
`;

const SvgBoldComponent = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="1rem" height="1rem" fill="none" viewBox="0 0 24 24" {...props}>
    <path
      fill="#32324D"
      fillRule="evenodd"
      d="M7.4 1.2H4.2v21.6h3.2V1.2Zm11.6 6a6 6 0 0 1-1.5 4 6.4 6.4 0 0 1-3.8 11.6H7.4v-3.2h6.3c1.8 0 3.3-1.4 3.3-3.2 0-1.8-1.5-3.2-3.3-3.2H7.4V10H13a2.8 2.8 0 0 0 0-5.6H7.4V1.2H13a6 6 0 0 1 6 6Z"
      clipRule="evenodd"
    />
  </svg>
);

export default ({ colors, color, ...props }) => (
  <SvgBoldWrapper colors={colors}>
    <SvgBoldComponent {...props} />
  </SvgBoldWrapper>
);

Single color icons
Most icons use one color. We would have to remove the hard-coded colors and replace them with currentColor:
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
    <path d="...." fill="currentColor"/>
</svg>

Usage:
import { Icon } from '@strapi/icons'

function Component() {
  return (
    <Icon color="primary100">
  )
}

We'd still have to figure out how to change the color based on an interaction (e.g. :hover). I think we could allow passing in currentColor so that the Icon always uses the color of the context (e.g. the button text color).
Multi color icons
For icons using multiple colors we could use a similar approach with named colors using CSS custom properties in the background:
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
    <style>
     #logoRocket {
       // using a custom property with a fallback value
       fill: var(--color-logo-rocket, red);
     }
    </style>

    <path id="logoRocket" d="...." />
</svg>

Usage:
import { Icon } from '@strapi/icons'

function Component() {
  return (
    <Icon colors={{ 'logo-rocket': 'primary100' }}>
  )
}

Why is it needed?
Explore paths to remove default colors from SVGs.

Cool start! I think single colour icons are pretty straight forward, we set currentColor and strongly advise people use that because you're right :hover becomes complicated! I see why you want to add the theme colors to the SVG components and while the single colour icons don't require it because they'd use currentColor it would be harder to distinguish between the two in formatting, although a wrapper seems a bit over-engineered, imo i would just wrap them all in a styled function and do it that way, less dom nesting.
My main question comes around more than one colour icon – why do we need to control the colours in these scenarios? Do we have an audit? It feels like we're creating a solution to a problem we shouldn't have, if they're only available in one style then maybe it's about highlighting this?

imo i would just wrap them all in a styled function and do it that way, less dom nesting.

Yeah I can explore if that is possible using a template.

My main question comes around more than one colour icon – why do we need to control the colours in these scenarios?

I think we do. If you search for svg in all *.js files of the CMS you will find about 400 styled overwrites which are all more or less like:
const FieldContainer = styled(Flex)`
  border: 1px solid
    ${({ theme, isSibling }) => (isSibling ? theme.colors.neutral150 : theme.colors.primary200)};

  svg {
    width: ${10 / 16}rem;
    height: ${10 / 16}rem;

    path {
      fill: ${({ theme, isSibling }) => (isSibling ? undefined : theme.colors.primary600)};
    }
  }
`;

By using an explicit color prop we are consistent with the rest of the design-system. currentColor is a sensible default for most instances, but if needed (e.g. for the isSibling example above) developers have full control.
The other benefit I see in wrapping svg in a styled component would be that we can get rid of all these dimension overwrites and just use width / height attributes like for any other component.

I think there was some confusion with this line:

My main question comes around more than one colour icon – why do we need to control the colours in these scenarios?

i meant with an icon that has more than one color like your example:
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
    <style>
     #logoRocket {
       // using a custom property with a fallback value
       fill: var(--color-logo-rocket, red);
     }
    </style>

    <path id="logoRocket" d="...." />
</svg>

Why do we need to control all the colours? I'd assume these are "complex" icons and are specific to their design as opposed to needing to blend into the ui? 🤔

I think there was some confusion with this line:

Ah I see. I agree - I think we can ignore that for now and see this PR as exploration on whether this would be possible. 👍🏼
Do you have any other ideas that we could explore? Otherwise I'd share this idea in the DS Slack channel, see if anyone else has feedback and if there aren't any objections make the implementation a task for the DS@v2 epic.

No I think it's a very straight forward solution – ensure the inputs are good quality, ensure the output is currentColor and we can pass theme color names to change said color 😎


Doesn't work on PWA WEB

Hello, the pinput library works on android correctly, but it doesn't work on mobile browser(it doesn't read opt from sms and fill the field), please help me.

Hi, what exactly isn't working?

In pwa mode on the mobile phone (android) when the OTP is received by SMS, the received code is not placed in the box.

That's an expected behavior. The SMS retriever API only works in compiled Android app.

i checked in 2 modes: smsUserConsentApi, smsRetrieverApi , noth of them are same.

so in pub.dev, you told support WEB

Sorry, forgot to mention, none of these APIs are working on the Web. If you send supposed SMS format the code will pop up on the keyboard.
The supported SMS formats aren't clear, but it seems to work in English most of the time.
For example:
Code 466345

thanks man, Even the received code is not placed at the top of the keyboard.

Hmm, Just checked and it's not working on Android Web. But it has to be working out of the box with TextField if you pass
autofillHints: [AutofillHints.oneTimeCode],
https://api.flutter.dev/flutter/material/TextField/autofillHints.html
https://api.flutter.dev/flutter/services/AutofillHints/oneTimeCode-constant.html

Since there has been no response or follow-up, I am closing this issue for now. If you still encounter the problem or need further assistance, feel free to reopen the issue or create a new one. Thank you!


rework debugprint to ts

@cnishina , could you take a look at this PR, please

Reference #5061

@cnishina any updates?

Hmmm I guess not. Awesome!


v0.16.1

fix: program help message bug

Coverage increased (+1.3%) to 68.351% when pulling bcd444858df632f78beb0a12912fc29700ca57ab on dev into 7d91db0a1912a133e9d7c1713ee6b98bf0e4d9e2 on master.


Allow specifying subdirectory for Swift package

My use case involves having a Swift package in a repo that contains a lot of code in other languages as well, so instead of my Package.swift file being located at the root where the extension expects, it's located somewhere more like packages/swift-package/Package.swift.
It'd be nice for the extension to have an option for this. Something like "swift.workingDirectories": ["packages/swift-package"] would work well, and allow for specifying multiple Swift packages to instantiate language servers for. Not sure if the extension is set up to handle multiple packages like that very easily, but this is what the ESLint extension does, for example.

We support multiple directories containing different packages as of 0.2.0, are you experiencing this issue with that version? @adam-fowler this should work right?

We don't support the Package.swift in a sub-directory at the moment. What we support is workspaces with multiple folders. If you add your swift package folder to the workspace using the menu item File -> Add Folder to Workspace then it'll work.
Out of interest are there other language extensions that allow for a manifest file in a sub-folder

@aslilac This could get complex when multiple Package.swift files are found.

Not sure how you'd find multiple? You only step up until you see the closest one, and then stop (which is exactly what TS IntelliSense and rust-analyzer do)

That'll require some changes but should be doable

@aslilac I have a PR #137 for supporting loading of swift projects in sub-folders. It would be great if you could test it out. If you could build a version of the extension from the associated branch and run it to check if it works for you. There are details on building the extension to be found here

Awesome! I'll check it out tonight!

Awesome! I'll check it out tonight!

Did you manage to check it out? The changes are now on main with some additional fixes that were required.


fix(storybook): add the Toast story back

Jira Ticket
https://kajabi.atlassian.net/browse/DSS-201
Description
Adds the Toast story back.

@ju-Skinner This is working fantastic on the Canvas tab, but the Docs tab always displays the same toast when I'm switching from default to the link variant from in the sidebar.
That may be expected and not a major blocker. Let me know either way I'm happy to give the 👍🏼

It should have both stories, one at the top "default" and another below the properties "with link". This would be similar to Drop-down. I'll take a look in the morning.

@monkeypox8 fixed in this commit


Wifi connection got worse after switching from v4.0.1 to v4.0.2 (IDFGH-4557)

Environment

Development Kit:      none
Module or chip used:  ESP32-WROOM-32
IDF version (run git describe --tags to find it):
v4.0.1 and v4.0.2
Build System:         idf.py
Compiler version (run xtensa-esp32-elf-gcc --version to find it):
xtensa-esp32-elf-gcc (crosstool-NG esp-2019r2) 8.2.0 (v4.0.1)
xtensa-esp32-elf-gcc (crosstool-NG esp-2020r3) 8.4.0 (v4.0.2)
Operating System:     macOS
Using an IDE?: No (Sublime 3)
Power Supply:         USB (iPhone charger)

Problem Description
I have a custom board with ESP32-WROOM-32 module that is powered by LiPo or USB. For this test I powered it with USB.
The code currently do following:

reads the Si7021 temperature sensor
connects to wifi
connect MQTT over TCP
sent the temperature, humidity and last online time
disconnects MQTT and Wifi
get online time with esp_timer_get_time() and save it in last online time
go to deep sleep for 30 seconds.

I build the project with idf.py. Following configuration values are changed from standard values:
CONFIG_PARTITION_TABLE_TWO_OTA=y
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
CONFIG_ESPTOOLPY_FLASHSIZE="4MB"
CONFIG_COMPILER_OPTIMIZATION_LEVEL_RELEASE=y
CONFIG_OPTIMIZATION_LEVEL_RELEASE=y
CONFIG_ESP32_DEBUG_OCDAWARE=n
CONFIG_ESP32_DEBUG_STUBS_ENABLE=n
CONFIG_LWIP_DHCP_RESTORE_LAST_IP=y
CONFIG_LWIP_DHCP_DOES_ARP_CHECK=n

Furthermore the console logging is disabled completely to save time.
With version v4.0.1 I get very constant online times of around 400ms. After upgrading to v4.0.2 this time goes up to a few seconds every few connections. I visualized it in a graph comparing the two versions:

There are also very few spikes with V4.0.1 but not as much as with v4.0.2.
Accesspoint is Unifi AP-AC-LR but the ESP32 is in the same room. Encryption is WPA2.
Expected Behavior
Wifi stability should be the same as with v4.0.1
Actual Behavior
Longer wifi times

I created a minimal example to reproduce it. You can find it at https://github.com/scyomantion/sensor-test
Simply checkout idf version v4.0.1 or v4.0.2, change wifi settings, mqtt address and build the example.
There are 7 timers in this example
1: after initialize nvs
2: after wifi connect
3: after mqtt connect
4: after subscribed
5: after published message
6: after mqtt block
7: after disconnect mqtt + wifi

this is the result I get with v4.0.1

this is the result with v4.0.2

or side by side:

I created a minimal example to reproduce it. You can find it at https://github.com/scyomantion/sensor-test
Simply checkout idf version v4.0.1 or v4.0.2, change wifi settings, mqtt address and build the example.
There are 7 timers in this example
1: after initialize nvs
2: after wifi connect
3: after mqtt connect
4: after subscribed
5: after published message
6: after mqtt block
7: after disconnect mqtt + wifi

this is the result I get with v4.0.1

this is the result with v4.0.2

or side by side:

Thanks for reporting and sorry for the inconvenience, we will look into.

Thanks for reporting and sorry for the inconvenience, we will look into.

I also tried master branch yesterday and it seems to be the same.

I also tried master branch yesterday and it seems to be the same.

Hi @scyomantion, we have found the cause, it's the problem from the router's AMPDU strategy, the packet may be blocked in the wifi layer when the quantity is few which matches your scenario. I suggest you turn off AMPDU (menuconfig->component config-> wi-fi -> wifi AMPDU TX/RX) and this problem should be solved.

Hi @YouDONG-ESP , I tested to disable the AMPDU setting and it seems that the problem is solved. Thank you very much!


Affect instead effect

Not big deal. Just a confusion with the word affect and effect in the first paragraph at the beginning of the page.
[Enter feedback here]

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

ID: c4dcb4da-bdb8-853d-678a-9c5130921ecb
Version Independent ID: 1dbe0544-77c2-c70f-8406-2bca85e914e8
Content: Passing Value-Type Parameters - C# Programming Guide
Content Source: docs/csharp/programming-guide/classes-and-structs/passing-value-type-parameters.md
Product: dotnet-csharp
Technology: csharp-fundamentals
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Do you want to submit a Pull Request to make the change? If you do and don't know how, you can follow this guide.

Ok, I will try. I am a beginner, I just joined GitHub recently, but I will see if I can do it. I first will read the guide below.
Thanks for your suggestion!!
Alex Zazueta.

From: Petr Onderka<EMAIL_ADDRESS>Sent: Monday, May 25, 2020 3:33 AM
To: dotnet/docs<EMAIL_ADDRESS>Cc: Alejandro Zazueta<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [dotnet/docs] Affect instead effect (#18618)
Do you want to submit a Pull Request to make the change? If you do and don't know how, you can follow this guidehttps://docs.microsoft.com/en-us/contribute/#quick-edits-to-existing-documents.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/dotnet/docs/issues/18618#issuecomment-633451455, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APR3JTHX6UQKLUVCVCSGLSLRTIUMRANCNFSM4NJF6LRA.

Closed by #18626


Track ATC Sessions (Old 210)

In gitlab by @A-Lawrence on Aug 31, 2015, 01:07
Track ATC sessions using the data feed.
Each controller session to be stored as a new record.  Single table only.

In gitlab by @A-Lawrence on Aug 31, 2015, 01:07
mentioned in issue #48

In gitlab by @A-Lawrence on Aug 31, 2015, 01:12
mentioned in issue #48

In gitlab by @A-Lawrence on Dec 20, 2015, 18:49
Duplicate of the issue #309


About the time used for training and inference

Hi I am quite interesting in this work and this is an absolutely great project.
I have questions about the running efficiency and training time for CLIT since you used attention structure in the pipeline, which seems quite time-comsuming. So how much time do you spend in training and what about the inference time for the model?
Thanks a lot and wish you a nice week.

Hi, thank you for your interest in our work.
As you say, attention structure is quite time-consuming due to the huge amount of operations.
Following training time statistics are provided with applying our setting. Unfortunately, the inference time is unstable results from the irregularly slowing down of our machines, so I cannot measure accurate inference time, instead, I could only give you an approximate range like 4-12 seconds per image.
Training time:

EDSR-Baseline:

Stage 1 LIT: Avg. 2.4 minutes per epoch
Stage 2 CLIT: Avg. 4.0 minutes per epoch
Stage 3 CLIT: Avg. 4.3 minutes per epoch

RDN:

Stage 1 LIT: Avg. 6.8 minutes per epoch
Stage 2 CLIT: Avg. 8.1 minutes per epoch
Stage 3 CLIT: Avg. 8.8 minutes per epoch

SwinIR:

Stage 1 LIT: Avg. 9.2 minutes per epoch
Stage 2 CLIT: Avg. 11.0 minutes per epoch
Stage 3 CLIT: Avg. 13.0 minutes per epoch

Thanks a lot for the reply! This is quite helpful for me.

Hi I am quite interesting in this work and this is an absolutely great project. I have questions about the running efficiency and training time for CLIT since you used attention structure in the pipeline, which seems quite time-comsuming. So how much time do you spend in training and what about the inference time for the model? Thanks a lot and wish you a nice week.

Hi, thank you for your interest in our work.
As you say, attention structure is quite time-consuming due to the huge amount of operations.
Following training time statistics are provided with applying our setting. Unfortunately, the inference time is unstable results from the irregularly slowing down of our machines, so I cannot measure accurate inference time, instead, I could only give you an approximate range like 4-12 seconds per image.
Training time:

EDSR-Baseline:

Stage 1 LIT: Avg. 2.4 minutes per epoch
Stage 2 CLIT: Avg. 4.0 minutes per epoch
Stage 3 CLIT: Avg. 4.3 minutes per epoch

RDN:

Stage 1 LIT: Avg. 6.8 minutes per epoch
Stage 2 CLIT: Avg. 8.1 minutes per epoch
Stage 3 CLIT: Avg. 8.8 minutes per epoch

SwinIR:

Stage 1 LIT: Avg. 9.2 minutes per epoch
Stage 2 CLIT: Avg. 11.0 minutes per epoch
Stage 3 CLIT: Avg. 13.0 minutes per epoch

Thanks for author yours really nice work, I am also highly interesting in it! A further question to previous and nice your reply. Are these statistics platform independent? (I believe on A100 or on RTX4090, there would be different on training and predicting time) Which and how many NVIDIA card did you used for these measurement?  Thank you!


Feature request: Support for hosting service under a custom URL path

This is mainly towards the Nextcloud dockerfile:
Instead of assuming nextcloud is always served under foobar.com/, it would be great to let user specify a custom path at run time, e.g.
foobar.com/nextcloud/ OR foobar.com/custom-path/nextcloud/

We use nginx-proxy to have the nextcloud running under a custom subdomain, and have the Let's encrypt certificates automatically being signed: https://github.com/jwilder/nginx-proxy
Would that help?

My intention is security through obscurity, where a secret /custom-path/ is going to reducing a lot of login attempts from bots and whatnot.
An analogy would be running sshd on port other than 22.
Thanks for pointing out the nginx-proxy repo. Currently I'm ok with deploying the nginx reverse proxy manually.


Use the latest prep template

:cry: :sob:

@squirrelo ping!

Coverage remained the same when pulling b1aaa743db0084265d35a931a97b5d1cac63779d on squirrelo:fix-pre-template into bd692713a749cdd641d091b21aeeb1f4b3292330 on biocore:master.


importing imagesLoaded and other modules that required browser environment

Hey!
I've been building on top of your app my own app for quite a while — and now I want to add imagesLoaded to it. The problem is that the code is executed two times, the first time on server — where there is no browser environment and window is obviously undefined — so imagesloaded throws an error during import like this "ReferenceError: window is not defined".
How can we an approach it in the isomorphic app? I see how css is included via webpack loader – could be there some way to do the same with browser-only JS?

@opportunato just wrap your imagesLoaded code in a :
if (process.env.BROWSER) {
    ... your code here
}

Cool, thanks!


compose timeout

After running npx ... and npm install && npm start, I got this:
Error logs

ERROR: for deps_eth-client_1  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for deps_vault_1  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for deps_redis_1  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for eth-client  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for vault  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for redis  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60).

needed permissions from Mac for docker to access my file system


can we cross compile UUID for qnx?

can we cross compile UUID for qnx?

I'm not familiar with qnx, and I don't understand what you mean by "cross compile UUID." Can you elaborate on your question?
Thanks!


Adding short description to those projects?

@ChrisLinn Do you think it's a better idea?

go for it!

Done 3afe665


API errors, Uncaught TypeError: Cannot read property 'jobs' of undefined

The gapi.client does not work as expected in Chrome. I get the following Error about the gapi.client. Is this a bug or an update to a newer API version/endpoint?
let request = gapi.client.bigquery.jobs.query({
https://github.com/googlecodelabs/bigquery-maps-api/blob/b20f46b5507d5451a021db55713a4ec5948d10d4/step8/map.html#L100

Decided to call gapi.auth.authorize in a function by function basis for each input query and made the trick.
gapi.auth.authorize(config, function() {
polygonQuery(queryPolygon);
});


10465 Add index on lastVersionId in resources

Shippable/pm#10465
Add an index on lastVersionId in the resources table.

Verified in RC.


update tag Name for list of repos

what
fix tag Name for the list of repos so every repo will have it own tag Name that will be equal to name of repo
why
because right now there is only one tag Name for all list of repos

@dmitriy-lukyanchikov friendly ping on this one. Can you update to @korenyoni's suggestion?

probably i will close this ticket for now there is too much to test for me right now if you want to change it on your own feel free


Add fixedHeight prop to prevent text re-layout during animation

Fixes #362. Also avoids regressing the bug fixed in #197, since the behavior is opt-in via optional prop.

Without fixedHeight
With fixedHeight

@ntodd Anything further needed to merge this?

@brettdh Looks good to me, thanks.

This would be very useful for an app I'm working on, will this be merged soon?


IFD error while deploying from x86_64 to arm64 with  --build-on-target

Hi,
I got some IFD issue while deploying with colmena from my local machine (x86_64) to an arm64 based server.
A friend of mine helped me to get this sorted, and since I'm actually still don't understand what she did, it works now.
But because of that I'm not comfortable to file a PR.
The changes she suggested are the following:
https://github.com/nix-community/authentik-nix/compare/main...shokinn:authentik-nix:main
I kindly like to ask to add those to your repo as well.

Hey, thanks for pointing that out. I'm currently not working with the limitation of allow-import-from-derivation = false, so I did not notice that I introduced it, but I think it should be avoided if possible.
Not sure how that additional cargo-hash avoids IFD but the patched pyproject.toml is obvious.

Fixed in https://github.com/nix-community/poetry2nix/pull/1525.


Issue 105: Build iframe to prevent intermittent Youtube iframe error

Fix #
🔗 Test URLs:

Before: https://main--caesars-careers--hlxsites.hlx.page/careers/drafts/mathern/youtube
After: https://issue-105--caesars-careers--hlxsites.hlx.page/careers/drafts/mathern/youtube

📝 Description:

Build custom iframe to hold youtube video player

https://github.com/hlxsites/caesars-careers/pull/107


[Conversion] add a pass to convert triton to tritongpu with blocked layout annotation

convert triton to tritongpu with warp distribute annotation according to the workload pattern

First round of code review comments.

thanks Ettore, I'll clean up the following issues.

Is it possible to have the conversion in third_party/intel?

let me check

@Dewei-Wang-sh what about this code review comment (https://github.com/intel/intel-xpu-backend-for-triton/pull/677#pullrequestreview-1947580175). Will you address it in a separate PR given the current one has been merged ?


5irechain Testnet AA95: BundlerOutOfGasError

What is happening?
I am trying to do a simple sponsored txn using paymaster which has enough funds. On 5irechain testnet non-sponsored txn works but in case of sponsored txn, it throws "Error: BundlerOutOfGasError aa95".
What is supposed to happen?
The txn should go through easily and the paymaster should sponsor the txn.
Additional notes, observations or screenshots
There is nothing wrong in the code as the same code works for different chains. I think the issue could be because of the rpc url that we are using in our bundler, which maybe outdated. The 5irechain team have shifted to a new rpc url for testnet "https://rpc.testnet.5ire.network".
The ERROR SS

Not related to the RPC URL.
I'll try to reproduce and debug using a local bundler instance.


Mixin

We have a mixin
@mixin compact-on-touch-only($touch-selector, $compact-size, $compact-selector) {
    @if $compact-size != null {
        @if $touch-selector != null {
            // on phone/tablet use the compact header if compact size or less
            @media only screen and (max-width: $compact-size) {
                #{$touch-selector} & {
                    @content
                }
            }
        } @else {
            // if no touch selector compact header is used regardless of device based on browser width
            @media only screen and (max-width: $compact-size) {
                @content;
            }
        }
    }

    @if $compact-selector != null {
        #{$compact-selector} & {            <<<<<< the & should be substituted at all times
            @content;
        }
    }
}

When use the mixin outside a selector the & isn't replaced. In previous versions it was removed. It seems to me that removing it when used outside a rule is the correct behavior.
@include compact-on-touch-only($headerfooter-touch-selector, $headerfooter-compact-size, $headerfooter-compact-selector) {
    .sg-menu {
        @extend %sg-menu-mobile;
        @extend %sg-menu-phone;
        @extend %sg-menu-animate;
    }
}

A couple things.
Always provide a working copy-pastable snippet of code. We don't want to spend out time trying to figure out how your code should work.
You code is simply invalid Sass. This will not compile on Ruby Sass, and hence will not compile on Node Sass. You appear to misunderstand who how & works. The error is correct.

In previous versions it was removed

This was a bug, that has since been fixed.

Strange design, oh well


Docker 部署似乎不支持流式响应

Docker 部署似乎不支持流式响应，我使用的是Yidadaa/ChatGPT-Next-Web

添加NGINX反代规则解决了
    # 不缓存，支持流式输出
    proxy_cache off;  # 关闭缓存
    proxy_buffering off;  # 关闭代理缓冲
    tcp_nopush on;  # 开启TCP NOPUSH选项，禁止Nagle算法
    tcp_nodelay on;  # 开启TCP NODELAY选项，禁止延迟ACK算法
    keepalive_timeout 300;  # 设定keep-alive超时时间为65秒

但是在发长文本出现下面这个错误：：
INFO:     <IP_ADDRESS>:40322 - "POST /v1/chat/completions?path=v1&path=chat&path=completions HTTP/1.1" 200 OK
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/anyio/streams/tls.py", line 130, in _call_sslobject_method
    result = func(*args)
  File "/usr/local/lib/python3.9/ssl.py", line 889, in read
    v = self._sslobj.read(len)
ssl.SSLWantReadError: The operation did not complete (read) (_ssl.c:2633)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/httpcore/backends/asyncio.py", line 34, in read
    return await self._stream.receive(max_bytes=max_bytes)
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/anyio/streams/tls.py", line 195, in receive
    data = await self._call_sslobject_method(self._ssl_object.read, max_bytes)
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/anyio/streams/tls.py", line 137, in _call_sslobject_method
    data = await self.transport_stream.receive()
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 1265, in receive
    await self._protocol.read_event.wait()
  File "/usr/local/lib/python3.9/asyncio/locks.py", line 226, in wait
    await fut
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/httpcore/_exceptions.py", line 10, in map_exceptions
    yield
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/httpcore/backends/asyncio.py", line 36, in read
    return b""
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/anyio/_core/_tasks.py", line 118, in __exit__
    raise TimeoutError
TimeoutError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/httpx/_transports/default.py", line 60, in map_httpcore_exceptions
    yield
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/httpx/_transports/default.py", line 353, in handle_async_request
    resp = await self._pool.handle_async_request(req)
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/httpcore/_async/connection_pool.py", line 253, in handle_async_request
    raise exc
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/httpcore/_async/connection_pool.py", line 237, in handle_async_request
    response = await connection.handle_async_request(request)
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/httpcore/_async/connection.py", line 90, in handle_async_request
    return await self._connection.handle_async_request(request)
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/httpcore/_async/http11.py", line 116, in handle_async_request
    raise exc
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/httpcore/_async/http11.py", line 95, in handle_async_request
    ) = await self._receive_response_headers(**kwargs)
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/httpcore/_async/http11.py", line 159, in _receive_response_headers
    event = await self._receive_event(timeout=timeout)
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/httpcore/_async/http11.py", line 195, in _receive_event
    data = await self._network_stream.read(
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/httpcore/backends/asyncio.py", line 36, in read
    return b""
  File "/usr/local/lib/python3.9/contextlib.py", line 137, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
    raise to_exc(exc)
httpcore.ReadTimeout

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/uvicorn/protocols/http/h11_impl.py", line 428, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__
    return await self.app(scope, receive, send)
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/fastapi/applications.py", line 276, in __call__
    await super().__call__(scope, receive, send)
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/starlette/applications.py", line 122, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/starlette/middleware/errors.py", line 184, in __call__
    raise exc
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/starlette/middleware/errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/starlette/middleware/cors.py", line 84, in __call__
    await self.app(scope, receive, send)
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
    raise exc
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__
    raise e
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
    await self.app(scope, receive, send)
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/starlette/routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/starlette/routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/starlette/routing.py", line 69, in app
    await response(scope, receive, send)
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/starlette/responses.py", line 277, in __call__
    await wrap(partial(self.listen_for_disconnect, receive))
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 662, in __aexit__
    raise exceptions[0]
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/starlette/responses.py", line 273, in wrap
    await func()
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/starlette/responses.py", line 262, in stream_response
    async for chunk in self.body_iterator:
  File "/app/claude_to_chatgpt/app.py", line 39, in generate
    async for response in adapter.chat(request):
  File "/app/claude_to_chatgpt/adapter.py", line 150, in chat
    async with client.stream(
  File "/usr/local/lib/python3.9/contextlib.py", line 181, in __aenter__
    return await self.gen.__anext__()
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/httpx/_client.py", line 1573, in stream
    response = await self.send(
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/httpx/_client.py", line 1617, in send
    response = await self._send_handling_auth(
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/httpx/_client.py", line 1645, in _send_handling_auth
    response = await self._send_handling_redirects(
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/httpx/_client.py", line 1682, in _send_handling_redirects
    response = await self._send_single_request(request)
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/httpx/_client.py", line 1719, in _send_single_request
    response = await transport.handle_async_request(request)
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/httpx/_transports/default.py", line 353, in handle_async_request
    resp = await self._pool.handle_async_request(req)
  File "/usr/local/lib/python3.9/contextlib.py", line 137, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/root/.cache/pypoetry/virtualenvs/claude-to-chatgpt-9TtSrW0h-py3.9/lib/python3.9/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions
    raise mapped_exc(message) from exc
httpx.ReadTimeout

我自己是用的 Docker 版本好像没出问题，请问你用的是自己编译的镜像吗，另外是否有其它反向代理和网络转发之类的，可以去掉这些层试一下

我觉得和此问题相关 https://github.com/jtsang4/claude-to-chatgpt/issues/11


chore: modify event publisher and test class

Added try-catch in sendEvent methods to fix the possible "ERROR [org.keycloak.services.error.KeycloakErrorHandler] (executor-thread-2) Uncaught server error: com.amazonaws.services.sns.model.AmazonSNSException: The security token included in the request is invalid. (Service: AmazonSNS; Status Code: 403; Error Code: InvalidClientTokenId; Request ID: 3ced6f11-b742-5f15-957e-335d2f5a9e59; Proxy: null)"

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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

GitHub release
v0.0.2

Your semantic-release bot :package::rocket:


Added two apis for adding and removing given ebpf programs

Signed-off-by: Atul<EMAIL_ADDRESS>

This  PR is for #57

It doesn’t  make any sense to test all the functions in this PR because they are eventually calling other functions which are already  tested.

when api payload files merged in l3af-arch repository  then docs link will work

I only have one pending unresolved issue above on this and will approve when that is fixed.  Please squash all the commits down to a single commit prior to merging, once everything is settled.


Super_resolution

Hi,
Thanks for sharing your work, which should be very helpful for many fields. I'm doing some research on super resolution. I would appreciate it if you could answer my questions. Firstly, can you tell me the purpose and difference of the files fourier_2d, fourier-2d_time,fourier_3d,fourier_3d_time,super_resolution and eval? Secondly, which is the code for the pre-trained model of super_resolution? Thirdly, what is the relevant parameter setting for pre-training? How are the parameters for generating training data and test data set?

fourier_2d: 2d -> 2d mapping, e.g. Darcy Flow
fourier-2d_time: 2d time sequence, e.g. Navier-Stokes
fourier_3d: 3d -> 3d mapping, e.g. Navier-Stokes, but take time as 3rd spatial dimension.
super_resolution and eval might be obsolete (based on the pytorch 1.6 version).
You can train a model with fourier_3d with low resolution dataset (NavierStokes_V1e-4_N20_T50_R256_test), and then evaluate it on higher resolution data (ns_data_V1e-4_N20_T50_R256test.mat).


Fix incorrect label tag

The value of the for attribute must match the id of the input tag

Hi,
looking at your PR, I realize the widget you modified is not used anymore... Can you tell me where (which page(s)) you encounter the behaviour you describe in your issue please ?

See here: https://github.com/tonioo/modoboa/issues/742
It occurs when there is multiple radio buttons, here is a screenshot: http://i.imgur.com/UvKSmDZ.png

Ok I see. Looks fine!


Tracking :show events

Is there a plan to support tracking non-lifecycle events?  For example, many regulatory requirements call for tracking access to records.  Currently, setting:
has_paper_trail :on => [:create, :update, :destroy, :show]
results in:
NoMethodError: undefined method `paper_trail_on_show' for Report (call 'Report.connection' to establish a connection):Class
Thanks.
-rg

Is there a plan to support tracking non-lifecycle events? For example, many regulatory requirements call for tracking access to records.

Currently, as you saw, PaperTrail only tracks writes to the database (insert, update, delete). PaperTrail is designed around a versions table in the database that records these writes. If we were to track reads from the database, it wouldn't make sense to do so in the versions table. So, tracking reads doesn't really fit PaperTrail's current design. I'm not opposed to the idea, but I think it would mean adding another table.  Tracking reads this way introduces a big performance penalty, so I'd want it to be off by default.
Second, I'm not sure how we'd implement this, as there are no AR callbacks for reading. (http://guides.rubyonrails.org/active_record_callbacks.html#available-callbacks) I suppose we could alias all methods related to reading, but that is hard to maintain because the AR API will change over time.
Finally, you mentioned "regulatory requirements", and you should be aware that tracking reads in ActiveRecord (or writes) is not guaranteed. PaperTrail, for example, tracks writes with AR callbacks, but it's possible to skip callbacks, or use raw SQL. If you have really strict requirements, you might want to explore tracking at a lower level, even as low as the database itself.

Makes sense, thx.
-rg


better setstatus for selfbots

This PR makes minor modifications to the ClientUser#setStatus function to make it function properly for user accounts (selfbots).
Previously using the generic endpoint, setting a status programmatically on a user account would not work most of the time, and it would never adjust it on the client settings.
By modifying the ClientUserSettings object, we can circumvent this issue.

Modifying statuses on a user account will work 100% of the time
Modifying statuses on a user account selfbot will reflect on the actual client

This PR accomplishes this by

Checking if the ClientUser is a bot
If it is a user, then use the ClientUser#settings.update('status', value) function to properly update the user status
If it is a bot, perform the presence update as per usual

I have made a GIF demonstrating this behavior

Semantic versioning classification:

[x] This PR changes the library's interface (methods or parameters added)

[ ] This PR includes breaking changes (methods removed or renamed, parameters moved or removed)

[ ] This PR only includes non-code changes, like changes to documentation, README, etc.

it should be
this.setPresence({ status });
if (!this.bot) this.settings.update(Constants.UserSettingsMap.status, status);

Doing that is redundant. I have done testing, and the status is globally set by just updating the settings object. This has been tested by viewing a client change from other accounts.
Considering that regular presence status sets don't work for user accounts, I see no point in making multiple calls for this.

that is quite interesting, and possibly a bug :3, but if it works /shrug

I don't think it's necessarily a bug, I just think that's how it is set up for user accounts.
Bot accounts function differently, as each presence is per-shard. However, since user accounts don't shard their statuses are stored in a different place; namely, the ClientUserSettings.
I think that it works on a priority basis. For example from my experimentation:

If you set yourself as invisible on your client, and then modify your status using presences, you will get the modified presence. This works for online, idle, and dnd
If you set yourself as dnd on your client, and then modify your status using presences, you will get the modified presence only for online and idle. If you set to invisible, you become dnd
If you set yourself as idle, and then modify your presence, you will only get the modified presence for online. dnd and invisible will become idle
If you set yourself as online, nothing you do will change that

Thus, changing via presences can only make it equal or higher to your ClientUserSettings status.

i only say it could be a bug because the official client dispatches a presence update when you use the ui, in addition to posting the change to user settings

Actually, upon further testing and in consideration with my writeup, I have discovered that the priority thing is indeed valid, so your suggestion was correct. If you set the presence to online and the settings to dnd, it will be online. My apologies.

After some thought and some practical experimentation, I have come to another conclusion regarding setting the presence and the user settings. Yes, both must be set, but consider how discord displays the highest status they should not be set to the same thing. The next commit will do the following:

Move the status code to the setPresence function rather than the setStatus. It just makes far more sense.
If it is a user account and status is provided in data, set the presence status to invisible.

The second change is to allow the user to be able to freely change their own status. Say, for instance, they use the setStatus function to set both their presence and user settings to  online.  Considering that for user accounts the user settings is the most likely thing to change, it makes far more sense to force the presence to be invisible and only adjust the user settings.
With this, a user will be able to set their status using either the ClientUser#setPresence or ClientUser#setStatus functions, and then freely change it manually as if nothing happened.

👍


Feature Request : Bookmark Line

I want you adding bookmark line feature. for easy to jump over from line to another bookmarked line. thanks.

This is my number one feature request. Please implement as a colored horizontal line, the full width of the line, not just a marker next to the line number. VSCode is the only code editor I'm aware of that doesn't have this feature.

This feature request will not be considered in the next 6-12 months roadmap and as such will be closed to keep the number of issues we have to maintain actionable. Thanks for understanding and happy coding!

That's OK, I've stopped using your awful IDE.
On Mon, Nov 20, 2017 at 8:31 AM, Peng Lyu<EMAIL_ADDRESS>wrote:

This feature request will not be considered in the next 6-12 months
roadmap https://github.com/Microsoft/vscode/wiki/Roadmap and as such
will be closed to keep the number of issues we have to maintain actionable.
Thanks for understanding and happy coding!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/31118#issuecomment-345749301,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdjSbRcHMRoH139tNbpn0JrHgIkcgWuSks5s4alIgaJpZM4Od3v1
.


Add implicit type to Dependency

As a first pass, this seems like all that is needed to add an implicit framework dependency. Are there any other edge cases we need to worry about?
I'll add some tests when I get a 👍
Fixes: #163

Nice! Have you tested it on your own project?

Yeah, tested in a workspace with 5 .xcodeproj (workspace and projects are all generated). Works in simulator and on device.

That could work. Just need to be explicit in the docs that it only applies to framework type.

Yeah, there are already some options that are only applied to certain types, or have different defaults. That reminds me, can you update ProjectSpec.md?
Maybe an implicit boolean? Thoughts anyone? As future work may impact this decision.

This is interesting, and perhaps adding transitive dependency logic could be useful.
Let's say I've got a project:
 name: SimpleProject
  targets:
   App:
     type: application
     dependencies:
      - target: Transitive
   Transitive:
     type: framework
     dependencies:
      - target: Simple
   Simple:
     type: framework
     platform: iOS
     dependencies:
       - implicit: Implicit.framework

We'd want to propagate all of the dependencies to the Application, so that they are all linked and or embedded. The App linker invocation would need -framework Transitive, -framework Simple, -framework Implicit, and the frameworks would need to be copied over.
The current way I'm achieving this is adding all transitive deps directly to top level targets, like Application, Extension, etc..
Here is what the required spec would be:
   App:
     type: application
     dependencies:
      - target: Transitive
      - target: Simple
      - implicit: Implicit.framework

Is this something that XcodeGen should handle internally, instead of doing it in the spec?
Based on #163 it seems like this may be related?

@jerrymarino good point. At the moment only carthage dependencies are automatically embedded in app targets even if they aren't defined in that target, but are in a dependent target. (this isn't the case for macOS targets anymore by the way as it hasn't been added back yet after the changes in #76 removed that)
This would be possible for other dependency types as well, but I just thought there would be too many edge cases and special build settings and build scripts that people might have to do this reliably for anything else.
Perhaps another one for ProjectSpec.options?

@jerrymarino the goal is to not have to do anything manually 😜
Regarding transitive dependencies, its an interesting one and something I have thought about. At Uber we use buck and do transitive dependency resolution manually (with the help of auditing that lets us know if we are missing a dependency in the BUCK file) I believe its a more sane approach to let the user know they are missing a dependency for a target, the other thing to consider is cyclic dependencies.
I'll take a look at both in another diff?


Update URL in README.md

Url for direct page link was not corrected. But now is Corrected
URL ✅

Url for direct page link was not corrected. But now is Corrected URL ✅

hmm let's check

Update URL in README is Approved  ✅


How to load TF1 .ckpt weights into keras model?

Click to expand!
Issue Type
Others
Source
binary
Tensorflow Version
1.14
Custom Code
Yes
OS Platform and Distribution
macOS Monterey 12.3.1
Mobile device
No response
Python version
3.7
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
The code below creates a TF1 model, saves weights as `.ckpt`, creates an identical keras model. The objective is to load the saved weights from TF1 somehow using `tf.keras.Model.load_weights()` or whatever works.

Standalone code to reproduce the issue
  import os
  import tempfile
  import uuid
  from pathlib import Path

  import tensorflow as tf
  from tensorflow.keras import Input, Model
  from tensorflow.keras.layers import Conv2D, MaxPooling2D

  def create_tf1_model(saver=None, tf1_weights=None):
      x0 = tf.placeholder(tf.float32, shape=[None, None, None, 3])
      x = tf.contrib.slim.conv2d(
          x0,
          32,
          (7, 7),
          stride=(2, 2),
          padding='same',
      )
      x = tf.contrib.slim.conv2d(
          x,
          64,
          (3, 3),
          stride=(1, 1),
      )
      x = tf.contrib.slim.max_pool2d(x, [3, 3], stride=2)
      if saver and tf1_weights:
          ckpt_state = tf.train.get_checkpoint_state(tf1_weights)
          model_path = os.path.join(
              tf1_weights, os.path.basename(ckpt_state.model_checkpoint_path)
          )
          saver.restore(sess, model_path)
      return x

  def create_keras_model():
      x0 = Input((None, None, 3))
      x = Conv2D(32, (7, 7), (2, 2), 'same')(x0)
      x = Conv2D(64, (3, 3))(x)
      x = MaxPooling2D((3, 3), (2, 2))(x)
      return Model(x0, x)

  if __name__ == '__main__':
      global_step = tf.get_variable(
          'global_step', [], initializer=tf.constant_initializer(0), trainable=False
      )
      variable_averages = tf.train.ExponentialMovingAverage(0.997, global_step)
      _saver = tf.train.Saver(variable_averages.variables_to_restore())
      sess = tf.Session(config=tf.ConfigProto(allow_soft_placement=True))
      sess.run(tf.global_variables_initializer())
      tmpdir = tempfile.mkdtemp()
      create_tf1_model()
      weights_path = Path(tmpdir) / f'{uuid.uuid4()}.ckpt'
      _saver.save(sess, weights_path.as_posix())
      create_tf1_model(_saver, weights_path.parent.as_posix())
      keras_model = create_keras_model()
      keras_model.load_weights(weights_path.as_posix())  # code fails here

Relevant log output
/Users/emadboctor/Desktop/ocr/eastenv/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint8 = np.dtype([("qint8", np.int8, 1)])
/Users/emadboctor/Desktop/ocr/eastenv/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/Users/emadboctor/Desktop/ocr/eastenv/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint16 = np.dtype([("qint16", np.int16, 1)])
/Users/emadboctor/Desktop/ocr/eastenv/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/Users/emadboctor/Desktop/ocr/eastenv/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint32 = np.dtype([("qint32", np.int32, 1)])
/Users/emadboctor/Desktop/ocr/eastenv/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  np_resource = np.dtype([("resource", np.ubyte, 1)])
/Users/emadboctor/Desktop/ocr/eastenv/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint8 = np.dtype([("qint8", np.int8, 1)])
/Users/emadboctor/Desktop/ocr/eastenv/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/Users/emadboctor/Desktop/ocr/eastenv/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint16 = np.dtype([("qint16", np.int16, 1)])
/Users/emadboctor/Desktop/ocr/eastenv/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/Users/emadboctor/Desktop/ocr/eastenv/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint32 = np.dtype([("qint32", np.int32, 1)])
/Users/emadboctor/Desktop/ocr/eastenv/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  np_resource = np.dtype([("resource", np.ubyte, 1)])
WARNING:tensorflow:From /Users/emadboctor/Library/Application Support/JetBrains/PyCharm2022.1/scratches/scratch_1.py:45: The name tf.get_variable is deprecated. Please use tf.compat.v1.get_variable instead.

WARNING:tensorflow:From /Users/emadboctor/Library/Application Support/JetBrains/PyCharm2022.1/scratches/scratch_1.py:49: The name tf.train.Saver is deprecated. Please use tf.compat.v1.train.Saver instead.

WARNING:tensorflow:From /Users/emadboctor/Library/Application Support/JetBrains/PyCharm2022.1/scratches/scratch_1.py:50: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.

WARNING:tensorflow:From /Users/emadboctor/Library/Application Support/JetBrains/PyCharm2022.1/scratches/scratch_1.py:50: The name tf.ConfigProto is deprecated. Please use tf.compat.v1.ConfigProto instead.

2022-04-27 08:21:58.963602: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
WARNING:tensorflow:From /Users/emadboctor/Library/Application Support/JetBrains/PyCharm2022.1/scratches/scratch_1.py:51: The name tf.global_variables_initializer is deprecated. Please use tf.compat.v1.global_variables_initializer instead.

WARNING:tensorflow:From /Users/emadboctor/Library/Application Support/JetBrains/PyCharm2022.1/scratches/scratch_1.py:12: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead.

WARNING:tensorflow:
The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:
  * https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md
  * https://github.com/tensorflow/addons
  * https://github.com/tensorflow/io (for I/O related ops)
If you depend on functionality not listed there, please file an issue.

WARNING:tensorflow:From /Users/emadboctor/Desktop/ocr/eastenv/lib/python3.7/site-packages/tensorflow/python/training/saver.py:1276: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file APIs to check for files with this prefix.
WARNING:tensorflow:From /Users/emadboctor/Desktop/ocr/eastenv/lib/python3.7/site-packages/tensorflow/python/ops/init_ops.py:1251: calling VarianceScaling.__init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.
Instructions for updating:
Call initializer instance with the dtype argument instead of passing it to the constructor
WARNING:tensorflow:From /Users/emadboctor/Desktop/ocr/eastenv/lib/python3.7/site-packages/tensorflow/python/training/tracking/util.py:1200: NameBasedSaverStatus.__init__ (from tensorflow.python.training.tracking.util) is deprecated and will be removed in a future version.
Instructions for updating:
Restoring a name-based tf.train.Saver checkpoint using the object-based restore API. This mode uses global names to match variables, and so is somewhat fragile. It also adds new restore ops to the graph each time it is called when graph building. Prefer re-encoding training checkpoints in the object-based format: run save() on the object-based saver (the same one this message is coming from) and use that checkpoint in the future.
Traceback (most recent call last):
  File "/Users/emadboctor/Library/Application Support/JetBrains/PyCharm2022.1/scratches/scratch_1.py", line 58, in <module>
    keras_model.load_weights(weights_path.as_posix())  # code fails here
  File "/Users/emadboctor/Desktop/ocr/eastenv/lib/python3.7/site-packages/tensorflow/python/keras/engine/training.py", line 162, in load_weights
    return super(Model, self).load_weights(filepath, by_name)
  File "/Users/emadboctor/Desktop/ocr/eastenv/lib/python3.7/site-packages/tensorflow/python/keras/engine/network.py", line 1400, in load_weights
    trackable_utils.streaming_restore(status=status, session=session)
  File "/Users/emadboctor/Desktop/ocr/eastenv/lib/python3.7/site-packages/tensorflow/python/training/tracking/util.py", line 619, in streaming_restore
    "Streaming restore not supported from name-based checkpoints when "
NotImplementedError: Streaming restore not supported from name-based checkpoints when graph building. File a feature request if this limitation bothers you. As a workaround, consider either using tf.train.Checkpoint to load name-based checkpoints or enabling eager execution.

Hello @unsignedrant ,
We see that you are using tf version 1.14, 1.x is not actively supported, please update to latest stable v2.8 and let us know if you are facing same issue.Thanks!

I'm converting 1.14 code to 2.8 so to do so, I need to run it in 1.14 and it doesn't really matter, the same issue will happen at any given version.

@unsignedrant ,
The provided code is related to tf1 version.Can you please provide the latest version code to reproduce the issue.It helps to debug the issue.Thanks!

I provided both codes for creating 1.x model, 2.x keras model and a demonstration of what I'm trying to achieve which again is loading weights produced by tf1 code into keras model. If you think something is preventing you from reproducing the issue, please be specific about what it is.

@unsignedrant ,
I was facing different issue while reproducing the mentioned code.Please find the gist of it here and provide the reproducible tf v2.x code.It helps to analyse the issue.Thanks!

I don't know how many times I'll have to repeat the same information over and over. The colab notebook you sent runs tensorflow 2.8, and for the 623754th time: TO RUN THE CODE YOU NEED TF 1.X. Once you obtain the weights produced by TF 1.X, you can then load the weights in TF2.x.

@unsignedrant ,
Thanks for opening this issue. Development of keras moved to another repository.
Can you please post this issue on keras-team/keras repo.
To know more refer:
https://discuss.tensorflow.org/t/keras-project-moved-to-new-repository-in-https-github-com-keras-team-keras/1999
Thank you!

here's an activity

@unsignedrant ,
As suggested, Thanks for opening this issue. Development of keras moved to another repository.
Can you please post this issue on keras-team/keras repo.
To know more refer:
https://discuss.tensorflow.org/t/keras-project-moved-to-new-repository-in-https-github-com-keras-team-keras/1999
Thank you!


Fix NaNs in "longyearbyen_ddem" example

Resolves #196
Also fixes the use of Raster as an input of sample_empirical_variogram with a tiny bug on the ground sampling distance definition fixed, and tests updated
Opened issue #225 to add the right behaviour directly in Coreg classes, so that there is no operation to perform for the user downstream

It seems that https://github.com/GlacioHack/GeoUtils/pull/257 fixed the issues that appeared in the tests.
Some tests are not passing in test_spatial_tools which is now deleted, so I simply added a skipping marker.

I'm afraid I don't really understand the fix here! You simplify the syntax and clean up the variogram test, which is great. How does this relate to the nans in the test?

@erikmannerfelt The example bug fix is in the example. The rest is a side fix for using the Raster class directly as input, I added a line in the main description of the PR:

Also fixes the use of Raster as an input of sample_empirical_variogram with a tiny bug on the ground sampling distance definition fixed, and tests updated


Can't use "Sort By" in SongBrowser combined with enhanced search custom filters

If I activate ANY custom filters like difficulty or "Is ranked", I am unable to click the Sort By buttons at all.  I have to disable the customer filters from your mod to use it.
This used to work, or at least gave the appearance of working , a few BS versions ago.
I've just reinstalled everything and the issue persists.  Let me know what would help.
Beatsaber 1.4.0
EnhancedSearchAndFilters 1.5.2
Song Browser 5.5.1

Hey, if you can reproduce the issue, do you mind doing that, and then sending me your log file?

Here are the log files I thought might be useful.   But that is my quick check of what I see.
beatsaber filter plugin bug.zip

Ok, so, I'm pretty sure I found the problem. When SongBrowser runs my code to obtain the filtered songs, it would throw an exception when you have duplicate custom songs.
I'm attaching my fixed .dll. Let me know if it works for you. Thanks.
EnhancedSearchAndFilters.zip

oops, didn't mean to close it

That fixed it, as well as a second issue that bugged me.  The yellow marker on filter tabs, instead of them turning green.

It doesn't identify it, but I could just have it log something when a duplicate song is found.
In any case, thanks for the report!

I'm attaching a version of the mod where it logs the name of the duplicate song(s), if you're interested in finding out which ones they are.
I'll probably not include this for the release though, since it doesn't really matter if the end user has duplicate songs and it would have a chance of overloading the logs with mostly useless information (useless for debugging at least).
EnhancedSearchAndFilters.zip
.

thanks!  It found one!  Appreciate the help!

oh,  foudn a "new bug".  After a song/map is done being played, the filter is removed.  Guessing that is not intentional

Yeah, I would've preferred if that didn't happen.
Can you make a new ticket for me with any information you think might be useful? Attaching your logs would help out as well. In the meantime, I'll take a look at it on my own machine as well. Thanks!

My best assessment is that the issue occurs when there are duplicate songs.  The issue appears to be fixed for me now.  But that is from a single test with a single filter set.  I'll be sure to open a issue if it reoccurs,  but my first thought is to make sure the dupe song issue doesn't have other problems.


STY: PEP8 amendments to io_matlab.py

Amended the block comments on lines 34 and 35 to be PEP8 compliant.
Thank you.

Thanks @Newman101, merged.

@Newman101 if you're planning on making many more PEP8 fixes, would it be possible for you to bunch them together a bit?

Sure, I bunch some of them together from now on.

Thanks!


font fallback option panic on windows10.

Which operating system does the issue occur on?
-windows10
fallback option cause panic:
"panicked at 'unexpected end of mapping '"
which work:
 normal:
   family: simhei
   style: Regular

which panic:
 normal:
   - family: Source Code Pro
   - family: Powerline
     options: { size: 12 }

Those extraneous dashes (-) seem to be your problem. Changing your config to
 normal:
   family: Source Code Pro
   family: Powerline
     options: { size: 12 }

prevent that from panicking.

That will prevent it from panicking, however we do not support manual font fallback at this point.
The #957 RFC has proposed some changes to this system and is probably the right place to track manual font fallback, even though it's a bit stale and other things have had priority for now.


Cannot open a closed PR

This may be a design limitation or cannot be supported, but it would be great if I could open a closed PR and still interact with it. I can do that on Github.com and still add comments and do code review.
Today when you open a closed PR by pressing . on github VSCode opens but not the PR.

Duplicate of https://github.com/microsoft/vscode-pull-request-github/issues/4613. You can restore the branch to work around this.

In this case I am not sure if the branch was deleted and I am also not sure if I can restore a branch that I did not create 🤔

Hmm, if the branch is not deleted then maybe you have GHPR configured to not show the PR for closed PRs. Do you have "githubPullRequests.useReviewMode": "auto"?

This is mainly pressing "." on a github.dev

The default value of "githubPullRequests.useReviewMode" is auto, but if you have setting sync turned on then you may have lost it.

Interesting, I had this configured, removed it now:
"githubPullRequests.useReviewMode": {
    "merged": false,
    "closed": false
}

Wow that was really it, thanks!

auto came later to resolve exactly this issue. Glad it worked!


Utils code for fat pointers should be refactored

[ ] Move to correct file (likely rvalue.rs)
[ ] Make into member function instead of static function

I'm guessing this is being addressed already. @celinval ?

I don't know which functions this is about. @danielsn?


using unequipall button breaks plugin

plugin works until unequip all is pressed, then doesnt work after, even when reloading client

hm, I can't reproduce this

i just reinstalled still have my presets luckily

I haven't even used the Unequip All button and it's broken in the same way


(DOCSP-29141) Add info to --output descriptions about -o json.

JIRA
No stage/build because edits to .go file

@mongodb/mongocli Will the two failing checks block merging or can we fix/ignore them?


Add SAPN token

I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
This repository is managed using an auto merge action. Please ensure your PR has no deleted lines, and it will be merged.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR.
DON'T modify any other token on the list.
At minimum each entry should have

Token Address: E52bRrLGu1YFHBLNTWhdeGoYKyp1UYCTjB7XPoFgapYS
Token Name: Sapling Network
Token Symbol: SAPN
Logo: https://cdn.jsdelivr.net/gh/SaplingNetwork/SaplingNetwork/logo.png
Link to the official homepage of token: http://sapling.network
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

i will do again


DDPG with ou_0.2 noise does not converge in MountainCarContinuous-v0

Has anyone got DDPG with ou_0.2 noise parameter to converge in MountainCarContinuous-v0 environment? The rollout/return_history stays around -10 after 1 million steps. In the ddpg paper, MountainCarContinuous converges to full score way before it hits 1 million steps.
Any suggestions on how to tune it would be great.

I haven't tested DDPG specifically on MountainCarContinuous but I can tell you that this gym poses a serious exploration challenge. The agent will earn negative rewards for each action it takes making it very easy to land in the local optima of doing nothing. In my project, I was only able to discover the optimal policy if the car made it to the top of the hill within the first episode.

I'm surprised that for you guys runs in the first place, for me it keeps crashing due to NaNs, occurring in different places, tried to rescale down the reward function but still nothing.

I didn't have any problems with nans. You can check out my code but I still haven't been able to beat this gym in a satisfying way. I basically had to reinitialize many times until it found the optimal solution early on. It would be very helpful if someone could find a working implementation of this online.

@kirk86  Baseline's ddpg has noisy parameter updates but in the original DDPG paper, they said that they were able to beat MountainCar with only Ornstein–Uhlenbeck noise.

@kirk86 I wasn't referring to @SamKirkiles's example. I was referring to Baseline DDPG code.

@aznshodan Cool, thanks. Probably misunderstanding, since in my comment:

replicating the results issue is that in your example

was referring to @SamKirkiles's example.

I have a similar situation with DDPG Humanoid-v2 environment; it doesn't converge. Suggestions will be highly appreciated


[material] Generate vars in extendTheme

As agreed upon in https://github.com/mui/material-ui/pull/35446#discussion_r1059985315
Same as https://github.com/mui/material-ui/pull/35739, it just covers the Material Design packages.
👉 Playground link
👉 Default theme showcase link - it should work without using CssVarsProvider
👉 Showcase of coexisting with @mui/material (Material Design 2) link

Is there a technical limitation to have this behavior with Material UI and Joy UI v5?

I am changing the behavior. The extendTheme will generate the CSS vars with default values available, so that the theme can be used without CssVarsProvider

Will keep the changes in one PR.


Keyboard Manager Dutch translation vague

Microsoft PowerToys version
latest; cant find it
Utility with translation issue
Keyboard Manager
🌐 Language affected
Dutch/Netherlands
❌ Actual phrase(s)
I have no idea what all this means, and I am dutch.

✔ Expected phrase(s)
Just an easy eplanation. I think the translation is wrong as I dont understand any of this.
ℹ Why is the current translation wrong
It is very vague, seems to be directly translated instead of the sentence.

Hello and thanks for your message. Is there anything more specific? I've opened an issue #25774 a while ago, so if I can include more improvements...

https://microsoft.visualstudio.com/OS/_workitems/edit/45948293

/loc

https://dev.azure.com/GlobalCollaborationService/Global Collaboration Service Project/_workitems/edit/397710 is new tracking item here

This should be resolved now look at the bug.


Improve "vision" and "contributing" doc

In "vision":

Fix bad grammar.

Spell out the product instead of abbreviating it as "MS SQL".

In "contributing":

Rewrite the requirement to add documentation with your contribution and move the parts that deal with tests to the preceding section.

Per request from @susanmdouglas-aws.
This closes #89.

@rcv-aws I suggest that you take over from here and push additional changes as you think fit.
Everything else is a waste of time.


[DO NOT MERGE] Auto PR to update dependencies of istio

This PR will be merged automatically once checks are successful.

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/new-e2e-rbac_no_auth.sh
a89dde2185569f6eaa9f32e499d3cecece168835
link
/test new-e2e-rbac_no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/new-e2e-rbac_no_auth.sh
a89dde2185569f6eaa9f32e499d3cecece168835
link
/test new-e2e-rbac_no_auth

prow/e2e-suite-rbac-auth.sh
a89dde2185569f6eaa9f32e499d3cecece168835
link
/test e2e-suite-rbac-auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/new-e2e-rbac_no_auth.sh
a89dde2185569f6eaa9f32e499d3cecece168835
link
/test new-e2e-rbac_no_auth

prow/e2e-suite-rbac-auth.sh
a89dde2185569f6eaa9f32e499d3cecece168835
link
/test e2e-suite-rbac-auth

prow/e2e-suite-rbac-no_auth.sh
a89dde2185569f6eaa9f32e499d3cecece168835
link
/test e2e-suite-rbac-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.