[FLINK-5698] Add NestedFieldsProjectableTableSource trait

add extraction of RexFieldAccess method
complete PushProjectIntoBatchTableSourceScanRule with new interface

Thanks for contributing to Apache Flink. Before you open your pull request, please take the following check list into consideration.
If your changes take all of the items into account, feel free to open your pull request. For more information and/or questions please refer to the How To Contribute guide.
In addition to going through the list, please provide a meaningful description of your changes.

[ ] General

The pull request references the related JIRA issue ("[FLINK-XXX] Jira title text")
The pull request addresses only one issue
Each commit in the PR has a meaningful commit message (including the JIRA id)

[ ] Documentation

Documentation has been added for new functionality
Old documentation affected by the pull request has been updated
JavaDoc for public methods has been added

[ ] Tests & Build

Functionality added by the pull request is covered by tests
mvn clean verify has been executed successfully locally or a Travis build has passed

Should we test the NestedFieldsProjectableTableSource in unit test?

Hi @tonycox , thanks for this PR.
It seems that you are using column names to represent the (nested) fields that are projected. I'm afraid that it can't work when the composite columns have the same nested field name. Such as a table schema student<name, age>, teacher<name, age>, and the projected fields are name, age, we can't determine whether the name is student.name or teacher.name.
IMO, we can use the full qualifier column names with . separator to represent the (nested) fields. For the above example, the projected fields could be student.name, teacher.age. And then we can use it to do nested field projection push down.
What do you think ?
Thanks,
Jark Wu

Hi @wuchong
Thank you for excellent advice

Hi @fhueske I've addressed all comments

@fhueske What dou you think about this PR?

Hi @tonycox, thanks for the update!
I'll do some minor improvements and will merge the PR.
Thank you,
Fabian


subtle difference between .plain.html and extensionless of self-referential links

https://main--aem-boilerplate--adobe.aem.page/footer produces
 Cookie preferences

and https://main--aem-boilerplate--adobe.aem.page/footer.plain.html
Cookie preferences

i think the extensionless rendition is more desirable, particularly in fragments.
if we would change this, it is technically breaking and it could be interesting to scan content for self-referential resources that access .plain.html just to be gauge potential impact.

if we would change this, it is technically breaking and it could be interesting to scan content for self-referential resources that access .plain.html just to be gauge potential impact.

how would you do this?

@tripodsan thanks for the scan. it seems pretty rare to get self-referential that are used as fragments. i will proactively approach projects that have are highly likely to have to used self-referential links in "fragment" use-cases.


Dot location rule

ESLint has a rule to enforce dot location: http://eslint.org/docs/rules/dot-location
For example:
var foo = object
  .property;

vs
var foo = object.
  property;

It seems like a code style rule that should be part of JSCS.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/25203357-enforce-dot-location?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github).

JSCS did it first: http://jscs.info/rule/disallowOperatorBeforeLineBreak.html :)
That should suffice. There's a require counterpart as well.


Use hex formatting for bytes

This resurrects the formatting of bytes as hex using a fork of rust-protobuf. That was removed recently when we updated rust-protobuf.
PTAL @BusyJay @Hoverbear

I don't think you need to update this repository to get the functionality back. The original patch doesn't modify raft-rs either.

The original patch doesn't modify raft-rs either.

The original patch had impls for Raft in kvproto. We need to have the impls for Raft somewhere and if we don't make this update, then we need replace/patch wherever we want to use Raft proto and kvprotos together (i.e., at the moment in TiKV and kvproto). So, there is a trade-off having other Raft users use mainline rust-proto vs nicer Cargo.tomls for TiKV and kvproto. @BusyJay which do you prefer?
My adaption of the original patch has all the impls in the rust-proto fork, rather than some there and some in kvproto (I reasoned it was better to have all the changes in one place if we are already going to have a fork), so it doesn't make sense to have impls in kvproto.

I think it's a bad idea to make it follow the format what TiKV prefers instead of a standard one. The whole point of make raft a standalone library is to make it generic enough for other usage, so I would prefer not touching the raft crate and do all the magic somewhere else. For example, how about still let raft crate impls special trait, but only enable it in kvproto (using some flag etc.)?

OK, let's close this PR and use crate replacement in KvProto and TiKV.


Fix script + UnitTests (pytest) + CI (Github-Action)

Fixing import for using ModernGL in scripts.
Adding unit tests with Pytest + xvfb + fakefilesystem and simple images comparaison.
Adding a very simple CI with github-action (using flake8 and pytest).

I got access to this repo now. Will look at it very soon.

To integrate this PR, you have to change the badge url in README.md to link to this repo (not mine :p)

I'm playing with a simple guide for Ubuntu 18 server as well using egl or x11 (and xvfb). Messing around in a VM atm.

Thank you. I'll tweak the remaining things.


Nick: Watch fpxlabs.com

Nick requests the watch of the watch_keyword fpxlabs\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

fpxlabs\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


This repository is unmaintaned.

Hi, this repository looks unmaintained.
Last commit is 2 years ago and there are several waiting pull requests.
That's fine.
Looking at insights/network I see some amazing work by many, many people, even lately by @aleksraiden and @jrcichra on their forks.
Would you be interested, and would it be possible to add maintainers to this repo, so people can contribute upstream and release new docker images?
I think fabio is a great and simple project and would be great for it to grow.
Thanks.

Hi Kamicuk, thank you for the comments. This project is indeed in need of more attention. The current maintainers (mainly @nathanejohnson and myself) took over maintenance from the original author of the project back in 2020 (https://github.com/fabiolb/fabio/issues/735). At that time the company we both worked for actively used Fabio in production. Since then that company was acquired and absorbed.
We would absolutely welcome new maintainers to continue the project.

✋
I only really use Fabio on personal projects but willing to offer some time to keep updates and PRs moving.

@aaronhurt can we get @tristanmorgan access?

I think that can be done! Thank you @tristanmorgan and @ketzacoatl let me make you contributors.

Thank you @aaronhurt

@tristanmorgan @ketzacoatl I know I've been awol from fabio for a while now, and some of that is due to me no longer working for ENA and not using fabio at the new place (we're all AWS), but also some of that is due to the fact that in my new job part of my duties is writing closed source proxies in go and I don't want to muddy the waters about who owns what IP.  That said, I've done the last several releases of fabio, and if you'd like any help from a high level on doing releases, please feel free to ping me and I'll assist in any way that I can.
Glad to see new faces as maintainers!

I sent invites to you to join the maintainers group.

@aaronhurt, my apologies, I was too slow to get to the invite and accept it before it expired, can you resend? thank you :)

I think its time for a new point release. Can I ask @nathanejohnson or @aaronhurt please?

Yes, that  can be done. I'll have time this weekend to push a release.

I sent invites to you to join the maintainers group.

@aaronhurt, my apologies, I was too slow to get to the invite and accept it before it expired, can you resend? thank you :)

Sorry, @ketzacoatl, I just noticed this. I re-sent the invite.

@tristanmorgan @ketzacoatl what do you think about creating a small Slack group or something for better synchronous communication?

@tristanmorgan @ketzacoatl what do you think about creating a small Slack group or something for better synchronous communication?

That sounds great.


Speed up flutter web initial load

I have created a web app in flutter and when I try to run it on server it takes too long to load the app the first time but it doesn't have that problem after caching
what are some ways to reduce the initial load time

1 use deferred
2 use cdn to speed up
3 use gzip to reduce the size

Hi @MohammadeMBi
When opening an issue, please try to provide all information indicated in the template so that we can address the issue properly (See bug issue template here)
Closing this issue, since no information has been provided. Once you update the issue with more information, please write in the comments and I will re-open this for further investigation. Thanks!


No longer Generating Product Pages...

Community Store v.1.2
Worked great Friday, Monday I try to add products and I get "HTTP 500 error".
I've rebooted my server and cleared cache. No luck.

Check your logs.  Something changed on the server.  500 usually is caused by permissions but can be any number of things.  The server logs should tell you what happened that caused the 500 error.

I searched for the logs and I found nothing.  I found logs, but none that say anything about the 500 error. I also can add a page using the normal Concrete system. Just not through the shop.

Are you looking in your server logs?  Don't look in C5 that's a server error, not a C5 error.

Yes I am, also having someone from the server help me look for it, they cannot find a 500 error.

There are no 500 errors on my servers logs.

The logs may not say 500 specifically, they are generally more specific.  Your looking for something like permissions denied or something about a module not being loaded.  You want to look in the logs for the web server i.e Apache or Ngenx and the syslogs.  Make the call and note the time then search the logs for any entreaties in the log at that time.  There is an error being thrown and the web server spits out a general 500 because it is not told what the error is for security.

ModSecurity: Warning. Matched phrase "../" at REQUEST_URI. [file "/etc/apache2/conf.d/modsec_vendor_configs/OWASP3/rules/REQUEST-930-APPLICATION-ATTACK-LFI.conf"] [line "34"] [id "930110"] [rev "1"] [msg "Path Traversal Attack (/../)"] [data "Matched Data: ../ found within REQUEST_URI: /shop/cart.php?a=test&templatefile=../../../../../../../../../etc/passwd\\x00"] [severity "CRITICAL"] [ver "OWASP_CRS/3.0.0"] [maturity "9"] [accuracy "7"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-lfi"] [tag "OWASP_CRS/WEB_ATTACK/DIR_TRAVERSAL"] [hostname "mdi.mdius.com"] [uri "/shop/cart.php"] [unique_id "WX4x1aQBOOddUOiH58Z7ZQAAAMs"]
Could this be it? It is the only thing the server support found. I cannot find the syslog at all, but I've looked through all the Apache logs.

Maybe but probably not its a warning not a error.

If its a permissions error it would look something like this. (13)Permission denied: httpd: could not open error log file /home/test/apache/domain1.com/logs/error.log.
Unable to open logs

Looking at that a little closer it dose say [severity "CRITICAL"] it might be the thing causing the issue it looks like it does not like something in the request.  It looks like it thinks your trying a Path Traversal Attack.  I would look deeper into this and see why ModSecurity is throwing that warning.

I just cannot find anything else. I have no idea where to look for an other logs.
I have no idea how to see why ModSecuirty is throwing that warning.
But I do thank you for all your help.

Mod Security is trowing that warning because the url for some reason contains ../ in it.

The /shop/chart.php is confusing me. There is no /shop/ anyplace. It was my old URL.

If that is not a C5 call then that error is not related.
I don't know your hosting environment and this is an issue with the host not C5.  Something on the host changed, if you have made no edits to the code.  If there is a chance someone made a code change then I would look into that.
Have you tried installing a fresh copy from scratch for testing?  Do you get the same behavior on the same host with a different install?  If the test install works then what is different in the settings?  If it does not I would be talking to my host about what changes they made to the server.
Other than that advise I'm not sure what else anyone here can help you with since it appears to be a host issue.

I have a backup server to test things on, I'll have to get this set up tomorrow to use. I'll post how that goes.

I would try to trigger the 500 error and then ask your host to check the Mod Security logs again. Normally mod sec blocks throw 403 or 404 errors, but there's a chance here that mod security has been updated with new rules on the server and doesn't like something about the product save request
I'd also look at your .htaccess file to check if anything has changed there, like the PHP version.

I did trigger the 500 error when I was talking to them. But the code I added seemed to be from something else that does not exist anymore. I switched my php version to 7.0 from 5.6 to test it and it caused the same error, so I changed it back and still the same thing.
I checked my .htaccess file and nothing changed in this either. I'm still working on the backup site.

Well, this is interesting. I solved this issue.
Product Name:
High Temp Float Switch - 10 Foot - 225°F/107°C - Normally Open - Intermediate Angle
The issue is the ° sign. I removed those and it worked flawlessly.

The filtering of characters when pages are created should be handled by concrete5's own code, but I could wrong about that, maybe a page title needs some further filtering before being used in the API call.   What happens when you try to create a page with the degrees symbol in the page name normally?

Well I usually use the ° statement, but it converts it to the raw character in Concrete, so it looks like an ALT+0176 ( ° ). So I assume it is just trying to put the ° in the URL and crashing.


AssertionError on class

cppclean fails on
class SharedCount {
        friend inline bool operator==( SharedCount const & a, SharedCount const & b )
        {
            return a._pi == b._pi;
        }

};

with
$ cppclean --verbose SharedCount.h
Processing SharedCount.h
Traceback (most recent call last):
  File "/usr/bin/cppclean", line 145, in <module>
    sys.exit(main())
  File "/usr/bin/cppclean", line 120, in main
    entire_ast = list([_f for _f in builder.generate() if _f])
  File "/usr/lib/python2.7/site-packages/cpp/ast.py", line 668, in generate
    result = self._generate_one(token)
  File "/usr/lib/python2.7/site-packages/cpp/ast.py", line 692, in _generate_one
    return method()
  File "/usr/lib/python2.7/site-packages/cpp/ast.py", line 1261, in handle_class
    return self._handle_class_and_struct(Class, 'class')
  File "/usr/lib/python2.7/site-packages/cpp/ast.py", line 1258, in _handle_class_and_struct
    return self._get_class(class_type, None)
  File "/usr/lib/python2.7/site-packages/cpp/ast.py", line 1512, in _get_class
    body = list(ast.generate())
  File "/usr/lib/python2.7/site-packages/cpp/ast.py", line 668, in generate
    result = self._generate_one(token)
  File "/usr/lib/python2.7/site-packages/cpp/ast.py", line 692, in _generate_one
    return method()
  File "/usr/lib/python2.7/site-packages/cpp/ast.py", line 1320, in handle_friend
    assert result
AssertionError

Just out of curiosity, why is this member function declared as a friend? Typically, you would specify a friend function. That function would be a free function (outside of the class).

Hello,
Thanks for the bug report. This is now fixed :)

Fix confirmed!


Consider handling onClick on next/link elements

Currently next/link will ignore onClick props set on <Link> or contained  elements:
import Link from 'next/link'

const customHandleClick = () => console.log('Free pizza!')

// Somewhere in render-land

<Link href='/' onClick={customHandleClick}>
  No free pizza :(
</Link>

<Link href='/'>
  No free pizza :/
</Link>

Clicking either of those two links will not call the customHandleClick function.
This is because the onClick handler of the contained  tag is overridden by the next/link implementation here.
If this were to be changed a good way would be checking for, and calling, the onClick prop passed to the <Link> element as part of its internal click handler. See react-router’s Link element for inspiration.
Why I would consider changing this: onClick handlers on links can be useful for various things, but mostly I didn’t expect that the onClick wasn’t being called at all. I’ve added support for this to my custom Link element, but I think onClick "should just work".

This is not a good API generally. Because it's not sure what you could do with that handler since the page is already changing to the new route.
I get the point of onClick and why you need to use that.
That's why we've the next/router API.  What about all the great things declarative next/link elements do that the next/router API doesn’t do? Anyway, @janv helped me find a wicked way to prevent onClick from being overwritten and still being able to use next/link, so I’ll do that 😄

Not a good API generally is: Silently overriding mechanisms of an established API, subverting users expectations and preventing default behavior.
Consider a solution like this (in <Link/>):
linkClicked(e){
  const child = Children.only(this.props.children)
  if (child.props.onClick) child.props.onClick(e)
  if (e.defaultPrevented) return
  // do your thing ...
}

render(){
  // irrelevant parts omitted ...
  const child = Children.only(children)
  const props = {
    onClick: this.linkClicked
  }
  return React.cloneElement(child, props)
}

@ehd do you mind sharing that wicked way? :)

Courtesy of the great @janv:
import Link from 'next/link'
import React from 'react'

// This is the custom wrapper component you would build and use just like `next/link`:

class MyLink extends React.Component {
  render () {
    const { onCustomClick, ...props } = this.props
    return
  }

  handleClick = event => {
    if (this.props.onClick) {
      this.props.onClick(event)
    }

    if (this.props.onCustomClick) {
      this.props.onCustomClick(event)
    }
  }
}

// This is some example where you would use `MyLink` including a click handler

export default class SomeComponent extends React.Component {
  render () {
    return

      <Link href='/hello'>
        <MyLink onCustomClick={() => alert('lol')}>
          LinkText
        </MyLink>
      </Link>

  }
}

I have another use case with the documentation of Material-UI. I want to close the Drawer right after the user link interaction, waiting for the new page to load. I'm gonna use the component middleware hack for now.

ahh bollocks i couldn't get the wickedness to work...
here's how I'm doing it unsuccessfully:
import Link from 'next/link'; import MyLink from './myLink';
with a good ol
<Link href="/"><MyLink onCustomClick={this.logout}>Logout</MyLink></Link>
he'll I even tried
<MyLink onCustomClick={this.logout}>Logout</MyLink> all by its lonesome and, although slightly different behavior, yielded not this.logout

I too think this should behave naturally, here is my work-around that doesn't need custom component:
<Link href='/hello'>

     {customFuntionCall()}}>
      LinkText

</Link>

Since <Link> adds onClick handler to first children, we can nest them inside each other and use native event bubling. Two thinks to keep in mind - the
 element (or any other in it's place) can't be removed and the custom onClick handler can't call event.stopPropagation() or the <Link> would stop working.
Hope this helps :smile:

This has tripped me up a couple times already. I agree that there needs to be a non-hacky way to attach click handlers to links. Analytics tracking is a common use case. At the very least a warning should be thrown, instead of just silently overriding it.

I would also like to see this issue reopened. In my case I have a dropdown with links, and I want to close the dropdown when clicking on a link. I can get work around it, but proper support for onClick would be nice!

I think this is especially useful if the Link redirects to the same page again.

It can also be useful to show a loader on screen (this.setState({loading: true}) while the other page loads

Here's what I've been doing:
import React, { Component } from 'react'
import Router from 'next/router'

export default class extends Component {
  componentDidMount () {
    Router.prefetch(this.props.url)
  }

  render() {
    const { url, asUrl, children, onClick } = this['props']

    return (
       {
        event.preventDefault()
        onClick && onClick()
        Router.push(url, asUrl)
      }}>
        {children}

    )
  }
}

I'm not sure about performance issues though.

@viniciusCamargo  how are you handling command+click behaviour then?

hey @paschalidi, unfortunately, I'm not handling it, I didn't have the time to try to fix it yet.

@arunoda  what if we have to implement some validations on onClick function before login?

Thanks @ckeeney, your solution worked great for me, but I simplified my span like so: .
One remaining small downside is the event.currentTarget will be a span instead of an a. It'd be awesome if next.js adopted @janv's solution

Should this be reopened?

Guess it should based on the many upvotes.

@julmot it's implemented now: https://github.com/zeit/next.js/pull/4474

It's already out on canary, so re-opening is not needed. https://github.com/zeit/next.js/releases

Thank you all!


SVG optimize: use SVG grouping

As described at  https://www.w3.org/TR/SVG11/struct.html#Groups
as a result, the produced svg document is smaller

see #45


GAWB-3081: Add Codecov

Addresses

https://broadinstitute.atlassian.net/browse/GAWB-3081

See Also

https://github.com/DataBiosphere/consent/pull/253

[ ] Submitter: Include the JIRA issue number in the PR description
[ ] Submitter: Make sure Swagger is updated if API changes
[ ] Submitter: Check documentation and code comments. Add explanatory PR comments if helpful.
[ ] Submitter: JIRA ticket checks:

Acceptance criteria exists and is met
Note any changes to implementation from the description
Add notes on what you've tested

[ ] Submitter: Update RC_XXX release ticket with any config or environment changes necessary
[ ] Submitter: Update FISMA documentation if changes to:

Authentication
Authorization
Encryption
Audit trails

[ ] Submitter: If you're adding new libraries, sign us up to security updates for them
[ ] Tell the tech lead (TL) that the PR exists if they wants to look at it
[ ] Anoint a lead reviewer (LR). Assign PR to LR

Review cycle:

LR reviews
Rest of team may comment on PR at will
LR assigns to submitter for feedback fixes
Submitter rebases to develop again if necessary
Submitter makes further commits. DO NOT SQUASH
Submitter updates documentation as needed
Submitter reassigns to LR for further feedback

[ ] TL sign off
[ ] LR sign off
[ ] Product Owner sign off
[ ] Assign to submitter to finalize
[ ] Submitter: Verify all tests go green, including CI tests
[ ] Submitter: Squash commits and merge to develop
[ ] Submitter: Delete branch after merge
[ ] Submitter: Test this change works on dev environment after deployment. YOU own getting it fixed if dev isn't working for ANY reason!
[ ] Submitter: Verify swagger UI on dev environment still works after deployment
[ ] Submitter: Inform other teams of any API changes via hipchat and/or email
[ ] Submitter: Mark JIRA issue as resolved once this checklist is completed

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@269471c). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop      #92   +/-   ##
==========================================
  Coverage           ?   61.91%
==========================================
  Files              ?       51
  Lines              ?     1410
  Branches           ?      201
==========================================
  Hits               ?      873
  Misses             ?      439
  Partials           ?       98

Continue to review full report at Codecov.

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

closing in favor of https://github.com/DataBiosphere/consent-ontology/pull/93


Update GHSA-6qmf-mmc7-6c2p.json

Add CVE-2023-29337 patch diff

Hi @JarLob, could you explain how you determined the patch fixes CVE-2023-29337?

I looked into the history of the 6.0.x branch looking for the changes made before Jun 13, 2023. The changset makes sense. The advisory mentions that it affects Linux only. The changesets fixes folder permissions.

Microsoft's advisory also says:

A local attacker in the environment could exploit a race condition that allows a symlink attack when the victim user on the same system runs the nuget command.

which the patch appears to be addressing.


Return not found error

The commit fixes a bug where it throws a nil pointer reference when no error or mirrorpeer is returned from the function

/cherry-pick release-4.16
/cherry-pick release-4.15


Issue209 plasma2 d interpolation

The bug was coming from interp_t not being set

Hello @Didou09! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file tofu/data/_core_new.py:

Line 17:1: E402 module level import not at top of file
Line 24:1: E402 module level import not at top of file
Line 25:1: E402 module level import not at top of file
Line 26:1: E402 module level import not at top of file
Line 38:25: E261 at least two spaces before inline comment
Line 38:25: E262 inline comment should start with '# '
Line 47:1: E303 too many blank lines (3)
Line 55:1: E303 too many blank lines (3)
Line 65:18: E231 missing whitespace after ':'
Line 65:29: E231 missing whitespace after ':'
Line 67:22: E231 missing whitespace after ':'
Line 70:22: E231 missing whitespace after ':'
Line 70:32: E231 missing whitespace after ':'
Line 79:5: E303 too many blank lines (2)
Line 80:5: E301 expected 1 blank line, found 0
Line 84:9: E265 block comment should start with '# '
Line 86:9: E265 block comment should start with '# '
Line 87:9: E265 block comment should start with '# '
Line 90:5: E303 too many blank lines (2)
Line 101:9: E265 block comment should start with '# '
Line 112:30: E231 missing whitespace after ':'
Line 113:28: E231 missing whitespace after ':'
Line 114:29: E231 missing whitespace after ':'
Line 125:31: E231 missing whitespace after ':'
Line 125:47: E231 missing whitespace after ':'
Line 143:5: E303 too many blank lines (2)
Line 147:5: E265 block comment should start with '# '
Line 149:5: E265 block comment should start with '# '
Line 151:5: E301 expected 1 blank line, found 0
Line 153:22: E231 missing whitespace after ':'
Line 163:69: E228 missing whitespace around modulo operator
Line 164:61: E228 missing whitespace around modulo operator
Line 164:80: E501 line too long (80 > 79 characters)
Line 165:47: E228 missing whitespace around modulo operator
Line 170:5: E303 too many blank lines (2)
Line 188:80: E501 line too long (82 > 79 characters)
Line 195:80: E501 line too long (80 > 79 characters)
Line 196:80: E501 line too long (80 > 79 characters)
Line 197:80: E501 line too long (80 > 79 characters)
Line 210:44: E231 missing whitespace after ':'
Line 210:56: E231 missing whitespace after ':'
Line 223:50: E228 missing whitespace around modulo operator
Line 235:21: E722 do not use bare 'except'
Line 245:80: E501 line too long (80 > 79 characters)
Line 247:71: E228 missing whitespace around modulo operator
Line 251:45: E231 missing whitespace after ':'
Line 251:59: E231 missing whitespace after ':'
Line 258:46: E231 missing whitespace after ':'
Line 258:59: E231 missing whitespace after ':'
Line 259:47: E231 missing whitespace after ':'
Line 269:20: E271 multiple spaces after keyword
Line 284:80: E501 line too long (80 > 79 characters)
Line 290:50: E228 missing whitespace around modulo operator
Line 301:21: E722 do not use bare 'except'
Line 313:68: E228 missing whitespace around modulo operator
Line 314:60: E228 missing whitespace around modulo operator
Line 315:58: E228 missing whitespace around modulo operator
Line 316:61: E228 missing whitespace around modulo operator
Line 318:80: E501 line too long (81 > 79 characters)
Line 321:61: E228 missing whitespace around modulo operator
Line 322:49: E228 missing whitespace around modulo operator
Line 327:46: E231 missing whitespace after ':'
Line 327:59: E231 missing whitespace after ':'
Line 328:47: E231 missing whitespace after ':'
Line 332:5: E303 too many blank lines (2)
Line 343:66: E228 missing whitespace around modulo operator
Line 348:80: E501 line too long (80 > 79 characters)
Line 352:75: E228 missing whitespace around modulo operator
Line 353:45: E228 missing whitespace around modulo operator
Line 354:59: E228 missing whitespace around modulo operator
Line 355:55: E228 missing whitespace around modulo operator
Line 376:13: E265 block comment should start with '# '
Line 395:5: E303 too many blank lines (2)
Line 419:26: E231 missing whitespace after ':'
Line 419:40: E231 missing whitespace after ':'
Line 429:5: E303 too many blank lines (2)
Line 433:5: E301 expected 1 blank line, found 0
Line 442:5: E265 block comment should start with '# '
Line 444:5: E265 block comment should start with '# '
Line 448:28: E231 missing whitespace after ':'
Line 448:36: E231 missing whitespace after ':'
Line 448:50: E231 missing whitespace after ':'
Line 464:38: E231 missing whitespace after ':'
Line 464:50: E231 missing whitespace after ':'
Line 489:5: E303 too many blank lines (2)
Line 493:5: E301 expected 1 blank line, found 0
Line 502:36: E231 missing whitespace after ','
Line 507:60: E231 missing whitespace after ','
Line 521:25: E231 missing whitespace after ':'
Line 521:33: E231 missing whitespace after ':'
Line 521:57: E231 missing whitespace after ':'
Line 522:23: E231 missing whitespace after ':'
Line 522:31: E231 missing whitespace after ':'
Line 522:53: E231 missing whitespace after ':'
Line 523:24: E231 missing whitespace after ':'
Line 523:32: E231 missing whitespace after ':'
Line 523:55: E231 missing whitespace after ':'
Line 533:5: E303 too many blank lines (2)
Line 541:5: E301 expected 1 blank line, found 0
Line 545:5: E301 expected 1 blank line, found 0
Line 549:5: E301 expected 1 blank line, found 0
Line 553:5: E301 expected 1 blank line, found 0
Line 557:5: E301 expected 1 blank line, found 0
Line 561:5: E301 expected 1 blank line, found 0
Line 565:5: E301 expected 1 blank line, found 0
Line 570:5: E265 block comment should start with '# '
Line 572:5: E265 block comment should start with '# '
Line 577:5: E303 too many blank lines (2)
Line 587:22: E231 missing whitespace after ':'
Line 613:47: E228 missing whitespace around modulo operator
Line 646:5: E265 block comment should start with '# '
Line 646:5: E303 too many blank lines (2)
Line 648:5: E265 block comment should start with '# '
Line 650:5: E301 expected 1 blank line, found 0
Line 681:23: E231 missing whitespace after ','
Line 682:13: E722 do not use bare 'except'
Line 683:23: E231 missing whitespace after ','
Line 692:37: E231 missing whitespace after ','
Line 699:39: E231 missing whitespace after ','
Line 744:5: E265 block comment should start with '# '
Line 744:5: E303 too many blank lines (2)
Line 746:5: E265 block comment should start with '# '
Line 748:5: E301 expected 1 blank line, found 0
Line 748:80: E501 line too long (82 > 79 characters)
Line 770:22: E231 missing whitespace after ','
Line 799:38: E231 missing whitespace after ','
Line 799:42: E231 missing whitespace after ','
Line 800:35: E127 continuation line over-indented for visual indent
Line 801:35: E127 continuation line over-indented for visual indent
Line 805:5: E265 block comment should start with '# '
Line 805:5: E303 too many blank lines (3)
Line 807:5: E265 block comment should start with '# '
Line 810:5: E303 too many blank lines (2)
Line 817:25: E231 missing whitespace after ':'
Line 820:31: E231 missing whitespace after ':'
Line 824:33: E231 missing whitespace after ','
Line 827:23: E221 multiple spaces before operator
Line 838:61: E231 missing whitespace after ','
Line 839:72: E231 missing whitespace after ','
Line 843:62: E228 missing whitespace around modulo operator
Line 845:38: E228 missing whitespace around modulo operator
Line 852:58: E231 missing whitespace after ','
Line 858:37: E231 missing whitespace after ':'
Line 859:39: E231 missing whitespace after ':'
Line 863:29: E231 missing whitespace after ':'
Line 863:43: E231 missing whitespace after ':'
Line 868:33: E231 missing whitespace after ','
Line 871:23: E221 multiple spaces before operator
Line 907:18: E111 indentation is not a multiple of four
Line 907:18: E117 over-indented
Line 944:36: E231 missing whitespace after ','
Line 946:24: E231 missing whitespace after ':'
Line 946:31: E231 missing whitespace after ':'
Line 949:37: E231 missing whitespace after ','
Line 949:52: E231 missing whitespace after ','
Line 950:21: E231 missing whitespace after ','
Line 954:24: E231 missing whitespace after ','
Line 954:35: E231 missing whitespace after ','
Line 956:24: E231 missing whitespace after ','
Line 956:35: E231 missing whitespace after ','
Line 961:9: E303 too many blank lines (2)
Line 966:23: E231 missing whitespace after ':'
Line 966:30: E231 missing whitespace after ':'
Line 966:58: E231 missing whitespace after ':'
Line 967:27: E231 missing whitespace after ','
Line 970:80: E501 line too long (83 > 79 characters)
Line 971:80: E501 line too long (82 > 79 characters)
Line 976:29: E222 multiple spaces after operator
Line 977:56: E128 continuation line under-indented for visual indent
Line 978:56: E128 continuation line under-indented for visual indent
Line 979:25: E221 multiple spaces before operator
Line 979:80: E501 line too long (83 > 79 characters)
Line 980:63: E128 continuation line under-indented for visual indent
Line 980:80: E501 line too long (85 > 79 characters)
Line 981:63: E128 continuation line under-indented for visual indent
Line 981:80: E501 line too long (84 > 79 characters)
Line 986:80: E501 line too long (80 > 79 characters)
Line 991:44: E228 missing whitespace around modulo operator
Line 992:44: E228 missing whitespace around modulo operator
Line 993:46: E228 missing whitespace around modulo operator
Line 1013:29: E222 multiple spaces after operator
Line 1014:80: E501 line too long (82 > 79 characters)
Line 1015:80: E501 line too long (80 > 79 characters)
Line 1016:27: E231 missing whitespace after ':'
Line 1016:34: E231 missing whitespace after ':'
Line 1017:32: E231 missing whitespace after ':'
Line 1018:31: E231 missing whitespace after ','
Line 1019:25: E221 multiple spaces before operator
Line 1019:80: E501 line too long (83 > 79 characters)
Line 1020:80: E501 line too long (88 > 79 characters)
Line 1021:80: E501 line too long (86 > 79 characters)
Line 1026:5: E265 block comment should start with '# '
Line 1028:5: E265 block comment should start with '# '
Line 1031:5: E303 too many blank lines (2)
Line 1054:32: E231 missing whitespace after ','
Line 1057:49: E231 missing whitespace after ','
Line 1066:66: E228 missing whitespace around modulo operator
Line 1067:68: E228 missing whitespace around modulo operator
Line 1067:80: E501 line too long (81 > 79 characters)
Line 1068:52: E228 missing whitespace around modulo operator
Line 1071:61: E231 missing whitespace after ','
Line 1073:58: E231 missing whitespace after ','
Line 1075:61: E231 missing whitespace after ','
Line 1083:5: E303 too many blank lines (3)
Line 1100:21: E231 missing whitespace after ':'
Line 1100:28: E231 missing whitespace after ':'
Line 1100:36: E231 missing whitespace after ':'
Line 1101:21: E231 missing whitespace after ':'
Line 1101:28: E231 missing whitespace after ':'
Line 1101:36: E231 missing whitespace after ':'
Line 1102:23: E231 missing whitespace after ':'
Line 1102:30: E231 missing whitespace after ':'
Line 1102:40: E231 missing whitespace after ':'
Line 1106:30: E228 missing whitespace around modulo operator
Line 1111:30: E231 missing whitespace after ':'
Line 1136:30: E231 missing whitespace after ':'
Line 1136:40: E231 missing whitespace after ':'
Line 1137:23: E231 missing whitespace after ':'
Line 1137:30: E231 missing whitespace after ':'
Line 1137:40: E231 missing whitespace after ':'
Line 1138:30: E231 missing whitespace after ':'
Line 1138:40: E231 missing whitespace after ':'
Line 1139:30: E231 missing whitespace after ':'
Line 1139:40: E231 missing whitespace after ':'
Line 1143:30: E231 missing whitespace after ':'
Line 1155:5: E265 block comment should start with '# '
Line 1155:5: E303 too many blank lines (3)
Line 1157:5: E265 block comment should start with '# '
Line 1160:5: E303 too many blank lines (2)
Line 1163:80: E501 line too long (80 > 79 characters)
Line 1167:80: E501 line too long (85 > 79 characters)
Line 1169:76: E228 missing whitespace around modulo operator
Line 1177:52: E228 missing whitespace around modulo operator
Line 1179:42: E228 missing whitespace around modulo operator
Line 1188:41: E228 missing whitespace around modulo operator
Line 1194:50: E228 missing whitespace around modulo operator
Line 1195:48: E228 missing whitespace around modulo operator
Line 1201:5: E303 too many blank lines (2)
Line 1222:48: E231 missing whitespace after ','
Line 1224:48: E231 missing whitespace after ','
Line 1224:55: E231 missing whitespace after ','
Line 1233:47: E231 missing whitespace after ','
Line 1299:5: E303 too many blank lines (2)
Line 1326:14: E111 indentation is not a multiple of four
Line 1326:14: E117 over-indented
Line 1326:42: E231 missing whitespace after ','
Line 1327:14: E111 indentation is not a multiple of four
Line 1327:57: E225 missing whitespace around operator
Line 1339:18: E221 multiple spaces before operator
Line 1341:18: E221 multiple spaces before operator
Line 1371:9: E303 too many blank lines (2)
Line 1374:5: E303 too many blank lines (2)
Line 1383:80: E501 line too long (80 > 79 characters)
Line 1384:80: E501 line too long (81 > 79 characters)
Line 1385:80: E501 line too long (81 > 79 characters)
Line 1395:80: E501 line too long (83 > 79 characters)
Line 1399:24: E221 multiple spaces before operator
Line 1400:47: E128 continuation line under-indented for visual indent
Line 1401:80: E501 line too long (80 > 79 characters)
Line 1402:47: E128 continuation line under-indented for visual indent
Line 1403:24: E221 multiple spaces before operator
Line 1404:47: E128 continuation line under-indented for visual indent
Line 1410:5: E303 too many blank lines (2)
Line 1427:9: E303 too many blank lines (2)
Line 1436:5: E303 too many blank lines (2)
Line 1472:34: E231 missing whitespace after ','
Line 1472:71: E231 missing whitespace after ','
Line 1477:80: E501 line too long (81 > 79 characters)
Line 1479:47: E228 missing whitespace around modulo operator
Line 1491:80: E501 line too long (83 > 79 characters)
Line 1492:80: E501 line too long (81 > 79 characters)
Line 1501:5: E303 too many blank lines (2)
Line 1512:80: E501 line too long (80 > 79 characters)
Line 1516:80: E501 line too long (83 > 79 characters)
Line 1532:5: E265 block comment should start with '# '
Line 1532:5: E303 too many blank lines (2)
Line 1534:5: E265 block comment should start with '# '
Line 1536:5: E301 expected 1 blank line, found 0
Line 1553:30: E231 missing whitespace after ','
Line 1561:43: E228 missing whitespace around modulo operator
Line 1561:47: E231 missing whitespace after ','
Line 1584:36: E231 missing whitespace after ','
Line 1596:38: E228 missing whitespace around modulo operator
Line 1602:80: E501 line too long (81 > 79 characters)
Line 1609:24: E231 missing whitespace after ':'
Line 1609:39: E231 missing whitespace after ':'
Line 1609:54: E231 missing whitespace after ':'
Line 1622:26: E231 missing whitespace after ','
Line 1626:80: E501 line too long (80 > 79 characters)
Line 1632:69: E228 missing whitespace around modulo operator
Line 1640:30: E231 missing whitespace after ':'
Line 1642:27: E231 missing whitespace after ':'
Line 1644:27: E231 missing whitespace after ':'
Line 1654:38: E251 unexpected spaces around keyword / parameter equals
Line 1654:40: E251 unexpected spaces around keyword / parameter equals
Line 1655:38: E251 unexpected spaces around keyword / parameter equals
Line 1655:40: E251 unexpected spaces around keyword / parameter equals
Line 1656:35: E251 unexpected spaces around keyword / parameter equals
Line 1656:37: E251 unexpected spaces around keyword / parameter equals
Line 1657:35: E251 unexpected spaces around keyword / parameter equals
Line 1657:37: E251 unexpected spaces around keyword / parameter equals
Line 1658:40: E251 unexpected spaces around keyword / parameter equals
Line 1658:42: E251 unexpected spaces around keyword / parameter equals
Line 1664:5: E265 block comment should start with '# '
Line 1664:5: E303 too many blank lines (2)
Line 1666:5: E265 block comment should start with '# '
Line 1668:5: E301 expected 1 blank line, found 0

In the file tofu/imas2tofu/_core.py:

Line 2257:13: E266 too many leading '#' for block comment
Line 2258:51: E231 missing whitespace after ','
Line 2258:70: E231 missing whitespace after ','
Line 2258:75: E231 missing whitespace after ','
Line 2258:79: E231 missing whitespace after ','
Line 2258:80: E501 line too long (82 > 79 characters)
Line 2259:50: E231 missing whitespace after ','
Line 2259:52: E231 missing whitespace after ','
Line 2259:55: E231 missing whitespace after ','
Line 2260:64: E231 missing whitespace after ','
Line 2260:70: E231 missing whitespace after ','
Line 2260:77: E231 missing whitespace after ','
Line 2260:80: E501 line too long (85 > 79 characters)
Line 2265:29: E231 missing whitespace after ','
Line 2265:41: E231 missing whitespace after ','
Line 2274:13: E266 too many leading '#' for block comment

Codecov Report

Merging #210 into devel will decrease coverage by 0.97%.
The diff coverage is 13.82%.

@@            Coverage Diff             @@
##            devel     #210      +/-   ##
==========================================
- Coverage   45.11%   44.14%   -0.98%
==========================================
  Files          70       71       +1
  Lines       20640    21296     +656
==========================================
+ Hits         9312     9401      +89
- Misses      11328    11895     +567

Impacted Files
Coverage Δ

tofu/version.py
100% <100%> (ø)
:arrow_up:

tofu/data/__init__.py
100% <100%> (ø)
:arrow_up:

tofu/data/_core_new.py
13.47% <13.47%> (ø)

tofu/data/_core.py
41.03% <33.33%> (-0.04%)
:arrow_down:

Continue to review full report at Codecov.

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

Fixes, in devel, issue #209

done


Problems getting started with development on windows.

Hello,
I've been searching everywhere, but no luck. At the moment on my machine i have postgresql and aqueduct installed. The command line recognizes the 2 commands just fine, yet aqueduct keeps saying that i don't have PostgreSQL installed. Might this be a issue with aqueduct? Or somehting i may be doing wrong?
Thanks in advance

C:\WINDOWS\system32>psql -V
psql (PostgreSQL) 9.3.5
C:\WINDOWS\system32>aqueduct
Invalid command, options are: create, db, setup
C:\WINDOWS\system32>aqueduct setup
No psql found in PATH.
If you do not have PostgreSQL installed locally, you must do so to run tests in an Aqueduct application. For macOS users, download Postgres.app from http://postgresapp.com. Once installed, open the application at least once and add the following line to ~/.bash_profile:
    export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/latest/bin

You may have to reload the shell you ran this command from after installation. For non-macOS users, you must install a local version of PostgreSQLand ensure the command line executable 'psql' is in your PATH.

This appears to be near finished in #118

This is now resolved in 1.0.3.


feature request: a separate comment decorator

This will be greate
@Comment("a field comment")
@Column
field:string

Hey @Diluka for now you can do this:
@Column({comment: ''})

released in v0.6.3(3309260)


Update color contrast for font colors

[ ] Change values color tokens to create higher text contrast
[ ] UX changes is deployed / new version with new colors is released

###Remapped variables:

onyx/color/text+icons/neutral/intense      -> in light mode from 700 to 900
onyx/color/text+icons/neutral/medium     -> in light mode from 600 to 700
onyx/color/text+icons/neutral/soft            -> in dark mode from 500 to 600

###New variable:

onyx/color/text+icons/neutral/button.       -> used only in default primary button (nowhere else)


support question => indent entire table

I looked for indent options and searched for indent in the repo, doesn't seem to be an option.

I'd like to indent the table pictured, is there a way to move it over to the right?
let me know thanks!

There is not a built in way to do this, however, the table.toString() is just a string, so you could do something like table.toString.replace(/\/n/g, '    \n')
Not entirely sure if that code works, but essentially just reformat the line returns.

Yeah that code is definitely wrong, just trying to convey a theoretical solution, not a literal one.

Ok I am working on this to see what I come up with thanks

doing this
console.log(table.toString().replace('\n','\n\n\n\n'));
just makes the title header really tall LOL

any other ideas? somehow just need to place the first character of each line with \t + character

Try this.
function indent(str, spacing) {
  return spacing + str.replace(/\n/g, '\n' + spacing)
}

Usage:
var table = new AsciiTable()
// ...
var indented = indent(table.toString(), ' \t')
console.log(indented)

You may also consider a module such as https://github.com/camwest/left-pad

Let me know if you manage to make this work, I will close this regardless as it is outside the scope of this module, but I would like to help you to figure this out before doing so.

@ORESoftware Turns out the module does have a built in way to do this. Checkout the prefix option.
https://github.com/sorensen/ascii-table/blob/master/test.js#L99-L121

cool!  It has been a long time since I created this module. I have started work on refactoring it to be simpler. Please keep the issues coming, would love to get this library back on track. Also feel free to make feature requests.
I'm closing since we've resolved the issue.


std symbols undefined while compiling libtensorflowlite.so for android

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
macOS Big Sur version 11.2.3
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):
source
TensorFlow version:
2.4.0
Python version:
3.9
Installed using virtualenv? pip? conda?:
trying to build from source
Bazel version (if compiling from source):
3.1.0
GCC/Compiler version (if compiling from source):
clang-1<IP_ADDRESS>
CUDA/cuDNN version:
GPU model and memory:
AMD Radeon Pro 5300M 4 GB

Describe the problem
When trying to compile libtensorflowlite.so for android with added "//tensorflow/lite/delegates/flex:delegate" dependency (as is stated in the https://www.tensorflow.org/lite/guide/ops_select), compilation would fail due to std::make_unique being undefined.
Provide the exact sequence of commands / steps that you executed before running into the problem
bazel build
-s //tensorflow/lite:libtensorflowlite.so
--config=android_arm64
--cxxopt='--std=c++11'
-c opt
--config=v2
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
SUBCOMMAND: # //tensorflow/core/kernels:portable_tensorflow_kernels [action 'Compiling tensorflow/core/kernels/control_flow_ops.cc', configuration: 17edd87150895742afa8f50ebcaef1b3cd2bf6b4d6974c05ffc14bdd6966f454, execution platform: @local_execution_config_platform//:platform]
(cd /private/var/tmp/bazel_richardyao/1258fb4559d515393cc4dfc8787a5562/execroot/org_tensorflow &&
exec env -
ANDROID_BUILD_TOOLS_VERSION=30.0.3
ANDROID_NDK_API_LEVEL=21
ANDROID_NDK_HOME=/usr/local/Caskroom/android-ndk/21/android-ndk-r21
ANDROID_SDK_API_LEVEL=30
ANDROID_SDK_HOME=/Users/richardyao/library/Android/Sdk
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin
PWD=/proc/self/cwd
<EMAIL_ADDRESS><EMAIL_ADDRESS>TF2_BEHAVIOR=1
TF_CONFIGURE_IOS=0
external/androidndk/ndk/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -gcc-toolchain external/androidndk/ndk/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64 -target aarch64-none-linux-android -fpic -isystemexternal/androidndk/ndk/sysroot/usr/include/aarch64-linux-android '-D__ANDROID_API_=21' -no-canonical-prefixes -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -funwind-tables -fstack-protector-strong -fno-addrsig '-Werror=return-type' '-Werror=int-to-pointer-cast' '-Werror=pointer-to-int-cast' '-Werror=implicit-function-declaration' -O2 -g -DNDEBUG -MD -MF bazel-out/arm64-v8a-opt/bin/tensorflow/core/kernels/objs/portable_tensorflow_kernels/control_flow_ops.pic.d '-frandom-seed=bazel-out/arm64-v8a-opt/bin/tensorflow/core/kernels/objs/portable_tensorflow_kernels/control_flow_ops.pic.o' -fPIC '-DS_IREAD=S_IRUSR' '-DS_IWRITE=S_IWUSR' '-DS_IEXEC=S_IXUSR' -DSUPPORT_SELECTIVE_REGISTRATION -DEIGEN_MPL2_ONLY '-DEIGEN_MAX_ALIGN_BYTES=64' -D__CLANG_SUPPORT_DYN_ANNOTATION -iquote . -iquote bazel-out/arm64-v8a-opt/bin -iquote external/gif -iquote bazel-out/arm64-v8a-opt/bin/external/gif -iquote external/eigen_archive -iquote bazel-out/arm64-v8a-opt/bin/external/eigen_archive -iquote external/com_google_absl -iquote bazel-out/arm64-v8a-opt/bin/external/com_google_absl -iquote external/nsync -iquote bazel-out/arm64-v8a-opt/bin/external/nsync -iquote external/libjpeg_turbo -iquote bazel-out/arm64-v8a-opt/bin/external/libjpeg_turbo -iquote external/com_google_protobuf -iquote bazel-out/arm64-v8a-opt/bin/external/com_google_protobuf -iquote external/double_conversion -iquote bazel-out/arm64-v8a-opt/bin/external/double_conversion -iquote external/com_googlesource_code_re2 -iquote bazel-out/arm64-v8a-opt/bin/external/com_googlesource_code_re2 -iquote external/farmhash_archive -iquote bazel-out/arm64-v8a-opt/bin/external/farmhash_archive -iquote external/png -iquote bazel-out/arm64-v8a-opt/bin/external/png -iquote external/zlib -iquote bazel-out/arm64-v8a-opt/bin/external/zlib -iquote external/highwayhash -iquote bazel-out/arm64-v8a-opt/bin/external/highwayhash -iquote external/icu -iquote bazel-out/arm64-v8a-opt/bin/external/icu -iquote external/fft2d -iquote bazel-out/arm64-v8a-opt/bin/external/fft2d -iquote external/gemmlowp -iquote bazel-out/arm64-v8a-opt/bin/external/gemmlowp -isystem external/gif -isystem bazel-out/arm64-v8a-opt/bin/external/gif -isystem external/eigen_archive -isystem bazel-out/arm64-v8a-opt/bin/external/eigen_archive -isystem external/nsync/public -isystem bazel-out/arm64-v8a-opt/bin/external/nsync/public -isystem external/com_google_protobuf/src -isystem bazel-out/arm64-v8a-opt/bin/external/com_google_protobuf/src -isystem external/double_conversion -isystem bazel-out/arm64-v8a-opt/bin/external/double_conversion -isystem external/farmhash_archive/src -isystem bazel-out/arm64-v8a-opt/bin/external/farmhash_archive/src -isystem external/png -isystem bazel-out/arm64-v8a-opt/bin/external/png -isystem external/zlib -isystem bazel-out/arm64-v8a-opt/bin/external/zlib -isystem external/icu/icu4c/source/common -isystem bazel-out/arm64-v8a-opt/bin/external/icu/icu4c/source/common -w '-std=c++14' '--std=c++11' -DEIGEN_AVOID_STL_ARRAY -Iexternal/gemmlowp -Wno-sign-compare '-ftemplate-depth=900' -fno-exceptions '-DTENSORFLOW_USE_XLA=1' -DTF_LEAN_BINARY -Wno-narrowing -fomit-frame-pointer -O2 '--sysroot=external/androidndk/ndk/platforms/android-21/arch-arm64' -isystem external/androidndk/ndk/sources/cxx-stl/llvm-libc++/include -isystem external/androidndk/ndk/sources/cxx-stl/llvm-libc++abi/include -isystem external/androidndk/ndk/sources/android/support/include -isystemexternal/androidndk/ndk/sysroot/usr/include -c tensorflow/core/kernels/control_flow_ops.cc -o bazel-out/arm64-v8a-opt/bin/tensorflow/core/kernels/_objs/portable_tensorflow_kernels/control_flow_ops.pic.o)
ERROR: /Users/richardyao/Code/tensorflow/tensorflow/core/kernels/BUILD:6467:11: C++ compilation of rule '//tensorflow/core/kernels:portable_tensorflow_kernels' failed (Exit 1): clang failed: error executing command external/androidndk/ndk/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -gcc-toolchain external/androidndk/ndk/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64 -target ... (remaining 154 argument(s) skipped)
tensorflow/core/kernels/data/dataset_utils.cc:883:17: error: no template named 'make_unique' in namespace 'std'; did you mean 'absl::make_unique'?
counter = std::make_unique(num_batch_elements);
^~~~~~~~~~~~~~~~
absl::make_unique
external/com_google_absl/absl/memory/memory.h:168:55: note: 'absl::make_unique' declared here
typename memory_internal::MakeUniqueResult::scalar make_unique(
^
tensorflow/core/kernels/data/dataset_utils.cc:883:17: error: no template named 'make_unique' in namespace 'std'; did you mean 'absl::make_unique'?
counter = std::make_unique(num_batch_elements);
^~~~~~~~~~~~~~~~
absl::make_unique
external/com_google_absl/absl/memory/memory.h:168:55: note: 'absl::make_unique' declared here
typename memory_internal::MakeUniqueResult::scalar make_unique(
^
tensorflow/core/kernels/data/dataset_utils.cc:884:19: error: no template named 'make_unique' in namespace 'std'; did you mean 'absl::make_unique'?
status_mu = std::make_unique();
^~~~~~~~~~~~~~~~
absl::make_unique
external/com_google_absl/absl/memory/memory.h:168:55: note: 'absl::make_unique' declared here
typename memory_internal::MakeUniqueResult::scalar make_unique(
^
tensorflow/core/kernels/data/dataset_utils.cc:884:19: error: no template named 'make_unique' in namespace 'std'; did you mean 'absl::make_unique'?
status_mu = std::make_unique();
^~~~~~~~~~~~~~~~
absl::make_unique
external/com_google_absl/absl/memory/memory.h:168:55: note: 'absl::make_unique' declared here
typename memory_internal::MakeUniqueResult::scalar make_unique(
^
4 errors generated.
Target //tensorflow/lite:libtensorflowlite.so failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 690.094s, Critical Path: 483.34s
INFO: 757 processes: 13 internal, 744 local.
FAILED: Build did NOT complete successfully

@thaink could you take a look at this?

btw, I also tested on master branch, same thing. Although 2.4.0 seems to have other fails besides the make_unique not being defined.

std::make_unique is introduced in C++14.
You should build with --cxxopt='--std=c++14'.
And if you add "//tensorflow/lite/delegates/flex:delegate" as dependency, --config=monolithic may also be required.

@thaink could you make sure that the necessary build flags are mentioned in the our guide page?

By default, we always build with c++14: https://github.com/tensorflow/tensorflow/blob/master/.bazelrc#L300
We don't add it in sample commands in https://www.tensorflow.org/lite/guide/build_android but I think it is good since adding config with default value with have no effect but make the command more complicated.

IMO, it would be nice to have the sample command at least for  --config=monolithic.

Hi @Krisonrik !
This issue seems be resolved with C++14 flag from above comment. You can also refer Cmake documentation to build for android and other architecture.
Thank you!


what should we set the runtime images CMD to?

The full-fat builder images container run scripts (related to S2I) which are set to run when the container starts up via the container CMD (ref).
We are not installing run scripts into the runtime images (Yet. We might in the future). We need to consider what the container CMD should be set to. At the moment I think we inherit the base image CMD (which is just /bin/bash), but running the container results in nothing (at least for me)
We could consider a run CMD that invoked java, but what arguments should we pass to it?

With merging #197 this is resolved


Release?

Would it be possible to make a release so that this could be packaged by distributions?

Sounds good to me.


Tab title with the same width

how to adjust the tabs titles so that their size is also distributed on the screen

Could you provide a screenshot or a mock of the expected result?

The tittles is distributed on the tab folder equally. Doing this, the app get more pretty

Setting that property is currently not possible. We are planning to provide more styling capabilities for the Tabfolder in the future as suggested here: https://github.com/eclipsesource/tabris-js/issues/396


[Feature Request] Add support for assigning a default assignee

There is a way through the Gitlab HTTP API to assign a user for your Merge Request. Perhaps that can be an option in the .gitlab-mergerc options file.

Hi @frakman1 !
Based on your suggestion I created a new version of the tool v1.1.0 that add the assignee_id functionality.
Now, you can define also the assignee_id from the config:
{
  "assignee_id": Integer || "none"
}

If you don't want assignee from config, you can just use the string "none".
Otherwise, after you select the project (or already defined into the config) the tool will download the list of the project's users to select as assignee.
Thanks a lot for your suggestion.
If you have question, request or anything else, feel free to ask and contribute 😁

That's great news. Thank you!
How about a further improvement?
Typically, in group development, a merge-request is assigned to different people depending on what the code is and who is responsible for what areas.
So how about one of the prompts asking you who to assign it to? Either through username or a multiple choice option? If this sounds good, I can create a new Issue/Feature Request.

So how about one of the prompts asking you who to assign it to?

Is already like that :) You have two ways to select the assignee, from the prompt and from the config file.

Either through username or a multiple choice option?

What do you mean with this? Because as I know there is only one assignee per MR.
Anyway, try the new version and tell me what do you think about it 👍
Thank you 👍

Excellent! I just tried it and the prompt you implemented was exactly what I had in mind. Well done!
I had another request which is to allow you to set the HTTP API option remove_source_branch=true. Developers often forget to set this in the Merge Request Web UI and we end up with loads of unnecessary branches that I have to later audit and manually delete. If this was set by default or with a prompt or config file option to do so, then this would make life easier.
I can make a separate Github Issue for this if you want.
Also, it would be nice if the version of gitlab-merge was printed somewhere in its output. Maybe even support for gitlab-merge --version

I had another request which is to allow you to set the HTTP API option remove_source_branch=true

Yes, it is a good idea!
Just one thing, I suggest to use make it available only through configuration file to avoid to many questions.

Also, it would be nice if the version of gitlab-merge was printed somewhere in its output.

What do you think after the logo on the startup?

Anyway, I created a new version where the config file is complete used here to create the merge request.
This means that now, v1.1.1 you can add the parameter that you want in the config file 👍


The dragging process is very clunky

First of all, thank you very much for your software, but when I used it after installation,
I found that I was very stuck in the process of dragging with three fingers, and I could not use it normally at all. When I held down the touchpad with three fingers and moved the mouse, the window was very smooth. I don't know what the problem is, may I ask if it can be solved? I'm using Windows 11+ Apple Trackpad 2
The three-finger drag function of another software（fastgesture） is very smooth, but it has many functions I don't need, so I really hope this problem can be solved, thank you very much

Hi @lithiumleeow,
do you have the same issue when performing a drag and drop on files and when selecting text ?
The three fingers drag does not work properly on the app main window because it is the application itself, then it is normal if the drag is laggy when moving the window of ThreeFingersDragOnWindows.

Hi @lithiumleeow, do you have the same issue when performing a drag and drop on files and when selecting text ?
The three fingers drag does not work properly on the app main window because it is the application itself, then it is normal if the drag is laggy when moving the window of ThreeFingersDragOnWindows.

files is same，i record it https://drive.google.com/file/d/1HmQ73exlcQljvgy9pQUIUPKLoAr6sOzh/view?usp=sharing

Do you have the same issue with the version 1.0 ?
I added in the v1.1 a threshold that prevent detecting too much fingers on the touchpad :
https://github.com/ClementGre/ThreeFingersDragOnWindows/blob/f56c9a92a5a8e12cef51e6398ee2786ff829085d/src/touchpad/ContactsManager.cs#L49
Then, if your computer is sending less than one event every 20ms, it can not detect all of the fingers. Usually, events are sent every 3-8 ms, but it can be slower depending of your touchpad and your computer.
If you don't have issues with the v1.0, I'll try to change the threshold value to suit your computer.

I tried version 1.0, very smooth! There is no stuck problem in version 1.1

I have the same issue with the last version, 1.0 was smooth for me, but had issues with UWP apps.
This fork works flawlessly https://github.com/gurinderhans/threefingerdrag/releases/tag/v0.0.1

Ok, I changed the threshold from 20ms to 50ms.
Can you try this new version?
ThreeFingersDragOnWindows.zip
You will also be able to see the events speed in the preferences window:

Can you tell me what your event speed is? I had approximately 4-5 ms on all the laptops I tried.

Ok, I changed the threshold from 20ms to 50ms. Can you try this new version? ThreeFingersDragOnWindows.zip
You will also be able to see the events speed in the preferences window:
Can you tell me what your event speed is? I had approximately 4-5 ms on all the laptops I tried.

Mine is showing as 7ms

I think the problem is that the program is trying to map the center of the 3 fingers (the mean position of the 3 fingers) thats why its clunky.
Can you make it map only the index finger (i.e the left most finger, for most people)

It is not really average, it moves the cursor depending on the shift of the finger that moved more, just like on Mac OS.
I made a version that takes only into account the shift of the first finger placed on the touchpad:
ThreeFingersDragOnWindows.zip

Hmm.. but what did you change in version 1.1 that made it clunky?
I noticed that can still tap with three fingers for a middle click (Thats how it is configured on my laptop anyway) in version 1.1 but not in version 1.0. Is that what could have caused the problem?
Btw the one which maps only one finger, moves in the opposite direction

Well in your official 1.1 release, After fine tuning the acceleration and
velocity, it has turned out much smoother. But somehow version 1.0 feels
better.
On Fri, Dec 16, 2022, 4:00 AM Clément Grennerat @.***>
wrote:

There were a lot of bugs fixed in the 1.1, and the algorithm changed quite
a bit adding ways to prevent issues like the fact that the three fingers
are never placed or realeased exactly at the same time on the touchpad.
It is strange how taking the longest dist1nce makes it cluncky...
I'll try to reverse the direction and make a new version for you.
I think that the best thing to do would be for someone having this bug to
try changing the source code and making a pull request.
—
Reply to this email directly, view it on GitHub
https://github.com/ClementGre/ThreeFingersDragOnWindows/issues/14#issuecomment-1354302050,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZEBLC3TWGFVGA4FNQ4OT33WNQHRFANCNFSM6AAAAAASQ3KR7I
.
You are receiving this because you commented.Message ID:
@.***>

Yes, I also have some problems. At the end of three-finger dragging, the right button will be triggered inexplicably, and the movement speed is not satisfactory. I will try FastGestures. thank you also for your work

For redundant functions, a button can be used.

Yes, I also have some problems. At the end of three-finger dragging, the right button will be triggered inexplicably, and the movement speed is not satisfactory. I will try FastGestures. thank you also for your work

Hi, the right click on release is related to #13. I'll look into it soon.
About the speed, doesn't the slider allows you to have the right speed ? Do you need a higher or lower speed ?

Hi, I finally succeeded to reproduce your issue with an Apple magic trackpad 2 and this driver : https://github.com/imbushuo/mac-precision-touchpad
I am working right now on the version 2.0 of TFDW that will be a WinUI app and this issue should be fixed.
Thank's

ThreeFingersDragOnWindows v2.0 has just been released. In this version, the dragging algorithm have been redeveloped from scratch, and it fixes this issue that I finally was able to reproduce.
See release v2.0.1
Enjoy!


Journalist Persona (& interview notes)

I interviewed a Data Vis engineer who works for a newspaper about the frustrations a non-technical journalist using a data vis tool would have.
One main concern is giving a tool to a journalist who does not have any statistical training.
How to represent data

can make nice graphs that don't have the right information
What charts to use for different types of data
what to use if you are showing change over time
what to use if you are showing correlation etc
Giving suggestions of charts:  barchart, bubble charts, treemaps, timelines

Data

aren't aware of what bad data is
that you can't have data that's full of null values and expect it to make anything
knowing when an outlier is a mistake vs a story they should look into
knowing what realistic scales are for their data
accounting for things like inflation or population before working with the data
being able to understand the data they are looking at
what does each column header mean mean
where it came from and how it was collected

High level information
Problems typically aren't things like "don't use this color for accessibility reasons"  they are more fundamental like "what question do you want to answer with this visualization?"

making sure it conveys useful information
making sure it is conveying the RIGHT information

Suggests having default/minimum settings for styles and advanced menus for customization.

Role: The Novice
Name: Terry James
Quote:

"I think visualizations will give depth to my article."

Background:
Age: 34
Location: MA
Marital Status: Married
Kids: No
Occupation: Journalist
Education: B.S. Communications
Characteristics

passionate
eloquent
not scientific
researcher

Goals/Needs

Create a datavisualization to accompany an article that proves the point they are trying to make in an engaging way.

TECH KNOWLEDGE
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
Hello World                                                                                expert
OPEN SOURCE CONTRIBUTIONS
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
What's github?                                                                                Constantly Contributing
DATA VIS KNOWLEDGE
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
pie chart?                                                                                invented charts
About
Terry is a journalist for the Boston Globe.  He is always researching for new stories and heavily sources his work. He has little background in statistics and while he's adept at uncovering resources, he doesn't know what bad data looks like.  He is not sure which chart to use to highlight his data best.

I think this is mostly accurate, though I'd say some journalists have a bit more knowledge of data visualization existing. So, probably like, 1/3 of the way forward? You kinda need to know what your graphs are. This is targeting an audience of journalists who already know enough about data to assemble it and probably study it somehow for some kind of pattern (maybe with excel or google spreadsheets?)

updated!

@deathbearbrown When you get a chance, could you migrate this to the gh-pages branch as well? Thank you :)

Done with 7b55501. Thanks @deathbearbrown!


Make Python scripts Python 2 and 3 compatible. An alternative to #71.

See also: #71.
@edsrzf, does this work for you?

Yep, this works too. (I actually didn't try generate_docs.py since it requires a Markdown package I don't have installed and don't really want to install.)

I do think this is a bit more fragile, though, since I suspect most people are using Python 2 and they'll forget to test their changes with Python 3. Likewise I'd probably forget to test with Python 2.
Travis could run scripts with both Python 2 and 3, but that's getting a little silly.

I thought about writing a helper script to set up a virtualenv and install markdown. Note that docs also has a non-Python dependency: sass.
Really though, these should be written in Wren!

Yeah, I like the idea of having the scripts work in Python 3 instead of forcing Python 2. Surely we of all people want to live on the bleeding edge of the languages we use, right? :smile:
I don't mind supporting both 2 and 3. If we accidentally break one or the other, hopefully someone will let us know, and it will generally be an easy fix.
At some point, it would be good to get the benchmark runner (benchmark/run_bench) supporting Python 3 too.
Sorry about the implicit SASS and Markdown dependencies. The site isn't something I've put much effort into making it easy for others to build and hack on yet (though it is, of course, important!)


Test if $facet is set before deleting

Add testing to make sure we only attempt to delete a facet which is actually set in hookBeforeDeleteElement

I've merged this into develop. This should close automatically when we cut the next release. (I'd like to get some more issues closed before we do this.)


Undefined token in Api Tests

Hi @neomerx.
I found the OAuthLoginTrait does not properly returning token based on corresponding role of user, says "admin", etc...

Default application uses Faker to populate a database with some data. The data are originally random though until you change migration script it will have

<EMAIL_ADDRESS>as an admin email
<EMAIL_ADDRESS>as a moderator email
<EMAIL_ADDRESS>as a user email

And (here)[https://github.com/limoncello-php/app/blob/9da46f0bf739f49a37540500b40f55143bf3d0cd/server/tests/OAuthLoginTrait.php#L50-L69] is a default methods with those default emails/passwords to have API tokens.
If you modify migrations you obviously need to make some changes in login trait. The actual changes are application specific.

    /**
     * @param string $username
     * @param string $password
     *
     * @return string
     */
    private function requestOAuthToken(string $username, string $password): string
    {
        /** @var ResponseInterface $response */
        $response = $this->post('/token', [
            'grant_type' => 'password',
            'username'   => $username,
            'password'   => $password,
        ]);

        assert($response->getStatusCode() == 200);
        assert(($token = json_decode((string)$response->getBody())) !== false);

        $value = $token->access_token;
        assert(empty($value) === false);

        return $value;
    }

tested out $token was not assigned
in
assert(($token = json_decode((string)$response->getBody())) !== false);

and therefore getAdminOAuthToken failed

What are the inputs (username, password)? Does it work with the default app?

both default faker seeded username and password and;
self-defined username and password works by
replacing
assert(($token = json_decode((string)$response->getBody())) !== false);

with
        $token = json_decode((string)$response->getBody());
        assert($token !== false);

in OAuthLoginTrait

I took default app, run migration and seed then changed CommentApiTest line 13 as below and added lines 22-23. Token seems to work :man_shrugging:

Can you please clone the default app and commit changes that show the issue?

default app cloned.
seems does not help.
PHPUnit 6.5.7 by Sebastian Bergmann and contributors.

Undefined variable: token

I created a new project composer create-project --prefer-dist limoncello-php/app app_name (on install it runs migrations and seeds).
I opened the newly created project in IDE and run tests successfully.
opened \Tests\Api\UserApiTest::testIndex, added use for OAuthLoginTrait and $token =<EMAIL_ADDRESS>UsersSeed::DEFAULT_PASSWORD);
put a breakpoint & run debugger
:man_shrugging:


ERROR | 30 - Unknown error while getting Combo Cards

ERROR | 30 - Unknown error while getting Combo Cards: Cannot connect to host api21.datavibe.top:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)')] | Response text: ...
This has been going on for several days now.

try to update

do you fix it ?

It didn't work out anyway.

Мне помогло:
pip install --trusted-host api21.datavibe.top:443 requests


Swipe to go back transition sometimes gets stuck

When moving back/sliding back, sometimes page-switch animation stops at ~50% and you can see two pages.
It's tricky to reproduce, but is already described in this ionic forum post: https://forum.ionicframework.com/t/swipe-to-go-back-transition-sometimes-gets-stuck/32158
Regarding Ionic 1.x on iOS.

This issue was moved to driftyco/ionic-v1#97


some API requests should need to require authentication

If a website wants users to be able to view the site without logging in a user should be able to view content but unable to delete or upload content to the server.

this is also done, just dont add auth to API requests that dont need it


Using other inputs

I'm trying to use my Raspberry Pi to send bar code scanner readings to the IoT Hub. What would I change from the above documentation to do so? I am able to get the simulated data transmitting.

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

ID: ad635328-7347-7681-18cf-c78ab4dd060d
Version Independent ID: 5b9c4676-7202-7593-d82d-ee887aad57ab
Content: Raspberry Pi to cloud (Python) - Connect Raspberry Pi to Azure IoT Hub
Content Source: articles/iot-hub/iot-hub-raspberry-pi-kit-python-get-started.md
Service: iot-hub
GitHub Login: @rangv
Microsoft Alias: rangv

@ltaylor95 Thanks for the feedback. We are actively investigating and will get back to you soon.

@ltaylor95 Do you have a barcode scanner? I currently do not see any IoT projects or tutorials that demonstrate this integration. I am going to assign to the content author to evaluate and provide direction on.

@Mike-Ubezzi-MSFT Yes, I have a USB LS2208 Zebra Scanner. I am trying to simulate data collection on a manufacturing line by having a barcode scanner scan an item, then send that barcode with a timestamp to an Azure database, probably through their IoT Hub.

While Creating first IOT HUB, in Subscription option available as Free Trial only; Visual Studio Enterprice With MSDN is not available.

@Itaylor95 I'm sorry for such a slow response to your question. I don't know if this is still an issue for you or not but, I'm responding to your question on behalf of the author.  As you are aware, this documentation doesn't address bar code devices specifically. However, the code, referenced in this article, here defines functions that read the raw device values, you would need to define similar functions to read the raw values from a bar code scanner device.  Unfortunately, I do not have sample code for such a device but, hopefully this helps point you in the right direction.

@ltaylor95 We are retiring this specific Python article at this time since we will be making significant improvements to the Python library to improve the developer experience.

#please-close

@ltaylor95 We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Update the leaf mapping in optimize, compiler, and GV.

Codecov Report
Patch coverage has no change and project coverage change: +0.27% :tada:

Comparison is base (6acd9f7) 56.24% compared to head (2551137) 56.51%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #131      +/-   ##
==========================================
+ Coverage   56.24%   56.51%   +0.27%
==========================================
  Files          55       55
  Lines        3339     3323      -16
==========================================
  Hits         1878     1878
+ Misses       1461     1445      -16

Files Changed
Coverage Δ

src/backend/static.jl
47.05% <0.00%> (+4.20%)
:arrow_up:

src/computational_graph/optimize.jl
0.00% <0.00%> (ø)

src/frontend/GV.jl
0.68% <0.00%> (+0.02%)
:arrow_up:

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


Retry Github.get_repo() requests that fail with 502

Closes #138.

thanks! let's proceed.  please update venv on dandi@drogon with this version

@yarikoptic dandi@drogon cron environment updated.


表格 粘贴功能 beforePaste 【BUG】

组件设置拦截粘贴操作，并手动处理数据。
<Workbook
hooks={{
beforePaste:()=>{
return false;
}
}}/>
粘贴功能
1.【符合预期】使用键盘 C+V 粘贴，发现被拦截。
2.【BUG】右键菜单栏 -> 点击粘贴 发现直接被粘贴进单元格，没有被拦截。

thanks for reporting, looking into this

感谢回复，看代码改动应该可以解决我的问题，我需要等新的版本发布后安装才会生效吗，我尝试重新安装 v0.19.14 ，如果是的话请告诉我大概多久会发布新版本。
Thank you for your reply, I think the code change can solve my problem, do I need to wait for the new version to be released before the installation takes effect? I will try to reinstall v0.19.14, if yes, please tell me how long it will take to release the new version.

im checking if i can get a few more fixes in before releasing, looking to release by weekend.

Sorry why was this reopened

目前 beforePaste 可以拦截粘贴操作了，但是不满足我的使用场景。
我需要获取剪切板中的内容，然后根据我自己的规则判断是否允许粘贴，其中获取剪切板的内容是异步操作。 我异步返回false时 仍然会将数据粘贴进去。
示例代码：
<Workbook     {...config}     hooks={{         beforePaste: async ()=>{             const pasteText = await navigator.clipboard.readText();             const allowPaste = pasteText === '123';             return allowPaste         }     }} />
Current beforePaste can block paste operations, but it does not meet my usage scenario.
I need to get the contents of the clipboard and then decide whether to allow pasting according to my own rules, where getting the contents of the clipboard is an asynchronous operation. Even if false is returned, the data will still be pasted in.
Sample  code:
<Workbook     {...config}     hooks={{         beforePaste: async ()=>{             const pasteText = await navigator.clipboard.readText();             const allowPaste = pasteText === '123';             return allowPaste         }     }} />

I want the component to be compatible with asynchronously returned scenarios

This is a new feature request to be honest. Can you please open a new issue for this as the original ask of the issue was resolved. Will be easier to track.


mark_internal_ident cleanup

Refactor so that all idents that had to call mark_ident_internal before now call mark_name_internal in the util module by default.
The commits can (and probably should) be squashed, they're separated for clarity.
Fixes #512

Thanks for the PR! Looks good to me, can you just squash the commits?
I'll merge it after that :)

Done!


Missing weapons

AT_6

note : perhaps, a solution to have all weapon listed would be to use list of weapons present in airport available in ME

thanks for your job


fix an issue when parsing read multiple registers requests in RTU

the byte count value resides in the 7th byte of the adu buf, instead of the 5th. this commit fixes it

@justinyhuang thanks for contributing! Would you mind to adjust the test as well?

Please amend the commit, because only commits that build without CI failures should be merged.
@flosse We should also backport this fix to v0.4.x after merging.

Sure. I will try to update the tests.
Also I tested writing multiple registers with Modbus TCP, which works just fine. So I believe it is just the RTU that is not working correctly.

OK I have run cargo test --features sync locally and the tests appear passed.
as a "first-time contributor" I could not kick off CI tests in this repo, thus could you please help approving running the workflows and see if they pass this time?


Gobblin Java + Maven Support

I current work in a Java + Maven development environment and found that when extending Gobblin's functionality, the build process can get a little complicated.
Below is a sample Gobblin Maven project I wrote a couple of months ago:
https://github.com/mark1900/druid-sandbox/tree/master/kafka-gobblin-hdfs-test
Some suggestions that would make my life easier.

Sample Maven project  ( Like gobblin-example )

To work around this I patched the gobblin-example to discover the Maven dependencies

diff --git a/gobblin-example/build.gradle b/gobblin-example/build.gradle
index afcd6ea..5ccaede 100644
--- a/gobblin-example/build.gradle
+++ b/gobblin-example/build.gradle
@@ -8,6 +8,7 @@
 // under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 // CONDITIONS OF ANY KIND, either express or implied.

+apply plugin: 'maven'
 apply plugin: 'java'

 dependencies {
@@ -41,3 +42,14 @@
 }

 classification="library"
+
+task createPom << {
+    pom {
+        project {
+            groupId 'com.github.linkedin.gobblin'
+            artifactId 'gobblin-example'
+            version '0.0.1'
+            inceptionYear '2015'
+        }
+    }.writeTo("pom.xml")
+}
\ No newline at end of file

It would be nice if some of the Gobblin jars ( Such as gobblin-core, gobblin-api, gobblin-metrics) lived in a public Maven repository.

Hey @mark1900,
We are currently working on publishing Gobblin artifacts to Maven: https://github.com/linkedin/gobblin/pull/469

@mark1900 check out the Maven artifacts at https://repo1.maven.org/maven2/com/linkedin/gobblin/.

Will there be a sample project highlighting Java Maven integration?  The one example that I could find uses Gradle - https://github.com/linkedin/gobblin/tree/master/gobblin-example.
Seems the Getting Started page only referrences Gradle as well:  https://github.com/linkedin/gobblin/wiki/Getting Started
Also is the following the current Maven Dependency recommendation?
<dependency>
	<groupId>com.linkedin.gobblin</groupId>
	<artifactId>gobblin-core</artifactId>
	<version>0.6.0</version>
	<scope>compile</scope>
</dependency>

<dependency>
	<groupId>com.linkedin.gobblin</groupId>
	<artifactId>gobblin-api</artifactId>
	<version>0.6.0</version>
	<scope>compile</scope>
</dependency>

<dependency>
	<groupId>com.linkedin.gobblin</groupId>
	<artifactId>gobblin-metrics</artifactId>
	<version>0.6.0</version>
	<scope>compile</scope>
</dependency>

Artifacts are now on Maven, checkout the latest release notes: http://linkedin.github.io/gobblin/release/2016/02/01/release-0.6.2.html
Also, yes that seems the correct way of adding Maven dependency on the Gobblin jars


Add brightness control with automatic tuning for illumination evenness.

Update:

Refactored brightness control strategy selection and implementations in/src/modes/brightness_control_tuning/*
Added properties parameters for scipy.optimize.basinhopping function (wrapped in src/modes/brightness_control_tuning/search_scipy_optimizer.py).
Added test suite for iterative regression tuner, see: test/test_BrightnessControl.py
todo: add test suite for basinhopping search. With default parameters, n=44, the execution time is long.. to be resolved.

Todo: include a unit test suite for scipy.optimize.basinhopping test. Ensure each test completes in a suitable amount of time.


dile_vt: GM blending

Initial implementation of UI layer blending in dile_vt, based on libyuv routines.
On K3LP / webOS 3.8 I got these findings:

GM is not able to go down to 192x108, lowest working resolution here is 240x135.
Approximate frame processing times starts at around 13ms, but then, after ~15 seconds, settles around 9-10ms. This means we can barely manage steady 60fps if we count in normal system CPU usage spikes. Seems like we are mostly limited by graphics memory access? See metrics below. Maybe we could split this up into multiple threads, but I don't have any common sense regarding these kinds of optimizations.

We likely want to also detect if the video is actually on-screen (there was a DILE_VT call for that...) and then drop whole alpha blending step.
Timings breakdown for some sample run:
GM_CaptureGraphicScreen: 2507us
ABGRToARGB from GM to malloced memory: 3667us
RGB24ToARGB from VFB to malloced memory: 2953us
ARGBBlend: 222us
ARGBToRGB24: 136us
Hyperion callback: 890us

This now also implement --no-video, --no-gui, and support for blending on pixelFormat 1, thanks to #25. To be merged after #24

4h of testing - dropping down to 30fps here helped with performance significantly, and also probably alleviated some minor stutters/latency spikes I've noticed before. Not sure which part of my setup was the source of that (webOS → ethernet → x86_64 box running hyperion.ng → wifi → esp32 with ws2812) but something worth noting.

This has been fairly well tested on K3LP and works great. Shall we merge it now?

@Informatic: It's not really right, that it is for WebOS 5 TVs. Firstly I had problems getting a capture in which the frames weren't pixel pulb in older versions. Now I can't even run it because of a missing library:
Failed to load backend library: /media/developer/apps/usr/palm/services/org.webosbrew.piccap.service/libdile_vt_backend.so, error: libgm.so.1: cannot open shared object file: No such file or directory
Maybe libgm should also be loaded dynamicly since libdile_vt is working but needs some debugging and fixing on at least my  WebOS 5 TV.

Indeed. We should probably move graphics capture into either modules
loadable by capture backends, or move blending/frame processing out of
capture backends and into the "core" altogether.
On Fri, 7 Jan 2022, 18:18 TBSniller, @.***> wrote:

@.**** requested changes on this pull request.
Maybe gm can also be loaded dynamically.
—
Reply to this email directly, view it on GitHub
https://github.com/webosbrew/hyperion-webos/pull/21#pullrequestreview-846821043,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIUEXTONKNTSMUVWKVK77DUU4N4VANCNFSM5KRIVQWQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

Superseded by #43


User must be able to deploy keys to specific environments

Requirements: A user should be able to deploy to ALL, or to a specific SET of environments. The UI and Hub REST interfaces should provide this functionality so keys are not deployed everywhere since this might not be the intention of the user.
For the Hub side, the REST call that deploys the key to all environments probably iterates through all the environments of the user. This rest call can stay as-is and the Tray can use it when the user wants to deploy the key to all environments. We can add another rest call that specifies a target environment or a SET of environments to deploy keys to. Tray can pick the REST call based on what the user picks on the UI. This way we do not disrupt existing working functionality. Just need to copy and alter old rest call to consider set of environments.
The Tray can give two modes to the user in it's key deployment UI dialog. (a) deploy to all environments (existing functionality), (b) deploy to specific environments. The mode can be selected with a checkbox.
If the user selects to deploy to (default) specific environments (deploy all checkbox is not selected) then you can use a list widget with a right and left hand side. On the right side is selectable list of environments that you can deploy the key to. This right list should not include environments to which the key has already been deployed. The left side are the environments selected. When you select on right and transfer to left user selects specific set of environments to deploy to.
If you select deploy to all by checking the checkbox for the deploy all mode, then the widget for selecting specific environments clears and is greyed out (inactive).
The user should also be shown some progress, and errors should be reported to the user with logs reporting exactly which environments and containers the deployment failed on.

After this issue is closed, please create a new issue where we first specify how the Tray and the Hub can control deployment of keys to specific containers within an environment. Meaning you don't just deploy keys to all containers in the environment.

Also we have to store information about ssh-keys and environments and use this information in ezssh process.

We need 2 methods :

Add key to environment
Check if several keys are presented in environment. Something like :
check_keys_in_environment(list_of_keys, environment_id) .
That method should return boolean array. For example if we have 1 and 3 keys presented in specified environment that method should return ["true", "false", "true"].
Tray needs it because of big overhead.
@zubaidullo  could help with it.

@Lezh1k keep in mind that eventually we even want to control to which containers the keys are deployed. At present I don't think the Hub or even SS supports this.

We need one more method for removing ssh key from environment.
Something like this : void remove_keys_from_env(environment_id, array_of_ssh_keys) .
@zubaidullo could help with it.


Update compatibility tables for detekt 1.23.0

Messages

:book:

Thank you very much for making our website better :heart:!

  Generated by :no_entry_sign: dangerJS against 960f0ae2c58f47c979d5e401be9bfd83c6e70ab3


Define platform support tiers (RFC 36)

RFC 36
The definition of support tiers and a list of platforms with the corresponding support tiers is added as an appendix to the Nixpkgs manual. The list of platforms is further maintained as a part of the Nixpkgs manual. The platform list in the manual will be initially based on the list in the appendix of the present RFC.

Started in #254741


Dify Integration (embedding model)

see https://github.com/langgenius/dify/issues/1175

Glad to see, what can we do for this integration?

It seems dify embedding can work well in normal xinference mode(llama2 embedding).
I posted here because maybe it's better to solve this in xinference, I am not sure.
I think dify is going to solve this.


feat: add function to combine bitstrings

Description
This PR introduces combine_bitstrings function, which combines (or aggregates) bitstrings according to the multiplicities of circuits run. We already have combine_measurement_counts function, but for discarding extra measurements in Qiskit runner we need this one instead. This is because we cannot discard from the histograms and we have to discard at the raw measurements level instead.
Please verify that you have completed the following steps

[x] I have self-reviewed my code.
[x] I have included test cases validating introduced feature/fix.
[x] I have updated documentation.

Codecov Report
Base: 95.16% // Head: 95.14% // Decreases project coverage by -0.03% :warning:

Coverage data is based on head (2194e34) compared to base (abd8ac6).
Patch coverage: 83.33% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #79      +/-   ##
==========================================
- Coverage   95.16%   95.14%   -0.03%
==========================================
  Files          49       49
  Lines        3103     3108       +5
==========================================
+ Hits         2953     2957       +4
- Misses        150      151       +1

Impacted Files
Coverage Δ

src/orquestra/quantum/circuits/_itertools.py
97.56% <83.33%> (-2.44%)
:arrow_down:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Update deps eframe and egui to v0.24

Similar to the  previous pull request.
Packages who use this repo as dependency has egui versions conflict "error[E0308]: mismatched types - two different versions of crate egui are being used".

As a temporary dependency solution you can use this pull request in your Cargo.toml:
[dependencies]
egui-plotter = { git = "https://github.com/Gip-Gip/egui-plotter.git", rev = "refs/pull/11/head" }

https://github.com/emilk/egui/releases/tag/0.25.0


Continue emitting metrics after ignoring untyped metric.

Resolves #40
Rather than exiting a scrape when encountering an untyped metric, simply ignore the metric.
Improves untyped test to ensure a properly typed metric is emitted while the untyped metric is ignored.

Closing this PR since it was already addressed in this commit.


It is Impossible to write 'ö' on US-International Keyboard Layout

Description:
Writing German (or other special) characters on an English keyboard Layout requires you to first selct the United-States International Layout. Then you can hit [rightAlt] + [Key] to write the desired Umlaut.
This works in most cases:
[Atl]+[Q] for 'ä' and the uppercase variant; [Alt]+[Y] for 'ü' and the uppercase variant; [Alt]+[S] for ß;
However this does not work for [Alt]+[P] ('ö') (it does work with shift).
Server Setup Information:

Version of Rocket.Chat Server:
Operating System: Windows 10
Deployment Method(snap/docker/tar/etc):
Number of Running Instances:
DB Replicaset Oplog:
Node Version:

Steps to Reproduce:

In Windows change the Keyboard Layout to USA-International
Click on any Chat text field
Press [RightAlt] + [P]

Expected behavior:
an 'ö' appears at the location of the cursor
Actual behavior:
the cursor jumps to the Search bar
Relevant logs:
none

I guess it did not work when the bug was reported - mentioned here: https://github.com/RocketChat/Rocket.Chat/issues/9322
Facing the same issue & hoping for a fix soon-ish. :)

@pascal-t and @Kirinkunhime: could you please inform the Rocket.Chat server version?

@tassoevan I as a user cannot find a way to see the server version. I also don't see how it is relevant since the problem occurse exclusively in the desktop app. The proplem is still present after I updated the desktop app to the latest version (2.14.7)

@pascal-t Some keystrokes are captured by the web client version which is rendered inside the desktop app version; it's possible that the key shortcut to go to search bar has been captured instead of leaving the keys free for typing. In recent versions, some of those shortcuts changed. If access the server from a browser doesn't reflects the issue, so it's definitely a desktop app issue, of course.
As a user, you can check the server version by accessing the URL https://<your server address>/api/v1/info in any browser.

The server version is 0.73.2

@pascal-t Thank you!

@pascal-t and @Kirinkunhime: could you please inform the Rocket.Chat server version?

On my side it's 0.74.2

FYI - at least on my side it seems fixed for now by updating to 0.15.0 of the Desktop-client.
Server does not seem to influence this, as I've seen this behaviour before on a 0.63.3 server and there it works now perfectly fine.

Can confirm that it is working after updating to v2.15.0


fix(db_engine_specs): mysql longtext type should not be numeric

SUMMARY
Currently the MySQL type LONGTEXT is flagged as is_numeric due to the .*LONG.* pattern for numeric types. This makes the generic matching rule more specific for LONG types, and adds BIT as a default numeric type, as it is commonly a numeric datatype.
TEST PLAN
CI + new tests. We should add similar tests to all officially supported databaases to ensure column types are flagged correctly.
ADDITIONAL INFORMATION

[x] Has associated issue: closes #10660
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

FYI: @abhishekkumaresan

@abhishekkumaresan I agree, the unique table name constraint is problematic, and would optimally be replaced with (database_id, schema and table_name), but there are some database compatibility issues associated with it that I can't fully recall right now. I believe there are a few issues or PRs where there has been extensive dialogue on this topic that you can chime in on. I personally feel this topic should be revisited, as I feel it is a major hinderance for many users, so if you can't find those discussions feel free to add a new issue to get this conversation started again (I'll weigh in with my opinions, too).
@dpgaspar is probably the best person to help with programmatic creation of users.

@abhishekkumaresan, currently there is no "official" / "right" way to create users or roles programatically and remote ( via a REST API ). A database creation API endpoint is just around the corner on the roadmap so stay tunned.

@villebro  Thank you, I will  search for the PRs related to the table_name
@dpgaspar  Thank you, will wait for the changes