Can no longer publish XSD-based DITA Maps with DITA OT 4.1

I'm attaching an XSD based DITA Map, publishing it results in these errors reported in the console:
 [gen-list] Using Xerces grammar pool for DTD and schema caching.
 [gen-list] Processing file:/../test.ditamap
 [gen-list] [DOTJ030I][INFO] No 'class' attribute for was found for element '<bookmap>'. The element will be processed as an unknown or non-DITA element.

test.zip

The bug was caused by a fix I made in org.ditang.relaxng.defaults.RelaxDefaultsParserConfiguration.setFeature(String, boolean) where I forgot to propagate the XERCES_SCHEMA_VALIDATION feature further down in the configuration.
So this is a side effect of #3253

This problem means also that we probably have zero tests for publishing xml schema based maps and topics.


Add further information

Add information about the meaning of each parameter, possible causes and resolution steps.

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

ID: aec3b612-e03e-f2d5-62de-e2edcbf5377f
Version Independent ID: d4465366-fd3e-a92a-3b12-d7936ff4c049
Content: Bug Check 0x9 IRQL_NOT_GREATER_OR_EQUAL
Content Source: windows-driver-docs-pr/debugger/bug-check-0x9--irql-not-greater-or-equal.md
Product: windows-hardware
GitHub Login: @DOMARS
Microsoft Alias: domars

First off, thanks for all of the input on the bug checks. We use customer input like this as well as data on how often the bug checks occur, to determine how we allocate our documentation team resources.
I wanted to provide some additional information about how I prioritize the stop code content. My current focus is to document—for developers—the new stop codes such as DRIVER_PNP_WATCHDOG  that you mentioned in this issue: https://github.com/MicrosoftDocs/windows-driver-docs/issues/846. I also want to expand the general guidance we provide on dump files and stop codes in topics, like this one: https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/analyzing-a-kernel-mode-dump-file-with-kd
It takes a lot of time to research, write up, and collaborate with the dev team to create or update bug check topics. Sadly, there are more topics in need of more info than there are hours that I work. We have found that about 25 of the stop codes generate the vast majority of the customer issues, so that is where I focus our limited resources.
For the existing stop codes, let me know if you could point out a handful of specific codes where additional information would be particularly helpful.
Our goal is to document for a wide variety of situations why a specific bug check can occur. In the past, I’ve had to clean out some references to “this bug check is caused by CDROM drives” or “when a floppy disk does this,” as these describe specific technologies, at a specific point in time, rather than the underlying code error that causes the bug check.
One additional caveat: We can’t disclose any data about the internal operations of Windows that wouldn’t be appropriate.
As you might imagine, we are focused on Windows 10, as we think that is the most secure and reliable version of Windows, that we hope everyone upgrades to as soon as possible.
Thanks for your contributions and interest in improving our docs.

@LuigiBruno - I have opened an internal work item to track this work, so closing this issue for now.
As I have mentioned before, we use a process to prioritize the most frequent bug checks out of the hundreds that are currently defined. With our limited documentation team resources, it is likely that we will only be able to do this work for a small sub set of all of the possible stop codes.
Thank you for your interest in improving our stop code docs.

@LuigiBruno - I have opened an internal work item to track this work, so closing this issue for now.
As I have mentioned before, we use a process to prioritize the most frequent bug checks out of the hundreds that are currently defined. With our limited documentation team resources, it is likely that we will only be able to do this work for a small sub set of all of the possible stop codes.
Thank you for your interest in improving our stop code docs.

OK @DOMARS. Thank you.


Issues with ZSO created by maxcso

I can't seem to replicate the issues people are having, but there are some reported errors with the ZSO files created by maxcso:
https://github.com/ps2homebrew/Open-PS2-Loader/issues/225

Can you link to the actual decompression code?  I can take a quick look.
That said, my guesses are one of:

Maybe there's a bug in the decompression code.  I hope it doesn't have the same performance issues PSP CFW decompression code used to have, I assume PS2 IOPS is just as bad.
Maybe people are compressing to a CSO (zlib) and then renaming the file or something.
Maybe people are using the experimental CSOv2 format, which was implemented just for testing, and mixes lz4 and zlib.

There's absolutely no detail in that issue about actual issues, just statements that assert issues occur.  I've seen no indication that maxcso ever loses the first 16 sectors (something that likely would happen with CSO as well, if it was a bug in maxcso, and someone would've reported by now surely.)
That said, maxcso is named "max" for a reason.  Even with LZ4, maxcso brute forces to find the best compression:
https://github.com/unknownbrackets/maxcso/blob/56ccff539c94de44f9745d9f1fbaac6f65a58b26/src/sector.cpp#L258-L260
Maybe the decompressor doesn't support LZ4HC or something.
-[Unknown]

If it's this:
https://github.com/JoseAaronLopezGarcia/Open-PS2-Loader-ZSO/blob/master/modules/isofs/lz4.h
My first reaction is that it's using a version of LZ4 from 8 years ago, while maxcso is using one from only 2 years ago:
https://github.com/lz4/lz4/commit/69dc85b8abe78246bea91a5ba1205e4c07b96a97
https://github.com/lz4/lz4/commit/293713a4fa085d73f396200d2387631b045c118e
I don't know if there's some compatibility issue between the versions, or any bugs in the older version.  In theory, they're the same major version so the format ought to be the same.  Although, supposedly there are performance improvements in some of those versions, at least...
Also, maxcso would need explicit --block=2048 because it assumes any decompressor capable of handling > 2GB files is also capable of handling larger block sizes.  This is true of PS2 emulators.  I guess this is probably the issue, but you could compare the header of a working zso with a not-working zso to be sure.
-[Unknown]

No it must be an issue with maxcso since it affects other formats too (CSO, CSOv2 and DAX).
As per my tests, DAX and CSO files generated by their original compressors work fine on ARK and ME (the only known CFW to support DAX), but CSO and DAX generated by maxcso are a hit and miss. Sometimes even maxcso itself can't recognize or uncompress its own generated files (happened to me with DAX specially).
Same happens with CSOv2, some files work fine, others boot but eventually crash.

I also have compressed a few dozen games PSP and PS2 with maxcso's default settings and decompressed them to make sure all hashes matched. There wasn't any issues.

As they say, extraordinary claims require extraordinary evidence. maxcso has been used for years, with PSP and PS2 games, by probably at least thousands of people. It's on some Linux package managers and several people have used it to convert their entire library to CSO and verified each one. No one has reported issues with PPSSPP, PCSX2, Play!, or etc. for some time now.
A new client is written and has problems with it. Your assertion is that all the people who have used it before successfully simply haven't noticed that it's completely broken for multiple widespread use cases. This only took a handful of people trying 10s of games to discover and is somehow widespread, because everyone before couldn't even see their hands in front of their faces.
I'm not saying maxcso can't have a bug here, but I hope you can understand why I'm looking for more detail. Even if there is a bug in maxcso, I and others haven't been able to reproduce it - that's why I'm asking for more detail. It could definitely be there's an issue with ZSO, because that's generally unpopular, but let's focus on CSO since you're saying it's just completely broken trivially.
I've tried maxcso on about 74 different PS2 games and they've all been compressed without issue and decompress without issue. Emulators such as PCSX2 can load them without issue. Examples include: Dark Cloud 1 (US), Wild Arms: Alter Code F (US), Mana Khemia 2 (US), Xenosaga 1 (US). Xenosaga 1, for example, used a block size of 16384, and an index shift of 2. Its CRC, as calculated by maxcso --crc, is 3d9843e9 which is exactly correct. Everything in the header and data is consistent. This was using maxcso v1.13.0.
Now, can you please provide specific examples?
-[Unknown]

My (wild) guess would be the compression libraries. I know that the LZ4 used for ZSO is not compatible with LZ4-HC, and perhaps the deflate algorithm (official one on PSP firmware) is old and outdated.
You shouldn't use PC software (emulators) as the base of work: they have updated libraries and more RAM available.
Try a few games on an actual PSP and PS2 and see if maybe you can reproduce the issue users are having.
If it works on real hardware, it will work on an emulator.
Also please don't take this as an attack on maxcso. We all know and appreciate this all-in-one tool and all its features, but if users can't get their games working with it, they will move onto the other compressor that does generate valid files for them.
I don't wanna have 5 different compressors around and having to remember their commands, I prefer using maxcso for all formats, but so far I keep having to go back to 20 year old compressors that aren't even open source to be able to generate working files.
Also offtopic: any plans to implement JSO support?

My (wild) guess would be the compression libraries. I know that the LZ4 used for ZSO is not compatible with LZ4-HC, and perhaps the deflate algorithm (official one on PSP firmware) is old and outdated.

Is there a particular reason that your recently written new code is using such an old version of LZ4?  Is it codesize or toolchain compatibility?
If you're talking about CSOs not working specifically on some PSP CFW, that is #64 and you can use the latest git or --no-libdeflate.  It's true that there's something that implementation of deflate isn't supporting which libdeflate does.

You shouldn't use PC software (emulators) as the base of work: they have updated libraries and more RAM available.

Yep, I know something about testing things on hardware and accurate emulation.  I've probably created more console accurate algorithms than you have, so no need to explain that to me.  But software is software.  We're not attempting to support the specific values of a hardware produced ADSR curve here, the PS2 doesn't have hardware or BIOS LZ4 support.

Try a few games on an actual PSP and PS2 and see if maybe you can reproduce the issue users are having. If it works on real hardware, it will work on an emulator.

I've never used your custom software PS2 implementation that you wrote recently, even though you're somehow confident it cannot have bugs.  Obviously I've used an actual PSP extensively.  Sometimes I feel like it's only me and gid15 actually testing things on real PSP hardware these days.

Also offtopic: any plans to implement JSO support?

Not really.  I'd probably accept a proper pull request, though.
-[Unknown]

Is there a particular reason that your recently written new code is using such an old version of LZ4? Is it codesize or toolchain compatibility?

On devices like the PSP and PS2 you don't really have a lot of RAM to spare, surely someone with so much experience like yourself should know this very basic fact.

I've probably created more console accurate algorithms than you have, so no need to explain that to me.

Is there any reason to be this toxic to your users? You'll end up driving them away and trust me maxcso isn't exactly popular in the PSP or PS2 scene.
BTW when you write a full CFW for PSP with all the features ARK-4 has then maybe you can lecture me about what works and what doesn't, and maxcso doesn't work, unlike 20 year old compressors that work flawlessly.

I've never used your custom software PS2 implementation that you wrote recently, even though you're somehow confident it cannot have bugs.

You've never used my code and you are sure it's full of bugs? Despite the fact that all other compressors, including decades old ones, work flawlessly in it.
You can keep being in denial and keep your toxicity to yourself. Close this issue and just let users go to alternative tools like they already are doing.

On devices like the PSP and PS2 you don't really have a lot of RAM to spare, surely someone with so much experience like yourself should know this very basic fact.

But no one is asking you to compress LZ4HC, just decompress.  As far as I know, that has about the same memory requirements as LZ4.  Neither is really allocating buffers.  LZ4HC just works harder to find a more optimal match.
Either way you already have the entire block in RAM so it's hard to imagine it using significantly more RAM, it can't backreference outside the RAM you've already got allocated.

Is there any reason to be this toxic to your users? You'll end up driving them away and trust me maxcso isn't exactly popular in the PSP or PS2 scene.

It's strange to me that you're calling asking for specific details toxic.  I'm just asking questions and saying that there's no reason to have a pointless contest or arguments about other things.  I've also acknowledged that maxcso may have a bug, and that your PS2 loader may have a bug.  I'm not sure why you consider assuming there's a possibility your more recently written code may have a bug to be an attack.  I still don't understand why you've been unwilling to name any specific game with any specific problem.  I outlined an example of this for you to make it easy in my comment referencing Xenosaga.
You said "Sometimes even maxcso itself can't recognize or uncompress its own generated files (happened to me with DAX specially)."  If this is true, obviously I would like to fix it.  Could you please just answer the question of further detail?  What game?  What error messages do you get?
-[Unknown]

I'm not even goint to bother reading what you have said.

That said, I am glad that absolutely no user and nobody on the PSP community has ever even mentioned CSOv2, let alone use it. Even supporting the old, obsolete and barely known JSO format had more traction and acceptance.

@malvarenga123 you mentioned not being able to reproduce any issues - was that with ZSO as well?  I'm not really sure what's going on here, but without a specific example or anyone able to replicate, it's hard to do anything.
I'm thinking of closing this since it has insufficient info.  That's not to say there can't be an issue, just a lack of any actionable detail.  We could try disabling LZ4HC compression - but without details on replication, it's unclear if anyone could verify that helps.
-[Unknown]

@unknownbrackets Yes, I used ZSO (--format=zso) for testing. All files decompressed without issues. Even God of War, which is a dual-layer disc, decompressed to the exact same original iso (md5 matched). Not once maxcso refused to read the files it has created. Granted I'm only using "good" iso files that can be verified in redump's database. Maybe the people having issues are using malformed or corrupt isos.
@JoseAaronLopezGarcia are you actually reading the same texts as I am? I don't see any toxicity or offense in unknownbrackets' responses. And I do agree that neither you or any of the users in the ZSO thread have provided useful information to debug this, which is ironic considering you are a developer yourself.

From what I've read so far on psx-place forums and Discord, the "mysterious" issue seems to be nothing but a user error. Gotta make ZSOs simply with --format=zso and no other arguments.
All the clean ISOs I have on hand, a DVD9 game (Midnight Club 3 Remix), and also modded ISOs – zero compatibility problems on my end as of yet.

@unknownbrackets I found the root of the problem:
https://github.com/unknownbrackets/maxcso/blob/56ccff539c94de44f9745d9f1fbaac6f65a58b26/src/compress.cpp#L16-L20
Playstation 2 doesn't support LARGE_BLOCK_SIZE due to super low free memory. PS2 supports only SMALL_BLOCK_SIZE
After reaching threshold LARGE_BLOCK_SIZE_THRESH the compression code instead increases Alignment. So for 0-2Gb alignment = 1, for 2-4 Gb alignment = 2, for 4-6 Gb alignment =3, for 6-8 Gb alignment = 4, etc.
Is it possible to make this behaviour either via some option flag, r by default?

Yes, you can just specify the block size as an argument as noted in the README:
   --block=N        Specify a block size (default depends on iso size)
                    Many readers only support the 2048 size

At the time of writing, some older tools for the PSP (which can only have UMDs up to 1.8 GB) didn't properly read the header and that's why the default is 2048 for < 2 GB.  Many other softwares since properly read that header.
Use this to generate ZSO files with a 2048 byte block size.
maxcso --block=2048 --format=zso input.iso

The correct thing for a reader of this format to do would be to check the header, and reject the file with a clearer message if it's unsupported.  That way people know what's going on, even if the user explicitly uses a higher block size (which gives better compression) without realizing it's unsupported.  A very reasonable way this could happen is that someone compresses it for their emulator, and then weeks/months later decides to play it on a real PS2, not remembering anything about block sizes.
-[Unknown]

Welp, it seems you were right from the beginning :)

I'm not really against the idea of lowering the default block size for all ZSO files, since the likely case for ZSO is a weaker device with less available RAM for buffers.
I did also include an example Windows batch file for reference:
https://github.com/unknownbrackets/maxcso/blob/2a26a15347767c8f343cc8d03b74028e1be25799/examples/format-zso.cmd
Hope that helps anyone having any trouble.
-[Unknown]


error: Exited sync due to fetch errors

Still not able to checkout the sourcecode.
The process end up with:
error: Exited sync due to fetch errors
and in a longer form:
remote: Total 6288675 (delta 25670), reused 28988 (delta 25035), pack-reused 6257163        MiB/s
Receiving objects: 100% (6288675/6288675), 1.34 GiB | 2.45 MiB/s, done.
Resolving deltas: 100% (5308789/5308789), done.
From http://github.com/RadeonOpenCompute/ROCK-Kernel-Driver

[new tag]         roc-2.1.0  -> roc-2.1.0
[new tag]         roc-1.0.0  -> roc-1.0.0
[new tag]         roc-1.1.0  -> roc-1.1.0
[new tag]         roc-1.1.1  -> roc-1.1.1
[new tag]         roc-1.2.0  -> roc-1.2.0
[new tag]         roc-1.3.0  -> roc-1.3.0
[new tag]         roc-1.3.1  -> roc-1.3.1
[new tag]         roc-1.5.0  -> roc-1.5.0
[new tag]         roc-1.5.1  -> roc-1.5.1
[new tag]         roc-1.6.0  -> roc-1.6.0
[new tag]         roc-1.6.1  -> roc-1.6.1
[new tag]         roc-1.6.2  -> roc-1.6.2
[new tag]         roc-1.6.3  -> roc-1.6.3
[new tag]         roc-1.7.0  -> roc-1.7.0
[new tag]         roc-1.7.1  -> roc-1.7.1
[new tag]         roc-1.7.2  -> roc-1.7.2
[new tag]         roc-1.8.0  -> roc-1.8.0
[new tag]         roc-1.8.1  -> roc-1.8.1
[new tag]         roc-1.8.2  -> roc-1.8.2
[new tag]         roc-1.8.3  -> roc-1.8.3
[new tag]         roc-1.9.0  -> roc-1.9.0
[new tag]         roc-1.9.1  -> roc-1.9.1
[new tag]         roc-1.9.2  -> roc-1.9.2
[new tag]         roc-2.0.0  -> roc-2.0.0
Fetching projects:  97% (41/42)
error: Exited sync due to fetch errors

Repo is attempting to download multiple projects in parallel, so it's not the ROCK project that is failing to download. The underlying problem (if you keep running repo sync until all other projects are downloaded) is that we missed the roc-2.1.0 tag on rocm_smi_lib. We're in the process of getting this fixed.

This should be fixed now. Thanks for the report.

Thanks for your fast intervention. It looks like getting all this components together will be quite harder.


Add view and edit components for OType.BINARY properties

Duplication of https://github.com/PhantomYdn/Orienteer/issues/131. Closing this one


Example for Rowspan attribute for cdk table

Bug, feature request, or proposal:
Request, creating a request as suggested in ticket  #10594 by @CDDelta
What is the expected behavior?
Not able to implement rowspan attribute for cdk table. would be great if any example is present on material.angular.io.
What is the current behavior?
No example is present for rowspan attribute for cdk table.
What are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV
What is the use-case or motivation for changing an existing behavior?
C
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
All
Is there anything else we should know?
expected example:

Thanks, will add this to the queue of things to change in the docs.

Here's a reproduction of your expected result: https://stackblitz.com/edit/angular-lnahlh?file=app%2Ftable-basic-example.css

Thank you a lot @andrewseguin. This is crazy.

Can this be applied on header rows? I want to do something like this http://prntscr.com/k725va

@andrewseguin example is very good, but I can't wrap my head aroung doing it of arrays of object inside objects instead of repeating 'rows' that then get grouped by rowspan.
How would rowspan would be done for something like:
const DATA = [
{
id: 1,
reference: 'product 1',
pattern: 'pattern 1',
prices: [{ price: 10 }, { price: 20 }]
},
{
id: 2,
reference: 'product 2',
pattern: 'pattern 2',
prices: [{ price: 30 }, { price: 40 }]
},
{
id: 3,
reference: 'product 3',
pattern: 'pattern 3',
prices: [{ price: 50 }, { price: 60 }]
},
];

I ended up manually figuring out the rowspans based on the current filters and page size. The basic idea is to update an array of rowSpans every time the filter or pagination changes:
updateRowSpans(){
    this.rowSpans = [];
    let renderedRowData = this.tableData.filteredData.slice(this.paginator.pageIndex * this.paginator.pageSize, (this.paginator.pageIndex + 1) * this.paginator.pageSize)
    let indexOfFirstRow: Map<string, number> = new Map(); //first appearance of the row to span

    renderedRowData.forEach((row: MyRowObject, index) => {
      if(indexOfFirstRow.get(row.propertyIWantToSpan.id) === undefined){
        //if this is the first one, set the first row so we can increment it later
        indexOfFirstRow.set(row.propertyIWantToSpan.id, index);
        this.rowSpans[index] = 1;
      }else{
        //otherwise, increment the span of the first row and set this one to 0
        this.rowSpans[indexOfFirstRow.get(row.propertyIWantToSpan.id)]++;
        this.rowSpans[index] = 0;
      }
    });
  }

and then
<td mat-cell *matCellDef="let row; let i=index"
          [rowSpan]="rowSpans[i]"
          [style.display]="rowSpans[i]===0 ? 'none' : ''">
...

It'd be cool if something like this could be built into material at some point.

Here's a reproduction of your expected result: https://stackblitz.com/edit/angular-lnahlh?file=app%2Ftable-basic-example.css

Would it be possible to turn this into a directive?
Like:
<td mat-cell **shouldSpan**  *matCellDef="let row; let i=index">

And it'll automatically subscribe himself to a service that handles it.


Can't change save all to ctrl+shift+s

Issue Type: Bug
I tried to change the key binding of save all to the win standard ctrl+shift+s, but it does not work.
In the visual editor I am not able to enter ctrl+shift+s at all, if I do so in the json, it still does not work.
I can set it to every other command (e.g. ctrl+shift+a) and it works.
On another system, I did the same and it worked without any problems, same VS Code and Windows versions there...
Reproduction is simple:

go to the key binding editor
search for "save all"
remove existing bindings
try to add ctrl+shift+s to save all
(I have no extensions installed)

That's the contents of my keybindings.json:
// Place your key bindings in this file to override the defaultsauto[]
[
    {
        "key": "ctrl+shift+s",
        "command": "workbench.action.files.saveAll"
    },
    {
        "key": "ctrl+k s",
        "command": "-saveAll"
    },
    {
        "key": "ctrl+shift+s",
        "command": "workbench.action.files.saveFiles"
    }
]

And that's the simplified keybindings.json from my other system (where it works), but that also does not work here:
// Place your key bindings in this file to override the defaultsauto[]
[
    {
        "key": "ctrl+shift+s",
        "command": "workbench.action.files.saveAll"
    }
]

I also tried to remove all other ctrl+shift+s bindings, but that does not change the behaviour.
With this version, the binding at least gets displayed in the file menu, but still does not work:
// Place your key bindings in this file to override the defaultsauto[]
[
    {
        "key": "ctrl+shift+s",
        "command": "workbench.action.files.saveAll"
    },
    {
        "key": "ctrl+k s",
        "command": "-saveAll"
    },
    {(s)
        "key": "ctrl+shift+s",
        "command": "saveAll"
    },
    {
        "key": "ctrl+k ctrl+shift+s",
        "command": "-workbench.action.files.saveWithoutFormatting"
    },
    {
        "key": "ctrl+shift+s",
        "command": "-workbench.action.files.saveAs"
    },
    {
        "key": "ctrl+shift+s",
        "command": "-workbench.action.files.saveLocalFile",
        "when": "remoteFileDialogVisible"
    }
]

On the other system, the menu still shows ctrl+k s, while both are working there.
VS Code version: Code 1.69.2 (3b889b090b5ad5793f524b5d1d39fda662b96a2a, 2022-07-18T16:12:52.460Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No

System Info

Item
Value

CPUs
AMD Ryzen 9 5900X 12-Core Processor             (24 x 3693)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.91GB (26.59GB free)

Process Argv
--crash-reporter-id defa8b15-1f2c-4a9a-bb73-d29a22e7ff14

Screen Reader
no

VM
0%

Extensions: none
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411cf:30525689
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
pylanb8912cf:30529770
vsclangdf:30486550
c4g48928:30535728

Let's first try to find out what command executes on your machine, with your settings and your keybindings when pressing ctrl+shift+s. Could you please try the following:

Run the command Developer: Toggle Keyboard Shortcuts Troubleshooting
This will activate logging of dispatched keyboard shortcuts and will open an output panel with the corresponding log file.
Press exactly the keybinding you desire.
check what VS Code detects and what command is invoked.

If you are having trouble understanding the output, please feel free to paste here and I can try to help.

Hi.
I activated the logging, and when I press CTRL+SHIFT+S, I get the following output:
[2022-08-23 12:56:31.529] [renderer1] [info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl], code: ControlLeft, keyCode: 17, key: Control [2022-08-23 12:56:31.529] [renderer1] [info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl], code: ControlLeft, keyCode: 5 ('Ctrl') [2022-08-23 12:56:31.529] [renderer1] [info] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase. [2022-08-23 12:56:31.624] [renderer1] [info] [KeybindingService]: / Received  keydown event - modifiers: [ctrl,shift], code: ShiftLeft, keyCode: 16, key: Shift [2022-08-23 12:56:31.625] [renderer1] [info] [KeybindingService]: | Converted keydown event - modifiers: [ctrl,shift], code: ShiftLeft, keyCode: 4 ('Shift') [2022-08-23 12:56:31.625] [renderer1] [info] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase. [2022-08-23 12:56:32.376] [renderer1] [info] [KeybindingService]: + Ignoring single modifier ctrl due to it being pressed together with other keys.
Current content of my keybindings.json:
// Place your key bindings in this file to override the defaultsauto[] [     {         "key": "ctrl+shift+s",         "command": "saveAll"     },     {         "key": "ctrl+k s",         "command": "-saveAll"     },     {         "key": "ctrl+shift+s",         "command": "-workbench.action.files.saveLocalFile",         "when": "remoteFileDialogVisible"     },     {         "key": "ctrl+shift+s",         "command": "-workbench.action.files.saveAs"     } ]
When I remove it from the json and try to add it in the shortcut editor, I am still not able to enter CTRL+SHIFT+S. It enters CTRL+SHIFT and as when I press S, it ignores it and I only get the following output:
[2022-08-23 13:00:31.273] [renderer1] [info] [KeybindingService]: + Ignoring single modifier ctrl due to it being pressed together with other keys.

Thank you for the extra information. It looks like ctrl+shift+s is not reaching VS Code, therefore it cannot be dispatched by us to execute saveAll. Usually this happens when the OS is configured to do something on that particular keybinding or when there is some other software installed on the machine which listens globally on that keybinding. Unfortunately, there is nothing we can do on our side.

You're right. I tested it in notepad++ and it didn't work there too.
This shortcut (and some more) have been blocked globally by AMD Software: Adrenalin Edition
I disabled the shortcuts there and now it works as expected.
Many thanks for your input, without I would not have solved it.


Mac OSX ssh agent permissions

Hello,
i saw your solution to the non-root permission issue with ssh agent on osx https://github.com/docker/for-mac/issues/410#issuecomment-553340700
Unfortunately, i can not reproduce it, even with your own docker images
$ docker run -ti -v /run/host-services/ssh-auth.sock:/run/host-services/ssh-auth.sock -e SSH_AUTH_SOCK="/run/host-services/ssh-auth.sock" ajardin/symfony-php bash

bash-5.0# ls -lsa /run/host-services/
total 12
     4 drwxr-xr-x    1 www-data www-data      4096 Jan 27 09:10 .
     8 drwxr-xr-x    1 root     root          4096 Dec 23 21:39 ..
     0 srwxr-xr-x    1 root     root             0 Jan 27 08:27 ssh-auth.sock

bash-5.0# ssh<EMAIL_ADDRESS>The authenticity of host 'github.com (<IP_ADDRESS>)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'github.com,<IP_ADDRESS>' (RSA) to the list of known hosts.
<EMAIL_ADDRESS>Permission denied (publickey).

Does this really works on your system ?

Hi @nervo!
Sorry for the very late response... 😞
Maybe you weren't using the latest version of Docker for Mac, as it should work on the stable channel since 2020-01-21 with version <IP_ADDRESS>. Before that, only people using the beta channel could use this new feature.
I ran exactly the same commands without any problem, as you can see below.
docker run -ti -v /run/host-services/ssh-auth.sock:/run/host-services/ssh-auth.sock -e SSH_AUTH_SOCK="/run/host-services/ssh-auth.sock" ajardin/symfony-php bash

bash-5.0# ls -lsa /run/host-services/
total 12
     4 drwxr-xr-x    1 www-data www-data      4096 Mar 26 20:34 .
     8 drwxr-xr-x    1 root     root          4096 Dec 23 21:39 ..
     0 srwxr-xr-x    1 root     root             0 Mar 26 16:19 ssh-auth.sock

bash-5.0# ssh -T<EMAIL_ADDRESS>The authenticity of host 'github.com (<IP_ADDRESS>)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'github.com,<IP_ADDRESS>' (RSA) to the list of known hosts.
Hi ajardin! You've successfully authenticated, but GitHub does not provide shell access.

So yes, it actually works on my computer. 🙂


[OSPO Book] Chapter 5 - Section - Main text (including introduction)

@germonprez has provided a draft for a Chapter 5 main text
https://docs.google.com/document/d/1_ko2xz7T14hKbagnu77CB_1ggf6oSCNrnUUaU8sS_J4/edit
Request a review from @todogroup/ospology-book-reviewers @todogroup/book-reviewers
Review to include:

Does this chapter cover everything expected in the outline https://ospobook.todogroup.org/toc/ ?
Is the content presented in a way that is relevant to our audience?
Is the depth of coverage appropriate?
Is the structure of the content suitable? Does it align with other chapters, particularly the OSPO Flower in Chapter 3? https://ospobook.todogroup.org/03-chapter/

@germonprez thank you so much for sending this early draft. It's a great moment to be able to give some guidance before you have the structure finalized.
I have reviewed the draft as it stands and added comments in the Google Doc you shared (link in the issue).
I appreciate that you likely did not have visibility of some of the things I have referenced in the comments and therefore with the benefit of these resources you will be able to amend your document more easily.
I have kept the feedback high level at the moment as overall the piece would benefit from some rework and restructuring that would negate any low-level feedback at this point.
Let me know if you would like any more input!

OSPO Book Chapter: Measuring and Communicating Impact by your OSPO  - PR Has been creed for review
See preview here
https://github.com/todogroup/ospology/pull/516


util: Add trace annotation script

A script to annotate Snitch traces with source code

While at it, added the caching to tracevis.py and moved it to util/trace

Fantastic :tada:. Don't forget to add the caching package to the python requirements.

Fantastic tada. Don't forget to add the caching package to the python requirements.

functools is part of the python standard library since 2.7


bug: gitsigns.nvim makes Neovim randomly freeze when scrolling/switching buffers

Description
Occasionally, while scrolling or switching between buffers, Neovim unexpectedly becomes unresponsive. When this happens, I am forced to manually terminate the nvim.exe process.
This behavior started manifesting approximately two weeks ago.
Neovim version
NVIM v0.10.0
Operating system and version
Windows 11 Version 23H2
Expected behavior
No freezes should occur.
Actual behavior
Neovim freezes when randomly scrolling and switching buffers.
Minimal config
I can't reproduce it with this basic config:
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  "folke/LazyVim",
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

Instead, I'm able to reproduce it using the plugin directly in LazyVim.
But, if I disable gitsigns.nvim in LazyVim using this plugin spec:
return {
  {
    "lewis6991/gitsigns.nvim",
    enabled = false,
  },
}

then everything works fine, with no freezes.
Steps to reproduce

Install basic LazyVim distribution.
Open several tabs in Neovim.
Rapidly alternate between them in no particular order.
Swiftly scroll through the open buffers.

Gitsigns debug messages
Can't get it, given that Neovim freezes.

Maybe it could be related to this:?
https://github.com/LazyVim/LazyVim/discussions/3407
https://github.com/lewis6991/gitsigns.nvim/issues/1027

Can this be reproduced without LazyVim?
I don't want to spend time debugging someone else's code.

I also find that neovim sometimes freezes when gitsigns is enabled and you try to quit via :q or :qa. But it consistently does so when switching sessions via something like rmagatti/auto-session (can be any session plugin, I've tried multiple) from one repo to another and then trying to quit.
I'm on the same version of neovim and windows.
@pidgeon777 Do you experience the same? Curious if it's related or perhaps just a separate issue. I did try a minimal config with just gitsigns & autosession installed and the same thing happens.

Sounds the same as #1027

Is this fixed with #1031?

This:
https://github.com/lewis6991/gitsigns.nvim/pull/1031
and maybe also this?:
https://github.com/lewis6991/gitsigns.nvim/commit/e31d2149d9f3fb056bfd5b3416b2e818be10aabe
seems to have solved the issue.

I also find that neovim sometimes freezes when gitsigns is enabled and you try to quit via :q or :qa. But it consistently does so when switching sessions via something like rmagatti/auto-session (can be any session plugin, I've tried multiple) from one repo to another and then trying to quit.
I'm on the same version of neovim and windows.
@pidgeon777 Do you experience the same? Curious if it's related or perhaps just a separate issue. I did try a minimal config with just gitsigns & autosession installed and the same thing happens.

I had the same issue, now seems to be solved. Are you still experiencing this?

This:
#1031
and maybe also this?:
e31d214
seems to have solved the issue.

I also find that neovim sometimes freezes when gitsigns is enabled and you try to quit via :q or :qa. But it consistently does so when switching sessions via something like rmagatti/auto-session (can be any session plugin, I've tried multiple) from one repo to another and then trying to quit.
I'm on the same version of neovim and windows.
@pidgeon777 Do you experience the same? Curious if it's related or perhaps just a separate issue. I did try a minimal config with just gitsigns & autosession installed and the same thing happens.

I had the same issue, now seems to be solved. Are you still experiencing this?

Nope. It's fixed now for me since #1031.

Perfect. Thank you for the great fix @lewis6991! 👏


Highlighters bold element style is no longer honored

Just start the demo: the reserved words in pascal should be bold, they are not.
The JSONImporter reads the style just fine AFAICT, the issue must be happening later during render.

Fixed.


fix(ingest/bigquery): remove last modified timestamp fallback

Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@hsheth2 Tests are failing, aspects needs to be updated in golden files


Doc cmd for module import is incorrect

Bug Report
the current (as of 29-Jul-2022), mentions this
go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute

This imports old V1 version of the module (2022-05-16)
Instead it should  be
go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v3

This will import the current v3.0.0 Version
The same is true for resourcemanager/machinelearning/armmachinelearning/v2
I haven't checked others

@vijayrajah Thanks for your feedback. We've noticed this issue and will fix with this PR.


Suggestion for improvement: history of conversion

Hi there!
After the verification plan has been created, it is not possible to review the settings used during conversion. This can be achieved by adding "optimization objectives" into the verification plan. These objectives are, of course, bogus, but with the proper convention they can serve as conversion history. For example:
double convType = 0; // if EQD2
if (conversionType== "BED")
{
    convType = 1;
}
else if (conversionType== "EQD2n)
{
    convType = 2;
}
//etc.

for ( int i = 0; i < convertedStructures.Count; i++)
    {
        Structure struct = convertedStructures.ElementAt(i).structure;
        double alphabeta = convertedStructures.ElementAt(i).alphabeta;

        OptimizationObjectiveOperator optimizationOperator = OptimizationObjectiveOperator.Upper;

        verificationPlan.OptimizationSetup.AddPointObjective(
                            struct,
                            optimizationOperator,
                            new DoseValue(alphabeta, DoseValue.DoseUnit.cGy.ToString()),
                            convType,
                            i + 1
                            );
    }

By doing so, you get a list of optimization objectives that can be reviewed in External Beam Planning. Each objective corresponds to a particular converted structure, the dose value equals alpha/beta, volume corresponds to conversion type (coded by 0, 1, 2 etc), and the priority column equals the conversion priority.

Let me see what our re-planning team thinks.  I think it's definitely do-able, potentially in an opt-in fashion based on site defaults in the configuration file.


Open Gekko UI via CLI no exchanges are loaded

Note: this is the technical bug tracker, please use other platforms for getting support and starting a (non technical) discussion. See the getting help page for details.
I'm submitting a ...
[x] bug report
[ ] question about the decisions made in the repository
Action taken (what you did)
Opened up Gekko Ui via CLI, after running the CLI installation process. Did install npm install --only=production for both the gekko folder and the exchange folder.
Expected result (what you hoped would happen)
Expected working Gekko UI
Actual result (unexpected outcome)
No exchanges were loaded and the CLI throws an error for exchanges.js

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)

Sounds like missing broker dependencies. Run ´npm install´ inside the ´/exchange´ folder to fix it. ;)

Thanks but unfortunately i did run npm install inside the /exchange folder already. It doesn´t change anything the error keeps popping up and my UI loads without any exchanges. No idea how to get rid of this type error.

Sorry didn´t mean to close it still searching for a solution.

Thought i solve this after i found the mistake. Obviously it is not a bug in the software, it was my mistake but since it has cost me 2 days i thought i solve it here for anybody else experiencing the same problem.

I installed Gekko via Terminal on a Mac directly according to the installation guide https://gekko.wizb.it/docs/installation/installing_gekko.html
Since i followed the given installation guide exactly i also had installed all dependencies, also for the exchange folder.
After that i encountered the above problem and could not resolve it no matter what i did.
I found the simple solution. When installing Gekko on my mac, the Gekko folder and all subsequent folders had only "read" rights. I did change that to "read and write" rights for the Gekko folder itself but not for the subfolders, which meant the dependencies could not be installed with those rights, that´s why i encountered the above error.

This might sound like a stupid mistake and a simple one for any programmer to solve but it cost me 2 full days and it was something i was not aware of, so even though it is not a bug in the software my explanation here might help others to resolve this error easier should they encounter it.

Hi Botsedge, really hoping you see this message as I am struggling. I have the same error as you had. If you would, do you remember which specific folders you had to apply read/write permissions to fix this? I don't believe I went out of my way to apply this to any folders. I'm not a coder and have been utilizing the help of my VPS server company. They wont work on third party applications but can help me adjust permissions if i tell them exactly which folders need them. Thanks in advance!

my solution above worked for a mac. I do not remember specifically which folders i had to switch.
But there was another solution. I deleted the whole gekko installation and started from scratch on the same machine. When i installed it according to the documentation for the second time, everything was working and the folders had the correct rights.
Besides installing it a second time i did not change anything from the documentation and everything worked afterwards. Hope that helps.


Merge OSL shader support.

Let me know if you have any questions. Sorry this is late.

Ok only issue I see is a few prints in the gen_params method...

Sorry about that I forgot about the prints.

Issue working with IPR might just be the shader path???

Think I fixed IPR.  Just a paths problem.  Note that when IPR is started, it's not CWD'ing so need full paths.... I should fix that.


port Prolog code to SWI-Prolog

we aim to it!
Coming soon!

Consider using Logtalk, allowing the same source code to run as-is on multiple Prolog systems instead of having to write and maintain multiple ports or end up maintaining just one of those ports.

Hi, I was wondering if progress had been made porting the DALI Prolog code to SWI-Prolog?  And if not the whole system, then just the subsystems dedicated to reasoning with FIPA-OS performatives.


added esp32/atoms3 and atoms3_lite device profile

@kitazaki
Could you please alter this to the platform identifier labels we agreed on a few days ago?!

@ralphwetzel
changed label names.

@kitazaki
Thank you!


Revise deployment workflows (npm / docker)

I do not fully get the encoding stuff but it looks good.


How to add a custom widget to Builder?

Hey there,
I'm a bit new to working with Builder, but the visual components of it are really nice in streamlining plug-in development. I'm only having trouble with 'one' thing.
Adding a new control widget to a model. I noticed this thread: https://github.com/rainlab/builder-plugin/issues/60 but I'm not coming away with much from it. From what I understand something (not sure if it's the widget I built or a separate script) needs to extend the Provider class mentioned.
So basically, what is the process for adding a custom control widget to the Builder widgets menu?
Thanks!

It might be a good idea to post your plugin on GitHub, that way others will be able to help you with it. The issue #60 does show a clear example on how to add a custom widget to the menu, it might just be a matter of filling a few blank spaces in your implementation.

So I made some progress, however I'm faced with an error - and it makes me wonder if my path for the partial I've made is correct?
The error is saying it cannot find the partial on line 65 of ViewMaker.php. I quickly looked to see what that was and it had to do with the path of the plugin. I was under the impression partials for a plugin would go in a partials folder under the widgets? I'm probably mistaken here, so I just would like to clarify where my partial should live?

The error message should specify the path and file it is looking for.


Acrylic opacity doesn't always work on Windows 10 20.04/19041

Dear all,
I previosly had my terminal working fine with the acrylic opacity "true". From today, it just doesn't take effect.
What I did:

Checked that the transparency effects are on.
The calculator, windows taskbar, etc. have transparency.
Uninstall and reinstall the windows terminal.
Checked the dxdiag. No problems found.
Nothing of these worked. So, no ideas of what the error could be. Any suggestions?. Is it possible to "reset" it?.
I am running the drivers:
Intel UHD graphics 630, Driver version: <IP_ADDRESS>80
NVIDIA Quadro P600, Driver version: <IP_ADDRESS>83.
Cheers.

You seem to have removed the bug template asking about your windows version and terminal version.

Did you update Terminal recently?
Are you on the Preview channel?
Are you using a dev build?
Can you share a copy of your settings file?

You say you have set the Acrylic Opacity. Have you set the useAcrylic flag as well?

have the same problem, but only when using custom background

You say you have set the Acrylic Opacity. Have you set the useAcrylic flag as well?

You seem to have removed the bug template asking about your windows version and terminal version.

Did you update Terminal recently?
Are you on the Preview channel?
Are you using a dev build?
Can you share a copy of your settings file?

My WT version is: 1.1.2021.0
My defaults profile has of course ""useAcrylic" : true".
I have tried with and without a custom background. None of them works. More importantly, it was working fine before. I can share it, anyways (attached at the end).
The only thing I did recently is the update of my video card drivers, versions that I shared with my original post. I, however, did not notice if it had an effect inmediatly.  Another possible thing, is that I did recently a Get-AppXPackage -AllUsers |Where-Object {$_.InstallLocation -like "*SystemApps*"} | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} But I ignore if this could delete something in the WT. I have tried uninstall and isntall again, but nothing.
Any clues?
Cheers.
My JSON file,
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{xxx-xxx-xxx-xxx}",

"copyOnSelect": false,

"copyFormatting": false,

"profiles":
{
    "defaults":
    {
        "acrylicOpacity": 0.5,
        "fontFace": "Consolas",
        "fontSize": 10,
        "foreground" : "#0C0C0C",
        "background" : "#0C0C0C",
        "cursorColor": "#FFFFFF",
        //"startingDirectory": "%USERPROFILE",
        "startingDirectory": ".",
        "backgroundImage":"C:/Users/userprofile/pictures/myawesomeimage
        *9.jpg",
        "backgroundImageOpacity":0.8,
        "useAcrylic" : true

    },
    "list":
    [
        {
            "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
            "name": "Windows PowerShell",
            "commandline": "powershell.exe",
            "hidden": false
        },
        {
            "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
            "name": "Command Prompt",
            "commandline": "cmd.exe",
            "hidden": false
        },
        {
            "guid": "{c6eaf9f4-32a7-5fdc-b5cf-066e8a4b1e40}",
            "hidden": false,
            "name": "Ubuntu-18.04",
            "foreground" : "#FFFFFF",
            "source": "Windows.Terminal.Wsl",
            "backgroundImageOpacity":0.8,
            "acrylicOpacity": 0.5
        },
        {
            "guid": "{58ad8b0c-3ef8-5f4d-bc6f-13e4c00f2530}",
            "hidden": false,
            "name": "Debian",
            "foreground" : "#FFFFFF",
            "backgroundImageOpacity":0.5,
            "source": "Windows.Terminal.Wsl"
        },
        {
            "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
            "hidden": false,
            "name": "Azure Cloud Shell",
            "source": "Windows.Terminal.Azure"
        }
    ]
},

"schemes": [],

"keybindings":
[

    { "command": {"action": "copy", "singleLine": false }, "keys": "ctrl+c" },
    { "command": "paste", "keys": "ctrl+v" },

    { "command": "find", "keys": "ctrl+shift+f" },

    { "command": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "keys": "alt+shift+d" }
]

}

I'm just copy-pasting this from #1414:

Acrylic doesn't work if there's not the GPU hardware for it. A Surface Studio probably has the hardware, but it won't work if you're running the app in a VM or over remote desktop (for example).
As a sanity check, is there Acrylic in the Start Menu?
If you wanted to help investigate, could you run dxdiag (instructions here), and send the output to the email in @DHowett's profile? He'll be able to share that with the Composition team so they can investigate exactly why it's not working.

I'm just copy-pasting this from #1414:

Acrylic doesn't work if there's not the GPU hardware for it. A Surface Studio probably has the hardware, but it won't work if you're running the app in a VM or over remote desktop (for example).
As a sanity check, is there Acrylic in the Start Menu?
If you wanted to help investigate, could you run dxdiag (instructions here), and send the output to the email in @DHowett's profile? He'll be able to share that with the Composition team so they can investigate exactly why it's not working.

Thanks for your reply, Zadji.
As I said before, it used to work! So I am quite sure there is a hardware for it.
Acrylic works in the start menu? Yes!
I will send the dxdiag info to your mail. Thanks!.

Thanks for all the info, everyone! We have a possible cause now, and it looks like it's fixed in insider builds of Windows. I'm going to mark this bug as "Tracking-External". We'll work to see whether we can get the fix brought back to the 20.04 update.

Linking for internal folks: MSFT-27752291

@DHowett just to confirm what you mentioned here in #1414

Windows has some policies about when it will turn on blurred transparency—it prefers to save battery, to not overly tax the GPU, etc. Unfortunately, since we are trying to be good citizens we aren’t trying to override that ... and I don’t think it’s possible, anyway :)

This still holds true right?
because I have a GPU and I noticed that when I shifted my Power mode from Battery Saver (extreme left in the slider in image) to Better Battery, it works (when not charging).  When charging it works in all situations. I am fine with this, just want to confirm that what you mentioned still holds true (about Windows saving battery)

To be totally fair, we're not experts on when the OS decides it can enable acrylic or not. We know that those are common things that can cause the OS to disable acrylic, but I'm sure it's more complicated than we know for sure. It's certainly possible that acrylic is only disabled for "Best Battery" and not for "Better Battery"

@DHowett
I have just noticed the same on my laptop. The acrylic stopped working and I was very confused.
I then plugged in the laptop to charge as it was running very low on battery.
Immediately I plugged it in, the Acrylic started working.
I think it is safe to assume that the battery saving mode on WindowsOS affects the acrylic on Windows Terminal.

That’s more than an assumption, that’s a codified system policy. Acrylic is disabled when the system is in battery saver mode. 😄

Still I experience this problem with Terminal background color randomly becoming more opaque by itself without any action on my part

Still I experience this problem with Terminal background color randomly becoming more opaque by itself without any action on my part

Came here from Google due to having the same problem. What I observed is that when Terminal is started with acrylic effects (laptop plugged in to charger), the effects are controlled by the charger being connected or not (Acrylic when connected, opaque when on battery). However starting Terminal on battery, basically without acrylic effects enabled, the background does seem to change between black and grey but it doesn't render transparency.
This is on terminal version 1.6.10571.0, Windows 20H2 Build 19042

This often happens once Windows enters Low-Battery / Battery Saving mode

Hey so, the original bug theat OP was hitting was fixed internally and should have shipped in 20200.1000.rs_prerelease.200821-1345. Since that was resolved, I'm going to close this bug out, for housekeeping.
There are, of course, a multitude of reasons why acrylic may choose to enable or disable itself, mostly outside the purview of the Terminal itself. If you're still hitting this, check out the FAQs, and search for other open issues before filing.
(We can of course, continue the discussion here)

Is it possible to disable acrylic for Terminal tabs in Terminal options? i.e. to have stable appearance regardless of what windows decides to do with acrylic

You can always use the useAcrylic setting to enable/disable acrylic.

It mentions that useAcrylic is false by default, so it's quite strange it seems enabled on my machine...

instead of this line
"acrylicOpacity": 0.5
use this
"opacity": 50,

instead of this line "acrylicOpacity": 0.5 use this "opacity": 50,

it`s work! ty)


CoreDNS pod getting stuck into Terminating state after powering off the worker node.

Rancher Server:

Version : v2.6-head(https://github.com/rancher/rancher/commit/635286172d41b24c074236060651af34c831b133)
docker install

Information about the Cluster

Kubernetes version: v1.19.16-rancher1-3
Cluster Type (Local/Downstream): Downstream

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): Custom cluster on AWS (3 etcd, 2 cp, 3 worker nodes)

To Reproduce

Provision a k8s v1.19.16-rancher1-3 custom cluster on AWS (3 etcd, 2 cp, 3 worker nodes) by adding below toleration values:

dns:
    provider: coredns
    tolerations:
    - key: "node.kubernetes.io/unreachable"
      operator: "Exists"
      effect: "NoExecute"
      toleration_seconds: 15

Power off the worker node where coredns system pod was running.
Coredns pod, running on the powered-off worker node will get scheduled on another available worker node(because of this issue fix). But the previous pod will get stuck into Terminating state

Result

CoreDNS pod will get stuck into Terminating state :

Expected Result
Previous pod should terminate once it is scheduled successfully on another available worker node.
Additional context
https://github.com/rancher/rancher/issues/27734
https://github.com/rancher/rancher/issues/27734#issuecomment-1090492894

@rishabhmsra Was the custom cluster RKE1 or K3s/RKE2? And were the cluster nodes created via the Rancher UI or created using existing nodes?

@rayandas , this is "functions as designed" and is not specific to core-dns pods. If the machine that backs up a worker node is turned off, the kubelet stops posting the status so the pod status is unknown and they appear stuck (their Ready condition is Unknown). Below is the screenshot of pods on turned off worker node:

Once the node is started back on, the pods are unstuck and are either going back to successfully Running (e.g. for daemonsets) or get properly removed (as is the case with core-dns pods).
Closing this issue. Feel free to reopen if there is another need to follow up.


Error: unknown command 'ndpull'

I'm getting this in the terminal when running either beet ndpull or beet import:
Traceback (most recent call last):
  File "~/.local/pipx/venvs/beets/lib/python3.11/site-packages/beets/plugins.py", line 269, in load_plugins
    namespace = __import__(modname, None, None)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/.local/pipx/venvs/beets/lib/python3.11/site-packages/beetsplug/navidrome_sync/__init__.py", line 3, in <module>
    from . import sftpuploader
  File "~/.local/pipx/venvs/beets/lib/python3.11/site-packages/beetsplug/navidrome_sync/sftpuploader.py", line 1, in <module>
    import paramiko
ModuleNotFoundError: No module named 'paramiko'

error: unknown command 'ndpull'```

Unfortunately, I'm still getting 'error: unknown command 'ndpull' even after sorting the dependencies.


I get PathTooLongException error when I add nuget PCL to my project. Is there any other alternative to using SQLite?

I get PathTooLongException error when I add nuget PCL to my project. Is there any other alternative to using SQLite? I have pasted part of stack trace below for reference
Severity	Code	Description	Project	File	Line	Source	Suppression State
Error		The "Javac" task failed unexpectedly.
System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
at System.IO.LongPathHelper.Normalize(String path, UInt32 maxPathLength, Boolean checkInvalidCharacters, Boolean expandShortPaths)
at System.IO.Path.NewNormalizePath(String path, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.FileInfo.Init(String fileName, Boolean checkHost)
at System.IO.FileInfo..ctor(String fileName)

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

ID: 3ab6098a-39c7-151f-124b-f88aa62c4659
Version Independent ID: dc27c1e4-ff12-c1af-646a-c2617def0bcd
Content: Local Databases - Xamarin
Content Source: docs/xamarin-forms/app-fundamentals/databases.md
Service: xamarin
GitHub Login: @davidbritch
Microsoft Alias: dabritch

https://docs.microsoft.com/en-us/xamarin/android/troubleshooting/questions/path-too-long-exception

Keep your Solution folder in short. Ex: C:\Project\MyApp


Pass a glob pattern for matching input files

It would be useful to pass a glob pattern for matching input files. For example:
run: cohortreport:v2.0.2 output/input_*.csv

This would make cohort-report consistent with job-runner and could avoid the following:
run: cohortreport:v2.0.2 output/input_2021-01-01.csv output/input_2021-02-01.csv
# snip snip snip
outputs:
  moderately_sensitive:
    output/cohort_report_outputs/descriptives_input_*.csv

Would it be possible that all data in the input files be combined into a single html file?


Printing reversed colorbars does not put ticklabels in correct places

Currently, export_fig appears to be printing figures with reversed colorbars by reversing the colormap and the flipping the order of the tick labels. There are situations where this doesn't work - the tick marks also need to be moved.
tick_array = 0:0.3:1;

% make figure and save using export_fig - ticklabels are in the wrong places
figure(1)
colormap(parula(100))
colorbar('direction','reverse','Ticks',tick_array)
export_fig('graphs\test_colorbar.pdf','-pdf')

% make figure by flipping colormap and shifting tick labels using a correction
max_number_in_colormap =  1;
correction_to_tick_marks = max_number_in_colormap-max(tick_array)-min(tick_array);
tick_labels_reversed = strtrim(cellstr(num2str(flip(tick_array)')));
figure(2)
colormap(flipud(parula(100)))
colorbar('Ticks',tick_array+correction_to_tick_marks),'Ticklabels',tick_labels_reversed)

Correction: the commit mentioned above fixes issue #205, not issue #202 (as reported by mistake)

I cannot reproduce the problem. Everything looks ok when I run it on my system using the latest version of export_fig on Matlab R2017a. If you still see a problem with the latest version of export_fig, then please reopen this issue and provide more information about your system with relevant screenshots showing the problem.


Avoid Wimplicitly-unsigned-literal caused by -2**63.

This results in the literal value -9223372036854775808L in the generated
C code, which is illegal as it's parsed as the unary negation operator
applied to a signed literal.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

LGTM. Thanks.

R: @liumomo315
Note that the first half of this PR is mostly just moving stuff around to facilitate re-use.

Run Python PreCommit

Timed out.

Run Python PreCommit

Unrelated failure:
error: [Errno 2] No such file or directory: '/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Phrase/src/sdks/python/.eggs/ipython-5.8.0-py2.7.egg/ipython-5.8.0.dist-info/METADATA'


Create bubble_sort.rb

Created the bubble sort implementations using ruby language.

Hey @nish-ahmd-it !
Great work!
You can follow me and star this repository for further updates.
Have fun 🙌🏻

Thank you so much @ShehrozIrfan.
It was fun to code as always


Consider removing Microsoft.AspNetCore from Nett.AspNet

The Nett.AspNet package currently has a package reference to the Microsoft.AspNetCore meta package.
This means that, when trying to use Nett.AspNett inside console/winforms/wpf/other applications, a lot of excess packages are being pulled in.
Looking at the code I think the only packages being used are part of the Microsoft.Extensions.Configuration library (which is good of course).
Specifically, the Microsoft.Extensions.Configuration.FileExtensions library seems to cover all of the needed references inside the project.
Changing the project to reference Microsoft.Extensions.Configuration.FileExtensions directly would make the Nett.AspNet library easier to use in projects besides ASP.NET Core.

This means that, when trying to use Nett.AspNett inside console/winforms/wpf/other applications, a lot of excess packages are being pulled in.

The Nett.AspNet package does not specify any Microsoft.* dependencies at the moment - this is a bug BTW - so no additional packages will be pulled. This will be fixed with this issue here.

Specifically, the Microsoft.Extensions.Configuration.FileExtensions library seems to cover all of the needed references inside the project.

That is correct. I will change the projects package ref to that, and add it as a dependency to the package itself.

Changing the project to reference Microsoft.Extensions.Configuration.FileExtensions directly would make the Nett.AspNet library easier to use in projects besides ASP.NET Core.

Out of curiosity... Why would you use the package outside of an AspNetCore project?

Thank you for your response.

The Nett.AspNet package does not specify any Microsoft.* dependencies at the moment - this is a bug BTW - so no additional packages will be pulled. This will be fixed with this issue here.

Ah I missed the nuspec files in the root directory.
That is my bad sorry.
Since you were using the SDK csproj format I assumed the automatic NuGet package creation was enabled.
This goes off-topic for my original issue but maybe it would be a good idea to move to that system as well since it would take care of adding the references to Microsoft.Extensions.Configuration.FileExtensions and your Nett package automatically.
Because the current nuspec for Nett.AspNett also seems to claim a dependency on Nett version 0.8.0 which should probably be 0.11.1 for the next version according to the release notes.
I could make a PR for this if you agree with it and want me to.

Out of curiosity... Why would you use the package outside of an AspNetCore project?

I have a bunch of console applications (at home and at work) that allow some settings to be passed through a config file.
To read those settings from the file I use the ConfigurationBuilder and Microsoft.Extensions.Configuration.Binder package to make the object conversion format agnostic.
The applications currently support JSON as the format for the settings file but a user asked if I could add TOML as well.
Which, since I'm using the ConfigurationBuilder and binder, is easy to do with your Nett.AspNett package because I can just look for a toml file, add it to the builder and call bind on it without having to change any other code.

@paiden I saw that you moved to automatically building NuGet packages through csproj properties already.
Thanks for making the the extra effort to fix this :+1: .
I'm sure you've also noticed already but since you were building symbol packages before I thought I'd mention that you can still do so by adding this to the csproj file:
<IncludeSymbols>true</IncludeSymbols>

Which will create the *.symbols.nupkg file in the same directory as the regular package.
If you also want to support the use of the official NuGet symbol server you can specify the snupkg format like this:
<SymbolPackageFormat>snupkg</SymbolPackageFormat>

More on this process can be found here: https://docs.microsoft.com/en-us/nuget/create-packages/symbol-packages-snupkg
If you end up not supporting symbols that would be fine with me as well so in that case just ignore this comment.

Ah completely forgot about the symbol packages.... I will fix that in a follow up commit. Thx for the info.


Immediately redirect upon calling login() with OIDC

Fixes #39.

Yesterday I started playing with this lib and indeed found current behaviour of login() unintuitive.
:+1: to this PR


BatchNormalization with virtual_batch_size breaks load_model()

System information.

Have I written custom code (as opposed to using a stock example script provided in Keras): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux (colab)
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): tf 2.4.1, 2.8.2, nightly
Python version:
Bazel version (if compiling from source):
GPU model and memory:
Exact command to reproduce: https://colab.research.google.com/drive/1QN7EPzr0MaYnHAdzVc2ucaMO544aQYvY?usp=sharing

Describe the problem.
Passing virtual_batch_size=int to BatchNormalization performs "Ghost Batch Normalization", which creates virtual sub-batches which are each normalized separately.
Loading a keras model with such a layer fails with a ValueError.
Describe the current behavior.
In BatchNormalizationBase, the axis attrib is incremented, e.g. from [3] to [4], I think this happens here: https://github.com/keras-team/keras/blob/07e13740fd181fc3ddec7d9a594d8a08666645f6/keras/layers/normalization/batch_normalization.py#L382
Then, when self.build() is called upon load_model(), axis is checked against input rank, which fails. This check has moved in the current version to validate_axis() in keras/utils/tf_utils.py:
https://github.com/keras-team/keras/blob/07e13740fd181fc3ddec7d9a594d8a08666645f6/keras/utils/tf_utils.py#L228
Describe the expected behavior.
It seems there is some confusion in the code, whether or not axis is allowed to be larger than rank - 1.
Standalone code to reproduce the issue.
https://colab.research.google.com/drive/1QN7EPzr0MaYnHAdzVc2ucaMO544aQYvY?usp=sharing
Source code / logs.
/usr/local/lib/python3.7/dist-packages/keras/layers/normalization/batch_normalization.py in build(self, input_shape)
    311       if x < 0 or x >= ndims:
    312         raise ValueError(
--> 313             f'Invalid axis. Expected 0 <= axis < inputs.rank (with '
    314             f'inputs.rank={ndims}). Received: layer.axis={self.axis}')
    315     if len(self.axis) != len(set(self.axis)):

ValueError: Invalid axis. Expected 0 <= axis < inputs.rank (with inputs.rank=4). Received: layer.axis=ListWrapper([4])

@gadagashwini I was able to replicate the issue on colab, please find the gist here. Thank you!

As you can see in the API docs, virtual batch normalization is not intended to be supported. The argument is not documented, and was remove about one year ago. https://keras.io/api/layers/normalization_layers/batch_normalization/
The argument is accepted only for backwards compatibility reasons. I recommend that you do not rely on it. Because it is no longer supported, we won't focus on fixing the issue (but if you have a fix we will review your PR).

I did some experiments with virtual_batch_size using the following workaround for saving/loading the model:
try:
    model.save('my_model.h5')
    model = tf.keras.models.load_model('my_model.h5')

except ValueError as e:
    if 'axis' in str(e):
        # Work around BatchNormalization/VBS bug, axis must be 3 during save, else 4
        for l in model.layers:
            if isinstance(l, tf.keras.layers.BatchNormalization) and l.virtual_batch_size is not None:
                #print("axis before save:", l.axis[0])  # 4
                if hasattr(l.axis, '__len__'):
                    l.axis[0] -= 1
                else:
                    l.axis -= 1

        model.save('my_model.h5')
        model = tf.keras.models.load_model('my_model.h5')

        for l in model.layers:
            if isinstance(l, tf.keras.layers.BatchNormalization) and l.virtual_batch_size is not None:
                #print("axis after load:", l.axis[0])  # 4 (!)
                if hasattr(l.axis, '__len__') and l.axis[0] == 3:
                    l.axis[0] += 1
                elif l.axis == 3:
                    l.axis += 1
                #print("restored axis:", l.axis[0])
    else:
        raise

However, I did not find any benefits in using virtual_batch_size, e.g. in combination with small batch_size and gradient accumulation. Hence, I will not attempt to find a fix/PR, nor advocate for officially supporting the feature.
Feel free to close the issue.

Closing as this issue is resolved by workaround mentioned in the above comment. Thank you!


Add serverless guide with function template example: hamiltonian simulation

The very rough outline is intact, including the code, but I still need to write/revise some prose between the cells.  Right now this example uses the mergedeep package to merge the user's estimator options with the function's default.  If we need to remove this dependency, then I will modify the program so that if a user passes estimator options, they completely replace the function's default.
Closes #2242.

I'm merging this to a branch in this repo so we can get a preview

Please make any follow-up commits to the FH/preview-fct-template branch.


Download a specific version from Azure blob

Bug Report

import path of package in question, 	github.com/Azure/azure-sdk-for-go/sdk/storage/azblob

SDK version: 	github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.3.2

output of go version: 1.20

What happened?

I was able to successfully able to download the latest file, and list the blobs from my azure storage account. However, I am unable to download a specific version of blob file.

What did you expect or want to happen?

I should be able to download a specific version of blob file

Anything we should know about your environment.

I am connecting with Managed identity.

Thanks and Regards,
Mani

Hey @mani3887,
You can create a blob client with the specific version and then use the same Download method you are using right now for the latest version.
Link: https://github.com/Azure/azure-sdk-for-go/blob/154d77d54caacbcb8a5265910e594796fd7d842f/sdk/storage/azblob/blob/client.go#L139

Thanks, I ended up doing this:
client, err := azblob.NewClient(accountURL, credentials, nil)
blobClient := store.client.ServiceClient().NewContainerClient().NewBlobClient(blobURL)
blobClient, err := blobClient.WithVersionID("") // Get the latest version by default
blobClient, err := blobClient.WithVersionID("<versionID") //With version ID.


setup.py refer to missing version and requirements.txt

The setup.py script provided in git do not work.  The statement "from pd import version" fail because version is unknown, and "install_requires = open('./requirements.txt').readlines()" fail because the requirements.txt file is missing.  Did someone forget to add some files to the git repository?

It looks like the current setup.py is from @sirmmo so perhaps they know what happened.  The previous version from @rgrp was self-contained.

Fixed by #29.


error: Giving up searching valid MPEG header after 65536 bytes of junk

I've this error when i'm using the lame decoder on MP3 files

Are you sure that the mp3 is a valid mp3 file? Could you post it here?

It's a normal song. I downloaded it with node and ytdl-core
m.zip
m.zip

i have the same problems,when i add mp3 in  pygame. its so complex fo me  now

ok,i am understand the question, that is mybe your file  (mp3) was damaged already


[backport] Properly decrement total bytes in memory pool

Backport of #3068

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit 1b922f60ed40409c7a78173fe6bce21356a19011, target branch v7) failed with status FAILURE.

Jenkins, test this please.

Jenkins CI test (for commit 5bbb83571cb83664b62376bbc39cd8ef0d3c62dc, target branch v7) succeeded!

LGTM!


Investigate delays in foreign client code

XXX: Why do we need this, and shouldn't we wait somewhere else up the call stack?

Originally posted by @romac in https://github.com/informalsystems/hermes/pull/3224#discussion_r1178024334

Let's also look at those when we get to it:

https://github.com/informalsystems/hermes/pull/3224#discussion_r1178024580
https://github.com/informalsystems/hermes/pull/3224#discussion_r1178024648


StorageMap::swap for linked_map breaks enumeration

because the next and previous are not sync.
diff --git a/srml/support/src/lib.rs b/srml/support/src/lib.rs
index abc9d7d21..befaaf61f 100644
--- a/srml/support/src/lib.rs
+++ b/srml/support/src/lib.rs
@@ -342,6 +342,17 @@ mod tests {
                });
        }

+       #[test]
+       fn linked_map_swap_works() {
+               with_externalities(&mut new_test_ext(), || {
+                       OptionLinkedMap::insert(1, 1);
+                       OptionLinkedMap::insert(2, 1);
+                       assert_eq!(OptionLinkedMap::enumerate().count(), 2);
+                       OptionLinkedMap::swap(1, 2);
+                       assert_eq!(OptionLinkedMap::enumerate().count(), 2);
+               });
+       }
+
        #[test]
        fn linked_map_basic_insert_remove_should_work() {
                with_externalities(&mut new_test_ext(), || {

I think StorageMap and linkedStorageMap should be in two different trait but I'm working on such a PR because this intrication can result in lots of error. also for instance: decl_storage override default method of generate::StorageMap for its implementation for linked_map

Is this fixed now? I think so?

yes


Update api

ref: https://issues.redhat.com/browse/ACM-7916
https://issues.redhat.com/browse/ACM-7912

/lgtm


Remove (almost) all uses of C++ distributions/RNGs.

C++ distribution implementations may be different between libstdc++ and
libc++, causing inconsistencies in tests under say msan and possibly
different (Linux) distributions.
This PR implements a few common distributions and a RNG and uses it
throughout the codebase, except in a couple of places (fuzzer_corpus
mostly) where consistency is not as important.
Diff-based on https://github.com/libjxl/libjxl/pull/703

It shouldn't: slightly different results here should not diverge as the
inner computation is still done with integers and always the same number of
times. The previous problems were because of the sequence of random numbers
diverging...
On Fri, 8 Oct 2021, 15:08 Lode Vandevenne, @.***> wrote:

@.**** commented on this pull request.
In lib/jxl/base/random.cc
https://github.com/libjxl/libjxl/pull/706#discussion_r724994777:

+//
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.

+#include "lib/jxl/base/random.h"
+
+#include "lib/jxl/fast_math-inl.h"
+
+namespace jxl {
+
+Rng::GeometricDistribution::GeometricDistribution(float p)

: inv_log_1mp(1.0 / FastLog2f(1 - p)) {}

+uint32_t Rng::Geometric(const GeometricDistribution& dist) {

float f = UniformF(0, 1);
float log = FastLog2f(1 - f) * dist.inv_log_1mp;

Given that float is used, this might still give slightly different values
on some platforms, could that cause issues?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/libjxl/libjxl/pull/706#pullrequestreview-774989366,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOPAI7KIPJKZIZDDZFZY53UF3UL7ANCNFSM5FSJXPSQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

fwiw, alpine uses libstdc++ from gcc like the vast majority of distros. it's only the libc that's different (glibc vs musl), plus some gcc patches which are mostly backports. some distros use libc++ and llvm toolchain but alpine does not. which is not to say that this is necessarily a bad change, just that the issues in #698 are not related to libstdc++ vs libc++.

That is indeed correct - the changes in this PR are mostly related to our own testing infrastructure (in particular msan). The issues in #698 may be related to the libc change (I am not sure if the implementation of RNGs in libc++/libstdc++ depends on libc in some ways), but they are "fixed" in #703 simply by removing the failing tests and the code they were testing, since they were not really used anyway :)

That is indeed correct - the changes in this PR are mostly related to our own testing infrastructure (in particular msan). The issues in #698 may be related to the libc change (I am not sure if the implementation of RNGs in libc++/libstdc++ depends on libc in some ways), but they are "fixed" in #703 simply by removing the failing tests and the code they were testing, since they were not really used anyway :)

ah, i see. good to know :)


README update

Added docs for events and fundedTokenAddress event

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Stop IBCMerge for VSSetup project

src\Package\MSBuild.VSSetup\MSBuild.VSSetup.csproj has an assembly name
that matches a shipped assembly, so the IBCMerge targets attempt to
apply PGO data to it, but it does not have any matching methods because
it's not a real project.
Respect the preexisting $(MicroBuild_EnablePGO) when deciding whether
to include the IBCMerge targets.

Note target is 15.9, since this is a build-infra change that reduces warnings.


Implement with Flatlist

Hi, first of all, awesome component!
I have a question. Would it be possible to implement this with a Flatlist instead? Thanks!

try to use withIO generate IOFlatlist.
import { Flatlist } from 'react-native';
import { withIO } from 'react-native-intersection-observer';

const IOFlatlist = withIO(Flatlist);

const Demo = () => (
  <IOFlatlist>
    <InView onChange={(inView: boolean) => console.log('Inview:', inView)}>
      <Text>Plain children are always rendered. Use onChange to monitor state.</Text>
    </InView>
  </IOFlatlist>
)

Thank you so much! I'll try it asap and update you.

Can I do something like this?
import { FlatList, Text } from 'react-native';
import {  InView, withIO } from 'react-native-intersection-observer';

const IOFlatlist = withIO(FlatList);

<IOFlatlist
  data={posts}
  renderItem={({ item }) => {
    return (
      <InView onChange={(inView: boolean) => console.log('Inview:', inView)}>
        <Text>{item.name}.</Text>
      </InView>
    )
  }}
  keyExtractor={(item) => item.id}
/>

Sorry, currently not supported.

FlatList is now supported in 0.2.0.


Stop generation on specific keyword(s)

Certain models don't automatically stop generation when it's the "user" or "human"'s turn to input data, causing the prompt to be output.

Is that whats happening here? https://gist.github.com/neopunisher/0647fbbec9faf9b2c651fdd7748a660a

@neopunisher yes, that's it! Great find.


Option -q (quiet): only display needed information

This is especially useful to not fill up cron logs.

Anything else I can provide to help merging this PR?

missing 'q' in while ((c = getopt (argc, argv, "nkxsdahqVvur:D:")) != -1)


chore(main): release 1.1.4

:robot: I have created a release beep boop
1.1.4 (2024-04-04)
Bug Fixes

Use private address only by default on Amd64 instances (39ba0e0)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/nesty92/terraform-aws-gitlab-runner-autoscaler/releases/tag/1.1.4 :sunflower:


Add delete script task

Add delete script task:

check-object-prereqs job: After Installation CR deployed successfully, check whether Crossplane has been deployed by common services.
Object: Create a deployment containing a delete script, which will not be controlled by Gitops.
The check-object-prereqs job and Object will be deleted by Argocd when the argocd application is deleted. The left deployment will check the Installation CR for a deletionTimestamp, and if so will start the delete script.
Add finalizers to avoid deleting deployments when argocd deleting AIManager namespace. When the script finishes running, it removes these "finalizers"
The uninstall process is often blocked by installation CR because it cannot be removed successfully, which is the biggest problem facing now. （Even if run the delete script manually）

More thoughts on the long term solution:
The clean up job is essentially very similar to a regular procedure, so that can be nicely modeled as a pipeline task, which can be triggered either manually or automatically. It's easy to encapsulate the clean up shell script into a Tekton task.
The drawback of the above idea is that it is a one-time off job, which can not be used to regularly monitoring the system for an uninstall need. This goes to 2nd option which is a real Kubernetes controller that has reconciliation logic to keep monitoring the system status. As an example, I think maybe the Crossplane provider ansible is a good choice in this case, because it is working as a controller inside a Kubernetes cluster w/ all the native Kubernetes behavior including the reconciliation, as well as the ability to call Ansible roles and playbooks remotely, e.g.: some shell scripts wrapped as Ansible playbook and hosted in a remote git repo. This can nicely handle our case.

@morningspace @liyanwei93 as we are using helm chart, can we leverage helm chart hooks for uninstall https://helm.sh/docs/topics/charts_hooks/#writing-a-hook ?

Some similar discussions here at: https://github.com/argoproj/argo-cd/issues/7575, as I remember, we couldn't rely on helm hook when combing w/ Argo CD, because there's no such mapping between helm hook and Argo CD sync phase for now, which means the hook will not be triggered when we delete Argo application.


webfinger is leaking email address

<EMAIL_ADDRESS>
Can we remove the email? It ain't required.

@shleeable I would recommend to re-create the issue on the WebFinger plugin repo.

created https://github.com/pfefferle/wordpress-webfinger/issues/26


[RFC]: add support for custom key bindings in the REPL

Description
This RFC proposes adding support for custom key bindings in the REPL.
Some prior art:

Julia: supports key bindings for actions like editing, cursor movement, and program control. Here's the full list of actions

IPython: They also support multiple key bindings for a single action. Similar to how we have the right arrow and TAB to auto-complete a suggestion. They also have auto-closing pairs as "key bindings", to trigger the 'auto-close-parentheses' is mapped to the key (. Here's the full list of actions

We would also want to support having custom key bindings for current actions like Ctrl+O for inserting a new line, or right arrow for accepting a suggestion, or the TAB key to toggle the completions etc.
Would suggest reading the above lists of actions for further discussion on what we should support
Checklist

[X] I have read and understood the Code of Conduct.
[X] Searched for existing issues and pull requests.
[X] The issue name begins with RFC:.

Most of Julia's keybindings seem reasonable. IPython's are a little hard to follow; however, some of the autosuggestion bindings could be useful.

Should we allow multiple keybindings for an action?

Seems fine to me.

 We would have to override the default readline behavior to make it configurable.

Whatever you think makes sense. My initial thought was that supporting overriding for those keybindings seems like a rabbit hole if it means overriding readline, but if you think you have a reasonable workaround, seems fine to me.

Should I break it into separate PRs, namely:

adding editor actions and keybinding support
updating current actions to be configurable
add settings and updating docs

@Snehil-Shah This issue isn't fully closed, correct? IIUC, we still need to add settings and add support for configuration.

We could move those tasks to separate issues to better map to expected PRs.

@kgryte only adding settings and a couple of more actions (for existing stuff like triggering tab completions etc) is left..


Modify wl-sql query to be case insensitive based upon adapter settings

I found that when setting wlNext.caseSensitive to false to use waterline-sequel's default case insensitivity, the adapter was still removing the LOWER()s in the query generated by waterline-sequel.  Since wl-sql had lower-cased the query parameters, this lead to some bugginess.  This PR ensures that when options for wl-sql are passed to the utility that prepares the query, it takes those options into account.
CC @lynnaloo

Any idea why CI is failing?  It doesn't make it to the tests.
npm ERR! Command failed: git clone --template=/home/travis/.npm/_git-remotes/_templates --mirror git@github.com:waterlinejs/waterline-criteria.git /home/travis/.npm/_git-remotes/git-github-com-waterlinejs-waterline-criteria-git-91045b94
npm ERR! Cloning into bare repository '/home/travis/.npm/_git-remotes/git-github-com-waterlinejs-waterline-criteria-git-91045b94'...
npm ERR! Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.

@devinivy working on that now

I found that when setting wlNext.caseSensitive to false to use waterline-sequel's default case insensitivity

btw, yes, this is correct, I did not support this feature.
For future reference to others who may find this issue: wlNext.caseSensitive is true by default. Set it to false to use the typical Waterline default behavior, which is to LOWER() everything.

Thanks @tjwebb!

@devinivy published 0.14.7


fix(language-core): nullable modelvalues

Closes #4646

Thanks!

@valh1996 to improve visibility, would you please create a new issue and link to this PR?


Client disconnection not working in demo_bevy

In the demo_bevy project, players can connect but cannot disconnect. I'm not sure what causes this, as the disconnect messages are handled by ServerEvent::ClientDisconnected. I've read that there's an around 15 second disconnect timer, but this is not emanating in that example. The print immediately following that event call is never logged to the console. Has anyone run into a problem similar?

Hey, didn't manage to replicate the problem. The timeout is working for me on the demo_bevy.
But we shouldn't be relying on the timeout when we close the window, so I added an exit system for the client to disconnect on close, so it should be instant now, same thing for the server: 00310d0634c94b239ac3b9859be58107925d57e2

So I tested again this, using Windows and the disconnect event is working fine.
There has been an internal protocol rewrite by https://github.com/lucaspoffo/renet/pull/82 so it may have fixed this problem.
If this still occurs with you, please re-open the issue.


Ignore submodules when diffing

By default, git diff includes entries for submodules in its output.
This breaks when trying to extract information from such a file
since the submodule directory is not in fact a file known to git.
This may be related to a GitPython issue:
https://github.com/gitpython-developers/GitPython/issues/891
But for git-hammer, the sensible course of action seems to be
ignoring submodules. They are not code in the main repository,
and if their code should be in a project, the actual repository
can be included. So add to diff the option ignore-submodules that
causes it to skip submodules.
Also add a unit test that creates a submodule in the test
repository and verifies that git-hammer works correctly on it.

This PR should fix issue #7.


Instance backups PoC

fixes #15

backup make
a) if instance is running - stops instance, makes backup, starts instance again
b) if instance is NOT running - just makes backup
backup use
a) if instance is running - stops and deletes instance (if --delete-created flag is specified)`, unarchives backup, starts instance
b) if instance is NOT running - just unarchives backup
@tomasz-sobczyk-wttech that's nice isn't it? :)

TODO instance backup make-all and instance backup load-all commands (back up all instances at once, load backups for all defined instances at once)


Include staging URLs in the Contrib Guide

The staging URLs should be included in the Contrib Guide:

Doc stage: https://appdev.prod-preview.openshift.io/
Launcher stage: https://launch.prod-preview.openshift.io/

@tradej I'll take this, if that's ok:)

resolved by PR #555


is there any fast bulk insert solutions like executemany() in python/node ?

I'm using golang with go-oci8. The problem is in bulk insert. Now i have 15k records to insert, but in future the number will grow. PrepareNamed function inserts 15k records in 15s roughly (i removed transport time). But that is the way slower than Python with cx_Oracle. Python for example managed with 15k records in 0.5s. Things i should mention: tests and db tables were identical.

Try the insert all into statement and start multitasking. It should be faster


mlfromscratch/supervised_learning/init.py has references to undefined python files.

Everything you need to know is in the title.  mlfromscratch/supervised_learning/__init__.py has references to undefined python files.
To reproduce, run: "python demo.py", you get:
ImportError: No module named linear_regression

Because supervisedLearning/__init__.py has references to regression classes in files that don't exist.
I was able to correct them in my fork and rebuild and all is well, just have to rename the "whatever_regression" to regression and do the setup again.
Thinking it over, these may be intentional as an exercise for the user.  Good job.  :1st_place_medal:

Haha. Thanks! The regression models used to be separated in different files.


Unable to follow Getting Started step

I have cloned the project but am unable to run yarn install - the installation process always fails for me. I have already looked at the issue https://github.com/microsoft/TypeScript-Website/issues/1981#issue-965803800

Repro:
git clone https://github.com/microsoft/TypeScript-website
cd TypeScript-website
yarn install

Expected behavior:
Successful installation.
Actual behavior:
Fail to install.

What do the linked logs show for canvas?

I figured it out - basically I use Node v16 and Windows 10, so canvas needs to be built during installation - I just followed the instructions in the following link https://github.com/Automattic/node-canvas/wiki/Installation:-Windows

I am sorry, but there is now a new problem - yarn install now runs successfully after the above instructions; however, running yarn bootstrap now fails:

Thank you!

This could be something specific to node 16 - I've never tested it (and we run 14 on CI I believe)

Maybe look for an import of tsconfigOpts.json in the codebase and add the import meta?

Just tested with node 14.19.1 - everything works. Seems like certain optional flags during build time cause problems with version 16!


Scale down while scaling up should stop scaling up

When I scale the number of instances of a process down and the scheduler is still scaling the process up based on a previous formation change, it should immediately start scaling down and not add any more processes. This also applies to processes that are crashed and are waiting to be restarted by the flap detector.

This was fixed in #2171.


Does not work

Is there a possibility you could write out a step by step guide on how to install and use this I've been looking for something like this everywhere and its awesome that you have provided something like this!!

Is there a possibility you could write out a step by step guide on how to install and use this I've been looking for something like this everywhere and its awesome that you have provided something like this!!

Sorry forgot to add a image of the error

Make sure you have .NET 5 Runtime installed and just run the .exe file which is provided via releases (or compile it yourself via visual studio. If however you compile it yourself, note that the code in the repository is set to use .NET 7)
.NET 5 Runtime (windows x64 installer): https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-5.0.17-windows-x64-installer
Compiled .exe file: https://github.com/sweetriverfish/LeagueAutoAccept/releases/download/v2.6/Leauge.Auto.Accept.exe

It works fine now ! I don't know how to use Visual Studio so I will leave that to the professionals.


Comms - MQTT

MQTT is the obvious protocol for sending state to the server

[ ] Put a MQTT "reflector" somewhere - probably on Mitra's server for now
[ ] Figure out a way to interogate, or be notified of state changes through that server
[ ] Build a library to send to the reflector
[ ] Define APIs to hook this into sensors, logic and actuators

Duplicate of #21


[7.x] Update ViewComponents to a subdirectory

This updates the default view components directory from App\ViewComponents to App\View\Components. The reason for this is that "View" is a very common directory name and namespace across the Laravel ecosystem. This will cause one sub directory though but allows for other packages to also group any "View" related classes under this namespace (think Spatie's ViewModels). I believe this is a sensible default to have in the framework. Console commands are handled in the same fashion atm.

This also makes it equal to resources/view/components btw.


allow version 'installed' in case of a yum repo

It should be possible to set the version to installed/latest/... in case of installation method 'repo' on a RedHat system.
With the current puppet code if the version 'installed' is used, it tries to install a package called 'package grafana-installed-1'.

This is a duplicate of #60.

I think this has been fixed by https://github.com/voxpupuli/puppet-grafana/pull/1.