text:
🛑 sneak.page is down

In 7169431, sneak.page (https://sneak.page) was down:

HTTP code: 404
Response time: 107 ms

Resolved: sneak.page is back up in ed322a0 after 8 minutes.


text:
🛑 sneak.page is down

In 40d327f, sneak.page (https://sneak.page) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sneak.page is back up in 6e9a863 after 16 minutes.

source: gharchive/issue

repo: Crazy-Marvin/upptime

license: MIT

license_type: permissive

license_source: github-api


text:
🛑 sneak.page is down

In 87763e7, sneak.page (https://sneak.page) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sneak.page is back up in 20d83c2 after 8 minutes.


text:
🛑 sneak.page is down

In 0e4fd12, sneak.page (https://sneak.page) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sneak.page is back up in 36fa221 after 16 minutes.


text:
Store in DB

Hello! Thank you for this package, it is very usefull.
In my project I want to do this. "User One" logges in, put several items to the cart and loggs out. After a while he logges in again and sees items in his cart. I know than I may use store method, but I don't understand how, cause I have a "CartAlreadyStoredException". Where may I put code for this method?
My code for adding products:
public function addProductToCart(Request $request, $id)
    {
        if ($request->has('amount')){
            $amount = $request->amount;
        } else {
            $amount = 1;
        }

        $product = Product::find($id);

        Cart::instance('shopping')->add($id, $product->name, $amount, $product->price);

        if(Auth::check()){
            Cart::instance('shopping')->store(Auth::user()->id); //error!
        }

        return back();
    }

and for displaying:  (now it shows items that are in the session, but I want to swith between cart in the session for not auth users and between cart in the DB for auth users)
public function cart()
    {
        $cartItems = Cart::instance('shopping')->content();

        return view ('orders.cart', compact('cartItems'));
    }

To sum up, I need to use session when user is guest in and DB when user is logged in.
Once again, thanks for package. I hope someone can help me:)

I'm afraid you're using the 'store' method in another way than it's designed for. The idea is that you can 'store'  the cart for a later point in time, and 'restore'  it when the user wants it again.
It's not really designed to store the cart in the database 'realtime' so to say.

Thanks for your answer)
If someone has this problem, that's my suggestion. In logout method:
public function logout(Request $request)
    {
        Cart::instance('shopping')->restore(Auth::user()->id);
        Cart::instance('shopping')->store(Auth::user()->id);
        $this->guard()->logout();
        $request->session()->invalidate();
        return redirect(url()->previous());
    }

@humamalamin
If I am logged in I store data in the session.
My updated logout function
public function logout(Request $request)
    {
       //delete old cartitems
        DB::table('shoppingcart')->where([
                ['identifier', Auth::user()->id],
                ['instance', 'shopping']
            ])->delete();

        DB::table('shoppingcart')->where([
            ['identifier', Auth::user()->id],
            ['instance', 'wishlist']
        ])->delete();

        //save new cart items
        Cart::instance('shopping')->store(Auth::user()->id);
        Cart::instance('wishlist')->store(Auth::user()->id);

        $this->guard()->logout();
        $request->session()->invalidate(); //clear session data. cart became empty
        return redirect(something_url);
    }

When I'm logged in I combine data from DB (if it is exists) and data from the cart (if customer add smth already)
    public function login(Request $request)
    {
        /*
         * .....
         * checking validation and logging user in. if OK
         */

        // get cart from DB if it exists
        $storedCartItems = DB::table('shoppingcart')->where([
            ['identifier', Auth::user()->id],
            ['instance', 'shopping']
        ])->value('content');

        // get wishlist from DB if it exists
        $storedWishlistItems = DB::table('shoppingcart')->where([
            ['identifier', Auth::user()->id],
            ['instance', 'wishlist']
        ])->value('content');

        $storedCartItems = \unserialize($storedCartItems);

        $storedWishlistItems = \unserialize($storedWishlistItems);

        // check if count of each product in the store is more than in the cart and more than 0 (only for cart)
        if($storedCartItems){
            foreach ($storedCartItems as $item){
                Cart::instance('shopping')->add($item->id, $item->name, $item->qty, $item->price)->associate('App\Product');
                // if it passes, I'll add them to the cart in the session
                if (($item->model->qty > 0) & ($item->model->qty < $item->qty)){
                    Cart::instance('shopping')->update($item->rowId, $item->model->qty);
                // if it does not pass, I will not add them to the cart in the session
                } elseif ($item->model->qty == 0){
                    Cart::instance('shopping')->remove($item->rowId);
                }
            }
        }

        //add items from wishlist from DB to the wishlist items in the session
        if($storedWishlistItems){
            foreach ($storedWishlistItems as $item){
                Cart::instance('wishlist')->add($item->id, $item->name, $item->qty, $item->price)->associate('App\Product');
            }
        }

     // return redirect or smth else
    }

That works for me. Hope it can help you)

authors: Crinsane ellgibug

repo: Crinsane/LaravelShoppingcart

license: mit

license_source: bigquery


text:
Share dialog

Hi,
how can I show the share dialog before posting on Facebook?

You can create your own ui for sharing. We made it flexible so that you can create your own UX, instead of using fb default dialog.

authors: autosoftmultimedia rdelrosario

repo: CrossGeeks/FacebookClientPlugin


text:
[C-288] Create tooltips for severals terms in web app

Several users asked for explanations/defintions for different terms, including

"Active" members
Identities
Engagement level
Reach
Attributes

Solution: Create tooltips for those terms in the web app
From SyncLinear.com | C-288

@jonathimer @joanagmaia Is this issue still valid? If so, please can you provide more context.
@nu

Pinging @joanagmaia @nunoeufrasio again :)
Is this issue still valid? If so, please can you provide more context.

duplicate

authors: jonathimer peoray


text:
Bug Fix // Corrected Typo

Changes proposed ✍

Corrected typos — "coulnd't" ➡ "couldn't"

Added period to end of full sentences

Screenshots (front-end changes only)
- N/A

Checklist ✅

[X] Label appropriately with Feature, Enhancement, or Bug.
[N/A] Tests are passing
[N/A] New backend functionality has been unit-tested.
[N/A] Environment variables have been updated:

[N/A] Local frontend configuration: frontend/.env.dist.local, frontend/.env.dist.composed.
[N/A] Local backend: backend/.env.dist.local, backend/.env.dist.composed.
[N/A] Configuration docs have been updated.
[N/A] Team members only: update environment variables in override, staging and production env. files and trigger update config script.

[N/A] API documentation has been updated (if necessary) (see docs on API documentation).
[X] Quality standards are met.
[ ] All changes have been tested in a staging site.
[ ] All changes are working locally running crowd.dev's Docker local environment.

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

source: gharchive/pull-request

authors: CLAassistant erinmikailstaples


text:
code plz?

Could you provide the code of GroupIM, plz?
Thx!

Thanks for your interest in our work, the code will be released by the end of the month.

Thanks for your interest in our work, the code will be released by the end of the month.

Tomorrow is the end of this month😃

Thanks for the reminder, the code is up now!

repo: CrowdDynamicsLab/GroupIM


text:
Fix Out of range errors in Data+String.swift

Hi I love the library and use it in my podcast app HyperCatcher! I ran into what looks like an out of range error on this mp3 file: https://api.substack.com/feed/podcast/135258128/8ebf19eff23e3b34077912c5ff4f40b5.mp3
From this podcast feed:
https://www.latent.space/feed

This PR is the fix I implemented in my app

Ah - nice catch. I'm not in a position to test this just at the minute.
Just looking over it - the .single changes look good, but I'm not sure what the changes inside the .double case achieve exactly? Is it changing it to look forward instead of backwards?

Ah - nice catch. I'm not in a position to test this just at the minute.
Just looking over it - the .single changes look good, but I'm not sure what the changes inside the .double case achieve exactly? Is it changing it to look forward instead of backwards?

Sorry for the delay, I was at a hackathon last week when I worked on this. I did add the .double case changes in my app, but looking back at this I don't remember why so I removed them for now. The .single case was where I was actually seeing the crash so the .double case is probably fine as it is anyway.

Thanks for this!


text:
Add CryanCodes File

created a branch, created a file and made a commit, and opened a pull request

created a branch, created a file and made a commit, and opened a pull request

repo: CryanCode/github-slideshow


text:
Add heroku deploy support

Can you add heroku deploy support?

I've never deployed something to Heroku before and it's not really something that I'm interested in figuring out. What would the benefit be?

I've never deployed something to Heroku before and it's not really something that I'm interested in figuring out. What would the benefit be?

heroku offers free hours for 20days and if we add CC it allows another 15days so it means we can host our app for free and unlimited bandwidth.
Its easy and offers high speed bandwidth

The server that https://av-converter.com runs on has unlimited bandwidth and as I am paying for the server, it is free for everyone else including you. Adding Heroku support to this project is not something that I want to spend my time on figuring out, at least not at this moment in time. You are free to give it a go yourself and submit a pull request if you are successful.

authors: CrypticSignal askfriends

repo: CrypticSignal/av-converter


text:
Add support for DMM

The interface is very similar to compound. All mTokens have the same number of decimals as their underlying counterpart. The exchangeRate is always a number with 18 decimal places, regardless of the token.
Master Controller - 0x4CB120Dd1D33C9A3De8Bc15620C7Cd43418d77E2

You can call #getDmmTokenIds to get all of the tokens by their ID and iterate through them, if you want. There are the respective functions in there for getting the underlying token by address  or querying on the mToken address if you only have the underlying (eg DAI --> mDAI) underlyingTokenAddressToDmmTokenIdMap

mDAI -0x06301057D77D54B6e14c7FafFB11Ffc7Cab4eaa7
mETH - 0xdF9307DFf0a1B57660F60f9457D32027a55ca0B2
mUSDC - 0x3564ad35b9E95340E5Ace2D6251dbfC76098669B
Minting is as simple as calling mint(uint underlyingAmount) where underlyingAmount is the amount of underlying you want to send into the contract. Note, a token approval is needed for calling mint on the underlying contract, where the spender is set to the mToken contract address.
Redeeming mTokens for underlying, plus interest, is done through redeem(uint amount) where amount is the amount of mTokens to be sent to the contract and redeemed. Note, no token approvals are required to redeem mTokens.

Thanks!


text:
Integrate Google Drive/Dropbox for Audiobook Uploads

Description:
Allow users to upload their own audiobooks from cloud services like Google Drive or Dropbox.
This feature will enable users to sync their own audiobook collections with LisBook.
Acceptance Criteria:
Add "Upload from Google Drive" and "Upload from Dropbox" options in the app.
Ensure proper handling of file formats and uploads.
Test uploading from both cloud services.

I'd like to give it a shot. Please assign it to me.

Sure @dexterousdhruv I would love to see some cool contribution from your side. 😄. Don't Forget to ⭐ our repo and happy coding 👨🏼💻

@dexterousdhruv are you working on it ? If you need any help let me know

I'm on it.

Great @dexterousdhruv go ahead

@Ctoic My question is where would we store the files, once the user uploads it from his respective cloud provider ? Guess what, we have to set up an express server. What do you say ?

authors: Ctoic dexterousdhruv

repo: Ctoic/Lisbook


text:
Memory Usage Misreported on ARK: SA

Operating System
Unknown
AMP Version and Build Date
2.6
AMP Release Stream
Mainline
I confirm that

[X] I have searched for an existing bug report for this issue.
[X] I am using the latest available version of AMP.
[X] my operating system is up-to-date.

Intended Action
N/A
Expected Behaviour
N/A
Actual Behaviour
N/A
Reproduction
The memory usage is misreporting after the 2.6 upgrade.

This is resolved in the release coming tomorrow.

repo: CubeCoders/AMP


text:
BUG: No console output using Minecraft module after upgrade to 1.8.3.0

Bug Report
System Information

Operating System: Ubuntu Server 18.04/Kernel 4.15.0-55-generic
AMP version and build date: v1.8.3.0 built 25/07/2019 17.10
Which AMP release stream you're using: Mainline

I confirm:

[x] that I have searched for an existing bug report for this issue.
[x] that I am using the latest available version of AMP.
[x] that my operating system is up-to-date.

Symptoms

After upgrading my instances to 1.8.3.0, console output is not working in the Minecraft instance web interface.  The game is accpeting commands from the server but no text is showing on the console tab in the web interface
Reproduction

Upgrade an existing 1.8.2.2 instance to 1.8.0.3 and check the console tab after starting the server (i have not tried creating a new instance)

After clearing my browser cache, the console tab started working again.  Please close this bug out as resolved.  Thanks!

After clearing my browser cache, the console tab started working again. Please close this bug out as resolved. Thanks!

You have a button at the bottom of the page that lets you "close" the issue.


text:
General adjustments in Taurus and Beowulf

🤔 What type of PR is this? (check all applicable)

[ ] 🍕 Addition
[ ] ⌨ Productivity
[X] 🐛 Bug Fix
[ ] 🔥 Optimization
[ ] ⚙ Configuration
[ ] 🌟 Quality Of Life
[X] ✨ Enhancement
[ ] 📝 Documentation

📝 Description
fix and renew some more things, maybe in the next one I will fix the accessories of the taurus revolver and the m249 maybe it will fix it
🖼 Screenshots/Recordings
Bug:

Looks good to me. Awaiting review from @Desoroxxx.

I already added the changes to the changelog

repo: Cubed-Development/Modern-Warfare-Cubed


text:
data-magnetic

Hi again, I added this tag (data-magnetic), but it didn't work. I think it's disabled!
Thank you.

For data-magnetic you have to wrap your element with an div that holds data-cursor-stick. Heres an exaple:

  <BiMenu />

@sagarkhadka
thank you for your time.
Yes, I know this point. I meant the magnet like the picture below

@HasanSibakhi For the effect I think cuberto has given different repo. You can find it here. Maybe this will help.

authors: HasanSibakhi sagarkhadka

repo: Cuberto/mouse-follower


text:
🛑 lemmy.best is down

In 52131d7, lemmy.best (https://lemmy.best) was down:

HTTP code: 0
Response time: 0 ms

Resolved: lemmy.best is back up in 37cc728 after 4 minutes.


text:
🛑 lemmy.best is down

In 2ec437d, lemmy.best (https://lemmy.best) was down:

HTTP code: 0
Response time: 0 ms

Resolved: lemmy.best is back up in f9fbe1f after 7 minutes.


text:
🛑 Cust+ is down

In 6d50152, Cust+ (https://cust.cc) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Cust+ is back up in ab08706.

repo: CustedNG/upptime


text:
🛑 必应一（镜像）bingo.0x.no is down

In 9ad9621, 必应一（镜像）bingo.0x.no (https://bingo.0x.no/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 必应一（镜像）bingo.0x.no is back up in 0603871 after 8 minutes.

repo: Cutiei/Uptime


text:
🛑 搜索一So.h-e.top is down

In fd268cf, 搜索一So.h-e.top (https://so.h-e.top/) was down:

HTTP code: 521
Response time: 298 ms

Resolved: 搜索一So.h-e.top is back up in bd4d107 after 10 minutes.


text:
#561: Add component and services for tools

CycloneDX spec 1.5 deprecated an array of tools in bom.metadata and instead prefers object with an array of components and an array of services.
This PR implements that.
This works de-serializing a Syft SBOM with a tool section like so:
  "metadata": {
    "timestamp": "2024-06-10T13:06:52-08:00",
    "tools": {
      "components": [
        {
          "type": "application",
          "author": "anchore",
          "name": "syft",
          "version": "1.4.1"
        }
      ]
    },
    "component": {
      "bom-ref": "08329a07b4eb8eac",
      "type": "file",
      "name": "./"
    }
  },

Next up: docs, XML (de)serialization code, and tests.
fixes #561

a feature i would love to see in the end: metadata tools converters, that allow me to have a bunch of Components and Services , and when normalizing to CycloneDX 1.3, the Compoennts and Servioces are converted to Tools in the resulting XML/JSON. So that i dont loose any data...

i dislike the current concept of ToolRepository that holds tools, services and components at the same time. This is an abomination of a data type, and teaching people how to use it properly will just be a hack of an effort.
i'd rather have a type ToolRepository that holds services and components and no Tool! So, Metadata.tools would be truly Union[ToolRepository, SortedSet[Tool]]. The (de)serialize would be handled by a (de)normaliser (aka "Helper" and thats it.
Is there something that speaks against this very simple and still pythonic solution?

@jkowalleck:
So drivers for my approach were two-fold:

I am not 100% acquainted with the use cases of the the library; that is how people use the library.
I was trying to maintain 100% backward compatibility.

Thus, the reason for ToolRepository which combined the three types.  I wanted to be able to initialize and empty BomMetaData (which is allowed now) and then do:
# old code still works
bom.metadata.tools.add(....)
# or
bom.metadata.tools = my_sorted_set_of_tools

as well as be able to do:
# new code would work as expected
bom.metadata.tools.components.add(...)
bom.metadata.tools.services.add(...)

If we don't have an object in bom.metadata.tools which responds to components and services attributes, then calling those attributes will generate an exception, and cause unexpected behavior. At least in my mind, I would expect to be able to instantiate a Bom, and then call bom.metadata.tools.components.add(...) or bom.metadata.tools.components = ...

a feature i would love to see in the end: metadata tools converters, that allow me to have a bunch of Components and Services , and when normalizing to CycloneDX 1.3, the Compoennts and Servioces are converted to Tools in the resulting XML/JSON. So that i dont loose any data...

That would be really neat. Do you mean a stand-alone tool? Or built in to the new type? Is there a way to know in the normalizing functions which version we're serializing for? I did not see that anywhere in the docs, but it would be great if we could do that.

re https://github.com/CycloneDX/cyclonedx-python-lib/pull/635#issuecomment-2177181574
Thank you for the explanation.
I understand the reasoning behind the current implementation of ToolsRepo now.
For sake of usability, you are right to using it.
A need for API backwards compatibility is not really needed. Clean code and documentation are more important.
An improvement I could imagine:
have it a much simpler, documented container-object like so:
class ToolsRepository:
  """our implementation of the tools repo"""

  tools: SortedSet[Tool]
  """DEPRECATED tools"""

  components: SortedSet[Component]
  """docstring here..."

  services: SortedSet[Service]
  """docstring here..."

  def __init__(self, *,
    components: Optional[Iterable[Components]] = None,
    services: OptionalIterable[Service]] = None,
    # Deprecated in v1.x
    tools: OptionalIterable[Tool]] = None,
  ):
    if tools:
      warn("deprecation message here...", DeprecationWarning)
    self.tools = SortedSet(tools or ())
    self.components = SortedSet(components or ())
    self.services = SortedSet(services or ())

Thanks for the explanation. Given the comment here: https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/cyclonedx/model/init.py#L1079 I'd like to try to keep backward compatibility for now. The code to maintain this is probably only 60 to 70 or so lines more than breaking backward compatibility, and once the support for List[Tool] goes away completely, the semantics for tools.components and tools.services won't change.
Everything seems to be working, save the problem I mentioned here: https://cyclonedx.slack.com/archives/CVA0QJEVA/p1718821402381719

Tests for new functionality are in place. Pretty sure I didn't do it the best way, but just wanted to show the new functionality works. :) We can re-work the tests before merge if need be.

BTW, maintains 93% test coverage. I have a few more code paths I want to test as well.

@jkugler, before we can use your contribution, we need you to sign-off your commits.
here is why this is required and what it implies: https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/CONTRIBUTING.md#sign-off-your-commits
here is a step-by-step instruction on how to do this: https://github.com/CycloneDX/cyclonedx-python-lib/pull/635/checks?check_run_id=26536713378

There is a decision we'll need to make in how to handle the current behavior in BomMetaData:
        if not tools:
            self.tools.add(ThisTool)

This adds the CycloneDX information if none is provided when initializing BomMetaData, and the will generate an error if someone, later does this:
bom.metadata.tools.components = ...
# or
bom.metadata.tools.services =

However, there will not be an error if a developer does
bom.metadata.tools.components.add(...)

or similar with services, and if there are components or services, those will be rendered and not the [Tools].
If we're OK with that behavior, that is, telling users to provide a ToolsRepository themselves, or use .add(), I'm OK with that.

@jkugler, before we can use your contribution, we need you to sign-off your commits.

Yes, I did that in https://github.com/CycloneDX/cyclonedx-python-lib/pull/635/commits/2bbd659eec2ac6711da14e6f265c208b4ee61ccb
I didn't realize I would need to do that for every commit, as I assumed the PR would be squash merged into a single commit, and thus include the sign-off. I'll get it fixed.

re: https://github.com/CycloneDX/cyclonedx-python-lib/pull/635#issuecomment-2183494986
all the effort to make the thing backwards compatible?
Well, the old Metadata.tools was of type SortedSet[Tool]. The new one implements a subset of SortedSet's functionality.  If you really wanted to make it backwards compatible, then ToolsRepository MUST extend SortedSet.
Then most of your concerns would be solved, right?

re: https://github.com/CycloneDX/cyclonedx-python-lib/pull/635#issuecomment-2183523501
it will be squashed on merge, that is true, but only if each and every commit was signed-off. Otherwise, we would quash/merge a thing that never was legally usable :-)

re: https://github.com/CycloneDX/cyclonedx-python-lib/pull/635#issuecomment-2183605697
I could inherit from SortedSet. I'm not sure if that's necessary, though. I guess by "backward compatible," I was more shooting for "all the existing tests pass" as that should indicate all existing (supported) use cases continue to work. Since we don't even document the BomMetaData class (nor BomMetaData.tools), I think it is a reasonable expectation that "tools" Set. I took that in to account with these functions in ToolsRepository:
    def __len__(self) -> int:
        return len(self._tools)

    def __bool__(self) -> bool:
        return any([self._tools, self._components, self._services

    def __getattr__(self, name: str) -> Any:
        """
        Enables us to behave as list of tools to maintain
        backward compatibility.

        Returns:
            An attribute of SortedSet
        """
        return getattr(self._tools, name)

    def __iter__(self) -> Iterator[Tool]:
        """
        Also part of acting as a list of tools

        Returns Iterator[Tool]
        """
        for t in self._tools:
            yield t

That will keep the behavior of the set, passing all unknown attributes to SortedSet[Tools], and thus exposing the entire public interface of SortedSet[Tools]. I think we'll be good. If we want to release a breaking change, and call this out, I'm not against that, but I think most of the code out there using this library will continue to work. I know mine will. :)

@jkugler please add test fixtures/models with the new features you've added?
they go to https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/tests/_data/models.py
the new test fixture should be built by functions called like get_bom_<something>().
see also: https://github.com/CycloneDX/cyclonedx-python-lib/blob/49a93a03b38574f264a49e9515cd6aa7b0b0f4c5/tests/_data/models.py#L1128-L1165

@jkugler re https://github.com/CycloneDX/cyclonedx-python-lib/pull/635#issuecomment-2187510084
well, changing a property BomMetaData.tools from SortedSet[Tool] to something different is considered a breaking change.
Why bother having backwards compatibility when we have a breaking change anyway?

Since we don't even document the BomMetaData class (nor BomMetaData.tools)

We do. A type annotation is considered documentation. it is even rendered as such, see https://cyclonedx-python-library.readthedocs.io/en/latest/autoapi/cyclonedx/model/bom/index.html#cyclonedx.model.bom.BomMetaData.tools

well, changing a property BomMetaData.tools from SortedSet[Tool] to something different is considered a breaking change. Why bother having backwards compatibility when we have a breaking change anyway?

I see what you mean. I was thinking about "breaking behavior" in this case.  We can publish a breaking change, but I hope the way I've done things will results in no needed code changes for most of our users.

We do. A type annotation is considered documentation. it is even rendered as such, see https://cyclonedx-python-library.readthedocs.io/en/latest/autoapi/cyclonedx/model/bom/index.html#cyclonedx.model.bom.BomMetaData.tools

Somehow, I missed that. I apologize.

missing test cases:

craft a BOM with metadata.tools having 1 Component, 1 Service, and 1 Tool - render BOM  to XML/JSON 1.0 to 1.6 without loosing essential data and schema-validate the result

this should result in a set of 3 Tool in JSON/XML - Component/Service were converted to Tool, as all must be Tool - to be schema compatible

craft a BOM with metadata.tools having 1 Component, 1 Service, and NO Tool - render BOM  to XML/JSON 1.0 to 1.6 without loosing essential data and schema-validate the result
this should show how

in JSON/XML 1.4 and before: this should result in a set of 2 Tool - Component/Service were converted to Tool - to be schema compatible
in JSON/XML 1.5 and later: Component/Service were NOT converted to Tool

re: https://github.com/CycloneDX/cyclonedx-python-lib/pull/635#issuecomment-2190086101
There are many fields in Component and Service which do not map to the fields available in Tool.  Silently converting those objects to Tool would quietly discard a host of information and the user would be none the wiser, and would assume all the information they have added has been rendered to the SBOM.  In this case, there are five fields in Tool, 27 fields in Component, and 17 in Service.
This would actually cause a good deal of data loss while the user assumes the SBOM will contain all data they have added.
I would propose one of the two possibilities:

On the "quiet" side: print out a large warning if there is information in SortedSet[Component] or SortedSet[Service] and we are rendering in CDX < 1.5.
On the "loud" side: refuse to render CDX < 1.5 when there is information in SortedSet[Component] or SortedSet[Service] and raise some kind of exception.

To minimize data loss, and to subscribe to the "principle of least surprise," I would direct a user who wanted to produce a CDX <= 1.4 SBOM. to use Tool, and CDX >= 1.5 to use component/service.
That said, if we do the auto-conversion, where and how will we document this so it is obvious to users of the library?

re https://github.com/CycloneDX/cyclonedx-python-lib/pull/635#issuecomment-2190165893
i'd vote for option 3): silently transform and accept loss of unavailable data, while carrying over all available data.
On rendering, we also do not print a warning if a property is populated that is not available in the target version.
This library adheres to the CycloneDX specification. If a user knowingly uses data models that are not available in the target version, they would not be surprised to lose this data. :-) The target audience is well-informed software-developed.
The model transform on rendering to lower versions is a convenience feature may people need. We would put it in the library, so others don't need to reinvent the wheel, and since we already adhere to the spec and are the experts in the field.

@jkugler,
Could you rebase on latest master and fix the conflicts.
I had to do some style-changes(#643) to make the review easier.
Sorry for the inconvenience.

@jkowalleck Is this what you had in mind? https://github.com/CycloneDX/cyclonedx-python-lib/pull/635/commits/1a639a678d35c17fd7dab660348f7952599ed10d

@jkowalleck For the "auto conversion" of Components and Services to Tools for older schemas, does this mapping work?
Tools:

Vendor
Name
Version
Hashes
externalReferences

Components:

Supplier - > Vendor? Or Author -> Vendor? Or Publisher -> Vendor?
Name -> Name
Version -> Version
Hashes -> Hashes
externalReferences -> externalReferences

Services

Provider -> Vendor?
Name -> Name
Version -> Version
No Hashes
externalReferences -> externalReferences

I'm still really concerned about the amount of data that would be lost, but we can go this route if you think it best.

@jkowalleck Is this what you had in mind? 1a639a6

yes. that looks great.

@jkowalleck For the "auto conversion" of Components and Services to Tools for older schemas, does this mapping work?
Tools:
* Vendor

* Name

* Version

* Hashes

* externalReferences

Components:
* Supplier - > Vendor? Or Author -> Vendor? Or Publisher -> Vendor?

Group -> Vendor
Author, Publisher etc are missing in Tool - that is why Component was introduced as a possible item-class of the tools repository.

* Name -> Name

* Version -> Version

* Hashes -> Hashes

* externalReferences -> externalReferences

Services
* Provider -> Vendor?

Provider -> Vendor

* Name -> Name

* Version -> Version

* No Hashes

* externalReferences -> externalReferences

I'm still really concerned about the amount of data that would be lost, but we can go this route if you think it best.

THink of it more like this: downstream users might loose some data, but they know about this -  but, most importantly, we save as much data as possible.

Code was added to "down-convert" from new Tools to old Tools. Some snapshot updates. Will look more and see what additional testing needs to be done.

Also need to update XML rendering.

@jkowalleck:

craft a BOM with metadata.tools having 1 Component, 1 Service, and 1 Tool - render BOM  to XML/JSON 1.0 to 1.6 without loosing essential data and schema-validate the result

this should result in a set of 3 Tool in JSON/XML - Component/Service were converted to Tool, as all must be Tool - to be schema compatible

As currently coded, this cannot be done, because an exception will be thrown if one attempts to have a Tool and a Comonent /Service.  Is that acceptable? Or are you proposing we accept all conflicting objects, and down-convert if there are Components or Services with Tool? The spec says Tools XOR Components/Services. I would think if someone was going to use Components/Services, they would want that detail and would want to be warned they are still using Tool and need to upgrade/convert that to a Component.
Also, if they do not add Components/Services in BomMetadata upon initialization, and it gets a default ThisTool, then they would never be warned when they add Components/Services and it's down-converted. I would rather be explicit about "you shouldn't do that" instead of them seeing the output and wondering why their Components/Services were converted to SBOMs.

craft a BOM with metadata.tools having 1 Component, 1 Service, and NO Tool - render BOM  to XML/JSON 1.0 to 1.6 without loosing essential data and schema-validate the result
this should show how

in JSON/XML 1.4 and before: this should result in a set of 2 Tool - Component/Service were converted to Tool - to be schema compatible
in JSON/XML 1.5 and later: Component/Service were NOT converted to Tool

I think this is done, as I see the auto-generated tests and snapshots from get_bom_with_tools_with_component_and_service

Bump.

this idea of mutual exclusive properties is true for the schema, but not for the data models.
therefore, it was removed via 59b0987af61718a1c412aca1b83ca7b3b7b67bae

I am trying to go through the changes made, but I'm not understanding where the code is. I see a bunch of code was moved to cyclonedx/serialization/__init__.py in this commit: https://github.com/CycloneDX/cyclonedx-python-lib/commit/376dfa8c1fe59f983ec1217ad83b3cf2bd2e9e1b but when I pull down my branch: https://github.com/jkugler/cyclonedx-python-lib/blob/561_add_components_and_services/cyclonedx/serialization/init.py I don't see that code. Was that code not pushed to my branch?
Sorry for the confusionl.

I am trying to go through the changes made, but I'm not understanding where the code is. I see a bunch of code was moved to cyclonedx/serialization/__init__.py in this commit: 376dfa8 but when I pull down my branch: https://github.com/jkugler/cyclonedx-python-lib/blob/561_add_components_and_services/cyclonedx/serialization/init.py I don't see that code. Was that code not pushed to my branch?
Sorry for the confusionl.

i am very sorry for the inconvenience.
376dfa8c1fe59f983ec1217ad83b3cf2bd2e9e1b resp 427add4e8b91a56dba5d565f7809c998c1ba3e96 was a version where i tried to move ToolsRepositoryHelper the helper to place where other existing helpers were. this did not work properly, as it caused cyclic includes.
So it was reverted via 4a2ac6526d0cdcb1d01f32d698d8b568399b6454
maybe this helps to see the actual changes: git diff 73007f84fc043924f65560e143ba5adbdab56be2...c937f215e3ac4b56c33cc5da2b0444ee0a22807c
https://github.com/jkugler/cyclonedx-python-lib/compare/73007f84fc043924f65560e143ba5adbdab56be2...c937f215e3ac4b56c33cc5da2b0444ee0a22807c

I noticed the test coverage for cyclonedx/model/tool.py went from 100% to 97% after the recent changes. Would you like me to make sure the missed statements are checked?

I noticed the test coverage for cyclonedx/model/tool.py went from 100% to 97% after the recent changes. Would you like me to make sure the missed statements are checked?

did that. please review

did that, cov at 100% now. please review

Looks great! Let's get it merged! Thanks again for all your help and patience on this.

authors: jkowalleck jkugler

repo: CycloneDX/cyclonedx-python-lib


text:
这个可以配合databinding 一起来使用吗 有那种bean数据变化

Describe the bug
A clear and concise description of what the bug is.
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.
Additional context
Add any other context about the problem here.

尝试在历史问题搜索答案。
尝试阅读文档找到答案。
尝试阅读Demo找到答案。
尝试自己检查或试验以找到答案。
尝试阅读源代码以找到答案。
请勿将产品的一些特殊交互需求 和 该库暂不支持作为bug混为一谈，请您仔细甄别

如果以上都尝试过了请提一个新的issues
参考提問的智慧
如果还是没有找到答案，提问请带上这几个必要信息

当前使用的版本号
复现操作描述
使用代码
crash日志
gif复现效果
抽取demo
将你出现的问题代码抽出来成一个可直接运行的项目。（最好fork本库修改）
在本地修改demo，然后把commit push到github上，在issue里贴下demo的地址。

有详细的描述才能使得我们更快速的定位问题并解决问题，感谢配合！

有demo可以参考

repo: CymChad/BaseRecyclerViewAdapterHelper


text:
作者已经不维护了，一般使用没什么大问题，有问题的可以试试BRV，作者一直在维护，有问必答

kotlin想坚持使用的可以参考#3561
BRV比较适合databinding，一直在维护，作者解答很快，可以试试😉
使用文档也很全，和作者的net框架一起使用是真的方便快捷😁

适合懒人，但是刷新 内部依赖了 SmartRefreshLayout 就感觉臃肿了些

适合懒人，但是刷新 内部依赖了 SmartRefreshLayout 就感觉臃肿了些

还好，我感觉智能刷新挺好的，要不我也是单独用那个，而且这个扩展了智能刷新布局，刷新加载回调也方便了，还有自动缺省页和分页，我比较看好他集成的功能😁

@dingyong666 还有我目前既在用BRV又在用BRVAH，这个当作adapter，那个就当作RecyclerView来用，我喜欢各取所需😁

@SaltedFish-Extreme  可以封装个接口出来，可以其他 下拉刷新 加载更多  实现接口 灵活替换，因为可能个人喜好用 swiperefresh 等等 其他的，一个项目 多个 通作用的  会变得 多余

@SaltedFish-Extreme 可以封装个接口出来，可以其他 下拉刷新 加载更多 实现接口 灵活替换，因为可能个人喜好用 swiperefresh 等等 其他的，一个项目 多个 通作用的 会变得 多余

封装太麻烦了😂以我目前的水平能把别人的框架用明白就不错了，我只想实现喜欢的效果，就是复制粘贴的UI😂我只想用最少的代码实现最好的效果，功能相同的库多余是没错，但是他的代码写法不是我想要的，有一部分跟我的观念不合，就要用觉得合适的替换掉，我是这么想的，话说老哥都这么晚了，早点睡吧😂

你标题写错了, 我写的叫BRV, 谢谢 🤥

适合懒人，但是刷新 内部依赖了 SmartRefreshLayout 就感觉臃肿了些

SmartRefreshLayout本身就是目前最灵活的下拉刷新框架. 也支持自定义实现. 而且也是属于开箱即用. 我不认为这属于臃肿
另外SmartRefreshLayout本身就支持SwipeRefresh的效果

你标题写错了, 我写的叫BRV, 谢谢 🤥

啊，不好意思，推广都把名字写错了😂

还是谢谢你的推广的!
这个BRVAH的确是烂尾了. 400多个问题很夸张了

在这里推广自己的框架...Hmm 有意思。

@Neo-Turak 这不是看不维护了方便大家嘛

authors: Neo-Turak SaltedFish-Extreme dingyong666 liangjingkanji


text:
node模块怎么删了呀

@limuyang2 大佬，node模块怎么不见了，感觉对一些复杂的设计还是有这种需求的

我复议，在v4实现node较为困难，没法快速开发出来，我只能先用v3了ಥ_ಥ

我看了一下文档，确实没有node了

authors: dixtdf lylelqc zhaoxiuyu


text:
🛑 Mi indicador is down

In 5a0d880, Mi indicador (https://mindicador.cl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Mi indicador is back up in 490919a.

repo: CymaSuite/upptime


text:
Optional monitors

This PR introduces optional monitors feature.
The whole idea is that Object doesn't contain __monitor field anymore.
TypeInfo_Class will hold a monitor offset, if a class has one (by marking class declaration with @monitor attribute), or 0.
Monitor lookup is done with a hash map, if monitorOffset is 0.
The hash map is protected by a primitive RW spin lock.
Monitor finalization will only lookup for monitors, if a monitor was allocated at least once for the type of object being finalized.
druntime counterpart: https://github.com/D-Programming-Language/druntime/pull/789
discussion: http://forum.dlang.org/thread/xpliectmvwrwthamquke@forum.dlang.org

I'm in favor of this. The current backward-compatible approach is the way to go, though I agree with @MartinNowak in the long run we may envision complete deprecation.
Please rebase and let's push this through. Thanks!

Half a year later w/o merging this patch the idea still looks sexy to me.
@MartinNowak any plans to move on this in any of 2 competing plans?

Well what's going on?

"All checks have failed"

Half a year later w/o merging this patch the idea still looks sexy to me.
@MartinNowak any plans to move on this in any of 2 competing plans?

Yes, I'm still opposed to adding a global hash and the outlined plan still makes sense.
Furthermore having monitor support on all classes creates ownership/attribute issue for the monitor (https://github.com/MartinNowak/phobos/commit/8cf0ec29ad65ac2a13bd6917b4ff3da0fdea5ab0#diff-4e008aedb3026d4a84f58323e53bf017R4883).
I don't have the capacity to pull this story, but starting by adding an @(Object.Monitor) UDA and recognizing that in the compiler should be fairly trivial (e.g. look at the objective-c changes).

recognize monitor UDA and deprecate synchronizing on classes without it

Let's proceed with stage 1 for when 2.071 opens then?
Do we have available documentation / rationale on the deprecated features page?  Or a DIP?

Do we have available documentation / rationale on the deprecated features page? Or a DIP?

Sure, a small entry on http://dlang.org/deprecate.html would be nice, a DIP is overkill though.

authors: DmitryOlshansky MartinNowak andralex ibuclaw yglukhov

repo: D-Programming-Language/dmd


text:
[REG2.067a] Issue 13775 - Broken explicit casting of dynamic array slices of known size to static array of different type

https://issues.dlang.org/show_bug.cgi?id=13775
Support reinterpret-cast from a CT-known boundaries slice expression that can be implicitly typed as T[n] to another static array type U[m], iff their sizes are same (T[n].sizeof == U[m].sizeof).

Another regression filed against this change:
https://issues.dlang.org/show_bug.cgi?id=14582


text:
[WIP] std.file Refactoring

DO NOT MERGE
So far this cleans up DirEntry by factoring out the common interface between Windows and Posix. It also moves the examples in the documentation into unittest blocks instead.
There is still more work to be done in std.file, but this is just the start, and I mostly just want to make sure I didn't break anything while doing it.

Any news? Going to close as it seems stuck.

authors: DmitryOlshansky Orvid

repo: D-Programming-Language/phobos


text:
生成阶段错误 提示TypeError

hexo 7.0.0 提示错误如图 我没有开发过hexo主题 我不知道怎么处理问题
顺便一提 关于live2d的那个js我之后整个包吧 之后用unpkg jsdelivr经常抽风

fix in a88d3ea344177f2621f8240b1b3127c38736f653

authors: D-Sketon MliKiowa

repo: D-Sketon/hexo-theme-reimu


text:
File responses should have a filehash object instead of a string.

The current API (v1) hard-codes MD5 as the file hash. MD5 should be considered broken as collision attacks are relatively easy to do and do not take long.
To make the API easier to update/extend in the future (without even bumping the API version) having filehash be an object would be a lot nicer.
filehash: {
  md5: "abcd",
  sha256: "1234",
  sha3-512: "5689"
}

By just providing multiple hashes adding better hashes is easily doable, without breaking users of the API, and allowing nice updates. In case some hash is severely broken in the future one could even just drop that one from a new version of the API.

A good suggestion - will discuss within the team.

Fantastic idea, allows future updates easily - will get this implemented. Also while MD5 is unreliable due to collisions, this feature is primarily there as an integrity check, but we will look to adding stronger methods.

Yes, all of MD5 and the SHA family of hashes are just to verify integrity of the file transfer (one could also use CRC for that if one wanted to).
About something stronger that is the main point of #31.

authors: Patskimoto intenscia leper

repo: DBolical/modioSDK


text:
Add medicaid coverage to clinic data?

Thanks for creating an issue! Please fill out this form so we can be sure to have all the information we need, and to minimize back and forth.

What are we trying to do?
Baltimore is interested in tracking medicaid info for clinics. We should figure out how to implement and what they're hoping to get out of it.

What feature or behavior is this required for?
???

How could we solve this issue? (Not knowing is okay!)
Probs start by talking to the baltimore folks about how they use this up the road!

Anything else?
not yet!

@lwaldsc or @nerdygirl537  - can you follow up on the user requirements for Baltimore and medicaid, please? This issue doesn't have enough info to do any UX work yet

Re: Annie at BAF
"So I think what we'd like is the ability to, in DARIA, put in info re:
which clinics take Maryland Medicaid and to what gestational age (similar
to how you can fill in costs now). Colin mentioned something about creating
a clinic lookup tool, so I just wanted to make sure that if/when that is
built, it also includes information for Medicaid patients so our CMs can
steer them to the best clinic for them."
Pretty simple ask here, I think.

Based on the above from Annie I think there are two enhancements here:

deal with Medicaid clinics in #978
implement something similar to the 'Show only clinics that accept NAF funds' checkbox for Medicaid clinics

Either way, the route to both of these is slapping an extra boolean field for accepts_medicaid on the clinic object, and then adjusting the form and tests. Retagging as backend for now, and we can take advantage of the benefits down the road.

I'll work on this tonight!

authors: colinxfleming lwaldsc mebates rudietuesdays


text:
task4:This video is unavailable.(deleted by user)

when using code to download data from Youtube, I found that part of dataset had been deleted by users. How can I find them?

Thanks for your interest in task 4.
As explained in the dataset readme:
"The script produces missing_files[dataset].csv log files (were [dataset] corresponds to the name of a particular set) with a list of audio files that were not downloaded by the script. After completion if some of the files where not downloaded you might want to run the script a second to download missing files. If you are experiencing problems downloading the full dataset please contact the task organizers (see also task 4 official page)"
If you send these files to us (Nicolas Turpault or Romain Serizel), we'll take care of providing the missing audio files.

Hello , I am experiencing problems downloading the full dataset (some eval files are missing) , can you provide them ?


text:
DAI searching is completely broken!

Nothing happens when you do a normal DAI search...  thanks.

Note that this doesn't work any better when logged in.

This has been resolved.

authors: cneidle kwasiopoku

repo: DCS-LCSR/ASL-DAI


text:
Set default occurrence for all signs being added to signbank if occurrence is the only sign variant

Set default occurrence for all signs being added to signbank if occurrence is the only sign variant

Done


text:
my advanced issue one

I am an advanced issue

closed

repo: DEJENERUTA/my-acme-repository


text:
Add email for all choices being rejected

Context
When a user receives a rejection and all of their course choices have been a rejected they should be sent an email.
Changes proposed in this pull request

Add an email to the CandidateMailer

Guidance to review
Emails
https://docs.google.com/document/d/1VH_nxuLTiVCkmKhC4eaBpFC61Hd5_Ol1tKwOul-2uUs/edit#heading=h.hz139gcneav5
This email needs a provider name, course name, candidate name, amount of choices (for pluralisation and rejection reason. I've struggled to get all the below objects associated using build_stubbed. Is there an easier way? The current implementation is a pain for adding it to PreviewCandidateMailer

Also, what would happen if a provider refused to give feedback was not covered. I added the following:

This needs a content review.
Link to Trello card
https://trello.com/c/22e7C80p/840-email-🙅♀-a-provider-has-rejected-your-application-to-candidate
Things to check

[x] This code doesn't rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] API release notes have been updated if necessary
[x] New environment variables have been added to the Azure config

I had a similar struggle with build_stubbed yesterday - it has limitations!
I was able to set up a one-many association by using a combination of hard-coded ids and adding to collections using plain build (so a bit hacky). https://github.com/DFE-Digital/apply-for-postgraduate-teacher-training/blob/master/spec/mailers/candidate_mailer_spec.rb#L287-L298  It may be completely different for your case.

authors: davidgisbey stevehook


text:
Minor API documentation fixes

Context
This is a follow-up to https://github.com/DFE-Digital/apply-for-postgraduate-teacher-training/pull/826. A number of issues were raised after manual testing by @fofr . This PR addresses the remaining fixes to API docs.
Changes proposed in this pull request

[x] Work experience commitment example and description needed (already done)
[x] Qualification examples are missing the "institution_name" and "equivalency" examples (already done)
[x] We should include an example of an ISO8601 date in the since param (PH actually caused an error with this when he tried it) - (done in earlier PR)
[x] reference content should not be marked "optional" bc we only send apps with references - changed the wording to emphasise that content is required to send apps to providers
[x] Clarify that tokens can only be passed via header, not via URL param - added a bit of extra copy to clarify

I've not tried to add the state diagram (suggestion from @duncanjbrown) in this PR because there isn't an obvious place to put it in the docs (without causing a confusion). This one is open to debate!
Guidance to review

Do the copy changes make sense?

Link to Trello card
1176 - Minor API fixes following user testing with Paul H
Env vars

[x] No env vars

Perhaps the state diagram could go in the general introduction? On the basis that it's a useful high-level summary of how the thing works. We might need to prune it a bit.

@duncanjbrown I've added a section to the api-docs home page called 'Application Lifecycle' with a copy of the state diagram. Wording is all up for debate. I've not tried to trim the diagram (it's just automatically copied from the generate_state_diagram rake task into the public directory).

Perhaps the state diagram could go in the general introduction? On the basis that it's a useful high-level summary of how the thing works. We might need to prune it a bit.

@duncanjbrown I've added a section to the api-docs home page called 'Application Lifecycle' with a copy of the state diagram. Wording is all up for debate. I've not tried to trim the diagram (it's just automatically copied from the generate_state_diagram rake task into the public directory).

:+1: I think this is useful

authors: duncanjbrown stevehook


text:
ServiceDelivery None Clustered Index Added

ServiceDelivery None Clustered Index Added

out of date

authors: MartinBelton-gov lazcool

repo: DFE-Digital/fh-service-directory-api


text:
Add course scope for opted in providers

Context
The courses endpoint should only return courses where their providers are opted in
Changes proposed in this pull request
Add scope to courses endpoint
Guidance to review
/api/v1/courses

 Ensure courses are scoped by providers that have opted in

repo: DFE-Digital/manage-courses-backend


text:
[6527] Enable performance/profile monitoring

Context
Enables Sentry's performance and profile monitoring so we can setup some anomaly alerts around this category. Start with a low traces_sample_rate rate. We'll assess how noisy it is in Sentry and adjust accordingly.

 Set up anomaly alerts in register support slack channel

repo: DFE-Digital/register-trainee-teachers


text:
remove-paas-url-from-tfvar-file

Use new PaaS credentials
Jira ticket URL

Just add the ticket number to the end:

https://dfedigital.atlassian.net/browse/TEVA-
Changes in this PR:

Is there anything specific you want feedback on?

Screenshots of UI changes:
Before
After
Next steps:

[ ] Terraform deployment required?

[ ] New development configuration to be shared?

Review app deployed to https://teaching-vacancies-review-pr-3462.london.cloudapps.digital

authors: felixtheflex twd-tv-ci

repo: DFE-Digital/teaching-vacancies


text:
Do not refer to ActionMailer::Base in initializers

This causes issues with autoloading (invoking behaviour that has been
deprecated in Zeitwerk when certain stars align, in our case if we add
ActionText, c.f. https://github.com/rails/rails/issues/36546)
Instead of adding configuration to ActionMailer::Base, set it on
Rails.configuration.action_mailer instead.

Review app deployed to https://teaching-vacancies-review-pr-3521.london.cloudapps.digital

authors: csutter twd-tv-ci


text:
Refine report 2

Ensure each plot is on a new page
Consider making plots landscape

Decided not to progress


text:
Not compatible with Semanticolor

I'm trying to use code-peek 1.4.16 with Semanticolor, but there's a conflict. The problem is that to do its highlighting, Semanticolor prefixes the name of the current grammar with "semanticolor", so code-peek gives the error "Peek function does not currently support semanticolor - Ruby files".
So...perhaps it should ignore the "semanticolor" prefix or find some other way of determining the language?

1.4.17 will fix this

authors: DFreds marnen

repo: DFreds/code-peek-atom


text:
Windows 版本
19042.5198
Snap Hutao 版本
1.12.8.0
设备 ID
BE9C5A62B14493ED583B58443DC34433
问题分类
安装和环境
发生了什么？
每次版本升级之后，不管是哪种方式更新，更新完之后第一次打开，如果开着代理，他会弹出“解除loopback”弹窗，然后无论点击解除与否，胡桃许多界面直接变成空白，无法打开，首页也只有启动游戏能够点击，其他均是加载中的界面，而且重启电脑和胡桃都无法解决，只有重装然后第一次运行的时候不开着代理，所有组件才能正常加载。如果需要日志和图片我下次更新的时候补上
你期望发生的行为？
开着代理不影响组件的加载
最后一步

[x] 我认为上述的描述已经足以详细，以允许开发人员能复现该问题

首页也只有启动游戏能够点击，其他均是加载中的界面

在代理中排除 api.snapgenshin.com

authors: Lightczx kissgo


text:
Extract model data at location(s)

Narrow API to model extraction. More explicit what attributes that are needed to extract data from a model.
I.e. the observed values, color, filename etc. is not relevant in this context.

I see the point (no pun intended) from an architectural point of view - but as a user I think it becomes more difficult to understand (more objects/classes). Wouldn't it be better to let Point and Track be a Mixin (or a protocol) and then let the extract method accept anything which is a Point/Track?

I see the point (no pun intended) from an architectural point of view - but as a user I think it becomes more difficult to understand (more objects/classes). Wouldn't it be better to let Point and Track be a Mixin (or a protocol) and then let the extract method accept anything which is a Point/Track?

I think it is difficult to enforce compliance with an ABC or Protocol, since they only enforce the names of the methods (and names of arguments), but not attributes. So this last change tries to balance simplicity for the user, no need for conversion and still communicating the needs of the extract methods.

authors: ecomodeller jsmariegaard

repo: DHI/fmskill


text:
Text boxes within groupboxes not stretching properly

I have the following XAML
 <w3c:GroupBox Grid.Row="0" Grid.Column="0" Heading="test" HorizontalAlignment="Stretch" VerticalAlignment="Top" MinWidth="300">
     <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
         <Grid.RowDefinitions>
             <RowDefinition Height="Auto" />
             <RowDefinition Height="Auto" />
         </Grid.RowDefinitions>
         <Grid.ColumnDefinitions>
             <ColumnDefinition Width="Auto" />
             <ColumnDefinition Width="*" />
         </Grid.ColumnDefinitions>

         <TextBox x:Name="Test" Header="Test ID:" Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Top" Grid.Row="0" />

         <TextBox x:Name="Test2" Header="Test ID:" Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Top" Grid.Row="1" Margin="0,10,0,0" />
     </Grid>
 </w3c:GroupBox>

and the Stretch property is not working properly, as I just see this

The textboxes do, however, resize when you type in them

Instead of setting the GroupBox property HorizontalAlignment="Stretch" you should set HorizontalContentAlignment="Stretch"
That should fix the problem you are seeing.

authors: DHancock cxnky

license: Unlicense


text:
Create simple component for Relation type icons

RelationType dictionary keys in a circle.
Something like this

Needs scaling - relation of circle size to font size

authors: Ptrhnk adammertel

repo: DISSINET/InkVisitor


text:
SAC with gSDE not working on MinitaurBulletEnv-v0

Hello @araffin,
I trained the agent on MinitaurBulletEnv-v0 but without success. I tried to use the Min-max normalization method because every observation has its own range of values, but it's not working and without normalization, I get better results. I test it on my platform RL Toolkit, which is based on TF but is almost the same as yours.
Why is MinitaurBulletEnv-v0 not working, when the agent here is learning?
My tested hyperparameters:

Hyperparameter
Value

n_timesteps
1000000

learning_rate
0.00073

batch_size
256

buffer_size
1000000

ent_coef
auto

gamma
0.99

learning_starts
10000

update_interval
64

When you'll find better hyperparameters or anything else please share it with me.

https://user-images.githubusercontent.com/74611856/122724806-9606cf00-d274-11eb-8212-6c414012e29e.mp4
Thanks a lot.

Hello,
So after a quick trial, I found those hyperparameters to be working (for unstructured noise):
MinitaurBulletEnv-v0:
  n_timesteps: !!float 1e6
  policy: 'MlpPolicy'
  learning_rate: !!float 3e-4
  buffer_size: 100000
  batch_size: 256
  ent_coef: 'auto'
  train_freq: 1
  gradient_steps: 1
  learning_starts: 10000

with gSDE (the noise sampling frequency is quite small and therefore quite close to unstructured noise):
MinitaurBulletEnv-v0:
  n_timesteps: !!float 1e6
  policy: 'MlpPolicy'
  learning_rate: !!float 3e-4
  buffer_size: 1000000
  batch_size: 256
  ent_coef: 'auto'
  gamma: 0.99
  train_freq: 4
  gradient_steps: 4
  learning_starts: 10000
  use_sde: True
  policy_kwargs: "dict(log_std_init=-3)"

As mentioned in the gSDE paper (the arxiv  version will be updated tomorrow: https://arxiv.org/abs/2005.05719 ), the main strength of gSDE is not in simulation but on a real robot (as it reduces wear-and-tear while keeping good performance).
I will try to upload the learning curves and trained agent soon.

The training reward with unstructured noise:

I thought that the MinitaurBulletEnv-v0 is Sim-to-Real problematics and gSDE is useful for that too. I will test it with a higher update freq than 64 and a lower learning rate.
Thanks.

I thought that the MinitaurBulletEnv-v0 is Sim-to-Real problematics and gSDE is useful for that too.

gSDE was designed to run RL directly on real robots (no sim2real) even though it should help for sim2real pb too (however, I'm not sure if MinitaurBulletEnv-v0 is Sim-to-Real problematics or not).

I read about Minitaur here. Can you share with me please, Actor loss, Critic loss, Steps (at episode) charts for detailed analysis of my problematics. I try your hyperparameters without significant improvement.
I use client-server architecture for training RL agents (with Reverb).
Thanks.

Best for you would be to do a run using SB3 + the rl zoo:
the hyperparams:
MinitaurBulletEnv-v0:
  n_timesteps: !!float 1e6
  policy: 'MlpPolicy'
  learning_rate: !!float 3e-4
  buffer_size: 1000000
  batch_size: 256
  ent_coef: 'auto'
  gamma: 0.99
  train_freq: 4
  gradient_steps: 4
  learning_starts: 10000
  use_sde: True
  policy_kwargs: "dict(log_std_init=-3)"

Training with tensorboard (logging to /tmp/tensorboard_sb3/ here)
python train.py --algo sac --env MinitaurBulletEnv-v0 -tb /tmp/tensorboard_sb3/ --num-threads 2 --eval-episodes 20 --n-eval-envs 5

The learning curves (blue is unstructured noise, orange with gSDE):
Note that the true performance of SAC is higher because I display the training reward here, not the evaluation one using the deterministic controller.

PS: I think that it is because the learner is faster than the agent. When I try for example AntBulletEnv-v0 everything is good, but the agent plays faster than the learner. In this case, the learner has more data to training from.

you mean that you are learning in parallel of data collection?
Yes this can be definitely a problem.

Btw, the new version of the gSDE paper is online https://arxiv.org/abs/2005.05719 ;)
A summary of where it is useful:

Yes, the learner instance is learning in parallel to data collection.
Thanks a lot for your time, I will be trying it with your hyperparameters and try to make the learner slower than the agent is collecting data because those configuration is working on other environments.

Yeah, thanks for the answers I think this issue is solved. I must still be working on RL-Toolkit.

Expectation over time means the average over the time in continuity cost equation?

yes.
I'm using a wrapper to compute it:
class ContinuityCostWrapper(gym.Wrapper):
    """
    Add continuity cost to the reward.
    It assumes that the action space is normalized
    and symmetric (actions in [-1, 1]).
    :param env:
    :param weight_continuity:
    :param verbose:
    :param print_freq: Print every n episodes the mean continuity cost
    """

    def __init__(self, env: gym.Env, weight_continuity: float = 0.0, verbose: int = 0, print_freq: int = 1):
        super(ContinuityCostWrapper, self).__init__(env)
        self.last_action = None
        self.weight_continuity = weight_continuity
        self.verbose = verbose
        self.continuity_hist = []
        self.unnormalized_hist = []
        self.n_episodes = 0
        self.print_freq = print_freq

    def reset(self):
        self.last_action = None
        self.n_episodes += 1
        return self.env.reset()

    def step(self, action):
        obs, reward, done, info = self.env.step(action)
        # Continuity cost
        if self.last_action is not None:
            max_delta = 2.0  # for the action space: high - low = 1 - (-1) = 2
            continuity_cost = np.mean((action - self.last_action) ** 2 / max_delta ** 2)
            unnormalized_cost = np.mean((action - self.last_action) ** 2)
            self.continuity_hist.append(continuity_cost)
            self.unnormalized_hist.append(unnormalized_cost)
            continuity_cost = self.weight_continuity * continuity_cost
            self.last_action = action.copy()
        else:
            continuity_cost = 0.0
            self.last_action = action.copy()

        if done:
            continuity_score = 100 * np.mean(self.continuity_hist)
            if self.verbose > 0 and self.n_episodes % self.print_freq == 0:
                print(f"n_step={len(self.continuity_hist)}")
                print(f"Continuity={continuity_score:.5f} +/ {np.std(self.continuity_hist):.5f}")
                # print(f"Unnormalized continuity={np.mean(self.unnormalized_hist):.5f}\n")
            info["continuity_score"] = continuity_score

        reward -= continuity_cost
        info["continuity_cost"] = continuity_cost
        return obs, reward, done, info

@araffin Thanks all is working now. I must use a TQC algorithm instead of classic SAC, because the learner was faster than the agent collecting experiences.
TotalInteractions: 1532116 (the agent steps in the environment)
Train step: 999906 (the learner's training steps)
Now is the agent about 500 000 steps before the learner and learning process is more accurate.

https://user-images.githubusercontent.com/74611856/124826185-d81e5900-df74-11eb-80a2-3b6fb800bdec.mp4


text:
Create typing stub files

Mypy doc on stub files.
https://mypy.readthedocs.io/en/stable/stubs.html
Create stub files for used third party libraries that do not provides their own types.
Create stub files for gitlab2prov code to allow projects that import modules from gitlab2prov to also import their type signatures.
Sub-Issue of #26

Postponed

authors: cdboer onyame


text:
DMIunipgAI-VacuumCleaner2016-trivelle

versione "Trivelle" del Vacuum Cleaner, file della competition 2016

https://github.com/DMIunipg/AI-Project-VacuumEnvironment/pull/2.patch
Step 1: From your project repository, check out a new branch and test the changes.
git checkout -b valefranz-master master
git pull git://github.com/valefranz/AI-Project-VacuumEnvironment.git master
Step 2: Merge the changes and update on GitHub.
git checkout master
git merge --no-ff valefranz-master
git push origin master

repo: DMIunipg/AI-Project-VacuumEnvironment


text:
File naming

It seems that many file names between the requester/responder are the same. Generally we avoid h/c file collisions because they are in different directories. I’m not so sure this applies to object files though as they may be built into the same directory and have the same name if some client wants to use both the requester and responder.
When I ported the libspdm to a Windows static library to be finally built as a Windows dll, I ran into problems and had to rename some of the files so their object files would not collide. The VC++ standard project/solution build system normally dumps all object files to a single output dir. I did not see an easy way to change this, so I resolved it by changing the files with the name collision to have “requester” in front of them.
I think other potential clients may fun into this problem, and was wondering if we should name the files differently, by prepending requester or responder to then.  Example. Instead of “communication.c”, name it “requester_communication.c” and “responder_communication.c”.

Resolve together with https://github.com/DMTF/libspdm/issues/155

Resolved by https://github.com/DMTF/libspdm/pull/278

authors: jyao1 rkongintel steven-bellock

repo: DMTF/libspdm


text:
Can't get access to Phone No. Field in Event Enrollment

I can't seem to find a token to access the Phone Number field that is built into the Enroll section of an Event.
On this page:
https://github.com/DNNCommunity/DNN.Events/wiki/Tokens-to-be-used-in-Templates
I found the token for the name: [event:signupusername] and Email address [event:signupuseremail] But I have no idea how to access the data in the Phone No. field.
-Tom

Currently, the Phone number is not avaialble as token. I will add this as an enhancement request

Wonderful. Thanks for responding and letting me know.
Tom

authors: EPTamminga thosalbert


text:
Added my notebook with analysis of German credit risk dataset.

This includes correlations, a few graphs, and reports of my findings

Good job @samc5 10/10


text:
Is there a Docker deployment solution or a FastAPI server setup available for docling?

Question
I am looking to deploy docling and would like to know if there is an existing Docker deployment solution or a FastAPI server setup available.
...

Hi @ShedrachJonah11, we have a webserver for docling in the works. It is currently experimental stage. See here.
There is also a Dockerfile in this repo to demonstrate how to run docling on the container.


text:
Submit zip jobs

Adding support for job submission as zip files to twister2.

I think we should determine the content of the zip file. What files and directories should there be? We need to unzip it on workers and add jar files to the classpath.
As I understand, we expect the user to specify the job type on command line as "job_type=zip" or "job_type=jar". We are also expecting the user to specify the job file on the command line as "job_file=xyz.jar" or "job_file=xyz.zip". I think we may not need the extra job_type parameter. We can just check the extension of the job_file.

we should properly pack the unzipped files into the job package. Currently, TarGzipPacker in ResourceAllocator packs all files into a tar.gz file. That file is transferred to the workers. This packer currently packs job description file[job-name.job], user job jar file (jar file specified on command line), and conf directory. We need to add any newly added files or directories from zip file to the job tar.gz package. So, this all depends on the format of the original zip file. What will be the content of that zip file.

authors: Dananji ahmet-uyar


text:
Update links in docs to new Angular site

A while ago, Angular moved all of their documentation to a new site (angular.dev). All the links in our docs are now out of date and should be updated.

As far as I can see, there are only some references from the frontend testing docs. Those are outdated anyway, we don't actively use playwright for testing anymore, instead we use Storybook.

repo: DSD-DBS/capella-collab-manager


text:
🛑 Fakultas Kedokteran Gigi is down

In 861439b, Fakultas Kedokteran Gigi (https://dent.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas Kedokteran Gigi is back up in 2e803fe after 26 minutes.


text:
🛑 Unhas Main is down

In 83295c7, Unhas Main (https://unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Unhas Main is back up in 9a251f3 after 5 minutes.


text:
🛑 SSO Unhas is down

In 138edc9, SSO Unhas (https://sso.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SSO Unhas is back up in d8f6f3a after 5 minutes.


text:
🛑 Fakultas Kedokteran Gigi is down

In 8019097, Fakultas Kedokteran Gigi (https://dent.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas Kedokteran Gigi is back up in 75da26c after 4 minutes.


text:
🛑 Fakultas Vokasi is down

In 25d8c10, Fakultas Vokasi (https://vokasi.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas Vokasi is back up in ab4a137 after 10 minutes.


text:
🛑 Unhas Main is down

In 7810258, Unhas Main (https://unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Unhas Main is back up in 88fc53d after 11 minutes.


text:
Shift Register. Please review

modified:   document/rtl/modules.md
new file:   document/rtl/shift_reg.md
new file:   document/rtl/shift_reg_top.svg
new file:   source/shift_reg.sv

Rejected.
Unnecessary addition

authors: SubhanBihan foez-ahmed

repo: DSi-DV/maverickOne


text:
[DS-3971] BitstreamStorageServiceImpl: Do not call update

If the BitstreamStorageService calls update on the just cloned bitstream, this
bitstream will not belong to any Item and the user may get authorization
failures.
The update call can be removed here, because the clone method is only used by
the AbstractVersionProvider and it will call update on the bitstream later by
itself.
https://jira.duraspace.org/browse/DS-3971

I dislike having BitstreamStorageServiceImpl make changes to an entity and then give up control of it without persisting them, but we may have no choice here.  If so, the unpersisted state should be documented.  The place for that is in BitstreamStorageService#clone, which is not documented at all.

@mwoodiupui I just added some comment about the missing update() call to the existing comment of BitstreamStorageService#clone. Is this what you had in mind?

Yes, thank you.  Whenever we make changes to an entity which we do not commit, the caller should be warned.

I tested it, a submitter can create a new version of its item!
Just a thought: Instead of changing the cloned bitstream in the BitstreamStorageServiceImpl#clone, does anything speak against moving all changes to BitstreamServiceImpl#clone?  In this way, there will not be a unpersisted state.

We have created a pull request which avoid an unpersisted state in BitstreamStorageServiceImpl#clone
https://github.com/DSpace/DSpace/pull/2428#issue-279153056

Closing, replaced by #2428 (Please review/test that PR so that we can get it resolved/merged)

authors: AlexanderS marsaoua mwoodiupui tdonohue

repo: DSpace/DSpace


text:
[DS-2345] Fixes wrong start index starting at 0 instead of 1 for OpenSearch

This fixes the bug for the Discovery implementation. I think for the StandardOpenSearchGenerator (old Lucene based) implemenatation there are 2 lines which should be changed too.
Line 72 and Line 114. But we are using Discovery which makes it harder to test it.

I accidentally merged the changes on dspace master to the Branch [DS-2345]. Not sure how this affects the pull request.

Don't worry, we have a way to get just the stuff we need.

Here is more Information on the bug:
If you look at the result xml file of this query:
http://demo.dspace.org/xmlui/open-search/discover?format=kops&query=author%3A*&start=0
it says that start index is 1 <opensearch:startIndex>1</opensearch:startIndex>
This query says the same:
http://demo.dspace.org/xmlui/open-search/discover?format=kops&query=author%3A*&start=1
but the result is different (starting with the second result of the first query)
The expected behaviour would be:
the same query result for both querys because OpenSearch starts counting at 1 not at 0 and if   <opensearch:startIndex>1</opensearch:startIndex>  is equal in both cases the result has to be the same too.

+1 tested, cherry-picked


text:
com.android.builder.dexing.DexArchiveBuilderException

com.android.builder.dexing.DexArchiveBuilderException on Android
Issue Type

[x] Bug Report
[ ] Feature Request

Description
This Gradle exception occurs when trying to build app with JDA

https://developer.android.com/studio/write/java8-support.html

@natanbc thank you

authors: gocrafterlp natanbc


text:
First pass on stage channels

Pull Request Etiquette

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the contributing guidelines.

Changes

[x] Internal code
[x] Library interface (affecting end-user code)
[ ] Documentation
[ ] Other: _____

Closes Issue: #1572
Description
This adds support for stage channels, which are basically just voice channels with topics.

Freezing this for now due to discord/discord-api-docs#2751

Please note that this feature is still under active development (even though it is launched), and thus there is higher than normal risk of things possibly changing.

The API for stage channels is kinda weird. I did some digging and found out a few issues that will be annoying to deal with:

The request to speak endpoint seems to be REST-only (so you can't join and immediately speak)
The endpoint also requires you to specify which channel you are currently in (which requires caching, not a problem for us)
They expect an ISO timestamp for the request to speak (i can't understand why but ok)
You can suppress yourself? I have no idea why this is a thing
Apparently, bots can also approve requests to speak, this is limited through MUTE_MEMBERS permission
The request to speak timestamp is also part of voice states, so we can derive an event there

Can't see any methods to invite someone to speak, I think that's possible in stage channels (works like speaking requests but backward: the user has to accept the invite from a moderator to speak)

Any updates?

Can't see any methods to invite someone to speak, I think that's possible in stage channels (works like speaking requests but backward: the user has to accept the invite from a moderator to speak)

The bot I use (which uses this JDA lib) can have a moderator role and bypass any invites??

It will be ready when it is ready. Stage channels are still in flux behind the scenes in the Discord API.

Should we move the speaker methods such as approveSpeaker and inviteSpeaker into the Member interface instead?

Feature TODO

[ ] Stage Instance events
[ ] Stage Instance moderation (set topic etc)
[ ] Voice states for lurkers

Overall TODO

[ ] Documentation
[ ] Checks
[ ] Testing


text:
Bug : More paragraphs in comments

Hi
First, your DZReadability is powerfull !
I've seen juste one bug, its when the comments bloc have more  than article.
By example for this news :
http://blog.lefigaro.fr/football/bruno_roger-petit/2015/03/subasic-heureux-pour-monaco-peut-on-se-rejouir-davoir-ete-ridicule.html
// count how many p tags are inside the parent
NSArray *pNodes = [parent nodesMatchingSelector:@"p"];
Did you have an idea for fix it please ? :)
Thx
Realbug

Hi
Thank you.
That's something that I will try to focus on in the next release.
I think of adding the ability to provide tag ids and classes for instant win to the algorythm before start. It will help to identify article block on specific sites and may help cure these errors with finding the right article block. I will also implement ignoring comment blocks by their most common id and class names.
I don't know when I'll return to this project for the next iteration. Any help is appreciated.

@DZamataev  cant able to get the heading of the web page , i have tried with various Readability Parser Option but no result , can u help me ?

@praveengodz Sure, give me the url you are trying to parse please.

@DZamataev
URL : http://trak.in/tags/business/2016/06/14/employees-startup-must-have/
From this url except main heading (title) other are so perfect .
Thanks for your support Denis.

authors: DZamataev RealBug praveengodz

repo: DZamataev/DZReadability


text:
Faction command does not implement PluginIdentifiableCommand

This prevents Poggit from detecting the command, and hence the plugin cannot be searched.

Shouldn't this be done by commando tho?

Fun fact: Commando doesn't even take a Plugin instance, so they can't fix it without breaking BC.
https://github.com/CortexPE/Commando/blob/master/src/CortexPE/Commando/BaseCommand.php#L74-L78
I created https://github.com/CortexPE/Commando/issues/26 on Commando though.

repo: DaPigGuy/PiggyFactions


text:
bm-marker组件的position属性的BUG

在使用过程中，发现bm-marker的position在绑定data时会出现偏差，但是直接使用经纬度写死时则正常

Auto closed by issues bot. Please create your issue by issue generator.
当前问题由机器人自动关闭，请使用 ISSUE 生成器提交您的问题。

authors: Dafrok javatong

repo: Dafrok/vue-baidu-map


text:
Error while importing SecHub Scans into IntelliJ

When I try to import an SecHubReport into the IntelliJ plugin I get the following Error:
importError.txt
Setup:
OS: Windows
IntelliJ Version: 2021.2 Ultimate Edition,
SecHub Plugin Version: 0.2.1
java version "15.0.1" 2020-10-20
Java(TM) SE Runtime Environment (build 15.0.1+9-18)
Java HotSpot(TM) 64-Bit Server VM (build 15.0.1+9-18, mixed mode, sharing)

Here the stacktrace directly inside a comment - just for convenience (it's the content of cimportError.txtjava.lang.NoClassDefFoundError: com/daimler/sechub/client/java/SecHubReportException
at com.daimler.sechub.action.SechubImportAction.actionPerformed(SechubImportAction.java:43)
at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performActionDumbAwareWithCallbacks$4(ActionUtil.java:240)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareWithCallbacks(ActionUtil.java:261)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAwareWithCallbacks(ActionUtil.java:240)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.lambda$actionPerformed$0(ActionMenuItem.java:272)
at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:236)
at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:67)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:264)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$fireActionPerformed$0(ActionMenuItem.java:98)
at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:94)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:98)
at com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:515)
at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:545)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6652)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3345)
at java.desktop/java.awt.Component.processEvent(Component.java:6417)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5027)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4859)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2784)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4859)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:778)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:751)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:749)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:748)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:886)
at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:815)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:752)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:442)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:825)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:441)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:794)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:493)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.ClassNotFoundException: com.daimler.sechub.client.java.SecHubReportException PluginClassLoader(plugin=PluginDescriptor(name=SecHub, id=com.daimler.sechub.sechub-plugin-intellij, descriptorPath=plugin.xml, path=~\AppData\Roaming\JetBrains\IntelliJIdea2021.2\plugins\sechub-plugin-intellij-0.2.1.jar, version=0.2.1, package=null), packagePrefix=null, instanceId=234, state=active)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:254)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 52 more)
java.lang.NoClassDefFoundError: com/daimler/sechub/client/java/SecHubReportException
	at com.daimler.sechub.action.SechubImportAction.actionPerformed(SechubImportAction.java:43)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performActionDumbAwareWithCallbacks$4(ActionUtil.java:240)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareWithCallbacks(ActionUtil.java:261)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAwareWithCallbacks(ActionUtil.java:240)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.lambda$actionPerformed$0(ActionMenuItem.java:272)
	at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:236)
	at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:67)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:264)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$fireActionPerformed$0(ActionMenuItem.java:98)
	at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:94)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:98)
	at com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:515)
	at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:545)
	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6652)
	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3345)
	at java.desktop/java.awt.Component.processEvent(Component.java:6417)
	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5027)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4859)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2784)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4859)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:778)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:751)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:749)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:748)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:886)
	at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:815)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:752)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:442)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:825)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:441)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:794)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:493)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.ClassNotFoundException: com.daimler.sechub.client.java.SecHubReportException PluginClassLoader(plugin=PluginDescriptor(name=SecHub, id=com.daimler.sechub.sechub-plugin-intellij, descriptorPath=plugin.xml, path=~\AppData\Roaming\JetBrains\IntelliJIdea2021.2\plugins\sechub-plugin-intellij-0.2.1.jar, version=0.2.1, package=null), packagePrefix=null, instanceId=234, state=active)
	at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:254)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	... 52 more

@Alexandra-Koenig : I think this happens because of the new signing process of the Jebrains platform. The new singing will be handled by #25 . I added both issues Milestone 0.3.0.
Please reopen this issue, if the new release (0.3.0) will not fix the problem .

Plugin v0.3.0 is now available on IntelliJ Marketplace (alpha channel).  This should fix the problem.

Was tested with 2021.2 Ultimate Edition and does now work. Will also mention inside release https://github.com/Daimler/sechub-plugin-intellij/releases/tag/v0.3.0

authors: Alexandra-Koenig de-jcup

repo: Daimler/sechub-plugin-intellij


text:
Add HackLang icon

Just like the title says

Thanks. Added with 4ce2190.

Great :clap:

authors: astephenb steelbrain

repo: DanBrooker/file-icons


text:
chore(main): release 0.7.1

:robot: I have created a release beep boop
0.7.1 (2024-09-20)
Bug Fixes

README (#33) (5e564f1)
separetely export db connection classes (#31) (75e2e57)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.7.1
:sunflower:

repo: DanForys/ts-query-model


text:
User Guide

Finish off and put into version control.

Wiki pages have their own repo - need to explore this further

repo: DanGrew/JenkinsTestTracker


text:
Bug on send_dm

hello
On send_dm , i'have this error
'Traceback (most recent call last):
File "/home/devsupportbot/bot/lib/python3.6/site-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/home/devsupportbot/bot/mybot/plugins/meteo.py", line 38, in humeurJour
Réagis en cliquant sur une icône''')
File "/home/devsupportbot/bot/lib/python3.6/site-packages/machine/plugins/base.py", line 191, in send_dm
self._client.send_dm(user, text)
File "/home/devsupportbot/bot/lib/python3.6/site-packages/machine/slack.py", line 82, in send_dm
dm_channel = self.open_im(u.id)
AttributeError: 'NoneType' object has no attribute 'id''
here is my code
  def humeurJour(self):         """humeurJour : demande l'humeur du jour sur le canal meteo"""         for u in DbSession.query(users.utilisateur,                                  slackusers.name,                                  slackusers.user_id).join(slackusers,                                                           services).filter(                 services.nom == "Support").order_by(                 users.slackid):             print(u.utilisateur, u.name, u.user_id)             msg = self.send_dm(u.name,                                'Salut , ' + u.name +                                ''' ,comment vas tu aujourdhui? \n                                       Réagis en cliquant sur une icône''')             channel = msg['channel']             reaction_channel.append(channel)             ts = msg['ts']             for i in DbSession.query(emojis).order_by(emojis.score):                 print(i.emoji)                 self.react(channel, ts, i.emoji)

auto solve icoming from my test slack instance not having all users of prod.
I close

repo: DandyDev/slack-machine


text:
Allow us to give vector drawable

It would be very helpful to us if we can use our own drawable to animate ..

This is related to this issue where shapes and drawables are being discussed: https://github.com/DanielMartinus/Konfetti/issues/11

authors: DanielMartinus spiderShaki

repo: DanielMartinus/Konfetti

license: isc


text:
RU Domains UnicodeDecodeError: 'utf-8' codec can't decode

Hi, I am getting an error while collecting information for RU domains.
I have Windows 10 RU, checking domains in other zones without errors.
Domain zone RU - UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdd in position 124: invalid continuation byte

tried with a random .ru , works
>>> domain = whois.query('football.ru')
>>> print(domain.__dict__)
{'name': 'football.ru', 'registrar': 'REGTIME-RU', 'registrant_country': '', 'creation_date': datetime.datetime(2002, 12, 15, 21, 0), 'expiration_date': datetime.datetime(2021, 12, 16, 21, 0), 'last_updated': None, 'status': 'REGISTERED, DELEGATED, VERIFIED', 'statuses': ['REGISTERED, DELEGATED, VERIFIED'], 'dnssec': False, 'name_servers': {'ns-cloud-d3.googledomains.com', 'ns-cloud-d1.googledomains.com', 'ns-cloud-d4.googledomains.com', 'ns-cloud-d2.googledomains.com'}}

authors: DannyCork sanitarn

repo: DannyCork/python-whois


text:
Translate install steps

新增了英文：

install 步骤
license 激活
video 频道

Besides, it is suggested to cover yout phone numer and email address with mosaics in the pics you uploaded.

repo: DaoCloud/DaoCloud-docs


text:
docker.io/python:3.9-slim

镜像域名 (镜像仓库)

[ ] 请确保包含域名(domain)

镜像标签

[ ] 请确保包含镜像的标签(tag)

镜像存在

[ ] 请确保这个镜像真实存在

1

repo: DaoCloud/public-image-mirror


text:
Failed to open the library

I'm getting the following error when trying to print Libgit2.version
Failed to open the library. Make sure that libgit2 library is bundled with the application.
Another exception was thrown: Invalid argument(s): Failed to load dynamic library
'/home/johannes/td/build/linux/x64/debug/bundle/lib/libgit2-1.6.2.so': libssh2.so.1: cannot open shared object file: No such file or directory

Installed with:
$ flutter pub add git2dart

$ uname -a
Linux ubuntu 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Installing libgit2-dev on ubuntu seems to have solved the issue:
sudo apt install libgit2-dev

However, shouldn't the library be bundled with git2dart for it to work e.g. on Android


text:
Energy values required

Hi,
is there any chance to get the energy values (kWh) from the API? These values are shown in the Energy Diagram. They are necessary for the energy dashboard of HA. Looks like these values available via https://www.alphaess.com/api/Power/SticsByPeriod and/or https://www.alphaess.com/api/ESS/SticsSummeryDataForCustomer
Looks like the neccesary values for issue #4 ...
Regards,
Ralf

Hi Ralf, check out https://github.com/CharlesGillanders/homeassistant-alphaESS.
It doesn't replace this add-on, but when run alongside it gives you everything you need for both real time data and the data needed for the energy dashboard.

authors: rafkra tbgoose


text:
dev-proc/versioning.md: initial coorections to dasharo naming scheme

Based on discussion in following issues and announcements made on DUG#6 new naming convention for Dasharo products was introduced. For details please check:

https://github.com/Dasharo/docs/pull/820
https://github.com/Dasharo/dasharo-issues/issues/762

@macpijan ping

@macpijan @miczyg1 ping

repo: Dasharo/docs


text:
meta-dts-distro/recipes-dts/dts/dasharo-deploy: fix downloading Dell …

…BIOS Update packages

@miczyg1 Picked here on top of the latest changes and rebuilding locally: https://github.com/Dasharo/meta-dts/pull/34
@TomaszAIR Didn't we have CI for DTS? Couldn't we build PRs and upload artifacts?

@macpijan we have a weekly CI for checking cache, but we did not create one for pushed PR, I started an issue for this https://github.com/Dasharo/dasharo-issues/issues/476
@miczyg1 changes from here are already integrated in #36 so I am closing this one.

@TomaszAIR the problem is the change didn't work as expected. I must have messed up the bash syntax because wget doesn't detect the URL after the change.

authors: TomaszAIR macpijan miczyg1

repo: Dasharo/meta-dts


text:
[NEW] airnewzealand.com

Domain Name:
airnewzealand.com

Purpose:
Airline

Relevance:
https://www.airnewzealand.com/cyber-security-account-protection

Additional Information:

Needs to solve merge conflict @irew

authors: Mikescops irew

repo: Dashlane/passkeys-resources


text:
Lc alink text fix

<your comments for this PR go here >
Have you read Terra's Contributing Guide lately? If not, do that first.
I, the developer opening this PR, do solemnly pinky swear that:

[ ] PR is labeled with a Jira ticket number and includes a link to the ticket
[ ] PR is labeled with a security risk modifier [no, low, medium, high]
[ ] PR describes scope of changes

In all cases:

[ ] Get a minimum of one thumbs worth of review, preferably 2 if enough team members are available
[ ] Get PO sign-off for all non-trivial UI or workflow changes
[ ] Verify all tests go green
[ ] Squash and merge; you can delete your branch after this
[ ] Test this change deployed correctly and works on dev environment after deployment

I think this branch needs to be rebased from the latest develop.

authors: rushtong solideoglori

repo: DataBiosphere/duos-ui


text:
WOR-1510 upgrade otel override HttpServerMetrics

https://broadworkbench.atlassian.net/browse/WOR-1510

Does a service using OTEL via TCL need to do anything extra to get these changes?

yes, they need to upgrade their TCL version, I will start doing that tomorrow

repo: DataBiosphere/terra-common-lib


text:
rename tools to workflows [SATURN-868]

This replaces references to tools in the code with workflows, along with redirectors for affected paths. There are still a few places in copy where we refer to tools, and I didn't touch those, I want to check in with product first.

@panentheos I think I got them all

repo: DataBiosphere/terra-ui


text:
[DC-362] add metrics to the retry logic in terra UI

added a retry handler for AJAX calls to return metrics to mixpanel.

Thinking about this some more, it seems like this will capture many request failures that we don’t actually care about because they’re part of the normal operation of Terra. For example, every time I load Terra, there are several 404 responses from Bard because I don’t have NIH, Anvil, etc accounts linked. This would report events for all of those. There are also some expected error responses in data tables. For example, if you try to delete a row referenced by another row, the API returns 429 to let you know that you have to delete the reference first. Is this going to capture so many false positives that any potential signal is lost in the noise?

I agree, we can filter out the bond errors.

Filtering out Bond errors by service URL should use the URL for the current environment (#3072 (comment)).

Could you clarify? Unsure about instead of using a direct root of https://broad-bond-dev.appspot.com and replacing it with the args[0] value of https://broad-bond-dev.appspot.com/api/link/v1/fence? Is it redundent?

Could you clarify? Unsure about instead of using a direct root of https://broad-bond-dev.appspot.com and replacing it with the args[0] value of https://broad-bond-dev.appspot.com/api/link/v1/fence? Is it redundent?

In development, Terra UI makes Bond requests to broad-bond-dev.appspot.com. In production, it makes those requests to broad-bond-prod.appspot.com. Thus, filtering out requests to broad-bond-dev.appspot.com would not affect requests in production.
These service URLs are configured for each environment (dev, alpha, staging, prod, etc.) Instead of hardcoding a URL like broad-bond-dev.appspot.com, this should use the configured service URL (getConfig().bondUrlRoot).
https://github.com/DataBiosphere/terra-ui/blob/74a981df7a6a5a27a96bd13e5bae60644cbf8298/src/libs/ajax.js#L156-L169

Filtering out Bond errors by service URL should use the URL for the current environment (#3072 (comment)).

Could you clarify? Unsure about instead of using a direct root of https://broad-bond-dev.appspot.com and replacing it with the args[0] value of https://broad-bond-dev.appspot.com/api/link/v1/fence? Is it redundent?

or you meant replace it with getConfig().bondUrlRoot

missed that thanks

authors: nawatts petesantos slucasbroad