temp not transmitted

At first many thanks for the nice project,
BME280 works, shows temp. pressure. ttc on screen.
but not transmitting to aprs.
regards dan
vy 72 de DL6OW

Hi, so far the wx data is not Tx on purpose.  If we send it we would need to do a few changes, wx telemetry/data is only processed when:

send no more than 1 packet each 9-10 min
change symbol

If you are ok with it , it could be added ;)

Thanks for megafast reply. I am OK ! Regards Dan.

"I'm ok" = "not now" or "please add this" ? 😅

Pleeeeeeaaaaase add ! Many thanks in advance! Dan

Pleaaaaasseee add. Many thanks in advance.
Dan

Lets go DAN, time to test it , its ready and added!

All things work very well.
Thanks and 72 de Dan!


docs: make reference to stylesheet vals clear

In Scala 2 you could use a def to define your clss, but in Scala 3
the implementation is only looking for valDefs in the file, meaning
that defs will no longer work. This makes sure the docs don't mention
using defs and instead focus the verbiage on vals.
Closes #257

Do you know if this is an intrinsic limitation of Scala 3 or if it can be fixed? I think the end goal is to have feature parity between Scala 2 and 3

Do you know if this is an intrinsic limitation of Scala 3 or if it can be fixed? I think the end goal is to have feature parity between Scala 2 and 3

To be honest I'm not sure without digging in. I did quickly try to add in a check for DefDefs here:
https://github.com/com-lihaoyi/scalatags/blob/6a93955e5cf8dc204362aecae9ebb5e882f320a6/scalatags/src-3/scalatags/stylesheet/SourceClasses.scala#L15
But then it screwed up the next line so I didn't go further. My guess is that it's totally doable. So if you'd rather hold off on this, I can try to dig into that and actually fix it correctly if that'd be preferable.

My feeling is more that we should not close the issue if it's an actual issue, instead maybe add more info about what is the actual limitation.
This means that we can probably merge this (after removing "Closes #257" from the PR description, so the original issue remains open).

My feeling is more that we should not close the issue if it's an actual issue, instead maybe add more info about what is the actual limitation. This means that we can probably merge this (after removing "Closes #257" from the PR description, so the original issue remains open).

Sure, I put some more info in the issue and I remove the "closed". If I get a bit more free time this week I'll try to dig into a fix.

Thank you for your contribution @ckipp01 ! :)


Torch not turning on - iOS

Hi
First of all, thank you for a nice plugin.
I tried using the torch function on Android and iOS
TorchOn="True"
It seems to work fine on Android but nothing happens on iOS. Can you confirm that it works on iOS?

Hello.
Unfortunately I don't have an iOS device on hand to test it. I tested it and it worked a couple releases back but some bug can crawl in there... I'll try to test it ASAP.
What device do you use?
If anyone else can confirm this or share a fix it would be very helpful.

Tested today with 1.2.4 release and torch worked OK on iOS

Hi
I have tested on 1.2.4 and setting TorchOn in code-behind works as expected on Android and iOS. This issue should be closed.


Question about limitation

You mention this on your blog:

-Limitations:
Currently this version only supports the creation of one big script file.  Support for multiple script files / modules is not available at this time, but may be added in a future release

What happens if I run multiple websocket enabled applications on the server? Do they have to share the same script?
If so, how do I check if the script is already loaded?

This has to do with referring to multiple scripts from within a script (e.g. import statements).  Version 3.0.1 will allow you to configure a json header to pull in dependencies, and at compile time, aggregate into one big script (below example imports validate-user.ssjs, and printer.ssjs and compile time)
///{"import":["validate-user.ssjs", "printer.ssjs"]}

Is there any documentation about the new features, beside your blog post?

Not yet.  Need to update pdf
On Friday, September 16, 2016, Csaba Kiss<EMAIL_ADDRESS>wrote:

Is there any documentation about the new features, beside your blog post?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mwambler/xockets.io/issues/21#issuecomment-247696597,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEI46SXmBFRM-Q3UDJziaEsXsKgIBzi_ks5qqve8gaJpZM4J-9hp
.

--
Mark Ambler

chat.ntf sample should also be a good starting point.

I know, I use it all the time, but there must be features that are not in
the chat application.
On Fri, Sep 16, 2016 at 2:17 PM, mwambler<EMAIL_ADDRESS>wrote:

chat.ntf sample should also be a good starting point.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mwambler/xockets.io/issues/21#issuecomment-247698091,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACdrR0q2SY7sJRKYugSEcGYNZL9fN1Utks5qqvlIgaJpZM4J-9hp
.

Is there a feature / sample you are looking for but can't find?


feat: adding workload version

Description
Checks the running container for a specific /etc/workload-version file. If it exists, the content of that file is reported in the app version field.
Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[X] I have added tests that validate the behaviour of the software
[X] I validated that new and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[ ] I have bumped the version of the library

@gruyaume Here is an example of what it looks like having the status set moved to _configure instead. Which option do you prefer?


make latexpdf error

Hi,
after makelatex  I have an error
`a@zelman:~/lime/docs$ make latexpdf
sphinx-build -b latex -d build/doctrees   source build/latex
Running Sphinx v1.6.7
making output directory...
0.3.0
Configuration error:
There is a programable error in your configuration file:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/sphinx/config.py", line 157, in init
execfile_(filename, config)
File "/usr/lib/python2.7/dist-packages/sphinx/util/pycompat.py", line 150, in execfile_
exec_(code, globals)
File "/home/a/.local/lib/python2.7/site-packages/six.py", line 699, in exec
exec("""exec code in globs, locs""")
File "", line 1, in
File "conf.py", line 140, in
import sphinx_rtd_theme
ImportError: No module named sphinx_rtd_theme
Makefile:139: recipe for target 'latexpdf' failed
make: *** [latexpdf] Error 1
`
Any tips
TIA
Adam

You need sphinx_rtd_theme to be installed through Python pip. Before asking with Issue, you must see the error message carefully, please!


Close: Decoupled state transition and the handling of the request.

Decoupled state transition and the handling of the request.
PR for issue #13

LGTM


Thoughts on providing dispatch and the current action as arguments to the errorHandler?

This looks like a really useful tool for catching and logging errors inside reducers.
I'm just wondering if it breaks convention massively if the errorHandler function were able to dispatch an action that the app could pick up - like displaying a warning, or so on?
Something along the lines of this:
import reduxCatch from 'redux-catch';
const errorHandler = (error, getState, dispatch, lastAction) => {
    console.error(error);
    dispatch({
        type: APP_UNKNOWN_ERROR,
        payload: {
            lastAction
        }
    });
};
const middleware = [reduxCatch(errorHandler)];
return createStore(
    rootReducer,
    initialState,
    compose(
        applyMiddleware(...middleware),
    )
);

Thanks for writing this middleware!

I love the idea, I just leave you a message in the PR, but I'm going to merge this.


chore: release main

:robot: I have created a release beep boop
stdlib: 1.0.7
1.0.7 (2023-12-23)
Bug Fixes

update package.json module property (20a5bbb)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/pavophilip/react-shader-fiber/releases/tag/stdlib-v1.0.7 :sunflower:


Flutter 2.0

need null-safety, thx

Null-safety has been supported on the "develop" branch.

Null-safety has been merged to "master" branch.


Document updatable solver attributes

It is possible to pass solver settings at execution time. However, not all settings are supported for each solver, e.g., due to embeddability limits. While the auto-generated <code_dir>/README.html describes how to perform solver setting updates at execution time, we should add info on which settings can be updated.

Closed via #15


validate the presence of an AnnotationsSignal on write for discontiguous EDF+ files

still needs a test

Actually, I'm going to expand the scope of this a bit; I think I need to refactor AnnotationsSignals to ensure that samples_per_record is a computed value and rather than a field in the type


BEASW-17784: Upgrade reports dependencies to the latest version

PR Details
Updates third party dependencies and simplifies PDFExportService by using recommended JasperExportManager static class.
Motivation and Context
Reduce number of vulnerabilities and simplifies the code.
Please include relevant motivation and context. List any dependencies that are required for this change.
Implementation
Update pom.xml file to include latest stable release versions of any dependency.
Related Feature/Issue Jira tickets [optional]
https://jira.ilww.com:8443/jira/browse/BEASW-17784
Please, just in case more than one feature/issue is included in the pull request, include all the Jira tickets kind of
feature/issue.
How Has This Been Tested
All existing tests has been run with full success. No additional tests has been added as does not include any new feature.
Types of changes

[x ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] New release version
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Attachments
Checklist

[x] I have read the CONTRIBUTING document
[x] My code follows the code style of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] There are component tests for new/changed code (or a good explanation why this was not possible) and all of
them passed. I have also added tests to cover my changes
[x] All CI builders have indicated success (Give them the needed time to notice the pull request)
[x] The Pull request title has the type of change ended with a slash (bugfix/feature/...), Jira issue numbers
separated by spaces (if any), a space, and then a short, but descriptive summary
[x] Commit messages are well formed: A note about Git commit messages
[ ] New public packages, classes, and methods are documented. (Strongly consider documenting private classes and
methods)
[ ] A new branch needs to be created from master to evolve previous versions
[x] Increase version in pom.xml following Semantic Versioning
[ ] Squash merge as a recommended merge strategy in Bitbucket

@gmartinez3werfen Sorry but I have a question, wouldn't it be better to upgrade to 1.10.0 instead of 1.9.3 because of the major java version update? So, we can know if it is version 1.9.x is java 8 and if it is 1.10.x java 21> .Thanks

PR description should be updated to point to an issue in GitHub repository backlog. Project specific issues shouldn't appear here.

@gmartinez3werfen Sorry but I have a question, wouldn't it be better to upgrade to 1.10.0 instead of 1.9.3 because of the major java version update? So, we can know if it is version 1.9.x is java 8 and if it is 1.10.x java 21> .Thanks

I see your point about naming but I could not find any clear version policy defined in the documentation. Not sure what to do.


Add Browser Compatibility

This replaces request with isomorphic-unfetch so that the same code can be run from a browser context.
https://github.com/developit/unfetch/tree/master/packages/isomorphic-unfetch

Fixed the tests in master, this is failing due to a style error.

Closing this PR, as it's outdated.


fix: remove changelog branch from ci

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 50.965%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5678

Relevant Lines:
11141

💛  - Coveralls


Hide ServiceLocator from EhcacheManager constructor

Related to issue #538

@alexsnaps, @chrisdennis: I've cleaned the diff :-)

Looks good to me.


WFLY-16532 [Preview] elytron-oidc-client: add ability to configure additional scope for authentication request

Analysis doc: https://github.com/wildfly/wildfly-proposals/pull/527
WFLY Issue: https://issues.redhat.com/browse/WFLY-16532
Related ELY Issue: https://issues.redhat.com/browse/ELY-2574
Depends on: https://github.com/wildfly-security/wildfly-elytron/pull/1925
Depends on: https://github.com/wildfly/wildfly/pull/17705
This PR supersedes https://github.com/wildfly/wildfly/pull/17785. It includes a fix for an error that occurred in testsuite/integration/elytron due to incorrect stability levels.

<--- THIS SECTION IS AUTOMATICALLY GENERATED BY WILDFLY GITHUB BOT. ANY MANUAL CHANGES WILL BE LOST. --->

Wildfly issue links:

WFLY-19176
WFLY-19078

<--- END OF WILDFLY GITHUB BOT REPORT --->
More information about the wildfly-bot[bot]

https://github.com/wildfly/wildfly/pull/17792 should fix the MPScriptTestCase failures


Use Public Suffix List to Calculate Domain

What would you like to have changed?

Instead of using dns to obtain the primary zone, use the public suffix list here  to obtain the domain. This is the same way that Let's Encrypt calculates the registered domain discussed here .
Keeping the current method of obtaining the primary zone using DNS could still be useful if obtaining this list is blocked by a firewall for some reason.
Why is this feature a useful, necessary, and/or important addition to this project?

This alleviates some issues with split brain DNS which could result in incorrect resolution and also removes the need to manually specify DNS servers for domain resolution when used. Also discussed at caddy-dns/cloudflare#12
What alternatives are there, or what are you doing in the meantime to work around the lack of this feature?

Please link to any relevant issues, pull requests, or other discussions.

We're not using PSL, on purpose: https://github.com/sleevi/psl-problems

From that article, is there a reason why the RZD is not used instead? For the purposes of Let's Encrypt, the PSL does seem compelling, simply because it is used by Let's Encrypt and isn't used in a security or usability context as mentioned in the article. The uses of it here don't seem to apply.

Hmmmm. Thanks for the suggestion, but my inclination is to decline this request. Given the drawbacks of the PSL, I'm not sure configuring the PSL is going to be any improvement over simply configuring the DNS resolvers in the edge case of split-brain DNS. Both require proper network/firewall/DNS configuration nonetheless, and it just adds more complexity that is still brittle.

It could be embedded directly in the program, removing network access requirements.

No, the PSL changes, so it would need to be fetched from an authoritative, current source.


use of generate_waypoint() method

Hi,
I just wanted to know what is the use of generate_waypoint(distance) method in carla API?
it says, it will generate waypoints all over the map at a particular distance?
For example if i give:
........
world = client.get_world()
map = world.get_map()
map_waypoints = map.generate_waypoints(0.1) -------------------------(1)
..........
waypoint = map.get_waypoint(ego.get_location()) ------------------------(2)
.......

Will this generate waypoints for every 0.1m in the entire map?
based on (1) , will it get a waypoint that is very close at 0.1m apart.

For the above questions, MY understanding is that Map already has a set of waypoints at a predefined distance. They basically refer to center points of each Lane.
I just clearly want to understand the use of generate_waypoint(distance) method

Hi @aravindSwamy94,
Waypoints are generated on demand, the Map does not have any waypoint stored.

(1) Generates waypoints all over the map at approximately 0.1 meters distance between them.
(2) Generates a waypoint at the center of a lane closest to the location provided.

There is also get_topology(), that generates pairs of waypoints defining the topology of the map, i.e. for each lane on each road segment generates a pair of waypoints, first for "this" lane, and second for the successor lane on the next road segment. It is useful for planning routes, the output can be fed to libraries like networkx.

@aravindSwamy94 its always useful to visualize things. When I first used the map.generate_waypoints(), I used it as:
waypoint_list = map.generate_waypoints(2.0)
# function to extract transform values from the waypoints
transform_list = extract_transforms(waypoint_list)
# function to plot the positions in the transforms.
plot_waypoints(transform_list)

The result was something like this. (its quite self explanatory)

@YashBansod and @nsubiron : Thanks for your input. Really helped me

Hi @YashBansod , could you please specify where to use the code you mentioned?

@anna-srl you have a documented example here.

@marcgpuig Many thanks!

@aravindSwamy94 its always useful to visualize things. When I first used the map.generate_waypoints(), I used it as:
waypoint_list = map.generate_waypoints(2.0)
# function to extract transform values from the waypoints
transform_list = extract_transforms(waypoint_list)
# function to plot the positions in the transforms.
plot_waypoints(transform_list)

The result was something like this. (its quite self explanatory)
Also #992 might prove to be useful to you.
Can you share you code with me?

Hi @aravindSwamy94,
Waypoints are generated on demand, the Map does not have any waypoint stored.

(1) Generates waypoints all over the map at approximately 0.1 meters distance between them.
(2) Generates a waypoint at the center of a lane closest to the location provided.

There is also get_topology(), that generates pairs of waypoints defining the topology of the map, i.e. for each lane on each road segment generates a pair of waypoints, first for "this" lane, and second for the successor lane on the next road segment. It is useful for planning routes, the output can be fed to libraries like networkx.

Thanks for this discussion, it is very helpful. I see that when we ask for get_waypoint(location), we get the wapoint at the center of the lane closest to the location provided, but what is the precision?


Duplicate scanner name shown in notification banner

Bug description

fyi @damiencarol
Steps to reproduce
Steps to reproduce the behavior:

Import anything, and see the banner

You guys mind if I take this? It's just a couple of lines
message = scan_type + '%s processed a total of %s findings' % (scan_type, finding_count)

fixed in dev / 1.15.0


Mono: Fix build after #52940

Chose to pass unhandled exceptions to the toaster, we might want to reconsider
if those are already reported somewhere else (e.g. in the Mono panel).

Passing it to the toaster is great.


Update our Customer Responsibility Matrix in our Control Implementation Summary spreadsheet

In order for us to provide a complete SSP package to the JAB and to our customers, we need to update the Customer Responsibility Matrix in our CIS worksheet.
This is a relatively low priority compared to other SSP work, but we do need to do it eventually. This will also support customer-facing materials (https://github.com/18F/cg-product/issues/346).
CIS worksheet and SSP draft are in this folder, CRM is second tab.
Acceptance criteria

[x] We've checked the CIS to make sure it corresponds with the SSP.
[x] In that worksheet, we've updated the CRM to reflect our CIS and latest SSP draft.

I wrote a new Customer Responsibility Matrix in this tab, based on our latest SSP. I deleted the old content that was there, since it was really old and didn't seem helpful.
I followed the little instructions at the top of that CRM tab:
("GUIDANCE: For the  controls and enhancements identified in the Control Implementation Summary (CIS) as being Shared (Column L), please explain what the Customer responsibility is in the "Customer Responsibility" column below and note the corresponding controls and enhancements in the "Controls Reference" column.")
I summarized the "customer responsibility" sections from our SSP to do this.


MD013     "code_blocks": false does not work inside listing

i enabled the following option:
"MD013": {
    "code_blocks": false,
}

but when i run on the following type of code (the indentation is required to avoid numbering to restart at 1):
1. Download miniswarm:

  ```bash
  $ curl -sSL https://raw.githubusercontent.com/aelsabbahy/miniswarm/master/miniswarm \
  -o /usr/local/bin/miniswarm
  $ chmod +rx /usr/local/bin/miniswarm
  ```

1. Create a cluster of three nodes (1 master and 2 workers):

  ```bash
  $ miniswarm start 3
  ```

i get the following errors:
docs/platform/swarmcluster.md: 44: MD013/line-length Line length [Expected: 80; Actual: 91]

To be proper, the code blocks should be indented three spaces so they start in the same column as the list item content (two spaces is for unordered lists). I can’t try that on my phone right now - could you let me know if it helps?

it does not change the result (btw, i am using the command line client to lint the file, I suppose it should not make any difference)

Ok, sorry. I will look at this when I finish the current feature.

The change you did was to allow zero to three spaces in front of code blocks. This change doesn't work on nested lists:
- Test1
  - Test2
    ```bash
    code goes over 80 chars here
    ```

Is there a reason to exclude nested lists and not allow all spaces before code blocks?

I propose a change from:
var match = /^[ ]{0,3}(`{3,}|~{3,})/.exec(line);

to:
var match = /^[ ]*(`{3,}|~{3,})/.exec(line);

I think I read the specification too literally: https://spec.commonmark.org/0.28/#fenced-code-blocks
It talks about indents, but isn’t explicit (in this section) whether the indent is relative to the start of the line (as I implemented) or the current indent level (as in a list like you show). And none of the examples there are affected by this.
Your proposal seems not to be entirely right, either, because 4 spaces creates an indented code block (example 103) but isn’t handled differently.
Could you please create a new issue? It may be tricky to handle this with a RegExp, but I agree the current behavior should be improved.
Thank you!


Form $dirty set to true while searching the choices

The issues forum is NOT for support requests. It is for bugs and feature requests only.
Please read https://github.com/angular-ui/ui-select/blob/master/CONTRIBUTING.md and search
existing issues (both open and closed) prior to opening any new issue and ensure you follow the instructions therein.
Bug description:
There's a ui-select in a form, when you type in something to search the choices, the $dirty of the form will be set to true even you didn't make any selection. I tried on UI-Select official example, it's still happening.
I think to type something to search choices but not select anyone shouldn't be thought the form has been changed.
Link to minimally-working plunker that reproduces the issue:
This example plunker just copied from the official example.
http://plnkr.co/edit/Inyno8?p=preview
Version of Angular, UI-Select, and Bootstrap/Select2/Selectize CSS
Angular:  1.5.0
UI-Select:  0.19.8
Bootstrap/Select2/Selectize CSS (if applicable):

This is expected behavior. as the user interacted with the form, it is supposed to be dirty. https://docs.angularjs.org/api/ng/type/form.FormController#$dirty

@venkataraghu , thank you for the reply.
Yes, you're correct from programmer's perspective, but from a user's perspective, it's not.
So I think I have to compare every field value to see if it's changed.


Typescript support for as prop

Description
When I use a styled component (made using the styled() method), I expect to be able to use the as prop to modify what element the component will be. This is very useful for text components, where I want to be able to define if it should be a h1, h2, h3 for accessibility, independent of styling.
This works, but Typescript does not recognize the as prop, I get this following error:
Type '{ children: string; as: string; }' is not assignable to type 'IntrinsicAttributes & { slot?: string | undefined; style?: CSSProperties | undefined; title?: string | undefined; ref?: Ref<HTMLDivElement> | undefined; ... 264 more ...; htmlContent?: string | undefined; } & { ...; }'.
  Property 'as' does not exist on type 'IntrinsicAttributes & { slot?: string | undefined; style?: CSSProperties | undefined; title?: string | undefined; ref?: Ref<HTMLDivElement> | undefined; ... 264 more ...; htmlContent?: string | undefined; } & { ...; }'.(2322)

Link to Reproduction
https://play.panda-css.com/ysiRiBxsqq
Steps to reproduce

Make a styled component
Try to use the as prop in a .tsx file.

JS Framework
React (TS)
Panda CSS Version
0.22.1
Browser
Any
Operating System

[X] macOS
[ ] Windows
[ ] Linux

Additional Information
No response

Hi @WDeenik,
This is by design; the as prop is notoriously known for being very challenging to type, and we don't intend to add types for this prop.
The as prop might be deprecated in the next major release. You can implement this in their userland.
const Text = ({ as, ...rest }) => {
   const Element = useMemo(() => styled(as, textRecipe), [as])
   return <Element { ...rest }/>
}

Thanks for understanding

Would it be any easier to implement this if the user was required to define a list of approved elements, perhaps via recipe? For instance, I don't need my Typography to act like a table or a button, so I could just list the header, span, div, h1, h2, etc,...

Just a heads up, we intend to remove the as prop implementation in the styled factory before v1. Would recommend using the approach I suggested above.

Here's another implementation that uses forwardRef and avoids hooks useMemo.
import * as React from 'react';

import { cva } from '@/styled-system/css';
import { styled } from '@/styled-system/jsx';

const typographyRecipe = cva({
  variants: {
    size: {
      body: {
        textStyle: 'ampBody',
      },
      h1: {
        textStyle: 'ampH1',
      },
      h2: {
        textStyle: 'ampH2',
      },
      h3: {
        textStyle: 'ampH3',
      },
      h4: {
        textStyle: 'ampH4',
      },
      h5: {
        textStyle: 'ampH5',
      },
      h6: {
        textStyle: 'ampH6',
      },
      caption: {
        textStyle: 'ampCaption',
      },
      overline: {
        textStyle: 'ampOverline',
      },
      link: {
        textStyle: 'inlineLink',
      },
    },
  },
  defaultVariants: {
    size: 'body',
  },
});

type TypographyHtmlElement = 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span' | 'a' | 'div';

interface ComponentProps {
  as?: TypographyHtmlElement;
}

const AsableTypography = <T extends TypographyHtmlElement>(
  { as = 'div', ...rest }: ComponentProps & React.JSX.IntrinsicElements[T],
  ref: React.ForwardedRef<T>,
) => {
  const testing = true;
  if (testing) {
    return React.createElement(as || 'div', { ref, ...rest });
  }
};

const ForwardableTypography = React.forwardRef(
  AsableTypography as <T extends TypographyHtmlElement>(
    props: ComponentProps & React.JSX.IntrinsicElements[T],
    ref: React.ForwardedRef<T>,
  ) => ReturnType<typeof AsableTypography>,
);

const Typography = styled(ForwardableTypography, typographyRecipe);

export default Typography;

FWIW, here's my solution. Works for my use case and could probably be improved...
// src/components/primtives/HStack.tsx

import { useMemo } from "react";

import { styled } from "styled-system/jsx";

interface HStackProps {
  as?: keyof JSX.IntrinsicElements;
  justify?: string;
  alignItems?: string;
  gap?: string;
  [key: string]: any; // To allow for other props like children, styles, etc.
}

export const HStack: React.FC<HStackProps> = ({
  as = "div",
  justify,
  alignItems,
  gap,
  ...rest
}) => {
  const Element = useMemo(() => styled(as), [as]);

  return (
    <Element
      style={{
        display: "flex",
        justifyContent: justify,
        alignItems: alignItems,
        gap: gap,
      }}
      {...rest}
    />
  );
};

In use:
import { HStack } from "@/components/primitives/HStack";

<HStack as="header" justify="space-between" alignItems="flex-start" gap="0">
...


Update TinkerPop 3.4 version to latest 3.4.13

Summary
Update TinkerPop 3.4 version to latest 3.4.13
Description
The current release uses TinkerPop 3.4.8 as dependency, which may cause class path issues when using the IAM auth sigV4 plugin, as that uses 3.4.10. Bumping grader.properties to 3.4.10+ resolved the issue.
Opening as a draft for now to keep track. As we should perform some testing to make sure we are still compatible in other aspects (we should be).

Additional Reviewers
@birschick-bq
@xiazcy
@alexey-temnikov
@kylepbit

Codecov Report

Merging #218 (f953342) into develop (0cff376) will decrease coverage by 0.02%.
The diff coverage is 57.14%.

@@             Coverage Diff             @@
##           develop     #218      +/-   ##
===========================================
- Coverage    67.53%   67.52%   -0.02%
===========================================
  Files          121      121
  Lines         5874     5872       -2
  Branches       585      585
===========================================
- Hits          3967     3965       -2
  Misses        1556     1556
  Partials       351      351

Impacted Files
Coverage Δ

...s/neptune/gremlin/GremlinConnectionProperties.java
73.50% <ø> (ø)

...eptune/gremlin/adapter/converter/SqlConverter.java
80.55% <0.00%> (ø)

...r/converter/ast/nodes/select/GremlinSqlSelect.java
91.54% <0.00%> (ø)

...erter/ast/nodes/select/GremlinSqlSelectSingle.java
75.60% <0.00%> (ø)

...s/neptune/jdbc/utilities/ConnectionProperties.java
67.69% <ø> (ø)

...software/aws/neptune/jdbc/utilities/SshTunnel.java
8.62% <ø> (ø)

...ware/aws/neptune/gremlin/GremlinQueryExecutor.java
43.50% <100.00%> (-0.56%)
:arrow_down:


Synthesis failed for SecurityCenter

Hello! Autosynth couldn't regenerate SecurityCenter. :broken_heart:
Here's the output from running synth.py:
p 0.4.7
  tesla 1.3.3
  unicode_util_compat 0.4.1
* Getting google_api_discovery (Hex package)
* Getting tesla (Hex package)
* Getting oauth2 (Hex package)
* Getting temp (Hex package)
* Getting jason (Hex package)
* Getting poison (Hex package)
* Getting hackney (Hex package)
* Getting certifi (Hex package)
* Getting idna (Hex package)
* Getting metrics (Hex package)
* Getting mimerl (Hex package)
* Getting ssl_verify_fun (Hex package)
* Getting unicode_util_compat (Hex package)
* Getting parse_trans (Hex package)
* Getting mime (Hex package)
* Getting google_gax (Hex package)
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
==> temp
Compiling 3 files (.ex)
Generated temp app
===> Compiling parse_trans
===> Compiling mimerl
===> Compiling metrics
===> Compiling unicode_util_compat
===> Compiling idna
==> jason
Compiling 8 files (.ex)
Generated jason app
warning: String.strip/1 is deprecated. Use String.trim/1 instead
  /workspace/deps/poison/mix.exs:4

==> poison
Compiling 4 files (.ex)
warning: Integer.to_char_list/2 is deprecated. Use Integer.to_charlist/2 instead
  lib/poison/encoder.ex:173

Generated poison app
==> ssl_verify_fun
Compiling 7 files (.erl)
Generated ssl_verify_fun app
===> Compiling certifi
===> Compiling hackney
==> oauth2
Compiling 13 files (.ex)
Generated oauth2 app
==> mime
Compiling 2 files (.ex)
Generated mime app
==> tesla
Compiling 26 files (.ex)
Generated tesla app
==> google_gax
Compiling 5 files (.ex)
Generated google_gax app
==> google_api_discovery
Compiling 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 27 files (.ex)
warning: System.cwd/0 is deprecated. Use File.cwd/0 instead
  lib/google_apis/publisher.ex:24

Generated google_apis app

13:30:27.327 [info]  FETCHING: https://securitycenter.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1

13:30:27.474 [info]  FOUND: https://securitycenter.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
Revision check: old=20200410, new=20200529, generating=true
Creating leading directories
Writing Asset to clients/security_center/lib/google_api/security_center/v1/model/asset.ex.
Writing AssetDiscoveryConfig to clients/security_center/lib/google_api/security_center/v1/model/asset_discovery_config.ex.
Writing AuditConfig to clients/security_center/lib/google_api/security_center/v1/model/audit_config.ex.
Writing AuditLogConfig to clients/security_center/lib/google_api/security_center/v1/model/audit_log_config.ex.
Writing Binding to clients/security_center/lib/google_api/security_center/v1/model/binding.ex.
Writing Empty to clients/security_center/lib/google_api/security_center/v1/model/empty.ex.
Writing Expr to clients/security_center/lib/google_api/security_center/v1/model/expr.ex.
Writing Finding to clients/security_center/lib/google_api/security_center/v1/model/finding.ex.
Writing GetIamPolicyRequest to clients/security_center/lib/google_api/security_center/v1/model/get_iam_policy_request.ex.
Writing GetPolicyOptions to clients/security_center/lib/google_api/security_center/v1/model/get_policy_options.ex.
Writing GoogleCloudSecuritycenterV1NotificationMessage to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1_notification_message.ex.
Writing GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1_run_asset_discovery_response.ex.
Writing GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1beta1_run_asset_discovery_response.ex.
Writing GoogleCloudSecuritycenterV1p1beta1Asset to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_asset.ex.
Writing GoogleCloudSecuritycenterV1p1beta1Finding to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_finding.ex.
Writing GoogleCloudSecuritycenterV1p1beta1IamPolicy to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_iam_policy.ex.
Writing GoogleCloudSecuritycenterV1p1beta1NotificationMessage to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_notification_message.ex.
Writing GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_run_asset_discovery_response.ex.
Writing GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_security_center_properties.ex.
Writing GoogleCloudSecuritycenterV1p1beta1SecurityMarks to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_security_marks.ex.
Writing GoogleCloudSecuritycenterV1p1beta1TemporalAsset to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_temporal_asset.ex.
Writing GroupAssetsRequest to clients/security_center/lib/google_api/security_center/v1/model/group_assets_request.ex.
Writing GroupAssetsResponse to clients/security_center/lib/google_api/security_center/v1/model/group_assets_response.ex.
Writing GroupFindingsRequest to clients/security_center/lib/google_api/security_center/v1/model/group_findings_request.ex.
Writing GroupFindingsResponse to clients/security_center/lib/google_api/security_center/v1/model/group_findings_response.ex.
Writing GroupResult to clients/security_center/lib/google_api/security_center/v1/model/group_result.ex.
Writing IamPolicy to clients/security_center/lib/google_api/security_center/v1/model/iam_policy.ex.
Writing ListAssetsResponse to clients/security_center/lib/google_api/security_center/v1/model/list_assets_response.ex.
Writing ListAssetsResult to clients/security_center/lib/google_api/security_center/v1/model/list_assets_result.ex.
Writing ListFindingsResponse to clients/security_center/lib/google_api/security_center/v1/model/list_findings_response.ex.
Writing ListFindingsResult to clients/security_center/lib/google_api/security_center/v1/model/list_findings_result.ex.
Writing ListNotificationConfigsResponse to clients/security_center/lib/google_api/security_center/v1/model/list_notification_configs_response.ex.
Writing ListOperationsResponse to clients/security_center/lib/google_api/security_center/v1/model/list_operations_response.ex.
Writing ListSourcesResponse to clients/security_center/lib/google_api/security_center/v1/model/list_sources_response.ex.
Writing NotificationConfig to clients/security_center/lib/google_api/security_center/v1/model/notification_config.ex.
Writing Operation to clients/security_center/lib/google_api/security_center/v1/model/operation.ex.
Writing OrganizationSettings to clients/security_center/lib/google_api/security_center/v1/model/organization_settings.ex.
Writing Policy to clients/security_center/lib/google_api/security_center/v1/model/policy.ex.
Writing Resource to clients/security_center/lib/google_api/security_center/v1/model/resource.ex.
Writing RunAssetDiscoveryRequest to clients/security_center/lib/google_api/security_center/v1/model/run_asset_discovery_request.ex.
Writing SecurityCenterProperties to clients/security_center/lib/google_api/security_center/v1/model/security_center_properties.ex.
Writing SecurityMarks to clients/security_center/lib/google_api/security_center/v1/model/security_marks.ex.
Writing SetFindingStateRequest to clients/security_center/lib/google_api/security_center/v1/model/set_finding_state_request.ex.
Writing SetIamPolicyRequest to clients/security_center/lib/google_api/security_center/v1/model/set_iam_policy_request.ex.
Writing Source to clients/security_center/lib/google_api/security_center/v1/model/source.ex.
Writing Status to clients/security_center/lib/google_api/security_center/v1/model/status.ex.
Writing StreamingConfig to clients/security_center/lib/google_api/security_center/v1/model/streaming_config.ex.
Writing TestIamPermissionsRequest to clients/security_center/lib/google_api/security_center/v1/model/test_iam_permissions_request.ex.
Writing TestIamPermissionsResponse to clients/security_center/lib/google_api/security_center/v1/model/test_iam_permissions_response.ex.
Writing Organizations to clients/security_center/lib/google_api/security_center/v1/api/organizations.ex.
Writing connection.ex.
Writing metadata.ex.
Writing mix.exs
Writing README.md
Writing LICENSE
Writing .gitignore
Writing config/config.exs
Writing test/test_helper.exs

13:30:27.964 [info]  Found only discovery_revision and/or formatting changes. Not significant enough for a PR.
fixing file permissions
2020-06-06 06:30:31,072 synthtool [DEBUG] > Wrote metadata to clients/security_center/synth.metadata.
DEBUG:synthtool:Wrote metadata to clients/security_center/synth.metadata.
2020-06-06 06:30:31,101 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 555, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 121, in synthesize
    with open(log_file_path, "rt") as fp:
IsADirectoryError: [Errno 21] Is a directory: '/tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api'

Google internal developers can see the full log here.

Autosynth is still having trouble generating SecurityCenter. :sob:
Here's the output from running synth.py:
p 0.4.7
  tesla 1.3.3
  unicode_util_compat 0.4.1
* Getting google_api_discovery (Hex package)
* Getting tesla (Hex package)
* Getting oauth2 (Hex package)
* Getting temp (Hex package)
* Getting jason (Hex package)
* Getting poison (Hex package)
* Getting hackney (Hex package)
* Getting certifi (Hex package)
* Getting idna (Hex package)
* Getting metrics (Hex package)
* Getting mimerl (Hex package)
* Getting ssl_verify_fun (Hex package)
* Getting unicode_util_compat (Hex package)
* Getting parse_trans (Hex package)
* Getting mime (Hex package)
* Getting google_gax (Hex package)
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
==> temp
Compiling 3 files (.ex)
Generated temp app
===> Compiling parse_trans
===> Compiling mimerl
===> Compiling metrics
===> Compiling unicode_util_compat
===> Compiling idna
==> jason
Compiling 8 files (.ex)
Generated jason app
warning: String.strip/1 is deprecated. Use String.trim/1 instead
  /workspace/deps/poison/mix.exs:4

==> poison
Compiling 4 files (.ex)
warning: Integer.to_char_list/2 is deprecated. Use Integer.to_charlist/2 instead
  lib/poison/encoder.ex:173

Generated poison app
==> ssl_verify_fun
Compiling 7 files (.erl)
Generated ssl_verify_fun app
===> Compiling certifi
===> Compiling hackney
==> oauth2
Compiling 13 files (.ex)
Generated oauth2 app
==> mime
Compiling 2 files (.ex)
Generated mime app
==> tesla
Compiling 26 files (.ex)
Generated tesla app
==> google_gax
Compiling 5 files (.ex)
Generated google_gax app
==> google_api_discovery
Compiling 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 27 files (.ex)
warning: System.cwd/0 is deprecated. Use File.cwd/0 instead
  lib/google_apis/publisher.ex:24

Generated google_apis app

13:21:29.796 [info]  FETCHING: https://securitycenter.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1

13:21:29.927 [info]  FOUND: https://securitycenter.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
Revision check: old=20200410, new=20200529, generating=true
Creating leading directories
Writing Asset to clients/security_center/lib/google_api/security_center/v1/model/asset.ex.
Writing AssetDiscoveryConfig to clients/security_center/lib/google_api/security_center/v1/model/asset_discovery_config.ex.
Writing AuditConfig to clients/security_center/lib/google_api/security_center/v1/model/audit_config.ex.
Writing AuditLogConfig to clients/security_center/lib/google_api/security_center/v1/model/audit_log_config.ex.
Writing Binding to clients/security_center/lib/google_api/security_center/v1/model/binding.ex.
Writing Empty to clients/security_center/lib/google_api/security_center/v1/model/empty.ex.
Writing Expr to clients/security_center/lib/google_api/security_center/v1/model/expr.ex.
Writing Finding to clients/security_center/lib/google_api/security_center/v1/model/finding.ex.
Writing GetIamPolicyRequest to clients/security_center/lib/google_api/security_center/v1/model/get_iam_policy_request.ex.
Writing GetPolicyOptions to clients/security_center/lib/google_api/security_center/v1/model/get_policy_options.ex.
Writing GoogleCloudSecuritycenterV1NotificationMessage to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1_notification_message.ex.
Writing GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1_run_asset_discovery_response.ex.
Writing GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1beta1_run_asset_discovery_response.ex.
Writing GoogleCloudSecuritycenterV1p1beta1Asset to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_asset.ex.
Writing GoogleCloudSecuritycenterV1p1beta1Finding to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_finding.ex.
Writing GoogleCloudSecuritycenterV1p1beta1IamPolicy to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_iam_policy.ex.
Writing GoogleCloudSecuritycenterV1p1beta1NotificationMessage to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_notification_message.ex.
Writing GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_run_asset_discovery_response.ex.
Writing GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_security_center_properties.ex.
Writing GoogleCloudSecuritycenterV1p1beta1SecurityMarks to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_security_marks.ex.
Writing GoogleCloudSecuritycenterV1p1beta1TemporalAsset to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_temporal_asset.ex.
Writing GroupAssetsRequest to clients/security_center/lib/google_api/security_center/v1/model/group_assets_request.ex.
Writing GroupAssetsResponse to clients/security_center/lib/google_api/security_center/v1/model/group_assets_response.ex.
Writing GroupFindingsRequest to clients/security_center/lib/google_api/security_center/v1/model/group_findings_request.ex.
Writing GroupFindingsResponse to clients/security_center/lib/google_api/security_center/v1/model/group_findings_response.ex.
Writing GroupResult to clients/security_center/lib/google_api/security_center/v1/model/group_result.ex.
Writing IamPolicy to clients/security_center/lib/google_api/security_center/v1/model/iam_policy.ex.
Writing ListAssetsResponse to clients/security_center/lib/google_api/security_center/v1/model/list_assets_response.ex.
Writing ListAssetsResult to clients/security_center/lib/google_api/security_center/v1/model/list_assets_result.ex.
Writing ListFindingsResponse to clients/security_center/lib/google_api/security_center/v1/model/list_findings_response.ex.
Writing ListFindingsResult to clients/security_center/lib/google_api/security_center/v1/model/list_findings_result.ex.
Writing ListNotificationConfigsResponse to clients/security_center/lib/google_api/security_center/v1/model/list_notification_configs_response.ex.
Writing ListOperationsResponse to clients/security_center/lib/google_api/security_center/v1/model/list_operations_response.ex.
Writing ListSourcesResponse to clients/security_center/lib/google_api/security_center/v1/model/list_sources_response.ex.
Writing NotificationConfig to clients/security_center/lib/google_api/security_center/v1/model/notification_config.ex.
Writing Operation to clients/security_center/lib/google_api/security_center/v1/model/operation.ex.
Writing OrganizationSettings to clients/security_center/lib/google_api/security_center/v1/model/organization_settings.ex.
Writing Policy to clients/security_center/lib/google_api/security_center/v1/model/policy.ex.
Writing Resource to clients/security_center/lib/google_api/security_center/v1/model/resource.ex.
Writing RunAssetDiscoveryRequest to clients/security_center/lib/google_api/security_center/v1/model/run_asset_discovery_request.ex.
Writing SecurityCenterProperties to clients/security_center/lib/google_api/security_center/v1/model/security_center_properties.ex.
Writing SecurityMarks to clients/security_center/lib/google_api/security_center/v1/model/security_marks.ex.
Writing SetFindingStateRequest to clients/security_center/lib/google_api/security_center/v1/model/set_finding_state_request.ex.
Writing SetIamPolicyRequest to clients/security_center/lib/google_api/security_center/v1/model/set_iam_policy_request.ex.
Writing Source to clients/security_center/lib/google_api/security_center/v1/model/source.ex.
Writing Status to clients/security_center/lib/google_api/security_center/v1/model/status.ex.
Writing StreamingConfig to clients/security_center/lib/google_api/security_center/v1/model/streaming_config.ex.
Writing TestIamPermissionsRequest to clients/security_center/lib/google_api/security_center/v1/model/test_iam_permissions_request.ex.
Writing TestIamPermissionsResponse to clients/security_center/lib/google_api/security_center/v1/model/test_iam_permissions_response.ex.
Writing Organizations to clients/security_center/lib/google_api/security_center/v1/api/organizations.ex.
Writing connection.ex.
Writing metadata.ex.
Writing mix.exs
Writing README.md
Writing LICENSE
Writing .gitignore
Writing config/config.exs
Writing test/test_helper.exs

13:21:30.402 [info]  Found only discovery_revision and/or formatting changes. Not significant enough for a PR.
fixing file permissions
2020-06-07 06:21:33,424 synthtool [DEBUG] > Wrote metadata to clients/security_center/synth.metadata.
DEBUG:synthtool:Wrote metadata to clients/security_center/synth.metadata.
2020-06-07 06:21:33,447 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 555, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 121, in synthesize
    with open(log_file_path, "rt") as fp:
IsADirectoryError: [Errno 21] Is a directory: '/tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api'

Google internal developers can see the full log here.

Autosynth is still having trouble generating SecurityCenter. :sob:
Here's the output from running synth.py:
p 0.4.7
  tesla 1.3.3
  unicode_util_compat 0.4.1
* Getting google_api_discovery (Hex package)
* Getting tesla (Hex package)
* Getting oauth2 (Hex package)
* Getting temp (Hex package)
* Getting jason (Hex package)
* Getting poison (Hex package)
* Getting hackney (Hex package)
* Getting certifi (Hex package)
* Getting idna (Hex package)
* Getting metrics (Hex package)
* Getting mimerl (Hex package)
* Getting ssl_verify_fun (Hex package)
* Getting unicode_util_compat (Hex package)
* Getting parse_trans (Hex package)
* Getting mime (Hex package)
* Getting google_gax (Hex package)
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
==> temp
Compiling 3 files (.ex)
Generated temp app
===> Compiling parse_trans
===> Compiling mimerl
===> Compiling metrics
===> Compiling unicode_util_compat
===> Compiling idna
==> jason
Compiling 8 files (.ex)
Generated jason app
warning: String.strip/1 is deprecated. Use String.trim/1 instead
  /workspace/deps/poison/mix.exs:4

==> poison
Compiling 4 files (.ex)
warning: Integer.to_char_list/2 is deprecated. Use Integer.to_charlist/2 instead
  lib/poison/encoder.ex:173

Generated poison app
==> ssl_verify_fun
Compiling 7 files (.erl)
Generated ssl_verify_fun app
===> Compiling certifi
===> Compiling hackney
==> oauth2
Compiling 13 files (.ex)
Generated oauth2 app
==> mime
Compiling 2 files (.ex)
Generated mime app
==> tesla
Compiling 26 files (.ex)
Generated tesla app
==> google_gax
Compiling 5 files (.ex)
Generated google_gax app
==> google_api_discovery
Compiling 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 27 files (.ex)
warning: System.cwd/0 is deprecated. Use File.cwd/0 instead
  lib/google_apis/publisher.ex:24

Generated google_apis app

13:22:06.204 [info]  FETCHING: https://securitycenter.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1

13:22:06.336 [info]  FOUND: https://securitycenter.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
Revision check: old=20200410, new=20200529, generating=true
Creating leading directories
Writing Asset to clients/security_center/lib/google_api/security_center/v1/model/asset.ex.
Writing AssetDiscoveryConfig to clients/security_center/lib/google_api/security_center/v1/model/asset_discovery_config.ex.
Writing AuditConfig to clients/security_center/lib/google_api/security_center/v1/model/audit_config.ex.
Writing AuditLogConfig to clients/security_center/lib/google_api/security_center/v1/model/audit_log_config.ex.
Writing Binding to clients/security_center/lib/google_api/security_center/v1/model/binding.ex.
Writing Empty to clients/security_center/lib/google_api/security_center/v1/model/empty.ex.
Writing Expr to clients/security_center/lib/google_api/security_center/v1/model/expr.ex.
Writing Finding to clients/security_center/lib/google_api/security_center/v1/model/finding.ex.
Writing GetIamPolicyRequest to clients/security_center/lib/google_api/security_center/v1/model/get_iam_policy_request.ex.
Writing GetPolicyOptions to clients/security_center/lib/google_api/security_center/v1/model/get_policy_options.ex.
Writing GoogleCloudSecuritycenterV1NotificationMessage to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1_notification_message.ex.
Writing GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1_run_asset_discovery_response.ex.
Writing GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1beta1_run_asset_discovery_response.ex.
Writing GoogleCloudSecuritycenterV1p1beta1Asset to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_asset.ex.
Writing GoogleCloudSecuritycenterV1p1beta1Finding to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_finding.ex.
Writing GoogleCloudSecuritycenterV1p1beta1IamPolicy to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_iam_policy.ex.
Writing GoogleCloudSecuritycenterV1p1beta1NotificationMessage to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_notification_message.ex.
Writing GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_run_asset_discovery_response.ex.
Writing GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_security_center_properties.ex.
Writing GoogleCloudSecuritycenterV1p1beta1SecurityMarks to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_security_marks.ex.
Writing GoogleCloudSecuritycenterV1p1beta1TemporalAsset to clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v1p1beta1_temporal_asset.ex.
Writing GroupAssetsRequest to clients/security_center/lib/google_api/security_center/v1/model/group_assets_request.ex.
Writing GroupAssetsResponse to clients/security_center/lib/google_api/security_center/v1/model/group_assets_response.ex.
Writing GroupFindingsRequest to clients/security_center/lib/google_api/security_center/v1/model/group_findings_request.ex.
Writing GroupFindingsResponse to clients/security_center/lib/google_api/security_center/v1/model/group_findings_response.ex.
Writing GroupResult to clients/security_center/lib/google_api/security_center/v1/model/group_result.ex.
Writing IamPolicy to clients/security_center/lib/google_api/security_center/v1/model/iam_policy.ex.
Writing ListAssetsResponse to clients/security_center/lib/google_api/security_center/v1/model/list_assets_response.ex.
Writing ListAssetsResult to clients/security_center/lib/google_api/security_center/v1/model/list_assets_result.ex.
Writing ListFindingsResponse to clients/security_center/lib/google_api/security_center/v1/model/list_findings_response.ex.
Writing ListFindingsResult to clients/security_center/lib/google_api/security_center/v1/model/list_findings_result.ex.
Writing ListNotificationConfigsResponse to clients/security_center/lib/google_api/security_center/v1/model/list_notification_configs_response.ex.
Writing ListOperationsResponse to clients/security_center/lib/google_api/security_center/v1/model/list_operations_response.ex.
Writing ListSourcesResponse to clients/security_center/lib/google_api/security_center/v1/model/list_sources_response.ex.
Writing NotificationConfig to clients/security_center/lib/google_api/security_center/v1/model/notification_config.ex.
Writing Operation to clients/security_center/lib/google_api/security_center/v1/model/operation.ex.
Writing OrganizationSettings to clients/security_center/lib/google_api/security_center/v1/model/organization_settings.ex.
Writing Policy to clients/security_center/lib/google_api/security_center/v1/model/policy.ex.
Writing Resource to clients/security_center/lib/google_api/security_center/v1/model/resource.ex.
Writing RunAssetDiscoveryRequest to clients/security_center/lib/google_api/security_center/v1/model/run_asset_discovery_request.ex.
Writing SecurityCenterProperties to clients/security_center/lib/google_api/security_center/v1/model/security_center_properties.ex.
Writing SecurityMarks to clients/security_center/lib/google_api/security_center/v1/model/security_marks.ex.
Writing SetFindingStateRequest to clients/security_center/lib/google_api/security_center/v1/model/set_finding_state_request.ex.
Writing SetIamPolicyRequest to clients/security_center/lib/google_api/security_center/v1/model/set_iam_policy_request.ex.
Writing Source to clients/security_center/lib/google_api/security_center/v1/model/source.ex.
Writing Status to clients/security_center/lib/google_api/security_center/v1/model/status.ex.
Writing StreamingConfig to clients/security_center/lib/google_api/security_center/v1/model/streaming_config.ex.
Writing TestIamPermissionsRequest to clients/security_center/lib/google_api/security_center/v1/model/test_iam_permissions_request.ex.
Writing TestIamPermissionsResponse to clients/security_center/lib/google_api/security_center/v1/model/test_iam_permissions_response.ex.
Writing Organizations to clients/security_center/lib/google_api/security_center/v1/api/organizations.ex.
Writing connection.ex.
Writing metadata.ex.
Writing mix.exs
Writing README.md
Writing LICENSE
Writing .gitignore
Writing config/config.exs
Writing test/test_helper.exs

13:22:06.810 [info]  Found only discovery_revision and/or formatting changes. Not significant enough for a PR.
fixing file permissions
2020-06-08 06:22:09,334 synthtool [DEBUG] > Wrote metadata to clients/security_center/synth.metadata.
DEBUG:synthtool:Wrote metadata to clients/security_center/synth.metadata.
2020-06-08 06:22:09,361 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 555, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 121, in synthesize
    with open(log_file_path, "rt") as fp:
IsADirectoryError: [Errno 21] Is a directory: '/tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api'

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:


EC2 availability zones in us-west-1: use A and B

Fixes #5494
Reverts #5513
The availability zones that we expose are us-west-1a and us-west-1b. It is more consistent to ensure that the instance types we pull down from AWS also use a and b.
(As opposed to changing the zones that we expose to b and c, and introducing a potentially breaking change for everyone.

Codecov Report

Merging #5515 (8045a38) into master (37c5be7) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #5515   +/-   ##
=======================================
  Coverage   96.12%   96.12%
=======================================
  Files         725      725
  Lines       72051    72051
=======================================
  Hits        69260    69260
  Misses       2791     2791

Flag
Coverage Δ

servertests
36.94% <100.00%> (ø)

unittests
96.06% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

moto/ec2/models/availability_zones_and_regions.py
97.77% <ø> (ø)

moto/ec2/models/instances.py
97.76% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


MergedColumnOnlyOutputStream. Skip empty blocks. Fix 5377

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
For changelog. Remove if this is non-significant change.
Category (leave one):

Bug Fix

Short description (up to few sentences):
This is fix for
https://github.com/yandex/ClickHouse/issues/5377
Detailed description (optional):
when https://github.com/yandex/ClickHouse/blob/4f98f875c338370aee7f7ef45ba38b3fb862d084/dbms/src/Storages/MergeTree/IMergedBlockOutputStream.cpp#L214 receives empty column it returns 0 in second value. That leads resetting a index_offset.
looks like we need to skip empty blocks like there
https://github.com/yandex/ClickHouse/blob/4f98f875c338370aee7f7ef45ba38b3fb862d084/dbms/src/Storages/MergeTree/MergedBlockOutputStream.cpp#L267

Good investigation and fix. Thank you.


Introduce exponential backoff when IDE reconnects with backend

This task is automatically imported from the old Task Issue Board and it was originally created by Hubert Plociniczak.
Original issue is here.

Currently if we kill backend (LS), IDE will keep on trying to reconnect at the same rate which is not particularly useful. Neither is the message Connection to the backend has been lost. Please try restarting IDE.
We should:

apply gmail strategy which uses exponential backoff to reconnect in case of failure
update the message with the information on when IDE would attempt to reconnect
preferably provide a more visible error message at the top (gray on white is easy to miss)

Discussion thread: https://discord.com/channels/401396655599124480/1069912865261240371

Depends on #5202

Superseded by #8520


DataReader should cache queries.

Hello,
each request using pandas.io.data.DataReader ends by a server request.
That's not reasonable.
Maybe a cache for DataReader should be considered.
Kind regards

I think this is out-of-scope for pandas directly. That said if someone wanted to implemented this (via the requests library, I think we would accept it).

This is another jreback-ism that is crazy confusing to me (like opt-in features disrupt performance and segfaults are not a problem).
If it is out of scope why would you accept a PR from someone? strange to see when at the same time #8961 (etc') talks about pandas suffering from feature creep.

@kay1793 let try to have constructive comments
thank you for all you contributions

@jreback, I'm trying but you censoring criticism and erasing comments isn't helping.
Would you please explain what you mean by it is out of scope but will accept PR? I still find this confusing.

I will step in.  This is a discussion about separating pandas datareader functionality from pandas.
Pandas is intended to be a middleware data layer.

This was added to pandas-datareader v0.2.1, so this issue can be closed.


Bail on first error

Currently cutest exits when the first error occur. Would you be interested in adding a flag -b to make that optional? The reason is that sometimes it is useful to get all errors at once.

+1
I think cutest should keep the default behaviour of failing fast. It's very useful while developing.
Running all tests regardless of there being failures would be very useful for running automated tests on a CI server for example.

Cool. Yeah, I agree with you. And keeping the default behaviour makes the change backwards compatible. I'll invert the flag (or how should it be called then?).

@djanowski any comments here? I can just flip the flag if you're ok going ahead with #28.

@gtramontina The flag can be -c (continue).

Hard to come up with the right name. I was thinking maybe -f (force) or -a (all).

-a for all seems sensible.
I think the usage should be clearer, though. [-a] is not very clear on what it means.

We already have -s and -o to filter what Cutest should run. -a for "all" seems to compete with that.
I'm still inclined for -c (continue).


Assignment4_Daiwik

nice efforts on the ml0 assignment. there are a few mistakes in Q6, try attempting it again


Preflight Checks Not Conducted on Custom SDL Use

Issue :
Appears console does not conduct preflight checks when a custom SDL is used.
Details:
-When a SDL is used from library - I.e. Fun & Games > Minesweeper - preflight checks are conducted and if no certificate is available the deployment will not proceed past preflight checks
-If a. custom SDL is used/imported - I.e. Import SDL > paste in custom SDL into editor pane - no preflight check occurs and if no cert is available this  is not recognized until the deployment process proceeds thru order/bid generation, provider selection, and only when the manifest send attempt to provider is attempted is an error generated

The preflight step was missing due to the custom flow being entirely separate from the primary flow. I added the check to the custom flow; however, in the long term, we should merge these two flows as maintaining the two flows separately will result in increasing tech debt over time.


Authentication issue

Describe the bug
DeviceCodeCredential.get_token failed: Authentication failed: AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret'.
Trace ID: 22c04acd-a816-42bc-bb4f-5f1c8dcb4c02
Correlation ID: 3c90998d-702c-4bd9-9ae3-02eeb373883b
Timestamp: 2022-12-01 19:02:02Z
Content: {"error":"invalid_client","error_description":"AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret'.\r\nTrace ID: 22c04acd-a816-42bc-bb4f-5f1c8dcb4c02\r\nCorrelation ID: 3c90998d-702c-4bd9-9ae3-02eeb373883b\r\nTimestamp: 2022-12-01 19:02:02Z","error_codes":[7000218],"timestamp":"2022-12-01 19:02:02Z","trace_id":"22c04acd-a816-42bc-bb4f-5f1c8dcb4c02","correlation_id":"3c90998d-702c-4bd9-9ae3-02eeb373883b","error_uri":"https://login.microsoftonline.com/error?code=7000218","claims":"{"access_token":{"capolids":{"essential":true,"values":["01e95e51-d161-4922-8776-747a86759589","a5f338a6-266a-4dea-83e7-cd58e84f8929"]}}}"}
graphUserScopes = [ "User.Read"]
device_code_credential = DeviceCodeCredential(client_id, tenant_id = tenant_id)
user_client = GraphClient(credential=device_code_credential, scopes=graphUserScopes)
result = user_client.get('/me')
print(result.json())

sorry i need to pass another parameter

The above error is happening and i installed all the latest software today. using python 3.8  with Azure ML using AML jupyter

Hi @balakreshnan. Thanks for reporting this issue. We are looking into it and will provide an update.

I am having the same error. Was there an update to this issue?

See https://github.com/telstrapurple/MSTeamsChatExporter/issues/4 for a solution. It would be helpful if Microsoft documented this. Or even better, if the error message actually made sense.

thanks for reporting this issue, we have since released a new version of the SDK which this issue doesn't apply to. We encourage you to migrate to the new version and open a new issue if you still need help


[web]: Clip Path not Work & the way to put log

hi, i'm build some clip path with custom clipper to show background with half circle layout. But it just show white page. Also since print() is not working  and i try to break point but not wroking either, how i can write /  show a log. My flutter doctor :
[✓] Flutter (Channel stable, v1.5.4-hotfix.2, on Mac OS X 10.14.4 18E226, locale en-ID)

[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[!] iOS toolchain - develop for iOS devices (Xcode 10.1)
    ! CocoaPods out of date (1.5.0 is recommended).
        CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade:
        brew upgrade cocoapods
        pod setup
[✓] Android Studio (version 3.2)
[✓] VS Code (version 1.34.0)
[✓] Connected device (1 available)

Hi tanamduit,
Thanks for filing issue. Could you please share a snippet to repro.
Tried the following clipper and was not able to reproduce failure:
void main() => runApp(MaterialApp(
home: MyApp(),
));
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
body: Center(
child: ClipPath(
clipBehavior: Clip.antiAlias,
clipper: MyClipper(),
child: Container(
color: Colors.red,
width: 200.0,
height: 200.0,
),
),
),
);
}
}
class MyClipper extends CustomClipper {
@override
Path getClip(Size size) {
final path = Path();
path.addOval(Rect.fromLTRB(0, 0, size.width, size.height));
path.close();
return path;
}
@override
bool shouldReclip(MyClipper oldClipper) => false;
}

hai @ferhatb  i already tried using your clipper sample  and its working. This is my custom clipper :
@override
  Path getClip(Size size) {
    print(size.width.toString());
    print(size.height.toString());
   var path = Path();
    path.lineTo(0.0, size.height - 30);

    var firstControlPoint = Offset(size.width / 4, size.height);
    var firstPoint = Offset(size.width / 2, size.height);
    path.quadraticBezierTo(firstControlPoint.dx, firstControlPoint.dy,
        firstPoint.dx, firstPoint.dy);

    var secondControlPoint = Offset(size.width - (size.width / 4), size.height);
    var secondPoint = Offset(size.width, size.height - 30);
    path.quadraticBezierTo(secondControlPoint.dx, secondControlPoint.dy,
        secondPoint.dx, secondPoint.dy);

    path.lineTo(size.width, 0.0);
    path.close();

    return path;
  }

it will make half circle in bottom. But i think it's caught exception


Macro: preview window of macro structure changes size in micro mode

Steps to Reproduce

Switch to macromolecules
Place multiple peptides on canvas and bond them
Hit snake mode button
Switch to micro molecules and hover over peptide

Actual behavior
Preview window shrinks
Expected behavior
Preview window doesn't change its size after switching modes
Screenshots

Test added to automation table.


fix Added copy of HTTP_ROUTE to the metrics attribute

Which problem is this PR solving?
There is no way to set http.route for metrics
Short description of the changes
Added copy from span of HTTP_ROUTE attribute. It is low cordiality attribute, which is very useful on metrics.

@pichlermarc thank you. So, I will purpose an mechanic to add custom attributes for metrics in another PR.
It is very strange for me, that http.route is not applicable to client metrics. It is very common pattern to has low cordiality label on request duration metric (to determine on "where does the request goes").


Unable to find cursor with id using CosmosDB Microsoft Azure database, SSL on

Version with error tested: 3.2.0, 3.2.1, 3.2.2
Version that works tested: 3.1.13
nodejs version: v10.5
Error stack:
MongoError: Unable to find cursor with id: 1
    at Connection.<anonymous> (/workspace/antoine/mongotest/node_modules/mongodb-core/lib/connection/pool.js:443:61)
    at Connection.emit (events.js:182:13)
    at processMessage (/workspace/antoine/mongotest/node_modules/mongodb-core/lib/connection/connection.js:364:10)
    at TLSSocket.<anonymous> (/workspace/antoine/mongotest/node_modules/mongodb-core/lib/connection/connection.js:533:15)
    at TLSSocket.emit (events.js:182:13)
    at addChunk (_stream_readable.js:283:12)
    at readableAddChunk (_stream_readable.js:264:11)
    at TLSSocket.Readable.push (_stream_readable.js:219:10)
    at TLSWrap.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)

how to reproduce?

Create a cosmosdb database with one collection with partitioning activated
One shard_key per collection, e.g.: shard key field name -> shard_key
Insert/update documents, at least 101 documents
Find documents

If you only find documents there is no error.
I tested with less than 100 documents and there was no error. So this is really a cursor problem, once we need to fetch more results the query fails.
Code to reproduce the error

Hi @antoinogomez, are you able to reproduce this error against a real MongoDB instance?
You might not be aware of this, but CosmosDB only emulates MongoDB and therefore suffers from these types of bugs and inconsistencies. Unfortunately, we do not support CosmosDB, so we will not be fixing this cursor problem unless it is actually a bug in MongoDB.
Have you heard of Atlas? It's our database-as-a-service, similar to CosmosDB but backed by real MongoDB servers. You can try to reproduce this bug against Atlas if you'd like and we can provide you with credits to test for free.
Please let me know if you'd like to try Atlas and I will send you the promo code!

@kvwalker OK I understand your position and I am willing to get the free credits to try to reproduce on Atlas. Thank you.

Great! The code is REALMONGO.

It's of course working fine with MongoDB Atlas, I was not expecting to have any problems. I will try to contact and escalate this issue to the CosmosDB team.


Use trimpath in build command

add this:
-gcflags="-trimpath=$GOPATH/src" -asmflags="-trimpath=$GOPATH/src

to remove excessive path information from debug messages

$GOPATH can be a concatenated list of paths. Use a different way.


SiteURL must be set

Hi,
I've deployed successfully the services behind a Traefik reverse proxy.
Just a question about the mattermost-app service logging this at startup:
{"level":"error","ts":1585862062.7405176,"caller":"app/server_app_adapters.go:129","msg":"SiteURL must be set. Some features will operate incorrectly if the SiteURL is not set. See documentation for details: http://about.mattermost.com/default-site-url"}

Is there an environment variable that can be set somewhere which is not described in the docs?
Thanks in advance for your answer!

Hey Matthias,
Thanks for your response.
Unfortunately, when setting this env, the app container does not start..

It seems that when config.json changes, the app container does not go back up.

Same problem. Adding the public url setting to the appconfig does prevent the server from replying to traefik.

I made some research. The public URL check is done in Mattermost by calling schema://mattermost-domain.tld/api/v4/system/ping. When I enter this in my browser I get a response. However in the docker container I can't reach this URL.

I managed to get a valid URL by setting it in the config.json (and ignoring the validation error).


Blender Drone application

production code is in the side branch 'rashid/drone_apl', instructions on usage provided in the readme.md


Update service to ESM and WDIO v8

Description
This started as a small experiment to make some changes locally to update the service. I figured it may be a good idea to update this to use ESM as well as Node v18 since it's the latest LTS at this time.
Leaving this up as a draft to get some initial thoughts. I'm not particularly opinionated as to the direction this should go either. Will need to do additional testing so that everything is compatible, but hopefully some of these changes help 🙂
Checklist

[ ] Unit/Integration test added (if applicable)
[ ] Documentation added/updated (wiki or md)
[x] Code style is consistent with the rest of the project

@dons20 thanks for taking a stab at it. Happy to help if needed.

Haven't forgotten about this one, I had some major PC issues. SSD failed but I got it replaced. Will have some changes out soon again.

Hey @dons20 , thanks for all your work so far! Let me know when you think this is ready for review!

Will do, I only have to retest the test directory with these new changes. Everything else should be done

Back at it, pushed some of my changes, and I'll have some more incoming soon. Trying to get the local build and tests working fully.

Awesome, looking forward to the changes. Let me know when I can review something.

I'm pretty happy with the results so far, and I think most of this can start to be reviewed, but you can let me know if I should take this out of draft yet. I still have these items on my todo list:

Fixing failing unit tests and verify coverage is displaying correctly
Fixing WDIO config so that it connects in its integration tests
Updating CJS directory to output the necessary cjs module (I took inspiration from some other services which implemented this such as wdio-nuxt-service)
Verifying output from build

Thanks for reviewing! Will go through the comments shortly

@dons20 any updates or anything I can help with?

No updates yet, had a couple of busy weeks but I will make some updates in the coming days 🤞🏾

Would it help if I separated out the upgrade from v7 to v8 to fix the CI pipeline added in #132?

@seanpoulter If that is something you can manage in a short period of time, then feel free to

It's probably no surprise but the update from v7 to v8 requires loading the ES Module @wdio/logger from the CJS code. I don't know how to do that as a concise change. :facepalm:
Let me know if there's anything else I can do to help.

Totally understand. I'm pushing some changes within this weekend, hopefully it will advance this PR much further so it can cover all the concerns.

So recently I've been working on the unit tests as they were tricky to get started. After much debugging I had realized that one file was blocking the others from executing. Once I commented some of those tests, the others started running and I was able to fix the failing ones. There are about 20 to resolve on the unit tests side.
I'll continue chipping away at it in the coming days whenever I can find time. Just keeping everyone in the loop.


Add option in nix-ld module to load all libraries installed in the system

Right now, the programs.nix-ld.libraries option allows me to add packages to nix-ld… but this is really tedious to maintain this list. For instance, here is the list I currently maintain:
  programs.nix-ld = {
    enable = true;
    libraries = with pkgs; [
      # List by default
      zlib
      zstd
      stdenv.cc.cc
      curl
      openssl
      attr
      libssh
      bzip2
      libxml2
      acl
      libsodium
      util-linux
      xz
      systemd

      # My own additions
	    xorg.libXcomposite
      xorg.libXtst
      xorg.libXrandr
      xorg.libXext
      xorg.libX11
      xorg.libXfixes
      libGL
      libva
      pipewire
      xorg.libxcb
      xorg.libXdamage
      xorg.libxshmfence
      xorg.libXxf86vm
      libelf

      # Required
      glib
      gtk2

      # Without these it silently fails
      xorg.libXinerama
      xorg.libXcursor
      xorg.libXrender
      xorg.libXScrnSaver
      xorg.libXi
      xorg.libSM
      xorg.libICE
      gnome2.GConf
      nspr
      nss
      cups
      libcap
      SDL2
      libusb1
      dbus-glib
      ffmpeg
      # Only libraries are needed from those two
      libudev0-shim

      # needed to run unity
      gtk3
      icu
      libnotify
      gsettings-desktop-schemas
      # https://github.com/NixOS/nixpkgs/issues/72282
      # https://github.com/NixOS/nixpkgs/blob/2e87260fafdd3d18aa1719246fd704b35e55b0f2/pkgs/applications/misc/joplin-desktop/default.nix#L16
      # log in /home/leo/.config/unity3d/Editor.log
      # it will segfault when opening files if you don’t do:
      # export XDG_DATA_DIRS=/nix/store/0nfsywbk0qml4faa7sk3sdfmbd85b7ra-gsettings-desktop-schemas-43.0/share/gsettings-schemas/gsettings-desktop-schemas-43.0:/nix/store/rkscn1raa3x850zq7jp9q3j5ghcf6zi2-gtk+3-3.24.35/share/gsettings-schemas/gtk+3-3.24.35/:$XDG_DATA_DIRS
      # other issue: (Unity:377230): GLib-GIO-CRITICAL **: 21:09:04.706: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed

      # Verified games requirements
      xorg.libXt
      xorg.libXmu
      libogg
      libvorbis
      SDL
      SDL2_image
      glew110
      libidn
      tbb

      # Other things from runtime
      flac
      freeglut
      libjpeg
      libpng
      libpng12
      libsamplerate
      libmikmod
      libtheora
      libtiff
      pixman
      speex
      SDL_image
      SDL_ttf
      SDL_mixer
      SDL2_ttf
      SDL2_mixer
      libappindicator-gtk2
      libdbusmenu-gtk2
      libindicator-gtk2
      libcaca
      libcanberra
      libgcrypt
      libvpx
      librsvg
      xorg.libXft
      libvdpau
      # ...
      # Some more libraries that I needed to run programs
      gnome2.pango
      cairo
      atk
      gdk-pixbuf
      fontconfig
      freetype
      dbus
      alsaLib
      expat
      # Needed for electron
      libdrm
      mesa
      libxkbcommon
      # Needed to run, via virtualenv + pip, matplotlib & tikzplotlib
      stdenv.cc.cc.lib # to provide libstdc++.so.6
      pkgs.gcc-unwrapped.lib # maybe only the first one needed

      # needed to run appimages
      fuse # needed for musescore 4.2.1 appimage
      e2fsprogs # needed for musescore 4.2.1 appimage
      fribidi # needed for xournalpp (nightly 08/11/2024)
      librsvg # needed for xournalpp (nightly)
      ibus # needed for xournalpp (nightly)
    ];
};

and I need to add new entries everytime I try to run a new package (I'm fighting right now again to make xournalpp's nighly run locally…).
It would therefore be great to add an option that automatically adds all packages/libraries installed globally (or as a transitive dependency of an installed package), so that I don't need to worry too much about adding new entries here (or only really specific and rare ones). This option may accept a boolean like true to enable, or a function taking a list of all derivations that would be added, so that we can filter them if we want to add/remove some.
Pinging some people that modified this file in the past or are related to nix-ld:

@SuperSandro2000
@Mic92

Add a :+1: reaction to issues you find important.

I'll be completely honest with you, this is a very bad decision. nix-ld was designed to help simplify the execution of apps that would require some form of wrapping/rebuilding to work in Nix/NixOS. It's a great tool to use when you want to avoid headaches, but you've genuinely used it too far. NixOS is not intended to be used in this manner, because this is really only adding a headache for you, the user. At this point you would generally be better off using a standard FHS distro and avoiding NixOS/NixOS entirely.
I dont mean this in a disrespectful way at all, just want to point out that this is really making more work for you than its worth, and would cement a very bad practice for NixOS users by encouraging this usage. You're practically ditching all the benefits of NixOS and Nix by proxy, to try and make FHS-compliant things work this way. It's really no different than just using any other distro with its package manager.

it would also be easier to load incompatible libraries this way and produce very hard to debug errors.

I use libraries from steam-run, which covers all my needs.
libraries = [(pkgs.runCommand "steamrun-lib" {}
  "mkdir $out; ln -s ${inputs.pkgs.steam-run.fhsenv}/usr/lib64 $out/lib")];

@Frontear Can you please not tell people how they should or should not use NixOS?
Not everyone has "Nix packaging" in it's pure form as a hobby and sometimes just need to get work done and get on with their live. I noticed the same line communication also in other places. nix-ld is an optional module and you don't have to use it if you don't like.
@tobiasBora I cannot think of an easy to way to inject all runtime libraries into your system closure. Nix only knows about system dependencies but runtime dependencies are figured out during the build. And as @SuperSandro2000 noted, we will likely have libraries in different versions in our NixOS closure that will be not compatible with each other. So an automatic approach that just pulls in all libraries will likely not work. i.e. if someone mixes nixpkgs unstable and stable they can end up will crash very likely.
However there might be ways to analyze binaries with tools like lddtree and feed the input into nix-index to generate a better list. Since nix-index will likely report multiple hits for a package, I would use some sort of page rank algorithm to prefer packages that have more dependent packages. However this tool would be something that would generate the code rather to be imported in your NixOS configuration than a magic NixOS option, hence nixpkgs might be not the best place to start with it.

@Frontear Can you please not tell people how they should or should not use NixOS?
Not everyone has "Nix packaging" in it's pure form as a hobby and sometimes just need to get work done and get on with their live.

I regret that this is how my comment came across, but I won't try to discredit how someone could have felt reading it. I apologize for how my comment came off, and I offer my apologies to the original poster and anyone else who felt upset or offended by what I had said. I most certainly did not intend to be rude, disparaging, and discouraging of other people's choices, despite that I acknowledge that my intent does not translate across the text, nor does it diminish the hostility and hurt someone could feel from it.

@Frontear Can you please not tell people how they should or should not use NixOS?
Not everyone has "Nix packaging" in it's pure form as a hobby and sometimes just need to get work done and get on with their live.

I regret that this is how my comment came across, but I won't try to discredit how someone could have felt reading it. I apologize for how my comment came off, and I offer my apologies to the original poster and anyone else who felt upset or offended by what I had said. I most certainly did not intend to be rude, disparaging, and discouraging of other people's choices, despite that I acknowledge that my intent does not translate across the text, nor does it diminish the hostility and hurt someone could feel from it.

I don’t see the issue with anything you said, if anything the comment after was unnecessary 🤷♂

Thanks for your answers.
Regarding @Frontear's comment, I love NixOs, but there are many cases where the "nix way" is just not practical. E.g. just try to develop with npm/java/… or any other language that likes to download pre-built binaries. I could certainly try to find a way to package each dependency, but nix-ld is really practical to do a rapid prototyping before losing time on packaging. You can't imagine how much time I saved thanks to nix-ld, and in my opinion a good distribution must also be practical, not just beautiful theoretically. Similarly, testing a nightly-build package/a package not yet present in nixpkgs is impossible to do without nix-ld or losing 40mn (if not more) just to see how to package it properly. Finally there are some software maintainers that ask you to test their software with the binary they provide to be sure the bug is in their software and not in the way it was packaged… yet another use case for nix-ld. Yet, if you don't like nix-ld you can still disable it while understanding that some users may have a use-case for it.
@Mic92  thanks, collisions and incompatibilities are indeed interesting questions, that's also why I proposed to add a filter function to manually remove possibly conflicting libraries. Another solution could be, maybe, to take the newest version of each library by default, or something along this line… Or maybe to manually hardcode a large list of common libraries if it's too hard to do? Steam could indeed be a good starting point. (Or both approaches are maybe not incompatible)

Regarding @Frontear's comment, I love NixOs, but there are many cases where the "nix way" is just not practical.

The way I see it, a Linux distribution is a tool that is good for a job. Sometimes a tool just isn't suitable for a job, and that's okay.
To me nix-ld in its current state provides a reasonable compromise between following "the nix way" and still providing some utility where "the nix way" is more of a curse than a benefit. However the ideal solution would always be proper packaging of binaries.

Or maybe to manually hardcode a large list of common libraries if it's too hard to do? Steam could indeed be a good starting point.

I feel like this could end up as a bikeshedding exercise where people argue over what the common libraries to be included are.

@tobiasBora you can create a list of libraries one would get if installing one of the big desktop environments. One can assume that this wouldn't cause a lot of extra downloads because it's already in the runtime closure. Alternatively package manager such as flatpack also have a base set of libraries they provide, I believe.


Double or CGFloat?

Your extension is working great, Just one thing I curious here...
    @IBInspectable var cornerRadius: Double {
        get {
            return Double(self.layer.cornerRadius)
        }
        set {
            self.layer.cornerRadius = CGFloat(newValue)
        }
    }

Can we use CGFloat instead of Double like this?
    @IBInspectable var cornerRadius: CGFloat {
        get {
            return self.layer.cornerRadius
        }
        set {
            self.layer.cornerRadius = newValue
        }
    }

Should be some reason there?
Thanks

I've kept to using Swift types as half of UIKit is already bad enough filled with CGFloats!
If you want to assign a CGFloat to a Double you can just do:
let value: CGFloat = 1.0
view.cornerRadius = Double(value)

Cool, My next question would be why Double instead of Float? (Sorry for noobs question, I got plenty)

CGFloat is a Double on 64-bit platforms, so using this means precision will never be lost.


Fix clappr-stats dependencies

So today clappr-stats use clappr as dependecy, if you create any project and add these dependencies the node_modules folder will contain two clappr, one in root and other in clappr-stats.
node_modules > clappr
node_modules > clappr-stats > node_modules > clappr
This issue only occur when clappr version is different that clappr specified in clappr-stats (package.json)

Can someone else review this too? @clappr/core

👍 I think it would be good to also add as a peerDependency so the user gets a warning if they dont have clappr listed on the top level project

Good idea @thiagopnts, done!


add retrying of a Runnable

I got the same problem like #64 .   Dan Lew doesn't suggest the dynamic versions for dependencies.
check this: Don't use dynamic versions for your dependencies
I think guava-retrying should release a new version like 3.0 or something that only support jdk 1.8. So guava-retrying can depends on a fixed version of guava, like 21.0.
leave the 2.0 version depends on a fixed version of guava, like 10.0 or 20.0.


torch cheatsheet update and fr translation

Contributed Cheat Sheet Information
Cheat Sheet Name:  torch
This is an update to the {torch} cheatsheet, adding the [fr] translation
Your Name (as you want to be credited on the website):  Christophe Regouby
A link to relevant package documentation (optional):  torch.mlverse.org
Date created/updated (Month YYYY format):  2023-02
Please be sure you've included the Creative Commons License:

[x] Add CC-BY-SA Your Name to copywrite under the Creative Commons on the cheat sheet

Check that you have done the following:

[x] Used descriptive file names, something like package-name.pdf or task-name.pdf and did not include "cheat sheet" in the title.
[x] Included a PDF file of entire cheat sheet.
[x] Included a PNG file of the first page size 1100 x 850 in the pngs folder (for the website thumbnail).
[x] Included a Keynote or PowerPoint or similar file in the relevant folder (helps translators who want to translate your cheat sheet).

Translated Cheat Sheet Information
Cheat Sheet Name:  torch
Language:  FR
Your Name (as you want to be credited on the website):  Christophe Regouby
Date created/updated (Month YYYY format): 2023-02
Check that you have done the following:

[x] Added the language abbreviation to the file name (ex. data-transformation_es.pdf).
[x] Included a PDF file of your translated cheat sheet to the translation folders.
[x] Included a Keynote or PowerPoint file for your translated cheat sheet to the translation folder.
[x] Not duplicated an existing translation. If an existing translation exists, I have edited it.

Hello @mine-cetinkaya-rundel
Is there something I shall do on this P.R. for the cheatsheet to be merged ?
Thanks a lot

Hello @mine-cetinkaya-rundel
Is there anything I could do to help on this P.R. ?

Hello @mine-cetinkaya-rundel,
Is there anything I can do to help merging on this P.R. ?
There is a torch tutorial in few weeks at RencontreR 2024 in Vannes FR, and I would love the two sheets to be in !
Please let me know.

I can do this one a bit ahead of others, will be working on the rest before posit conf. Will update here in the next few days, before next week.

Thanks a lot if you can do it a bit ahead !


LNZInfiniteCollectionViewLayout: fix crash when rotating iPad

Hi @gringoireDM,
thanks for your work on this awesome library.
This PR fixes a very frequent crash that occurs when rotating iPads from portrait to landscape mode while the infinite scrolling is going.
Please check the screenshot below, the problem occurs when relativeInitialX and relativeFinalX grow too big, while the lastIndex is capped by min() , firstIndex is not. So as in the example we got an invalid range (5...3), and thus the crash.
Please check this PR when you can, thank you.
Can't form Range with upperBound < lowerBound

Thank you for your contribution


Records instead of classes

Coverage increased (+0.2%) to 78.49% when pulling ef00f93b6d36c4238d1dcf79c4e829e9ba65ba45 on net5_refactors into bbcfe5c939d6e4500fb4ebeca1f28bfe8e40f208 on main.


Mimic UI fails to load because of invalid MIME type

Using mimic-remote
Fails in Chrome with the error:
Refused to execute script from 'http://localhost:5000/mimic.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
Fails in Safari:
Did not load script at 'http://localhost:5000/mimic.js' because non script MIME types are not allowed when 'X-Content-Type: nosniff' is given. Global Code — localhost:13
Fails in Safari:
Loading failed for the <script> with source “http://localhost:5000/mimic.js”.

Thanks, will look into this


Add separate api version for disks and snapshots

Can one of the admins verify this patch?

@bganapa, @seyadava


Hints for latency reduction

Hi,
I'm doing some experiments about your BNN implementation.
Question 1:
In your opinion, could be possible to use a "non-square dimension" input image with the appropriate code changes(I think stream sizes, PE, SIMD, etc.. values)? For example, an input image of 32x16 in cnvW1A1 network.
Question 2:
Running the script cifar10-gen-weights-W1A1.py I note that if I duplicate the "PE counts" of a layer (eg. the first convolutional layer) the latency of this layer is reduced by 50%.
Since I need to leverage this latency reduction, what is it necessary to do so that the network works fine?Weights and thresholds parameters must be regenerated?Or whatever?
Thanks a lot for your help!
Sara

Hi,

It's possible to have non-square feature maps, but that required changes in the HLS library.
Each layer has a latency which is estimated when generating the config.h file. The overall latency of the network is related to the sum of the latencies of each layer, while the throughput depends on the maximum latencies among all layers. If you change SIMD and PE, you will need to regenerate the HW, load the new generated parameters and re-make the .so.

Hope this helps.


chore(blockifier): remover only_qury from IvokeTxArgs

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2437  👈 (View in Graphite)
#2431
#2429
#2428 : 1 other dependent PR (#2354 )
#2412
#2377
#2331
main

This stack of pull requests is managed by Graphite. Learn more about stacking.