[CI] show less verbose log and give failed summary for each commit id

Fix: https://github.com/intel/intel-xpu-backend-for-triton/issues/2302
Now we have a failed cases summary:

https://github.com/intel/intel-xpu-backend-for-triton/actions/runs/11009534190/job/30569394563
Note that there are no more detailed log for FAILED cases. so could not get exact error message for each cases.

The exact error message is not shown, there is only a list of failed tests.
2024-09-24T09:01:59.3474072Z cid: dc1221cd83e67efb94ec5c729f250bbe1d886707:
2024-09-24T09:01:59.3475958Z FAILED language/test_core.py::test_bitwise_op[1-int8-int8-|2]
2024-09-24T09:01:59.3477249Z FAILED language/test_core.py::test_bitwise_op[1-uint64-uint16-&3]
2024-09-24T09:01:59.3490394Z FAILED language/test_annotations.py::test_int_annotation[False-8]
...

The exact error message is not shown, there is only a list of failed tests.
2024-09-24T09:01:59.3474072Z cid: dc1221cd83e67efb94ec5c729f250bbe1d886707:
2024-09-24T09:01:59.3475958Z FAILED language/test_core.py::test_bitwise_op[1-int8-int8-|2]
2024-09-24T09:01:59.3477249Z FAILED language/test_core.py::test_bitwise_op[1-uint64-uint16-&3]
2024-09-24T09:01:59.3490394Z FAILED language/test_annotations.py::test_int_annotation[False-8]
...

In our case, there is more detailed  error message in the original log. But I still capture the raw log for each failed cases:
Tests failed for translator commit dc1221cd83e67efb94ec5c729f250bbe1d886707
=================================== FAILURES ===================================
____________________ test/unit/language/test_annotations.py ____________________
[gw0] linux -- Python 3.10.14 /home/jovyan/conda/envs/junhui-py310/bin/python3
worker 'gw0' crashed while running 'test/unit/language/test_annotations.py::test_int_annotation[False-8]'
_______________________ test/unit/language/test_core.py ________________________
[gw6] linux -- Python 3.10.14 /home/jovyan/conda/envs/junhui-py310/bin/python3
worker 'gw6' crashed while running 'test/unit/language/test_core.py::test_bitwise_op[1-int32-uint64-^1]'
...
================== xdist: maximum crashed workers reached: 32 ==================
No warnings to write.
=========================== short test summary info ============================
Tests failed for translator commit 569972a61c86aa6892df443c6405283235022247
=================================== FAILURES ===================================
_______________________ test/unit/language/test_core.py ________________________
[gw2] linux -- Python 3.10.14 /home/jovyan/conda/envs/junhui-py310/bin/python3
worker 'gw2' crashed while running 'test/unit/language/test_core.py::test_bin_op[1-uint32-bfloat16-/]'
_______________________ test/unit/language/test_core.py ________________________
[gw6] linux -- Python 3.10.14 /home/jovyan/conda/envs/junhui-py310/bin/python3
worker 'gw6' crashed while running 'test/unit/language/test_core.py::test_bitwise_op[1-int32-uint64-^1]'
____________________ test/unit/language/test_annotations.py ____________________
[gw0] linux -- Python 3.10.14 /home/jovyan/conda/envs/junhui-py310/bin/python3
worker 'gw0' crashed while running 'test/unit/language/test_annotations.py::test_int_annotation[False-8]'
...

spirv-llvm-translator.conf has been updated to the latest cid, so there is no test run yet.

In our case, there is no more detailed error message in the original log. But I still capture the raw log for each failed cases:

Right, this is what #2302 about, the error message is in the middle of a huge log.

The PR has two purposes:

Reduce the verbose log.

Log for Run#47 (https://github.com/intel/intel-xpu-backend-for-triton/actions/runs/11009534190/job/30569394563) has lots of records:
Found link ... & Skipping link ..., Which appears 70,000 times for 15 commit ids check, These logs can be eliminated by changing pip install -vvv -e '.[build,tests]' to pip install -v -e '.[build,tests]' in file scripts/compile-triton.sh.
But Run#39 is special, log have extra extremely large amount of records: warning: Double arithmetic operation is not supported on this platform with FP64 conversion emulation mode (poison FP64 kernels is enabled).
It appeared 264,000+ times in run #39(the only run that have this records), this info appears before all commit ids check, and is related to building intel-xpu-backend-for-triton/pytorch.
And I've checked for run #33 #37 #41 #44 #49 #52 #62 #61, This particular record dose not appear in the logs.

Print the error message for each failed commit id.

Again, the above useless records appear before test running, so "the error message is in the middle of a huge log." is not true. This PR adds a Step to print each failed cid and the test error message (below is an example run):
Tests failed for translator commit dc1221cd83e67efb94ec5c729f250bbe1d886707:
=================================== FAILURES ===================================
____________________ test/unit/language/test_annotations.py ____________________
[gw0] linux -- Python 3.10.14 /home/jovyan/conda/envs/junhui-py310/bin/python3
worker 'gw0' crashed while running 'test/unit/language/test_annotations.py::test_int_annotation[False-8]'
_______________________ test/unit/language/test_core.py ________________________
[gw6] linux -- Python 3.10.14 /home/jovyan/conda/envs/junhui-py310/bin/python3
worker 'gw6' crashed while running 'test/unit/language/test_core.py::test_bitwise_op[1-int32-uint64-^1]'
...
================== xdist: maximum crashed workers reached: 32 ==================
No warnings to write.
=========================== short test summary info ============================

So after applying this PR,

Useless records: Found link ... & Skipping link ... will not appear in the logs.
Print the error message for each failed commit id has been enabled.
I'm not sure the special record during building intel-xpu-backend-for-triton/pytorch. No idea why this Pytorch was built in this particular Run.

Hi @pbchekin , please have a look on my commend, and see if it meets our target

Before this PR, the log of Run#74 (https://github.com/intel/intel-xpu-backend-for-triton/actions/runs/11336319478) has 25610 lines.
After applying this PR, log of Run#75 (https://github.com/intel/intel-xpu-backend-for-triton/actions/runs/11337498744) has 1994 lines.
Which approves this PR meets the target.

In the run https://github.com/intel/intel-xpu-backend-for-triton/actions/runs/11337498744/job/31529198127#step:12:1 "show summary of failed commit id" is empty, however there was a build error.

Closed in favor of #2551.


Assignment glitch

Describe the bug
whenever i try to see my issignments it breaks and sends me to the login screen
What error message appears?
No response
To reproduce
click assignments
Expected behavior
boots you to login screen
What browsers are you seeing the problem on?
Chrome
What operating systems are you seeing the problem on?
No response

Hey @Golden-Piglin!
Thanks for submitting this issue. I've been working to fix it, and I think it should be fixed with b95bc95. On your end, please verify the bug no longer exists and reply letting me know the status.

I also believe some of your bug report is incorrect. Are you sure the expected behavior is "boots you to the login screen?" In the future, double check your bug report before submitting them.

OK


Improve styles codebase

The currect styles have multiple problems

[ ] Drop Sass for Stylus or PostCSS to avoid non-js binaries [open discussion]
[ ] Remove all nesting in selectors
[ ] Stricter lint rules

[ ] More variables/mixins
[ ] 6 digits colors
...

...

Use native CSS variables?

Pure CSS is a decent option today indeed

I'm talking about pure css variables for now, I still like the ability to nest stuff (a-la sass/less/stylus etc.) and I don't think css allows that ATM
Just to be clear.

Nesting is a not a must-have feature imho, it leads to potential terrible code (e.g the current one)

There are 2 ways you can go: forbid nesting and use pure css or just be disciplined in using nesting and don't go nuts with it. I prefer 2nd option


Deploy to candidate (prod-beta)

Codecov Report

Merging #295 (c6e7c57) into prod-beta (11a567e) will increase coverage by 1.78%.
The diff coverage is 87.50%.

@@              Coverage Diff              @@
##           prod-beta     #295      +/-   ##
=============================================
+ Coverage      83.87%   85.65%   +1.78%
=============================================
  Files             24       24
  Lines            930      962      +32
  Branches         330      351      +21
=============================================
+ Hits             780      824      +44
+ Misses           150      138      -12

Impacted Files
Coverage Δ

src/Components/Breadcrumbs/index.js
100.00% <ø> (ø)

src/Components/ClusterHeader/ClusterHeader.js
100.00% <ø> (ø)

src/Components/Labels/CategoryLabel.js
100.00% <ø> (ø)

src/Components/Labels/RuleLabels.js
100.00% <ø> (ø)

src/Components/Loading/Loading.js
100.00% <ø> (ø)

src/Components/MessageState/EmptyStates.js
88.88% <ø> (ø)

src/Components/MessageState/MessageState.js
100.00% <ø> (ø)

src/Components/Modals/DisableRule.js
94.44% <ø> (ø)

src/Services/Filters.js
100.00% <ø> (ø)

...nts/AffectedClustersTable/AffectedClustersTable.js
90.08% <73.80%> (-9.04%)
:arrow_down:

... and 7 more

Continue to review full report at Codecov.

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

:tada: This PR is included in version 1.4.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.7.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Configure rubocop and fix a bunch of offences

Good work. Unfortunately, this pull request is rather out of date. Can we make a new one?

It was fairly manual. No idea why I didn't merge it before!

This has been superseded by https://github.com/postalserver/postal/pull/2379


base href not being used?

Does this package respect the href  value? It doesn't appear so and as a result is generating a lot of errors trying to load local markdown files.


Unbelievable! gold fish free coins - The Ultimate Hack to Get gold fish free coins Players Revealed!

Unbelievable! gold fish free coins - The Ultimate Hack to Get gold fish free coins  Players Revealed! You Won't Believe Your Eyes When You See How Easy It Is to Get gold fish free coins  With This Game-Changing Tool!
🔴📺📱👉 Click here to get gold fish free coins
🔴📺📱👉 Click here to get gold fish free coins
🔴📺📱👉 Click here to get gold fish free coins
🔴📺📱👉 Click here to get gold fish free coins
🔴📺📱👉 Click here to get gold fish free coins
🔴📺📱👉 Click here to get gold fish free coins
Exploring the Exciting World of Goldfish Free Coins
In the ever-evolving landscape of online gaming, the allure of free coins has captivated the attention of countless players. Goldfish, a beloved mobile game, has become a prime destination for those seeking to maximize their gaming experience without breaking the bank. In this article, we'll delve into the intricacies of goldfish free coins, uncovering the benefits, strategies, and insights that can help you navigate this rewarding landscape.
Unlocking the Power of Goldfish Free Coins
Goldfish free coins are a crucial component of the game, allowing players to access a wide range of in-game features and upgrades without the need for financial investment. These coins can be obtained through various means, including completing daily tasks, participating in special events, or even leveraging external sources such as promotional codes and affiliate programs.
The Benefits of Goldfish Free Coins
One of the primary advantages of goldfish free coins is the ability to enhance your gaming experience without compromising your budget. With these coins, you can unlock new levels, acquire powerful upgrades, and even customize your virtual goldfish in ways that may have otherwise been out of reach. This democratization of the gaming experience empowers players to enjoy the game to the fullest, regardless of their financial resources.
Furthermore, goldfish free coins can serve as a gateway to a deeper engagement with the game. As players accumulate these coins, they may discover new strategies, explore different game mechanics, and even connect with a thriving community of fellow goldfish enthusiasts. This sense of progression and community can significantly contribute to the overall enjoyment and longevity of the gaming experience.
Strategies for Obtaining Goldfish Free Coins
Maximizing your goldfish free coin acquisition requires a strategic approach. One effective tactic is to consistently log in to the game and complete the daily tasks and challenges. These may include simple activities such as feeding your goldfish, participating in mini-games, or even sharing your progress on social media. By establishing a routine and consistently engaging with these tasks, players can amass a steady stream of free coins over time.
Additionally, keeping an eye out for special events and promotions can be a valuable source of goldfish free coins. Game developers often introduce limited-time offers, giveaways, or even collaborative events that provide players with the opportunity to earn a significant number of coins. By staying informed and taking advantage of these opportunities, players can quickly build up their coin reserves.
Leveraging External Resources
While the in-game avenues for obtaining goldfish free coins are essential, there are also external resources that can amplify your coin-gathering efforts. Online forums, fan communities, and dedicated websites may offer insights, tips, and even promotional codes that can unlock additional free coins. Engaging with these resources and staying up-to-date with the latest developments in the goldfish gaming community can be a highly rewarding strategy.
The Impact of Goldfish Free Coins on the Gaming Experience
Goldfish free coins have a profound impact on the overall gaming experience. By providing players with the means to access exclusive content, unlock new features, and enhance their virtual goldfish, these coins empower them to tailor their gameplay to their preferences. This level of customization and control can foster a deeper sense of ownership and investment in the game, ultimately leading to a more immersive and satisfying experience.
Furthermore, the availability of goldfish free coins can serve as a gateway for newcomers to the game. By offering a way to explore the game's features without the need for a financial commitment, these coins can lower the barrier to entry and encourage more players to discover the joys of the goldfish gaming universe.
Conclusion
Goldfish free coins are a game-changing element in the world of mobile gaming. By providing players with the means to enhance their gaming experience without financial constraints, these coins have become a sought-after resource that can unlock a world of possibilities. Whether you're a seasoned goldfish enthusiast or a newcomer to the game, understanding the strategies and benefits of goldfish free coins can greatly enhance your overall enjoyment and success. Embrace the power of these virtual coins and embark on an unforgettable goldfish adventure.
🔴📺📱👉 Click here to get gold fish free coins
🔴📺📱👉 Click here to get gold fish free coins
🔴📺📱👉 Click here to get gold fish free coins
🔴📺📱👉 Click here to get gold fish free coins
🔴📺📱👉 Click here to get gold fish free coins
🔴📺📱👉 Click here to get gold fish free coins

Gold Fish Casino HACK http://k3a.top/f8d4790?Fish
Gold Fish Casino HACK http://k3a.top/f8d4790?Fish
Gold Fish Casino HACK http://k3a.top/f8d4790?Fish
Gold Fish Casino HACK http://k3a.top/f8d4790?Fish
Gold Fish Casino HACK http://k3a.top/f8d4790?Fish
Gold Fish Casino HACK http://k3a.top/f8d4790?Fish
Gold Fish Casino HACK http://k3a.top/f8d4790?Fish
Gold Fish Casino HACK http://k3a.top/f8d4790?Fish
Gold Fish Casino HACK http://k3a.top/f8d4790?Fish
Gold Fish Casino HACK http://k3a.top/f8d4790?Fish


Rename/generalize Import

I'm writing a Morte IDE, and I want to embed "blank" expressions in the AST (expressions that are yet to be written). Currently the AST supports embedding arbitrary values, so I could just use something like this:
data Blank = Blank
type Expr' = Expr Blank

However, Import Blank is strange. I propose to rename the Import constructor to something more general (e.g. Embed).
I'll create a PR if you think it makes sense.

Yep, that makes sense to me.  The whole point of parametric polymorphism is that the polymorphic value could mean anything, not just Paths or Void.


Add attempt count to macOS VM name

Description
For now we can't rerun failed build, because it fails due to new virtual machine has the same name as previous VM. Adding attempt counter we create new virtual machine name on rerun failed build.
Related issue:
Check list

[x] Related issue / work item is attached
[x] Tests are written (if applicable)
[x] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run macos1015


Linked widget not working in a new release in pivot tables

Drill down in pivot doesn't cause the drill in linked widgets if the pivot is drilled.
v 2.0.17 and newer
Test case
http://<IP_ADDRESS>/dsw/index.html#!/d/Widget Examples/Linked Widgets.dashboard?ns=SAMPLESTEST

Urgent thing.


Delete Old Users

Automatically delete Users that don't have iServ accounts.

Some former students were still part of the school library. I didn't just want to remove them automatically.
I mean, they all have empty roles after synchronizing with the users.csv, so you can manually find and remove them.
But I suppose a new dialog for removing users, not in the users.csv, after synchronization might be helpful.

They are now marked with the '-' role and can be searched for and deleted with the new advanced user search (https://github.com/wrenger/schiller-lib/commit/57f3bd4b47aa9b2624863452892f752bac15ecc4)

Looks good, that fixes this issue!


Refactor Python API to PEP8-compliant names

Expected/Desired Behavior:
Python API should be PEP 8 complaint.  Method names should be of the form some_name.
Actual Behavior:
Python API is currently Java-like.  Method names are of the form someName.
Detailed Steps to Reproduce the Behavior:
Run pylint mininet/ to see deviations from PEP 8.
Additional Information:
Code refactor is needed.  Some items can be done automatically in PyCharm with its 'Reformat code' feature.

Mininet conforms to its own Python style, which is based on the Arista style.'
Here is the description:
https://github.com/mininet/mininet/wiki/Mininet-Python-Style
And here's the tool to convert pep8 to it:
https://github.com/mininet/mininet/blob/master/util/unpep8


Tablet Devices: not working

not working in SGH and other Tablets ...I have test and perfectly work on Samsungh Device S4, but the same example not work on SGH Tablet 7" and 10" and also Huawei and China Devices

Thank you for reporting, Actually I haven't tested on tablet devices. Will look into it.

Thanks a lot buddy ..

PR is welcome, by the way ;)

@abdulrahmanmajeed
Fix solution :
public static void hideKeyboard(Activity activity) {

   View view = activity.getCurrentFocus();

   View view = activity.getWindow().getDecorView();

closed via #16


Create Service Instance E2E tests & Marketplace Summary View E2E tests

@nwmac This isnt ready for review yet, its still tagged work in progress


[Feat]: Add Tabnine AI  for Writing Better Code Faster and More Secure

What feature?
GSSOC'23
Feature Description:

Add Tabnine AI for Writing Better Code Faster and More Secure

Add screenshots
Add screenshots:

Code of Conduct

[X] I agree to follow this project's Code of Conduct

NOTE: I want to work on this Issue

Hi @JasonDsouza212 . Please review on this Issue. If possible, assign me


To reference

Hello, I'm interested in your work, respectfully.
I was wondering how I could refer to this work.
Thank you in advance.

Hi @SorawatSiangpipop,
APA:

Luu, K. evodcinv: Inversion of dispersion curves using Evolutionary Algorithms [Computer software]. https://doi.org/10.5281/zenodo.5775193

BibTeX
@software{Luu_evodcinv_Inversion_of,
author = {Luu, Keurfon},
doi = {10.5281/zenodo.5775193},
license = {BSD-3-Clause},
title = {{evodcinv: Inversion of dispersion curves using Evolutionary Algorithms}},
url = {https://github.com/keurfonluu/evodcinv}
}


Using raw audio samples as input features

Hi,
I am trying to do some experiment with wav2vec2 architectures. To do so I need to define the raw audio samples as features in CutSets, but I am not sure how to do that.
Can you please explain me what is the best practice to do that?

You need to change
https://github.com/k2-fsa/icefall/blob/a7643301ecc7ca704b1fdc44b30b435fceda663f/egs/librispeech/ASR/tdnn_lstm_ctc/asr_datamodule.py#L244-L248
to
 train = K2SpeechRecognitionDataset(
     cut_transforms=transforms,
     input_transforms=input_transforms,
     return_cuts=self.args.return_cuts,
     input_strategy=AudioSamples()
 )

By default, it uses pre-computed features, see
https://github.com/lhotse-speech/lhotse/blob/master/lhotse/dataset/speech_recognition.py#L61
    def __init__(
        self,
        return_cuts: bool = False,
        cut_transforms: List[Callable[[CutSet], CutSet]] = None,
        input_transforms: List[Callable[[torch.Tensor], torch.Tensor]] = None,
        input_strategy: BatchIO = PrecomputedFeatures(),
    ):

If you change it to AudioSamples(), which is defined in
https://github.com/lhotse-speech/lhotse/blob/master/lhotse/dataset/input_strategies.py#L176
class AudioSamples(BatchIO):
    """
    :class:`InputStrategy` that reads single-channel recordings, whose manifests
    are attached to cuts, from disk (or other audio source).
    It automatically zero-pads the recordings so that every example has the same number
    of audio samples as the longest cut in a mini-batch.
    This is needed to put all examples into a single tensor.
    .. automethod:: __call__
    """

the following line
https://github.com/k2-fsa/icefall/blob/a7643301ecc7ca704b1fdc44b30b435fceda663f/egs/librispeech/ASR/transducer_stateless/train.py#L399
returns a 2-D tensor of shape (B, T) that is defined by
https://github.com/lhotse-speech/lhotse/blob/d91741113ebe9fd45c924c56e262d54a457f9d1b/lhotse/dataset/input_strategies.py#L211
    def __call__(
        self, cuts: CutSet
    ) -> Union[
        Tuple[torch.Tensor, torch.Tensor], Tuple[torch.Tensor, torch.Tensor, CutSet]
    ]:
        """
        Reads the audio samples from recordings on disk/other storage.
        The returned shape is ``(B, T) => (batch_size, num_samples)``.
        :return: a tensor with collated audio samples, and a tensor of ``num_samples`` of each cut before padding.
        """


Fan unavailable

System Health details
System Information

version
core-2024.5.2

installation_type
Home Assistant OS

dev
false

hassio
true

docker
true

user
root

virtualenv
false

python_version
3.12.2

os_name
Linux

os_version
6.6.28-haos-raspi

arch
aarch64

timezone
Asia/Calcutta

config_dir
/config

Home Assistant Community Store

GitHub API
ok

GitHub Content
ok

GitHub Web
ok

GitHub API Calls Remaining
4814

Installed Version
1.34.0

Stage
running

Available Repositories
1462

Downloaded Repositories
21

Home Assistant Cloud

logged_in
false

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
ok

Home Assistant Supervisor

host_os
Home Assistant OS 12.3

update_channel
stable

supervisor_version
supervisor-2024.05.1

agent_version
1.6.0

docker_version
25.0.5

disk_total
57.8 GB

disk_used
38.5 GB

healthy
true

supported
true

board
rpi4-64

supervisor_api
ok

version_api
ok

installed_addons
Samba share (12.3.1), MariaDB (2.7.1), Home Assistant Google Drive Backup (0.112.1), Studio Code Server (5.15.0), Frigate Proxy (1.5), Node-RED (17.0.12), Cloudflared (5.1.9), chrony (3.0.1), ESPHome (2024.4.2), File editor (5.8.0), Advanced SSH & Web Terminal (17.2.0)

Dashboards

dashboards
2

resources
13

views
8

mode
storage

Recorder

oldest_recorder_run
30 April 2024 at 1:07 PM

current_recorder_run
10 May 2024 at 7:40 PM

estimated_db_size
14214.12 MiB

database_engine
mysql

database_version
10.11.6

Sonoff

version
3.7.3 (e240aaf)

cloud_online
5 / 6

local_online
5 / 10

debug
failed to load:

Spotify

api_endpoint_reachable
ok

Checklist

[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of any previous issues..

Describe the issue
I have installed my first atomberg fan (Renesa Smart+). I was able to get the API Key and refresh token, install the integration and configure it. The integration detected the fan and its 5 entities. But all 5 entities are unavailable.
Reproduction steps

Activated the developer account on the atom berg app and get the API key and refresh token.
Installed the integration from HACS, configured it with the API and refresh token
Integration detected the fan and its entities.
The state of the fan is always unavailable.
Restarting HA, reinstalling integration, disabling the device doesn't help.
I was able to fetch state and send commands on the Atomberg developer portal
...

Debug logs
The log file is here:
https://drive.google.com/file/d/1XQ871Aew68t8QkkCX0wTFvI-oGAiGnu1/view?usp=share_link

Diagnostics dump
Not available.

The log file is too large. Can you provide a log file under 10 mb? (Just crop the required part)

2024-05-12 15:11:04.571 WARNING (SyncWorker_6) [homeassistant.loader] We found a custom integration atomberg which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2024-05-13 10:35:05.672 DEBUG (MainThread) [custom_components.atomberg.udp_listener] Closed UDP listener on port 5625
2024-05-13 10:35:11.126 INFO (MainThread) [custom_components.atomberg.api] Found 1 atomberg devices
2024-05-13 10:35:11.139 DEBUG (MainThread) [custom_components.atomberg.udp_listener] Listening to broadcasts on UDP port 5625

2024-05-13 10:35:46.166 DEBUG (MainThread) [custom_components.atomberg.udp_listener] Closed UDP listener on port 5625

2024-05-13 10:36:12.196 INFO (MainThread) [custom_components.atomberg.api] Found 1 atomberg devices
2024-05-13 10:36:12.994 INFO (MainThread) [custom_components.atomberg.api] Found 1 atomberg devices
2024-05-13 10:36:13.008 DEBUG (MainThread) [custom_components.atomberg.udp_listener] Listening to broadcasts on UDP port 5625

This is the new log file.
home-assistant_atomberg_2024-05-13T05-06-29.792Z.log

Do you have both the devices in same network?

Yes, on the same network.

Double checked and the fan and HA were not on the same network. Started working once correcting this.


Krita segfaults during save when using xmonad (using plasma5 is fine) (17.09 regression)

Issue description
When I use xmonad as window manager Krita segfaults when I try to save a document (gdb output):
Thread 1 "krita" received signal SIGSEGV, Segmentation fault.
0x00007fffef510c49 in QString::indexOf(QString const&, int, Qt::CaseSensitivity) const () from /nix/store/nwvydrhhmfvf5g8ybh135rgpl9xyzvvb-qtbase-5.9.1/lib/libQt5Core.so.5

I suspected that it had something to do with KDE/Qt stuff missing, so I tried using plasma5 as desktop environment and then the problem was not encountered.
Something else worth noting, I can't load autosaves, I get the error message "Unknown file type" and the terminal is filled with this error message:
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/me/.local/share/mime", "/home/me/.nix-profile/share/mime", "/run/current-system/sw/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/me/.local/share/mime", "/home/me/.nix-profile/share/mime", "/run/current-system/sw/share/mime")
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/me/.local/share/mime", "/home/me/.nix-profile/share/mime", "/run/current-system/sw/share/mime")

Steps to reproduce

nix-env -i krita
Start krita
Create new document
Press "Save" or "Save as" in File menu
Segfault

Technical details

System: NixOS 17.09
Nix version: 1.11.15

Edit: I just tried this with the exact same config, but on my laptop that I haven't yet updated from 17.03 to 17.09, and I don't encounter the problem there. I'll get with the exact commit.

I'm getting the same error messages with another Qt application I'm trying to package. For me putting kxmlgui in environment.systemPackages solved the problem while adding it to the package's dependencies didn't help.

I'm closing this since it's stale and I haven't used 17.09 in a long while.


Create Taxi.taxi

Taxi Hello-World

Sorry for taking so long for this one - I thought this repo was dead for sure!


Added custom token error description

Custom error description to be used when accessToken is not set. Fixes issue #120

Coverage remained the same at 100.0% when pulling 84b51e6165746e0d4aeea7a8753fc396b84e60cb on onury:patch-1 into 19731d171659462a446c98b86ca654b495bac193 on jaredhanson:master.

You don't need this to get custom error_description. Just create a custom instance of TokenError in your callback.
Eg:
var TokenError = require('oauth2orize').TokenError

// ...

function issue(client, username, passwd, scope, issued) {
  if (not_ok)
    return issued(new TokenError('custom error_description', 'invalid_grant'))
}

If this is going to be changed, I propose checking if the error argument is a string and if that is the case, use that as error_description.
Eg.
function issued(err, accessToken, refreshToken, params) {
  if (err) {
    if (typeof err === 'string') { return next(new TokenError(err, 'invalid_grant')); }
    return next(err);
  }
  if (!accessToken) { return next(new TokenError('Invalid resource owner credentials', 'invalid_grant')); }

@tellnes
I'd prefer to simply set the error_description with just a parameter, instead of re-writing callbacks, etc..
About your second argument;
err can be any error — unrelated to token. Your way, if any string is thrown previously, you'll treat it as token error. It should be passed to the next middleware as is. e.g. next(err). I think, a separate parameter should be used here. That's why I named it tokenErrDescription.

@telnes is correct in his first example. You can customize/i18n the error messages by invoking the callback with an error and the message you want.  I don't personally like having multiple ways to do something, when one good way already exists.
As far as the second proposal, I don't like that either.
I think the functionality desired in this pull requests already exists, so there's no reason to merge.

I don't like the proposal with type checking either, I just think it is better than adding a new parameter.
+1 to just have one way of doing tings.


Improve rigid body CCD against moving bodies

Roughly predict body B's position in the next frame (ignoring collisions). This will not change anything about CCD against bodies which are not moving (like static bodies), but it will improve CCD against moving bodies.

Fixes https://github.com/godotengine/godot/issues/75696

Thanks!


Support more targets

Current state
For now only recent linux on amd64 and macos on intel and apple silicon are supported.
It is done by dirty hacks: configuration is half hard-coded and a few generated headers are provided pre-generated.
Benefit of change
Not hard-coding configuration and generated headers would allow finally allow cross-compiling libpq on many more targets, and also make building the server code much easier.
Note that each PostgreSQL version has a different list of variable to provide for its configuration, so not hard-coding it would allow building more versions with less effort.
What should be done to get there
1. Generate configuration from the target
ALIGNOF_ TYPE
For now i've used @alignOf.
For cross-compiling we need to switch to std.Target.cTypeAlignment. Problem: it was called c_type_alignment up to zig 0.13.
I'll wait for 0.14 to release before doing that change.
SIZEOF_ TYPE
Same thing: i'll change from @sizeOf to std.Target.cTypeByteSize upon 0.14 release
HAVE_ FUNCTION
A mix of options for optional dependencies and writing a big switch.
There is also a need to know which GLIBC version is targeted.
In the case of a version explicitely queried, it will appear in std.Build.ResolvedTarget's query, but in the other case, I don't know how to proceed yet, help would be welcomed
HAVE_ HEADER
Idem
DLSUFFIX
Not needed to set correctly as it it not used when building statically I guess
BLCKSZ ENABLE_THREAD_SAFETY ...
I haven't spent time understanding that, leaving it hard-coded until it breaks something
2. Generate headers at build-time
Certain headers are generated by perl scripts.
They are not a function of the target OS and arch, but may change for each PostgreSQL version, so it is more about supporting different PostgreSQL versions and building the server code than about cross-compilation.
include/catalog/pg_tablespace_d.h
Generated by src/backend/catalog/genbki.pl, see src/include/catalog/Makefile.
Not sure exactly what it does and what it depends on.
include/kwlist_d.h
Generated by src/tools/gen_keywordlist.pl, using module src/tools/PerfectHash.pm (see src/common/Makefile).
include/utils/errcodes.h
Generated by src/backend/utils/generate-errcodes.pl using src/backend/utils/errcodes.txt
TODO list

[ ] ALIGNOF_ TYPE
[ ] SIZEOF_ TYPE
[ ] include/catalog/pg_tablespace_d.h
[ ] include/kwlist_d.h
[ ] include/utils/errcodes.h

Possible solutions for generated headers:

Using the system's perl and call the scripts: least amount of effort
Creating a build.zig for perl and using it as a build dependency: most useful for other projects like openSSL's build.zig as perl is used in lots of projects
Rewrite the perl scripts in zig: most portable

Which way do we want to go ?

From reading various issues on the mailing list, as well as my own interaction, I don't think that the core maintainers will be willing to help with a project like this, HOWEVER, I'd still suggest posting on the mailing list to show what you've done and get a feeler.
Assuming that they don't, I would say to pick the thing that seems like it will be easiest to maintain.

Zig is changing every day (but you've already bought into this).
Their perl scripts are not changing every day, but... it's perl.

I, of course, would love to see this go full-zig (and not have to install perl on macOS through brew, when they remove it in a few releases). There may be potential to get more support from other Ziguanas with zig that perl.
But for the foreseeable future... it's just you maintaining this, so... whatever works for you best is what's best, right?


How to solve large sparse LP?

Hi,
I have a question about solving large sparse matrix LP problem. It really confused me for a long time.
If I have a form like this:

I have all Fi data, which are in sparse form. So, how can I build a LP model to solve this problem faster? Could you please give me some clues? Thank you!

For example, if I have tr(AiX)=bi, i=1,2,…,100. Ai is 1000*1000, Ai, X are symmetrix. How to build a LP model to solve this problem?

Please add a link if you cross-post in other places: https://discourse.julialang.org/t/how-to-solve-large-sparse-lps-in-gurobi/26402
I'm going to close this issue since it isn't related to the Gurobi.jl wrapper, and we can continue the discussion on discourse.


feat: coverage-badge

Description
Add coverage badge to readme.
Types of changes

What types of changes does your code introduce:

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist

[x] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments

Codecov Report

Merging #34 (e5b3565) into main (0ff959b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #34   +/-   ##
=======================================
  Coverage   97.97%   97.97%
=======================================
  Files          31       31
  Lines         198      198
=======================================
  Hits          194      194
  Misses          4        4


Use time-locale-compat.

Works around time no longer depending on old-locale.
Fixes #61.

Applied, thanks!


add ppt

how can i add ppt files in the whiteboard??

when i tried to add ppt it is not comming. please solve the issue.


Dockerize application

Changes in this PR
Trello: https://trello.com/c/QgNqQ0cq/39-dockerize-new-rails-application
This PR Dockerizes the application. The app will now run with either:
docker-compose up to use docker-compose
or
docker build . -t roda:latest && docker run -p 3000 roda:latest to not use docker-compose, as required by the ticket
Note: I'm not sure if yarn.lock should have been committed? Happy to remove if it's not needed.

Also note this PR should fix the Travis build for https://github.com/UKGovernmentBEIS/beis-report-overseas-development-assistance/pull/3


Consider using webjars to distribute 3rd party static css, fonts, js as alternative to using CDN links

I am targeting deploying CAS to a network that can't access the internet so I had to change my overlay to replace links to CDN served files with local copies. The org.webjars project seems to package up most things that CAS needs in jars that are available in maven central and Servlet 3.0 makes the resources available to be served up by CAS without a whole lot of work.
If you are using CDN resources b/c it's a best practice (for performance) rather than as a convenient way to not have to deal with distributing various javascript and CSS libraries then it might be possible to let users choose between CDN and non-CDN. This would involve keeping the library versions in gradle and filtering them into property files containing urls for either CDN or webjars, and then making one property file or another available to Thyme depending on CDN flag. Not sure how to deal with resources containing URLs that aren't evaluated by Thyme. That may not be worth it since my reason for not using CDN is not common, in which case I am fine with using webjars in the overlay and overriding various files that use CDN. I don't think the CDN performance rationale is super compelling b/c these files are all safely cached by browser (due to version in url) so it's a one time hit for the first visit to CAS. I have seen people discussing techniques to use CDN but fall back to local copies, but those looked messy.
Here are parts of layout.html using webjars files available due to the dependencies added below:
    <link rel="stylesheet"<EMAIL_ADDRESS>    <link type="text/css" rel="stylesheet"<EMAIL_ADDRESS>    <link type="text/css" rel="stylesheet"<EMAIL_ADDRESS>//...

    Apereo

Apereo Central Authentication Service (CAS)

Static Authentication

CAS is configured to accept a static list of users for primary authentication. Please be advised that this is ONLY useful for demo purposes.

Browser cookies disabled

Your browser does not accept cookies.
        $("#fm1").submit(function() {
            $(":submit").attr("disabled", true);
            $(":submit").attr("value", i);
            return true;
        });
    </script>

For security reasons, please log out and exit your web browser when you are done accessing services that require authentication!

Copyright © 2005–2017 Apereo, Inc.

Powered by
            Apereo Central Authentication Service
            5.1.0-HD-SNAPSHOT
            2017-06-08T14:45:36.026Z

I do run this from source directly, and specifically inside the cas-server-webapp-tomcat:
gradlew build install bootRun

Here is the output:

<!DOCTYPE html>

    <title>Login - CAS – Central Authentication Service</title>
    <meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" href="/cas/webjars/font-awesome/4.7.0/css/font-awesome.min.css"/>
<link type="text/css" rel="stylesheet" href="/cas/webjars/bootstrap/3.3.5/css/bootstrap.min.css"/>
<link type="text/css" rel="stylesheet" href="/cas/webjars/lato/0.3.0/css/lato.min.css"/>
<link rel="stylesheet" href="/cas/css/cas.css"/><link rel="icon" href="/cas/favicon.ico" type="image/x-icon"/>

    Apereo

Apereo Central Authentication Service (CAS)

Static Authentication

CAS is configured to accept a static list of users for primary authentication. Please be advised that this is ONLY useful for demo purposes.

Browser cookies disabled

Your browser does not accept cookies.
        $("#fm1").submit(function() {
            $(":submit").attr("disabled", true);
            $(":submit").attr("value", i);
            return true;
        });
    </script>

For security reasons, please log out and exit your web browser when you are done accessing services that require authentication!

Copyright © 2005–2017 Apereo, Inc.

Powered by
            Apereo Central Authentication Service
            5.2.0-RC1-SNAPSHOT
            2017-06-08T04:27:03.374Z

All JS JARS and such seem to be in the right places.

Hmm, i will try that when my clean build finishes. I wonder if it is an issue with running it via the spring-boot bootRun plugin vs. running it outside of gradle? Like the scanning of jars for /meta-inf/resources in the jar dependencies isn't happening or isn't working for some reason?

Based on my research, boot should be doing all of that scanning automatically based on @EnableWebMvc magic that gets applied, etc. I also did try explicitly defining that annotation and added the right set of patterns for the scan. That led to failing experiment.
Did you ever test things with the webjar-locator artifact? Their docs seem to indicate that might do something?
java -jar works great though. Progress :) Whatever is happening is happening with bootRun somehow.

Resources being available from all jars that have a meta-inf/resources folder should be handled by the servlet 3.0 specification, no annotation scanning necessary. Maybe setting meta-data-complete=true in web.xml would turn that off but I am not sure. In gradle I assume it is using jars "in-place" and gradle must be intercepting annotation scanning by tomcat (which would normally just scan web-inf/lib and web-inf/classes but maybe it isn't intercepting whatever tomcat does to make the meta-inf/resources available as part of the web app's webroot.
I don't think we need webjar-locator or webjar-locator-core, one is required for RequireJS support and the other is for server-side programmatic loading of webjars resources which we don't currently need to do.
I will try the bootRun in the various appserver sub-projects soon to see if it is issue for all appservers or just tomcat.

\git\cas\webapp\cas-server-webapp-jetty>....\gradlew.bat build install bootRun -DskipFindbugs=true
didn't work either.
build.cmd bootrun DID work in the maven overlay so the maven spring-boot plugin seems to handle finding webjars but in that case the dependency is the war so that is different, and I think they did say that running a war via that plugin was something of a mis-use of the boot maven plugin.
Is the bootRun functionality really worth keeping? Couldn't gradle use some sort of java exec task to run java -jar cas.war? We know bootrun doesn't work if you add dependencies to the overlay. Do you use it for anything besides running the plain (no plugins) war?
If it is worth keeping bootrun we could open a spring-boot issue to ask if it is supported, but they might want a simple re-creation of the problem in a simple project and I don't know if I could do that easily with gradle, it might take a few days before I could get to that.

I'd vote to not use bootRun in CAS, as it will not work in our cas.war scenario with deps., etc.

The bootRun task in the overlay is a misuse, but one that I don't care about that much. I think most everyone would want to use java -jar with that.
The bootRun task in the core project is a legit use case and should be able to run the core webapps without any extra hassel. I am however perfectly ok with dropping it altogether so long as we don't lose the spring-dev-tools functionality (which I think is disabled in java -jar cases, and rightly so). The dev tools thing facilitates rapid development quite a bit specially for some of our UX folks who wish to change messages and HTML and such and not have to worry about building and restarting.
If all of that checks out, by all means.

OK, spring-dev-tools sounds like a good enough reason to keep it. I can see
if I can re-create problem in a simple sample app and then I can open an
issue if I can re-create problem.
The bootRun docs mention bootRepackage.enabled having some impact on the
plugin, and cas sets that to !rootProject.publishReleases in a few places,
maybe that causes some issue....
Worst case we could probably have a simple servlet registered to /webjars/*
that used webjar-locator-core to serve up the resources (perhaps only
enabled for local development).
On Thu, Jun 8, 2017 at 1:09 PM, Misagh Moayyed<EMAIL_ADDRESS>wrote:

The bootRun task in the overlay is a misuse, but one that I don't care
about that much. I think most everyone would want to use java -jar with
that.
The bootRun task in the core project is a legit use case and should be
able to run the core webapps without any extra hassel. I am however
perfectly ok with dropping it altogether so long as we don't lose the
spring-dev-tools functionality (which I think is disabled in java -jar
cases, and rightly so). The dev tools thing facilitates rapid development
quite a bit specially for some of our UX folks who wish to change messages
and HTML and such and not have to worry about building and restarting.
If all of that checks out, by all means.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apereo/cas/issues/2579#issuecomment-307167297, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABfBKYa1OIje5FsoCitWqMElqK6GBcdpks5sCCrXgaJpZM4NLgqm
.

The servlet that would fix this already exists.  https://github.com/webjars/webjars-servlet-2.x/blob/master/src/main/java/org/webjars/servlet/WebjarsServlet.java but it's not annotated, but you could put it in a local web.xml and it would probably fix the issue for now.
Is this causing you enough problems doing development that you want bootRun to work right away or are you able to work around this issue (using branch or java -jar)? Using a servlet would be a last resort but it might get you working in the short term and if you were interested I could submit pull request that added the dependencies and registered the servlet, which we could back out later.
On second thought, it's possible that whatever is going on in gradle might make the servlet not work either, but that would be a useful data point.

I would want to experiment with this and see how would directly adding the servlet impacts everything else. If it fixes the problem and doesn't cause anything else to fail I recommend we simply build it for all cars without special files or branches and move on. I can experiment with this a bit later today unless you are of course willing to try this out. That would be very welcome.
Given my own personal prior experience with boot, I am not sure opening up an issue with them in any capacity would produce anything useful really specially in this case.

So I tried adding the servlet but the @WebServlet annotation wasn't picked up and I looked into the bootRun classpath and it is:
bootRun {
    dependsOn pathingJar
    doFirst {
        classpath = files("$buildDir/classes/main", "$buildDir/resources/main", pathingJar.archivePath)
    }

The pathingJar.archivePath points at \build\libs\cas-server-webapp-tomcat-pathing-5.1.0-HD-SNAPSHOT.jar and the META-INF/Manifest.mf classpath entry in that jar doesn't contain any of the webjar dependencies. That probably explains why the webjars aren't being found.
pathingJar gets list of classpath files from  configurations.runtime. Do you know how to get the webjars library to be considered part of the runtime configuration?
task pathingJar(type: Jar, description: "Produces a 'pathing' JAR whose manifest class-path contains project runtime dependencies") {
    dependsOn configurations.runtime
    appendix = "pathing"

    doFirst {
        manifest {
            attributes "Class-Path": configurations.runtime.files.collect {
                it.toURL().toString().replaceFirst("/file:/+/", "/")}.join(" ")
        }
    }
}

Nevermind, changing webapp.gradle from
implementation libraries.webjars

to
runtime libraries.webjars

gets the entries in the pathing jar, let me test that.

That seems to fix gradle and java -jar still worked. Pull request submitted.

Closed via #2664


Are they any plans with licensing?

Not sure if any contributors are still active but found this to be a cool project and I was wondering if there were any plans on adding a license. Would be nice to play with but cannot find any license on the repo and this [https://opensource.stackexchange.com/questions/1720/what-can-i-assume-if-a-publicly-published-project-has-no-license] says I'm only really allowed to look, which scares me off a bit. Is this done purposely or are there plans to add an open-source license?
Thanks for the time!

look into the package.json ;)

I'm sure they'd be happy to have someone contribute a LICENSE.md file to the repo :)

file is there ;)
cheers


Added 'Number of projects' property to Account model

Related issue: https://github.com/ujiro99/RedmineTimeTracker/issues/13

Thank you!
I'll update on this sunday.


Aegis next steps 7.12.22

[x] Verify SNOMEDs are correct - JOEL

[ ] Which CDC org is receiving their data - SCOTT FOLEY

[ ] Who are business POCs at Aegis and who can confirm testing status? - STEPHEN

[ ] Provide USDS with sample test data - SANDY

[ ] Verify that they are using PHINMS to send ELR and Covid data via the CDC Route-not-Read hub to Delaware and Montana - STEPHEN

Kevin let them know on 7.14.22 that using the PHINMS connection is not an option.

on 7.15.22, Sandy wrote they should have a test message ready by 7.18.22 or sooner and will send to us


feat: add iot staging build to deploy staging

- What I did

Added deployment script for staging/iot

Planned deployments:

REPO
CNAME

atsign.dev
dev3.atsign.wtf

iot.atsign.dev
iot3.atsign.wtf

atsign.dev-prod
atsign.dev

iot.atsign.dev-prod
iot.atsign.dev

- How I did it
Local changes
- How to verify it
Need to setup the iot.atsign.dev repo and merge to ensure that the script works as expected.
- Description for the changelog
feat: add iot staging build to deploy staging

CNAMEs have been added for planned deployments.


files outside of a repo can be added when invoking aider, edits can be made

I'm not sure if this is a feature or bug:
It seems we're allowed to add files outside of the repo when invoking aider:
aider ~/testfile.conventions.md
But the same files cannot be when using the /add command.
I personally, I like this because I want to be able to include different conventions.md files for different languages, frameworks, etc. For example, in ~/.config/aider/conventions/ having python.conventions.md or bash.conventions.md
Originally posted by @sudomain in https://github.com/paul-gauthier/aider/issues/660#issuecomment-2228882254

Thanks, this is probably a bug.

I'm going to close this issue for now, but feel free to add a comment here and I will re-open or file a new issue any time.


python312Packages.pynecil: 0.2.1 -> 1.0.1

Diff: https://github.com/tr4nt0r/pynecil/compare/refs/tags/v0.2.1...v1.0.1
Changelog: https://github.com/tr4nt0r/pynecil/releases/tag/v1.0.1

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

duplicate of https://github.com/NixOS/nixpkgs/pull/360217


Chatops cannot authenticate

Discussed in https://github.com/StackStorm/st2/discussions/5385

Originally posted by nathanherrmann October 11, 2021
Somehow one of our StackStorm servers lost it's configuration.  The st2chatops.service couldn't start, and I found that the st2chatops.env file appeared to have been overwritten with a default file with nothing configured.  I was able to copy the st2chatops.env file from another server that should have the same api keys.  When I type "! help", "help" is the only command returned.  When I look in the error logs, I see ERROR Failed to retrieve commands from "https://localhost/api": Unauthorized - ApiKey with key_hash={my key hash} not found  I exported the keys to a yaml file from the other server, and when I try to import them on the current server, I also get a ERROR: 401 Client Error: Unauthorized  MESSAGE: Unauthorized - ApiKey with key_hash=....  I have tried creating a new key with st2 apikey create -k -m '{"used_by": "hubot"}', and I still get the same error.  Any advice?

D'oh.  Should have run as sudo.


View or edit role assignments: incorrect procedure

Hello,
The proposed procedure contains some errors:

Go to the Microsoft 365 Defender portal (https://security.microsoft.com/) and sign in.
--> OK
In the navigation pane, choose Permissions & roles, and then under Azure AD, select Roles.
--> NOK: menu entry not shown. If "Permissions" is selected, then all further instructions are a mismatch, too.

Wouldn't the central administration console path be more accurate (i.e., https://admin.microsoft.com/, then "Roles", then "Role assignments", then select role, then assign through the side tab)?
Kind regards,

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

ID: 5c4edd8a-e4ce-8916-7f8f-533fe5bf5d8a
Version Independent ID: 5c4edd8a-e4ce-8916-7f8f-533fe5bf5d8a
Content: Assign security roles and permissions in Microsoft Defender for Business
Content Source: microsoft-365/security/defender-business/mdb-roles-permissions.md
Service: microsoft-365-security
Sub-service: mdb
GitHub Login: @denisebmsft
Microsoft Alias: deniseb

Hello @starbuck3000 and thank you so much for the feedback. I will look into this!

Content updated! Please let me know if you have any other questions. Thank you again for your helpful feedback!


Step before sending image

I propose adding a step before the user sends the image via chatbox:
[img](url)
Since it is usually dangerous and image sending inside chatbox is unexplored territory, I would request to have a simple flask or node.js API that communicates with OpenAI's CLIP, via Booste.
CLIP is a image model that was trained on millions of image-text pairs, and is very handy for checking the specifications of an image. This would be useful for adding an NSFW check. I would be more than happy to setup a server that hosts this API, of which you can call the image URL -> Result. Not doing so may leave users vulnerable to NSFW images.

If you find this worthy of adding, please DM me on discord: mega b#6696

Nsfw check would be nice but atm image sending will most likely be restricted from certain ranks to avoid abuse. If explicit images are still an issue when the server goes public then we might consider.


Update to video.js >= 6

The vimeo tech just works with < v6, an update to v6 would be great!

any updates here?


Improved wording of 'Description'

<!- Please follow this checklist and put an x in each of the boxes, like this: [x]. It will ensure that our team takes your pull request seriously. -->

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

A duplicate of your #25839


Unable to run

Hello, when trying to run ./node_modules/make-license/src/index.js/, I'm told /usr/bin/env: node --harmony: No such file or directory. Probably it is the same problem as described here. Removing the string --harmony solves the problem for me. I am using Ubuntu.

Hey thanks for raising this issue. I'm on Mac OSX, so the --harmony didn't cause any problems for me... will keep this mind. If you figure out a cross-platform solution, a PR would be awesome! :smile:

closed by commit 3ec31efb22fd44b01ef0525c6d2a363a4ed556e1


Website is down!!!

The docs site is not working,
hope everything is okay

working here

The website is down, I cant access docs!!

working here

it has never worked in my region, at least when I tried.
I visited it last two weeks, it didn't work. Checking again and seeing the same issues means it's something that urgently needs to be rectified

working here

it has never worked in my region, at least when I tried.
I visited it last two weeks, it didn't work. Checking again and seeing the same issues means it's something that urgently needs to be rectified

try some VPN , if it works, contact your internet service provider and ask why this particular website is not working, I can confirm that is not a website fault, working normally here.

Closing for now, as this seems to be a regional problem outside of my control.


Added support in the README.md

This PR

addresses #3 and #5
removes binary files
updates README to report that the tool does not currently work on MacOS

Updates implemented by @dhruvsatyapanthi007 and tested by @trprcll.


ValueError: prefix tensor must be either a scalar or vector, but saw tensor: Tensor("Placeholder:0", dtype=int32)

when i run the get_ini_cell, there is something wrong with the function about InitialState = cell.zero_state(batch_size,tf.float32)
The tensorflow version is 1.4
I wanna ask what can i do for the code cause my code is the same as others,but they dont meet such probelms.
And when i run the build_nn,it also says ValueError: Dimensions must be equal, but are 512 and 556 for 'rnn/while/rnn/multi_rnn_cell/cell_0/cell_0/basic_lstm_cell/MatMul_1' (op: 'MatMul') with input shapes: [128,512], [556,1024].

you can change this:
cell.zero_state(batch_size,tf.float32)

to
batch_size = tf.placeholder(tf.int32, [], name='batch_size')
cell.zero_state(batch_size, tf.float32)

it works.


Datashader TypingError

Following the nyc_taxi Notebook as an example, I receive this error when calling cvs.points().
%%time
cvs = ds.Canvas(plot_width=plot_width, plot_height=plot_height, x_range=x_range, y_range=y_range)
#agg = cvs.points(df2, 'x_cord', 'y_cord', ds.count('cust_type'))
agg = cvs.points(df2, 'X_CORD', 'Y_CORD', ds.count('DGROUP'))
img = tf.shade(agg, cmap=["white", 'darkblue'], how='linear')

TypingError                               Traceback (most recent call last)
 in ()
----> 1 get_ipython().run_cell_magic('time', '', 'cvs = ds.Canvas(plot_width=plot_width, plot_height=plot_height, x_range=x_range, y_range=y_range)\n#agg = cvs.points(df2, 'x_cord', 'y_cord', ds.count('cust_type'))\nagg = cvs.points(df2, 'X_CORD', 'Y_CORD', ds.count('DGROUP'))\n\nimg = tf.shade(agg, cmap=["white", 'darkblue'], how='linear')')
C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py in run_cell_magic(self, magic_name, line, cell)
2113             magic_arg_s = self.var_expand(line, stack_depth)
2114             with self.builtin_trap:
-> 2115                 result = fn(magic_arg_s, cell)
2116             return result
2117
 in time(self, line, cell, local_ns)
C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\magic.py in (f, *a, **k)
186     # but it's overkill for just that one bit of state.
187     def magic_deco(arg):
--> 188         call = lambda f, *a, **k: f(*a, **k)
189
190         if callable(arg):
C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\magics\execution.py in time(self, line, cell, local_ns)
1183         else:
1184             st = clock2()
-> 1185             exec(code, glob, local_ns)
1186             end = clock2()
1187             out = None
 in ()
C:\ProgramData\Anaconda3\lib\site-packages\datashader\core.py in points(self, source, x, y, agg)
171         if agg is None:
172             agg = count()
--> 173         return bypixel(source, self, Point(x, y), agg)
174
175     def line(self, source, x, y, agg=None):
C:\ProgramData\Anaconda3\lib\site-packages\datashader\core.py in bypixel(source, canvas, glyph, agg)
345     agg.validate(schema)
346     canvas.validate()
--> 347     return bypixel.pipeline(source, schema, canvas, glyph, agg)
348
349
C:\ProgramData\Anaconda3\lib\site-packages\datashader\utils.py in call(self, head, *rest, **kwargs)
40         typ = type(head)
41         if typ in lk:
---> 42             return lk[typ](head, *rest, **kwargs)
43         for cls in getmro(typ)[1:]:
44             if cls in lk:
C:\ProgramData\Anaconda3\lib\site-packages\datashader\pandas.py in pandas_pipeline(df, schema, canvas, glyph, summary)
28
29     bases = create((height, width))
---> 30     extend(bases, df, x_st + y_st, x_range + y_range)
31
32     return finalize(bases, coords=[y_axis, x_axis], dims=['y_axis', 'x_axis'])
C:\ProgramData\Anaconda3\lib\site-packages\datashader\glyphs.py in extend(aggs, df, vt, bounds)
106             ys = df[y_name].values
107             cols = aggs + info(df)
--> 108             _extend(vt, bounds, xs, ys, *cols)
109
110         return extend
C:\ProgramData\Anaconda3\lib\site-packages\numba\dispatcher.py in _compile_for_args(self, *args, **kws)
328                                 for i, err in failed_args))
329                 e.patch_message(msg)
--> 330             raise e
331
332     def inspect_llvm(self, signature=None):
C:\ProgramData\Anaconda3\lib\site-packages\numba\dispatcher.py in _compile_for_args(self, *args, **kws)
305                 argtypes.append(self.typeof_pyval(a))
306         try:
--> 307             return self.compile(tuple(argtypes))
308         except errors.TypingError as e:
309             # Intercept typing error that may be due to an argument
C:\ProgramData\Anaconda3\lib\site-packages\numba\dispatcher.py in compile(self, sig)
577
578                 self._cache_misses[sig] += 1
--> 579                 cres = self._compiler.compile(args, return_type)
580                 self.add_overload(cres)
581                 self._cache.save_overload(sig, cres)
C:\ProgramData\Anaconda3\lib\site-packages\numba\dispatcher.py in compile(self, args, return_type)
78                                       impl,
79                                       args=args, return_type=return_type,
---> 80                                       flags=flags, locals=self.locals)
81         # Check typing error if object mode is used
82         if cres.typing_error is not None and not flags.enable_pyobject:
C:\ProgramData\Anaconda3\lib\site-packages\numba\compiler.py in compile_extra(typingctx, targetctx, func, args, return_type, flags, locals, library)
702     pipeline = Pipeline(typingctx, targetctx, library,
703                         args, return_type, flags, locals)
--> 704     return pipeline.compile_extra(func)
705
706
C:\ProgramData\Anaconda3\lib\site-packages\numba\compiler.py in compile_extra(self, func)
355         self.lifted = ()
356         self.lifted_from = None
--> 357         return self._compile_bytecode()
358
359     def compile_ir(self, func_ir, lifted=(), lifted_from=None):
C:\ProgramData\Anaconda3\lib\site-packages\numba\compiler.py in _compile_bytecode(self)
663         """
664         assert self.func_ir is None
--> 665         return self._compile_core()
666
667     def _compile_ir(self):
C:\ProgramData\Anaconda3\lib\site-packages\numba\compiler.py in _compile_core(self)
650
651         pm.finalize()
--> 652         res = pm.run(self.status)
653         if res is not None:
654             # Early pipeline completion
C:\ProgramData\Anaconda3\lib\site-packages\numba\compiler.py in run(self, status)
241                     # No more fallback pipelines?
242                     if is_final_pipeline:
--> 243                         raise patched_exception
244                     # Go to next fallback pipeline
245                     else:
C:\ProgramData\Anaconda3\lib\site-packages\numba\compiler.py in run(self, status)
233                 try:
234                     event(stage_name)
--> 235                     stage()
236                 except _EarlyPipelineCompletion as e:
237                     return e.result
C:\ProgramData\Anaconda3\lib\site-packages\numba\compiler.py in stage_nopython_frontend(self)
447                 self.args,
448                 self.return_type,
--> 449                 self.locals)
450
451         with self.fallback_context('Function "%s" has invalid return type'
C:\ProgramData\Anaconda3\lib\site-packages\numba\compiler.py in type_inference_stage(typingctx, interp, args, return_type, locals)
803
804         infer.build_constraint()
--> 805         infer.propagate()
806         typemap, restype, calltypes = infer.unify()
807
C:\ProgramData\Anaconda3\lib\site-packages\numba\typeinfer.py in propagate(self, raise_errors)
765         if errors:
766             if raise_errors:
--> 767                 raise errors[0]
768             else:
769                 return errors
C:\ProgramData\Anaconda3\lib\site-packages\numba\typeinfer.py in propagate(self, typeinfer)
126                                                    lineno=loc.line):
127                 try:
--> 128                     constraint(typeinfer)
129                 except TypingError as e:
130                     errors.append(e)
C:\ProgramData\Anaconda3\lib\site-packages\numba\typeinfer.py in call(self, typeinfer)
435     def call(self, typeinfer):
436         with new_error_context("typing of intrinsic-call at {0}", self.loc):
--> 437             self.resolve(typeinfer, typeinfer.typevars, fnty=self.func)
438
439
C:\ProgramData\Anaconda3\lib\site-packages\numba\typeinfer.py in resolve(self, typeinfer, typevars, fnty)
399             desc = context.explain_function_type(fnty)
400             msg = '\n'.join([head, desc])
--> 401             raise TypingError(msg, loc=self.loc)
402
403         typeinfer.add_type(self.target, sig.return_type, loc=self.loc)
TypingError: Failed at nopython (nopython frontend)
Invalid usage of + with parameters ((int64 x 3), pyobject)
Known signatures:

(int64, int64) -> int64
(int64, uint64) -> int64
(uint64, int64) -> int64
(uint64, uint64) -> uint64
(float32, float32) -> float32
(float64, float64) -> float64
(complex64, complex64) -> complex64
(complex128, complex128) -> complex128
(uint8,) -> uint64
(uint16,) -> uint64
(uint32,) -> uint64
(uint64,) -> uint64
(int16,) -> int64
(int8,) -> int64
(int64,) -> int64
(int32,) -> int64
(float32,) -> float32
(float64,) -> float64
(complex64,) -> complex64
(complex128,) -> complex128
parameterized
File "........\ProgramData\Anaconda3\lib\site-packages\datashader\glyphs.py", line 102
[1] During: typing of intrinsic-call at C:\ProgramData\Anaconda3\lib\site-packages\datashader\glyphs.py (102)

This error may have been caused by the following argument(s):

argument 4: Unsupported array dtype: object

It's hard to debug anything without a complete example including the data files involved, but from the messages it looks like there may be non-numeric data in one of the columns provided for datashading.

Yes, the data in the DGROUP field is non-numeric.  I guess it's not clear to me what the ds.count() funtion is counting.

Ah.  If you leave off ", ds.count('DGROUP')" entirely, it will already count the number of points, because the default aggregate is ds.count() anyway.
If you supply a column name explicitly, as you did here, it checks that column for NaNs and then doesn't count that point if there's a NaN in that column, which only really makes sense for numeric data.  Not sure what you were hoping to do with DGROUP, but maybe you don't need to include it at all?

OK, that makes sense.
I was hoping I might be able to leverage the information in DGROUP also the help highlight or colorize points differently also.  The information in that field is a logical area name to identify a dispacth group for dispatching utility workers.  It would be interesting to visualize calls in particular dispatch groups, differently then another dispatch group.
And we also have the customer type field that would be interesting to visualize as well.
I guess I kinda had my SQL hat on thinking in terms of "group by".  Is this sort of approach possible with datashader?

Ah, you want something like:
df2.DGROUP = df2.DGROUP.astype('category')
agg = cvs.points(df2, 'X_CORD', 'Y_CORD', ds.count_cat('DGROUP'))

count_cat will aggregate into n different arrays, if there are n different categories.  Search for count_cat in the nyc_taxi notebook for an example of how to use it.


Missing dependency lz4 in manifest

The integration seems to depend on lz4, but it is not declared in the manifest, so does not get installed automatically. Probably on many installations it is there already due to other components requiring it, but on mine it was not.
Logger: homeassistant.config_entries
Source: config_entries.py:3249
First occurred: 08:33:15 (2 occurrences)
Last logged: 08:37:28
Error occurred loading flow for integration tuya_vacuum_maps: No module named 'lz4'

Fixed in v0.1.2

Thanks, that was quick. Unfortunately it now gets an identical issue to #1 (I previously didn't recognize that this issue is a variation of that). Seems to be a problem in lz4, there was a PR for it a couple of weeks ago, but it seems to have stalled due to a build failure caused by github infrastructure glitch (https://github.com/python-lz4/python-lz4/pull/294).

Are you able to check if any version of lz4 is installed using pip show lz4 while using the ha-venv?

v0.1.3 removes any specific version requires for lz4 entirely and should fix this problem.

Unfortunately this does not fix it. There seems to be a problem with the lz4 package.
2024-11-26 11:31:47.813 ERROR (SyncWorker_4) [homeassistant.util.package] Unable to install package lz4: error: Failed to prepare distributions
  Caused by: Failed to download and build `lz4==4.3.3`
  Caused by: Build backend failed to build wheel through `build_wheel` (exit status: 1)
[stdout]
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-312/lz4
copying lz4/__init__.py -> build/lib.linux-x86_64-cpython-312/lz4
copying lz4/version.py -> build/lib.linux-x86_64-cpython-312/lz4
creating build/lib.linux-x86_64-cpython-312/lz4/block
copying lz4/block/__init__.py -> build/lib.linux-x86_64-cpython-312/lz4/block
creating build/lib.linux-x86_64-cpython-312/lz4/frame
copying lz4/frame/__init__.py -> build/lib.linux-x86_64-cpython-312/lz4/frame
running build_ext
building 'lz4._version' extension
creating build/temp.linux-x86_64-cpython-312/lz4
creating build/temp.linux-x86_64-cpython-312/lz4libs
gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fno-semantic-interposition -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DTHREAD_STACK_SIZE=0x100000 -fPIC -Ilz4libs -I/tmp/.tmpFITZJN/builds-v0/.tmpYfzGmf/include -I/usr/local/include/python3.12 -c lz4/_version.c -o build/temp.linux-x86_64-cpython-312/lz4/_version.o -O3 -Wall -Wundef
[stderr]
/tmp/.tmpFITZJN/builds-v0/.tmpYfzGmf/lib/python3.12/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/tmp/.tmpFITZJN/builds-v0/.tmpYfzGmf/lib/python3.12/site-packages/setuptools_scm/_integration/setuptools.py:92: UserWarning: version of lz4 already set
  warnings.warn(f"version of {dist_name} already set")
error: command 'gcc' failed: No such file or directory
2024-11-26 11:31:54.149 ERROR (SyncWorker_4) [homeassistant.util.package] Unable to install package lz4: error: Failed to prepare distributions
  Caused by: Failed to download and build `lz4==4.3.3`
  Caused by: Build backend failed to build wheel through `build_wheel` (exit status: 1)
[stdout]
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-312/lz4
copying lz4/__init__.py -> build/lib.linux-x86_64-cpython-312/lz4
copying lz4/version.py -> build/lib.linux-x86_64-cpython-312/lz4
creating build/lib.linux-x86_64-cpython-312/lz4/block
copying lz4/block/__init__.py -> build/lib.linux-x86_64-cpython-312/lz4/block
creating build/lib.linux-x86_64-cpython-312/lz4/frame
copying lz4/frame/__init__.py -> build/lib.linux-x86_64-cpython-312/lz4/frame
running build_ext
building 'lz4._version' extension
creating build/temp.linux-x86_64-cpython-312/lz4
creating build/temp.linux-x86_64-cpython-312/lz4libs
gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fno-semantic-interposition -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DTHREAD_STACK_SIZE=0x100000 -fPIC -Ilz4libs -I/tmp/.tmpo6GZKj/builds-v0/.tmpMYiJU8/include -I/usr/local/include/python3.12 -c lz4/_version.c -o build/temp.linux-x86_64-cpython-312/lz4/_version.o -O3 -Wall -Wundef
[stderr]
/tmp/.tmpo6GZKj/builds-v0/.tmpMYiJU8/lib/python3.12/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/tmp/.tmpo6GZKj/builds-v0/.tmpMYiJU8/lib/python3.12/site-packages/setuptools_scm/_integration/setuptools.py:92: UserWarning: version of lz4 already set
  warnings.warn(f"version of {dist_name} already set")
error: command 'gcc' failed: No such file or directory
2024-11-26 11:32:00.011 ERROR (SyncWorker_4) [homeassistant.util.package] Unable to install package lz4: error: Failed to prepare distributions
  Caused by: Failed to download and build `lz4==4.3.3`
  Caused by: Build backend failed to build wheel through `build_wheel` (exit status: 1)
[stdout]
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-312/lz4
copying lz4/__init__.py -> build/lib.linux-x86_64-cpython-312/lz4
copying lz4/version.py -> build/lib.linux-x86_64-cpython-312/lz4
creating build/lib.linux-x86_64-cpython-312/lz4/block
copying lz4/block/__init__.py -> build/lib.linux-x86_64-cpython-312/lz4/block
creating build/lib.linux-x86_64-cpython-312/lz4/frame
copying lz4/frame/__init__.py -> build/lib.linux-x86_64-cpython-312/lz4/frame
running build_ext
building 'lz4._version' extension
creating build/temp.linux-x86_64-cpython-312/lz4
creating build/temp.linux-x86_64-cpython-312/lz4libs
gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fno-semantic-interposition -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DTHREAD_STACK_SIZE=0x100000 -fPIC -Ilz4libs -I/tmp/.tmpBdRcz6/builds-v0/.tmpzGBVeS/include -I/usr/local/include/python3.12 -c lz4/_version.c -o build/temp.linux-x86_64-cpython-312/lz4/_version.o -O3 -Wall -Wundef
[stderr]
/tmp/.tmpBdRcz6/builds-v0/.tmpzGBVeS/lib/python3.12/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/tmp/.tmpBdRcz6/builds-v0/.tmpzGBVeS/lib/python3.12/site-packages/setuptools_scm/_integration/setuptools.py:92: UserWarning: version of lz4 already set
  warnings.warn(f"version of {dist_name} already set")
error: command 'gcc' failed: No such file or directory
2024-11-26 11:32:00.012 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 477, in _handle_request
    resp = await request_handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 567, in _handle
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 210, in forwarded_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 86, in ban_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 32, in headers_middleware
    response = await handler(request)
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle
    result = await handler(request, **request.match_info)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 81, in with_admin
    return await func(self, request, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 74, in wrapper
    return await method(view, request, data, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 172, in post
    return await self._post_impl(request, data)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 179, in _post_impl
    return await super()._post_impl(request, data)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 84, in _post_impl
    result = await self._flow_mgr.async_init(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1301, in async_init
    flow, result = await self._async_init(flow_id, handler, context, data)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1326, in _async_init
    flow = await self.async_create_flow(handler, context=context, data=data)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1518, in async_create_flow
    handler = await _async_get_flow_handler(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 3268, in _async_get_flow_handler
    await _load_integration(hass, domain, hass_config)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 3245, in _load_integration
    await async_process_deps_reqs(hass, hass_config, integration)
  File "/usr/src/homeassistant/homeassistant/setup.py", line 575, in async_process_deps_reqs
    await requirements.async_get_integration_with_requirements(
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 54, in async_get_integration_with_requirements
    return await manager.async_get_integration_with_requirements(domain)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 170, in async_get_integration_with_requirements
    await future
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 159, in async_get_integration_with_requirements
    await self._async_process_integration(integration, done)
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 182, in _async_process_integration
    await self.async_process_requirements(
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 269, in async_process_requirements
    await self._async_process_requirements(name, missing)
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 307, in _async_process_requirements
    raise RequirementsNotFound(name, list(failures))
homeassistant.requirements.RequirementsNotFound: Requirements for tuya_vacuum_maps not found: ['lz4'].

I confirmed there is no existing install of lz4 in the core container.

Fixed in v0.1.4 with the removal of lz4 until musllinux build support is added.


Switching between inline and PM modes

https://core.telegram.org/bots/api#answerinlinequery

#50 implements types and functions that expose this.


F-Droid app crashing without gplay services

Describe the bug
The app installed from F-Droid always crashes directly on startup. The app is not usable at all.
To Reproduce
Steps to reproduce the behavior:

No google play services and microG
Install app from F-Droid
Open app
See app crashing

Expected behavior
App does not crash.
Smartphone (please complete the following information):

Device: Xiaomi Mi Mix 2
OS: Android 11(Lineage OS 18.1)
Version: 2.1.1

Additional context
Stacktrace:

Launching lib/main_staging.dart on Mi MIX 2 in debug mode...
Running Gradle task 'assembleDebug'...
✓  Built build/app/outputs/flutter-apk/app-debug.apk.
Installing build/app/outputs/flutter-apk/app.apk...
Debug service listening on ws://<IP_ADDRESS>:34791/-QMl8kC6p8w=/ws
Syncing files to device Mi MIX 2...
I/te.bayern.flos(12289): WaitForGcToComplete blocked RunEmptyCheckpoint on ProfileSaver for 12.411ms
I/Gralloc4(12289): mapper 4.x is not supported
W/Gralloc3(12289): mapper 3.x is not supported
E/AndroidRuntime(12289): FATAL EXCEPTION: main
E/AndroidRuntime(12289): Process: app.ehrenamtskarte.bayern.floss, PID: 12289
E/AndroidRuntime(12289): java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/GoogleApiAvailability;
E/AndroidRuntime(12289): 	at com.baseflow.geolocator.location.GeolocationManager.isGooglePlayServicesAvailable(GeolocationManager.java:79)
E/AndroidRuntime(12289): 	at com.baseflow.geolocator.location.GeolocationManager.createLocationClient(GeolocationManager.java:73)
E/AndroidRuntime(12289): 	at com.baseflow.geolocator.location.GeolocationManager.isLocationServiceEnabled(GeolocationManager.java:46)
E/AndroidRuntime(12289): 	at com.baseflow.geolocator.MethodCallHandlerImpl.onIsLocationServiceEnabled(MethodCallHandlerImpl.java:139)
E/AndroidRuntime(12289): 	at com.baseflow.geolocator.MethodCallHandlerImpl.onMethodCall(MethodCallHandlerImpl.java:62)
E/AndroidRuntime(12289): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
E/AndroidRuntime(12289): 	at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:84)
E/AndroidRuntime(12289): 	at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:865)
E/AndroidRuntime(12289): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/AndroidRuntime(12289): 	at android.os.MessageQueue.next(MessageQueue.java:335)
E/AndroidRuntime(12289): 	at android.os.Looper.loop(Looper.java:183)
E/AndroidRuntime(12289): 	at android.app.ActivityThread.main(ActivityThread.java:7664)
E/AndroidRuntime(12289): 	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(12289): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
E/AndroidRuntime(12289): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
E/AndroidRuntime(12289): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.GoogleApiAvailability" on path: DexPathList[[zip file "/data/app/~~eUhF6dGgxadL-UhsIANeFQ==/app.ehrenamtskarte.bayern.floss-BnGqW7FtIYpgLaSYcWHcfQ==/base.apk"],nativeLibraryDirectories=[/data/app/~~eUhF6dGgxadL-UhsIANeFQ==/app.ehrenamtskarte.bayern.floss-BnGqW7FtIYpgLaSYcWHcfQ==/lib/arm64, /data/app/~~eUhF6dGgxadL-UhsIANeFQ==/app.ehrenamtskarte.bayern.floss-BnGqW7FtIYpgLaSYcWHcfQ==/base.apk!/lib/arm64-v8a, /system/lib64, /system/system_ext/lib64, /system/product/lib64, /vendor/lib64]]
E/AndroidRuntime(12289): 	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:207)
E/AndroidRuntime(12289): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
E/AndroidRuntime(12289): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
E/AndroidRuntime(12289): 	... 15 more
I/Process (12289): Sending signal. PID: 12289 SIG: 9
Lost connection to device.

Only happens with microg though

This should be fixed with flutter-geolocator 3.1.8 (https://github.com/Baseflow/flutter-geolocator/pull/1050).

I'm not sure how important this is as we will probably be removed soonish from the f-droid store.

@maxammann if you want me to re-establish the app in my repo, just provide the APK again (ideally attached to its corresponding release). I've kept the metadata, so it should be easy enough. Would mean an uninstall and re-install for those having installed it from F-Droid, though…

@maxammann if you want me to re-establish the app in my repo, just provide the APK again (ideally attached to its corresponding release) and let me know. I've kept the metadata, so it should be easy enough. Would mean an uninstall and re-install for those having installed it from F-Droid, though…

No need for that at this point. We havent yet decided yet whther we are publishing our current and future apps through F-Droid.

OK, then s/if/when/ :wink:  Should the need arise. Though it's be sad if a project dedicated to Ehrenamt would only be available via walled gardens and thus make it unavailable to some of us. Which is why I offer to take it into my repo as compromise.

Lets continue here: https://github.com/digitalfabrik/entitlementcard/issues/549


Title: Age Calculatpr

Is your feature request related to a problem? Please describe.
I want to add a project on age calculator that takes birthday of user as input and gives respective age of the person.
Describe the solution you'd like.
Build using HTML, CSS, JavaScript.
Describe alternatives you've considered.
I am contributor at GSSoC '22. Please assign this issue to me.
@praniti111 @ridsuteri @Akshima-Ghai
Add any other context or screenshots about the feature request here.

@Areebah03 the extension is already present, can't assign the duplicate one :(


Wrapped to wrapper block maping + rpc

Pull Request type

Please check the type of change your PR introduces:

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] Documentation content changes
[ ] Testing
[ ] Other (please describe):

What is the current behavior?

No RPC server for starknet pallet
What is the new behavior?

a rpc server for starknet pallet
storing block during the on_finalize execution also add a log to the digest
the digest is read by a new syncing process that stores a mapping from starknet block hashes to substrate block hashes in a new database. This allows a O(1) complexity when calling the RPC server using the starknet hash.
an override functionality has also been introduced. It allow to query the storage directly, without using the runtime API, while retaining the ability to fallback on it if needed.

Does this introduce a breaking change?

[ ] Yes
[x] No

Other information

The whole architecture and abstractions follow really closely the frontier implementation, for good reasons.

I think it's ready for another review.
I added a lot of doc comments.
I agree with the lack of tests. The thing is that there are no tests for those things in Frontier either. Given that I mostly copy-pasted their code, I am confident it will work. Moreover, it does work when I run the chain. Adding tests on some of those crates could be an interesting first issue for somebody who wants to discover the codebase and the RPC flow.
I would be more than happy to do a live stream where I explain the RPC flow and the reason for those multiple crates to the project contributors. I will ask on the telegram channel if some would be interested and at what time.


no default precision defined for variable 'vec2[4]'

Getting this error on Android phones (Xiaomi and Samsung):
THREE.WebGLProgram: Shader Error 0 - VALIDATE_STATUS false

Material Name:
Material Type: ShaderMaterial

Program Info Log: invalid shaders

0:99: S0032: no default precision defined for variable 'vec2[4]'

Anyone else having this issue?

What version are you using?
This is fixed as of the latest N8AO:
highp vec2[4] uvSamples;

└─┬<EMAIL_ADDRESS>-> ./game
└─┬<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>

Was testing it on a samsung galaxy S10 but it didn't work on a Redmi Note 11S as well

React three post processing has a variety of issues w/ updating N8AO.
See: https://github.com/N8python/n8ao/issues/32


nvm v0.38.0: node url not found

how to deal with?

Please fill out the issue template in its entirety.
Do you have an M1 Mac? Node doesn’t support those; please see the readme.

Also, node doesn’t provide a binary for arm64 on Darwin for that version: https://nodejs.org/dist/v15.14.0/


Allow user to specify label prefix

allow user to set the label prefix (default: openyurt.io)

implement a new make rule that allows users to generate setup yaml file
with different PROJECT_PREFIX, LABEL_PREFIX, image REPO and TAG
e.g.,
PROJECT_PREFIX=edge LABEL_PREFIX=alibabacloud.com make gen-yaml WHAT=cmd/yurthub

fix #81


Only apply package install config when on Fedora or RedHat

I think this will resolve the Travis issues.

Thanks for your PR!
Your change would only allow certbot installation via package on RedHat like platforms. I think this is not flexible enough. For example someone can activate the jessi-backports repository on Debian first and then want to install certbot package from there.
I haven't fixed the travis issues yet because I wanted to know if it is fine having install from package as the default (this is a major change from prior versions). @geerlingguy
If so, I would simply set the certbot_from_git: yes parameter to the test roles. (and maybe an additional test with install from package). If not, the default variables need to change anyway.

Yeah, I'm not an Ubuntu/Debian guy but I need the role for my Fedora playbooks, so I just changed enough to get those builds to not fail in the hopes it would be sufficient to get merged and into Galaxy in its current state.

Ok. Since you opened your own PR against upstream, I will close this here for now. I will update my PR as soon as I know how the default behavior should be. Guess until he get time to answer this, no PR will get merged anyway.
Until then, you could simply change your requirements.yml belonging to your playbook/project and let it pull the role from your fork. See https://docs.ansible.com/ansible/galaxy.html for examples of requirements.yml. It does not need to be published on Galaxy for that.


Add theme "bootie-docs"

Hi, I wrote a theme for documentation.
Please check.

Nice. I have merged it, but could you move the screenshot to top level /images (ref. README). No need to create another PR.

Oops. I moved them.
Thank you!


Update wpilib port to 2020.3.2

Latest 2020 release. No updates to baseline or supported triplets since last commits

Hi @ThadHouse
Thanks for this PR.
Have you tested these features? Please make sure that they can work on x64-windows, x86-windows, x64-windows-static and x64-linux triplets.

@ThadHouse
Is work still being done for this PR?

Yes, I'll fix up the comments this week

Fixed all the review comments.

@ThadHouse
Thanks for your update.
Have you tested these features?

Yes I have. Everything can install independently properly.


Provide pure_with parser

Adds a pure_with parser to be the lazily computed, fallible equivalent to pure
Resolves #79

Change looks useful but we need to think about explaining to users where pure_with fits:
:x: Example in the lib.rs is not going to work - switch never fails, so both branches succeed. When there is a parameter - switch wins since it's "left most item on a command line", when there's no parameter - switch still wins because it's the "left most item inside construct".
:x: It can be used as a fallback to many, but you need to place it before many in a choice constructor and it will be evaluated anyway (see choice construct docs) - to produce less confusing error message, so behavior would be identical to pure.
:x: It can be used as a fallback to some, but the idea of some is to ask user to provide at least one item, adding fallback to it negates this property. Plus similar to many - behavior is going to be identical to pure
:heavy_check_mark: It can be used to put a value into a struct field that doesn't get created in every case, something like one extra value in Action::Hack: https://github.com/pacak/hackerman/blob/master/src/opts.rs#L20
:heavy_check_mark: It can be used to put a result of failing computation into a struct or choice without having to deal with fail and boxing manually. pure_with shows the intent better.
I need a bit more time to think about it

admitted, the example in lib.rs is artificial. i can improve on that, of course.
ideally, some would fail with Error:Missing carrying along the custom error message instead of failing with Error::Stderr(self.message.to_string()) - if i understand the logic correly, that would mail fallback_with trigger and provide its value. unfortunately i couldn't get this working (due to lack of rust and bpaf knowledge.)

admitted, the example in lib.rs is artificial. i can improve on that, of course.

Yea, once we understand the usage example is not a problem.

ideally, some would fail with Error:Missing carrying along the custom error message instead of failing with Error::Stderr(self.message.to_string())

:thinking: Interesting idea. This might work in some cases, problem is some is more generic than just consuming any structure multiple times: https://github.com/pacak/bpaf/blob/master/examples/sensors.rs#L73 - this line could be some asking user to specify at least one sensor. At the end of the run bpaf colllects all the missing bits and asks user to specify one of them. Having errors from some there seems confusing. I'll experiment a bit.

if i understand the logic correly, that would mail fallback_with trigger and provide its value.

Right, that's how it might work with both fallback and fallback_with.

I'll take it but will replace bits of the documentation.


how to make this resume in 2 column format?

Is your feature request related to a problem? Please describe.

the current format renders the result only in one column format.
for freshers, generally the details are bulleted and very rarely in a paragraph format,
so, a huge amount of space goes unutilized and wasted; and the cv stretches to even 2 pages which is even worse

Describe the solution you'd like
ideally, some predefined way to specify 2 column format.
but even some documentation or vectors on what changes would be required to make this in 2 format would be appreciated too 😃
Describe alternatives you've considered
n/a
Additional context
this concerns the cv, not the cover letter.

Hi @goyalyashpal, thanks for proposing this point.
I have no intention supporting two-column layout for the time being, this is an opinionated choice.
However feel free to propose a PR or fork this repository to implement yourself if you find it imperative. Happy to review it to see how it goes.


[DRC-326] Add dbt artifacts to Recce state to save time for preparing environments

Currently, Recce state only contains Recce Checks and Recce Runs. Users would need to prepare the environment to checkout the previous work.
To save time from that, we decide to add dbt artifacts to Recce state files, including manifest.json from base, catalog.json from base, manifest.json from current, and catalog.json from current.
While launching Recce server, users can use --review option to select dbt artifacts stored in the Recce state file.
Acceptance Criteria:

[X] undefined~~~~~~dbt artifacts are included in Recce state files~~~~~~ move to DRC-332
[X] Able to use --review while launching Recce server

From SyncLinear.com | DRC-326

In the discussion on last Friday, we determine the lineage/schema information is also stored in the state when exporting  in the Web UI
20240321 --Recce-State-Naming (Figma)

Merged in #237


Lint fix lostcancel

Scope
Fixing lostcancel linter.
Why?
Make it so go linting jobs pass.

Codecov Report

:exclamation: No coverage uploaded for pull request base (candidate@5e29f84). Click here to learn what that means.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             candidate     #184   +/-   ##
============================================
  Coverage             ?   45.01%
============================================
  Files                ?      220
  Lines                ?    29132
  Branches             ?        0
============================================
  Hits                 ?    13115
  Misses               ?    14065
  Partials             ?     1952

Continue to review full report at Codecov.

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