Allow to use all available threads to compile shaders via dxvk.numCompilerThreads

If you have a weak CPU, for instance, a 4 Core Pentium CPU with no hyperthreading, in a game like Overwatch, it can take up to half an hour to compile all the shaders from a state cache with 42000 valid entries.
From my understanding, on such a system, DXVK will only use 2 threads out of available 4, thus unnecessarily increasing the time it takes to compile shaders. Seeing how the game is unplayable during that time anyway, it would make more sense to use all available threads to accomplish the task to get it to the playable state faster.
And unfortunately, to do so via dxvk.numCompilerThreads =, you need to know how many threads are available on a given system, which can't be determined very easily via something like a Lutris install script.
So if possible, it would be very nice if dxvk.numCompilerThreads = could be set to a value like -1, which would make it use all available threads instead of a number determined through a special formula in DXVK.

This would arguably improve the situation for weak CPUs but would also make the game completely unresponsive for everyone else where shaders can otherwise be compiled in the background in a couple of minutes while clicking through menus etc. Using all available threads for compiling is just a bad idea especially on systems with >8 logical cores and CFS kernels.
There's no way to make everyone and every game happy on every system in every situation, and I don't really want to add an Overwatch-specific heuristic. Maybe just ship a patched DXVK with Lutris or something that handles this, but I don't see a good reason to have this upstream when it's really just cucks a different set of users.

Can't you just set the shader compiling threads to a lower priority?

I see.

Running wineserver with higher/lower thread priority won't achieve what you are aiming for i think.. ref to the link you posted. STAGING_RT_PRIORITY_SERVER as i understand it's usage will only make the wineserver process itself run at a different prio/nicelevel, not actually make different threads from windows apps run at different prio's THROUGH wineserver. (Horrible explanation.. i'm not good at this)
Proton got some patches involving things like https://github.com/rbernon/wine/commits/develop/server/thread.c but i am not sure if this is just somewhat of an elaboration of the aforementioned PRIORITY_SERVER mechanic...

can i change the dxvk.numCompilerThreads = on windows?


Support HAGIWO Sequencer clones HW?

There are several (old and new) designs out there that I eventually support like the first design we tinkered with (https://github.com/Testbild-synth/Hagiwo_009_030_sequencer) and which where the initial reason the ARYTHMATIK exists.

https://github.com/mzuelch/CATs-Eurosynth/tree/main/Modules/HAGIWO/6Ch Trigger Sequencer
https://github.com/olonguet/HAGIWO-Sequencer
https://github.com/Testbild-synth/Hagiwo_009_030_sequencer

I think we would need just the pinout of these Designs and could make this fw work on these. Does this make sense ?
Please post the Designs you know of, there at least two other Designs that I cant the Link right now.

Three is also "Dots" https://github.com/johannesstrueber/dots


Suggestions for displayNumberMml()

The lines
https://github.com/limefrogyank/siunitx-pcc/blob/70ca5c4581c2760b7aac5ca5a9fb0416665ab6e5/src/numDisplayMethods.ts#L244-L255
Always sets the number to the negative color, even when it is not negative.  That can be corrected and simplified to
        const rootNode = parser.create('node', 'mrow');
        if (num.sign === '-' && options["negative-color"]) {
                rootNode.attribute.set('mathcolor', options["negative-color"]);
        }

and then use rootNode in place of currentNode throughout the rest.

I think that there is a problem with
https://github.com/limefrogyank/siunitx-pcc/blob/70ca5c4581c2760b7aac5ca5a9fb0416665ab6e5/src/numDisplayMethods.ts#L258-L273
If both bracket-negative-numbers and print-implicit-plus are true and num.sign is empty (i.e., the number is positive), you will not get a leading plus sign, as you would in actual LaTeX.  This is due to the processing of print-implicit-plus in the else clause above.  I think they need to be separate if-then statements.
Also, lines 264 to 271 can be collapsed to
        if (num.sign || options["print-implicit-plus"]) {
                const sign = parser.create('token', 'mo', { rspace: "0em", lspace: "0em" }, num.sign || '+');
                currentNode.appendChild(sign);
        }

In
https://github.com/limefrogyank/siunitx-pcc/blob/70ca5c4581c2760b7aac5ca5a9fb0416665ab6e5/src/numDisplayMethods.ts#L279-L280
should num.exponent === '1' be num.exponent === '0', as the comment implies?
Also, in other places (e.g. line 292), you use +(value) === 0 rather than value === '0' to test for a zero value.  Do you want to do that here, and other places where you have ... === '0'?

In line
https://github.com/limefrogyank/siunitx-pcc/blob/70ca5c4581c2760b7aac5ca5a9fb0416665ab6e5/src/numDisplayMethods.ts#L281
since numberString is known to be empty at this point, why not just assign it directly, rather than use +=?
Similarly for lines 286 and 289.

In line
https://github.com/limefrogyank/siunitx-pcc/blob/70ca5c4581c2760b7aac5ca5a9fb0416665ab6e5/src/numDisplayMethods.ts#L284-L284
you use num.fractional rather than num-fractional !== '' as you have everywhere else.  I prefer the usage without the equality check against an empty string, so I'd recommend using num.fractional (or !!num.fractional if you prefer) here and elsewhere.  Similarly, !num.fractional in place of num.fractional === ''.

In the lines
https://github.com/limefrogyank/siunitx-pcc/blob/70ca5c4581c2760b7aac5ca5a9fb0416665ab6e5/src/numDisplayMethods.ts#L305-L306
note that uncertaintyNode can be null (when the user supplies an invalid uncertainty-mode), and so you may be appending a null child, which will cause a failure when you call appendChild() on it.  You might use
                currentNode.appendChild(uncertaintyNode || parser.create('node', 'inferredMrow'));

of do the appendChild() inside an if-then.

In lines
https://github.com/limefrogyank/siunitx-pcc/blob/70ca5c4581c2760b7aac5ca5a9fb0416665ab6e5/src/numDisplayMethods.ts#L313-L318
the two if-thens should be combined into one, as in
        if (options["bracket-negative-numbers"] && num.sign === '-') {
                const rightBracket = parser.create('token', 'mo', {}, ')');
                currentNode.appendChild(rightBracket);
        }

I'm wondering if you should add stretchy: false in the {} for this and the open parenthesis above?  This is how ( and ) are usually treated in TeX, whereas your current versions are like \left(...\right).

Also, in other places (e.g. line 292), you use +(value) === 0 rather than value === '0' to test for a zero value. Do you want to do that here, and other places where you have ... === '0'?

This is tricky.  I'm switching the whole number check to a number.  That way entering 00.1 will evaluate to 0.1 or .1 with print-zero-integer set to false.  I don't think there's a use for many leading zeros to the left of a decimal point.  However, we can't do this for the fractional part.  So, I need to be selective about where to compare it as a number vs a string.
I may need to revisit this choice.

Related to fixing these issues:
WIthin createQuantityProductMml function of qtyMethods.ts, having an empty quantity-product created an undefined quantityProductNode.  (Example \qty[quantity-product = ]{2.67}{\farad})
Since there is still an understood operator between the value and unit, just shortened to nothing, I chose to create an empty mo mathml node rather than remove the mo node completely.

Added stretchy:false to the options for brackets.  Not sure if this makes a difference, but I'll take your word for it...


 Is a goal to expand on some of these sections (e.g. “Creating your own starter”)?

Rebased, squashed, and merged as https://github.com/spring-cloud/spring-cloud-stream-app-starters/commit/6d245d39bf3acd19b25fdda85d74cad41ddb639a.


Notify engine by CCOSTAN

Adding notify engine to HA from CCOSTAN
Adapted to work with Android devices, still some more tweaking to get images etc working.
To do:

add one more device
make work with both iOS and Android (hmm does my daughter read this - she'll get iPhone as gift...)
do some more checking and logic - when to send to me via app and when to send to telegram.

Still need to improve on this.
I've added Discord channel to. It will contain info on GitHub changes, but also status for Travis and I could use it for some generic Warnings and Alarms.
BUT - need to update it so I can send notification using tags, not using independent notify commands.


Impossible to build with shared grpc library

configure: error: skywalking extension requires gRPC extension, add --with-grpc=DIR

1st: message looks strange, this is not grpc "extension", but grpc "library" which is searched for (both exists)

SEARCH_GRPC_FOR="libgrpc.a libgpr.a libgrpc++.a libupb.a libaddress_sorting.a third_party/protobuf/libprotobuf.a"

On package distribution none of this file are available
(only the shared libraries, so the .so files)
This was ok with previous version
This is related to ecbb2f16fe90f0e90d236e303f2e4381aa1f7431
Please allow building with shared libraries

4.2.0 is still totally broken, unable to build

A simple revert to config.m4 from 4.1.2 works

need 4.2.1


Avoid some byte copy operation in SQLRequestParser and VarCharType

Checklist

[x] Added an entry in CHANGES.txt for user facing changes
[x] Updated documentation & sql_features table for user facing changes
[x] Touched code is covered by tests
[x] CLA is signed
[x] This does not contain breaking changes, or if it does:
x It is released within a major release

It is recorded in CHANGES.txt
It was marked as deprecated in an earlier release if possible
You've thought about the consequences and other components are adapted
(E.g. AdminUI)

Not going to merge this. I had a benchmark for the same kind of change for readCString and it didn't show any difference.
and buffer.toString doesn't advance the readerIndex, so the behavior is somehow changes (I'm a bit surprised that nothing failed because of it).
Might extract the change in the http area, but not sure if it is worth doing.


Error when linking with some assembly files

I compiled this two assembly file

with the following parameters
'-std=c11 --config armv6m_soft_nofp_nosys.cfg -mno-unaligned-access -fshort-enums -fshort-wchar -g -ffunction-sections -fdata-sections -faapcs-bitfield-width -fno-common -Wall -Os'
But the linker report errors

with the following parameters
--config armv6m_soft_nofp_nosys.cfg -T /home/wsl/ls_sdk/soc/arm_cm/le501x/compiler/gnu/ble.ld -Wl,--gc-sections

This looks like it should be simple to fix. LLD doesn't implement the R_ARM_THM_JUMP8 relocation. I'm a little surprised that the assembler generated the relocation as arm_cm_delay_asm is in the same section. If you need a work-around in the mean-time then I suggest a local symbol at the same offset as arm_cm_delay_asm as that will cause the assembler to resolve the relocation.
Hoping to get some time to send a patch to upstream lld to implement the missing relocation soon.

This looks like it should be simple to fix. LLD doesn't implement the R_ARM_THM_JUMP8 relocation. I'm a little surprised that the assembler generated the relocation as arm_cm_delay_asm is in the same section. If you need a work-around in the mean-time then I suggest a local symbol at the same offset as arm_cm_delay_asm as that will cause the assembler to resolve the relocation.
Hoping to get some time to send a patch to upstream lld to implement the missing relocation soon.

I

Looks like this has already been fixed upstream in https://reviews.llvm.org/D113509 but this isn't in LLD 13.0.0. The 14.0.0 release will include this relocation.

Great, thank you for the update!
This means that building the toolchain manually with HEAD (https://github.com/ARM-software/LLVM-embedded-toolchain-for-Arm/blob/main/docs/building-from-source.md) should have the fix.

I've tested release 14.0.
It still does not work. But the error log becomes

The first couple of errors are symptomatic of missing the SHF_ALLOC flag in a section containing code. A section without SHF_ALLOC is not part of the memory that will be seen at run-time, they are used for metadata such as .debug. GNU ld is not as fussy as LLD about this.
The fix for this is to make sure the "ax" flags are included when making a custom ELF section in assembler. For example,
 .section mysection, "ax", %progbits

Link to GCC .section docs https://sourceware.org/binutils/docs/as/Section.html
The last error message is likely to come from something like:
        .text
        .global foo
        beq foo // conditional branch outside section

On most AArch32 Arm CPUs the branch will be a wide branch, but on Cortex-M0 the only relocation is the very short range narrow conditional branch (with the R_ARM_THM_JUMP8) relocation
If foo is too far away from the conditional branch then the linker will give an error message. It looks like the destination is too far in your case. Given the short range of the conditional branch it is not usually practical to use it outside of a section. I suggest replacing it with something like:
       .text
        .global foo
        bne  skip // If not equal to then skip
        b foo  // unconditional branch to foo with long range
skip:
        ...


Make it work on mobile device

Hi, thank you for best solution for co-watching the movies and videos.
Please, make it work on mobile devices. Check how it work on firefox nightly - popup is ugly and users cannot connect to server.
I sure that fix is not too hard for you. Also i hope that you don't given up development of this extension

Look into PR for details.
As another solution would be to use Yandex browser that supports Google Chrome extensions on mobile.

Why you need to open tab to extension will work?

I got you. Is it fixed now? Can we now use syncwatch on mobile firefox nightly?

Yes, it should work.


No snark work included on devnet

Preliminary Checks

[X] This issue is not a duplicate. Before opening a new issue, please search existing issues: https://github.com/MinaProtocol/mina/issues
[X] This issue is not a question, feature request, RFC, or anything other than a bug report. Please post those things in GitHub Discussions: https://github.com/MinaProtocol/mina/discussions

Description
Devnet has empty blocks, with zero coinbase transactions for some time.
Steps to Reproduce
N/A
Expected Result
N/A
Actual Result
N/A
How frequently do you see this issue?
Always
What is the impact of this issue on your ability to run a node?
Low
Status
Devnet

Additional information
No response

Hi Gareth, thank you for raising this! This should now be resolved; the issue was in relation to images used for our hosted snarkworkers which have since been redeployed with the 1.4.0 production images. Many thanks! :)


[Feature] Optimization required: It is taking to long for the grid to show

Version information

Device: Android OnePlus 8T
OS: Android 10
Package Version: 5.2.1
Flutter Version: 2.0.5

Is your feature request related to a problem?
Opening the picker, it is taking too long until the grid appears with the images.
If you compare the performance to other pickers in the market, this picker takes a long time to present the grid.
Describe the solution you'd like
I have tried to run some tests to focus on the performance bottle neck. I am not sure, but it appears that the generation of the thumbnail per image is taking quite some time:
      final List<int> _thumbSize = thumbSize!;
      final Stopwatch sw = Stopwatch()..start();
      data = await key.entity.thumbDataWithSize(_thumbSize[0], _thumbSize[1]);
      print('thumbDataWithSize ${sw.elapsedMilliseconds}');

output:
I/flutter (23576): thumbDataWithSize 250
I/flutter (23576): thumbDataWithSize 239
I/flutter (23576): thumbDataWithSize 236
I/flutter (23576): thumbDataWithSize 233
I/flutter (23576): thumbDataWithSize 230
I/flutter (23576): thumbDataWithSize 227
I/flutter (23576): thumbDataWithSize 224
I/flutter (23576): thumbDataWithSize 220
I/flutter (23576): thumbDataWithSize 217
I/flutter (23576): thumbDataWithSize 213
I/flutter (23576): thumbDataWithSize 210
I/flutter (23576): thumbDataWithSize 206
I/flutter (23576): thumbDataWithSize 193
I/flutter (23576): thumbDataWithSize 190
I/flutter (23576): thumbDataWithSize 200

Note:
There is a bug in the "Custom Image Preview thumb size". It is not actually working - the thumb size is lost in the way. I will submit a PR to fix it (the bug is NOT in the example code but in the plugin itself).
Describe alternatives you've considered

Tried reducing the image preview thumb size (after locally fixing the bug) - it helps, but not too much
Tried reducing the routeDuration and other durations in code - didn't help
Tried replacing default SortPathDelegate.common with SortPathDelegate.empty.empty (which does nothing), almost no change

Several solutions which should be inspected

Check for PhotoManager preload thumb feature: PhotoManager  PreloadThumb
Don't wait for all images thumb to be ready, display each when ready (does it work like that now?)
Using the image itself instead of generating a thumbnail per image (probably not a good idea, but should be tested)

Check for PhotoManager preload thumb feature: PhotoManager  PreloadThumb

Seems no improvement for me. The method requires you to throw assets into it, then you'll back to the very start of the issue which is the duration when getting assets list.

Don't wait for all images thumb to be ready, display each when ready (does it work like that now?)

Yes this is how it works currently. Load assets list, layout the grid, and items take care of the thumbnail themselves.

Using the image itself instead of generating a thumbnail per image (probably not a good idea, but should be tested)

IMO there's no need for testing. You can directly see their difference between the grid and the preview.

Do you have any other suggestion on how to optimize the grid loading?

Not really. This might requires more enhancements from the photo_manager plugin. I'll discuss with @CaiJingLong offline later.

Thanks!

I had the same issue as well.

i just wanted to also state, that some of my alpha tester, who have android devices, also complaint, that the loading time for the assets within the grid, is really slow. Apparently this problem is not really a big problem for iOS but it is was Android. If I can help somehow, please let me know and I can review the necessary android code to adjust it. Maybe one possibility would be to give the grid a stream of thumbnails instead of all images at once, to reduce the loading time.
Kind regards,
Chris

Apparently this problem is not really a big problem for iOS but it is was Android.

Actually we heard more complaint about this issue on iOS. But no matter which platforms are suffering this problem, we should definitely discuss this in the photo_manager repo.
I'll give some detail about the laggy part which the picker mainly suffered.
Grid is always spinning
https://github.com/fluttercandies/flutter_wechat_assets_picker/blob/77d86b5b45575744cd245a9292b7276acaab4bc8/lib/src/provider/asset_picker_provider.dart#L260-L261
The reason why the grid spins too long is caused by these methods, and they must be called in proper sequence. Anyone who wants to test how long these methods been taken, can place a Stopwatch here. AFAIK, low performance devices, devices that have more than thousands of entities, could both suffered from this.
Thumbnails are slow with rendering
Thumbnails are provided by some native dependencies, e.g. Glide on Android, which requires a generate process when reaching them. Then they'll be copied in the Flutter's channel pipeline. This is how copies were transferred under the Android platform:
MediaStore -> Uri -> Bitmap -> ByteArray => Platform Channel => Uint8List -> resolve by ImageProvider.
Too many copies required to generate during this process, which means some laggy were produced by the architecture of channels.
However, they can be some solutions to solve this, but they're still under investigation by Flutter team. See https://discord.com/channels/608014603317936148/846507907876257822/850072476402450433 as we've discussed this few weeks ago.

Has anyone found a solution?  The asset picker is functionally great, but it takes almost 10s on my iPhone SE (in release mode) for photos to start showing.

Same here, like 10 seconds on an iPhone 12 Pro.

If anyone still facing the same issue like this, or https://github.com/fluttercandies/flutter_photo_manager/issues/711, please help us by running the latest example of photo_manager, then filtering log as https://github.com/fluttercandies/flutter_photo_manager/issues/711#issuecomment-1048428521 suggested.

We've shipped the 7.0.0 version which brought a bunch of improvements from the photo_manager 2.0.0 version.
If anyone is still facing the obvious performance/duration issues, contact me by submitting new issues in the photo_manager's repo.
Closing since we have few samples to solid reproduce this issue.

I reproduce this issue in google pixel 4a android 12.
When I filter only videos that time grid is taking too long (7s - 10s) to load initially.
Once everything is cached it works as intended.
So in summary if we clear the data and filter only videos that time I am able to reproduce this bug.

So in summary if we clear the data and filter only videos that time I am able to reproduce this bug.

@kartik1225 If it's able to reproduce, please file issues against photo_manager and we'll take further investigations.


Problem exporting the weight matrix for each layer along with all the hyper parameters of each layer and their connectivity.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):

Yes, I have modified Tensorflow before but not w.r.t. this problem. (I used the binaries provided by conda and pip)

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):

macOS 10.12 Sierra for iMac

TensorFlow installed from (source or binary):

1.1.+

TensorFlow version (use command below):

pip and pip version

Bazel version (if compiling from source):

n/a

CUDA/cuDNN version:
n/a
GPU model and memory:
n/a
Exact command to reproduce:

n/a
Describe the problem
How do you extract the weights of each of the intermediate layers in tensorflow?  I use the /tmp/cifar-train but I couldn't find the exact location of the weight matrix along with the hyper parameters?

I see the following files above but there is no documentation that tells how to export the weight matrix along with the hyper parameters for the entire network and each layer for the exact configuration.
Source code / logs
n/a

This question is better asked on  StackOverflow since it is not a  bug or feature request. There is also a larger community that reads questions there. Thanks!
(That said, in this case the files you're looking at are produced by tf.train.Saver - whose documentation will describe the process of exporting and importing tensor contents a bit).
Hope that helps.


how to catch all events?

Hi,
if there a possibility to use VM $on() method to catch all incoming events?
It would be even cooler to enable wildcards like:
this.vm.$on('delete-*', function(){
//...
});

to catch all events starting with 'delete-'
Right now such functionality is useful for me for diagnostics, but I think it would be useful in several other scenarios as well.

For those looking to do the same thing with version 1.0, the syntax is like this:
const old_on = this.$on;
    this.$on = (...args) => {
      // custom logic here like pushing to a callback array or something
      old_on.apply(this, args);
    };

example for version 2.* ?

Did you try that code? Should still work :)

@endoplasmic your solution can also work for 2.0

@njleonzhang ya, I edited my comment above to say 1.0+ so if others stumble on this, it's a bit more clear :)

@endoplasmic It's great and has no dependence to Vue implementation

@njleonzhang  any example for this ? it did not work at my side.

@xiaolp endoplasmic has provided sample

i very stress

For those looking to do the same thing with version 1.0+, the syntax is like this:
const old_on = this.$on;
this.$on = (...args) => {
  // custom logic here like pushing to a callback array or something
  old_on.apply(this, args);
};

i add this code into beforeCreate but not work

Is there a way to catch all click events


Installation: Create Product Release charts

We need to have product release charts in the DEvOps repo as part of release activities. Sample is here.

@tejasbeehyv @suresh12 @Ramu-kandimalla

Hi @Rkum113  @Pasam6  Please update on this ticket


setup.py needs to have a valid tensorflow version

When I try to install dependencies it gives the following error
ERROR: Could not find a version that satisfies the requirement tensorflow<=1.15.0,>=1.12.0 (from versions: 2.2.0rc3, 2.2.0rc4, 2.2.0, 2.3.0rc0, 2.3.0rc1, 2.3.0rc2)
ERROR: No matching distribution found for tensorflow<=1.15.0,>=1.12.0

Check this previous issue. https://github.com/Shawn-Shan/fawkes/issues/8#issuecomment-661099924


Test splitted build

This splits off the docker build into multiple concurrently running jobs, one for ubuntu and one for alpine
This is a test run: https://github.com/simonseyock/mapproxy/actions/runs/9956997508 (trivy fails because the images are not uploaded)

it also fixes the broken alpine build


Why hide not working - jquery?

ABOUT
PORTFOLIO
CONTACT

The name is Justin and I'm an UX/UI designeveloper, with extensive practical experience in brand strategy, creative direction and project management; devoted to Functional Programming and Information Architecture. Also a huge fan of semantics and futuristic interfaces.Web Developer - Graphic Artist - User Experience Designer

PORTFOLIO

CONTACT ME

Name
Email
Phone Number
Message

Want to get in touch with me? Be it to request more info about myself or my experience, to ask for my resume, tips on how to solve your sudoku, random questions about the universe and the meaning of life, or even if only for some nice Fika here in stunning Toronto... just feel free to drop me a line anytime.

  I promise to reply A.S.A.P.

This is my script
$(document).ready(function(){
$("p#name").hide();
});

This is only for bug reporting. Use FCC's Gitter help channel for help: https://gitter.im/FreeCodeCamp/Help
And You need to target right element, with Your Jquery. Ask help from help channel.

@mayursadhu as @Locheed has mentioned, GitHub is not for coding help. You may want to check if you are loading jQuery correctly. If you get stuck or have questions with a challenge in the future, please first ask questions to the Help Room. Happy coding!


Fix conditionCallback invocation when using DoctrineCollectionDataSource

Now, when using DoctrineCollectionDataSource, application fails on condition callback invocation. it's caused by DoctrineCollectionDataSource having private access to data_source property instead of protected.
Please merge
Thanks.

Would it be a bad idea to add abstract method getDataSource to FilterableDataSource? Obviously every DataSource should have accessable dataSource for purpose of filter condition callback invocation, so noone would make this mistake again when creating new DataSource

👍 after fixing the indentation.

I've merged it by my own. Thanks anyway @ondrejmastik.


Feature request: official procedure for rolling the Flutter Gallery into the Framework

Split off from discussion here, there is no documented process for rolling the new Flutter Gallery into the framework. This means that if there is a breaking change in Flutter that breaks the gallery, even if the gallery repo is updated but the version is not rolled to every place it is pinned, the change will break the Framework tree build.
As of today, there are two places where the framework depends on the new gallery:

the devicelab
customer testing repo

related https://github.com/flutter/flutter/issues/62983 https://github.com/flutter/flutter/issues/57062
cc @willlarche @pennzht

closing as a dupe of https://github.com/flutter/gallery/issues/254


(fix) Avellaneda status for hanging orders

Before submitting this PR, please make sure:

[x] Your code builds clean without any errors or warnings
[x] You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:
Avellaneda strategy trimmed zeros off hanging orders original amount in status report
The issue seems to be a data coherence issue when the pandas dataframe is created with a column of data with inconsistent type (in this case Decimal and float). The solution proposed is to convert to float when the row is appended
Tests performed by the developer:
Added a called to the status function to verify the issue
Confirmed that the issue was resolved with the proposal
Tips for QA testing:

@MementoRC, please fill up & submit the AML Policy Form via this link: https://forms.gle/MULD7qfm2g2Nhqbr5
This is a one-time process for each ETH Address used to receive HBOT bounty.


Notification is not coming in iOS 12.

Hi Team,
I am using FCM for Notification, i am getting notification on iOS version < 12 devices.
But not on devices having iOS 12.
I updated Firebase Core and Messaging pods, after that i face same problem.
I am getting Message packet
func messaging(_ messaging: Messaging, didReceive remoteMessage: MessagingRemoteMessage) {
debugPrint(remoteMessage.appData)
}
But not getting Message packet as APS.
Help me out if there are any changes for ios iOS 12.
Thanks

@ParvendraSingh There should be no changes on how we send or how you receive messages on iOS 12. Could you include the request you are using to send the message?

@kroikie Thanks for your kind reply, but i am still on same page.
I am getting FCM Message as APS in iOS 10 & 11 but not getting in iOS 12.
I replace my all code for UNUserNotification and FCM, i tried with new auth key but still i am getting message in delegate method only.
I am not able to call  UNUserNotification delegate method(willPresent notification),
will you please suggest me for this?

@ParvendraSingh are you able to send to your device directly through APNs?

@ParvendraSingh the
func messaging(_ messaging: Messaging, didReceive remoteMessage: MessagingRemoteMessage) {
debugPrint(remoteMessage.appData)
}

method is only for direct channel messages from FCM. If you are sending messages through APNs then you will have to use one of the APNs callbacks to handle messages.

Hey @kroikie and @morganchen12 ,
Thanks for your quick response, actually there was my mistake.
i forget to set apns token to messaging services.
Thanks you so much for your kind help

@ParvendraSingh You said
I forget to set apps token to messagings services
How did you that?

@manuelsBTS  if you have swizzling enabled, Messaging does this automatically. Otherwise, you'll have to set the apnsToken property on the Messaging singleton in the system APNs refresh callback.


Revert "add gosec with same settings as opentelemetry-log-collection"

Reverts observIQ/stanza#335
Reverting until we have fixes in place. Gosec can run locally with gosec ./....

Log Files
Logs / Second
CPU Avg (%)
CPU Avg Δ (%)
Memory Avg (MB)
Memory Avg Δ (MB)

1
1000
1.62076
+0.17241657
128.23167
-0.64385986

1
5000
4.9655557
+0.25848007
139.8183
+5.684952

1
10000
10.241521
+0.27598476
144.23868
-2.4981232

1
50000
51.12229
+2.8289528
174.01442
+1.6073608

1
100000
99.625725
+1.3485107
237.54391
+0.5914612

10
100
1.9310461
+0.1551367
134.0536
+0.20324707

10
500
7.0175533
+1.5347033
142.26239
+2.151001

10
1000
10.758609
-1.446907
147.13632
-2.5191193

10
5000
61.381504
+4.949421
181.39345
+3.9179688

10
10000
113.55342
-5.1034164
229.97467
-3.4345398


Different results in python 2.7.8 and python 3.6.8

Hello,
I have noticed a considerable difference on my results when running the exact same code in python 2.7.8 and python 3.6.8.
I have been considering results as correct when running on python 3.6.8 taking into account that the support/test for the used libraries is better for python 3.6.8 but I would like to ask whether you have fully tested your implementation for python 3.6 or i should consider python 2.7.
Does anyone come across the same issue? Or, are there specific versions of libraries that I should use?
Thanks in advance,
Redona

Hello @RedonaBrahimetaj, thank you for letting me know about the discrepancy in results between Python 2.7 and Python 3.6.
Is this specifically when running the included example, or in other scenarios as well? If it occurs in other scenarios, would you share example code that reproduces the behavior?
I was able to reproduce the discrepancy when running this example, but I traced it back to differences in ordering of the bags when the example code is run (since the example only does one train/test split, there is a lot of variance in the result given changes in the ordering of the examples). Specifically, when I sort the items of the dictionary in this line:
https://github.com/garydoranjr/misvm/blob/edde284f597799b1910941c2d44de71f815ea0b7/example/misvmio.py#L262
the results agree across Python versions.
That being said, I originally wrote the library in Python 2.7 and I'm more confident in the correctness of the code when running under that version. Other developers have contributed to making the code compatible with Python 3, but I have not personally tested extensively running this library under Python 3.


Fix/voice chat icon aria

Summary
Added aria-label to 'start a voice/video chat' icon.
Ticket Link
https://trello.com/c/k2gImF5t/280-a11y-voice-chat-icon-has-no-text-alternative
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Ran make check-style to check for style errors (required for all pull requests)

 a11y - Voice chat icon has no text alternative

 a11y - Video Chat

force pushed to rebase to head of develop for merge


Missing npm package

Hi. I'll try this package to solve a problem in IE, could you verify?

Hi same issue for me the package is not publish.
npm install<EMAIL_ADDRESS>npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@jjppof%2Fchartjs-plugin-zoom-pan-select - Not found
npm ERR! 404
npm ERR! 404  '<EMAIL_ADDRESS>is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

I resolved my problem with this updated code in my package.json
"dependencies": {
    ...,
   "@jjppof/chartjs-plugin-zoom-pan-select": "git+https://github.com/jjppof/chartjs-plugin-zoom-pan-select.git",
}


Added danish language support

As requested in #169, this PR contains danish language support for Umami

Thanks!


Debug console group headers with variablesReferences are empty

Refs: https://github.com/microsoft/vscode/issues/91095
In the Chrome console:

In VS Code:

DAP log:
{"seq":106,"type":"event","event":"output","body":{"category":"stdout","output":"This is the outer level\n","source":{"name":"main.js","path":"/Users/copeet/Github/vscode-pwa/demos/node/main.js","sourceReference":0},"line":1,"column":9}}
{"seq":107,"type":"event","event":"output","body":{"category":"stdout","output":"","variablesReference":10,"group":"start","source":{"name":"main.js","path":"/Users/copeet/Github/vscode-pwa/demos/node/main.js","sourceReference":0},"line":2,"column":9}}
{"seq":108,"type":"event","event":"output","body":{"category":"stdout","output":"Level 2\n","source":{"name":"main.js","path":"/Users/copeet/Github/vscode-pwa/demos/node/main.js","sourceReference":0},"line":3,"column":11}}

This is not yet supported. Assinging to March to investigate then to introduce this support.
Thanks

We would have to support Group start event with variable references.
Code pointer
Not for march, leaving open as feature request for future.


Code demos day 1 mlr2 -> mlr3

[x] limo
@fabian-s could you check if this compiles to pdf for you? I'm not sure why this does not compile on my machine.

[ ] knn

[ ] splines

@tpielok
worked for me after I deleted the _cache and _files directories and recompiled?
I think there might have been a weird interaction between knitr's caching system and {mlr3} / {paradox} defining a c method for ParamSet which are also environments (...R6).
as far as I can tell, knitr tried to add something to an environment in the database that represents its cache (?), but that then called this method for ParamSets and then it shit its pants:
> options(error = recover)
> rmarkdown::render("code_demo_limo.Rmd")

processing file: code_demo_limo.Rmd
  |...                                                    |   6%
  ordinary text without R code

  |......                                                 |  12%
label: limo-preamble (with options)
List of 3
 $ child  : chr "../style/preamble_code_demos.Rmd"
 $ include: logi FALSE
 $ purl   : logi FALSE

[......]

  |.............................................          |  82%
label: grad_desc_mlr
Quitting from lines 273-282 (code_demo_limo.Rmd)
Error in do.call(makeParamSet, pars) : second argument must be a list

Enter a frame number, or 0 to exit

 1: rmarkdown::render("code_demo_limo.Rmd")
 2: knitr::knit(knit_input, knit_output, envir = envir, quiet =
 3: process_file(text, output)
 4: withCallingHandlers(if (tangle) process_tangle(group) else p
 5: process_group(group)
 6: process_group.block(group)
 7: call_block(x)
 8: block_exec(params)
 9: block_cache(options, output, objs)
10: cache$save(objects, outname, hash, lazy = options$cache.lazy
11: getFromNamespace("makeLazyLoadDB", "tools")(knit_global(), p
12: lazyLoadDBinsertVariable(vars[i], from, datafile, ascii, com
13: (function (e)
{
    if (is.environment(e)) {
        name <
14: lazyLoadDBinsertValue(data, datafile, ascii, compress, envho
15: (function (e)
{
    if (is.environment(e)) {
        name <
16: lazyLoadDBinsertValue(data, datafile, ascii, compress, envho
17: (function (e)
{
    if (is.environment(e)) {
        name <
18: lazyLoadDBinsertValue(data, datafile, ascii, compress, envho
19: (function (e)
{
    if (is.environment(e)) {
        name <
20: lazyLoadDBinsertValue(data, datafile, ascii, compress, envho
21: (function (e)
{
    if (is.environment(e)) {
        name <
22: table$insert(e)
23: c(e, envs)
24: c.ParamSet(e, envs)
25: do.call(makeParamSet, pars)

does not explain why even repeated renders now work after cleaning the old cache..
who knows :man_shrugging:

mlr3 and rmarkdown do not seem to be best buddies...

I think there might have been a weird interaction between knitr's caching system and {mlr3} / {paradox} defining a c method for ParamSet which are also environments (...R6).

(I think this could be a problem here again)
This time clearing the cache, unfortunately, does not fix the problem:
I created a gist with the relevant mlr3 code of the knn code demo.
First run:
> options(error = recover)
> rmarkdown::render("knn.Rmd")

processing file: knn.Rmd
  |......                                                           |  10%
  ordinary text without R code

[...]

  |....................................................             |  80%
label: knn-mlr-1
  |..........................................................       |  90%
  ordinary text without R code

  |.................................................................| 100%
label: knn-mlr-2
Quitting from lines 47-56 (knn.Rmd)
Error in c.PredictionClassif(e, envs) :
  Assertion on 'dots' failed: May only contain the following types: {PredictionClassif}, but element 2 has type 'NULL'.

Enter a frame number, or 0 to exit

 1: rmarkdown::render("knn.Rmd")
 2: knitr::knit(knit_input, knit_output, envir = envir, quiet =
 3: process_file(text, output)
 4: withCallingHandlers(if (tangle) process_tangle(group) else p
 5: process_group(group)
 6: process_group.block(group)
 7: call_block(x)
 8: block_exec(params)
 9: block_cache(options, output, objs)
10: cache$save(objects, outname, hash, lazy = options$cache.lazy
11: getFromNamespace("makeLazyLoadDB", "tools")(knit_global(), p
12: lazyLoadDBinsertVariable(vars[i], from, datafile, ascii, com
13: (function (e)
{
    if (is.environment(e)) {
        name <
14: table$insert(e)
15: c(e, envs)
16: c.PredictionClassif(e, envs)
17: assert_list(dots, "PredictionClassif")
18: makeAssertion(x, res, .var.name, add)
19: mstop("Assertion on '%s' failed: %s.", var.name, res, call.

Afterwards:
> rmarkdown::render("knn.Rmd")

processing file: knn.Rmd
  |......                                                           |  10%
  ordinary text without R code

 [...]
  |.................................................................| 100%
label: knn-mlr-2
Quitting from lines 47-56 (knn.Rmd)
Error: Cannot predict, Learner 'classif.kknn' has not been trained yet

Does this happen for you, too?
Strangely errors like this did not occur in the Rnw files.

New observation: as probably expected with cache = FALSE it compiles code without cache

yeah, happens to me too.
easy but time-consuming fix: switch off caching for mlr3 related chunks.
see https://github.com/mlr-org/mlr3/issues/438

I just found this, seems to be a feature https://github.com/mlr-org/mlr3/wiki/FAQ

aaah, you so smart!

pls fix our Rmd-headers accordingly.

Done. @fabian-s

thx @tpielok


fixes drop index statement for pg

there that should be much more readable
since the last pr caused some confusion when i kept the old syntax for mysql and sqlite, i made the change simpler by changing it for all dialects.

it took me a while to find the time to fix this.
it was not obvious at first sight that mysql uses different quotes.
i hope its ok to have this in 2 commits.

According to http://dev.mysql.com/doc/refman/5.7/en/drop-index.html it looks like the syntax for MySQL is the way it is currently with the ON statement.

Yah totally fine to have it in two commits - sorry for taking a while to get around to this - been working at a new job & pretty busy.  Whenever you're happy w/ the changes here feel free to merge & ping me & I can release a new version to npm. :)

This is good to merge, right? It looks good to me...but I wanna check w/ the original author: @soliton4 ?

@brianc i gave a talk about https://github.com/soliton4/promiseland-pg yesterday and mentioned that i had to use my own version of node-sql because of unpatched fixes.
sorry i didnt have the time yet to follow up on the merge process.
will try to do so. if you think its ok to merge go ahead thou.
btw can you tell me your oppinion on https://github.com/soliton4/promiseland-pg ?

That is really radical!  I dig it.  Are you using ES6 or something for promiseland? Cool syntax.  That looks like a nice little orm-style thing with cool "sync" looking access to postgres via generators too!
I'll go ahead & merge this in so you don't have to use your fork anymore, and I'll push a new version to npm!

Published @0.50.0

@brianc promiseland is a way to create readable async code in ES5 compatible runtime environments
in addition it has a typesafety feature which has a modifier "savable"
it allows you to create a generic storage engine that is completely seperate from the program logic.
if you want to learn more i will give a talk about it at the next amsterdam.js meetup. where are you located?

@brianc p.s.: http://promise-land.net/


Move full_search to an iterator

The speed does not seem to change and probably the workload is still small enough that rayon won't be useful by using it directly.

Coverage decreased (-0.7%) to 79.851% when pulling a6221c01d506a1c2ad313faccea6fd9bd369965d on rust-av:full_search into 4db518c3511d18ab0aca224a0ea295fa18d3f486 on xiph:master.


non interactive execution

Does go-prompt have a feature for non interactive execution?
Similar to https://github.com/abiosoft/ishell#non-interactive-execution ?

@c-bata will non interactive execution work?

I am very curious about this otherwise if anyone knows of another library please let me know.

You mean parse args, make string from slice and pass it to executor? Is that really complex?

@keith6014 Now I think go-prompt should focus one thing just provide interactive prompts because small is beautiful. I think the interface and the implementation will be complex if this feature is added. This is why I don't wanna implement this.
But I know there are such needs @keith6014 said. I think one solution is to convert definition of command line interface to Completer of go-prompt. For example, kubectl is implemented using  spf13/cobra and we may be able to automatically generating prompt.Completer from cobra.Command like:
https://github.com/c-bata/kube-prompt/issues/18
Actually @stormland has already implemented stormland/cobra-prompt. It seems cobra-prompt doesn't properly work but if we can do this, go-prompt will be more convenient software.

@c-bata What about next example - works with app -c uptime
package main

import (
	"flag"
	"os"
	"os/exec"
	"strings"

	"github.com/c-bata/go-prompt"
)

func executor(t string) {
	if t == "bash" || t == "uptime" {
		cmd := exec.Command(t)
		cmd.Stdin = os.Stdin
		cmd.Stdout = os.Stdout
		cmd.Stderr = os.Stderr
		cmd.Run()
	} else if t == "exit" {
		os.Exit(0)
	}

	return
}

func completer(in prompt.Document) []prompt.Suggest {
	s := []prompt.Suggest{
		{Text: "bash", Description: "Run bash"},
		{Text: "uptime", Description: "Show uptime"},
		{Text: "exit", Description: "Exit shell"},
	}
	return prompt.FilterHasPrefix(s, in.GetWordBeforeCursor(), true)
}

func main() {
	var c bool
	flag.BoolVar(&c, "c", false, "execute command")
	flag.Parse()
	rest := flag.Args()

	// Non-interactive execution
	if c {
		cmd := strings.Join(rest, " ")
		executor(cmd)
		os.Exit(0)
		return
	}

        // Interactive execution
	p := prompt.New(
		executor,
		completer,
	)
	p.Run()
}

@egorse Seems good 👍 Command line arguments might be room for improvements. Basically the usage of non-interactive execution should be the same with prompt mode. In your example, we need to type -c. supervisorctl which is the CLI for supervisord(daemons manager in python) is good example. If execute $ supervisorctl status, supervisorctl prints the status and exits. On the other hand, If execute $ supervisorctl without subcommand, interactive shell will start.
http://supervisord.org/running.html#running-supervisorctl

@c-bata my point was - non-interactive call is just call to executor.
probably something as  prompt.Exec(cmd string) could be good as for documenting as well some terminal handling around call to executor.

Thanks for the responses and code samples!
I though you abandoned the project! :-)
@c-bata : i was thinking something similar to your supervisorctl example. So, if I did supervisorctl "status" then it would run the status.
@egorse.
Thanks for the code example. I would be ok with using -c.
Do you have an example with prompt.Exec?

@keith6014  there is no prompt.Exec() - that was just seed for @c-bata opinion. If there would be such method - then main would looks like (also made it acting as supervisorctl status):
func main() {
	p := prompt.New(
		executor,
		completer,
	)

	args := flag.Args()
	if len(args) != 0 { // Non-interactive execution
		cmd := strings.Join(args, " ")
		prompt.Exec(cmd)
		return
	}

        // Interactive execution
	p.Run()
}


Not reinstalling plugins that arent on npm list

Some plugins are installed via url, the tool should give support to this kind of plugins.
For ex. cordova plugin add https://github.com/Urucas/ToastPlugin.git

bump


Parse fixed band EQ from its own file instead of headphone README

I saw that you are parsing each headphone's README to look for preamp. I do not recommend that you do this. The README isn't structured information, it is free text that can change at any time, so the implementation becomes fragile.
My recommendation is that you grab this information from FixedBandEQ text file, like this one: https://github.com/jaakkopasanen/AutoEq/blob/647d0422ac346a5616eaf6ddda0420317121941b/results/oratory1990/harman_over-ear_2018/HIFIMAN Sundara (Dekoni heepskin Earpads)/HIFIMAN Sundara (Dekoni heepskin Earpads) FixedBandEQ.txt. You can be sure that the structure of this file won't be changing anytime soon. It should be stable and possibly help you simplify the parsing code.
When I wrote #24 I thought you were already using the FixedBandEQ file that I linked. I read your source code again and realized you weren't.

Hello @douglascamata,
Thanks for reporting this issue.
At the time of writing the script I wasn't aware of the text files hence why I went with parsing the MD files.
Of course having a more structured and reliable source is much more convenient.
This would require a major refactoring of the data fetching mechanism, so bear with us while we work on it 🙂

This would require a major refactoring of the data fetching mechanism, so bear with us while we work on it 🙂

Thanks and no worries at all about timing. If you want to split the work into smaller issues I can even help you out with the implementation. Golang is my daily job since years and I love contributing to open source. 👍

Hi @douglascamata ,
I just wanted to give you more context around the issue you raised.
Context
I had another look and I can confirm the EQ preset data is fetched from the txt files. Here is how it works:
graph LR
    A[Start] -->|Fetch Index MD metadata| B(Store EQMetas)
    B --> C(Select preset)
    C -->|Get EQMeta| D(Download preset)
    D -->|Fetch TXT preset| E(Download preamp)
    E -->|Fetch MD preamp| F(Store as JSON)
    F --> G[End]

The reason why at startup the script fetches data from the index MarkDown file is simply because there's no other place I'm aware of that keeps track of all the available presets in autoEQ. So that MarkDown acts as a repository of presets metadata.
Hence why the EQMetadata struct holds the data found in the MD file for each available preset, including the link to the TXT file.
Once the user selects which preset to download, the tool will get the metadata previously stored in a map and use the saved link to download the preset raw data from the text file and finally save it locally following the JSON format.
You can find the above process in the server_test.go file.
However, at the time this tool was created, the text file only held information regarding each band in the EQ, but no info related to the global preamp gain in dB, hence the need to fetch that single value from somewhere else, and that's how it ended up parsing the MD file.
Proposed solution
So considering now that information is available in the fixed band txt file, it will be wise to capture it at that point, avoiding the subsequent HTTP call for the MarkDown file.
I wouldn't delete the MD global preamp parsing code as it could be used as a fallback mechanism for when the value isn't available in the fixed band txt file (unless we can be 100% sure it always is).
This will be a simple fix that won't require much work 😃

Thanks for the great explanation! The proposed solution sounds good to me.
I think it's safe to assume the preamp values will now be there 100% of the time for two reasons:

They were added since Nov 2020 (I verified it, here's the commit: https://github.com/jaakkopasanen/AutoEq/commit/a917820a4cb39ee205a304e365b646a16a0118d6#diff-b6369edbed76da6044705c90ef6052f5c0734f5f5a2364d359f9326c83dba938). Indeed before this tools was created. Before that commit, only the Parametric EQs had preamps in the file.
They are mandatory for a correct equalization to avoid clipping.

Buuut, it doesn't hurt to have a backup solution. 👍


Excel display in demos differs greatly from expected display

Our customers tell us that the display of Excel documents sometimes differs greatly from the expected display.
I have therefore compared your ASP.NET Core demo with your online viewer at https://products.groupdocs.app/viewer/total.
Your online viewer displays Excel documents much more adequately than the demo (on which we have based our integration).
Below are two screenshots of a sample document that I have attached to this ticket:
Test.xlsx in ASP.NET Core demo:

Test.xlsx in online viewer:

How can I configure GroupDocs Viewer so that Excel documents are displayed in the same way as in your online viewer?
Test.xlsx

@ManuelHaas
The online Viewer uses new version of Angular UI that is going to replace the current one. And renders files to PNG instead of HTML so the output looks different. You can configure this demo to work the same using the following code in Program.cs file
ViewerType viewerType = ViewerType.Png;

builder.Services
        .AddGroupDocsViewerUI(config => {
            config.SetViewerType(viewerType);
        });

builder.Services
        .AddControllers()
        .AddGroupDocsViewerSelfHostApi(config =>
        {
            config.SetLicensePath("GroupDocs.Viewer.lic");
            config.SetViewerType(viewerType);
            config.ConfigurePngViewOptions(viewOptions => {
                viewOptions.SpreadsheetOptions = SpreadsheetOptions.ForRenderingByPageBreaks();
                viewOptions.SpreadsheetOptions.RenderGridLines = true;
                viewOptions.SpreadsheetOptions.RenderHeadings = true;
                viewOptions.SpreadsheetOptions.SkipEmptyColumns = true;
                viewOptions.SpreadsheetOptions.SkipEmptyRows = true;
                viewOptions.SpreadsheetOptions.TextOverflowMode =
                    TextOverflowMode.OverlayIfNextIsEmpty;
                viewOptions.SpreadsheetOptions.DetectSeparator = true;
                //Automatically detect CSV and TSV separator
                viewOptions.SpreadsheetOptions.DetectSeparator = true;
            });
        })
        .AddLocalStorage("./Files")
        .AddLocalCache("./Cache");

Also you can give a try a complete application - sample-app.zip.

@vladimir-litvinchik This works perfectly. Thank you very much!
But here it comes. This works great for Excel documents, but Word or PDF documents look better with the previous rendering. Is it possible to activate this type of rendering only for Excel documents?

Unfortunately, changing the output type from HTML to PNG is not possible in the current implementation. The packages were designed in a way where all the configuration is set once during application startup. Also, client-side Angular application is depends on this config.

I understand. With the ViewerType.Png option, pdf documents are sometimes rendered blurred and unattractive. Text passages can also not be marked etc.
A slightly more flexible configuration would be really great here. Perhaps this can be taken into account in a future version.

@ManuelHaas
Can you please attach the PDF file that you're opening? We'll take a look at how we can improve the output.

@ManuelHaas
In case this issue is still actual please attach the PDF file.

@ManuelHaas
The latest version of GroupDocs.Viewer.UI uses the same Angular UI that you can see at https://products.groupdocs.app/viewer/total. See the README for more details on customization.


Error During Container Instance Creation

Receiving this error during CI creation in the Ephemeral agent step:
2020-10-07T16:42:41.3143033Z ##[error]Error Code: [1]
2020-10-07T16:42:41.3169513Z ##[debug]Processed: ##vso[task.issue type=error;]Error Code: [1]
2020-10-07T16:42:41.3171321Z ##[error]Error: Couldn't create Azure Container Instance
2020-10-07T16:42:41.3172481Z ##[debug]Processed: ##vso[task.issue type=error;]Error: Couldn't create Azure Container Instance
2020-10-07T16:42:41.3173219Z ##[debug]task result: Failed
2020-10-07T16:42:41.3181300Z ##[error]Script failed with error: UnexpectedError: The command failed with an unexpected error. Here is the traceback:
No module named 'azure.mgmt.network.v2018_08_01'
Traceback (most recent call last):
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-tuw8_17y\knack\cli.py", line 215, in invoke
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-v8nptj_b\azure\cli\core\commands\__init__.py", line 654, in execute
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-v8nptj_b\azure\cli\core\commands\__init__.py", line 718, in _run_jobs_serially
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-v8nptj_b\azure\cli\core\commands\__init__.py", line 711, in _run_job
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-cpn0gwyu\six.py", line 703, in reraise
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-v8nptj_b\azure\cli\core\commands\__init__.py", line 688, in _run_job
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-v8nptj_b\azure\cli\core\commands\__init__.py", line 325, in __call__
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-v8nptj_b\azure\cli\core\__init__.py", line 784, in default_command_handler
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-s56abhv8\azure\cli\command_modules\container\custom.py", line 190, in create_container
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-s56abhv8\azure\cli\command_modules\container\custom.py", line 286, in _get_vnet_network_profile
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-v0h_67b1\azure\mgmt\network\_network_management_client.py", line 5336, in subnets
ModuleNotFoundError: No module named 'azure.mgmt.network.v2018_08_01'
To open an issue, please run: 'az feedback'

Pipeline consists of two agents:

I have tried using values in each filed and variables in each field, the same error is the result.

May be related to these two issues with the Azure CLI.
https://github.com/Azure/azure-cli/issues/15391
https://github.com/Azure/azure-cli/issues/15431

What's the agent specification for Provision Ephemeral Agent Job? I have switched the agent to VS2017-win2016 and it seems to work. It also works on ubuntu-20.04

Thank you!  That is what it was.

OK, so this is bizarre...  It worked ONCE after changing it to VS2017-win2016 and running the pipeline.  It then failed on the next run with this same message again:
2020-10-15T16:09:57.9703291Z ##[error]Script failed with error: UnexpectedError: The command failed with an unexpected error. Here is the traceback: No module named 'azure.mgmt.network.v2018_08_01' Traceback (most recent call last):   File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-tuw8_17y\knack\cli.py", line 215, in invoke   File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-v8nptj_b\azure\cli\core\commands\__init__.py", line 654, in execute   File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-v8nptj_b\azure\cli\core\commands\__init__.py", line 718, in _run_jobs_serially   File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-v8nptj_b\azure\cli\core\commands\__init__.py", line 711, in _run_job   File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-cpn0gwyu\six.py", line 703, in reraise   File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-v8nptj_b\azure\cli\core\commands\__init__.py", line 688, in _run_job   File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-v8nptj_b\azure\cli\core\commands\__init__.py", line 325, in __call__   File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-v8nptj_b\azure\cli\core\__init__.py", line 784, in default_command_handler   File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-s56abhv8\azure\cli\command_modules\container\custom.py", line 190, in create_container   File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-s56abhv8\azure\cli\command_modules\container\custom.py", line 286, in _get_vnet_network_profile   File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-v0h_67b1\azure\mgmt\network\_network_management_client.py", line 5336, in subnets ModuleNotFoundError: No module named 'azure.mgmt.network.v2018_08_01' To open an issue, please run: 'az feedback'


PayloadCMS instance completely freezes when opening a lot of things at once

https://youtu.be/Rvn2SM4_EqE
See video. There are no console errors, and the only way to restore it is to re-start the server. It does not unfreeze itself.
This only seems to happen locally and not in production.

Hey @AlessioGr — thanks for the issue! I just recreated, and you're right, it's only in dev mode. Running Payload in production does not reproduce the issue.
That said, some further testing has shown that this is related to webpack-hot-middleware, and not necessarily Payload itself.
I've opened an issue on that repo and am going to close this one for now. Will follow up here when there is an actionable fix or suggestion from webpack-hot-middleware.
Thank you!!


Port Conflict - RabbitMQ

Checklist:

[x] I have checked that there are no issues with similar or the same content
YOU SHOULD CHECK CLOSED ISSUES ASWELL

[ ] I have checked the FAQ (https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/wiki/FAQ) and the answer I am looking for is not there

[ ] I have double checked and can reproduce the issue

OS:
High Sierra 10.13.5
GPMDP Version:
Issue Descriptions:
It seems that the default port of 5672 is the same default port used by RabbitMQ. Would it be possible to change the default port?
Steps to Reproduce:

No matter what port we choose it will conflict with something.  We aren't going to change the default port now as it would break a lot of things


Remove the chalk dependency from scripts\handle-error.js (OSOE-568)

Error handling has to be reliable. The mentioned script should be such a reliable component, so let's remove any external dependencies so it won't break.
To achieve that, extract the output coloring of warnings and errors into an optional "formatter" callback that can be passed by the caller. In the calling script, chalk should be a non-optional dependency again.
Note: The manual output coloring is only necessary when executing NE scripts in the VS Task Runner Explorer. Everywhere else it works out of the box.
Jira issue

We've decided to leave it at the optional chalk dependency.


Error with top-level await

Hi,
thank you for the lib, it looks promising !
I tried to use it for a basic WebGL test but ran into the following issue :

Indeed, I see that there are two top-level constants _adapter and _device defined in WebGPURenderer.ts that await a promise. The error pops up even when using WebGL, I guess because the exported file index.js bundles everythings.
I tried a quick fix, but since the request of the device is async, I don't understand how the creation of the WebGPURenderer can not be async. I could work on a PR if you have an idea of how you want to address that

This comes from Vite's optimizeDeps. A quick fix might be to split the renderers into separate files (bundlers skip unused paths).
In your case, you can tweak the target with:
// vite.config.js
optimizeDeps: {
  esbuildOptions: {
    target: 'esnext'
  }
}

It's a bit unfortunate Vite/ESBuild/browserslist is pedantic about this since ESM spec guarantees the availability of top-level await which is why this is published as such.

Thank you for the explanation and the workaround !
Your config fixes the issue in dev mode but not during the build. Based on this issue I found that setting build.target to esnext fixes the issue both in dev and build mode.
But I ended up using the proposed plugin vite-plugin-top-level-await in order to have a wider browser support.
In any case, maybe a workaround should be proposed in the README ? I think many users will be using Vite.
As everything works fine for me now, feel free to close the issue if you think it's ok on your side.
Thank you again !

Thanks for the info. I made sure to mention that plugin in the README.


Copying the dockerfile as part of the Published bits for local configuration

To be able to configure and set up dockerfile as a part of publication of the application for SCE

This PR includes an external URL:
https:\bcreative.online\
So I won't be merging this PR. ok?


Tracker errors

Steps to reproduce

Open manga
Attempt to track it. If already being tracked, read a chapter or try to manually change the chapter number in tracker.
Error shows up

Expected behavior
No error to pop up
Actual behavior
I was reading manga as usual, and I noticed that some errors pop up when I read a chapter or if I tried to search for the manga. I only tested MangaUpdates, Anlist and MyAnimeList since those are the three trackers I have.
Here's the error that appears on Yokai vs it working as normal on Mihon

Crash logs
No response
Yōkai version
1.7.14
Android version
13
Device
OPPO Reno 5 Lite
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, or a request for an extension, I should be contacting the extensions repository's maintainer/support for help.
[X] I am reporting an issue exclusive to this fork. I have also checked that is not an issue on the main version of Mihon
[X] I have tried the troubleshooting guide.
[X] I have updated the app to version 1.7.14.
[X] I have updated all installed extensions.
[ ] I have admitted that I am a clown by having checked this box, as I have not read these acknowledgements.
[X] I have filled out all of the requested information in this form.

It looks like a connection issue. Can you try again using different connection or using a VPN?

Seems to be working when I use a VPN. Weird because it'd been working normally previously, but no big deal. Thanks for the help!


NOMERGE: 2.11.0

[x] cherry pick https://github.com/keybase/client/pull/14906

@keybase/react-hackers hotfix branch for 2.11.0
kbfs commit: a8ad587ab5801902dd1b4faff31d2d8160d00bdb


yolo class number issue

@xvjiarui please help
The class number of my dataset is 21.
Do I need to add one more class '0'as my background during the training time like this?

no need!


Support PlantUML and Graphviz Dot

Hi, could you please support highlight of PlantUML and Graphviz Dot for their popularity?
Thanks!

+1

hi @tamlok , we can review and merge PRs with language implementations but won't be able to actually implement all the requested languages.
see http://highlightjs.readthedocs.io/en/latest/language-requests.html for more details.

@tamlok I myself need support for DOT, and I may be able to implement it myself at some point. No promises, but if I ever actually do it, it will appear in my fork of highlight.js. GitHub enables to you 'watch' repositories so that you are notified if something happens to them. So if you watch my fork, then, if I ever implement it, you will automatically get a notification.

@MadEmperorYuri Thanks!

Not on my end, @mbana, sorry. I ended up getting re-prioritized onto a different project. But I will try to pick up implementing a DOT plugin for highlight.js in my spare time.
My plan is to adapt the DOT grammar from this plugin for the Atom text editor into the format that highlight.js takes, like this one for CSS.
It doesn't look like it will be very simple, but that DOT plugin at least provides a starting point.

This could also be of help:
https://github.com/ajaxorg/ace/blob/master/lib/ace/mode/dot.js
https://github.com/ajaxorg/ace/blob/master/lib/ace/mode/dot_highlight_rules.js


Parse Bash history

It could switch depending on $SHELL value (and be forced to use one or the other with --shell zsh or --shell bash).
Here's what history -a produces:
    1  ls
    2  strace tmux
    3  brew install strace
    4  /usr/local/bin/brew install strace
    5  dtrace -h
    6  man dtrace
    7  dtrace -f execve ls
    8  sudo dtrace -f execve ls
    9  sudo dtrace -f execve
   10  sudo dtrace
   11  sudo dtrace -f execve -c ls
   ...etc...
   69  wc -l ~/.bash_history
   70  history | wc -l
   71  history
   72  echo '
   73  ls
   74  '

Note that this does not understand newlines like fc does, so echo '\nls\n' gets interpreted as lines 72, 73, and 74.  😬

Maybe it's better to just do the equivalent of cat ${HISTFILE:-~/.bash_history} since running an interactive shell just for history isn't actually worth it.

The history file looks like this:
b
ls
history
g | less

Fixed by #13.


Map code to docs, consider automating testing of code in docs

Adam and I agreed it would be worthwhile to identify all of the code our docs reference so we may ensure updates to one are at least considered for the other. To this end, I have created this mapping:
https://app.golinks.io/code2docs
It identifies .move and .toml files referenced in (and typically linked from) the docs. The goal is to insert a code comment near the top helping the requisite engineer find the associated docs. I have proposed the syntax in the doc above yet welcome refinement.
Related, Francois is suggesting use of this to test Rust-specific references:
https://github.com/budziq/rust-skeptic

Francois mentions the possibility of a Move Skeptic.

If we need a case study for the importance of this, see:
https://mysten-labs.slack.com/archives/C034XH78HNU
sui_programmability-refs.txt

And so on...
sui_core-refs.txt
sui_programmability-framework-refs.txt

Let's work on link checking here too. Please see the comments in:
https://github.com/MystenLabs/sui/issues/1769


Question

If my device is present in the network, How can I connect via IP address?
Thank you!

Hi tgiachi!
The flow to generate by specifying the IP address and device type is not implemented.
use Discover method, like:
var devices = await Broadlink.Discover(5);

Ok, thanks for quick reply!


build(deps): Account for header changes in fmt project trunk

Fixes a CI breakage

Pre-emptively merging because it fixes broken CI for the bleeding edge test.
We can revisit if anybody thinks there's a mistake here.


znc service: refactor config generation

Motivation for this change
The current config generation system does not allow for the option of an IRC server password with the network information (see #25876).  Also the Bitlbee control channel, &bitlbee, cannot be set because it doesn't start with a hash (see #25874); rather than change how channels must be defined in configuration by removing the auto-prefixed hash (and thus force everyone who has existing ZNC configuration to need to refactor their config values) I instead allowed the insertion of the specific Bitlbee control channel based upon a boolean value.  I'm not certain if this is the best approach for this channel and welcome better solutions.
Tested all values and their absence and checked the created configuration file to ensure it was built correctly with the proper syntax.
Things done

[X] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] Linux

[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

Thanks!


Add TUN inbound for client

This PR introduced TUN inbound for client, with the "system" stack from sing-tun.
Configuration Example
All fields are optional except name.
tun:
  name: "hytun"
  mtu: 1500
  timeout: 5m
  address:
    ipv4: <IP_ADDRESS>/30  # An address that doesn't conflict with your local network, the prefix length must not longer than /30
    ipv6: 2001::ffff:ffff:ffff:fff1/126 # Same as above, the prefix length must not longer than /126
  route:
    ipv4: [<IP_ADDRESS>/0]
    ipv6: ["2000::/3"] # (YAML) Quotes are required for IPv6 addresses in array
    ipv4Exclude: [<IP_ADDRESS>/32] # Bypass your server's address
    ipv6Exclude: ["2001:db8::1/128"]

Compatibility

OS
Result

Linux 6.8 (Arch Linux latest)
:white_check_mark: OK

Windows 11
:white_check_mark: IPv4 is fine. IPv6 does not work on my PC, but does on tobyxdd's side.

Windows 10 LTSC 2019
:white_check_mark: Almost the same as Windows 11, except it sometimes crashes with failed to create tun interface: Cannot create a file when that file already exists. after client restart.

Windows Server 2022
:warning: Firewall must be disabled or TCP will not work.

CentOS 7
:warning: Firewall must be disabled or TCP will not work. AutoRoute is abnormal, ipproto matcher in ip rule requires kernel v4.17, which was released on Jun 4, 2018. I won't fix this as CentOS 7 will be EOL in 103 days. CentOS 7 users may use ip rule del from all goto 9010; ip -6 rule del from all goto 9010 or upgrade kernel to workaround this problem.

FreeBSD 14.0
:x: Not supported by sing-tun.

Related Issues
close: #790
ref: #537

要有 tun 了？

I can confirm that this works fine on macOS as well. Only the tun name must be in the format "utun"+number, otherwise it will fail with a "bad tun name" error.

@tobyxdd  this PR should not be merged, because sing-tun use GPL license.

@tobyxdd  this PR should not be merged, because sing-tun use GPL license.  Or client can split out as another project.

I've got personal approval from the developer of sing-box. You can confirm with them.

@JimmyHuang454

this PR should not be merged, because sing-tun use GPL license. Or client can split out as another project.

Thank you for bringing up your concerns regarding the license compatibility. I have duly considered the implications of including code from GPL-licensed modules before implementing this PR. Specifically, the modules in question are:

https://github.com/SagerNet/sing-tun
https://github.com/SagerNet/sing

I've asked tobyxdd to contact with nekohasekai, the author of the above modules. And we've obtained a exception for the using of these modules.
Furthermore, I understand that third-party developers may have concerns about potential licensing issues resulting from dependency chains. If this is the case, I'd like to clarify that Hysteria operates as a multi-module project. For those who wish to integrate Hysteria without introducing any GPL dependencies, the recommended approach is to depend only on the core module located at github.com/apernet/hysteria/core. This will allow you to use the Hysteria functionality while avoiding any GPL-licensed modules. Moreover, since the code within github.com/apernet/hysteria/app remains under the MIT license, merging any portion of its code, excpet the TUN feature, into your own codebase should pose no licensing conflict whatsoever.

tried it on armbian (debian) with linux 6.6.36 on opi pc+, default "hytun" doesn't start, reports "FATAL   failed to run TUN       {"error": "failed to create tun interface: add route 0: file exists"}", "tun0" and "utun0" work


🐛 Fix double identities for wildcard requests from APIExport virtual workspace

Summary
Fix a bug where wildcard requests coming from the APIExport virtual workspace for "built-in" kcp types (e.g. ClusterWorkspaceTypes) had the identity set by the virtual workspace, then set a second time by decorateWildcardPathsWithResourceIdentities.
Related issue(s)
Fixes #2184
Fixes #2308
Incorporates & supersedes #2245

/hold
need to fix something

/unhold

Wait.

No decorateWildcardPathsWithResourceIdentities client should be used to forward requests from a VW.
/hold

Updated to change the VW server to use a "clean" client that doesn't inject identities. Had to reimplement similar logic in the initializing workspaces vw. PTAL. Happy to adjust as needed.

/unhold

/lgtm
/approve


Support vor arm64 processors

Hello,
may it's possible to create a release which is compatible to (linux/arm64/v8) jetson nano?
I want to run a stream with VLC to publish my webcam /dev/video0 via rtsp.
When runing without a docker container VLC runs on the CPU which creates 100% CPU load.
When running in docker it's easyly possible to run it on the GPU via a runtime variable.
Thanks a lot

@Bark33p3r It should be possible, but I currently don't have the time to add this to the project.
I'm happy to review a PR to add multi arch container image build from someone, or maybe I'll have some time in the future.


feat: added streaming info box components.

Resolves: #94

Hi @codynhat
New PR https://github.com/Geo-Web-Project/cadastre/pull/116 is here:

changed the base branch to develop.
integrated the actual balance amount.

I think the integration with the component and the existing interface is handled by other issues, just like the picture below shows:

I will handle this firstly at the issue https://github.com/Geo-Web-Project/cadastre/issues/105.


Subset and combine invalid polygon after buffer region transform

The buffer region is transformed to UTM when meshing:
https://github.com/noaa-ocs-modeling/OCSMesh/blob/d3b23f5473c69b68e32ce3466a84fee6ecafea1a/ocsmesh/cli/subset_n_combine.py#L257-L261
This transformation could result in invalid polygon, hence the invalid polygon error when triangulating at:
https://github.com/noaa-ocs-modeling/OCSMesh/blob/d3b23f5473c69b68e32ce3466a84fee6ecafea1a/ocsmesh/cli/subset_n_combine.py#L274-L276
For example the following snapshots are of a transformed shape the becomes invalid:

An immediate solution to this might be to translate everything to UTM based on center of clipping region, before calculating the buffer zone. Right now I'm testing the result of this approach


Older compilers do not support defaulted nothrow destructors

It seems, https://github.com/boostorg/test/pull/375 broke compilation on MSVC-12, as seen in Boost.Log CI.
.\boost/test/utils/runtime/errors.hpp(42) : error C2610: 'boost::runtime::param_error::~param_error(void) throw()' : is not a special member function which can be defaulted
        exception specification is not allowed
.\boost/test/utils/runtime/errors.hpp(61) : error C2610: 'boost::runtime::init_error::~init_error(void) throw()' : is not a special member function which can be defaulted
        exception specification is not allowed
.\boost/test/utils/runtime/errors.hpp(67) : error C2610: 'boost::runtime::input_error::~input_error(void) throw()' : is not a special member function which can be defaulted
        exception specification is not allowed
.\boost/test/utils/runtime/errors.hpp(76) : error C2610: 'boost::runtime::specific_param_error<Derived,Base>::~specific_param_error(void) throw()' : is not a special member function which can be defaulted
        exception specification is not allowed
        .\boost/test/utils/runtime/errors.hpp(127) : see reference to class template instantiation 'boost::runtime::specific_param_error<Derived,Base>' being compiled
.\boost/test/utils/runtime/errors.hpp(169) : error C2610: 'boost::runtime::ambiguous_param::~ambiguous_param(void) throw()' : is not a special member function which can be defaulted
        exception specification is not allowed
.\boost/test/utils/runtime/errors.hpp(185) : error C2610: 'boost::runtime::unrecognized_param::~unrecognized_param(void) throw()' : is not a special member function which can be defaulted
        exception specification is not allowed
    call "bin.v2\standalone\msvc\msvc-12.0\msvc-setup.bat" amd64 >nul
 cl /Zm800 -nologo "libs\test\src\compiler_log_formatter.cpp" -c -Fo"bin.v2\libs\test\build\msvc-12.0\release\threading-multi\compiler_log_formatter.obj"     -TP /wd4675 /EHs /GR /O2 /Ob2 /W4 /MD /Zc:forScope /Zc:wchar_t /Zc:inline /Gw /favor:blend -wd4275 -wd4671 -wd4673 -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_DYN_LINK=1 -DNDEBUG "-I."

CC @ecatmur.

And the same issue is with gcc-4.6:
./boost/test/utils/runtime/errors.hpp:42:5: error: function 'boost::runtime::param_error::~param_error()' defaulted on its first declaration must not have an exception-specification
./boost/test/utils/runtime/errors.hpp:61:5: error: function 'boost::runtime::init_error::~init_error()' defaulted on its first declaration must not have an exception-specification
./boost/test/utils/runtime/errors.hpp:67:5: error: function 'boost::runtime::input_error::~input_error()' defaulted on its first declaration must not have an exception-specification
./boost/test/utils/runtime/errors.hpp:76:5: error: function 'boost::runtime::specific_param_error<Derived, Base>::~specific_param_error()' defaulted on its first declaration must not have an exception-specification
./boost/test/utils/runtime/errors.hpp:169:5: error: function 'boost::runtime::ambiguous_param::~ambiguous_param()' defaulted on its first declaration must not have an exception-specification
./boost/test/utils/runtime/errors.hpp:185:5: error: function 'boost::runtime::unrecognized_param::~unrecognized_param()' defaulted on its first declaration must not have an exception-specification

    "g++-4.6"  -ftemplate-depth-1024 -std=c++0x -fvisibility-inlines-hidden -fPIC -m64 -pthread -O0 -fno-inline -Wall -g -fvisibility=hidden -Wno-variadic-macros -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_DYN_LINK=1   -I"."  -c -o "bin.v2/libs/test/build/gcc-4.6/debug/cxxstd-0x-iso/threading-multi/visibility-hidden/compiler_log_formatter.o" "libs/test/src/compiler_log_formatter.cpp"

Ugh, sorry. I can't see an elegant (one-line) fix; would a multi-line compatibility change be OK? Something like
#ifdef BOOST_NO_CXX11
~param_error() BOOST_NOEXCEPT_OR_NOTHROW BOOST_OVERRIDE {}
#else
~param_error() noexcept override = default;
#endif

If so (or if you can suggest any other mechanism) I'll prepare a PR.

Ugh, sorry. I can't see an elegant (one-line) fix; would a multi-line compatibility change be OK? Something like
#ifdef BOOST_NO_CXX11
~param_error() BOOST_NOEXCEPT_OR_NOTHROW BOOST_OVERRIDE {}
#else
~param_error() noexcept override = default;
#endif

If so (or if you can suggest any other mechanism) I'll prepare a PR.

You could define your own compatibility macro like BOOST_DEFAULTED_FUNCTION, which expands to = default only on compilers that fully support the use cases you need. That is, on gcc >= 4.7 and MSVC >= 14.0. Then the rest of the changes would be more clean.


Add marilari88/twoslash-queries

Repo URL:
https://github.com/marilari88/twoslash-queries.nvim
Checklist:

[X] The plugin is specifically built for Neovim, or if it's a colorscheme, it supports treesitter syntax.
[X] The lines end with a .. This is to conform to awesome-list linting and requirements.
[X] The title of the pull request is Add/Update/Remove `username/repo`  (notice the backticks around `username/repo`) when adding a new plugin.
[X] The description doesn't mention that it's a Neovim plugin, it's obvious from the rest of the document. No mentions of the word plugin unless it's related to something else.
[X] The description doesn't contain emojis.
[X] Neovim is spelled as Neovim (not nvim, NeoVim or neovim), Vim is spelled as Vim (capitalized), Lua is spelled as Lua (capitalized), Tree-sitter is spelled as Tree-sitter.
[X] Acronyms should be fully capitalized, for example LSP, TS, YAML, etc.

Thanks for the PR!


[Docs] can not find evaluate.sh file

📚 The doc issue
Hi, I wonder where is the evaluate.sh file, mentioned in the Document evaluation part.
Thank you for your guidance, or if anyone else can assist with this issue, thanks!
Suggest a potential alternative/fix
No response

I use the evaluate.sh found udner internvl_g dir to do caption-coco evaluation with 26B model, but got some problems when loading the 26B model back.
Some weights of InternVLModel were not initialized from the model checkpoint at pretrained/InternVL2-26B and are newly initialized
...

layers from clip_projector, clip_projector2 and 'qllama` are missing their weights. do you know what is wrong here?
I run evaluate with:
bash internvl_g/evaluate.sh pretrained/InternVL2-26B "caption-coco --dynamic

Wait, sorry, were you able to resolve this? I was also confused about this aspect. Thank you!

Hi, evaluate.sh is located at here:
https://github.com/OpenGVLab/InternVL/blob/main/internvl_chat/evaluate.sh


Generate the package version props file

This should allow us to override RuntimeFrameworkVersion automatically based on TFM.

Example output: https://gist.github.com/natemcmaster/263a30f0593526d0bfbd971a13c49f12


Remove auto format within ttnn::bcast

This work will not be done.  The plan is to completely remove bcast.


Dataloader problematic character in feild used for file name

I tried to make a dataloader with multiple species across files. Thus I put "/" in the filed  "Dataset-wide main organism annotation (from NCBItaxon)" as this was a required filed in the dataloader creation, but I wanted to edit it manually at the end. However, no loader was created due to PermissionError: [Errno 13] Permission denied: '/_x_2021_10x3v3_chen_001.py' This happens because I have put "/" into one of the fields that are used for filenames. Could you add a check that all characters form the fields you use for filename are valid?

Why did you want to use "/" there? I do not think it is the right field value here, it should be left empty I think and the later filled in phase 1b as a multi sample loader. You identified the problem correctly that "/" is problematic because this string is used to build file names.

The organism in sfaira command line tool is necessary at this point so I needed to put something for the start and I just put "/" at random, hoping to change it later manually in yaml. Yes, the more informative error message would have been useful.


Bidirectional support (only in .gs form for now)

I needed bidirectional syncing with a calendar on one side where the administrator prohibited any sharing beyond "free/busy". Hence no tags or event names come across by which to recognize an event created by gcal-i-am-busy itself and discard it to avoid infinite loops. I used a hack where I add one second to the busy events created so the other end can recognize them.
Status: works with manual runs, will test for a few days to make sure is stable.
TODO: If proves stable, convert the changes back to the Typescript version (development was done directly in .gs to shorten compile-execute cycle time).
Usage: Check out this branch, follow instructions in src/Code_mod.gs.

Hey @arobertn ! Glad you are still finding it useful.
Unfortunately I've moved to using Apple Calendar personally. While I still use GCal for work, I now cannot use this approach to keep them in sync, so I haven't been using this project.
I'd be happy to make you a maintainer, but I guess it's better if you fork it if you wish to continue the maintenance. I'd be happy to update this to point it to your fork.

@utdemir I'm OK with that, though I would hope to keep the user-base small. ;-) Would it be OK if I first iterated this PR a final state, we merge it, and then point to the fork after that?
BTW I also use Apple Calendar locally, but I've never gotten it working that well for updates to work calendars, so I still use the web UI (and this sync tool) for them.

Yes, of course I am happy with it! Let me know when you wish this merged :)

Hey guys! Another option is to just transfer the whole repo, but if there aren't many existing users then anything works.

^ Really just an excuse to say hi to Utku 👋

@utdemir ready for review.

@utdemir thanks for the review and merge. I forgot to update the title of the PR but oh well. As far as handing over maintainership, I'm OK with either plan. The "GitHub" way would be to let the fork take over and point to it, so I lean towards that, but if you prefer transferring this repo let me know. (Would I need to delete my fork first in that case?)

Thanks @arobertn !

The "GitHub" way would be to let the fork take over and point to it, so I lean towards that, but if you prefer transferring this repo let me know.

I'm happy with either - so let's go with your preference. I'll update the README of this repo to point to arobertn/gcal-i-am-busy :).


How can I use commandline args? Why I can't input the args directly in launch.json.

and what really input are the args I input by ctrl+shift+a last time. And I can't input string even like ""Hello World"". If I input "Hello World" the system will break it into 2 args.

Next release will somehow fix it, but not completly.

Somehow the vscode task api transforms the first " to \


WIP Update oracleContainer to use new password and serviceName

Fixes #2356
Fixes #2215

Since we don't have CI for Oracle, I will built the Docker images on my machine and test by hand.

SimpleOracleTest fails for me with official (self-build) image oracle/database:18.4.0-xe:
Caused by: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12526, TNS:listener: all appropriate instances are in restricted mode

Is this to be expected?

This is not something I would expect.  I have been testing against an 11g-R2 container and have not run into this. Let me see if I can replicate this using 18c.

@kiview Looks like I ran into the same error here:
Listener refused the connection with the following error: ORA-12526, TNS:listener: all appropriate instances are in restricted mode

Output from the container indicated that the database had only installed up to 34%
[02/17/2020 14:59:31:619 CST] 001 JdbcDatabaseContainer          waitUntilContainerStarted      I Waiting for database connection to become available at jdbc:oracle:thin:system/oracle@localhost:33890:xe using query 'SELECT 1 FROM DUAL'
[02/17/2020 14:59:31:649 CST] 046 OracleTraceTest                oracle                         I ORACLE PASSWORD FOR SYS AND SYSTEM: 6450eba1b853938f
[02/17/2020 14:59:31:780 CST] 046 OracleTraceTest                oracle                         I Specify a password to be used for database accounts. Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9]. Note that the same password will be used for SYS, SYSTEM and PDBADMIN accounts:
[02/17/2020 14:59:31:781 CST] 046 OracleTraceTest                oracle                         I Confirm the password:
[02/17/2020 14:59:31:790 CST] 046 OracleTraceTest                oracle                         I Configuring Oracle Listener.
[02/17/2020 14:59:34:865 CST] 046 OracleTraceTest                oracle                         I Listener configuration succeeded.
[02/17/2020 14:59:34:865 CST] 046 OracleTraceTest                oracle                         I Configuring Oracle Database XE.
[02/17/2020 14:59:45:483 CST] 046 OracleTraceTest                oracle                         I Enter SYS user password:
[02/17/2020 14:59:45:486 CST] 046 OracleTraceTest                oracle                         I  **************** ****
[02/17/2020 14:59:45:487 CST] 046 OracleTraceTest                oracle                         I Enter SYSTEM user password:
[02/17/2020 14:59:45:489 CST] 046 OracleTraceTest                oracle                         I **************** ****
[02/17/2020 14:59:45:490 CST] 046 OracleTraceTest                oracle                         I Enter PDBADMIN User Password:
[02/17/2020 14:59:45:492 CST] 046 OracleTraceTest                oracle                         I *************** *
[02/17/2020 14:59:46:139 CST] 046 OracleTraceTest                oracle                         I Prepare for db operation
[02/17/2020 14:59:46:317 CST] 046 OracleTraceTest                oracle                         I 7% complete
[02/17/2020 14:59:46:317 CST] 046 OracleTraceTest                oracle                         I Copying database files
[02/17/2020 15:01:23:732 CST] 046 OracleTraceTest                oracle                         I 29% complete
[02/17/2020 15:01:23:747 CST] 046 OracleTraceTest                oracle                         I Creating and starting Oracle instance
[02/17/2020 15:01:57:977 CST] 046 OracleTraceTest                oracle                         I 30% complete
[02/17/2020 15:02:12:715 CST] 046 OracleTraceTest                oracle                         I 31% complete
[02/17/2020 15:02:12:744 CST] 046 OracleTraceTest                oracle                         I 34% complete
[02/17/2020 15:03:32:745 CST] 001 JdbcDatabaseContainer          waitUntilContainerStarted      I Container is started (JDBC URL: jdbc:oracle:thin:system/oracle@localhost:33890:xe)

I am guessing this is likely due to our wait strategy.  We wait for a connection to become available then attempt to call SELECT 1 FROM DUAL.  At 34% complete it seems like connection are able to be created but not used.  Hence the error.
This may be related to #1292

@KyleAure thanks for investigating this.
In the light of #1292 and the fact that we have official images from Oracle, I would propose fixing the WaitStrategy to work with the new images (making it LogMessageWaitStrategy).
I can take care of this. But this would probably break backwards compatibility to the old (which is banned after all).
What do the others think? @rnorth @bsideup

Got kind of working waiting strategy, but the image takes 8 minutes to start. Does this even make sense in the context of TC?
    public OracleContainer(String dockerImageName) {
        super(dockerImageName);
        this.waitStrategy = new LogMessageWaitStrategy()
            .withRegEx("DATABASE IS READY TO USE!\\n")
            .withStartupTimeout(Duration.of(12, MINUTES));
    }

Yeah I would be hesitant to break compatibility with oracleinanutshell/oracle-xe-11g and wnameless/docker-oracle-xe-11g since I am sure most people are using those right now.
But I think we should definitely document in our instructions how users can create their own images, and that we recommend building an image with a pre-built database (to alleviate startup time).  If they are following those instructions they can set a password when building their image (in which case this PR is kind of moot).
Thoughts?

In the light of https://twitter.com/geraldvenzl/status/1230673245193539585?s=21 I would prefer to push for the official image. I would personally accept to break compatibility with the wnameless, since it is terribly out of date and a grey area after all.
The question is if we try to make the new self=built Oracle image good to use (with e.g. including container volume binding instructions), or if we should wait for the new official image and hope it has faster startup times.

Regarding startup times I could imagine a completely different approach for Oracle - see #2369

@KyleAure
After diving a little bit into the internals of the official image I come to realize, that this ENV based approach only works when initializing a new database. This, however, is much to slow with the current official images (as we have already discovered).
For setting the password of an initialized image, we have to execute a script inside the running container (which we could support in theory).
In the light of these facts, do you think it is okay to close the current PR?
We currently plan to provide a testcontainer oracle-xe image on quay.io that contains an initialized database. I'd prefer if we continue from there.

Yes, I agree.  Sorry for the runaround.  I am glad to see oracle is officially releasing something!  I think if anything we should document that using withPassword() (for oracle at least) should be used if you build an oracle image with a custom password... and that it won't actually change the password at runtime (like what happens with postgres)


Streamdeck Support for TrovoBot

# Streamdeck Support
* On / Off Toggle
* Send Message to Chat
* Set Stream Title
* Send Overlay Alert
* Trigger Plugin?

* Game title change i.e "Valorant, Call of Duty, Hyper Scape"

I'm working on a streamdeck addon to do this so I'll look into utilizing Blazebot instead to do this.