Problem with installing

I'm running script with admin rights on clean wsl instance.
I'm getting this error:
 --- Installing packages
 --- Adding link for X Server to Startup Items
 Не удается сохранить ярлык "C:\Users\andrew\Start Menu\Programs\Startup\VcXsrv.lnk".
 строка:1 знак:235
 + ... 0 -ac -terminate -lesspointer -multiwindow -clipboard -wgl';$s.Save()
 +                                                                 ~~~~~~~~~
     + CategoryInfo          : OperationStopped: (:) [], DirectoryNotFoundException
     + FullyQualifiedErrorId : System.IO.DirectoryNotFoundException

 --- Launching X Server.  DO NOT grant access to any network interfaces if prompted; they are unnecessary.
 --- Adding X environment variable to your .bashrc
 + echo 'export DISPLAY=localhost:0'
 --- Extracting PulseAudio
 ...

Не удается сохранить ярлык = can't save shortcut
After this i'm enter to bash --login
and cmus (audio player) say to me:

xcb_connection_has_error() returned true
440Hz-5sec.mp3                         /usr/bin/pulseaudio: error while loading shared libraries: libprotocol-esound.so: cannot open shared object file: No such file or directory

I had the same problem - audio playback failed, and I saw the message about libprotocol-esound.so.
If I installed the package that provides that library, I got other similar messages about other libraries (zeroconf related, consolekit...).  I gave up when I couldn't figure out which package I needed next!  So I uninstalled all that rubbish, did a little more googling, and ran echo export PULSE_SERVER=tcp:localhost >> ~/.bashrc.  I now don't get any library loading errors.
So I'm wondering, Adam - does that need to be added to the script?  And does the script even need to install pulseaudio, or is libpulse0 enough?

does that need to be added to the script? And does the script even need to install pulseaudio, or is libpulse0 enough

So, after I finally got Pulseaudio working in Windows, I removed that line from .bashrc and uninstalled pulseaudio, keeping just libpulse0, then exited my bash login and then logged in again.  It still works, so presumably that line isn't required in .bashrc, and ubuntu pulseaudio isn't required, just libpulse0.


Render documentation by default

Unless it is configured otherwise, have Grove render documentation by default. This minimizes the need for configuration and gives the user the best experience right out of the box.

I thought about doing this but after surveying our 20 to 30 repos, I realized that documentation would be generated on far fewer than half of them, hence the default.
I didn't want a bunch of repos with empty elm-docs directories.
If you don't like this for your situation, you can configure Grove globally to generate documents by default and then turn them off explicitly on a case by case basis.

Ya I have it globally configured to create documentation.
It seems our case would be a good one for using the --local --docs=off option instead of having that be the default.
In the general case, developers will use the Elm documentation format since the compiler requires placeholders at least. Since those will be there by default, it makes sense to render them by default.
I'm sure now that we have this tool, moving forward documenting in the code will be our default. Long term I think it makes sense.

Having function specific documentation is helpful for libraries. But as things get more complicated, API documentation is less and less useful. A great example can be seen at nodegit.
At first the documentation seems really nice. But it's just API docs. And when I starting using this library in Grove I found it sorely lacking.
What I needed for this library was how to use these functions together to accomplish larger goals. The example code they provided and their own source code was more useful to me than these extensive function by function docs.
Once I had that as a resource, I nearly stopped looking at the API docs.
This is why I don't plan to automatically create docs for elm-slate (when I finally get around to documenting it). It's just too complicated to expect that API docs are going to be useful. I expect that the documentation will consist of conceptual documentation, examples and most important, a few reference implementations.


VPN Connects, but no (almost no) throughput

Thanks for the great script, which I ran on a Pi4 running Manjaro.
All went well, created a client .ovpn file and transferred it to a client.  The client connects flawlessly, but getting almost no throughput -- that is, no bytes of network traffic.
Not sure whether this is a script issue or a OpenVPN issue, but thought I'd post it here in hopes there is some guidance.
OpenVPN version:
OpenVPN 2.4.8 [git:makepkg/3976acda9bf10b5e+] aarch64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Nov  1 2019
library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10

Here is my server.conf file:
port 12504
proto udp
dev tun
user nobody
group nobody
persist-key
persist-tun
keepalive 10 120
topology subnet
server <IP_ADDRESS> <IP_ADDRESS>
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS <IP_ADDRESS>"
push "dhcp-option DNS <IP_ADDRESS>"
push "redirect-gateway def1 bypass-dhcp"
dh none
ecdh-curve prime256v1
tls-crypt tls-crypt.key 0
crl-verify crl.pem
ca ca.crt
cert server_obNNoul8bewaoL53.crt
key server_obNNoul8bewaoL53.key
auth SHA256
cipher AES-128-GCM
ncp-ciphers AES-128-GCM
tls-server
tls-version-min 1.2
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
status /var/log/openvpn/status.log
verb 3

I'm closing this.  I redid the install and then put this at the end of server.conf:
tun-mtu 1400
mssfix 1360

Due to a known issue with Android (see here).  Now it seems to be working.


Syslog TCP support

Write your suggestion here.
I was wondering if there is any chance you would consider Syslog TCP support for tls transfer to papertrail? Thanks.

IMO it's much better to log to local syslog or a random text file and then configure the rsyslog to sync your syslog/logfile to papertrail, that way you don't slow down the app with TCP ACKs whenever it logs. Rsyslog can do TLS.

A reason to support this might be to allow incremental development/prototyping with monolog - the argument about the performance impact is very valid but that is something that, depending on the project, is (initially) much less important then reliable logging and can be iterated upon when necessary.
Would be great to have TCP(+TLS) support in monolog!
Has also been requested in https://github.com/Seldaek/monolog/issues/627


Fix ios .podspec & .m values with new plugin name

This pull request addresses two issues with the video_compress_plus package, specifically affecting iOS devices:

No podspec found for video_compress_plus in .symlinks/plugins/video_compress_plus/ios
Lexical or Preprocessor Issue (Xcode): 'video_compress/video_compress-Swift.h' file not found

I have thoroughly tested these changes on an iOS device and confirmed that video compression functionality is now working as expected.
Please review these changes and consider merging them into the main branch.
Thank you!

when this will be merged?

any update about this ? I can't build for iOS for "No podspec found for video_compress_plus in .symlinks/plugins/video_compress_plus/ios"

Please merge it asap. Not able to build IOS app.

To those that are stuck here yet you can use this in your pubspec.yaml :
video_compress_plus:
git:
url: https://github.com/alcampospalacios/VideoCompressPlus.git
ref: fix-description
it is just a fork of the repo with the aminnzo solution... while the author does not do the merge.
For more security you can do your own fork from me. :)


[Android][Accessibility] Update WeatherLarge card to wrap day names

Related Issue
Fixes #6262
Description
Changes the day textblocks to have the wrap property set to true, as if the screen is too small to contain all elements the day names are ellipsed/cropped thus hiding some of the text.
Sample Card
WeatherLarge.json
How Verified
As the repro requires the modification of accessibility settings for Text size and display size the fix had to be done through visual verification
Before:

Fix:

Microsoft Reviewers: Open in CodeFlow

/azp run AdaptiveCards-.NET-PR


⚠ Jenkins Plugins Artifactory has degraded performance

In 6f87448, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1155 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 63f3092 after 12 minutes.


fix: fix template active tab err

Signed-off-by: moweiwei<EMAIL_ADDRESS>
What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for reviewers:

Does this PR introduced a user-facing change?

Additional documentation, usage docs, etc.:

Codecov Report

Merging #251 (728f9f9) into master (48d4cf8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #251   +/-   ##
=======================================
  Coverage   46.41%   46.41%
=======================================
  Files           7        7
  Lines         614      614
  Branches      177      177
=======================================
  Hits          285      285
  Misses        254      254
  Partials       75       75

/lgtm
/approve

/cherrypick release-1.3


Search suggestion

Having couple of suggestions at your search bar makes it handy to use. Implement suggestions in search filter.

kindly assign me this issue


Slow Performance

Hey d0nut,
So I thought it was the proxy that was introducing latency, but actually even directly connected to the internet, my speeds are nowhere near the ones in your demo video. It's taking about 2 minutes to discover 5-7 characters.
Before I start doing packet capture/analysis I wanted to make sure that you haven't run into this problem before. I'm testing w/ Chrome and FF on Win 10, sic is running on an Ubuntu VPS w/out firewall. Did you have any special TCP settings on the client or server?
Also, lack of a Content-Type header is causing IE to not evaluate the CSS.
Also, also, I see mention of an environmental variable for debugging. How is that used?
Thanks

I haven't tried it on a VPS but i'll give it a go to see if i get similar issues.
Couple of questions first:

Did you compile using the release flag? cargo build --release
Are you getting similar problems if you try running using localhost? (basically, replicate the demo video)

Regarding the debug logs, if you invoke sic with the environment variable RUST_LOG set to info then you should see the logs from sic be output into stdout.
RUST_LOG=info ./sic ... -t template_file
Or you can set the environment variable using export RUST_LOG=info but I think that's a little overkill

Also, if you had a video of this happening with the network tab open in Chrome, that would be awesome! Thanks :)


Weird space at starting of PDF

When Generate pdf after scrolling some part of visible content of data, PDF get  unexpected weird space on top.
But when generating PDF without scrolling, It works great.
hee hee (2).pdf
"vue-html2pdf": "^1.8.0",
"vue": "^2.6.10",
Here I am uploaded generated PDF from your given demo. When I scroll some content of data and generate the PDF, it got some space on top of Pdf (Refer the attached PDF). But when generate the Pdf without scrolling, It works great.

Did you end up what was causing this issue? I am experiencing a similar issue


re-enable container builds

Greetings from LET
You should enable the Github Action. It will build container images and publish them for you.
See: https://github.com/herobrauni/my-idlers/pkgs/container/my-idlers & https://github.com/herobrauni/my-idlers/actions
Also maybe update all the dependencies

First I am going to get a roadmap laid out using issues, This is included.


lisa.tests.scheduler.eas_behaviour: Increase big tasks util

On a rb5, the first OPPs of the little CPUs are less energy efficient than the first OPPs of the big CPUs:
little CPUs:
freq=300000  power=28864  capa=59  power/capa=489.22 freq=403200  power=38774  capa=79  power/capa=490.81 freq=480000  power=46183  capa=95  power/capa=486.13 freq=576000  power=55419  capa=114 power/capa=486.13 freq=652800  power=62732  capa=129 power/capa=486.29 freq=748800  power=71968  capa=148 power/capa=486.27 freq=825600  power=82719  capa=163 power/capa=507.47 <- [3] freq=902400  power=94168  capa=178 power/capa=529.03 freq=979200  power=113400 capa=194 power/capa=584.53 freq=1056000 power=114700 capa=209 power/capa=548.80 freq=1132800 power=126190 capa=224 power/capa=563.34 [...]
BIG CPUs:
freq=825600 power=133030  capa=301 power/capa=441.96 freq=902400 power=151283  capa=329 power/capa=459.82 freq=979200 power=168490  capa=357 power/capa=471.96 <- [1] freq=1056000 power=188799 capa=385 power/capa=490.38 <- [2] freq=1209600 power=224387 capa=441 power/capa=508.81 freq=1286400 power=244608 capa=469 power/capa=521.55 freq=1363200 power=275303 capa=497 power/capa=553.92 freq=1459200 power=305249 capa=533 power/capa=572.69 freq=1536000 power=340314 capa=561 power/capa=606.62 freq=1612800 power=381776 capa=589 power/capa=648.17 [...]
When running the TwoBigThreeSmall test, the big task has a utilization such as the task cannot fit on the little CPUs. util~=290 so that 290 * 1.2 = 348. The capacity of the little CPUs is 350. The small task will run at ~50% of the maximum capacity of the little CPUs, so util~=174.
The big CPUs will run at the OPP [1], which is more energy efficient than all the little CPUs' OPPs. Now if the big CPU utilization jumps to [2], the little CPUs' OPPs below [3] become more energy efficient.
Thus, it appears that for the rb5, the utilization chosen for the big tasks makes the big CPUs either attractive or repulsive for the small tasks, and this for a range of 20 util. This makes the TwoBigThreeSmall test for rb5 unstable.
Check that the utilization chosen for the big tasks makes the big CPUs repulsive for the small tasks, and if no, increase the big tasks' utilization.
Signed-off-by: Pierre Gondois<EMAIL_ADDRESS>

superseded by https://github.com/ARM-software/lisa/pull/1894


[Joy] Add docs about dark mode

core-features/perfect-dark-mode
guides/apply-dark-mode

[x] I have followed (at least) the PR section of the contributing guide.

I think we could merge this one as a first first version and iterate on future PRs－we need to improve that gif quality there! And maybe add more details about it (extract more information from the RFC to this page so we have less navigating between different tabs to understand a concept).

I think we could merge this one as a first first version and iterate on future PRs－we need to improve that gif quality there! And maybe add more details about it (extract more information from the RFC to this page so we have less navigating between different tabs to understand a concept).

Totally agree.


Tool selection doesn't help and agent is not adopting the tool for execution

I feel it's really hard to reproduce the use cases here. https://docs.xlang.ai/use-cases/data-agent
kaggle tool is selected based on the output but not executed.. I never get lucky to get a result like what website shows (multiple kaggle dataset and I can click download to interact with)

openagents-backend-1   | 2023-11-03 22:10:53 | DEBUG - DefaultUser++65456f07e8aadbb3bc46a5d6->/chat New human message:{'message_type': 'human_message', 'message_content': 'Can you help me find datasets on Kaggle that specially focus on NBA play performance statistics over multiple seasons?', 'message_id': 37, 'parent_message_id': -1}
openagents-backend-1   | 2023-11-03 22:10:53 | DEBUG - DefaultUser++65456f07e8aadbb3bc46a5d6->/chat New ai message:{'message_type': 'ai_message', 'message_content': 'Sure, I can help you with that. Let me use the KaggleDataLoader tool to search for datasets related to NBA play performance statistics over multiple seasons.', 'message_id': 38, 'parent_message_id': 37}

openagents-backend-1   | <IP_ADDRESS> - - [03/Nov/2023 22:10:53] "OPTIONS /api/recommend HTTP/1.1" 200 -
openagents-backend-1   | 2023-11-03 22:10:54 | DEBUG - ++-> get_activated_message_list:[]

Thanks for your question! Could you try again with the GPT-4 endpoint? Just as I mentioned in https://github.com/xlang-ai/OpenAgents/issues/66#issuecomment-1793332707 , today's system with prompting mechanism rely on powerful LLMs to drive the cases

There are actually other ways to make it better, instead of prompting, check our tech report here.


Unable to uninstall

Hello, due to multiples cut during music playback, I tested to uninstall eqmac but the UI don't let me do it :)
On Catalina macbook pro 2015

Hmm I never saw this issue. Seems like your UI is guffy in other ways as well.
Can you go to this link in Safari: https://google.com/search?q=what's+my+user+agent
And tell me what User Agent do you have. Cheers

Hello,
Here it is :
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15

This bug is related to #13 as it's a UI rendering issue. Please refer there for future updates.

Hey everyone 👋
I will be open sourcing the new version of eqMac, therefore, I am closing this issue and repository as I will be transfering nodeful/eqMac2 repo to bitgapp/eqMac
Please bear with me for the next couple of days as I setup that new repo. The eqMac2 code will be living in the old-eqMac2 branch if anyone is interested in referencing it for whatever reason.
Please try out the new version and report bugs to the new repo.
Thanks for using eqMac.


fix: [NPM] adding unsupported translation check for windows NPM

Reason for Change:

Windows NPM dataplane does not support negative matches and named ports, so adding these two translation feature gates to warn user in controllers.
Issue Fixed:

Requirements:

[x] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests

Notes:

/azp run

In the future, validatingadmissionwebhook will be useful - https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#validatingadmissionwebhook to filter unsupported network policy submission.

/azp run


Document the process of parsing command-line arguments

Parsing is not so trivial with current limitations, so worth documenting now than never, even if #26213 gets implemented.
The instructions are taken from a Q&A answer provided by @Calinou, so added as co-author. 🙂

Since Godot 3.2, it should now be possible to parse command-line arguments without requiring a = between the key and value thanks to https://github.com/godotengine/godot/pull/33149.

I guess it's time to replace/rewrite my existing parser then. 👀
I'll come back to this once I overhaul the parsing logic.
This is what Gut does for command-line parsing.

@Xrayez To be fair, we could leave your PR as-is. A complete robust command-line parser can't be implemented in a few lines of code.

Yeah I updated the PR to remove the obsolete information at least.

Thanks!

Cherry-picked for 3.2.3.


Restructure

Preparing to restructure the SIFT saltstack files to make it easier to include in other projects.
The goal is to try and keep this from being a breaking change which should be doable via a symlink, however provisions will be made for it being a breaking change accordingly.
All scripts and inclusions will need to ensure they clone this directory under the base saltstack file server root as sift, failure to do so will result in saltstack failing.
This change however makes it much easier to submodule this project into another project without the use of symlinks or other tricks to get sift at the root of the saltstack file root along side another distro like remnux, or internal SANS distros for specific classes.

With support for Jammy now merged #81, this is going to have to get redone.


Add Data lifecycle image and minor changes

This change depends on the image upload PR https://github.com/vmware/versatile-data-kit/pull/886
It adds the image to README, some minor readability changes, explanation of VDK in a separate sentence.


ASN Number difficult to find

[Enter feedback here]
When searching for Azure ASN or ExpressRoute ASN this document is difficult to find. However if you search for Azure Autonomous System Numbers then this is the first result.  Not sure if this is an indexing or tagging issue that can be easily resolved - just highlighting a problem customer have finding that information.

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

ID: b29b475d-056b-ba43-5309-dd1ee50b4318
Version Independent ID: 55d5f203-32ef-40a1-62fa-83e8c81cdb14
Content: Azure ExpressRoute: Routing requirements
Content Source: articles/expressroute/expressroute-routing.md
Service: expressroute
GitHub Login: @duongau
Microsoft Alias: duau

@BevanSin, Thanks for reaching out. We will investigate and update this thread.

@BevanSin, Appreciate your patience. when I did the same search, this doc got resulted on the top list. But again, search engine plays a key role here. We will assign this issue to the respective content owner to update the document if necessary. Once again, we appreciate your efforts towards building Azure docs.
@Duongau, could you please have a look in to this?

Hello @BevanSin, when searching for ExpressRoute ASN the page now shows up as the first link in the search. I also added the acronym to the Autonomous System Number section. Please let me know if you have any further questions. #please-close


BUG: No Attribute DTYPE_GRADIENT

When attempting to convert CV-Parametric Selection Tag I got this error in the console:

Converting this tag was the motivation behind this project, so it will certainly be a challenge, but if it's possible to get it working, that would be amazing.

Fixed in 3195e0c2afedab7796d2f39e47e61d7857a51db0


Issues with Comments-Aware Enter

First off, thanks for making first-class support for Fennel possible in Sublime!
I have a very minor issue. I use another package, Comments-Aware Enter to improve the editing experience with comments (auto-indentation, split & join comments, etc.). It works with all languages (even weird ones like MoonScript, but also standard Lua), but it seems to fail with this Fennel package. All its smart features don't function.
Now, I don't know if the root cause for this is with the Fennel package or the comments one, but I'm also not knowledgeable enough about Sublime packages to debug this.

Thanks for reporting and submitting the fix!


Improve the error message reported to the console

Instead of
[Error: OpenAI API returned an error]
the console will report
[Error: OpenAI API returned an error: Too Many Requests]

This will be very helpful to people - thank you!

I got this error. Can anyone help me understand what it means and how to fix it?

I wonder if it is the upgrade. The specific error is "Error: OpenAI API returned an error: Too Many Requests." I'm using the free version.

Openapi is handling too many requests then and it cant process your request
On Thu, Mar 23, 2023 at 2:20 PM jonah-liebert @.***>
wrote:

I wonder if it is the upgrade. The specific error is "Error: OpenAI API
returned an error: Too Many Requests." I'm using the free version.
—
Reply to this email directly, view it on GitHub
https://github.com/mckaywrigley/chatbot-ui/pull/81#issuecomment-1481688318,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPVWL3MFZPCVOWRWQQTHUDW5SH6JANCNFSM6AAAAAAWEFESME
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thank you for your insights and responsiveness. Appreciate it!
On Thu, Mar 23, 2023 at 2:21 PM Ethereumdegen @.***>
wrote:

Openapi is handling too many requests then and it cant process your request
On Thu, Mar 23, 2023 at 2:20 PM jonah-liebert @.***>
wrote:

I wonder if it is the upgrade. The specific error is "Error: OpenAI API
returned an error: Too Many Requests." I'm using the free version.
—
Reply to this email directly, view it on GitHub
<
https://github.com/mckaywrigley/chatbot-ui/pull/81#issuecomment-1481688318
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ABPVWL3MFZPCVOWRWQQTHUDW5SH6JANCNFSM6AAAAAAWEFESME
.
You are receiving this because you authored the thread.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/mckaywrigley/chatbot-ui/pull/81#issuecomment-1481690529,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVUD47OS4QKYYTXGFHGQF3LW5SICJANCNFSM6AAAAAAWEFESME
.
You are receiving this because you commented.Message ID:
@.***>


if "greatest" is selected, second coordinate should be picked

Description
If I'm not mistaken, then according to the docs and code of get_ys_from_x_unchecked, the second value should be selected if greatest flag is true.

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[x] Targeted PR against correct branch (master)
[x] Linked to GitHub issue with discussion and accepted design OR have an explanation in the PR that describes this work.
[ ] Wrote unit tests
[ ] Updated relevant documentation in the code
[ ] Added a relevant changelog entry to the Pending section in CHANGELOG.md
[ ] Re-reviewed Files changed in the GitHub PR explorer

Thanks for the fix, it is indeed inconsistent with the documentation. Could you check against the call sites to see if this fix works? I'm asking because the code recently changed.

It's only used in sample and get_random_bytes. These methods didn't care for anything specific regarding the y-coordinate, as long as it was a valid point - which it is no matter which coordinate is picked.


Error while running fetch

fetching submissions 2021-01-01 to 2021-02-01...
/home/runner/.local/lib/python3.8/site-packages/psaw/PushshiftAPI.py:192: UserWarning: Got non 200 code 429
warnings.warn("Got non 200 code %s" % response.status_code)
/home/runner/.local/lib/python3.8/site-packages/psaw/PushshiftAPI.py:180: UserWarning: Unable to connect to pushshift.io. Retrying after backoff.
warnings.warn("Unable to connect to pushshift.io. Retrying after backoff.")
processing 3330 links
Traceback (most recent call last):
File "./fetch_links.py", line 219, in
fetch_links(args.subreddit, args.date_start, args.date_stop, args.limit, args.score, self_only)
File "./fetch_links.py", line 71, in fetch_links
comments_results = list(api.search_comments(**comment_params))
File "/home/runner/.local/lib/python3.8/site-packages/psaw/PushshiftAPI.py", line 238, in _search
for response in self._handle_paging(url):
File "/home/runner/.local/lib/python3.8/site-packages/psaw/PushshiftAPI.py", line 218, in _handle_paging
received_size = int(data['metadata']['size'])
KeyError: 'metadata'

you got flagged as abusive


Add leaf name to debug messages

Debug messages generated by leaves only show the leaf type but not the leaf name. So, it's not possible to know which particular leaf generated a certain debug message if there are more leaves of the same type.

you can do it using the gn_leaf_get_config_name function. eg in relay leaf:
ESP_LOGD(TAG, "Initializing relay leaf %s..",
		gn_leaf_get_config_name(leaf_config));

Thanks. I didn't find it.
I see now the function name/prototype has changed in "gn_leaf_get_name(leaf_config, leaf_name)".
I keep the issue open as a reminder for all developers... ;-)


Add missing size prefix for serialize_bytes

Serializer::serialize_bytes does not write the buffer size when
serializing, preventing deserialization from working properly when
serializing types that make use of this method (e.g. Bytes and BytesMut
from the bytes crate, CStr and CString from std::ffi). Simply adding the
missing size serialization breaks all size prefix serialization, as size
prefix serialization uses the existing Serializer::serialize_bytes
implementation to write the VarintUsize bytes to the output flavor.
This commit adds a try_push_varint_usize method to the SerFlavor trait
for writing out the encoded VarintUsize bytes, replacing all
VarintUsize::serialize calls with the SerFlavor method call, and adds
the same call to Serializer::serialize_bytes to ensure the size prefix
is now properly written. The VarintUsize::serialize implementation has
also been updated to serialize the encoded bytes as a tuple, mostly
retaining compatibility with the previous implementation while using
postcard's serializer, but potentially breaking compatibility with other
serializers. A deserialization test has also been added for
serialize_bytes output to mitigate possible regressions.
Fixes #21.

Hi @okready! Thanks for taking care of this. To be clear - this doesn't change the "on the wire" representation for any values, correct? I admit I don't totally grok what the problem was/what this fixes, but that's probably my lack of understanding of this part of the serde machinery!

Yeah, I re-read my explanation and realized it's pretty bad. :) In short, the wire representation should remain the same.
To try to clarify, Serializer::serialize_bytes essentially allows for serializing slices of bytes without making separate individual calls to serialize_seq and serialize_element, so it needs to include the length when serializing, otherwise we break serialization of any types that use it (such as the bytes crate and CStr/CString). Unfortunately, you can't just serialize a VarintUsize at the top of the serialize_bytes call since VarintUsize::serialize itself calls serialize_bytes, so you also need to change how varints are written.
Simply changing the Serialize implementation for VarintUsize is pretty limiting since you're abstracted from the Serializer internals, so instead I added a method to SerFlavor to directly write the varint bytes to the output buffer. It has a default implementation, so existing code should still compile against it the same, but I believe it still warrants a minor version bump according to semver rules.
The "potentially breaking compatibility with other serializers" statement in my original commit message was because I mistakenly thought VarintUsize was public at the time (I saw the pub scope for the type but didn't look at the scope of the module itself). Since it isn't public, I've removed its Serialize implementation for it since it's no longer used, but I can add one back if you'd prefer. I've also updated my original commit message to try to make things clearer.

It should be possible to add a regression test that verifies the wire format for various types hasn't changed. I wouldn't be able to get to it today, put should have time tomorrow or later on this week.

I realized the loopback test would have failed if the wire format changed, so it looks like that should cover backwards compatibility.
I've added in a new commit though to test against CString within the loopback test to verify the serialize_bytes/deserialize_byte_buf implementations work. It's limited to the use-std feature and required flipping on the serde/std feature under that configuration (AFAIK you can't specify test-only features, but I can remove that test or put in something different if there's a reason not to enable serde/std when use-std is enabled).

Thanks @okready! I'll release this shortly.


close on select, not interpreted

Hello guys,
I'm trying to use the datetimepicker like that:
<input
	ng2-datetime-picker
	[close-on-select]="false"
	[ngModel]="myDate | timestampToDate:'DD/MM/YYYY [à] HH:mm:ss'"
       	(valueChanged)="changeMyDate($event)"
	[date-format]="'DD/MM/YYYY [à] HH:mm'"
 >

with my changed function like that:
private changeDateCreation(date, format='DD/MM/YYYY [à] HH:mm:ss'){
      moment.locale('fr');
      this.mydate = parseInt( moment(date,format).format('X') );
    }

It's all working well for the date transformation and all...
But the close-on-select parameter doesn't seem to be interpreted.
When I select a date or an hour etc... it always close the picker
then I have to re-open to select the hour
then reopen to select the minute etc...
What am I missing ?

Please use like the following  as you see in README.md. The value is string "false", not boolean false.
close-on-select="false"
I treat this case as very exceptional, if that one does not satisfy your coding principal(true/false), please make a PR.

I also tried with this syntaxe but it's not working neither.
Or at least, not how I expect it to...
Maybe it's not the option I am looking for, but for the moment, to select a date I have to:

click on the input text, to open the datepicker
select the date, that close the datepicker
click on the input, to re open
select the hour
click on input, to re-open
select the minutes, that close the datepicker
done

So I supposed, that with the param "close-on-select" to "false", I would be abble to do:

click on the input text, to open the datepicker
select the date
select the hour
select the minutes
then click outside the datepicker, to close (or maybe on a validation button ? )

Is that not what the option is for ?

Ok, the problem was not in your code.
I was handling my own button to open the datepicker, and so on valueChanged, I closed the input myself.
The problem was that using the directive, with close-on-select we are unable to know if the valueChanged, or if the valueChanged and the popup was closed.
So I added an event to do that, and submitted a PR


Platform choice for aarch64 is incorrect

Failing in

TestKameletFromCustomRepository
TestSyntheticIntegrationFromDeployment

TestKameletFromCustomRepository
dump.go:337:     > {"level":"info","ts":"2024-04-02T09:07:08Z","logger":"camel-k.controller.integration","msg":"State transition","request-namespace":"test-4c80bbc4-66ca-46d8-a4a2-130225b98668","request-name":"timer-custom-kamelet-integration","api-version":"camel.apache.org/v1","kind":"Integration","ns":"test-4c80bbc4-66ca-46d8-a4a2-130225b98668","name":"timer-custom-kamelet-integration","phase-from":"Initialization","phase-to":"Error"}
      dump.go:337:     > {"level":"info","ts":"2024-04-02T09:07:08Z","logger":"camel-k.controller.integration","msg":"Integration error","request-namespace":"test-4c80bbc4-66ca-46d8-a4a2-130225b98668","request-name":"timer-custom-kamelet-integration","api-version":"camel.apache.org/v1","kind":"Integration","ns":"test-4c80bbc4-66ca-46d8-a4a2-130225b98668","name":"timer-custom-kamelet-integration","reason":"InitializationFailed","error-message":"error during trait customization: kamelets trait execution failed: Get \"[https://api.github.com/repos/squakez/ck-kamelet-test-repo/contents/kamelets\](https://api.github.com/repos/squakez/ck-kamelet-test-repo/contents/kamelets/)": dial tcp <IP_ADDRESS>:443: i/o timeout"}
      dump.go:337:     > {"level":"error","ts":"2024-04-02T09:07:08Z","msg":"Reconciler error","controller":"integration-controller","controllerGroup":"camel.apache.org","controllerKind":"Integration","Integration":{"name":"timer-custom-kamelet-integration","namespace":"test-4c80bbc4-66ca-46d8-a4a2-130225b98668"},"namespace":"test-4c80bbc4-66ca-46d8-a4a2-130225b98668","name":"timer-custom-kamelet-integration","reconcileID":"49f96865-f3a1-49dc-aed1-4daebe64a364","error":"error during trait customization: kamelets trait execution failed: Get \"[https://api.github.com/repos/squakez/ck-kamelet-test-repo/contents/kamelets\](https://api.github.com/repos/squakez/ck-kamelet-test-repo/contents/kamelets/)": dial tcp <IP_ADDRESS>:443: i/o timeout","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/controller-runtime@v0.15.2/pkg/internal/controller/controller.go:324\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/controller-runtime@v0.15.2/pkg/internal/controller/controller.go:265

TestSyntheticIntegrationFromDeployment
dump.go:337:     > {"level":"info","ts":"2024-04-02T08:58:10Z","logger":"camel-k.controller.integration","msg":"First readiness after 20s","request-namespace":"default","request-name":"timer-source","ready-after":20,"api-version":"","kind":"","ns":"default","name":"timer-source"}
      dump.go:337:     > {"level":"info","ts":"2024-04-02T08:58:21Z","logger":"camel-k.controller.integration","msg":"Ignoring request because resource is not assigned to current operator","request-namespace":"test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3","request-name":"my-it"}
      dump.go:337:     > {"level":"info","ts":"2024-04-02T08:58:21Z","logger":"camel-k.controller.integration","msg":"Ignoring request because resource is not assigned to current operator","request-namespace":"test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3","request-name":"my-it"}
      dump.go:337:     > {"level":"info","ts":"2024-04-02T08:58:22Z","logger":"camel-k.controller.integration","msg":"Ignoring request because resource is not assigned to current operator","request-namespace":"test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3","request-name":"my-it"}
      dump.go:337:     > {"level":"info","ts":"2024-04-02T08:58:22Z","logger":"camel-k.controller.integration","msg":"Ignoring request because resource is not assigned to current operator","request-namespace":"test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3","request-name":"my-it"}
      dump.go:337:     > {"level":"info","ts":"2024-04-02T08:58:22Z","logger":"camel-k.controller.integration","msg":"Ignoring request because resource is not assigned to current operator","request-namespace":"test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3","request-name":"my-it"}
      dump.go:337:     > {"level":"info","ts":"2024-04-02T08:58:24Z","logger":"camel-k.controller.integration","msg":"Ignoring request because resource is not assigned to current operator","request-namespace":"test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3","request-name":"my-it"}
      dump.go:337:     > {"level":"info","ts":"2024-04-02T08:58:25Z","logger":"camel-k.controller.integration","msg":"Ignoring request because resource is not assigned to current operator","request-namespace":"test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3","request-name":"my-it"}
      dump.go:337:     > {"level":"info","ts":"2024-04-02T08:58:25Z","logger":"camel-k.controller.integration","msg":"Ignoring request because resource is not assigned to current operator","request-namespace":"test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3","request-name":"my-it"}
      dump.go:337:     > {"level":"info","ts":"2024-04-02T08:58:25Z","logger":"camel-k.controller.integration","msg":"Ignoring request because resource is not assigned to current operator","request-namespace":"test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3","request-name":"my-it"}
      dump.go:337:     > {"level":"info","ts":"2024-04-02T08:58:25Z","logger":"camel-k.controller.integration","msg":"Ignoring request because resource is not assigned to current operator","request-namespace":"test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3","request-name":"my-it"}
      dump.go:337:     > {"level":"info","ts":"2024-04-02T08:58:26Z","logger":"camel-k.controller.integration","msg":"Ignoring request because resource is not assigned to current operator","request-namespace":"test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3","request-name":"my-it"}
      dump.go:337:     > {"level":"info","ts":"2024-04-02T08:58:26Z","logger":"camel-k.controller.integration","msg":"Ignoring request because resource is not assigned to current operator","request-namespace":"test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3","request-name":"my-it"}
      dump.go:337:     > {"level":"info","ts":"2024-04-02T08:58:27Z","logger":"camel-k.controller.integration","msg":"Ignoring request because resource is not assigned to current operator","request-namespace":"test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3","request-name":"my-it"}
      dump.go:337:     > {"level":"info","ts":"2024-04-02T08:58:27Z","logger":"camel-k.controller.integration","msg":"Ignoring request because resource is not assigned to current operator","request-namespace":"test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3","request-name":"my-it"}
      dump.go:337:     > {"level":"info","ts":"2024-04-02T08:58:27Z","logger":"camel-k.controller.integration","msg":"Ignoring request because resource is not assigned to current operator","request-namespace":"test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3","request-name":"my-it"}
      dump.go:337:     > {"level":"info","ts":"2024-04-02T08:58:27Z","logger":"camel-k.controller.integration","msg":"Ignoring request because resource is not assigned to current operator","request-namespace":"test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3","request-name":"my-it"}
      dump.go:337:     > {"level":"info","ts":"2024-04-02T08:58:27Z","logger":"camel-k.controller.integration","msg":"Ignoring request because resource is not assigned to current operator","request-namespace":"test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3","request-name":"my-it"}
      dump.go:337:     > {"level":"info","ts":"2024-04-02T08:58:27Z","logger":"camel-k.controller.integration","msg":"Ignoring request because resource is not assigned to current operator","request-namespace":"test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3","request-name":"my-it"}
      dump.go:337:     > {"level":"info","ts":"2024-04-02T08:58:27Z","logger":"camel-k.controller.integration","msg":"Ignoring request because resource is not assigned to current operator","request-namespace":"test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3","request-name":"my-it"}
      dump.go:286: Ignoring pod java-764d69b7bc-7bv2r
      dump.go:286: Ignoring pod timer-source-684d8f748b-v7nx5
      dump.go:286: Ignoring pod yaml-847d9c6b65-9vj2c
      dump.go:307: -------------------- end dumping namespace test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3 --------------------
      test_support.go:2870: Clean up test namespace: test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3
  2024-04-02T08:59:27Z	DEBUG	camel-k	Finding available platforms in namespace test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3
  2024-04-02T08:59:27Z	DEBUG	camel-k	Found active integration platform camel-k-synthetic-env
  Camel K Integration Platform removed from namespace test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3
  Camel K Integration Profile removed from namespace test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3
  Camel K Config Maps removed from namespace test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3
  Camel K Registry Secret removed from namespace test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3
  Camel K Platform Kamelets removed from namespace test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3
  Camel K Platform Camel Catalogs removed from namespace test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3
  Camel K Operator removed from namespace test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3
  Camel K Role Bindings removed from namespace test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3
  Camel K Role Bindings removed from namespace kube-public
  Camel K Roles removed from namespace test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3
  Camel K Service Accounts removed from namespace test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3
      test_support.go:2876: Successfully cleaned up test namespace: test-345fddcb-c51d-4a3a-b615-3edd6aeb94d3

@squakez Can we please run this?

@tdiesler is this good to merge?

Yes, pls merge


CTRL-H to remove a pair

If you use CTRL-H to remove the left bracket, the right bracket will not be removed. I have to use BACKSPACE, which is a huge inconvenience.

nmap <ctrl-h> <bs>

imap <C-H> <BS>


Remove redundant depends_on steps

Since we've removed the depends_on annotation assumedly if we attempt to deploy the deployment will fail? EAHW-2430 says "So we should make it so that a deployment pipeline only runs if the previous env deployment pipeline actually has that url accessible based on the new ingress added." Are we still meeting that criteria?

Git hub doesn't seem to want to let me reply to your comment :/ But the test pipeline has "depends_on" for the dev pipeline, and the prod pipeline depends on the promotion-check pipeline, which looks for the successful build, so it should  still stop the next stage if the url check fails.


notes on merging with ember-cli-node-modules-to-vendor

dfreeman [7:43 AM]
Hi Kelly — a couple folks have called https://emberobserver.com/addons/ember-cli-node-modules-to-vendor to my attention this week asking about the difference between that and https://emberobserver.com/addons/ember-cli-node-assets
[7:44]
It looks like they’re setting out to solve some of the same problems—any interest in combining efforts?
[7:45]
I’m still assuming(/hoping) in the long run any addon in this space will ultimately be obsoleted by changes in the CLI itself :slightly_smiling_face:
kellyselden [9:37 AM]

obsoleted by changes in the CLI itself
that’s the plan

[9:37]
I made it before someone pointed out your addon to me
[9:38]
Let me check your API
[9:39]
First difference I notice is you can’t import outside node_modules
[9:39]
not too big a deal
kellyselden [9:44 AM]
Ok, the only real difference is how we import
[9:46]
you have the slim array that wraps app.import I’m assuming, and I prefer the built in app.import to use all the options if necessary
app.import('vendor/a-file-from-the-folder-above.js', {
  using: [{ transformation: 'amd', as: 'some-package' }]
});

[9:46]
Does yours handle both modules and globals?
dfreeman [10:28 AM]

First difference I notice is you can’t import outside node_modules
I was actually really curious about that — what was the use case you had in mind for that one? The original reason I built the addon was because I wanted to abstract away the module resolution dance for finding specific files, but I wasn’t thinking so much about things outside of node_modules (edited)

[10:29]

you have the slim array that wraps app.import I’m assuming, and I prefer the built in app.import to use all the options if necessary

[10:30]
the array doesn’t have to be flat strings, so the equivalent would be something like:
import: [{
  path: 'some/file.js',
  using: [{ transformation: 'amd', as: 'some-package' }]
}]

[10:30]
the path bit is a kludge for sure, but it basically just passes through any other keys to app.import (edited)
kellyselden [10:52 AM]
what do you think of import being optional so you can do it the old fashioned way if you want?
dfreeman [10:53 AM]
totally open to that
[10:54]
I pretty much started from my personal-taste best case API for the simple cases and worked backward from there as other needs came up
[10:54]
but having the ability to call app.import where/when you want as an escape hatch (or just preference) seems like a good call
kellyselden [11:00 AM]
as for outside node_modules, no use case, it’s just possible so I noted it in the readme
[11:00]
so your addon smart resolves node module package location between npm 2/3?
dfreeman [11:03 AM]
yep
[11:04]
basically if you could require() something in the target node module from your app/addon’s ember-cli-build.js/index.js/etc, node-assets will find it in the right place (edited)
[11:04]
https://github.com/dfreeman/ember-cli-node-assets/blob/master/index.js#L133
kellyselden [11:08 AM]
that’s cool
[11:08]

Does yours handle both modules and globals?

dfreeman [11:08 AM]
Not CommonJS
[11:09](or ES6)
[11:09]
But it’ll take AMD via app.import‘s new using option
[11:10]
Not a replacement for Browserify/Rollup/etc, though—pretty much just a bunch of glue for app.import at this stage (edited)
kellyselden [11:25 AM]
what about globals, like https://www.npmjs.com/package/location-origin
npm
location-origin
Polyfill for window.location.origin
[11:25]
where app.import is basically just appending
dfreeman [11:26 AM]
it doesn’t generate a module shim, if that’s what you’re asking
[11:26]
but it’ll happily pass off any old file you give it to app.import
kellyselden [11:27 AM]
I see, that’s good

Thanks for capturing this! The coming week or so promises to be a little hectic for me, but I'll try to set aside some time over the weekend to write up some thoughts on a path forward post them here to get feedback from you and anyone else who's interested.

So recapping the conversation above, it looks like the two main things node-modules-to-vendor has that node-assets doesn't are:

the ability to expose all or part of a node package in vendor without explicitly importing anything
the ability to include things from outside a node_modules directory

Things node-assets has that node-modules-to-vendor doesn't:

the ability to directly import files from a node package without an explicit app.import call
the ability to expose all or part of a node package in public
package resolution relative to the importing app/addon

Both addons ultimately support app.importing arbitrary files from an npm package into an app; the key difference is just the form factor of the import.
Given node-assets's existing adoption, I'll float using that as a starting point. In addition to the public and import keys it accepts for a given package today, I'd propose accepting a third vendor key such that these two configurations would be essentially equivalent:
'some-package': {
  srcDir: 'dist',
  import: [
    { path: 'some-file.js', ...jsOptions },
    { path: 'some-file.css', ...cssOptions }
  ]
}

'some-package': {
  srcDir: 'dist',
  vendor: [
    { include: ['some-file.js', 'some-file.css'] }
  ]
}
// ...
app.import('vendor/some-package/some-file.js', options);
app.import('vendor/some-package/some-file.css', options);

Importing from outside a node package seems to me to be somewhat orthogonal to the rest of the concerns of both addons, but I imagine we can come up with a way to integrate that as well.
It might also be interesting to explore using something like Rollup to enable bringing in packages in formats other than globals or AMD (i.e. ES2015 or CommonJS) for cases where they don't need the heavier Node compatibility layer provided by Browserify, but that also may be an orthogonal concern.


Persona Bar Modules might not uninstall when the Persona Bar Group Package is installed

https://user-images.githubusercontent.com/13577556/68883676-5c4c0a80-06c6-11ea-86c0-6d05129dfb31.png
Trying to remove all of these took a lot of time yesterday, DNN has to restart or something as i have to wait about 5 minutes between each uninstall... and then there is the one without the trash can.

I think Brian had a fix for it here: https://github.com/dnnsoftware/Dnn.Platform/issues/2993
I was hoping to get a "Known Issues" on something like dnndocs.com to help build awareness of the issue and know how to resolve it...   I keep referring to this for all my installs when I find them... a lot of time digging around I could spend not putting this issue up...

What is the upgrade history? This was an issue in an RC that got resolved at some point before the official release. Do you have some steps to reproduce this issue not involving an RC?

It is one of my older installs... version 7.0

For version 9 upgrades :
9
901
902
910
911
920
921
922
930
931
932
940
941
942
I could of possibly put a beta package on it sometime in the 9's

Yeah, for beta packages (RCs) it is not recommended for production use and if there was any RC in that upgrade path, this is the reason, I remember there was this issue in an RC. If you can replicate using an upgrade path that does not use RCs, then please open a new issue with the upgrade steps to reproduce. Thanks.

I was told RC's and versions should match and work with the upgrade paths from @mitchelsellers   I guess this is wrong assessment currently.
I am not saying I did a RC on it but I might have...  I do have some other sites I can test with that are still back a few version...

Is it ok to down the version in the database and then run an upgrade to make sure everything is up to par?

@thabaum
it is likely, but there is no guarantee, as it hasn't been tested.


Initial checkin of samples for RC1

Hi @sakthi1985, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla2.dotnetfoundation.org.

TTYL, DNFBOT;


findspam.py: body_text_repeated(): phrase repeated at beginning of body

Second PR, had to back out the broken one I committed yesterday.
test/test_findspam.py: reinstate backed-out test case

The forced anchoring to the beginning of the post is probably something I would like to extend at some point. I don't think many posts have repeated text in the middle (though certainly that happens too) but having a lot of repeats at the end is definitely something I would like to catch, too. I'm thinking it should trigger the same rule, perhaps with a tweak to the detailed "why" message.

I have tested on my laptop for several hours in https://chat.stackexchange.com/rooms/136393/room-for-tripleee-and-ad-oisee and this seems to do what it's supposed to do now.

This looks quite a bit better. Using similar regex101 tests (first, second, third) produce a much better final regex, \A(what[\W_]+is[\W_]+your[\W_]+name[\W_]*){10,}, which doesn't match just anything. :)
I wonder how it will perform on a post where the user has a fairly redundant dataset as the first thing in their post. However, in practice, that probably won't be all that many FP hits.
Unfortunately, however, the meta-concerns and side-effects I expressed elsewhere still seem quite valid. Basically, given how things are, there's quite a bit of stuff which needs to change in MS prior to our actually being able to merge this and use it. Thus, I'm going to, reluctantly, tag it as status: deferred.
I'll see if I can take a better/good look at what needs to change in MS.


Update 5.null.md

a XOR b

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

@ZGuQing Thanks for your contribution to the Nebula Graph community! This is Jamie with Nebula and I'd like to email you the Nebula Contributor certificate and ship you a mug to mark this special moment. Could you please kindly reach me via jamie.liu(at)vesoft.com? Again, thanks for being a part of the Nebula community!


Create zsh.go

Description
☕Implemented functions to manage the installation, uninstallation, and updating of Zsh on both Linux and macOS platforms. The script detects the operating system and dynamically selects the appropriate package manager (apt, yum, pacman for Linux; Homebrew for macOS). The InstallZsh function installs Zsh by determining the correct command based on the available package manager, while UninstallZsh removes it in a similar manner. Additionally, an UpdateZsh function was added to handle the package update process. This commit ensures cross-platform compatibility and robust package management logic, enhancing automation for users across different environments.
Related Issues (if any)
None
Type of Changes
Please mark the options that best describe your PR:

[ ] Bug fix
[x] New feature
[x] Enhancement
[ ] Refactor
[ ] Documentation update
[ ] CI/CD changes
[ ] Dependencies update
[ ] Other (please specify):

Checklist

[x] I have read and followed the CONTRIBUTING.md guidelines for this project.
[x] Added unit tests that cover the new/modified code.
[x] All existing tests pass (go test ./...).
[x] Added or updated documentation if needed (e.g., README.md, code comments).
[x] Public functions and structs are well-documented using GoDoc conventions.
[x] If the PR introduces a new feature, it has been documented clearly for users.
[x] Ensure proper error handling and meaningful error messages.
[x] Ensure any logging follows best practices (e.g., no excessive or sensitive logging).
[x] Dependencies added are necessary and minimal.

Additional Notes
None

Thank you for your contribution and effort on this pull request. I appreciate your work! However, I’d like to avoid relying on external package managers directly, as Fleet’s formula approach is designed to handle installations internally through specific methods in each formula.
Could you please update the code to follow the installation methods already used in the formulas, without invoking external package managers directly? This would keep Fleet’s structure consistent and reduce external dependencies.
Let me know if you have any questions or need further clarification. Thanks again!


Unable to import from GitHub automatically or manually

Details

Read the Docs project URL: https://readthedocs.org/projects/tracking-data-management/
Build URL (if applicable): https://readthedocs.org/projects/tracking-data-management/builds/7490942/
Read the Docs username (if applicable): key2market

A description of what you wanted to happen
I wanted to connect and import our projects from GitHub. That did not work so I tried to manually import the project from GitHub
Actual Result
Upon connecting my github account, none of my repositories are visible in readthedocs. This is unusual, because I have done the same in other tools and it had worked.

Manually connected project from GitHub is not able to build successfully and gives the following error:
could not read Username for 'https://github.com': terminal prompts disabled

Your projects are private, rtd.org only supports public projects. You may want to check readthedocs.com for private projects.


How can we open a new screen with animation ?

I am trying to open a new screen with animation like :
slide in from right, bounce in from right, flip screen x or y axis etc...
Please help me i want to open screen like react-native-modal library...

I want to know too.

searching react-navigation transitionConfig, It can be provide to Scene or Stack by prop

@Bang9 Said:

searching react-navigation transitionConfig, It can be provide to Scene or Stack by prop

That prop is no longer present in 4.0.6

@nikola-kolosek transitionConfig is not react-native-router-flux prop but react-navigation prop
react-navigation

@Bang9
So it can not be done inside flux's ?
That's exactly what i am saying. I have to migrate to react-navigation's default routing in order to get a simple transition animation change

@nikola-kolosek Never, Just use Router of react-native-router-flux

@Bang9
Okay, sorry, I fixed my issue. All of my Scenes were nested inside other Scenes, instead of Stacks.
But still, the code completion doesn't suggest that the transitionConfig is present, and it's not present in the index.d.ts file

react-native-router-flux goal is below

helps users to define all the routes in one central place and navigate and communicate between different screens in an easy way

transitionConfig is not part of RNRF, but just inherit


Use folder other than .storybook

Currently, it's not possible to use storybook-deployer with config folder other than .storybook. It would be nice to have a -c path/to/storybook like in start-storybook

Does this feature not address this issue @diegohaz ?
https://github.com/storybooks/storybook-deployer#custom-build-configuration
We were able to use a storybook directory in Patternfly React...Relevant notes here...
https://github.com/patternfly/patternfly-react
https://github.com/patternfly/patternfly-react/pull/8

Oh, I missed that. Worked like a charm. Thanks. :)


Check video is downloadable before fetching video title and author

Description
Check if video is downloadable. we need to add one more condition to verify prData.PlayabilityStatus.Status == LOGIN_REQUIRED. Moreover, it should check video is downloadable before fetching the author and title.
Issues to fix
Please link issues this PR will fix:
https://github.com/kkdai/youtube/issues/59
if no relevant issue, but this will fix something important for reference
, please free to open an issue.
Reminding
Something you can do before PR to reduce time to merge

run "make build" to build the code
run "make format" to reformat the code
run "make lint" if you are using unix system
run "make test-integration" to pass all tests

LGTM


Lights randomly hide custom PanelContainers and their parent

Godot version:
3.1 beta7
OS/device including version:
Windows 10, Intel Iris 540
Issue description:
Disabling light mask on a PanelContainer hide it (and it's parent) from the editor/in game. Seems to happend only when the panel is a custom one (tested with a StyleBoxFlat) and when there is a Light source in the scene. Only happend on some sprites.
Steps to reproduce:

Add many sprites
For all of them, add a PanelContainer with custom StyleBoxFlat (default one)
Uncheck all light masks on the PanelContainers
Add a light source
Run the project, some sprites/panel container should be somehow hidden, or not displaying correctly

Minimal reproduction project:
light_panels_bug.zip

@onionpsy Can you still reproduce this in Godot 3.2.3 rc3?
(I tested the project and it looks fine)

No answer, so closing. Please comment if you can still reproduce the issue, and make sure that there is an up-to-date reproduction project.


Add Purescript type generation for PlutusTx.Ratio

Area
[O] Plutus Foundation Related to the GHC plugin, Haskell-to-Plutus compiler, on-chain code
[X] Plutus Application Framework Related to the Plutus application backend (PAB), emulator, Plutus libraries
[O] Marlowe Related to Marlowe
[O] Other Any other topic (Playgrounds, etc.)
Describe the feature you'd like
Generate a type for Ratio in plutus types declarations by adding something like
(equal <*> (genericShow <*> mkSumType)) (Proxy @(Ratio A))
Describe alternatives you've considered
Making types conversions between the Ratio type and some other wrapper.
Additional context / screenshots
Generating this Purescript type requires some changes to constructor, for now generation does not work because generated module cannot be parsed:
Error found:
at generated/PlutusTx/Ratio.purs:21:5 - 21:7 (line 21, column 5 - line 21, column 7)

  Unable to parse module:
  Unexpected token ':%'

Could you please try 409ef647525f23aa40c07db1fa8e11c71b274f84?

Could you please try 409ef64?

Okay, we will try to use this bridge part

Bridge hasn't help. The error is:

Will take a look, thanks!

The idea behind bridge is that it will translate PlutusTx.Ratio Haskell type into Data.Ratio Purescript type. So you should use Data.Ratio in your Purescript code.
I'm not sure yet how it will work for server/client communication. Might need some fixes.

The problem here is we need to make some fields of our generated types (e.g. Percentage) of type :: PlutusTx.Ratio.Ratio Integer.
That means we need to import PlutusTx.Ratio in some haskell module. When that module is generated, there is error during Purescript compilation:

Oh, right, sorry, please try 3c183d0072d7fabe78cccb4c65dd737dbd4a5a6c. I have fixed the bridge. I hope it will help.

Yes, I tried to use PlutusTx.Ratio instead of Data.Ratio too. Still the same error.
I created commit in our repo with comments to show what exactly we have done to produce that error.

Will take a look, thanks!

I think we need the same implementation as it is done for PlutusTx.AssocMap:

There is a bridge for the type
There is a Purescript module

80e39965f1bd2232fced11f62d71ad58b79f0715 should help

@stanislav-az might be true as there is no default Decode and Encode instances for Data.Ratio.

I have tried to introduce a proper wrapper for PlutusTx.Ratio in e14a76116f7818c4da7a562a6044fb991f903b9b. Please test.


refactor(cdk/overlay): use index files for public Sass API instead of copying files out

Currently we copy out a few of the CDK .scss files to the root of the cdk package so that they're more convenient to consume. The problem with this is that it prevents us from importing other Sass files, because the import path will be wrong after the files are copied (see #22043).
These changes rename the files to _index.scss which will allow users to maintain the same import paths while allowing us to remove the file copying logic and not having to worry about import paths.
Note: the commit message mentions overlay due to the linting rules, but this also applies to a11y and text-field.
BREAKING CHANGES:
Deep imports to the following CDK .scss files need to be updated:

@import '~@angular/cdk/overlay/overlay' -> @import ~@angular/cdk/overlay
@import '~@angular/cdk/a11y/a11y' -> @import ~@angular/cdk/a11y
@import '~@angular/cdk/text-field/text-field' -> @import ~@angular/cdk/text-field

Done. Also resolved the merge conflicts.


Save method refreshing the parent page

Hi,
I am using Jspdf to download a canvas in pdf. Once the save pop up comes the parent page is getting reloaded making all the drop down values to default ones. Is there any way we can prevent the parent page from refresh ?
Thank you for submitting an issue to jsPDF. Please read carefully.
Are you using the latest version of jsPDF?
Have you tried using jspdf.debug.js?
Steps to reproduce
Ideally a link too. Try fork this http://jsbin.com/rilace/edit?html,js,output
What I saw
What I expected

Can you submit a code example? I'll then reopen the bug.

Hi there,
It this issue solved? I got the Version 1.4.1 Built on 2018-06-06 CommitID 3233f44 but still experiencing the issue when saving the pdf it will reload the whole page.
Please let me know if this was solved and how.
Thanks


Better error messages when constructing data sets

If one of the 4 required column is missing or has the wrong type, we should provide a message that says exactly what the issue is. Right now it just throws an error about wrong type if you define the wage as w instead of y.
I think we should also add a construction method that simply takes the 4 required columns as input argument, ie
Bipartite(i= I, j= J, t= T , y=Y )

where I, J, T and Y are simply numpy vectors.

The most recent commit added the new constructor. I still need to update error messages.

Errors are now clearer about whether a column is missing and if it has the incorrect datatype.


Add Github Actions support

What would you like to have changed?
Add Github Actions for CI.
Why is this feature a useful, necessary, and/or important addition to this project?
It's a powerful and relatively simple CI solution comparing to others.
Before creating PR, I'd like to discuss the following:

Changes on which branches should trigger build and running tests (I suggest all)?
Should there be 3 separate badges for MacOS, Ubuntu and Windows in README or a single badge for all OSs (I suggest separate)?
Should Azure Pipelines be removed in the same PR (I suggest no)?

Thanks for the PR -- yeah, I think those are all fine, except I'd like to remove Azure. Thanks for doing that!


Make ThreadCpuStats a daemon thread

NetflixOSS » servo » servo-pull-requests #20 SUCCESS
This pull request looks good


Add NSF logo (funding section of landing page)

Under “Funding by”, please add the NSF logo next to the ERC and other logos
(I (Tevis) have reported this in several NSF reports and it would look better if their logo was reflected on the landing page.)

@pastewka, this is slight high priority because I need to create a Project Outcomes document for one of my grants and wish to include C.E. as a project outcome. I can't do that if we don't have the NSF logo on there.

Should I add a link to the NSF logo?

Yes. Please link to: https://www.nsf.govhttps://www.nsf.gov/
From: Lars Pastewka @.>
Date: Sunday, May 12, 2024 at 2:51 PM
To: ContactEngineering/ce-ui @.>
Cc: Tevis Jacobs @.>, Author @.>
Subject: Re: [ContactEngineering/ce-ui] Add NSF logo (funding section of landing page) (Issue #66)
Should I add a link to the NSF logo?
—
Reply to this email directly, view it on GitHubhttps://github.com/ContactEngineering/ce-ui/issues/66#issuecomment-2106342968, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFOUYWW3QQZ5GZ76XN7F4UTZB624FAVCNFSM6AAAAABHHYYCI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBWGM2DEOJWHA.
You are receiving this because you authored the thread.Message ID: @.***>


Add HTTPS

:+1:  :star:

Juhuu :) big thanks

I've created a chatroom #docker-boilerplate in typo3 slack:
https://forger.typo3.org/slack


Android: Run unit tests in GA

Add Github action script to run unit tests from the Android project.
@samuelclay I've started writing unit tests for some of the newly added code. Any concerns on running this in CI?

Let's do it! You should have Github Action run access if you commit to the .github/workflows/ directory.

@samuelclay Just a FYI that I'm reorganizing the Android project files to be better suited for Android Studio. Since the project was started before Android Studio existed, there were a lot of workarounds needed for adding tests, modules and other things. The git history on files will be retained.
PR https://github.com/sictiru/NewsBlur/pull/16


Installation problem Local Hyperledger Network (Windows 10 with Bash shell)

Hello,
I am trying install the local hyperledger network on my PC.
I have Windows 10 and the Bash shell and have this error at the first step :

And after of course, there is no containers running :

Docker version : 18.06.0-ce, build 0ffa825
Thank you !

I believe the script runs under a different profile and that profile doesn't find docker in its PATH.  This is more of a linux configuration issue, so I'm not sure how to fix that.

@iamjouza make sure you have docker-compose installed (https://docs.docker.com/compose/install/) or check your PATH variable.

closing - inactivity

This post worked for me in Windows 10 Enterprise version.
https://blog.jayway.com/2017/04/19/running-docker-on-bash-on-windows/


[Event Request]  codeunit 351 "Intrastat Document Completion"

Hi BC - Team
would it be possible to add new event publishers in codeunit 351 "Intrastat Document Completion"?
BC 19.0 German localisation
    [IntegrationEvent(false, false)]
    local procedure OnAfterDefaultSalesDocuments(var SalesHeader: Record "Sales Header"; IntrastatSetup: Record "Intrastat Setup")
    begin
    end;

    [IntegrationEvent(false, false)]
    local procedure OnAfterDefaultPurchaseDcouments(var PurchaseHeader: Record "Purchase Header"; IntrastatSetup: Record "Intrastat Setup")
    begin
    end;

    [IntegrationEvent(false, false)]
    local procedure OnAfterDefaultServiceDocuments(var ServiceHeader: Record "Service Header"; IntrastatSetup: Record "Intrastat Setup")
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Devrel 1074 import taxonomies

Motivation
Which issue does this fix? Fixes #issue number
If no issue exists, what is the fix or new feature? Were there any reasons to fix/implement things that are not obvious?
Checklist

[ ] Code follows coding conventions held in this repo
[ ] Automated tests have been added
[ ] Tests are passing
[ ] Docs have been updated (if applicable)
[ ] Temporary settings (e.g. variables used during development and testing) have been reverted to defaults

How to test
If manual testing is required, what are the steps?

Builds on top of #7, merge it before this PR. Review only the commits that are not in the #7.


python crashed in vs2019 when running kmeans ?

I use visual studio 2019 to open a folder without open any file. However, the above program crashes periodically and a front windows report this crash.

Thanks for the report.
Could you please provide the output of pip freeze for your Python environment so I can recreate an exact copy? Thanks!

Ok, I will try.

I use python version 3.7.3 from official website, visual studio version is 16.0.3, os version is win7 professional.
Below is the output of pip freeze.
aliyun-python-sdk-core==2.13.4
aliyun-python-sdk-core-v3==2.13.3
aliyun-python-sdk-kms==2.6.0
bleach==3.1.0
certifi==2019.3.9
chardet==3.0.4
crcmod==1.7
cycler==0.10.0
decorator==4.4.0
docutils==0.14
easydict==1.9
ete3==3.1.1
graphviz==0.10.1
idna==2.8
jmespath==0.9.4
joblib==0.13.2
kiwisolver==1.1.0
mahotas==1.4.5
matplotlib==3.0.3
networkx==2.3
numpy==1.16.3
oss2==2.6.1
pkginfo==<IP_ADDRESS>
pycryptodome==3.8.1
Pygments==2.4.0
pyparsing==2.4.0
PyQt5==5.12.2
PyQt5-sip==4.19.17
python-dateutil==2.8.0
PyYAML==5.1
readme-renderer==24.0
requests==2.21.0
requests-toolbelt==0.9.1
scikit-learn==0.20.3
scipy==1.2.1
six==1.12.0
sklearn==0.0
tabulate==0.8.3
tqdm==4.32.1
twine==1.13.0
urllib3==1.24.3
webencodings==0.5.1
wget==3.2
zss==1.2.0


"No eval log macro" for hig perf stuff ...

Looks like
debug!(...)
does all the eval of args even if behind FilterLevel that kills debug. Major problem for high perf apps. Something like this would be good:
early_filter_debug!(current_level, .... < usual args > )
that does
if current_level > debug { () } else { log!... }

Benchmarked it, compared to a atomic/level/async stack it's 600ps vs. 26ns so about 50x faster
suggestion:
/// macro to early filter debug!
#[macro_export]
macro_rules! filtered_debug(
	($l:expr, $f:expr, #$tag:expr, $($args:tt)+) => {
		if $f >= slog::Level::Debug {
			slog_log! ( $l, slog::Level::Debug, $tag, $( $args )+ )
		}
	};
	($l:expr, $f:expr, $($args:tt)+) => {
		if $f >= slog::Level::Debug {
			slog_log! ( $l, slog::Level::Debug, "", $( $args ) +)
		}
	};
);

https://docs.rs/slog/2.3.2/slog/struct.FnValue.html can be used for lazy evaluation.
In slog there is no "one true current level of logging". Each drain has a freedom to process or ignore any message. Compile time static log level is a thing and should get rid of all the debug and trace messages at compile time.

I mean example of the lazy eval ...

https://github.com/slog-rs/misc/blob/master/examples/features.rs#L87

ok, I see, it's still too slow for me & not a pretty thought to go and bracket all logs that way but I see how what I suggest is not generic enough ...


Could not build wheels for selective_scan, which is required to install pyproject.toml-based projects

Hello, I encountered the following error while trying to install. Can you try to resolve it?
Processing /home/hhy/下载/VMamba-main/kernels/selective_scan
Preparing metadata (setup.py) ... done
Requirement already satisfied: torch in /home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages (from selective_scan==0.0.2) (2.1.1+cu118)
Requirement already satisfied: packaging in /home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages (from selective_scan==0.0.2) (23.2)
Requirement already satisfied: ninja in /home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages (from selective_scan==0.0.2) (<IP_ADDRESS>)
Requirement already satisfied: einops in /home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages (from selective_scan==0.0.2) (0.7.0)
Requirement already satisfied: filelock in /home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages (from torch->selective_scan==0.0.2) (3.9.0)
Requirement already satisfied: typing-extensions in /home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages (from torch->selective_scan==0.0.2) (4.8.0)
Requirement already satisfied: sympy in /home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages (from torch->selective_scan==0.0.2) (1.12)
Requirement already satisfied: networkx in /home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages (from torch->selective_scan==0.0.2) (3.2.1)
Requirement already satisfied: jinja2 in /home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages (from torch->selective_scan==0.0.2) (3.1.2)
Requirement already satisfied: fsspec in /home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages (from torch->selective_scan==0.0.2) (2024.3.1)
Requirement already satisfied: triton==2.1.0 in /home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages (from torch->selective_scan==0.0.2) (2.1.0)
Requirement already satisfied: MarkupSafe>=2.0 in /home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages (from jinja2->torch->selective_scan==0.0.2) (2.1.3)
Requirement already satisfied: mpmath>=0.19 in /home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages (from sympy->torch->selective_scan==0.0.2) (1.3.0)
Building wheels for collected packages: selective_scan
Building wheel for selective_scan (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [118 lines of output]
  torch.__version__  = 2.1.1+cu118

  CUDA_HOME = /home/hhy/anaconda3/envs/mamba

  running bdist_wheel
  running build
  running build_ext
  /home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages/torch/utils/cpp_extension.py:424: UserWarning: There are no g++ version bounds defined for CUDA version 11.8
    warnings.warn(f'There are no {compiler_name} version bounds defined for CUDA version {cuda_str_version}')
  building 'selective_scan_cuda_core' extension
  creating /home/hhy/下载/VMamba-main/kernels/selective_scan/build
  creating /home/hhy/下载/VMamba-main/kernels/selective_scan/build/temp.linux-x86_64-cpython-310
  creating /home/hhy/下载/VMamba-main/kernels/selective_scan/build/temp.linux-x86_64-cpython-310/csrc
  creating /home/hhy/下载/VMamba-main/kernels/selective_scan/build/temp.linux-x86_64-cpython-310/csrc/selective_scan
  creating /home/hhy/下载/VMamba-main/kernels/selective_scan/build/temp.linux-x86_64-cpython-310/csrc/selective_scan/cus
  Emitting ninja build file /home/hhy/下载/VMamba-main/kernels/selective_scan/build/temp.linux-x86_64-cpython-310/build.ninja...
  Compiling objects...

  Traceback (most recent call last):
    File "/home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2100, in _run_ninja_build
      subprocess.run(
    File "/home/hhy/anaconda3/envs/mamba/lib/python3.10/subprocess.py", line 526, in run
      raise CalledProcessError(retcode, process.args,
  subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

  The above exception was the direct cause of the following exception:

  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "/home/hhy/下载/VMamba-main/kernels/selective_scan/setup.py", line 140, in <module>
      setup(
    File "/home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages/setuptools/__init__.py", line 104, in setup
      return distutils.core.setup(**attrs)
    File "/home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 184, in setup
      return run_commands(dist)
    File "/home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 200, in run_commands
      dist.run_commands()
    File "/home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
      self.run_command(cmd)
    File "/home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages/setuptools/dist.py", line 967, in run_command
      super().run_command(command)
    File "/home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 364, in run
      self.run_command("build")
    File "/home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
      self.distribution.run_command(command)
    File "/home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages/setuptools/dist.py", line 967, in run_command
      super().run_command(command)
    File "/home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages/setuptools/_distutils/command/build.py", line 132, in run
      self.run_command(cmd_name)
    File "/home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
      self.distribution.run_command(command)
    File "/home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages/setuptools/dist.py", line 967, in run_command
      super().run_command(command)
    File "/home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 91, in run
      _build_ext.run(self)
    File "/home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 359, in run
      self.build_extensions()
    File "/home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 873, in build_extensions
      build_ext.build_extensions(self)
    File "/home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 479, in build_extensions
      self._build_extensions_serial()
    File "/home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 505, in _build_extensions_serial
      self.build_extension(ext)
    File "/home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 252, in build_extension
      _build_ext.build_extension(self, ext)
    File "/home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 560, in build_extension
      objects = self.compiler.compile(
    File "/home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 686, in unix_wrap_ninja_compile
      _write_ninja_file_and_compile_objects(
    File "/home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1774, in _write_ninja_file_and_compile_objects
      _run_ninja_build(
    File "/home/hhy/anaconda3/envs/mamba/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2116, in _run_ninja_build
      raise RuntimeError(message) from e
  RuntimeError: Error compiling objects for extension
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for selective_scan
Running setup.py clean for selective_scan
Failed to build selective_scan
ERROR: Could not build wheels for selective_scan, which is required to install pyproject.toml-based projects

u can learn from question #161
I hope I can help u.


The "token_sources" key is not restricting the token sources

https://github.com/greenpau/caddy-auth-jwt/blob/master/pool.go#L112
Is where the check that a valid list of allowed sources exists... where here is where they are checked:
https://github.com/greenpau/caddy-auth-jwt/blob/master/validator.go#L83
And that checks every source.
Also the current code does not check a custom token name from "token_name"?
I can submit a pull request for these changes, however I do have a few questions:

If you supply a custom token name, should that Append to the default token_names that can be used, or should it override and set the token name (so you can't use the defaults if you set a custom token name)?
When checking for the source of a token should the order be preserved by they way they are in the slice? or should it always check in a pre-determined order?
The Headers, Cookies, Parameters and Sources maps all are map[string]bool. Do you have any issue changing this to map[string]struct{} to show that the map is only used for quickly checking if a key exists and nothing more? I understand that the memory/GC/speed savings of making this change are minimal. I was thinking more of developers understanding how the code works.

@njones , thank you for the questions! I think it is worth creating PR for README.md. I like your questions a lot!

If you supply a custom token name, should that Append to the default token_names that can be used, or should it override and set the token name (so you can't use the defaults if you set a custom token name)?

@njones , override and set the token name.

When checking for the source of a token should the order be preserved by they way they are in the slice? or should it always check in a pre-determined order?

@njones , the order be preserved by they way they are in the slice.

The Headers, Cookies, Parameters and Sources maps all are map[string]bool. Do you have any issue changing this to map[string]struct{} to show that the map is only used for quickly checking if a key exists and nothing more? I

@njones , awesome suggestion!


my app's go process could'nt attach correctly to <IP_ADDRESS>:port

Description

I'm trying to publish my go app as a docker image, my app is using  : http.ListenAndServe("<IP_ADDRESS>:"+port, nil)  to start the server.
The application was running corretly in my environnement but not as a docker container.
Steps to reproduce the issue:

Build a simple go application that start a server on <IP_ADDRESS>:port
Dockerise it
Start the container

Describe the results you received:
The container seems working but is not receiving any request
Describe the results you expected:
The container ( application ) should be working
Additional information you deem important (e.g. issue happens only occasionally):
I found a fix, I just started the server without specifying IP address like this : http.ListenAndServe(":"+port ) instead of http.ListenAndServe("<IP_ADDRESS>:"+port )
I just lost some good amount of time trying to undestand what was happening.
Hope this can help.

Using docker for mac

<IP_ADDRESS> in a container is a special local interface within that container, that you can only reach from another process within the container.
For most use cases you want to listen on <IP_ADDRESS>.

Thank you Justin for your clarification.

On 12 Oct 2016, at 12:07, Justin Cormack<EMAIL_ADDRESS>wrote:
<IP_ADDRESS> in a container is a special local interface within that container, that you can only reach from another process within the container.
For most use cases you want to listen on <IP_ADDRESS>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/docker/docker/issues/27315#issuecomment-253184037, or mute the thread https://github.com/notifications/unsubscribe-auth/AACG40oUsXhf-_i5i1FL-q7JeMrctOhlks5qzL9WgaJpZM4KUjnm.

I am going to close this issue, as it is not a bug, but feel free to continue asking questions.


Add also whois details for valid IP addresses

For each valid IP address, add the Whois Test and the Link to it in order to validate the details.
(Point 55 of the Doc)

Implemented, can you test it..

The link is here but no details about it. See <IP_ADDRESS> on "ssl_cartel.ch_withip.csr.txt"

I can't reproduce your problem. Detail is show by me.. See screenshot..

Strange, working fine now.....


bug:

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
0.12.1
Current Behavior
usePrepareSendTransaction(), useWaitForTransaction(), usePrepareContractWrite() and useWaitForTransaction() occured errors like this.

This hooks were worked when I used wagmi v0.11.7. However, i faced this problem after upgrading wagmi version to 0.12.1.
The language I am using is TypeScript.
Expected Behavior
What can I do to let these hooks are worked without error like in v0.11.7?
Steps To Reproduce

Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
No response
Anything else?
No response

You fixed the error in version 0.12.2.
Thank you.


Add comments and README file

done
https://github.com/TheAlgorithms/C-Plus-Plus/pull/526/commits/fca9993ee9e377cac781bd79662dc7e194bdb9ca

thanks


localization support for clock in candy theme

Now uses 12-hour clock or 24-hour clock depending
on user locale

For reference, here's the documentation on the prompt sequence used for formatting Date and Time.
The insides of %D{} use strftime-type sequences, so using %X will show:

%X
The preferred time representation for the current locale without the date.

And here's the difference between the old and new format strings:
$ print -P '%D{[%I:%M:%S]}'
[12:49:46]
$ print -P '%D{[%X]}'
[00:49:47]

In my opinion, this is good to go! :+1:


pull

@balonik I cant merge this pull request. There are a lot of conflicts that are too complex to resolve. I have manually implemented your modification. I hope this is fine with you. I will update the readme file to indicate these implementations are done by you. Thanks for your contribution.

@DarkAlexWang
I know there are lots of conflicts, that's why I initially didn't create pull request. Manual modifications are fine. Keep up the good work.


Fix: validate number input values

Fixes #792, closes #810.
The underlying problem is that the native number input automatically blanks invalid values, and Enketo was not considering native form validation cases. Chrome prevents users from entering invalid values in the first place, but Firefox and Safari do not. So while a number input may display an invalid value, the underlying view and model data is blank.
This is a narrow fix, only addressing native validation of number inputs which are not handled by other widgets. It may be a good idea to extend native validation logic to forms generally, but I'm not sure how much risk that would entail.
This change also moves number input handling into a widget. This isn't strictly necessary, but it's a direction I'd like to move for non-widget logic where a widget would make sense.
Lastly, a quick note about a couple changes in logic from the current mask implementation: rather than attempting to detect copy/cut/paste keyboard commands, this now allows any cmd- (meta-) or ctrl- keyboard shortcut. And the paste event would be redundant, because validation is handled in an input event which is also fired on cut and paste.

I really don't understand what's happening with the build:
Run xvfb-run --auto-servernum npm run test-browsers

><EMAIL_ADDRESS>test-browsers /home/runner/work/enketo-core/enketo-core
> cross-env NODE_OPTIONS='--max-old-space-size=8192' grunt karma:browsers

Running "karma:browsers" (karma) task
28 11 2022 13:19:11.625:ERROR [launcher]: Cannot start Firefox
	Can not find the binary firefox
	Please set env variable FIREFOX_BIN

Things work locally. I don't see anything in this branch which would change the environment related to Firefox. I pushed a new branch off master to see whether it would fail and it doesn't (https://github.com/lognaturel/enketo-core/actions/runs/3568190243/jobs/5996779996).
I'm going to merge. It seems like there might be something about this CI run that's not right and that's not reset by a full re-run.

I'm going to merge. It seems like there might be something about this CI run that's not right and that's not reset by a full re-run.

Sigh, I was wrong and it fails on master as well.

Same commit works on master on my branch: https://github.com/lognaturel/enketo-core/commit/fd21204caab56250c70c08de698f82a693480179
The one possibly substantive difference I notice is that npm ci runs on my branch. I'm going to try to do the release prep which bumps dependencies and see if that gets things working here.


Plans for Context support?

for example, taking context arg to "final" methods which actually execute the queries, and access to the context in callbacks.
Benefits:

pass timeouts and cancellations through
callbacks for metrics and tracing

The https://github.com/markbates/pop (v3.x) repo has been moved to https://github.com/gobuffalo/pop (v4.x). The markbates/pop repo has been put into READ-ONLY mode and will no longer be updated. You may continue to use this repository, but be aware no more updates will be made on it.
If this is issues is still relevant, please open a new issue on the repository.
For more information on this move see https://github.com/markbates/pop/issues/164
Thank you so much and I apologize in advance for any trouble this may cause you.


Will it support to collect performance data of any iOS App processes running on iPhone without source code ?

DetoxInstruments is a wonderful tool to analyze the iOS App performance based on the source code. Sometimes developers want to compare the performance with competing App products without source code.So is there any method to collect performance data of any iOS Apps without source code ?

Hello,
The profiler framework (and Detox Instruments in general) is an in-process method of data collection. So it is not normally possible to collection information of an app that runs without the Profiler framework integrated.
In a jailbroken device, you can inject the profiler framework using DYLD_INSERT_LIBRARIES or similar strategies, at which point you should be able to connect and collection performance information.
Cheers

Hello,
The profiler framework (and Detox Instruments in general) is an in-process method of data collection. So it is not normally possible to collection information of an app that runs without the Profiler framework integrated.
In a jailbroken device, you can inject the profiler framework using DYLD_INSERT_LIBRARIES or similar strategies, at which point you should be able to connect and collection performance information.
Cheers

Thank you very much for your detailed reply:)


Slimserver: Installation of third party plugin fails due to missing Zip module

Describe the bug
When I try to install and activate some third party plugins from Slimserver UI's "plugin" settings page the system correctly asks me if I want to restart the server immediately. If I choose "yes" the service restarts but the wanted plugin is not  on the list of those activated.
Looking into the logs of the service I found out this line:
[21-08-30 11:57:16.1597] Slim::Utils::PluginDownloader::extract (102) error loading Archive::Zip Can't locate Archive/Zip.pm in @INC (you may need to install the Archive::Zip module) ....

... which is emitted during (re)startup. I think that this maybe this module is missing from the service closure?
Steps To Reproduce
Steps to reproduce the behavior:

Install the slimserver service;
From the service web UI click on settings link on the lower right;
On the new opened web page go to the plugin tab;
Check the following third party plugins Band's Campout;
Click on to apply and restart now;
After a few seconds refresh the page and verify the activation of the selected plugin;

Expected behavior
To find the plugin active and ready to use after point 6.
Additional context
I'm using the 21.05 package and NixOS module.
Notify maintainers
@phile314
Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.13.12, NixOS, 21.05pre-git (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.15`
 - channels(root): `"nixos-21.05.2734.74d017edb67, unstable-21.11pre312125.21c937f8cb1"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:
attribute:
  - slimserver
module:
  - "./nixos/modules/services/audio/slimserver.nix"

Looking at the package definition probably it just lacks the perlPackages.Zip entry in buildInputs? I'll try asap

Switching to  unstable's package seems to solve the issue of the Zip module, now I'm trying to install another module "Custom Scan" and it fails with Loading failed on the interface...

[21-08-30 12:52:41.4559] Slim::bootstrap::tryModuleLoad (285) Warning: Module [Plugins::CustomScan::Plugin] failed to load:
Can't locate Cache/Cache.pm in @INC (you may need to install the Cache::Cache module)

I've fixed it by overriding the installed package like this:
    slimserver = unstable.slimserver.overrideAttrs (old: {
      buildInputs = old.buildInputs ++ [
        unstable.perlPackages.CacheCache
      ];
    });


Can't remove "night" arming mode?

Hello,
Not a bug, more of a question as I can't figure out how to do this. The "night" arming mode does not work for me, I always get "no response" and all I really need is "home" and "away" anyway so I want to remove it.
I tried removing "night" from the list of "armingModes" in the plugin configuration, then restarted homebridge, but the "Night" arming mode is still listed in the Home app.
Am I doing something wrong?
Thanks a ton,

Jeff

Hi,  I'm not running the latest version yet (a new baby is taking priority) but I suspect you would need to remove night arming from not only the config but also the index.ts here in homebridge-node-alarm-dot-com but possibly also in node-alarm-dot-com where that state is imported from.

I may be wrong but I believe it might be required or necessary to have the Night mode because of how Homekit handles security systems. I remember reading something similar when I was looking to integrate Abode with Homekit; even from Abode one of the arming modes was ported to "night" mode because the Homekit "buttons"/controls don't read the states from the source, they just have their own pre-determined interface.

From what I understand, @DacoDev is right. The three arming modes are built into homekit and cannot be removed. The best you can do is check to make sure your config matches for stay and night and then, at least, it'll be arming with the same parameters.

Understood, thank you!


Competition submission has been running too long

Problems
Hi, there. I submitted my solution to the Track 1 Test server on Oct 17 and the submission has been running for two days without returning the results. Is it normal? And if it is not, can anybody offer some help? Thank you very much!

Hello @MCZhi, apologies it looks like there may have been an error with the queue. It looks like the submission never started. I have cancelled it.

Hi @MCZhi,
Your submission is being re-run now.

Thanks for your help!


vpctool: don't run bpfloader test if it will fail

Most linux distros disallow unprivlieged bpf by default, so
make test-local in this configuration fails as an unprivleged user:
=== RUN   TestLoad
bpfloader_linux_test.go:20:
    	Error Trace:	bpfloader_linux_test.go:20
    	Error:      	Received unexpected error:
    	            	operation not permitted
    	Test:       	TestLoad

--- FAIL: TestLoad (0.01s)
Let's detect this case and skip it.

Is the test running under CI though?

No, it skips because of the CIRCLECI env var: https://github.com/Netflix/titus-executor/blob/master/vpc/tool/bpfloader/bpfloader_linux_test.go#L14
presumably because they don't want people loading random blobs into their kernels. (maybe more reason to spend some time setting up a hardware virtualization based CI setup...)