BaseComposition_ for a better parameter management

ESNs and ELMs should directly obtain their hyper parameters instead of indirectly using "input_to_node__input_scaling" etc.
https://github.com/scikit-learn/scikit-learn/blob/95119c13af77c76e150b753485c662b7c52a41a2/sklearn/utils/metaestimators.py#L19

This is not necessary and now solved differently: kwargs for the estimators are working with the last commit.


[Bug] Doesn't detect my active subscription

The program doesn't detect my Mega Fan Subscription and unable to download any episodes lol

i never had anyone with a funimation subscription so i didn't know what the response would contain - see this https://github.com/Crunchy-DL/Crunchy-Downloader/issues/47#issuecomment-2251033016 the downloader will not log anything in your case so you would have to check the browser console like described in the comment

here's the info you needed
{
"class": "v3_subscription",
"href": "************",
"links": null,
"actions": null,
"account_id": ,
"ctp_account_id": "",
"cycle_duration": "",
"next_renewal_date": "0001-01-01T00:00:00Z",
"currency_code": "",
"is_active": false,
"tax_included": false,
"subscription_products": [],
"future_subscription_change": null,
"third_party_subscription_products": [],
"nonrecurring_subscription_products": [],
"funimation_subscriptions": [
{
"payment_provider": "payment.braintree",
"tier": "premium_plus"
}
]
}


Fix newrelic deprecation warning

Fixes:
WARN : The method NewRelic::Agent::Instrumentation::MetricFrame.recording_web_transaction? is deprecated.
WARN : Please use NewRelic::Agent::Transaction.recording_web_transaction? instead.

It's deprecated at least for two years (checked <IP_ADDRESS> version)

:+1:


Fixed #31985 -- Corrected salted_hmac()'s docstring about supported algorithms.

@franciscouzo Thanks :+1:


Sticky Scroll : incomplete outline model

Hi, I am filing a bug concerning AL and the sticky scroll feature in VS Code which I am developing. I talked previously to a person working on the AL team who mentioned precisely this issue through email, and it would seem like the fix is under development. In order to allow other users to track the issue, I will create this one.
The link to the issue filed on the VS Code side is : https://github.com/microsoft/vscode/issues/159335. I tested on Insiders and I find that the return value of VS Code's function OutlineModel.create() (which creates the outline using AL's document symbol provider) has an incomplete structure. I attach here a picture of the outline model printed in the developer tools after the creation, alongside the original code.

I can see several differences with what the input to sticky scroll is expected to be:

The key ending with layout in the tree should have as a child the scope corresponding to field. Currently the children array of the layout scope seems to be empty.
Both the range and the selection range corresponding to the layout scope show that endLineNumber is 6 and not 19, where the actual scope ends.
The selectionRange should show as startLineNumber 4, not 3, as 4 corresponds to the line number where the scope actually starts, independently of the [TEST] decoration placed above it and other comments that could be present before the scope.

Thanks for the help, and I remain at your disposable for answering any questions.

The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 22.0.46878.0 and VS Code Extension Version 11.0.684497.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read:
https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/
https://freddysblog.com/2020/06/25/working-with-artifacts/


DOCS: update documentation pages

new tutorial section and related notebooks

Codecov Report

Merging #78 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master     #78   +/-   ##
======================================
  Coverage    85.7%   85.7%
======================================
  Files           8       8
  Lines        1478    1478
======================================
  Hits         1267    1267
  Misses        211     211

also should we change the install instructions to point at conda by default, or should we leave as pip?

also should we change the install instructions to point at conda by default, or should we leave as pip?

Is this what you mean?

yeah, therre


Tenancy Support for Self Sign Up Page

Even though users from different tenant domains could self register through our user portal, the view of the self registration page did not honour tenant configurations (self registration enable, captcha, mandatory claims, consents) since we did not have the facility to infer users tenant domain beforehand.
Now the self registration proceeds after giving username as the first step so that we know the user information beforehand,

Please find the relevent resources below.

PRs for the implementation [1] [2] [3] [4]
Integration tests for both self sign up and giving consent while self sign up [5]

[1] https://github.com/wso2/carbon-identity-framework/pull/1361/files
[2] https://github.com/wso2/carbon-identity-framework/pull/1367/files
[3] https://github.com/wso2-extensions/identity-governance/pull/209/files [majority is generated code]
[4] https://github.com/wso2-extensions/identity-governance/pull/210/files
[5] https://github.com/wso2/product-is/pull/2582/files.


Avoid dangling references to block params when sealing an unreachable block.

This started out as a fairly ordinary bug fix, but the fix exposed another problem: f32const and f64const are documented as working for either scalar or vector, but they currently only support scalar. The naive fix is to give them an explicit type parameter, which is what this patch currently does, though it does makes things more verbose. And it's an API change.
Another option would be to just remove support for SIMD values from ssa.rs for now.

So the f32const and f64const instructions started out being polymorphic the same way you're doing it here. I decided to switch them to monomorphic scalar-only because the type variable was confusing. "Why do you need to specify the type of an f32const? It's obviously f32". I also think f32const.f32 is quite grating lexically. (It seems I didn't update the documentation properly.)
I'm also not sure how big the need for splat constants is (other than the zero-initializer). Aarch64, for example has an FMOV (scalar, immediate) instruction that can materialize a few floating point constants, but only in scalar form. There is no vector splatting version of it. The Intel ISAs can only splat all zeros or all one bits.
I would prefer to keep these instructions scalar/monomorphic for now. I think an argument could be made that iconst should also be scalar-only, but since it's naturally polymorphic, there's little cost to allowing the vector splat constants there.
For your problem in the emit_zero() function, you can just add a splat instruction when materializing floating point zero vectors. Alternatively, I also think it could make sense to add a polymorphic zero instruction that can create the all-zeros value for all the same types that load supports.

Works for me. I don't think I need a polymorphic zero at this point, though I am considering factoring out the emit_zero function into a utility so that it can be shared among the 3 places that now need it.
Closing this PR as the patch is now much smaller.


[WIP][FRONTEND][TENSORFLOW] Simplify input shape

Thanks for contributing to TVM!   Please refer to guideline https://docs.tvm.ai/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers.
Depends on #2105.

This gives some warnings when running tests, like

[14:16:31] /workspace/src/romanov/tvm/src/schedule/bound.cc:110: not in feed graph consumer = compute(input0_red_temp, 0x478efb0)
[14:16:31] /workspace/src/romanov/tvm/src/schedule/bound.cc:110: not in feed graph consumer =  compute(input0_red_temp, 0x478efb0)

and

WARNING:autotvm:Cannot find config for target=llvm, workload=('conv2d', (4, 8, 8, 176, 'float32'), (1, 1, 176, 32, 'float32'), (1, 1), (0, 0), (1, 1), 'NHWC', 'float32'). A fallback configuration is used, which may bring great performance regression.

@alexeyr Could you resolve the conflicts to latest master?

@alexeyr  changes related to Unstack and Split(V) are already merged.
I think input_shape simplification may not be required as a node may have multiple outputs.

@icemelon9 Updated.
@srkreddy1238 This is taken into account: even if a node has multiple outputs, each input of another node uses only one of them and we still have a 1-element list there: https://github.com/dmlc/tvm/blob/021099f8d7d9cc59ae9ee872edde45803983d45c/nnvm/python/nnvm/frontend/tensorflow.py#L1235-L1243.

@srkreddy1238 Yes, this pull request doesn't fix any bugs, it is intended to simplify code while producing the exact same result. I've now verified that it actually does that:
I get the

...int_set.cc:514: cannot evaluate set type Cast

and other warnings when running the tests from IPython on the first try and don't get them after repeating. This happens both in master and with this pull request.


Content should be copied whether visible or not

Expected behaviour
I had thought that specifying an element with the source would be enough to copy the content of the souce
Actual behaviour
Nothing gets copied to the clipboard if the source DOM element is not visible
Browsers affected
All
I'm a bit surprised that specifying any DOM element, visible or not, is not enough to be the 'source' copied from.  The element has to be visible.  It would be nice to be able to hide things in the document to get copied to clipboard (ie: with different markup/formatting).

try data-clipboard-text instead of data-clipboard-target

    Copy to clipboard

Indeed that will probably suffice for now.

I think you can close it, because I had the exact same problem what that solved it.


Fix parsing .dic and .aff.

Fix last line is missing.
Some .dic and .aff would use hash symbol (#) as flag, so we should not just discard all string after hash.
Detect comment after hash symbol when parsing .dic file.

This looks neat, but it’s failing the style linting. You can run npm install and then npm test to check if everything is A-OK programatically. I’m also wondering if this will break the tests.
Finally, could you add tests? And what dictionaries do you base these rules on?

I have added test cases.
The dictionaries I base are from here.
The en_GB dictionary uses hash (#) as flag.


chore: Lowercase OCI reference before pushing

Motivated by https://github.com/bytecodealliance/wasm-pkg-tools/issues/134.
This uses bash parameter expansion with the ,, operator to lowercase the entire input.

thank you for filing this! I'm wondering though: is this the right place to fix this? Shouldn't we fix this in wkg instead?

I don't know if it's appropriate to roll this into wkg itself due to the fact that it might be getting used against non-conformant registries (i.e. ones that do allow for uppercase letters), and it might be surprising to have wkg lowercase things for you there.
I suppose the same could be said for this action, but it seemed like a more appropriate place to have this logic since the likelihood of this being used against ghcr.io or other OCI conformant registries is much higher, and having those pushes fail due to uppercase letters is rather unfortunate.


XVIDEOS service is not working since yesterday (blocked download)

[X] I'm asking a question
[X] I've looked through the README and FAQ for similar questions
[X] I've searched the bugtracker for similar questions including closed ones

I do not know in which section to post the error, please do not close the topic and, if possible, move the query to the appropriate section. Sorry for my english too.
Yutube-dl --version = 2021.06.06
OS = Linux Arch x64 Xfce (Current Release: 2021.11.01 Kernel: 5.14.15)
OS2 = Linux Manjaro x64 Xfce (Current Release: 2021.11.01 Kernel: 5.13.19-2-MANJARO)
OS3 = Linux Mint x64 Xfce (Current Release: 2021.09.16 Kernel: 4.9.1-UBUNTU)
Terminal: XFCE-Terminal 0.8.11 in all cases
Problem:
From yesterday (25/11/2021) https://xvideos.com
stopped working. Youtube-dl does not download any files.
I include an example answer:

[hp@elitebook ~]$ youtube-dl https://www.xvideos.com/video39701049/sexy_milf_plays_with_her_pumped_pussy
[XVideos] 39701049: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
[hp@elitebook ~]$ youtube-dl -f hls-1080p https://www.xvideos.com/video39701049/sexy_milf_plays_with_her_pumped_pussy
[XVideos] 39701049: Downloading
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

I am not using a firewall
All ports are open
I have no problems with the internet connection
Youtube-dl works fine on youtube.com
[hp@elitebook ~]$ youtube-dl --verbose https://www.xvideos.com/video39701049/sexy_milf_plays_with_her_pumped_pussy
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.xvideos.com/video39701049/sexy_milf_plays_with_her_pumped_pussy']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.06.06
[debug] Python version 3.9.7 (CPython) - Linux-5.13.19-2-MANJARO-x86_64-with-glibc2.33
[debug] exe versions: ffmpeg 4.4, ffprobe 4.4, rtmpdump 2.4
[debug] Proxy map: {}
[XVideos] 39701049: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/usr/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 634, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 2288, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python3.9/urllib/request.py", line 523, in open
response = meth(req, response)
File "/usr/lib/python3.9/urllib/request.py", line 632, in http_response
response = self.parent.error(
File "/usr/lib/python3.9/urllib/request.py", line 561, in error
return self._call_chain(*args)
File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
result = func(*args)
File "/usr/lib/python3.9/urllib/request.py", line 641, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)

https://nofap.com/
https://www.reddit.com/r/Semenretention/comments/k5fjci/140_days_benefits_of_semen_retention/
Also go outside and touch the green thingy that looks like this (also called grass in some parts of the world)

Also, duplicate of #30271, which was raised and resolved only yesterday.

I am 64 years old and unfortunately I don't know English well and I don't know GitHub, sorry. I cannot find a solution to the problem. I am crippled in a wheelchair, can't see well, can barely read from the big screen at 200dpi. Sorry. I wanted to report a problem because I couldn't find a link.

I updated the original issue linked above with patch instructions. Your installation directory is /usr/lib/python3.9/site-packages/youtube_dl.
As the maintainers have gone AWOL we can't update the released version itself for the time being.

Where are the revision instructions?
This file

/usr/lib/python3.9/site-packages/youtube_dl
is the same for me as the one in GitHub from the link from this post
https://github.com/ytdl-org/youtube-dl/blob/master/youtube_dl/extractor/xvideos.py

See (now that your sight is improving D) the linked post above.

Truly an amazing discussion.

@89z I don't have to be a pastor( or whatever church heads are called) to help out a brother.
Links I provided offer genuine help to people and I'm not just trolling.
The porn industry offers it for free so readily bcoz they want you to get hooked on it and eventually pay for more extreme stuff.
There's no shame in being a coomer...there's only shame in deciding to remain a coomer.
The porn industry is also notorious for treating women badly
https://www.youtube.com/watch?v=DBTb71UzPmY
https://www.youtube.com/watch?v=c_MjD3mvyF8
Also to OP, if you are genuinely 64 and watching/hoarding porn is only thing that satisfies you, then I recommend you go out for walks or stroll on your wheelchair to take fresh air in.
Remember that Zyzz is watching over us all.

Sorry, I checked the other post with the aforementioned fix. But I'm on Windows using the executable, how may I patch it with this fix? Please and thank you.

See https://github.com/ytdl-org/youtube-dl/issues/29326#issuecomment-972929975
and/or https://github.com/ytdl-org/youtube-dl/issues/29326#issuecomment-965425680.

Where are the instructions how to correct it ?
This file

/usr/lib/python3.9/site-packages/youtube_dl

This file on my computer is the same as the one in GitHub from the link from this post, no differences. Do I need to correct something? https://github.com/ytdl-org/youtube-dl/blob/master/youtube_dl/extractor/xvideos.py

What you could also try is switching to the yt-dlp fork, in which this very issue has now been fixed in the master branch:
https://github.com/yt-dlp/yt-dlp/pull/1799
Not in the release version yet.

OFFTOPIC
Following @Ashish0804, I think it would be beneficial to output a message for the user to cease or lower consumption of xxx contents. I have xxx contents too, but this whole thing is an ordeal of the ruling class to make us poor, for crying out loud.
@Ashish0804 I suggest this video https://www.youtube.com/watch?v=7XX80DaKIgI by Alex Becker.
P.S. Yesterday I was at the beach a got the phone numbers of two cute ladies + I was 500 meters in the sea and played with fish. IT WAS A FUN DAY!

"The Porn Industry and its consequences have been a disaster for the human race."

Keep enjoying the life King.

The fact that she dies poor proves that you are not supporting muh innocent fem-entrepreneur by watching porn, you are simply filling the pockets of the few.

@GreenLunar @Ashish0804 yeah, cool. Do you have a solution to issue? If not, stop spamming offtopic, because no one asked you to do so.

@Bielecki Take your white privilege to somewhere else and stop telling us what we can and cannot do.

@Ashish0804 take out your racism somewhere else. This is github, not reddit.

If you need moderators to help get rid of people on religious crusades in these technical bug fix sections, sign me up. I'd be happy to boot these dumbass fools like @Ashish0804 out.

Also, this problem still exists again for xvideos.

@scramblr I reported him, but they didnt do anything. They didnt even remove the comment. So I dont know if it will help, but if more people report then maybe.

I submitted a PR for this issue in the meantime. Hopefully github will take action on the clown.

I am also with this technical problem ... It worked fine before

https://github.com/ytdl-org/youtube-dl/issues/30434


Federating two postgraphile endpoints with Apollo Federation results in "Query.query can only be defined once" error with Relay support or "Union type _Entity" error without Relay support

Hello guys,
I'm trying to federate two postgraphile endpoints with the Apollo Federation gateway but can't seem to find a working combination.
Postgraphile with both Federation and Relay support
Given I started the postgraphile endpoints with Federation support (using FederationPlugin) and Relay support (default NodePlugin activated), when I start the Apollo Federation gateway, it complains with the following error:
(node:19865) UnhandledPromiseRejectionWarning: GraphQLSchemaValidationError: Field "Query.query" can only be defined once.

Field "Query.nodeId" can only be defined once.

Field "Query.node" can only be defined once.
    at ApolloGateway.createSchema (/home/cvidal/Documents/Sources/pocs/postgraphile/federation/node_modules/@apollo/gateway/dist/index.js:210:19)
    at ApolloGateway.<anonymous> (/home/cvidal/Documents/Sources/pocs/postgraphile/federation/node_modules/@apollo/gateway/dist/index.js:181:32)
    at Generator.next (<anonymous>)
    at fulfilled (/home/cvidal/Documents/Sources/pocs/postgraphile/federation/node_modules/@apollo/gateway/dist/index.js:5:58)
    at Object.dynatraceRegularInvoke [as doInvoke] (/opt/dynatrace/oneagent/agent/res/nodeagent/nodejsagent.js:1732:20)
    at Object.a.safeInvoke (/opt/dynatrace/oneagent/agent/res/nodeagent/nodejsagent.js:1802:29)
    at /opt/dynatrace/oneagent/agent/res/nodeagent/nodejsagent.js:6952:25
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

I investigated a bit and looking at the Apollo Federation demo here https://github.com/apollographql/federation-demo, the federated services don't expose node and nodeId fields in the Query type.
Postgraphile with Federation support but without Relay support
I therefore tested starting the two postgraphile endpoints without Relay support (skipping the NodePlugin plugin) but the FederationPlugin plugin fails with :
Error: Union type _Entity must define one or more member types.
    at assertValidSchema (/home/cvidal/Documents/Sources/pocs/postgraphile/custom-postgraphile/node_modules/graphql/type/validate.js:71:11)
    at Object.validate (/home/cvidal/Documents/Sources/pocs/postgraphile/custom-postgraphile/node_modules/graphql/validation/validate.js:54:35)
    at parseQuery (/home/cvidal/Documents/Sources/pocs/postgraphile/custom-postgraphile/node_modules/postgraphile/src/postgraphile/http/createPostGraphileHttpRequestHandler.ts:352:32)
    at /home/cvidal/Documents/Sources/pocs/postgraphile/custom-postgraphile/node_modules/postgraphile/src/postgraphile/http/createPostGraphileHttpRequestHandler.ts:690:55
    at Array.map (<anonymous>)
    at requestHandler (/home/cvidal/Documents/Sources/pocs/postgraphile/custom-postgraphile/node_modules/postgraphile/src/postgraphile/http/createPostGraphileHttpRequestHandler.ts:650:20)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

Apparently, this is a known problem in Apollo Federation that Relay is not supported:
https://spectrum.chat/apollo/apollo-federation/federation-with-relays-node-interface~c0ae3cb1-d243-491a-ac58-17307629e31e
Conclusion
So, this problem may be spread between Postgraphile and Apollo Federation Gateway.
That being said, I can't find a working combination so far, with or without Relay support.

Heyo, you're entering experimental territory there :)
"Postgraphile with Federation support but without Relay support" should be working if you try it with #3 (Feedback very much appreciated).
For the "Postgraphile with both Federation and Relay support", I want to get a PR into graphile-engine, so that you can disable and/or rename the fields "Query.nodeId" and "Query.node" per service. I hope to do that the coming Weekend, but cannot make any guarantees.

Hey, thank you for the quick feedback!
Postgraphile with Federation support but without Relay support
I'll give a look at your PR #3  and give you feedback as soon as I get the chance.
Postgraphile with both Federation and Relay support
Not sure renaming "Query.nodeId" and "Query.node" is a good idea. It may break the Relay support at the gateway level. It may actually be more the responsibility of the federation gateway to handle that use case.
There is an attempt here at fixing apollo-federation to support relay:
https://github.com/victorandree/apollo-federation-relay

Apollo-Federation-Relay looks very interesting.
The following is based on these two conversations if someone seeing this want to read them up:

from here to here (general discussion on the potential worth of nodeId and federation in that setup)
everything going forth from your chat message

As a result of the second discussion, I think you have two options. Let me explain:
Currently, the nodeId is generated in getNodeIdForTypeAndIdentifiers. It usually looks like base64(JSON.stringify([tableName,primaryKey1,...])). The following method getTypeAndIdentifiersFromNodeId is reverting that process. Both those methods are added to the builder object in the init phase.
Actually, by default, the above would be base64(JSON.stringify([typeName,primaryKey1,...])) (note: typeName, not tableName) instead, but this is changed (due to compatiblity with postgraphile 3 in the PgNodeAliasPostGraphile plugin.
Unfortunately, the getNodeAlias/setNodeAlias methods used there can only modify the first element of the JSON-encoded array, not the structure itself.
So, from that realization, you have two methods going forward:

disable the PgNodeAliasPostGraphile plugin (this might happen in postgraphile 5 anyways) and patch the fromId/toId methods of apollo-federation-relay (probably even get a PR in).
override getNodeIdForTypeAndIdentifiers/getTypeAndIdentifiersFromNodeId.
This could be done in a custom plugin that hooked into the build phase, after the NodePlugin has run.
This might look something like this (untested pseudocode from the top of my head):

export default (function NodePlugin(
  builder
) {

  builder.hook(
    "build",
    (build) => {
      return build.extend(
        build,
        {
          getNodeIdForTypeAndIdentifiers(Type, ...identifiers) {
            return base64(
              `${Type}:`+JSON.stringify([this.getNodeAlias(Type), ...identifiers])
            );
          },
          getTypeAndIdentifiersFromNodeId(nodeId) {
            const decoded = base64Decode(nodeId);
            const [alias, ...identifiers] = JSON.parse(decoded.slice(decoded.indexOf(':')));
            return {
              Type: this.getNodeType(alias),
              identifiers,
            };
          },
        },
        `Describe what you are doing`
      );
    },
    ["Your plugin name"],
    [],
    ["Node"] // run this AFTER "Node"
  );

});

As you are already experimenting with this, it would be really cool if you tried one (or both) of those ways and reported back!

Thank you @phryneas, I'll try to test this this week, I have design docs to write first. I will let you know!

No worries, Open Source takes time :)
I just gave you the full rundown immediately because later I'd have probably forgotten about it ^^

i have just encountered this same problem, i think.   tho i am not using the node plugin.
@phryneas - i could put my schemas in a repo for you if that would help.  not sure it's adding anything tho.
i have not tried to dig into the issue deeper - maybe it's time for me to learn something!

my stack trace is different, tho:
Error: Union type _Entity must define one or more member types.
    at assertValidSchema (/Users/buckfactor/pg/pg-fed/iot/api/node_modules/graphql/type/validate.js:71:11)
    at Object.validate (/Users/buckfactor/pg/pg-fed/iot/api/node_modules/graphql/validation/validate.js:54:35)
    at parseQuery (/Users/buckfactor/pg/pg-fed/iot/api/node_modules/postgraphile/build/postgraphile/http/createPostGraphileHttpRequestHandler.js:254:48)
    at /Users/buckfactor/pg/pg-fed/iot/api/node_modules/postgraphile/build/postgraphile/http/createPostGraphileHttpRequestHandler.js:547:63
    at Array.map (<anonymous>)
    at requestHandler (/Users/buckfactor/pg/pg-fed/iot/api/node_modules/postgraphile/build/postgraphile/http/createPostGraphileHttpRequestHandler.js:510:52)
    at processTicksAndRejections (internal/process/task_queues.js:85:5)

I'm on the road so I can take a look only in a few days, but then your schemas could be interesting. It sounds to me  like you are not exposing any types. You need to expose at least one to avoid that error
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

i thought that might be the case so i've done some more investigating.  my original db had two schemas - one with jwt_token and an id generator function, and another with one table.   i've consolidated all into one schema (below).   i now get a slightly different error (also below).  the overall behaviour is the same - postgraphile works fine w/o the federation plugin.
dbscript;
create extension if not exists pgcrypto;
drop schema if exists iot cascade;
create schema iot;
grant usage on schema iot to app_anonymous;
ALTER SCHEMA iot OWNER TO app;

--
-- Name: generate_ulid(); Type: FUNCTION; Schema: iot; Owner: app
--

CREATE FUNCTION iot.generate_ulid() RETURNS text
    LANGUAGE plpgsql
    AS $$
DECLARE
  -- Crockford's Base32
  encoding   BYTEA = '0123456789ABCDEFGHJKMNPQRSTVWXYZ';
  timestamp  BYTEA = E'\\000\\000\\000\\000\\000\\000';
  output     TEXT = '';

  unix_time  BIGINT;
  ulid       BYTEA;
BEGIN
  -- 6 timestamp bytes
  unix_time = (EXTRACT(EPOCH FROM NOW()) * 1000)::BIGINT;
  timestamp = SET_BYTE(timestamp, 0, (unix_time >> 40)::BIT(8)::INTEGER);
  timestamp = SET_BYTE(timestamp, 1, (unix_time >> 32)::BIT(8)::INTEGER);
  timestamp = SET_BYTE(timestamp, 2, (unix_time >> 24)::BIT(8)::INTEGER);
  timestamp = SET_BYTE(timestamp, 3, (unix_time >> 16)::BIT(8)::INTEGER);
  timestamp = SET_BYTE(timestamp, 4, (unix_time >> 8)::BIT(8)::INTEGER);
  timestamp = SET_BYTE(timestamp, 5, unix_time::BIT(8)::INTEGER);

  -- 10 entropy bytes
  ulid = timestamp || gen_random_bytes(10);

  -- Encode the timestamp
  output = output || CHR(GET_BYTE(encoding, (GET_BYTE(ulid, 0) & 224) >> 5));
  output = output || CHR(GET_BYTE(encoding, (GET_BYTE(ulid, 0) & 31)));
  output = output || CHR(GET_BYTE(encoding, (GET_BYTE(ulid, 1) & 248) >> 3));
  output = output || CHR(GET_BYTE(encoding, ((GET_BYTE(ulid, 1) & 7) << 2) | ((GET_BYTE(ulid, 2) & 192) >> 6)));
  output = output || CHR(GET_BYTE(encoding, (GET_BYTE(ulid, 2) & 62) >> 1));
  output = output || CHR(GET_BYTE(encoding, ((GET_BYTE(ulid, 2) & 1) << 4) | ((GET_BYTE(ulid, 3) & 240) >> 4)));
  output = output || CHR(GET_BYTE(encoding, ((GET_BYTE(ulid, 3) & 15) << 1) | ((GET_BYTE(ulid, 4) & 128) >> 7)));
  output = output || CHR(GET_BYTE(encoding, (GET_BYTE(ulid, 4) & 124) >> 2));
  output = output || CHR(GET_BYTE(encoding, ((GET_BYTE(ulid, 4) & 3) << 3) | ((GET_BYTE(ulid, 5) & 224) >> 5)));
  output = output || CHR(GET_BYTE(encoding, (GET_BYTE(ulid, 5) & 31)));

  -- Encode the entropy
  output = output || CHR(GET_BYTE(encoding, (GET_BYTE(ulid, 6) & 248) >> 3));
  output = output || CHR(GET_BYTE(encoding, ((GET_BYTE(ulid, 6) & 7) << 2) | ((GET_BYTE(ulid, 7) & 192) >> 6)));
  output = output || CHR(GET_BYTE(encoding, (GET_BYTE(ulid, 7) & 62) >> 1));
  output = output || CHR(GET_BYTE(encoding, ((GET_BYTE(ulid, 7) & 1) << 4) | ((GET_BYTE(ulid, 8) & 240) >> 4)));
  output = output || CHR(GET_BYTE(encoding, ((GET_BYTE(ulid, 8) & 15) << 1) | ((GET_BYTE(ulid, 9) & 128) >> 7)));
  output = output || CHR(GET_BYTE(encoding, (GET_BYTE(ulid, 9) & 124) >> 2));
  output = output || CHR(GET_BYTE(encoding, ((GET_BYTE(ulid, 9) & 3) << 3) | ((GET_BYTE(ulid, 10) & 224) >> 5)));
  output = output || CHR(GET_BYTE(encoding, (GET_BYTE(ulid, 10) & 31)));
  output = output || CHR(GET_BYTE(encoding, (GET_BYTE(ulid, 11) & 248) >> 3));
  output = output || CHR(GET_BYTE(encoding, ((GET_BYTE(ulid, 11) & 7) << 2) | ((GET_BYTE(ulid, 12) & 192) >> 6)));
  output = output || CHR(GET_BYTE(encoding, (GET_BYTE(ulid, 12) & 62) >> 1));
  output = output || CHR(GET_BYTE(encoding, ((GET_BYTE(ulid, 12) & 1) << 4) | ((GET_BYTE(ulid, 13) & 240) >> 4)));
  output = output || CHR(GET_BYTE(encoding, ((GET_BYTE(ulid, 13) & 15) << 1) | ((GET_BYTE(ulid, 14) & 128) >> 7)));
  output = output || CHR(GET_BYTE(encoding, (GET_BYTE(ulid, 14) & 124) >> 2));
  output = output || CHR(GET_BYTE(encoding, ((GET_BYTE(ulid, 14) & 3) << 3) | ((GET_BYTE(ulid, 15) & 224) >> 5)));
  output = output || CHR(GET_BYTE(encoding, (GET_BYTE(ulid, 15) & 31)));

  RETURN output;
END
$$;

CREATE TYPE iot.jwt_token AS (
	role text,
	app_user_id text,
	app_tenant_id text,
	token text
);

CREATE TABLE iot.thing (
    id text DEFAULT iot.generate_ulid() NOT NULL,
    app_tenant_id text NOT NULL,
    created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP NOT NULL,
    updated_at timestamp with time zone NOT NULL,
    name text not null
    CONSTRAINT ck_thing_name CHECK ((name <> ''::text))
);

CREATE FUNCTION iot.fn_timestamp_update_thing() RETURNS trigger
    LANGUAGE plpgsql
    AS $$
  BEGIN
    NEW.updated_at = current_timestamp;
    RETURN NEW;
  END; $$;
ALTER FUNCTION iot.fn_timestamp_update_thing() OWNER TO app;
CREATE TRIGGER tg_timestamp_update_thing BEFORE INSERT OR UPDATE ON iot.thing FOR EACH ROW EXECUTE PROCEDURE iot.fn_timestamp_update_thing();

grant all on iot.thing to app_anonymous;

current error trace:
Error: Union type _Entity must define one or more member types.
    at assertValidSchema (/Users/buckfactor/pg/pg-fed/iot/api/node_modules/graphql/type/validate.js:71:11)
    at Object.validate (/Users/buckfactor/pg/pg-fed/iot/api/node_modules/graphql/validation/validate.js:54:35)
    at parseQuery (/Users/buckfactor/pg/pg-fed/iot/api/node_modules/postgraphile/build/postgraphile/http/createPostGraphileHttpRequestHandler.js:254:48)
    at /Users/buckfactor/pg/pg-fed/iot/api/node_modules/postgraphile/build/postgraphile/http/createPostGraphileHttpRequestHandler.js:547:63
    at Array.map (<anonymous>)
    at requestHandler (/Users/buckfactor/pg/pg-fed/iot/api/node_modules/postgraphile/build/postgraphile/http/createPostGraphileHttpRequestHandler.js:510:52)
    at processTicksAndRejections (internal/process/task_queues.js:85:5)
Error: Union type _Entity must define one or more member types.
    at assertValidSchema (/Users/buckfactor/pg/pg-fed/iot/api/node_modules/graphql/type/validate.js:71:11)
    at Object.validate (/Users/buckfactor/pg/pg-fed/iot/api/node_modules/graphql/validation/validate.js:54:35)
    at parseQuery (/Users/buckfactor/pg/pg-fed/iot/api/node_modules/postgraphile/build/postgraphile/http/createPostGraphileHttpRequestHandler.js:254:48)
    at /Users/buckfactor/pg/pg-fed/iot/api/node_modules/postgraphile/build/postgraphile/http/createPostGraphileHttpRequestHandler.js:547:63
    at Array.map (<anonymous>)
    at requestHandler (/Users/buckfactor/pg/pg-fed/iot/api/node_modules/postgraphile/build/postgraphile/http/createPostGraphileHttpRequestHandler.js:510:52)
    at processTicksAndRejections (internal/process/task_queues.js:85:5)

figured it out...
not that i should have done so for other reasons...   but you have to have a primary key on your table in order for the Node interface to implemented in order for it to be included in federation types...
... so, my bad...
and now i am back to the first error:
(node:98342) UnhandledPromiseRejectionWarning: GraphQLSchemaValidationError: Field "Query.query" can only be defined once.

Field "Query.nodeId" can only be defined once.

Field "Query.node" can only be defined once.
    at ApolloGateway.createSchema (/Users/buckfactor/node_modules/@apollo/gateway/dist/index.js:207:19)
    at ApolloGateway.<anonymous> (/Users/buckfactor/node_modules/@apollo/gateway/dist/index.js:178:32)
    at Generator.next (<anonymous>)
    at fulfilled (/Users/buckfactor/node_modules/@apollo/gateway/dist/index.js:5:58)
    at processTicksAndRejections (internal/process/task_queues.js:85:5)
(node:98342) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:98342) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

https://github.com/apollographql/federation-jvm/issues/20#issuecomment-515556164
this sounds like it might be a bug in the gateway itself

"Query.query" can only be defined once.
Field "Query.nodeId" can only be defined once.
Field "Query.node" can only be defined once.

You are getting these because multiple microservices are defining those and federation cannot decide which one to use.
The apollo-federation-relay package linked above might be a fix for is, but it won't work out-of-the box with postgraphile. My comment above explains how to possibly get around that.
By the way, @cedricvidal is there any progress from your side? :)

@phryneas - thanks, and i'll try that out when i get back to this (hopefully this weekend), unless it moves forward by other paths.

For people who don't depend on the node and nodeId support for their queries, you can bruteforce solve this issue by just removing the conflicting fields:
import { Plugin } from "graphile-build";
import { omit } from "lodash";

export default (function RemoveNodeAndQueryFieldsPlugin(builder) {
  builder.hook("GraphQLObjectType:fields", (fields, _, { Self }) => {
    if (Self.name !== "Query") {
      return fields;
    }

    return omit(fields, ["node", "nodeId", "query"]);
  });
} as Plugin);

We need to remove the Node interface as well:
import { Plugin } from "graphile-build";

export default (function StripNodeInterfacePlugin(builder) {
  builder.hook("GraphQLObjectType:interfaces", interfaces => {
    return interfaces.filter(int => int.name !== "Node");
  });
} as Plugin);

These two plugins should allow you to federate your services. Obviously this doesn't really help you if you need that functionality


unknown property 'packageReleaseResources'

Error:FAILURE: Build failed with an exception.

Where:
Script 'D:\demo\AARApplication\app\fat-aar.gradle' line: 151

What went wrong:
A problem occurred configuring project ':app'.

Could not get unknown property 'packageReleaseResources' for project ':app' of type org.gradle.api.Project.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

because you apply it on a app project, fat-aar can only work on library module


Desktop-first Tailwind classes not working

Describe the Bug
Hi,
Firstly, my apologies for opening another issue. I hope this one is actually a real issue and not me making another blunder 😅
I'm attempting to use Tailwinds desktop-first media queries as I want the clients that don't support media queries to use a desktop layout, rather than falling back to the mobile layout.
Tailwind's docs and their Play environment show that I should be able to do this (example):
<p class="text-blue-700 max-sm:text-red-600">
  I am some text
</p>

In Tailwind Play this results in red text below the sm breakpoint and blue text above it. When I try and do the same thing in React.email using the following code:
<Text className="text-blue-700 max-sm:text-red-600">
  Lorem ipsum dolor sit amet, consectetur adipiscing elit.
</Text>

…the text is just permanently red. This is odd, since this is the style that should be in the media query, but I can see from inspecting the markup that no media query is being generated as can be seen from the empty <head> element here:

I assume this is a bug 😅 ?
Which package is affected (leave empty if unsure)
@react-email/tailwind
Link to the code that reproduces this issue
https://github.com/WillsB3/react-email-repos/tree/media-query-bug
To Reproduce

Clone https://github.com/WillsB3/react-email-repos/tree/media-query-bug
npm i
npm run dev

Expected Behavior
I expect the behaviour to be the same as that shown in the Tailwind Play environment. That is, for the inline style text rule to set the text to blue, and a media query to turn the text red when the viewport width is below the sm breakpoint to be generated and inserted into <head>.
What's your node version? (if relevant)
v18.19.0

Yup, this is an actual issue 😅
The problem is right here
https://github.com/resend/react-email/blob/37a93a634421708996f4cf88748e19f093eefc97/packages/tailwind/src/utils/css/media-queries/separate-media-queries-from-css.ts#L6-L11
This regex does not account for the kind of media queries Tailwind uses there. This is going to also be fixed by #1383 as we move into using postcss instead of having our own regexes, but it's still fixable in this case.


Add DevelopmentDependency

Today I found StringLiteralGenerator is not referenced as a development-time only source generator but as a normal package.
This PR adds DevelopmentDependency.
This PR also enables work in Visual Studio 2019.

Would it be possible for you to separate commits for each intent: refactoring, multi-targeting, global usings, LanguageName, and DevelopmentDependency? I would appreciate it if possible.

Ok, I will make separated PRs.


Appstudio update test-custom-default-branch-pmnw

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-ufgi-on-pull-request-
creating pipelinerun test-simple-build-ufgi-on-pull-request- in namespace build-e2e-exqk-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-mcmm-on-pull-request-
creating pipelinerun test-simple-build-mcmm-on-pull-request- in namespace build-e2e-exqk-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-lqle-on-pull-request-
creating pipelinerun test-simple-build-lqle-on-pull-request- in namespace build-e2e-exqk-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-uqzm-on-pull-request-
creating pipelinerun test-simple-build-uqzm-on-pull-request- in namespace build-e2e-exqk-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-annotations-mijr-on-pull-request-
creating pipelinerun test-annotations-mijr-on-pull-request- in namespace build-e2e-exqk-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-nwtb-on-pull-request-
creating pipelinerun test-simple-build-nwtb-on-pull-request- in namespace build-e2e-exqk-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-imul-on-pull-request-
creating pipelinerun test-simple-build-imul-on-pull-request- in namespace build-e2e-exqk-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-nyrh-on-pull-request-
creating pipelinerun test-simple-build-nyrh-on-pull-request- in namespace build-e2e-exqk-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-wadk-on-pull-request-
creating pipelinerun test-simple-build-wadk-on-pull-request- in namespace build-e2e-exqk-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request


Add resolver for scalaz-stream_2.10

LGTM. let's wait for the build to pass on this one, then if it does :shipit:


Tile Slide-up keyline

This issue ALSO EXISTS ON DEMO SITE.  How do I get rid to the 1px white keyline on the slide object?
See https://metroui.org.ua/tiles.html and choose ANY sliding effect, you'll see it.
I've tried adding class to various divs (my body color is grayDarker)

bd-grayDarker
ol-grayDarker
bg-grayDarker
before-bd-grayDarker
before-ol-grayDarker
before-bg-grayDarker
after-bd-grayDarker
after-ol-grayDarker
after-bg-grayDarker

on

Nothing seems to get rid of this line... HELP!

add style:
.slide-over {     box-shadow: none!important; }


DOC Add extra information on how to customise an file HTTP response

Depends on

[x] https://github.com/silverstripe/silverstripe-assets/pull/391

I've rebased and applied the suggested feedback.

I left some suggested edits for the (new?) intro blurb bit. Merge after resolving!


Handle boolean values

const array = [
  {
    active: false,
    name: "Cheetah",
    lifeExpectancy: 10,
    taxonomy: {
      phylum: "Chordata",
      class: "Mammalia",
      order: "Carnivora",
      family: "Felidae",
    },
    characteristics: {
      prey: "Gazelle, Wildebeest, Hare",
      distinctiveFeature: "Yellowish fur covered in small black spots",
    },
    locations: ["Africa", "Asia", "Eurasia"],
  },
  {
    active: true,
    name: "Gorilla",
    lifeExpectancy: 41,
    taxonomy: {
      phylum: "Chordata",
      class: "Mammalia",
      order: "Primates",
      family: "Hominidae",
    },
    locations: ["Africa"],
  },
];

In the above array I have added active: true/false
Is there a way to filter by boolean?

Is there a way to filter by boolean?

No I couldn't find any thing in the docs or tests that targets boolean values.


Master

Pull of Master for testing

@Mklapheke04 Please let me know what exactly are you trying to do. master and 9.0 are not in sync , master is currently referring to 10.1 xsd so if you can let me know more details for this merge, I will be able to help better.

I am new to GitHub and did not do a pull correctly, we are mostly looking at what you changed in the Vantiv SDK as we kept getting a lot of errors in class.

@Mklapheke04 can you email<EMAIL_ADDRESS>with the problems you are experiencing as well as any relevant details of your integration with Vantiv eCommerce?
Thanks


[android] length 0 of device manufacturer data

Error with one of the properties regarding device manufacturer data.
04-09 12:47:29.517  3910  4310 D bt_btif_gattc: btif_gattc_update_properties BLE device name=Crown len=5 dev_type=2
04-09 12:47:29.517  3910  4310 E bt_btif : property type:241, len:0 is invalid
04-09 12:47:29.517  3910  4310 E bt_btif_dm: ### ASSERT : system/bt/main/../btif/src/btif_dm.c line 4655 failed to save remote device manufacturer (1) ###

Is the length properly set for the custom data that is sent?

Isnt this an issue for bluenet lib android?

On 9 Apr 2017, at 13:03, Anne van Rossum<EMAIL_ADDRESS>wrote:
Error with one of the properties regarding device manufacturer data.
04-09 12:47:29.517  3910  4310 D bt_btif_gattc: btif_gattc_update_properties BLE device name=Crown len=5 dev_type=2
04-09 12:47:29.517  3910  4310 E bt_btif : property type:241, len:0 is invalid
04-09 12:47:29.517  3910  4310 E bt_btif_dm: ### ASSERT : system/bt/main/../btif/src/btif_dm.c line 4655 failed to save remote device manufacturer (1) ###
Is the length properly set for the custom data that is sent?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Feel free to move to appropriate location. If this is intended behavior on Android device it belongs here. If it reflects a bug in the firmware, it might be moved there.

In https://github.com/crownstone/bluenet/blob/master/src/ble/cs_Stack.cpp#L358
void Nrf51822BluetoothStack::configureIBeaconAdvData(IBeacon* beacon) {

The getArray() function from cs_iBeacon.h is used, which is hardcoded to 23.
In https://github.com/crownstone/bluenet/blob/master/src/ble/cs_Stack.cpp#L411
void Nrf51822BluetoothStack::configureBleDeviceAdvData() {

The struct _advdata.p_manuf_specific_data is not set, neither the size of that struct.
This function seems not to be used? In a case CONFIG_IBEACON_ENABLED in cs_main_crownstone.cpp:
bool enabled = *(bool*)p_data;
This needs a low-level check to see how the packets actually look.

In wireshark I see the following:
Device d6:cc:73:b4:9c:be:
Bluetooth HCI Event - LE Meta
    Event Code: LE Meta (0x3e)
    Parameter Total Length: 40
    Sub Event: LE Advertising Report (0x02)
    Num Reports: 1
    Event Type: Scan Response (0x04)
    Peer Address Type: Random Device Address (0x01)
    BD_ADDR: d6:cc:73:b4:9c:be (d6:cc:73:b4:9c:be)
    Data Length: 28
    Advertising Data
        Service Data - 16 bit UUID
            Length: 20
            Type: Service Data - 16 bit UUID (0x16)
            UUID 16: Unknown (0xc001)
            Service Data: 0170f842830d8f9aae0b540d4ddf25faa6
        Device Name (shortened): Crown
            Length: 6
            Type: Device Name (shortened) (0x08)
            Device Name: Crown
    RSSI (dB): -88

Device cb:69:b8:69:14:6e:
Bluetooth HCI Event - LE Meta
    Event Code: LE Meta (0x3e)
    Parameter Total Length: 40
    Sub Event: LE Advertising Report (0x02)
    Num Reports: 1
    Event Type: Scan Response (0x04)
    Peer Address Type: Random Device Address (0x01)
    BD_ADDR: cb:69:b8:69:14:6e (cb:69:b8:69:14:6e)
    Data Length: 28
    Advertising Data
        Service Data - 16 bit UUID
            Length: 20
            Type: Service Data - 16 bit UUID (0x16)
            UUID 16: Unknown (0xc001)
            Service Data: 01181fba5e9422fc47a8951a348dacd26f
        Device Name (shortened): Crown
            Length: 6
            Type: Device Name (shortened) (0x08)
            Device Name: Crown
    RSSI (dB): -92

There are no differences that I can spot at first sight.
Then the same devices again, but for their non-iBeacon advertisements:
Device d6:cc:73:b4:9c:be:
Bluetooth HCI Event - LE Meta
    Event Code: LE Meta (0x3e)
    Parameter Total Length: 42
    Sub Event: LE Advertising Report (0x02)
    Num Reports: 1
    Event Type: **Connectable Undirected Advertising** (0x00)
    Peer Address Type: Random Device Address (0x01)
    BD_ADDR: d6:cc:73:b4:9c:be (d6:cc:73:b4:9c:be)
    Data Length: 30
    Advertising Data
        Flags
            Length: 2
            Type: Flags (0x01)
            000. .... = Reserved: 0x0
            ...0 .... = Simultaneous LE and BR/EDR to Same Device Capable (Host): false (0x0)
            .... 0... = Simultaneous LE and BR/EDR to Same Device Capable (Controller): false (0x0)
            .... .1.. = BR/EDR Not Supported: true (0x1)
            .... ..1. = LE General Discoverable Mode: true (0x1)
            .... ...0 = LE Limited Discoverable Mode: false (0x0)
        Manufacturer Specific
            Length: 26
            Type: Manufacturer Specific (0xff)
            Company ID: Apple, Inc. (0x004c)
            Data: 021521719e9ddbb9434a9d9085e335fcccba778527dbc4
    RSSI (dB): -89

Device cb:69:b8:69:14:6e:
Bluetooth HCI Event - LE Meta
    Event Code: LE Meta (0x3e)
    Parameter Total Length: 42
    Sub Event: LE Advertising Report (0x02)
    Num Reports: 1
    Event Type: **Non-Connectable Undirected Advertising** (0x03)
    Peer Address Type: Random Device Address (0x01)
    BD_ADDR: cb:69:b8:69:14:6e (cb:69:b8:69:14:6e)
    Data Length: 30
    Advertising Data
        Flags
            Length: 2
            Type: Flags (0x01)
            000. .... = Reserved: 0x0
            ...0 .... = Simultaneous LE and BR/EDR to Same Device Capable (Host): false (0x0)
            .... 0... = Simultaneous LE and BR/EDR to Same Device Capable (Controller): false (0x0)
            .... .1.. = BR/EDR Not Supported: true (0x1)
            .... ..1. = LE General Discoverable Mode: true (0x1)
            .... ...0 = LE Limited Discoverable Mode: false (0x0)
        Manufacturer Specific
            Length: 26
            Type: Manufacturer Specific (0xff)
            Company ID: Apple, Inc. (0x004c)
            Data: 021521719e9ddbb9434a9d9085e335fcccbaf93a43fec4
    RSSI (dB): -92

Do I have an old version for one of the Crownstone's firmware? Where can I check that?

Correction. They both send out connectable and non-connectable advertisements.

That is by design. Alternating these adheres to the iBeacon spec enough for
the phones to keep alive :)
On Sun, Apr 9, 2017 at 2:16 PM, Anne van Rossum<EMAIL_ADDRESS>wrote:

Correction. They both send out connectable and non-connectable
advertisements.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/crownstone/CrownstoneApp/issues/28#issuecomment-292782342,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFHWTd0DqlWUXTvsgMXdI_3LqsewNF5dks5ruMw1gaJpZM4M3_l3
.

This probably stems from not using a UUID from SIG yet as 16-bit Service Data UUID.
The question is... Do we need it? Do we actually use the Shortened Local Name (0x08) type in the scan response, see https://github.com/crownstone/bluenet/blob/master/docs/PROTOCOL.md?
I think we can get rid of these 10 bytes and use a 128 bit UUID that does not need registering.
Another road would be to not use scan responses at all. Just use our own advertisement type. We already have a company UUID. So it makes sense to use Manufacturer Specific (Data GAP 11.1.4) with the 16 bit company identifier.

If we use the 128bit UUID, we don't have enough bytes left for the data. 1B AD len + 1B ad type + 16B UUID + 17B data = 35B, while we only have 31B. We only made the name as long as possible, and would drop it if it wouldn't fit.

For the other road: we could indeed interleave iBeacon messages with the data messages, and not use a scan response at all. However, I think IPhones may not be able to recognize which IBeacon messages belongs to which data messages (as you don't get the MAC address), @AlexDM0 should know.

iPhones do not get mac adresses. The app database knows which major minor should match to which crownstone but I can't tell it to connect to one of them. The uuids I get instead of mac addresses are not provided when I get the iBeacon information. Those are only available for scan responses. I listen to the uid of the Crownstone (cloud short I'd of stone) and store their handles so I can look for them in the future.

On 10 Apr 2017, at 10:08, vliedel<EMAIL_ADDRESS>wrote:
For the other road: we could indeed interleave iBeacon messages with the data messages, and not use a scan response at all. However, I think IPhones may not be able to recognize which IBeacon messages belongs to which data messages (as you don't get the MAC address), @AlexDM0 should know.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Automation Test Case 3 - Monitoring Plan - Create new component

Login to ECMPS 2.0
Monitoring Plan
Barry (down arrow)
Open - 1, 2, CS0AAN
Select Configuration
Check Out
Location drop-down list (select: CS0AAN)
Sections drop-down list (select: Systems)
Under Systems -> Click View/ Edit for System ID (AA2)/ System Type (NOX)
System: AA2 pop-up window is displayed
Scroll Down> And add an End Date (Last Month's Date e.g. 06/30/2024) & End Time (23)
Save and Go Back -> Takes to the Monitoring Plan page
You have to go back to the same Analyzer Range -> Click View/ Edit for "System Type" (NOX)
Find that same component again: NOX NOX
Since we Ended that component (in previous step), we have to End that Analyzer Range as well
View/ Edit -> Scroll Down -> Analyzer Ranges> View/Edit> Use the same Date & Time -> End Date (Last Month's Date e.g. 06/30/2024) & End Time (23)
Save and Go Back -> Takes to the Monitoring Plan page
Now we have to Add a new NOX Component
View/ Edit -> Scroll Down -> System Components -> "Add Component" button -> "Create New Component" button -> Takes to "Create Component" window
We are creating a Brand New Component

Component ID: A30 (has to be 3 digit, otherwise Error)
Component Type: NOX Concentration
Sample Acquisition Method: Dilution Out of Stack
Basis Description: Wet
Manufacturer: AIA
Model or Version: MOV
Serial Number: SER
Analytical Principal: Keep it as NULL (there's a ticket to get rid of this field)
Begin Date: 07/01/2024 - It should be the Hour after your Previous End Date (06/30/2024)
Begin Hour: 0
End Date: (blank)
End Time: (blank)

Click "Create New Component" button -> Takes to the Monitoring Plan page
Check Back In
Log Out
Now we have to go back once again, to add "Analyzer Range"

Putting #6322 "On-Hold" based on the meetings with EPA on 8/06/24 & 8/08/24 since the "Performance Testing" took precedence over automated functional testing.


Improve textviewer rendering speed

Proposed Changes
(Describe your changes here. Also describe the motivation for your changes: what problem do they solve, or how do they improve the application or codebase? If this pull request fixes an open issue, use a keyword to link this pull request to the issue.)
When the text viewer renders large files, the run_syntax_highlighter function currently takes a significant amount of time, and causes the page to freeze. A user reported this after uploading a CSV file with over 7000 lines.
The issue was not with Prism.js (the syntax highlighting library we're using), but rather with the code that was modifying the result of the syntax highlighting to make it compatible with our own source code glower. I refactored this code to improve its performance, mostly by making better use of Node/Element methods.

Screenshots of your changes (if applicable)

Associated documentation repository pull request (if applicable)

Type of Change
(Write an X or a brief description next to the type or types that best describe your changes.)

Type
Applies?

🚨 Breaking change (fix or feature that would cause existing functionality to change)

✨ New feature (non-breaking change that adds functionality)

🐛 Bug fix (non-breaking change that fixes an issue)

🎨 User interface change (change to user interface; provide screenshots)

♻ Refactoring (internal change to codebase, without changing functionality)
X

🚦 Test update (change that only adds or modifies tests)

📦 Dependency update (change that updates a dependency)

🔧 Internal (change that only affects developers or continuous integration)

Checklist
(Complete each of the following items for your pull request. Indicate that you have completed an item by changing the [ ] into a [x] in the raw text, or by clicking on the checkbox in the rendered description on GitHub.)
Before opening your pull request:

[X] I have performed a self-review of my changes.

Check that all changed files included in this pull request are intentional changes.
Check that all changes are relevant to the purpose of this pull request, as described above.

[ ] I have added tests for my changes, if applicable.

This is required for all bug fixes and new features.

[ ] I have updated the project documentation, if applicable.

This is required for new features.

[ ] If this is my first contribution, I have added myself to the list of contributors.

After opening your pull request:

[X] I have updated the project Changelog (this is required for all changes).
[ ] I have verified that the pre-commit.ci checks have passed.
[ ] I have verified that the CI tests have passed.
[ ] I have reviewed the test coverage changes reported by Coveralls.
[ ] I have requested a review from a project maintainer.

Questions and Comments
(Include any questions or comments you have regarding your changes.)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

16 of 16 (100.0%)  changed or added relevant lines in 1 file are covered.
12 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.04%) to 91.488%

Files with Coverage Reduction
New Missed Lines
%

app/assets/javascripts/Components/Result/text_viewer.jsx
12
64.49%

Totals

Change from base Build<PHONE_NUMBER>2:
0.04%

Covered Lines:
40237

Relevant Lines:
43310

💛  - Coveralls


[SPARK-28574][CORE][FOLLOW-UP] Several minor improvements for event queue capacity config

What changes were proposed in this pull request?

Replace hard-coded conf spark.scheduler.listenerbus.eventqueue with a constant variable(LISTENER_BUS_EVENT_QUEUE_PREFIX ) defined in config/package.scala.

Update documentation for spark.scheduler.listenerbus.eventqueue.capacity in both config/package.scala and docs/configuration.md.

Why are the changes needed?

Better code maintainability

Better user guidance of the conf

Does this PR introduce any user-facing change?

No behavior changes but user will see the updated document.
How was this patch tested?

Pass Jenkins.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19289/
Test PASSed.

cc @gatorsmile @jiangxb1987 @cloud-fan @yunzoud

Test build #114455 has started for PR 26676 at commit 9c9d296.

Test build #114455 has finished for PR 26676 at commit 9c9d296.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114455/
Test PASSed.

Test build #114463 has started for PR 26676 at commit 022c62b.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19297/
Test PASSed.

Test build #114463 has finished for PR 26676 at commit 022c62b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114463/
Test PASSed.

Thanks @dongjoon-hyun  @cloud-fan  @HyukjinKwon .


Projects with multiple Rust targets have broken incremental compilation

After updating Corrosion from 0.3.0 to 0.3.5, I noticed every time I build my whole project, it rebuilds all Rust crates including dependencies, instead of building the project incrementally as before. When building the same Rust target twice, the second time does not cause a rebuild (as expected). When building one Rust target, then another, then the first one again, all three times all dependencies are rebuilt from scratch. This makes me think that building a target causes incremental builds to get invalidated for all the other targets.
I tracked it down to commit 798fc952a7753fa8d592bc9f7e37bfe0fe4898fd (introduced between 0.3.1 and 0.3.2), reverting the commit in my project fixes the issue.

Have you also tried if this still happens on current master? I just checked, and the code in question, which did not set CARGO_TARGET_<target>_LINKER for staticlibs, is not there anymore on master (after a larger refactor).
I am considering releasing a bugfix release, which reverts the commit in question, but I'd have to take some time first and doublecheck what the original issue was, to make sure I don't break something else by reverting.

Ah sorry, I forgot to test master. It does indeed not happen there anymore. Thanks!

Do you need a fix for the v0.3 branch, or would releasing v0.4 be sufficient?

Having the fix in 0.4 is fine by me. Applying a patch until then is not an issue :)


Modal: Property 'closeModal' does not exist

Thanks for the useful resource! I noticed that astro check throws the following error:
src/components/Modal.astro:216:10 - error ts(2339): Property 'closeModal' does not exist on type 'Window & typeof globalThis'.

216   window.closeModal = closeModal
             ~~~~~~~~~~

I believe it should simply be window.close. See also https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/close.

Hey @mrcnski! Thanks for submitting the issue and providing a plausible solution, I really appreciate it 😊 I'll implement a fix when I've got the time for it!

@mrcnski I apologize that this is taking so long, I've been preoccupied with other projects. I'll try and look into it next week! 🙂

Thanks for the update and no worries! I just copied the component into my own project and fixed it there.


First Android app: Android Basics with Compose

Hi
My name is Juancho.
I'm very new to this, so my apologies.
The androidstudio version I installed is not the same as the one inside the lessons.
What version should I install so that I can understand and follow the instructions?
Thank you.

Hello I'm stuck here


[Installer] Add the installer v2 documents

Explanation
This PR adds the installer v2 document.
Related issue
None.
What type of PR is this
/kind documentation
Proposed Changes
Add a new page for the installer v2

Hello, I am a PR summary agent on flows.network.
It could take a few minutes for me to analyze this PR. Relax, grab a cup of coffee and check back later. Thanks!


Events and resources are matched only if resourceIdAccessor is "resourceId"

Check that this is really a bug

[X] I confirm

Reproduction link
https://codesandbox.io/s/react-big-calendar-resourceidaccessor-bug-74cb6u?file=/src/App.js
Bug description
The resources are matched with their corresponding events only if the value of the propresourceIdAccessor is resourceId. If the field has a different name (such as roomId like in the example above) the events are not associated to their resource and are not displayed in the calendar.
Expected Behavior
The events are displayed in the resource column with which they share the same value of the property specified in the Calendar's prop 'resourceIdAccessor`, whatever it is.
Actual Behavior
The events are shown their respective resource column only if the common property specified in resourceIdAccessor is resourceId.  Any other value do not works
react-big-calendar version
1.5.0
React version
18.2.0
Platform/Target and Browser Versions
Chrome
Validations

[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a react-big-calendar issue and not an implementation issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

It works like this:
resourceIdAccessor={(event) => event.roomId}
resourceTitleAccessor={(r) => r.Title}


VSync issue on mali-fbdev

I have added a mali-fbdev context to SDL2 (I guess https://github.com/Aloshi/EmulationStation/issues/199 can be closed?).
However, I am having tearing/ vsync issues, see: https://www.youtube.com/watch?v=G_rd2B3c8q0
Other SDL2 apps (ppssppsdl and mupen64plus) don't have this issue (although they are GLES2 apps, not GLES1). Any ideas on how to approach/solve this?
EDIT: another weird thing is that the ES splashscreen is not shown, not sure if related or not to the same underlying issue.

Here's ES's SDL2 VSync enable stuff, if you haven't looked at it already. Try getting rid of the SDL_GL_SetSwapInterval(-1) != 0 call, so it will not accept late swap tearing.

I already commented that out and set SDL_GL_SetSwapInterval(1), with no results.
However, I was playing with fbset to change to 16bpp (32bpp has issues with alpha); this is how resolution is set intially in initramfs: https://github.com/libretro/Lakka/blob/lakka/projects/OdroidC1/initramfs/platform_init
So I only run fbset with smaller resolution, and did not change the window scaling / window axis stuff (in /sys/class/graphics/...), resulting in having the content in a smaller window on my screen. Since virtual y is 2x y, I could see a copy of the image under that smaller window.
Well, I thought it was a copy, but when starting ES, the splashscreen was visible there, and only there. So I am assuming double buffering is not working correctly, the buffers are not swapped. But I really am out of depth here. I don't know if the issue is with the drivers, or my implementation in SDL2 (https://github.com/mihailescu2m/libsdl2-2.0.2-dfsg1/commit/bfd676cad31430e31065ccf7e5ee5dcc01f75d82).

Calling another SwapBuffers before rendering the splash seems to have solved that issue...
Any idea why this happens?
void Window::renderLoadingScreen()
{
    Eigen::Affine3f trans = Eigen::Affine3f::Identity();
    Renderer::setMatrix(trans);
    Renderer::drawRect(0, 0, Renderer::getScreenWidth(), Renderer::getScreenHeight(), 0xFFFFFFFF);

    // extra SWAPBUFFERS to show splashscreen
    Renderer::swapBuffers();

    ImageComponent splash(this);
    splash.setResize(Renderer::getScreenWidth() * 0.6f, 0.0f);
    splash.setImage(":/splash.svg");
    splash.setPosition((Renderer::getScreenWidth() - splash.getSize().x()) / 2, (Renderer::getScreenHeight() - splash.getSize().y()) / 2 * 0.6f);
    splash.render(trans);

    auto& font = mDefaultFonts.at(1);
    TextCache* cache = font->buildTextCache("LOADING...", 0, 0, 0x656565FF);
    trans = trans.translate(Eigen::Vector3f(round((Renderer::getScreenWidth() - cache->metrics.size.x()) / 2.0f),
    round(Renderer::getScreenHeight() * 0.835f), 0.0f));
    Renderer::setMatrix(trans);
    font->renderTextCache(cache);
    delete cache;

    Renderer::swapBuffers();
}

No idea. My guess is it's down to a driver quirk.


Secrets for Virtual Machines

Issue type
[x] Feature request
[ ] Bug report
[ ] Documentation

Environment

Python version:  2.7.12
NetBox version:  2.2.1

Description
The current VM model does not support Secrets to be associated with VM's.
From an administrative standpoint a VM is no different from a Physical Server (except the missing HW of cause) so it would be highly desirable  to also save Credentials and Secrets with the VM Object.
This might be considered a duplicate of #1503 though i would say that secrets are rather more essential on VM's as they are on additional objects.

I have the same needs on my side, the virtualization handling within netbox is a great feature but the secrets for VMs are mandatory for us.
Regards

Instead of implementing a dedicated security storage for netbox, probably adding integration to store secrets in hashicorp vault (https://vaultproject.io) would be a good solution.

@kasimon the same was suggested already in #1503 so maybe you can open a separate Feature request this is more for which objects secrets are needed than how they are stored backend wise.

@martink2 thank your for the pointer.

This is a duplicate of #1495, which was folded into #1503.


Support for Sonar 6+ and UI changes

Fix for https://github.com/capitalone/Hygieia/issues/1311.
Changes:

Took changes suggested from the discussion thread.
Added tests
UI changes - since sonar 5, rules compliance was deprecated. Instead a "quality gate" was introduced. Made UI change to display quality gate when available

Screen shot:

This is working , thanks

We are using sonarqube 7.1 version.  We installed hygieia and tries to get the metrics on hygieia dashboard. But code metrics is just fetching the lines of code (code coverage info) . There is no other information available. Please suggest me what could be the reason for this issue? Is hygieia support for sonarqube version 7.1?


[WIP] Ignore forwards

It's annoying.

Aw, GitHub doesn't mark this as a draft. Anyway after further discussion, forwards should not be ignored in private.

To make a PR draft you have to select that option when making the PR with the dropdown next to the "create" button.

The problem is "when making the PR"

Closing because #13 will break this.


Any Updated Version?

Is this version camptiable with angular 5 or do we have any updated version for angular 5 ?

Working fine for me with Ionic 3.9.2 and Cordova 5.0.1


Executing 'dbt docs generate' when the 'where' clause has different combinations of schemas > produces a permission error

Expected behavior
When we execute dbt docs generate on sources that are located in different schemas - we should be able to access them from the different schemas with no permission issue.
Actual behavior
Filing this on behalf of the dbt team - for a customer who is reporting of the error.
To add more context, customer has their datalake in AWS and they use a Trino server to connect to the S3 buckets with the hive connector(glue) for reading and the glacier connector (also glue) for writing.
Executing dbt docs generate on sources located in different schemas, produces an error that seems to suggest that we are not allowed to access the tables.
However, when we run dbt docs generate separately based on the sources from the same schema - everything works as expected.
Steps To Reproduce
in dbt Cloud IDE

Run dbt docs generate on sources that are all in 1 schema -> there should be no error
Run dbt docs generate on sources that are in more than 1 schema -> the error will show up
Run dbt docs generate just on that individual source that was added in second step -> there should be no error

Looking into the logs, we can see the difference is in the where clause of the SQL statement that is being sent to Trino.
Example:
First scenario - I run it leaving only references to dbt_foo:
select
        table_catalog as "table_database",
        table_schema as "table_schema",
        table_name as "table_name",
        table_type as "table_type",
        null as "table_owner"
    from "awsdatacatalog".INFORMATION_SCHEMA.tables
            where
        table_schema != 'information_schema'
        and
        (
                    (
                        table_schema = 'dbt_foo'
                        and table_name = 'table_1'
                    )
                 or
                    (
                        table_schema = 'dbt_foo'
                        and table_name = 'table_2'
                    )
                 or
                    (
                        table_schema = 'dbt_foo'
                        and table_name = 'table_3'
                    )
                 or
                    (
                        table_schema = 'dbt_foo'
                        and table_name = 'table_4'
                    )
                )
limit 100;

The query runs without a problem.
Second scenario - if we include just one mention to a different schema (dbt_bar, table_5) the error appears:
select
        table_catalog as "table_database",
        table_schema as "table_schema",
        table_name as "table_name",
        table_type as "table_type",
        null as "table_owner"
    from "awsdatacatalog".INFORMATION_SCHEMA.tables
            where
        table_schema != 'information_schema'
        and
        (
                    (
                        table_schema = 'dbt_foo'
                        and table_name = 'table_1'
                    )
                 or
                    (
                        table_schema = 'dbt_foo'
                        and table_name = 'table_2'
                    )
                 or
                    (
                        table_schema = 'dbt_bar'
                        and table_name = 'table_5'
                    )
                 or
                    (
                        table_schema = 'dbt_foo'
                        and table_name = 'table_3'
                    )
                 or
                    (
                        table_schema = 'dbt_foo'
                        and table_name = 'table_4'
                    )
                )
limit 100;

Error message
[16777216] Query failed (#20240409_040702_00007_egzve): Error listing tables for catalog awsdatacatalog: User: arn:aws:sts::686806083451:assumed-role/oftcloudcheck_quality_role/i-0d805c3bcb8fd3aa3 is not authorized to perform: glue:GetTable on resource: arn:aws:glue:us-east-1:419887539293:catalog because no resource-based policy allows the glue:GetTable action (Service: AWSGlue; Status Code: 400; Error Code: AccessDeniedException; Request ID: 240601db-f2a4-489b-951f-a9ae4ecc8321; Proxy: null) com.amazonaws.services.glue.model.AccessDeniedException: User: arn:aws:sts::686806083451:assumed-role/oftcloudcheck_quality_role/i-0d805c3bcb8fd3aa3 is not authorized to perform: glue:GetTable on resource: arn:aws:glue:us-east-1:419887539293:catalog because no resource-based policy allows the glue:GetTable action (Service: AWSGlue; Status Code: 400; Error Code: AccessDeniedException; Request ID: 240601db-f2a4-489b-951f-a9ae4ecc8321; Proxy: null)

Last scenario - I query the added mention specifically to dbt_bar the query runs OK:
select
        table_catalog as "table_database",
        table_schema as "table_schema",
        table_name as "table_name",
        table_type as "table_type",
        null as "table_owner"
    from "awsdatacatalog".INFORMATION_SCHEMA.tables
            where
        table_schema != 'information_schema'
        and
        (
                    (
                        table_schema = 'dbt_bar'
                        and table_name = 'table_5'

                )
          )
limit 100;

If it was indeed a permission error, querying to dbt_bar would produce the same error.
We tested querying both schemas with a union:
select
        table_catalog as "table_database",
        table_schema as "table_schema",
        table_name as "table_name",
        table_type as "table_type",
        null as "table_owner"
    from "awsdatacatalog".INFORMATION_SCHEMA.tables
            where
        table_schema != 'information_schema'
        and
        (
                    (
                        table_schema = 'dbt_foo'
                        and table_name = 'table_1'
                    )
                 or
                    (
                        table_schema = 'dbt_foo'
                        and table_name = 'table_2'
                    )
                 or

                    (
                        table_schema = 'dbt_foo'
                        and table_name = 'table_3'
                    )
                 or
                    (
                        table_schema = 'dbt_foo'
                        and table_name = 'table_4'
                    )
                )
UNION

select
        table_catalog as "table_database",
        table_schema as "table_schema",
        table_name as "table_name",
        table_type as "table_type",
        null as "table_owner"
    from "awsdatacatalog".INFORMATION_SCHEMA.tables
            where
        table_schema != 'information_schema'
        and
        (
                    (
                        table_schema = 'dbt_bar'
                        and table_name = 'table_5'

                )
         )
limit 100;

This worked as expected.
Log output/Screenshots
No response
Operating System
Ubuntu 22.04.3 LTS
dbt version
1.7
Trino Server version
441
Python version
Python 3.10.12
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

could you provide exact dbt-trino version that you use?

Hello @damian3031
I send you the output of the dbt debug command:
16:17:13 Running with dbt=1.7.13
16:17:13 Registered adapter: trino=1.7.1
16:17:15 Found 26 models, 9 analyses, 8 seeds, 16 sources, 0 exposures, 0 metrics, 421 macros, 0 groups, 0 semantic models
16:17:15 Concurrency: 6 threads (target='prod')
16:17:16 Building catalog
16:17:18 Encountered an error while generating catalog: Database Error   TrinoExternalError(type=EXTERNAL, name=HIVE_METASTORE_ERROR, message="Error listing table columns for catalog awsdatacatalog: User: arn:aws:sts::user1 is not authorized to perform: glue:GetTable on resource: arn:aws:glue:us-east-1:1:catalog because no resource-based policy allows the glue:GetTable action (Service: AWSGlue; Status Code: 400; Error Code: AccessDeniedException; Request ID: 1; Proxy: null)", query_id=1_mpbuw)
16:17:18 dbt encountered 1 failure while writing the catalog
Let me know if you need anything else.

Circling back here.  @jesusarroyoo, this does not seem like a dbt specific issue.  Could you please open an issue in https://github.com/trinodb/trino/issues?


 This unifies our engine list commands and functions.
I was worrided we had listCvars and listCmd but imagelist and shaderlist, so we no also have listImages and listShaders, which also greatly improves command completion when looking for “what do we can list”? This also totally removes the extra useless mental load of thinking about “does name of the command I need start or end with list”?
I also unified the related functions.
For example we had R_InitVBOs(), R_ShutdownVBOs(), R_InitFBOs(), and R_ShutdownFBOs() but R_VBOList_f() and R_FBOList_f(), we now have R_ListVBOs_f() and R_ListFBOs_f() which is more consistent with other function names.
Same for BindListCmd() which is now named ListBindsCmd() which is more consistent with existing BindCmd() and EditBindCmd, basically following the same verbObject naming scheme.

About unifying, I wonder if we can rename listCvars to listCVars. This is pure bikeshedding but if we do it, it's time to.

LGTM


Some challenges have failed / SSL routines:SSL_CTX_use_certificate:ee key too small / nginx 1.19

I could not get the script to work with NGINX 1.19.1
Always received an error like this:

Requesting Let's Encrypt certificate for mydomain.tld ...
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for mydomain.tld
Using the webroot path /var/www/certbot for all unmatched domains.
Waiting for verification...
Challenge failed for domain mydomain.tld
http-01 challenge for mydomain.tld
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:

The following errors were reported by the server:
Domain: mydomain.tld
Type:   connection
Detail: Fetching
http://mydomain.tld/.well-known/acme-challenge/randomstringXKHJKAHKHJ:
Connection refused
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you're using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.

Reloading nginx ...
ERROR: No container found for nginx_1

So I checked the NGINX Error Log and found this

ERROR: error:140AB18F:SSL routines:SSL_CTX_use_certificate:ee key too small

The Solution for me was to enlarge the "dummy" key, therefore I changed the line:

openssl req -x509 -nodes -newkey rsa:1024 -days 1\

to this

openssl req -x509 -nodes -newkey rsa:4096 -days 1\

Maybe this will also Help someone else 👋

Had the same problem. First thought was that DNS isn't quite updated yet (but I got an other error before this one). Thanks for the solution. It worked for me.

Oh boy, thanks!

In case this helps anyone passing through -- I fixed this bug by adding the AAAA DNS record (IPv6) and editing the docker-compose commands inside init-letsencrypt.sh to use sudo. Apparently, nginx had been running into issues accessing the contents within the ssl cert file.

In case this helps anyone passing through -- I fixed this bug by adding the AAAA DNS record (IPv6) and editing the docker-compose commands inside init-letsencrypt.sh to use sudo. Apparently, nginx had been running into issues accessing the contents within the ssl cert file.

It is rarely a good idea to have sudo inside scripts. Instead, remove the sudo from the script and run the script itself with sudo (like stated in the guidelines)

Love it, this should be merged!

Love it, this should be merged!


Support feder for IVFFlat, HNSW and DiskANN

Signed-off-by: yudong.cai<EMAIL_ADDRESS>

/lgtm


Process all arguments to debug call instead of only the first.

This would fix #132.

Can't debug detect if formatting is not being used and then print out all the arguments and when formatting is use can't debug print out all the leftover arguments ?


fix(cli): unable to access match struct fields in rust

What kind of change does this PR introduce? (check at least one)

[x] Bugfix
[ ] Feature
[ ] New Binding Issue #___
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes. Issue #___
[x] No

The PR fulfills these requirements:

[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix: #xxx[,#xxx], where "xxx" is the issue number)
[ ] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:
The Matches, SubcommandMatches and ArgData struct fields were previously private and not accessible, meaning the data returned from get_matches was useless. This marks all the relevant fields as public.
Example:
use tauri::cli::get_matches;

fn main() {
  let matches = get_matches();
  if let Some(matches) = matches {
    println!("{:?}", matches.args) // currently causes compilation error as field is private
  }
}

Thanks for catching this :)


[Cogs Face] Align with latest Face API v1.12

Align with latest upgraded Face API (global rollout starts from Apr. 22nd, ends by Apr. 26th).
Main change is that we have upgraded head pose algorithm model which can support the previously reserved field of pitch value. All other changes are only description related.
Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[x] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Automation for azure-sdk-for-python

Automation for azure-sdk-for-js

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-java

Automation for azure-sdk-for-go

Automation for azure-sdk-for-net
A PR has been created for you:
https://github.com/azure/azure-sdk-for-net/pull/5881
.NET SDK Commits:
https://github.com/adxsdknet/azure-sdk-for-net/pull/5881/commits/1d8536477c8a2e7afca724a7a9a83a0d05b95993

Can one of the admins verify this patch?

@praries880 could you help with this PR? Thanks.


Release a 7.0-alpha-1 version

From #1743

@juherr When it's expected to see new version available with all of the changes and fixes described in CHANGES.txt file? There are quite a lot of good fixes and features which we're waiting for. Thanks in advance.

@slipwalker It's already the case: https://search.maven.org/artifact/org.testng/testng/7.0.0-beta1/jar

@juherr but I still can reproduce GITHUB-1709 in 7.0.0-beta1 that is marked as fixed in CHANGES.txt file. That's why I was wondering about new release cause it looks like that fix is not there (and might be some others too).

@juherr Any thoughts on that inconsistency I mentioned above? I would really appreciate to get that fix in new release.

@slipwalker I reopen the issue

@slipwalker - Do you have a sample that can be used to recreate this issue ?


Add 'Exercise' description to Developer Guide implementation

Codecov Report
Base: 70.77% // Head: 70.77% // No change to project coverage :thumbsup:

Coverage data is based on head (b76a681) compared to base (9f2966b).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #98   +/-   ##
=========================================
  Coverage     70.77%   70.77%
  Complexity      391      391
=========================================
  Files            71       71
  Lines          1249     1249
  Branches        123      123
=========================================
  Hits            884      884
  Misses          324      324
  Partials         41       41

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

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


docs: Add the badges

Issue #, if available:
Description of changes:
Add more badges to the Readme

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[False positive] Microsoft Defender Antivirus Flagging ParsecVDisplay as Trojan:Script/Wacatac.B!ml

I have observed that Microsoft Defender Antivirus is flagging ParsecVDisplay v0.45-a as Trojan:Script/Wacatac.B!ml and has isolated related files. Below are the detailed information:
Severity: Severe
Detected: Trojan:Script/Wacatac.B!ml
Status: Isolated
Isolated file location: Restricted area, won't harm the device
Date: March 30, 2024, 10:00 AM
Details: According to the report, the program might contain malicious code possibly intended for executing commands from attackers.
Affected Items:
File: c:\program files\parsecvdisplay\parsecvdisplay.exe
File: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\ParsecVDisplay.lnk
File: C:\Users\Public\Desktop\ParsecVDisplay.lnk

That's average of open sourced software, please see the note when download.

Note that the application is not signed, so it could be flagged as malware.

You should add the program to Exclusive. If dont trust it's safe, please build the app from source.

That's average of open sourced software, please see the note when download.

Note that the application is not signed, so it could be flagged as malware.

You should add the program to Exclusive. If dont trust it's safe, please build the app from source.

I'm sorry, I missed this information while downloading the software.
I trust that this software is safe, and it would be even better if the false positive virus detection issue could be resolved.


UniversalDate.js missing DatePicker not working

OpenUI5 version: current OpenUI5 using https://openui5.hana.ondemand.com/resources/sap-ui-core.js
Browser/version (+device/version): Desktop Firefox 68.5.0esr
Any other tested browsers/devices(OK/FAIL): Chrome fails as well
URL (minimal example if possible): not possible
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:

Just using DatePicker without any specials and open calendersearch

What is the expected result?
The calender opens and you can pick a date
What happens instead?
Error in console:
2020-03-27 10:25:35.522000 Loading of data failed: U.getInstance@https://openui5.hana.ondemand.com/resources/sap/ui/core/date/UniversalDate.js:6:863
Any other information? (attach screenshot if possible)
If i am using the version 1.73.0 no error happens and it works as expected

Hello @Hunzlifuz,
can you send an example in JSBin or a link to an example in https://openui5.hana.ondemand.com/entity/sap.m.DatePicker/sample/sap.m.sample.DatePicker
as I am unable to reproduce such behavior from DatePicker
Thanks and Kind Regards,
Todor

Hello @Todor-ads ,
sorry for the inconvenience but it seems to work again.
Thanks and Regards,
Mathias

Hello @Hunzlifuz,
in which case I will close the issue
Thanks and Kind Regards,
Todor


Reworked table formatting to handle indented tables

I meant to reduce the complexity of table formatting a lot by using
clever regex - I did not succeed fully here, but there are some
improvements from my point of view:

additional tests
indented tables are working (fixes #107)
dash-lines (---) are not recognised as tables anymore by mistake
no additional loop for the cell lengths

Brilliant!

I did not succeed fully here

Is it still working in progress?

No this is fully done. I just did not fulfill my plans on having easier code. This turned out to be a very complex problem (as you might know ;-) ) and thus the code is still quite complex.
Code is done and working as expected, but I think it's not very beautiful yet.

Yu, thanks for all the reviews - I went through the code again with your proposals and questions and mind and was able to rework the field-regexp a lot, making it much easier and solving the corner case you mentioned.

So - I've added an option to change the indentation behavior. markdown.extension.tableFormatter.normalizeIndentation defaults to false, which means per default it takes the indentation of the first line and uses this for the whole table.
Setting it to true will "round" the indentation up to the closest tab stop instead.

I will merge your code but am not going to announce the new setting to users now (because I guess few people need this 😅).

the messed up pull-request

It doesn't matter