[Docs] BufNMF Translation

as it says on the tine

mode 2 for both activations and bases, or did you plan to put such example as advanced somewhere else?

I think it should go in the help file. It just wasn't a thing yet when the SC versions got done. I'll make a ticket to have it added.

tab 1: good
tab 2: bug: draws the same channel twice for both bases and activations
Got it now, thanks.

tab 3: it is sad that we lose the native fft frame extraction. is the vocoder example now in the example folder?

I think this is a matter of perspective. I found that particular sonic example underwhelming and often just quite vague with what was happening. Many combinations of activations / bases even with strong resynthesis results would sound like a bit of noise being enveloped weakly. fluid.nmffilter~ on the other hand is more obvious to me and represents a clear use-case of the objects working together. Also, not many people know or use pfft~. I think we can communicate the nature of nmf better with the objects in FluCoMa.

4: it is sad that we lose the non-incrementation explanation, no?
I find this phrasing of a remark discouraging in terms of discussion. It's a lot like when someone says "is that alright?" as a way of mitigating what they know to be wrong or an imposition. I don't find it sad, and AFAICT, the patch is exactly the same as it once was unless you are 0 counting? I don't quite follow so you'll have to help me.

missing tab (for @tedmoore too): in light of my comment of @mode 2, we could have a tab for @mode 2 for both activations and bases, or did you plan to put such example as advanced somewhere else?

We have fixed bases example in the "fixed bases" tab, so I think another tab would have to be didactic in order to clarify. Maybe "updating bases" can be expanded back to its original form where it had a @basesmode 2 thing going on. To me, the clear use case of of @basesmode 2 is made in the "fixed bases" tab, though it does ignore activations. Do we/ did we have a convincing musical example of seeded activations? That failing, a good didactic one that doesn't just make pshhhhhhh. I imagine something to try would be using noveltyfeature to make activations.

3: It had a strong didactic angle: we need to show people how to bridge between native fft and our fft mags and that was a good way. maybe that deserves its own vignette if you think it is abstract. maybe a generic one including bufstft+bufflatten since it is the same idea/concept.
4: what was there before is the non-updating part of the same patch @basesmode 2 - so one could see activations updating but bases staying as they are.
newtab: it is very advanced use hence tagging @tedmoore too. I think we should maybe do a vignette/learn with the missing bit of 4 above, and that double mode 2. that way we have an extension to our learn articles on the very rich nmf family and we are not blocked to release. in effect the help is already quite demo enough to get people help - and inspire - without these 2.

3: It had a strong didactic angle: we need to show people how to bridge between native fft and our fft mags and that was a good way. maybe that deserves its own vignette if you think it is abstract. maybe a generic one including bufstft+bufflatten since it is the same idea/concept.

Indeed, I think a vignette that shows it would be useful but it is abstract. I also think it could use some finessing because it didn't sound very convincing to me.

4: what was there before is the non-updating part of the same patch @basesmode 2 - so one could see activations updating but bases staying as they are.

Ah I understand now. This seems like it should be somewhere isolated to clearly express it as it's a heady concept.

newtab: it is very advanced use hence tagging @tedmoore too. I think we should maybe do a vignette/learn with the missing bit of 4 above, and that double mode 2. that way we have an extension to our learn articles on the very rich nmf family and we are not blocked to release. in effect the help is already quite demo enough to get people help - and inspire - without these 2.

For sure

3: it sounded convincing enough to me to be in my last tune :) I'll make a ticket (on learn) with the idea

I think its simpler and more appropriate to stick a patch here

ok - you can steal back the vocoder code and maybe riff a bit more on the narrative of fftsize+1

I think you misread me, I am asking if you can show it doing something cool

it was already cool for me. so if you don't have any inspiration, just put that tab back.

it was already cool for me. so if you don't have any inspiration, just put that tab back.

I don't think that is a good reason. My opinion is that while the example is didactic it doesn't work that well sonically and even then, the didactic benefits are lost in the complexity of the patching and idiosyncratic-ness of the example. fluid.nmffilter~ makes a clearer case for what the object is doing and more abstract theoretical concepts behind freq domain processing could be left to a vignette. Being cool isn't enough, it has to be effective and clear in order to not confuse users. Hence why every cool thing I've done in FluCoMa (in my opinion) for my own works is not in a help file.

I don't think that is a good reason.

it worked sonically, that exact sound is used in my tune! it worked didactically: it allowed cross synth (which has now dissapeared from the patch). So bring the concept back the way you want, but if you ask me, the old way was both sonically and didactically convincing. we just need the concept back now. we can improve examples later.

I don't think that is a good reason.

it worked sonically, that exact sound is used in my tune! it worked didactically: it allowed cross synth (which has now dissapeared from the patch). So bring the concept back the way you want, but if you ask me, the old way was both sonically and didactically convincing. we just need the concept back now. we can improve examples later.

This is exactly what I am asking for. Can we make a better example, perhaps using the bases/activations from your tune? Nicol/TwoVoice cross synthesis does not sound good on its own.

also, the vocoder metaphor is a useful one to teach what bases+activation do.


Publication PV and validation enhancements

Closes #361

Adds RPPA and Electron Microscopy as data types
Moves Supporting link validation rule from url which defaults to an error to url warning which will only warn. This facilitates adding lists of urls as list :: url is not currently implemented in schematic

GH actions currently failing due to #377
DO NOT MERGE until tests pass and JSON-LD made

Pulled in the fixes to the workflow to this PR, looks the checks now pass so once the action commits the JSON-LD back to this PR will be ok to merge on your approval @aditigopalan


fix/trendline-feature-logic

Description
Fix trendline feature / data fetching logic.
Warning:
Redux Async thunk result isn't typed atm
On what platform have you tested the change?

[ ] Android - Emulator
[ ] Android - Physical device
[x] iOS - Emulator
[ ] iOS - Physical device

Screenshots
Please attach screenshots showing the change if relevant
Checklist

[ ] I have updated mockServer
[ ] I've added analytics as relevent
[x] I have run npm test
[ ] I have run npm run test:i18n

Out of scope and potential follow-up
Is there any related changes that you plan to do in a follow-up PR or voluntarily excluded from the scope?

Ive tested and all seems to be good for valid and invalid postcodes.


Feature/add motorsport magazin

Hi!
I added the MotorSport Magazin LINK to fundus 🚀
Note: Black reformatted several files, that I didn't intent to touch. Let me know, if thats OK for you

Hi! @addie9800
I added the correct summary and subheadline selectors. Also the class now has a topics() method.

Hi! @addie9800
I added the correct summary and subheadline selectors. Also the class now has a topics() method.

Thanks a lot ;) this looks really good. Black seems really weird, when I run black locally it reformats the file back. But I'll just approve the workflow and we'll see if the test go through.

Sounds good!

@lsch0lz Could you tell me what version of black is installed in your environment?
@addie9800 The tests won't trigger. The last commit on this branch 29c4a5c3f1e1bfc67704bb93ff41c8f6044f38d5 was auto-committed and due to GitHubs limitations, those won't trigger workflow runs.

@MaxDall I have the newest black version (24.4.2) installed. Just checked and black . doesn't reformat any of the code locally

@lsch0lz Thanks :) We pinned the Black version for the repository and are currently at 23.1.0. I'm gonna reformat with 23.1.0 and push on your branch. Then this should be good to go 👍


Use of unicode characters in RegExp

Hi Boekkooi,
When I use a pattern like : /^[a-zA-Z0-9\\u00C0-]+$/ in Symfony constraint, it ends up in javascript in [a-zA-Z\\\\u00C0-] which is obviously not working.
Do you know any way to use unicode characters in RegExp constraints ?
Thanks

This seems very similar to #22

You're right.
Looks like the same problem.
I will try the given solution using unicode chars.
I just don't want to use hardcoded chars like in the code sample because of problems which can occur with different file encoding.

Using the solution provided in #22, the validation is working.
I've used hardcoded chars for the moment. If it's a problem in the future, I'll reopen the issue.
Thanks again !

P.S. you should be able to use /^[a-zA-Z0-9\u00C0\-]+$/ for the html pattern


Unable to login to our organization's account

I working as a volunteer for an NGO in Cambodia, and it looks like they use Bootstrap as their CMS. The only way I am able to make changes to the website is through the backend of their website, since they cannot remember the login information for Bootstrap. I tried looking for general support on the bootstrap website, but it led me here. Can someone please direct me to where I can work with someone to recover the account login email address for our Bootstrap account?

I believe you have the wrong product. Bootstrap is a HTML, CSS and JS framework for building response, mobile-first websites. Bootstrap is not a CMS, however the CMS that your organisation uses may use Bootstrap to style their application/website.

It seems you asked in the wrong project, Bootstrap is a framework to help developers not a CMS


certifi-2022.9.24 package vulnerability(CVE high) linked to ibm-cos-sdk 2.12.0

Hi team,
We are using ibm-cos-sdk python latest version in our app . A CVE has been reported on certifi-2022.9.24 which is used by ibm-cos-sdk 2.12.0  .
CVE URL: https://www.mend.io/vulnerability-database/CVE-2022-23491
Request you to kindly fix it at your end , so that we can pull a non-vulnerable version of ibm-cos-sdk python.

@ShilpaJalaja -
1-  ibm-cos-sdk's latest version is 2.12.2
2- certifi is a transitive dependency and goes as - ibm-cos-sdk -> ibm-cos-sdk-core -> requests -> certifi. And there is no direct dependency of certifi in ibm-cos-sdk, and always takes the latest package of requests -> certifi  in this case - requests-2.28.2 and certifi-2022.12.7.
I did install it, and this is the output.
alokmgr@Aloks-MacBook-Pro all-repo % pip show certifi
WARNING: Package(s) not found: certifi
alokmgr@Aloks-MacBook-Pro all-repo % pip show requests
WARNING: Package(s) not found: requests
alokmgr@Aloks-MacBook-Pro all-repo % pip show ibm-cos-sdk
WARNING: Package(s) not found: ibm-cos-sdk
alokmgr@Aloks-MacBook-Pro all-repo % pip show ibm-cos-sdk-core
WARNING: Package(s) not found: ibm-cos-sdk-core
alokmgr@Aloks-MacBook-Pro all-repo % pip show ibm-cos-sdk-s3transfer
WARNING: Package(s) not found: ibm-cos-sdk-s3transfer

alokmgr@Aloks-MacBook-Pro all-repo % pip install ibm-cos-sdk
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Collecting ibm-cos-sdk
  Using cached ibm_cos_sdk-2.12.2-py3-none-any.whl
Requirement already satisfied: jmespath<1.0.1,>=0.10.0 in /usr/local/lib/python3.9/site-packages (from ibm-cos-sdk) (0.10.0)
Collecting ibm-cos-sdk-s3transfer==2.12.2
  Using cached ibm_cos_sdk_s3transfer-2.12.2-py3-none-any.whl
Collecting ibm-cos-sdk-core==2.12.2
  Using cached ibm_cos_sdk_core-2.12.2-py3-none-any.whl
Requirement already satisfied: python-dateutil<3.0.0,>=2.8.2 in /usr/local/lib/python3.9/site-packages (from ibm-cos-sdk-core==2.12.2->ibm-cos-sdk) (2.8.2)
Collecting requests<3.0,>=2.28.1
  Using cached requests-2.28.2-py3-none-any.whl (62 kB)
Requirement already satisfied: urllib3<1.27,>=1.26.13 in /usr/local/lib/python3.9/site-packages (from ibm-cos-sdk-core==2.12.2->ibm-cos-sdk) (1.26.14)
Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.9/site-packages (from python-dateutil<3.0.0,>=2.8.2->ibm-cos-sdk-core==2.12.2->ibm-cos-sdk) (1.16.0)
Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.9/site-packages (from requests<3.0,>=2.28.1->ibm-cos-sdk-core==2.12.2->ibm-cos-sdk) (2.0.12)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.9/site-packages (from requests<3.0,>=2.28.1->ibm-cos-sdk-core==2.12.2->ibm-cos-sdk) (2.6)
Collecting certifi>=2017.4.17
  Using cached certifi-2022.12.7-py3-none-any.whl (155 kB)
Installing collected packages: certifi, requests, ibm-cos-sdk-core, ibm-cos-sdk-s3transfer, ibm-cos-sdk
Successfully installed certifi-2022.12.7 ibm-cos-sdk-2.12.2 ibm-cos-sdk-core-2.12.2 ibm-cos-sdk-s3transfer-2.12.2 requests-2.28.2

after installing Successfully installed certifi-2022.12.7 ibm-cos-sdk-2.12.2 ibm-cos-sdk-core-2.12.2 ibm-cos-sdk-s3transfer-2.12.2 requests-2.28.2
alokmgr@Aloks-MacBook-Pro all-repo % pip show certifi
Name: certifi
Version: 2022.12.7
Summary: Python package for providing Mozilla's CA Bundle.
Home-page: https://github.com/certifi/python-certifi
Author: Kenneth Reitz
Author-email<EMAIL_ADDRESS>License: MPL-2.0
Location: /usr/local/lib/python3.9/site-packages
Requires:
Required-by: requests, sentry-sdk

Looks like certifi package is getting overridden with different dependencies in your application.

ibm-cos-sdk 2.12.2 looks good. Thank you.


Consider using @typescript-eslint/class-methods-use-this

There is a new @typescript-eslint/class-methods-use-this rule which makes it possible to disable the rule in the case of overrides and interface.
For example, using this (with the updated options) prevents the pesky situation where an abstract class defines some abstract methods which do NOT necessarily use this, but which need to be class methods due to the abstract class definition.

Submitted PR #358 to swap the rule over. But the configuration options mentioned are still off by default.
typescript-eslint is doing their best to avoid type information being required where it's not required, but in this case saying that any class implementing an interface no longer needs any method to use this is just a wide net. I'm more amenable to ignoring methods with override, but I'll leave that up to the project maintainer @iamturns.


Instructions for downloading, installing and using the pre-converted TensorRT versions of SD3 Medium with ComfyUI and ComfyUI_TensorRT

I've found the pre-converted TensorRT versions of SD3 Medium at https://huggingface.co/stabilityai/stable-diffusion-3-medium-tensorrt
But I don't understand how to download, install and use them with ComfyUI_TensorRT, as they are not (yet) mentioned in the readme for ComfyUI_TensorRT
Ideally I would just be able to install the models from within ComfyUI > Install Models but I can't find these TensorRT versions there

Right now the nodes in this repo do the full conversion themselves and are not meant to be used with pre converted models.

Right now the nodes in this repo do the full conversion themselves and are not meant to be used with pre converted models.

hello, thanks for your work to let us using SD3.
about trt here, could you please let me know if I should still using ModelSamplingSD3(3.00) after a trtLoader?

Right now the nodes in this repo do the full conversion themselves and are not meant to be used with pre converted models.

hi, thanks for your work to let us using SD3.
about trt here, could you please let me know if I should still using ModelSamplingSD3 after a trtloader?


Issue 39 Add login/signup modal functionality Integrated

This PR adds the UI components for the login and signup modals to improve user interaction for authentication purposes.
Changes Made
Designed and implemented a responsive login modal for user login.
Created a signup modal with appropriate fields for user registration.
Enhanced UI/UX with CSS styling for a visually appealing and consistent design.
Before: The application lacked a dedicated interface for login and signup.

After: Users now have access to intuitive modals for logging in and signing up, enhancing the overall user experience.
Navbar:

Login:

Signup:

Hi Team,
I’ve completed the implementation of the login and signup modals. Everything works smoothly in the deployed preview as well as locally. Since I don’t have write access, could someone with access please review and merge this PR when you have a moment?
Thank you for your help!
Best,
Atharva

Conflicting files
assets/css/style.css
index.html

Please see the conflicts highlighted in the image above. Resolve the conflicts in the mentioned files. Ensure you pull all the latest changes before pushing your feature/bug fixes to the main branch. After resolving the conflicts, please open a new PR for review.
Thank you!


Feature Request: The ability to play any music track even it's not unlocked

Is your feature request related to a problem? Please describe.
Not really a problem.
Describe the solution you'd like
The feature to override the ID of the tracks that the music player is currently playing. So that the track you've requested will be played.
Describe alternatives you've considered
Maybe green text every track and let that track play even it's locked. Make sure that this is client-side so you can't unlock the Music Cape due to this. (Don't think that's going to happen but you never know).
Additional context
With the Theatre of Blood updates, it will contain some new instruments (So far the opera voice choirs is confirmed by myself) that my client to play new OSRS tracks doesn't have unless i can get the latest client to work for myself although i'm not a coder. This function would also be nice for the players that just want to play the tracks they can't unlock due to high requirements.

The soundtrack ID for a song isn't known before it's unlocked and played, unless you listen to all of them in the cache to "bruteforce" which ID a track has. This means we wouldn't be able to let you play brand new tracks, because we wouldn't have found the ID yet.
In due time these new tracks will probably appear on YouTube or the OSRS wiki, so I'd just wait for that. OR you can dump the tracks using https://github.com/runelite/runelite/blob/master/cache/src/test/java/net/runelite/cache/TrackDumperTest.java and then try to find the ones you're looking for.

The MIDI files aren't a problem for me since i can download the full cache for myself. What's the problem for me is that the music player contains new instruments that i can't access.
Also for IDs. There's an user that lists every track ID and updates it quite occasionally.
https://oldschoolrunescape.wikia.com/wiki/User:RS_Orchestra (Scroll down for the list)
Also, Jagex fills the nearly empty slots for the new music tracks. For example ID 585 near 584 - The Dark Beast Sotetseg is empty right now. When an update arrives for a new track, ID 585 will be used for the new track.
Honestly, i wouldn't mind if you need to input the track ID you want to play and redirect the url above for the tracklist and a note that you need the fully downloaded cache. Of course it's not the most friendly solution. But for me it's good enough.

The theater of blood OST is now available on music streaming platforms, if that helps at all :P
I feel like in terms of general usage the fact that this will let you access content you haven't unlocked is maybe questionable.

Honestly I'm not really needing this feature anymore since I've pretty much have the ability to listen to every Old School RuneScape track through other means. Not to mention Jagex is releasing more OSTs to music streaming platforms makes this issue redundant for me.


supportsTasks contribution property not working

Hello,
I'm improving an extension that currently only provides additional build tasks to include web contributions to display results of my tasks in the build summary and add a couple of contributions that will display specific tabs depending on the task that was defined in the build task.
I'm following the build-results-enhancer sample, and it's been very helpful so far. I already have everything implemented and working. The only thing is that I always get all the contributions displayed. I'm setting the supportsTasks property in the contribution that I want to display only if the correspondent task in in the build definition, but it is not working.
I have tried defining the task dependent contribution like in the example:
       {             "id": "build-kiuwan-audit-results-tab",             "type": "ms.vss-build-web.build-results-tab",             "description": "A tab contributing to build results view and depends on Kiuwan delivery analysis task",             "targets": [                 "ms.vss-build-web.build-results-view"             ],             "properties": {                 "name": "Kiuwan Audit",                  "uri": "kiuwanAuditTab.html",                  "supportsTasks": ["4e6e25e3-c0b5-4986-8714-5c751945c15f"]             }         },
and tried using "id" within the supportsTasks property because it is hinted in the sample readme.md. Like this:
       {             "id": "build-kiuwan-audit-results-tab",             "type": "ms.vss-build-web.build-results-tab",             "description": "A tab contributing to build results view and depends on Kiuwan delivery analysis task",             "targets": [                 "ms.vss-build-web.build-results-view"             ],             "properties": {                 "name": "Kiuwan Audit",                  "uri": "kiuwanAuditTab.html",                  "supportsTasks": {                      "id": ["4e6e25e3-c0b5-4986-8714-5c751945c15f"]                  }             }         },
None of this work. I always get the "Kiuwan Audit" contribution displayed independently if I use the task with defined task id or not.
Any help is appreciated. Best,
J.

Funny. As soon as I add this property, with the 2 syntax you tried, my tab does not appear anymore, even for jobs which use the referred task :-(

Hello,
So I tried to fix this issue and unfortunately, after trying every combination possible (new guid, lower/upper case, simple word) I came to the conclusion that "supportsTasks" property of a specific contribution doesn't work as intended.
By the way, in this vsts extension sample, the usage isn't consistent, see Task Id and supportsTasks Id.

mine is working fine for vnext builds but it shows up in all xaml builds the custom tab . why is no any enough documentation ,support or update for this topic from Microsoft for long time?


Allow to customize region name for a custom region with a user define…

…d endpoint.
How was this PR tested?
Test added to check the region name set by an env variable.

Would love to see this get merged. :)

@laurids-reichardt merged :)

Awesome! Thanks! :)


Update team search

expose facets by default in left rail

if location data exists for city state for each advo, expose that facet too

future: consider how we would give each advocate their own page based on entry in team database. would likely require changes to javascript? (if this doesn't make sense talk to Brad.)

for 1 - changes available here: https://github.com/ibm-cds-labs/ibm-cds-labs.github.io/commit/6c88476e604603fe7057725e5a9f1a8d0e78b388

for 2

only a handful of have Location information
locations are either United States - East, United States - West, or UK
Location is not set as a faceted field

thus to resolve (2), we will need to

have more advocates update/include his or her location
facet the location field (i.e., update the underlining Simple Search Service or update the index manually in the Cloudant service)

for (3), if i understand correctly, there are a couple possible approaches. will each page just show the same data collected in the team database or will additional/specific data (not stored in the db) about each advocate be shown?


MFMT Implementation

Added the MFMT command in accordance with the draft (https://tools.ietf.org/html/draft-somers-ftp-mfxx-04).
Made the following changes:

exposed the utime method in the filesystem class
Added the 'T' permission for MFMT

@giampaolo Thank you once again for your kind input. I have made the suggested changes, please let me know what you think :)

Thank you so much @giampaolo, that is definitely a better way to do things. The MFMT testcases are now using assertIn instead and I am using os.path.getmtime to fetch the actual file's last modified time. I am extremely grateful for you to take out the time go through my PR - this is a great learning experience for me. Please let me know if there is anything at all you would like me to change or do differently.

Overall great work! Thanks. I appreciate what you did as it's a useful enhancement. I hope you can contribute other PRs in the future. ;-)


Feat/minor bugs

Steps:

Clone backend-apiPR18 and dashboardPR153
Manually build docker image with docker build -t hummingbot/backend-api:latest -f Dockerfile . and docker build -t hummingbot/dashboard:latest -f Dockerfile .
clone https://github.com/hummingbot/deploy
for setup.sh removed line "docker compose pull"
bash setup.sh
go to http://localhost:8501/Portfolio

Actual:
Review the issue reported before still ongoing

Tried on another chrome account, same thing

Steps:

go to portfolio
Create account with only whitespace

Actual:
Created successfully

There's AttributeError: 'NoneType' object has no attribute 'get', unable to reach config generator pages
Steps:

Clone backend-apiPR18 and dashboardPR153
Manually build docker image with docker build -t hummingbot/backend-api:latest -f Dockerfile . and docker build -t hummingbot/dashboard:latest -f Dockerfile .
clone https://github.com/hummingbot/deploy
for setup.sh removed line "docker compose pull"
bash setup.sh
go to different config generator tabs

Actual:
There's AttributeError: 'NoneType' object has no attribute 'get', unable to reach config generator pages

2024-06-25 19:18:14.563 Uncaught app exception
Traceback (most recent call last):
  File "/opt/conda/envs/dashboard/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
    exec(code, module.__dict__)
  File "/home/dashboard/frontend/pages/config/bollinger_v1/app.py", line 27, in <module>
    get_default_config_loader("bollinger_v1")
  File "/home/dashboard/frontend/components/config_loader.py", line 14, in get_default_config_loader
    config_controller_name = default_config.get("controller_name", controller_name)
AttributeError: 'NoneType' object has no attribute 'get'

Do fresh install on both this PR153 and PR18

Purge all previous installations and env
Clone both PR successfully and setup using source with hummingbot-broker
Successfully added account and add connectors ok
Successfully add connectors to master_account ok
Check portfolio again and loaded the balances however returning error
# dashboard logs
2024-06-28 11:02:56.753 Uncaught app exception
Traceback (most recent call last):
  File "/Users/rapcomia/miniconda3/envs/dashboard/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
    exec(code, module.__dict__)
  File "/Users/rapcomia/github/dashboard/153/frontend/pages/orchestration/portfolio/app.py", line 139, in <module>
    account_history_df['timestamp'] = pd.to_datetime(account_history_df['timestamp'])
  File "/Users/rapcomia/miniconda3/envs/dashboard/lib/python3.10/site-packages/pandas/core/frame.py", line 4102, in __getitem__
    indexer = self.columns.get_loc(key)
  File "/Users/rapcomia/miniconda3/envs/dashboard/lib/python3.10/site-packages/pandas/core/indexes/range.py", line 417, in get_loc
    raise KeyError(key)
KeyError: 'timestamp'
2024-06-28 11:03:03.699 Uncaught app exception
Traceback (most recent call last):
  File "/Users/rapcomia/miniconda3/envs/dashboard/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
    exec(code, module.__dict__)
  File "/Users/rapcomia/github/dashboard/153/frontend/pages/orchestration/portfolio/app.py", line 139, in <module>
    account_history_df['timestamp'] = pd.to_datetime(account_history_df['timestamp'])
  File "/Users/rapcomia/miniconda3/envs/dashboard/lib/python3.10/site-packages/pandas/core/frame.py", line 4102, in __getitem__
    indexer = self.columns.get_loc(key)
  File "/Users/rapcomia/miniconda3/envs/dashboard/lib/python3.10/site-packages/pandas/core/indexes/range.py", line 417, in get_loc
    raise KeyError(key)
KeyError: 'timestamp'

Removed added accounts and connectors
Add connector back to master_account only, still same result

Steps to reproduce:

Clone this PR and setup w/ backendPR18 + hummingbot-broker on source
Add connectors and go to portfolio
Page loads the connectors and balances but getting KeyError: 'timestamp' after

Check portfolio again and loaded the balances however returning error

This is now fixed on latest commit


How to import bulk of users into KeyCloak 3.4 using REST API?

I can add users one at a time using rest api but I can't get through how to create users in bulk mode using POST request using rest?
Can it be done by appending the JSON string with multiple users or via access to database?

This library is no longer being maintained, please use https://github.com/keycloak/keycloak-nodejs-admin-client instead


feat: How do I add a polygon network?

I read the documentation, I didn't see how to add a polygon network. Tell me, is it possible to add a polygon network now?

Here's a step-by-step guide:

Log in to your Farcaster account and navigate to the "Networks" tab.
Click the "Add Network" button.
Select "Polygon" from the list of available networks.
Enter the following details:

Network Name: Polygon Mainnet (or any other name you prefer)
RPC URL: (or any other Polygon RPC URL)
Chain ID: 137 (Polygon's chain ID)
Currency Symbol: MATIC (Polygon's native currency)

Click "Add Network" to save your changes.

Once you've added the Polygon network, you can use it to deploy and manage your smart contracts, as well as interact with decentralized applications (dApps) built on the Polygon blockchain.

No, how to add an RPC for a node

No, Farcaster hubs do not support Polygon at this time.

Thank you, then we are waiting


(JS-0123) Local variable name shadows variable in outer scope

Description
Two variables can have the same name if they're declared in different scopes. In the example below, the parameter x is said to "shadow" the variable x declared above it. The outer x can no longer be accessed inside the sum function.
Occurrences
There are 2 occurrences of this issue in the repository.
See all occurrences on DeepSource → app.deepsource.com/gh/DamianSwanAAJHS2/SillyLittleFiles/issue/JS-0123/occurrences/
Introduction
Bug was introduced in PR #35

Reopned to attempt operation on

https://github.com/DamianSwanAAJHS2/SillyLittleFiles/blob/90d1e7796f378a2dd19427edb2b525011d8d4bea/docs/star.js#L108-L108
https://github.com/DamianSwanAAJHS2/SillyLittleFiles/blob/90d1e7796f378a2dd19427edb2b525011d8d4bea/docs/star.js#L41-L41


Update status page links.

Work in progress.

@adam-hert could you review these changes when you have some time? (TT-18 in JIRA) thanks!


[SSoC'23] Quickselect Algorithm

Like Quicksort, the quickselect has good average performance but is sensitive to the chosen pivot. With good pivots, meaning ones that consistently decrease the search set by a given fraction, the search set decreases exponentially. By induction (or summing the geometric series), one sees that performance is linear, as each step is linear. The overall time is constant (depending on how quickly the search set reduces). However, if bad pivots are consistently chosen, such as decreasing by only a single element each time, then worst-case performance is quadratic: O(n2). For example, this occurs in searching for the maximum element of a set, using the first element as the pivot, and having sorted data.
Input: [7, 4, 6, 3, 9, 1]
k = 2
Output: k’th smallest array element is 3
Input: [7, 4, 6, 3, 9, 1]
k = 1
Output: k’th smallest array element is 1

refer #979


MySQL setup script not working?

I am trying to follow the instructions here to setup a demo of AppSensor and I got to the stage where it tells me to run this script
MySQL does not appear to like the table name groups but when I replaced the table name groups with `groups` throughout the script then it works.
However, I presume that if there are queries or something later on that also try and use groups without the backticks, that will also cause problems.
Any ideas?

So it failed out later on with a horrible cascade of exceptions at the "Start AppSensorUI" stage although it is possible/likely that is completely unrelated. I will have a read through the guide and see if that helps with anything.

@tghosth I suspect this is b/c groups was recently moved to a reserved keyword in mysql. I updated the script (see https://github.com/jtmelton/appsensor/commit/6061056bc56a0f8c8a0618ab3de08ddb14a1ae99) - can you give that a shot?

Thanks for the quick response :) will try take a look in the next few days. Is that reserved words issue likely to manifest itself anywhere else?

It's possible. I've tried to cover the other places I saw possible issues, but please let me know if you find more.

Thanks for merging the follow-up PR (#85). I have another issue but I think I will open that separately because I don't think it is related.


BossModules pool type & Strict Difficulty Distributions

This is the start of the suggested improvements to TP bomb generation, as discussed in the TP server.
New distributions are added, which force a spread of difficulty across a bomb, as well as an optional forced boss.
Additional possible features (for the future, cough @eXish cough):

Bomb spread including a set % of older modules, as a pool within these distributions.
Setting a specific # of bosses (or "Complex Modules / CM's" as I have called them), instead of the pool name including the # of bosses.

Also, as a note, I removed the references to the NoBossModules profile, since I don't know if it is still updated or used. Creating a new pool type makes the distributions not reliant on this profile.


Stop button no more working

Hey,
since one of the last updates the stop button isn’t working. He is not activated if the shutter is going up or down. The button stays greyed out. I am running with inversion mode.
best
Dirk

just tested and the behaviour is the same with default inversion mode.

There is an extra config attribute since v0.2.1 for it.

@berrywhite96 mentioning you as I am not sure if you get notifications on closed issues

Ah sorry, was not seeing that one. Will read and provide my details.


Add implementation of - Fig 16.9  Information-Gathering-Agent

Fig 16.9  Information-Gathering-Agent

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 23 Oct 2009 at 3:00

This was resolved in #427.


BUG: scipy.optimize.root_scalar pass in an array instead of float

Describe your issue.

as suggested in the pic, scipy.optimize.root_scalar pass in an array instead of float randomly, which is confusing since it is a "scalar" optimization algorithm
Reproducing Code Example
from scipy import optimize

def f_p_pp(x):
    print(x)
    print(type(x))
    return x**3 - 1

sol=optimize.root_scalar(f_p_pp,x0=10)

Error message
None

SciPy/NumPy/Python version and system information
1.11.4 1.26.0 sys.version_info(major=3, minor=9, micro=6, releaselevel='final', serial=0)
Build Dependencies:
  blas:
    detection method: pkgconfig
    found: true
    include directory: /opt/arm64-builds/include
    lib directory: /opt/arm64-builds/lib
    name: openblas
    openblas configuration: USE_64BITINT= DYNAMIC_ARCH=1 DYNAMIC_OLDER= NO_CBLAS=
      NO_LAPACK= NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP= SANDYBRIDGE MAX_THREADS=3
    pc file directory: /opt/arm64-builds/lib/pkgconfig
    version: 0.3.21.dev
  lapack:
    detection method: pkgconfig
    found: true
    include directory: /opt/arm64-builds/include
    lib directory: /opt/arm64-builds/lib
    name: openblas
    openblas configuration: USE_64BITINT= DYNAMIC_ARCH=1 DYNAMIC_OLDER= NO_CBLAS=
      NO_LAPACK= NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP= SANDYBRIDGE MAX_THREADS=3
    pc file directory: /opt/arm64-builds/lib/pkgconfig
    version: 0.3.21.dev
  pybind11:
    detection method: config-tool
    include directory: unknown
    name: pybind11
    version: 2.11.0
Compilers:
  c:
    commands: cc
    linker: ld64
    name: clang
    version: 14.0.0
  c++:
    commands: c++
    linker: ld64
    name: clang
    version: 14.0.0
  cython:
    commands: cython
    linker: cython
    name: cython
    version: 0.29.36
  fortran:
    commands: gfortran
    linker: ld64
    name: gcc
    version: 12.1.0
  pythran:
    include directory: ../../pip-build-env-r1s2ogcy/overlay/lib/python3.9/site-packages/pythran
    version: 0.14.0
Machine Information:
  build:
    cpu: aarch64
    endian: little
    family: aarch64
    system: darwin
  cross-compiled: true
  host:
    cpu: aarch64
    endian: little
    family: aarch64
    system: darwin
Python Information:
  path: /private/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cibw-run-gft7gyfb/cp39-macosx_arm64/build/venv/bin/python
  version: '3.9'

I can confirm this behavior also happens in 1.14.0.
A brief explanation of what's going on: it appears that when root_scalar() calls newton(), then newton is evaluating f(x), it gives the function a scalar. However, when it is finding the derivative of f(x), then approx_derivative(x) will pass x as an array.
A brief code example which shows this:
from scipy import optimize
import traceback
import sys

def f_p_pp(x):
    print(x)
    print(type(x))
    print(''.join(traceback.format_stack(limit=4)))
    return x**3 - 1

sol=optimize.root_scalar(f_p_pp,x0=10)

Output

10
<class 'numpy.int64'>
  File "/tmp/ipykernel_12325/298641582.py", line 13, in <cell line: 13>
    sol=optimize.root_scalar(f_p_pp,x0=10)
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_root_scalar.py", line 315, in root_scalar
    r, sol = methodc(f, x0, args=args, fprime=fprime, fprime2=None,
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_zeros_py.py", line 300, in newton
    fval = func(p0, *args)
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

[10]
<class 'numpy.ndarray'>
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_root_scalar.py", line 311, in fprime
    return approx_derivative(f, x, method='2-point')[0]
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 463, in approx_derivative
    f0 = fun_wrapped(x0)
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 456, in fun_wrapped
    f = np.atleast_1d(fun(x, *args, **kwargs))
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

[10.00000015]
<class 'numpy.ndarray'>
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 505, in approx_derivative
    return _dense_difference(fun_wrapped, x0, f0, h,
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 576, in _dense_difference
    df = fun(x) - f0
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 456, in fun_wrapped
    f = np.atleast_1d(fun(x, *args, **kwargs))
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

6.670000050811767
<class 'numpy.float64'>
  File "/tmp/ipykernel_12325/298641582.py", line 13, in <cell line: 13>
    sol=optimize.root_scalar(f_p_pp,x0=10)
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_root_scalar.py", line 315, in root_scalar
    r, sol = methodc(f, x0, args=args, fprime=fprime, fprime2=None,
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_zeros_py.py", line 300, in newton
    fval = func(p0, *args)
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

[6.67000005]
<class 'numpy.ndarray'>
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_root_scalar.py", line 311, in fprime
    return approx_derivative(f, x, method='2-point')[0]
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 463, in approx_derivative
    f0 = fun_wrapped(x0)
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 456, in fun_wrapped
    f = np.atleast_1d(fun(x, *args, **kwargs))
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

[6.67000015]
<class 'numpy.ndarray'>
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 505, in approx_derivative
    return _dense_difference(fun_wrapped, x0, f0, h,
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 576, in _dense_difference
    df = fun(x) - f0
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 456, in fun_wrapped
    f = np.atleast_1d(fun(x, *args, **kwargs))
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

4.454159241760294
<class 'numpy.float64'>
  File "/tmp/ipykernel_12325/298641582.py", line 13, in <cell line: 13>
    sol=optimize.root_scalar(f_p_pp,x0=10)
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_root_scalar.py", line 315, in root_scalar
    r, sol = methodc(f, x0, args=args, fprime=fprime, fprime2=None,
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_zeros_py.py", line 300, in newton
    fval = func(p0, *args)
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

[4.45415924]
<class 'numpy.ndarray'>
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_root_scalar.py", line 311, in fprime
    return approx_derivative(f, x, method='2-point')[0]
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 463, in approx_derivative
    f0 = fun_wrapped(x0)
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 456, in fun_wrapped
    f = np.atleast_1d(fun(x, *args, **kwargs))
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

[4.45415931]
<class 'numpy.ndarray'>
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 505, in approx_derivative
    return _dense_difference(fun_wrapped, x0, f0, h,
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 576, in _dense_difference
    df = fun(x) - f0
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 456, in fun_wrapped
    f = np.atleast_1d(fun(x, *args, **kwargs))
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

2.986240987351696
<class 'numpy.float64'>
  File "/tmp/ipykernel_12325/298641582.py", line 13, in <cell line: 13>
    sol=optimize.root_scalar(f_p_pp,x0=10)
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_root_scalar.py", line 315, in root_scalar
    r, sol = methodc(f, x0, args=args, fprime=fprime, fprime2=None,
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_zeros_py.py", line 300, in newton
    fval = func(p0, *args)
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

[2.98624099]
<class 'numpy.ndarray'>
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_root_scalar.py", line 311, in fprime
    return approx_derivative(f, x, method='2-point')[0]
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 463, in approx_derivative
    f0 = fun_wrapped(x0)
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 456, in fun_wrapped
    f = np.atleast_1d(fun(x, *args, **kwargs))
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

[2.98624103]
<class 'numpy.ndarray'>
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 505, in approx_derivative
    return _dense_difference(fun_wrapped, x0, f0, h,
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 576, in _dense_difference
    df = fun(x) - f0
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 456, in fun_wrapped
    f = np.atleast_1d(fun(x, *args, **kwargs))
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

2.0282064581930923
<class 'numpy.float64'>
  File "/tmp/ipykernel_12325/298641582.py", line 13, in <cell line: 13>
    sol=optimize.root_scalar(f_p_pp,x0=10)
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_root_scalar.py", line 315, in root_scalar
    r, sol = methodc(f, x0, args=args, fprime=fprime, fprime2=None,
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_zeros_py.py", line 300, in newton
    fval = func(p0, *args)
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

[2.02820646]
<class 'numpy.ndarray'>
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_root_scalar.py", line 311, in fprime
    return approx_derivative(f, x, method='2-point')[0]
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 463, in approx_derivative
    f0 = fun_wrapped(x0)
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 456, in fun_wrapped
    f = np.atleast_1d(fun(x, *args, **kwargs))
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

[2.02820649]
<class 'numpy.ndarray'>
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 505, in approx_derivative
    return _dense_difference(fun_wrapped, x0, f0, h,
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 576, in _dense_difference
    df = fun(x) - f0
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 456, in fun_wrapped
    f = np.atleast_1d(fun(x, *args, **kwargs))
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

1.4331692485858107
<class 'numpy.float64'>
  File "/tmp/ipykernel_12325/298641582.py", line 13, in <cell line: 13>
    sol=optimize.root_scalar(f_p_pp,x0=10)
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_root_scalar.py", line 315, in root_scalar
    r, sol = methodc(f, x0, args=args, fprime=fprime, fprime2=None,
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_zeros_py.py", line 300, in newton
    fval = func(p0, *args)
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

[1.43316925]
<class 'numpy.ndarray'>
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_root_scalar.py", line 311, in fprime
    return approx_derivative(f, x, method='2-point')[0]
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 463, in approx_derivative
    f0 = fun_wrapped(x0)
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 456, in fun_wrapped
    f = np.atleast_1d(fun(x, *args, **kwargs))
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

[1.43316927]
<class 'numpy.ndarray'>
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 505, in approx_derivative
    return _dense_difference(fun_wrapped, x0, f0, h,
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 576, in _dense_difference
    df = fun(x) - f0
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 456, in fun_wrapped
    f = np.atleast_1d(fun(x, *args, **kwargs))
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

1.1177331892286098
<class 'numpy.float64'>
  File "/tmp/ipykernel_12325/298641582.py", line 13, in <cell line: 13>
    sol=optimize.root_scalar(f_p_pp,x0=10)
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_root_scalar.py", line 315, in root_scalar
    r, sol = methodc(f, x0, args=args, fprime=fprime, fprime2=None,
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_zeros_py.py", line 300, in newton
    fval = func(p0, *args)
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

[1.11773319]
<class 'numpy.ndarray'>
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_root_scalar.py", line 311, in fprime
    return approx_derivative(f, x, method='2-point')[0]
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 463, in approx_derivative
    f0 = fun_wrapped(x0)
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 456, in fun_wrapped
    f = np.atleast_1d(fun(x, *args, **kwargs))
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

[1.11773321]
<class 'numpy.ndarray'>
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 505, in approx_derivative
    return _dense_difference(fun_wrapped, x0, f0, h,
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 576, in _dense_difference
    df = fun(x) - f0
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 456, in fun_wrapped
    f = np.atleast_1d(fun(x, *args, **kwargs))
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

1.011965675147062
<class 'numpy.float64'>
  File "/tmp/ipykernel_12325/298641582.py", line 13, in <cell line: 13>
    sol=optimize.root_scalar(f_p_pp,x0=10)
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_root_scalar.py", line 315, in root_scalar
    r, sol = methodc(f, x0, args=args, fprime=fprime, fprime2=None,
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_zeros_py.py", line 300, in newton
    fval = func(p0, *args)
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

[1.01196568]
<class 'numpy.ndarray'>
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_root_scalar.py", line 311, in fprime
    return approx_derivative(f, x, method='2-point')[0]
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 463, in approx_derivative
    f0 = fun_wrapped(x0)
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 456, in fun_wrapped
    f = np.atleast_1d(fun(x, *args, **kwargs))
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

[1.01196569]
<class 'numpy.ndarray'>
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 505, in approx_derivative
    return _dense_difference(fun_wrapped, x0, f0, h,
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 576, in _dense_difference
    df = fun(x) - f0
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 456, in fun_wrapped
    f = np.atleast_1d(fun(x, *args, **kwargs))
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

1.0001409269281298
<class 'numpy.float64'>
  File "/tmp/ipykernel_12325/298641582.py", line 13, in <cell line: 13>
    sol=optimize.root_scalar(f_p_pp,x0=10)
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_root_scalar.py", line 315, in root_scalar
    r, sol = methodc(f, x0, args=args, fprime=fprime, fprime2=None,
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_zeros_py.py", line 300, in newton
    fval = func(p0, *args)
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

[1.00014093]
<class 'numpy.ndarray'>
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_root_scalar.py", line 311, in fprime
    return approx_derivative(f, x, method='2-point')[0]
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 463, in approx_derivative
    f0 = fun_wrapped(x0)
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 456, in fun_wrapped
    f = np.atleast_1d(fun(x, *args, **kwargs))
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

[1.00014094]
<class 'numpy.ndarray'>
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 505, in approx_derivative
    return _dense_difference(fun_wrapped, x0, f0, h,
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 576, in _dense_difference
    df = fun(x) - f0
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 456, in fun_wrapped
    f = np.atleast_1d(fun(x, *args, **kwargs))
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

1.0000000198582968
<class 'numpy.float64'>
  File "/tmp/ipykernel_12325/298641582.py", line 13, in <cell line: 13>
    sol=optimize.root_scalar(f_p_pp,x0=10)
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_root_scalar.py", line 315, in root_scalar
    r, sol = methodc(f, x0, args=args, fprime=fprime, fprime2=None,
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_zeros_py.py", line 300, in newton
    fval = func(p0, *args)
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

[1.00000002]
<class 'numpy.ndarray'>
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_root_scalar.py", line 311, in fprime
    return approx_derivative(f, x, method='2-point')[0]
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 463, in approx_derivative
    f0 = fun_wrapped(x0)
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 456, in fun_wrapped
    f = np.atleast_1d(fun(x, *args, **kwargs))
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

[1.00000003]
<class 'numpy.ndarray'>
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 505, in approx_derivative
    return _dense_difference(fun_wrapped, x0, f0, h,
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 576, in _dense_difference
    df = fun(x) - f0
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 456, in fun_wrapped
    f = np.atleast_1d(fun(x, *args, **kwargs))
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

1.0000000000000007
<class 'numpy.float64'>
  File "/tmp/ipykernel_12325/298641582.py", line 13, in <cell line: 13>
    sol=optimize.root_scalar(f_p_pp,x0=10)
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_root_scalar.py", line 315, in root_scalar
    r, sol = methodc(f, x0, args=args, fprime=fprime, fprime2=None,
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_zeros_py.py", line 300, in newton
    fval = func(p0, *args)
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

[1.]
<class 'numpy.ndarray'>
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_root_scalar.py", line 311, in fprime
    return approx_derivative(f, x, method='2-point')[0]
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 463, in approx_derivative
    f0 = fun_wrapped(x0)
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 456, in fun_wrapped
    f = np.atleast_1d(fun(x, *args, **kwargs))
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))

[1.00000001]
<class 'numpy.ndarray'>
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 505, in approx_derivative
    return _dense_difference(fun_wrapped, x0, f0, h,
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 576, in _dense_difference
    df = fun(x) - f0
  File "/home/jupyter-njodell/.local/lib/python3.10/site-packages/scipy/optimize/_numdiff.py", line 456, in fun_wrapped
    f = np.atleast_1d(fun(x, *args, **kwargs))
  File "/tmp/ipykernel_12325/298641582.py", line 8, in f_p_pp
    print(''.join(traceback.format_stack(limit=4)))


refactor(elixir): split secure channel files

Rebase of https://github.com/build-trust/ockam/pull/3775
Closes #3650
Checks

[x] All commits in this Pull Request are signed and Verified by Github.
[x] All commits in this Pull Request follow the Ockam commit message convention.
[x] I accept the Ockam Community Code of Conduct.
[x] I have accepted the Ockam Contributor License Agreement by adding my Git/Github details in a row at the end of the CONTRIBUTORS.csv file in a separate pull request to the build-trust/ockam-contributors repository.

@Mergifyio refresh


BESTAUG - update cost formula and check if we can afford the upgrade …

…when doing pairs

canceling the PR, looks like its even more broken with this 'fix'

canceling the PR, looks like its even more broken with this 'fix'

Fixed math, now works accurately, should make more sense

Fixed math, now works accurately, should make more sense


OpenShift deployment failed with "Could not find thread_safe-0.3.4 in any of the sources (Bundler::GemNotFound)"

Hi,
I tried to deploy Huginn to OpenShift by following the steps outlined on this wiki page.
Everything seemed to work but at the end when creating the admin user I got the following error:
Could not find thread_safe-0.3.4 in any of the sources (Bundler::GemNotFound)

When I open the Huginn app in my browser I get a "503 Service Unavailable" message.
The full error message is below.
Does anyone know what the problem is and how to fix it?
Best regards,
Daniel

I can make an admin user on your new Huginn instance and setup some example Agents.
Should I create a new admin user and some example Agents? (Y/n)
Okay, what is your email address<EMAIL_ADDRESS>And what username would you like to login as? foo
Finally, what password would you like to use?
Just a moment...
/var/lib/openshift/54ff2b495973cae8b6000094/.gem/gems/bundler-1.8.4/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find thread_safe-0.3.4 in any of the sources (Bundler::GemNotFound)
	from /var/lib/openshift/54ff2b495973cae8b6000094/.gem/gems/bundler-1.8.4/lib/bundler/spec_set.rb:85:in `map!'
	from /var/lib/openshift/54ff2b495973cae8b6000094/.gem/gems/bundler-1.8.4/lib/bundler/spec_set.rb:85:in `materialize'
	from /var/lib/openshift/54ff2b495973cae8b6000094/.gem/gems/bundler-1.8.4/lib/bundler/definition.rb:132:in `specs'
	from /var/lib/openshift/54ff2b495973cae8b6000094/.gem/gems/bundler-1.8.4/lib/bundler/definition.rb:177:in `specs_for'
	from /var/lib/openshift/54ff2b495973cae8b6000094/.gem/gems/bundler-1.8.4/lib/bundler/definition.rb:166:in `requested_specs'
	from /var/lib/openshift/54ff2b495973cae8b6000094/.gem/gems/bundler-1.8.4/lib/bundler/environment.rb:18:in `requested_specs'
	from /var/lib/openshift/54ff2b495973cae8b6000094/.gem/gems/bundler-1.8.4/lib/bundler/runtime.rb:13:in `setup'
	from /var/lib/openshift/54ff2b495973cae8b6000094/.gem/gems/bundler-1.8.4/lib/bundler.rb:122:in `setup'
	from /var/lib/openshift/54ff2b495973cae8b6000094/.gem/gems/bundler-1.8.4/lib/bundler/setup.rb:18:in `<top (required)>'
	from /opt/rh/ruby200/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:53:in `require'
	from /opt/rh/ruby200/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:53:in `require'

Okay, you should be all set!  Visit http://foo-bar.rhcloud.com and login as 'foo' with your password.

If you'd like to make more users, you can visit http://foo-bar.rhcloud.com/users/sign_up and use the invitation code:

	foo

We recommend that you read https://github.com/cantino/huginn/wiki/Run-Huginn-for-free-on-OpenShift and setup Pingdom to keep your app awake!

Done!

Thanks for reporting this, @bolus.  I'll take a look.

(I'm on vacation this week, so it may be a week before I look at this.  In the meantime, you should be able to run Huginn locally, or on Heroku, or you could try to figure out what is causing this issue.)

So I just checked out the app and ran bin/setup_openshift based on these instructions and it worked without issue.  That's very odd.  Would you mind running it again?

Did you use the same source code that someone gets with git clone git@github.com:cantino/huginn.git ?
Because yesterday I tried to deploy Huginn to Heroku with this tutorial and after that with the Heroku button and both versions aren't usable.
The application loads in both cases but I get the error message "We're sorry, but something went wrong." when I click on "Login" or "Signup".
There isn't anything that I can do wrong with the Heroku button, right?
No worries. Enjoy your vacation and then look into it.
Best regards,
Daniel

I did use the same code, yes.  I also just went to https://github.com/cantino/huginn and pressed the Heroku button and it launched fine: https://foo.herokuapp.com/users/sign_up
Then I did
heroku git:clone --app foo
cd foo
bundle
bin/setup_heroku

and hit return through the prompts (except I said n for sendgrid) and it worked.
Can you show me screenshots / logs of where it's failing for you?

I tried the Heroku button again and this time it worked.
The setup took quite a bit of time and after the automatic setup finished
and I saw the manual setup instructions I realised what the problem the
last time was.
Basically, I opened the app before the automatic setup was finished because
I thought the progress indicator/interface hanged.
The app was available but there were no manual setup instructions (just the
home page).
Would it make sense if I retry the OpenShift setup?
If it worked for you then the problem was probably on my side.
And I need only one Huginn instance.
Btw., at the end of the manual setup it's recommended to setup Pingdom so
the app stays active.
Wouldn't it be possible to create a WebsiteAgent that requests the app URL
every 30 minutes?
This way one account less is required.
Thanks for your help!
Best regards,
Daniel
2015-03-15 2:17 GMT+01:00 Andrew Cantino<EMAIL_ADDRESS>
I did use the same code, yes. I also just went to
https://github.com/cantino/huginn and pressed the Heroku button and it
launched fine: https://foo.herokuapp.com/users/sign_up
Then I did
heroku git:clone --app foo
cd foo
bundle
bin/setup_heroku
and hit return through the prompts (except I said n for sendgrid) and it
worked.
Can you show me screenshots / logs of where it's failing for you?
—
Reply to this email directly or view it on GitHub
https://github.com/cantino/huginn/issues/732#issuecomment-80790818.

You could definitely try OpenShift again if you want.  We could play with a self-pinging WebsiteAgent, but Heroku sometimes prevents those from counting.

I tried the OpenShift deployment again and this time there was no error message.
Very odd.
Maybe the first time there was some kind of network error or I did something wrong like I did with the Heroku button.
Anyway, thanks again for your help.

No problem, let us know how you use Huginn!


add functions to random matrix generator

Summary
This PR adds functions random_hermitian() and random_nonhermitian() to random_matrix_generator.py in Aqua utilities folder.
Details and comments
Several properties for generated matrices can be specified, like eigenvalues, eigenvalue range, condition number, sparsity, and truncation of Pauli matrices.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: alfrisch:x: dbucher97You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: alfrisch:x: dbucher97You have signed the CLA already but the status is still pending? Let us recheck it.

@dbucher97 do you mind signing CLA?

@chunfuchen regarding the CLA there are two entries by the CLAassistant, the first one shows CLA signed (including @dbucher97) the second entry shows the missing signature, hitting "recheck" does not update the second entry. Something is strange here.
In the PR requirements it is reporting that all checks have passed, including CLA.

@alfrisch thanks, I was afraid the CLA will block the merge but it seems not.

@alfrisch I'm not sure if the output below is expected:
>>> from random_matrix_generator import *
>>> random_unitary(1)
array([[0.+0.j]])
>>> a = random_unitary(2)
>>> a
array([[ 0.00000000e+00+0.70710678j, -1.38777878e-17+0.1767767j ],
       [ 0.00000000e+00+0.70710678j,  8.32667268e-17-0.1767767j ]])
>>> a.dot(a.T.conj())
array([[0.53125+0.00000000e+00j, 0.46875+1.22663473e-17j],
       [0.46875-1.22663473e-17j, 0.53125+0.00000000e+00j]])

@hushaohan, yes, this is not what we expect for unitary matrices! This code was outside of the scope of this PR changes and thus was not tested. But anyway I could find the bug in random_unitary() and fixed it.

@alfrisch if possible, do yo mind adding one or two simple tests for this function? Thanks.

@chunfuchen I added two unittests for random_unitary() and random_hermitian() for tiny, medium and large matrix dimensions
@hushaohan thanks for pointing that out, switching to the divide and having random integers between 0 and 2 caused in some cases the nan values, I also added the special case for N=1

@alfrisch the N=1 special case handling doesn't produce unit vectors; Getting rid of it (i.e., keeping only the code under else) actually works fine for N=1,2,3....

@hushaohan I changed that. It previously did not work with integer random numbers, but it works fine with floats, as you pointed out.


MAINT: remove pavement

I think it is now safe to remove pavement.py and related references to paver, as the release process has modernized to other tools

my release management "notes" show that I haven't typed "paver" in a release process since SciPy 1.8.1, and various git grep checks seem to suggest this is indeed safe to do now?

I think the release docs do need some updating--I believe you have an issue open for part of that, but I should probably overhaul soon anyway in case I get hit by bus, etc.

Thanks that would be great and even after you've updated it careful about the buses 😅


SDK is broken after PR #56 (2023-08 Update)

#56 has broken the SDK and requires an urgent fix. Was it even tested before it was merged?!
All of the models in the Arbor\Model namespace now incorrectly inherit from \ModelBase instead of ModelBase. The new types for the method parameters also have this problem, for example, lines 54 and 240 in src/Arbor/Model/AcademicCalendarDate.php
Running the tests\Arbor\Model\LoaderTest test with PHPUnit fails
./vendor/bin/phpunit vendor/arbor-education/arbor-sdk-php/tests/Arbor/Model/LoaderTest.php
PHPUnit 10.3.2 by Sebastian Bergmann and contributors.

Runtime:       PHP 8.2.8
Configuration: /Users/andrew/code/***********/phpunit.xml

EEE                                                                 3 / 3 (100%)

Time: 00:00.026, Memory: 14.22 MB

There were 3 errors:

1) Arbor\Test\Model\LoaderTest::testLoadModels with data set #0
Error: Class "ModelBase" not found

/Users/andrew/code/***********/vendor/arbor-education/arbor-sdk-php/src/Arbor/Model/AcademicCalendarDate.php:7
/Users/andrew/code/***********/vendor/arbor-education/arbor-sdk-php/tests/Arbor/Model/LoaderTest.php:27

2) Arbor\Test\Model\LoaderTest::testLoadModels with data set #1
Error: Class "ModelBase" not found

/Users/andrew/code/***********/vendor/arbor-education/arbor-sdk-php/src/Arbor/Model/UkDfe/AcademicUnitEnrolment.php:10
/Users/andrew/code/***********/vendor/arbor-education/arbor-sdk-php/tests/Arbor/Model/LoaderTest.php:27

3) Arbor\Test\Model\LoaderTest::testLoadModels with data set #2
Error: Class "ModelBase" not found

/Users/andrew/code/***********/vendor/arbor-education/arbor-sdk-php/src/Arbor/Model/UkJcq/EdiExportJob.php:12
/Users/andrew/code/***********/vendor/arbor-education/arbor-sdk-php/tests/Arbor/Model/LoaderTest.php:27

--

1 test triggered 1 PHPUnit deprecation:

1) Arbor\Test\Model\LoaderTest::testLoadModels
Data Provider method Arbor\Test\Model\LoaderTest::directoryProvider() is not static

/Users/andrew/code/***********/vendor/arbor-education/arbor-sdk-php/tests/Arbor/Model/LoaderTest.php:21

ERRORS!
Tests: 3, Assertions: 0, Errors: 3, Deprecations: 1.

Thanks for raising this @andrew1601, I have opened a new PR #58 to resolve the issue here. Until this is merged you can lock your dependency down to 5.1.0 specifically.
However, it must be noted that we do not appreciate the attitude you have shown in this issue and we request that in any further interactions keep a more polite tone as we are working to help solve any issues you encounter.


🎨 Dropping notty

Upsides

notty has not been (meaningfully) updated for a while.
I want to use faint (the notty PR seems to go nowhere).
It is easy to add our own styles such as OSC 8 (hyperlinking) in addition to what fmt offers.

Downsides

No cool visual image combinators.
No interactive modes.

Actually, there's no reason to use fmt...


Add TS declaration file for SegmentEmitter

Issue #, if available: #576
Description of changes: This PR adds a TypeScript declaration file (.d.ts) for the SegmentEmitter module to fix TS errors reported in the issue above.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #586 (5626f8b) into master (bdeeaf6) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 5626f8b differs from pull request most recent head 3e2e448. Consider uploading reports for the commit 3e2e448 to get more accurate results

@@           Coverage Diff           @@
##           master     #586   +/-   ##
=======================================
  Coverage   83.38%   83.38%
=======================================
  Files          37       37
  Lines        1794     1794
=======================================
  Hits         1496     1496
  Misses        298      298

see 1 file with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Invalid server version: Z-Wave JS Server version (1.24.0) is incompatible.

Build/Run method:
[X] Docker
[ ] Git Clone + yarn install + yarn run build + yarn start
[ ] Pkg
Z-Wave JS UI version: 8.1.0
Z-Wave JS version: 10.3.0
Describe the bug
Invalid server version: Z-Wave JS Server version (1.24.0) is incompatible.
Current version of the docker container is not compatible with 2023.3.0.  API version not compatible.

Thanks.  Yes I realized although I told it to pull a new image it wasnt.  thanks.


As a volunteer, I want the chatbot to confirm the admin stack I am reporting on

Description:
Acceptance Criteria:

[ ] - If the chatbot user does not have a saved location then ask them for the admin stack they are reporting on behalf of.
[ ] - If the chatbot user does have a saved location then the chatbot confirms if they are still reporting on that location, "Are you still reporting on x admin stack?"

Definition of Done:

this is important, in the Myanmar context (and likely other contexts) a single roving person or team may be tasked with reporting on multiple areas


No longer works in Brave

Hi there,
Please feel free to close as I know this extension is specifically for Chrome; however, after after the recent update it no longer works in Brave (and it previously did).
Not sure if there is a direction you could point me in that would help me better debug.
Version: 1.27.111 Chromium: 92.0.4515.131 (Official Build) (x86_64)
Thanks for the awesome extension :)

Hey @joecampo,
Great news! The new version is now up and running, and it'll be released this weekend. Thanks for your support and patience!
Cheers,
Robert James


Kubernetes/docker environment variables are not used in interpolated microprofile-config.properties variables

Environment Details

Helidon Version: 3.2.2
Helidon MP
JDK version: openjdk 17.0.2 2022-01-18
OS: Linux version 5.4.17-2136.315.5.el7uek.x86_64 (mockbuild @ build-ol7-x86_64.oracle.com)
Kubernetes version is v1.21.5

Problem Description
We are experiencing a problem where specific properties in the microprofile-config.properties, cannot successfully be overridden through environment values (passed in through Helm/K8s) as part of other, interpolated properties.
So take the example of these properties in a microprofile-config.properties file
oci.outbound-service.streampool-ocid=defaultvalue
kafka.sasl.jaas.config=username="${oci.tenant}/${oci.user}/${oci.outbound-service.streampool-ocid}";

`
Our deployment works through Helm chart and when specifying the following in config.dev.yaml
ocioutboundstreampool: alternatevalue

and in values.yaml has this value:
ocioutboundstreampool: oci.outbound-service.streampool-ocid
We are seeing that the kafka.sasl.jaas.config doesn't get the overridden value specified in Helm. Instead the defaultvalue is used.
However, if we change the value in values.yaml to:
ocioutboundstreampool: OCI_OUTBOUND_SERVICE_STREAMPOOL_OCID
The value does get overridden, and we see alternatevalue

Now this might not be relevant, so if not - kindly ignore. But might this be related to the fact that the property that has to be replaced is within double quotes?

Is there a way you could prove a small reproducer? Locally I try to simulate your situation and everything works fine for me.
Thanks in advance!

Hm.. let me play with this. Any specific property names, you would like me to test?

These are the verbatim properties:
oci.outbound-service.endpoint=cell-1.streaming.us-phoenix-1.oci.oraclecloud.com
oci.outbound-service.port=9092
oci.outbound-service.streampool-ocid=ocid1.streampool.oc1.phx.amaaaaaah7afz4ia2v6vrqburhzx7acwvx5oj3syyjmfubydwwsy56rosoeq

kafka.sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="${oci.tenant}/${oci.user}/${oci.outbound-service.streampool-ocid}" password="${oci.token}";

Then what we try to do is to specify a different value for oci.outbound-service.streampool-ocid, by passing an environment variable that is specified in Helm values as:
oci.outbound-service.streampool-ocid=ocid1.streampool.oc1.phx.amaaaaaah7afz4ia4ngyzw2rr4v57e5kmkticstgcuwztq3bjrtt6foozpuq

After multiple attempts on MacOS, Linux and other environments we were not able to reproduce the issue. Helidon correctly handles Environmental Variables even with dots. There is also documentation about it https://helidon.io/docs/v3/#/se/config/advanced-configuration
At this moment @jvissers and @dalexandrov agreed to close the issue as "Unable to reproduce".


Multiple Subsets Addresses

Hi everyone,
Have multiple external instances where I would like to scrape and my question is what do I need to put under ExternalName in the Service side. Here are my yamls (excluding ServiceMonitor):
apiVersion: v1
kind: Endpoints
metadata:
name: k8-cluster01-metrics
namespace: prometheus-ext
labels:
app: k8-cluster01
release: node-exporter
subsets:
- addresses:
  - ip: <IP_ADDRESS>
  - ip: <IP_ADDRESS>
  - ip: <IP_ADDRESS>
ports:
  - name: metrics
port: 9105
protocol: TCP

apiVersion: v1
kind: Service
metadata:
namespace: prometheus-ext
name: Prometheus-External-K8-Cluster01-discovery
labels:
app: k8-cluster01
release: node-exporter
spec:
externalName:                 ### Do I create the same A records for each IP address I have listed in under the endpoint yaml above.
selector:
app: k8-cluster01
type: ExternalName
clusterIP: None
ports:
  - name: metrics
port: 9105
targetPort: 9105
protocol: TCP`
Thank you so much in advance,
Andre

Hi there - FYI - I have inserted one of the listed IP addresses under externalName (eg, externalName: <IP_ADDRESS>) and that seems to work. :).


Adding comments to feed item fails with "challenge_required"

I tried out the commentsAdd example but it fails because of an error:
error: fail: challenge_required ()

I checked what instagram is doing in the web version and it appears to be redirecting to /challenge after the initial commenting fails (400 error at /web/comments/.../add):

Since this library is using the mobile API I don't really know how to debug that there.

Forgot to say that I'm on v2.3

I tried to set up a debug proxy and debug the SSL traffic but wasn't able to do it because of instagram's certificate pinning. I don't think I can be useful here (unless I find a way to debug the SSL traffic). @ahmdrz do you have an idea or could you share your set up you used to debug the traffic?

Ok, I checked with other implementations and there seem to be similar issues there - but it's not related to comments but rather to the account. See for example: https://github.com/mgp25/Instagram-API/issues/1734


Nice work!Do you have a pretrained_model?

sorry that, now i can't.

@xsr-ai , I used MS1M to train the net, but the accuracy is always 0. I added FC to the last layer for using softmax to train the net, but the accuracy is a little shocking, The accuracy on LFW reached 97% but no better. How can I solve this problem? Thank you

Accuracy always zero is strange，maybe it's a bug in my code, i will try to solve that. for your second issue, in my test result, loss function of softmax can't reached better acc, so why you use softamax? But if you want to get better acc than 97%, hyperparams is the key, you can try and test.

pretrained model will be provide later.
close, when need reopen.


Update sbt to 1.5.5

Updates org.scala-sbt:sbt from 1.4.9 to 1.5.5.
Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

labels: library-update, semver-minor

Superseded by #276.


Install deps for image builder

Signed-off-by: Jian Qiu<EMAIL_ADDRESS>

I think we do not need this, https://github.com/openshift/imagebuilder/issues/199#issuecomment-895571356


Calculate beginning and ending points of the line for the chairlifts

Description:
calculate beginning and ending points of the lines that will be drawn on the map for the chairlifts. This will require making use of the data provided by OpenTracks to determine the necessary data

Expected outcome:
have a clear value for the starting and ending point of the chairlifts in the form of a 2d array
Alternative solutions:
we can try to draw the path differently using a different set of functions written in OpenTracks, but that would be so inefficient
Verification:
having the above-mentioned functionality written in Java in OSM Dashboard repo

We are able to access this information inside MapsActivity inside readTrackPoints() method. This is done!


Push to hub capabilities for Dataset and DatasetDict

This PR implements a push_to_hub method on Dataset and DatasetDict. This does not currently work in IterableDatasetDict nor IterableDataset as those are simple dicts and I would like your opinion on how you would like to implement this before going ahead and doing it.
This implementation needs to be used with the following huggingface_hub branch in order to work correctly: https://github.com/huggingface/huggingface_hub/pull/415
Implementation
The push_to_hub API is entirely based on HTTP requests rather than a git-based workflow:

This allows pushing changes without firstly cloning the repository, which reduces the time in half for the push_to_hub method.
Collaboration, as well as the system of branches/merges/rebases is IMO less straightforward than for models and spaces. In the situation where such collaboration is needed, I would heavily advocate for the Repository helper of the huggingface_hub to be used instead of the push_to_hub method which will always be, by design, limiting in that regard (even if based on a git-workflow instead of HTTP requests)

In order to overcome the limit of 5GB files set by the HTTP requests, dataset sharding is used.
Testing
The test suite implemented here makes use of the moon-staging instead of the production setup. As several repositories are created and deleted, it is better to use the staging.
It does not require setting an environment variable or any kind of special attention but introduces a new decorator with_staging_testing which patches global variables to use the staging endpoint instead of the production endpoint.
Examples
The tests cover a lot of examples and behavior.

Thank you for your reviews! I should have addressed all of your comments, and I added a test to ensure that private datasets work correctly too. I have merged the changes in huggingface_hub, so the main branch can be installed now; and I will release v0.1.0 soon.
As blockers for this PR:

It's still waiting for #3027 to be addressed as the folder name will dictate the split name
The self.split name is set to None when the dataset dict is instantiated as follows:

ds = Dataset.from_dict({"x": [1, 2, 3], "y": [4, 5, 6]})
local_ds = DatasetDict({"random": ds})

local_ds['random'].split  # returns None

In order to remove the split=key I would need to know of a different way to test here as it relies on the above as a surefire way of constructing a DatasetDict.

Finally, the threading parameter is flaky on moon-staging which results in many errors server side. I propose to leave it as an argument instead of having it having it set to True so that users may toggle it according to their wish.

Currently it looks like it only saves the last split.
Indeed when writing the data of one split, it deletes all the other files from the other splits
>>> dataset.push_to_hub("lhoestq/squad_titles", shard_size=50<<10)
Pushing split train to the Hub.
Pushing dataset shards to the dataset hub: 100%|█| 31/31 [00:22<00:00,  1.38
Pushing split validation to the Hub.
The repository already exists: the `private` keyword argument will be ignored.
Deleting unused files from dataset repository: 100%|█| 31/31 [00:14<00:00,
Pushing dataset shards to the dataset hub: 100%|█| 4/4 [00:03<00:00,  1.18it

Note the "Deleting" part.

I think this PR fixes #3035, so feel free to link it.

Thank you for your comments! I have rebased on master to have PR #3221. I've updated all tests to reflect the - instead of the _ in the filenames.
@lhoestq, I have fixed the issue with splits and added a corresponding test.
@mariosasko I have not updated the load_dataset method to work differently, so I don't expect #3035 to be resolved with push_to_hub.
Only remaining issues before merging:

Take a good look at the threading and if that's something we want to keep.
As mentioned above:

The self.split name is set to None when the dataset dict is instantiated as follows:
ds = Dataset.from_dict({"x": [1, 2, 3], "y": [4, 5, 6]})
local_ds = DatasetDict({"random": ds})

local_ds['random'].split  # returns None

I need to understand how to build a DatasetDict from some Dataset objects to be able to leverage the split parameter in DatasetDict.push_to_hub

Cool thanks ! And indeed this won't solve https://github.com/huggingface/datasets/issues/3035 yet

I need to understand how to build a DatasetDict from some Dataset objects to be able to leverage the split parameter in DatasetDict.push_to_hub

You can use the key in the DatasetDict instead of the split attribute

What do you think bumping the minimum version of pyarrow to 3.0.0 ? This is the minimum required version to write parquet files, which is needed for push_to_hub. That's why our pyarrow 1 CI is failing.
I think it's fine since it's been available for a long time (january 2021) and it's also the version that is installed on Google Colab.

Pushing pyarrow to 3.0.0 is fine for me. I don’t think we need to keep a lot of backward support for pyarrow.

Hi.
I published in the forum about my experience with DatasetDict.push_to_hub(): here is my post.
On my side, there is a problem as my train and validation Datasets are concatenated when I do a load_dataset() from the DatasetDict I pushed to the HF datasets hub.

Hi ! Let me respond here as well in case other people have the same issues and come here:
push_to_hub was introduced in datasets 1.16, and to be able to properly load a dataset with separated splits you need to have datasets>=1.16.0 as well.
Old version of datasets used to concatenate everything in the train split.


[Feature #137] Contributors page

Closes:

Title : Contributors page added
Name: Madhav Dua
Idenitfy yourself: SSOC Contributor

Describe the add-ons or changes you've made 📃
Added Contributor section

[ ] Bug fix (non-breaking change which fixes an issue)
[ x] New feature (non-breaking change which adds functionality)
[ x] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist: ☑

[ ] My code follows the Contributing Guidelines & Code of Conduct of this project.
[ x] This PR does not contain plagiarized content.
[ x] I have performed a self-review of my own code.
[ ] I have commented my code, particularly wherever it was hard to understand.
[ x] My changes generate no new warnings.

Screenshots 📷

Note to reviewers 📄
I have observed that quote section is producing errors

@Madhavdua re design the contributors page again. I've fixed the routing of the website and focus on the structure of the contrubutors tree structure mentioned in readme file. As i'll expand it further to show the work of each contributor on the website.


A rating component to give rating to a product.

This component can be used to capture user rating. The icon and legend is configurable along with the number of levels of rating.

@DineshSawant thanks for contributing!
can you remove the release from this... for starters it looks like your dist/ folder is messed up, but secondarily we have some other code slated for our next release that isn't in yet.
after that we can do a proper code review.  Thanks!

@dlasky
As per your suggestion, I have removed release commit. Can you take a look at it and let me know if I have missed out on anything.
Thanks!

Thank you.  I also noticed somehow your git config overrode the project default and allowed committing of the css. Only the sass file should be committed. I have a few other comments but we'll make those inline.
Thanks again!

@dlasky
As per your suggestion, I have fixed comments. Can you please take a look at it.
Thanks!

closing as stale


Implement tests for (when) option

During the migration to typed expressions, we discovered an incompatible expression in InTimeGenerator. It was fixed in-place. This PR adds missing tests for (when) option and fixes another bug, which led to generation of validation code for Spine Temporal when the message declared repeated google.protobuf.Timestamp.
Now, there are two similar test suites to cover Protobuf Timestamp and Spine Temporal (particularly io.spine.time.LocalDateTime). Repeated fields have also been covered.

@armiol @alexander-yevsyukov PTAL


Introduce some hierachy for tutorials

Suggested categories:

General
Inferring cellular dynamics with kernels
Analyzing cellular dynamics with estimators

closed via https://github.com/theislab/cellrank_notebooks/pull/67


update valetudo-mapper to 1.1.0

fix compatibility with 2008 firmware for S50/55

Hm, build script did not detect changes for the valetudo-mapper and skipped the build.

I will look into it today or Sunday 😅


dolt/go/store: Stop panicing on sequence walks when expected hashes are not in the ValueReader.

@bheni Trying not to crash my services over and over...


Added GDScript

Hacktoberfest notes:
What does this PR do?
Added GDScript playground
For resources
https://github.com/Calinou/gdscript-online
Description
Added GDScript programming playground. Now everyone can try GDScript without installing Godot.
Why is this valuable ?
GDScript is a popular game development language used in Godot Engine.
How do we know it's really free?
It's an open resource in github.
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[.] Not a duplicate
[.] Included author(s) if appropriate
[.] Lists are in alphabetical order
[.] Needed indications added (PDF, access notes, under construction)

Heads up, you can replace the space with an "x" on the [ ] to make it a completed checkbox!
Please remove the trailing slash from your link. (ie the slash on the end of the URL)
You can get more information on the guidelines and formatting rules from the contribution guide. (CONTRIBUTING.md) Or see exactly where limiting has failed if you click on the failed check and go to TravisCI.

@Vyshnav-KS Thanks, and welcome to free-programming-books!
@SethiPandi The assist is appreciated!


Validator and Converter

the fact that the validator and converter lead to the same page might be confusing

They are actually different pages.  Is that not what you are seeing?

On Oct 16, 2020, at 12:41 PM, JMante1<EMAIL_ADDRESS>wrote:
the fact that the validator and converter lead to the same page might be confusing
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/SynBioDex/SbolStandardWebsite/issues/50, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2YH56F7NZWVAE4J6N7XPDSLCHU5ANCNFSM4STVZAGA.

Sorry they are slightly different pages but the validator has conversion options on the page which is confusing

Yeah, that is by design. They are the same thing, but different UI.  We had some people complain that the validator had too many options for someone just wanting to convert a GenBank file.  I don't use the converter front-end myself, since the validator is more full-feature.

I'm closing this issue for now since it seems that the pages are showing up as intended. This can be re-opened in case there are additional actionable items.


WIP: Expressions

[x] Tabs on Create Stack page
[ ] Expressions added to Create Stack

@pedro-couto did you push your latest changes and is the PR description accurate (i.e. what's still to do)?


RoR Group project: Recipe app

Recipe app
In this PR, we implemented the following required features:

A login page.
A registration page.
A food list (with all CRUD implementation, except for 'update').
A recipes list (with all CRUD implementation, except for 'update').
A general shopping list view.
A list of all public recipes from other users with their names and total prices.

Optional features

Inventories list (with all CRUD implementation, except for 'update').
Inventory shopping list, a shopping list, but only taking into consideration a chosen recipe and inventory.

Dear @usmansbk  and @Metsanpeitto ,
We realized that in your group project one of the team members created only one commit which is a clear sign of a collaboration issue.
If you are flagged a second time for a collaboration issue due to not following our collaboration requirements, you will be required to repeat the week. You are expected to have equal contributions to the group projects and working solo goes against our policy. If you are not able to collaborate, you are expected to reach out to Student Success right away. Please refresh our requirements here in the Student Handbook at our collaboration policy.
As your project should not have been approved because of that, we are going to give you a chance to show that you can collaborate.
In order to do so, please make sure that:
each member of your team opens a PR with a new type of resources (of your choice) with all CRUD actions and the other team member performs a review for them
add a comment with links to new PRs in your old PR https://github.com/usmansbk/recipe-app/pull/14
submit a review request with a link to the comment in old PR (in the meantime the status of your project will change in your dashboard)
In addition please set up a meeting with our program coaches using this calendly link https://calendly.com/annelore-devreese/collaboration-reflection-call?month=2021-11.

As requested by  @nidalaa we have to implement a new resource showing collaboration among the members of the team.
The link to the pull requests is below and in them, you can see the commits done by each member.

https://github.com/usmansbk/recipe-app/pull/16
https://github.com/usmansbk/recipe-app/pull/17

We hope that the misunderstanding can be clarified and any doubt about our intentions will be dissipated. We both look forward to our 'collaboration reflection' with our program coaches tomorrow Friday.
Best regards.
Abraham Rdoriguez
Usman Suleiman

Thank you for a quick action @Metsanpeitto  and @usmansbk ,
Please consider your project as approved (it already is in the dashboard). Please still attend the call with the program coach.


Updating details for support of DLP policy tips @chrfox

@chrfox  Please review the above changes and see if it needs any edits

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks

@JohanFreelancer9

@chrfox Please review/merge

unusable as is, moved this content to a stand alone reference topic


GrahQL schema - Validation errors

Hi! The GraphQL schema contains to types mutation and protocolStateProof without a field definition. The lack of field definitions in these types causes a validation error: type ... must define one or more fields.

Also #6317

How are you trying to validate the schema?

That's apparently generated by this bit of OCaml code:
  let protocol_state_proof : (Mina_lib.t, Proof.t option) typ =
    (* TODO *)
    obj "protocolStateProof" ~fields:(fun _ -> [])

The error showed up when I'm trying to start your original proxy. The problem could not be solved, so I had to write my own proxy server with a special hack in the GraphQL.js validator.
Repo for my proxy https://github.com/olton/mina-graphql-proxy.
Thank you.


Add /helped command

Summary of the Pull Request
Adds a new fabric bot command: /helped.

PR Checklist

[x] Closes: #25787
[x] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[ ] Tests: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

Is there still not a way to choose CloseIssue as "done" or "no action" ?

Is there still not a way to choose CloseIssue as "done" or "no action" ?

I think not.

There is either done or not planned for github on closing. Honestly I do not think it really matters. A label I think provides more transparency