Pass environment setting to personalized setting while cluster is up

Description
When the cluster runs on opensearch, it reads the credentials from the keystore and will pass setting to the plugins, and it will be close after the cluster is fully running.
Raise this PR to pass environment setting to personalized setting while cluster is up
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed as per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Looks like the code cov is failing because there's some lines that aren't covered by code. Is this a missing case in the tests?

Looks like the code cov is failing because there's some lines that aren't covered by code. Is this a missing case in the tests?

Added tests to PersonalizeClientSettingsTests. But we don't have any unit tests for SearchRelevancePlugin in the repo so far. Will try to talk to @msfroh about it after 2.9 release. Requesting for reviews again.


Add "Search" box to measures admin page

https://api.wevoteusa.org/m/

Verified. Thank you @bharathdn.


significant differences with samtools flagstat output

Hello，
I recently used cramino to perform QC for long reads data (BAM), and found the alignment rates from cramino and samtools flagstats function are very different. For example, cramino got 60%, but the samtools got 98%.
Can you help me explain the reasons for such a difference?
Best regard

Hi,
Thanks for reporting this, I will look into this difference. Which cramino version did you use?
Wouter

Hi, Wouter,
Thanks for your reply. I used the version 0.15.0.
For example, the output of cramino for a BAM show a alignment rate of  59.64%
But samtools flagstat shows a alignment rate of 99.35%
Best regard,
Duo Wang
| |
Duo Wang
|
|
@.***
|
---- Replied Message ----
| From | Wouter De @.> |
| Date | 11/7/2024 15:51 |
| To | @.> |
| Cc | @.>,
@.> |
| Subject | Re: [wdecoster/cramino] significant differences with samtools flagstat output (Issue #33) |
Hi,
Thanks for reporting this, I will look into this difference. Which cramino version did you use?
Wouter
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

I have identified at least a part of the issue, as too many reads are used as denominator in that calculations. Did you also set a length filter? Because that would also contribute tot the difference.

Aha, from those numbers I see the difference. You get 6798047 by subtracting the number of secondary reads from the number of aligned reads.
samtools flagstat appears to calculate the alignment rate counting the secondary reads for both the numerator and the denominator. I am not sure if that is desirable.
Since the last cramino release, which I believe is not entirely correct, secondary reads are only counted for the denominator. I'll get that fixed.

Oh my god, I didn't notice this. So the cramino prints the primary alignment rates. Thanks for your patient reply.


ProblemMatcher encoding issue

I'm working on a Windows 7 machine with german localization. My problem matcher works fine but german umlauts are not displayed properly.  (The first word of the shown warning should be "Rückgabewert")
See the picture.

@Wosi can you pleae attach a screen shot showing the output viewlet (e.g.Ctrl+Shift+U)

@Wosi thanks

when I get the folder list and output it .the folder name contains chinese.
then the output like this:
['$RECYCLE.BIN', 'itunes', 'kankan', 'python', 'System Volume Information', 'tools', 'Ѹ������']

I got something too.

VSCode Version: v1.0.0
OS Version:  6.1.7601 Service Pack 1 Build 7601
OS Name:          Microsoft Windows 7 家庭普通版
Code page: 936
Step:  less config

please support chinese (output window, reference pop,etc)

This got addressed by the new terminal runner. To make use of the new terminal runner please see: https://code.visualstudio.com/docs/editor/tasks#_convert-from-010-to-200
The new terminal runner uses a terminal to execute tasks. This terminal by default uses the OS defined terminal, however there are various VS Code settings to control the terminal encoding as well. See the terminal.integrated.shell and terminal.integrated.shellArgs setting as well the options.shell property of a task.


Storing Exposure Time in floats

If exposure time is stored in floats we can do filtering by all the metadata characteristics. Conversion to and from float & fractional can be done on the back end.

now stored in floats in domain refactor.


This extension is looks similar to you

@coliff  Today I found this extension: https://github.com/borismus/keysocket https://smus.com/chrome-media-keys-revisited/
The source code is super similar your.

Yes, that one is the original. I based this extension on that. Keysocket had a message up that it is no longer supported and is looking for a new maintainer... As the code is open-source I decided to make a hard fork of the project and add a bunch of new services, tidy up the code, add new icon and rename it.


Create simple weather forecasting.py

This Python script leverages the OpenWeatherMap API to provide users with real-time weather data for a chosen city. It's a user-friendly tool that takes user input for the city name and required API key, and then retrieves and displays the current weather details, including temperature and a brief description. The script showcases the practicality of APIs for accessing up-to-date information, making it a valuable resource for quick and convenient weather forecasting.

Simple python code for weather forecasting


Added description of what Istio integration looks like

I'm probably missing other things.  @mjnagel and @bburky, what else do I need to add here?
Signed-off-by: Tom Runyon<EMAIL_ADDRESS>

@runyontr do we also want to consider Istio mTLS strict enforcement and ports that need permissive "exceptions"?
Otherwise this looks good.

Good point...  Can you do a quick writeup on the mTLS configuration?
At somepoint we'll probably want to add AuthorizationPolicies as well... not sure what those are going to look like though yet


Linux kernel driver for in-kernel users of infnoise

Great project! Has anyone looked at an in-kernel version of infnoise to provide TRNG services to other parts of the kernel? It could also expose the infnoise devices in the device tree to make consumption by user-space easier?

Perhaps modelled on something that already exists in the kernel like:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/usb/misc/chaoskey.c?h=v4.16

Also thought about this, but its probably a long road to go and I'm not so sure if whitening has its place in a kernel driver.
Anyway, the Infinite Noise TRNG driver can feed the kernels entropy pool so other "parts" can access its entropy.
Or am I wrong? Is there a downside of the current approach I'm not aware of?
I think we should stick to the libinfnoise idea (#51) for integration in custom applications and infnoise for use with shell scripts or /dev/random mode. (for now)
Based on the lib it will be a lot easier to implement a kernel driver.


Translatable menus

Menus don't support translations yet

Menu items are translatable, the dashboard doesn't support this yet. I've moved this issue there

Menu items are translatable, the dashboard doesn't support this yet. I've moved this issue there


Switch to using go.cmp

Much like what we are doing in ion-go, switch to using https://github.com/google/go-cmp for equality.

For ion-hash-go tests check for

errors during reading/writing that use the ion-go readers and wrtiers
assert on the return value of a hash (an array of bytes)

The default equality mechanism in Go does what we want here and we do not need a more specific or custom equality functionality provided by go-cmp.


About Aimbot

I found that the Aimbot of osiris is realized by setView. I want to use the mouse  move(mouse_event or any mouse move way) to achieve self-aiming. Can anyone help me?

This does not change the fact that it will still be VAC, AimBot does not affect reputation or VAC

Mouse events are slow and less accurate. I've seen AI aimbots use mouse events for aiming a lot, and internal aimbots usually set view angles directly in memory.


[HOLD] Update help version

Helps resolve this issue
https://github.com/blackbaud/skyux-lib-help/issues/12
works in tandem with SKY UX 2 PR
https://github.com/blackbaud/skyux2/pull/1180

Codecov Report

Merging #293 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #293   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          58     58
  Lines        1358   1358
  Branches      205    205
=====================================
  Hits         1358   1358

Flag
Coverage Δ

#builder
100% <ø> (ø)
:arrow_up:

#runtime
100% <ø> (ø)
:arrow_up:

#srcapp
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Putting this PR on-hold because it loosely depends on https://github.com/blackbaud/skyux2/pull/1180. Once that is merged and released, we can come back to this.

removing the [HOLD] flag as https://github.com/blackbaud/skyux2/pull/1180 has been updated to approved.


feat(artifacts): allow pathlib.Path objects in SDK calls wherever paths are expected

Fixes WB-4479
Description
As much as possible attempt to accept either strings or os.PathLike when a file path is expected.
This is kind of a messy PR; it gives us a more usable product, but it's less consistent inside–that can be improved as we move forward and consolidate toward using pathlib.Path increasingly. It's also possible / likely that this misses some function calls; those failing to accept Path objects should be considered bugs and fixed (at this point we should officially accept pathlib.Path objects everywhere).
Testing
Probably needs more testing tbh. There's a few new test cases, but a lot of altered code.
Checklist

[x] Include reference to internal ticket "Fixes WB-NNNN" and/or GitHub issue "Fixes #NNNN" (if applicable)
[x] Ensure PR title compliance with the conventional commits standards

Most of this work was completed in other PRs, and the redundancy makes for a pretty intense merge conflict. This might address parts that haven't been yet, but I'm not sure it does and if so we can return to that work later.


[website] Add about page entry for jan

@Janpot tips, we usually paste the preview link in the description (along with image if you'd like) so that reviewer can see the real site. You can copy it from here (click Details)


Version tuples

Just minor updates and simplification, so that this PR will be easier to get into the main repo.

Hi Luke, the minor changes as discussed elsewhere.

Thanks for checking. I've updated the test, good catch!


IREE dispatch profiler for functional verification and performance profiling

Summary: IREE dispatch profiler is a python-only tool for functional verification and performance profiling of IREE dispatches. The dispatches could be made of a single operation or fusion of multiple of operation compiled for a backend.
It is essential for rigorous performance optimization work: (a) To ensure that the optimizations don't break the functionality, and (b) To guarantee that the performance optimization is actually bringing performance improvements across a broader workload set. Thus, we need a tool to easily verify functional correctness and evaluate performance improvements from our techniques.
The tool achieves the following goals:

Auto-generation of operation dispatches.
Functional verification using numpy as reference completely in python.
Performance profiling, sweeps, and performance reporting.

Ah I answered my own question. https://github.com/openxla/iree/blob/main/.github/CODEOWNERS#L35

Looks like a great start! I'll look more at the code in a bit but we'll want someone with some python experience to review the basics/style.
We'll want to rename this, though, to avoid confusion and ensure only the right people find this - it's not an "IREE profiler" as most end users would imagine it: I'd expect an IREE profiler to profile my model and tell me what's slow (and we'll have a tool that does that at some point). This is more a "dispatch evaluator" or something. The closest conceptual equivalent on the LLVM side is llvm-exegesis - maybe this is iree-exegesis? https://llvm.org/docs/CommandGuide/llvm-exegesis.html


Latest markdown breaks flutter_markdown tests

https://github.com/dart-lang/markdown/pull/428 breaks flutter_markdown tests in interesting ways. It looks like the non breaking spaces are bleeding through and breaking tests. However, when I add a filter to ignore said non breaking spaces to the test harness, it looks like the task list parsing is still broken.
Steps to reproduce:

Change markdown dependency to be latest git version
Run flutter test

Results:
$ flutter test
00:03 +16: /Users/brettmorgan/Documents/GitHub/packages/packages/flutter_markdown/test/list_test.dart: Task List simple 2 item task list
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following TestFailure was thrown running a test:
Expected: 'Item 1'
  Actual: 'Item 1'
   Which: is different.
          Expected: Item 1
            Actual: Item 1
                    ^
           Differ at offset 0

When the exception was thrown, this was the stack:
#4      expectTextStrings (file:///Users/brettmorgan/Documents/GitHub/packages/packages/flutter_markdown/test/utils.dart:29:7)
#5      defineTests.<anonymous closure>.<anonymous closure> (file:///Users/brettmorgan/Documents/GitHub/packages/packages/flutter_markdown/test/list_test.dart:130:9)
<asynchronous suspension>
<asynchronous suspension>
(elided one frame from package:stack_trace)

This was caught by the test expectation on the following line:
  file:///Users/brettmorgan/Documents/GitHub/packages/packages/flutter_markdown/test/utils.dart line 29
The test description was:
  simple 2 item task list
════════════════════════════════════════════════════════════════════════════════════════════════════
00:03 +17 -1: /Users/brettmorgan/Documents/GitHub/packages/packages/flutter_markdown/test/list_test.dart: Task List simple 2 item task list [E]
  Test failed. See exception logs above.
  The test description was: simple 2 item task list

00:03 +28 -1: /Users/brettmorgan/Documents/GitHub/packages/packages/flutter_markdown/test/list_test.dart: Task List custom checkbox builder
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following TestFailure was thrown running a test:
Expected: 'Item 1'
  Actual: 'Item 1'
   Which: is different.
          Expected: Item 1
            Actual: Item 1
                    ^
           Differ at offset 0

When the exception was thrown, this was the stack:
#4      expectTextStrings (file:///Users/brettmorgan/Documents/GitHub/packages/packages/flutter_markdown/test/utils.dart:29:7)
#5      defineTests.<anonymous closure>.<anonymous closure> (file:///Users/brettmorgan/Documents/GitHub/packages/packages/flutter_markdown/test/list_test.dart:178:9)
<asynchronous suspension>
<asynchronous suspension>
(elided one frame from package:stack_trace)

This was caught by the test expectation on the following line:
  file:///Users/brettmorgan/Documents/GitHub/packages/packages/flutter_markdown/test/utils.dart line 29
The test description was:
  custom checkbox builder
════════════════════════════════════════════════════════════════════════════════════════════════════
00:03 +28 -2: /Users/brettmorgan/Documents/GitHub/packages/packages/flutter_markdown/test/list_test.dart: Task List custom checkbox builder [E]
  Test failed. See exception logs above.
  The test description was: custom checkbox builder

00:07 +314 ~5 -2: Some tests failed.

Can you elaborate on what you mean by "add a filter to ignore said non breaking spaces to the test harness"?

flutter_markdown has its own TaskListSyntax which conflicts with (or perhaps... is straight up overridden by) makdown's new OrderedListWithCheckBoxSyntax and UnorderedListWithCheckBoxSyntax, which are part of ExtensionSet.gitHubFlavored. The easiest change we can make to flutter_markdown is probably to change the extension set used by flutter_markdown. Something like:
extensionSet: widget.extensionSet ?? ExtensionSet(
    List<BlockSyntax>.unmodifiable(
      <BlockSyntax>[
        const FencedCodeBlockSyntax(),
        const TableSyntax(),
        // Do not include `UnorderedListWithCheckBoxSyntax` or `OrderedListWithCheckBoxSyntax`,
        // as they conflict with `TaskListSyntax`.
      ],
    ),
    List<InlineSyntax>.unmodifiable(
      <InlineSyntax>[
        InlineHtmlSyntax(),
        StrikethroughSyntax(),
        AutolinkExtensionSyntax(),
      ],
    ),
  ),

It's not a great long-term fix, since this will not keep up with additions to ExtensionSet.gitHubFlavored. The better long-term fix is probably to:

remove TaskListSyntax (as indicated by it's FIXME comment),
use markdown's UnorderedListWithCheckBoxSyntax and OrderedListWithCheckBoxSyntax,
check for those indicatorForUncheckedCheckBox and indicatorForCheckedCheckBox characters, and
render to Icons.check_box.codePoint and Icons.check_box_outline_blank.codePoint like TaskListSyntax does today.

Can you elaborate on what you mean by "add a filter to ignore said non breaking spaces to the test harness"?

It was an exploration, but your comment is a better starting point.

I will take a stab at @srawlins 's suggested long term fix if no one has any objections/has already started on it.
I was unaware of the flutter_markdown alternate handling of checkboxes and I probably should have addressed this when i created https://github.com/dart-lang/markdown/pull/428

I will take a stab at @srawlins 's suggested long term fix if no one has any objections/has already started on it.
I was unaware of the flutter_markdown alternate handling of checkboxes and I probably should have addressed this when i created https://github.com/dart-lang/markdown/pull/428

Go for it. I'm happy to review.

I have submitted https://github.com/flutter/packages/pull/2338 which fixes this issue.   It ended up being a little simpler than @srawlins imagined.


Citing relevant literature

Page 7 of your paper, you use the notion of internal diversity, that I introduced to evaluate generative models, in this paper:
https://arxiv.org/abs/1708.08227
You even used the same notations!!

However, you didn't cite my paper in your bibliography.
Can you correct your paper, and properly cite the literature that you used?

Thank you for your comment.
We have already included your paper in the bibliography as [10], but citation is missing in this part. We will add citation in the next version.


html and css not linking (brackets)

my live preview works but its like the css is not affecting the look of the page for example i wanted my lower text to be 18px and there to be a border (for the map) but it don't work same thing with my background colour and text colour

maybe my css is wrong ?

You needed to link your main.css file to your html document in the head.

You all need to give Reference your css file in your index.html file , to do so
Apply the format
You Write the following format in your html head tag

<link rel = "stylesheet" type="text/css" href="Put your css path here">

@thankyouforyourhelp007  see my comment

Thank you so much

Hi,
I am new to GitHub and I am computer science student. I would like to contribute in something. Please can some one help me  or guide me to contribute?
Thanks

@ShumailAhmed123 Hi and welcome. Please, take a look at contributing file for more information on how to contribute.


New package: TiffImages v0.2.0

Registering package: TiffImages
Repository: https://github.com/tlnagy/TiffImages.jl
Created by: @tlnagy
Version: v0.2.0
Commit: 1f6b34a6880d9347ee7fd053946ad9a4aa301721
Reviewed by: @tlnagy
Reference: https://github.com/tlnagy/TiffImages.jl/commit/1f6b34a6880d9347ee7fd053946ad9a4aa301721#commitcomment-45785060

Seems like changing the version number and then re-registering the package creating a new PR instead of updating this one: https://github.com/JuliaRegistries/General/pull/27792.

Seems like changing the version number and then re-registering the package creating a new PR instead of updating this one: https://github.com/JuliaRegistries/General/pull/27792.

Is this a bug @DilumAluthge @staticfloat? I followed the instructions from JuliaRegistrator (https://github.com/tlnagy/TiffImages.jl/commit/1f6b34a6880d9347ee7fd053946ad9a4aa301721#commitcomment-45785063) to update my version number.

Is this a bug @DilumAluthge @staticfloat? I followed the instructions from JuliaRegistrator (https://github.com/tlnagy/TiffImages.jl/commit/1f6b34a6880d9347ee7fd053946ad9a4aa301721#commitcomment-45785063) to update my version number.


Incorrect italian localization

Microsoft PowerToys version
0.67.1
Utility with translation issue
Hosts File Editor
🌐 Language affected
Italian
❌ Actual phrase(s)
The string found when hovering the warning says "Duplicare voce"

✔ Expected phrase(s)
Voce duplicata
ℹ Why is the current translation wrong
I'm not really sure as to what it is trying to translate, I guess the original phrase was "Duplicated voice", in that case the correct translation should be "Voce duplicata".

FYI in English it says Duplicate entry, and I also agree it should be translated to Voce duplicata

https://microsoft.visualstudio.com/OS/_workitems/edit/44326203 /loc

This should be fixed in a newer build such as .70.1, can you please verify? /needinfo

I confirm it's now fixed


📦 Add link check action

In this PR, I have added a workflow which checks links and fails if any of them are broken.
Disclaimer: this action is my own action, the repo is here
You can view the logs of the workflow on my fork here. 9 links were found to be broken.
Let me know if you'd like me to change anything, any feedback is appreciated either way :)

I personally use https://github.com/gaurav-nelson/github-action-markdown-link-check (example config: https://github.com/JabRef/jabref/blob/main/.github/workflows/check-links.yaml).
I am open to check new actions.

I appreciate that, thank you. Any feedback is great 🙏


feat: declarative tablespaces support (feature branch)

Adds the tablespaces API, webhooks, and sample file
Closes #2535

/test

/test

/test tl=4 l=local

/test tl=4 l=local

/test l=local d=main tl=4

E2E tests running in EDB fork https://github.com/EnterpriseDB/cloudnative-pg/actions/runs/6665692961

/test l=local d=main tl=4

E2E tests running in EDB fork https://github.com/EnterpriseDB/cloudnative-pg/actions/runs/6852804994

/test limit=local

@jsilvela @litaocdl I'm not familiar with this PR, so I may have got something wrong.
The review is not complete as the PR is really big, but I think it is a good starting point, and I'm happy to chat about it.

Thanks @leonardoce
Excellent comments.
As noted, the temporary tablespace stuff should be deleted by now.
Some of the suggested restructuring is great.
@litaocdl , how about we do a pair progamming session to address the feedback?

Thanks @leonardoce really appreciate the comments
@jsilvela I went through  comments, let's pair in the dev room.

/test limit=local

/test limit=local

/test

/test limit=local

/test limit=local

trigger a tbs test only https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/6966804487

/test limit=local

E2e: https://github.com/EnterpriseDB/cloudnative-pg/actions/runs/6981564877

/test limit=local ft=smoke tl=2


fcache: Only store cache entries, if they are initialized.

This should fix #715,
where somehow some function cache entries are uninitialized and still cached.
This leads to some strange null-pointer dereferences and other similar stuff.
I hope the explanation in the commit itself is detailed enough, so I will leave
that summary here that short.

:+1:

Thanks


Support for unknown values and high impedance values in bit vectors

Changed the bit vector class so that it can support unknown values 'x', and high impedance values, 'z'.
The logical operations do not yet support unknowns and high impedance values, but includes enough code to construct, serialize and de-serialize.
@rdaly525 x and z values can be used in both hex and binary construction, but for storage bit vectors will have to be stored as binary, since there are no hexadecimal characters for the values like: 4'b1z11

This is great! What are your semantics of high impedance values? I am a little unsure if they should be included... but we can discuss that in person.

I have not implemented the boolean ops for x and high impedance yet. I just added the machinery to store, construct, serialize and de-serialize them.
Also I just added corebit.term and coreir.term support in the PR
I dont have a strong feeling about whether it should even be possible to operate with high impedance values.


Error when testing on mobile emulator of Google Chrome

Hi, currently integrated angular-parallax in a web project and it does not work on mobile devices. It also seems that it chokes the whole web project on safari on my Iphone and other Apple devices, resulting in a complete CRASH of Safari!
This is the error I get when emulating any mobile device. When I remove the du-parallax attribute, the error is gone and the webproject runs again on Apple devices without Safari shutting down.
TypeError: Cannot read property 'compile' of undefined
at angular.js:6485
at forEach (angular.js:323)
at Object. (angular.js:6480)
at Object.invoke (angular.js:4182)
at Object.enforcedReturnValue [as $get] (angular.js:4035)
at Object.invoke (angular.js:4182)
at angular.js:4000
at Object.getService [as get] (angular.js:4141)
at directiveIsMultiElement (angular.js:7813)
at collectDirectives (angular.js:7145)angular.js:11598 (anonymous function)angular.js:8548 $getangular.js:6498 (anonymous function)angular.js:323 forEachangular.js:6480 (anonymous function)angular.js:4182 invokeangular.js:4035 enforcedReturnValueangular.js:4182 invokeangular.js:4000 (anonymous function)angular.js:4141 getServiceangular.js:7813 directiveIsMultiElementangular.js:7145 collectDirectivesangular.js:6993 compileNodesangular.js:7009 compileNodesangular.js:7009 compileNodesangular.js:7009 compileNodesangular.js:6904 compileui-router.js:3893 compileangular.js:8217 invokeLinkFnangular.js:7726 nodeLinkFnangular.js:7075 compositeLinkFnangular.js:6954 publicLinkFnui-router.js:3839 updateViewui-router.js:3801 (anonymous function)angular.js:14707 $get.Scope.$broadcastui-router.js:3218 $state.transitionTo.$state.transition.resolved.then.$state.transitionangular.js:13175 processQueueangular.js:13191 (anonymous function)angular.js:14388 $get.Scope.$evalangular.js:14204 $get.Scope.$digestangular.js:14493 $get.Scope.$applyangular.js:9650 doneangular.js:9840 completeRequestangular.js:9781 requestLoaded
Also, from my experience, the parallax effect is choppy on all desktop browsers when scrolling with the mouse, all but firefox. (probably because it has a smooth scroll).
Hope this helps you to improve this angular module. Kind regards

I have same problem. So does it works on mobile devices?


Ant and Gradle L0 tests failing on OSX (some taking long time to fail)

Most ant tasks and 3 gradle tasks.  I commented out some of the ones that take a long time to fail

@jpricketMSFT - assigning to Ashwini because she just edited.  I think that's the cause but some might be from your changes.


The daily notional value limit for transfers on Solana has been exceeded

SOL USDC to ETH USDC
Two transactions processed for same amount. Unable to redeem. getting the message
The daily notional value limit for transfers on Solana has been exceeded. As a result, the VAA for this transfer is pending.
Any assist would help here. Do not have a discord.

Hi I got the same error today. Should I just wait 24 hours?

I have the same problem, wait 24 hours???

@x1957  Yep it worked for me the next day.


sphinxbase: QA Issue: rdepends on libasound [build-deps]

WARNING: sphinxbase-0.8-r0 do_package_qa: QA Issue: sphinxbase rdepends on libasound, but it isn't a build dependency, missing alsa-lib in DEPENDS or PACKAGECONFIG? [build-deps]

@bulwahn < Can this issue be closed?

"Silence implies consent" (see http://wiki.c2.com/?SilenceImpliesConsent).


Resolve Typescript Errors

There are multiple Typescript errors that need to be resolved.

[ ] Establish a code convention for where type definitions should reside.
[ ] Fix the Typescript errors.

let's postpone "Establish a code convention for where type definitions should reside." until after the BASE release.  I will add a new issue for that.


Mn search

a new component, similar to mn-select, but fetch content with a url
a example of how implement a mn-search
<mn-search placeholder="House"></mn-search>

const search = document.querySelector('mn-search')

search.addEventListener('search', (event) => {
    const params = new URLSearchParams()
    params.append('query', event.query)
    const houses = new Request(`http://localhost:4000/houses?${params}`)

   event.target
       .fetch(houses)
       .then(setOptions)

   async function setOptions(response) {
       const houses = await response.json()
       houses.forEach(house => {
          // const obj = {name: house, value: house.toLowerCase()}
          const option = document.createElement('option')
          option.textContent = house//obj.name
          option.setAttribute('value', house.toLowerCase())//JSON.stringify(obj))

          event.target.appendChild(option)
      })
   }
})

Basically, the developer needs to use the method fetch, like example above, to fetch data, and then, manually create the options.
The method fetch accept a simple url (string) or a Request instance, like example.
search.fetch('http://localhost/houses') // works with String
search.fetch(new Request('http://localhost/houses')) // works with Request

And accept other services, like ngResource, Restangular, etc. But they need to be a promise.
// angular service
const houses = $resource('http://localhost/houses')
search.fetch(houses.query().$promise)

Request data using the own method fetch is required, to manage loading bar in component, and to clean previous options.

@alencar13 give me a help pls, on review


doc: Email channel using postfix

Creating documentation on how to set up a self-hosted chatwoot, where the email channel works with postfix

ref: https://discord.com/channels/647412545203994635/1063240028542742638/1065627261040070697
Yes shure @softcrew
Fisrt you have to install Postfix as it says on the instructions:
sudo apt install -y postfix

Make shure that you configure the certificates as you have on chatwoot( in the file /etc/postfix/main.cf:
smtpd_tls_cert_file = /etc/letsencrypt/live/YOUR_DOMAIN_CERT_FOLDER/fullchain.pem
smtpd_tls_key_file = /etc/letsencrypt/live/YOUR_DOMAIN_CERT_FOLDER/privkey.pem
smtpd_tls_security_level=may

smtp_tls_CApath=/etc/letsencrypt/live/YYOUR_DOMAIN_CERT_FOLDER/

Then, this is how i set the postfix conf:
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# See http://www.postfix.org/COMPATIBILITY_README.html -- default to 2 on
# fresh installs.
compatibility_level = 2

# TLS parameters
smtpd_tls_cert_file = /etc/letsencrypt/live/YOUR_DOMAIN_CERT_FOLDER/fullchain.pem
smtpd_tls_key_file = /etc/letsencrypt/live/YOUR_DOMAIN_CERT_FOLDER/privkey.pem
smtpd_tls_security_level=may

smtp_tls_CApath=/etc/letsencrypt/live/YOUR_DOMAIN_CERT_FOLDER/
smtp_tls_security_level=may
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname =YOUR_DOMAIN
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = $myhostname, YOUR_DOMAIN, SRV_NAME, localhost.localdomain, localhost
relayhost =
mynetworks = <IP_ADDRESS>/8 [::ffff:<IP_ADDRESS>]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
virtual_alias_domains = $mydomain
#virtual_alias_maps = hash:/etc/postfix/virtual
local_recipients_maps =
transport_maps = hash:/etc/postfix/transport
virtual_alias_maps = hash:/etc/postfix/virtual_aliases

And restart postfix
Then, you need to configure this ENV_variables to work:
SMTP_DOMAIN=YOUR_DOMAIN
SMTP_ADDRESS=localhost
SMTP_PORT=25
#SMTP_USERNAME=
#SMTP_PASSWORD=
SMTP_ENABLE_STARTTLS_AUTO=true
SMTP_OPENSSL_VERIFY_MODE=none
MAILER_INBOUND_EMAIL_DOMAIN=YOUR_DOMAIN
RAILS_INBOUND_EMAIL_SERVICE=relay
RAILS_INBOUND_EMAIL_PASSWORD=YOUR_PASSWORD

And restart the chatwoot service
Then - extracted from https://thedevpost.com/blog/setup-action-mailbox-with-postfix-part-2/ - i did this:
Create /etc/postfix/virtual_aliases to add a catch-all alias; localuser needs to be an existing local user (for example chatwoot :
vi /etc/postfix/virtual_aliases

@YOUR_DOMAIN   chatwoot@YOUR_DOMAIN
Create /etc/postfix/transport  to add a transport mapping. “forward_to_rails” can be whatever you want; it will be used later in master.cf
vi  /etc/postfix/transport

YOUR_DOMAIN    forward_to_rails:
Next, both transport and virtual_aliases need to be compiled into berkeley DB files:
$ sudo postmap /etc/postfix/virtual_aliases
$ sudo postmap /etc/postfix/transport
# Add the transport to /etc/postfix/master.cf
vi  /etc/postfix/master.cf

mytransportname   unix  -       n       n       -       -       pipe
  flags=Xhq user=chatwoot:chatwoot argv=/home/chatwoot/chatwoot/bin/import_mail_to_chatwoot
  ${nexthop} ${user}

then you need to create the script  /home/chatwoot/chatwoot/bin/import_mail_to_chatwoot whit this:
INGRESS_PASSWORD= same as you put in the env file
URL=http://localhost:3000/rails/action_mailbox/relay/inbound_emails

curl -sS -u "actionmailbox:$INGRESS_PASSWORD" \
 -A "Action Mailbox curl relayer" \
 -H "Content-Type: message/rfc822" \
 --data-binary @- \
 $URL
~

Then restart postfix again!
Let me know if was clear and it worked!

Hello @sojan-official i need a help i try to get this tutorial but is for Ubuntu right? What is the chatwoot routes to configure on docker because i try to see this routes on docker and no see the sames routes to configure Postfix on docker. Thanks i hope u respond


[FEATURE] Reorganise Procesors

Is your feature request related to a problem? Please describe.
I'm always frustrated when I try and find a processor, because our structure is rather illogical.
Describe the solution you'd like
One example is photcal.py, which is not in the photometry directory. Or send_to_fritz and xmatch, which are not in the candidates or avro directories. The calibration processors are not grouped together. reference is split off from ZOGY. Maybe a hierarchy of the three classes of processor, and then logical subdirectories as needed?
Describe alternatives you've considered
Letting anarchy reign.

partially addressed by #286


Switch to ES Modules

Currently, we generate a tsconfig.json with commonjs module resolution, but Deno only supports ES modules, so switch to that.

The import issue was related to Deno-style imports, but we switched over to ES modules in tsconfig.json in fa8f845761d72e8973f082789a453fde920fdf1c.


Race Leaderboard Not Properly Sorting Fastest Laps with Tied Laps Completed

PR #29 addresses the leaderboard sorting issue.


Feature/other councils

Updated logo to be dynamic, made selector landing page and cannot access explorer till state is selected.  removed map for midwest. removed soil info for midwest, added goals API

the text for the state dropdown being light green makes it hard to read

selecting a southern state shows no goals and gives this error
GoalsSelector.js:25 Uncaught (in promise) TypeError: state.councilId is not iterable
    at getAllGoals (GoalsSelector.js:25:1)
    at GoalsSelector.js:47:1
    at commitHookEffectListMount (react-dom.development.js:23150:1)
    at commitPassiveMountOnFiber (react-dom.development.js:24926:1)
    at commitPassiveMountEffects_complete (react-dom.development.js:24891:1)
    at commitPassiveMountEffects_begin (react-dom.development.js:24878:1)
    at commitPassiveMountEffects (react-dom.development.js:24866:1)
    at flushPassiveEffectsImpl (react-dom.development.js:27039:1)
    at flushPassiveEffects (react-dom.development.js:26984:1)
    at performSyncWorkOnRoot (react-dom.development.js:26076:1)


Added release notes for v0.15.0

What problem does this PR solve?
Type of change

[x] Documentation Update

You can merge it on the release day.


[core] Imporve touch-response animation performance

Please read article, Twitter also used this trick.

As far as I have played with the next branch, the ripple is responsive even under js pressure.
Thanks for the link, I have been taking advantage of the trick here. Unless someone wants to submit a PR to improve the situation. I'm closing the issue.


Build with error: library not found for -lvenice for architecture x86_64

ld: library not found for -lvenice for architecture x86_64
:0: error: link command failed with exit code 1 (use -v to see invocation)
:0: error: build had 1 command failures
error: exit(1): /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-03-01-a.xctoolchain/usr/bin/swift-build-tool -f /Users/liming/workspace/swift_proj/test00/.build/debug.yaml default -v

try swift build -Xcc -I/usr/local/include -Xlinker -L/usr/local/lib/
but some 0.3 packages are not compatible with toolchains after 2016-02-08


Initial documentation boilerplate

Signed-off-by: Tom Kerkhove<EMAIL_ADDRESS>With basic docs boilerplate which mainly includes the template with some basic content for now. Allows us to get something basic up while I work on the rest of the docs.
More will be adde later on.
Relates to #1.

@jeffhollan Netlify setup looks legit - Thanks!

Looks great.  @tomkerkhove do you want to divide and conquer on other docs? LEt me know if there's scalers / behaviors / aspects you want me to work on


typo

FEATURE_NAME
Short description
Fixin' a typo
Tasks done

[ ] Updated $DEVILBOX_DATE in config.php

Thank you.


Can disable logging on demand

I was working on a way to disable on ::create however it proved to be harder than expected.
Please modify the code if you have any way of improving it and making it visually prettier to look at.
I've added 3 tests to support this.
Usage
$user = User::find(1);

// Example 1:
$user->withoutActivityLogging()->update(['name' => 'Testing']);

// Example 2:
$user->withoutActivityLogging();
$user->name = 'Testing';
$user->save();

Re-enabling logging for same model
Should you want to enable logging again, I've added another method:
$user = User::find(1);

// Disable
$user->withoutActivityLogging()->update(['name' => 'Not logged']);

// Enable
$user->withActivityLogging(); // with, not without
$user->name = 'Logged';
$user->save();

#226

Any news about this PR guys ?

@freekmurze @LasseRafn is this improve dead ?

I was working on a way to disable on ::create however it proved to be harder than expected.
Please modify the code if you have any way of improving it and making it visually prettier to look at.
I've added 3 tests to support this.
Usage
$user = User::find(1);

// Example 1:
$user->withoutActivityLogging()->update(['name' => 'Testing']);

// Example 2:
$user->withoutActivityLogging();
$user->name = 'Testing';
$user->save();

Re-enabling logging for same model
Should you want to enable logging again, I've added another method:
$user = User::find(1);

// Disable
$user->disableLogging()->update(['name' => 'Not logged']);

// Enable
$user->enableLogging();
$user->name = 'Logged';
$user->save();

@freekmurze docs.: https://github.com/spatie/docs.spatie.be/pull/186

Thanks!


Standardize event data for borrowing event

May fix #240

added BorrowingEventData model
impl parsed event data in parse_borrowing_event

@ikemHood Please, resolve conflicts

Done


Add Swedish

Don't know if there is any point in add adding country code, but the other languages has one... ^^

@a-morn Thanks for a new language. =)


Upgrade to OpenDAL v0.46

OpenDAL just releases v0.46.0. It contains Buffer Based IO which can make object store read/write more efficient and reduces the memory footprint so the upgrade is worth trying.
Note that v0.46.0 contains breaking changes including not only interface changes but also changes related to compilation feature flags. We need to carefully test this version to avoid breaking RW backward compatibility.

Currently blocked by #15722

Is there progress on this PR? I'm trying to update arrow to 51 to integrate with iceberg-rust and find that it need opendal 0.46 finally. If not yet I can send a PR to upgrade them together.

Done by #17563


vim9script: E1013: argument 2: type mismatch, expected bool but got bool

Describe the bug
It is not possible to provide a default value for function arguments of type
bool when the argument is not the first one. Vim prints an error when the
default value is set to true, false, v:true or v:false, but works fine
when set to a number.
To Reproduce

Run vim --clean -S test.vim, with

" test.vim
vim9script
def Test(n: number, neg: bool = true): number
    return neg ? -n : n
enddef
defcompile

Result:

Error detected while processing function <80><fd>R114_Test:
line    1:
E1013: argument 2: type mismatch, expected bool but got bool

The same error occurs when v:true or v:false are used.  Using 0 or 1 as
default values works though:
def Test(n: number, neg: bool = 1): number
    return neg ? -n : n
enddef

Expected behavior
No error messages.
Environment
Vim version 8.2.1206

Best error message ever: "expected bool but got bool".  Giving an error for doing things right...


feat: upstream/remote support custom http client

Now, upstream/remote uses *http.Client to send requests,
but it's difficult when discovery is not by domain

I deploy Pyroscope on a cluster.
Client  discovers the cluster through a naming service, which provides an IP list (and port) instead of domain names.
As instances of Pyroscope are subject to change, the IP list in the naming service will also change accordingly.
I also expect to use the custom client to print request/response logs, just like other clients in the Client APP.


Reduce crypt3.sh parameters

Using which command to auto find openssl executable.
Changed from tabs to spaces.
Some comments were removed..

Thanks Jean.


[Feature Request] Native Linux Version

I wanna use a native Linux source port,so does that work if I use SQL2 with wine?
If not,I would like a native Linux version.
A native Linux version would be great anyways,cause wine programs can't use my theme probably.

Can't be done, sorry.


adding support of mega_bytes when configuring broker response size

Currently when specifying the response size limit,  raw_byte is used. Since most scenarios will need to set the limit to multiple-MB, using raw_byte is inconvenient (i.e., not user-friendly).   For instance, 128MB would be 128000000.
i.e., "pinot.broker.max.query.response.size.bytes":"128000000"
This PR allows specifying the response size limit in human readable format (e.g., '128MB', '128M').
Also add clarifications about how the existing configs works:  If both query.response.size and server.response.size are given, then the server.response.size will take precedence (i.e., ignoring the query.response.size value).
Underlying the hood, the server.response.size will be checked first. If it has a value, then the feature will ignore the query.response.size.
So the users are expected to only set one of the two options (query.response.size or server.response.size).

Codecov Report
Attention: Patch coverage is 0% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 0.00%. Comparing base (59551e4) to head (459311e).
Report is 23 commits behind head on master.

Files
Patch %
Lines

...roker/requesthandler/BaseBrokerRequestHandler.java
0.00%
8 Missing :warning:

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #12510       +/-   ##
=============================================
- Coverage     61.75%    0.00%   -61.76%
=============================================
  Files          2436     2373       -63
  Lines        133233   129752     -3481
  Branches      20636    20128      -508
=============================================
- Hits          82274        0    -82274
- Misses        44911   129752    +84841
+ Partials       6048        0     -6048

Flag
Coverage Δ

custom-integration1
?

integration
0.00% <0.00%> (-0.01%)
:arrow_down:

integration1
?

integration2
0.00% <0.00%> (ø)

java-11
?

java-21
0.00% <0.00%> (-61.63%)
:arrow_down:

skip-bytebuffers-false
0.00% <0.00%> (-61.75%)
:arrow_down:

skip-bytebuffers-true
0.00% <0.00%> (-27.73%)
:arrow_down:

temurin
0.00% <0.00%> (-61.76%)
:arrow_down:

unittests
?

unittests1
?

unittests2
?

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@vvivekiyer @Jackie-Jiang , can you take a look? Thanks.

Suggest reusing the same field but allow it to take values such as 128MB. Take a look at DataSizeUtils

+1 to Jackie suggestion

@Jackie-Jiang , I made changes per your suggestions. Can you take a look? Thanks.


Parse HTML with mruby

Sorry for using the issue tracker for this, I was wondering if there was a mruby html parser i could use that could easily run on any given OS?
If there's not, what would be the easiest way to tackle this problem? Thnx!

As far as I know, there's no mrbgem to support HTML parsing.  For searching mrbgems, you can use mgem command.
gem install mgem
mgem update
mgem list
mgem search html

The easiest way may depend on your demand. Simple regular expression match may work (the easiest), or porting simple Ruby htmlparser (medium), or developing a wrapper for libxml (the hardest).

Thank you for the suggestions!


Check for binary in more BASHy way, set +e not needed any more

This would be helpful when running the installer on a slow connection. Because there is no output at the beginning, it makes you think that nothing is happening.


HAWQ-673. Unify out put of explain analyze.

output of explain analyze is different between one QE and multiple QE, we should unify the output format.

+1


SVG thumbnail graphic not displaying, but preview pane is showing graphic

Microsoft PowerToys version
0.49.0
Running as admin

[X] Yes

Area(s) with issue?
SVG Thumbnail
Steps to reproduce
Installed PowerTows 0.49.0 (the latest as of today). I am running Windows 10 Pro v21H1. I've tried all troubleshooting tips. Cleared thumbnail cache via Disk Cleanup (few times). Made sure "Always show icons, never thumbnails" is unchecked in File Explorer > View options, ran PowerToys as Admin & enabled thumbnails etc. (all options turned on), restarted PC (many times), even uninstalled and re-installed PowerToys and repeated set up.
Saw this was an issue in the past as well, I think due to .NET Core compatibility issues?  Let installer load the supposedly right version. Running MS Windows Desktop Runtime 3.1.15 (x64)
✔ Expected Behavior
To see the actual thumbnail graphic for every SVG file displayed via File Explorer View of "...icons" NOT the Chrome/App icon for all of them. Expect to see thumbnail for each file as well as larger graphic view via the Preview Pane when I click on a particular SVG file.
❌ Actual Behavior
Only see Chromo icon for all SVG files vs. actual thumbnail graphic for each. However I DO see actual graphic image in Preview Pane.  So PowerTools did provide that capability which did not exist before.
I have hundreds of SVG files to work with and unfortunately graphics design team named the files by # vs. anything logically related to image. So I am in desperate need to view via File Explorer the SVG graphic thumbnail for each file vs. having to click on each to see in Preview Pane before making a selection. Any more advice or troubleshooting tips would be greatly appreciated.
Here's screen shot of what I see in File Explore with Preview Pane.

Was SO excited to discover this toolset!!  Thank you for your help in making SVG viewing dreams come true :-)!!
Other Software
No response

Duplicate of https://github.com/microsoft/PowerToys/issues/14097
Is this by any chance a folder that is shared by One Drive, like the recent conversion on that other issue? Please let's have the discussion there.


Configure gsoci.azurecr.io as the registry to use by default

Towards

https://github.com/giantswarm/roadmap/issues/3017

This PR replaces any occurrence of docker.io in values.yaml files with gsoci.azurecr.io,
to make the new ACR registry the default one.

@marians should this still be a draft ?

@marians should this still be a draft ?

Yes

@QuentinBisson This is ready :)


Missing SVG icons for optional rich text features

Issue Summary
Wagtail doesn't provide SVG icons for optional rich text features like strikethrough, superscript and subscript. It would also be a good addition to provide an SVG icon for underline as well, even though this rich feature is not implemented at the moment.
Steps to Reproduce

Enable the "strikethrough" rich feature:

class RichTextBlock(blocks.RichTextBlock):

    def __init__(self, **kwargs):
        super().__init__(
            features=[
                'bold',
                'italic',
                'strikethrough',
            ],
            **kwargs)

Check the rich editor menu and see the empty space where it's supposed to be an icon.

I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: (yes / no)

Yes
Technical details

Python version: Run python --version.

Python 3.8.3

Django version: Look in your requirements.txt, or run pip show django | grep Version.

Version: 3.0.8

Wagtail version: Look at the bottom of the Settings menu in the Wagtail admin, or run pip show wagtail | grep Version:.

Version: 2.10rc1

Browser version: You can use https://www.whatsmybrowser.org/ to find this out.

Chrome 84

The icons that need adding are:

Name
FontAwesome link

superscript
https://fontawesome.com/icons/superscript?style=solid

subscript
https://fontawesome.com/icons/subscript?style=solid

strikethrough
https://fontawesome.com/icons/strikethrough?style=solid


Provide more resources for profile validation

Is your feature request related to a problem? Please describe.
IBM App Connect for Healthcare is using the jars from fhir-validation-distribution.zip to offer a FHIR resource validation capability for our users. While it's straightforward to create resources that force errors and warnings for basic validation failures, it is not so for Profile validation so it is not easy to create automated tests that exercise this.
Describe the solution you'd like
For our testing of Profile validation we would like IBM FHIR to provide, for the FHIR core Profile and each fhir-ig-* Profile in the IBM FHIR repo, the following ...

A few resources that assert the Profile reference and fail Profile validation with errors.
Same resources but which do not assert the Profile reference, the idea being that if the Profile reference was passed to FHIRValidator, it would then fail validation with same errors.
The above in both JSON and XML format.

Existing example https://github.com/IBM/FHIR/blob/master/fhir-ig-carin-bb/src/test/resources/JSON/EOB1.json is a great starting point.
Describe alternatives you've considered
Create the resources ourselves, which will take us a lot longer. The resources effectively exist in your unit tests, but as Java classes.
Additional context
As discussed with @JohnTimm and @prb112 .

It would also be nice to have a specific guide on how to create and package a user-defined Profile as its own jar. This is alluded to in https://ibm.github.io/FHIR/guides/FHIRValidationGuide but I think it needs have a lot more detail.

Might be a good idea for one of the resources in 1) above to be a contained resource?

@smhdfdl John has added the examples that were discussed.
https://github.com/ibm/FHIR/commit/34f13dea456d40f04ecd99150104d3365351e7f0
XML Examples fhir-ig-carin-bb/src/test/resources/XML/
JSON Examples fhir-ig-carin-bb/src/test/resources/JSON/
Please let us know if you require any further details/changes updates..


doc: mention the conflict between endContent and isCLearable

📝 Description
endContent overrides the clear button in isClearable
💣 Is this a breaking change (Yes/No):
No

next minor release would support both at the same time.


Partially downloaded files have the executable bit set

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2022.04.08 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Description
I noticed that while a stream download is in progress, the .part files with the partially-download data have the executable permission bit set. This is nonsensical, as the files are not actually executable.
The final download files do not have the executable bit set, making this problem transient and mostly cosmetic.
Verbose log
$ yt-dlp --version
2022.04.08
$ ls -l   # while yt-dlp https://www.youtube.com/channel/UCaJzpFqRQa0Bcu9BWi_drKw -f bestaudio is active in another terminal
[SNIP]
-rw-r--r-- 1 stirlitz stirlitz 3539889 2019-11-23  'The X2 Anthem GM [Cw_KFkaDRtA].webm'
-rwxr-xr-x 1 stirlitz stirlitz  261120 04-18 17:21 'Thinking of You [yoXZMdmUlyQ].webm.part'
-rw-r--r-- 1 stirlitz stirlitz 3544772 2020-05-19  'Time Machine 2019 [3zjtMpBkVSE].webm'
[SNIP]

Even you don't provide verbose log!? 😭
The issue is supposed to be fixed by https://github.com/yt-dlp/yt-dlp/commit/98804d034d04d21cbeb8cd43d1e1d90f1cdae836. But Idk whether you are using master or release

I thought it wouldn’t be particularly relevant. No, this is not a (homebrew) nightly build, it’s the normal release. (I normally use those only for development.)
I guess the ticket can be closed then.

I thought it wouldn’t be particularly relevant.

The verbose head is always relevant, at least to get the exact version info
[debug] yt-dlp version 2022.04.08 [7884ade65] (source)
[debug] Lazy loading extractors is disabled
[debug] Git HEAD: 6f638d325
[debug] Python version 3.10.4 (CPython 64bit) - Windows-10-10.0.22000-SP0

Granted. What can I say, laziness got the best of me.
Wouldn’t it be good to include that detailed version info in --version output, though?

It is possible other apps (like GUIs) depend on --version output to check for updates. So changing it's structure could be problematic


How to add Constraints to the layer after the model is initialized?

Please make sure that this is a Bug or a Feature Request and provide all applicable information asked by the template.
If your issue is an implementation question, please ask your question on StackOverflow or on the Keras Slack channel instead of opening a GitHub issue.
System information

Have I written custom code (as opposed to using example directory): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):  Linux Ubuntu 18
TensorFlow backend (yes / no):  Yes
TensorFlow version:  1.13.1
Keras version:  2.2.4
Python version:  3.6.8
CUDA/cuDNN version:
GPU model and memory:

You can obtain the TensorFlow version with:
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
You can obtain the Keras version with:
python -c 'import keras as k; print(k.version)'
Describe the current behavior
I want to test a custom Constraint function that I have written on various models. However, the only way I know of adding a constraint to a layer is while declaring the model. If I want to use models from other people and simple apply my custom constraint and retrain it, I am not able to do so.
Describe the expected behavior
I tried doing layer.kernel_constraint = CustomConstraint() and then all possible combinations of recompiling and initialising variables etc. afterwards, but none of that seems to work.
for ele in model.layers:
    print(ele.kernel_constraint) # Gives output None
for ele in model.layers:
    ele.kernel_constraint = CustomConstraint()

model.compile(loss=someloss, optimizer=somethingelse)

for ele in model.layers:
    print(ele.kernel_constraint) # Prints some object

model.fit() # Doesn't work the way I want it to

By doing the above, the layer.kernel_constraint is changed to the object at which I want it to be pointing. But since the CustomConstraint in itself contains tensor graphs which should be initialised for it to work, I think they are not getting initialsed.
Instead if I add it as
x = Layer1(kernel_constriant = CustomConstraint())(x)

.......
model.compile(loss=someloss, optimizer=somethingelse)

for ele in model.layers:
    print(ele.kernel_constraint) # Prints some object

model.fit() # Works exactly as I want it to

everything works fine and the Constraint works as desired
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
Clearly I cannot do the second one if I want to take the model as an unknown input to my program. So I need a way to add constraint to the layers of a model that has already been declared

Hi @prakharg24, 2nd way that you implemented custom constraint is the right way:
Look at how in-built constraints are implemented:
https://github.com/keras-team/keras/blob/master/keras/constraints.py
And then use CustomConstraint in the same way as in-built:
model.add(Dense(64, kernel_constraint= CustomConstraint(your', parameters', go', here')))
Hope this helps :)

I know the 2nd way works perfectly, but I want to make some way of making it work in the 1st case too.
Let me add more details to my problem,
Lets say you have a model object 'm' and you want to add custom constraints to it. How will you design a function to do that? You know nothing about the model architecture beforehand because someone else designed it, not you. So you need to work with this object 'm' and try to add custom constraint to every layer (or some layers) present in it.
My current workaround is,
all_params = []
for layer in model.layers:
    param_dict = {}
    if('conv' in model.name):
        param_dict['type'] = 'conv'
        param_dict['name'] = ele.name
        param_dict['filters'] = ele.filters
        ..... # other parameters that I think are important with respect to this layer
    elif('flatten' in model.name):
        .... # Do the same for other layers too

    all_params.append(param_dict)

model = Sequential()
for ele in params_dict:
    if(ele['type']=='conv'):
        model.add(Conv2d(name=ele['name'], filters= ele['filter'] .... , kernel_constraint=CustomConstraint())
    elif(ele['type']=='dense'):
    ..... # and so on for all the layers

The above code can do what I want but assumes that I know what all type of possible layers can be and also what all parameters in them might ever have any input other than the default values. It also assumes a certain relation between the layer name and its type, but we can skip that for now (I know how to solve that, I just haven't gotten to it yet).
Is there a better way of doing this?
I hope this clears up what I want.
Thanks :)

Any updates? @gowtham-kp

Any updates on this? Is there any way to get the first code mentioned by @prakharg24 working (adding constraint to layers in existing models)?


Implement implicit call method tear-offs with extension typed receivers

This implementation issue is associated with the proposal in https://github.com/dart-lang/language/issues/3467, that is, the proposal to support implicit call method tear-offs for receivers whose static type is an extension type.
Consider the following example:
extension type Ext(Function it) {
  String call() => 'call from Ext: ${it()}';
}

class C {
  String call() => 'call from C';
}

class D {
  Function get fgetter => Ext(C()); // (1)
}

void main() {
  var d = D();
  print(d.fgetter());
}

At (1) in this example, we evaluate the expression Ext(C()) with a context type of Function. Following the treatment of a receiver of an interface type that has a method named call, this expression should be implicitly transformed into Ext(C()).call, and the resulting program would then be type correct.
(Of course, C() will be subject to the same transformation because that's the case that we already support, yielding Ext(C().call).call.)
This issue serves as a request to implement this feature. It may be implemented in the analyzer already, but the CFE reports an error when Ext(...) is encountered with context type Function. I'll create subtask issues for both, and then the analyzer subtask may be trivial.
Subtasks:

https://github.com/dart-lang/sdk/issues/54340
https://github.com/dart-lang/sdk/issues/54341

Yes

Done.


Bug report list for 1.0 preview

What happened?
So I visited all of the nine holds on some minor places, entered every cell looked at every npc to see, if i find some bugs. Here are some, I might have missed things

Npc Appearance bug/others

Lucien Flavius Face bug
https://imgur.com/a/AzDBs7S
Skjor, Kodlak Whitemane and Torvar floating Hands bug
https://imgur.com/a/iDxQBMS
Aia Arria missmatched head and body color
https://imgur.com/a/dzyySpv
When encountering an npc for the first time, sometimes darkface bug or are naked, fixed by reloading game(i suppose). Some examples:
https://imgur.com/a/zg8LRVo

Texture missing bug/others

Missing pillar texture in Dragonsreach and Jarls Quarters in Whiterun (probalby fixed by latest update)
https://imgur.com/a/438i7jt
Missing texture in Hall of Dead in Whiterun
https://imgur.com/a/igCXF1V
Invisible floor in Arch Mage's Quarters in College of Winterhold ( seen when entering doorframe)
https://imgur.com/a/FXjvhyj
Door into the void in Proudspire Manor in Solitude (second floor)
https://imgur.com/a/5CF7rBT
Floating Sign in Kynesgrove outside the Inn
https://imgur.com/a/HhLlItS
-Some objects i'm not sure about, if they are intended
Two bridges outside Markarth
https://imgur.com/a/UZyp066
Grass on floor inside Hall of Kyne in Ivarstead
https://imgur.com/a/cjaHClu

Modlist version
1.0 preview

fixed in 1.0


Using constant as type

Recently I've been trying to use flow with Redux. I have error with this snippet:
// in actions/auth/register
export const REGISTER = 'REGISTER';
export const SUCCESS_REGISTER_USER = 'SUCCESS_REGISTER_USER';

// in type declaration files
import {
  REGISTER,
  SUCCESS_REGISTER_USER
} from 'actions/auth/register';

import User from 'types/User';

export type Action =
  | {type: REGISTER, user: User}
  | {type: SUCCESS_REGISTER_USER, user: User}

However, flow doesn't complain when I change type Action to
export type Action =
  | {type: 'REGISTER', user: User}
  | {type: 'SUCCESS_REGISTER_USER', user: User}

And flow complain that Cannot use string as a type because string is a value. To get the type of a value use typeof. Does anyone know how to resolve this?

As explained by the error message: To get the type of a value use typeof:
export type Action =
  | {type: typeof REGISTER, user: User}
  | {type: typeof SUCCESS_REGISTER_USER, user: User}

@jcready I thought typeof REGISTER is a string, and a random action like {type: "random stuff", user} will still pass the typecheck.

@jcready still doesn't fix the error

jcready, it's not a solution, it's a verbose workaround.

I also ran into this problem, how about this?
const register = { Register }

export type Action = {
  type: $Values<typeof register>,
}

We are not going to change this behavior


Does not work with nvim 0.9.5 out of the box

Installation from scratch with nvim 0.9.5 (the current version included in Ubuntu 24.04 LTS) gives error message
lazydev.nvim requires Neovim >= 0.10
As far as I understand lazydev.nvim is not relevant for working with quarto in neovim, so it should better be disabled by default to support a straight-forward setup experience.
More crucial seems to be otter.nvim, it also requires Neovim >= 0.10. Any chance to get this running with nvim 0.9.5 at all?

For time reasons I can only actively maintain the latest stable version, but feel free to take just the pieces you find interesting from my config into your own :)
For otter, yes, that would be possible, but I decided against it again for time reasons. It's actually just the vim.lsp.protocol.Methods table I use to look up up-to-date lsp request names, so that could be made available within otter itself for sub 0.10 versions. I'm open for a PR though!


Added documentation about ClickHouse testing

👍
But integration testing doesn't work well on the mac. 😞 It took me a lot of time to give up. should plan to support it ?


FIX Avoid creating repository when it exists on remote

This PR partially fixes https://github.com/huggingface/huggingface_hub/issues/672.
I observed that the following error pops up when I create a repository using huggingface API create_repo and then have a local repository cloning from the URL using a token (here)
ValueError: No space_sdk provided. create_repo expects space_sdk to be one of ['gradio', 'streamlit', 'static'] when repo_type is 'space'
So I noticed the following block was causing the problem:
if token is not None:
                whoami_info = self.client.whoami(token)
                user = whoami_info["name"]
                valid_organisations = [org["name"] for org in whoami_info["orgs"]]

                if namespace is not None:
                    repo_id = f"{namespace}/{repo_id}"
                repo_url += repo_id

                scheme = urlparse(repo_url).scheme
                repo_url = repo_url.replace(f"{scheme}://", f"{scheme}://user:{token}@")

                if namespace == user or namespace in valid_organisations:
                    self.client.create_repo(
                        repo_id=repo_id,
                        token=token,
                        repo_type=self.repo_type,
                        exist_ok=True,
                        private=self.private,
                    )
            else:
                if namespace is not None:
                    repo_url += f"{namespace}/"
                repo_url += repo_id

Only name being valid shouldn't be enough to create a repository, we have to check if the repository exists on remote so I added a small check on that (thanks @muellerzr for pointing out to particular HfApi function that does it).
With this, space_sdk error should be gone. I'll add test once @LysandreJik approves my logic in here.
Also this is separate but IDK if it's good to have an attribute clone_from and the clone_from() function. I can refactor couple of things I saw there that's not good to me as well.

Super weird thing
I can do following:
api = HfApi()

temp_repo_url = api.create_repo(
            repo_id="merve/temp", token=token,
            repo_type="space", space_sdk="gradio"
        )
repo = Repository("./dummy", clone_from=temp_repo_url,
        use_auth_token=token
        )

But when I run the test I've written (below) I still get the same error.
def test_init_clone_from(self):
        temp_repo_url = self._api.create_repo(
            repo_id=f"{self.REPO_NAME}-temp", token=self._token,
            repo_type="space", space_sdk="gradio"
        )
        repo = Repository(WORKING_REPO_DIR, clone_from=temp_repo_url,
        use_auth_token=self._token
        )
        self._api.delete_repo(
                repo_id=f"valid_org/{self.REPO_NAME}", token=self._token
            )

I have other stuff to do so will leave this for monday.

@osanseviero yup I'm sure (I uninstalled and installed again)
What I'm testing here is that it should bypass creating the repository remotely given there's a repository remotely already (which we check with HfApi.repo_info())

@osanseviero it passed 😏

This seems to be passing the tests now 😄

Please do not review I know what the problem with tests is :D

I added three tests:

test_init_clone_from() checks that when space exists it's clone well
test_clone_from_space() makes sure the space is not created if it doesn't exist
test_clone_from_model() makes sure that model is created if it doesn't exist.

One of the tests are not passing because moon-landing staging is down 😅

@merveenoyan it seems you're using an outdated version of black. Could you updated to the one required by huggingface_hub and run the code quality fix? Should be something like the following, from the root of your clone:
pip install -U -e .[quality]
make style
make quality

@SBrandeis, @XciD, would you have why we're getting errors 500 on the test_init_clone_from test? It seems like creating a space using create_repo doesn't work and throws an error 500. Reproducible code example:
temp_repo_url = create_repo(
    repo_id=f"temp",
    token=token,
    repo_type="space",
    space_sdk="streamlit"
)

I tried with both streamlit, gradio. However, static seems to work just fine!

@LysandreJik I just created a repo using the CLI with success. Maybe there's an issue with your token ?

@christophe-rannou the token is that of the CI, we're using the same token for all CI. Were you on the production endpoint or the staging endpoint?

Production one, it's the staging one that is not working ?

Production one, it's the staging one that is not working ?

Seems related to CI, will investigate.

This one fails HfApiEndpointsTest.test_create_update_and_delete_space_repo with 500 like it was failing for my PR, see below where the error comes from (due to picking other SDKs for others)
for sdk in SPACES_SDK_TYPES:
            SPACE_REPO_NAME = space_repo_name(sdk)
            self._api.create_repo(
                repo_id=SPACE_REPO_NAME,
                token=self._token,
                repo_type=REPO_TYPE_SPACE,
                space_sdk=sdk,
            )
            res = self._api.update_repo_visibility(
                repo_id=SPACE_REPO_NAME,
                token=self._token,
                private=True,
                repo_type=REPO_TYPE_SPACE,
            )
            self.assertTrue(res["private"])
            res = self._api.update_repo_visibility(
                repo_id=SPACE_REPO_NAME,
                token=self._token,
                private=False,
                repo_type=REPO_TYPE_SPACE,
            )

This exact test fails on main since https://github.com/huggingface/huggingface_hub/pull/898 was merged, I would offer to skip that test until this is resolved, and merge this PR. Ok for you @merveenoyan ?

@LysandreJik sure!

Was this supposed to be merged? As @LysandreJik mentioned, I think we should add the flag/decorator to skip the test so the tests are not failing ( @unittest.SkipTest for example)

No problem @osanseviero, I opened a PR to fix the problem there: https://github.com/huggingface/huggingface_hub/pull/908
But now we have another problem with our CI because of the new datasets release, so waiting until that is fixed to merge it.

About the spaces bug, we found it.
Waiting for https://github.com/huggingface/moon-landing/pull/3252/commits/f2e8068348e225ba1f07c5d27a38843253e23dcb to be merged.

About the spaces bug, we found it. Waiting for huggingface/moon-landing@f2e8068 to be merged.

Fixed


BlendMode.multiply and BlendMode.modulate are swapped

i have the custom CustomPainter class:
class BlendPainter extends CustomPainter {
  ui.Image image, mask;

  BlendPainter(this.image, this.mask);

  @override
  void paint(Canvas canvas, Size size) {
    Rect r = Offset.zero & size;
    Paint paint = Paint();

    if (image != null && mask != null) {
      Size inputSize = Size(mask.width.toDouble(), mask.height.toDouble());
      FittedSizes fs = applyBoxFit(BoxFit.contain, inputSize, size);

      Rect src = Offset.zero & fs.source;
      Rect dst = Alignment.center.inscribe(fs.destination, r);

      canvas.saveLayer(dst, Paint());
      canvas.drawImageRect(image, src, dst, paint);

      // paint.blendMode = BlendMode.multiply;
      paint.blendMode = BlendMode.modulate;

      canvas.drawImageRect(mask, src, dst, paint);
      canvas.restore();
    }
  }

  @override
  bool shouldRepaint(CustomPainter oldDelegate) => true;
}

and for image:

and mask:

i got the following result for BlendMode.multiply:

and BlendMode.modulate:

i am pretty sure that BlendMode.multiply should also multiply the alphas of both images so the result should not be round rectangle - this leads me to the conclusion that those both modes are swapped or something

flutter doctor -v. output:
[✓] Flutter (Channel dev, v0.10.0, on Linux, locale en_US.UTF-8)
    • Flutter version 0.10.0 at /home/pskink/tmp/flutter-master/flutter
    • Framework revision d954ae6850 (2 weeks ago), 2018-10-09 16:21:06 -0400
    • Engine revision bf377896ff
    • Dart version 2.1.0-dev.6.0.flutter-a50dfd6698

[!] Android toolchain - develop for Android devices (Android SDK 28.0.2)
    • Android SDK at /home/pskink/android-sdk-linux
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.2
    • ANDROID_HOME = /home/pskink/android-sdk-linux
    • Java binary at: /home/pskink/tmp/android-studio/android-studio-3.3.0-beta01/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    ✗ Android license status unknown.

[✓] Android Studio (version 3.0)
    • Android Studio at /home/pskink/tmp/android-studio/android-studio-3.0.0
    • Flutter plugin version 22.2.1
    • Dart plugin version 171.4424
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[✓] Android Studio (version 3.2)
    • Android Studio at /home/pskink/tmp/android-studio/android-studio-3.2.0
    • Flutter plugin version 29.0.2
    • Dart plugin version 181.5616
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] Android Studio (version 3.1)
    • Android Studio at /home/pskink/tmp/android-studio/android-studio-3.1.4
    • Flutter plugin version 27.1.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] Android Studio (version 3.3)
    • Android Studio at /home/pskink/tmp/android-studio/android-studio-3.3.0-beta01
    • Flutter plugin version 29.1.3
    • Dart plugin version 182.4999
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[!] IntelliJ IDEA Community Edition (version 2017.1)
    • IntelliJ at /home/pskink/tmp/idea/idea-IC-171.4694.23
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    • Dart plugin version 171.4694.29
    • For information about installing plugins, see
      https://flutter.io/intellij-setup/#installing-the-plugins

[!] Connected device
    ! No devices available

! Doctor found issues in 3 categories.

This is still an issue in Flutter 1.7.8+hotfix.4.

Hi @pskink
The code sample you provided isn't working
Here I tried to reproduce but the normal drawImageRect is working but not your code

code sample
import 'package:flutter/material.dart';
import 'dart:ui' as ui;
import 'package:flutter/services.dart' show rootBundle;
import 'dart:async';
import 'dart:typed_data';

void main() => runApp(new MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      title: 'Flutter Demo',
      theme: new ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: new MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => new _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  ui.Image image;
  ui.Image mask;

  bool isImageloaded = false;
  bool isMaskloaded = false;
  void initState() {
    super.initState();
    init();
    initMask();
  }

  Future<Null> init() async {
    final ByteData data = await rootBundle.load('assets/dash.png');
    image = await loadImage(new Uint8List.view(data.buffer));
  }

  Future<Null> initMask() async {
    final ByteData data = await rootBundle.load('assets/mask.png');
    mask = await loadImage(new Uint8List.view(data.buffer));
  }

  Future<ui.Image> loadImage(List<int> img) async {
    final Completer<ui.Image> completer = new Completer();
    ui.decodeImageFromList(img, (ui.Image img) {
      setState(() {
        isImageloaded = true;
      });
      return completer.complete(img);
    });
    return completer.future;
  }

  Widget _buildImage() {
    if (this.isImageloaded) {
      return new CustomPaint(
        painter: new ImageEditor(image: image, mask: mask),
      );
    } else {
      return new Center(child: new Text('loading'));
    }
  }

  @override
  Widget build(BuildContext context) {
    return new Scaffold(
        // appBar: new AppBar(
        //   title: new Text(widget.title),
        // ),
        body: new Container(
      child: _buildImage(),
    ));
  }
}

class ImageEditor extends CustomPainter {
  ImageEditor({
    this.image,
    this.mask,
  });

  ui.Image image;
  ui.Image mask;

  @override
  void paint(Canvas canvas, Size size) {
    Rect r = Offset(100, 100) & size;
    Paint paint = Paint();

    if (image != null && mask != null) {
      Size inputSize = Size(image.width.toDouble(), image.height.toDouble());
      FittedSizes fs = applyBoxFit(BoxFit.contain, inputSize, size);
      Rect src = Offset.zero & fs.source;
      Rect dst = Alignment.center.inscribe(fs.destination, r);

      canvas.saveLayer(dst, Paint());
      canvas.drawImageRect(image, src, dst, paint);

      // paint.blendMode = BlendMode.multiply;
      paint.blendMode = BlendMode.modulate;

      canvas.drawImageRect(mask, src, dst, paint);
      canvas.restore();

      // canvas.drawImageRect(
      //   image,
      //   Rect.fromLTRB(
      //       100, 100, image.width.toDouble(), image.height.toDouble()),
      //   Rect.fromCircle(center: new Offset(100, 100), radius: 100),
      //   new Paint(),
      // );
    }
  }

  @override
  bool shouldRepaint(CustomPainter oldDelegate) => true;
}

flutter doctor -v
[✓] Flutter (Channel master, 1.24.0-8.0.pre.375, on macOS 11.0.1 20B29
    darwin-x64, locale en-GB)
    • Flutter version 1.24.0-8.0.pre.375 at
      /Users/tahatesser/Code/flutter_master
    • Framework revision a7f5fd5360 (26 hours ago), 2020-11-30 13:14:13 +0100
    • Engine revision 20caf54969
    • Dart version 2.12.0 (build 2.12.0-76.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.51.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (4 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 10 (API 29)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 11.0.1 20B29
      darwin-x64
    • Web Server (web) • web-server       • web-javascript • Flutter Tools
    • Chrome (web)     • chrome           • web-javascript • Google Chrome
      87.0.4280.67

• No issues found!

Can you please provide your flutter doctor -v and flutter run --verbose logs, and a minimal complete reproducible code sample?
Thank you

the flutter doctor -v output is already attached and the code to run is as follows (nothing special - just CustomPaint widget as a Scaffold's body:):
import 'dart:io';
import 'dart:ui' as ui;
import 'package:flutter/material.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  final image = await decodeImageFromList(await File('image.png').readAsBytes());
  final mask = await decodeImageFromList(await File('mask.png').readAsBytes());
  runApp(MaterialApp(
    home: Scaffold(
      body: CustomPaint(
        painter: BlendPainter(image, mask),
        child: SizedBox.expand(),
      ),
    ),
  ));
}

Thanks, added path_provider to get a path for images from the directory.
I can reproduce the issue

complete code sample
import 'dart:io';
import 'dart:ui' as ui;
import 'package:flutter/material.dart';
import 'package:path_provider/path_provider.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();

  var _appDocumentsDirectory = await getExternalStorageDirectory();

  print(_appDocumentsDirectory.path);

  final image = await decodeImageFromList(
      await File('${_appDocumentsDirectory.path}/image.png').readAsBytes());
  final mask = await decodeImageFromList(
      await File('${_appDocumentsDirectory.path}/mask.png').readAsBytes());
  runApp(MaterialApp(
    home: Scaffold(
      backgroundColor: Colors.white,
      body: CustomPaint(
        painter: BlendPainter(image, mask),
        child: SizedBox.expand(),
      ),
    ),
  ));
}

class BlendPainter extends CustomPainter {
  ui.Image image, mask;

  BlendPainter(this.image, this.mask);

  @override
  void paint(Canvas canvas, Size size) {
    Rect r = Offset.zero & size;
    Paint paint = Paint();

    if (image != null && mask != null) {
      Size inputSize = Size(mask.width.toDouble(), mask.height.toDouble());
      FittedSizes fs = applyBoxFit(BoxFit.contain, inputSize, size);

      Rect src = Offset.zero & fs.source;
      Rect dst = Alignment.center.inscribe(fs.destination, r);

      canvas.saveLayer(dst, Paint());
      canvas.drawImageRect(image, src, dst, paint);

      paint.blendMode = BlendMode.multiply;
      // paint.blendMode = BlendMode.modulate;

      canvas.drawImageRect(mask, src, dst, paint);
      canvas.restore();
    }
  }

  @override
  bool shouldRepaint(CustomPainter oldDelegate) => true;
}

flutter doctor -v
[✓] Flutter (Channel master, 1.24.0-8.0.pre.406, on macOS 11.0.1 20B29
    darwin-x64, locale en-GB)
    • Flutter version 1.24.0-8.0.pre.406 at
      /Users/tahatesser/Code/flutter_master
    • Framework revision 60bdcf55fe (4 hours ago), 2020-12-01 21:24:21 -0800
    • Engine revision 20caf54969
    • Dart version 2.12.0 (build 2.12.0-76.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.51.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (5 available)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D          • android-arm64  •
      Android 10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios            • iOS
      14.2
    • macOS (desktop)      • macos                     • darwin-x64     • macOS
      11.0.1 20B29 darwin-x64
    • Web Server (web)     • web-server                • web-javascript •
      Flutter Tools
    • Chrome (web)         • chrome                    • web-javascript • Google
      Chrome 87.0.4280.67

• No issues found!

Any update?

Looking into this, I believe that the documentation for the 2 modes is swapped. For instance, the W3C docs, while they aren't clear on describing the role of alpha, definitely show that transparecy means "nop" rather than "multiply towards transparency", so our implementation appears to be doing what it is supposed to in the results, but the docs for the mode in the Flutter documentation state a conflicting behavior.
We basically just exposed the math that Skia uses which they based on a number of sources, but most of the examples I find on the web seem to match what we do rather than what our docs say.

@flar should we update the engine docs and close this issue?


Fix kernels and statistics (instantaneous_rate & mean_firing_rate)

Breaking changes:

statistics:

when the input is a neo.SpikeTrain or a Quantity and t_start and/or t_stop are given, they (start, stop) should be of type Quantity (previously a float is accepted - error-prone);

Improvements:

kernels:

fixed #288
get rid of the magic in boundary_enclosing_area_fraction function of the Kernel base class
fixed a slightly wrong estimate of the true boundary_enclosing_area_fraction function of AlphaKernel class --> more than x100 speedup for the AlphaKernel --> the runtime of the tests decreased from 7 sec to 70 ms;
fixed the wrong median_index() kernel function and added tests

statistics:

vectorized binning in instantaneous_rate()
refactored mean_firing_rate(), see Braking changes

Not done/Unsure:

EpanechnikovLikeKernel pdf differs from scipy implementation
instantaneous_rate() todo:

    if not trim:
        # TODO: -kernel_array_size + mi + 1 ? to be consistent with 'valid'
        #  mode
        rate = rate[median_id: -kernel_array_size + median_id]

Hello @dizcza! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file elephant/kernels.py:

Line 440:19: E127 continuation line over-indented for visual indent
Line 443:19: E127 continuation line over-indented for visual indent

In the file elephant/statistics.py:

Line 1071:13: E125 continuation line with same indent as next logical line
Line 1075:13: E125 continuation line with same indent as next logical line

In the file elephant/test/test_kernels.py:

Line 106:28: E127 continuation line over-indented for visual indent

In the file elephant/test/test_statistics.py:

Line 420:80: E501 line too long (80 > 79 characters)
Line 522:24: E127 continuation line over-indented for visual indent
Line 535:80: E501 line too long (82 > 79 characters)

Coverage increased (+0.1%) to 85.085% when pulling 495d918d02b2363744a381a0420205b9ce3dcf90 on INM-6:fix/kernels into 2bccc01630d75366990bef42ae8077e381d95ca3 on NeuralEnsemble:master.


Add support for running KAC on hostNetwork

This PR introduces support for running KAC on hostNetwork and setting of dnsPolicy which is needed when some scenarios such as when custom CNI's are in use and control plane nodes are not be able to initiate network connections to pods.
Additionally this change adds support for configuring the watcher port and fixes missing webhookPort from being passed to the container client.
Bumps the chart version.

Please rebase and drop commit fb9aaa8 as it messes with Git history.

Please remove the appVersion and version bump.  There will be additional changes added to the release.

rebased and removed version bump


Prebuild-install paths are hard to use / lack documentation for multi-platform use

Summary of Problem
(Please answer all 3)

What are you trying to do?
In trying to use prebuild-install to retrieve the bindings for multiple electron versions & platforms
<EMAIL_ADDRESS>--runtime electron --target 4.2.5 --arch x64 --platform win32 --verbose

What happens?
prebuild-install is not able to find

prebuild-install info begin Prebuild-install version 5.3.0
prebuild-install info looking for cached prebuild @ C:\Users\josverl\AppData\Roaming\npm-cache\_prebuilds\e9e8d7-bindings-v2.0.8-electron-v69-win32-x64.tar.gz
prebuild-install http request GET https://github.com/node-serialport/node-serialport/releases/download/v2.0.8/bindings-v2.0.8-electron-v69-win32-x64.tar.gz
prebuild-install http 404 https://github.com/node-serialport/node-serialport/releases/download/v2.0.8/bindings-v2.0.8-electron-v69-win32-x64.tar.gz
prebuild-install WARN install No prebuilt binaries found (target=4.2.5 runtime=electron arch=x64 libc= platform=win32)

the same happens also when using the default platform, version & architecture
<EMAIL_ADDRESS>--verbose
prebuild-install info begin Prebuild-install version 5.3.0
prebuild-install info looking for cached prebuild @ C:\Users\josverl\AppData\Roaming\npm-cache\_prebuilds\89c4e1-bindings-v2.0.8-node-v64-win32-x64.tar.gz
prebuild-install http request GET https://github.com/node-serialport/node-serialport/releases/download/v2.0.8/bindings-v2.0.8-node-v64-win32-x64.tar.gz
prebuild-install http 404 https://github.com/node-serialport/node-serialport/releases/download/v2.0.8/bindings-v2.0.8-node-v64-win32-x64.tar.gz
prebuild-install WARN install No prebuilt binaries found (target=10.15.1 runtime=node arch=x64 libc= platform=win32)

this makes it very hard and troublesome to build and distribute multi-platform packages
also due to quite sparse documentation it is hard to find out why thinks are not working.

What should have happened?

The prebuilds should be found , downloaded, and subsequently installed
it would be even better to have documentation on how to install / download for multiple platforms ( i.e. prepackage for 3 platforms for electron 4.2.5.
Code to Reproduce the Issue
see above ..
possible cause
Comparing the URLs used by prebuild-install and the URLs currently used there appreatrs to be 2 mismatches :

what
link

prebuild-install
https://github.com/node-serialport/node-serialport/releases/download/v2.0.8/bindings-v2.0.8-electron-v69-win32-x64.tar.gz

releases
https://github.com/serialport/node-serialport/releases/download/%40serialport%2Fbindings%402.0.8/bindings-v2.0.8-electron-v69-win32-x64.tar.gz

I notice that in the path there are in 2 place in the path that are incorrect

where
prebuild-install
git hosted

path root folder
node-serialport
serialport

version folder
v2.0.8
<EMAIL_ADDRESS>

Versions, Operating System and Hardware

SerialPort<EMAIL_ADDRESS>and 2.0.8
Node.js - v10.15.1
Windows 10.0.18362.10000
Hardware : n/a

explaining the problem made me look at options to change the version prefix
it turns out there is an option in prebuild-install to do that :-) : --tag-prefix
--tag-prefix @serialport/bindings@
C:\develop\<project>\node_modules\@serialport\bindings>node .\node_modules\prebuild-install\bin.js --runtime electron --target 4.2.5 --arch x64 --platform darwin --tag-prefix @serialport/bindings@ --verbose

This results in a successful install of the binding for electron-mac-x64  build on a windows machine
prebuild-install info begin Prebuild-install version 5.3.0
prebuild-install info looking for cached prebuild @ C:\Users\josverl\AppData\Roaming\npm-cache\_prebuilds\6a8d11-bindings-v2.0.8-electron-v69-darwin-x64.tar.gz
prebuild-install http request GET https://github.com/node-serialport/node-serialport/releases/download/<EMAIL_ADDRESS>prebuild-install http 200 https://github.com/node-serialport/node-serialport/releases/download/<EMAIL_ADDRESS>prebuild-install info downloading to @ C:\Users\josverl\AppData\Roaming\npm-cache\_prebuilds\6a8d11-bindings-v2.0.8-electron-v69-darwin-x64.tar.gz.22648-63b6b0d443a6b.tmp
prebuild-install info renaming to @ C:\Users\josverl\AppData\Roaming\npm-cache\_prebuilds\6a8d11-bindings-v2.0.8-electron-v69-darwin-x64.tar.gz
prebuild-install info unpacking @ C:\Users\josverl\AppData\Roaming\npm-cache\_prebuilds\6a8d11-bindings-v2.0.8-electron-v69-darwin-x64.tar.gz
prebuild-install info unpack resolved to<EMAIL_ADDRESS>prebuild-install info install Successfully installed prebuilt binary!

Note that there is still a path mismatch , but apparently this is resolved somehow so I won't worry about that anymore.
Still , given the time I have spend to figure this out, I think this calls for some additional documentation.
If there is another  or a simpler solution to package serialport in a single multi-platform module, while still using the prebuilts, please let me know.

Had the same problem when I upgraded serialport in my project.
@Josverl  Thank you for the solution.

So, how do I solve it? When I run electron-build -w on mac, prebuild tries to fetch and the build stops

So, how do I solve it? When I run electron-build -w on mac, prebuild tries to fetch and the build stops

@JuanM04, I do not see how this is related to the issue I raised, and your description is quite sparse. So I cannot help you.

Nevermind, I solved it. I just commented here because hours of trying to fix it brought me here. What happened is that electron-builder uses prebuild-install when building an Electron app. There is somewhere an issue related to this, and I'm also going to post my solution there.
I just created a .prebuild-installrc to do it automatically for me:
"scripts": {
  "postinstall": "echo \"tag-prefix=@serialport/bindings@\" ><EMAIL_ADDRESS>&& electron-builder install-app-deps"
}

I have create a script to download bindings for multiple versions & platforms and store them in a simple file structure, so they can be used to load the module dynamically.
https://github.com/Josverl/pymakr-vsc/blob/fix/SerialMultiPlatform/scripts/mp-download.ps1
its in powershell as i find that simpler the write / debug , but I think it can be transposed to just any other scripting language

It should be noted that it appears that a number of the published builds are actually incorrect
https://github.com/serialport/node-serialport/issues/1920

@Josverl I am using macOS, but I've the same issue.
Thanks for your effort for describing your solution.
Unfortunately, I do not completely understand, what you've done.
You ran this command C:\develop\<project>\node_modules\@serialport\bindings>node .\node_modules\prebuild-install\bin.js --runtime electron --target 4.2.5 --arch x64 --platform darwin --tag-prefix @serialport/bindings@ --verbose and the important point is the --tag-prefix-flag, right?
Do you run this after every yarn or npm install? Is it sufficient to run it once?
Did you find a way to integrate it into a script of the package.json?
To cut a long story short: Is there a way to properly integrate your solution in order to make it work every time without any additional command execution?
Thanks


Added About Us and Contact Us Page frontend

Few layout seems to be broken in the dark page
Check this out

Looks great! Merging it now


michealb401

Just a testing note:
Fresh Ubuntu 18 install, with apt-update/upgrade/dist-upgrade ran.
SIFT immediately installation failure due to inability to identify current user (several places the yaml did not correctly populate the user field)
Was running sift install as root.
Dropped to a standard user, ran sudo sift install and it installed.

Yes, need to run as standard user w/ sudo.


⚠ SpeakUpConference.com has degraded performance

In f9682e5, SpeakUpConference.com (https://www.speakupconference.com) experienced degraded performance:

HTTP code: 200
Response time: 14308 ms

Resolved: SpeakUpConference.com performance has improved in 32f8bf2 after 11 minutes.


luci-base: fix Russian translation

Signed-off-by: Anton Kikin<EMAIL_ADDRESS>

Thanks merged


support for brew install python --with-mkl

does brew provide support for install python/numpy with mkl support similar to openblas.
I know that one can install numpy by using brew install numpy --with-blas, but I'm not quite sure if we can do the same thing with mkl for instance:
brew install python --with-mkl
brew install numpy --with-mkl
since one can do the same with openblas
brew install numpy --with-blas
Also I would like to ask if we can issue the same command with just python
brew install python --with-blas?

We don't currently support this but if you're interested then we'll review and may consider including a PR to add this. CC @tdsmith in case he disagrees!

@MikeMcQuaid certainly many would find that useful including myself. Thanks


ci: update dependencies installation

coverage: 96.01% (-0.5%) from 96.468%
when pulling 33271b9a0b8f08e3797f1c690cbdd4579a2f5c78 on Tomas2D:feat-migrate-to-poetry
into 643a5cdcb16fef32c9a7a548a9478d7e82e1e67b on IBM:main.