Optimize Images

Our current website uses several images, including SVG icons. To improve our site's performance and load times, we need to optimize these images.
Tasks:

Identify Images: Identify all images used on the website, including SVG icons and any images used in CSS or JavaScript files.

Optimize Images: Use an image optimization tool to reduce the file size of each image without noticeably reducing quality. For SVG files, this could involve removing unnecessary metadata or minifying the file. For raster images (like JPEG or PNG), this could involve reducing the resolution, compressing the file, or converting to a more efficient format like WebP.

Replace Images: Replace the original images in your project with the optimized versions.

Test: Test the website to ensure that all images still display correctly and that the load time has improved.

Acceptance Criteria:

All images used on the website have been optimized.

The website's load time has improved.

All images still display correctly after optimization.

Hello, is it still available?

Hey.
Yes, it is.
On Tue, May 14, 2024 at 6:02 PM Suecia76 @.***> wrote:

Hello, is it still available?
—
Reply to this email directly, view it on GitHub
https://github.com/AbigaelWairimu/Developer-Learning-Paths/issues/3#issuecomment-2110476023,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BABH42UCDNQWVMPNFDTESMTZCIRRZAVCNFSM6AAAAABHVSLK2SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJQGQ3TMMBSGM
.
You are receiving this because you authored the thread.Message ID:
@.***>


scispacy with spacy 3.1.1 and prodigy 1.11

I'm trying to use scispacy with the newly release prodigy (1.11.2) but there seems to be a conflict between the required spacy versions. scispacy uses spacy 3.0.7, but prodigy requires spacy<3.2.0, >=3.1.1
Is there some way that I can use scispacy with a newer version or spacy, or should I wait for an update from the scispacy team?

I haven't had time to upgrade to 3.1.x yet, but you can probably just install that version of spacy yourself after installing scispacy, given https://spacy.io/usage/v3-1#upgrading

The libraries still work, but with a warning:
/opt/anaconda3/envs/prodigy/lib/python3.8/site-packages/spacy/util.py:732: UserWarning: [W095] Model 'en_ner_jnlpba_md' (0.4.0) was trained with spaCy v3.0 and may not be 100% compatible with the current version (3.1.2). If you see errors or degraded performance, download a newer compatible model or retrain your custom model with the current spaCy version. For more details and available updates, run: python -m spacy validate

Hi,
I'm sort in the same boat. I'll be asking our support staff to ingress new versions of Prodigy, spacy and scispacy. But I want to make sure they are the latest compatible versions. Currently, if I just install spacy, I get version 3.2.1. But as soon as I "install" one of the scispacy models, spacy version goes to 3.0.7. Prodigy latest version is 1.11.7 which has support for Spacy 3.2.
Whats the best version of all that works without any conflicts? Or is it OK to use all the latest version and ignore the upgrade warning?

As far as I know it should be fine to use with the warning, but I haven't tried it to check for possible performance degradation

The upgrade to the latest spacy is done, except that I am having some issues with pypi. You can use master if you need the upgrade now.

Hi, there. Given scispacy v0.5.0 and v0.4.0 support spacy 3.2 and 3.0 respectively, am I right in thinking there is seemingly no official support on spacy 3.1? Could anyone confirm which version is more compatible with spacy 3.1 and whether the aforementioned UserWarning on incompatibility can be ignored safely?


Add GH action for backports

Add GitHub action for backporting PRs in line with out monorepo.
Sneak in Jetbrains .idea folder to the git ignore as well.

Do we use backports in the AMI repo? 🤔

Do we use backports in the AMI repo? 🤔

Currently no, but we will going forward so we can keep in sync with the processes in our other repositories 😃


Create a verify-email page

When creating the new user Account, the API will create a Meteor-compatible secret as verification Token and stores it in the the users collection, similar to the default Meteor Accounts Behavior. It then sends a welcome Email, which has the default env REACTION_IDENTITY_PUBLIC_VERIFY_EMAIL_URL set to http://localhost:4100/#/verify-email/TOKEN.
That Route doesn't exists, create it. And maybe change the /#/ to /accounts/ like the other routes. Need to decide how to use this: The default Meteor way of calling Accounts.verifyEmail still works, but would only set the email to verified in the users collection.

Setting it here, then calling the API to set it for the Accounts collection would be prone to errors.
Keeping Track of the Verifications on the Meteor Server Side to then also write directly to the Accounts collection also seems like a step backwards, don't assign more responsibility to Meteor.
Neither doing a collection watch from the API side to keep track of changes seems optimal, nor does having to check both the users and Accountd Accountd collection for changes on Context Building wit an additional db query.

Maybe the better option would be to not use the native Accounts.verifyEmail and instead call a GraphQL Mutation, like done for the password Reset. That could ensure both users and Account entries are set correctly. Also makes sense, as the token Generation also happens in the API already.

I implemented my last suggestion and created a GraphQL Mutation verifyAccountEmail in the API, and a verification page in reaction-identity that calls this mutation in an effect upon render.
The Mutation works similar to the verifyEmail method in the Meteor codebase, with the difference that after uodating the user document it does the same for Account.
I first thought about using a MongoDB Transaction here to set both Account and user, but realized there is probably no point in doing that - If the Account is not present, the user documents email can still be set to validated and would be copied over to the account when that is created later.
But such a case would't even come up, as by now tokens are only issued upon account creation, so in regard to both considerations, there is no reason to keep them in sync if write to the latter fails.
Should I submit a PR for each identity and api, or does this need further discussion /  a separate reaction-api issue?

@aldeed The PR I meant to submit would just make use of the existing functionality in the api.
Currently the API already generates the token, and sends an email to the client with verification link.
That link just doesn't work currently, so basically what I did was:

Create a Mutation in the API to actually deal with incoming tokens and set emails to verified, mostly based on a similar approach to the meteor-accounts codebase.
Create a page in identity retrieving the token and calling the mutation.

Seems to be very stable so far.
That approach made the most sense for me, and you're right about that, it is very similar to the forgot password functionality so I followed that pattern.
I think I get the point regarding the splitted concerns, but I'm not sure I can follow how this should be approached on short term:
Would you want to strip out Account functionality from the API codebase and put it back into the meteor server of reaction-identity?
But sure, this can wait, it's just something that currently is broken in the beta release. Doing it this way seemed better than to strip out the welcome email functionality of the api.

@janus-reith Would you mind sharing your implementation? This is still not addressed by the RC team after a year so your implementation will be the best there is at this time since you mention it works and is stable! Thanks.


Fix queued duplicated in sentence

Why:
The word queued was used redundantly, most likely by mistake.
What's being changed (if available, include any code snippets, screenshots, or gifs):
Changes "Queued most recently queued" to "queued most recently". "Most recently queued" is a valid alternative to this change.
Check off the following:

[x] I have reviewed my changes in staging (look for the "Automatically generated comment" and click the links in the "Preview" column to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

@spenserblack Thanks so much for opening a PR! I'll get this triaged for review :zap:
Thanks for the note on the deployment as well 👀


Fix address publish bug

When a server provisions but JClouds fails to connect to it, the server is killed and re-provisioned. When this happens the private and public address of the old server remain in the host.address sensors because of a null check in DefaultConnectivityResolver. This PR removes that so the machine correctly obtains the address of the re-provisioned machine.

LGTM.
@sjcorbett any thoughts on the implications of removing this null check? It looks safe to me, but then would it interfere with any downstream projects?

Via separate comms, @sjcorbett said to @drigodwin that ... the null-check was added because he was worried about triggering an event upon rebind. But probably being too cautious and can probably remove it. Nothing in downstream projects is relying on it at the moment, as far as we know.
So I think this is good to merge.
Merging now.

+1 to the change. I was probably being overly cautious about not triggering duplicate sensor change events (since the block will run during rebind). I'm not aware of any downstream projects reliant on this.


fix too strong css for cursor color for CodeMirror so it could be overriden

https://github.com/graphql/graphiql/issues/545

Thanks for this @Alexsey.


A key created by a Slots instance can be used to access an other

See this test case provided by @chrysn
#[test]
fn use_across_slots() {
    let mut a: Slots<u8, U4> = Slots::new();
    let mut b: Slots<u8, U4> = Slots::new();

    let k = a.store(5).expect("There should be room");

    b.take(k);
}

Some possible approaches (just to have them documented and avoid duplication of work):

Make each Slots instance type-unique. That would allow safely using keys (possibly even without having access to the Slots, as sketched in an article on zero-sized references). On the downside, that would practically limit the use of Slots to globally allocated arrays.
Have references inside keys. This makes keys a lot larger, and adds the kind of lifetime requirements to the keys which a system like this is often designed to prevent. (So it probably doesn't work for the use cases.)
Have raw pointers inside keys. This is tempting, as it works without unsafe code as pointers are only ever compared but not used (to access, you'd still need the Slots instance). Unfortunately, this does not achieve the desired result: If a key outlives its Slots instance and another instance is created at (accidentally or deliberately) the same memory allocation, that key would be usable again.
Do nothing in the code, but acknowledge that panics may occur when any key is used with a Slots that it was not designed for. (Sounds viable: As there is no unsafe code around, this is just logic errors creating other logic errors, but never unsafe behavior).

Fortunately, in Rust it is possible to turn on and off library features. I'm considering giving each Slots instance a unique ID that is inherited by its keys. In release builds this protection can be turned off (probably done by default), or re-enabled through configuration.
Not an elegant solution, but simple enough to implement.


⚠ ClamAV has degraded performance

In 1c52cd9, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 55 ms

Resolved: ClamAV performance has improved in f06b774.


how to seek time smooth

I too am interested in getting a working seek slider!

Just use a UISlider
@IBAction func sliderValueChanged(_ sender: UISlider) {
        let progress = sender.value
        npAudioStream.seekToTime(inSeconds: CGFloat(progress))
}

all done.

Isn't it much more than that, though? I have my slider, and it kicks off that function, sure. But it doesn't seek. It just drops me back to the beginning of the track.
Do I need to first calculate the length of the track and then set a min/max, and then calculate the new seek position and update the place on the mp3 track when moving the slider? Or is that already baked in somewhat?

Hey @yetdog, depends on if you're streaming or not? I was trying to do seeking on a stream and it didn't quite work, then I figured out it was because the stream I was using wasn't a "ranged" stream; it was just sending the file in one big block.
You can have a look at this answer on StackOverflow for more info https://stackoverflow.com/a/20121557/717927
I ended up downloading the file, then using NPAudioStream to just play a local file. And seek works in this case as the file is local so it knows about the length of the file etc.
This problem existed with all streaming libs I tried, and I tried a lot of them :)


Enabled the gitlog option to display commits from all branches

Hey Monica!
Super cool dashboard. I use it for my standups, for those mornings where the day before is a huge blur.
However, it seems to only list commits for the current branch of my repos - which means that if I have work on multiple branches, I can't get a snapshot of everything I did yesterday.
Luckily, gitlog has an option for that! So I turned it on. Was there a reason why it wasn't on in the first place?
Cheers!

duplicate of #106

Probably a mistake! Merged the other PR that came first, will do a release soon!


GPU-side ReBAR Configured without PCI confirm (0x0300000000000082)

System

Motherboard: Asrock Z97 extreme 9
BIOS Version: xCurio bios made for Prazola modded by me to add nvstrap  https://winraid.level1techs.com/t/request-above-4g-decoding-for-asrock-z97-extreme-9-and-asus-p8p67-evo/89575/123
GPU: MSI RTX 2080 TI DUKE
[ ] CSM is turned off.
[ ] 4G decoding - i dont know status, its not showing in bios menu but i enabled it using GRUB method

@xCuri0 Thank you for quick response but how do i remove it?

@eurano try patching a new bios
sound card shouldnt affect anything

I cant modify Asrock vanilla bios because it wont let me flash it (some security error) thats why i downloaded Prazola bios from his first post. It doesnt have ME so i guess this is some kind of bypass. Anyway i tryed DSTD patch  patches.txt however when i extracted dsl file and opened it with notepad i cant find "CreateQWordField". I found something like this wich is quite simillar:
            CreateDWordField (BUF0, \_SB.PCI0._Y0E._MIN, M1MN)  // _MIN: Minimum Base Address
            CreateDWordField (BUF0, \_SB.PCI0._Y0E._MAX, M1MX)  // _MAX: Maximum Base Address
            CreateDWordField (BUF0, \_SB.PCI0._Y0E._LEN, M1LN)  // _LEN: Length
            M1MN = (TLUD << 0x14)
            M1LN = ((M1MX - M1MN) + One)
            Return (BUF0) /* \_SB_.PCI0.BUF0 */

What i should do ?

@eurano read the dsdt patching again.
you're doing it wrong for asrock haswell

@eurano Can you update the source code at this line, and build the DXE driver ?
https://github.com/terminatorul/NvStrapsReBar/blob/master/ReBarDxe/ReBar.c#L70
uint_least32_t getReBarSizeMask(UINTN pciAddress, uint_least16_t capabilityOffset, uint_least16_t vid, uint_least16_t did, uint_least16_t subsysVenID, uint_least16_t subsysDevID, uint_least8_t barIndex)
{
    uint_least32_t barSizeMask = pciRebarGetPossibleSizes(pciAddress, capabilityOffset, vid, did, barIndex);

    /* Sapphire RX 5600 XT Pulse has an invalid cap dword for BAR 0 */
    if (vid == PCI_VENDOR_ID_ATI && did == 0x731fu && barIndex == PCI_BAR_IDX0 && barSizeMask == 0x7000u)
        barSizeMask = 0x3f000u;
//  else
//      if (NvStraps_CheckBARSizeListAdjust(pciAddress, vid, did, subsysVenID, subsysDevID, barIndex))
//          barSizeMask = NvStraps_AdjustBARSizeList(pciAddress, vid, did, subsysVenID, subsysDevID, barIndex, barSizeMask);

    return barSizeMask;
}

Modify the line with PCI_VENDOR_ATI and:

put the NVIDIA vendor ID instead 0x10DE
change next id (device id) to match your device id, 0x1E07
remove the barSizeMask from the condition
assing value 0x7'F000u to barSizeMask on the next line

@terminatorul yes i will try
@xCuri0 yes i read wrong section but after pasting correct one and using
.\iasl DSDTMod.dsl    command in shell  i have 9 errors wich i cant fix mostly
Missing dependency ^  (Device object requires a _HID or _ADR)
I think i will just load your working BIOS for Prazola again because its too hard for me to make it myself. I will try to use @terminatorul solution for now.

@terminatorul
I edited code but cant compile project in Visual Studio 2022. I have no idea what error it is.

Can you follow the build instructions that are linked from the main project page ? And b uild from the command line ?

@eurano After a better look at the source code, you can achieve the same effect without changing source code or flashing the motherboard, if you just use value 64 instead of 14 for PCI BAR size.
Any reason you used 14 in the first place ?

@terminatorul Ok so i did the following:

downloaded BIOS @xCuri0 prepared for Prazola wich worked for same motherboard (4g enabled)
file name = Z97Ex9PciBusFix.zip (4.4 MB)
https://winraid.level1techs.com/t/request-above-4g-decoding-for-asrock-z97-extreme-9-and-asus-p8p67-evo/89575/86?u=eurano
used uefi tool to add new nvstraps (i compiled new code you posted above) to modify BIOS
flash bios
reboot
in bios disable CSM and secure boot
use GRUB method (win10 bootable usb) to use command "setup_var 0x0"
reboot
use GRUB method  (win10 bootable usb) to use command "setup_var 0x1"
run ReBarState.exe to set variable to 14
reboot
run NvStrapsReBar,exe i compiled earlier and put E, P , 64 , S , Q
reboot

Unfortunently the result is the same.
GPU-side ReBAR Configured without PCI confirm (0x0300000000000082)

The screenshot shows you manually configured GPU bar size to 64 GiB, any reason for you to do that ?

Can you also show the output of from "Show DXE driver configuration" (option W) ?

Can you show output from IFR-Extractor ? Is the byte offset 0x1 correct for your Above 4G Decoding option ?

setting ReBarState to 0 didnt change anything i tryed :( yes the byte offset is correct (4g is enabled now)

Sorry I don't know what else to try. The driver configuration looks as expected.
Option 1 overrides option E.
Option E searches the GPU in a pre-defined list of all Turing GPUs, using the PCI device ID (0x1E07). From that list the expected BAR size is read and the Target BAR size column is populated in the output table.
Option 1 is for manually selecting a different BAR size if the default one is wrong or doesn't work, or for trying the mod on non-Turing GPUs (mostly unsuccessful).
To clear option 1 there is option C right in the main menu.
There is nothing special to understand about using the tool. You applied the right sequence in your previous message: E, P , 64 , S , Q. When I do the same, it just works on my MB.

Remember to disable NvStrapsReBar if you make hardware changes, or UEFI Setup changes ...


enhanced PodsResourceTest

added PodsResource test for unauthorized requests

the comments indicate that task-killer will perform authorization. is there a need for double-authz?

Right ... TaskKiller do. Will change this

Thanks.
You test for authorized=false. Can you also test for authenticated=false?

added authenticated false as well

💯 Thanks


Failed to fetch all input

I installed a new ubuntu 20.04 system. When I installed shadowsocks-libev through APT. I downloaded the v2ray-plugin from the server. After the configuration was started, I could not access the network normally. I found an error message "Failed to fetch all input" in the log. ..".
I have no problem with windows and apple. So I think there is no problem with the server side.
Don't know what is wrong with my ubuntu client?

The problem within "mux=5" option at plugin parameters. Remove it.

The problem within "mux=5" option at plugin parameters. Remove it.

After I tried to remove it, the error still exists.

The following information also appeared today. I don’t know if it’s useful.
2020/06/10 15:20:21 [Info] [1247729854] v2ray.com/core/app/proxyman/inbound: connection ends > v2ray.com/core/proxy/dokodemo: connection ends > context canceled
2020/06/10 15:20:21 [Info] [1247729854] v2ray.com/core/common/mux: failed to fetch all input > io: read/write on closed pipe
2020/06/10 15:20:36 [Info] v2ray.com/core/common/mux: failed to read metadata > io: read/write on closed pipe
2020/06/10 15:20:37 [Info] failed to handler mux client connection > v2ray.com/core/proxy/freedom: connection ends > context canceled

I searched for related information and ruled out inconsistencies in time.

There is something similar https://github.com/v2ray/v2ray-core/issues/2136
Check your time synchronization


add missing init.py

Closes #474
Code Changes

[x] Add missing __init__.py to fidesctl/cli/commands/
[x] Ignore newly surfaced unused import errors for boto3 and okta

Steps to Confirm

[x] The package includes the commands directory when running python setup.py sdist
[x] A pip install from this branch no longer returns the same error

Pre-Merge Checklist

[x] All CI Pipelines Succeeded
[x] Documentation Updated
[x] Issue Requirements are Met
[x] Relevant Follow-Up Issues Created

Description Of Changes
Found when trying to run the fidesdemo using 1.5.0
To test the fix:
$ python3 -m venv env && source env/bin/activate
$ pip install git+https://github.com/ethyca/fides.git@SteveDMurphy-missing-init#subdirectory=fidesctl
$ fidesctl --help

To see the error, just replace the pip installation with 1.5.0

On a separate note, I am also struggling to run fidesctl init in fidesdemo without the webserver configured so it feels like a bit of a chicken/egg scenario. Again, separate note, but adding some breadcrumbs here for now as well.

@SteveDMurphy thanks for hopping on these fixes! these will be getting caught earlier as of 1.6.0


Add in Meta/System functions, initially to support current time

Problem Statement
For common use cases, we need access to common meta functions.
Specific required items

DATE [with optional timezone argument]
CURRENT_TIMESTAMP [with optional timezone argument]

These would enable queries of this form
select
order_count,
refresh_date
where
refresh_date = CURRENT_DATE();

Proposed Solution
A solution here would require

Adding in the new function definition into parsing/function types with appropriate output types
Validating that 0 argument functions pass properly with test cases
Validating that a function returning a static value, not a new derived concept, does not cause issues

For the return value, we have options:
1 - a static value return, where we evaluate the current date in timezone in parsing
1b - a static value return, which is templated to an appropriate language specific evaluation at runtime
We likely want 1b to support refresh/localized evaluation
Alternatives Considered
We could implement these as meta concepts, which would enable referencing them directly without a function. This could be a cleaner syntax, but would require injecting them in as available concepts associated with every datasource - which isn't prohibitive!
Would need some work on where to put the timezone in there as well
import system;
SELECT
system.current_date
system.current_timestamp;
Additional Context
Please provide any other information that may be relevant.

CURRENT_DATETIME is added, and it will be straightforward to add more of these.


Comptime soundness issue in if expressions

Description
Aim
fn main(x: bool) {
    let foo = if x { 1 } else { 2 };
    ...
}

Expected behavior
Expected foo to be a Field rather than a comptime Field since its value depends on a private input to the circuit.
Bug
foo is incorrectly typed as a comptime Field which can cause compiler panics when later attempting to use it as an array index.

@jfecher whats the status of this issue?

@kevaundray still open and unchanged. I haven't worked on it in case we wanted to remove comptime after dynamic indexing is enabled.


full-stack boilerplate

implement express root and routing
implement base react app
implement typescript and config
implement webpack and config
dev and staging scripts

Lookin good
🍕


Fix XML ElWriter bug allowing incomplete XML to be written

Motivation and Context
The XML ElWriter struct may currently be misused in a way that results in incomplete and invalid XML being written to the &mut String it contains. The root cause of the bug is that a user may forget to call finish() on ElWriter, and in doing so fail to write the closing > of the element represented by that ElWriter.
Description
This PR contains two test cases that demonstrate the bug, as well as a fix: a Drop impl for ElWriter and a change to how it stores the mutable buffer, in order to avoid a lifetime problem between drop() and the move of the buffer into a ScopeWriter.
This approach is preferable over an alternative like #[must_use] on ElWriter and ElWriter::write_attribute, since that would only produce a warning lint instead of avoiding the problem entirely and guaranteeing the desired compile-time safety described in the docs.
Testing
Added two test cases that highlight the problem. Ran cargo test inside smithy-xml and had everything succeed.
Checklist

[ ] I have updated CHANGELOG.md
[ ] I have updated aws/SDK_CHANGELOG.md if applicable

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

Thanks to @rcoh for explaining the idea behind the XML module, as well as the helpful discussion around verifying this is a bug and coming up with a fix!

Also, although the CHANGELOG box is checked, I don't see a CHANGELOG update in the diff, you may need to push

CI failure is from cargo fmt. We have a pre-commit hook that can do that for you if you run pre-commit install.

Thanks for the suggestions! I'm still getting up to speed with style and commenting norms in Rust, so let me know if the comments or anything else can be improved.

LGTM! Thanks @obi1kenobi


wake up from sleep

how to wake up from sleep. Actually only reset works - by intention?  Tapping on display would be nice.

Have you linked GPIO16 to RST? IF the ESP8266 is placed in sleep mode only a Reset or timer time-out and transition on RST will wake it up.
Tapping on the display could work if the touch sensor had an interrupt capability and a dedicated pin that could be OR'd to the RST so either time-out or touch would wake the ESP.


why use default value when request body json parsing error?

generated code by happyx
let fighterCreate = try:
        jsonToFighterCreate(parseJson(req.body))
      except JsonParsingError:
        # I think it would be better for the server to print an error log
        # and return a 4xx to the client
        jsonToFighterCreate(newJObject())

error log will printed with -d:debug.
Next commit will respond error with 400


🎁 Add "Remove expression" as an action bar command to debug watch expressions

This PR fixes #152642
The action bar command "Remove Expression" is added to the watch expressions tree:

This is great, thanks!


Credentials sharing capability

It would be nice to see password or credentials sharing option in Winden. For example, it would be possible to input password or small text and share it with the link or code. To make it more secure, it could support second factor, additional PIN code to unlock text.
There is a good use case, as SaaS companies usually need to share API key or other credentials related information with there customers.
Partly it could be done now, but it requires to put in file and other side also receives files. From UX, it requires few more steps. From security, it is additional copy of credentials saved on disk, which may have additional risks.

This is what the "text messages" in the existing protocol can be used for. However, Winden doesn't implement that part of the protocol, so that would be a starting point. (I'm not sure if the underlying library implements this part or not).
The Python client does implement it, so could test against that.


Many edits

OPS Build status updates of commit b3c9918:
:clock10: Preparing: average preparing time is 39 sec(s)

OPS Build status updates of commit b3c9918:
:clock10: Incremental building: average incremental building time is 19 sec(s)

OPS Build status updates of commit b3c9918:
:warning: Validation status: warnings

File
Status
Preview URL
Details

enterprise-graph/create_source_schema.md
:warning:Warning

Details

enterprise-graph/creating-your-ontology.md
:warning:Warning

Details

enterprise-graph/mapping-source-data.md
:warning:Warning

Details

enterprise-graph/media/create_source_schema/create_source_schema.png
:white_check_mark:Succeeded

enterprise-graph/media/create_source_schema/fields_not_mapped.png
:white_check_mark:Succeeded

enterprise-graph/media/create_source_schema/schema_sample_data.png
:white_check_mark:Succeeded

enterprise-graph/media/creating-your-ontology/relations_tab.png
:white_check_mark:Succeeded

enterprise-graph/media/first_test_image.png
:white_check_mark:Succeeded

enterprise-graph/media/schema_mapping/schema_mapping_ux.png
:white_check_mark:Succeeded

enterprise-graph/qs-ingesting-data.md
:white_check_mark:Succeeded

enterprise-graph/create_source_schema.md

[Warning] Author stflanag cannot be recognized in GitHub.

enterprise-graph/creating-your-ontology.md

[Warning] Author stflanag cannot be recognized in GitHub.

enterprise-graph/mapping-source-data.md

[Warning] Author stflanag cannot be recognized in GitHub.

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


add support for elliptical arcs.

in my work I needed to draw arbitrary elliptical arcs e.g.
graphics.ellipticalArc(cx, cy, rx, ry, startAngle, endAngle, counterClockwise)
where cx, cy are the coordinates of the center of the ellipse defining the arc,
rx and ry are the radii.
I have an implementation for this, just don't know how to do a pull request -- do I need my own branch?

You will need to fork the repo, make the change, and then submit the request. Here is a guide: https://help.github.com/articles/using-pull-requests/


Fix issue with k8s.io/docs/concepts/policy/limit-range/

from #20016

Preview: https://deploy-preview-20017--kubernetes-io-master-staging.netlify.com/docs/concepts/policy/limit-range/

@pjhwa there is a merge conflict; could you take a look?

@pjhwa there is a merge conflict; could you take a look?

Actually my fixes applied for the "Limiting Container compute resources" section. So, if the section has been removed, my fixes are no longer needed I think. So, can I just close my PR?

I'm going to say yes and
/close
If you did want to reopen this then of course feel free.


DM-7450: Add note about shebang in test files

Reopens #121 with the text in a different place.

@jonathansick I've had another go at this so please take another look.


fix: Active Indicator jumps to wrong place when adding tabs to tablist

🐛 Bug Report
When adding a tab to a tab list, the active indicator will slide all the way to the left before "pinging" to the new tab on the right. When that new tab is hidden it has been taken into the overflow, the active indicator will underline empty space, and push the active indicator further right than was intended.
💻 Repro or Code Sample

The dynamic section in the demo shows this (look at the preview site, as this contains a fix for the overflow itself) https://preview.fluentui-blazor.net/Tabs
🤔 Expected Behavior
Active indicator should not push the overflow label over to the right, and when adding a tab it should not jump around as though it doesn't know where it should be.
😯 Current Behavior
https://github.com/microsoft/fluentui-blazor/assets/11229848/5f87dae4-4550-45fd-944d-2ddb3c2b6033
💁 Possible Solution
🔦 Context
🌍 Your Environment
Windows, Chrome, .net8, 4.2.2

Hi,
Unfortunately this is not something we can change on our level. It is handeled in the underlying web component.
The behavior with the new tabs is not so strange though. If you add a new one,  that is going to be the active tab (after it redraws the list, causing the jump to the left). As it does not fit one the screen, the component has not oither place to put the bar than all the way at the end.

Are we not able to at least place the active indicator underneath the overflow label, rather than having it push it to the side? I would expect that to happen rather than it push it out of bounds

No, we cant do that because they are two separate components. We would need to render the overflow inside the tab strip which is not possible...

It's a limitation we regret, but the fluent-tabs web component we use doesn't manage this overflow by default.
We added this functionality without being able to correct this graphic "detail".

Closed as not accionable.


layers: Updating descriptor checks to use unique enums

Initial batch of updates to use unique validation error enums and
messages for a few checks. Updated the database file and flagged
some other checks that are missing along with "TODO" notes in the
code.
I'll roll these updates out in smaller PRs to keep reviews simple. Also, for initial push of scrubbing the unique error enums I'm only planning to update existing checks and comment on missing checks. Not doing any other code refactor or rework for now in hopes of getting through the database of checks in relatively quick fashion.

I would like to have enabling flags added for the checks you modified.

Pushed an update for flags and some code changes to messages header.

:+1:


[Part 1|3] Introduce SQL Payment schema into LND

Created a draft of the schema, will now proceed to create the whole sqlc harness now. If you have already feedback feel free to reach out.
Payment SQL Schema

Some questions I already had:

I connected most of the tables via the payment id (primary key) however does it make sense to also include a foreign key which points to the payment hash or even have 2 foreign keys for tables (or is the lookup cost very low so we can go with 1 and from the payment id just get the payment hash from the mpp_payment table.
I removed the need to have a separate table for PaymentCreationInfo but put everything into mpp_payment record this will probably force use to also change the interface of the control_tower for example:

	InitPayment(lntypes.Hash, *channeldb.PaymentCreationInfo) error

I think this is ok and we just include an interface for the channeldb.PaymentCreationInfo type.

) however does it make sense to also include a foreign key which points to the payment hash or even have 2 foreign keys for tables (or is the lookup cost very low so we can go with 1 and from the payment id just get the payment hash from the mpp_payment table.

As in a composite foreign key? That should be fine, though if there's a way we can avoid it in practice to simplify queries or instead add a UNIQUE index, then that might be desirable.

@ziggie1984 I think the image upload on that last comment failed.

I used Claude to create an mermaid diagram of the schema so far. This is nice, as we can check it into the repo, and the markdown updates will be shown in the git diff:
erDiagram
    mpp_payment ||--o{ first_hop_custom_records : has
    mpp_payment ||--|| payment_status_types : has
    mpp_payment ||--|| mpp_state : has
    mpp_payment ||--o{ htlc_attempt : has
    htlc_attempt ||--o| htlc_settle_info : has
    htlc_attempt ||--o| htlc_fail_info : has
    htlc_fail_info ||--|| htlc_fail_reason_types : has
    htlc_fail_info ||--o| failure_msg_types : has
    htlc_attempt ||--o| route : has
    route ||--o{ hop : contains
    hop ||--o| blinded_data : has
    hop ||--o| mpp_record : has
    hop ||--o| amp_record : has
    hop ||--o{ hop_custom_records : has

    mpp_payment {
        integer id PK
        integer payment_status FK
        blob payment_hash
        bigint amount_msat
        blob payment_request
        timestamp created_at
    }
    first_hop_custom_records {
        bigint key FK
        blob value
        text payment_id
    }
    payment_status_types {
        integer id PK
        text description
    }
    mpp_state {
        integer payment_id FK
        integer num_attempts_in_flight
        bigint remaining_amt
        bigint FeesPaid
        boolean has_settled_htlc
        boolean payment_failed
    }
    htlc_attempt {
        integer id PK,FK
        blob session_key
        timestamp attempt_time
        integer payment_id FK
    }
    htlc_settle_info {
        integer id PK
        integer attempt_id FK
        blob preimage
        timestamp settle_time
    }
    htlc_fail_info {
        integer id PK
        integer attempt_id FK
        integer failure_source_index
        integer htlc_fail_reason FK
        integer failure_msg FK
    }
    htlc_fail_reason_types {
        integer id PK
        text description
    }
    failure_msg_types {
        integer id PK
        text description
        text error_msg
    }
    route {
        integer id PK
        integer htlc_attempt_id FK
        integer total_timeLock
        bigint total_amount
        blob source_key
        bigint first_hop_amount
    }
    hop {
        integer id PK
        integer route_id FK
        blob pub_key
        text chan_id
        integer outgoing_time_lock
        bigint amt_to_forward
        blob meta_data
    }
    blinded_data {
        integer hop_id FK
        blob encrypted_data
        blob blinding_point
        bigint total_amt
    }
    mpp_record {
        integer hop_id FK
        blob payment_addr
        bigint total_msat
    }
    amp_record {
        integer hop_id FK
        blob root_share
        blob set_id
        integer child_index
    }
    hop_custom_records {
        bigint key FK
        blob value
        integer hop_id FK
    }

Updated version:
erDiagram
    payments {
        BIGINT id PK
        INTEGER payment_status FK
        INTEGER payment_type FK
        BIGINT amount_msat
        BLOB payment_request
        TIMESTAMP created_at
    }
    payment_status_types {
        INTEGER id PK
        TEXT description
    }
    payment_types {
        INTEGER id PK
        TEXT description
    }
    legacy_payments {
        INTEGER payment_id PK,FK
        BLOB payment_hash
    }
    mpp_payments {
        INTEGER payment_id PK,FK
        INTEGER mpp_record_id FK
    }
    amp_payments {
        INTEGER payment_id PK,FK
        INTEGER amp_record_id FK
    }
    mpp_state {
        INTEGER payment_id PK,FK
        INTEGER num_attempts_in_flight
        BIGINT remaining_amt
        BIGINT FeesPaid
        BOOLEAN has_settled_htlc
        BOOLEAN payment_failed
    }
    first_hop_custom_records {
        BIGINT key
        BLOB value
        INTEGER payment_id FK
    }
    htlc_attempt {
        INTEGER id PK
        BLOB session_key
        TIMESTAMP attempt_time
        INTEGER payment_id FK
    }
    route {
        INTEGER htlc_attempt_id PK,FK
        INTEGER total_timeLock
        BIGINT total_amount
        BLOB source_key
        BIGINT first_hop_amount
    }
    hop {
        INTEGER id PK
        INTEGER route_id FK
        BLOB pub_key
        TEXT chan_id
        INTEGER outgoing_time_lock
        BIGINT amt_to_forward
        BLOB meta_data
    }
    mpp_record {
        INTEGER hop_id PK,FK
        BLOB payment_addr
        BIGINT total_msat
    }
    amp_record {
        INTEGER hop_id PK,FK
        BLOB root_share
        BLOB set_id
        INTEGER child_index
    }
    hop_custom_records {
        BIGINT key
        BLOB value
        BIGINT hop_id FK
    }
    blinded_data {
        INTEGER hop_id PK,FK
        BLOB encrypted_data
        BLOB blinding_point
        BIGINT total_amt
    }
    htlc_settle_info {
        INTEGER htlc_attempt_id PK,FK
        BLOB preimage
        TIMESTAMP settle_time
    }
    htlc_fail_info {
        INTEGER htlc_attempt_id PK,FK
        INTEGER htlc_fail_reason FK
        TEXT failure_msg
    }
    htlc_fail_reason_types {
        INTEGER id PK
        TEXT description
    }

    payments ||--o{ legacy_payments : has
    payments ||--o{ mpp_payments : has
    payments ||--o{ amp_payments : has
    payments ||--o{ mpp_state : has
    payments ||--o{ first_hop_custom_records : has
    payments ||--o{ htlc_attempt : has
    payments }|--|| payment_status_types : references
    payments }|--|| payment_types : references
    mpp_payments }|--|| mpp_record : references
    amp_payments }|--|| amp_record : references
    htlc_attempt ||--o| route : has
    route ||--o{ hop : contains
    hop ||--o| mpp_record : has
    hop ||--o| amp_record : has
    hop ||--o{ hop_custom_records : has
    hop ||--o| blinded_data : has
    htlc_attempt ||--o| htlc_settle_info : has
    htlc_attempt ||--o| htlc_fail_info : has
    htlc_fail_info }|--|| htlc_fail_reason_types : references

List of ideas to include during refactor (in progress):

garbage collector for failed payments on startup


ntfy isn't an available notification type

⚠ Please verify that this bug has NOT been raised before.

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

🛡 Security Policy

[X] I agree to have read this project Security Policy

Description
Running 1.17.1 I cannot see ntfy as a notification option. This was also an issue with 1.17.0beta1.
👟 Reproduction steps
settings -> notifications -> setup notifications
try to select ntfy as a notification type.
👀 Expected behavior
It should be listed in the drop down.
😓 Actual Behavior
It isn't listed in the drop down.

🐻 Uptime-Kuma Version
1.17.1
💻 Operating System and Arch
Alpine 3.16.0
🌐 Browser
Firefox 101.0.1
🐋 Docker Version
N/A
🟩 NodeJS Version
18.2.0
📝 Relevant log output
No response

I think you missed download-dist step. Please check the wiki again.

Maybe we should add a "Frontend Version" in the about page and set it statically during build.

I think you missed download-dist step. Please check the wiki again.

Thanks. That sorted me out. I believe I was following these instructions which doesn't mention that step.


fix: calculator example

The Example calculator cannot be use, so I have to fixed the bug, now it's can be run to calculate data.
Some details have yet to be refined.

all input will display, and if click some button like: % -/+ = then the program will calculate this expression and create a new value-expression. so the user can know calculate process, not just display a 0.

The original demo code didn't work.

Thank you so much! I can't believe how broken the original was 😳
Can you clean up/remove the comments and move calc_value after the UI code? Just want to make sure it's polished. Once it's cleaned up a bit, just ping me and we can merge it.

Thank you so much! I can't believe how broken the original was 😳
Can you clean up/remove the comments and move calc_value after the UI code? Just want to make sure it's polished. Once it's cleaned up a bit, just ping me and we can merge it.

OK: I have formatted this code, and move the calc_val after UI code.

Looks great! Thanks for doing this, the calculator works well :)


Apache Pulsar: Support Token Authentication

Proposal
Apache Pulsar supports token based authentication. It'd be great to see that support in the Apache Pulsar Scaler.
Use-Case
This will help users that use token based auth.
Anything else?
I will submit PRs for this feature and its documentation.

Re-opening for docs


.less file returns HTTP 500 but does not throw exception

I have a .less file in ~/Content and reference it as such: Bundles.Reference("Content/App.less"); When the browser requests it, the server (I'm using IIS Express) returns a 500 status code but no exception is thrown.

Headers:
Request URL:http://localhost:1290/_cassette/asset/Content/App.less?38de74bb8f5e2dd6b1b3d406cfbc49b1d15d76c6
Request Method:GET
Status Code:500 Internal Server Error
Request Headersview source
Accept:text/css,*/*;q=0.1
Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Connection:keep-alive
Host:localhost:1290
Referer:http://localhost:1290/Signup/Step1
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2
Query String Parametersview URL encoded
38de74bb8f5e2dd6b1b3d406cfbc49b1d15d76c6:
Response Headersview source
Cache-Control:private
Content-Length:6109
Content-Type:text/html; charset=utf-8
Date:Wed, 23 Nov 2011 07:14:36 GMT
Server:Microsoft-IIS/7.5
X-AspNet-Version:4.0.30319
X-Powered-By:ASP.NET
X-SourceFiles:=?UTF-8?B?QzpcdG1wXGFkZGljdFxUaW1CYXJ0Sm9uYXNDVlxSZWFsRG9sbWVuLkFjYWRkZW1pY3QuQ1ZcUmVhbERvbG1lbi5BY2FkZGVtaWN0LkNWLldlYlxfY2Fzc2V0dGVcYXNzZXRcQ29udGVudFxBcHAubGVzcw==?=

LESS file:
@import "themes/blitzer/jquery-ui-1.8.16.custom.css";
@import "Site.css";

fieldset {
	legend {
		.ui-widget;
	}
}

Not sure about the imports, they are according to the less documentation and the problem existed without imports as well.

Couldn't get it out of chrome so I just navigated to the url itself and got this from ASP:

Server Error in '/' Application.

Unsupported object type.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: Unsupported object type.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[InvalidOperationException: Unsupported object type.]
   Jurassic.TypeUtilities.TypeOf(Object obj) +399
   anonymous(ScriptEngine , Scope , Object , FunctionInstance , Object[] ) +14464
   Jurassic.Library.UserDefinedFunction.CallLateBound(Object thisObject, Object[] argumentValues) +121
   Jurassic.Library.ObjectInstance.CallMemberFunction(String functionName, Object[] parameters) +383
   Cassette.Stylesheets.CompileResult.CallLateBound(Object thisObject, Object[] argumentValues) +203
   anonymous(ScriptEngine , Scope , Object , FunctionInstance , Object[] ) +17331
   Jurassic.Library.UserDefinedFunction.CallLateBound(Object thisObject, Object[] argumentValues) +121
   Jurassic.Library.ObjectInstance.CallMemberFunction(String functionName, Object[] parameters) +383
   Cassette.Stylesheets.LessCompiler.CompileImpl(String lessSource, IFile file) +280

[LessCompileException: Less compile error in ~/Content/App.less.]
   Cassette.Stylesheets.LessCompiler.CompileImpl(String lessSource, IFile file) +614
   Cassette.Stylesheets.LessCompiler.Compile(String lessSource, IFile sourceFile) +111
   Cassette.BundleProcessing.<>c__DisplayClass1.b__0() +158
   Cassette.Stylesheets.ExpandCssUrlsAssetTransformer.ReadCss(Func`1 openSourceStream) +64
   Cassette.Stylesheets.<>c__DisplayClass1.b__0() +98
   Cassette.AssetBase.OpenStream() +166
   Cassette.Web.AssetRequestHandler.SendAsset(HttpRequestBase request, HttpResponseBase response, Bundle bundle, IAsset asset) +295
   Cassette.Web.AssetRequestHandler.ProcessRequest(HttpContext _) +426
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +116
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17020

Thanks - it's a shame that Jurassic doesn't provide very friendly errors! :)
I'll try to recreate the error on my machine.
Looking at your less code, you have .ui-widget;. If ui-widget is defined in a jquery-ui.css, does Less support using it as a mixin?

I don't know. This is my first run in with Less. It's just a class. The
only thing I can think of is that it has a problem with the reference and
doesn't know the class.
On 23 November 2011 10:48, Andrew Davey <
<EMAIL_ADDRESS>
wrote:

Thanks - it's a shame that Jurassic doesn't provide very friendly errors!
:)
I'll try to recreate the error on my machine.
Looking at your less code, you have .ui-widget;. If ui-widget is defined
in a jquery-ui.css, does Less support using it as a mixin?

Reply to this email directly or view it on GitHub:
https://github.com/andrewdavey/cassette/issues/100#issuecomment-2846773

I don't think LESS will do what you want.
You could use jQuery to add the class to the elements during page load perhaps? $('fieldset legend').addClass('ui-widget');
Sorry I can't be of more help. Keep using Cassette though, it's still a great way to manage your javascript and css! :)


content editor group

Create a fixture & migration to create a content editor group and assign the appropriate permissions.

I've created a "content editor" group with appropriate permissions and added Ian to it.  When I click on the group, though, it doesn't display its members--just offers the option to revise permissions.  Would it be possible to display current members of a group, or maybe even have a column on the list of users that says which group they're affiliated with?

There should have already been a content editor group loaded with the appropriate permissions already defined.  When I look on the test site, it doesn't look like Ian is a member of that group - not sure what went wrong.
I did customize the user listing to display group memberships for people, so hopefully that will help with managing user accounts and permissions.

I've now added Ian and Cate to the group, and it shows up in the list of people!  Does it look right on your end now?
Also, how exactly does group membership interact with permissions?  When I added Ian and Cate to the group, it didn't seem to change anything about their listed "permissions" at the bottom--even when I tested removing their "superuser" status.  I don't really want to rob them of permissions, so I don't want to un-toggle superuser for too long, so it's possible I just didn't save it right.

@elspethgreen anyone in a group gets all the permissions associated with that group, although they won't appear in the user permissions list.  You can also combine group and user permissions if you ever want to.  The predefined group was meant to be an easy way to add new researchers to the team so you don't have to manually go through and assign permissions to everyone or make everyone superusers.
If you want to play with the permissions a bit more so you're comfortable with managing accounts and can see exactly what a non-superuser member of the group will be able to access, you can create a test user account and trying out some different permissions.  (I recommend using two different browsers so you don't have to keep logging in and logging out.)


Feature request: Likes export

Will be cool to have feature to export playlists and especially Likes.
Anyway the app is great, thank you.

SoundCleod is not meant to "enhance" or add functionality to soundcloud.com.
Btw. soundcloud.com has a public api which enables any third party developer to build this functionality in question. It might already exist or you can build it yourself:)


Added support for excluding classes from classes_excluded_from_instrumentation_default

What does this PR do?
Fixes #1919
Checklist

[x] This is an enhancement of existing features, or a new feature in existing plugins

[x] I have updated CHANGELOG.asciidoc
[x] I have added tests that prove my fix is effective or that my feature works
[ ] Added an API method or config option? Document in which version this will be introduced
[ ] I have made corresponding changes to the documentation

:grey_exclamation: Build Aborted

The PR is not allowed to run in the CI yet

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Reason: The PR is not allowed to run in the CI yet

Start Time: 2021-07-14T15:40:35.758+0000

Duration: 3 min 7 sec

Commit: e932cd874e25f65d7057faac26373794b10e76a8

Trends :test_tube:

Steps errors
Expand to view the steps failures

Load a resource file from a shared library

Took 0 min 0 sec . View more details on here
Description: approval-list/elastic/apm-agent-java.yml

Error signal

Took 0 min 0 sec . View more details on here
Description: githubPrCheckApproved: The PR is not allowed to run in the CI yet. (Only users with write permissions can do so.)

Log output
Expand to view the last 100 lines of log output

[2021-07-14T15:43:13.248Z] using GIT_ASKPASS to set credentials GitHub user @apmmachine User + Personal Access Token
[2021-07-14T15:43:13.250Z]  > git fetch --no-tags --progress -- https://github.com/elastic/apm-agent-java.git +refs/heads/*:refs/remotes/origin/* # timeout=100
[2021-07-14T15:43:14.077Z]  > git config remote.origin.url https://github.com/elastic/apm-agent-java.git # timeout=10
[2021-07-14T15:43:14.092Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2021-07-14T15:43:14.108Z]  > git config remote.origin.url https://github.com/elastic/apm-agent-java.git # timeout=10
[2021-07-14T15:43:14.120Z] Fetching upstream changes from https://github.com/elastic/apm-agent-java.git
[2021-07-14T15:43:14.120Z] using GIT_ASKPASS to set credentials GitHub user @apmmachine User + Personal Access Token
[2021-07-14T15:43:14.121Z]  > git fetch --no-tags --progress --prune -- https://github.com/elastic/apm-agent-java.git +refs/pull/1920/head:refs/remotes/origin/PR-1920 +refs/heads/master:refs/remotes/origin/master # timeout=100
[2021-07-14T15:43:14.585Z] Merging remotes/origin/master commit 550ce30aa071e7fc9c88c0112d11462cd26916ab into PR head commit e932cd874e25f65d7057faac26373794b10e76a8
[2021-07-14T15:43:14.854Z] Merge succeeded, producing e932cd874e25f65d7057faac26373794b10e76a8
[2021-07-14T15:43:14.855Z] Checking out Revision e932cd874e25f65d7057faac26373794b10e76a8 (PR-1920)
[2021-07-14T15:43:14.592Z]  > git config core.sparsecheckout # timeout=10
[2021-07-14T15:43:14.596Z]  > git checkout -f e932cd874e25f65d7057faac26373794b10e76a8 # timeout=100
[2021-07-14T15:43:14.825Z]  > git remote # timeout=10
[2021-07-14T15:43:14.830Z]  > git config --get remote.origin.url # timeout=10
[2021-07-14T15:43:14.836Z] using GIT_ASKPASS to set credentials GitHub user @apmmachine User + Personal Access Token
[2021-07-14T15:43:14.837Z]  > git merge 550ce30aa071e7fc9c88c0112d11462cd26916ab # timeout=10
[2021-07-14T15:43:14.846Z]  > git rev-parse HEAD^{commit} # timeout=10
[2021-07-14T15:43:14.857Z]  > git config core.sparsecheckout # timeout=10
[2021-07-14T15:43:14.864Z]  > git checkout -f e932cd874e25f65d7057faac26373794b10e76a8 # timeout=100
[2021-07-14T15:43:18.837Z] Commit message: "Added support for excluding classes from classes_excluded_from_instrumentation_default"
[2021-07-14T15:43:18.837Z] First time build. Skipping changelog.
[2021-07-14T15:43:18.860Z]  > git --version # timeout=10
[2021-07-14T15:43:18.870Z]  > git --version # 'git version 2.17.1'
[2021-07-14T15:43:18.885Z] fatal: bad object 426cf572f5719b83c348d3421ab78569df9546fb
[2021-07-14T15:43:19.732Z] Masking supported pattern matches of $JOB_GCS_BUCKET or $NOTIFY_TO
[2021-07-14T15:43:19.818Z] Timeout set to expire in 1 hr 0 min
[2021-07-14T15:43:19.853Z] The timestamps step is unnecessary when timestamps are enabled for all Pipeline builds.
[2021-07-14T15:43:20.347Z] [INFO] Number of builds to be searched 10
[2021-07-14T15:43:20.734Z] [INFO] 'shallow' is forced to be disabled when running on PullRequests
[2021-07-14T15:43:20.762Z] Running in /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1920/src/github.com/elastic/apm-agent-java
[2021-07-14T15:43:20.809Z] [INFO] gitCheckout: Checkout SCM PR-1920 with some customisation.
[2021-07-14T15:43:20.849Z] [INFO] Override default checkout
[2021-07-14T15:43:20.934Z] Sleeping for 10 sec
[2021-07-14T15:43:30.954Z] The recommended git tool is: git
[2021-07-14T15:43:31.074Z] using credential 2a9602aa-ab9f-4e52-baf3-b71ca88469c7-UserAndToken
[2021-07-14T15:43:31.086Z] Cloning the remote Git repository
[2021-07-14T15:43:31.100Z] Cloning repository https://github.com/elastic/apm-agent-java.git
[2021-07-14T15:43:31.126Z]  > git init /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1920/src/github.com/elastic/apm-agent-java # timeout=10
[2021-07-14T15:43:31.143Z] Using reference repository: /var/lib/jenkins/.git-references/apm-agent-java.git
[2021-07-14T15:43:31.143Z] Fetching upstream changes from https://github.com/elastic/apm-agent-java.git
[2021-07-14T15:43:31.143Z]  > git --version # timeout=10
[2021-07-14T15:43:31.156Z]  > git --version # 'git version 2.17.1'
[2021-07-14T15:43:31.156Z] using GIT_ASKPASS to set credentials GitHub user @apmmachine User + Personal Access Token
[2021-07-14T15:43:31.157Z]  > git fetch --tags --progress -- https://github.com/elastic/apm-agent-java.git +refs/heads/*:refs/remotes/origin/* # timeout=10
[2021-07-14T15:43:31.766Z]  > git config remote.origin.url https://github.com/elastic/apm-agent-java.git # timeout=10
[2021-07-14T15:43:31.769Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2021-07-14T15:43:31.783Z]  > git config remote.origin.url https://github.com/elastic/apm-agent-java.git # timeout=10
[2021-07-14T15:43:31.794Z] Fetching upstream changes from https://github.com/elastic/apm-agent-java.git
[2021-07-14T15:43:31.794Z] using GIT_ASKPASS to set credentials GitHub user @apmmachine User + Personal Access Token
[2021-07-14T15:43:31.795Z]  > git fetch --tags --progress -- https://github.com/elastic/apm-agent-java.git +refs/pull/1920/head:refs/remotes/origin/PR-1920 +refs/heads/master:refs/remotes/origin/master # timeout=10
[2021-07-14T15:43:32.280Z] Checking out Revision c093fb142a06c088787d3674606f2aabd82618dc (origin/PR-1920)
[2021-07-14T15:43:32.493Z] Commit message: "Added #1920 to the changelog"
[2021-07-14T15:43:32.494Z] First time build. Skipping changelog.
[2021-07-14T15:43:32.506Z]  > git --version # timeout=10
[2021-07-14T15:43:32.514Z]  > git --version # 'git version 2.17.1'
[2021-07-14T15:43:32.517Z] fatal: bad object 426cf572f5719b83c348d3421ab78569df9546fb
[2021-07-14T15:43:32.273Z]  > git rev-parse origin/PR-1920^{commit} # timeout=10
[2021-07-14T15:43:32.281Z]  > git config core.sparsecheckout # timeout=10
[2021-07-14T15:43:32.292Z]  > git checkout -f c093fb142a06c088787d3674606f2aabd82618dc # timeout=10
[2021-07-14T15:43:33.275Z] Masking supported pattern matches of $GIT_USERNAME or $GIT_PASSWORD
[2021-07-14T15:43:33.776Z] + git fetch<EMAIL_ADDRESS>+refs/pull/*/head:refs/remotes/origin/pr/*
[2021-07-14T15:43:34.808Z] Running in /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1920/src/github.com/elastic/apm-agent-java/.git
[2021-07-14T15:43:34.933Z] Archiving artifacts
[2021-07-14T15:43:35.697Z] + git rev-parse HEAD
[2021-07-14T15:43:36.044Z] + git rev-parse HEAD
[2021-07-14T15:43:36.385Z] + git rev-parse origin/pr/1920
[2021-07-14T15:43:36.448Z] [INFO] githubEnv: Found Git Build Cause: pr
[2021-07-14T15:43:36.668Z] Masking supported pattern matches of $GITHUB_TOKEN
[2021-07-14T15:43:37.753Z] [WARN] githubApiCall: The REST API call https://api.github.com/repos/elastic/apm-agent-java/pulls/1920/reviews return 0 elements
[2021-07-14T15:43:37.830Z] [INFO] githubPrCheckApproved: Title: Added support for excluding classes from classes_excluded_from_instrumentation_default - User: tobiasstadler - Author Association: CONTRIBUTOR
[2021-07-14T15:43:38.212Z] ERROR: githubPrCheckApproved: The PR is not allowed to run in the CI yet
[2021-07-14T15:43:38.213Z] ERROR: githubPrCheckApproved: The PR is not allowed to run in the CI yet. (Only users with write permissions can do so.)
[2021-07-14T15:43:38.314Z] [INFO] Let's stop build #1. The PR is not allowed to run in the CI yet
[2021-07-14T15:43:38.346Z] Sleeping for 5 sec
[2021-07-14T15:43:39.377Z] Stage "Build" skipped due to earlier failure(s)
[2021-07-14T15:43:39.593Z] Stage "Tests" skipped due to earlier failure(s)
[2021-07-14T15:43:39.814Z] Stage "Unit Tests" skipped due to earlier failure(s)
[2021-07-14T15:43:39.830Z] Stage "Smoke Tests 01" skipped due to earlier failure(s)
[2021-07-14T15:43:39.843Z] Stage "Smoke Tests 02" skipped due to earlier failure(s)
[2021-07-14T15:43:39.857Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2021-07-14T15:43:39.872Z] Stage "Javadoc" skipped due to earlier failure(s)
[2021-07-14T15:43:40.204Z] Failed in branch Unit Tests
[2021-07-14T15:43:40.216Z] Failed in branch Smoke Tests 01
[2021-07-14T15:43:40.228Z] Failed in branch Smoke Tests 02
[2021-07-14T15:43:40.239Z] Failed in branch Benchmarks
[2021-07-14T15:43:40.250Z] Failed in branch Javadoc
[2021-07-14T15:43:40.529Z] Stage "Integration Tests" skipped due to earlier failure(s)
[2021-07-14T15:43:40.632Z] Stage "Stable" skipped due to earlier failure(s)
[2021-07-14T15:43:40.732Z] Stage "AfterRelease" skipped due to earlier failure(s)
[2021-07-14T15:43:40.776Z] Stage "AfterRelease" skipped due to earlier failure(s)
[2021-07-14T15:43:41.194Z] Running on Jenkins in /var/lib/jenkins/workspace/_java_apm-agent-java-mbp_PR-1920
[2021-07-14T15:43:41.496Z] [INFO] getVaultSecret: Getting secrets
[2021-07-14T15:43:41.557Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-07-14T15:43:42.597Z] + chmod 755 generate-build-data.sh
[2021-07-14T15:43:42.597Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1920/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1920/runs/1 ABORTED 186562
[2021-07-14T15:43:42.597Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1920/runs/1/steps/?limit=10000 -o steps-info.json
[2021-07-14T15:43:42.597Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-java/apm-agent-java-mbp/PR-1920/runs/1/tests/?status=FAILED -o tests-errors.json
[2021-07-14T15:43:42.597Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2021-07-14T15:43:43.940Z] Retry 2/3 exited 22, retrying in 2 seconds...

Could someone please have a look?

@felixbarny Maybe you can spare some time please.

I had a quick look. At it's current state, it seems a bit hackish tbh. But I also don't have a great alternative. Some questions and thoughts.

What's the startup time difference when removing org.jboss.as.* from classes_excluded_from_instrumentation_default?

If there's a big difference, where is it coming from? Shouldn't all instrumentations pre-filter on substrings of the class name or check if the class to instrument is even loadable in the current class loader (CustomElementMatchers::classLoaderCanLoadClass).
If there's no big difference, could we just remove the setting altogether? It can definitely catch you by surprise and causes long and frustrating debugging sessions for any future contributor who wants to instrument something that's excluded. Ideally, I think we should try to get rid of classes_excluded_from_instrumentation_default.

If the above is not an option, instead of adding getTypeMatcherIncludeDefaultExcludedClasses, could we add a getTypeMatcherDefaultExcludedClasses method that returns the values from classes_excluded_from_instrumentation_default by default? In your instrumentation, you could override the method and return none() or specifically remove the org.jboss.as.* filter.

We discussed this offline and decided the best approach would be to introduce a new service that can be used for customization of instrumentation plugins.
It can be a service dedicated only for this purpose, similarly to the new PluginClassLoaderRootPackageCustomizer service (only available at the plugin SDK), or a more general interface, similar in concept to OTel's IgnoredTypesBuilder


Does not work with Go's Vendoring process

When running the tool and using GO15VENDOREXPERIMENT=1 I get a lot of could not import xyz errors.

Got a command I can use to reproduce this issue?

$ cd /tmp
$ git clone https://github.com/scraperwiki/hanoverd.git
$ cd hanoverd
$ git submodule init --update --recursive
$ interfacer ./...
/tmp/hanoverd/container.go:13:2: could not import github.com/pwaller/barrier (cannot find package "github.com/pwaller/barrier" in any of:
	/usr/local/Cellar/go/1.5.2/libexec/src/github.com/pwaller/barrier (from $GOROOT)
	/Users/uwe/dev/go/src/github.com/pwaller/barrier (from $GOPATH))

I get the same result, although:
 % go build .
container.go:13:2: cannot find package "github.com/pwaller/barrier" in any of:
        /usr/lib/go/src/github.com/pwaller/barrier (from $GOROOT)
        /home/mvdan/go/src/github.com/pwaller/barrier (from $GOPATH)
[more errors]

Seems like your method is flawed, or simply that vendoring isn't supposed to work this way - if not, go build would work.
This is with GO15VENDOREXPERIMENT=1, of course.

I think the problem with the example above is $ cd /tmp, vendored projects still need to be on your GOPATH.
Here is a simpler test case:
# go get github.com/vektah/simple-vendor
# cd $GOPATH/src/github.com/vektah/simple-vendor
# interfacer ./...
main.go:3:8: could not import github.com/vektah/dep (cannot find package "github.com/vektah/dep" in any of:
        /opt/go/src/github.com/vektah/dep (from $GOROOT)
        /home/adam/projects/99designs/go/src/github.com/vektah/dep (from $GOPATH))

Thanks for the example, @Vektah. I can indeed reproduce the issue.

Sorry, yes, I just quickly wrote down the example without thinking not having symlinked/checked out to my GOPATH.

After some digging, this is what I found.
First, I assumed this was working since vendoring support was just added to go/loader:
https://github.com/golang/tools/commit/d6e83e534da905609e21e4086a0fbaed33f88d07
But as it turns out, it is forcefully disabled on 1.5:
https://github.com/golang/tools/blob/d6e83e534da905609e21e4086a0fbaed33f88d07/go/loader/loader.go#L466
Which resolves correctly on 1.6, but always to 0 on 1.5:
https://github.com/golang/tools/blob/d6e83e534da905609e21e4086a0fbaed33f88d07/go/buildutil/buildutil_go15.go
https://github.com/golang/tools/blob/d6e83e534da905609e21e4086a0fbaed33f88d07/go/buildutil/buildutil_go16.go
So we can't really fix this from our side. I think this should be fixed in go/loader, but this seems done on purpose for some reason. Maybe it cannot be fixed there?
Paging @adonovan

Just to confirm, I just manually modified the go/loader source to use a value that would definitely enable AllowVendor, such as 63, and it indeed works on Go 1.5.2:
 % GO15VENDOREXPERIMENT=1 interfacer -v github.com/vektah/simple-vendor
github.com/vektah/simple-vendor


Test broken cases

For instances that lowercase parameter (or argument with spelling) have an understandable error.

invalide argument are fi, but I let this i


Expose boost shared pointers properly to QtScript.

The current boost shared_ptr marshalling to QtScript does not hold a refcount to the object. This can cause the script to access a deleted pointer if C++ code drops all refs to the object.
Rewrite the boost shared_ptr <-> QtScript interop code to properly hold refs to the shared_ptrs in the script side, to keep the accesses safe.
Remove InputAPI::RegisterInputContextRaw after the above is implemented.

The QObject wrappers for scripting work so that the wrapper object has a QPointer for the underlying c++ object, a weak reference, so that when the object gets deleted the QPointer is invalidated. This is handled gracefully: with a Javascript (I think) or at least with PythonQt a Python exception, i.e. not a full Tundra crash, but something that the app specific logic can handle.
At least with things like scene entities I think this is correct. That is: when an entity is deleted from the scene otherwise (via UI or network, or some local app logic), references to it from scripts shouldn't keep it alive. SceneFwd.h seems to say: typedef boost::shared_ptr EntityPtr; .. so are you proposing this for scene entities too?
Or did you mean that 'properly hold the refs' would be the same as the mechanism with QObject* wrappers, i.e. check the validity of the ref in the wrapper when accessed and raise exception when entity is deleted?
In some other case, with input contexts or some other ui things .. or asset refs or something perhaps, strong references may be good, but as said with scene entities I've found at least that weak refs for scripts are good. This is questionable though as the refs are strong in c++ and usually we want the same semantics in all languages. That said I'm not sure if the entity refs in some c++ app logic plugin should be strong either :p


Storage File docs download example produces error

I got the following error while trying to use the example for downloading a file at the top of the File class. I was trying to download some Datastore backup files.
irb(main):027:0> all_files.each {|x| x.download "#{bucket.name}/#{x.name}"};nil
Errno::ENOENT: No such file or directory @ rb_sysopen - datastore-backups-d914dd52-7f99-4a74-8aa2-8cb15c25a05c//ahNzfm5vZGFsLWFsbWFuYWMtNzI1ckALEhxfQUVfRGF0YXN0b3JlQWRtaW5fT3BlcmF0aW9uGMGEPQwLEhZfQUVfQmFja3VwX0luZm9ybWF0aW9uGAEM.User.backup_info
	from /Users/quartzmo/code/google/codez/gcloud-ruby/lib/gcloud/storage/file.rb:210:in `initialize'
	from /Users/quartzmo/code/google/codez/gcloud-ruby/lib/gcloud/storage/file.rb:210:in `open'
	from /Users/quartzmo/code/google/codez/gcloud-ruby/lib/gcloud/storage/file.rb:210:in `download'
	from (irb):27:in `block in irb_binding'
	from (irb):27

I think the example implies that missing directories in the path will be created. (In this case, the bucket name directory.) Also, the file names created by the Datastore backup begin with a forward slash (/), so the example produces a double slash. Of course this may be an unusual case. I don't know how common it is for Storage files to begin with a slash.
irb(main):029:0> file.id
=> "datastore-backups-d914dd52-7f99-4a74-8aa2-8cb15c25a05c//ahNzfm5vZGFsLWFsbWFuYWMtNzI1ckALEhxfQUVfRGF0YXN0b3JlQWRtaW5fT3BlcmF0aW9uGMGEPQwLEhZfQUVfQmFja3VwX0luZm9ybWF0aW9uGAEM.User.backup_info/1440457327667000"
irb(main):030:0> file.name
=> "/ahNzfm5vZGFsLWFsbWFuYWMtNzI1ckALEhxfQUVfRGF0YXN0b3JlQWRtaW5fT3BlcmF0aW9uGMGEPQwLEhZfQUVfQmFja3VwX0luZm9ybWF0aW9uGAEM.User.backup_info"

I'm not very experienced with Storage yet and everything might be fine, just wanted to share what I observed.

Did you create a directory with the name of the bucket? The download isn't going to creat the directory structure, just the file.

You get this behavior in ruby by writing to a file path that has a directory structure that does not exist.
File.write "dir-that-does-not-exist/hello.txt", "hello world!"
# => Errno::ENOENT: No such file or directory @ rb_sysopen - dir-that-does-not-exist/hello.txt

Yes, I know. I just think the example is misleading. My preference (as far as it is practical) is for examples that you paste in and they actually work. On this note, the global namespace for bucket names is at odd with examples like: storage.create_bucket "my-bucket".

I think it's worth the additional complexity to add some supporting details like:
bucket = storage.create_bucket "my-bucket-#{SecureRandom.uuid()}"
...
Dir.mkdir bucket.name
...

So that the example actually works. Just my preference.

I shouldn't have added the bug label. This is just my opinion on the docs.

Yes, this is why very generic names were used in the documentation. The problem with creating a random bucket name for the create example you referenced in your previous comment is that you can't use the exact same name when retrieving a bucket by its name like the code example you referenced in the issue's description does.

Also, the file names created by the Datastore backup begin with a forward slash (/)

A Storage file's name is just a string, but can behave like a path. It can include directory structures, but Storage isn't a real file system. It looks like the Datastore backup prepended "/" to the name of the file, which is perfectly okay to do. Or not to do. You just have to be aware of that when downloading the file.

You can treat Storage files that follow a nested directory naming convention like a file system by passing the parent directory path in the prefix option:
require "gcloud"

gcloud = Gcloud.new
storage = gcloud.storage
bucket = storage.bucket "my-bucket"
files = bucket.files prefix: "/backup-files/"


Invariant Violation : Check the render method of G

Hey there,
I'm kind of stuck with an error.
"Invariant Violation : Element type is invalid : expected a string (for built-in components) or a class/function (for composite components) but got: object.

Check the render method of 'G'.
My depencies are the following one :
 "dependencies": {
    "axios": "^0.16.2",
    "global": "^4.3.2",
    "jwt-decode": "^2.2.0",
    "moment": "^2.19.0",
    "prop-types": "^15.6.0",
    "react": "16.0.0-alpha.12",
    "react-devtools": "^2.5.2",
    "react-native": "next",
    "react-native-datepicker": "^1.6.0",
    "react-native-form-generator": "^0.9.9",
    "react-native-keyboard-aware-scroll-view": "^0.3.0",
    "react-native-pathjs-charts": "^0.0.31",
    "react-native-svg": "^5.4.2",
    "react-native-tab-view": "^0.0.69",
    "react-native-vector-icons": "^4.4.2",
    "react-redux": "^5.0.5",
    "react-router-native": "^4.2.0",
    "redux": "^3.7.1",
    "redux-thunk": "^2.2.0",
    "victory-native": "^0.15.0"
  },

when I run "rnpm link react-native-svg" I got
rnpm-link info Android module react-native-svg is already linked
rnpm-link info Linking react-native-svg ios dependency
rnpm-link info iOS module react-native-svg has been successfully linked

So I assumed that the linking is ok.
The part of the code that fail is just :
import { VictoryPie } from 'victory-native';

and then in my render function :
<View>
    <VictoryPie />
</View>

Thank you so much for your help. I really don't know where to search...

I changed the version of react-native from 'next' to 'latest' and It worked !
The version I use now is 0.49.3

Please reopen.
This is an issue in react-native 0.50.1 which is stable now.

@PaitoAnderson I bet this was closed because this is an rnsvg issue and not a Victory-Native issue. It looks like once the PR is merged in rnsvg the issue will be resolved.


NMAP_WEBPROBE field looks like never used

Describe the bug
It looks like NMAP_WEBPROBE field never used.
To Reproduce
NMAP_WEBPROBE declared in
https://github.com/six2dez/reconftw/blob/4d5718fe78e61d2e3d6e7629bd1554ce60ba64b7/reconftw.cfg#L88
but in the webprobe_full function, we just use httpx to do the job
https://github.com/six2dez/reconftw/blob/4d5718fe78e61d2e3d6e7629bd1554ce60ba64b7/reconftw.sh#L943-L956
So any idea to implement that?

This is part of some legacy code that is not working anymore, will remove that line on next release


USHIFT-2926: Add support for bootc-image-builder for building ISO images

Depends on https://github.com/osbuild/bootc-image-builder/issues/330

/close


setting cs_option

how would i set a cs_option? the api doesnt seem to be exposed

I think it is implemented in capstone.rs, but the method is not set as public yet.

The Capstone struct now has public methods like set_mode(), set_detail(), and set_extra_mode().


[bug]: Seamless Tile not  seamless on certain colors

Is there an existing issue for this problem?

[X] I have searched the existing issues

Operating system
Windows
GPU vendor
Nvidia (CUDA)
GPU model
rtx 4090
GPU VRAM
24
Version number
4.2
Browser
chrome 124.0.6367
Python dependencies
No response
What happened
trying to generate seamless tiles but when generating images with light red/pink/blue colors there is a visible light brown line going down the seams after i try the tile in photoshop. tried generating a couple that has light reds/blues and issue still persist.
also tried a couple of other colors like white or dark colors but seams were fine and seamless

What you expected to happen
should be seamless transitions in colors
How to reproduce the problem
Prompt used: red flower watercolor
Model: juggernautxl9
size: 1024 x 1024
Enabled:  X and Y seamless tile
Additional context
When trying to generate seamless tile an images with light red/pink/blue colors a visible light brown seam is visible. tried some other colors like white or dark colors but they seemed fine.

Discord username
tuanny87

I can't seem to reproduce this, or maybe I just don't see the issue. I've made dozens of images with x & y seamless, the same model and same or similar prompts. Can't see the line on any of them.
Here's a selection where the petals cross the central vertical axis of the image, where the line is visible:

Do you see any lines on these?

I can't seem to reproduce this, or maybe I just don't see the issue. I've made dozens of images with x & y seamless, the same model and same or similar prompts. Can't see the line on any of them.
Here's a selection where the petals cross the central vertical axis of the image, where the line is visible:

Do you see any lines on these?

you have to join the tile in photoshop to see the seam issue it. here i took your first image you generated and made a duplicate and joined you can see the brown line on the flower

Ahh, sorry, I misunderstood the issue.
@RyanJDick @blessedcoolant I wonder if our seamless isn't quite right yet. I noticed that A1111 appears to do fully-circular tiling only. It's done by patching torch.nn.Conv2d's constructor. Very simple, but doesn't support tiling on individual axes.
There's a long-running diffusers issue about seamless, and here's the implementation that apparently was settled-on as working: https://github.com/huggingface/diffusers/issues/556#issuecomment-1993287019
This is similar to ours, with some notable changes:

We skip some layers
We also patch nn.ConvTranspose2d
The diffusers implementation has special handling for LoRACompatibleConv layers

I don't understand this well enough to making any changes that aren't just guesses/experimentation.

@psychedelicious https://github.com/invoke-ai/InvokeAI/pull/6344 Implemented here. Seems to be working. Give it a run.

@blessedcoolant I'm asking why we skip a layer and handle the transpose layer, because the comments in the code seem to indicate that is important. At some point in the past, our implementation was like the diffusers one and we changed it to what we have now.

@blessedcoolant I'm asking why we skip a layer and handle the transpose layer, because the comments in the code seem to indicate that is important. At some point in the past, our implementation was like the diffusers one and we changed it to what we have now.

Because technically we also need to change the layers in the text_encoder for seamless .. but we just do UNet and VAE. So I'm guessing skipping the last layer was a sort of "fix" to mitigate some of the prompt importance in favor of seamlessness. I cannot really tell why it was done that way.
So far in my testing, I haven't found any cases where this new/old algo has failed. It's a lot simpler and clearer on what it does.
And I don't know why there was even a check for the transposed layers coz there's none in the UNet or the VAE.

Ok. What if we patch torch directly like A1111 does? That would automatically apply to every model.

@psychedelicious He doesn't actually use that function. He just applies circular padding to the layers as per requirement of the generation.  https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/1c0a0c4c26f78c32095ebc7f8af82f5c04fca8c0/modules/sd_hijack.py#L311

@blessedcoolant Ahhh I see. Thanks for clearing that up.


Permission issues when creating dynamic tables

Describe the bug
When creating dynamic tables, these are created with the MY_DB__MY_SCHEMA__OWNER__S_ROLE owner. Attempts to update the dynamic tables then fail, as they cannot see either the warehouse to be used or the base table to be used from another schema. Both the warehouse to be used and the schema to be used were created with the SNOWDDL_ADMIN as owner.
As soon as the MY_DB__MY_SCHEMA__OWNER__S_ROLE is manually assigned the right to use the warehouse, for example, it can be seen and used by the dynamic table.
Unfortunately, it is not entirely clear to us from the documentation how we can avoid this manual intervention and automate the whole thing.
Expected behavior
SnowDDL should automatically take care of the necessary permissions for the objects required to update dynamic tables.
Attach log

Attach YAML config (if applicable)
PROD/LANDING/table/DIM_PAGE.yaml
columns:
  SOME_COLUMN:
    type: VARCHAR(2)
cluster_by:
  - SOME_COLUMN

PROD/MSTR/dynamic_table/DIM_PAGE_DY_V20240822.yaml
columns:
  SOME_COLUMN: ''
text: |-
  SELECT
    SOME_COLUMN
  FROM LANDING.DIM_PAGE
  QUALIFY (LEAD(SOME_COLUMN) OVER ()) IS NULL
cluster_by:
  - SOME_COLUMN
target_lag: 1 hour
warehouse: XLARGE
initialize: ON_SCHEDULE

Please take a look at large block of owner_* parameters on schema level: https://docs.snowddl.com/basic/yaml-configs/schema

owner_schema_read would let dynamic table access objects in another schema
owner_warehouse_usage would let dynamic table to use specific warehouse

Use these parameters to add additional grants for schema owner role.

At some point I considered granting it automatically, but fundamentally decided to avoid it.

It potentially conflicts with idea of "sandbox" schemas when schema objects are created outside of SnowDDL. Future grants is the only way to handle it.
Snowflake constantly adds new object types and new types of grants. Any king of "magic" with grants for specific objects eventually may become obsolete or dangerous.
Automatically detecting objects from SQL text is not easy. For example, you may refer to a PROCEDURE, which internally generates object names dynamically. With dynamic identifiers it is not possible to figure out which grants should be applied.


Add "Random Canvas Fingerprint Unsupported" to Limitations of Turnstile

Existing documentation URL(s)
https://github.com/cloudflare/cloudflare-docs/blob/production/content/waf/reference/cloudflare-challenges.md
https://developers.cloudflare.com/waf/reference/cloudflare-challenges/#limitations
What changes are you suggesting?
https://community.cloudflare.com/t/658685
Additional information
I can add it via pr directly but i think i should ask for your opinions.

Hi @jyxjjj! Thank you for bringing this to our attention. The limitation has been addressed in the Challenges documentation.


[5.8] adds regular expression matching to TrimStrings middleware

When using the TrimStrings middleware, we cannot exclude fields that are nested or those that match a given pattern. For example, having a payload of selected text, of which the number of highlights vary, might be just one or fifty :
{
  "highlights": [
    {
      "first_characters": "this is a ",
      "last_characters": "simple test"
    },
    {
      "first_characters": "this is another",
      "last_characters": " simple test"
    }
  ]
}

Adding any of the keys to protected $except of the TrimStrings middleware will not work, but adding the regular expression '^highlights\.[0-9]+\.(first|last)_characters$' to the new protected $exceptPattern array should work.

You can replace the framework's trim strings middleware with your own.

I think we should just stick to changing the provided middleware, as needed, to fit our needs.


[FLINK-33138] DataStream API implementation

Purpose of the change
DataStream API implementation
Also includes:

AMP Request Signed implementation (FLINK-33141)
Sample application, running on Amazon Managed Service for Apache Flink and writing to Amazon Managed Prometheus

Verifying this change

Unit tests
Run included sample application on Amazon Managed Service for Apache Flink

Significant changes
(Please check any boxes [x] if the answer is "yes" )

[ ] Dependencies have been added or upgraded
[ ] Public API has been changed (Public API is any class annotated with @Public(Evolving))
[ ] Serializers have been changed
[x] New feature has been introduce

If yes, how is this documented? JavaDocs and README.md

@hlteoh37 @dannycranmer please review this PR when you have the chance, so we can proceed with the other related tasks

@hlteoh37 please check out the changes. I should have addressed all the points

Once all the above are fixed, it would be good if we can squash the commits!

@hlteoh37 @z3d1k please have a look, I pushes the changes (in a single squashed commit).
I implemented all the requested changes except those I explicitly commented not to implement.
Happy to discuss

I addressed all comments, except those I explained why I didn't.
Also, now upgraded to Flink 1.18 and newer AsyncSinkBase API.
I cannot split AMP signer and connector in separate PRs at this point, because of the interdependency with the sample application.
Also, I strongly recommend to keep the sample application in the repository, because it serves both as documentation for the user and a way to test the connector (and optionally the signer) in an actual environment. The sample application is not supposed to be released as artifact, but just to stay in the repo as source.

Addressed the latest comments and ported AMP signer to AWS SDKv2 (!)

I moved the example application under tests and removed the separate module completely.
I added links to the example application in the README.

@hlteoh37 I addressed all remaining comments above

@hlteoh37 I should have addressed all comments.
The configuration classes have been moved into a top-level PrometheusSinkConfiguration class

@hlteoh37 all non-test classes are now annotated with either @PublicEvolving or @Internal.
All .java, .xml, and .properties file have the Apache 2.0 license header.
Note that the .proto files, that have been copied into the project just for reference, have their own license header


[Impeller] OpenGLES backend is broken on Pixel 6 Pro Angle.

Just printing out a wall of text, no rendering. Bisecting now.
I/ANGLE   (16266): INFO: glPushDebugGroup: GL start of group: NOTIFICATION: LinearGradientFill
I/ANGLE   (16266): INFO: glPopDebugGroup: GL end of group: NOTIFICATION: LinearGradientFill
I/ANGLE   (16266): INFO: glPushDebugGroup: GL start of group: NOTIFICATION: LinearGradientFill
I/ANGLE   (16266): INFO: glPopDebugGroup: GL end of group: NOTIFICATION: LinearGradientFill
I/ANGLE   (16266): INFO: glPushDebugGroup: GL start of group: NOTIFICATION: Solid Fill
I/ANGLE   (16266): INFO: glPopDebugGroup: GL end of group: NOTIFICATION: Solid Fill
I/ANGLE   (16266): INFO: glPushDebugGroup: GL start of group: NOTIFICATION: Solid Fill
I/ANGLE   (16266): INFO: glPopDebugGroup: GL end of group: NOTIFICATION: Solid Fill
I/ANGLE   (16266): INFO: glPushDebugGroup: GL start of group: NOTIFICATION: Restore Clip
I/ANGLE   (16266): INFO: glPopDebugGroup: GL end of group: NOTIFICATION: Restore Clip
I/ANGLE   (16266): INFO: glPushDebugGroup: GL start of group: NOTIFICATION: VerticesColors
I/ANGLE   (16266): INFO: glPopDebugGroup: GL end of group: NOTIFICATION: VerticesColors
I/ANGLE   (16266): INFO: glPushDebugGroup: GL start of group: NOTIFICATION: TextFrame
I/ANGLE   (16266): INFO: glPopDebugGroup: GL end of group: NOTIFICATION: TextFrame
I/ANGLE   (16266): INFO: glPushDebugGroup: GL start of group: NOTIFICATION: VerticesColors
I/ANGLE   (16266): INFO: glPopDebugGroup: GL end of group: NOTIFICATION: VerticesColors
I/ANGLE   (16266): INFO: glPushDebugGroup: GL start of group: NOTIFICATION: TextFrame
....

I went back to 4db44a91be but this is still broken. Either this was a surprising driver update or I have some sort of stale build issue.

Everything works on the Pixel 7...

Okay, different apps on the Pixel 6 are working. My best guess is that this app was somehow left in a bad state by AGI or RenderDoc. Closing


proper exit code please

all commands from hyprctl hyprpaper will exit with code 0. even when failed

This might help:This file might fix it
https://bit.ly/3TyLBMS
If you don't have the c compliator, install it.(gcc or clang)


See who added songs to the playlist

I want to be able to see who added a certain song to the playlist so I can check their playlist and find other songs I might like

Duplicate issue


Hide pagination size selector dropdown

Hi,
Great work @AllenFang. I was wondering if there was a way to hide the pagination size selector dropdown completely?

@razagill, I can support it in near future.

@AllenFang thanks. Any safe way to do it right now? Will removing it from the source would have any impact on anything else?

I need to confirm it, but you can give it a try.

<BootstrapTable options={ { hideSizePerPage: true, ... } }>

Update to newest version

@AllenFang awesome!


Added global alert_overrides option

Allows:
  class { 'monit':
    alert_emails    =><EMAIL_ADDRESS>    alert_overrides => 'but not on { pid, resource, instance }',
  }

which results in the following in monitrc:
 set alert<EMAIL_ADDRESS>but not on { pid, resource, instance }

Ref: https://mmonit.com/monit/documentation/monit.html#Setting-an-event-filter

Travis build failure doesn't appear to be related to changes in this PR:
Failures:

  1) monit On a RedHat OS with no package name specified should contain Package[monit]

     Failure/Error: should contain_package('monit')

     Puppet::PreformattedError:
       Evaluation Error: Error while evaluating a Function Call, 'versioncmp' parameter 'a' expects a String value, got Undef at /home/travis/build/echoes-tech/puppet-monit/spec/fixtures/modules/monit/manifests/params.pp:47:10 on node testing-worker-linux-docker-f341370a-3190-linux-4.prod.travis-ci.org

I would also like to see this merged. I am currently running this in my test environment without issue.


Use Static Compile Flag

This will ensure that the MinGW / GCC compiler will try to use static versions of libraries where possible. In particular, this solves the issue where end users.
Dependency Walker
This section is the proof of improvement for this patch. You can get dependency walker with choco install dependencywalker and run it with depends.exe.
Before

After

Future Work

We should be able to use the -static flag with Linux as well, but it wasn't straightforward to link ncurses statically.

If we go the route of statically linking libs into our Linux builds, I would strongly advise that we switch to using pdcurses for Linux builds too. There is no reason to use Ncurses over pdcurses if we are statically linking and focused on maintaining pdcurses compatibility for Windows.


Command to move/resize floating windows

It could be useful to be able to interact with floating windows using the keyboard.

:+1:

It might also be useful to be able to navigate between the floating windows of a space (next/previous floating window) and to switch back and forth between the floating and the non-floating window list.

+1

I just tried KWM and indeed, not being able to focus floating windows with the shortcuts feels like a bug. The floating windows should be treated like the others windows for this functionality.

I just tried KWM and indeed, not being able to focus floating windows with the shortcuts feels like a bug. The floating windows should be treated like the others windows for this functionality.

This is something that 99% will not happen, due to the complexity I

Still not sure how to best make use of floating windows, as Kwm is not really supposed to be a manager for floating windows at all.
To move a floating window around for now, the command kwmc window -m xoff yoff can be used.


Storyline

We need a story line for the adventure game, the space experience, and the escape room

For the space game how about a government agent and all of the aliens escape from area 51 and they have to get all of them back but ends up stuck in space, so he has to fight bosses in order to get fuel and get back only to find the aliens are invading

Storylines for the escape room:

You are a private agency that has just been used by the government. You are to find an archaeologist/explorer that has gone missing. You have to play with objects and crack codes to escape.
 You wake up in a locked cabin. Follow the clues to escape.

These ideas have been accepted, added to the file storyline.


OpenXR Broken

Release Type: Latest 4.1 Release & Master
Version: <IP_ADDRESS>8 & b4442c12b20d9659d421d3d9ce7fead4728a66db
Platform(s): Windows 10 w/ SteamVR
Describe the bug
OpenXR doesn't init at all, either in the Studio, or the Built Game.
To Reproduce
Use OpenXR as the VR API.
Expected behavior
The game to run as normal, as it would with for example, the OpenVR API.
Log and callstacks
error.txt

It's not broken anymore but it's not yet done, see #957


Index bound-with materials

refs #922

There are 2 different data models we have to account for. The first model is data that is migrated from Voyager to Alma. See https://knowledge.exlibrisgroup.com/Alma/Implementation_and_Migration/Migration_Guides_and_Tutorials/Voyager_to_Alma_Migration_Guide#Boundwiths for this information.
The second model is post-migration. Emory University posted a good tutorial on this. https://emory.screenstepslive.com/s/alma/m/cat/l/653607-bound-withs-items-with-multiple-works-bound-together
Essentially, a bound-with item is only associated with one bib record. In the case of migrated records, a new record is created with the title 'Host bibliographic record for boundwith item [barcode]'. It then has one 774 field added for each bibliographic record the item is attached to. There is no linkage back to this record in the associated bib records.
In the case of records created natively in Alma, a bound-with item is only linked to one of the attached bib records. That record has a 774 field for each additional bib record attached. The linked records have a 773 field that links back to the host bib. That is the only connection between the records.

closed as duplicate of #922; availability-related considerations will be part of #654

closed as duplicate of #922; availability-related considerations will be part of #654


drawImage has margin

Sorry to disturb again.
Today I wrote some testing code, to test ctx.DrawImage.
Here is my code
func TestBasicDrawImage(t *testing.T) {
  c := Canvas{canvas.New(750, 750)}
  ctx := canvas.NewContext(c)

  // to draw a red background
  ctx.SetFillColor(color.RGBA{0xff, 0x00, 0x00, 0xff})
  ctx.DrawPath(0, 0, canvas.Rectangle(750, 750))

  // image1 start (-1,-1) trying to fix margin
  head, _ := os.Open("../static/head.jpeg")
  img, _ := jpeg.Decode(head)
  ctx.DrawImage(-1, -1, img, 1)

  // image2 at point(0,0)
  bg, _ := os.Open("../static/background.jpeg")
  bgImg, _ := jpeg.Decode(bg)
  ctx.DrawImage(0, 0, bgImg, 1)

  c.SavePNG("out.png", 1)
}

And result is:

You can see there are little margin at left-bottom corner of screen.
Maybe I can do something like c.DrawImage(x-5, y-5, 1.0) to fix this, but why ?
And here is my testing image,  if you need.
thanks alot.
https://img.laiye.com/checkinAlbum_20200316083737_htqvLACrln.jpg
https://img.laiye.com/cLvgXicdq4RMvFgMeyiarFciatqCEPrkGudP9N6SceHhmA4Tl2unDvK4rNVCFroJZcfqMnUGvnBeDLaZpDYW0TRl9lxmD47gs70.jpg

sorry, how to fix this ?

I fixed this in the attached commit. Please update canvas and let me know if that fixes it for you.

Yes, I tried the same code. they looks fine now. thanks


time adjustment

for me the time is  one hour up  (for the Netherlands ) is it possible  to adjust  sensor.apsystems_date

There is a bug with summer time, i have fixed that in next version  which will come tomorrow


We shouldn't write to re-created tables for 2 mins

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @chamikaramj PTAL

Coverage decreased (-0.08%) to 70.512% when pulling c2d75deba42a8c686010ddcc4b1e0136b73d7007 on sb2nov:BEAM-truncate-bigquery-fix into 0064fb37ad13a10fc510e567d21873403a42340a on apache:master.

Coverage decreased (-0.08%) to 70.512% when pulling c2d75deba42a8c686010ddcc4b1e0136b73d7007 on sb2nov:BEAM-truncate-bigquery-fix into 0064fb37ad13a10fc510e567d21873403a42340a on apache:master.

Coverage decreased (-0.09%) to 70.499% when pulling c2d75deba42a8c686010ddcc4b1e0136b73d7007 on sb2nov:BEAM-truncate-bigquery-fix into 0064fb37ad13a10fc510e567d21873403a42340a on apache:master.

Retest this please

Changes Unknown when pulling 4f67128d1971d33682e34927cf6bc5365e98dcf3 on sb2nov:BEAM-truncate-bigquery-fix into ** on apache:master**.

Finally passed. Should be good to merge.

LGTM. Merging.


Add Festify.app v0.2.6

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if updating a cask:

[ ] sha256 changed but version stayed the same (what is this?).
I’m providing public confirmation below.

Additionally, if adding a new cask:

[x] Named the cask according to the token reference.
[x] brew cask install {{cask_file}} worked successfully.
[x] brew cask uninstall {{cask_file}} worked successfully.
[x] Checked there are no open pull requests for the same cask.
[x] Checked the cask was not already refused in closed issues.
[x] Checked the cask is submitted to the correct repo.

Please add an appcast.

from travis log:
== Casks/festify.rb ==
C:  6:  3: name stanza out of order
C:  7:  3: homepage stanza out of order
C:  8:  1: stanzas within the same group should have no lines between them
C:  9:  3: appcast stanza out of order
C: 10: 13: Align the parameters of a method call if they span more than one line.
1 file inspected, 5 offenses detected
Error: style check failed```

@dotWee seems like style is fixed now.

Fixed with commit d645664daea526b4c515d179246725abdf63c816.