Added 'applyGradient' method to UIViewExtensions

🚀
Checklist

[x] I checked the Contributing Guidelines before creating this request.
[x] New extensions are written in Swift 5.0.
[x] New extensions support iOS 8.0+ / tvOS 9.0+ / macOS 10.10+ / watchOS 2.0+, or use @available if not.
[x] I have added tests for new extensions, and they passed.
[x] All extensions have a clear comments explaining their functionality, all parameters and return type in English.
[x] All extensions are declared as public.
[x] I have added a changelog entry describing my changes.

          4 Messages

:book:
Thank you for submitting a pull request to SwifterSwift. The team will review your submission as soon as possible.

:book:
iOS: Executed 590 tests, with 0 failures (0 unexpected) in 13.191 (15.722) seconds

:book:
tvOS: Executed 565 tests, with 0 failures (0 unexpected) in 5.004 (6.914) seconds

:book:
macOS: Executed 422 tests, with 0 failures (0 unexpected) in 1.042 (1.414) seconds

  Generated by :no_entry_sign: Danger

@guykogus  +1 to this option

Actually this seems to me like it would be better off as a CALayerGradient extension for initialising all the values. I.e.
extension CAGradientLayer {

    convenience init(colors: [Color], locations: [CGFloat]? = nil, startPoint: CGPoint, endPoint: CGPoint, type: CAGradientLayerType = .axial) {
        self.init()
        self.colors =  colors.map { $0.cgColor }
        self.locations = locations?.map { NSNumber(value: Double($0)) }
        self.startPoint = startPoint
        self.endPoint = endPoint
        self.type = type
    }

}

I agree a CAGradientLayer extension seems better but this makes a two step process for user to have gradient background. First user has to create a CAGradientLayer with this init and then insert it into the layer as sublayer. And I also wanted developers who are unaware of the CAGradientLayer can simply call the method and have gradient background.

I think it's OK for this to be separated into 2 steps. If you want a method to show people how to apply a gradient, you can create a simpler version of your function:
func applyGradient(_ gradientLayer: CAGradientLayer) {
    gradientLayer.frame = bounds
    layer.insertSublayer(gradientLayer, at: 0)
}

This would make the usage still fairly simple.
view.applyGradient(CAGradientLayer(colors: [...], ...))

@guykogus @chulbert @LucianoPAlmeida
Thanks for your reviews. I will make these changes.
Under which group should I create CAGradientLayer extension?

@JayMehta97 you'll actually need to create a new group for CoreAnimation. This will include a new Sources folder, Tests folder as well as updates to the podspec and documentation.

I have made and pushed suggested changes.
Changes:-

Created new CoreAnimation group and wrote a convenience init in CAGradientLayerExtensions.swift.
Created new CoreAnimationTests group and wrote a convenience init XCTest in CAGradientLayerExtensionsTests.swift.
Updated CHANGELOG.md
Updated README.md
Updated pod spec file.

@LucianoPAlmeida @guykogus
Should I open another PR?

@JayMehta97 I think it's best to wait for this PR to be merged before creating the new one

@guykogus
I have made all the suggested changes.

@JayMehta97  Lixux build is failing, in this case just as if !os(Linux) should be good :)

@LucianoPAlmeida
Added the Linux check.

Thank you for contributing to SwifterSwift! I've invited you to join the SwifterSwift GitHub organization - no pressure to accept! If you'd like more information on what that means, check out our contributing guidelines. Feel free to reach out if you have any questions! 😃

@SD10 , Thanks for the invitation. Can you please brief me more about what it means.
@LucianoPAlmeida , Thanks for merging my PR. It is my first contribution to any open source repo. Looking forward to contribute more to this.

@SD10 , Thanks for the invitation. Can you please brief me more about what it means.

@JayMehta97 That's an automatic message, where for every contributor when it gets its first PR merged, they are added to the organization.
This basically means that you now is a member o SwifterSwift/contributors group, and you have some rights on the repo e.g. you can create branches on origin, instead of your fork... but most important is you are now part of the organization \o/


[Major Change] Update client dependency from 4.x to 5.x

Please make sure the code is following contribution guidelines in CONTRIBUTING.md

[ ] : This PR has a corresponding issue open in the Repository.
[ ] : Approach is signed off on the issue.

@snankani @gauravsaralMs @geverghe @ishitam8
FYI.. This has some blocking issues. I see the TaskDefinition APIs which were publicly exposed are missing now in 5.0. Following up with the required team to get it resolved.


Add support for Python 3.9

Should fix https://github.com/BYVoid/OpenCC/issues/564 and https://github.com/BYVoid/OpenCC/issues/593

Might also want to consider removing support for the EOL Python 2

@BYVoid , any chance you could take a quick look? This seems to be a very  quick, easy win for those of us on 3.9.

Btw, @mingruimingrui are you still maintaining the OpenCC Python packaging?

@AntonOfTheWoods Thank you!

@sgalal
Looks like the latest release (1.1.3) is not published to PyPI. Could you help publish this version?

3.10 is also out. If this gets released then I will do one for that also.

@huntzhan Thanks. I have just published 1.1.3 manually. Actually I think the publish script is too slow should be revised.
@AntonOfTheWoods Thanks. It would be great to add 3.10.

@sgalal @AntonOfTheWoods Thank you!


Jobs with same tag behavior

I have problem with my jobs being stacked. According to JobService docs  JobId is unique identifier and scheduling job with same Id will just restart timer if job not executing or restart job if it's executing now. But there is no such thing as jobId here. Does job tag have same behaviour as JobId?
.setTag("my-unique-tag")
.setReplaceCurrent(false)

Will rescheduling job with this params just create another job which will run with previous one?
Thanks.

@antonkazakov, was there something that is equivalent to the JobId?


Add Biography to TranslationData

Add Biography to TranslationData and apply the same "hack" that was applied to Name/Title to consolidate it with the Overview property.

Is there any chance this will also be merged soon? Or, is there anything preventing it from being merged?

Is there any chance this will also be merged soon? Or, is there anything preventing it from being merged?

I don't like the hack. We're also likely to remove Framework support and use System.Text.Json instead of Json.NET. It's fine for now though.


Update README.md

test this please

ok to test

add to whitelist

ok to test

retest this please

retest this please

test this please


Fixed Product Description Updates

Having the getValueDisplay() in the template was only being called when the surrounding ngif condition was evaluated to true (This also flags other issues with being able to create incomplete promotions).
When the ngif condition did evaluate, as there are 3 other ngif conditions within this included markup, this causes the getValueDisplay() to evaluate each time, so this change also optimises the evaluation of the description only when required.

Good update, I'm not a fan of having functions in the template. They tend to be called way too much


improved int-to-str conversion

I restarted it, went well this time!
(The restart symbol is normally hidden for some reason, but appears as a circular arrow if you hover over a job name in the job list of the corresponding PR.)

On 14 Nov 2022, at 16:28, Johan Nordlander @.***> wrote:
I restarted it, went well this time!
(The restart symbol is normally hidden for some reason, but appears as a circular arrow if you hover over a job name in the job list of the corresponding PR.)

Well, that is a clever trick! Thanks; I have merged.
Björn

FWIW I think restart is hidden until all jobs have run. Once they have run, either succeeding or failing, you get a icon to rerun failed or all jobs for one workflow run.

On 14 Nov 2022, at 19:10, Kristian Larsson @.***> wrote:
@sydow first off, great job!
We are currently suffering from a slow udivmod, so I wonder if this is faster because it avoids udivmod or if it's always faster?

Well, I don’t know what udivmod is. Of course, I googled and can see that it is something that is defined in libgcc, but I cannot say more. I do use BSDNT’s divrem function, which gcc may compile to use udivmod under the hood.

So, using gcc or clang, is this faster than bsdnts int to str? If so, should we submit this upstream to bsdnt or is it worse in some other way?

I think the function I checked in today is MUCH faster than BSDNT’s zz_get_str. In fact, I find it surprising that BSDNT, which seems well designed and is built by experts in the field, did not put more effort into this. The conversion to a str is done by repeated divmod with the denominator 10, which gives one decimal digit per division. So maybe udivmod is not so slow, but used an excessive number of times?
My function uses a divide-and-conquer strategy, which divmods by a power of 10 which is roughly the square-root of n, and then recursively converts the quotient and remainder in the same way. It is well known that this is a superior strategy, and I am sure that the BSDNT developers know this. I believe that there has not been much development of the library in the last 9-10 years, but it is there to be useful for those who need a bigint library. I believe that we may continue to use it; after all, the problems that we looked at the last few days, i.e. computing hundreds of thousands of digits of mathematical constants is not our top priority. But if we have arbitrary size ints as the default integer type, then we should be able to do reasonably well, and I think we do.
I am more worried that we are a little slow on more mundane tasks like looping over a range, which most programmers use every day. Such a loop creates a boxed integer at every step. If we think of nested loops like in the spectral-norm problem, the inner loops run 100’s of times and create 100’s of boxed integers in every run; the same numbers, over and over again. In fact, the spectral-norm program runs much faster if one once, in main, constructs list(range(0,n,1)) and then sends that list as a parameter to all functions, so that they can reuse it for list iteration (which is very fast). Will we be able to unbox this away when the numbers are not of fixed size?

If not, i.e. if bsdnt int to str is faster under gcc / clang, then this is a temporary workaround until we get a faster udivmod, right?

I think that we now can convert ints to strings as fast as we can reasonably need. Converting a number with 100000 decimal digits takes something like 10 milliseconds, and I think that is OK. For a million digits, times start to go up in the 100’s of milliseconds, but to fix that I believe we would have to implement FFT multiplication. I see no need to improve things here.
Björn

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

To clarify one of the few things I have learnt recently; libgcc is the C runtime of gcc. In clang it is called compiler_rt (compiler run time) and zig uses the same name although the implementation is different (zig has its own written in zig, not C). So udivmod exists in gcc, clang and zig compiler_rt. When we use zig cc (our default) we end up using zigs compiler_rt udivmod. When we use gcc to compile, we end up with libgcc udivmod and when we use clang we get llvm compiler_rt udivmod!
As for BSDNT, it is largely static but @wbhart did merge things in 2021, so I suppose that pull requests are welcome, at least if they are obvious. Could there be other drawbacks to our (your) design? Less portable? Works less well on certain CPU architectures?
I note that with Haskell GHC 9 they have done lots of cleaning so that different implementations of Integers are now supported, either based on ghc or on other libraries. I have seen multiple forum postings mentioning bsdnt as a backend. It feels like it could have an increased interest from Haskell. While Haskell isn't huge, it sure is bigger than Acton and having an academic language isn't bad when working wit numbers. Maybe BSDNT could see an upswing too...

@sydow I agree that we should expect most Acton programs not to be heavy duty integer arithmetic but rather... well, other things but often using for loops and similar constructs, so optimizations there are likely more useful than in pure integer functions...
can we interpret literals as i64 if they fit in i64 and large otherwise and have range() functions etc act differently based on int vs i64 input?

For a million digits, times start to go up in the 100’s of milliseconds, but to fix that I believe we would have to implement FFT multiplication. I see no need to improve things here.

Couldn't help myself but notice that the BSDNT README mentions FFT multiplication with a link to https://github.com/flintlib/flint2/tree/trunk/fft which hosts FFT code that is BSD licensed although it currently relies on GMP. It could be converted to run on BSDNT data structures instead I guess and then we'd have fast FFT multiplication!?

On 14 Nov 2022, at 23:07, Kristian Larsson @.***> wrote:
@sydow I agree that we should expect most Acton programs not to be heavy duty integer arithmetic but rather... well, other things but often using for loops and similar constructs, so optimizations there are likely more useful than in pure integer functions...
can we interpret literals as i64 if they fit in i64 and large otherwise and have range() functions etc act differently based on int vs i64 input?

Literals are already overloaded, so 13 can be in both int and i64, depending on context.
But parameters to range, and indexing, and slicing, have type int hardcoded. We could think of changing those types to be Integral, but I think we wait until we get rid of witnesses in the most common cases. But this does not solve the problem with unboxing; in nested loops as
for i in range(0,n,1):
for j in range(0,n,1):
use(i,j)
when we come to a new iteration of the inner loop we need a new value for j. The range iterator of course keeps track of the start/step/stop parameters so it does some check whether to stop, updates the internal next value and allocates a new int node; the pointer to this node is the new j. This is the same for int and i64, but the overhead is a bit greater for int (since the int node itself contains a pointer to an array of limbs, i.e. 64 bit chunks). So for each iteration of the inner loop, we build again  the same list  [0,1,2,...n-1] of boxed integers. (And of course, the code in use will immediately unbox the value to get the real int inside). This is a challenge for code improvement to simplify this in many (most) cases. But I know that Johan is very good at these things, so I am optimistic. We only need to find time for him…

Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

On 14 Nov 2022, at 23:11, Kristian Larsson @.***> wrote:
For a million digits, times start to go up in the 100’s of milliseconds, but to fix that I believe we would have to implement FFT multiplication. I see no need to improve things here.
Couldn't help myself but notice that the BSDNT README mentions FFT multiplication with a link to https://github.com/flintlib/flint2/tree/trunk/fft which hosts FFT code that is BSD licensed although it currently relies on GMP. It could be converted to run on BSDNT data structures instead I guess and then we'd have fast FFT multiplication!?

Yes, this may be a future development of BSDNT. But I don’t think this is for us to do. There is a lot of fine-tuning to do and he also mentioned that the code he refers to should be simplified.
And this is something which will only start to have dramatic effects when we have really HUGE numbers. So I think we leave that as something for the future.

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.


pulling in 1.6

@mattdjerome:
After a quick skim, you appear to be requesting I merge your organization-specific information.
Please confirm. Thanks.

sorry, I'm trying to do the opposite.

@mattdjerome:
You appear to be requesting I merge your organization-specific information; closing.


Aarathi contribution - Updated Readme file

Closes:

Title:  Updated the Readme file with installments required to allow users to know the modules and installments required.
Your Name: Balla Aarathisree
Idenitfy yourself:  GSSOC Contributor and HacktoberFest Contributer

Describe the add-ons or changes you've made 📃
Give a clear description of what have you added or modifications made
I have added the installments required while using the project as it allows the user to work efficiently. Also, it is essential for the user to understand what modules and libraries are being used.
Screenshots 📷

I've not assigned any such kind of issue. And this update is not required.


split docs/produtct dependencies

Split workspace to avoid docs/slides pollute genaiscript dependency list

docs/package.json has a change related to formatting, regarding newlines at the end of the file. :page_facing_up:
Dependencies in packages/cli/package.json have been updated. Particularly, tsx has been upgraded from version 4.16.5 to 4.17.0, execa from 9.3.0 to 9.3.1, and openai from 4.55.0 to 4.55.7 :robot:
Similar updates have been done in packages/core/package.json with ignore going from 5.3.1 to 5.3.2, openai from 4.55.0 to 4.55.7 and tsx from 4.16.5 to 4.17.0. :hammer_and_wrench:
In packages/vscode/package.json, the development dependencies @vscode/vsce have been updated from 2.31.1 to 2.32.0 and eslint from 9.8.0 to 9.9.0. :computer:
For slides/package.json, the @slidev/cli dependency was upgraded from 0.49.23 to 0.49.25 and vue from 3.4.35 to 3.4.38. :bookmark_tabs:

Note: No changes were made to the user facing public API files; "packages/core/src/prompt_template.d.ts" and "packages/core/src/prompt_type.ts".

generated by pr-describe

/genai-describe

/genai-describe


Efficientnet GS demo benchmarking

GS e2e Demo
test uses batched real inputs and produces batched outputs
this test is looped (takes several batches of inputs, produces several batches of outputs)
test evaluates results of TT model against validation data in selected data set
test is documented
how to run test (commands to execute)
what does the model do (high-level explanation in a couple of sentences)
description of what is input and what is output
this demo should load inputs and expected outputs from a data set on Weka (TBD which one)

The Benchmarking of GS EfficientNet model is completed.
Data-set: IMAGENET
Metric: Accuracy
commit link

PR for EffcientNet GS demo benchmarking,
model is tested with 1000 datapoints extracted from IMAGENET test dataset.
metric: accuracy
accuracy: 66.0
PR- #4633


Fix tempfile problem #41

https://github.com/robertzk/s3mpi/issues/41

:+1:

Coverage decreased (-0.4%) to 24.444% when pulling 33f99fc98a710be937dbb57b562d45fdff892471 on fix_temp_file_problem into fb45b5361ffa357c08da86eb8fa632108d2c29ff on master.

Tests?


[SPARK-25605][TESTS] Run cast string to timestamp tests for a subset of timezones

What changes were proposed in this pull request?
The test cast string to timestamp used to run for all time zones. So it run for more than 600 times. Running the tests for a significant subset of time zones is probably good enough and doing this in a randomized manner enforces anyway that we are going to test all time zones in different runs.
How was this patch tested?
the test time reduces to 11 seconds from more than 2 minutes

cc @gatorsmile

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/3681/
Test PASSed.

Merged build finished. Test PASSed.

Test build #96945 has started for PR 22631 at commit 4853479.

Test build #96945 has finished for PR 22631 at commit 4853479.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96945/
Test PASSed.


Need help

Where are the cards in Master Duel scripted? In the DLL or there are some specific files?

duel.dll, the duel engine is written in C and has been used in all of the YGO games for more than a decade. It would be extremely difficult to modify the logic of the cards via modding.


net: provide mechanism to force DNS via cgo

We should probably provide a mechanism in Go 1.5 to let users force the use of cgo/libc for DNS resolution. I'm afraid the pure Go solution will have problems for some users, and saying "modifying your nsswitch.conf or resolv.conf to be 'complicated enough'" isn't a great answer.
So, two questions:

should we do this?  (I think yes)
which mechanism? env var? build tag? (I'm undecided).

/cc @pmarks-net @mikioh @ianlancetaylor @rsc

If we're talking about #10552, then I think an environment variable would be more useful than a compile-time option, because often the people affected will not be the application developers.
That said, it's better to ship a correct algorithm, than an incorrect one with an easy workaround.

@rsc had reservations about an environment variable. My first version of the CL used an environment variable, but it's now a build tag.

@rsc says:

if we need an explicit environment signal, can we reuse GODEBUG instead of adding a new one? GODEBUG=netdns=1 for tracing, GODEBUG=netdns=cgo for cgo, and GODEBUG=netdns=cgo+1 for cgo and tracing?


Package request: icloud-for-linux

Project enables syncing with iCloud on Linux. Presently is seems to only be packaged in snap format.
Metadata

homepage URL: https://github.com/cross-platform/icloud-for-linux
source URL: https://github.com/cross-platform/icloud-for-linux
license: GPL 3
platforms: Linux

Priorities
Add a :+1: reaction to issues you find important.

I noticed that the description of the software is quite misleading. It doesn't allow "synching with iCloud" and most likely it's just a wrapper for icloud.com.

Sorry if I've misrepresented what it is, but that is the effect. How it does this is beyond my current knowledge of computers. I drive trucks for a living.
If it's not possible to package this for nixos, any ideas on how I might get it running as is? Snapd also seems not to be currently available for Nixos. At least I haven't been able to find it yet.
Or should I give up running this on my laptop and do a workaround from my Ubuntu based NextCloud server?

It is technically possible to package the software. However, you can access the same functionality provided by the software by visiting https://icloud.com.

If I recall correctly, bearing in mind I last daily drove Linux 2ish years ago, this package did provide what amounted to web shortcuts to various iCloud services in the dock applet, however it also provided a mechanism to sync a directory in my home folder with a directory in my iCloud storage.
How? No clue. But that is the functionality I need.
When I get back home from my route I have a reset and I'll spin up an Ubuntu install in a VM and make sure this is the package I think it is. Should be as it is still the only thing I can find in Linux land that has anything to do with iCloud.

If it's real, I have no idea how it works. It's either my lack of knowledge, or the lack of important parts missing from the code on the repository.

 I'm closing this request as I don't need a bunch of links.
If anyone in the future is trying to sync iCloud to linux, the workaround I've set up is to use a Windows box to sync iCloud and then syncing the same folder to Nextcloud. Crappy way round, but it's the best idea I've got right now. Mac to Nextcloud ought to work as well.


Added Force scan to NZBGet

With this button you can force scan the incoming nzb directory
I hope that I implemented it correctly.
For me it works.

You mean the nzb_get_speed? I see, I make a mistake there, forgot to remove this, I copied it from an other block... sry, my first time

Merged, Thanks!


Update helm chart to v0.8.3

And ensure helm automation works as expected.

Coverage remained the same at 85.906% when pulling 4bbac1054f947fefd1c1b14bbef3f03427819cac on helm-chart-v0.8.3 into 1f1202593a33d211a93a8c5939ddedda9deb9654 on master.


Is it possible to attach permissions directly to users?

All my models fall in specific categories. I want to give users permission to view a category.
It would be nice to attach that permission directly to the user - I don't want to create roles for every category.. Is this possible?

I think I did a similar thing with my forum software. You would have to have a few BelongsToMany relationships, your pivot tables, all that, and then you would use the query builder joins to get all of the relevant results, then do whatever you need to do from there.


Add support for closures

Is your feature request related to a problem? Please describe.
Closures are implicitly encouraged as a design pattern. The syntax was designed for it. The functions are already curried.
Describe the solution you'd like
Please add explicit support for actually using closures in code.
Describe alternatives you've considered
You can get pretty far without closures, as evidenced by the popularity of so many languages that don't support them. Development will continue on this "functions like in C" idea to see how far we can get in a functional style without explicit support for closures. This strategy should yield results sooner with a better lasting result in terms of performance and versatility.

LM has closures, easy.


[question] using scrapy-crawlera and scrapy imagesPipeline

Hi,
Thank you for the awesome plugin.
I m using scrapy-crawlera the way described in the documentation.
I m also using the imagesPipeline described here doc.scrapy.org/...
Do the calls from the imagesPipeline go through Crawlera ?

Hello @hugocar , sorry for the late reply.
ImagesPipeline eventually calls self.crawler.engine.download with the generated requests for images URLs. So yes, the requests go through downloader middlewares, such as CrawleraMiddleware.
Are you seeing something different?

Hi @redapple
Thank you for the answer.

Are you seeing something different?

I launched my crawler and it worked just as you predicted, thanks

Perfect! Thanks for using Scrapy and Crawlera.


Determine value of type checker

And if valuable propose draft.
We presently treat all types the same, it assumes correct and then fails a type conversion or throws a not found in dictionary expection.

The real value here would be if we can determine all types from just var declares. But that value really only exists if we used that to generate closer to machine code.

We've moved type gen to compile time, which removed a lot of the type construction responsibility out of the vm


Support for 10x10 boxes

Hi Chris and Leila - forst off thank you for awesome module our lab teams are quite excited about it and currently testing it in my development enviroment.
The reason for my post - Is it possible to support 10x10 boxes? We only carry 10x10 and have approx 400 boxes. The labs won't be able to use 9x9 box size and this would railroad us from introducing ORCA Specimen tracking into production.

Hi @t3chbg!
I will talk with Leila about getting this added.  I don't think it would be much effort.  Additionally, and I should've updated this repo to note the change, but the new GitHub repository for the version of the module that's officially in the REDCap Repo is here.
https://github.com/dr01d3r/redcap-em-orca-specimen-tracking


Creating Custom Ignore attribute only for Update methods?

I would like to be able to create a custom attribute, such as [IngoreUpdate], which work much like [Ignore], but only when updating a model. Is this possible?
Best regards,
Evaldas

sure, i think you need to inherite Database class, then override OnUpdating method to deal with your custom attribute.
Going one step further, you can create a memory cache to save your ignore attributes data of different entities after update first time in OnUpdating method.
But, I am more inclined this feature is not npoco should be concerned, because maybe someone else need other attribute like IgnoreInsert :p


Computing resource consumption

Hello author, I am very interested in your article, I see that your article did not report computing resource requirements and running time, I would like to ask you about the relevant information

Thank you for your interest in our article. I'm sorry I didn't notice your email until now. In our experiment, when the backbone was BART-large, we were able to train around 5,000 samples per hour on four V100s.
----- 原始邮件 -----
发件人: "forkliu0826" @.>
收件人: "xjw-nlp/SimMCS" @.>
抄送: "Subscribed" @.***>
发送时间: 星期日, 2023年 11 月 12日 下午 8:44:04
主题: [xjw-nlp/SimMCS] Computing resource consumption (Issue #2)
Hello author, I am very interested in your article, I see that your article did not report computing resource requirements and running time, I would like to ask you about the relevant information
--
Reply to this email directly or view it on GitHub:
https://github.com/xjw-nlp/SimMCS/issues/2
You are receiving this because you are subscribed to this thread.
Message ID: @.***>

I'm sorry I misunderstood some information. In this work, we used four 3090 GPUs and a training epoch took about 16 hours on the CNNDM dataset and about 10 hours on the XSum dataset.

Hello author, I see that your epoch default value is 100, does it take that long to train？

In fact, it’s not necessary to train so many rounds, we only need to train a few rounds (< 10).

Sorry author, I have one more question, I would like to know what instruction is running as a result of the test in your experiment, do_reranking or do_generation or something else.

do_ranking is for the experiment used for selecting candidate summaries, while we employ do_generation to evaluate our approach. The author is currently occupied with other tasks. Subsequently, there will be further code organization and updates to the README.md will be provided.


Implemented hash comparison for SCD Type 2 updates

Description
In its current state, the SCD plugin creates new entries for all rows present in the table with a new timestamp. In cases where the timestamp is auto-generated, fields will be treated as new even if their values have not changed.
In this PR, I implement row comparison when incrementing. Each row is hashed using the user's hash algorithm of choice, and the incremental table is incremented with only those rows where the new hash does not match the hash of the currently valid entry for the same unique ID.
I am using it in my code, and figured it could be useful to others that are looking to use SCD Type 2 with a hash comparison.
Changes in the code

definitions/example.js: added the hash field to the variable definition and columns list
definitions/source_data.sqlx: updated the example query to generate data with a hash of the md5 algorithm
index.js: modified the incremental table build to filter for rows where the hash does not match the hash in the current table for the same unique key

Potential Improvements
Backwards compatibility: it would be good to allow the user to choose whether they want to use a hash or not, and for both the legacy method and the hash method to work with the same code.
I do not normally work with javascript so I'm sure there are possible improvements in the logic as well.

@lewish I've addressed all the comments, let me know if there's anything else!


Microsoft Build: Modern Meetings Demo

Hi Team,
I saw the Video on YouTube https://www.youtube.com/watch?v=ddb3ZgAp9TA
and I want to build an application for my meetings so please guide me

This might be a better question for stackoverflow.


Support for extra_body parameter for embeddings API

Describe the change
This change adds support for an ExtraBody parameter in the EmbeddingRequest struct, allowing developers to include additional, arbitrary key-value pairs in the API request payload. This ensures extensibility and flexibility when working with the OpenAI Embeddings API, especially for experimental features, future API updates, or custom parameters that are not explicitly defined in the current request structure. The addition of ExtraBody is particularly valuable for supporting LLM engines like Nvidia NIM, which may require additional fields beyond the standard parameters. Refrence
Provide OpenAI documentation link
OpenAI's official python client also supports this extra_body field so this go client could also support it. Refrence
Describe your solution
The solution involves:
Introducing the ExtraBody field in the EmbeddingRequest struct. This is a map of string keys to arbitrary values (map[string]any) that allows developers to pass additional fields to the API dynamically.
Updating the CreateEmbeddings method to merge the ExtraBody values into the main request payload (body) before sending it to the API. This is done through the withExtraBody request option, which ensures the fields in ExtraBody are included without overwriting existing mandatory parameters.
Tests
Added unit tests and done sanity check of embeddings api with extra_body param for Nvidia NIM embedding model

@sashabaranov Can you please look into this?


SSH in Neotree fails to locate files  without extensions

When you try to open a file that has no extension, ssh fails to locate it, prompting you to create it instead. I am unsure if Docker does the same.

Fixed with PR #91


Design the replacement to HistoryFunction.kt (blocker for 4018)

Hey team! Please add your planning poker estimate with ZenHub @carlosfelix2 @jh765 @jimduff-usds @oslynn @smythe5 @whytheplatypus


Uml 882 viewer session expired page

Purpose
Takes the viewer to a new session expired page after 30 minutes of inactivity
Fixes UML-882
Approach
Created a new session expiry handler in the viewer side, with the same path as the actor side (/session-expired). Therefore the uri is created for the users environment (viewer/actor), passing the request onto the related session expiry handler and displaying the page
Checklist

[ ] I have performed a self-review of my own code
[ ] I have added relevant logging with appropriate levels to my code
[ ] I have updated documentation (Confluence/GitHub wiki/tech debt doc) where relevant
[ ] I have added tests to prove my work
[ ] The product team have tested these changes

Coverage decreased (-0.05%) to 81.479% when pulling 0b1896d7029e8d807c5ff684f27de29c86548e8a on UML-882-Viewer-session-expired-page into 56484046bc01efdd558ad30f4d6f7835044073df on master.


NAudio Project Will not Load on Visual Studio 2019

When opening the NAudio project on Visual Studion 2019 I got the following message:
  "required windows sdk version 10.0.17763 is not installed"

I am using Visual Studio 2019 Community version.

You need to install the windows SDK to be able to load the UWP sample app and build for the UAP target. I think the VS2019 community version should let you install that. It's just an optional component


[Suggestion] Allow user to select line ending(CR LF or LF) in CustomTextBox

What's the Problem?
No response
Solution/Idea
Allow user to select line ending(CR LF or LF) in CustomTextBox
Alternatives
Allow user to select line ending(CR LF or LF) in CustomTextBox
Priorities

Capability
Priority

This proposal will allow developers to accomplish W
Must

This proposal will allow end users to accomplish X
Should

This proposal will allow developers to accomplish Y
Could

This proposal will allow end users to accomplish Z
Won't

DevToys Version
No response
Comments
No response

this might help:

can maybe propagate the setting across all monaco boxes. default to user OS, but changeable in settings?


Handle interaction between seasons and time binning

Is your feature request related to a problem? Please describe.
Some cominbations of seasons and time binning either don't make sense or are potentially problematic e.g. month time binning and JJA season.
Describe the solution you'd like
Restrict season subsetting to be only for years and periods. Not for months.
Solve together with #36

Moved to v0.6, due to the close relationship with #36


Allow adding custom attributes to iframe

This would be useful for situations when there is used dynamic reload tooling like Turbolinks used as it would prevent needless updates of iframe.

Sure, PR is welcome! I think we already have an app env for config. But it may be able to go to the plug too.

#102 was the base for that. I created that issue for me, but I cannot assign myself to it.

Confirming this would be useful to be able to add a nonce to the iframe to satisfy a content security policy.

Are you sure a nonce is necessary? The iFrame is hosted in the same app and the contents of the iFrame are applied to the policy returned by the iFrame. If your CSP plugs comes after the live reload one, you should be good.


[Driver] Always fall back to an arclite in the Xcode default toolchain

...instead of the current toolchain, which we would have just searched by looking relative to the swiftc binary.
No test because you need to install a second toolchain into Xcode and put it in the TOOLCHAINS variable for this to go wrong in the first place.
SR-9972 / rdar://problem/48044350

@swift-ci Please test

If we need this for #22273 (I think you said we do, @jrose-apple), I guess this is needed on 5.0-branch too?

Yep. Do you want to cherry-pick it onto the existing PR (cc @hyp), or should I make a separate PR for it?

I don't mind either way. If it's quickest maybe do a separate PR?

I've opened https://github.com/apple/swift/pull/23027


ViewPort isn't updated

After changing the ViewPort property of the Map component, the value is defined only for first try but, in the future define is not work.

This problem was resolved in the 1.4.0 version which was just published.


blue color confusion on selector

What's wrong

blue in south is when frost happens in the region
blue in northeast is frost seeding possible

What done looks like

maybe add a new color, will discuss later

for NECCC -> colors and legend text are good
for MCCC -> colors are good but legend needs to change to the following

yellow -> Freeze/Moisture Risk to Establishment

remove blue

for SCCC -> colors and legend need to be updated

change Average Frost to blue in calendar view

change blue to Average Frost in legend

remove Temperature Risk To Establishment from legend

there will never be more than 3 possible overlapping bars but i think the best thing to do is just add a new color for Multiple in the calendar view and in the legend and then have the tooltip list which categories are overlapped


Add ability to do group-expanded to log-order for better CI readability in Github Actions

Which project is this feature idea for?
Turborepo
Describe the feature you'd like to request
see title
Describe the solution you'd like
see title
Describe alternatives you've considered
choosing chaos with --log-order=stream
TURBO-1857

Could you provide more details? How is this different from --log-order=grouped?

@anthonyshew log order grouped collapses all groups, makes it impossible to find which groups have failures in them.
An alternative here is to make --log-order=grouped expand any groups that have failures in them

@runspired groups with failures are listed at the end of the run, but agreed - runs with failures should be expanded by default!

I guess in terms of feasibility:
https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#grouping-log-lines unclear if the expandability state is actually controllable?
I wonder if an alternative would be to pin failures to the bottom or something? Or restate them in a summary like Jest does? I know y'all have the --summary but obviously that's not super human readable.

Since we're buffering the output until the task is done, we can just omit the group start/end markers for NZE tasks


Update ingress docs

Keep reminding users about controller specific caveats/docs.

Noting in bug #784 that this needs further review; need to merge for 1.3 docs to be live.


SAMZA-2654: Allow coordinator url port to be configurable

Issues: Currently, the port for the job coordinator url (for accessing job model) is always dynamically allocated. In some cases, it is helpful to be able to hardcode a port.
Changes: When JobModelManager is setting up the HttpServer which serves the coordinator url, read a config to set the port.
Tests:

./bin/integration-tests.sh /tmp/samza-tests yarn-integration-tests --nopassword
Ran a job with ProcessJobFactory and verified the job started up.

API changes:
Set the config cluster-manager.jobcoordinator.url.port to the port number to use for the coordinator url. This is backwards compatible because the default is to use a value of 0 (to dynamically allocate an unused port), and a value of 0 was the value used before this change was made.
If the specified port is unavailable, then an exception will be thrown at startup. Therefore, this configuration should only be used when a specific port is needed and it is known that the port is not already in use. In many cases, using dynamic port allocations (i.e. not setting cluster-manager.jobcoordinator.url.port) will be the best way to go, since it will prevent failures due to port conflicts.
More context about how this can be used:
When using Kubernetes, we can create a "Service" which provides a consistent coordinator url, even when the job coordinator switches pods. The port is one piece of information needed to create this "Service". If we want to use a Kubernetes controller to create the "Service" (per the Kubernetes operator pattern), then we don't need to retrieve the port from the job coordinator in order to create the "Service".
When using Kubernetes, ports only need to be unique within a pod (as opposed to a host). This is due to the Kubernetes networking model. Therefore, port conflict issues are less likely when hardcoding ports. Being able to hardcode a port makes it easier to build the coordinator url since Kubernetes can also set up a "service name" for the coordinator instead of using the physical host name.

What happens if the port requested is not available on the host? I'd assume the server creation fails which forces us to use any available port on the machine or bail out rendering this configuration a best-effort.

This is a "best-effort" configuration. The startup will fail if the port is already in use. The port uniqueness should be ensured before configuring the port. Many use cases will want to continue to use dynamic port allocation to prevent port conflicts.
I updated the PR description to include more details about the port conflicts and usage in Kubernetes.

More context about how this can be used:
When using Kubernetes, we can create a "Service" which provides a consistent coordinator url, even when the job coordinator switches pods. The port is one piece of information needed to create this "Service". If we want to use a Kubernetes controller to create the "Service" (per the Kubernetes operator pattern), then we don't need to retrieve the port from the job coordinator in order to create the "Service".

This may not bring a lot of benefit, especially for portable beam jobs, as there are multiple port numbers need to be communicated between JC Pod and Worker Pod and preconfigure all of them may not be practical.

More context about how this can be used:
When using Kubernetes, we can create a "Service" which provides a consistent coordinator url, even when the job coordinator switches pods. The port is one piece of information needed to create this "Service". If we want to use a Kubernetes controller to create the "Service" (per the Kubernetes operator pattern), then we don't need to retrieve the port from the job coordinator in order to create the "Service".

This may not bring a lot of benefit, especially for portable beam jobs, as there are multiple port numbers need to be communicated between JC Pod and Worker Pod and preconfigure all of them may not be practical.
Is this just for ease of creating "Service" or w/o predefined port number, we cannot create "Service" at all?

It might be hard to statically specify many ports, but this does give a bit more flexibility in some cases. If we only have the option to dynamically allocate ports, then there is an ordering dependency for resource management between the job coordinator and the worker containers, because the worker containers need to know the port that the job coordinator is using. This configuration does need to be used with care, because it does introduce another failure case (i.e. port conflict) if it is not used properly.
If we dynamically allocate the port, then the job coordinator needs to expose the port first before the "Service" can be created. This creates more of an ordering dependency. The job coordinator would need to trigger the creation of the "Service" or the job coordinator needs to pass the port to somewhere (e.g. coordinator stream, config map) before something else can create the "Service".


Show mount points in debug log

(attempt no. 2 due to github weirdness)
Changes
In dev mode, adds debug info regarding what directories on disk are available at what URLs.
Run dev server with debug enabled:
yarn start --verbose

See more info ("Using in-memory cache for mount points:"):

Testing
Tested locally. No tests written, it just adds debug info.
Docs
We could add this to docs? I don't think it's necessary. But it is educational...

looks like formatting got all messed up in this branch, you can run yarn format in the monorepo to fix

Good catch.


About data

Hello QizhiPei,
I want to run your model as a baseline model but facing several problems when trying to generate data.

The Pfam link you provided in the readme file is unavailable and
You have mentioned that BindingDB data is supposed to be downloaded in tsv format, but the link you provided only contains sdf file in version 2018.
Thus, I wonder whether could you share the data used in your experiments for reproduction?

Thank you for your time!

Thank you for your interest in our work.
For the Pfam ftp file link in the README, it is always changing and I have updated it to the newest version. The protein fasta of Pfam and compound SMILES of PubChem are mainly used for anxiliary MLM task. So you can randomly sample 10M data(or more for probably better result) to reproduce our experiments.
For the BindingDB v2018, we used the same data as DeepAffinity for fair comparison. But the link provided in its resporistry is a sdf file, not a tsv file. So we directly use the IC50.tar.xz, Ki.tar.xz data processed by DeepAffinity in our experiments.
Thanks

Hello, solanoon
We have uploaded the data and trained SMT-DTA model. Please refer to our newest README and repository for more information. You can use them to reproduce our experiments or directly run evaluation.
Thanks
Qizhi


dubbo protocol can support TLS？

What's TLS? Can you explain it ?

The latest version of SSL.
It required that dubbo support HTTPS protocol.

Yes. The latest version of SSL. Transport Layer Security
But it does not mean HTTPS. Dubbo's default protocol 'dubbo' should support 'over TLS/SSL'.

@the3rd     how to use

I'm recently working on supporting SSL/TLS for Dubbo on Netty4 transporter,in fact,it's pretty easy to achieve cause netty4 has a good support on ssl/tls. If someone's interested in it,you could check my repo(I think my code quality is not good enough to merge into the official branch).
我最近在做一个关于加强dubbo安全性的毕业设计，主要工作是为dubbo增加ssl/tls支持，目前我实现了为dubbo的netty4传输层增加ssl/tls支持。事实上，这个实现还是挺简单的，因为netty4对ssl/tls的支持很棒（我还参考了gRpc相关的实现）。如果有人有兴趣可以来看看我的repo，我将会在近期持续的做tls支持相关的内容（比如在dubbo-admin中增加签发证书、生成CA证书的功能）。PS：我觉得我的代码质量实在比不上dubbo的源码质量，都不好意思提PR，所以还待有相关需求的大佬来做吧

Dear experts
We are also interested in this feature of Dubbo.
Is there any update regarding this aspect?
Best
TotalForgot


build for arm64?

Is your feature request related to a problem? Please describe.
How can I build this for arm64? would like to use on my raspberry pi now that vscode is arm64-compatible.
Describe the solution or feature you'd like
To build the repo from source, yarn install isn't working for me, saying "no install file".
Describe alternatives you've considered
Making a dockerfile, but docker is broken for me on raspberry pi
Additional context
Azure edge is great, made a SQL server IOT hub, can use VSCode now, so ADX would be a great addition to this ecosystem.

We don't currently support building for arm64 - see the enhancement request here : https://github.com/microsoft/azuredatastudio/issues/1774


Exclude SwiftTest from CLi tests

Signed-off-by: Hoang Anh Le<EMAIL_ADDRESS>PG 168 is green

@ChrBi @lehoanganh can you explain the rationale for this change?

This test failed in the past a few times. On looking into it, we realized that the action was killed after one minute in the invoker. That's why we increased the timeout-limit of the action in this test.

Do we have any reason to believe 2 minutes is better than 1?
It seems more likely that the action is hanging rather than just slow, right?

@paulcastro  Paul and I think that increasing from 1 to 2 minute will not make a difference.
Has it been observed to take close to 1 minute and work?

The problem we had here was that the action took longer than one minute in usercontainer. So it haas been stopped by the invoker.
If the action was only blocked or crached, how can we find out, why it was blocked and what's the reason for this?
Here is a failed test from CI build 280
system.basic.CLISwiftTests > Swift Actions should invoke a swift action FAILED
    org.scalatest.exceptions.TestFailedException: Test duration exceeds expectation (ms) 31922 was not less than or equal to 30000

In this example the action took longer than 30 seconds, but it didn't stuck. Isn't it possible that it could take more than a minute?
But if we all still say, that two minutes don't help, I will revert the changes and only rename the class, as discussed with @jeremiaswerner

Is it sufficient to rename the suite but not move it to another package in this case?

You are right, it is more a CLI test. I moved it.
New PG1#261 is running

Merged as https://github.com/openwhisk/openwhisk/commit/112c42dbb9889bcb2474e286ade7ecf6e5f4109c.


cannot build

When running npm build nothing happens
What is the problem here?

@mohsenSy - could you give more details? When you say 'nothing happens', do you mean that NPM is hanging after you execute npm build?
I'm building just fine now.

@rsteier if I run npm build it just returns immediately and no output is printed and no dist folder is created.
I just now figured out that I need to run npm run build not npm build to start building, maybe it is a good idea to add this command to the readme file


Future request: Music-Assistant card

It will be great option to have card for favorites radio stations from Music-Assistant or Artists from local folder.
Regards.

I move this request to the discussions, thanks for filing.


The DockerHub has the wrong project description

Is there an existing issue for this?

[X] I have searched the existing issues
[X] And it has nothing to do with Traefik

Describe the bug
As you can see here

The issue is that the project tinifier is publishing the page to the wrong docker repository.
See https://github.com/tarampampam/tinifier/pull/109
You should force am update from this repo after the fix
Steps to reproduce
No response
Configuration files
No response
Relevant log output
No response
Anything else?
No response

Done, thanks! 👍


Add YandexDirectDyn

Add YandexDirectDyn and return type fix for getMatches

:heart:

Do you have a full user-agent that you could add to https://github.com/JayBizzle/Crawler-Detect/blob/master/tests/crawlers.txt


drivers: sensor: Vishay VEML7700 ambient light sensor

Hello!
This pull request contains a driver for the Vishay VEML7700 ambient light sensor.
Hope you are interested.
Kind regards,
Andreas

Added support for Vishay VEML7700 ambient light sensor
See https://www.vishay.com/doc?84286
Signed-off-by: Andreas Kilian<EMAIL_ADDRESS>

@MaureenHelm @avisconti @gmarull could you take a look please?

Thanks for your review. I updated the code and rebased it.

Compliance and scancode issues have been fixed. Rebased to the latest main as well.

This needs another rebase

Rebase done

Requested changes have been resolved.


Show review page from the top by default

Seems like the view of the Corner Submission Review page starts in the middle of the scrollable page when a lot of content is added, such as description verbiage, images, and extra pages. Have the review page start at the top (scrolled all the way up) by default, so the user can scroll down themselves to see all the content.

I think it starts where you left it. I think I can reset that on transitions.

For shites and giggles I started a submission from scratch and it went to the center-ish of the scroll on transition. No matter, sounds like you're on it. 🙏

Right, were you scrolled down about that far on the images page when you clicked next?

Right, were you scrolled down about that far on the images page when you clicked next?

Ah, I'm following you now...the location of the previous page, duh. I'll check it out again shortly.

This was an issue with all the pages including the home page and identify. It should be corrected now.

looks good!


Start a list of (G)UI options.

Thanks for the PR. Would you like me to add you as a member of the project?
This project is actually badly named. It is intended to provide backend services for existing IDEs, rather than to be an IDE is its own right.
As such, I think the intent of this list may be misplaced.

Sure. That would be great. :) Feel free to decline the PR.

Added as project member, declining PR


Fix the layer avoid errors when build against Styhead Yocto release

This includes:
highway: Fix the upstream status in pr_1589.patch
conf/layer: Add compatible Styhead Yocto release

thanks @hellhound94. I've incorporated this commits into  https://github.com/Igalia/meta-webkit/pull/516 that it will include some extra things like the CI tasks for test and build the layer with styhead.
Close this issue in favour of https://github.com/Igalia/meta-webkit/pull/516.


m2gl025_miv: workaround for issue #17851

This is the workaround suggested by Andy Ross to fix #17851.

Getting a failed assertion still in one test
[1/1] cd /home/buildslave/src/github.com/zephyrproject-rtos/zephyr/out-3nd-pass/m2gl025_miv/tests/cmsis_rtos_v2/portability.cmsis_rtos_v2 && /usr/bin/renode --disable-xwt --pid-file renode.pid -e<EMAIL_ADDRESS>include @/home/buildslave/src/github.com/zephyrproject-rtos/zephyr/boards/riscv32/m2gl025_miv/support/m2gl025_miv.resc; s'
03:05:33.4192 [INFO] Including script: /home/buildslave/src/github.com/zephyrproject-rtos/zephyr/boards/riscv32/m2gl025_miv/support/m2gl025_miv.resc
03:05:33.4380 [INFO] System bus created.
03:05:34.3924 [DEBUG] Segment size automatically calculated to value 64KiB
03:05:34.3934 [DEBUG] Segment size automatically calculated to value 64KiB
03:05:34.3935 [DEBUG] Segment size automatically calculated to value 64KiB
03:05:34.3935 [DEBUG] Segment size automatically calculated to value 4MiB
03:05:34.6103 [WARNING] Writing to an output GPIO pin #0
03:05:34.6105 [WARNING] Writing to an output GPIO pin #1
03:05:34.6105 [WARNING] Writing to an output GPIO pin #2
03:05:35.0941 [DEBUG] sysbus: Loading ELF /home/buildslave/src/github.com/zephyrproject-rtos/zephyr/out-3nd-pass/m2gl025_miv/tests/cmsis_rtos_v2/portability.cmsis_rtos_v2/zephyr/zephyr.elf.
03:05:35.1045 [INFO] sysbus: Loading segment of 81000 bytes length at 0x80000000.
03:05:35.1175 [DEBUG] sysbus: Segment loaded.
03:05:35.1177 [INFO] sysbus: Loading segment of 1320 bytes length at 0x80013C68.
03:05:35.1179 [DEBUG] sysbus: Segment loaded.
03:05:35.1181 [INFO] sysbus: Loading segment of 25652 bytes length at 0x80040528.
03:05:35.1185 [DEBUG] sysbus: Segment loaded.
03:05:35.2035 [INFO] cpu: Setting PC value to 0x80000000.
03:05:35.2807 [INFO] Mi-V: Machine started.
03:05:35.3666 [WARNING] plic: Unhandled write to offset 0x200000, value 0x0.
03:05:35.3786 [WARNING] uart: Unhandled write to offset 0xC. Unhandled bits: [0] when writing value 0x1. Tags: BIT8 (0x1).
03:05:35.4040 [DEBUG] uart: [+0.72s host +0.2ms virt 0.2ms virt from start] ***** Booting Zephyr OS build zephyr-v1.14.0-2776-geb53f7ee9fa3 *****
03:05:35.4067 [DEBUG] uart: [+2.68ms host +0.1ms virt 0.3ms virt from start]   Running test suite test_cmsis_v2_apis
03:05:35.4077 [DEBUG] uart: [+1ms host +0s virt 0.3ms virt from start]   ===================================================================
03:05:35.4082 [DEBUG] uart: [+0.6ms host +0s virt 0.3ms virt from start]   starting test - test_kernel_apis
03:05:35.4180 [DEBUG] uart: [+9.77ms host +0.1ms virt 0.4ms virt from start]   PASS - test_kernel_apis
03:05:35.4189 [DEBUG] uart: [+0.95ms host +0s virt 0.4ms virt from start]   ===================================================================
03:05:35.4199 [DEBUG] uart: [+0.98ms host +0.1ms virt 0.5ms virt from start]   starting test - test_delay
03:05:35.4299 [DEBUG] uart: [+9.96ms host +0.5ms virt 1ms virt from start]   PASS - test_delay
03:05:35.4331 [DEBUG] uart: [+1.56ms host +0.1ms virt 1.1ms virt from start]   ===================================================================
03:05:35.4338 [DEBUG] uart: [+2.42ms host +0s virt 1.1ms virt from start]   starting test - test_thread_apis
03:05:35.4490 [DEBUG] uart: [+15.13ms host +1.1ms virt 2.2ms virt from start]   PASS - test_thread_apis
03:05:35.4498 [DEBUG] uart: [+0.92ms host +0s virt 2.2ms virt from start]   ===================================================================
03:05:35.4508 [DEBUG] uart: [+0.97ms host +0.1ms virt 2.3ms virt from start]   starting test - test_thread_apis_dynamic
03:05:35.4579 [DEBUG] uart: [+6.98ms host +1.1ms virt 3.4ms virt from start]   PASS - test_thread_apis_dynamic
03:05:35.4592 [DEBUG] uart: [+1.41ms host +0.1ms virt 3.5ms virt from start]   ===================================================================
03:05:35.4597 [DEBUG] uart: [+0.53ms host +0s virt 3.5ms virt from start]   starting test - test_thread_prio
03:05:35.4656 [DEBUG] uart: [+5.78ms host +0.2ms virt 3.7ms virt from start]   PASS - test_thread_prio
03:05:35.4664 [DEBUG] uart: [+0.89ms host +0s virt 3.7ms virt from start]   ===================================================================
03:05:35.4675 [DEBUG] uart: [+1.06ms host +0.1ms virt 3.8ms virt from start]   starting test - test_thread_prio_dynamic
03:05:35.4701 [DEBUG] uart: [+2.58ms host +0.2ms virt 4ms virt from start]   PASS - test_thread_prio_dynamic
03:05:35.4735 [DEBUG] uart: [+3.35ms host +0s virt 4ms virt from start]   ===================================================================
03:05:35.4744 [DEBUG] uart: [+0.99ms host +0.1ms virt 4.1ms virt from start]   starting test - test_timer
03:05:35.4811 [DEBUG] uart: [+6.58ms host +1ms virt 5.1ms virt from start]   oneshot_callback (Timer 1) = 1
03:05:35.4944 [DEBUG] uart: [+13.41ms host +2.2ms virt 7.3ms virt from start]   periodic_callback (Timer 2) = 1
03:05:35.4968 [DEBUG] uart: [+2.39ms host +0.4ms virt 7.7ms virt from start]   periodic_callback (Timer 2) = 2
03:05:35.4994 [DEBUG] uart: [+2.57ms host +0.5ms virt 8.2ms virt from start]   periodic_callback (Timer 2) = 3
03:05:35.5042 [DEBUG] uart: [+4.85ms host +0.5ms virt 8.7ms virt from start]   periodic_callback (Timer 2) = 4
03:05:35.5070 [DEBUG] uart: [+2.78ms host +0.5ms virt 9.2ms virt from start]   periodic_callback (Timer 2) = 5
03:05:35.5094 [DEBUG] uart: [+2.42ms host +0.5ms virt 9.7ms virt from start]   periodic_callback (Timer 2) = 6
03:05:35.5133 [DEBUG] uart: [+3.86ms host +0.1ms virt 9.8ms virt from start]   PASS - test_timer
03:05:35.5146 [DEBUG] uart: [+1.26ms host +0.1ms virt 9.9ms virt from start]   ===================================================================
03:05:35.5149 [DEBUG] uart: [+0.4ms host +0s virt 9.9ms virt from start]   starting test - test_mutex
03:05:35.5252 [DEBUG] uart: [+10.16ms host +1.1ms virt 11ms virt from start]   PASS - test_mutex
03:05:35.5266 [DEBUG] uart: [+1.51ms host +0.1ms virt 11.1ms virt from start]   ===================================================================
03:05:35.5272 [DEBUG] uart: [+0.62ms host +0s virt 11.1ms virt from start]   starting test - test_mutex_lock_timeout
03:05:35.5354 [DEBUG] uart: [+8.17ms host +0.3ms virt 11.4ms virt from start]   PASS - test_mutex_lock_timeout
03:05:35.5368 [DEBUG] uart: [+1.32ms host +0.1ms virt 11.5ms virt from start]   ===================================================================
03:05:35.5372 [DEBUG] uart: [+0.48ms host +0s virt 11.5ms virt from start]   starting test - test_semaphore
03:05:35.5401 [DEBUG] uart: [+2.87ms host +0.1ms virt 11.6ms virt from start]   ASSERTION FAIL [thread->base.pended_on] @ ZEPHYR_BASE/kernel/sched.c:390
03:05:35.5406 [DEBUG] uart: [+0.52ms host +0s virt 11.6ms virt from start]   @ ZEPHYR_BASE/lib/os/assert.c:39:
03:05:35.5438 [DEBUG] uart: [+3.21ms host +0.1ms virt 11.7ms virt from start]   FATAL: >>> ZEPHYR FATAL ERROR 4: Kernel panic
03:05:35.5450 [DEBUG] uart: [+1.22ms host +0s virt 11.7ms virt from start]   FATAL: Current thread: 0x80040c9c (Mutex_check)
03:05:35.5453 [DEBUG] uart: [+0.38ms host +0s virt 11.7ms virt from start]   FATAL: Halting system
03:05:35.5471 [DEBUG] uart: [+1.67ms host +0.1ms virt 11.8ms virt from start]   ASSERTION FAIL [z_spin_lock_valid(l)] @ ../../../../../include/spinlock.h:78
03:05:35.5474 [DEBUG] uart: [+0.35ms host +0s virt 11.8ms virt from start]   Recursive spinlock
03:05:35.5480 [DEBUG] uart: [+0.58ms host +0s virt 11.8ms virt from start]   @ ZEPHYR_BASE/lib/os/assert.c:39:
03:05:35.5486 [DEBUG] uart: [+0.63ms host +0s virt 11.8ms virt from start]   FATAL: >>> ZEPHYR FATAL ERROR 4: Kernel panic
03:05:35.5522 [DEBUG] uart: [+3.54ms host +0.1ms virt 11.9ms virt from start]   FATAL: Current thread: 0x80040c9c (Mutex_check)
03:05:35.5526 [DEBUG] uart: [+0.37ms host +0s virt 11.9ms virt from start]   FATAL: Halting system

On Wed, 31 Jul 2019, Andrew Boie wrote:

Getting a failed assertion still in one test

All fixed now.


Led strip - sample for APA102 based strips

Add samples/drivers/led_strips (renamed from samples/drivers/led_ws2812) and added APA102 sample.
Just for the recap, WS2812 and APA102 are addressable LEDs, not using the same protocol, but since the drivers/led_stip provide a common interface, they can share a common sample.
Tested on nucleo_432kc with Adafruit DotStar strip.

@mbolivar,
Thank you for your review!
I agree with you, there are some defines in that code, and it's board/led type specific. The board specific code is already in and I add some led specific one.
I think the driver documented here is the led_strip one, not the ws2812 or apa102. In the future the board and led specific code should be replaced by device tree configuration, and the final user will not even need to know which technology is behind the led strip.
In the mean time, I can provide a patch for led_strip based on apa102 (I don't want to modify/remove samples/drivers/led_apa102c/ does bit banging on a apa102 strip).

I think the driver documented here is the led_strip one, not the ws2812 or apa102. In the future the board and led specific code should be replaced by device tree configuration, and the final user will not even need to know which technology is behind the led strip.

Ah, nice, I missed that was part of the updates that have been going on in this area. If you want to unify all the samples into one rather than having separate ones for each I'd be interested to see what that would look like. As long as the resulting code is nice and generic and it's really just DT overlay differences that'd be pretty neat. If there's going to be a bunch of ifdef this-strip else that-strip I'd say separate samples is still better.

In the mean time, I can provide a patch for led_strip based on apa102 (I don't want to modify/remove samples/drivers/led_apa102c/ does bit banging on a apa102 strip).

Feel  free to move that to led_apa102_bitbang or so. The real driver is better.

@mbolivar Feel free to reject this pull request, I'll redo a apa102 specific one.

No need to redo it! You can just force push an update with the new driver. That would be better actually. It will keep the history of this discussion. See step 15 in the contribution workflow:
https://docs.zephyrproject.org/latest/contribute/index.html#contribution-workflow

@mbolivar, I was wrong about the driver, led_strips currently share a common API, not a driver, so here is a separate sample for APA102 led strip.

Sure, looks suspicious and an exact copy of the file in ws2812! I'll fix it!
On February 1, 2019 7:01:12 PM GMT+01:00, Marti Bolivar<EMAIL_ADDRESS>wrote:

mbolivar requested changes on this pull request.
Thanks for the update! This looks 99.99% ready -- there's just one
little typo to fix, and then I am +1 to merge this.  Thanks!

@@ -0,0 +1,14 @@
+cmake_minimum_required(VERSION 3.13.1)
+macro(set_conf_file)

if(EXISTS
${APPLICATION_SOURCE_DIR}/boards/${BOARD}.conf)
set(CONF_FILE "prj.conf
${APPLICATION_SOURCE_DIR}/boards/${BOARD}.conf")
else()
set(CONF_FILE "prj.conf")
endif()
+endmacro()

+include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
+project(led_ws2812)
Looks like some copy/paste leftovers here.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/zephyrproject-rtos/zephyr/pull/12929#pullrequestreview-199194662

@dbkinder, now this PR simply add a sample, so the documentation has been rewritten (so your change request is not anymore against the current documentation).
@mbolivar, no more references to the ws2812, thanks for the review

Looks good to me!


ValidationDAODecorator and DAODecorator

DAODecorator.remove
this.decorator.remove(x, self.dao, self.obj) should be
this.decorator.remove(x, self.dao, obj)

ValidationDAODecorator is missing remove() and find()
DAODecorator expects a implementation of DAODecorator to implement these methods, obviously.
Are there facilities to check this or it's simply the implementer's responsibility?
So either DAODecorator can check that a method exists before calling or we add the required methods to ValidationDAODecorator.

Joel Hughes<EMAIL_ADDRESS>writes:

1 DAODecorator.remove
this.decorator.remove(x, self.dao, self.obj) should be
this.decorator.remove(x, self.dao, obj)
2 ValidationDAODecorator is missing remove() and find()

ValidationDAODecorator should be changed to extend AbstractDAODecorator
which provides sensible default implementations for all DAODecorator
methods.

Thanks Adam, I'll create a pull request with the fixes.


fixed empty rows error in to_pandas

What do these changes do?
changes to_pandas to ignore empty rows
Related issue number
#273

[x] passes git diff upstream/master -u -- "*.py" | flake8 --diff
[x] passes black --check modin/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Modin-Performance-PRB/57/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Modin-PRB/119/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Modin-Performance-PRB/58/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Modin-PRB/120/
Test PASSed.


Code Quality: Introduced IWindowsRecentItemsService

Resolved / Related Issues

[!NOTE]
There's been a known issue with enumerating recent items, where the service enumerates pinned files as well as recent items. Because of this, if there's any, Clear All doesn't work properly. While this PR didn't introduce this issue we probably want to look into later.

Related #15000
Related #14572

Steps used to test these changes

Enumerate recent items
Delete one recent item
Clear all recent items

Still missing the ability to remove a recent item.

Can we use the context menu verb for that

TODO: Use IApplicationDestinations for removal and IApplicationDocumentLists for enumeration instead of invoking verb or enumerating from a shell namespace.

It looks like folders are showing in the recent files widget

Current issue is how to exclude pinned files.
Pinned files seem to be stored in recent items.

Pinned files should be included

There's been a known issue with enumerating recent items, where the service enumerates pinned files as well as recent items. Because of this, if there's any, Clear All doesn't work properly. While this PR didn't introduce this issue we probably want to look into later.

@yaira2 I'll keep in mind this issue and I'll figure out if I can utilize IApplicationDestinations and IApplicationDocumentLists. But for now, tested works well.

There is one issue I discovered where the order of the recent items doesn't match the behavior in main.

Yes I ordered by the name; this match the behavior of Windows File Explorer.
There was a comment that mentioned the order is already sorted so don't sort here, but tbh I don't understand why @jiejasonliu wrote so.
Until now:
https://github.com/files-community/Files/blob/b454edf785203936dfd3257adeca2a142f87c0b4/src/Files.App/Utils/RecentItem/RecentItems.cs#L77
https://github.com/files-community/Files/blob/ba6624b22e818832d1cb3fbfe9f20bdca91d0504/src/Files.FullTrust/MessageHandlers/Win32MessageHandler.cs#L142
The shell API doesn't assure the order and it is apparently messed up whereas File Explorer surely orders by the name of items.
Now:
https://github.com/files-community/Files/blob/9f6d83943eff729f386bf4a461075546738f590c/src/Files.App/Services/Windows/WindowsRecentItemsService.cs#L241-L242

Sorry to have forgot to mention this, I meant to.

The behavior in main matches File Explorer.

There was a comment that mentioned the order is already sorted so don't sort here, but tbh I don't understand why @jiejasonliu wrote so.

I only slightly remember this but I figured it would be reasonable to include why we didn't sort since we did so for the folder flow. The initial implementation read directly from Quick Access so there was no need to sort again.
It looks like we still read from Quick Access (looking at the GUID) so we can still rely on enumeration order probably.

It looks like we still read from Quick Access (looking at the GUID) so we can still rely on enumeration order probably.

Do you know IApplicationDocumentLists? This is specifically enumeration interface for frequent and recent items. Also IApplicationDestinations is provided for deleting an item and clearing all. I have to try.

It looks like we still read from Quick Access (looking at the GUID) so we can still rely on enumeration order probably.

Do you know IApplicationDocumentLists? This is specifically enumeration interface for frequent and recent items. Also IApplicationDestinations is provided for deleting an item and clearing all. I have to try.

I don't, but the API seems promising. From an glance, it looks like a bunch of SHAddToRecentDocs coupled with some other (undocumented?) internals -- the ability to unpin a specific destination is interesting. I'll say that when this was first implemented, I settled on whatever worked first.

/format

@jiejasonliu Thank you for the review.
While whether we're going to get rid of recent folders support depends on @yaira2, I took care of all.
Speaking of IApplicationDocumentLists, I confirmed this was a completely different stuff; File Explorer only adds recent 'folders'. Presumably, we still gotta to use a dedicated shell folder, as we have.

I really don't understand why this job is failing all the way down.
The workflow hasn't been updated since last month and xstyler console hasn't been updated since 6 months. Also "/format" is failing for the same reason.

/format

@jiejasonliu Thank you for the review. While whether we're going to get rid of recent folders support depends on @yaira2, I took care of all.
Speaking of IApplicationDocumentLists, I confirmed this was a completely different stuff; File Explorer only adds recent 'folders'. Presumably, we still gotta to use a dedicated shell folder, as we have.

We should aim to match the existing functionality. Aren't recent folders used in the Quick Access widget?

It has never used afaik.

This is ready for review again, tested everything on my end.

Can you rebase with the latest from main?


GrabCut.py

Try to :
python yoloUtils/GrabCut.py --image ./images/person.jpg --yolo yolo-fish
File "yoloUtils/GrabCut.py", line 44, in
img, boxes, idxs = yolo.runYOLODetection(args)
ValueError: too many values to unpack (expected 3)
Thaks

Hi molyswu,
Thanks for your response, I have fixed this issue.
The reason is that runYOLODetection only returns 1 argument, whereas runYOLOBoundingBoxes returns 3 arguments.
Anyway, I have pushed a new commit to fix the problem :)

Hi， Cuda-Chen
Thank you for your help !
How to  calculator  pixel or size at  grabcut area.

You said to calculate the area of the rectangle, or bounding box?


Bump dependencies to pick up InSpec 1.45.9

Signed-off-by: Adam Leff<EMAIL_ADDRESS>

Closing since we've bumped since this was opened and I have another PR that brings in the .13 release.


FAILED to handle event: TypeError: Cannot read properties of undefined when opening HTML file

Describe the bug
When I open an HTML file and have the VS Code "Output" shown with "Window" selected from the dropdown I get the following error:
2024-06-05 20:00:01.260 [error] [ExtensionListenerError] Extension 'stillat-llc.vscode-antlers' FAILED to handle event: TypeError: Cannot read properties of undefined (reading 'document'): Error: [ExtensionListenerError] Extension 'stillat-llc.vscode-antlers' FAILED to handle event: TypeError: Cannot read properties of undefined (reading 'document')
    at n.value (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:163:20749)
    at l.y (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:82:664)
    at l.z (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:82:734)
    at l.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:82:950)
    at n.value (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:155:31896)
    at l.y (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:82:664)
    at l.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:82:881)
    at m.acceptDocumentsAndEditorsDelta (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:155:30786)
    at m.$acceptDocumentsAndEditorsDelta (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:155:29168)
    at E.S (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:5970)
    at E.Q (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:5736)
    at E.M (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:4762)
    at E.L (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:3589)
    at n.value (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:2282)
    at l.y (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:82:664)
    at l.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:82:881)
    at s.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:14502)
    at n.value (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:176:8481)
    at l.y (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:82:664)
    at l.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:82:881)
    at s.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:107:14502)
    at MessagePortMain.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:176:6631)
    at MessagePortMain.emit (node:events:514:28)
    at Object.MessagePortMain._internalPort.emit (node:electron/js2c/utility_init:2:2285)

Impacted Products
Which Antlers Toolbox products does this bug apply to?

[x] Antlers Toolbox for VS Code
[ ] Formatter CLI
[ ] Antlers Prettier Plugin
[ ] Antlers Syntax Highlighting (external systems - not VS Code)

Versions and Other Plugins/Extensions

stillat-llc.vscode-antlers 2.6.17
VS Code 1.90.0

To Reproduce

Install Antlers Toolbox
Open up the Output window and make sure "Window" is selected
Open HTML files

Thanks for the report! A fix for this is now available in 2.6.18

Wow, thanks so much for that quick fix, @JohnathonKoster!


chore: animate height on saved search filter screen

This PR resolves []
Description
https://github.com/artsy/eigen/assets/11945712/4b4287a8-eaf5-4446-82df-4f92ab5f247d
https://github.com/artsy/eigen/assets/11945712/53de8ba9-d833-4494-91a9-6fa408f62077

PR Checklist

[ ] I have tested my changes on iOS and Android.
[ ] I hid my changes behind a feature flag, or they don't need one.
[ ] I have included screenshots or videos, or I have not changed the UI.
[ ] I have added tests, or my changes don't require any.
[ ] I added an app state migration, or my changes do not require one.
[ ] I have documented any follow-up work that this PR will require, or it does not require any.
[ ] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

Warnings

:warning:

❌ An error occurred while validating your changelog, please make sure you provided a valid changelog.

  Generated by :no_entry_sign: dangerJS against 2d402bb6cd5ba97fd3dcf18c5e0df531d7e13588


Add a blank screen to test out other Player screen options.

WHAT
WHY
HOW
Checklist :clipboard:

[ ] Add explicit visibility modifier and explicit return types for public declarations
[ ] Run spotless check
[ ] Run tests
[ ] Update metalava's signature text files

cc @jolandaverhoef


PMs Don't Update Automatically

The title says it all. PMs have a bunch of problems, but one of the worst is that they don't update properly. Also, the timestamps don't show static values if a person wants to see them that way.

Done. There are still problems with the sort and names, but that will come later. Closing ticket.


Remove public_network_access_enabled entirely

Describe your changes
This pr plus #485 should solve #400. This pr removed var.public_network_access_enabled since it's deprecated.
Issue number
#000
Checklist before requesting a review

[ ] The pr title can be used to describe what this pr did in CHANGELOG.md file
[ ] I have executed pre-commit on my machine
[ ] I have passed pr-check on my machine

Thanks for your cooperation!

@lonegunmanb @jiaweitao001 why we did not remove this also from the ignore_changes ? https://github.com/Azure/terraform-azurerm-aks/blob/632deec7ad7de1c57a283424d12819e8d2705dcd/main.tf#L525
I noticed because I still get the deprecation warning. Should we remove it in a new PR ?


Cannot login to XMPP via LDAP

Hello guys,
I'm not able to login to XMPP via LDAP.
On the other hand HTTP is working fine with LDAP.
I activated all debug-messages but there is just nothing.
working:

login via LDAP on HTTP
login via local auth on HTTP
login via local auth on XMPP

not working:

login via LDAP on XMPP

Pidgin says: "not authorized"
The message I grabbed via tcpdump also says:
FAILURE [xmlns="urn:ietf:params:xml:ns:xmpp-sasl" condition="not-authorized"]
Like I said: There is no debug-output on the console from lets-chat.
My config:
env: production # development / production

http:
  enable: true
  host: ip_addr
  port: 80

https:
  enable: false
  port: 443
  key: key.pem
  cert: certificate.pem

files:
  enable: true
  provider: local
  local:
    dir: uploads

rooms:
  private: true

private:
  enable: true
  roster: online # online / all
  expire: 360

xmpp:
  enable: true
  roomCreation: true
  debug:
    handled: true
    unhandled: true
  port: 5222
  domain: domain.com
  tls:
    enable: false

database:
  uri: mongodb://localhost/letschat

secrets:
  cookie: secretsauce

auth:
  providers: [ldap, local]

  local:
    enableRegistration: true
    passwordRegex: ^.{8,64}$

  ldap:
    connect_settings:
      url: ldap://server.domain.ffm:389
    bind_options:
      bindDN: CN=letschat,CN=Systemuser,CN=somewhere,DC=domain,DC=ffm
      bindCredentials: password
    search:
      base: "DC=domain,DC=ffm"
      opts:
        scope: sub
        filter: (sAMAccountName={{username}})
    field_mappings:
      uid: sAMAccountName
      firstName: givenName
      lastName: sn
      displayName: displayName
      email: mail

I'm using version: 0.4.2
best regards
Nik

Hey Nik,
What's your username format look like.

my username was for example: "fehlnik"
so I just added my username in front of your xmpp.domain
So... summary:
username: 7 characters. nothing special
password: 14 characters incl. numbers. No special charakters.
I later created a local account called "testnik".
This one was working out of the box with xmpp.
password: 12 characters.

Any idea?
Where can I put debug-logging to see in which module it crashes?
It seems like there is a problem in the LDAP-implementation. Your XMPP-Log doesn't say anything so it should be before.

@NikFehl We have a setup with LDAP and XMPP and login through XMPP works flawlessly. Long passwords., too.


Create CPG view

Create CPG view

Big white blocks are not on the same level at the top

The Selection of theme for IDE is very ugly: items should be in lower case, put the selector of theme and language on the same line ABOVE the code editor block

Same about send request button - move it to a single line: this line is good enough

Make a small margin from the right and left sides of blocks


Issue/2019

Fix for issue #2019  - The header set command will now always pass the CanvasContent1 data with the savePage request so that the web parts do not get removed.

Awesome work @estruyf 👏🏻
Thank you for the quick turn around, we will take a look ASAP.

Cool! Once it's in, it can be used for doctor to add header support: https://github.com/ValoIntranet/doctor/issues/18

Merged manually. Thank you! 👏


Update DistributionCreateService to send mail asynchronously

Summary
We noticed some performance issues with the DistributionCreateService due to sending mail synchronously (saw a request take up to 12 seconds!). Let's update the class to send the mail asynchronously so it doesn't hold up the connection for too long if sending mail takes too long.
Here is a image of what the breakdown of time.

Things to Consider
We have a limited number of web connections and it is important that they don't all saturated. That is we should make sure requests don't take too long.
Criteria for Completion

[ ] The DistributionCreateService will now start running the PartnerMailerJob asynchronously

I'd like to work on this ticket

@librod89 feel free to take it :)! Let us know if you have any questions.


Make compatible with py2 and py3

Added tox to run tests with multiple interpreters.

Patch looks good, Thanks!


Integrate redux into application

Taking a look at feross/webtorrent-desktop, it would be a good idea to build the application to scale in the future. Implementing redux will help ease scale as more features are being added, and make the applications function more transparent

Implemented #43

Closed in #43


[] build failure

Host Environment

OS: Windows 10 Pro
Compiler: MinGW-w64 8.1.0

To Reproduce
Steps to reproduce the behavior:
./vcpkg install mlpack[tools]:x64-windows
Failure logs
Starting package 164/164: mlpack:x64-windows
Building package mlpack[core,tools]:x64-windows...
-- Downloading https://github.com/mlpack/mlpack/archive/7ae9ddda86c1751b6509ceb48b27d182feaae439.tar.gz...
-- Extracting source C:/Users/Shubham/vcpkg/vcpkg/downloads/mlpack-mlpack-7ae9ddda86c1751b6509ceb48b27d182feaae439.tar.gz
-- Applying patch cmakelists.patch
-- Using source at C:/Users/Shubham/vcpkg/vcpkg/buildtrees/mlpack/src/82feaae439-2cf793ee94.clean
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:145 (message):
Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Release --target install -- -v -j9
Working Directory: C:/Users/Shubham/vcpkg/vcpkg/buildtrees/mlpack/x64-windows-rel
See logs for more information:
C:\Users\Shubham\vcpkg\vcpkg\buildtrees\mlpack\install-x64-windows-rel-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_build_cmake.cmake:96 (vcpkg_execute_build_process)
scripts/cmake/vcpkg_install_cmake.cmake:27 (vcpkg_build_cmake)
ports/mlpack/portfile.cmake:37 (vcpkg_install_cmake)
scripts/ports.cmake:136 (include)
Error: Building package mlpack:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: mlpack:x64-windows
Vcpkg version: 2020.11.12--unknownhash
Additional context
checked for latest portfiles:
C:\Users\Shubham\vcpkg\vcpkg>.\vcpkg update
Using local portfile versions. To update the local portfiles, use git pull.
No packages need updating.
How this issue can be resolved ?

Please attach the file C:\Users\Shubham\vcpkg\vcpkg\buildtrees\mlpack\install-x64-windows-rel-out.log to this issue in the dashed box below the write tab and above the comment button

Please attach the file C:\Users\Shubham\vcpkg\vcpkg\buildtrees\mlpack\install-x64-windows-rel-out.log to this issue in the dashed box below the write tab and above the comment button

install-x64-windows-rel-out.log

install-x64-windows-rel-out.log

C:\Users\Shubham\vcpkg\vcpkg\buildtrees\mlpack\src\82feaae439-2cf793ee94.clean\src\mlpack\core\util\io_impl.hpp(34) : fatal error C1001: Internal compiler error.
(compiler file 'd:\A01_work\3\s\src\vctools\Compiler\Utc\src\p2\main.c', line 212)
To work around this problem, try simplifying or changing the program near the locations listed above.
If possible please provide a repro here: https://developercommunity.visualstudio.com
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information

I would suggest making sure the compiler/linker are up to date.
Hopefully someone else may have a suggestion.

C:\Users\Shubham\vcpkg\vcpkg\buildtrees\mlpack\src\82feaae439-2cf793ee94.clean\src\mlpack\core\util\io_impl.hpp(34) : fatal error C1001: Internal compiler error.
(compiler file 'd:\A01_work\3\s\src\vctools\Compiler\Utc\src\p2\main.c', line 212)
To work around this problem, try simplifying or changing the program near the locations listed above.
If possible please provide a repro here: https://developercommunity.visualstudio.com
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information

I would suggest making sure the compiler/linker are up to date.
Hopefully someone else may have a suggestion.

If you want to use a Mingw-w64 toolchain, you need to use the x64-mingw-statc or x64-mingw-dynamic triplet, not x64-windows

If you want to use a Mingw-w64 toolchain, you need to use the x64-mingw-statc or x64-mingw-dynamic triplet, not x64-windows

@longnguyen2004 thanks!

@longnguyen2004 thanks!

@shubhamr2511 Are there any other problems?

@shubhamr2511 Are there any other problems?

@shubhamr2511, please reopen this issue if it still be problem for you.