Error installing custom component

Did you read the instructions?

[X] I have read the README, including the known-limitations section.

The problem
After an update , not sure which one, I decided to reinstall the knmi integration using HACS. Trying to add integration in Homeassistant I'm getting the following message:
Error
This integration does not support configuration via the UI. If you followed this link from the Home Assistant website, make sure you run the latest version of Home Assistant.
Older versions of this component/HA worked fine.
What version of this integration has the issue?
1.2.0
What version of Home Assistant Core has the issue?
core 2022.7.0 or higher
Home Assistant log
2022-07-22 09:16:19 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration knmi 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
2022-07-22 09:16:19 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration hacs 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
2022-07-22 09:16:19 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration google_home 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
2022-07-22 09:16:19 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration nefiteasy 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
2022-07-22 09:16:19 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration afvalwijzer 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
2022-07-22 09:16:19 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration buienalarm 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
2022-07-22 09:17:06 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing platform custom_components.knmi.config_flow
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/loader.py", line 618, in get_platform
    cache[full_name] = self._import_platform(platform_name)
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/loader.py", line 635, in _import_platform
    return importlib.import_module(f"{self.pkg_path}.{platform_name}")
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/home/homeassistant/.homeassistant/custom_components/knmi/__init__.py", line 83, in <module>
    class KnmiDataUpdateCoordinator(DataUpdateCoordinator):
  File "/home/homeassistant/.homeassistant/custom_components/knmi/__init__.py", line 107, in KnmiDataUpdateCoordinator
    ) -> float | int | str | None:
TypeError: unsupported operand type(s) for |: 'type' and 'type'
2022-07-22 09:17:06 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading configuration flow for integration knmi: Exception importing custom_components.knmi.config_flow

Additional information
No response

Hi @kabouterkrant, I can't reproduce this issue on a devcontainer nor in my production HA.
The TypeError from your log, was added in 1.2.0 of this component.
From my own experience, I remember that config flow issues can mean 2 things:

Not all the files are present (you can compare the files on your system with the list mentioned: https://github.com/golles/ha-knmi#manual)
During uninstalling and installing something goes wrong

You can try to fix the latter by deleting this integration, restarting Home Assistant, and adding the integration again.
Let me know if this helps, else I might need more info to understand what is going wrong.

Can you provide me with your system info, you can find it here: https://my.home-assistant.io/redirect/system_health/
It looks like this:
Versie | core-2022.7.6
-- | --
Type installatie | Home Assistant Container
Ontwikkeling | false
Supervisor | false
Docker | true
Gebruiker | root
Virtuele omgeving | false
Python-versie | 3.10.5
Besturingssysteem | Linux
Versie van het besturingssysteem | 5.4.0-121-generic
CPU-architectuur | x86_64
Tijdzone | Europe/Amsterdam
Configuration Directory | /config

Hi Golles,
I have exactly the same problem as kabouterkrant.
I installed via hacs.
Versie | core-2022.7.6
-- | --
Type installatie | Home Assistant Core
Ontwikkeling | false
Supervisor | false
Docker | false
Gebruiker | homeassistant
Virtuele omgeving | true
Python-versie | 3.9.7
Besturingssysteem | Linux
Versie van het besturingssysteem | 5.13.0-52-generic
CPU-architectuur | x86_64
Tijdzone | Europe/Amsterdam
Configuration Directory | /home/homeassistant/.homeassistant

When I add the intregration I get a message:
Deze integratie ondersteunt geen configuratie via de UI. Als u deze link van de Home Assistant-website hebt gevolgd, zorg er dan voor dat u de nieuwste versie van Home Assistant heeft draaien.```

Thanks, @baahver I see what the issue is. I'm using a Python feature that was added in version 3.10.
I assumed this should be fine, as Home Assitant updated to python 3.10 in 2022.7 (https://www.home-assistant.io/blog/2022/07/06/release-20227/#improved-stability-and-performance-and-python-310).
I did set the minimal Home Assistant version for this component to 2022.7 as well https://github.com/golles/ha-knmi/blob/main/hacs.json#L3
So I do wonder how it's possible that both of you (and maybe more people) are on HA 2022.7 and still have Python version 3.9

well, version 1.1.11 was working well on python3.9.
But I updatet my server from Ubuntu 21.10 to LTS 22.04. And there 3.10 is included.
Now 1.2 is working too. ;)
Thank you

Version
core-2022.7.6

Installation Type
Home Assistant Core

Development
false

Supervisor
false

Docker
false

User
homeassistant

Virtual Environment
true

Python Version
3.9.13

Operating System Family
Linux

Operating System Version
5.10.103-v8+

CPU Architecture
aarch64

Timezone
UTC

Configuration Directory
/home/homeassistant/.homeassistant

Looks like my python is also version 3.9...

Looks like both version 3.9 and 3.10 are installed on my pi with debian testing, No clue how to use the right version.

Are you using core on Ubuntu?

No. I'm using debian on a pi 4.

On Ubuntu I've done:
sudo su
systemctl stop home-assistant@homeassistant
apt update
apt install python3.10 python3.10-dev python3.10-venv
cd /srv
mv homeassistant homeassistant_old
mkdir homeassistant
chown homeassistant:homeassistant homeassistant
sudo -u homeassistant -H -s
cd /srv/homeassistant
python3.10 -m venv .
source bin/activate
python3 -m pip install wheel
pip3 install homeassistant
systemctl start home-assistant@homeassistant

I assume that debian will be almost the same.

It worked. Changed my python environment to 3.10 and the integration installed smoothly. Thanks.!

Happy to read that you both managed to resolve the issue and thank you @baahver for helping @kabouterkrant, as a docker user I wouldn't have been able to help with the upgrade guide.


Fix for photo galleries not working in IE11

Summary of changes
Asana Ticket: 🐞 Photo galleries on IE11 only showing first image
In IE11 (works fine in other browsers), the photo galleries do nothing: clicking on the thumbnails should display the selected image in the bigger area.

I'd say more like a hack than detective work...but hey, IE is another hack at this point :joy:


Issue with Peak Integration and m/z Tolerance in Targeted Feature Detection

Basic information

My operating system and version: Windows 11
My mzmine version: 4.3.0

What happened
I am experiencing difficulties with peak integration and m/z tolerance during the Targeted Feature Detection process.
I used the Targeted Feature Detection with the following parameters : (m/z tolerance of 0.0010 m/z or 5 ppm)

Here is an example of a peak that was not correctly integrated:

I believe this issue arises from the very narrow m/z tolerance range used (e.g., 212.0583–212.0584). When I increase the range to 212.0580–212.0590, the appearance of the peak and its integration improve significantly:

Question
Is there a way to configure the m/z range used for integration automatically, rather than adjusting it manually? I initially thought the m/z tolerance setting in Targeted Feature Detection would define this range, but that does not seem to be the case.
Any advice or clarification would be greatly appreciated.
Thank you!

Hi @AudreyDewar,
i think the issue is not the mz tolerance but the intensity tolerance. Try increasing it to something like 10-40 %, depending on your data. I'd keep it as low as possible but as high as necessary.
The mz tolerance in the dialog does define the width of the integration window, but the intensity tolerance will stop the integration as soon as the peak becomes jagged. I think that is what is happening.
Best,
Steffen


feat: use SingletonThreadPool for :memory: connections

Based directly on how sqlalchemy's sqlite dialect fixes this issue - see https://github.com/sqlalchemy/sqlalchemy/blob/6a496a5f40efe6d58b09eeca9320829789ceaa54/lib/sqlalchemy/dialects/sqlite/pysqlite.py#L219-L224
Fixes #338

@cpcloud are you able to confirm that this branch fixes #338?

Testing now!

@Mause Yup, this fixes the issue:
In [1]: import ibis

In [2]: con = ibis.duckdb.connect()

In [3]: con.raw_sql("CREATE TABLE t (x int)")
Out[3]: <sqlalchemy.engine.cursor.LegacyCursorResult at 0x7f7980618160>

In [4]: con.raw_sql("SHOW TABLES").fetchall()
Out[4]: [('t',)]

Thanks for such a quick turnaround!


IE Support  (I hate to ask this)

Ok, I hate to be that guy, but I can't see anyone on the issues that has asked the IE support question.  So here it is.  Does this awesome framework have any support for the bastard children (IE9, IE10, & IE11).  If so, how good is it?  I just tried to pull up (http://callemall.github.io/material-ui/#/) on an IE9 VM and IE10 VM.  It could not even load the page.  Does anyone else have this on their radar, or have any input on this? Do I require polyfills? If so which?   If there are any docs on browser support, please point me towards them.
I would like to use this framework, but the overlords are concerned with IE support, so I must be as well.  Anyway, regardless of this, awesome job.  Hopefully I can use this at some point in time.  Thanks in advance for any input.

Same story here. IE support (9, 10, 11) is unfortunately quite vital for us so it would be nice to get some clarification to this issue.

Didn't dig to far into this, but looking at ie10 it looks like just doing toString.call() doesn't work. http://stackoverflow.com/questions/19321938/invalid-calling-object-error-in-ie
The issue is triggered in places like this. https://github.com/callemall/material-ui/blob/master/src/js/app-bar.jsx#L50

Possibly related Issue from Bootstrap-Tour: https://github.com/sorich87/bootstrap-tour/issues/214

IE11 looks good for me if toString.call() in dialog.jsx:24 and app-bar.jsx:50 get's replaced with Object.prototype.toString.call().

Hey everyone! @hai-cea might know more information about IE support, so I'll leave it to him to answer in more detail. In the mean time, I'll submit a pull request to fix the toString.call() issue.

Found a several issues in IE11:

Sliders don't move
Switches styling is misaligned and the ripple effect is wrong
Font looks really bad

I'm curious. I would imagine the type of clientele call-em-all has (churches, schools...) would make IE support a high priority. Is this not the case?
We would like to use MUI but need to get a sense of whether IE 10/11 issues are important to the community or not

Does MUI basically works in IE10?

@hai-cea @mmrtnz It'd be great to get some clarification on browser support.

As far as i can see 90% of components work fine in IE9. However it look like nothing will work on IE8.
I think i would use this for projects that don't require IE8

+1

any movement on this? without an offical specification im guessing allot of projects cannot use this library

The answer is, Material-UI is moving towards using flex internally, so any browser that supports that is a target. In addition, MS have dropped support for IE < 11, and we have followed suit.(Global usage of IE10 = 0.63%*)
*http://caniuse.com/#search=flex
I'll make this a docs issue - just need to figure out the best place to put it. :smile:

Just to add -- we will have a higher focus on cross browser compatibility (where we can with the tech we're choosing to use) once we reach 1.0

thank you MS... thank you so very much :-)

Where can we find list of current supported(tested) browsers?  Need to know if we can adopt this or not :)

@sontek I would take this to be the defacto list: http://caniuse.com/#feat=flexbox
Some components will work with older browsers, but that isn't guaranteed in future versions as we continue to adopt flexbox.

@mbrookes Yeah, the reason I asked was because of flexbox.  As you can see from that page you linked there is no version of IE that implements flexbox properly and so I'm wondering if you are explicitly saying IE will not be supported or if you'll at least be supporting IE and working around their flexbox bugs.

@sontek IE 11 is the only version of IE supported by Microsoft on Windows desktop, and that version has enough flexbox support that Material-UI should work fine. If it it doesn't, you can probably consider that a bug, as I don't believe there's anything on the "Known issues" list that list we can't work around.

@Mauricio28 Can we close this issue?

I wouldn't close it without updating the docs to describe what @mbrookes said above.  "IE 11 is the only version we will be supporting" or something like that.   This is definitely a developers point of view and not a pragmatic view of the actual usage of each browser but if thats what the project is going to do then they should document it or more people will just re-open or recreate this ticket.

This is definitely a developers point of view and not a pragmatic view of the actual usage of each browser

[citation needed] 😄
http://caniuse.com/#feat=flexbox 94% of browsers support flexbox.
It's a tradeoff for sure, but supporting a browser that the browser vendor doesn't is an uphill battle that we don't have the resources for as a volunteer team.

if thats what the project is going to do then they should document it

Please submit a PR for that.

A minimum browser support of IE11 is ok when considering normal demographics such as http://caniuse.com. Although IE9, IE10 and IE11 have large usage spikes during office hours.

@nathanmarks @oliviertassinari we've found some text overlap issues in TextField with IE9. It's because translate3d is not supported. Would you guys be alright with switching to regular translate?

@hhaidar I'm wondering why we actually use translate3d?
That's promoting the floating label into his own layer, but, is this a good idea?
Well, that doesn't sound like a bad tradeoff.
I think that we should use will-change in that case.

@oliviertassinari yea seems to look at the same without translate3d/perspective, I'll open a PR in a bit.

Closing in favor of #1865.

IE11 doesn't seem to render GridList at all - just a scrollbar down the Right Hand side of the window and empty conents


Investigate using GitHub Large Runners for Smoke Tests

Currently, our smoke test utilizes a 1ES Hosted Pool for GitHub, with the D8ads_v5 SKU.
Yesterday, GitHub large runners became GA: https://github.blog/changelog/2023-06-21-github-hosted-larger-runners-for-actions-are-generally-available/
We should investigate making the switch to reduce costs and increase the speed at which we provision machines for the smoke tests, assuming the performance of the machines matches our hosted pool.

From Jeff Wilcox:

No, large runners will not be available. Instead, teams with such requirements should use 1ES Hosted Pools for their larger workloads. Longer-term, we believe that the majority of Actions workloads in our public open source projects will need to move to hosted pools as well.


Fuzzing crash: OOB in jxl-coding

Hello,
I'm repeatedly finding this crash early on when fuzzing.
I can't upload the test case file right now on Github sorry, but here is how you can retrieve it: the file encoded in base64 is /wr/CscOKyT///8KW0EKQQSU. Running base64 -d <<< "/wr/CscOKyT///8KW0EKQQSU" > file.jxl on Linux should be able to decode the file. The Sha256 hash to check is 1c2e5cca8df7f2ad03b50207e5336d3040354f2a052a6303bb160a2eef5640df
Here is the crash (I'm on the latest commit 0c9c71e) :
Running: artifacts/libfuzzer-decode/minimized-from-282597921e1c5f4d8b6c684d0f0c5d1d6bb53bc5
thread '<unnamed>' panicked at /home/user/Documents/jxl-oxide/crates/jxl-coding/src/lib.rs:491:33:
index out of bounds: the len is 0 but the index is 0

Let me know if you are able to reproduce it or if you need help with retrieving the test file.

Thanks for reporting! I can reproduce it, seems like it's caused by invalid LZ77 stream.


promisified pool.query wont release/destroy connection

lets say you use pool.query inside a promise like this
()=>{
     return new Promise((resolve,reject) => {
           pool.query(a query,values,(error,results,fields) => {
                if(!results.length) reject()
                else resolve()
           })
     })
}

the connection to the pool wont close, since the pool.query function finished its work with the call of reject of resolve.
Using the long way like this
()=>{
      return new Promise((resolve,reject) => {
           pool.getConnection((err,connection)=>{
                  connection.query(a query,values,(error,results,fields) => {
                       if (!results.length) reject()
                       else resolve()
                       connection.destroy()
                  })
            })
      })
}

seems to do the work. I know its not that much of a difference for a solution in this type of problem. But promisified queries are a way to retrieve the data if you have your queries in a different file.

The behavior you are describing has nothing to do with promises. When you use a pool, the whole point is that the connection is not closed when you finished your query. You can read more about the concept of connection pooling on Wikipedia, amongst other places: https://en.wikipedia.org/wiki/Connection_pool

I am new in this area. I just wanted to mention the differences in the behavior of these 2 type of connections to a pool when they are promisified.


Add optional login redirect param to docs

Looks like the api update in this pull request wasn't reflected in the readme. Just fixing that because it would have saved me some time - thanks for a great lib!

Thanks.


Svg file to variable

Hello, currently I am loading SVG files wit imports:
import LogoSVG from '../../../assets/general/logo.svg';
Now I am trying to create an image loading function that checks the source ending and recognize  if image is SVG or PNG.
For this I would need someway to create SVG in a function instead with an import and return it as a component.
Something like this:
const LogoSVG = require("../../../assets/general/logo.svg");
Is there a possibility?

try following to draw local sag files :
import { WithLocalSvg } from 'react-native-svg';
<WithLocalSvg
asset={require("../localAssets/ic_show_pass.svg")}
/>

What is the difference between LocalSvg and WithLocalSvg? I haven't found them in the docs or type definition. #1443

Hello @schmru,
I believe the issue has already been resolved. If you are still experiencing problems, please feel free to open a new one.
Thank you.


doc(async): add documentation

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.089%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3806

Relevant Lines:
3841

💛  - Coveralls


Hi there

Using this with iOS 9 and I had to make a few changes for swift 2.  It's working great except for the spinner not showing.  any ideas?

Have you got this working - seem to be having a similar issue, the spinner doesn't show for me.

+1
Perhaps it has something to do with the depreciation of M_PI? I had to manually change it to Double.pi.

@adrianodiasx93 Any update on this?


Added get energy

Added method to get a wallet's available energy similar to the get bandwidth method.

Please Review the pull. This is a feature I implemented and using for my project.
@MrNaif2018
@andelf

Thank you for your PR! Merging!
P.S. Next time, please ensure to run make ci before committing or to install pre-commit hooks


Device Mismatch.

https://github.com/scabini/RADAM/blob/61f33cd138788ddbe018971fca00ef6b4cfd1765/standalone_RADAM_example.py#L25
https://github.com/scabini/RADAM/blob/61f33cd138788ddbe018971fca00ef6b4cfd1765/standalone_RADAM_example.py#L137
The example input tensors should also have a to.(device) so that they end up on the GPU when available.

This is fixed now, thank you very much for pointing it out. I made the mistake of testing this script only on my machine without a GPU.

This is fixed now, thank you very much for pointing it out. I made the mistake of testing this script only on my machine without a GPU.


nodeos sync very slowly and now delayed over 20000+ blocks

node info:
{
  "server_version": "aa60b9ca",
  "chain_id": "aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906",
  "head_block_num": 112335793,
  "last_irreversible_block_num": 112335465,
  "last_irreversible_block_id": "06b21a69c77c894713756e8f7fb3e048fcb07151f9d8bfd6c7a22fd1aa621bee",
  "head_block_id": "06b21bb117cee5538da75f9b7fc68326ba6d2cfbfc2ea74812c1498505567c7a",
  "head_block_time": "2020-03-27T10:15:31.500",
  "head_block_producer": "eoshuobipool",
  "virtual_block_cpu_limit": 200000,
  "virtual_block_net_limit":<PHONE_NUMBER>,
  "block_cpu_limit": 200000,
  "block_net_limit": 1048576,
  "server_version_string": "v2.0.2",
  "fork_db_head_block_num": 112335793,
  "fork_db_head_block_id": "06b21bb117cee5538da75f9b7fc68326ba6d2cfbfc2ea74812c1498505567c7a",
  "server_full_version_string": "v2.0.2-aa60b9caf9b7e2bd2411bb199c0c1d9fd8f085d5"
}

there is no error logs:
info  2020-03-27T13:59:29.978 net-1     net_plugin.cpp:1537           sync_reassign_fetch  ] reassign_fetch, our last req is 112335761, next expected is 112335662 peer sm3-eos-p2p:19876 - 2572b24
info  2020-03-27T13:59:29.978 net-1     net_plugin.cpp:1150           cancel_sync          ] sending empty request but not calling sync wait on p2p.eossweden.org:9876
info  2020-03-27T13:59:29.978 net-1     net_plugin.cpp:1474           operator()           ] requesting range 112335662 to 112335761, from <IP_ADDRESS>:9876 - 623790c
info  2020-03-27T13:59:39.461 net-0     net_plugin.cpp:3083           connection_monitor   ] p2p client connections: 0/25, peer connections: 4/10
info  2020-03-27T13:59:49.672 net-1     net_plugin.cpp:1474           operator()           ] requesting range 112335762 to 112335861, from eosn-eos-public22a:9876 - 5c2c23d

Really don't know why it is so slow.
My VPS info:
4 core 16G
Ubuntu 18
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 85
model name      : Intel(R) Xeon(R) Platinum 8269CY CPU @ 2.50GHz
stepping        : 7
microcode       : 0x1
cpu MHz         : 3100.004
cache size      : 36608 KB

Can you share your config.ini and command line.

chain-state-db-size-mb = 16024

plugin = eosio::http_plugin
plugin = eosio::chain_plugin
plugin = eosio::chain_api_plugin
plugin = eosio::net_api_plugin
plugin = eosio::history_plugin
plugin = eosio::history_api_plugin
plugin = eosio::net_api_plugin
plugin = eosio::producer_plugin
plugin = eosio::state_history_plugin

p2p-peer-address = peer.main.alohaeos.com:9876
p2p-peer-address = peer.eosn.io:9876
p2p-peer-address = p2p.eossweden.org:9876
p2p-peer-address = p2p.eosflare.io:9876
p2p-peer-address = eosbp-0.atticlab.net:9876
p2p-peer-address = peer1.eosphere.io:9876
p2p-peer-address = eth2.tokenika.io:9876

These are my extra config and others are the default.

BTW, I restarted the node last night and now it's caught up .
But still don't know why.

If it happens again we would need a full log. Closing this as it seems to have resolved itself.


Updating related links

Docs Build status updates of commit 583849a:
:clock10: Full build: the average full build time is 17 min(s) 58 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 583849a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

teams/teams-ps/teams/Remove-CsGroupPolicyAssignment.md
:white_check_mark:Succeeded
View (teams-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

@chrisda Please merge this PR. Thanks.

Docs Build status updates of commit 4fbeab2:
:clock10: Full build: the average full build time is 17 min(s) 43 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 4fbeab2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

teams/teams-ps/teams/Remove-CsGroupPolicyAssignment.md
:white_check_mark:Succeeded
View (teams-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Fix _libdispatch_tsd_cleanup signature.

Fixes the following error when building for Windows x86:
..\src\queue.c(7376,1): error: function declared 'stdcall' here was previously declared without calling convention
_libdispatch_tsd_cleanup(void *ctx)
^
..\src/shims/tsd.h(161,13): note: previous declaration is here
extern void _libdispatch_tsd_cleanup(void *ctx);

DISPATCH_TSD_DTOR_CC is part of the _libdispatch_tsd_cleanup signature in queue.c, but not in the external declaration in tsd.h. DISPATCH_TSD_DTOR_CC resolves to __stdcall on Windows.

@etcwilde we can close this since this was merged already

Yup, this was done in #569.


Define better terms in the README

So far, we are using the following terms:

Topology: setting up a network and defining node connections (including not at all)
Personas: a persona consists of everything you want to start a node with. This includes:

A wallet, preloaded with interesting UTXOs
A peers.dat file
A bitcoin.conf
.. basically a bitcoin datadir
We've also been calling these Tanks

Scenario: a series of RPC calls / node interactions / topology mutations

scenarios can be running forever or a set duration
scenarios can involve one or more nodes, or the entire network

Should anything else that's helpful and document all of this in the readme

• Tank: a dockerized bitcoind node 🔫

or lightning :eyes:

lets call personas profiles

I think we can close this out now


Changes to support replication plugin on OpenSearch v2.2.0

Description
Changes to support replication plugin on OpenSearch v2.2.0
Issues Resolved
https://github.com/opensearch-project/cross-cluster-replication/issues/462
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

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

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

Security tests are failing as release artifacts are not available
Can't get https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/2.2.0/latest/linux/x64/tar/builds/opensearch/plugins/opensearch-security-<IP_ADDRESS>.zip to /home/runner/work/cross-cluster-replication/cross-cluster-replication/build/dependencies/security/opensearch-security-<IP_ADDRESS>.zip

Codecov Report

Merging #469 (c25bfc4) into main (db5029a) will decrease coverage by 2.23%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##               main     #469      +/-   ##
============================================
- Coverage     74.69%   72.46%   -2.24%
+ Complexity     1005      981      -24
============================================
  Files           141      141
  Lines          4565     4565
  Branches        504      504
============================================
- Hits           3410     3308     -102
- Misses          838      937      +99
- Partials        317      320       +3

Impacted Files
Coverage Δ

...lication/metadata/TransportUpdateMetadataAction.kt
76.36% <100.00%> (ø)

...rch/replication/action/status/ShardInfoResponse.kt
72.26% <0.00%> (-19.33%)
:arrow_down:

...ch/replication/task/index/IndexReplicationState.kt
51.66% <0.00%> (-15.00%)
:arrow_down:

...ication/action/setup/TransportSetupChecksAction.kt
59.52% <0.00%> (-14.29%)
:arrow_down:

...ication/seqno/RemoteClusterRetentionLeaseHelper.kt
80.00% <0.00%> (-11.67%)
:arrow_down:

...tion/repository/RemoteClusterMultiChunkTransfer.kt
90.24% <0.00%> (-9.76%)
:arrow_down:

.../replication/metadata/store/ReplicationMetadata.kt
62.96% <0.00%> (-8.65%)
:arrow_down:

...action/stop/TransportStopIndexReplicationAction.kt
68.00% <0.00%> (-6.67%)
:arrow_down:

...ication/action/stop/StopIndexReplicationRequest.kt
50.00% <0.00%> (-5.00%)
:arrow_down:

...ion/action/resume/ResumeIndexReplicationRequest.kt
50.00% <0.00%> (-5.00%)
:arrow_down:

... and 14 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Security tests are failing as release artifacts are not available

Can't get https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/2.2.0/latest/linux/x64/tar/builds/opensearch/plugins/opensearch-security-<IP_ADDRESS>.zip to /home/runner/work/cross-cluster-replication/cross-cluster-replication/build/dependencies/security/opensearch-security-<IP_ADDRESS>.zip

@prudhvigodithi Are we not publishing pre-release artifacts under the above repo, once they are part of the manifest?

Security plugin build is failing due to compilation issue
/home/runner/work/cross-cluster-replication/cross-cluster-replication/security/src/main/java/org/opensearch/security/configuration/DlsFlsFilterLeafReader.java:920: error: <anonymous org.opensearch.security.configuration.DlsFlsFilterLeafReader$4> is not abstract and does not override abstract method docValueCount() in SortedSetDocValues
                return new SortedSetDocValues() {
                                                ^
/home/runner/work/cross-cluster-replication/cross-cluster-replication/security/src/main/java/org/opensearch/security/configuration/DlsFlsFilterLeafReader.java:968: error: docValueCount() in <anonymous org.opensearch.security.configuration.DlsFlsFilterLeafReader$4> cannot override docValueCount() in SortedSetDocValues
> Task :compileJava
                    public long docValueCount() {
                                ^
  return type long is not compatible with int
/home/runner/work/cross-cluster-replication/cross-cluster-replication/security/src/main/java/org/opensearch/security/configuration/DlsFlsFilterLeafReader.java:967: error: method does not override or implement a method from a supertype
                    @Override
                    ^

Hey @saikaranam-amazon I see with 2.2.0 the distribution build did not pass with security plugin, hence you are not able to access the zip.
https://build.ci.opensearch.org/job/distribution-build-opensearch/5855/
@peterzhuamazon @bbarani


Remove 44-byte long constraint for --privacy-public-key-file so Besu could support Tessera's EC encryptor

Description
As a user, I want to remove the 44-byte long constraint for --privacy-public-key-file so that I can use Tessera's EC encryptor configuration.
Tessera currently supports the configuration of uncompressed SECP256r1 public keys in base64 (like MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE+NYbGgkOxL7LWJh/68eCsHMOvxydvNO4gck/0KFsoCtkyCS3O7TuYfWwk9tr/2WKAsd3/v1a+XGffwnahB1PEw==). This value is not currently supported by Besu for the attribute --privacy-public-key-file since it expects a value that is 44 chars long.
The purpose of this ticket is to get rid of that constraint since potentially Tessera could be configured with any JCA implementation and adapt the acceptance tests for privacy so we can use alternativa encryptors to NaCl (this time would be EC).
About the acceptance tests, we would need to adapt them somehow since web3j's Base64String has the same problem. Some of the possible options would be:

Create another implementation for privacy of the org.web3j.tx.TransactionManager interface within the acceptance-tests package in Besu so we do not use Base64String. The problem with this option is that we will encounter the same issue when trying to submit a private transaction from a "blockchain service" to Besu. It would solve the problem within the acceptance tests though.

Modify org.web3j.tx.PrivateTransactionManager so it uses something different to Base64String in the constructor. This is not an ideal approach IMO since I do not really know who is already using PrivateTransactionManager outside of Besu (within Besu though it looks like it is just used for the acceptance tests).

(MY PREFERRED APPROACH) Modify Base64String so it does not check that length of 44, similarly to what is suggested in this issue for Besu (the logic is the same, sometimes the enclave public key in base64 is longer than 44). All the current methods will behave the same way regarding arguments and method outcomes. I have suggested this change already in Discord following web3j's contribution guidelines. This is my branch with the change applied. I have exported the package into my Besu branch to test it with good results overall in the acceptance tests locally (still need to check some errors).

Acceptance Criteria

It is possible to provide uncompressed SECP256r1 base64 public key as the content for the file passed as --privacy-public-key-file attribute.
The acceptance tests are adapted so they accept Tessera's EC encryptor configuration.

Hi @NicolasMassart , I have adapted the acceptance tests but the ones related to this feature are failing.
On our side, it is ok if the EC encryptor does not work along with this feature, and I could accommodate the acceptance tests to run on the NaCl encryptor only (like nowadays). I have gone down the rabbit hole for the flexible privacy ones and it looks like we would need to adapt the management smart contracts to make them work since they use bytes32 for the enclave public keys.
Let me know what you guys think but IMO maybe that part should be included in a separate PR (or maybe do not implement it at all since the method signatures for the proxy contract include bytes32, so it would not be straightforward for running private Besu blockchains to migrate to the new contract version).


Pin currently playing song for its duration

Closes #63.
It wasn't 100% settled whether this was a good idea or not, however I think it is. It's true that it makes the pinned result of the !list command slightly harder to view while another song is playing. I think this is not a huge deal, since

Users already have a tracklist they are following along with if they are voting as they go (which voting stats seem to suggest most people do)
It takes minimal effort to scroll down slightly and view the tracklist, and the majority of the time the pinned message view is "stable" (e.g. not actively changing from new pins/unpins)
Since tracks can have album art and more info, there is a lot to be gained by being able to view them during a bust and not just for a fleeting moment at the start
Busty's nick can provide some at-a-glance info, but large collab songs often have long names with critical info cut off, and it can be difficult to find which song is playing at a glance in the list (granted #19 would help with this somewhat)

I consider the pinned tracklist to be more for initial and post-bust reference than mid-bust reference. I recommend that we implement this feature, and then next bust we tell people about it and ask them if we should keep it or remove it.

Removing the inner_f was a good change style-wise but was so grand it made the diffs go wonky (and will probably mandate manual refactoring on most pending PR's), so I'll summarize the changes here manually myself.

Printed error if ffmpeg_post_hook was invoked with one
Added async function try_set_pin(message, pin_state) which pins/unpins while handling error and permissions logging. call try_set_pin(message, True) to pin it, and try_set_pin(message, False) to unpin.
removed inner_f wrapper function and called play_next_song as async from ffmpeg_post_hook.


async await version of examples/echo

Note: depends on

~fixing this line which is coming in https://github.com/libp2p/js-libp2p/pull/480~
~Latest release of js-libp2p-secio being deployed to npm~

#480 has been merged!

Agreed 👍
I made that change


is externnals can be css files?

I want some css files to be external
module.exports = {   //...   externals: 'main.css' };
will it work if I write like this?

It looks like you just deleted our lovely crafted issue template. It was there for good reasons. Please help us solving your issue by answering the questions asked in this template. I'm closing this. Please either update the issue with the template and reopen, or open a new issue.

It looks like you just deleted our lovely crafted issue template. It was there for good reasons. Please help us solving your issue by answering the questions asked in this template. I'm closing this. Please either update the issue with the template and reopen, or open a new issue.

dev make it style, and prod make it css file

@leeseean what?


A/B test libFuzzer:  simplify CFGs vs. don't simplify CFGs

We need to evaluate the usefulness of disabling CFG simplification under sanitizer_coverage instrumentation.  Simplifying CFGs should make code faster and therefore allow more executions per second.  But simplifying CFGs also reduces the signal we get from comparison instrumentation.
See https://github.com/google/sanitizers/issues/893.

Completely disabling CFG simplification

Patch

Disabling conditional branch simplification only

Patch

Neither patch seems to have a net positive effect on our benchmarks.


How to install mac os 10.15.4

Hi.
I put the clover r5105 in the EFI folder.  Then I downloaded version 10.15.4 of Mac and clicked Install.  But it only displays the Apple logo, and nothing happens.
Help extinguish the problem.
Thanks 🙏🏻🌹
Sent with GitHawk

Hi.
I put the clover r5105 in the EFI folder. Then I downloaded version 10.15.4 of Mac and clicked Install. But it only displays the Apple logo, and nothing happens.
Help extinguish the problem.
Thanks 🙏🏻🌹
Sent with GitHawk

Try boot with this config
config.plist.zip

Hi.
I replaced the file with my own file.  Then I made a boot flash with unibeast for Mac 10.15.4.
Then I replaced the EFI folder with the flash boot folder.
But the time of descent is only displayed on the Apple logo, and the bottom line is not displayed at all, and the installation remains unfinished.
Can you give me your own EFI folder that supports Mac 10.15.4 for me to use?
Sent with GitHawk


traceloop: use custom resources

traceloop: use custom resources
Traceloop is no longer started automatically and is controlled by the Trace resouce.
How to use
It can be started manually with a Trace custom resource on each node:
$ kubectl apply -f ./pkg/resources/samples/trace-traceloop.yaml
$ kubectl annotate -n gadget trace/traceloop gadget.kinvolk.io/operation=start

The CLI is updated to support start and stop operations:
$ kubectl gadget traceloop start
$ kubectl gadget traceloop stop

Testing done

Tested with the operations above on AKS

TODO:

[x] Rebase on top of #333 and use less arguments on GenericTraceCommand()
[x] Update traceloop guide
[ ] Don't allow several instances of the traceloop gadget on the same node
[ ] Delete the traceloop.kinvolk.io/state annotation on the gadget pods when the trace is deleted

Will hold until https://github.com/kinvolk/inspektor-gadget/pull/357 is merged. Otherwise there are going to be so many conflicts to solve.

I updated the PR. I decided to handle the annotation removal directly in traceloop https://github.com/kinvolk/traceloop/pull/65. Regarding my comment about I have to wait a bit after starting traceloop to be able to list the traces:, I think we can solve it as part of https://github.com/kinvolk/inspektor-gadget/issues/371.

This is ready for review. @alban can you review it? otherwise @blanquicet can you?

LGTM if the CI is green

LGTM if the CI is green

Ah, seems like I introduced a deadlock... I'll investigate.


feat: Ethereum Portal, leveraging Account Abstraction for a seamless user experience

Feature Request
Describe the Feature Request
Let's get a great user experience. This is an idea to allow metamask (or any other evm wallet) users to use kakarot seamlessly and to allow them to receive funds on their ethereum like address on kakarot without having to do or pay anything. This means you could receive some ether on kakarot without having interacted with it before, without even having deployed an account contract.
Describe Preferred Solution
One account to rule them all
Since 0.10.0, Starknet account contracts rely on two functions: validate and execute. Upon receiving a transaction, the account contract will first call validate, and then, if successful, proceed to execute.
There are no constraints on the strategy used to check the validity of a transaction, so technically, one can use the secp256k1 curve as on ethereum in order to check a transaction validated via an ethereum key pair. This is less efficient than using the elliptical curve chosen by Starkware, but as they say, computation is cheap. OpenZeppelin already implemented such an account here. This allows someone to deploy an account controlled by the same private key as their other Ethereum accounts, but this is a step we don't want. On an EVM chain you don't deploy an account, you generate a key pair and magically anyone can directly send funds to it without you having to do anything on chain.
What kakarot could do, is to allow a single contract to call it. This contract would be the only one to interact with the interpreted kakarot applications. This contract would be a very special AccountContract, we could call it the Ethereum Portal. Based on the work of Open Zeppelin, it would allow any Ethereum address to call it. Instead of verifying that the transaction has been signed using the private key associated with a hardcoded address, it would take the address to be verified as an additional parameter in the validate function or the txinfos. The trick will be to keep track of who holds what on this shared AccountContract, and deny the transaction if the public address does not have enough funds to cover the fees (by the way, estimating fees is an essential point that I didn't explore, I am curious to hear your ideas).  It would be necessary to add to the contract a deposit(address, amount) function that would allow a classic Starknet account to deposit a certain amount of ether to an Ethereum address on the portal. In the same fashion it would probably be a good idea to add withdraw function to allow moving funds back to Starknet (that looks like a free secure bridge).
The rosetta stone as a RPC
While technically controlling assets on StarkNet with an Ethereum key pair doesn't seem to be a problem, it's hard to see how it could work with Metamask or any traditional wallet provider. The standards are absolutely not the same to send transactions on Ethereum or Starknet, we don't even send the same kind of data. Here comes the cornerstone of this idea, or should I say the rosetta stone.
We could create our own RPC which can receive a normal evm signed transaction json but instead of sending it to a node, it would convert it to the Starknet format and forge a transaction sent through the kakarot account. It could then send it to a Starknet endpoint. Anyone could deploy their own rosetta stone to be able to guarantee a nice decentralization.
If the feature request is approved, would you be willing to submit a PR?
No, that's a big job but I would be happy to help.

Thanks for the detailed proposal. I'll dig into it this week-end and I'd happily work on this with you starting from next week

Very nice! We started working on this idea a while back - https://community.starknet.io/t/support-web3-wallets-in-starknet/192.
The idea is different in the sense that it still assumes each user has it's own address and we indeed encountered the problem of mapping Ethereum addresss to StarkNet address, but maybe there are things to learn there.
And Software Mansion had a PoC which implemented this - https://github.com/software-mansion-labs/web3-account/tree/e701f0a94eacbcf1f29706eeddfd7e5caffcf03d

This is really awesome!!! I think it's the single most important issue to enable adoption of Kakarot!
One the topic of Eth Account on starknet, I see two ways forward:

the so-called AccountContract that you mentioned

pros: simpler onboarding: can just use an eth account using only a private key
con: bigger overhead than just running validate() with an account abstraction

individual ethereum accounts using account abstraction

pros: easier to deal with, better scaling
con: annoying onboarding experience -> how to solve it?

I'm thinking that I like option 2 more, in some way, people could somehow claim an account seamlessly, maybe some type of "claim" button in the kakarot dapp that essentially does two things -> signs a transaction that: creates an account using the already available private key of the user, and asks the user to fund their account using their starknet balance
this claim step solves the problem of needing a minimal amount of starknet native / official erc20 token to run transactions on kakarot (meaning that you would have to fund the account no matter what), and is good enough for our impossible tradeoff (there is no silver bullet)

I completely love the roseta stone as an idea and defo agree with the idea of it!

https://github.com/software-mansion-labs/web3-account/tree/e701f0a94eacbcf1f29706eeddfd7e5caffcf03d

Amazing, thanks for the feedback. So if I understand correctly, in the 2nd option the Ethereum balance would not be handled by kakarot contract but it would instead be the Ethereum ERC20 owned on the actual Starknet Account? I guess it would be an elegant way to not have to handle the fees estimation, deploying and funding would have to be two separate actions (I don't think a multicall would work here) but that's not a so big deal. May be something that could be done is enforcing the salt when deploying the individual ethereum account so that you can only have one account per ethereum address (and its starknet address could be deterministically compouted from the eth address).
Btw this is a bit off topic but we thought about that kind of tricks with deterministic address generation for Starknet.id and it would be pretty easy to create a resolver which automatically maps 0xAnExampleEthAddress.kakarot.stark to the starknet account address.

I really like where this is going 🔥🔥🔥

The trick will be to keep track of who holds what on this shared AccountContract

why would we need to do this? why isn't it like in eth: the EAO doesn't bear any info, you query the balance from the token contract

Something else comes to mind: how will we reproduce sending value along with a contract call? Reproduce payable etc. behavior?
It is deeply tied to the way we will handle account abstraction and Kakarot accounts

The trick will be to keep track of who holds what on this shared AccountContract

why would we need to do this? why isn't it like in eth: the EAO doesn't bear any info, you query the balance from the token contract

That's because ether is not a contract on ethereum, it's the native token.

The second option sure seems pretty elegant:D
If I understood correctly, one would essentially ERC20.approve() Kakarot and multi call Kakarot to mimic the behaviour of "value"?

The second option sure seems pretty elegant:D. In your opinion, how doable is it? Option 1 seems easier, as it sounds/looks like what zkSync1.0 were doing on L1.
If I understood correctly, one would essentially ERC20.approve() Kakarot and multi call Kakarot to mimic the behaviour of "value"?

I think it is doable but we will probably run into issues that will make it not so elegant in the end: especially if there is a "non-deterministic" ethereum value spent (eg you pay more if you mint a NFT after someone). The rosetta translator would have to detect those situations to sandwitch with margin (and this sounds hard, it looks like something undecidable).

If I understood correctly, one would essentially ERC20.approve() Kakarot and multi call Kakarot to mimic the behaviour of "value"?

It could be done that way but I thought about directly transfering your eth (the ones you want to spend) to kakarot, call your kakarot contract and then withdraw the remaining eth from kakarot. That way you don't even need to care about who owns the Eth spent
Option 1 (one account for all users and a storage_var which maps the "virtual balances") sounds much easier to me, but as you've shown it implies being able to estimate the gas cost (at least being able to give a not too bad markup).

It's been debated in Community call and contributors collectively chose the AA approach:)!

Now we are left with a thorough design task:D

Closing this issue to archive this debate. Will open a new issue to generate a better understanding of how to implement Eth AA with Kakarot


Pass parameter to PowerShell customizer that uses ScriptUri?

Regarding https://learn.microsoft.com/en-us/azure/virtual-machines/windows/image-builder-powershell, step 3. Create a VM Image Builder customization object:
I would like to create a PowerShell customization object ("customizer") that runs a PowerShell script stored in an Azure storage container. The script has one parameter, whose value should be sent to the script via the Image Builder image template.
The customizer would look something like this:
$customizerParams = @{
PowerShellCustomizer = $true
Name = "customizer"
ScriptUri = "https://[storage account].blob.core.windows.net/[storage container]/customization.ps1"
}
$customizer = New-AzImageBuilderTemplateCustomizerObject @customizerParams
The parameter for 'customization.ps1' is -FileUri. The passed value for -FileUri is the URI of a file located in an Azure storage container.
Is it possible to pass a -FileUri parameter value to 'customization.ps1' via 'ScriptUri'? Conceptually, something like this:
$customizerParams = @{
PowerShellCustomizer = $true
Name = "customizer"
ScriptUri = "https://[storage account].blob.core.windows.net/[storage container]/customization.ps1-FileUri=https://[storage account].blob.core.windows.net/[storage container]/test.txt"
}
Thank you.
Glen

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

ID: c0b40c35-05a3-a82d-a887-d393fff29536
Version Independent ID: 607c9388-c173-882c-cc45-bb0a8b5ac1ac
Content: Create a Windows VM with Azure VM Image Builder by using PowerShell - Azure Virtual Machines
Content Source: articles/virtual-machines/windows/image-builder-powershell.md
Service: virtual-machines
Sub-service: image-builder
GitHub Login: @kof-f
Microsoft Alias: kofiforson

@glenmw
Thanks for your feedback! We will investigate and update as appropriate.

@glenmw
Thank you for your feedback!
Since this issue isn't directly related to improving our docs, and to gain a better understanding of your issue, I'd recommend working closer with our support team via an [Azure support request] (https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request). Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.
[Teams Q&A forum] (https://docs.microsoft.com/en-us/answers/topics/46488/office-teams-windows-itpro.html) for technical questions about the configuration and administration of Microsoft Teams on Windows.
[Microsoft Teams Community forum] (https://answers.microsoft.com/en-us/msteams/forum?sort=LastReplyDate&dir=Desc&tab=All&status=all&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&isFilterExpanded=false&page=1)
Thank you for your time and patience throughout this issue.


public enum AuthPolicy.HttpMethod

I was running into an issue when trying to access static method of AuthPolicy.getAllowOnePolicy and AuthPolicy.getDenyOnePolicy using java blueprint.
This publicizes the inner enum on AuthPolicy, so we can provide it to the exposed static methods.
With this change I can now call:
return new AuthPolicy(principalId, AuthPolicy.PolicyDocument.getDenyAllPolicy(region, awsAccountId, restApiId, stage, AuthPolicy.HttpMethod.GET, "some/path"));

thanks!


add an option to not register the LED as a lightbulb service

Merged, will publish a minor version to NPM soon.

Published to NPM as v0.4.1 - thanks for the contribution!


Fix to the synchronisation between the input/hint text when the entry contains prepended whitespace.

Realigned the hint text so it matches up with what is input correctly if spacing is added before the matched phrase. Also added an event to react to space and delete actions which were previously ignored and caused the hint text become out of alignment.

Guess it isn't wanted.


undefined method `before_filter' for Rapidfire::SurveysController:Class Did you mean? before_action

Hi,
I am following the documentation and on the usage step I get this error when I try to load my http://localhost:3000/rapidfire page.  Although this issue is taken care of in the surveys controller , I still keep getting this error.

Hi @reynold2468 ,
Build for Rails 5.1.x has not been released yet. But you could make use of the latest code by providing the git path to the repository within the gem file.
gem 'rapidfire', git: 'https://github.com/code-mancers/rapidfire.git'

Thanks for the update, I appreciate it. Looking forward to the release.
Thanks,
Best Regards,
Reynold Dmello.
On Wed, Sep 20, 2017 at 11:52 PM, Akshay<EMAIL_ADDRESS>wrote:

Hi @reynold2468 https://github.com/reynold2468 ,
Build for Rails 5.1.x has not been released yet. But you could make use of
the latest code by providing the git path to the repository within the gem
file.
gem 'rapidfire', git: 'https://github.com/code-mancers/rapidfire.git'
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/code-mancers/rapidfire/issues/123#issuecomment-331050581,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQfCq5_2IE25JSdEAENalNp-X6-FH0lQks5skeuXgaJpZM4PeZIm
.


improve OpenTracing coverage

Revamp OpenTracing coverage in order to make it easier to troubleshoot performance issues.

/cc @sipsma
This can be useful to figure out where the runtime is spending its time.


Restyle and bring event logs component to contract level

Problem
The new event logs component is proposed to be changed to a new layout, and also be brought to contract detail page.
Solution

Restyle the current layout
Bring the component to Contract Detail page

Alternatives
No response

close as duplicate of https://github.com/hashgraph/hedera-mirror-node-explorer/issues/729


Add Build Capability for MacOS

Updated CMake scripts to allow building on MacOS.
Updated BUILD.md to reflect the change in build workflow for MacOS.

If there is no further input by the end of the day, I will rebase this PR.


cryptography codes

#hacktoberfest done the cryptography of codes and run in terminal plaintext to cipher text run

awesome! good job


cross compile tool chain name error

The space between the CC_PREFIX and gcc makes system failed to find the
correct gcc binary.
Signed-off-by: Pei Zhang<EMAIL_ADDRESS>

I signed it!


Reduce unnecessary build.

I have used your changes and tested them for https://github.com/karfly/chatgpt_telegram_bot/pull/167

now lets hope that he approves the pull request 😅


Can't download elm/beginning-elm course

The URL is different from the others course.
firebase-react -> elm/beginning-elm
https://frontendmasters.com/courses/elm/beginning-elm/

How to solve this?

Change the URL capture pattern might fix this issue.
https://github.com/li-xinyang/OS_FrontendMaster-dl/blob/master/extractor/spider.py#L65


Rendering toolkit tutorial readme.md changes

Existing Sample Changes
Description
File: …\RenderingToolkit\Tutorial\IntroToRayTracingWithEmbree\README.md
Changes: Multiple updates related to Intel branding requirements. Checked names against names database for accuracy. Updated third-party trademark references based on direction from legal and marketing. Moved license to end of file to match new template directions. Fixed spelling issues. Clarified some language and grammar. Checked file in Acrolinx and ensured >=80 overall score.
Fixes Issue#
N/A
External Dependencies
N/A
Type of change
Please delete options that are not relevant. Add a 'X' to the one that is applicable.

[x] Documentation

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x] VSCode

@MichaelRoyceCarroll - please review.

I don't think this PR is necessary... jkinsky had already edited and pushed README changes. This was probably a more appropriate way to review it. I'll leave open pending the full PR has what samples team needs.


Displaying source metadata id

Closes #508

Coverage remained the same at 100.0% when pulling f1765a6b8edba71867c6538d9d3f508af2ac5671 on show-metadata-source-id into 767a25511fbd1daa70dadbb5b6d6ad778619e4b7 on master.


Time-out triggers to be marked as cancelled instead of failed

Is your feature request related to a problem? Please describe.
Yes, We are not able to identify actual pipeline failures and timeouts, it's causing problems in analysis.
Describe the solution you'd like
it'd be great if the timed-out triggers were marked as canceled or any other marking and not failed.

hey this feature should be included in the latest mage version (0.9.63), you should be able to select the status when configuring the trigger.


Modifier -> SwiftUi -> Technology-specific views: activitySystemActionForegroundColor(_:)

Doc: https://developer.apple.com/documentation/swiftui/view/activitysystemactionforegroundcolor(_:)

[ ] Swift implementation
[ ] Elixir implementation

We won't support this according to the team


AUT-6046 Add context parameter to IntrospectToken().

AUT-6046
BREAKING CHANGE
This pull-request changes the parameters to the IntrospectToken() method.
Description
The asp-client-go package panics when IntrospectToken is called, because it does not provide a context.
The params.Context value is now required (and therefore the params parameter is no longer optional)
in acp-client-go/clients/oauth2/client/oauth2/oauth2_client.go:
 func (a *Client) Introspect(params *IntrospectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IntrospectOK, error) {
        // TODO: Validate the params before sending
        if params == nil {
                params = NewIntrospectParams()
        }
        op := &runtime.ClientOperation{
                ID:                 "introspect",
                Method:             "POST",
                PathPattern:        "/oauth2/introspect",
                ProducesMediaTypes: []string{"application/json"},
                ConsumesMediaTypes: []string{"application/x-www-form-urlencoded"},
                Schemes:            []string{"https"},
                Params:             params,
                Reader:             &IntrospectReader{formats: a.formats},
                AuthInfo:           authInfo,
                Context:            params.Context,
                Client:             params.HTTPClient,
        }

The TODO above should also be addressed, but I assume that would need to happen in the ACP project.
The params argument, and its fields params.Context and params.HTTPClient, must all be non-nil.
This problem results from the addition of Open-Telemetry support in this commit:
1a1f2e24b (Ireneusz Kawalec   2022-03-31 13:55:47 +0200  471)            ).WithOpenTracing(), nil),

which causes a panic when<EMAIL_ADDRESS>dereferences ctx:
 func SpanFromContext(ctx context.Context) Span {
       val := ctx.Value(activeSpanKey)

Type of changes

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Tests (extending the test suite)
[ ] Refactor (internal improvement that doesn't change product functionality)
[ ] Other (if none of the other choices apply)

Thanks for fixing that


upgrade kerlescan

Secure Coding Practices Checklist Link

https://github.com/RedHatInsights/secure-coding-checklist

Secure Coding Checklist

[ ] Input Validation
[ ] Output Encoding
[ ] Authentication and Password Management
[ ] Session Management
[ ] Access Control
[ ] Cryptographic Practices
[ ] Error Handling and Logging
[ ] Data Protection
[ ] Communication Security
[ ] System Configuration
[ ] Database Security
[ ] File Management
[ ] Memory Management
[ ] General Coding Practices

Codecov Report
Patch and project coverage have no change.

Comparison is base (0c48a3b) 72.94% compared to head (5f6a878) 72.94%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #353   +/-   ##
=======================================
  Coverage   72.94%   72.94%
=======================================
  Files          25       25
  Lines         743      743
=======================================
  Hits          542      542
  Misses        201      201

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Wallet SDK integration with Fuels-ts SDK

On the part of creating transactions, providers, etc. We have to discuss exposing methods for all things like querying data from providers, passing a contract, and func, args, txParams, and more to make contract calls, etc. This is good from the viewpoint of control but we lose flexibility and disconnect Fuels-ts SDK from the Wallet Extension.
The option I'm going to suggest is a similar approach to the current market designs. By adding a new Wallet Signer type on Fuels-ts SDK that integrates with the Wallet Extension in this way;

All public provider calls can go directly from the client to the network provider.
All features implemented on the SDK will work as they are today.
When the client tries to send a transaction that needs to be signed, the Wallet Extension will be prompted and submitted via the wallet. Or anything that requires a signature.
One issue is network differences, as the app can query things from one provider, and the wallet is connected to another. This issue can be improved but never fixed, as the developer can use the Graphql API directly from the client. Also, if we have some kind of chainId in the future will make this problem irrelevant.

WRT network differences, couldn't we share the wallet provider with the SDK?

WRT network differences, couldn't we share the wallet provider with the SDK?

The URL of the provider would be shared, but the requests can happen on both side, on the SDK and on the Wallet

Would that be different if we'd share the actual provider instance? (not just the URL)

Would that be different if we'd share the actual provider instance? (not just the URL)

It would not be possible as the website runs in an isolated env from the wallet. They communicate through messages.


Loading is taking longer than expected

Hi, while trying to launch the wandb server, localhost:8080 stays stuck on the following message :
Loading your local environment...
Loading is taking longer than expected. Check stdout, or the system logs at /var/log for error messages. You can restart your server with the environment variable LOCAL_RESTORE=true to regain access if you're unable to login
Output from wandb local --no-daemon :
wandb: A new version of W&B local is available, upgrade by calling wandb local --upgrade
*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** Running /etc/my_init.d/01_enable-services.sh...
*** Running /etc/my_init.d/02_load-settings.sh...
*** Booting runit daemon...
*** Runit started as PID 38
panic: Dirty database version 5. Fix and force version.
goroutine 1 [running]:
main.main()
/mnt/ramdisk/core/services/gorilla/cmd/migrate/main.go:115 +0xb05
Output from docker exec -t wand-local cat / var/log/mysql.log
2021-05-29T13:45:39.050538Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2021-05-29T13:45:39.052381Z 0 [Note] mysqld (mysqld 5.7.34-0ubuntu<IP_ADDRESS>) starting as process 106 ...
2021-05-29T13:45:39.054131Z 0 [Warning] One can only use the --user switch if running as root
2021-05-29T13:45:39.055997Z 0 [Note] InnoDB: PUNCH HOLE support available
2021-05-29T13:45:39.056016Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2021-05-29T13:45:39.056022Z 0 [Note] InnoDB: Uses event mutexes
2021-05-29T13:45:39.056026Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2021-05-29T13:45:39.056031Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-05-29T13:45:39.056035Z 0 [Note] InnoDB: Using Linux native AIO
2021-05-29T13:45:39.056936Z 0 [Note] InnoDB: Number of pools: 1
2021-05-29T13:45:39.057054Z 0 [Note] InnoDB: Using CPU crc32 instructions
2021-05-29T13:45:39.059197Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2021-05-29T13:45:39.066667Z 0 [Note] InnoDB: Completed initialization of buffer pool
2021-05-29T13:45:39.069002Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2021-05-29T13:45:39.081081Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2021-05-29T13:45:39.119609Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-05-29T13:45:39.119683Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-05-29T13:45:39.216224Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2021-05-29T13:45:39.216760Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2021-05-29T13:45:39.216774Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2021-05-29T13:45:39.217724Z 0 [Note] InnoDB: Waiting for purge to start
2021-05-29T13:45:39.267849Z 0 [Note] InnoDB: 5.7.34 started; log sequence number 8761776
2021-05-29T13:45:39.267999Z 0 [Note] InnoDB: Loading buffer pool(s) from /vol/mysql/ib_buffer_pool
2021-05-29T13:45:39.268702Z 0 [Note] Plugin 'FEDERATED' is disabled.
2021-05-29T13:45:39.270258Z 0 [Note] InnoDB: Buffer pool(s) load completed at 210529 13:45:39
2021-05-29T13:45:39.274401Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
2021-05-29T13:45:39.274418Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory.
2021-05-29T13:45:39.274954Z 0 [Warning] CA certificate ca.pem is self signed.
2021-05-29T13:45:39.274989Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory.
2021-05-29T13:45:39.275063Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
2021-05-29T13:45:39.275096Z 0 [Note] IPv6 is available.
2021-05-29T13:45:39.275103Z 0 [Note]   - '::' resolves to '::';
2021-05-29T13:45:39.275124Z 0 [Note] Server socket created on IP: '::'.
2021-05-29T13:45:39.301119Z 0 [Note] Event Scheduler: Loaded 0 events
2021-05-29T13:45:39.301330Z 0 [Note] mysqld: ready for connections.
Version: '5.7.34-0ubuntu<IP_ADDRESS>'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Ubuntu)
2021-05-29T13:45:39.915944Z 5 [Note] Aborted connection 5 to db: 'wandb_local' user: 'wandb_local' host: '<IP_ADDRESS>' (Got an error reading communication packets)
2021-05-29T13:45:39.915961Z 4 [Note] Aborted connection 4 to db: 'wandb_local' user: 'wandb_local' host: '<IP_ADDRESS>' (Got an error reading communication packets)
exec mysqld >> /var/log/mysql.log 2>&1
I already tried to to
docker stop wandb-local
docker volume rm wandb
wandb local
But the problem persists.... Could you please help me with this ? Thanks a lot.
System : Ubuntu 18.05.5
Wandb version : 0.10.31
Python : 3.7.9

@edebrouwer this means the database was unable to migrate.  Version 5 is very low, we need to migrate 80 versions on boot.  This is usually caused by killing the docker instance while it's migrating (if you ctrl-c the --no-daemon mode that would kill the migration).  It could also be an issue with your docker IO configuration.  I would try the following:
docker stop wandb-local
docker volume rm wandb
wandb local
# Wait 60 seconds, then run:
docker logs wandb-local

Then share the log output here.  It usually takes 15-30 seconds to migrate the database from scratch.  If it's taking much longer than that, you likely need to tweak your docker IO settings.  Can you also share the output of docker info?

Hi thank you for your quick response ! I waited 10 minutes and now it's up :)
Actually i'm running it on a virtual machine and the machine was stopped last night without stopping the docker instance first.


Does not support encoding anything except numbers?

Hi, I'm using hashids and would like to hash MongoDB generated _id (ObjectID).
They seems like 59075c853bacf0e02965c690.
Yes, it's not friendly to url.
However, I got fail when trying to encode such an ID like this,
Hashids::encode('59075c853bacf0e02965c690');

Got empty string "" eventually.
Not only ObjectID, but anything except number, will get empty string too.
How can I deal with a string or it just support numbers?
Thank you so much :)

Please see the MongoDB section in Hashids documentation.


Automated Package Upgrade

:tada: This PR is included in version 2.2.441 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Revert "Revert "ACPI: remove ACPICA source from the kernel.""

This is working for me now. Complete rebuild and boot.
This reverts commit d056e163f082406ad50c323fa6fdcba435d7137c.

Here we go again. I could test it tonight. But if after all it's working, I trust.
LGTM

If one other person can do a full build and test, and it works, then press merge. Or I'll merge when I hear from someone. Your call :-)

Tested merging latest master changes. Working. Needs rebase.
@rminnich go for it. Nice work, thanks.


CI housekeeping

List of changes:

bump deps and GitHub actions
remove duplicate jobs run
remove unused deps
set min Elixir requirement to Elixir 1.12
support Elixir 1.17/Erlang OTP 27
use main as default branch

Thank you!

:partying_face: :partying_face: :partying_face: :partying_face: :partying_face:


lables: use labels instead of annotation in the description of labels

Signed-off-by: Lei Jitang<EMAIL_ADDRESS>

14118d2f looks good to me.  Ping @vbatts (since it's updating your
#371).

LGTM

LGTM


[Bug]: scoop-completion does not work with pwsh 7.4.0

Prerequisites

[X] I have written a descriptive issue title.
[X] I have searched all issues/PRs to ensure it has not already been reported or fixed.
[X] I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name
scoop-completion
Expected/Current Behaviour
When typing scoop upd or scoop st (or any other command/bucket/software) and pressing TAB key should autocomplete, in reality nothing happens.
Steps to Reproduce
PS> scoop install scoop-completion
Installing 'scoop-completion' (0.2.4) [64bit] from extras bucket
Loading v0.2.4.zip from cache
Checking hash of v0.2.4.zip ... ok.
Extracting v0.2.4.zip ... done.
Linking ~\scoop\apps\scoop-completion\current => ~\scoop\apps\scoop-completion\0.2.4
Installing PowerShell module 'scoop-completion'
Linking ~\scoop\modules\scoop-completion => ~\scoop\apps\scoop-completion\current
Running post_install script...
'scoop-completion' (0.2.4) was installed successfully!
Notes
-----
Run following command to import scoop-completion automatically in Powershell:
C:\Users\USERNAME\scoop\apps\scoop-completion\current\add-profile-content.ps1
PS> C:\Users\USERNAME\scoop\apps\scoop-completion\current\add-profile-content.ps1
PS>

Possible Solution
No idea
Scoop and Buckets Version
PS> scoop --version
Current Scoop version:
v0.3.1 - Released at 2022-11-15

'extras' bucket:
56b70fedc (HEAD -> master, origin/master, origin/HEAD<EMAIL_ADDRESS>Fix hash (Closes #12303)

'java' bucket:
c8f3b9d4 (HEAD -> master, origin/master, origin/HEAD) temurin8-nightly-jre: Update to version 8.0.402-3.0.202311221855

'main' bucket:
41e2f9c7e (HEAD -> master, origin/master, origin/HEAD) yq: Update to version 4.40.3

'nonportable' bucket:
518e9df (HEAD -> master, origin/master, origin/HEAD) 10x-np: Update to version 1.0.96

'sysinternals' bucket:
692e651 (HEAD -> main, origin/main, origin/HEAD<EMAIL_ADDRESS>Fix hash (Closes #15)

Scoop Config
PS> scoop config

last_update         scoop_repo                              scoop_branch
-----------         ----------                              ------------
23/11/2023 10:22:32 https://github.com/ScoopInstaller/Scoop master

PowerShell Version
PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.0
PSEdition                      Core
GitCommitId                    7.4.0
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Additional Softwares
No response

https://github.com/Moeologist/scoop-completion/issues/35

I have the same problem. I thought there was something wrong with my configuration. It is normal to use it in winodws powershell.


Open the PDF content blank

Attach (recommended) or Link to PDF file here:
http://7n.m-visitor.medsci.cn/mhst/pdf/二甲双胍缓释剂效价比优势明显.pdf
Steps to reproduce the problem:
1.

Open the PDF content blank
2.
What is the expected behavior? (add screenshot)
What went wrong? (add screenshot)
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

Duplicate of #10660; please see https://github.com/mozilla/pdf.js/issues/10660#issuecomment-475185456 for additional details.


Class not found using FilesUploadV2Request.builder()

Reproducible in:
The Slack SDK version
[INFO] \- com.slack.api:slack-api-client:jar:1.35.0:compile
[INFO]    +- com.slack.api:slack-api-model:jar:1.35.0:compile

Java Runtime version
openjdk version "17.0.9" 2023-10-17 LTS
OpenJDK Runtime Environment Corretto-<IP_ADDRESS>.1 (build 17.0.9+8-LTS)
OpenJDK 64-Bit Server VM Corretto-<IP_ADDRESS>.1 (build 17.0.9+8-LTS, mixed mode, sharing)

OS info
ProductName:    macOS
ProductVersion: 12.6.1
BuildVersion:   21G217
Darwin Kernel Version 21.6.0: Thu Sep 29 20:13:56 PDT 2022; root:xnu-8020.240.7~1/RELEASE_ARM64_T6000

Steps to reproduce:
I tried to do a file upload of a JSON string using the FilesUploadV2Request builder, but there is a ClassNotFoundException with org.glassfish.grizzly.utils.Charsets. I am using the builder below:
FilesUploadV2Request.builder()
    .content(stringifiedJSON)
    .title("test_file")
    .channel(channelId)
    .initialComment("A comment")
    .build();

Is there something I am missing in the client installation that is causing glassfish.grizzly to not be installed?
It works when I use the V1 FilesUploadRequest.builder(). I only decided to switch due to a message logged mentioning V2.
Expected result:
filesUploadV2 should have the necessary dependencies after installing the slack-api-client through maven
Actual result:
java.lang.ClassNotFoundException: org.glassfish.grizzly.utils.Charsets
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[na:na]
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[na:na]
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[na:na]
	at com.slack.api.methods.impl.FilesUploadV2Helper.readUploadFileBytes(FilesUploadV2Helper.java:130) ~[slack-api-client-1.35.0.jar:1.35.0]
	at com.slack.api.methods.impl.FilesUploadV2Helper.uploadFile(FilesUploadV2Helper.java:43) ~[slack-api-client-1.35.0.jar:1.35.0]
	at com.slack.api.methods.impl.MethodsClientImpl.filesUploadV2(MethodsClientImpl.java:2217) ~[slack-api-client-1.35.0.jar:1.35.0]

Hi @myou11, thanks for reporting this issue and we apologize for the inconvenience caused. We will release a patch release with the necessary fix within the next few hours.

v1.35.1 resolves this issue. Please ugprade to the latest patch version!

it works! Thank you @seratch!


Support for HSE oscillator?

Hi there,
I was wondering if support for the HSE oscillator in RCC for STM32F3 (F303 in my particular case) was planned. Technically, the LSE oscillator isn't fit to support USB, so an external oscillator is required for usb.
I'm hoping to create an application that uses USB so this would be a blocking item.
My current idea for a work around is to configure in STMCube and then just link in and call the clock config functions.
Let me know if this isn't the right place for a question like this.

Hello! Thanks for asking. I would personally love to support USB as best as possible, so it would be great to support the HSE oscillator. Currently there's some work being done for USB support in https://github.com/stm32-rs/stm32-usbd.
Here's an example using https://github.com/stm32-rs/stm32-usbd for STM32F303:
https://github.com/stm32-rs/stm32-usbd-examples/blob/master/example-stm32f303vc/src/main.rs

I was chatting with some people on the rust-embedded IRC, and we had the idea of making it easier to take values from the STM32CubeMX solver (all the PLLMUL, PLLSRC, PPRE1, etc.) and put that into the RCC.
Essentially an adjacent method with less handholding, but still a step up from bit twiddling on pointers, which is what is currently necessary to use USB and/or the HSE oscillator. Does that sound reasonable?

I don't know much about it, but I am open to anything :+1:

For anyone else interested, I found a nice, recent, related blog article about integrating code generated by STM32 Cube MX into Rust:
https://nercury.github.io/rust/embedded/experiments/2019/01/27/rust-embedded-02-measuring-the-clock.html

Looks like #18 will add some initial support for the HSE oscillator.


Allow to use systems llvm

This seems like an iffy change - rustc is relatively tightly coupled to its version of llvm.
I don't want to have to support more variability in the build environment than I have to, and using an arbitrary LLVM seems like a recipe for extra work.

@thepowersgang the root cause of this PR is my attempt to bring rust to macOS 10.6.
To do so I'd love to use your project as bootstrap :)
Anyway, the challenge that LLVM/clang supports TLV only for macOS 10.7+ :)
MacPorts has a custom LLVM/clang with emulation TLV which works very nice, and I'm building mrustc with MacPorts LLVM.

I found much better way => let me close this one

Yep, I defently need it for my port file :)

Yep, I defently need it for my port file :)

This PR is required and used by https://github.com/macports/macports-ports/pull/13817

You will want to remove/handle the $(LLVM_CONFIG): $(RUSTCSRC)build/Makefile line in minicargo.mk (so it doesn't apply when using the system LLVM)

After thinking a while I'd love to close this PR because it isn't good idea.


Use parser function to determine download candidate

Determine the latest version to download via a parser function... The parser function goes to http://files.nsclient.org/released/ and searches for the latest -- or supplied -- version in the target architecture.

This feels like a weird hack around ensure => latest. If we really are dynamically ensuring latest then we should make a resource that we can ensure => latest on. I also don't know enough about windows to say if this is truly upgradable.
Seems like a symver major change as well.

I agree with you on the hacky bit -- But my intent was not to ensure latest on the package... It was to download either the latest version for the initial install without having to update the module every time a new version comes out. Looking at my code, however, I do now realize that every time a new version comes out that it will be downloaded even though it won't be installed. I could probably have download_file only run if the package "NSClient ++ " does not exist pretty easily though.

HI @mmarod, thanks for the PR! Are you still interested in this and and to add logic to don't download the file on every release or should we close this PR?

Sorry it has been so long since I put this code in that I have moved on. Revisiting it however, it looks like it should be fairly straightforward to have the module only download once by passing a destination_file parameter to the download_file type on line 27 of the install class that is static (ie NSCP.msi instead of NSCP-${version}-x64.msi). I'd make the change for you but I don't have a test environment anymore and thus wouldn't feel comfortable making changes.
Good luck and glad to see this module being looked at!

... and if I misread your comment and you are going to instead not merge this code in that is fine with me as I am no longer using it


Remove EquationTextBox from KeyGraphFeaturesPanel

Description of the changes:

Replace the templatized EquationTextBox in KeyGraphFeaturesPanel with a MathTextBox

Also:

Give focus to the back button when the user opens the panel
move styles only used by Graph Calculator from App.xaml.cs to EquationInputArea/GraphingCalculator to improve startup time
NIT: make the names of events used by the EquationInputArea control uniform.
simplify KeyGraphFeaturesPanel
simplify the XAML code of the toggle button used in EquationTextBox

How changes were validated:

manually

PR updated!

We can't merge this PR without Pepe's approval. In the meantime, I will include the diff to fix the black text on black background in this PR.


nixos/lorri: add to environment.systemPackages

most likely, people enabling the lorri module also want to use it,
without explicitly having to add it to users.users..packages.
Also update the test to stop adding it to environment.systemPackages
there, as the module now takes care of it.
cc @curiousleo @Profpatsch

Motivation for this change
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @

@GrahamcOfBorg test lorri

backported to 19.09 in 78486a86fc957c33d1e6e5df51be8fd4b39a397a.


coOncoplot sort

Hello,
is it possible to specify the sort order of samples in the coOncoplot? A similar functionality to the sortByAnnotation option in the oncoplot would be very useful.
Thanks

Hi,
There is no option to do it for now. But its a nice suggestion, will implement soon and update you.
Thanks.

Hi,
I have implemented sortByAnnotation argument to coOncoplot. Could you install from GitHub and let me know if it works for you ?
Thanks.

Thanks very much - this implementation works really nicely for me.
Thank you for doing this so quickly!


Create a security policy

I think this isn't as important currently. I'll create a new issue once needed.


Ubuntu on Windows 10 doesn't recognize sh commend.

Please bear with me, cause I am new to ESP32, GitHub, Ubuntu and everything. The error I got when I tried to extract the google_key.json file is as follow...
: not found.sh: 2: extract_key.sh:
cat: ../google_key.json: No such file or directory
extract_key.sh: 3: extract_key.sh: jq: not found
Can't open key.pem for reading, No such file or directory
139761816768960:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:72:fopen('key.pem','r')
139761816768960:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:79:
unable to load Private Key
Traceback (most recent call last):
  File "extract_key.py", line 3, in <module>
    from rsa import PrivateKey
ModuleNotFoundError: No module named 'rsa'
: not found.sh: 6: extract_key.sh:
extract_key.sh: 8: extract_key.sh: Syntax error: Bad fd number```

Hi @Moe38
There seems to be several problems. I assume that you run the scripts as described here
https://github.com/artem-smotrakov/esp32-weather-google-sheets#preparing-a-service-account-in-google-iam
cd scripts
sh extract_key.sh ../google_key.json ../key.json

First, looks like you don't have google_key.json file in the root of the repository. That's why you see cat: ../google_key.json: No such file or directory error.
Then, looks like you need to install jq. That's why you see extract_key.sh: 3: extract_key.sh: jq: not found.
https://stedolan.github.io/jq/
Next, looks like you don't have the rsa Python module installed on you system. That causes ModuleNotFoundError: No module named 'rsa'.
https://pypi.org/project/rsa/
Once you install the required software and put google_key.json file to the root of your repository, they problems should go away. Good luck!

Thank you so much.


Api Key Leaks: Add Trivy to tools section

This will add Trivy to the tools section of the topic Api Key Leaks. This is currently my go-to tool to scan docker images or repositories for secrets and therefore should be mentioned. As I could not see it mentioned somewhere, I picked this topic as it seemed to fit best. But it might also fit for other topics such as scanning for vulnerable dependencies (CVE) used in a projects or weaknesses in regards of SBOM/IaC. If you see a better fit for Trivy at other topics or might want to add it redundantly multiple times I guess we could add it to this MR.
Let me know what you think. :)
(Also changed the phrasing for two other tools as their main repository uses the upper/lowecase as changed which should not require a separate MR)

Well, it might shall not be mentioned because it is my go-to tool but because it is also a really nice tool :D


cppwinrt crosscompiling from linux mingw to windows target

So i would like to crosscompile a windows application from linux
because my linux dev environment is much more confortable and i want to build a crossplatform software that have its windows implementation and linux one using the preprocessor for optimal code reuse
Though i haven't found a way to compile winrt using software from linux (the runtime platform is still windows)
I want to use the editor i want to use (vim precisely) and not be forced to use visual studio, so is there a toolchain or anything to do
Also i rather use a simple and nice makefile than it being dependant on visual studio
I know there is the python winrt but i want to use c++ for performance reasons.

Sure, you can download the latest version of the distribution package (which is just a zip file) that contains cppwinrt.exe and invoke that directly. The cppwinrt.exe tool has no dependencies of its own (and thus does not require Visual studio). You can simply use it to generate headers that you can then compile directly or via whatever build system you prefer.

@kennykerr does it runs on wine ?
i want to crosscompile from linux ^

C++/WinRT itself only supports Windows. I have no experience with Wine or Linux.
The xlang project aims to produce a cross-platform version of C++/WinRT that will run on Linux, but that is not yet ready.
The command line is pretty simple. Run cppwinrt without any arguments for a summary. For example:
cppwinrt -in <any number of winmd files> -out <location of generated headers>

Thanks :)
it runs on wine so far
I don't want to run it on linux i just want to be able to build from linux because it is more confortable for me and that'll be quite a big project, but thanks :)

Sounds good. Enjoy!

Yes i guess, where do i get those winmd file ?
(i'm not familiar with the windows dev ecosystem yet)

The winmd files describe the API surface of one WinRT component to another component or app that would like to make use of that component's functionality. Windows includes many APIs that are shipped and described using winmd files. You can find them in the Windows SDK or if you'd rather not install an SDK you can just point cppwinrt to the winmd files that ship with Windows in the c:\windows\system32\WinMetadata folder. If that's what you're after you can simply use the "local" shortcut as follows:
cppwinrt -in local

Well they aren't shipped with wine so i just copied them from windows
i'm going step by step to have a first working build haha
my current issue is that it can't find <experimental/coroutine>
Well i think i'll have a lot of things to do before being able to build from linux but that's a step ^

The latest version of Clang (libc++) and Visual C++ include that header.
https://godbolt.org/z/KXfPEU

Yup i copied the MSVC include and it worked
now it dosen't find <corecrt_terminate.h>
but i think i'm getting close haha

Well i can't find a way to compile winrt project from linux and that's really annoying, i don't want to use visual studio.

You can compile using the command prompt with either Clang or Visual C++ (CL). No need to use Visual Studio, but then you're on your own trying to get those toolchains installed. VS Code is also quite a good alternative.


Switch to Fastify + graphql-yoga

Apollo is such a pain, aside from apollo-graphql locking the graphql version locked at 14, it's just slow and cumbersome.

@zaiste I was originally thinking graphql-yoga but I'm ok with envelop, just so long as it's not Apollo.


Improve DRPC status update logic

Currently, the DRPC status is being updated regardless of whether any changes have occurred. This behavior leads to unnecessary updates and it impacts the UI performance. This issue is to ensure that the DRPC status update logic is only updated when there are actual changes.

I have observed, DRPC CR gets updated again and again even when no status change is detected. only three fields keep changing lastUpdateTime, resourceVersion, and time under managedFields, and UI watcher is keep triggered due to this behavior.


Allow isNew value to be updated from Model::preSave()

Given the following generated BaseModel::save() method:
    public function save(ConnectionInterface $con = null)
    {
        if ($this->isDeleted()) {
            throw new PropelException("You cannot save an object that has been deleted.");
        }

        if ($con === null) {
            $con = Propel::getServiceContainer()->getWriteConnection(SupportTicketTableMap::DATABASE_NAME);
        }

        return $con->transaction(function () use ($con) {
            $isInsert = $this->isNew();
            $ret = $this->preSave($con);
[...]

Is there any reason why isNew status is fetched before calling Model::preSave()?
Inverting the two last quoted lines would allow a (non atomical) way to to prepare the DB record and then set isNew to false from Model::preSave() to transform the insert operation to an update.
I am aware that such usages would be dirty as hell, but it would allow doing such logic in a minimal overloading way, and I can't see any negative effect from inverting these two lines.
Currently, such logic requires to setNew(false) from Model::preSave(), then call again Model::save() from there, and finally return false to cancel parent save() on the call stack.

Did you try inverting it and run the test suite? If everything is green, then obviously we could go that way.

Seems good, but only checked with MySQL.

Great, merged :)


tests: arch: arm: arm_thread_swap: regression since use of new ztest API

Describe the bug
Since use of new ztest API (PR #47525) there is a regression on some board for tests/arch/arm/arm_thread_swap:

test
Board
Status

tests/arch/arm/arm_thread_swap/arch.arm.swap.common
stm32f3_disco
failed

tests/arch/arm/arm_thread_swap/arch.arm.swap.common.fpu_sharing
disco_l475_iot1
failed

tests/arch/arm/arm_thread_swap/arch.arm.swap.common.fpu_sharing
stm32f3_disco
failed

tests/arch/arm/arm_thread_swap/arch.arm.swap.common.fpu_sharing.no_optimizations
disco_l475_iot1
error

tests/arch/arm/arm_thread_swap/arch.arm.swap.common.fpu_sharing.no_optimizations
stm32f3_disco
error

tests/arch/arm/arm_thread_swap/arch.arm.swap.common.no_optimizations
stm32f3_disco
error

Difference between error and failed  is that some time I got the test status after a lot of assertion failed sometime I only have assertion failed endless
To Reproduce
Steps to reproduce the behavior:

twister -N --device-testing --hardware-map ../map.yaml -c -p stm32f3_disco -T tests/arch/arm/arm_thread_swap
See error

Expected behavior
Test passed
Logs and console output
*** Booting Zephyr OS build zephyr-v3.1.0-1960-g3d2b04c9a8a7  ***
Running TESTSUITE arm_thread_swap
===================================================================
START - test_arm_syscalls
Available IRQ line: 81
USR Thread: IRQ Line: 81
PASS - test_arm_syscalls in 0.5 seconds
===================================================================
START - test_arm_thread_swap
Assertion failed at WEST_TOPDIR/zephyr/tests/arch/arm/arm_thread_swap/src/arm_syscalls.c:84: arm_isr_handler: ((_current->arch.mode & CONTROL_nPRIV_Msk) != 0 is false)
mode variable not set to nPRIV mode for user thread
Assertion failed at WEST_TOPDIR/zephyr/tests/arch/arm/arm_thread_swap/src/arm_syscalls.c:84: arm_isr_handler: ((_current->arch.mode & CONTROL_nPRIV_Msk) != 0 is false)
mode variable not set to nPRIV mode for user thread
Assertion failed at WEST_TOPDIR/zephyr/tests/arch/arm/arm_thread_swap/src/arm_syscalls.c:84: arm_isr_handler: ((_current->arch.mode & CONTROL_nPRIV_Msk) != 0 is false)
mode variable not set to nPRIV mode for user thread
Assertion failed at WEST_TOPDIR/zephyr/tests/arch/arm/arm_thread_swap/src/arm_syscalls.c:84: arm_isr_handler: ((_current->arch.mode & CONTROL_nPRIV_Msk) != 0 is false)
mode variable not set to nPRIV mode for user thread
Assertion failed at WEST_TOPDIR/zephyr/tests/arch/arm/arm_thread_swap/src/arm_syscalls.c:84: arm_isr_handler: ((_current->arch.mode & CONTROL_nPRIV_Msk) != 0 is false)
mode variable not set to nPRIV mode for user thread
Assertion failed at WEST_TOPDIR/zephyr/tests/arch/arm/arm_thread_swap/src/arm_syscalls.c:84: arm_isr_handler: ((_current->arch.mode & CONTROL_nPRIV_Msk) != 0 is false)
....

Environment (please complete the following information):

OS:  Linux
Toolchain Zephyr SDK
Commit SHA: bfd59b17a1913ee00cbe447b59cdfd514eeeb693

^^ @shaoanxli as your are the submitter of the PR causing the regression, could you help on this issue ?

@shaoanxli could you look into this? Think this is from #47525

@shaoanxli could you look into this? Think this is from #47525

Of course , I think add the "NVIC_DisableIRQ(i);" command at the end of the test_arm_syscalls test or make the arm_isr_handler interrupt execute only once can fix it. I do not have the hardware platform here, can you help test the case?
And this may not be the best way, does anyone have a better idea?