MySQL password changes only take effect for logged out users

I am using the MySQL plugin for authentication.  Password changes are made by an external application.  For logged-out users, this works fine.  But for logged-in users, the user must use the old password until the he or she logs out.
Example:  A user is trying to reconnect to a disconnected Remote Desktop session after a password change.  This fails with the new password even though the MySQL record has been properly modified.
I imagine this affects other Authentication Plugins as well (LDAP and/or RADIUS), but I don't use them, so I don't know for sure.
I realize this is by design, as the documented flow-chart shows that authentication for logged-in users do not go through the plugin chain.  But shouldn't the "Is User Logged In?" check be between the Authentication stage and the Authorization stage?  Then, if the user is logged in, the results of the Authentication stage would be returned upstream with the rest of the plugin chain ignored.

http://mutonufoai.github.io/pgina/documentation/user.html#change_password
As you can see, MySQL doesn't support password change option.

True, which is why the password must be changed via an external application.  I understand that behavior and have no issue with it.  What I'm wondering is why the Authentication plugins (and only the Authentication plugins) aren't fired when the user is already logged in.  (Or, as in the case of RDP, the user is simply disconnected but not logged out.)
Maybe I'm jumping to a particular solution when another one exists, so here is my problem, in a nutshell:

User connects to computer via RDP, User logs out, User changes password, User connects again to computer via RDP: This WORKS
User connects to computer via RDP, User disconnects, User changes password, User connects again to computer via RDP: This FAILS (Bad Password)

Any idea how to get #2 to succeed using the MysSQL plugin for Authentication?
Thanks

http://mutonufoai.github.io/pgina/documentation/user.html#how_pgina_works
In an unlock scenario NO plugin in executed.
Why?
Because plugins can't distinguish between a login and an unlock.


Api v1 broke 4.9 OpenShift

The addition of ApiextensionsV1beta1Apibroke the autonomous pod scenarios for OpenShift 4.9. With setting the kuberenetes api to ApiextensionsV1Api it should work for all versions.
Note: Updated the version of kubernetes as well. Definitely does not have to be added in this PR but think it should be updated to a more recent version soon

Hi @seeker89, can we get some eyes on this PR when you get time please? This unblocks testing the latest OpenShift bits. Thanks.

This looks good. Could you bump the version to 3.3.0?

This looks good. Could you bump the version to 3.3.0?

Updated!

Thanks for the quick review and merging @seeker89
Really appreciate it


Moving accessanalyzer (1),account (1), amplify (4) resources to v1beta1 version

Description of your changes
Moving accessanalyzer (1),account (1), amplify (4) resources to v1beta1 version.
Moving 1 resource in the accessanalyzer group:

aws_accessanalyzer_analyzer

Moving 1 resource in the account group:

aws_account_alternate_contact

Moving 4 resources in the amplify group:

aws_amplify_app
aws_amplify_backend_environment
aws_amplify_branch
aws_amplify_webhook

Fixes https://github.com/upbound/provider-aws/issues/71
I have:

[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested
Manually.

/test-examples="examples/accessanalyzer/analyzer.yaml"

/test-examples="examples/account/alternatecontact.yaml"

/test-examples="examples/amplify/app.yaml"

/test-examples="examples/amplify/backendenvironment.yaml"

/test-examples="examples/amplify/branch.yaml"

/test-examples="examples/amplify/webhook.yaml"

/test-examples="examples/accessanalyzer/analyzer.yaml"

/test-examples="examples/account/alternatecontact.yaml"

/test-examples="examples/amplify/backendenvironment.yaml"

/test-examples="examples/amplify/branch.yaml"

/test-examples="examples/amplify/webhook.yaml"


What is the range of m?

Describe the feature
I was trying to encrypt a large vector(size>40000) in batch mode. So I need to enlarge the m in contextGen() to over 40000.(I think so). When I do this, there is an error report:
File "testBatchPyfhel.py", line 20, in
HE.contextGen(p=p,m=m, base=2, sec=192, flagBatching=True)
File "Pyfhel/Pyfhel.pyx", line 182, in Pyfhel.Pyfhel.Pyfhel.contextGen
File "Pyfhel/Pyfhel.pyx", line 216, in Pyfhel.Pyfhel.Pyfhel.contextGen
IndexError: no default parameters found
I also met this error when I wanted to set m to 25 or some small number like this.
Is there any range for m? Thank you!
Is this feature related to a project/objective? Please describe briefly
I want to know how to use Pyfhel correctly.

Hi Echizen! The error message is pretty much spot-on: Pyfhel couldn't find a valid set of default parameters for the underlying cryptosystem that match m=400000.
In order to take advantage of the default parameters, you will want to set m to a power of two (e.g. 32768) and it will also need to be above a certain minimum size (>1024, maybe >2048? I can't recall right now). The latter is required since ensuring the security of the underlying scheme implies minimum sizes of m, while the power-of-two one is a de-facto limitation of the implementation.
You should also be aware that 32k or 64k are very large parameter instances, so performance might suffer a bit, especially around key generation.

That makes sense! However, I tried set m=65536 while p=1964769281. It still reported that error. Any other potential issues? Thank you!

64k is a very large parameter size and there aren't yet any standardized parameter sets at this size. While it should technically be possible to use such large parameters in Pyfhel by manually providing all parameters, this requires a pretty good understanding of the reserach literature on the topic to ensure security & efficiency.
It'll probably be more efficient to split a large input array into multiple smaller (16k or 32k) ciphertexts rather than trying to come up with custom parameters for 64k.

Got your idea! Thank you so much!


Support for pynwb.ophys.MotionCorrection

Could you plead add a view plugin for the CorrectedImageStack object of MotionCorrection container? reference

@alessandratrapani I haven't added a plugin, but I changed how this is displayed on the main NWB view... like this:

It's this example:
https://neurosift.app/?p=/nwb&url=https://api.dandiarchive.org/api/dandisets/000347/versions/draft/assets/efd27d5c-2a90-4346-9f74-98f7f18a0233/download/&dandisetId=000347&dandisetVersion=draft
Let me know if this is sufficient for now.


Add monitor-dog

Add counter and timer for all ponos jobs. Hidden behind flag.

increment for all started jobs

increment for all jobs results: success, timeout error, fatal error, task error

ponos.timer to track how long each task execution took

[x] please merge https://github.com/Runnable/monitor-dog/pull/11 first

[x] use merged version of monitor-dog

[x] review

[ ] demo

@anandkumarpatel, @bkendall, @rsandor please review

@bkendall one more review, please

one cosmetic thing and one leaky thing, and then I think you're good to go! :smile:

LGTM! I'm going to run a test or two locally, but looks very good!


half the number of clock cycles sent to components when in GBC mode, use shift (>> 1) instead of divide

this was added in commit 2f75e2c


GsonAdaptersModel missing

Trying to build sample app from develop & Rx2 branches but both are missing GsonAdaptersModel..

That class gets generated when you build.


Parametrization of the RML artefact

Is there a way of parametrizing externally the execution of the rmlmapper (as in XSL-T). For example, could one tell the mapper to use one or another source without having to embed it inside the rml turtle file? I am currently doing this using the data source itself, but that is not always possible when you do not control the source.
Many thanks, I could not find this in the documentation.

Hi, the source should always be present in the RML turtle file. A solution might be to program a script to put the specific source you want in the turtle file.
Perhaps also look at the discussion in #94 how other people solved a similar problem.

Another option would be to use an RML turtle file without rml:source and add that triple as a command line option. All files and strings passed using the option -m will be concatenated and used as mapping file by the mapper.
So for example this mapping.rml.ttl which has no rml:source:
@prefix rml: <http://semweb.mmlab.be/ns/rml#> .
@prefix ql:  <http://semweb.mmlab.be/ns/ql#> .
@prefix rr:  <http://www.w3.org/ns/r2rml#> .
@base        <http://example.org/> .

<#source> a rml:LogicalSource ;
  rml:referenceFormulation ql:CSV .

<#triplesMap> a rr:TriplesMap ;
  rml:logicalSource <#source> ;
  rr:subjectMap [
    rr:template "http://example.org/#{name}" ;
    rr:class <#Person> ] .

Could be called with these command line parameters:
java -jar rmlmapper.jar -m mapping.rml.ttl -v -m "<#source> rml:source \"input1.csv\" ."

And in the last option input1.csv could be replaced with the path of any file you would like to use as input.

Hi, the source should always be present in the RML turtle file.

@thomas-delva this sounds like a really bad idea, if I'm honest. RML mapping should be a function applied on the input argument(s), just like XSLT as the others already have mentioned. Functions do not hardcode their arguments inside them.

@namedgraph
As @thomas-delva showed in the other comment, you can supply multiple mappings and they will be merged. This way, you can even put a complete RML Logical Source separately which can be scripted as you want.

RML mapping should be a function applied on the input argument(s), just like XSLT

RML mappings do not have currently 'arguments'.
RML mappings are unrelated to XML and XSLT.
If you want to see such arguments or variables in mappings, I suggest to discuss this in a GitHub issue of the W3C Community Group on Knowledge Graph Construction: https://github.com/kg-construct

RML mappings are unrelated to XML and XSLT.

Conceptually they are. You take input data and you apply a transformation function to get output data.


docs(example): fix rename file keymap

Description
Fixes "Rename File" keymap in Usage section of README.

ty


from the workbranch

Docs Build status updates of commit cfdfc08:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

BingMaps/getting-started/bing-maps-api-best-practices.md
:white_check_mark:Succeeded

BingMaps/rest-services/locations/location-data.md
:white_check_mark:Succeeded

BingMaps/rest-services/routes/calculate-a-route.md
:white_check_mark:Succeeded

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


services/horizon/internal/db2/history: Add AssetsForAddress.

PR Checklist
PR Structure

[ ] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[ ] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[ ] This PR's title starts with name of package that is most changed in the PR, ex.
services/friendbot, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[ ] This PR adds tests for the most critical parts of the new functionality or fixes.
[ ] I've updated any docs (developer docs, .md
files, etc... affected by this change). Take a look in the docs folder for a given service,
like this one.

Release planning

[ ] I've updated the relevant CHANGELOG (here for Horizon) if
needed with deprecations, added features, breaking changes, and DB schema changes.
[ ] I've decided if this PR requires a new major/minor version according to
semver, or if it's mainly a patch change. The PR is targeted at the next
release branch if it's not a patch change.

What
Add AssetForAddress to db2/history.
Why
The path finding action handler rely on core to load assets and balances for a given address. This PR adds the same method which returns xdr.Assets and their matching balances but using Horizon DB as the source.
This is part of the initial work to drop db2/core (#2643 ).
Known limitations
[TODO or N/A]

Makes sense - I moved the implementation almost verbatim from the coreQ
version -- do you know why was the repeatable read not added there? An
oversight maybe?
On Fri, Jun 5, 2020 at 8:08 AM Bartek Nowotarski<EMAIL_ADDRESS>wrote:

@bartekn commented on this pull request.
In services/horizon/internal/db2/history/trust_lines.go
https://github.com/stellar/go/pull/2662#discussion_r435908938:

@@ -21,6 +21,38 @@ func (trustLine TrustLine) IsAuthorizedToMaintainLiabilities() bool {
return xdr.TrustLineFlags(trustLine.Flags).IsAuthorizedToMaintainLiabilitiesFlag()
}

+// AssetsForAddress returns a list of assets and balances for those assets held by
+// a given address.
+func (q *Q) AssetsForAddress(addy string) ([]xdr.Asset, []xdr.Int64, error) {
I wonder if we should add something like:
https://github.com/stellar/go/blob/1a17544531b0f306961c6f0de61e432102b579e5/services/horizon/internal/db2/history/orderbook.go#L49-L51
We are sending two queries so they may return results at different ledgers
if not in REPEATABLE READ tx.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/stellar/go/pull/2662#pullrequestreview-425282146, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAFKDFQDHT6EZICMFPN7VLRVDU4RANCNFSM4NS552RQ
.

do you know why was the repeatable read not added there?

It was simply a bug. We made 3-4 DB queries to build /account/{id} and non was sent in a transaction.


Try to predict interesting repos when listing trending

Opportunity to use fuzzy logic; based on current stars:

Interesting languages
Libraries vs programs
CLI vs GUI
OS (macOS, Windows, Linux)
License
Number of stars

Hi,
Hope u are all well !
Here are some additional suggestions for your limo project:
For more in depth results:
1- Stargazers graph feature
https://github.com/spencerkimball/stargazers
Maybe would require to use neo4j or graphql to see results.
here is a copy of my glide.yaml picking the right pkg version:
package: github.com/spencerkimball/stargazers
import:
- package: github.com/kennygrant/sanitize
  version: 7fdd72ab580907c39c5f0b8b98b8d89e5476f424
- package: golang.org/x/net
  version: e7b14352cc2ad797a09634fc0f1dd12942fa86de
- package: github.com/spf13/pflag
  version: 5ccb023bc27df288a957c5e994cd44fd19619465
- package: github.com/spf13/cobra
  version: 6e91dded25d73176bf7f60b40dd7aa1f0bf9be8d
- package: github.com/cockroachdb/cockroach
  version: 7bf1439e813747001a390d1e960669b3861a734f

2- Small web-ui
for web-ui, comparing to astral, I saw some ng-admin bindings with gin-gonic:
https://github.com/Onefootball/entity-rest-api
or maybe just to write a rest api compatible with astral front-end, would be more simple...
3- Combine and compare most popular repos of 2016 and 2015
https://github.com/donnemartin/viz
I have a docker image ready for this one with python/tox but the data can be imported into a postgres/mysql or boltdb database.
Cheers,
Richard

Thanks for the feedback! Those are some great ideas -- I'll try to figure out how to incorporate them.

Another one, I found useful for full text indexation is the linguist project https://github.com/generaltso/linguist.
I will try to PR a draft in a couple of days with a gin-gonic base rest api + cli, I found some inspirationn with this repository: https://github.com/bobinette/papernet

I guess I'm a little confused about the direction you're looking at -- limo will stay a CLI. This issue was to address the "limo list trending" command, which uses the github API to list repos that are currently trending on GitHub.
The thought was to incorporate your current stars to help drive the criteria to use on the GitHub search API. So, for example, if you've only ever starred Go repos, or CLI repos, or repos that run only on Linux, then it would shape the query accordingly to try to show only repos that are interesting to you.
What are you thinking of building?


Add link to repo in README

A fairly simple request: Please add a link in the README to this GitHub repo.
It may sound a bit strange, but remember that the README is also shown inside VS Code when you (pre)view the extension. So having a direct link in VS Code to this repo is useful.

When GitLens 8 comes out (hopefully in the near-ish future) there will be a link in the README, but just so you know, vscode adds the repository link in the header section:

but just so you know, vscode adds the repository link in the header section

That is a new feature that must have been added recently and I missed. Sorry for the noise.

No worries at all! 😄

Quick related question: I assume it gets the info from package.json?

Correct


Add Reddit in social media accounts

A lot of the early OpenBazaar adopters are Bitcoiners which are active on Reddit. I thing complementing Twitter and Facebook with Reddit would enrich the vendor profiles.

oops, closed by mistake. re-opening.

We are re-working the UX for social accounts in v2. There will likely be a drop-down of available social accounts types. I'm not sure if Reddit will be one of the options, but Other will be one of the options, so it can always be represented that way. I believe it's still to be determined what the full set of options will be, so Reddit may just make it in.

Using "Other" is probably to right way forward for stuff like LinkedIn, Reddit and future social media platforms.


Add 1-2 more benchmark (real-world) results in the repository as an example

Is your feature request related to a problem? Please describe.
Once deployed, it would be nice to see the database with some (real-world) examples
Describe the solution you'd like
Add 1-2 benchmarks and corresponding results in the repository, to be available

Is your feature request related to a problem? Please describe.
When users set up the application, they have no way to try it out as there's no data.
Describe the solution you'd like
Example data should be provided so users can test the different features.
Describe alternatives you've considered
Automatically data previously existed but was removed as it's not really representative of real world data.
Additional context
This data should be fetched by running benchmarks on different deployed machines using various configurations.

Is your feature request related to a problem? Please describe.
When users set up the application, they have no way to try it out as there's no data.
Describe the solution you'd like
Example data should be provided so users can test the different features.
Describe alternatives you've considered
Automatically data previously existed but was removed as it's not really representative of real world data.
Additional context
This data should be fetched by running benchmarks on different deployed machines using various configurations.

C-ray (cpu raytracing benchmark) sample data was added in 3c0c08ebb9b4d91a11d486fa9e57408350b5c626.

C-ray (cpu raytracing benchmark) sample data was added in 3c0c08ebb9b4d91a11d486fa9e57408350b5c626.

More extended data for c-ray has been added in d9219ea360673604f04c0407e6f167640b331a58


Remove deflicker, it's just too jank

Fixed by https://github.com/TheBevyFlock/bevy-template/pull/85.


As a visitor, I want to know what the app is about

Need to add an about or help page about the application.
Why traveling guestbook? To empower people to start conversations themselves
How does traveling guestbook achieve that? By providing conversation starters, the sociables
What does traveling guestbook do? A website where you can log your conversation experiences

Wrote an about page


No type script version

Adds a ".No TypeScript Version" folder to the main msal-vue-demo repo.
The contents of which are a working implementation of msal-vue-demo without using TypeScript.
This pull request contains the fix #1 for 3.1 support.
This version of the app replaces the api service and user view with a dashboard view that uses a stacked Vue Chart JS Bar component with tooltip filter and functions together with some sample data that replace what would otherwise come from an Express.js backend.

Hey there,
Thanks for the PR but won't merge this; TS is here to stay 😊
I am though, happy to link to a fork from the main blog article, if perhaps you want to clean it up (I guess, replace those files in the root?).
LMK!

Hey,
thanks for the feedback! I cleaned up the fork so please link it if you want.
I tried using TS but then ran into very frustrating issues with the Vue ChartJS Chart Options and it was frustrating to me because I felt like I'm spending hours to research cryptic TS error messages of code that would work just fine for it's intended purposes.
"Easy things become difficult and difficult things become any" ;-)
TS really took out some of the joy for me.
Even if I had everything in TS - what do I gain?
I don't care about type safety or autocomplete.
I'm willing to give it a try in the future however.
Idially I want to get to the point where I like TS (now I hate it).
How would the following code look in TS? I would have to rewrite the helper functions in TS.
I tried but got stuck because I didn't know if I really had to describe fully the structure (type) of the options object.
I tried to import the type from the Chart JS or Vue Chart JS library but that didn't work either for some reason.
Then I learned instead of rewritting the md5 function into TS I could exclude it from TypeScript... but at that point, what's the point?
      options: {
        interaction: {
          intersect: false,
          mode: 'x',
        },
        plugins: {
          tooltip: {
            filter: function (tooltipItem) {
              return tooltipItem.dataset.data[tooltipItem.dataIndex] > 0;
            },
            callbacks: {
              footer: helpers.tooltipFooter,
            },
          }
        },
        responsive: true,
        scales: {
          x: {
            stacked: true,
          },
          y: {
            stacked: true,
            beginAtZero: true,
            title: {
              display: true,
              text: 'CHF',
            },
          }
        }
      },

helpers.tooltipFooter function:
const tooltipFooter = (tooltipItems) => {
  let sum = 0;
  tooltipItems.forEach(function(tooltipItem) {
    sum += tooltipItem.parsed.y;
  });
  return 'CHF ' + sum;
};

Then this:
    const datasets = Object.keys(pricesByService).map((service) => ({
      label: service,
      backgroundColor: helpers.stringToColor(service),
      data: customerNames.map((customerName) =>
        pricesByService[service][customerName] || 0
      ),
    }));

helpers.stringToColor function:
const stringToColor = (str) => {
  let md5string = md5(str);
  let color =  `#${md5string.slice(0, 6)}`;
  return color;
}

// md5 function by [dkellner](https://stackoverflow.com/users/1892607/dkellner)
const md5 = (inputString) => {
  var hc="0123456789abcdef";
  function rh(n) {var j,s="";for(j=0;j<=3;j++) s+=hc.charAt((n>>(j*8+4))&0x0F)+hc.charAt((n>>(j*8))&0x0F);return s;}
  function ad(x,y) {var l=(x&0xFFFF)+(y&0xFFFF);var m=(x>>16)+(y>>16)+(l>>16);return (m<<16)|(l&0xFFFF);}
  function rl(n,c)            {return (n<<c)|(n>>>(32-c));}
  function cm(q,a,b,x,s,t)    {return ad(rl(ad(ad(a,q),ad(x,t)),s),b);}
  function ff(a,b,c,d,x,s,t)  {return cm((b&c)|((~b)&d),a,b,x,s,t);}
  function gg(a,b,c,d,x,s,t)  {return cm((b&d)|(c&(~d)),a,b,x,s,t);}
  function hh(a,b,c,d,x,s,t)  {return cm(b^c^d,a,b,x,s,t);}
  function ii(a,b,c,d,x,s,t)  {return cm(c^(b|(~d)),a,b,x,s,t);}
  function sb(x) {
      var i;var nblk=((x.length+8)>>6)+1;var blks=new Array(nblk*16);for(i=0;i<nblk*16;i++) blks[i]=0;
      for(i=0;i<x.length;i++) blks[i>>2]|=x.charCodeAt(i)<<((i%4)*8);
      blks[i>>2]|=0x80<<((i%4)*8);blks[nblk*16-2]=x.length*8;return blks;
  }
  var i,x=sb(""+inputString),a=1732584193,b=-271733879,c=-1732584194,d=271733878,olda,oldb,oldc,oldd;
  for(i=0;i<x.length;i+=16) {olda=a;oldb=b;oldc=c;oldd=d;
      a=ff(a,b,c,d,x[i+ 0], 7, -680876936);d=ff(d,a,b,c,x[i+ 1],12, -389564586);c=ff(c,d,a,b,x[i+ 2],17,  606105819);
      b=ff(b,c,d,a,x[i+ 3],22,-1044525330);a=ff(a,b,c,d,x[i+ 4], 7, -176418897);d=ff(d,a,b,c,x[i+ 5],12,<PHONE_NUMBER>);
      c=ff(c,d,a,b,x[i+ 6],17,-1473231341);b=ff(b,c,d,a,x[i+ 7],22,  -45705983);a=ff(a,b,c,d,x[i+ 8], 7,<PHONE_NUMBER>);
      d=ff(d,a,b,c,x[i+ 9],12,-1958414417);c=ff(c,d,a,b,x[i+10],17,     -42063);b=ff(b,c,d,a,x[i+11],22,-1990404162);
      a=ff(a,b,c,d,x[i+12], 7,<PHONE_NUMBER>);d=ff(d,a,b,c,x[i+13],12,  -40341101);c=ff(c,d,a,b,x[i+14],17,-1502002290);
      b=ff(b,c,d,a,x[i+15],22,<PHONE_NUMBER>);a=gg(a,b,c,d,x[i+ 1], 5, -165796510);d=gg(d,a,b,c,x[i+ 6], 9,-1069501632);
      c=gg(c,d,a,b,x[i+11],14,  643717713);b=gg(b,c,d,a,x[i+ 0],20, -373897302);a=gg(a,b,c,d,x[i+ 5], 5, -701558691);
      d=gg(d,a,b,c,x[i+10], 9,   38016083);c=gg(c,d,a,b,x[i+15],14, -660478335);b=gg(b,c,d,a,x[i+ 4],20, -405537848);
      a=gg(a,b,c,d,x[i+ 9], 5,  568446438);d=gg(d,a,b,c,x[i+14], 9,-1019803690);c=gg(c,d,a,b,x[i+ 3],14, -187363961);
      b=gg(b,c,d,a,x[i+ 8],20,<PHONE_NUMBER>);a=gg(a,b,c,d,x[i+13], 5,-1444681467);d=gg(d,a,b,c,x[i+ 2], 9,  -51403784);
      c=gg(c,d,a,b,x[i+ 7],14,<PHONE_NUMBER>);b=gg(b,c,d,a,x[i+12],20,-1926607734);a=hh(a,b,c,d,x[i+ 5], 4,    -378558);
      d=hh(d,a,b,c,x[i+ 8],11,-2022574463);c=hh(c,d,a,b,x[i+11],16,<PHONE_NUMBER>);b=hh(b,c,d,a,x[i+14],23,  -35309556);
      a=hh(a,b,c,d,x[i+ 1], 4,-1530992060);d=hh(d,a,b,c,x[i+ 4],11,<PHONE_NUMBER>);c=hh(c,d,a,b,x[i+ 7],16, -155497632);
      b=hh(b,c,d,a,x[i+10],23,-1094730640);a=hh(a,b,c,d,x[i+13], 4,  681279174);d=hh(d,a,b,c,x[i+ 0],11, -358537222);
      c=hh(c,d,a,b,x[i+ 3],16, -722521979);b=hh(b,c,d,a,x[i+ 6],23,   76029189);a=hh(a,b,c,d,x[i+ 9], 4, -640364487);
      d=hh(d,a,b,c,x[i+12],11, -421815835);c=hh(c,d,a,b,x[i+15],16,  530742520);b=hh(b,c,d,a,x[i+ 2],23, -995338651);
      a=ii(a,b,c,d,x[i+ 0], 6, -198630844);d=ii(d,a,b,c,x[i+ 7],10,<PHONE_NUMBER>);c=ii(c,d,a,b,x[i+14],15,-1416354905);
      b=ii(b,c,d,a,x[i+ 5],21,  -57434055);a=ii(a,b,c,d,x[i+12], 6,<PHONE_NUMBER>);d=ii(d,a,b,c,x[i+ 3],10,-1894986606);
      c=ii(c,d,a,b,x[i+10],15,   -1051523);b=ii(b,c,d,a,x[i+ 1],21,-2054922799);a=ii(a,b,c,d,x[i+ 8], 6,<PHONE_NUMBER>);
      d=ii(d,a,b,c,x[i+15],10,  -30611744);c=ii(c,d,a,b,x[i+ 6],15,-1560198380);b=ii(b,c,d,a,x[i+13],21,<PHONE_NUMBER>);
      a=ii(a,b,c,d,x[i+ 4], 6, -145523070);d=ii(d,a,b,c,x[i+11],10,-1120210379);c=ii(c,d,a,b,x[i+ 2],15,  718787259);
      b=ii(b,c,d,a,x[i+ 9],21, -343485551);a=ad(a,olda);b=ad(b,oldb);c=ad(c,oldc);d=ad(d,oldd);
  }
  return rh(a)+rh(b)+rh(c)+rh(d);
}

Hey hey,
Well, well done for giving it a go!
You are right that if you don't know "the thing" Typescript can be extremely frustrating.
I would say that you can learn 80% of "the things" in under an hour by simply going through the TypeScript handbook on the website. It is some of the best documentation out there, and by the time you're halfway through you will be so enthused the next page won't be able to come soon enough!
Once you get to things like utility classes, Records, generics, etc hopefully you'll be 🤯🤩🚀.
FWIW I cloned your code but of course it's all JS now, so there's no way to help with the issues you were having.
I suspect that if the chart props were typed correctly, you may have been passing in something you shouldn't.

https://github.com/apertureless/vue-chartjs/blob/96680d66feb717428c4243549640c9a22c544bd8/src/props.ts#L12
https://github.com/chartjs/Chart.js/blob/6516b0a150eebf3fb9eab596f89d63e27e1bc6d5/src/types/index.d.ts#L3789

The easiest way to check in these cases is to delete all the options back to an empty object then use Ctrl+Space or whatever you editor uses to show autocomplete and see what options are available to you.
Sometimes you need to type objects separately to see:
import { BarOptions } from 'chart-lib'

const options: BarOptions = {
  // can only enter properties of BarOptions here
}

You can then pass them in.
Vue and Nuxt also use "define" functions which are nice as you get the same thing from function parameters:
function defineThing(options: ThingOptions): Thing {
  // pass back thing
}

const thing = defineThing({
  // can only enter properties of ThingOptions here
})

Not sure if that helps now, but at some point in your near future perhaps you'll go "Oh yeah, that's what Dave said!". 🤞
Final thing – adding charts and external libs (as you have found out) is exactly the thing I don't want for this repo! Adding authentication is enough of a f---ing drama without adding extra stuff for folks to trip over.
So, I guess I'll say, don't give up, keep chipping away and asking for help and you'll slowly slowly get there.
Final tip; consume everything this guy puts out:

https://www.youtube.com/watch?v=p6dO9u0M7MQ

He's a Wizard, Harry!

Hey Dave
Thank you very much!
I may look into TypeScript on Thursday or Friday again.
I needed a pause because I was really feeling the hate haha...
The sales text at totaltypescript is describing it flawlessly::

"The feature’s working. The tests are passing.
But your IDE is a sea of red lines. TypeScript’s not happy again.
You move on to the next error:
“What on earth is this?”
you think to yourself."

&

"The truth is that you never truly learned TypeScript, at least not in depth. That's the source of your pain."

Yeah that's what I suspected intuitively. So I'll give TypeScript Handbook a go and then check out the YouTube video.


The JSON function cannot serialize objects of type 'UntypedObject'

There is no reason why we would not support this use case. Let's support it.

I agree - we should do this.
We should be able to implement this on the existing IUntypedObject interface (without any breaking changes or extra requirements on the interface).
Note that JSON (ParseJson()) does not necessarily round trip.

Hello! I am currently attempting to go from Table to Text without success without Power-Fx in Copilot.
JSON(Topic.result,JSONFormat.IgnoreBinaryData & JSONFormat.IgnoreUnsupportedTypes)
Receiving this error: The JSON function cannot serialize objects of type 'Table'.
Appreciate any update!

Will this going to be in public MS Copilot?
if you try to do JSON(Topic.Var1, JSONFormat.IgnoreUnsupportedTypes) "The JSON function cannot serialize objects of type table"
So it works if you do that inline e.g. JSON(["1","2"]) but if you store ["1",""2"] in a variable it wont work

@PabloRoldanCRM, this was fixed in this PR. I'm working on the update to Copilot Studio, now. I'd expect it to hit production in early January.


extendedlocation type for appservice should not be readonly

https://github.com/Azure/azure-rest-api-specs/blob/main/specification/web/resource-manager/Microsoft.Web/stable/2021-02-01/CommonDefinitions.json#L1164
the type property is marked as readonly, but actually when creating an app service on arc, users need to input this field. Otherwise the backend server will report  error.
please remove the readonly

@vinisoto  Can you please help fix this issue? Apparently, the generated swagger does not have the read-only tag, but the one in the swagger github repo does.

Hey @naveedaz. Hong's team is now looking at all Arc related items.
@howang-ms can you please assign someone from your team to take a look at this? (it is from September 2021 so probably it is already fixed?)


clean up misc. log messages

Change logging level to Debug for various log messages
Use logrus.Fields for logging variables in log message.

Signed-off by: Ian Vernon<EMAIL_ADDRESS>

This change is

Travis needs a rebase.

test-me-please

Coverage increased (+0.008%) to 41.933% when pulling fdd685c6ec06b9da9c6d0a399d5ba44bad3e6f60 on pr/ianvernon/fix-info-logging into e39da71bf9ff7bdf866fcd2306d9f8670fb6d9a4 on master.


#GH-78 Add option to insert standup schedule in channel header [WIP]

Summary
Add option to insert standup schedule in channel header
Checklist

[ ] Added or updated test cases
[x] make test Ran test cases and ensured they are passing
[x] make check-style Ran style check and ensured both webapp and server components comply the style guides

Hi @harshilsharma63 This is still a work in progress. I have create the pull request to get your inputs. Please let me know if I'm heading in the right direction or not

@goku321 hey, are you still working on this? If not, I can pick from here and complete this. These are helpful changes!

Hi @harshilsharma63 sure, you can pick this from here and thanks for the opportunity.


{AKS} support disabling Azure KeyVault KMS

Add a new parameter --disable-azure-keyvault-kms for az aks update.
Add tests for rotating key.
Add tests for disabling KMS.

AKS

@FumingZhang please have a review, thanks!

@zhoxing-ms could you please review and merge the PR? Thanks


Switch to rubocop-rails-omakase rubocop rules

No code changes required

I was about to do the same, thank you @djmb.


Fixed Site Wipe Confirmation not showing variables

site wipe confirmation was displaying the following after update to 0.9.3
"Are you sure you want to wipe {site}-{env}? [y/n] y"

Thank you, @jackfoust!

Happy to help @TeslaDethray


Inconsistent sorting of classes

What version of prettier-plugin-tailwindcss are you using?
v0.5.14
What version of Tailwind CSS are you using?
v3.4.1
What version of Node.js are you using?
v20.12.2
What package manager are you using?
pnpm
What operating system are you using?
macOS
Reproduction URL
https://github.com/branoben/prettier-tailwind-inconsistent-sorting
Describe your issue
Running the Prettier --write command produces different result when specifying a file vs running Prettier on all files.
Therefore, within the example repository, when running pnpm prettier --check ., there's a formatting error on test.html, but when running pnpm prettier --check "test.html" there are no errors.

Seems like this has been solved in the newest version of Tailwind :) Closing the issue.


Support older Android

Bluetooth LE: Android 4.3 (API level 18)
See if it's possible to support older android version.
See #1

I don't know if you changed something for android 4 but it still doesn't work. Android studio tells me that the mindsk is at 19.

No I haven't done anything yet.
Unfortunately I took a look at the main package which advertises the phone as a Bluetooth LE device, the minimal supported version is API 21 (Android 5.0 Lollipop):
https://developer.android.com/reference/android/bluetooth/le/package-summary
It is impossible to support Android 4.4 Kitkat (API 19). You will at least need a ANT+ BLE enabled Android 5.0 devices to run this app.
This issue will then be focus on supporting API 21.


add screen_name

as issue #4 mentioned,  the screen_name is not used for SocialFeedProviderTwitter and there is nowhere to add this screen_name in CMS, this PR is a direct fix for this issue.

@isaacrankin , could you please review the issue and the PR, and merge if the PR is OK. cheers


I have a little problem with import function

I manually imported data from previous pulls. however later I realized that I had forgotten some sweaters that were in the middle of the old ones. Probably when I do it matters seeing that there are elements before and after those pulls it does not detect them

The import function wont insert something to the middle of the data, you need to input it manually


Can I apply the Complete status to the table status column when a user marks ticket as complete

Hi
Just wanted to know if there is a way to change the status in the status column table view to show Complete when a ticket has been marked as Complete?

from the admin panel, create a status with name "complete" and go to settings -> tickets and change "default_close_status_id" to the status id you have just created.


Added BuiltinAnimation Animation

Changelog / Overview

Added BuiltinAnimation Animation: An animation that grabs built-in animations from Mobjects.

Motivation

I needed this for my plugin and it seems useful so I'm suggesting adding it to manim
Explanation for Changes

This is an animation that calls the function get_animation to get an animation built-in to this function.
class BuiltinAnimation(Animation):
    def __init__(
        self,
        graph: Graph,
        name: str = "default",
        **kwargs,
    ) -> None:

        self.animation = graph.get_animation(name)
        print(self.animation.group.submobjects)
        self.graph = graph
        self.check()

        prepare_animation(self.animation)

        super().__init__(self.animation.mobject, **kwargs)

    def check(self):
        if self.animation is None:
            raise TypeError(
                f"{self.graph.__class__.__name__} does not support this animation"
            )

Why would I ever need this? you ask.

Allows for default animations to be set
Allows for complex animations to be built into Mobjects, with timings and all other stuff you can normally do
Allow for as many of the above as you want, without creating new classes
Allows for new animations that would be infeasible to add as a class.

Here is an example form my plugin:
class LinePlot(Plot):
    def __init__(
        self, *values: typing.List[typing.Union[float, int]], dot_points: bool = False
    ) -> None:
        """Plots s line

        Parameters
        ----------
        dot_points : bool, optional
            Put dots at points, by default False
        """
        super().__init__()

        self.dot_points = dot_points

        self.colors = ["RED", "BLUE", "GREEN"]

        self.animations = list()
        self.line_animations = list()

        self.axes = Axes(
            x_range=[0, max([len(x) for x in values]) - 1, 1],
            y_range=[0, max([max(a) for a in values]) + 1, 1],
            x_length=9,
            y_length=6,
            axis_config={"include_tip": False, "include_numbers": True},
        )

        self.add(self.axes)
        self.animations.append(Create(self.axes))

        for i, value in enumerate(values):
            self.value = value
            self.plot(self.colors[i])

    def plot(self, color: str) -> None:
        last_point = None
        for i, value in enumerate(self.value):
            point = self.axes.coords_to_point(i, value)

            if last_point is not None:
                line = Line(last_point, point, stroke_width=3, color=color)
                self.add(line)
                self.line_animations.append(Create(line, run_time=0.1))

            last_point = point

            if self.dot_points:
                d = Dot(point, color=color)
                self.add(d)
                self.line_animations.append(Create(d, run_time=0.5))

    def get_animation(self, name: str = "default") -> typing.Optional[AnimationGroup]:
        animations = None

        if name == "default":
            lines = AnimationGroup(*self.line_animations, lag_ratio=0.5)
            animations = AnimationGroup(*self.animations, lines, lag_ratio=1)

        return animations

Checklist

[X] I have read the Contributing Guidelines
[X] I have written a descriptive PR title (see top of PR template for examples)
[X] I have written a changelog entry for the PR or deem it unnecessary
[X] My new functions/classes either have a docstring or are private
[ ] My new functions/classes have tests added and (optional) examples in the docs
[X] My new documentation builds, looks correctly formatted, and adds no additional build warnings

Reviewer Checklist

[ ] The PR title is descriptive enough
[ ] The PR is labeled correctly
[ ] The changelog entry is completed if necessary
[ ] Newly added functions/classes either have a docstring or are private
[ ] Newly added functions/classes have tests added and (optional) examples in the docs
[ ] Newly added documentation builds, looks correctly formatted, and adds no additional build warnings

If I am understanding this correctly, it does seem useful. But it's far from clear to me exactly how this is intended to work/when it should be used :/

I think this could be used for stuff like axes or number lines to break up their show creation animation into something that looks nicer. This is designed for those more complex Mobjects with ugly Create animations.

So is the underlying idea that each mobject has the ability to override how an animation (like Create) looks when played on it?

So is the underlying idea that each object has the ability to override how an animation (like Create) looks when played on it?

Yes, that is a use, and likely the main one. Only when this animation is called of course. The other main use is Mobject specific animations.

I like the general idea of being able to override animations, but I question whether it is necessary to introduce a new class for it.
In the spirit of the override_animate approach for the .animate syntax (CC @friedkeenan) I think it would be cleaner to introduce a decorator override_animation (or something like that) which could be used something like

class MyMobject:
    ...

    @override_animation(Create)
    def _custom_create(self, *args, **kwargs):
        # build a custom create animation
        return my_custom_animation

such that when self.play(Create(mymob)) is called for a MyMobject mymob, the custom animation is played instead.

@behackl I can get on board with that, but what about the other use, Mobject-specific animations?

I second behackl's idea. Though I'd go a step further and say that you should, as a user, be able to override the override and say use the normal Create animation (or any other animation).
Regarding mobject specific animations, I think this is definitely a good feature, but it's unclear how this PR works for that in my eyes. Also, it seems like it would limit each mobject to having only 1 custom animation. Am I wrong?

I second behackl's idea. Though I'd go a step further and say that you should, as a user, be able to override the override and say use the normal Create animation (or any other animation).
Regarding mobject specific animations, I think this is definitely a good feature, but it's unclear how this PR works for that in my eyes. Also, it seems like it would limit each mobject to having only 1 custom animation. Am I wrong?

That is what the animation_name is for.
In get_animation you can add checks for names. and return something different based off of it.

@behackl I can get on board with that, but what about the other use, Mobject-specific animations?

Can you give an example of how you'd like to use it for Mobject-specific animations?

Also, it seems like it would limit each mobject to having only 1 custom animation. Am I wrong?

That's the impression that I get as well.

We could make something different to fix the Mobject specific animations.

I like the general idea of being able to override animations, but I question whether it is necessary to introduce a new class for it.
In the spirit of the override_animate approach for the .animate syntax (CC @friedkeenan) I think it would be cleaner to introduce a decorator override_animation (or something like that) which could be used something like
class MyMobject:
    ...

    @override_animation(Create)
    def _custom_create(self, *args, **kwargs):
        # build a custom create animation
        return my_custom_animation

such that when self.play(Create(mymob)) is called for a MyMobject mymob, the custom animation is played instead.

Yeah, that sounds good to me. Could probably change current override_animate to override_animation for consistency, but yeah should be perfectly possible. Could have a custom Animation.__new__ function and all, would probably be similar in implementation to current override_animate.

What's the status on this PR? It sounds like we want to add a decorator to override animations instead?
Should we close this PR and open an issue for overriding animation for more discussion?

Yes, I think so as I'm too busy to fix this right now.

Yes, I think so as I'm too busy to fix this right now.

Alrighty, closing!


use http.DefaultClient

default client already handles proxy: https://pkg.go.dev/net/http#RoundTripper

Any suggestions for testing this locally?

The easiest way is to run the mitmproxy docker image, expose 8080 which you set to HTTPS_PROXY. The challenge is it uses a self signed cert so extracting and installing that cert so ollama uses it (without adding it to the system) is kind of annoying. I haven't gotten around to testing this and am blindly trusting the docs

I can confirm this works with a socks5 proxy now. Thank you!


Feature Request: Enhancements to Improve User Experience in the Python Code Editor

Feature Request: Enhancements to Improve User Experience in the Python Code EditorR
Existing Features
The current version of the editor includes the following features:
File Menu

Save
Run Code
Run Pyline
Exit

Edit Menu

Cut
Copy
Paste
Find and Replace
Jump to Line

Tools Menu

Tools
Deployment Tools
Customize
Git

Help Menu

Homepage
About
Docs

Identified Problems
While the editor offers some useful features, there are several problematic aspects that impact usability:

Confusing Features:

"Run Pyline" is unclear and lacks explanation or documentation.
The "Tools" option is vague and doesn't specify its purpose.
"Deployment Tools" is ambiguous and seems unrelated to the primary function of the editor.

User Experience Issues:

Files can be added, but there is no way to delete or edit them.
The editor allows typing, but there is no blinking cursor or support for arrow key navigation.
New files can be opened but cannot be closed.
The editor crashes when a file with an unsupported extension is added.

Recommendations for Improvement
To provide a better user experience and align with modern coding standards, the following changes are recommended:

Basic File Management:

Add options to delete, rename, and edit files.
Allow users to open folders or files from other directories.
Support reordering, searching, and closing files.

Enhance Coding Workflow:

Introduce a visible, blinking cursor in the editor.
Enable navigation with arrow keys and shortcuts for efficient coding.
Ensure the editor gracefully handles unsupported file extensions.

Improved Usability:

Automatically add a .py extension when users create a file without specifying an extension.
Provide a clear indicator for unsaved changes and include an auto-save feature.

Customization Options:

Allow users to select themes for a more personalized and visually appealing experience.
Take inspiration from IDEs like Visual Studio Code for features and extensibility.

Feature Requests
To address the above issues, I propose adding the following features:

File Management:

Add, delete, rename, and reorder files.
Open files or folders from other directories.
Support file diff and search functionalities.

Editor Navigation:

Add a visible cursor and enable navigation with arrow keys.
Provide shortcuts for better productivity.

Customization:

Include pre-made themes for better aesthetics.

File State Management:

Show an indicator for unsaved changes.
Implement auto-save to reduce the risk of losing work.

very good feature request but themes are already there check src/theme.xcfg

I am talking about this, look at the vs code theme switching

yeah ik thats just a solution made in a hour will try to make it like that


Highlight from Twitch IRC flags

The background
In Twitch's IRC there's a tag called flags, which is obviously undocumented. If Automod detects something in the message the tag will take the form of [START_POS]-[END_POS]:[SCORES]. Where [SCORES] is zero * or more of A.[ASCORE]  / I.[ISCORE] / P.[PSCORE] / S.[SSCORE], separated by slashes /. Multiple of these "flags" can be in one message joined by commas, like 1-2:A.1/I.2,3-5:P.6/I.2
Explanation

Placeholder
Meaning

START_POS
Starting position of the word(s)

END_POS
Ending position of the word(s)

ASCORE
Aggression score of the word(s)

ISCORE
Identity language score of the word(s)

PSCORE
Profanity score of the word(s)

SSCORE
Sexual score of the word(s)

* Note: Links get no scores, but they get a start and end position.
What should be added?

I would like for these flags to be optionally highlighted over a certain threshold.
Why should it be added?

To aid moderators in detecting words that might be bad depending on the context.
Proof of concept screenshot

How is it currently
At this point Chatterino doesn't show these at all.

Could be a part of moderation mode? I doubt it would be useful to anyone who's not a mod.

Drug substances also get flagged, but they do not get a score. Just like links.
Also, further explanation* for each field:

ISCORE
Identity language - Words referring to race, religion, gender, orientation, disability, or similar. Hate speech falls under this category.
 This filter especially helps those who wish to keep their community family-friendly.

*Based on "How To Use AutoMod" Twitch FAQ article.

Chat filters can now be enabled.


du: add support for --exclude and --exclude-from

And add an option --verbose (doesn't exist in GNU)
Leverages globset (by the famous @BurntSushi)

Unexpected good news. I was only focusing on exclude.sh :)
Warning: Congrats! The gnu test tests/du/exclude is no longer failing!
Warning: Congrats! The gnu test tests/du/slash is no longer failing!

Cool! I used globset before on ls and it was later removed due to binary size (https://github.com/uutils/coreutils/pull/2781). Do you think it's worth the binary size in this case?

Oh, I forgot about globset size. I will have a look


Baseof v4

Based on #31608, for #28479
Adds a base layout used by most other layouts. Also adds a base "redirect" layout to avoid some duplication.

Hey, @NotWoods thanks for the PR!
Can you fix the HTML validation issues please?
Also, I see you went with the "no footer" comment; isn't there any other way? Like we don't include footer.html in baseof.html and include it where used? What do you think?

Oops @NotWoods can you make a new PR please? GitHub auto-closed this after I merged the Hugo PR.


Issues with gfortran on Mac OSX Mojave 10.14.5

I have tried with v0.3.10 and develop and gfortran (as built via HomeBrew) is not recognized properly on my Mac OSX Mojave 10.14.5 . I use MPI compiler wrappers, since this is automatic compilation from PETSc https://gitlab.com/petsc/petsc.
kl-18448:git.openblas szampini$ make CC=mpicc FC=mpif90  TARGET=GENERIC MAKE_NB_JOBS=10  USE_OPENMP=0  USE_THREAD=0  NO_EXPRECISION=1
OpenBLAS: Detecting fortran compiler failed. Cannot compile LAPACK. Only compile BLAS

This is the output of f_test.s.
        .text
        .p2align 4
        .globl _zhoge_
_zhoge_:
LFB0:
        pxor    %xmm1, %xmm1
        movapd  %xmm1, %xmm0
        ret
LFE0:
        .section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support
EH_frame1:
        .set L$set$0,LECIE1-LSCIE1
        .long L$set$0
LSCIE1:
        .long   0
        .byte   0x1
        .ascii "zR\0"
        .byte   0x1
        .byte   0x78
        .byte   0x10
        .byte   0x1
        .byte   0x10
        .byte   0xc
        .byte   0x7
        .byte   0x8
        .byte   0x90
        .byte   0x1
        .align 3
LECIE1:
LSFDE1:
        .set L$set$1,LEFDE1-LASFDE1
        .long L$set$1
LASFDE1:
        .long   LASFDE1-EH_frame1
        .quad   LFB0-.
        .set L$set$2,LFE0-LFB0
        .quad L$set$2
        .byte   0
        .align 3
LEFDE1:
        .ident  "GCC: (Homebrew GCC 10.2.0) 10.2.0"
        .subsections_via_symbols

I have fixed it with the patch below. Clearly it is not perfect, can you please fix OpenBLAS properly?
kl-18448:git.openblas szampini$ git diff
diff --git a/f_check b/f_check
index dd4d3475..7069b393 100644
--- a/f_check
+++ b/f_check
@@ -69,7 +69,7 @@ if ($compiler eq "") {
            $bu       = "_";
        }

-       if ($data =~ /GNU/) {
+       if ($data =~ /GCC/) {

            $data =~ /(\d+)\.(\d+).(\d+)/;
            $major = $1;

Proper fix is probably to accept both, wonder when/why Homebrew made this change though (my guess would be "recent" and perhaps because theirs is based on a pre-release snapshot and/or heavily patched ?)

Not sure if this is homebrew related or it is a "feature" of the latest GCC. Accepting both is a fix. On a linux machine with GCC 9.1.1
.LFE0:
        .size   zhoge_, .-zhoge_
        .ident  "GCC: (GNU) 9.1.1 20190503 (Red Hat 9.1.1-1)"
        .section        .note.GNU-stack,"",@progbits

Yes, this looks to be a (recent - at least not reported earlier) Homebrew specialty.

Not just homebrew (but somehow it builds everywhere)
.ident	"GCC: (GNU) 4.4.7 20120313 (Red Hat 4.4.7-23)"
.ident	"GCC: (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609"
.ident  "GCC: (SUSE Linux) 7.5.0"

Think I understand what happened - there is a fallback in place that gets triggered when none of the "vendor" checks scored a hit, but it tries to match the compiler name against a list that does have gfortran but not mpif90 (or any other mpi driver variant)

But those are not guaranteed to wrap gfortran in any way, s/GNU/GCC:/1 looks like correct approach to support mpif90 outside redhat.

Certainly. I was only adding the explanation for why the current code "mostly" kept doing the right thing despite the name change.


Is justification_bitfield an integer or a bytes type?

justification_bitfield is specified uint64 in the spec.
Would it make more sense to specify it as bytes type? Since the bitfield keyword indicates a byte type and it involves many bitwise operations as well.

In python it's easier to do bit operations on integers than bytes :smile:
If we go bytes, then to keep the spec being correctly executable python, we would need to make helpers for bitwise_or, bitwise_and and shift.


Not disambiguating parameters and locals

From @vsmenon on November 19, 2015 21:48
The following triggers a parse error in the generated JS:
void main() {

  var f = (x) {
    var x = 42;
    print(x);
  };

  f(38);
}

Our generated JS:
  function main() {
    let f = dart.fn(x => {
      let x = 42;
      core.print(x);
    });
    dart.dcall(f, 38);
  }

Loaded in Chrome, we get:
Uncaught SyntaxError: Identifier 'x' has already been declared

Copied from original issue: dart-lang/dev_compiler#389

This was fixed a while back; we now detect this shadowing


Switch to Material Design Interface

We could switch our css theme to material design with this:
http://fezvrasta.github.io/bootstrap-material-design/bootstrap-elements.html
thanks @zod1ac for the tipp :)

we should try this

see the material-design branch

We'll use the old design for now, maybe switch at some point in the future.


Fixed a grammatical error

Signed-off-by: Akshit Sarin<EMAIL_ADDRESS>'This result in a new error' changed to 'This results in a new error'
Changes
Changed spelling of a word

Got it. I'll create a new PR. I don't know how to add to the current one.


duplicate section

we somehow ended up with a duplicated "Adapting to the software life-cycle section", 4.1.1 and 4.1.4

fixed with 5e9e2d4


Add Dubble (dubble.so)

What is the vendor's name?
Dubble
What is the vendor's pricing site?
https://dubble.so/pricing
What is the base pricing? Use the lowest tier that looks sane for a small business customer, not free or personal tiers.
$3/user/mo during beta, $12/user/month after
What is the minimum pricing for SSO support?
Unlisted, reserved for Enterprise plan only available through sales
Does this pricing info come from a quote or other non-public source?
No
Are there any caveats we should list in the footnotes?
Google SSO only for now, SAML coming soon

Hey @ponchohoncho ,
as this repository was not maintained for a long time, I decided to start a new initiative under https://ssotax.org/. The data is already way more up2date than in this repository! Moreover I integrated feedback from the community like a Friends of SSO page.
Feel free to contribute there. I will merge changes quickly, I promise!


Invalid JWT Signature suddenly

Hi
we are using google service account to reach google cloud storage APi.
the google service account key injected to the k8s pod using a secret. (env=GCP_BUCKET_CREDENTIALS_ENCODED_KEY)
recently we started to see the following error when trying to use the API that used the GCS:
google.auth.exceptions.RefreshError: ('invalid_grant: Invalid JWT Signature.', '{"error":"invalid_grant","error_description":"Invalid JWT Signature."}')
the thing is:

this error comes from time to time, its intermittent.
nothing has changed on our service account or his key

what am i missing?
10x
CL

@lechen26 Does the secret get rotated? Or is it always the same key?
You may want to open a support case for this; it looks more likely to be environmental.

Looking at https://stackoverflow.com/questions/62798809/upload-file-to-google-cloud-storage-java
It seems like Google Cloud Storage APIs use OAuth2 JWT token authentication. I'm not too familiar with how this works but I know that every token has an expire time, and they are time-sensitive, so my guess is somehow the token you were trying to use expired. The client library should handle this authentication seamlessly behind the scenes though. Apparently it is possible to run into issues if your machine's clock is not correct too.

@lechen26 - does that stackoverflow post sound like anything related to your situation?
I agree with @elefeint that this sounds environmental, and likely not related to any code in Spring Cloud GCP (though I could be wrong here). I'll keep this under the 'awaiting' label for the next two weeks (note to self: revisit on 2021-02-19) and close if we can't reproduce the issue.


MIC-93 referral/contributory-factors screen

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.89%. Comparing base (e0b9205) to head (caf18c9).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #50      +/-   ##
==========================================
+ Coverage   69.88%   70.89%   +1.01%
==========================================
  Files          77       80       +3
  Lines        1172     1213      +41
  Branches      188      191       +3
==========================================
+ Hits          819      860      +41
  Misses        342      342
  Partials       11       11

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


ci: Accelerated compilation

before

after

Summary by CodeRabbit

Chores

Improved build caching by adding a new ccache step for both Ubuntu and MacOS.
Removed outdated caching steps to streamline the build process.
Enhanced CMake configuration to incorporate ccache for faster builds on Ubuntu and MacOS.

@coderabbitai configuration

@coderabbitai modularize this function.

@coderabbitai summary


Override Instance.prototype.set for applying ACLs

As I know this was envisioned since the beginning of the project, but this functionality hasn't been implemented yet, is this extremely useful functionality difficult to implement?

It actually shouldn't be too difficult, i'm just strapped for time at the moment.


journal directory is hardcoded

Currently the journal directory is hardcoded. I have plans to create a config file which will provide the journal location.

Would you want to put the filename template into the config file as well?

Good idea!

On Feb 23, 2016, at 19:21, Jeffrey Leung<EMAIL_ADDRESS>wrote:
Would you want to put the filename template into the config file as well?
—
Reply to this email directly or view it on GitHub https://github.com/CtrlShiftGo/utilities/issues/8#issuecomment-188041300.


Difficulty Printing Text

My understanding that the Lua commmand
print("whatever I was trying to print")
should work? Am I doing something terribly wrong here?

yes, you must specify the x & y of the print:
function _init()
   color(8) --White
   print("Hello",15,15)
end

Thanks a ton,  I realize this is one of the least urgent "issue" posts and doesn't pertain to your program as much as my incompetence with Lua. Good luck, experimenting with Liko-12 has me very excited about future updates.


How to identify the candidate trigger on the original training data ?

According to part 3.4 of the paper, authors used the small-scale labeled data to train the encoder and discriminator.  But what should we do if there is no extra data?  Do we need to identify the candidate triggers on dev and test set also?
By the way, since the NYT corpus is really huge, how many sentences did you use for augment data when semi-supervised training ?

Particularly, in the paper, DMBERT without Boot also performed pretty good. So I want to reproduce DMBERT with out extra data also.

Hi, thanks for your interest in our work.

The method introduced in Section 3.4 is for semi-supervised and distant supervision settings. If there is no extra unlabeled data, the process cannot be performed. And the process in Section 3.4 is not used for dev and test sets.
I cannot recall the exact number. The trigger-based latent instance discovery process is performed on the whole NYT corpus and this filters most of the sentences out.
If you only want to run DMBERT in the supervised setting, I will refer to the codes for our recent work (https://github.com/THU-KEG/MAVEN-dataset/tree/main/baselines/DMBERT), which implements DMBERT in a relatively modern and cleaner way.


QUESTION  how to load mini cpmV 2.5 gguf model which has two model files with xinference?

Mini cpmV 2.5 or other similar chat+vision support gguf models have two files one is chat model which is big file and one is small generally 1gb file which add vision capabilities and combining and running both together will only give complete model which I have seen in ollama but how can we do that in xinference? please guide step wise step in detail so that not just for mini cpmV type of multimodels but for other type of similar models too it will help everyone
Thankyou

@HakaishinShwet You need to register gguf model to xinference and then use it. You can do it through web UI and refer to the document: https://inference.readthedocs.io/en/latest/models/custom.html


Resolver Missing Argument

Having a problem hooking up my schema and resolver. I have a schema defined like this:
schema{
  mutation: Mutation
}
type Mutation {
    createUser(args: UserInput): User!
    # updateUser(user: UserInput!): User
    # deleteUser(user: UserInput!): User
}
type UserInput {
    firstName: String!
    lastName: String!
    email: String!
    password: String!
}

I also have the following struct:
type UserInput struct {
	FirstName string
	LastName  string
	Email     string
	Password  string
}

My resolver (in the same package as the struct and root resolver) looks like this:
func (r *Resolver) CreateUser(ctx context.Context, args *UserInput) (*UserResolver, error) {
	create, err := r.client.CreateUser(ctx, args.FirstName, args.LastName, args.Email, args.Password)
	if err != nil {
		return nil, err
	}
	result := UserResolver{
		create,
	}
	return &result, nil
}

This is the error I get when trying to use ParseSchema:
--- FAIL: TestResolverMatchSchema (0.00s)
    /Users/shishir/go/src/github.com/sjakati98/UserManagementService/resolver/query_test.go:45: missing argument {"args" {'\n' '\x10'}}
        	returned by (*resolver.Resolver).CreateUser

I'd appreciate any help!

@tonyghita I was trying to follow your example, maybe you had any ideas?

Solved. 😁
Ok, so I think I just did not pay attention to the way this package works, my bad. If you are having similar issues you need to be explicit when you define your types. Here are the changes I made, let me know if you have any questions.
Schema:
type Mutation {
    createUser(user: UserInput): User
}

input UserInput {
    firstName: String
    lastName: String
    email: String
    password: String
}

Note that I changed type to input on the user input.
Structs:
// CreateUserArgs holds the user schema
type CreateUserArgs struct {
	User *UserInput
}
type UserInput struct {
	FirstName *string
	LastName  *string
	Email     *string
	Password  *string
}

Finally, my resolver:
func (r *Resolver) CreateUser(ctx context.Context, args *CreateUserArgs) (*UserResolver, error) {
	create, err := r.client.CreateUser(ctx, *args.User.FirstName, *args.User.LastName, *args.User.Email, *args.User.Password)
	if err != nil {
		return nil, err
	}
	result := UserResolver{
		create,
	}
	return &result, nil
}


Differences between "my" URDF model and DH parameters in iKin

Hi Everyone!
I noticed a difference in the URDF model that I'm using and the kinematic chain defined in iKin.
I inserted the right arm and torso joints at zero position (changing the limits in the iKin library) and there is an error around 0.8 cm and 15 degrees in the roto-translation matrix (torso to end-effector) .
I saw this repo and I was wondering if I can use it to generate a new model of iCubLisboa01 from the DH parameters. (Arms V1.0 and Head V2.0)
Thanks in advance,
Pedro

Hi @vicentepedro ,
which iCub URDF model you are using? Where does it come from?
Thanks,
Silvio

Hi @traversaro
I'm using a model made a couple of years ago here in Lisbon based on the CAD of the robot, I suppose.
You can find it here.
Thanks

Hi @vicentepedro
First off, I would do a consistency check against our URDF models of iCub available in icub-gazebo.
@traversaro please correct me if I'm wrong.

btw., @pattacini , (how) does iKin handle V1 / V2 / V2.5 robots?

@matejhof look at the limbs' constructions (e.g. iCubArm)

Hi @pattacini
I will try to do the same test with a model in icub-gazebo repo, however, I don't know which model should be tested according to our iCub version - arms V.1 and Head V.2.

Good point @vicentepedro
I'm not into the Gazebo story and don't know if the versions you're inquiring are there. Perhaps @traversaro can shed a light on this.
Anyway, if the arms v1.0 are not provided, we could think of creating the corresponding URDF models. It should be fairly simple to get the differences from iKin and use them to generate new files.

I am afraid that the answers to this may be lost in time, but you know by any chance on which CAD Assembly the URDF from Lisboa is based on?
At the moment, that URDF is the only model of the hands that we have, and so I would be curious of understanding if it was based on the assembly with v1 arms or with v2 arms.
Beside this, consider that URDF link frames needs to be different from the DH frames due to mismatch of the requirements of the two formats (DH requires the link frame origin to be placed on the axis of the child joint, while URDF requires the liink frame origin to be place on the axis of the parent joint) so a mismatch between the two link frame is inevitable. Furthermore in the CAD models there is no concept of link frames, so the URDF generated that you are using could have completely different convention for the link frames placement.
For this reason we could use the models generated by icub-models-generator provide the DH frames as "additional frames", with the names documented here: http://wiki.icub.org/wiki/ICub_Model_naming_conventions#iKin_Frames . I added preliminary support for generating the iCubLisboa01 model (see https://github.com/robotology-playground/icub-model-generator/commit/256d824d1762cce988760c77cc709b5ebee03758, accidentally commited on master) but I did not commit the generated model because I am unsure about the version of your legs.

To answer @pattacini 's question: the icub-gazebo repository contains only SDF files, that is the format fully supported by Gazebo.
I originally generated those file for an iCub with v1 arms and v2 head/legs, but since when I generated those file there has been multiple manual modification of the model (for example for adding eyes and hands, with the hands taken from the URDF model that @vicentepedro was using initially!) but it should still have the arms v1 kinematics.
Eventually I plan to clean all the mess up and generate all the models automatically to have a single source of truth, see https://github.com/robotology-playground/icub-model-generator/issues/25 and https://github.com/robotology-playground/icub-model-generator/issues/29 .

Hi @traversaro
I'm not sure about the CAD Assembly used in the URDF model generation. I will try to confirm it with a former student here at Lisbon and let you know ;)
However, I would bet in the V.1 since it is the arm's version here....
"Our" legs are V1, also. ;)
Thanks in advance for the new model.

The newly generated iCubLisboa01 has been committed to https://github.com/robotology-playground/icub-model-generator/commit/e3b35c515acd31a1b31119a0dd3f4dcad8a0a82a .
Disclaimer: the model does not include hands or eyes, and at this moment is generated from the iDyn models, so any inconsistency between iDyn and iKin models would be reflected on the URDF generated model. Let me know if this solve your inconsistencies.
The disclaimer that you can read at the icub-model-generator repo also apply:  https://github.com/robotology-playground/icub-model-generator/blob/master/README.md .

For reference: the iKin Torso + Arm chain should match the transform between the root_link <---> r_hand_dh_frame in the URDF file.
Note to self: this check could be also inserted in the tests that we run on every model generated by the icub-model-generator in https://github.com/robotology-playground/icub-model-generator/blob/master/tests/icub-model-test.cpp .

Thanks again @traversaro
The roto-translation is now correct ;) I will close the issue.
Do you plan to include hands and eyes in the model in a near future?

Including hands and eyes is something that I would want to have in the generator, but unfortunately I don't think we are able to implement it in the near future.
To keep track of any update, please subscribe to this issue https://github.com/robotology-playground/icub-model-generator/issues/29 .


CI Error Workaround: Generate _soundfile.py before the package editable installation

Fix the CI error ModuleNotFoundError: No module named '_soundfile' on Python 3.7+.
Details: https://github.com/bastibe/python-soundfile/pull/420#issuecomment-1836425183

I guess I was mistaken in my perception that Windows + Python 3.11 has problems.
Instead, it seems that the Windows + pypy-3.8 test sometimes fails and sometimes succeeds.

Succeeded test: https://github.com/aoirint/python-soundfile/actions/runs/7157130696/job/19487640731
Failed test: https://github.com/aoirint/python-soundfile/actions/runs/7157094168/job/19487564694

Fatal error in the GIL or with locks: EnterNonRecursiveMutex(ms) [ffffffff,6]

It could be a pypy specific issue, but I am not familiar with it.

Windows, pypy-3.8, x86 test seems to be failed. Maybe retry fix it.
Fatal error in the GIL or with locks: EnterNonRecursiveMutex(ms) [ffffffff,6]

Failed test: https://github.com/bastibe/python-soundfile/actions/runs/7157236910/job/19487846481

Beautiful! Thank you very much!


spring security false positives for version 1.3.0

org.springframework.security:spring-security-core versions 3.2.6.RELEASE and 4.0.2.RELEASE are being incorrectly flagged for:
CVE-2014-3578
CVE-2014-3625
The fix from https://github.com/jeremylong/DependencyCheck/issues/162 no longer seems to be working.

I'm not sure, but maybe this is because the company name changed from vmware to pivotal? At least as far as the security issues go.

I've added an entry to the suppression file, but it doesn't seem to effect the output.
When using the maven plugin, it does not show this library as an issue. If I use the CLI it does.

Thanks for the bug report - any chance you could provide the HTML (or XML) report from the CLI and Maven plugin with the differences in findings?
Regarding the vmware vs. springsource vs. pivotal - I have no idea. I know VMware bought springsource a while back. I have no idea how pivotal fits in as I don't follow Spring. I do know that CVEs use all three (sometimes for the same version).

The false positive has been corrected in the core. However, I really would like more information on the spring-security being flagged as vulnerable by the CLI but not via the maven plugin. Is there any chance you could provide more details about this? How is the dependency declared in the pom.xml and how was the dependency-check-maven plugin to the project?

Thanks for the fix!
Sorry for the delay. I was away from work.

Both the maven task and cli connect to nexus OSS 2.11.4-01
The dependency on spring-security is typically done in a corporate BOM, but I've reproduced the issue without using the BOM.
The dependency-check-maven plugin to the project is configured in the dependencyManagement section and "active" via a maven profile
This is reproducible on linux and Windows 7
The project is of type "war" so that any dependent libs are under target/ and found via the cli tool.

Here is the evidence for the CLI
Source	Name	Value
file	name	4.0.2
file	name	spring-security-core-4.0.2.RELEASE
hint analyzer	product	springsource_spring_framework
hint analyzer	vendor	pivotal
hint analyzer	vendor	vmware
jar	package name	core
jar	package name	security
jar	package name	springframework
Manifest	Implementation-Title	spring-security-core
Manifest	Implementation-Version	4.0.2.RELEASE
nexus	artifactid	spring-security-core
nexus	groupid	org.springframework.security
nexus	version	4.0.2.RELEASE
pom	artifactid	spring-security-core
pom	description	spring-security-core
pom	groupid	springframework.security
pom	name	spring-security-core
pom	organization name	http://spring.io/
pom	version	4.0.2.RELEASE

Here is the evidence for the maven plugin
Source	Name	Value
file	name	spring-security-core-4.0.2.RELEASE
jar	package name	core
jar	package name	security
jar	package name	springframework
Manifest	Implementation-Title	spring-security-core
nexus	artifactid	spring-security-core
nexus	groupid	org.springframework.security
pom	artifactid	spring-security-core
pom	description	spring-security-core
pom	groupid	org.springframework.security
pom	groupid	springframework.security
pom	name	spring-security-core
pom	organization name	http://spring.io/

The CLI report has 2 additional identifiers too:
cpe: cpe:/a:pivotal:spring_framework:4.0.2   Confidence:HIGHEST
cpe: cpe:/a:vmware:springsource_spring_security:4.0.2   Confidence:LOW
I can send you the generated files if you'd still like them. Would email work?
Or if it would be better, I can strip out of corporate structure and just make a git repo that should demo this issue.

After looking at the evidence you provided I have one question - what version of dependency-check-maven is being used? That looks like pre-1.3.0 evidence (as all evidence collected is output in 1.3.0 whereas previous versions only output the evidence used in finding a match).
Regardless, this issue has been resolved in 1.3.1-SNAPSHOT (tested this morning).

Ah, you're right. In my test app it was using 1.2.11 for the maven plugin. I updated it to 1.3.0 and it correctly did not flag spring-security as a problem - same result as before.
I downloaded, built, and tested the code using 1.3.1-SNAPSHOT and the issue has been resolved.
Thanks!


PROD is probably a bad default for an action called cleanup-smth

AstraDB is only available in PROD for actual users.


Use sphinx-changelog

Replace custom solution with using sphinx-changelog, this also works on readthedocs and means we get the changelog previewed in the "latest" docs.

Results look identical between the CI version and latest, so I'm confused about what you mean by this "we get the changelog previewed"?
I can spot one behaviour change between the CI version and prod: when you scroll all the way up on the CI the right hand side content menu doesn't collapse down to one line per release like it does on prod.

Results look identical between the CI version and latest,

That's because we haven't merged anything yet since the last tag

But this branch is not updated with respect to merge

You can now see it here: https://ctapipe.readthedocs.io/en/latest/changelog.html @Tobychev


Client Builder option for HTTPS/TLS only connections

In some situations using reqwest for API connections, it would be a valuable hardening option in the client builder to only allow HTTPS outbound connections.
I would imagine something roughly like:
let client = reqwest::Client::builder()
    .https_only(true)
    .build()?;

let res = client.get("https://www.rust-lang.org").send().await?;  // OK!

let res = client.get("https://www.rust-lang.org").send().await?;  // Error!

This would be very useful before an authentication for example, as post-auth you can rely on the auth bearer header not being sent due to header_sensitive, but pre-auth to get the token you want to enforce that the connection really is TLS protected.

That's an interesting idea! I was curious if other libraries provide something like this, and found curl's CURLOPT_PROTOCOLS.

Edited comment so the example is correct, sorry about that.


Remove banding artifacts from curvature map

Just a fix for the curvature map. See .

Nvm.

Nvm.


上传html文件的时候报错 （ request Content-Type isn't multipart/form-data），请问这个怎么解决

https://github.com/chrislusf/seaweedfs/issues/765
sometimes success Curl_Response::__set_state(array(
'body' => '{"size":28573}',
'headers' =>
array (
'Http-Version' => '1.1',
'Status-Code' => '201',
'Status' => '201 Created',
'Content-Type' => 'application/json',
'Date' => 'Wed, 07 Nov 2018 09:26:40 GMT',
'Content-Length' => '14',
),
))
sometimes error object Curl_Response::__set_state(array(
'body' => '{"error":"request Content-Type isn't multipart/form-data"}',
'headers' =>
array (
'Http-Version' => '1.1',
'Status-Code' => '400',
'Status' => '400 Bad Request',
'Content-Type' => 'application/json',
'Date' => 'Wed, 07 Nov 2018 09:27:16 GMT',
'Content-Length' => '58',
),
))
sometimes success, sometimes error ,
Can you help me ?
Do you have any suggestions to solve this problem?

{"error":"request Content-Type isn't multipart/form-data"}'
Which circumstances will bring back this mistake?

@582727501 when in the request, "Content-Type isn't multipart/form-data".


unchecking "fast" still runs in fast mode

--fast is still added: see https://jenkins.inmanta.com/job/core/job/inmanta-core/job/master/281/.

Should be fixed.


chore: add retry logic to kitty startup in tests

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


Why do you choose Spring Native for your app

Hi, i am reading your project, but i have a question, why do u choose Spring Native for your app instead of Quarkus of other framework for build with GraalVM. Can u tell me the pros and cons of Spring Native ? When should we use it instead of other framewoks ?

This kind of problem is hung up on StackOverFlow, not everyone likes Quarkus, a framework that has mandatory Native restrictions on dependencies.😕

This is highly suggestive so we'll leave that exercise to the community. Thanks!


Add topics for #programming-pedagogy channel

Relevant Issues
Closes #1018
Description

This PR adds topics to the .topic command for the new #programming-pedagogy channel that was recently added.
Did you:

[x] Join the Python Discord Community?
[x] Read all the comments in this template?
[x] Ensure there is an issue open, or link relevant discord discussions?
[x] Read and agree to the contributing guidelines?

Besides perhaps the third question, these questions/topics are not well-suited for the .topic command. These were suggestions provided by @swfarnsworth as a primer or introduction to what pedagogy is about. However, using these questions verbatim that mention non-specific X and Ys would not be conducive to starting a discussion in that channel.

Besides perhaps the third question, these questions/topics are not well-suited for the .topic command. These were suggestions provided by @swfarnsworth as a primer or introduction to what pedagogy is about. However, using these questions verbatim that mention non-specific X and Ys would not be conducive to starting a discussion in that channel.

Oh alright, I see what you mean. I could try to think of some more specific ones then.

disabled automerge as I cannot merge main into this branch since the enable commits from maintainers wasn't enabled on the PR. Once this branch is updated to main, we can merge it.


Bump newrelic to latest version

We are running a older version of the agent and more recent versions have better support/visibility into database transactions [1].
[1] https://docs.newrelic.com/docs/apm/applications-menu/monitoring/databases-slow-queries-page

Looks good, you just need to add that package to the pyrepo :smiley: so that travis will love you again

Done. Thanks!


failing bluetooth tests with code coverage enabled in qemu_x86

JOBS: 12
Cleaning output directory /home/apboie/projects/zephyr1/zephyr/sanity-out
Building testcase defconfigs...
Filtering test cases...
16 tests selected, 9708 tests discarded due to filters
total complete:    4/  16  25%  failed:    0

qemu_x86                  tests/bluetooth/mesh_shell/bluetooth.mesh_shell    FAILED: build_error
	see: sanity-out/qemu_x86/tests/bluetooth/mesh_shell/bluetooth.mesh_shell/build.log

total complete:    5/  16  31%  failed:    1

qemu_x86                  tests/bluetooth/hci_prop_evt/bluetooth.hci_prop_evt FAILED: handler_crash
	see: sanity-out/qemu_x86/tests/bluetooth/hci_prop_evt/bluetooth.hci_prop_evt/handler.log

total complete:    9/  16  56%  failed:    2

qemu_x86                  tests/bluetooth/shell/bluetooth.shell              FAILED: build_error
	see: sanity-out/qemu_x86/tests/bluetooth/shell/bluetooth.shell/build.log

total complete:   10/  16  62%  failed:    3

qemu_x86                  tests/bluetooth/shell/bluetooth.shell_br           FAILED: build_error
	see: sanity-out/qemu_x86/tests/bluetooth/shell/bluetooth.shell_br/build.log

total complete:   16/  16  100%  failed:    4

3 of these appear to be due to  #15831
Reproduce with:
sanitycheck --coverage -p qemu_x86 -T tests/bluetooth/

Or just build the individual tests with CONFIG_COVERAGE=y

This is in much better shape now, with current master I'm only seeing one test fail:
qemu_x86                  tests/bluetooth/hci_prop_evt/bluetooth.hci_prop_evt FAILED: timeout
	see: sanity-out/qemu_x86/tests/bluetooth/hci_prop_evt/bluetooth.hci_prop_evt/handler.log

Still, this needs some fixing. And an assignee @andrewboie

setting this to low, this is an alternate configuration for code coverage metrics, the test does not fail when run under its original configuration.

Closing, can't reproduce.


Add code examples to demo page

Looks like this:
demo code.mov.zip

Coverage remained the same at 87.649% when pulling b96f0db28d0e914e233652d2f455aeee622409a2 on feature/code-examples-in-demo-page into 9d7e7b3a4b61ee2fb9fcb0620fded38b7a82ad6f on master.

Dunno if it's an issue with the codebase or with my setup (both looked correct) but prettier wouldn't format the file, and would complain when running yarn lint about some spacing issues that I wasn't able to see.
In the end I fixed it with yarn format, which also updated some other files.


"docker stack deploy" creates external volumes that do not exist, instead of exiting

File: compose/compose-file/index.md, CC @londoncalling
This concerns the "external" property for volumes declared in the top-level "volumes" section of a STACK file.
https://docs.docker.com/compose/compose-file/#external
It appears that if a volume declared as "external" does NOT already exist, it is created using the "local" driver.  This behavior is inconsistent with the documentation:
 ... and also with how docker secrets treats the external property.
$ docker volume ls
DRIVER              VOLUME NAME

$ cat dc-test-external-exits.yml
version: "3.1"
services:
  aservice:
    image: busybox
    volumes:
      - test-vol:/tmp:z
volumes:
  test-vol:
    external: true

$ docker stack deploy -c dc-test-external-exits.yml myapp
Creating network myapp_default
Creating service myapp_aservice

$ docker volume ls
DRIVER              VOLUME NAME
local               test-vol

Docker version info:
$ docker version
Client:
 Version:      17.03.1-ce
 API version:  1.27
 Go version:   go1.7.5
 Git commit:   c6d412e
 Built:        Tue Mar 28 00:40:02 2017
 OS/Arch:      darwin/amd64

Server:
 Version:      17.03.1-ce
 API version:  1.27 (minimum version 1.12)
 Go version:   go1.7.5
 Git commit:   c6d412e
 Built:        Fri Mar 24 00:00:50 2017
 OS/Arch:      linux/amd64
 Experimental: true

I realize there could be a difference between how compose and stack treat this scenario.  If that's by design, it'd be ideal to have the documentation call that out.


feat: check if artifact exists locally before attempting download

And here's the 3rd part of what we discussed. This PR is based on #11. I can rebase it depending on what we do with #11.
The main point of this PR is to enable other means of persisting the turbo cache between jobs, and avoiding re-downloads when running tasks that re-check the cache for the same hash as previously.

I had weird issue, which I thought was related to the version bump, it wasn't.
Can you rebase your code with master?

done

fixed

Thank you for this PR 🙏🏼


Two multiline comments without code between them trigger a parsing error

SSCCE
module Error exposing (..)

import Dict

{-| Foo
-}

{-| Foo
-}
x =
    1

Elm: 0.19.1
Operating System: mac

Additional Details
The actual compiler error starts with I am getting stuck because this line starts with the { symbol:
This was triggered by commenting out a function that had documentation comments above while bellow it there were other functions with documentation comments.  The code looked more like this:
{-| Foo
-}
-- addOne : number -> number
-- addOne arg =
--    arg + 1

{-| Foo
-}

In the SSCCE, if import Dict is removed, the error goes away.
If both import Dict and x =1 are removed the another parser error is displayed with the parser getting stuck on the last empty line.

Hrm, I think that's correct, as a documentation comment always need a target to comment?
The real block comment syntax seems to parse different and doesn't expect a follow up that's targeted.
module Error exposing (..)

import Dict

{- Foo
-}

{-| Foo
-}
x =
    1

Hrm, I think that's correct, as a documentation comment always need a target to comment?

A documentation comment is just multiline comment. If all multiline comments must be documentation comments (i.e. must be followed by a declaration) then this information should be in the syntax guide.
In any case, the code in the SSCCE triggers a parsing error while if it were that all multiline comments must be followed by a  declaration, it should have been a syntax error with a very different message.


[Feature request]:  Include data on who opened a lock

Describe the solution you'd like
For the Eufy R10/R20 smart lock there is a pin pad that you can assign access to within the app and when they open the door a notification is sent with their name.
I asked fuatakgun if this is a feature that can be implemented in his home assistant integration, he referred me to you in this thread:
https://github.com/fuatakgun/eufy_security/discussions/807
So basically an attribute showing who opened the lock.
Is this something that can be supported?

+1 for this. Can use to automate actions in HA depending on if a code/fingerprint was used to unlock vs manually.


Update Blog “lets-measure”

Automatically generated by Netlify CMS

👷 Deploy Preview for endearing-sfogliatella-6c7dea processing.

Name
Link

🔨 Latest commit
27188ed2f6051e4eb64c7a4ac42dfeeeac995459

🔍 Latest deploy log
https://app.netlify.com/sites/endearing-sfogliatella-6c7dea/deploys/6457293d0903960008b478cb


Cannot use letter "M"

Describe problem
I cannot use the letter m. And specially, the small letter m, I can use only capital letter (M).
When I type small m It tells me that's a command keybind, and it is waiting for second command keybind or something.
Pictures

What you've tried
I tried searching in the command keybind, for the letter m, and as much as I remember I didn't find it, or if I find it, I was not able to change it.
For now, It is working by copy-pasting the letter (m), but as you know, that is not really optimal, since I have to copy other things to write code, and also it's a little bit difficult to have to click ctrl+v every time instead of directly clicking the letter.

If it does I suggest you run the command Preferences: Open keyboard Shortcuts (JSON) and search that file for a composite keybinding that uses "m" as its first key.

@gjsjohnmurray Thank you for the help. After I clicked (F1) I saw a list with all commands, I found the command that doesn't let me write "m" and just changed the keybind.


[EMM-1875] Device Model Based Policies

User should be able to create policies for specific device models.                           For example;                              1. When user navigate into "Policy Management" and try to create a new Policy.                              2. User can select the platform "Android/Windows/iOS"                              3. If user selects iOS; User should be able to select whether this policy is applicable to "All" devices or "Only iPads" or "Only iPhones".                              4. These product models should be configurable through the config.json file.                     Reference: https://wso2.org/jira/browse/EMM-1875

Duplicate
https://github.com/wso2/product-iots/issues/775
Closing


reduce image quality

@PhongTaKiai Please ask @rick1919 to check the app's behaviour.

@PhongTaKiai Please ask @rick1919 to check the app's behaviour.

@mafreud Sato san accepted
https://ailab-corp.slack.com/archives/C0301DK1YV8/p1711964432564669?thread_ts=1711703634.520759&channel=C0301DK1YV8&message_ts=1711964432.564669

@PhongTaKiai Please ask @rick1919 to check the build.


Problem with Headers within chef-reporting when running chef-guard

The modifications of the headers fails chef-reporting to work properly
Related to: https://github.com/chef/chef-server/issues/482#issuecomment-149620770

This is fixed in Chef Server, so will close it here...


check test

More check test coverage

Codecov Report

Merging #98 (329260f) into main (2a1325e) will increase coverage by 7.86%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #98      +/-   ##
==========================================
+ Coverage   48.87%   56.74%   +7.86%
==========================================
  Files           8        8
  Lines         755      786      +31
==========================================
+ Hits          369      446      +77
+ Misses        386      340      -46

Impacted Files
Coverage Δ

shellfirm/src/checks.rs
79.88% <100.00%> (+37.85%)
:arrow_up:

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


Move IPFamily to a separate "features" package

Move IPFamily to a separate package so that other packages can import it without introducing a cyclic dependency with the connectivity check package.
Ref: #1962

alright 5 approvals should be enough. merging.


rustfmt fails to format (due to quote?)

I was doing the proc macro workshop and wrote some code that rustfmt (1.5.2, which comes with rust 1.70.0) does not want to format (see long line at end):
use proc_macro::TokenStream;
use proc_macro2::{Ident, Span};
use quote::quote;
use syn::Data::Struct;
use syn::Fields::Named;

#[proc_macro_derive(Builder)]
pub fn derive(input: TokenStream) -> TokenStream {
    let input = syn::parse_macro_input!(input as syn::DeriveInput);
    let name = input.ident;
    let builder = Ident::new(&format!("{name}Builder"), Span::call_site());
    let fields = match &input.data {
        Struct(d) => match &d.fields {
            Named(f) => &f.named,
            _ => unimplemented!(),
        },
        _ => unimplemented!(),
    };
    let (field_id, field_ty): (Vec<_>, Vec<_>) = fields
        .iter()
        .map(|f| (f.ident.as_ref().unwrap(), &f.ty))
        .unzip();
    let field_string = field_id.iter().map(|id| id.to_string());

    let expanded = quote! {
        pub struct #builder {
            #( #field_id: Option<#field_ty> ),*
        }

        impl #name {
            fn builder() -> #builder {
                #builder {
                    #( #field_id: None ),*
                }
            }
        }

        impl #builder {
            #(fn #field_id(&mut self, #field_id: #field_ty) -> &mut Self {
                self.#field_id = Some(#field_id);
                self
            })*

            fn build(&mut self) -> Result<#name, Box<dyn ::std::error::Error>> {
                Ok(#name {
                    #(#field_id: self.#field_id.take().ok_or_else(|| format!("field `{}` not yet initialized", #field_string))? ),*
                })
            }
        }
    };

    expanded.into()
}

@deepink-mas thanks for reaching out.  It's a little unclear what's not getting formatted. Are you expecting the quote!{ ... } call to be formatted?

Thanks for reaching out, but I'm going to close this.
As Yacin noted above it's very intentional that rustfmt doesn't touch macros that use brace delim. Even if you were to switch to another delim rustfmt would be unable to format the arg contents because they cannot be fully parsed as valid rust code, a key condition in order to be able to format.
If someone can propose a fully deterministic approach for handling quote! then I'd certainly be willing to consider pulling in support, so would encourage subscribing to #3406


Search is not working

Keyword search is not possible when the server option is set to true.
Expected Behavior
The rows containing the keyword should be visible
Current Behavior
The rows are not filtered according to the searched keyword.
Steps to Reproduce (for bugs)
Here's my mui data-table configuration
const options = {
page: page,
rowsPerPage: rowsPerPage,
count: count,
serverSide: true,
filter: true,
filterType: "dropdown",
responsive: 'vertical',
tableBodyHeight: "550px",
onTableChange: (action, tableState) => {
console.log(tableState);
console.log("action ==> ",action);
if(action === "changePage" || action === "changeRowsPerPage"){
this.changePage(tableState.page, tableState.rowsPerPage);
}
}

Tech
Version

Material-UI
^4.11.3

MUI-datatables
^3.7.4

React
17.0.1

using

onSearchChange
function

Callback function that triggers when the search text value has changed. function(searchText: string) => void

ref : https://github.com/gregnb/mui-datatables/blob/master/examples/serverside-filters/index.js

Thanks for the response.
Just wanted to know that keyword search will not work for serverSide:true
Like it worked for the static data.

Like it worked for the static data.

Yes, search does not work if serverside = true.
But using the onSearchChange function you can implement the same.

ref : https://github.com/gregnb/mui-datatables/issues/1037, https://github.com/gregnb/mui-datatables/issues/1624


Parse inner attributes within Expr::Block

The following is an expression.
{ #![attr] false }

Duplicate of #416.


Hero image transition animation

Doing transition animation to detail activity via the hero image
Work to do:
Use ActivityOptionsCompat#makeSceneTransitionAnimation(). for the animation by passing in activity and the imageview.
Each list item in Plant adapter should use ViewCompat#setTransitionName() and prefix/suffixed with item position. Both list and detail imageview need to have same transition name. this allows anim to transition backwards when user press back on Detail activity
We need to delay anim in detail via supportPostponeEnterTransition() until Glide loads the image and then use supportStartPostponedEnterTransition()
https://developer.android.com/reference/android/support/v4/app/ActivityOptionsCompat.html#makescenetransitionanimation_4
https://developer.android.com/reference/android/support/v4/view/ViewCompat.html#setTransitionName(android.view.View, java.lang.String)

@andhie now that #9 is resolved and the app is a single activity, the work outlined might need to change a bit.

For normal fragments, we can use setSharedElement on the FragmentTransaction. but in the case of Navigation, i'm not sure how you achieve this. is it supported at this moment?

@andhie shared element transitions with the Navigation component is in the works: https://issuetracker.google.com/issues/79665225

nudge. this would be great

@tiembo i have committed some code in my own repo.
in the FragmentNavigator see its adding the Navigator.Extras into the ft.addSharedElement(...) yet its not animating. cant figure out why.
https://github.com/andhie/android-sunflower/commit/33d9aa9c6a97bc186aac7455df8981728d8beed4


[WIP] Implement IR-only pipline for CUDA  (was "Pull NativeLowering pass out into pipeline")

Closing this now that the work in it has gone into #6731 and #6735.


Vickel: Watch originaldocumentproviders.com

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

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


rectify a minor error in test_server_intercept.lua

line 33:
return resp
should modified as
ts.say(resp)

[approve ci]

clang-format check successful! See https://ci.trafficserver.apache.org/job/clang-format-github/7/ for details.

RAT check successful! See https://ci.trafficserver.apache.org/job/RAT-github/20/ for details.

FreeBSD11 build failed! https://ci.trafficserver.apache.org/job/freebsd-github/1702/

AU check failed! https://ci.trafficserver.apache.org/job/autest-github/7/

Intel CC build successful! https://ci.trafficserver.apache.org/job/icc-github/133/

Linux build successful! https://ci.trafficserver.apache.org/job/linux-github/1598/

clang-analyzer build successful! https://ci.trafficserver.apache.org/job/clang-analyzer-github/265/

thanks for spotting the mistake.
👍


Replay Hack Not Working. (I do not have Click Between Frames installed)

Describe the bug
Replays Not responding to player
To Reproduce
I tried replaying Slaughterhouse to see what it looks, so i beat the level while recording the replay, and after I beat the level, I hit "play" , and at about 60% I die.
Expected behavior
I would expect the replay bot to work and complete the level with no trouble at all.
Screenshots
I have no screenshots sadly.

Try xdBot at https://github.com/zilko/xdbot/releases