[REFACTOR]: [NUVEI] Add amount conversion framework to Nuvei

:memo: Feature Description
Currently, amounts are represented as i64 values throughout the application. We want to introduce a Unit struct that explicitly states the denomination. A new type, MinorUnit, has been added to standardize the flow of amounts across the application. This type will now be used by all the connector flows.
Rather than handling conversions in each connector, we will centralize the conversion logic in one place within the core of the application.
:hammer: Possible Implementation

For each connector, we need to create an amount conversion function. Connectors will specify the format they require, and the core framework will handle the conversion accordingly.
Connectors should invoke the convert function to receive the amount in their required format.
Refer to the connector documentation to determine the required amount format for each connector.
You can refer this PR for more context.

🔖 Note: All the changes needed should be contained within hyperswitch/crates/router/src/connector/ , crates/router/src/types/api.rs , crates/router/tests/connectors/
:package: Have you spent some time checking if this feature request has been raised before?

[X] I checked and didn't find a similar issue

:package: Have you read the Contributing Guidelines?

[X] I have read the Contributing Guidelines

:package: Submission Process:

Ask the maintainers for assignment of the issue, you can request for assignment by commenting on the issue itself.
Once assigned, submit a pull request (PR).
Maintainers will review and provide feedback, if any.
Maintainers can unassign issues due to inactivity, read more here.

Refer here for Terms and conditions for the contest.
:sparkles: Are you willing to submit a PR?

@mrudulvajpayee4935 sir I want to work on this issue

@mrudulvajpayee4935 can you please reveiw my PR and please can you help me with its testing how can I test it can you provide me the steps

Hey @kaustubh1106 Thanks for working on this!
This will be reviewed soon!

Hi @swangi-kumari , I would like to work on this issue. Please assign  it to me.

hey i can work on it please assign it to me

Hey @Ankesh2004 @sOnU1002 Thanks for showing interest, But there is another PR in review, which can close this issue.
To save everyone's time I would suggested picking another issue.

hi @mrudulvajpayee4935 are there any changes I need to do ?

hey @kaustubh1106 i will review this and let you know.


[Feature] Responsive Image Component (Serverless Image Handler)

This PR introduces a front-end component that can dynamically process images by changing their size, fitment, crop, and color.
NOTE: ResponsiveImageComponent relies on infrastructure that is deployed as part of Jam3/frontend-devops-boilerplate. Without supporting infrastructure created by the AWS Serverless Image Handler solution, this component will fallback to using local image without any dynamic processing.
Since this PR relies on infrastructure to test functionality properly, I have specifically created a temporary deployment that mimics a typical Jam3 production static site just for testing this PR.
Front-End Repository: Jam3/glebs-frontend-sandbox
Dev-Ops Repository: Jam3/glebs-frontend-sandbox
URL: https://prod.glebs-frontend-sandbox.jam3.cloud.jam3.net/

Begin by removing the image hash that is generated by Next.js image optimization. This is a requirement because the hashed names generated by Next.js causes a conflict in the retrieval of images from S3. (Potentially we can entirely remove compile time image optimization, but keeping it for safety and backwards compatibility).
https://github.com/Jam3/nextjs-boilerplate/blob/236136a2f59932c4ac04b910f6b768af25297f35/next.config.js#L10

There is a new environment variables that must be specified NEXT_PUBLIC_SERVERLESS_IMAGE_HANDLER_CDN (the URL of deployment environment with /images/ suffix). The value for this variable will be provided by the dev-ops or TA assigned on project. For an example reference Jam3/glebs-frontend-sandbox.
https://github.com/Jam3/nextjs-boilerplate/blob/0615ea974f5a2298a9582dcd715fb028c40f4ca5/.env.development#L18-L19

Whitelist the image CDN URL for the img-src CSP. This is only required for local development, once deployed, the image CDN should live on the same origin as the application.
https://github.com/Jam3/nextjs-boilerplate/blob/01ebcaa0765bf49d0b95a8ea09ffde4f419d19fc/src/components/Head/ContentSecurityPolicy.tsx#L25-L26

The remaining files define the actual ResponsiveImage component. The main functionality of ResponsiveImage.tsx is to process a local image src into an encoded URL string expected by the CDN. Also there is direct support for srcset and sizes attributes.

NOTE The AWS services actually runs processing on images already uploaded to an S3 bucket. So this component will produce a 404 error if the image that you are trying to optimize has not been deployed yet as part of a previous build.
NOTE Unfortunately this will not work correctly with Storybook. It seems like Storybook runs some custom WebPack processing changing the name of the image and no longer matches what is on S3
Additional Readings: https://aws.amazon.com/solutions/implementations/serverless-image-handler/

@grez96 Closing this PR in favor of https://github.com/Jam3/nextjs-boilerplate/pull/269, please review if we missed something


Using array_agg/set_agg causes segfault

This is with PipelineDB 0.9.3 and latest pipeline_kafka from master
I tried using array_agg/set_agg within a continuous view for the first time and it caused a segfault immediately. Once this segfault happens, PipelineDB is unable to recover from this and the only way to get it going again is to restart it.
Segmentation fault (PID 9920)
version: PipelineDB 0.9.3 at revision 4c750ee118c1d4c91f784dda6b79d1f000561e6e on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4, 64-bit
backtrace:
pipelinedb: bgworker: combiner6 [pipeline]   (debug_segfault+0x15)[0x60e975]
/lib/x86_64-linux-gnu/libc.so.6(+0x36cb0)[0x7f9e5eff3cb0]
pipelinedb: bgworker: combiner6 [pipeline]   (arrayaggstatesend+0x1a)[0x6ea71a]
pipelinedb: bgworker: combiner6 [pipeline]   [0x5ba0f2]
pipelinedb: bgworker: combiner6 [pipeline]   (ExecProject+0x15d)[0x5bf80d]
pipelinedb: bgworker: combiner6 [pipeline]   [0x5c4c56]
pipelinedb: bgworker: combiner6 [pipeline]   (ExecAgg+0xb8)[0x5c4da8]
pipelinedb: bgworker: combiner6 [pipeline]   (ExecProcNode+0x96)[0x5b8bc6]
pipelinedb: bgworker: combiner6 [pipeline]   (ExecutePlan+0x54)[0x5b7074]
pipelinedb: bgworker: combiner6 [pipeline]   (standard_ExecutorRun+0xea)[0x5b71ba]
pipelinedb: bgworker: combiner6 [pipeline]   [0x6ce098]
pipelinedb: bgworker: combiner6 [pipeline]   (PortalRun+0x24f)[0x6cf42f]
pipelinedb: bgworker: combiner6 [pipeline]   [0x6600db]
pipelinedb: bgworker: combiner6 [pipeline]   (ContinuousQueryCombinerMain+0x328)[0x6604c8]
pipelinedb: bgworker: combiner6 [pipeline]   [0x65d1a8]
pipelinedb: bgworker: combiner6 [pipeline]   (StartBackgroundWorker+0x19b)[0x66a87b]
pipelinedb: bgworker: combiner6 [pipeline]   [0x676ae5]
pipelinedb: bgworker: combiner6 [pipeline]   [0x470d37]
pipelinedb: bgworker: combiner6 [pipeline]   (PostmasterMain+0xea4)[0x6787b4]
pipelinedb: bgworker: combiner6 [pipeline]   (main+0x3ee)[0x47158e]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f9e5efdef45]
pipelinedb: bgworker: combiner6 [pipeline]   [0x4715f5]
2016-08-02 11:20:12 EDTLOG:  worker process: combiner6 [pipeline] (PID 9920) exited with exit code 1
Here is the continuous view
create continuous view conops_ats with (max_age = '2 hours') as select
payload->>'distribution_timeshiftformat' as dtf,
array_agg((payload->>'datatransfer_requestdurationMsecs')::integer) as
xd, sum((payload->>'datatransfer_requestdurationMsecs')::integer) as
sum_xd, count(*) filter (where
((payload->>'datatransfer_requestdurationMsecs')::integer) > 0) as
xd_cnt, date_trunc('minute',
to_timestamp((payload->>'timestamp_received')::bigint/1000)) as ts,
payload->>'datatransfer_server_name' as sname,
payload->>'datatransfer_server_ip' as sip,
payload->>'datatransfer_server_cdn' as cdn,
payload->>'platform_devicetype' as pdt, payload->>'stream_format' as sf,
((payload->>'playback_quality_bitrate')::numeric) as bitrate from
cdn_stream group by ts, dtf, cdn, sname, sip, sf, pdt, bitrate;

Hi @sutram! This was fixed by https://github.com/pipelinedb/pipelinedb/commit/c2b6bf4fff45da1970d71ac4e10fd8f3f63e4626
I'm still going to run your CV just to confirm that this is the same issue and will report back shortly.

Confirmed, fixed for the next release.


Handle leading underscores in property names

I'm working with a spec that has something like:
      properties:
        _version:
          type: string
        version:
          type: int

Now surely there's some better naming they could have used whilst designing the response, but that's not in my control. As it is, oapi-codegen generates a duplicate Version field for both of these properties.
This PR updates the name prefix to add an Underscore prefix in this case, de-duplicating the field names.

Thanks for the fix, @tobio! Mind running make generate, and committing the changes?

NP! For these ones, we generally don't try and make them backwards-compatible, so I'm happy merging as-is :grinning:


Turn off the signatures by default.

This is just something I did locally, but it could be extended
to make it an option for people to turn it on or off.

@lukestokes, Thank you for pushing this change.
We agree that this signature is not something everybody wants.
But having a custom signature is a feature that has also been requested several times.
I made some changes to include the signature in the editor, allowing users to set their own easily.
That features along with some changes since last version is available on our development URL : http://very-fast-reply.surge.sh
At the moment, the signature sent with fast-reply is set as default but can be changed or removed just by clicking on it. Once set it is kept in local storage, directly loaded for future sessions.

@oroger that sounds like a great compromise, thank you. I'll go ahead and close this out. I've been using my modified version locally and enjoying it. Thanks!


Is there any way to disable logs?

I'm using Jupyter Notebook with Multiprocessing Pool method to extract templates from reactions.
Could not validate reaction successfully
ID: 9
retro_canonical: [#7;a:1]:[c:2]-[Cl;H0;D1;+0:3].[ClH;D0;+0:3]>>[#7;a:1]:[c:2]-[Cl;H0;D1;+0:3]

Is there any way to disable logs, something like rdkit's RDLogger.disable("rdApp.*")?

Not without a slight modification to the source, but it should be fairly straightforward if you're comfortable with Python. This is one of a couple hardcoded print statements: https://github.com/connorcoley/rdchiral/blob/b8cd87e6d8b8c877fa5712e25e0b6ccadeb169d2/rdchiral/template_extractor.py#L806


Add gltf light import.

For @aaronfranke, will do a 4.0 branch in a bit.

Test case: https://github.com/KhronosGroup/glTF-Sample-Models/tree/adf2abe718a61a6859b29fab481bfbbdfc05df24/2.0/Lights

Thanks!


Fix malformed docsrs detection in cfg attrs

spinoso-string erroneously used a docsrs feature rather than a docsrs cfg.
error: unexpected `cfg` condition value: `docsrs`
    --> spinoso-string/src/lib.rs:1407:16
     |
1407 |     #[cfg_attr(feature = "docsrs", doc(cfg(feature = "casecmp")))]
     |                ^^^^^^^^^^^^^^^^^^
     |
     = note: expected values for `feature` are: `casecmp`, `default`, `nul-terminated`, `std`
     = help: consider adding `docsrs` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration

Failures in latest nightly: https://github.com/artichoke/artichoke/actions/runs/9119362621/job/25074562565?pr=2712

Merged in the branch from https://github.com/artichoke/artichoke/pull/2712 to get the build all green.


FIRRemoteConfigValue doubleValue never returns nil

[REQUIRED] Step 1: Describe your environment

Xcode version: 11.6
Firebase SDK version: 6.6.7
Firebase Component: RemoteConfig
Component version: 6.23.0
Installation method: CocoaPods

[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
Get the config value for a non existent key with no default. Read numberValue from the config value. I expect this to return nil, but it always returns 0.
From the source, this value cannot return nil.
If stringValue is nil, stringValue.numberValue will return nil, which will be implicitly casted to the double 0.
If stringValue is not nil and not a valid number, stringValue.numberValue will return the double 0, as per Apple's documentation.
Relevant Code:
remoteConfig.configValue(forKey: "non-existent-key-with-no-defaults").numberValue == nil // fails

#6192 may not be submitted since it would make iOS's implementation of remote config deviate from other platforms. It's possible we just change the nullability annotation instead to make numberValue return a nonnull number instead, though this is still pending some discussion.
If you want to check for the absence of a value in the config payload, you can do so by looking at the source property.

Marking for Firebase 7 major release, since we should resolve this either of the two ways described above by then.


Update sbt-typelevel to 0.5.0-M9

Updates org.typelevel:sbt-typelevel from 0.5.0-M5 to 0.5.0-M9.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel", artifactId = "sbt-typelevel" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.typelevel", artifactId = "sbt-typelevel" }
}]

labels: sbt-plugin-update, early-semver-pre-release, semver-spec-pre-release, commit-count:n:2

Superseded by #75.


Add falcon?

Can we add falcon?
https://github.com/socketry/falcon
It's a complete http 1.x and 2.x client/server implementation.

@ioquatix  Yes, of course, Please do. Falcon more than welcome. Cheers. Prost.

Should I just make a PR? Thanks.

Please do, Yes.


function get changes to => functionget

function get(... - when I copy and paste this into visual studio, this line gets converted to functionget(... this causes a whole lot of problem, would it be easier to change the function name to getEl???

You should disable auto-correct in Visual Studio :-D

@hashar lol...


Use FFI with nativeshell

Hi, I'm working with nativeshell and I was wondering if it's possible to use flutter_rust_bridge with it. I'm following the docs but can't seem to figure out how the XCode linking part will work on macOS since nativeshell is a custom embedder and abstracts away all of that. Is there a "cross-platform" way to compile and link binaries or am I missing something?

Hi, I'm working with nativeshell

Btw are you project owner of nativeshell, or just using it :)

if it's possible to use flutter_rust_bridge with it.

firstly try to run a hello-world rust function with that package. If that works, flutter_rust_bridge should work. Because flutter_rust_bridge is nothing but a code generator that generates some very normal Rust & Dart code.

Maybe you need to ask nativeshell's people about "how can I use my Rust code with it"

Appreciate your quick response.

Btw are you project owner of nativeshell, or just using it :)

I'm just using it :p

try to run a hello-world rust function with that package. If that works, flutter_rust_bridge should work

Okay so just an FYI, you can run rust code with nativeshell. It allows you to communicate between dart and rust via platform channels but I've noticed that they carry some overhead so I wanted to avoid it.
The thing is that in nativeshell projects there is no platform specific code required because it's almost seamlessly cross-platform and the way it achieves that is by embedding the flutter engine into its own desktop port written in rust. This means that there are no macos, windows or linux folders. You just write your flutter code, cargo run, and it works. I hope this makes things a little clear.

Maybe you need to ask nativeshell's people about "how can I use my Rust code with it"

You're right. I'll try asking this in the nativeshell repo. Someone might have already made it work. Thanks.

via platform channels

Well, I mean "how to communicate via dart:ffi package" indeed.


Improve manifest

new subcommand now sets up a git repo.

Make targets.test.name default to "tests-TestName".

Remove targets.lib.path and targets.bin.path in new template.

What happens if a user specifies multiple test binaries?

It vary with the name of main.


No services discovered

Hello,
I have tested this on Ubuntu, Raspberry Pi OS, and macOS, and on neither platform does it successfully discover any services. On Ubuntu and Pi, it simply returns nil, whereas on macOS an error regarding an IP already being in use crashes the program.
require 'zeroconf'
all_services = ZeroConf.find_services
p all_services

mDNS is confirmed working on all three systems.

I think this is probably fixed on the latest version (v1.1.0).  Please give it a try.  If it's still broken, please let me know!

It is now discovering some services, but not all.


upgrade Go to 1.19

upgrade the Go version in Dockerfile used to build image
reducing binary size using ldflags
upgrading dependencies to the latest minor or patch version

@0xE282B0 @mschmidt291  I tried out the operator inspired by https://liquidreply.net/building-a-k8s-operator-to-manipulate-your-managed-cluster-nodes and did some housekeeping work.

LGTM.
Thank you @tillknuesting !


Bundling k8s client-go includes internal packages

Trying to bundle k8s client-go with godep throws the following error:

        imports k8s.io/client-go/kubernetes
	imports k8s.io/client-go/discovery
	imports k8s.io/client-go/pkg/api
	imports k8s.io/client-go/pkg/api/meta
	imports k8s.io/client-go/pkg/api/unversioned
	imports github.com/go-openapi/spec
	imports github.com/go-openapi/jsonreference
	imports github.com/PuerkitoBio/purell
	imports golang.org/x/text/secure/precis
	imports golang.org/x/text/cases
	imports golang.org/x/text/internal
	imports golang.org/x/text/language
	imports golang.org/x/text/internal/tag

What's the error message?

Closing as Unable to Reproduce. Please re-open with more information if you're still having this issue.


[Import-DbaXESessionTemplate] TargetFile and TargetFileMetadataPath parameters ignored

Verified issue does not already exist?
Yes
What error did you receive?
No errors. TargetFile and TargetFileMetadataPath parameters are ignored unless the template imported has specific properties defined.
Steps to Reproduce
Import-DbaXESessionTemplate -SqlInstance barfoo -Template 'Connection Detail Tracking' -EnableException -Name foobar -TargetFilePath foobar

It works successfully and the session with name foobar is created. Parameter TargetFilePath is ignored, as there is no event_file target at all. This is at least misleading. As neither help for the paramater, nor any logging says anything about it.
Are you running the latest release?
Yes
Other details or mentions
It is quite clear why from those lines:
https://github.com/sqlcollaborative/dbatools/blob/development/functions/Import-DbaXESessionTemplate.ps1#L161-L168
I would propose to create target file if it is not in the template.
Xml is imported on line 172. Replacing strings in the xml could be improved by properly modifying xml.
What PowerShell host was used when producing this error
Windows PowerShell (powershell.exe)
PowerShell Host Version
Name                           Value

PSVersion                      5.1.18362.1593
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.18362.1593
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
SQL Server Edition and Build number
Microsoft SQL Server 2016 (SP2-CU10) (KB4524334) - 13.0.5492.2 (X64)   Oct  4 2019 19:14:08   Copyright (c) Microsoft Corporation  Enterprise Edition (64-bit) on Windows Server 2016 Standard 10.0  (Build 14393: ) (Hypervisor)

@kirzas Are you able to provide a pull request with the proposed changes?
@potatoqualitee Can you as the author of the command have a look at this issue?

yeah! i remember that this was on my todo list, but it was kinda challenging, so I put it off (xml or text parsing) :/ would be happy to review a PR.

Hi @kirzas - are you still around? Would you like to work on that?
Will change this from a bug to a feature request...


@sync-ignore isn't ignoring my local value, it deletes it

The latest 3.2.0 release implemented @sync-ignore pragma, see #640, but I don't think it's working as expected.
These were my steps to reproduce:

Add // @sync-ignore before "window.zoomLevel": 1.
Upload
Download (forced download to be sure)

I would expect that my local settings.json still contains this:
    // @sync-ignore
    "window.zoomLevel": 1

but it didn't, these two lines were removed. Removing is not ignoring. In practice, this messes up my zoomLevel every time I invoke download which is unpleasant.

@ioprotium can you look into it

@shanalikhan sure. The problem comes from the Sync settings initial behavior. When settings are downloaded it overwrites the entire file. We should compare the existent file and extract all the @sync-ignore  in order to merge them with the downloaded settings before writing the file.
That shouldn't be difficult. But we need to define the following: when we merge the settings in order to keep the ignored ones, those will be

At the beginning of the file
At the end
Every ignored setting should keep its own line position // this will be a little tricky I think

What do you think?
To fix this should I pull from master or some other branch?

In my opinion, keep all the sync-ignored at the beginning of the file could be a good practice to make more readable the settings file.

yes, thats perfect.
For PR, you can pull from master.

@shanalikhan Today I will start with this. Sorry for the delay, busy week at work.


Using kill on image doesn't end running meh process

Steps to reproduce:

Open any file with meh imageFile
Use kill on the opened image (in this case i3wm shortcut for killing the window).

Verify in separate terminal session that process still exists: pgrep meh

Pressing q on the active opened image closes process properly.

Strangely xprop doesn't register any unique details on opened images:
(attaching this because it might be the reason why kill command cannot end running process due to missing pid?)
_NET_WM_DESKTOP(CARDINAL) = 1
_NET_WM_STATE(ATOM) =
WM_STATE(WM_STATE):
		window state: Normal
		icon window: 0x0
WM_NORMAL_HINTS(WM_SIZE_HINTS):

Didn't notice the solution awaiting merge: #16


Support for extensions

I have come to love the response-targets extension which allows you to specify hx-target-401="#unauth" or hx-target-errors="#errDiv".
I know that there is support for the hx-ext="<>" attribute, but is there any plan to introduce suggestions based on an ext present in the document, or maybe a way to configure which extensions you use often, and would like suggestions for?

Related: "intelligent" support for hx-ext tags are being discussed in #14

Closing as implementation of #14 is preferred


Node-red fills syslog with error close messages

Get hundreds of error messges filling the syslog. What should I do?
Console:
Starting as a systemd service.
Started Node-RED graphical event wiring tool..
31 Aug 11:39:24 - [info]
Welcome to Node-RED
31 Aug 11:39:24 - [info] Node-RED version: v0.17.2
31 Aug 11:39:24 - [info] Node.js  version: v6.11.2
31 Aug 11:39:24 - [info] Linux 3.4.113-sun8i arm LE
31 Aug 11:39:26 - [info] Loading palette nodes
31 Aug 11:39:38 - [info] Dashboard up and running
31 Aug 11:39:43 - [info] Dashboard version 2.4.1 started at /ui
31 Aug 11:39:45 - [warn] ------------------------------------------------------
31 Aug 11:39:45 - [warn] [rpi-gpio] Info : Ignoring Raspberry Pi specific node
31 Aug 11:39:45 - [warn] ------------------------------------------------------
31 Aug 11:39:45 - [info] Settings file  : /home/pi/.node-red/settings.js
31 Aug 11:39:45 - [info] User directory : /home/pi/.node-red
31 Aug 11:39:45 - [info] Flows file     : /home/pi/.node-red/flows_mosquitto.json
31 Aug 11:39:46 - [info] Server now running at http://<IP_ADDRESS>:1880/
31 Aug 11:39:46 - [info] Starting flows
31 Aug 11:39:49 - [info] Started flows
error
close
31 Aug 11:39:49 - [info] [mqtt-broker:8e79b041.968cc] Connected to broker: mqtt://<IP_ADDRESS>:8                                   883
error
close
error
close
error
close
error
close
error
close
error
close
error
close
error
close
error
close
error
close
error
close
error
close
error
close
error
close
Syslog:

Hi, thanks for raising an issue.
If you check out our contribution guidelines you'll see we prefer to handle this sort of thing on the mailing list, slack team or you could ask a question on Stack Overflow and tag it node-red. That way the whole Node-RED user community can help, rather than rely on the core development team.
You'll need to provide some more information about what you're doing. There's nothing in node-red that will output those sorts of messages. It appears you have something that is doing console.log rather than using node-red's own logging system.
Thanks!

Issue was with "blynk-websockets-out-write" node. I had to restore an older DB. Now Node-Red its working again

Did you report that error to the author of the node ? Thanks.


Firefox Support

I decided to move to FF now that version 57 is out and one of the extensions I miss that is this one.  I can install it via Chrome Store Foxified  and it mostly works! The only issue is that Chrome Store Foxified doesn't give access to the options area, which is needed for a nightmode user like I.

Hey Two-Tone,
Never heard of Chrome Store Foxified before! I'll look into proper Firefox support at some point, but I'm a bit busy with life at the moment. It shouldn't be too hard though since Firefox now support WebExtensions.

In the meantime, if you are the hacky type and know where Chrome Store Foxified stores extensions data, this is the value you'd want to edit: reddit_au_options.usesRES and set to true.

Would appreciate Firefox support :)

The extension is now available for Firefox 52+,
please create a new issue if it doesn't work for whatever reason.
https://addons.mozilla.org/firefox/addon/reddit-comment-highlights/

thanks a lot <3


glmatrix

URL(s)

Request type

[ ] New documentation
[ ] Correction or update

Details

No information provided. Closing.


immer pinentry. pinentry cleanup. better typing for remote windows

[ ] after release

@keybase/react-hackers bump

If I keybase login with this pinentry opens for a moment then closes

Did you restart hot server


Seems to just display an error instead of an allocation name

Describe the Bug
Besides #4, I have this problem where the allocation is just listed as: 'Error\n at imports.wbg.__wbg_onalloczeroed_6fc8d…/mateversum_bg.wasm:wasm-function[1432]:0x2c4a6d)':

instead of something more meaningful. Do I need to enable debug info in a specific way for this?

The allocation's name is based on creating an error and getting its stack info. That's why the name starts from Error.
The real problem is chrome's console.table() output squash the long name in the table cell. So I recommend you use firefox to get readable results.
Here's how the table looks like in firefox


Peer/industry scores available?

Are there peer/industry scores akin to those associated with Office 365 available?  Thanks.

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

ID: c0554513-d846-079c-6bfc-d27aab78b442
Version Independent ID: 6c8a971c-fc8b-baca-2ad4-518bf2e75aa5
Content: Security recommendations in Azure Security Center
Content Source: articles/security-center/security-center-recommendations.md
Service: security-center
GitHub Login: @memildin
Microsoft Alias: memildin

@langstonj Thanks for your feedback! We will investigate and update as appropriate.

@langstonj Security Center generates overall secure score of your subscriptions and resources which is the accumulation of all of your resources.  For any other subscriptions it would depend on the recommendation scores of the resources under it whereas Office 365 scores are generated based on the O365 services (Exchange, OneDrive, SharePoint, etc.).

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


Stacking with evaluation set

I'm working with patient data collected for a few years.
The last year of the data is used as a test set and the year before is kept for validation.
According to the documentation, it is not possible to enable stacking and use a validation set. If stacking is enabled, the validation set is also used for training, I assume the score reported is the out-of-bag score. However, in my case, this badly overfits the data, the score on the test set is low while the out-of-bag score is relatively good, it will be more beneficial in this case to report the score on the validation set and not use it for training, this will enable me to select the best performing model for my needs.
Using hyperparameter tunning instead of stacking and maximizing the score on the validation set gives better performance, which is not recommended in the documentation.
Am I missing something? Perhaps there is a workaround to enable scoring of the validation set?
Thank you all for your great job!

Thanks for the feature request! This is a good feature to have. AutoGluon does not currently support specifying a custom validation set for stacking as we use out-of-fold predictions. However, if you have co-variate shift in your data, this can result in heavy overfitting and worse results then if the validation set was used.
Adding this requires updating the stack ensemble API to take in validation data and early-stop/score using it rather than the out-of-fold predictions. This is do-able, but is a fairly complicated effort. I will see about this making it into the 0.1 release as I think it is a very useful feature.
In the meantime, you may be able to get better results by removing the time feature from your data or doing feature engineering on it so that it is simply dayofweek, monthofyear, etc. Tabular models often perform poorly when values are all smaller in training than in validation/test (such as seconds_from_epoch if data is split by time).
Another option is to use your validation data as input to predictor.leaderboard(val_data) in order to find the best scoring model on your validation data.

This has been added in #1105 and will be available in v0.3 release. You can specify use_bag_holdout=True in predictor.fit to enable during bagging/stacking.


How to set datetime range in rule ?

You can use a range filter on a timestamp field. Otherwise, you need to use --start and --end when running elastalert.


Enhanced Key Vault Certificate Download and AAD SP Integration

Quick update to the docs for --cert
Change az keyvault certificate download to better reflect the encoding options (PEM and DER).

$ az keyvault certificate download -h

Command
    az keyvault certificate download: Download a certificate from a KeyVault.

Arguments
    --file -f    [Required]: File to receive the binary certificate contents.
    --name -n    [Required]: Name of the certificate.
    --vault-name [Required]: Name of the key vault.
    --encoding -e          : Encoding of the certificate. DER will create a binary DER formatted
                             x509 certificate, and PEM will create a base64 PEM x509 certificate.
                             Allowed values: DER, PEM.  Default: PEM.
    --version -v           : The certificate version. If omitted, uses the latest version.

Global Arguments
    --debug                : Increase logging verbosity to show all debug logs.
    --help -h              : Show this help message and exit.
    --output -o            : Output format.  Allowed values: json, jsonc, table, tsv.  Default:
                             json.
    --query                : JMESPath query string. See http://jmespath.org/ for more information
                             and examples.
    --verbose              : Increase logging verbosity. Use --debug for full debug logs.

Usage:
$ az keyvault certificate download --vault-name level1osip9 -n sp-cert-level1 -f cert.crt -e DER
$ openssl x509 -in cert.crt -inform DER  -noout -sha1 -fingerprint
SHA1 Fingerprint=B6:5E:A6:A3:F7:19:EB:E8:BD:83:45:3D:A7:16:5C:A9:65:3F:51:5E
$ az keyvault certificate download --vault-name level1osip9 -n sp-cert-level1 -f cert.pem
$ openssl x509 -in cert.pem -inform PEM  -noout -sha1 -fingerprint
SHA1 Fingerprint=B6:5E:A6:A3:F7:19:EB:E8:BD:83:45:3D:A7:16:5C:A9:65:3F:51:5E

Codecov Report

Merging #3003 into master will decrease coverage by 0.07%.
The diff coverage is 46%.

@@            Coverage Diff            @@
##           master   #3003      +/-   ##
=========================================
- Coverage   63.17%   63.1%   -0.08%
=========================================
  Files         484     484
  Lines       27582   27621      +39
  Branches     4276    4280       +4
=========================================
+ Hits        17426   17431       +5
- Misses       9002    9034      +32
- Partials     1154    1156       +2

Impacted Files
Coverage Δ

...cli-role/azure/cli/command_modules/role/_params.py
100% <100%> (ø)
:arrow_up:

...ault/azure/cli/command_modules/keyvault/_params.py
86.15% <100%> (ø)
:arrow_up:

...yvault/azure/cli/command_modules/keyvault/_help.py
100% <100%> (ø)
:arrow_up:

src/azure-cli-core/azure/cli/core/util.py
67.16% <33.33%> (-0.27%)
:arrow_down:

...-cli-role/azure/cli/command_modules/role/custom.py
35.74% <34.28%> (-0.8%)
:arrow_down:

...vault/azure/cli/command_modules/keyvault/custom.py
67.55% <71.42%> (-0.19%)
:arrow_down:

...li-core/azure/cli/core/test_utils/vcr_test_base.py
69.18% <0%> (-1.41%)
:arrow_down:

...torage/azure/cli/command_modules/storage/custom.py
82.2% <0%> (-1.28%)
:arrow_down:

...e/azure/cli/command_modules/storage/_validators.py
54.4% <0%> (-1.13%)
:arrow_down:

...rc/azure-cli-testsdk/azure/cli/testsdk/__init__.py
100% <0%> (ø)
:arrow_up:

... and 2 more

Continue to review full report at Codecov.

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

Still LGTM. Feel free to merge when you are happy :grin:


item-sliding stops working if the item-option is open and the list changes dynamically

Bug Report
item-sliding stops working if the item-option is open and the list changes dynamically (Observable async)
Ionic Info
Ionic:

   ionic (Ionic CLI)          : 4.1.2 (/usr/lib/node_modules/ionic)
   Ionic Framework            : @ionic/angular 4.0.0-beta.7
   @angular-devkit/core       : 0.7.5
   @angular-devkit/schematics : 0.7.5
   @angular/cli               : 6.1.5
   @ionic/ng-toolkit          : 1.0.8
   @ionic/schematics-angular  : 1.0.6

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : none
   Cordova Plugins       : no whitelisted plugins (0 plugins total)

System:

   NodeJS : v8.11.3 (/usr/bin/node)
   npm    : 6.4.0
   OS     : Linux 4.15

Describe the Bug
item-sliding stops working if the item-option is open and the list changes dynamically (Observable async)
Steps to Reproduce
Steps to reproduce the behavior:

open an item-sliding and leave it open until you change the list that contains it (dynamically)

Expected Behavior
keep running normally
Additional Context
tested in the Chrome browser

If you force close all the slide items before/after the list changes, it should allow the item-option to continue to behave correctly. Ran into a similar scenario in my app, and calling slideItem.close() fixed future behavior.

Yes, having this issue still in beta.17

This was solved in the 4.0.2 release (latest is 4.1.1) please update! If you're still seeing this issue please let me know but I cannot reproduce it in latest, thanks!


Update file.py

In the original code, the variable data is finally just getting the value of the last line of the file.So fix it.
Description:
In the original code, the variable data is finally just getting the value of the last line of the file.So fix it
Now  the variable data is all the contents of the file.
Related issue (if applicable): fixes #
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>
Example entry for configuration.yaml (if applicable):

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

Hi @kukudemajia,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Hi @kukudemajia,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

I think this behavior is intentional - and useful for cases like reading the last line from a growing CSV/log file. At least the doc comment for the function makes that clear and the tests also appear to test for that exact behavior.
CC @fabaff (original creator, https://github.com/home-assistant/home-assistant/pull/7569)


Could not refresh instance

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the SQLModel documentation, with the integrated search.
[X] I already searched in Google "How to X in SQLModel" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to SQLModel but to Pydantic.
[X] I already checked if it is not related to SQLModel but to SQLAlchemy.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
from typing import Optional
from sqlmodel import Field, SQLModel

class Server(SQLModel, table=True):
    id: Optional[int] = Field(default=None, primary_key=True)
    ip: str
    health_status: Optional[str] = None
    cpu_cores: Optional[int] = None

@router.post("/add")
def add_server(item:Server):
    return server_action.add_server(item)

def add_server(item):
    with Session(engine) as session:
        session.add(item)
        session.commit()
        session.refresh(item) # could not refresh instance
        return item

Description
In sql model documentation I saw an example of session.refresh() but when I am trying to implement this in my fastapi project this not working and raise exception that is could not refresh instance and also I am trying to print item.id, this is not also working, raise exception that is expired.
Operating System
Linux
Operating System Details
No response
SQLModel Version
0.0.8
Python Version
3.10.6
Additional Context
raise sa_exc.InvalidRequestError(
sqlalchemy.exc.InvalidRequestError: Could not refresh instance '<Server at 0x7f69b549f500>'

database is mysql

del session.refresh(item)
add session.flush()

@JeseYe thanks but I want to know why session.refresh not refresh item.

I'm running into this problem myself as well. Pardon my ignorance, but shouldn't SQLModel do this for us? Or is this just something that must be done when using MySQL (assuming this isn't a problem for other DB types)?

I discovered a solution for this:
As it turns out, the object I was passing to the REST endpoint had an ID specified (the ID was 0). When I either don't specify an ID or set it to None prior to adding/committing/refreshing then everything works as desired.
def add_server(item):
    with Session(engine) as session:
        if item.id == 0:
            item.id = None
        session.add(item)
        session.commit()
        session.refresh(item) # now refreshes properly!
        return item

Although... again... shouldn't SQLModel (or FastAPI?) determine that since default=None is specified that it pass id=None inside the /docs endpoint? Right now, it passes id=0 for the primary key when I assumed it would've passed id=None...
    id: Optional[int] = Field(default=None, primary_key=True)

I also have this (or, rather, a similar) issue. But in my case I do have both defaults that are none, and a record with the same primary key in DB.
Code that doesn't work (right now at least)
Models
import uuid

import pydantic
from sqlmodel import Field, Relationship, SQLModel

from .faculty import FacultyModel

class CreateDepartment(SQLModel):
    name: str = Field(unique=True, index=True)
    description: str | None = Field(default=None, nullable=True)

class DepartmentRepresentation(BaseDepartment):
    department_id: pydantic.UUID4
    faculties: list[FacultyModel]

class DepartmentModel(BaseDepartment, table=True):
    """
    Describes a department in an educational institution.
    Highest level of organization in an educational institution.

    Departments have a list of associated faculties.
    """

    department_id: pydantic.UUID4 = Field(
        default_factory=uuid.uuid4,
        primary_key=True,
        index=True,
    )

    faculties: list[FacultyModel] = Relationship(back_populates="department")

Endpoint
Code sample:
@admin_router.put(
    "/department/{department_id}",
    description="Update a department",
)
async def update_department(
    db: Annotated[database_session_type, Depends(database_session)],
    department_id: str,
    department: Annotated[CreateDepartment, Body()],
    _: Annotated[DepartmentModel, Depends(department_exists)],
) -> DepartmentRepresentation:
    department_obj = DepartmentModel.model_validate(department)
    department_obj.department_id = department_id
    return update_entity(
        db=db,
        entity=department_obj,
    )

Basically - it takes in the model for a department, and spits out it's representation from the database by performing an update.
I'm using model validation to convert input to the DB model, and set the foreign key to the one specified in path.
department_exists just verifies that specified department_id is valid and is present in the DB
Update call
from sqlalchemy.exc import IntegrityError, InvalidRequestError
from sqlmodel import Session, SQLModel

from samurai_backend.errors import SamuraiIntegrityError

...

def update_entity(
    db: Session,
    entity: SQLModel,
) -> SQLModel:
    try:
        db.add(entity)
        db.commit()
        db.refresh(entity)

        return entity
    except (IntegrityError, InvalidRequestError) as e:
        db.rollback()
        raise SamuraiIntegrityError from e

Error
I get exception InvalidRequestError that looks like this:
(psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "departmentmodel_pkey"\nDETAIL:  Key (department_id)=(1523095d-3d9d-46a7-bed5-2e19d3314712) already exists.\n\n[SQL: INSERT INTO departmentmodel (name, description, department_id)...

There's a lengthy INSERT SQL query, which is performed in db.commit() line. Which is expected, I guess, but not helpful in this case.
Code that does work (right now)
Update the update_entity method with this content:
def update_entity(
    db: Session,
    entity: SQLModel,
) -> SQLModel:
    try:
        db.flush([entity])

        return entity
    except (IntegrityError, InvalidRequestError) as e:
        db.rollback()
        raise SamuraiIntegrityError from e

Basically - just use the flush command instead of add, commit and replace, as suggested there.
Obvious downside is that it's not recommended to use this method by the docstrings :shrimp:
Right now I see this as my only solution, but if you have different ideas, please, let me (or, rather - us) know.
Thanks!
Additional info
I'm using sqlmodel 0.0.16, the latest version at the moment of writing this comment.

had a similar issue, setting auto_increment=True on primary_key id solved it


Sync fails with no such package '@@intellij_aspect//'.

Description of the bug:
When I try to sync my project on new beta version of plugin, it fails with:
WARNING: errors encountered while analyzing target 'xxx', it will not be built.
no such package '@@intellij_aspect//': The repository's path is "intellij_aspect" (absolute: "/Users/zajdelovm/Library/Application Support/JetBrains/IdeaIC2024.2/plugins/ijwb_bazel.jar/aspect") but it does not exist or is not a directory.

When run it on previous versions of plugin it is completes with ok.
Which category does this issue belong to?
No response
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
No response
Which Intellij IDE are you using? Please provide the specific version.
idea 2024.2
What programming languages and tools are you using? Please provide specific versions.
No response
What Bazel plugin version are you using?
2<IP_ADDRESS>.1-api-version-242
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response

I can't reproduce that. Could you please try to uninstall and install plugin again?

@tpasternak Reinstalling the plugin doesn't help.

Hi, can you please share?

Plugin version
Channel (stable/beta)
IntelliJ Version
the result of bazel info release

This has been fixed in https://github.com/bazelbuild/intellij/releases/tag/v2024.12.03-stable


Limit MutationObserver mutations

Bug Fix, Maybe?
Description
This is a theory, with a potential solution. I could be way off.
The current MutationObserver fires in an endless loop, because setupDeclarativeReflexes (the code called from the observer) is making a mutation, hence rerunning setupDeclarativeReflexes.
Safari and Chrome seem to handle this ok. In Firefox, however, it causes a nasty flicker on selects. If you go to open a select dropdown, it never lets you choose another option, it continues to re-select the original value.

I believe this is the section of code causing the flicker, because if you stop the observer the flicker stops (but so does the SR functionality, obviously). If you bump the debounce time for setupDeclarativeReflexes to something higher, the flicker still happens, but at a slower pace.
The setupDeclarativeReflexes function seems to do one of two mutating things:

Adding stimulus-reflex to data-controller
Adding [event]->[Reflex]#__perform to data-action

I believe we can stop the endless loop by observing the mutations and not rerunning setupDeclarativeReflexes if either of these two mutations performed.
Fixes #251
Why should this be added
This feels like... not what we want?
Unfortunately, my MutationObserver knowledge is laughable, as we've only used it a handful of times in our own application. But, I wanted to do my part to try and help solve this issue.
I've forked this JS code into a repo to run against our app and so far it appears to be working. Granted, our app doesn't cover all the other ways people use Stimulus Reflex. 😅
As always, I'm open to suggestions and making changes.
Checklist

[x] My code follows the style guidelines of this project
[x] Checks (StandardRB & Prettier-Standard) are passing

How the hell did you even know oldValue was a thing? I swear it's not even mentioned in MDN.

Alright, I think I've got my head wrapped around this.
First, thank-you for transcending "I have a problem" to "...and here's a fix for it".  I also really appreciate that you take the peacemaker stance, almost apologizing for fixing problems sometimes.
In this case, I think you give us too much credit and this might have led to you assuming that we had any idea we'd introduced an infinite loop. I certainly did not realize, and I have a hunch that @hopsoft didn't when he wrote this function.
I do think I therefore have to disagree with your fix (although I'm happy to be schooled if I'm missing something!) because what you're doing is introducing a sane but ultimately brittle exception to the current MutationObserver handler. Instead, wouldn't it be better to prevent the infinite loop in the first place?
So far as I can tell from looking at the setupDeclarativeResources function, it's lines 248 and 254 in stimulus_reflex.js that are setting the data-controller and data-action attributes over and over, causing the loop. Wouldn't we be better off with something like:
      if (controllerValue && element[stimulusApplication.schema.controllerAttribute] != controllerValue) {
        element.setAttribute(
          stimulusApplication.schema.controllerAttribute,
          controllerValue
        )
      }
      if (actionValue && element[stimulusApplication.schema.actionAttribute] != actionValue)
        element.setAttribute(
          stimulusApplication.schema.actionAttribute,
          actionValue
        )

Also: @hopsoft I could be tired but doesn't the current line 248 and 254 of stimulus_reflex.js actually replace any other controllers present on the element at the time the stimulus-reflex attribute being placed? This would seem like it should break a huge number of things, especially in a world where there's a healthy selection of composable controllers people might be using on an element.

what you're doing is introducing a sane but ultimately brittle exception to the current MutationObserver handler. Instead, wouldn't it be better to prevent the infinite loop in the first place?

💯 I was grasping at straws and couldn't seem to grasp enough context to figure out how to prevent the loop.

Wouldn't we be better off with something like: (code that actually fixes the root problem)

YES! This is exactly what I wanted to do. 🎉 I had to make a slight modification, but it works like a dream. ❤
Thanks a ton @leastbad, I'm really happy to get this sorted out! 🎉

@leastbad Lines 248 and 254 do replace the current value but setupDeclarativeReflexes also preserves the original values and simply appends the changes to existing values for these attributes.


Make about_file field optional

Make about_file field optional so that you can generate attribution from about files that are detached from a resource location. This is useful in the case where there are multiple components in different locations, and you only want the component to show up in attribution once (vs multiple times)

Usage: genattrib.py [options] input_path output_path [component_list]

The attribution generation doesn't require an input csv file (a.k.a component_list). The tool read information from the ABOUT files and not the input list.
If user does not want to generate attribution from all the ABOUT files, he/she will need to provide a component_list to specific which ABOUT files should the tool look at.
@jdaguil can you explain a bit more about what is the issue (See #232 for the multiple components issue)?

I do not think this issue is needed anymore if a dupe-check component feature is added (See #232 for the multiple components issue). I opened this months ago, so if I recall correctly the flow process that was used that prompted me to enter this issue was in order to generate attribution I first needed the about files. And in order to generate the about files I must have the name, version, and about_file columns in my input csv. So when going through the the about file generation first, any duplicate name-version components will show up in the attribution file since they can come from different about files based on their about_file location. So you can have something like this show up in your attribution file. There is no added value here to have them listed twice in attribution, but they show up twice because they have unique about_file locations.
Reachability v 2.2
This component is licensed under Apple Example Code License.
Copyright (c) 2010 Apple Inc.
Full text of Apple Example Code License is available at the end of this document.
Reachability v 2.2
This component is licensed under Apple Example Code License.
Copyright (c) 2010 Apple Inc.
Full text of Apple Example Code License is available at the end of this document.
I think the thought process at the time was if the about_file field didn't have a value then the component wouldn't be generated, which I don't think is the right way to solve underlying problem. I think we should close in favor of #232.

So - if I want to document licenses in my codebase with ABOUT files, then there is a logical reason to have multiple copies of a component and yr genattrib file specifies which code location applies for which Deployed Product list. Is the issue from cases where you do not want to specify codebase location? Or is this from cases where we flatten the directory structure for storing  ABOUT files?

I think this is fixed as we recently handled the dedup things in template level meaning the users can have full control of what will be shown up in the attribution


[AGE-150] Support nested spans in the trace detail view on the frontend

The beta version of observability does not support nested spans.
From SyncLinear.com | AGE-150

@aybruhm can you please test this in staging?


Change makefile to install and verify tools versions in a less fragile way

See Joe's comment here for explanation and potential ways we can do this: https://github.com/operator-framework/operator-controller/pull/81#discussion_r1062007819
Rukpak uses a separate tools module in the repo to pull down the go tools binaries for use with the makefile targets. We could do something similar since it's a better implementation than what comes from the generated project here.
Example Makefile: https://github.com/operator-framework/rukpak/blob/main/Makefile
Example tools folder: https://github.com/operator-framework/rukpak/tree/main/hack/tools

Solved with https://github.com/operator-framework/operator-controller/pull/252


Gigasecond: append instructions

Link to time functions.
Follows #178

First draft
# awk-specific instructions

For your awk solution, you'll need to use the GNU awk [Time Functions][time-funcs].
Use the `utc-flag` argument.

[time-funcs]: https://www.gnu.org/software/gawk/manual/html_node/Time-Functions.html

The past coming back to taunt me: https://github.com/exercism/awk/blame/main/exercises/practice/gigasecond/.docs/instructions.append.md


URL for adaptive layout tutorial in UWP is 404

I've found that link for adaptive layout tutorial is not working - page is 404.

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

ID: 36cdac50-e6d8-f11f-e1d7-efbf1ca83f4f
Version Independent ID: 1f68766f-de08-460d-0b2e-396318967816
Content: Learning track - Construct and configure a form - UWP applications
Content Source: windows-apps-src/get-started/construct-form-learning-track.md
Product: uwp
Technology: get-started
GitHub Login: @QuinnRadich
Microsoft Alias: quradic

I've gone ahead and removed this link from the learning track, as the content no longer exists in its original form. Thanks for bringing this issue to our attention.


Update to bidding

Updates to the bidding to allow single/multi number bids up to 105,
A better scenario would be to check the item that is being bid if it's less than say 105G do not apply the below code else if it is then apply the below in relation to the ask * 1000.
Either way this allows for tracking of lazy bids and k bids that most GDKPs use.

I am with you that gold depreciated too much
but this is a confusing rule for users
why not default unit to k when bidding?

You default unit to k when bidding yes would make it easier for you as the developer.
There are 2 scenarios trying to account for here as part of the update:
With most users like to be lazy and just type 2 for 2000 and 10 or 12 for 10000 or 12000 respectively and will not always put in the "k"
The other is users who use another addon which attributes the "k" value and they're used to typing 2k, 10k, 12k.
To capture those 2 scenarios where we have new raiders come in and instead of telling them "You have to type the whole number out" the edit made would account for those 2 scenarios.

https://www.curseforge.com/wow/addons/raidledger?comment=54 the logic for "k" would fix this.
I understand if you don't like the "single number" bids as it may be too confusing for users.
Another option is figuring out how to put this in as an option when bidding and setting a threshold at that "105" through the bidding window.


Implemented CheckNull on DBC

Two potential optimizations are currently disabled in DBC due to absence of CheckNull:
https://github.com/dart-lang/sdk/blob/28734c5f23a6ce3172c0cc6977702970d4d9a49a/runtime/vm/compiler/frontend/kernel_binary_flowgraph.cc#L2132 Using unchecked entry-point for statically-typed closure calls in DBC.
https://github.com/dart-lang/sdk/blob/28734c5f23a6ce3172c0cc6977702970d4d9a49a/runtime/vm/compiler/backend/flow_graph.cc#L501 Reduce CheckClass to CheckNull when the concrete receiver type of an inlined method is statically known.
@mraleph

Thanks for reporting this @sjindel-google!
CheckNull on DBC is also blocking for #35773, with these two optimizations I can directly test my implementation of CheckNull on DBC. :)


My SQL Issue

It was build without any issue but when tring to up the mysql it'll exit with code 1. bellow is the log.
✔ Container laradock-mysql-1  Created                                                                                0.0s
Attaching to mysql-1
mysql-1  | 2024-07-04 08:45:58+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.0.0-1.el9 started.
mysql-1  | 2024-07-04 08:45:58+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
mysql-1  | 2024-07-04 08:45:58+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.0.0-1.el9 started.
mysql-1  | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
mysql-1  | 2024-07-04T08:45:58.882484Z 0 [System] [MY-015015] [Server] MySQL Server - start.
mysql-1  | 2024-07-04T08:45:59.151218Z 0 [Warning] [MY-010915] [Server] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
mysql-1  | 2024-07-04T08:45:59.153069Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 9.0.0) starting as process 1
mysql-1  | 2024-07-04T08:45:59.154729Z 0 [Warning] [MY-013242] [Server] --character-set-server: 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
mysql-1  | 2024-07-04T08:45:59.161123Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
mysql-1  | 2024-07-04T08:45:59.611784Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
mysql-1  | mysqld: Table 'mysql.plugin' doesn't exist
mysql-1  | 2024-07-04T08:45:59.789324Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
mysql-1  | 2024-07-04T08:45:59.789709Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
mysql-1  | 2024-07-04T08:45:59.789978Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
mysql-1  | 2024-07-04T08:45:59.790239Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
mysql-1  | 2024-07-04T08:45:59.790604Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
mysql-1  | 2024-07-04T08:45:59.790852Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
mysql-1  | 2024-07-04T08:45:59.791088Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
mysql-1  | 2024-07-04T08:45:59.791317Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
mysql-1  | 2024-07-04T08:45:59.850014Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
mysql-1  | 2024-07-04T08:45:59.925321Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
mysql-1  | 2024-07-04T08:45:59.950145Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
mysql-1  | 2024-07-04T08:45:59.950235Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
mysql-1  | 2024-07-04T08:45:59.960992Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
mysql-1  | 2024-07-04T08:45:59.961729Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
mysql-1  | 2024-07-04T08:45:59.962087Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
mysql-1  | 2024-07-04T08:45:59.962117Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
mysql-1  | 2024-07-04T08:45:59.962371Z 0 [ERROR] [MY-000067] [Server] unknown variable 'mysql_native_password=on else echo default-authentication-plugin=mysql_native_password'.
mysql-1  | 2024-07-04T08:45:59.964077Z 0 [ERROR] [MY-010119] [Server] Aborting
mysql-1  | 2024-07-04T08:46:01.034251Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 9.0.0)  MySQL Community Server - GPL.
mysql-1  | 2024-07-04T08:46:01.034270Z 0 [System] [MY-015016] [Server] MySQL Server - end.
mysql-1 exited with code 1

更换为8.0+版本的mysql也会出现bug，下方是log
2024-07-05 14:12:09 2024-07-05 14:12:09+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.38-1.el9 started.
2024-07-05 14:12:10 2024-07-05 14:12:10+08:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-07-05 14:12:10 2024-07-05 14:12:10+08:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.38-1.el9 started.
2024-07-05 14:12:10 '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-07-05 14:12:10 2024-07-05T06:12:10.599715Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead.
2024-07-05 14:12:10 2024-07-05T06:12:10.599763Z 0 [Warning] [MY-010915] [Server] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
2024-07-05 14:12:10 2024-07-05T06:12:10.603267Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.38) starting as process 1
2024-07-05 14:12:10 2024-07-05T06:12:10.604129Z 0 [Warning] [MY-013242] [Server] --character-set-server: 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
2024-07-05 14:12:10 2024-07-05T06:12:10.606659Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for /var/lib/mysql/ is case insensitive
2024-07-05 14:12:10 2024-07-05T06:12:10.613048Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-07-05 14:12:10 2024-07-05T06:12:10.880249Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-07-05 14:12:10 mysqld: Table 'mysql.plugin' doesn't exist
2024-07-05 14:12:10 2024-07-05T06:12:10.976544Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2024-07-05 14:12:10 2024-07-05T06:12:10.976811Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-05 14:12:10 2024-07-05T06:12:10.976976Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-05 14:12:10 2024-07-05T06:12:10.977129Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-05 14:12:10 2024-07-05T06:12:10.977384Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-05 14:12:10 2024-07-05T06:12:10.977584Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-05 14:12:10 2024-07-05T06:12:10.978243Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-05 14:12:10 2024-07-05T06:12:10.978608Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-05 14:12:11 2024-07-05T06:12:11.030700Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-07-05 14:12:11 2024-07-05T06:12:11.104352Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-07-05 14:12:11 2024-07-05T06:12:11.114037Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-07-05 14:12:11 2024-07-05T06:12:11.114410Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-07-05 14:12:11 2024-07-05T06:12:11.122914Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2024-07-05 14:12:11 2024-07-05T06:12:11.123323Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-05 14:12:11 2024-07-05T06:12:11.123558Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2024-07-05 14:12:11 2024-07-05T06:12:11.123611Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2024-07-05 14:12:11 2024-07-05T06:12:11.123707Z 0 [ERROR] [MY-000067] [Server] unknown variable 'mysql_native_password=on else echo default-authentication-plugin=mysql_native_password'.
2024-07-05 14:12:11 2024-07-05T06:12:11.124093Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-07-05 14:12:12 2024-07-05T06:12:12.248991Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.38)  MySQL Community Server - GPL.

The same problem happened to me.

I have to comment on this part in /mysql/Dockerfile:

# RUN if [ ${MYSQL_VERSION} > '8.4.0-0.000' ]; then \
#   echo 'mysql-native-password=ON' >> /etc/mysql/conf.d/my.cnf \
# else \
#   echo 'default-authentication-plugin=mysql_native_password' >> /etc/mysql/conf.d/my.cnf \
# ;fi

I added this part in my.cnf:
default-authentication-plugin=mysql_native_password
Finally I had to set the version to 8.3:
MYSQL_VERSION=8.3

Only in these configurations was I able to run MySQL on Docker.

@bestlong when you made the pull request #3521, was it working in your environment? Do you believe we are doing something wrong?

related

#3520,
#3530,
#3524

The same problem happened to me.

I have to comment on this part in /mysql/Dockerfile:

# RUN if [ ${MYSQL_VERSION} > '8.4.0-0.000' ]; then \
#   echo 'mysql-native-password=ON' >> /etc/mysql/conf.d/my.cnf \
# else \
#   echo 'default-authentication-plugin=mysql_native_password' >> /etc/mysql/conf.d/my.cnf \
# ;fi

I added this part in my.cnf:
default-authentication-plugin=mysql_native_password
Finally I had to set the version to 8.3:
MYSQL_VERSION=8.3

Only in these configurations was I able to run MySQL on Docker.

not for me :(

@rivara try #3537, That fix seems to work

@rivara try  Fix for bug #3535  #3537, That fix seems to work

works for you.... its only semiclon change....
RUN if [ ${MYSQL_VERSION} > '8.4.0-0.000' ]; then
echo 'mysql_native_password=on' >> /etc/mysql/conf.d/my.cnf
else
;else
echo 'default-authentication-plugin=mysql_native_password' >> /etc/mysql/conf.d/my.cnf
;fi

@rivara, You probably have MYSQL_VERSION=latest in your .env, and that now pulls down MySQL version 9, which removed mysql-native-password=ON. Set your MySQL version to 8.4.1.

@rivara, You probably have MYSQL_VERSION=latest in your .env, and that now pulls down MySQL version 9, which removed mysql-native-password=ON. Set your MySQL version to 8.4.1.

Impossible, I have tried all possible combinations and when I don't set the variables, MySQL starts up but when I connect with HeidiSQL or through the console, I get an error that mysql_native_password doesn't load.
And when I set the variables, the service doesn't start...

I also have the same problem I tried every solution provided in this open issue and other different github issues related to this one. I did not get any solution.
2024-07-12 00:36:05 2024-07-12 03:36:05+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.0.0-1.el9 started.
2024-07-12 00:36:06 2024-07-12 03:36:06+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-07-12 00:36:06 2024-07-12 03:36:06+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.0.0-1.el9 started.
2024-07-12 00:36:07 '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-07-12 00:36:07 2024-07-12T03:36:07.191761Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-07-12 00:36:07 2024-07-12T03:36:07.396324Z 0 [Warning] [MY-010915] [Server] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
2024-07-12 00:36:07 2024-07-12T03:36:07.399562Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 9.0.0) starting as process 1
2024-07-12 00:36:07 2024-07-12T03:36:07.401119Z 0 [Warning] [MY-013242] [Server] --character-set-server: 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
2024-07-12 00:36:07 2024-07-12T03:36:07.403408Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for /var/lib/mysql/ is case insensitive
2024-07-12 00:36:07 2024-07-12T03:36:07.416298Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-07-12 00:36:08 2024-07-12T03:36:08.504374Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-07-12 00:36:08 mysqld: Table 'mysql.plugin' doesn't exist
2024-07-12 00:36:08 2024-07-12T03:36:08.650470Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2024-07-12 00:36:08 2024-07-12T03:36:08.650656Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-12 00:36:08 2024-07-12T03:36:08.650864Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-12 00:36:08 2024-07-12T03:36:08.651103Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-12 00:36:08 2024-07-12T03:36:08.651414Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-12 00:36:08 2024-07-12T03:36:08.651610Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-12 00:36:08 2024-07-12T03:36:08.651811Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-12 00:36:08 2024-07-12T03:36:08.652023Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-12 00:36:08 2024-07-12T03:36:08.728835Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-07-12 00:36:08 2024-07-12T03:36:08.806526Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-07-12 00:36:08 2024-07-12T03:36:08.827787Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-07-12 00:36:08 2024-07-12T03:36:08.828214Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-07-12 00:36:08 2024-07-12T03:36:08.843134Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2024-07-12 00:36:08 2024-07-12T03:36:08.843454Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-12 00:36:08 2024-07-12T03:36:08.843746Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2024-07-12 00:36:08 2024-07-12T03:36:08.843874Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2024-07-12 00:36:08 2024-07-12T03:36:08.844054Z 0 [ERROR] [MY-000067] [Server] unknown variable 'mysql_native_password=on else echo default-authentication-plugin=mysql_native_password'.
2024-07-12 00:36:08 2024-07-12T03:36:08.845648Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-07-12 00:36:10 2024-07-12T03:36:10.016387Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 9.0.0)  MySQL Community Server - GPL.
2024-07-12 00:36:10 2024-07-12T03:36:10.016420Z 0 [System] [MY-015016] [Server] MySQL Server - end.

+1
I met same issue
2024-07-12 17:31:20 2024-07-12 08:31:20+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.0.0-1.el9 started.
2024-07-12 17:31:20 2024-07-12 08:31:20+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-07-12 17:31:20 2024-07-12 08:31:20+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.0.0-1.el9 started.
2024-07-12 17:31:20 '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-07-12 17:31:20 2024-07-12T08:31:20.427629Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-07-12 17:31:20 2024-07-12T08:31:20.571059Z 0 [Warning] [MY-010915] [Server] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
2024-07-12 17:31:20 2024-07-12T08:31:20.572394Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 9.0.0) starting as process 1
2024-07-12 17:31:20 2024-07-12T08:31:20.573325Z 0 [Warning] [MY-013242] [Server] --character-set-server: 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
2024-07-12 17:31:20 2024-07-12T08:31:20.574105Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for /var/lib/mysql/ is case insensitive
2024-07-12 17:31:20 2024-07-12T08:31:20.577308Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-07-12 17:31:20 2024-07-12T08:31:20.674816Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-07-12 17:31:20 2024-07-12T08:31:20.800341Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-07-12 17:31:20 2024-07-12T08:31:20.800394Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-07-12 17:31:20 2024-07-12T08:31:20.803132Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2024-07-12 17:31:20 2024-07-12T08:31:20.804778Z 0 [ERROR] [MY-000067] [Server] unknown variable 'mysql_native_password=on'.
2024-07-12 17:31:20 2024-07-12T08:31:20.805138Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-07-12 17:31:21 2024-07-12T08:31:21.866064Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 9.0.0)  MySQL Community Server - GPL.
2024-07-12 17:31:21 2024-07-12T08:31:21.866082Z 0 [System] [MY-015016] [Server] MySQL Server - end.

I also had the same issue. Running MySql 8.0.32, on Mac OS.
The if evaluation wasn't running correctly, making this change fixed it for me:
`# RUN if [ ${MYSQL_VERSION} > '8.4.0-0.000' ]; then \
echo 'mysql_native_password=on' >> /etc/mysql/conf.d/my.cnf \
else \
echo 'default-authentication-plugin=mysql_native_password' >> /etc/mysql/conf.d/my.cnf \
;fi
RUN echo 'default-authentication-plugin=mysql_native_password' >> /etc/mysql/conf.d/my.cnf`
Obviously this isn't a good long term solution (if I ever wanted to upgrade past 8.4 I would manually have to change it again.

I also had the same issue. Running MySql 8.0.32, Docker Desktop 4.32.0, on Mac OS.
The if evaluation wasn't running correctly, making this change fixed it for me:
# RUN if [ ${MYSQL_VERSION} > '8.4.0-0.000' ]; then \
#   echo 'mysql_native_password=on' >> /etc/mysql/conf.d/my.cnf \
# else \
#   echo 'default-authentication-plugin=mysql_native_password' >> /etc/mysql/conf.d/my.cnf \
# ;fi

RUN echo 'default-authentication-plugin=mysql_native_password' >> /etc/mysql/conf.d/my.cnf

Obviously this isn't a good long term solution (if I ever wanted to upgrade past 8.4 I would manually have to change it again).

Now it works perfectly, hours looking for the error and several proposals about modifying the Dockerfile of mysql and just this one works perfect. Thank you very much, I hope your answer will help others.

I also had the same issue. Running MySql 8.0.32, Docker Desktop 4.32.0, on Mac OS.
The if evaluation wasn't running correctly, making this change fixed it for me:
# RUN if [ ${MYSQL_VERSION} > '8.4.0-0.000' ]; then \
#   echo 'mysql_native_password=on' >> /etc/mysql/conf.d/my.cnf \
# else \
#   echo 'default-authentication-plugin=mysql_native_password' >> /etc/mysql/conf.d/my.cnf \
# ;fi

RUN echo 'default-authentication-plugin=mysql_native_password' >> /etc/mysql/conf.d/my.cnf

Obviously this isn't a good long term solution (if I ever wanted to upgrade past 8.4 I would manually have to change it again).

I am using MYSQL_VERSION=latest (9.0) and the patch notes for this version say:
The mysql_native_password authentication plugin, deprecated in MySQL 8.0, has been removed, and the server now rejects mysql_native authentication requests from older client programs which do not have CLIENT_PLUGIN_AUTH capability. For backward compatibility, mysql_native_password remains available on the client; the client-side built-in authentication plugin has been converted into a dynamically loadable plugin.
So trying to modify or do anything with those variables has not solved anything (at least for those versions), this is due to something more internal perhaps....

I also had the same issue. Running MySql 8.0.32, Docker Desktop 4.32.0, on Mac OS.
The if evaluation wasn't running correctly, making this change fixed it for me:
# RUN if [ ${MYSQL_VERSION} > '8.4.0-0.000' ]; then \
#   echo 'mysql_native_password=on' >> /etc/mysql/conf.d/my.cnf \
# else \
#   echo 'default-authentication-plugin=mysql_native_password' >> /etc/mysql/conf.d/my.cnf \
# ;fi

RUN echo 'default-authentication-plugin=mysql_native_password' >> /etc/mysql/conf.d/my.cnf

Obviously this isn't a good long term solution (if I ever wanted to upgrade past 8.4 I would manually have to change it again).

I am using MYSQL_VERSION=latest (9.0) and the patch notes for this version say:
The mysql_native_password authentication plugin, deprecated in MySQL 8.0, has been removed, and the server now rejects mysql_native authentication requests from older client programs which do not have CLIENT_PLUGIN_AUTH capability. For backward compatibility, mysql_native_password remains available on the client; the client-side built-in authentication plugin has been converted into a dynamically loadable plugin.
So trying to modify or do anything with those variables has not solved anything (at least for those versions), this is due to something more internal perhaps....

The if statement that's breaking is just setting those variables dependant on what MySql version you're running. So I removed the if, and just ran the line that sets the correct variable for MySql >8.4.
If you're running MySql >8.4 then of course you'll need to switch out that final line for the first part of the if statement..
I haven't tested it but this should work for MySql >8.4:
# RUN if [ ${MYSQL_VERSION} > '8.4.0-0.000' ]; then \
#   echo 'mysql_native_password=on' >> /etc/mysql/conf.d/my.cnf \
# else \
#   echo 'default-authentication-plugin=mysql_native_password' >> /etc/mysql/conf.d/my.cnf \
# ;fi

RUN echo 'mysql_native_password=on' >> /etc/mysql/conf.d/my.cnf

I also had the same issue. Running MySql 8.0.32, Docker Desktop 4.32.0, on Mac OS.
The if evaluation wasn't running correctly, making this change fixed it for me:
# RUN if [ ${MYSQL_VERSION} > '8.4.0-0.000' ]; then \
#   echo 'mysql_native_password=on' >> /etc/mysql/conf.d/my.cnf \
# else \
#   echo 'default-authentication-plugin=mysql_native_password' >> /etc/mysql/conf.d/my.cnf \
# ;fi

RUN echo 'default-authentication-plugin=mysql_native_password' >> /etc/mysql/conf.d/my.cnf

Obviously this isn't a good long term solution (if I ever wanted to upgrade past 8.4 I would manually have to change it again).

I am using MYSQL_VERSION=latest (9.0) and the patch notes for this version say:
The mysql_native_password authentication plugin, deprecated in MySQL 8.0, has been removed, and the server now rejects mysql_native authentication requests from older client programs which do not have CLIENT_PLUGIN_AUTH capability. For backward compatibility, mysql_native_password remains available on the client; the client-side built-in authentication plugin has been converted into a dynamically loadable plugin.
So trying to modify or do anything with those variables has not solved anything (at least for those versions), this is due to something more internal perhaps....

The if statement that's breaking is just setting those variables dependant on what MySql version you're running. So I removed the if, and just ran the line that sets the correct variable for MySql >8.4.
If you're running MySql >8.4 then of course you'll need to switch out that final line for the first part of the if statement..
I haven't tested it but this should work for MySql >8.4:
# RUN if [ ${MYSQL_VERSION} > '8.4.0-0.000' ]; then \
#   echo 'mysql_native_password=on' >> /etc/mysql/conf.d/my.cnf \
# else \
#   echo 'default-authentication-plugin=mysql_native_password' >> /etc/mysql/conf.d/my.cnf \
# ;fi

RUN echo 'mysql_native_password=on' >> /etc/mysql/conf.d/my.cnf

The problem remains the same in relation to these variables.....
2024-07-12 10:08:44 2024-07-12 13:08:44+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2024-07-12 10:08:44 2024-07-12 13:08:44+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 9.0.0-1.el9 started.
2024-07-12 10:08:44 '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
2024-07-12 10:08:45 2024-07-12T13:08:44.959015Z 0 [System] [MY-015015] [Server] MySQL Server - start.
2024-07-12 10:08:45 2024-07-12T13:08:45.188214Z 0 [Warning] [MY-010915] [Server] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
2024-07-12 10:08:45 2024-07-12T13:08:45.193717Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 9.0.0) starting as process 1
2024-07-12 10:08:45 2024-07-12T13:08:45.195385Z 0 [Warning] [MY-013242] [Server] --character-set-server: 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
2024-07-12 10:08:45 2024-07-12T13:08:45.198766Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for /var/lib/mysql/ is case insensitive
2024-07-12 10:08:45 2024-07-12T13:08:45.213339Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-07-12 10:08:46 2024-07-12T13:08:46.633803Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-07-12 10:08:46 mysqld: Table 'mysql.plugin' doesn't exist
2024-07-12 10:08:46 2024-07-12T13:08:46.867878Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2024-07-12 10:08:46 2024-07-12T13:08:46.868190Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-12 10:08:46 2024-07-12T13:08:46.868410Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-12 10:08:46 2024-07-12T13:08:46.868602Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-12 10:08:46 2024-07-12T13:08:46.868824Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-12 10:08:46 2024-07-12T13:08:46.893717Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-12 10:08:46 2024-07-12T13:08:46.894090Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-12 10:08:46 2024-07-12T13:08:46.894297Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-12 10:08:46 2024-07-12T13:08:46.997819Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-07-12 10:08:47 2024-07-12T13:08:47.101999Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2024-07-12 10:08:47 2024-07-12T13:08:47.122953Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-07-12 10:08:47 2024-07-12T13:08:47.123456Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-07-12 10:08:47 2024-07-12T13:08:47.137279Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
2024-07-12 10:08:47 2024-07-12T13:08:47.137691Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2024-07-12 10:08:47 2024-07-12T13:08:47.137945Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2024-07-12 10:08:47 2024-07-12T13:08:47.137989Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2024-07-12 10:08:47 2024-07-12T13:08:47.138078Z 0 [ERROR] [MY-000067] [Server] unknown variable 'mysql_native_password=on'.
2024-07-12 10:08:47 2024-07-12T13:08:47.138858Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-07-12 10:08:48 2024-07-12T13:08:48.269973Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 9.0.0)  MySQL Community Server - GPL.
2024-07-12 10:08:48 2024-07-12T13:08:48.270005Z 0 [System] [MY-015016] [Server] MySQL Server - end.```

this problem is not fix :(

Tried all of the solutions in here , I still get the same issue , mysql just exit everytime I start it
2024-07-19 14:21:13 2024-07-19 06:21:13+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.38-1.el9 started. 2024-07-19 14:21:15 2024-07-19 06:21:15+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 2024-07-19 14:21:15 2024-07-19 06:21:15+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.38-1.el9 started. 2024-07-19 14:21:15 '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock' 2024-07-19 14:21:15 2024-07-19T06:21:15.768563Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead. 2024-07-19 14:21:15 2024-07-19T06:21:15.768636Z 0 [Warning] [MY-010915] [Server] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release. 2024-07-19 14:21:15 2024-07-19T06:21:15.777061Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.38) starting as process 1 2024-07-19 14:21:15 2024-07-19T06:21:15.778731Z 0 [Warning] [MY-013242] [Server] --character-set-server: 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous. 2024-07-19 14:21:15 2024-07-19T06:21:15.785889Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for /var/lib/mysql/ is case insensitive 2024-07-19 14:21:15 2024-07-19T06:21:15.816982Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 2024-07-19 14:21:18 2024-07-19T06:21:18.473797Z 1 [ERROR] [MY-014061] [InnoDB] Invalid MySQL server downgrade: Cannot downgrade from 80100 to 80038. Downgrade is only permitted between patch releases. 2024-07-19 14:21:18 mysqld: Can't open file: 'mysql.ibd' (errno: 0 - ) 2024-07-19 14:21:18 2024-07-19T06:21:18.564439Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine 2024-07-19 14:21:18 2024-07-19T06:21:18.564825Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed. 2024-07-19 14:21:18 2024-07-19T06:21:18.564907Z 0 [ERROR] [MY-010119] [Server] Aborting 2024-07-19 14:21:18 2024-07-19T06:21:18.566651Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.38)  MySQL Community Server - GPL.

@rivara hi, try #3530

@parallels999

NOT WORKS!!

Did you use with no cache?


[Feature request] Add to UI main page info about version VRT, DB and other

Hi,
at first big thanks for VRT!!!
It would be grade to have info alert button with info about service as VRT version, DB version, user count, build count, test count...
It could be located as example at main page or login page with

@AndreyMelnichenko thanks for request
it's already developed gonna be available in 4.20.0 https://github.com/Visual-Regression-Tracker/Visual-Regression-Tracker/issues/323


PDF Viewer isn't loading when called in tabs or expanders

When trying to render PDFs in a streamlit tab, it only works for the tab that is selected when the page loads.
I've also seen the same behavior when rendering inside streamlit extenders.
The code is as follows:
paths = glob("../../*/*.pdf")
for i, (path, tab) in enumerate(zip(paths, streamlit.tabs(paths))):
  with tab:
      with streamlit.container(border=True):
          pdf_viewer(path, height = 490, render_text = True, key=f"key_{i}")
          streamlit.info(f"read from {path}")

What I've tried so far:

Wrote an extra function with pdf_viewer as return value.
Stored multiple instances of pdf_viewer in a dict and variables to make sure it wasn't an overwrite issue. (Even tried to save them in the session parameters).
Tried all available rendering methods for the function.

I would really appreciate it if you have a workaround.
Thanks in advance!
EDIT: I've seen the other Issue with streamlit tabs so I was wondering if it is in your plans to fix it later and if it's the same issues with expenders.

This should be solved in the PR #58. If you could test it that would be good. The instructions to install the modified version are here.
Thanks a lot

I've released the version 0.0.15. It's not yet officially published, but it's on pypi. Could you please give it a try?

Here's the same results I've commented on the PR
Thanks for the update and the new version :)
After testing it myself i came across the following:
The width of the pdf viewer is automatically set to view at least the full page, meaning you can't increase in a way it would zoom in showing half a page in full width (This was possible before).
Setting render_text to true would cause the following error m.renderTextLayer is not a function.
On the bright side it works with tabs now :)

@hamdi3 feel free to close this issue


Maya: invalid review flag on rendered AOVs

Fixes issue #2393.
The commit fix issue in submit_publish_job.py  and deadline.json to properly compare the AOV pattern we're grabbing from the settings against the resulting AOV strings appended by publishing a render (in Maya).
The regex within deadline.json was incorrect and wasn't matching aov_filter .

@Allan-I please fix the hound comments. Otherwise it works as expected now.

Thanks guys will make these changes!

Why empty file flagging.py added with https://github.com/pypeclub/OpenPype/pull/2915/commits/c6cfdfbd3aac60dd8469048354b423f39edd4e9a? Seems unused and redundant.

Why is empty file flagging.py added with c6cfdfb? Seems unused and redundant.

Thanks Roy,

Why is empty file flagging.py added with c6cfdfb? Seems unused and redundant.

Thank you I don't know how I missed this.

You got it!
On Fri, Mar 18, 2022, 5:44 PM Milan Kolar @.***> wrote:

Assigned #2915 https://github.com/pypeclub/OpenPype/pull/2915 to
@Allan-I https://github.com/Allan-I.
—
Reply to this email directly, view it on GitHub
https://github.com/pypeclub/OpenPype/pull/2915#event-6266691877, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASI3APFH7CXA23JH27PMBXLVASJELANCNFSM5RCAIIBQ
.
You are receiving this because you were assigned.Message ID:
@.***>


Make it strict by default and add ability to configure compilerOptions

This PR changes the compiler so that it will respect the config in package.jsons  tsd-check.compilerOptions field and pass this config through to the TS compiler.

I think we should make it strict by default.

I think we should also define this: https://github.com/sindresorhus/tsconfig/blob/84f0c5308aa1f5499692b13fc70b227deeb3e621/tsconfig.json#L9 So React stuff will just work.

Thanks 🎉


Food and Beverage Spawners

Adds various rng food and beverage spawners for mapping. Also adds a smaller icon for rng arcade machine because it was triggering people.

this doesnt actually touch any files im editing rn so, merge away even with the freeze

Pretty sure this is good to go now.


better way to decide what deps go in the sysimage

This should result in fewer sysimage builds during docker builds, which is by far the longest build step generally.
Instead of basing the subset of deps included in the sysimage off of pinned packages, this:

includes all deps that track a registry
saves a ~Manifest.toml.julia_pod~ julia_pod/sysimage.packages listing dependencies to possibly include in the sysimage, and use it in a way that allows for packages to be added without invalidating the cached sysimage layer.

The rationale for this change is that:

managing long lists of pinned deps is cumbersome
pinned direct deps do not protect transitive deps from changing versions, even if they are pinned by hand in the Manifest
one most often wants to add all deps to the sysimage anyway, minus deps one is hacking on, which are generally deps that track a path or a repo.
the docker build cache was being invalidate too often

Edit:
This also defines and makes use of a startup.jl file, which gets copied to .julia/config/startup.jl in the pod,
and saves the sysimage.jl and startup.jl files to a new local julia_pod/ folder alongside julia_pod/sysimage.packages, for hygene.
closes #37

what happens if Manifest.toml.julia_pod contains a different version of a dep than Manifest.toml?

A dep that is in both but with different versions would keep the version in Manifest.toml, invalidate the docker cache and trigger a sysimage re-build.
Hmm, in that case, the Manifest.toml.julia_pod should be overwritten with the new Manifest.toml, let me fix that.

Ready for re-review.