gapi fails to load when use locally (not on a webserver)

From Matthew.Schott on August 10, 2012 08:49:13
Load the code in the linked fiddle as a local webpage (ie file:///home/test.html).
Fiddle: http://jsfiddle.net/glitchtechscience/LsAwT/2/ What is the expected output? What do you see instead? I should see two alerts. I do see two on a web server, but when run locally (html5 app), it fails with the message "Unable to post message to file://. Recipient has origin null.". What version of the product are you using? On what operating system? Latest. Chromium 18 on Ubuntu 12.04.
Original issue: http://code.google.com/p/google-api-javascript-client/issues/detail?id=46

Still can't make requests from file:// origin, its been a year waiting for this enhancement!

I wonder why don't they deny the http:// and https:// also. Enabling anything defeats the security (that is why file:// was enchancendly denied in the first place).

Any updates on this issue ? Can't make gapi works on my ionic app...

GAPI is currently only supported for use in web applications.
Support for file://... origins is difficult because browsers typically restrict the web APIs available to those origins, including not allowing these origins to be used or sent in postMessage and also not sending them in CORS requests. In both cases they are typically converted to "null" origins, but null origins don't allow the API server the client library is talking to to identify the calling web app.
In your file are you able to directly access the API in question using CORS? If you try this please follow up to let us know whether it worked in your application.

Anything new on this? I was able to authenticate my ionic app using the Drive.authenticate method here. But I get the 403 errors from gapi.client.drive.files.list(); as well as;
Invalid 'X-Frame-Options' header encountered when loading 'https://docs.google.com/picker?protocol=gadgets&origin=http%3A%2F%2Flocalho…%3Atrue}))&rpctoken=e2x1eop3h1rr&rpcService=2qeo0ns6gu13&thirdParty=true': 'ALLOW-FROM http://localhost' is not a recognized directive. The header will be ignored.
and
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://docs.google.com') does not match the recipient window's origin ('http://localhost').
when I run the Drive.showPicker() method also here.

This IFRAME appears to be part of Google Docs picker API, and you'll need to seek assistance in another forum appropriate to that component - I don't know how it is supposed to work.
Also, is this in Chrome? If so, be aware that X-Frame-Options: ALLOW-FROM is documented as not working in Chrome: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options#Browser_compatibility

same error here can't use on local file

Usage of gapi.client from non-https:, non-http: web origins is not supported. As stated in https://developers.google.com/api-client-library/javascript/start/start-js#supported-environments :

It only works within HTML documents with a  element served using the https (preferred) and http protocols.

@bsittler I have a same error when testing from localhost:

Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided (‘https://docs.google.com’) does not match the recipient window’s origin (‘http://localhost:48346’).

Not sure how to solve this?

@radenkozec please start a separate entry in the issue tracker and provide more complete details -- although symptoms may be similar, the API not working on non-http:, non-https: URLs likely has distinct causes from the behavior you are seeing on an http: URL.

Is there any conclusion on this ? about how to make it run locally ?

It should work fine with a local web server using https: or http: URIs. Other URI schemes are not supported at present.
It cannot work correctly served from a file: URI due to lack of consistent and complete cross-browser support for such non-web origins. For instance, file: URIs do not have a consistent definition of web origin, do not have access to needed storage, are not accurately represented in cross-origin communications (e.g. CORS, postMessage, Origin:, Referer:), do not have consistently isolated and secure storage ownership or cookies, do not have any consistent cross-browser way to defend themselves from other malicious content downloaded to the same computer, don't have any way to ensure a future instance of the same URI actually represents the same application (even on the same computer) due to e.g. temporary download file naming and varying apparent filesystem layouts per-app (in the case of WebView and similar embedded-HTML rendering modes), and in general do not consistently function correctly.

FYI - this seems to now be an issue even in the web.
You can even see the issue in https://developers.google.com/+/web/share/
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://accounts.google.com') does not match the recipient window's origin ('https://apis.google.com').
Related:

https://stackoverflow.com/questions/48624138/google-share-button-provokes-failed-to-execute-postmessage-on-domwindow.
https://productforums.google.com/forum/#!topic/chrome/G81a8tcSg1w

@mayrop thanks for the report, not sure what started throwing this error, but it can be ignored.

@mayrop @TMSCH  I'm having a similar problem (Failed to execute 'postMessage'....  I'm using google's "Save to Drive" widget button using simple http protocol server.   I wasted nearly a day trying to determine where this was coming and how to get rid of it.  Although, functional, it doesn't seem right to introduce these messages as an error.  I saw a few examples of other websites using this having same problem as well.

Any solution to Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://docs.google.com') does not match the recipient window's origin ('http://localhost:3000').

Hi, does anyone has solution to it?

I am still struggling with this. Sorry for spamming, but did anybody come up with something?

Tried testing a simple cloud API, by running index.html from local machine. Ran into this problem. May be, i will have to build a web app and upload to heroku or somewhere else, to test this ...
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('file://') does not match the recipient window's origin ('null').

I am developing an electron application with gapi, after the build executable works on file protocol is there any solution exists for this situation?

So if I want to use the Google APIs from a local HTML file, I'd have to build all the web requests myself instead of using this library? This restriction is so annoying.

2024 and this is still a thing!


[Update Request]: CoderBag.QuickCPUx64 version <IP_ADDRESS>

What type of update are you requesting?
A new version of an existing package
Current Package Identifier
CoderBag.QuickCPUx64
Package Version
<IP_ADDRESS>
Please describe the changes you would like to see
There is a new release v<IP_ADDRESS> available, which releases at Feb 23, 2024.

Properties
Link

Download page
https://coderbag.com/product/quickcpu

Installer
https://coderbag.com/assets/downloads/cpm/currentversion/QuickCpuSetup64.zip

Release notes
https://coderbag.com/product/quickcpu/releasenotes/version/<IP_ADDRESS>

[!Warning]
This package releases their latest version with a vanity URL. All outdated version will be moved to a version-related URL.
If https://github.com/microsoft/winget-pkgs/labels/Error-Hash-Mismatch was detected, it's not contributors' or volunteers' fault. Just open an issue and request for updates.

Related issue #152049


feat: option to install of kubevip cloud provider

Description
Provides option to enable/disable the deployment of the kube-vip cloud provider manifests for service load balancing allowing deployment of kube-vip AH only if one wants to use another service load balancer such as metallb.
Deployment of kube-vip cloud provider manifests is enabled by default to avoid breaking changes.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Small minor change not affecting the Ansible Role code (Github Actions Workflow, Documentation etc.)

How Has This Been Tested?
Deployment tested with new var rke2_kubevip_cloud_provider_enable set false.

lgtm. thanks


Adding Rivetz (RVT) to the popular token list.

As listed on EtherScan.
https://etherscan.io/address/0x3d1BA9be9f66B8ee101911bC36D3fB562eaC2244

:beers:


⚠ Anthelion has degraded performance

In 919a3d5, Anthelion ($ATH) experienced degraded performance:

HTTP code: 200
Response time: 2386 ms

Resolved: Anthelion performance has improved in d79a706 after 411 days, 13 hours, 54 minutes.


[function] convert_interval

there is a function request of to_milliseconds in trino.
link: https://trino.io/docs/current/functions/datetime.html#to_milliseconds
this function is a unique function of trino.  it is not found in other dbms like snowflake, databricks, bigquery, clickhouse.
it's functionality is to return a millisecond value from an interval.
For example:
select to_milliseconds(interval '1' second);

 _col0
-------
  1000

In StarRocks, we don't have a similar function that returns an int value from an interval input. For trino's compatibility, we need to support it natively.  And also, for more scenarios, this function could be more flexible. So here is a proposal:
description
Returns the day-to-second interval as given unit.
syntax
convert_interval(interval N type, to_type)
parameters

INTERVAL N type: the time granularity, for example, interval 5 second.

N is the length of time interval. It must be an INT value.
type is the unit, which can be DAY, HOUR, MINUTE, SECOND,  MILLISECOND, MICROSECOND.

to_type: unit that user want to convert to, which can be  DAY, HOUR, MINUTE, SECOND, MILLISECOND, MICROSECOND.

output
bigint
notice

if the to_type is bigger than the interval type. For example, convert_interval( interval 1 second, day);, then it returns 0.

examples
select convert_interval(interval 10 day, millisecond);

returns:
864000000

select convert_interval(interval 10 day, day);

returns:
10

@XinzhuangL Hi can you reply here so I can assign this issue to you

Hi @wangsimo0

Hi @wangsimo0  I have implemented the basic functionality, but I now have a few questions:

The conversion process may result in a value exceeding the maximum value of LONG, Now  I'm going to set it to a maximum of xxx, like TimeUnit.
I added MICROSECOND and MILLISECOND to *.g4,  if there are any unexpected effects?
Do I need to add a unit test?

#35420

1


How to confirm whether the QR code has been scanned?

Hi,
This is a great package! Amazing.
I just have one question.
How can I confirm whether the QR code has been scanned?
In case that the user didn't scan the QR, but the server side has registered the secret key, then both side(server side and the MFA APP) couldn't sync the key info. Then the MFA login would fail.
How to make the server side notified that the QR has been scanned and the key has registered on the MFA APP?
Many thanks.

Just to be clear, there is no actual synchronization that occurs between an MFA APP and the server itself. With that in mind, you can give the user a field to enter an MFA APP-generated code and then you can validate their input on the server. If the user-supplied code is valid, enable MFA for the account.

Just to be clear, there is no actual synchronization that occurs between an MFA APP and the server itself. With that in mind, you can give the user a field to enter an MFA APP-generated code and then you can validate their input on the server. If the user-supplied code is valid, enable MFA for the account.

@jarretttaylor
Thank you for your reply.
But please consider this scenario:
The signed-in user called some REST API on the server side to trigger the process for enabling the MFA, then the server side generated the key for that user and sent the key back in some QR format. Meanwhile, the server side stored the key to prepare and waited for the user's next operation.
Then the user checked the QR but because of no enough knowledge, he didn't know how to do and gave up proceeding. But the server side didn't know whether the user scanned the QR if the user didn't submit anything. And the key would be kept being stored on the server side.
Then the user couldn't login the next time, because the server checked and found there is a key stored and marked the user as MFA-enabled.
In this case, the notification or some confirmation is required.

@jarretttaylor
Thank you for your reply.
But please consider this scenario:
The signed-in user called some REST API on the server side to trigger the process for enabling the MFA, then the server side generated the key for that user and sent the key back in some QR format. Meanwhile, the server side stored the key to prepare and waited for the user's next operation.
Then the user checked the QR but because of no enough knowledge, he didn't know how to do and gave up proceeding. But the server side didn't know whether the user scanned the QR if the user didn't submit anything. And the key would be kept being stored on the server side.
Then the user couldn't login the next time, because the server checked and found there is a key stored and marked the user as MFA-enabled.
In this case, the notification or some confirmation is required.

Understood. Merely storing the key on the server side and using it as a flag to know that MFA is enabled is insufficient. You need a secondary flag that indicates that MFA is actually enabled for the account. You would not enable the second flag until the user completes the enrollment verification step.

Understood. Merely storing the key on the server side and using it as a flag to know that MFA is enabled is insufficient. You need a secondary flag that indicates that MFA is actually enabled for the account. You would not enable the second flag until the user completes the enrollment verification step.

@jarretttaylor
Good idea! Understood.
Many thanks.

@jarretttaylor
Good idea! Understood.
Many thanks.

Thanks for the nice words and glad the package is proving useful for you @fintechee!
As @jarretttaylor has said, there is no communication between the MFA device and the server - for your particular scenario, what most site's do is ask the user to enter 2 codes after scanning in the QR code so that the server knows that the setup worked correctly. This would mean generating the secret, putting the account into a "setting up MFA state", and only fully enabling once the user has entered in the two codes as a confirmation.

Thanks for the nice words and glad the package is proving useful for you @fintechee!
As @jarretttaylor has said, there is no communication between the MFA device and the server - for your particular scenario, what most site's do is ask the user to enter 2 codes after scanning in the QR code so that the server knows that the setup worked correctly. This would mean generating the secret, putting the account into a "setting up MFA state", and only fully enabling once the user has entered in the two codes as a confirmation.

@samdjstevens
Many thanks. Understood.
Again, this is a great package.

@samdjstevens
Many thanks. Understood.
Again, this is a great package.


HDR not supported on D457

Required Info

Camera Model
D457

Firmware Version
<IP_ADDRESS>

Operating System & Version
Ubuntu 20.04

Kernel Version (Linux Only)
5.10.104 / Jetpack 5.0.2

Platform
NVIDIA Jetson Orin

SDK Version
2.54.1

Language
C++

Issue Description
Version 2.54.1 of the SDK does not support HDR for the D457.  Is this expected to be supported in the next release?
Output from the HDR example
./rs-hdr
Firmware and/or SDK versions must be updated for the HDR feature to be supported.

Verified that the camera is on the latest firmware
# rs-enumerate-devices -S
Device Name                   Serial Number       Firmware Version
Intel RealSense D457<PHONE_NUMBER>83        <IP_ADDRESS>
Device info:
    Name                          : 	Intel RealSense D457
    Serial Number                 :<PHONE_NUMBER>83
    Firmware Version              : 	<IP_ADDRESS>
    Recommended Firmware Version  : 	<IP_ADDRESS>

Hi @dmellosanjay  I believe that you are referring to the example below.
https://github.com/IntelRealSense/librealsense/tree/master/examples/hdr
I tested HDR with D457 in the 2.54.1 version of the RealSense Viewer with firmware <IP_ADDRESS> and was able to enable HDR without problems.  This was on a USB connection though as I do not have a GMSL setup.
The response of rs-hdr about updating SDK and firmware does not sound correct, as the HDR white-paper document states that the minimum requirements for the HDR feature are firmware <IP_ADDRESS> or newer and SDK 2.39.0 or newer.
You could try editing out the 'else' check in rs-hdr that generates this message and stops the program.
https://github.com/IntelRealSense/librealsense/blob/master/examples/hdr/rs-hdr.cpp#L51C4-L55

@MartyG-RealSense The D457-specific checks aren't just in this file though. Any HDR-related configuration on the D457 is not supported (even disabling HDR is not allowed). Also, the camera enumerates as a D455 when it's in USB mode which explains why it works in USB but not GMSL.
Anyway, here's the output after commenting out the else block in the file you mentioned.
# ./rs-hdr
RealSense error calling rs2_set_option(options:0xaaaad8719a20, option:Sequence Name, value:0):
    object doesn't support option #77

I have been informed that the HDR function (rs-hdr) is not supported when the D457 is in MIPI mode instead of the D455 USB mode, as indicated in the code highlighted in the SDK's test-hdr.cpp file at the link below.
https://github.com/IntelRealSense/librealsense/blob/master/unit-tests/live/d400/test-hdr.cpp#L8

@MartyG-RealSense Thanks. Will it be supported on the D457 in a release soon? This is an important feature for our use-case.

Hi @dmellosanjay  My understanding is that one of my Intel RealSense colleagues followed up with you about the question of HDR support for D457.  If they did and you are satisfied, can this issue now be closed?  Thanks!

@MartyG-RealSense Yes, it can be closed, thanks.

Great, thanks very much for the update!

Hi again @dmellosanjay   In the latest 2.54.2 release of the SDK, rs-hdr has been bugfixed to include support for D457.  Support for using rs-fw-update to update D457 firmware is also in this release.
https://github.com/IntelRealSense/librealsense/wiki/Release-Notes#release-2542


Bug in context_relevancy _compute_score method

I was debugging the code and found that if llm return "Insufficient Information" then tokenize on llm response is not correct as llm response contains no dot at the end and  comparison literal has dot at the end.
See below screenshot of comparision

Prompt instruction :
instruction="""Please extract relevant sentences from the provided context that is absolutely required answer the following question. If no relevant sentences are found, or if you believe the question cannot be answered from the given context, return the phrase "Insufficient Information".  While extracting candidate sentences you're not allowed to make any changes to sentences from given context.""",

thanks for reporting this! will be improve with #1012


[RFC] Subscribe to Newsletter for RDS

We need to start collecting emails for the Events which we organize to have a greater reach and audience. That is why we need this feature to be added. Do you have any other ideas ?? (Please do suggest)

What fields can we include ?? (Name and  Email  ||  Only Email)
Where should we place this Subscribe to NewsLetter ??
I am thinking of adding it to the landing page just below the Past Events Section.

Please put your thoughts on this with the screenshot where it would be better to place it.
Sample Design :

We can have only an email id for the newsletter and below the past event will look better.

Yes, only e-mail will be better, just below the events section, maybe the font/input-box a bit bigger.

Thanks, @palakgupta2712 and @priyanshk20 for your valuable suggestions.

The final conclusion is we will be keeping only email, and it will be below events on main page.


Small issue plotting exciton contribution along the band structure

Dear all
when one plots the exciton contribution along with the quasi-particle band structure, by doing:
something link
qp   = YamboQPDB.from_db(folder='G3W3')
exc_bands_inter = yexc.interpolate(qp,path,states,lpratio=20,f=None,size=2.0,verbose=True)

if the quasi-particle range is not equivalent to the band range in the BSE,
the projection is wrong.
best
Claudio

Hi Claudio, I copied your post on the active yambopy repo, see it here.
Fulvio


Fixed link command to return a promise

Update to use the promises based API that inquirer uses
As a part of #https://github.com/facebook/react-native/commit/bada25d158e070fd683a10b8ff9cdcb8d2498b14 , a newer version of inquirer was added.
The signature for<EMAIL_ADDRESS>used to be inquirer.prompt(questions, callback). This has changed to a promised based signature. However the link commands in this line has not been updated to pick up this change.
This PR fixes that.

@facebook-github-bot shipit

As far as I can tell, you already fixed this a month ago: https://github.com/facebook/react-native/blob/master/local-cli/link/pollParams.js

Hi @javache, the fix has been applied for RN 0.46.x, but currently it is absent in RN 0.47.0, please take a look at https://github.com/facebook/react-native/blob/v0.47.0/local-cli/link/pollParams.js#L8

Fixing it now.

Question of a different subject.   Is rn-link going to have more user questions built in?  I didn't notice when this feature was added officially.   Also, interested in if we can circumvent the questions/flag as answers?

Hi, do you have a timeline for releasing this in a stable version?

It's already released.
@Gant - not that I am aware of. Theres interface for asking questions (we
might want to document a bit?) but there's no plan to include any builtins.
On Wed, 2 Aug 2017 at 20:13 Guillaume Perrot<EMAIL_ADDRESS>wrote:

Hi, do you have a timeline for releasing this in a stable version?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/facebook/react-native/pull/15321#issuecomment-319753588,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWcxtHiR4yRY4MDvxvVZ1k-rj7Thhmuks5sULxCgaJpZM4Oqafk
.

No probs! Let's follow up on Slack and come back here once we got a PR :)
On Thu, 3 Aug 2017 at 17:43 Gant Laborde<EMAIL_ADDRESS>wrote:

@grabbou https://github.com/grabbou - happy to help with documenting.
Just point me in the right direction on what you want documented and the
code, and I'll PR it up!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/facebook/react-native/pull/15321#issuecomment-320007663,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWcxtWCJKyLH_w2A6-L87W2d7EeYIJOks5sUeqggaJpZM4Oqafk
.


FGA not choosing servant after game update.

Preparation

[X] I tested the latest release
[X] I looked at other issues (even the closed ones)
[X] I read the Troubleshooting Guide

FGO server
CN
FGA build number
1741
Describe the bug
Fgo cn update changed something? ig... it isn't detecting ce or cards? dunno which, i just wanted to farm QP...
Video
https://youtu.be/yZwFqhhVgzE
Device model
MEMU
Android version
7
Screen size
No response
RAM
No response

forgot to say fga was configured to choose Altria Caster with Bella Lisa.

That's Append Skills. I'll fix it today or tomorrow.

i think you might already know this but... reload/reset supp list isn't working tho... it's not a big problem on the first run but if FGA don't find the servant needed it will missclick the button and then select a random servant and stop till you stop and start fga setup again...

Thanks for the info, they moved the update list button to the same position as in JP. In NA it's still in the old location.
Please test build 1742, which will be available in a few minutes.

Still doesn't work.
https://user-images.githubusercontent.com/84433555/181424465-057049cc-3588-42d6-b11e-681e3a433a8f.mp4

Thanks for the info, they moved the update list button to the same position as in JP. In NA it's still in the old location.
Please test build 1742, which will be available in a few minutes.

Still doesn't work. https://user-images.githubusercontent.com/84433555/181424465-057049cc-3588-42d6-b11e-681e3a433a8f.mp4

Thanks for the info, they moved the update list button to the same position as in JP. In NA it's still in the old location.
Please test build 1742, which will be available in a few minutes.

Just tested and it's working... it's just not detecting cards of quick and burster type.

dunno if they changed something with the cards...

Try build 1743. Seems like they change the buster/arts/quick font once a year.

Well... problems happened...
https://youtu.be/shnzv3C9fKQ
i saw that also happening with Musashi Berserker Arts cards so i thought something happened with Arts with Weak but it doesn't look like that actually happened...

The arts card also changed slightly. The similarity between the old and new image is somewhere around 80 %, which is the default image detection limit.
If it's slightly above 80 %, it works, if it's slightly below, it doesn't.
Try 1744, which is building right now.

It's Working, should i close the issue?

1744Still can't work
---Original---
From: @.>
Date: Fri, Jul 29, 2022 19:45 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [Fate-Grand-Automata/FGA] FGA not choosing servant after gameupdate. (Issue #1258)
The arts card also changed slightly. The similarity between the old and new image is somewhere around 80 %, which is the default image detection limit.
If it's slightly above 80 %, it works, if it's slightly below, it doesn't.
Try 1744, which is building right now.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

@1717231 Your video above is broken. Can you record a new one?

1744Still can't work
…
---Original--- From: @.> Date: Fri, Jul 29, 2022 19:45 PM To: @.>; Cc<EMAIL_ADDRESS>Subject: Re: [Fate-Grand-Automata/FGA] FGA not choosing servant after gameupdate. (Issue #1258) The arts card also changed slightly. The similarity between the old and new image is somewhere around 80 %, which is the default image detection limit. If it's slightly above 80 %, it works, if it's slightly below, it doesn't. Try 1744, which is building right now. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

record with full screen with debugg so they can actually see what is the problem...

There seem to be more problems
https://twitter.com/lanjiahuan1/status/1553039380444356608?s=19
---Original---
From: @.>
Date: Fri, Jul 29, 2022 20:32 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [Fate-Grand-Automata/FGA] FGA not choosing servant after gameupdate. (Issue #1258)
@1717231 Your video above is broken. Can you record a new one?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

There seem to be more problems https://twitter.com/lanjiahuan1/status/1553039380444356608?s=19
…
---Original--- From: @.> Date: Fri, Jul 29, 2022 20:32 PM To: @.>; Cc<EMAIL_ADDRESS>Subject: Re: [Fate-Grand-Automata/FGA] FGA not choosing servant after gameupdate. (Issue #1258) @1717231 Your video above is broken. Can you record a new one? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

try leaving the bottom at bottom left , and record with debug mode(open fga>More Options > advanced >Debug Mode.

Using 1744. Support servant selection still not working for me.

Using 1744. Support servant selection still not working for me.

Record and send a video with Debug mode so they can see which is the problem and how to fix, if you are on cellphone also use record screen.

@1717231 Try the 忽略刘海 (Ignore Notch) option, also turn off 技能确认 (Skill Confirmation) in FGO or turn on 技能确认 in FGA.
And as Kyonyuu said, move the play button to the bottom left.

Thank you. It's working again.
---Original---
From: @.>
Date: Fri, Jul 29, 2022 23:47 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [Fate-Grand-Automata/FGA] FGA not choosing servant after gameupdate. (Issue #1258)
@1717231 Try the 忽略刘海 (Ignore Notch) option, also turn off 技能确认 (Skill Confirmation) in FGO or turn on 技能确认 in FGA.
And as Kyonyuu said, move the play button to the bottom left.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

@1717231 Which phone are you using? I probably have to change some logic related to Ignore Notch.

vivoiQOO5
---Original---
From: @.>
Date: Sat, Jul 30, 2022 00:02 AM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [Fate-Grand-Automata/FGA] FGA not choosing servant after game update. (Issue #1258)
@1717231 Which phone are you using? I probably have to change some logic related to Ignore Notch.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Using 1744. Support servant selection still not working for me.

https://user-images.githubusercontent.com/57269877/181867527-82750701-2d10-47be-9a31-f1c524f9e744.mp4

@rchan3 Try 1745

@rchan3 Try 1745

works now. thanks!


Update simple_memo.rst

Description
example document.elements.filter_by_font("TO:") should read document.elements.filter_by_text_equal("TO:")

absolutely

Hey @bwagner, any chance you could push my requested changes? My comment is marked as resolved, but the diff still looks wrong to me...

I'm sorry @jstockwin, I'd do it in a hearbeat. However, I can't find how to push your changes (which of course make total sense to me).
I'm sorry about this. I can offer to delete this PR and submit a new one including your changes. That at least I'd know how to do.

made a new pull request with the amendments.


Datagrid tooltip component hover issue

Package
Carbon for IBM Products
Description

Create a Datagrid table
Add  tooltip component  next to the header name.
Expected : on hover of the tooltip , the tooltip description should show up
Current behavior : Tooltip hover doesn't show anything

https://github.com/user-attachments/assets/19b69d10-1bda-4086-abb8-77217e2484fe
Component(s) impacted
Datagrid
Browser
No response
@carbon/ibm-products (previously @carbon/ibm-cloud-cognitive) version
"@carbon/ibm-products": "2.40.0",
Suggested Severity
Severity 2 = Aspects of design is broken, and impedes users in a significant way, but there is a way to complete their tasks. Affects major functionality, has a workaround.
Product/offering
NA
CodeSandbox or Stackblitz example
https://codesandbox.io/p/sandbox/datagridfilter-forked-26hqww?file=%2Fsrc%2FExample.js%3A41%2C25
Steps to reproduce the issue (if applicable)
No response
Release date (if applicable)
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate issues

There is one more issue when we have a component rendered as a Header, when we try to resize there is no Ellipsis . Attached video below for reference
https://github.com/user-attachments/assets/e0eb2076-3660-4d1a-9713-1ec738331cf1

This tooltip hover works with autoAlign in Chrome but not on Safari browser

Hi @marinamas, can you try using the autoAlign prop now? We've made some dependency updates which have included @carbon/reacts support for this.

We've been investigating TanStack Table, a third-party, open-source offering, which provides extensive data table capabilities surpassing what our Carbon Datagrid offers. It provides much more flexibility and customization. TanStack Table is headless which means it can easily be added alongside Datagrid component in your product or application. The benefits of more flexibility for product teams and less maintenance for Carbon makes it a win win. Lastly, it is available in multiple frameworks including React and Web Component so it provides an option to non-React product teams.
For these reasons, we have decided to transition from building our own custom table component to using an example-based approach with TanStack Table. Datagrid will still exist in our library for existing teams but we are announcing the deprecation* of the Datagrid component in v2.54.0 release so teams can begin to work through the transition. Details about how to use both Datagrid and TanStack together can be found here.
*Deprecation means that no new features will be added however sev 1 and sev 2 bugs will be supported.


Suppress @-all mentions for muted streams.

Fixes: #1151

Automated message from Dropbox CLA bot
@umairwaheed, it looks like you've already signed the Dropbox CLA. Thanks!

@timabbott please review.

We use message.mentioned in a couple different places in our JS code.  Is it no longer a valid computed property?

@showell, mentioned is still valid, but it is True for both @all and @<user_name>. Now we want to suppress notifications for @all but not for @<user_name> and the mentioned key in flags is True for only @<user_name>.

Ok, I see.  Since flags() is kind of a low-level implementation detail, I think it makes sense to upstream your logic into add_message_metadata, and say something like...
message.mentioned_me_specifically = message.flags.indexOf('mentioned') !== -1;

Can you fix up the comment on line 380 of notifications.js?  (It was written a couple years ago; with your change, we can give a more up to date comment and refer to the github issue that decided the new policy.)

I think it makes sense to upstream your logic into add_message_metadata

Makes sense.

Can you fix up the comment on line 380 of notifications.js?

Sure

Done

merged, thx @umairwaheed!

@showell, shall I close this PR?

Oops, I should have closed this when I merged.  Closing now, thanks for following up on this!


Next Permutation

Please assign me this problem in cpp for hacktoberfest

Please check this :: https://github.com/piyushsharma220699/Hacktoberfest-2021/issues/51
The issue is already assigned to @GuptaTanisha :) Sorry bhai, I'll be closing this issue 👍🏻


Type Integer Maximum constraint validation message is not correct

number:
  type: integer
  minimum: 1
  maximum:<PHONE_NUMBER>
  exclusiveMaximum: true

When number is equal to<PHONE_NUMBER>, I get this validation message:
Keyword validation failed: Value<PHONE_NUMBER> must be less or equal to<PHONE_NUMBER>
Validation is good but the message is wrong, it should be less than<PHONE_NUMBER>
Messages when using exclusiveMaximum true/false should be interchanged.

Hi, when this fix will be available in actual version tag ? thx

Sorry for delay - https://github.com/thephpleague/openapi-psr7-validator/releases/tag/0.16.1


100% RAM and CPU-Load

Hi, i was only able to resolve the problem via kill the process via console. I received following entries in my log. Adapter tried to get the map, but my vacuum has some times lost the wlan-signal because it was running in my basement.
`

host.ioBroker2
2020-05-29 17:46:45.391
warn
instance system.adapter.mihome-vacuum.0 terminated due to SIGABRT

host.ioBroker2
2020-05-29 17:46:45.390
error
Caught by controller[17]: 18: 0x13c5c79  [io.mihome-vacuum.0]

host.ioBroker2
2020-05-29 17:46:45.390
error
Caught by controller[16]: 17: 0xc2eecb  v8::internal::Builtin_JsonStringify(int, unsigned long*,  v8::internal::Isolate*) [io.mihome-vacuum.0]

host.ioBroker2
2020-05-29 17:46:45.390
error
Caught by controller[15]: 16: 0xe252e4  v8::internal::JsonStringify(v8::internal::Isolate*,  v8::internal::Handlev8::internal::Object,  v8::internal::Handlev8::internal::Object, v8::internal::Handle

host.ioBroker2
2020-05-29 17:46:45.390
error
Caught by controller[14]: 15: 0xe2463f  v8::internal::JsonStringifier::Result  v8::internal::JsonStringifier::Serialize_(v8::internal::Handlev8::internal::Object,  bool, v8::internal::Handle<v8

host.ioBroker2
2020-05-29 17:46:45.390
error
Caught by controller[13]: 14: 0xe24936  v8::internal::JsonStringifier::Result  v8::internal::JsonStringifier::Serialize_(v8::internal::Handlev8::internal::Object,  bool, v8::internal::Handle<v8

host.ioBroker2
2020-05-29 17:46:45.389
error
Caught by controller[12]: 13: 0xe20421  v8::internal::JsonStringifier::Result  v8::internal::JsonStringifier::Serialize_(v8::internal::Handlev8::internal::Object,  bool, v8::internal::Handle<v8:

host.ioBroker2
2020-05-29 17:46:45.389
error
Caught by controller[11]: 12: 0xe1ecc8  v8::internal::JsonStringifier::SerializeString(v8::internal::Handlev8::internal::String)  [io.mihome-vacuum.0]

host.ioBroker2
2020-05-29 17:46:45.389
error
Caught by controller[10]: 11: 0x10c0c45 v8::internal::IncrementalStringBuilder::Extend() [io.mihome-vacuum.0]

host.ioBroker2
2020-05-29 17:46:45.389
error
Caught by controller[9]: 10: 0xd0891c  v8::internal::Factory::NewRawOneByteString(int,  v8::internal::AllocationType) [io.mihome-vacuum.0]

host.ioBroker2
2020-05-29 17:46:45.388
error
Caught by controller[8]:  9: 0xd3aa6c  v8::internal::Heap::AllocateRawWithRetryOrFail(int,  v8::internal::AllocationType, v8::internal::AllocationOrigin,  v8::internal::AllocationAlignment) [io.mihome-v

host.ioBroker2
2020-05-29 17:46:45.388
error
Caught by controller[7]:  8: 0xd37fb5  v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace,  v8::internal::GarbageCollectionReason, v8::GCCallbackFlags)  [io.mihome-vacuum.0]

host.ioBroker2
2020-05-29 17:46:45.388
error
Caught by controller[6]:  7: 0xd37105  v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector,  v8::GCCallbackFlags) [io.mihome-vacuum.0]

host.ioBroker2
2020-05-29 17:46:45.388
error
Caught by controller[5]:  6: 0xd2a886 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [io.mihome-vacuum.0]

host.ioBroker2
2020-05-29 17:46:45.387
error
Caught by controller[4]:  5: 0xd2a1f5  [io.mihome-vacuum.0]

host.ioBroker2
2020-05-29 17:46:45.387
error
Caught by controller[3]:  4: 0xb7da99  v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char  const*, bool) [io.mihome-vacuum.0]

host.ioBroker2
2020-05-29 17:46:45.387
error
Caught by controller[2]:  3: 0xb7d71e  v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool)  [io.mihome-vacuum.0]

host.ioBroker2
2020-05-29 17:46:45.387
error
Caught by controller[1]:  2: 0xa09c55 node::OnFatalError(char const*, char const*) [io.mihome-vacuum.0]

host.ioBroker2
2020-05-29 17:46:45.386
error
Caught by controller[1]:  1: 0xa09830 node::Abort() [io.mihome-vacuum.0]

host.ioBroker2
2020-05-29 17:46:45.385
error
Caught by controller[0]: FATAL ERROR: Ineffective mark-compacts near  heap limit Allocation failed - JavaScript heap out of memory

`

In fact it is a "Out of memory" situation ... How much RAM is free normally? 100% CPU and such simply states that the system is doing swapping ...make sure there is enought RAM available!


feat (GroupTheory/GroupActions/amenable): add definition of amenable monoid actions

feat: add a definition of amenable monoid actions

I don't really know what the right definition of an amenable action is, but I'm worried that this definition won't give the correct definition for amenable (even locally compact) groups. The reason is that you definitely want your mean to be absolutely continuous with respect to any Haar measure on the group (otherwise there's no hope of viewing the mean as a functional on $L^\infty$).
Furthermore, it would be nice to have a definition of amenability that works for any topological group, the usual one being the existence of a left invariant mean on right uniformly continuous function. The significant disadvantage of that is that linking this with the usual definition requires a bit more work. This is all explained in the book Sébastien mentioned, and I've written a slightly more precise exposition of it with formalization at the back of my mind, so I'd be happy to help anyone working on that, but I'm not sure we have all the prerequisites for it...
In the meantime, I think I'm okay with writing up the theory in the setting of locally compact groups, but we should keep in mind this future generalization. In particular, I'm against Yaël's proposal to link this up with probability measures, because that won't be true in a general setting I think. But I'm not sure what to do regarding amenable actions, I'll try to read about it.

I think this discussion should happen on Zulip, I'll repost my comments there.

Hi @matthias567 Just checking to ask what the status is. Are you planning to continue working on this PR? If not, please feel free to close it, or label it with please-adopt.

Since you labelled this as help-wanted, it would be really useful if you resumed here what the issue is that you need help with.

@jcommelin @YaelDillies Thanks for your message. I'm not working on this PR anymore, hence I just closed it.


Solution: Fix Dialyzer Warnings

Partial Fix for #246

It'd be nice if anyone had an idea on how to solve those two issues.
I posted into Elixirforum for help. https://elixirforum.com/t/dialyzer-the-created-fun-has-no-local-return/8247

@c-rack Can we merge this one even though it only solves 1/2 of the issue?
I have no idea why the rest is failing and need someone else to help me / fix it.

@maennchen Sure, even a partial fix is worth a PR and a merge. The remaining warings can be addressed by another one if someone has an idea how to fix them.

Should we wait with the release until those warnings are fixed or should I create a release for v2.1.0?


Missing info about memory barrier

One important issue about await is whether await creates memory barrier or not. Currently on MSDN page there is no word about it (confirming it, or denying) -- IMHO it should be mentioned.

@astrowalker Can you elaborate about what you mean by "creates a memory barrier"?  I'm not sure what you mean. What operations would you think is safe or unsafe based on a "memory barrier"?

@BillWagner , I answer with an example taken from: https://stackoverflow.com/questions/41928139/thread-safety-on-async-await-with-memory-caching
private static async void TestAsync()
{
    bool complete = false;
    Func<Task> testFunc = async () =>
    {
        await Task.Delay(1000);
        bool toggle = false;
        while (!complete)   // interesting part
        {
          toggle = !toggle;
        }
    };

    var task = testFunc();
    Thread.Sleep(2000);
    complete = true;
    await task;
    Console.WriteLine("Done");
}

The interesting part is the loop (see the comment) -- it does not see the outside change (most likely because register caching + optimization). But when you add dummy await inside the loop, the outside change is seen inside -- if I am not mistaken this is because memory barrier is added and the actual value is read.

Thanks for adding that information @astrowalker
It is due to optimizations and register caching.  Our page on volatile has more details.
I'll close this as resolved.

@BillWagner , I am lost, I didn't say a word about volatile. Maybe I add question to your explanation -- why with added await register caching does not trigger in?
Or in other words -- does await adds implicit memory barrier or not? For example http://www.albahari.com/threading/part4.aspx#_Memory_Barriers_and_Volatility in section starting with "The following implicitly generate full fences:" lists all (?) constructs which adds memory barrier, but I would like to be sure about await what it adds and what it does not add.

@astrowalker The SO question you referenced discussed volatile as one way to resolve this issue. I'll answer your questions in reverse order:

Or in other words -- does await adds implicit memory barrier or not?

No. The composition from await does not contain any memory fencing.

why with added await register caching does not trigger in?

Register caching still takes place. But, with an await in the loop, testFunc yields, and lets the other thread run, and reloads any registers when its execution continues.
It's an oversimplification, but the await forces a thread switch.

@BillWagner , thank you very much! It would be useful to add it to MSDN page directly to make it official (the only one unofficial statement I found is from Stephen Cleary https://stackoverflow.com/a/54413147/6734314 but it is opposite as I understand it "await will ensure all necessary memory barriers are in place").

@BillWagner If await doesn't create a memory barrier, does that mean that, from the code that called the awaited method, it is safe to use the Task result, but it is not safe to use other shared memory than may have been manipulated by the Task when it was running?
This is important, because it makes a big difference to thread safety in some cases.

@BillWagner @JohnRusk Did you ever get an answer to your question here John?

@JohnRusk @epatstarkey I apologize, I missed that question.
Adding @stephentoub who can provide insight on https://github.com/dotnet/docs/issues/11360#issuecomment-584378410

await itself doesn't create a memory barrier, but it also doesn't need to; that's not its job.  It's the job of the thing being awaited to ensure that anything it's written is visible to any consumer.  So, for example, Task's completion entails a store release barrier such that any work done prior to the Task's completion is published to anyone trying to consume it, and reading the status / result / etc. of a Task involves a read acquire barrier.

@stephentoub Thanks for the precise answer, that's exactly what I wanted to know.

According to Windows OS documentation, any wait operation that involves a kernel wait object creates an implicit memory barrier. I have a strong suspicion that await may inherit that property even if it does not use OS kernel objects directly.
You can check this yourself by examining the code of System.Threading.Tasks.Task class here. The Task type has Status property, and every waiting operation will query that status in the end. Under the hood, Status reads m_stateFlags field which is marked with volatile keyword. Accessing a volatile field either for a read or write will issue a corresponding memory barrier. And the code behind await keyword does access Task.Status property, which in turn accesses the volatile m_stateFlags field. So to answer your question, await technically issues a memory barrier after the task completion.
Regarding your sample code: for barrier synchronization to work, the barriers should be issued on both read and write accesses. Otherwise, the change may be not released or may not be acquired to/by other threads. To avoid those gotchas, I would suggest to modify the code as follows:
static async void TestAsync()
{
    bool complete = false;
    Func<Task> testFunc = async () =>
    {
        await Task.Delay(1000);
        bool toggle = false;
        while (!Volatile.Read(ref complete))   // interesting part
        {
          toggle = !toggle;
        }
    };

    var task = testFunc();
    Thread.Sleep(2000);
    Volatile.Write(ref complete, true);  // interesting part
    await task;
    Console.WriteLine("Done");
}

It would very convenient if we could mark a captured local variable with volatile keyword. However, the current C# syntax does not allow that. Thankfully, .NET provides System.Threading.Volatile class as a workaround.


Use k8s service account with a restricted set of permissions instead of default

Is your feature request related to a problem? Please describe.
Currently, keptn services use the default serviceaccount with a set of high privileges inside the k8s clusters
Describe the solution you'd like
Use service accounts with a minimum set of privileges
Additional context
for example:

helm-service / verb=get, resource=configmap, resource-name=keptn-domain
lighthouse-service / verb=create,update, resource=configmap

Thanks for bringing this up!
The problem is clear, but I have two questions:

Should we provide a set of pre-defined service accounts, which are then assigned to service?
How can we handle service accounts of (custom) keptn-services as available on keptn-contrib/sandbox? Do we just provide a recommendation for those?

Research Tasks:

Research on which services require K8s API access.
Research on RBAC for OpenShift.
Research on NATS.

Decision:

dynatrace-service, prometheus-service have their own role-binding


OMP: Error #15: Initializing libiomp5md.dll, but found libomp140.x86_64.dll already initialized

Describe the bug
OMP: Error #15: Initializing libiomp5md.dll, but found libomp140.x86_64.dll already initialized.
OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://www.intel.com/software/products/support/.
To Reproduce
Steps to reproduce the behavior:
Targetting in the following script various websites, for example this one: https://github.com/VinciGit00/Scrapegraph-ai/releases
from scrapegraphai.graphs import SmartScraperGraph
from scrapegraphai.utils import prettify_exec_info
graph_config = {
"llm": {
"model": "ollama/mistral",
"temperature": 1,
"format": "json",
"model_tokens": 2000,
"base_url": "http://localhost:11434",
},
"embeddings": {
"model": "ollama/nomic-embed-text",
"temperature": 0,
"base_url": "http://localhost:11434",
}
}
smart_scraper_graph = SmartScraperGraph(
prompt="List me all the news with their description.",
source="https://github.com/VinciGit00/Scrapegraph-ai/releases",
config=graph_config
)
result = smart_scraper_graph.run()
print(result)
Expected behavior
A list of news with the json format.
Desktop:

OS: Windows 10

Please try again

Done pip install --upgrade scrapegraphai
installing successfully scrapegraphai-0.10.1
However, the problem persists

try the basic example and let me know if it works

Yes, using as source https://perinim.github.io/projects it works (and it worked even with scrapegraphai-0.10.0).
The problem is using different sources, like https://github.com/VinciGit00/Scrapegraph-ai/releases
You can't replicate my result using that link as source?

@baggiponte might this be related to the dependency clashes caused by Poetry you mentioned in issue #198?

@baggiponte might this be related to the dependency clashes caused by Poetry you mentioned in issue #198?

Not sure. I am afraid it's more to do with Intel/Windows. @elmoBG8: how are you installing scrapegraph? Do you use conda (maybe you don't even build scrapegraph on conda though)? What's happening is that there are two libomp binaries.

@baggiponte might this be related to the dependency clashes caused by Poetry you mentioned in issue #198?

Not sure. I am afraid it's more to do with Intel/Windows. @elmoBG8: how are you installing scrapegraph? Do you use conda (maybe you don't even build scrapegraph on conda though)? What's happening is that there are two libomp binaries.

Hello,
inside a virtual environment in anaconda I go with pip install scrapegraphai and then playwright install.
However, I remember that I have no problem for example using as source https://perinim.github.io/projects
I have problems for example with https://github.com/VinciGit00/Scrapegraph-ai/releases as source. Do you get something with it?

@baggiponte might this be related to the dependency clashes caused by Poetry you mentioned in issue #198?

Not sure. I am afraid it's more to do with Intel/Windows. @elmoBG8: how are you installing scrapegraph? Do you use conda (maybe you don't even build scrapegraph on conda though)? What's happening is that there are two libomp binaries.

Hello, inside a virtual environment in anaconda I go with pip install scrapegraphai and then playwright install.

I am not proficient enough when using windows + conda. Is the venv you create a new one or a "recycled" one where there are already previous libraries? What might happen is that you have different versions of libomp on your machine because you have 2/3 conda envs that each have one. I am not an expert in windows at all, but this new env might pick up the two different omp versions even if they are in separate envs. maybe you can try deleting the conda cache (just googled this) but I haven't used it in years so I might be wrong.

hi, I think that with the updates now the issue could be closed

Yes, now I don't see that error, even if I have another problem now... I open another issue, thank you

Hi!I meet the same problem.How can I solve it?


Build dependency in git subfolder

Hello,
I'm trying to build a crate from source so in my Cargo.toml I have :
flatdata = {git = "https://github.com/heremaps/flatdata", rev = "ac1558b1425ffcffb1a81e4f615808689af5c64e" }
This is the result in Cargo.lock:
[[package]]
name = "flatdata"
version = "0.5.4"
source = "git+https://github.com/heremaps/flatdata?rev=ac1558b1425ffcffb1a81e4f615808689af5c64e#ac1558b1425ffcffb1a81e4f615808689af5c64e"
dependencies = [
 "diff",
 "memmap2",
 "tar",
 "walkdir",
]

Its supposed to build the flatadata-rs subfolder of the repository but i'm getting :

error: getting status of '/nix/store/6ij515l5zv5wkfw289czwh68zivxic22-source/Cargo.toml': No such file or directory

I tried to override the src of the crate (with or without the #):
ws = nocargo.lib.${system}.mkRustPackageOrWorkspace {
  src = ./.;

  gitSrcs = {
    "https://github.com/heremaps/flatdata?rev=ac1558b1425ffcffb1a81e4f615808689af5c64e" = inputs.flatdata-src;
  };

  buildCrateOverrides = with nixpkgs.legacyPackages.${system}; {
    "flatdata 0.5.4 (git+https://github.com/heremaps/flatdata?rev=ac1558b1425ffcffb1a81e4f615808689af5c64e)" = old: {
      src = "${old.src}/flatdata-rs";
    };

  };
};

But it doesn't seem to work, any thoughts ?
Thanks for the help

Git dependency containing workspace are not supported now.
As a workaround, you can point gitSrcs to the directories of individual packages.
gitSrcs = {
  "https://github.com/heremaps/flatdata?rev=ac1558b1425ffcffb1a81e4f615808689af5c64e" = inputs.git-1 + "/flatdata-rs/lib";
};

Thx :+1:
I'm no blocked further
Seems the flatadata dep is not available in build.rs
Cargo.toml
[dependencies]
flatdata = {git = "https://github.com/heremaps/flatdata", rev = "ac1558b1425ffcffb1a81e4f615808689af5c64e", features = ["tar"] }

[build-dependencies]
flatdata = {git = "https://github.com/heremaps/flatdata", rev = "ac1558b1425ffcffb1a81e4f615808689af5c64e", features = ["tar"] }

build.rs
fn main() {
    flatdata::generate(
        "file.flatdata",
        &std::env::var("OUT_DIR").unwrap(),
    )
    .expect("generator failed");
}

Seems related to https://github.com/oxalica/nocargo/issues/7

Fixed in 67053a81af61a45346e6c2edb520cc38d994c90f

Works like a charm :+1: thank you very much


Add support for Synergy v2 and v3, and support for specifying edition

added support  for the new "version" of the key

Readme needs to be updated with the same info as in the typings

Readme needs to be updated with the same info as in the typings

should be good now

maybe version 2 should be the default since it should work with both synergy 1 and 3

maybe version 2 should be the default since it should work with both synergy 1 and 3

Does this mean v1 works on Synergy 1 and v2 works on Synergy 1, 2 and 3?

maybe version 2 should be the default since it should work with both synergy 1 and 3

Does this mean v1 works on Synergy 1 and v2 works on Synergy 1, 2 and 3?
Docs would need to be updated then.

yes, at least in recent versions v2 serial works in all three. just checked with 1.14

Because it only works on recent versions of v1, it would make it a breaking change.
The default should still be 1, just to be safe.

Because it only works on recent versions of v1, it would make it a breaking change. The default should still be 1, just to be safe.

now it should be okay


New CDN don't work behind corporate proxy

Does this issue occur when all extensions (Beside VScode remote SSH) are disabled?: Yes

VS Code Version: 1.85.1
OS Version: Windows10 22H2 and Linux 6.3.13
Corporate Proxy: netskope

Steps to Reproduce:

Open a VSCode Remote Window on a server that did not have latest VSCode-server install
VSCode tries to download tar.gz from vscode.download.prss.microsoft.com (https://vscode.download.prss.microsoft.com/dbazure/download/stable/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/vscode-server-linux-x64.tar.gz)
The connection timeout (XHR Timeout)

curls of multiples urls (windows)
>curl -v https://vscode.download.prss.microsoft.com/dbazure/download/stable/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/vscode-server-linux-x64.tar.gz

*   Trying <IP_ADDRESS>:443...
* Connected to vscode.download.prss.microsoft.com(<IP_ADDRESS>) port 443
* schannel: disabled automatic use of client certificate
* ALPN: curl offers http/1.1
* schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.
* Closing connection
* schannel: shutting down SSL/TLS connection with vscode.download.prss.microsoft.com port 443
curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.

>curl -kv https://vscode.download.prss.microsoft.com/dbazure/download/stable/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/vscode-server-linux-x64.tar.gz

*   Trying <IP_ADDRESS>:443...
* Connected to vscode.download.prss.microsoft.com (<IP_ADDRESS>) port 443
* schannel: disabled automatic use of client certificate
* ALPN: curl offers http/1.1
* ALPN: server did not agree on a protocol. Uses default.
* using HTTP/1.x
> GET /dbazure/download/stable/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/vscode-server-linux-x64.tar.gz HTTP/1.1
> Host: vscode.download.prss.microsoft.com
> User-Agent: curl/8.4.0
> Accept: */*
>
* schannel: server closed abruptly (missing close_notify)
* Closing connection
* schannel: shutting down SSL/TLS connection with vscode.download.prss.microsoft.com port 443
curl: (56) Failure when receiving data from the peer

curl -v https://microsoft.com/

*   Trying <IP_ADDRESS>:443...
* Connected to microsoft.com (<IP_ADDRESS>) port 443
* schannel: disabled automatic use of client certificate
* ALPN: curl offers http/1.1
* ALPN: server did not agree on a protocol. Uses default.
* using HTTP/1.x
> GET / HTTP/1.1
> Host: microsoft.com
> User-Agent: curl/8.4.0
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Content-Length: 0
< Date: Wed, 20 Dec 2023 17:03:23 GMT
< Server: Kestrel
< Location: https://www.microsoft.com/
< Strict-Transport-Security: max-age=31536000
<
* Connection #0 to host microsoft.com left intact

Similar non-resolving issues:
https://github.com/microsoft/vscode/issues/200691
https://github.com/microsoft/vscode/issues/200770
https://github.com/microsoft/vscode/issues/198824
Note: even without proxy, opening https://vscode.download.prss.microsoft.com/ on chrome (linux) warn about the following:

fixed with whitelisting on our side


Swap old Digiconomist model for new ethereum-emissions model

ethereum_footprint.py needs to be almost completely replaced:

[x] 1. In __init__, instead of loading the digiconomist energy consumption and etherscan gasUsed data, load the ethereum-emissions file daily-ktco2.csv which is regularly update on the gh-pages branch. Also, load an instance of the EthereumStats class, which will give you access to the tx_fees dict (mapping dates to total tx_fees).
[x] 2. Remove kgco2_per_gas() from EthereumFootprint
[x] 3. Remove get_etherscan_data() from EthereumFootprint
[x] 3. sum_kgco2() should run a different calculation. First, sum all transactions fees (using tx.get_fees()) based on the date of the transaction (using tx.get_datetime()). Then for each day, divide the total fees from those transactions by the total fees on that day (using tx_fees from the EthereumStats instance). Finally, sum all values, then convert from kilotons to kilograms.

Separately:

[x] 1. In contracts_footprint.py: add fees to each row and remove gas. Then re-run contracts_footprint.py and update the table in the readme.

Note: any server that regularly computes these numbers is going to need to run ethereum_stats.py on a daily basis to update the total transaction fees. Also, any emissions estimated for the current day should be treated with suspicion, as different data sources may be out of sync with each other.

closed by b6749798f357773f8ae50b39ffd55ab5a3be58e7


Update DefectDojo to Helm Chart Version 1.6.127

Is your feature request related to a problem? Please describe.
To ensure our security tools remain effective and benefit from the latest features and fixes, we need to update our DefectDojo deployment.
Describe the solution you'd like
Update the DefectDojo helm chart to the latest version available, which is 1.6.127. This update aims to keep our security tooling up-to-date and secure.
Describe alternatives you've considered
N/A - Regular updates are necessary for security and functionality improvements.
Additional context
It's crucial to stay current with DefectDojo updates for enhanced security vulnerability management and to take advantage of new features and improvements.
Acceptance Criteria:

DefectDojo is updated to helm chart version 1.6.127.
Ensure that the update does not interrupt ongoing vulnerability management activities.
Perform testing to confirm that new features are accessible and existing functionality remains unaffected.

Implementation Plan:

Review the changelog for version 1.6.127 to understand new features and fixes.
Test the helm chart update in a staging environment to ensure compatibility and stability.
Roll out the update to production, ensuring no disruption to existing workflows.

here are improvements after the upgrade:


System.Net.WebException: Error: ConnectFailure (Connection refused)

I follow the readme and get this error on my oculus go.
The MRE shows hello world text but the cube is not showing.
The only different step is I type ws://192.x.x.x:3901 with my local IP.
How can I fix this problem?

You will also need to set the "base URL" on your app, so it knows where to look for your models (in this case the cube). If you're using a UNIX-like shell, the command is BASE_URL=http://192.x.x.x:3901 npm start
Try this out and see how it goes. Next time you run into an issue, post a slack message. Odds are good that someone can help you more quickly.


Not working any of icon...

Describe the bug
On Mobile device,none of icon not functioning......
Expected behaviour

Screenshots
No response
Additional context
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@Brijesh1963 sorry can you explain more about the issue?


Feature/setup

In this branch I started my first react project:

[x] Make sure you have Node.js installed on your machine
[x] Create a React application using Create React App
[x] The application should run in the browser without errors

Thank you very much @rloterh & @aamirkhan2478 for the thorough review 🥳


Can't install NBitcoin with Nuget Package

I get this error when I try to add NBitcoin into a new project:
Error		Could not install package 'NBitcoin <IP_ADDRESS>'. You are trying to install this package into a project that targets 'native,Version=v0.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

What project have you created ?

I created a Visual C++ console application. I understand it is a C# library but I don’t see any relevant projects to start under C#. Sorry for my Visual Studio n00b status; I’m not super familiar with this interface and how it works. I’m used to opening up vi or vim and just using g++ from the terminal to compile
From: Nicolas Dorier
Sent: Thursday, September 14, 2017 12:25 AM
To: MetacoSA/NBitcoin
Cc: sacromentus; Author
Subject: Re: [MetacoSA/NBitcoin] Can't install NBitcoin with Nuget Package(#282)
What project have you created ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

NBitcoin is a C# library, you can't use it in C++.

Sorry I think I have closed a bit too fast
Please read https://github.com/ProgrammingBlockchain/ProgrammingBlockchain/


Follow langpack spec changes: version -> revision (bug 1134147)

https://bugzilla.mozilla.org/show_bug.cgi?id=1134147
version in languages-provided was ambiguous and incoherent with the version field at the top-level of the manifest, since FxOS expected it to be an int, in order to compare multiple langpacks providing the same languages.
It was renamed to revision in https://bugzilla.mozilla.org/show_bug.cgi?id=1133725 so we follow that and change the expected type to int.

r+


Clean all job is not working

Thank  you for this awesome package..
As of #39 we have a feature to remove all failed jobs.
That's not working
It's requesting to the following endpoints but not working at all with empty response
How to produce ?
It's showing the clean all button.

Once user clicks on that it's making request to the following URL
PUT: Request with empty response] http://localhost:3000/bullmq/api/queues/queue_name/clean/failed
Note: However Individual remove request is working but it's difficult to remove jobs individually

It do work for me... Weird, there is a limit of the underline lib(bull / bullmq) of 1000 at a time...
Does your failed queue counter decrease by 1000?

same here: Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://localhost:3000/admin/queues/api/queues/foo/empty
{
    "error": "Internal server error",
    "message": "this.queue.empty is not a function",
    "details": "TypeError: this.queue.empty is not a function\n    at BullAdapter.empty (/Users/alexgao/Dev/dms/node_modules/.pnpm/@bull-board+api@5.21.4_@bull-board+ui@5.21.4/node_modules/@bull-board/api/src/queueAdapters/bull.ts:63:23)\n    at emptyQueue (/Users/alexgao/Dev/dms/node_modules/.pnpm/@bull-board+api@5.21.4_@bull-board+ui@5.21.4/node_modules/@bull-board/api/src/handlers/emptyQueue.ts:9:15)\n    at Object.handler (/Users/alexgao/Dev/dms/node_modules/.pnpm/@bull-board+api@5.21.4_@bull-board+ui@5.21.4/node_modules/@bull-board/api/src/providers/queue.ts:33:12)\n    at /Users/alexgao/Dev/dms/node_modules/.pnpm/@bull-board+express@5.21.4/node_modules/@bull-board/express/src/ExpressAdapter.ts:63:44\n    at /Users/alexgao/Dev/dms/node_modules/.pnpm/@bull-board+express@5.21.4/node_modules/@bull-board/express/src/helpers/wrapAsync.ts:6:19\n    at Layer.handle [as handle_request] (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/layer.js:95:5)\n    at next (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/route.js:149:13)\n    at Route.dispatch (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/route.js:119:3)\n    at Layer.handle [as handle_request] (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/layer.js:95:5)\n    at /Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:284:15\n    at param (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:365:14)\n    at param (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:376:14)\n    at Function.process_params (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:421:3)\n    at next (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:280:10)\n    at jsonParser (/Users/alexgao/Dev/dms/node_modules/.pnpm/body-parser@1.20.2/node_modules/body-parser/lib/types/json.js:122:7)\n    at Layer.handle [as handle_request] (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:328:13)\n    at /Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:286:9\n    at Function.process_params (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:346:12)\n    at next (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:175:3)\n    at router (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:47:12)\n    at Layer.handle [as handle_request] (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:328:13)\n    at /Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:286:9\n    at Function.process_params (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:346:12)\n    at next (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:280:10)\n    at expressInit (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/middleware/init.js:40:5)\n    at Layer.handle [as handle_request] (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:328:13)\n    at /Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:286:9\n    at Function.process_params (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:346:12)\n    at next (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:280:10)\n    at query (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/middleware/query.js:45:5)\n    at Layer.handle [as handle_request] (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:328:13)\n    at /Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:286:9\n    at Function.process_params (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:346:12)\n    at next (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:280:10)\n    at Function.handle (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:175:3)\n    at Function.handle (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/application.js:181:10)\n    at mounted_app (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/application.js:237:10)\n    at Layer.handle [as handle_request] (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:328:13)\n    at /Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:286:9\n    at Function.process_params (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:346:12)\n    at next (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:280:10)\n    at expressInit (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/middleware/init.js:40:5)\n    at Layer.handle [as handle_request] (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/Users/alexgao/Dev/dms/node_modules/.pnpm/express@4.19.2/node_modules/express/lib/router/index.js:328:13)"
}

only 16 complete jobs
deleting a single job is no problem

"@bull-board/api": "^5.21.4",
"@bull-board/express": "^5.21.4",
"bullmq": "^5.12.12",

hi @smoothdvd,
can you make a small repo that recreates your issue? I've tried the empty function locally, it works as expected.
Can you check the queue name, maybe there is some issue with the path (which includes the queue name).
I'm more than happy to try to debug it with you, I'm available on Discord, felixmosh

@felixmosh I tried even with less than 100 jobs something migh be wrong with queue system.
Have created queue like this
export const queue1 = new Queue(QueueName.Queue1, { connection: redisConnection });
export const Queue2 = new Queue(QueueName.Queue2, { connection: redisConnection });

Just added this scenario :]

@felixmosh Sorry, it's my fault. Using BullAdapter on bullMQ queue.

@felixmosh I tried even with less than 100 jobs something migh be wrong with queue system.
Have created queue like this export const queue1 = new Queue(QueueName.Queue1, { connection: redisConnection }); export const Queue2 = new Queue(QueueName.Queue2, { connection: redisConnection });

can you make a small repo that recreated that issue?

@CyrilCartoux can you make a small reproduction repo?

I will :)

@CyrilCartoux can you make a small reproduction repo?

Felix I have created the repo ;)
Let me know if any questions!
https://github.com/CyrilCartoux/bull-board-807

Thank you @CyrilCartoux, I've managed to reproduce your issue.
The problem is that you are using a BullAdapter instead of BullMQAdapter, with bullMQ lib.
Maybe it is time for me to stop this shananigan... and throw an Exception.

Sorry about that! And thanks a lot for the fast replies!! Keep up the good work mate we use a lot your package ;)

Are you using bull or bullmq?

I'm using bullmQ
On Wed, 16 Oct 2024 at 10:13, Felix Mosheev @.***>
wrote:

Are you using bull or bullmq?
—
Reply to this email directly, view it on GitHub
https://github.com/felixmosh/bull-board/issues/807#issuecomment-2415719409,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGBBA27QYOSRJZ36HWA4PQ3Z3XVGRAVCNFSM6AAAAABNQGW3X2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJVG4YTSNBQHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Manish Kumar Chaubey
Email : @.***
LinkedIn : https://www.linkedin.com/in/kumarmanishc
Medium : https://kumarmanishc.medium.com/
Twitter : https://www.twitter.com/kumarmanishc

Are you using the correct queue adapter?

I'm not sure, without a reproduction repo I can't help much...

Thank you @CyrilCartoux, I've managed to reproduce your issue. The problem is that you are using a BullAdapter instead of BullMQAdapter, with bullMQ lib.
Maybe it is time for me to stop this shananigan... and throw an Exception.
(I've tested the change, and it works)

Hi, it would be great
Because its not obviously. Exception in this flow is a good solution.

Added queue <-> adapter compatebility, use v6.3.2


[Feature Request]: Add Google Drive scope to GCP Auth

What would you like to happen?
The current Python SDK doesn't include the https://www.googleapis.com/auth/drive scope when sending the authentication request to Google Cloud. This means that it's not possible to access Google Drive backed tables in BigQuery.
Adding the scope does indeed provide the required access. I'm only interested in the Python SDK, but this change should be easy to apply on all other SDKs as well if there's interest in that.
I can work on this change and submit a pull request.
Issue Priority
Priority: 2
Issue Component
Component: sdk-py-core

What happens if Drive API is not enabled for a project but we include it with a scope?

I imagine the same thing that happens with any other scope, but I'll check and report back.

@tvalentyn The Drive API being enabled or not has not effect on the result if the extra scope is included. However, without the scope, even if the file is shared with the service account accessing the data this error is displayed and it's not possible to access the table:
Access Denied: BigQuery BigQuery: Permission denied while getting Drive credentials.

Adding the scope resolves the issue.

Thanks for checking.
Would adding https://www.googleapis.com/auth/cloud-platform also fix the problem or this specific drive scope is necessary?

If not, I would suggest adding a new pipeline option that allows such customizations.
Looks like in Java it's possible to specify a custom credential via a factory or credential instance : https://beam.apache.org/releases/javadoc/current/index.html?org/apache/beam/sdk/extensions/gcp/options/GcpOptions.html . In Python we don't have this. But perhaps passing a string of custom scopes  to use when authenticating would be sufficient?

Would adding https://www.googleapis.com/auth/cloud-platform also fix the problem or this specific drive scope is necessary?

It's already there and it doesn't allow access to Google Drive backed tables, so the drive scope is necessary.

If not, I would suggest adding a new pipeline option that allows such customizations.

No other scope is treated this way, and it seems like I would need to do a lot of modifications to beam to enable that. I'm no beam expert, not to mention I have no experience developing Java or Go, so the likelihood of me actually pulling off what you propose is very slim, since it would require a substantial amount of time.
Can't I just add the necessary scope since it doesn't seem to cause any issues?

I agree with that. The ideal solution for me would be to provide a minimal set that is required to access BigQuery and allow users to specify any extra scopes needed.
I'll work on this change as it's currently proposed for now.

I disagree that adding scopes is a good idea, we should instead allow users to configure the scopes themselves. Adding a credential factory to python or adding a pipeline option that enables configuring these scopes with the default being the currently enabled list makes a lot more sense to me.

I would disagree, having existing users who upgrade to this version pick up additional scopes that they may not have been aware of is not a good experience.

If it is easy to do The Right Thing then go ahead and do it. But forcing arbitrary discipline on new contributors that we ourselves never complied with is not how we should run things.

That is exactly what happened when SpannerIO was added.

I might have been covered by the google-cloud-platform scope. Java doesn't have spanner scopes, not sure if python had to reference them explicitly.

https://github.com/apache/beam/commit/5b6a0ea3ba59760515ecfc76684d8202fd54c647#diff-21a78a52eca0c898070d58302127a9bb5cdb5de512ec16b9b3d945e0b84b694c

https://github.com/apache/beam/commit/5b6a0ea3ba59760515ecfc76684d8202fd54c647#diff-21a78a52eca0c898070d58302127a9bb5cdb5de512ec16b9b3d945e0b84b694c only modifies Python's scopes and not Java's.

If it is easy to do The Right Thing then go ahead and do it. But forcing arbitrary discipline on new contributors that we ourselves never complied with is not how we should run things.

We should be guiding contributors to produce the right solution, this isn't arbitrary.

https://github.com/apache/beam/pull/23644 is a proposed solution.

Thanks everyone! The final solution looks great, and I wouldn't have minded doing the right thing to help the project, but it would have taken me a long time since I'm not familiar with the project internals.

I'm happy that you're happy with the solution.
Hopefully we can spend more time with you on your next change.


Correct nyc config

Current coverage is 72.96%

Merging #316 into next will decrease coverage by -14.17% as of 7867de7

@@             next    #316   diff @@
=====================================
  Files          94      44    -50
  Stmts        1609     662   -947
  Branches        0       0
  Methods
=====================================
- Hit          1402     483   -919
  Partial         0       0
+ Missed        207     179    -28

Review entire Coverage Diff as of 7867de7

Powered by Codecov. Updated on successful CI builds.

Seriously? wtf. Anyway thanks!


Request for MT/MA Windows in oUF_NeavRaid

It would be great to have the option to have Main Tank and Main Assist windows

I have some minimal main tank/assist frames setup. It only shows the player and no targets at this point. Here is a quick video of them in action.
https://youtu.be/lYWj6lMLBGw

Still have more room for improvement but here is what I have so far.

Main Tanks/Assist are now all shown in one list with target and target of target frames.
The assist frame can be moved independently of the raid frames using the /neavrt slash command.

Unlocking/locking the frames.
https://youtu.be/M4VZQ-ml3s8
The frames in action.
https://youtu.be/T2jnGXCkg3Q

The basic main tank/assist frames are now in as of #167. They could be expanded on but they work as is.


Selected options in .form-select[multiple] have poor styling

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
The styling of selected options for multiple selects appears out-of-family as the highlight is restricted to the <option> tag, inside padding of the parent <select>.  Removing the <select> padding and adding padding to the <option> tags would result in a better appearance.  See the CodePen for comparison to possible fixes, which have been verified in multiple browsers:

Poor: As-is
Good: Move horizontal padding from <select> to <option>
Better: Move all padding from <select> to <option>

Reduced test cases
https://codepen.io/bggardner/pen/GRYpLeg
What operating system(s) are you seeing the problem on?
Windows, Linux
What browser(s) are you seeing the problem on?
Chrome, Firefox, Microsoft Edge, Opera
What version of Bootstrap are you using?
5.3.0-alpha3

can I take this issue @julien-deramond?

We don't assign issues @hamzakhalidchouhdary.
We haven't checked the content of this issue yet but if this is obvious that a modification is needed, you can propose a PR :)

ok thanks, @julien-deramond
I will work on this.

As far as I know, this is still not addressable with vanilla CSS across all browsers. For example, none of these options look any kind of good in Safari. If that ever changes, we could implement some improvements here.


fix w3c validation errors

fixes #7

Yep. Only one thing. You don't need to commit the generated files under lib. They are automatically generated when released.
So, just remove those files and I will merge it.
Thanks!


Cast objc_msgSend when calling plugin methods

Platforms affected
macOS
Motivation and Context

Fixes #112.
Description

Casts objc_msgSend before calling the method to be able to pass multiple arguments.
Testing

Verified that a cordova-osx project builds with this change.
Checklist

[x] I've run the tests to see all new and existing tests pass
[x] I added automated test coverage as appropriate for this change
[x] Commit is prefixed with (platform) if this change only applies to one platform (e.g. (android))
[x] If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct keyword to close issues using keywords)
[x] I've updated the documentation if necessary

It seems https://github.com/apache/cordova-osx/pull/105 covers this.

Closing this as #105 covered this.


google docs forms

does this plugin works on google forms?i test it but it didn't work and did i make a mistake or it really doesn't work on google forms? :D

You will need to ask Google to add support.


Missing __typename in fragment str

Reported in #253
When the result field's type is an abstract type - union or interface, we add __typename to the query string and corresponding generated model. When this happens as part of the fragment we only add to the model, not to the string - because of this the generated client can't properly create an instance of the model.
Example schema to reproduce the issue:
type Query {
    aaa: TypeA!
}

type TypeA {
    valueA: String!
    fieldB: InterfaceB!
}

interface InterfaceB {
    valueB: String!
}

type TypeB implements InterfaceB{
    valueB: String!
    typeSpecific: String!
}

Example query:
query getA {
  aaa {
    ...FragmentA
  }
}

fragment FragmentA on TypeA {
  valueA
  fieldB {
    valueB
    ... on TypeB {
      typeSpecific
    }
  }
}

I started to look into this but this was a bit tricker than I expected, mostly because the information about fragments isn't shared between generators. When the PackageGenerator is created the fragments are both passed to the FragmentGenerator and the PackageGenerator itself.
With the fix in #224 these fragments got passed further to the field parsing but the field and schema state is in the local context for the result fields so I don't really se an obvious way to leverage this when generating the fragment string. And further mutating the fragment definitions dictionary might have unintentional side effects and becomes very order dependant.
I think one approach to not spread this into separate generators would be to somehow pre-process this kind of data modifying the fragment definitions already when creating the PackageGenerator. Right now we don't have any context around different fields but as a test I tried to just recursively ensure __typename is selected on every selections that's not spreads. This would ensure the fragment string generated in each client method select __typename as well and that every result class will have the __typename field.
Have you had the time to look into what would be required to resolve this issue? Is there a downside to always selecting __typename or would that be a viable solution forward? Any pointers on how I could add __typename only to the abstract fields (without adding it twice)?
Also I know that sometimes having to answer people on questions like this just takes more time and energi so feel free to not elaborate on any reply here. I mostly just wanted to try to contribute here since this is blocking us but I don't want to introduce a big refactor if you had something else in mind.

Diff to unconditionally add __typename to all types
diff --git a/ariadne_codegen/client_generators/package.py b/ariadne_codegen/client_generators/package.py
index e17ec5e..137c28a 100644
--- a/ariadne_codegen/client_generators/package.py
+++ b/ariadne_codegen/client_generators/package.py
@@ -2,7 +2,14 @@ import ast
 from pathlib import Path
 from typing import Dict, List, Optional, Set

-from graphql import FragmentDefinitionNode, GraphQLSchema, OperationDefinitionNode
+from graphql import (
+    FieldNode,
+    FragmentDefinitionNode,
+    GraphQLSchema,
+    NameNode,
+    OperationDefinitionNode,
+    SelectionSetNode,
+)

 from ..codegen import generate_import_from
 from ..exceptions import ParsingError
@@ -22,6 +29,7 @@ from .constants import (
     DEFAULT_BASE_CLIENT_PATH,
     EXCEPTIONS_FILE_PATH,
     GRAPHQL_CLIENT_EXCEPTIONS_NAMES,
+    TYPENAME_FIELD_NAME,
     UNSET_IMPORT,
     UPLOAD_CLASS_NAME,
     UPLOAD_IMPORT,
@@ -374,7 +382,13 @@ def get_package_generator(
         custom_scalars=settings.scalars,
         plugin_manager=plugin_manager,
     )
+
     fragments_definitions = {f.name.value: f for f in fragments or []}
+
+    # Ensure that we always have `__typename` for fragments to match the
+    # generated fragment classes.
+    fragments_definitions = _add_typename_fragment(fragments_definitions)
+
     fragments_generator = FragmentsGenerator(
         schema=schema,
         fragments_definitions=fragments_definitions,
@@ -417,3 +431,37 @@ def get_package_generator(
         custom_scalars=settings.scalars,
         plugin_manager=plugin_manager,
     )
+
+
+def _add_typename_fragment(
+    fragments_definitions: Optional[Dict[str, FragmentDefinitionNode]] = None
+) -> Dict[str, FragmentDefinitionNode]:
+    if fragments_definitions is None:
+        return {}
+
+    for name, fr in fragments_definitions.items():
+        fragments_definitions[name].selection_set = _ensure_typename(fr.selection_set)
+
+    return fragments_definitions
+
+
+def _ensure_typename(selection_set: SelectionSetNode) -> SelectionSetNode:
+    seen_selections = set()
+
+    for selection in selection_set.selections:
+        if not isinstance(selection, FieldNode):
+            continue
+
+        if selection.selection_set:
+            selection.selection_set = _ensure_typename(selection.selection_set)
+
+        seen_selections.add(selection.name.value)
+
+    if TYPENAME_FIELD_NAME in seen_selections:
+        return selection_set
+
+    selection_set.selections = (
+        FieldNode(name=NameNode(value=TYPENAME_FIELD_NAME)),
+    ) + selection_set.selections
+
+    return selection_set


Add automatic boot document

Problem:
Users need a doc to use the new automatic boot feature.
Solution:
The PR is the doc.
Related Issue:
https://github.com/rancher/harvester/issues/217
Test plan:

I am thinking what's the easiest way for the user to start using this on Equinix Metal. For example, would it help if we create a demo Git repo to allow users to fork it and change certain parameters by adding a commit or two, then boot it up using GitHub URLs?

I am thinking what's the easiest way for the user to start using this on Equinix Metal (which supports iPXE from a URL). For example, would it help if we create a demo Git repo to allow users to fork it and change certain parameters by adding a commit or two, then boot it up using GitHub URLs?

Yes, I'm testing Equinix Metal with this approach.


Use SQLAlchemy

What's the difference between SQLAlchemy and SQLAlchemy Core?
SQLAlchemy is a popular Python library that provides both SQLAlchemy Core and SQLAlchemy ORM. Here are the key differences between the two:
SQLAlchemy Core:

SQLAlchemy Core is a query builder and provides a programmatic means to generate SQL queries and DDL (Data Definition Language) statements.
It focuses on the schema and uses a schema-centric view, similar to traditional SQL.
The results of queries built with SQLAlchemy Core are returned as tuples, not objects.
It is useful when you need to programmatically build queries, especially when the information is only available at runtime.
You can use SQLAlchemy Core to execute raw SQL queries by creating an engine and using the connection and execute methods.
Example code using SQLAlchemy Core:

from sqlalchemy import create_engine

engine = create_engine('mysql://scott:tiger@localhost/test')
connection = engine.connect()
result = connection.execute("select username from users")
for row in result:
    print("username:", row['username'])
connection.close()

SQLAlchemy ORM:

SQLAlchemy ORM is an object-relational mapper that represents database relations as Python objects.
It provides a higher-level abstraction and follows an object-centric view, where the schema is encapsulated with business objects.
You can define Python classes that are treated as tables, and the attributes of the class are treated as columns.
It automates common database operations like create, read, update, and delete (CRUD) operations.
It is useful when you want to build your application following the Model-View-Controller (MVC) pattern, with database-backed objects as the "model".
Example code using SQLAlchemy ORM:

from sqlalchemy import Column, Integer, String
from sqlalchemy.ext.declarative import declarative_base

Base = declarative_base()

class User(Base):
    __tablename__ = 'users'
    id = Column(Integer, primary_key=True)
    username = Column(String)

# Query all users
users = session.query(User).all()
for user in users:
    print("username:", user.username)

In summary, if you need to programmatically build queries at runtime, use SQLAlchemy Core. If you want to build your application with a model-based approach and have database-backed objects, use SQLAlchemy ORM.
Sources:

StackOverflow
SQLAlchemy Core Documentation
Full Stack Python - SQLAlchemy
GeeksforGeeks - SQLAlchemy Core - Creating Table
Sluice Art Fair


Rendering issues with GLTF models

Godot version
4.0 beta2
System information
MacOS 12.5
Issue description
Imported GLTF models are rendering incorrectly or displaying artifacts. These same models render correctly in 3.x.

Shadowed faces displaying line artifacts
3.x:

4.0:

Some meshes not rendering correctly
3.x:

4.0:

Even stranger, in the latter model, which contains separate meshes for the body and the 5 wheels, toggling visibility on different meshes affects the rendering of others, sometimes in irreversible ways.
I've attached the model file here as well.
suv.glb.zip
cartoon_plane.glb.zip
Steps to reproduce
Import .glb file and create an instanced scene.
Minimal reproduction project
No response

@clayjohn on the suv.glb, if i duplicate the second material on the missing wheel the material appears again. Any ideas?

Shadowed faces displaying line artifacts

This is shadow acne from the default DirectionalLight3D. The issue is already tracked in https://github.com/godotengine/godot/issues/54523 and a draft PR has already been made https://github.com/godotengine/godot/pull/55757

Some meshes not rendering correctly

I've run into this issue with imported GLTF files as well. But like Fire mentions it goes away when you make the material unique. It also is not reproducible using non-imported materials. My guess is it is an issue with the GLTF material importer but I am not familiar with that code.

The artifacts have been solved since the release of Godot 4.0.
Thanks for the report.


Don't check read_info for writes

Sometimes we might have been looking at socket->read_info when printing errors for writes (see line 309).
This probably doesn't fix anything by itself, but will increase my confidence in the logs ;-).

LOL
LGTM

C# coverage is a known flake. merging.


New topic: multisignature

Note: doesn't include any significant description of threshold signatures because I plan to create a separate topic for that.  For the same reason, it doesn't describe signature aggregation, although I'm not sure we have enough mentions to warrant a topic on that yet.

Updated, thanks!

Thanks @harding. All review comments have been addressed.


Use latest rubies

Ruby 2.3.2 and 2.2.6 were recently relased.
Update Travis-CI config, which needs the versions to be explicit.

@blowmage The build failed with:
ruby-2.3.2 is not installed - installing.
Searching for binary rubies, this might take some time.
Requested binary installation but no rubies are available to download, consider skipping --binary flag.
Gemset '' does not exist, 'rvm ruby-2.3.2 do rvm gemset create ' first, or append '--create'.``

We may have to sit on this PR for a little while until RVM and/or Travis-CI makes them available.

Ruby 2.3.3 https://www.ruby-lang.org/en/news/2016/11/21/ruby-2-3-3-released/

Will revisit in the future, but closing for now.


Upgrade to Lit 3

The problem
Lit 3 was recently released. We're on Lit 2 and don't want to fall too far behind. Lit 3 claims to largely be a smooth upgrade, as one of the only known breaking changes is dropping IE 11 support (which we already do not support).
The solution
Upgrade to Lit 3.
Additional information
I tried briefly installing Lit 3 and running a build, but ran into a fair number of TypeScript errors as a result. These could be because Lit 3 introduced breaking changes they didn't realize.

After some tinkering, it appears that upgrading @webcomponents/scoped-custom-element-registry along with Lit 3 gets us past all the TypeScript errors. However, it seems that doing this also breaks something with either the components themselves, or at least how Storybook works with their boolean attributes in particular. This is readily noticeable in stories around e.g. validity, where rendering ?invalidated=${args.invalidated} (among others) in the story does not actually cause the component to render the invalidated attribute. If we can get past that, I suspect we can get this issue as well as #745 cinched up.


Can't Paste Clipboard into Search Box

When I try to ctrl-V paste into any of the tabs that support ctrl-F search, I get the error showcased in this screenshot:
http://neartalk.com/ss/2017-01-26_004_1813x979.png
Past error:
"Clipbard contains data in unsupported format"
I'm just trying to paste a table-name that I copied out of one of my dBeaver sql queries, so there shouldn't be anything strange about the clipboard data I'm trying to paste.

Yep. Thanks for report.