New Feature Data Masking Actions

Type of Change

[ ] Bug fix (non-breaking change, fixes # )
[X] New feature (non-breaking change, adds functionality, fixes # )
[ ] Breaking change (effects multiple commands or functionality, fixes # )
[X] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose
Sometimes you want the data for not to be generated randomly, but want to decrease or increase the amount the  values.
This is mostly useful when doing things with reporting where the reports will still make sense after data masking, although it's not the original data anymore
Approach
To do this I build in functionality called Actions. The actions can be used for integer type data types and date type data types.
Example config
{
    "Name": "AdventureWorks2017",
    "Type": "DataMaskingConfiguration",
    "Tables": [
        {
            "Name": "AWBuildVersion",
            "Schema": "dbo",
            "Columns": [
                {
                    "Name": "VersionDate",
                    "ColumnType": "datetime",
                    "CharacterString": null,
                    "MinValue": null,
                    "MaxValue": null,
                    "MaskingType": "Date",
                    "SubType": "Past",
                    "Format": null,
                    "Deterministic": false,
                    "Nullable": false,
                    "KeepNull": true,
                    "Composite": null,
                    "Action": [
                        {
                            "Category": "datetime",
                            "SubCategory": "Day",
                            "Type": "Add",
                            "Value": 30
                        }
                    ]
                },
                {
                    "Name": "VersionNumber",
                    "ColumnType": "int",
                    "CharacterString": null,
                    "MinValue": null,
                    "MaxValue": null,
                    "MaskingType": "Random",
                    "SubType": "Int",
                    "Format": null,
                    "Deterministic": false,
                    "Nullable": false,
                    "KeepNull": true,
                    "Composite": null,
                    "Action": [
                        {
                            "Category": "Number",
                            "Type": "Add",
                            "Value": 1
                        }
                    ]
                }
            ],
            "HasUniqueIndex": false
        }
    ]
}

Commands to test
Test-DbaDBDataMaskingConfig
Invoke-DbaDbDataMasking
Screenshots

Before

After

Learning

Fixes #5703


🚀 Enhancement: CLI 5.X.X - login with 2 Factor authentication

🔖 Enhancement description
The CLI currently does not provide a method to login to the server if the user has 2 factor authentication enabled. The CLI should recognise if further factors are required and prompt the user to enter the totp.
🎤 Pitch
In its current state, the CLI is not usable when 2FA is enabled. Why it is possible to work around this by temporarily disabling 2FA, it is not optimal.
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

@blackfan23, thanks for raising this issue! 🙏🏼
Original discord thread: https://discord.com/channels/564160730845151244/1223958443560271912

Released in https://github.com/appwrite/sdk-for-cli/releases/tag/5.0.3


Spotipy Delete Track, "No token provided" even though should be provided #1

I'm currently writing a code to delete specific tracks out of a Spotify Playlist I created, and thus that I own. But somehow I am having Issues with the token, although I am using the 'playlist-modify-public' token which should allow me to delete tracks in my own playlists.
And I checked that the playlist is publicly seen since it is available under public playlists of my account.
Would greatly appreciate your help :)
I get this error message by the link in the error code:
{
"error": {
"status": 401,
"message": "No token provided"
}
}
My Code:
Spotipy_delete_tracks.txt
Spotipy Authorization Scopes overview:
https://developer.spotify.com/documentation/general/guides/scopes/#playlist-modify-public

SpotifyException: http status: 403, code:-1 - https://api.spotify.com/v1/users/11136043288/playlists/7LRXlpc7nL7yVF6oVTv8tH/tracks:
 You cannot remove tracks from a playlist you don't own.

In the code file I can see a 403 not a 401, which error do you actually have?

Then can you print the result of sp.me() and confirm your user ID is<PHONE_NUMBER>8?

@stephanebruckert thanks for the advice. I tried the sp.me() and realized that it was an issue with my account. I used to have the account with my brother and we split it up somehow.
So I made a new account and a new application and now it works :)
Thanks for the quick help 👍

Yes, 100% that's what it was. Looks like I was trying to connect to my personal account and not my test environment. DUH!
This is a project so could someone run into this issue when running/testing my script? If so, how to avoid from them using their own personal sign-in?
Thanks!


How do I completely remove bash-it ?

Upon Terminal Startup I get this issue.
bash: /home/iiita/.bash_it/bash_it.sh: No such file or directory
$sudo -i
Please install argcomplete to use conda completion
-bash: /usr/local/share/chruby/chruby.sh: No such file or directory
-bash: /usr/local/share/chruby/auto.sh: No such file or directory
-bash: /usr/local/share/chruby/chruby.sh: No such file or directory
I can't even change to root permission.
I did uninstall bash-it ? How to restore back. I had no backup.

Can you put here the content of your .bashrc and/or .bash_profile?

It looks like you removed the ~/.bash_it folder, but your user profile's dotfiles still refer to it.
BTW: The current version of the uninstall.sh script should have taken care of that. It will revert/remove the files in question in a safe manner.

https://gist.github.com/marioBonales/1637696 Here is the default code I tried to put back in ~/.bashrc. Still of no help.

Can you provide the following information:

Which operating system are you using?
What's the content of ~/.bash_profile?
The output of grep "bash_it.sh" -s ~/.*

These should help us to find the culprit.

1.OS: Ubuntu 12.04 LTS
2. Seems like it is empty. I use Linux so ~/.bashrc --> https://gist.github.com/marioBonales/1637696
I tried to put in the default code and replaced the bash_it profile which still existed after removal.

Binary file /home/iiita/.bashrc.swp matches

I would be glad if I can use my "sudo" back.

Closing this now...


JSON provider - javax.json:javax.json-api

I think the current set of JSON providers is enough for the time being - not planning on adding new ones unless there would be an explicit need for them. Closing for now


Upgrade to Cabal Nix-style Local Builds

A detailed description of the proposed feature
Currently brew use Cabal sandbox to a build a haskell program bottle, this issue purpose brew upgrade to Cabal's Nix-style Local Builds
The motivation for the feature
Cabal already make "Nix-style Local Builds" as default, and may remove sandbox in next version (3.4): haskell/cabal#6445

An approach to this was agreed in #6974.


Run templating tests from Universe build. Fixes #642

Underlying code has changed. It will be easier to do this as a new PR, so closing.


Add 'resource' to the package

fixed in https://github.com/3473f/ros2autodoc/commit/884d0be2eaf7e90b7f4657881d28054ce31bed5a


Coder: properly identify coder view self-objects using a wrapper

We do not have a proper way to distinguish between uninitialized self-objects and nil values.
We want to introduce a self-object wrapper that makes the distinction between initialized and initialised self-objects.
Related issue: https://github.com/feenkcom/gtoolkit/issues/4224

Newly defined classes and Traits:

TGtCoderObject
GtCoderObject
GtCoderUndefinedObject
TGtCoderWithObjectHolder
TGtCoderWithBehaviorHolder
TGtCoderWithSelfObjectHolder

Here we can see that self object is not defined (using the GtCoderUndefinedObject wrapper).


Make root directory of build the settings directory

I've triggered the following builds:

Pull Request Feedback (Trigger)(Linux) (Check)

Build Scan

The following builds have failed:

Pull Request Feedback (Trigger)(Linux) (Check)

Build Scan

@bot-gradle test this on linux without pts

I've triggered the following builds:

Pull Request Feedback (Trigger)(Linux) (Check)

Build Scan

The following builds have failed:

Pull Request Feedback (Trigger)(Linux) (Check)

Build Scan


Continuous integration testing for all supported python versions

In the readme you mention support for python3.6+ as well as in the pypi
package https://pypi.org/project/tesliper/ and setup.py file,
however the testing is done only for python3.6, could
you update the testing in order to comply with the targeted versions?
Using gihtub actions this can be done by adapting
a yaml file like this one
name: CI
on: [push]
jobs:
  build:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, macos-latest, windows-latest]
        python-version: ['3.5', '3.6', '3.7', '3.8', '3.9', '3.10']

    steps:
    - uses: actions/checkout@v2
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v2
      with:
        python-version: ${{ matrix.python-version }}
    - name: Install
      run: |
        python -m pip install -U pip
        python -m pip install -r requirements.txt
        python -m pip install pytest
        python -m pip install pytest-cov
        python -m pip install hypothesis
        python -m pip install coveralls
        ./tools/ci-install.sh
      shell: bash
    - name: Run tests
      run: |
        python -m pytest --cov=tesliper --cov-config=.coveragerc test
      shell: bash

Good point, I'll update CI config.


Add PyGS package

Hi there,
This is Yu Chen, and I can be reached at<EMAIL_ADDRESS>I just added PyGS package to this projects.yml and would like to publish our package to PyHC. Please let me know if there is anything I need to add.

Hi Shawn @sapols , I was wondering if this packing is under review now?

Hi Yu Chen @PyGSDR, sorry for taking so long to reply. You opened this PR right before I went on vacation for 4th of July and I'm just now getting back to work. Bad timing. I have not reviewed this yet, but it will get done in the next week or two.

Okay, I finished my review. I've downgraded the status of "community" from "Good" to "Partially met" because your repo is missing contribution guidelines and a code of conduct (points 13 & 15 referenced in the Review Guidelines). This is fine for now; I'll go ahead and merge this PR, which will officially add PyGS to PyHC. Congrats and welcome!
After you get around to adding contribution guidelines and a code of conduct, feel free to open another PR to upgrade your "community" status back to "Good".

Okay, I finished my review. I've downgraded the status of "community" from "Good" to "Partially met" because your repo is missing contribution guidelines and a code of conduct (points 13 & 15 referenced in the Review Guidelines). This is fine for now; I'll go ahead and merge this PR, which will officially add PyGS to PyHC. Congrats and welcome!
After you get around to adding contribution guidelines and a code of conduct, feel free to open another PR to upgrade your "community" status back to "Good".

Sorry I accidentally closed this one. Hopefully it doesn't affect the progress.
Thank you so much and we will check those guidelines. @sapols


Separate e-book and Video tutorials.

Separate e-book and Video tutorials. It will b easy to find out.

there's a section in CONTRIBUTING that discusses how to categorize a resource. Sometimes it's difficult!

:bulb: What about split in books-*.md files:

ebooks: real books / papers / official lecturer-teacher material used in colleges... usually have covers, ISBN, etc.; diferent downloadable sources. Also, most of the times domains like gitbook, leanpub, readthedocs...
tutorials / guides: long article about topic fitting some our categories; normally as a web article, accepted blog post...

splitting the file will not make it easier to find resources. If we feel it's important to distinguish between types, we can add a content type annotation the way we do in our podcast/screencast lists,

splitting the file will not make it easier to find resources. If we feel it's important to distinguish between types, we can add a content type annotation the way we do in our podcast/screencast lists,

I like it... maybe with some emoji as badge to be able to distinguish by parsers across languages

Real books: :book: :book:
Videos: :video_camera: :video_camera:
Tutorial, guides...: :memo: :memo:, :page_facing_up: :page_facing_up:, :page_with_curl: :page_with_curl:

I worry that in practice it will add a barrier for contributors


Pickers in Modal crash Firefox

I decided to do a small to-do list project using materialize. I got a button which triggers Modal which has two pickers - Datepicker and Timepicker. On these two picker instances, I have set a container parameter to render them inside .container. Launching the modal, the form displays approprietly; I can pick both time and date using the pickers respectively. However when I try to edit my initial choice, the browser freezes.
Following is a thread  on stackoverflow containing the example code.

Already fixed in version 1.0.0-rc.1.

How come the CDN on the website is poiting to beta link?


Call rpm.reloadConfig() after each spec parsing

Fixes https://github.com/fedora-infra/rpmautospec/issues/185
See https://github.com/rpm-software-management/rpm/discussions/3357
(I have not tested this yet, hence a draft)

It works.


Can't make RF Remote work with LC11

Was able to control LC11 with remote before flashing Arilux_AL-LC0X, besides this remote interferes with other RF LED controller, so it sends something.
But no reaction on pressing remote button with Arilux_AL-LC0X. Not even "ERROR: RF code not defined" in debug messages.
Tried to change ARILUX_RF_PIN to 2 and 16 - no luck.  Out of troubleshooting ideas.  Would appreciate any suggestions.
Does anyone have  RF remote working with LC11?

Hi @oglodyte,
If you have the message ERROR: RF code not defined, the codes sent by your remote seem to be different from the codes defined in the sketch and not a problem related to the pin of the RF receiver.
The solution would be to modify the RF codes in the sketch with your own for each button of your remote.

Thank you @mertenats.
If I had those ERROR massages, it would give me a clue.   Unfortunately I do not get any error messages as if rcSwitch.available() is never true.  I'm pretty sure RCSwitch is included and complied in  (was giving me errors until I loaded RCSwitch library).  But it does not seem to work for me and I'm not sure how to troubleshoot it further.

I'm working on an implementation by my own and discovered the following for Arilux LC11:

RF input is GPIO15
RF control is GPIO02

RF input is only enabled if GPIO02 is low (lighting the ESP12-F led).
@mertenats thnx for RCSwitch hint.

Thank you so much @arendst!
That does it. Now I have those error messages and should be able to learn the codes.
Who would have guessed about GPIO2?..
BTW, are you adding LC11 and RF support to your Sonoff-Tasmota?  That would be great! I use it for everything but this LC11.  Any chance you also implement JSON mode in Sonoff-Tasmota?

BTW, here are RF codes for remote that came with my LC11 in case it can help someone.

#ifdef RF_REMOTE
#define ARILUX_RF_CODE_KEY_ON           13350401
#define ARILUX_RF_CODE_KEY_TOGGLE       13350402
#define ARILUX_RF_CODE_KEY_OFF          13350403
#define ARILUX_RF_CODE_KEY_SPEED_PLUS   13350404
#define ARILUX_RF_CODE_KEY_MODE_PLUS    13350405
#define ARILUX_RF_CODE_KEY_BRIGHT_PLUS  13350406
#define ARILUX_RF_CODE_KEY_SPEED_MINUS  13350407
#define ARILUX_RF_CODE_KEY_MODE_MINUS   13350408
#define ARILUX_RF_CODE_KEY_BRIGHT_MINUS 13350409
#define ARILUX_RF_CODE_KEY_RED          13350410
#define ARILUX_RF_CODE_KEY_GREEN        13350411
#define ARILUX_RF_CODE_KEY_BLUE         13350412
#define ARILUX_RF_CODE_KEY_ORANGE       13350413
#define ARILUX_RF_CODE_KEY_LTGRN        13350414
#define ARILUX_RF_CODE_KEY_LTBLUE       13350415
#define ARILUX_RF_CODE_KEY_AMBER        13350416
#define ARILUX_RF_CODE_KEY_CYAN         13350417
#define ARILUX_RF_CODE_KEY_PURPLE       13350418
#define ARILUX_RF_CODE_KEY_YELLOW       13350419
#define ARILUX_RF_CODE_KEY_PINK         13350420
#define ARILUX_RF_CODE_KEY_WHITE        13350421
#endif


[Bug] highlight incorrect field in screenshot of importing Sagemaker workspace

Describe the bug
A clear and concise description of what the bug is.
should highlight instance type field

the field AutoStopIdleTimeInMinutes also is required.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Versions (please complete the following information):

Release Version installed [e.g. v1.0.3]

Additional context
Add any other context about the problem here.

Already fixed


fix(index): Fix scope in copy index

Coverage remained the same at 77.481% when pulling 1eae57a1d3ee96f11a1ab3c41a3d1ef419b6d315 on fix/scope_copy into 930be824bb14aca17a619af8221b9d822a646001 on master.


External calls in/out bound

Could someone provide some guidance in adding a external sip trunk for inbound and outbound calls to/from the ims core?

I am looking for same as well.

I am not knowledgeable in that aspect of IMS so cant be of much help. Hope other in the community can help you on this.


Moved the bind_to() calls with forms in page create/edit views

Until now, if EditHandlers used on_form_bound() to modify the form, these changes were only used for the GET requests. The bind_to() call for POST requests has been called after the validation process, so too late.
Hope this small change can make it into a release soon, as it would make tasks like disabling page fields on certain conditions a lot easier for us.
TBD: For the test I've duplicated the clear_edit_handler-decorator from https://github.com/wagtail/wagtail/pull/7538.
Since it is the 3rd copy of the decorator, it may be a good point to extract it into a module?

Hi @th3hamm0r - thanks for the PR.
As it happens, I'm currently working on a major rewrite of how EditHandler binding works, and unfortunately the decision has been to take things in the other direction, and only bind the request / instance / form at the last moment before rendering the template. This is because EditHandlers were only ever intended to be a tool for layout, and the act of 'binding' is only to pass the form / request / instance information to the EditHandler so it can use that information for the layout. They shouldn't be used as hooks for making customisations to the form object - supporting those kinds of hacks meant that we've ended up inventing an alternative mechanism for constructing forms that goes against Django best practices, and is highly dependent on the precise sequence of events in the edit view. As a result, the edit handler logic has become incredibly hard to understand and maintain.
If you want to customise the form definition, you should do that with a custom WagtailAdminPageForm subclass instead: https://docs.wagtail.org/en/stable/advanced_topics/customisation/page_editing_interface.html#customising-generated-forms

Hi @th3hamm0r - thanks for the PR.
As it happens, I'm currently working on a major rewrite of how EditHandler binding works, and unfortunately the decision has been to take things in the other direction, and only bind the request / instance / form at the last moment before rendering the template. This is because EditHandlers were only ever intended to be a tool for layout, and the act of 'binding' is only to pass the form / request / instance information to the EditHandler so it can use that information for the layout. They shouldn't be used as hooks for making customisations to the form object - supporting those kinds of hacks meant that we've ended up inventing an alternative mechanism for constructing forms that goes against Django best practices, and is highly dependent on the precise sequence of events in the edit view. As a result, the edit handler logic has become incredibly hard to understand and maintain.
If you want to customise the form definition, you should do that with a custom WagtailAdminPageForm subclass instead: https://docs.wagtail.org/en/stable/advanced_topics/customisation/page_editing_interface.html#customising-generated-forms

Thanks for the detailed response @gasman!
Is there any public discussion or information to the roadmap or the planned steps of this rewrite?
Since we are using custom subclasses of EditHandlers heavily (especially TabbedInterface and ObjectLists) to restructure and modify the UI based on model, instance and request (the later mainly for request.user and its permissions), I hope this rewrite still allows this kind of customization.
We often have subclasses of pages, which need a modified set of fields, or fields restructured into other tabs, and that based on the class, the instance's state and the user.

There isn't any full public documentation of the EditHandler changes right now - it's the sort of code where lots of legacy cruft has built up over time, and I'm regularly discovering new edge cases as I work through it, so any written plans will get out of date quickly, but the rough direction is:

The model argument of bind_to will be moved out to a new method bind_to_model. This will be called first in the life cycle of an EditHandler (and eventually this will probably become a one-time initialisation step, where the bound-to-model EditHandler objects will be kept around for the lifetime of the webserver)
The required_fields, required_formsets and widget_overrides methods, which feed into the call to get_form_for_model that builds the form class, will be replaced by a single get_form_options method that returns a dict of arguments to pass to get_form_for_model. This get_form_options method will be called early in the life cycle, on an EditHandler that is only bound to a model (not a request or instance), so any customisations that rely on constructing a form class on-the-fly in response to the current request / user will no longer be valid. (Again, the eventual plan is to construct this form class once and keep it around for the lifetime of the webserver.)
The form class returned by get_form_for_model (a subclass of WagtailAdminModelForm) will accept a for_user argument when being instantiated, allowing the form to be varied according to user permissions. (See #8060 for an example of this in action.)
The remaining bind_to method will be replaced with a get_bound_panel method, which takes the request, form instance, and model instance, and returns a BoundPanel instance. This is a new class that will implement the component API and deal with the actual rendering - this BoundPanel instance is the final object passed to the template. As part of this change, the distinction between render_as_field and render_as_object will be dropped - any elements such as labels and help text, that vary depending on the panel placement (e.g. inside a MultiFieldPanel versus an ObjectList), will become distinct properties of BoundPanel and it will be the container panel's responsibility to render them.

Thanks a lot for those details! Sounds promising, but also challenging 😉
Looking forward to test an upcoming alpha/beta/RC with our use cases, the permission based panels should replace and improve a lot of our customizations, I hope that moving fields/panels around, e.g. into other tabs, is still possible, maybe even easier as it is now :+1:


cron failures

Hey @Keegan-Evans just looking through open issues on pkg-int - should we keep this issue open? Was the intended functionality to add comments for each cron failure?

@lizgehret, lets keep this issue open, as you observed, the issue is simply here to collect all failure comments.

closing this since we are no longer monitoring.


Cocoapod produces linker errors about OS mismatch from 3.18 onwards

Goals
Clean compilation via CocoaPods.
My podspec file has inhibit_all_warnings!, but I'm seeing linker warnings for an OS mismatch between the pod project deployment target (10.9), and the version that the precompiled binaries were built for (10.14)
This is problematic because we have a zero warnings policy.
I think the problem is an interaction between the OS version that the binaries were built for, and the deployment target specified in the podspec (10.9)
Expected Results
No warnings
Actual Results
67 linker warnings, like this:
ld: warning: object file (/Volumes/Untitled/Source/Sportscode64/Pods/Realm/core/librealmcore-macosx.a(bptree.cpp.o)) was built for newer OSX version (10.14) than being linked (10.9)
Steps to Reproduce
Install Realm into a project via Cocoapods, specifying Realm version 3.18 or above
Using Xcode 10.3
Realm 3.17.3 does not suffer from this issue.
Code Sample
I don't currently have a test case I can share
Version of Realm and Tooling
Realm 3.18 and up, installed via Cocoapods
Xcode version: 10.3
iOS/OSX version: 10.13.6
Dependency manager + version: COCOAPODS: 1.7.5

We had to rework a bunch of build system things to support catalyst, and I guess in the process the deployment target is no longer getting set correctly? The intention is still for it to be targeting 10.9 and should be easy to fix.


Support Android Gradle Plugin 4.0.0 (Lint Level 7)

Hello! I am trying to use RxLint 1.7.6, but have the following output:
Could not find nl.littlerobots.rxlint:detector:1.7.6.
Searched in the following locations:
  - https://dl.google.com/dl/android/maven2/nl/littlerobots/rxlint/detector/1.7.6/detector-1.7.6.pom
  - https://jcenter.bintray.com/nl/littlerobots/rxlint/detector/1.7.6/detector-1.7.6.pom
  - https://repo.maven.apache.org/maven2/nl/littlerobots/rxlint/detector/1.7.6/detector-1.7.6.pom
Required by:
    project :app

I have tried to connect RxLint to my project via:
./build.gradle:
buildscript {
    repositories {
        google()
        jcenter()
        mavenCentral()
    }
}

allprojects {
    repositories {
        google()
        jcenter()
        mavenCentral()
    }
}

./app/build.gradle:
dependencies {
    lintChecks "nl.littlerobots.rxlint:detector:1.7.6"
}

Perhaps RxLint 1.7.6 is missing on these remote repositories, although 1.7.5 version is fine. Can you please check it?

1.7..6 hasn't been released yet, I will release it today. As a side note, some reported that lintChecks might not be working correctly, are you seeing the lint check working with 1.7.5? Otherwise I'll have to update the docs too.

1.7..6 has been released and should show up on Maven Central shorty.

Thank you, 1.7.6 version has become available.
I'm new to RxLint, so I tried to connect it via lintChecks, but has just noticed that lintChecks does not work (neither with 1.7.5 nor with 1.7.6).
So I have changed it to implementation and run lint checks via ./gradlew lint command, now warnings are printed.


Update gem & science commands to support auto update

Several changes made but main resolves #159
Main change:

Gem & science lists now updates whenever a module is added
Moved GemCommandStorage methods to GemCommand

Other changes:

Added module title to display (i feel like users would like to see module title if not they just see letters and numbers x.x)
Shifted gem command messages to commons.core.Messages
Separated display of GE commands using the GE pillars (Human Cultures, Asking Questions, etc.) as gem module codes look too congested
Resolved test issues that came with changes

Codecov Report

Merging #182 (c598282) into master (3a7461e) will decrease coverage by 0.03%.
The diff coverage is 87.87%.

@@             Coverage Diff              @@
##             master     #182      +/-   ##
============================================
- Coverage     75.67%   75.64%   -0.04%
  Complexity      586      586
============================================
  Files            96       96
  Lines          1768     1774       +6
  Branches        183      185       +2
============================================
+ Hits           1338     1342       +4
  Misses          345      345
- Partials         85       87       +2

Impacted Files
Coverage Δ
Complexity Δ

...main/java/seedu/address/commons/core/Messages.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

...java/seedu/address/logic/parser/GradPadParser.java
69.23% <ø> (ø)
14.00 <0.00> (ø)

...in/java/seedu/address/storage/GemCommandPaths.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

.../java/seedu/address/storage/GemCommandStorage.java
100.00% <ø> (+4.25%)
14.00 <0.00> (-5.00)
:arrow_up:

...a/seedu/address/logic/commands/ScienceCommand.java
83.33% <80.00%> (-4.17%)
5.00 <0.00> (ø)

.../java/seedu/address/logic/commands/GemCommand.java
89.13% <87.50%> (-3.98%)
11.00 <5.00> (+5.00)
:arrow_down:

.../seedu/address/logic/commands/RequiredCommand.java
97.39% <100.00%> (+0.04%)
36.00 <0.00> (ø)

Continue to review full report at Codecov.

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


There should be some waning message if we fill invalid data in the 'Date Box'

Terms

[X] Before you openning this issue, i have checked if the issue has already been reported.

Bagisto Version(s) affected
master v1.4.5
Issue Description
After filling Next month's date in the 'To Date' text box and the Past Month's date in the 'Form Date' Text box and then clicking on the 'Save Catalog Rule' Button, then I do not  give any warning or  pop-up notification like what I am doing wrong
Preconditions

Admin should be Login

Steps to reproduce

Go to 'Admin Panel'
Click on Marketing => Promotion =>Catalog Rule
Go to 'Add Catalog Rule'
Fill Require Details
Fill  Form date =2023-03-31
Fill To date= 2023-05-01
Click on the 'Save Catalog Rule' Button
See the error

Expected Result
Should be given some Error / notification / pop-up message like:- "This date is not accepted"Error/notificationError/notificationError/notification
Actual Result
Don't show any type of  Error / notification / pop-up messager Error/notification Error/notification
Screenshots

Additional context
No response

please assign this issue to me

@jitendra-webkul
Now, this issue is fixed. so I am closing this issue.
And I have attached a screenshot Here, for future reference.


[WIP] Ability to throttle jobs

Resolves #1

Ability for arbitrary limits/periods.
Config hash could be used for other things, like retry amounts etc
Default is no limit
Maintains state between starts, would have to delete the old config hash to have it set new values
Renames the WAITING queue to actually be waiting, is more clear.
Refactors the queue methods into a nice macro :)

~However the more i think about it the one thing this wouldn't solve well is if the tasks get added slowly.  For example you have a job that is set to 10 executions per 60 seconds.  But you add one every 10min.  This implementation would still would wait 60 seconds before executing the 11th task.~
This has been solved, it now only counts executions within the given period seconds.
How this works:

I moved the @@mapping class var to a class_getter var, as i needed a way to get a list of all defined jobs
When starting mosquito it will store a config hash into redis
When a task is executed it will increment the executed field in the config object
If Time.utc_now.epoch > (Time.epoch(config["last_executed"].to_i64) + config["period"].to_i.seconds).epoch resets executed back to 0
When executed == limit, it will set the executed field back to 0 and set the next_batch field to (Time.utc_now + period.seconds).epoch
When going to dequeue a task to run, it checks q_config["next_batch"].to_i64 > Time.utc_now.epoch and returns if true

WDYT @robacarp

Noticing an issue where its doing 1 more execution than it should in the first batch.  I'll look into it.

@robacarp This should be good for review again when you get some time.


Django Auth ADFS across a Proxy

Hi,
It would be nice to configure ADFS with a proxy. Something similar to this below:
# checkout the documentation for more settings
AUTH_ADFS = {
    "SERVER": "adfs.yourcompany.com",
    "CLIENT_ID": "your-configured-client-id",
    "HTTP_PROXY": "http://proxy01.example.com:9090",
    "HTTPS_PROXY": "https://proxy01.example.com:9090"
    ...

Could you help me?
Thanks!

Hi,
I'm happy to review PRs.
Did you look at #145 and previous issues? Might be possible to do this through nginx too, not sure.

Hi,
I'm happy to review PRs. Did you look at #145 and previous issues? Might be possible to do this through nginx too, not sure.

Hi JonasKs,
Is not the same issue, cause issue talks about "reverse proxy" and i say a http_proxy. Is not the same that i refer.
For example, you can make a "curl" behind a proxy, this way:
-x, --proxy <[protocol://][user:password@]proxyhost[:port]>

     Use the specified HTTP proxy.
     If the port number is not specified, it is assumed at port 1080.

In python, when you use request:
import requests
proxies = {'http': 'http://proxy.test.example.com:3128','https': 'https://proxy.test.example.com:3128'}
session = requests.session()
session.proxies = proxies
session.get("http://www.example.com")   # Here the proxies will also be automatically used because we have attached those to the session object, so no need to pass separately in each call

In your code is easy to change. In the config.py
In the line 192 you have the "self.session". You can load proxy if it is defined in django_settings
For example:
self.session = requests.Session()
adapter = requests.adapters.HTTPAdapter(max_retries=retry)
self.session.mount('https://', adapter)
self.session.verify = settings.CA_BUNDLE

#Comment Proxy. On the class Settings, you have to load PROXY_HTTP and PROXY_HTTPS variables
if "PROXY" in _settings:
    proxies = {'http': _settings.PROXY_HTTP,'https': _settings.PROXY_HTTPS}
    self.session.proxies = proxies

You can configure ADFS settings like this:
AUTH_ADFS = {
    "SERVER": "adfs.yourcompany.com",
    "CLIENT_ID": "your-configured-client-id",
    "PROXY":{
        "PROXY_HTTP": "http://proxy01.example.com:9090",
        "PROXY_HTTPS": "https://proxy01.example.com:9090"
    }
    ...
}

It would be nice implement on the library.
Regards

I see. Thank you for the good explanation!
I'm happy to review a PR. 😊

Closing this, as it seems it's not being worked on. Feel free to re-open if that's wrong :slightly_smiling_face:


connection problem to aws

On amazon service simulator i get the error:
The remote endpoint could not be called, or the response it returned was invalid.
The alexa app it say's:
unable to connect to host.
Request indentifier: amzn1.echo-api.request.0f050525-47d2-4d11-92ff-96a9507a7bea
a connection could not be established to recource? [https://xxxxxxxxxx.execute-api.us-east-1.amazonaws.com/dev]. Type [HTTP], Region [DEFAULT]
Can you help me? or point me in the right direction?
thx, Marcel

Please post on the forum for support questions.

where is that?

Read the Getting Help section in the README.

thx. much help. could have pointed me


Cannot create jsconfig.json file

VSCode Version: March insiders build
OS Version: Windows 8

Steps to Reproduce:

Opened a .js file in the new build and clicked on the "lightbulb" button in the taskbar

Saw a message asking if I wanted to create a project - I said yes to creating a jsconfig.json file

Got this error message:

Then I tried to close the editor window and got this message:

Clicked "Save" to try to save changes, and got this error:

fixed by 32bd7fd


Questions About the WISE Model Configuration File and the Temporal Dataset

Could you provide the config.yaml for the Mistral-7B model so that I can replicate your results on the Hallucination dataset?

In the Temporal dataset, there are only 75 data points. How can I access more data?

I look forward to your reply. Thank u very much!

Thank you for your reply.
Regarding the Temporal dataset, I found that T=100 in Table 5 of the WISE paper, so I assumed the Temporal dataset contains 100 data points.

Thanks again for your prompt response.

Apologies for any confusion. I meant to convey that in Table 5 of the WISE paper, T=100 is indicative of using the entire dataset (more precisely, T=75). It seems we have overlooked the size of the dataset. If you wish to reproduce T=100, you can indeed utilize the full dataset for your experiment.

Thank you for your clarification. I will make sure to update the information on arXiv accordingly.


Warning about NSLayoutConstrain .  on release 7.2.0

I spam text messages and scroll down/up, on an iPhone 6s simulator

This is a dupe of #817, but deserves another look.

Yep, closing as duplicate of #817.
Thanks @tuanpa199 ! :smile: Please review the contribution guidelines.
Thanks @harlanhaskins !


[RFC] --safe mode

Context: I'm working on spinning up a new project based on bpftrace at FB. The goal is to provide self-service, on-demand tracing for any machine(s) in the fleet. To that end, bpftrace will be used as the backend mechanism. Users will be able to submit bpftrace scripts to be run.
Given the nature of self service, we must protect against accidental mistakes that can take down hosts. bpftrace, as designed, is generally pretty safe. However, there is currently one (AFAIK) escape hatch: system().
I've thought of two options: safe mode and linting. Obviously, I can lint against using system() in scripts before they're allowed to run. But ideally there'd be a --safe mode so I don't have to worry about keeping the linter up to date if new builtins are added. The safe mode would disable any unsafe builtins.
Any thoughts?

Sure, makes sense since system() could run anything.
Do we want safe mode to be opt-in, or safe by default and opt-out (eg, an --unsafe mode?) If the latter, then we need to check that the following works:
#!/usr/local/bin/bpftrace --unsafe

...

So that my scripts that use system() still work. (We can deal with #!env later.)
Other things to consider: user writes (#28), and whether we get a signal helper. Both can be destructive and should be included by safe/unsafe.
I think if people were sending me bpftrace tools, I'd rather these unsafe things were disabled by default so I didn't run one by accident. So I'd vote for --unsafe instead of --safe.
Can someone think of a better name than unsafe? It might not be unsafe. :-)
@danobi If you want to send a PR for --unsafe for system(), then the sooner the better as it will change the API. Thanks!

This is a great idea. On the surface of it I think it makes sense for the user to have to opt-in to use anything that can have a side effect e.g., system() or register altering. Maybe, --i-accept-the-consequences :-) .

Can someone think of a better name than unsafe? It might not be unsafe. :-)

I don't think --unsafe would be the worst name. The concept exists in rust and we could ride off the semantic coattails, so to speak. I have no strong opinions, though.

ok, we can go with --unsafe.

This sounds cool! 😃
@danobi, some other stuff besides system that I think we could take into account for this use case:

Unlimited probes causing system slowdowns due to synchronisation without batching: #502
Deadlocks: #534 (Have some code to proactively test for these kind of things. Will push a PR as soon as I can.)

For the deadlocks, I see that as being silly to ever allow, even in unsafe mode. I wonder about unlimited uprobes, though. Should unsafe mode turn off limits (if we added them)?

I totally agree, just mentioned it here so we can proactively test this
better in case new kernel / user space functionality would introduce new
deadlocks :)
On Tue, 14 May 2019 at 19:43, Dan Xu<EMAIL_ADDRESS>wrote:

For the deadlocks, I see that as being silly to ever allow, even in unsafe
mode. I wonder about unlimited uprobes, though. Should unsafe mode turn off
limits (if we added them)?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/iovisor/bpftrace/issues/613?email_source=notifications&email_token=AAHKFGBOZRHYZZYLGMO2DNLPVMB5VA5CNFSM4HL4XCHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVMNGRI#issuecomment-492360517,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHKFGESAJQPASLPEOMDYZ3PVMB5VANCNFSM4HL4XCHA
.

--
Fco. Javier Honduvilla Coto

The number of probes limit sounds more like a tunable we'll add. I'd keep --unsafe for things that can directly change system state.


vote between red or blue pills

Bunnyshell created the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (1) for PR #1:

result:

https://result-4o2qrs.bunnyenv.com/

vote:

https://vote-4o2qrs.bunnyenv.com/

Bunnyshell created the Environment client-X / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1:

result:

https://result-2niyda.bunnyenv.com/

vote:

https://vote-2niyda.bunnyenv.com/

Bunnyshell created the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1:

result:

https://result-m3kuvk.bunnyenv.com/

vote:

https://vote-m3kuvk.bunnyenv.com/

Bunnyshell created the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (1) for PR #1:

express-app:

https://express-app-iu54k7.bunnyenv.com/

result:

https://result-iu54k7.bunnyenv.com/

vote:

https://vote-iu54k7.bunnyenv.com/

Bunnyshell created the Environment client-X / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1:

express-app:

https://express-app-janhtx.bunnyenv.com/

result:

https://result-janhtx.bunnyenv.com/

vote:

https://vote-janhtx.bunnyenv.com/

Bunnyshell created the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (2) for PR #1:

result:

https://result-qjwsnz.bunnyenv.com/

vote:

https://vote-qjwsnz.bunnyenv.com/

Bunnyshell created the Environment stage-101 / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1:

result:

https://result-fne5dx.bunnyenv.com/

vote:

https://vote-fne5dx.bunnyenv.com/

Bunnyshell created the Environment stage-100 / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1:

result:

https://result-pbgkfv.bunnyenv.com/

vote:

https://vote-pbgkfv.bunnyenv.com/

Bunnyshell created the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (4) for PR #1:

result:

https://result-ibpvek.bunnyenv.com/

vote:

https://vote-ibpvek.bunnyenv.com/

Bunnyshell created the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (5) for PR #1:

result:

https://result-44hndq.bunnyenv.com/

vote:

https://vote-44hndq.bunnyenv.com/

Bunnyshell created the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (6) for PR #1:

result:

https://result-guhh2j.bunnyenv.com/

vote:

https://vote-guhh2j.bunnyenv.com/

Bunnyshell created the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (7) for PR #1:

result:

https://result-vxxcaq.bunnyenv.com/

vote:

https://vote-vxxcaq.bunnyenv.com/

(!) Bunnyshell could not create the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (8) for PR #1.

Bunnyshell created the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (9) for PR #1:

result:

https://result-5sfku2.bunnyenv.com/

vote:

https://vote-5sfku2.bunnyenv.com/

Bunnyshell created the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (10) for PR #1:

result:

https://result-gxo34a.bunnyenv.com/

vote:

https://vote-gxo34a.bunnyenv.com/

Bunnyshell created the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (11) for PR #1:

result:

https://result-zxwrsw.bunnyenv.com/

vote:

https://vote-zxwrsw.bunnyenv.com/

Bunnyshell created the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (13) for PR #1:

result:

https://result-udnnss.bunnyenv.com/

vote:

https://vote-udnnss.bunnyenv.com/

Bunnyshell created the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (14) for PR #1:

result:

https://result-jrft35.bunnyenv.com/

vote:

https://vote-jrft35.bunnyenv.com/

Bunnyshell created the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (15) for PR #1:

result:

https://result-ufcijf.bunnyenv.com/

vote:

https://vote-ufcijf.bunnyenv.com/

Bunnyshell created the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1:

result:

https://result-meex5o.bunnyenv.com/

vote:

https://vote-meex5o.bunnyenv.com/

(!) Bunnyshell could not create the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1.

Bunnyshell created the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1:

result:

https://result-7bspmu.bunnyenv.com/

vote:

https://vote-7bspmu.bunnyenv.com/

Bunnyshell created the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (1) for PR #1:

result:

https://result-rphqd2.bunnyenv.com/

vote:

https://vote-rphqd2.bunnyenv.com/

(!) Bunnyshell could not create the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (2) for PR #1.

Bunnyshell created the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1:

result:

https://result-2hof5h.bunnyenv.com/

vote:

https://vote-2hof5h.bunnyenv.com/

(!) Bunnyshell could not create the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1.

(!) Bunnyshell could not create the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1.

Bunnyshell created the Environment base_env / feature/vote-red-blue-pill:main / PR-1-reopened (re) (1) for PR #1:

express-app:

https://express-app-j52sou.bunnyenv.com/

result:

https://result-j52sou.bunnyenv.com/

vote:

https://vote-j52sou.bunnyenv.com/

https://*.vote-j52sou.bunnyenv.com/

Bunnyshell created the Environment stage-138 / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1:

express-app:

https://express-app-iukbw6.bunnyenv.com/

result:

https://result-iukbw6.bunnyenv.com/

vote:

https://vote-iukbw6.bunnyenv.com/

https://*.vote-iukbw6.bunnyenv.com/

(!) Bunnyshell could not create the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1.

Bunnyshell created the Environment base_env / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1:

express-app:

https://express-app-35jiyj.bunnyenv.com/

result:

https://result-35jiyj.bunnyenv.com/

vote:

https://vote-35jiyj.bunnyenv.com/

https://*.vote-35jiyj.bunnyenv.com/

Bunnyshell created the Environment stage-140 / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1:

express-app:

https://express-app-kyg3rk.bunnyenv.com/

result:

https://result-kyg3rk.bunnyenv.com/

vote:

https://vote-kyg3rk.bunnyenv.com/

https://*.vote-kyg3rk.bunnyenv.com/

Bunnyshell created the Environment stage-139 / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1:

express-app:

https://express-app-nczwjm.bunnyenv.com/

result:

https://result-nczwjm.bunnyenv.com/

vote:

https://vote-nczwjm.bunnyenv.com/

https://*.vote-nczwjm.bunnyenv.com/

(!) Bunnyshell could not create the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1.

(!) Bunnyshell could not create the Environment stage-142-depends / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1.

Bunnyshell created the Environment stage-140 / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1:

express-app:

https://express-app-bdtbgn.bunnyenv.com/

result:

https://result-bdtbgn.bunnyenv.com/

vote:

https://vote-bdtbgn.bunnyenv.com/

https://*.vote-bdtbgn.bunnyenv.com/

Bunnyshell created the Environment stage-141 / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1:

express-app:

https://express-app-z5ck5j.bunnyenv.com/

result:

https://result-z5ck5j.bunnyenv.com/

vote:

https://vote-z5ck5j.bunnyenv.com/

https://*.vote-z5ck5j.bunnyenv.com/

Bunnyshell created the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1:

express-app:

https://express-app-oncrbt.bunnyenv.com/

result:

https://result-oncrbt.bunnyenv.com/

vote:

https://vote-oncrbt.bunnyenv.com/

https://*.vote-oncrbt.bunnyenv.com/

Bunnyshell created the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1:

result:

https://result-yhahv7.bunnyenv.com/

vote:

https://vote-yhahv7.bunnyenv.com/

https://*.vote-yhahv7.bunnyenv.com/

Bunnyshell created the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (1) for PR #1:

result:

https://result-5gnftv.bunnyenv.com/

vote:

https://vote-5gnftv.bunnyenv.com/

https://*.vote-5gnftv.bunnyenv.com/

(!) Bunnyshell could not create the Environment native-2-job-and-generic / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1.

(!) Bunnyshell could not create the Environment native-2-job-and-generic / feature/vote-red-blue-pill:main / PR-1-reopened (re) (1) for PR #1.

(!) Bunnyshell could not create the Environment native-2-job-and-generic / feature/vote-red-blue-pill:main / PR-1-reopened (re) (2) for PR #1.

(!) Bunnyshell could not create the Environment native-2-job-and-generic / feature/vote-red-blue-pill:main / PR-1-reopened (re) (3) for PR #1.

(!) Bunnyshell could not create the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (2) for PR #1.

(!) Bunnyshell could not create the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (3) for PR #1.

(!) Bunnyshell could not create the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (4) for PR #1.

(!) Bunnyshell could not create the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (5) for PR #1.

(!) Bunnyshell could not create the Environment native-2-job-and-generic / feature/vote-red-blue-pill:main / PR-1-reopened (re) (4) for PR #1.

(!) Bunnyshell could not create the Environment native-2-job-and-generic / feature/vote-red-blue-pill:main / PR-1-reopened (re) (5) for PR #1.

(!) Bunnyshell could not create the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (6) for PR #1.

(!) Bunnyshell could not create the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (7) for PR #1.

(!) Bunnyshell could not create the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1.

(!) Bunnyshell could not create the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (8) for PR #1.

(!) Bunnyshell could not create the Environment native-2-job-and-generic / feature/vote-red-blue-pill:main / PR-1-reopened (re) (6) for PR #1.

(!) Bunnyshell could not create the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (10) for PR #1.

(!) Bunnyshell could not create the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (1) for PR #1.

(!) Bunnyshell could not create the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (9) for PR #1.

(!) Bunnyshell could not create the Environment manual-test-3 / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1.

(!) Bunnyshell could not create the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (11) for PR #1.

Bunnyshell created the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1:

result:

https://result-besonr.bunnyenv.com/

vote:

https://vote-besonr.bunnyenv.com/

https://*.vote-besonr.bunnyenv.com/

(!) Bunnyshell could not create the Environment manual-test-3 / feature/vote-red-blue-pill:main / PR-1-reopened (re) (1) for PR #1.

(!) Bunnyshell could not create the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (3) for PR #1.

Bunnyshell created the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (1) for PR #1:

result:

https://result-444d4u.bunnyenv.com/

vote:

https://vote-444d4u.bunnyenv.com/

https://*.vote-444d4u.bunnyenv.com/

(!) Bunnyshell could not create the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (4) for PR #1.

(!) Bunnyshell could not create the Environment manual-test-3 / feature/vote-red-blue-pill:main / PR-1-reopened (re) (2) for PR #1.

(!) Bunnyshell could not create the Environment base / feature/vote-red-blue-pill:main / PR-1-reopened (re) (5) for PR #1.

(!) Bunnyshell could not create the Environment manual-test-3 / feature/vote-red-blue-pill:main / PR-1-reopened (re) (3) for PR #1.

(!) Bunnyshell could not create the Environment manual-test-4 / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1.

(!) Bunnyshell could not create the Environment base-3 / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1.

(!) Bunnyshell could not create the Environment Copy of base-4 / feature/vote-red-blue-pill:main / PR-1-reopened (re) for PR #1.

:x: Preview Environment is deleting from Bunnyshell...
See: Environment Details | Pipeline Logs

:x: Preview Environment is deleting from Bunnyshell...
See: Environment Details | Pipeline Logs

:x: Preview Environment is deleting from Bunnyshell...
See: Environment Details | Pipeline Logs

:x: Preview Environment is deleting from Bunnyshell...
See: Environment Details | Pipeline Logs

:x: Preview Environment is deleting from Bunnyshell...
See: Environment Details | Pipeline Logs

:x: Preview Environment is deleting from Bunnyshell...
See: Environment Details | Pipeline Logs

:x: Preview Environment is deleting from Bunnyshell...
See: Environment Details | Pipeline Logs

:x: Preview Environment is deleting from Bunnyshell...
See: Environment Details | Pipeline Logs

:x: Preview Environment is deleting from Bunnyshell...
See: Environment Details | Pipeline Logs

:x: Preview Environment is deleting from Bunnyshell...
See: Environment Details | Pipeline Logs

:x: Preview Environment is deleting from Bunnyshell...
See: Environment Details | Pipeline Logs


System unavailable: Docker daemon not running on test-aws-rhel8-x64-1

https://ci.adoptium.net/job/Grinder/11524/console
15:11:21  Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
15:11:21  docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.

Docker service restarted, suspect a kernel update may have caused the service to be stopped.


Investigate ocs-monkey tool and see if we can leverage it for storage testing

Investigate https://github.com/JohnStrunk/ocs-monkey and see if we can leverage it for storage testing. Had a discussion with Badre Tejado-Imam about this tool, and was told from developers that it can be extended beyond storage testing

Very interesting!


[Raffle] Begin development on reaction-based raffles

Start work on reaction-based raffles that implement the 13 pre-existing conditions used for complex raffles. Yes - I only intended for the cog to be command-based, but hey - people can never be happy :P

I'd worked out that I actually won't have enough time and effort to implement this feature. I have a busy year ahead and there's some stuff that takes priority during my summer break - and I certainly don't want to be spending more time on this because quite frankly, its very dull lol. Apologies for anyone looking forward to this change, but it won't be happening. The changes to intents have also thrown me off from making large changes to cogs


Implement config file

Add --config option to specify a config file,
otherwise looks for a config.civet, .civetconfig, or civet.json file in the current directory and all parent directories. If found, it is loaded and used to override the default options.
config.civet and .civetconfig get compiled & run, but can't import other civet files.

export defaults the config object

civet.json is just parsed as json

On the topic of config naming: I don't like that config.civet and ``civet.jsonhave such different basenames. I feel like that's nonstandard? Maybecivetconfig.{civet,json}would be better, with or without.prefix? It is a bit redundant though, so I'm willing to be overruled/counterargued here. (Maybe we should support _both_civetconfig.civetandconfig.civet`...)

Yeah, some people have file extensions hidden as well. I'm up for adding civetconfig.{civet,json}, it also fits well with the tsconfig.json that will likely be next to it.

Also, there's a movement to allow configuration files in .config subdirectories of the project root, so we should ideally support that too. See e.g. https://github.com/cosmiconfig/cosmiconfig (I also heard about it on the SyntaxFM podcast)

Sounds cool, adding it!

including a tsconfig inside a civetconfig, or having LSP- or CLI-specific configuration

I feel like having both typescript and civet in the same codebase will be decently common.
For LSP/CLI-specific configuration, I'm thinking we could load the config file with process.env.LSP="true"?
lsp := process.env.LSP?
export default {
  js: !lsp
}

Thanks for the contribution!
Looks pretty good overall and I think we can merge this soon.
One thing I'd like is a --no-config option that prevents auto-loading the config file so that we don't have to specify an empty config to avoid scanning for many non-existent files.
That option should also be used in build.sh to keep the build scripts that use civet as fast as possible.

One thing I'd like is a --no-config option that prevents auto-loading the config file so that we don't have to specify an empty config to avoid scanning for many non-existent files.
That option should also be used in build.sh to keep the build scripts that use civet as fast as possible.

Done 👍


Wanna have a document

I wanna write adapter for other IM application, but the code structure is too complex to understand.
is any document or mvp demo to learn?

Sorry to hear you say that. Full documentation may be months away.
The code you can refer to currently depends largely on the platform you want to connect with. If you can provide more information I can give you specific advice.

I check much exist code which under adapters as my startup repo, and those all too complex, i cannot read it without document. What's more, there are so many packages with internal connections
Finally i found the mail is simple enough, i have some idea to start my work.

and still wanna have a document, because i have to guess much infomation
and i dont know what is the best practices to test a adapter(I am working in koishi)


fix: batcher payment service atomic deploy and init

Description

This PR fixes the issue where
a
malicious
actor
could
front‐run
the
initialization
of the BatcherPaymentService
to claim
control
of
the
newly
deployed
contract.

To Test

Make sure everything is working correctly.

The explorer is not being able to read the batches. Is anyone else having this problem?


Enable SORSE20 Repo on CircleCI

[ ] #53 closed
[ ] SORSE20 enabled on CircleCI

Didn't I already add this?

https://github.com/DE-RSE/SORSE20/blob/master/.circleci/config.yml

sure. but when we transfer this repo to the RSE-leaders organization, we have to enable the builds for it (it's not about adding the config.yml)

Understood! Don't mind me, just getting on board with the plan :)


🐞 Trace View / Timeline doesn't scroll to span when clicking on a specific span

Describe the Bug
In Trace View when clicking on a specific span the timeline doesn't scroll to the specific span

Steps To Reproduce

Go to Trace View
Click on a specific span that is not visible on the current size of the timeline
Timeline doesn't scroll to the specific span

Expected Behavior
On clicking on a span that is not visible on the current timeline size - it should be scrolled to the span in the timeline

Tasks

[ ] Investigate
[ ] Fix

Environment:

Infrastructure: laptop
Browser: safari
OS: iOS

Does not reproduce


Form requires updating all fields when empty

When trying to update the bio, pronouns, and URL for a workspace, I receive a validation error when I haven’t filled out everything.
I would like to be able to update each bit individually and not be forced to fill out all at once. The same happens when trying to update my email address without changing my password.

Ah this happens because of the form validation - not because of the mutations! Working on it now.


OLED working, but only lights up when LED flashes

Hi there. I try my best but I have no luck left this year...
I am confused with my OLED Display 1,3" (SH1106) - I bought this one and I'm using this D1 Mini NodeMcu ESP8266.
I Tried a lot of different PIN-Connections instead the original D2/D5 - really! I tried so much options.
The end of all tries? The OLED Lights up only when the LED is flashing (like trough reloading the Website)
I also tried to set "externalLight = LED_BUILTIN" to "externalLight = D4" and
connected SDA = D2, SCL = D1. I also set the "USE_FLASH" to false,,,
Y D4? D4 because here I read the LED is connected with D4...
Result: OLED only lights up when LED flashing...
The OLED Works fine at boot (LED is on during boot), it shows a few messages... after the IP Adress it turns dark and lights only at LED flashing. If I Disconnect SDA or/and SCL it lights up... I have to connect the 2 lines again to get a "updated" display... What can I do now? Should I light up the LED all time? I think that's not the option...
please help me -.-

Sorry! I have this Issue not here, this Issue has to be moved to the German fork...


Feature Request: dynamic target discovery via URL

What did you do?
N/A
What did you expect to see?
N/A
What did you see instead? Under which circumstances?
N/A
Environment

System information:
  N/A

Prometheus version:
1.8.0

Alertmanager version:
  N/A

Prometheus configuration file:
 N/A

Logs:
N/A

It seems https://prometheus.io/blog/2015/06/01/advanced-service-discovery/#custom-service-discovery is the only way to dynamically discover targets. This is a feature request for the ability to point to a URL that returns a list of the desired prometheus targets. For example:
scrape_configs:
    target_source:
        prometheus-discovery.myurl.com

And prometheus-discovery.myurl.com would return a JSON list of targets to be added.

You can write a small cronjob with curl to dump that file to disk.

Thank you, I'm familiar with that solution. Seems it should be mentioned in the docs, outside of the blog though.
Also, would you not be open to this feature as a PR? In certain cases (e.g. kubernetes) you have to mount a shared volume to accomplish this, which seems like overkill given I would expect this to be a fairly common request.

@brian-brazil what if, for company policy, you have no access to the prometheus server to colocate something there? wouldn't an HTTP listener be a better fit for a modern tool that monitors distributed systems?

I appreciate that many companies have bad policies, but what you should look at is fixing the policy. In this case you probably to talk to the provider of the shared Prometheus service and ask why they aren't already hooking into your company's standard SD mechanism (whatever that is), as that's core functionality of a shared Prometheus service.
We can't offer solutions to every company's self-inflicted problems, and this form of argument has little weight as it can be used for anything. We have to presume a reasonably standard Unix environment, otherwise things get weird and over-complicated fast.

It's clear we disagree on this. Probably my fault for being unable to explain the breadth of the problem.
Now, if you'll excuse me, I'll go look for the magic wand that can fix all bad policies.

Ran across this and don't get why it was so negatively received, The basic premise seems like a good one, instead of local file for target list, a remote url, why should someone have to write a curl script to grab an api, instead of just adding a function to allow direct requests to a api. Hell, it doesn't even have to be json, it could literally be a URL to a standard <file_sd_config> ... Just if it starts with http/https Prometheus grabs the file from the url instead of from local disk.
This would allow cool things like say librenms/nagios/pandora, or other NMS systems to provide an export of devices by OS, and Prometheus to set up a target selection that polls a third party NMS for the latest list of devices to poll, and the NMS handles snmp discovery.
Having to write a 3rd party script just to grab a file_sd_config from remote and save it locally every X minutes while easy, seems like an extra step vs just allowing for remote grabs as part of file_sd_config.

See also https://groups.google.com/d/msg/prometheus-developers/JcE5nSbCe4k/bYSUc8atAAAJ


feat(plugin-react): optionally specify a different set of Babel plugins in SSR

Description
This PR adds an ssrPlugins options to plugin-react that overrides the babel.plugins option for SSR because sometimes different transforms are needed in the browser than on the server.

What is the purpose of this pull request?

[ ] Bug fix
[x] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

Any reason for making it ssrPlugins and not babel.ssrPlugins? And what about ssrPresets?

Alternatively, we could do an ssrOverrides option whose value is a Babel config object.

Any reason for making it ssrPlugins and not babel.ssrPlugins? And what about ssrPresets?

Because babel was passed to Babel directly, this seemed less intrusive. But:

Alternatively, we could do an ssrOverrides option whose value is a Babel config object.

This is probably the way to go. I'll update my branch at the first opportunity.

@cyco130 couldn't this be done with conditional config? It doesn't seem scalable to add ssrXXX for each option.

@patak-dev it would work for build but not in dev. The idea is to be able to use different transforms when transform(code, id, options) is called with options.ssr == true even in dev.
BTW I noticed the new plugin.api.reactBabel API requires some more thinking. I had the idea to allow opt.babel to be a function to be called with id and options to open up even more possibilities at the expense of recreating the config for every file. Would that make sense?

I had the idea to allow opt.babel to be a function to be called with id and options

I like this direction!

@aleclarson Updated to implement that idea.

Hmm, maybe it would be a best to pass id and options to plugin.api.reactBabel too? The if (typeof opts.babel !== "function") optimization won't work then.

This makes a lot more sense to me now. Isn't it too much to redo the babel plugins on each transform call? It seems inefficient. For the original use case, wouldn't a set of plugins that are computed once be enough? (like it was before being a function?).
I think we should properly justify having it on transform instead of being a one-off. Almost everything in Vite is configured once, and then filters (include/exclude).

Even before, Babel would resolve the plugins on every transformation, so the performance impact here is negligible.

For the original use case, wouldn't a set of plugins that are computed once be enough? (like it was before being a function?)

The Babel options object is cached in the staticBabelOptions variable if no api.reactBabel hooks exist and the babel plugin option is not a function, so the original use case works almost exactly like before, with the exception that now we can't safely reuse the Babel options if api.reactBabel hooks exist, because they might be using the new ssr and/or file properties exposed to them.

We got another +1 to merge this in today's team meeting. @cyco130 we can move forward once the tests are green 👍🏼

I've fixed the related test but I don't quite understand the (probably unrelated) failing IIFE tests on MacOS. I'd appreciate some help with it :)

I've fixed the related test but I don't quite understand the (probably unrelated) failing IIFE tests on MacOS. I'd appreciate some help with it :)

That was a glitch in Vite's CI, sorry about that


A request to add SwiftBlock as a third-party hosts manager in README

SwiftBlock is a free and open source hosts based ad,malware and tracker blocker written in PyQt6 and Python. It ships with unified hosts file from this repository, AdAway default blocklist and  Peter Lowe's hosts by default. Additional hosts file sources can be added as per needs.
SwiftBlock is available as a pypi package for Linux, Windows, Mac OS and FreeBSD (Note: MacOS and FreeBSD platform support has been added,but not tested).
Features:

Custom sources(You can easily add custom sources of hosts files)
Custom Rules(You can manually redirect,allow or block specific hostnames)
Easy access(Swift-Block will create a launcher/start menu shortcut on first run)

Caveats:

Slightly complicated installation procedure for Windows Users(DNS Client service needs to be disabled)
Single Threaded
Requires running pip as root/superuser for installation

Hi @XploreInfinity thank you for your question and request.
I would entertain a pull request for that.
You're aware that our list already includes adaway.org and pgl.yoyo.org lists, yes?
I don't think appropriating the swift.org is a good idea.  You don't need a logo, and you certainly don't need that logo.  That's my take 🤷🏻

I would entertain a pull request for that.

Thank you very much. I will create one soon :)

You're aware that our list already includes adaway.org and pgl.yoyo.org lists, yes?

Yes, however, since the project was inspired from Adaway, SwiftBlock by default comes with the hosts sources that Adaway ships with.

I don't think appropriating the swift.org is a good idea. You don't need a logo, and you certainly don't need that logo. That's my take 🤷🏻

You're probably right. However I do need a logo since swift-block is a GUI software(I'll need an app icon). I recently found out that Swift doesn't provide much freedom to use their logo outside of material relating to Swift. I will be replacing Swift's logo as soon as I find a viable replacement...

I apologize. I should have been more specific. Yes, I did make a mistake when I decided to use Swift's logo. And I am being unjust by continuing to use it. I can't immediately redact it, though.
That's because doing so will break SwiftBlock, leaving anyone who decided to use it, confused. I can immediately replace it with a stub and add a new logo when I find one, but it is less complicated (both for me and the users) to switch directly to another logo which suits the application's needs.  When I said  'as soon as I find a viable replacement' I actually meant 2-3 days that I would require to find a new logo,test and push out an update for swiftblock.
I hope this clears things up. If you still consider my thought process irrational, I respect your decision to decline my request.


New DDS_NO_DUMP_ON_ERROR flag to skip dump.txt generation

It's not always useful to produce these files, so allow disabling their generation at compile time. This is a NO flag to avoid changing default behaviour.

Thanks


Test results are reported incorrectly in some cases

Brief Issue Summary
When running the tests via the Test explorer some tests are marked as failed even though the output clearly states that, that all tests passed.
The tests are created using Catch2 and are made available to ctest via catch_discover_tests
CMake Tools Diagnostics
{
	"os": "linux",
	"vscodeVersion": "1.77.0-insider",
	"cmtVersion": "1.14.20",
	"configurations": [
	  {
		"folder": "[REDACTED]",
		"cmakeVersion": "3.16.3",
		"configured": true,
		"generator": "Unix Makefiles",
		"usesPresets": false,
		"compilers": {
		  "C": "/usr/bin/gcc",
		  "CXX": "/usr/bin/g++"
		}
	  },
	  {
		"folder": "[REDACTED]",
		"cmakeVersion": "unknown",
		"configured": false,
		"generator": "unknown",
		"usesPresets": false,
		"compilers": {}
	  }
	],
	"cpptoolsIntegration": {
	  "isReady": true,
	  "hasCodeModel": true,
	  "activeBuildType": "Debug",
	  "buildTypesSeen": [
		"Debug"
	  ],
	  "requests": [
		"file:///[REDACTED]",
		"file:///[REDACTED]",
		"file:///[REDACTED]",
		"file:///[REDACTED]",
		"file:///[REDACTED]"
	  ],
	  "responses": [
		{
		  "uri": "file:///[REDACTED]",
		  "configuration": {
			"includePath": [
			  "/usr/include/eigen3",
			  "[REDACTED]",
			  "[REDACTED]",
			  "[REDACTED]",
			  "[REDACTED]"
			],
			"defines": [],
			"compilerPath": "/usr/bin/g++",
			"compilerArgs": [],
			"compilerFragments": [
			  "-g  ",
			  "-std=gnu++11"
			]
		  }
		},
		{
		  "uri": "file:///[REDACTED]",
		  "configuration": {
			"includePath": [
			  "/usr/include/eigen3",
			  "[REDACTED]",
			  "[REDACTED]",
			  "[REDACTED]",
			  "[REDACTED]"
			],
			"defines": [],
			"compilerPath": "/usr/bin/g++",
			"compilerArgs": [],
			"compilerFragments": [
			  "-g  ",
			  "-std=gnu++11"
			]
		  }
		},
		{
		  "uri": "file:///[REDACTED]",
		  "configuration": {
			"includePath": [
			  "/usr/include/eigen3",
			  "[REDACTED]",
			  "[REDACTED]",
			  "[REDACTED]"
			],
			"defines": [],
			"compilerPath": "/usr/bin/g++",
			"compilerArgs": [],
			"compilerFragments": [
			  "-g  ",
			  "-std=gnu++11"
			]
		  }
		},
		{
		  "uri": "file:///[REDACTED]",
		  "configuration": {
			"includePath": [
			  "/usr/include/eigen3",
			  "[REDACTED]",
			  "[REDACTED]",
			  "[REDACTED]",
			  "[REDACTED]"
			],
			"defines": [],
			"compilerPath": "/usr/bin/g++",
			"compilerArgs": [],
			"compilerFragments": [
			  "-g  ",
			  "-std=gnu++14"
			]
		  }
		}
	  ],
	  "partialMatches": [],
	  "targetCount": 42,
	  "executablesCount": 7,
	  "librariesCount": 6,
	  "targets": []
	},
	"settings": [
	  {
		"communicationMode": "automatic",
		"useCMakePresets": "auto",
		"configureOnOpen": true
	  },
	  {
		"communicationMode": "automatic",
		"useCMakePresets": "auto",
		"configureOnOpen": null
	  }
	]
  }

Debug Log
No response
Additional Information
I suspect the issue is realted to similar namings of two tests. One test is named getPosition and the other is named Spline: getPosition.
The one falsly reported as failed it the getPosition. This is also the only test, which actually runs two tests (the both mentioned aboth), when run. All other tests run on their own.
When changing the name to getTestPosition all tests are reported with the correct result.

@xisui-MSFT

CTest -R is a regex match, and I kind of forgot this after writing the command arguments. I'll add line start and end to the regex.

@benmcmorran : I now have cmtVersion 1.14.21. Would this be the version matching #3084? (I do not see where the version numbers change). I am asking, because the behavior is still the same and the test is reported as failed.

The fix should be in version 1.14.22. We publish pre-release builds nightly, so you probably just missed getting the new build last night.

Tested today with 1.14.22. I do see the new regex-Expressions in the test calls. And now its indeed always only one test, which runs in an individual call. However, the tests are still reported as failed, even though, the output states that they ran successfully.
I will try to find some time to set up a test repo to reproduce this behavior.

I am puzzled. I built a test repo this morning. And it worked fine. So I checked with the original workspace, which also worked fine. Switching back and forth between Version 1.14.21, .22 and .23 it always worked with 1.14.22 and .23 - both with WSL and under Windows. I have no idea why it was not working yesterday.
My apologies.


waifu2x-converter-cpp: 5.2.4 -> 5.3.3, add OpenCL support

Motivation for this change
Currently, waifu2x-converter-cpp only supports GPGPU with nvidia cards (via CUDA). This PR adds support for Intel and AMD GPUs by adding ocl-icd to the library path. This PR also updates waifu2x-converter-cpp to version 5.3.3 (which requires ocl-icd at build time), because version 5.2.4 tries to place the OpenCL device binary into the nix store at runtime (and fails since it is read only).
I tested it on an i5-4300U’s integrated GPU (via beignet) and on an AMD RX480 (via rocm).
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

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

Result of nixpkgs-review pr 100860 run on x86_64-linux 1

1 package built:

waifu2x-converter-cpp


Make sure we are tracking the dask/coiled version in the quickstart notebook

This is causing issues when new version are released that are backwards incompatible

At&t.net patch

Redtube.com patch<PHONE_NUMBER>5.png

Xfinity is linked to<EMAIL_ADDRESS>


Terminal file links do not recognize the line number

Hi, similar to this issue https://github.com/microsoft/vscode/issues/171880 but in my case the line numbers are within parenthesis and are not recognized.

Current behavior: The file is recognized and I can click on it to open it but will not consider the linenumber
Expected behavior: When the file is opened after click, it takes me to the right line number

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.82.2 <-- LATEST
OS Version: Win 10

Steps to Reproduce:

Have a cpp file with some syntax error
Compile that cpp file with FastBuild

Note: reopening this issue https://github.com/microsoft/vscode/issues/192457 after updating to latest version and verifying the bug is still there.

@eldiegocvl any more info on reproducing this?

Do you get an underline when you hover it without holding ctrl? Is there something special about the path, like is it a remote mounted path or using symlinks?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

Yes there is an underline on hover.
No special paths, no mounted path, no symlinks.

I notice 2 cases:

On hover the entire line is underlined including the text to the right of the line number, and on click it takes me to a random line

On hover only the filepath and number are underlined (not including text to the right of line number), and on click it works fine

I also noticed that the filepath slashes are forward slashes in normal prints and backward slashes in error prints, not sure if that is relevant so mentioning just in case.

I think I can reproduce:

This is only on the prompt line of echo "C:\Github\microsoft\vscode\README.md(10): error C2891: 'Blah': Illegal blah", the line with (5) works fine.
It's weird that it happens sometimes but not others.

Pretty hard to reproduce consistently

On Windows sometimes weird stuff happens with line wrapping due to pty emulation, when the line is wrapped, it ends up matching this regex for an eslint-style multi-line link:
https://github.com/microsoft/vscode/blob/0f02245dc07a498b9118d89a2df7a538378004da/src/vs/workbench/contrib/terminalContrib/links/browser/terminalMultiLineLinkDetector.ts#L28-L37

Ok got the repro:

Open pwsh
Run echo C:\Github\microsoft\vscode\README.md (or some other file that exists)
Run PS C:\Github\microsoft\vscode> echo "C:\Github\microsoft\vscode\README.md(10): error C2891: 'Blah': Illegal blah"

This makes the upwards scan succeed as it found C:\Github\microsoft\vscode\README.md which matches eslint's link format.


Bad presenting empty blockquote (">")

If I type ">" into textbox and send to the zulip, zulip has problems with present this properly.
It could be solved by add:
display: inline-block;
to css class:
message_content
Before change:

After change:

Nice find!  I'm not sure what the best fix for this is (whether it's something in the markdown parser or the display code).  Since the result in an empty message, it might be the case we want to reject these like we do messages with no content in them.

In my opinion it should be fixed in both: display code and markdown parser. Markdown parser could return ">" (without parsing) or reject this message.

This issue was fixed by 83f563aeff2358ba159b2349ab39382450e376a9, it should be closed.
@timabbott

Agreed, closed, thanks @PentaHiggs!


Bipartite Graph

Given an adjacency list of a graph adjacent  of V no. of vertices having 0 based index. Check whether the graph is bipartite or not.
This is GFG problem.
please Assign me under LGM SOC. I will be doing in c++ language.
Programming language

[ ] C
[ ] C++
[ ] Java
[ ] Python

I would love to provide my solution to this problem under LGMSOC'21 in python @Amit366 @Ayush7614 @Saurabh4626

you can WORK ON IN @19bce502

@ravikr126 , @Ayush7614
I'd like to work on this issue in java language. Under LGMSOC21 label.
Adjacency List is used for graph , Time Complexity : O(V+E) where V is vertices and E is edges in the graph.


OodleHelper.Runtime Error

hi soreepeong. can you check on this error? i tried to run your script on my cloud vps.

ive already installed all gcc,g++
have the latest ffxiv.exe on root directory

Try replacing "c++20" to "c++2a" in the script. Both works on my arch box, and not sure why would it reject c++20 and suggest c++2a instead, but yeah.

hello. thank you for the quick response
ive already tried that before but got this results instead.

hello there again.
its working now by trying to create new 22.04 imageof ubuntu and script flawlessly run there.
but my current cloud-vps im afraid i cant upgrade it to 22.04 as it might break some of my currently running services there.
maybe you have some workarounds regarding this compiler errors?

UPDATE: i finally made it work on my version 20.04 of ubuntu
I removed g++ and installed g++-10,g++-10-multilib instead.
I also edited the script to use g++-10 instead of g++(which is version9 and doest support std:span)

hello. and im back again with another problem xD
currently, im using my vps as forward proxy server. im using proxifier to send my game traffics to the vps(proxy server).
this is my best option with regards to gaming as i dont want to use VPN and it helps me on alot of other mmorpg games
now upon checking the script, and how it works, (correct me if im wrong) it PREROUTES incoming traffic to the scripts random socket and then routes it back to the internet.
with my vps setup, the server itself is the incoming traffic since he is acting as a proxy to forward requests to the game server.
and PREROUTING table will surely not work (also tried). I tried replacing PREROUTING to OUTPUT on the script, but the script just went on loop because im just REDIRECTING traffic endlessly on my vps.
tldr: how can i just make the script work without touching the iptables? do you have source python script that works on linux just like how it works on windows?


Question about phone system license

https://docs.microsoft.com/en-us/microsoftteams/here-s-what-you-get-with-phone-system
For cloud voicemail, the doc says "Note that users do not need a Phone System license, nor do they need to be voice enabled to use Cloud Voicemail features."
For call transfer, the doc says "Note that users do not need to be voice enabled to receive transferred calls from another user."
So for user who need receive transferred calls still need Phone System license?
Are "voice enabled" and "Phone System license" same thing or different thing?

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

ID: 6cfead3c-b0d8-c22a-aa22-63e79fe53ed3
Version Independent ID: 10745875-3d3e-42bb-e324-ff4c83968ccf
Content: Here's what you get with Teams Phone - Microsoft Teams
Content Source: Teams/here-s-what-you-get-with-phone-system.md
Service: msteams
GitHub Login: @CarolynRowe
Microsoft Alias: crowe

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


create xcframework

I create xcframework with pod dependencies alamofire. I'd like to build in device and simulator. Is it possible to create xcframework alamofire ?

Hey. I have a repo for creating xcframework from spm package. You can use it to create xcframework for alamofire

You can create an xcframework using any number of tutorials online. While Alamofire will work fine with binary xcframeworks, it does not support a stable ABI, so you will need to be cautious when swapping versions of the framework without rebuilding your entire app.

Hey. I have a repo for creating xcframework from spm package. You can use it to create xcframework for alamofire. https://github.com/mstfy/spm-to-xcframework

Hello, I have replied after a long time but I tried to follow all instructions but when I run command ./spm-to-xcframework in command line returns me no command found ./. could you have any ideas?

Please give me more instructions please

Hey @dimimall
First you need to compile spm-to-xcframework. Clone it and run swift build -c release command inside the package. This will compile spm-to-xcframework package and produce binary spm-to-xcframework inside .build/release folder.
After that create a sample swift package and add alamofire as dependency to it. Then copy spm-to-xcframework from .build/release folder to the sample package's directory. Then run the command:
./spm-to-xcframework SamplePackageName --enable-library-evolution
This command will produce Alamofire.xcframework inside Build/xcframeworks folder.

Hey @dimimall
First you need to compile spm-to-xcframework. Clone it and run swift build -c release command inside the package. This will compile spm-to-xcframework package and produce binary spm-to-xcframework inside .build/release folder.
After that create a sample swift package and add alamofire as dependency to it. Then copy spm-to-xcframework from .build/release folder to the sample package's directory. Then run the command: ./spm-to-xcframework SamplePackageName --enable-library-evolution
This command will produce Alamofire.xcframework inside Build/xcframeworks folder.

copy spm.to.xcframeowrk exec file from spm.to.xcframeowrk to my project. This project is a sample project I install Alamofire in podfile. Is it right ? spm.to.xcframeowrk exec file is a binary that we need ?
Thank you in advance

Run ./spm-to-xcframework SamplePackageName --enable-library-evolution create Build/xcframeworks folder and it is empty. I am sorry for asking more details. But it will be useful for everyone here.
Thanks


Improved testing

The current testing involves 2 parts: a) verify the Zod schema is working (test/options.test.ts), and b) make sure the plugin actually runs and generates the icons  (tests). Testing that the icons appear and that all of the options are applied as intended is completely guess-and-check right now and things sometimes get past me (https://github.com/uncenter/eleventy-plugin-icons/commit/f07812cbf327d34989312fd05cc18a686347e634).

[x] #6
[ ] Create tests in test/*.test.ts using the functions directly
[x] #5
[ ] Keep some sort of testing to ensure the plugin can be properly added to 11ty

Closed by https://github.com/uncenter/eleventy-plugin-icons/commit/37c64b99aef699853fde881c1a7f0742b56252b6.


Support for Go codebase

I love those kind of visualizations.
Do you plan support on Go codebase?
Do you know if it could be somewhat trivial if somebody jumps in your codebase?

Even though I could use it myself, I'm not planning on doing it because of the technical complexity it would involve.
In Golang, dependencies between files are not explicitly declared, you can use symbols from any file without importing it as long as everything happens within same package, so resolving file dependencies would require a full parsing of the Golang syntax and evaluate from there.

Do you know if it could be somewhat trivial if somebody jumps in your codebase?

Making language implementations is designed to be simple, but I think Golang would be one of the hardest implementations, so it would not be a newcomer-friendly task definitely

I understand it's non trivial but +1 to this request!

Support for go was just added and it's available in the 0.20.2 version, feel free to try it out and give feedback!

This version does not seem to be available through homebrew. I will try with python

It should be available through a homebrew tap (0.20.3 actually)
brew install gabotechs/taps/dep-tree

It will soon be present in the official homebrew repository, once https://github.com/Homebrew/homebrew-core/pull/174092 is merged


feat: Add BufferedStableWriter which aims to minimise system calls

Description
This adds a new stable memory writer called BufferedStableWriter which first buffers bytes in canister memory and only flushes those bytes to stable memory when the buffer becomes full.
Allocating additional memory and making system calls (stable_grow and stable_write) are both expensive operations, this writer minimises both.
How Has This Been Tested?
There are unit test which cover the new BufferedStableWriter and the existing StableWriter.
I have also tested this locally and have successfully performed a few canister upgrades, adding data between each upgrade.
Checklist:

[x] The title of this PR complies with Conventional Commits.
[ ] I have edited the CHANGELOG accordingly.
[ ] I have made corresponding changes to the documentation.

Given that this affects pre_upgrade we need to be sure that the code works properly.
We upgraded our OpenStorage canisters to make use of this earlier today.
We then did another upgrade a few hours later which will have ran the new pre_upgrade code.
Both of these upgrades worked fine.
So I think the unit tests + my manual local testing + the upgrades we have now run on OpenStorage provide enough proof that this code works.


A doubt in KTO _process_tokens

I have a code comprehension problem: train_dataset should be in the form of dict after processing the map with _tokenize（
prompt_input_ids=prompt_input_ids,
prompt_attention_mask=prompt_attention_mask,
answer_input_ids=answer_input_ids,
answer_attention_mask=answer_attention_mask,
）
How can I still access 'keys' like 'prompt' in the map of process_token? （ prompt = example["prompt"]
completion = example["completion"]）

Please don't use image when referring to code next time. Use permalink to code.

train_dataset should be in the form of dict after processing the map

No, map returns a Dataset instance (see datasets.map documentation). Unless you remove these columns (prompt, completion) from the dataset, they remain.

Thank you for your guidance. As a beginner, I am not yet proficient in grammar. Sorry.


ChatSDK.core().getUserForEntityID(user.getUid()) is removing Custom Meta Values from firebase

Is the bug present in the demo Chat SDK project?
No idea

What modifications have you made to the Chat SDK?
a lot but not in the affected module or its related functions

Android Version:
android 7, 8, 9, 10

Steps taken to reproduce the problem:
a) User A login from a device A, and update his Meta Values and add some Custom Values in his Meta Values i.e user_type, destination
b) Meta Values update successfully verified from firebase console
c) Then User A, try to get his User object from the device B, which don't have any cache data, when the data object is being fetched all of my custom meta values gets removed from the real-time database only the default chatsdk meta values remain

I am using
ChatSDK.core().getUserForEntityID(user.getUid()).doOnSuccess(user1 -> {....}).doOnError().doFinally().subscribe();
5. Expected result:
Return all meta values and don't delete the meta values when I try to fetch a user that is not cached in the device

Actual result:
if the user object is cached in local db then it doesn't remove my meta values but if it's not cached then custom meta values are being removed

Comments:

I can't reproduce this issue. I tried:
ChatSDK.hook().addHook(Hook.sync(data -> {
    User user = (User) ChatSDK.core().getUserForEntityID("kIEzhoNyNSSi9mVsneVXFa5BXKh1").subscribe(user1 -> {
        Logger.debug("Ok");
    }, throwable -> {
        Logger.debug("Fail");
    });
}), HookEvent.DidAuthenticate);

This function performed as expected. No data was deleted. It's probably related to your custom code.


Fully Resolve Dependencies for OpenAPI Schema Generation (Authorization example)

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
from functools import lru_cache

from fastapi import Depends, FastAPI, Request
from fastapi.security import OAuth2PasswordBearer
from pydantic import BaseSettings

class Settings(BaseSettings):
    token_url: str

@lru_cache()
def get_settings() -> Settings:
    return Settings()

app = FastAPI()

def get_oauth2_scheme(settings=Depends(get_settings)):
    return OAuth2PasswordBearer(tokenUrl=settings.token_url)

async def use_token(request: Request, oauth2_scheme=Depends(get_oauth2_scheme)):
    return await oauth2_scheme(request)

@app.get("/items/")
async def read_items(token: str = Depends(use_token)):
    return {"token": token}

Description

Run saved script, for example: TOKEN_URL="token" uvicorn tmp:app
Navigate to http://<IP_ADDRESS>:8000/docs
Notice there is no "Authorize" button in docs
Endpoint is protected, a request fails with a 401 error

Wanted Solution
The Dependency Injection system doesn't seem to be fully resolving these dependencies so it can auto-detect the authentication mechanism. It seems to only resolve first surface level dependencies. This seems to apply to any Depends()
objects for authorization, either in route definitions or route signatures.
Wanted Code
(The example/reproduction code working would be great, no extra syntax needed)

Alternatives
No response
Operating System
Linux
Operating System Details
No response
FastAPI Version
0.37.0
Python Version
3.9
Additional Context
Discussion in Discord here: https://discord.com/channels/772607987558252564/772631203689922562/942107142859673732
https://cdn.discordapp.com/attachments/772631203689922562/942107232315777094/unknown.png

Oh man I am deep in this debugger here seeing the dependencies tried to be resolved at:
https://github.com/tiangolo/fastapi/blob/master/fastapi/dependencies/utils.py#L321
By the stack trace it looks like it's tryin real hard!

This is related to https://github.com/tiangolo/fastapi/issues/3317

Since this is a bit of a duplicate, I'll close this and share my strategy:
I ended up subclassing the SecurityBase of my choosing. In my case it was APIKeyQuery and I wanted access to a Redis cache. Instead of configuring the authorizor via it's construction, __init__(), I ended up using Depends() in the __call__() method. Leveraging @lru_cache will hopefully keep it speedy enough. Thanks to BerteL on Discord for the help.

Thanks for reporting back and closing the issue 👍

Sorry for the long delay! 🙈  I wanted to personally address each issue/PR and they piled up through time, but now I'm checking each one in order.


updating debian control files, create-deb.sh and adding workflow file

I updated the create-deb.sh and its control files. Also added a workflow script that automatically builds a deb package on new versions.

Hey @kitingChris, sorry for a quite delayed reply. I have somehow missed this. Thanks for this great contribution!
I can merge this if you change the README to have us both as contributors 😁


[BUG] Cirque build failed

Reproduction steps
Noticed this while going through build failures: https://github.com/project-chip/connectedhomeip/actions/runs/5339819857/jobs/9678937869
Bug prevalence
Saw this once last night
GitHub hash of the SDK that was being used
509a55cb5d711fa0df339fe135f426190ea0b00d
Platform
other
Platform Version(s)
No response
Anything else?
No response

Who is the best to look at cirque issues?

ToT seems to be mostly green, I see https://github.com/project-chip/connectedhomeip/actions/runs/5401208349/jobs/9810691267 for example and no cirque failures for a while now.
I think we should prioritize depending on occurence count - going through cirque logs is reasonably time-consuming.

Haven't seen one since, closing.


Upgrade IISWebAppDeploymentOnMachineGroupV0 to NodeJS16

Task name: IISWebAppDeploymentOnMachineGroupV0
Description:

bumped task version
add node16 handler

Documentation changes required: N
Added unit tests: N
Checklist:

[x] Task version was bumped - please check instruction how to do it
[x] Checked that applied changes work as expected

/azp run