Policy Hub - Policy Template Update

Summary
Update the policy hub used policy template for the endpoint
POST /api/policy-hub/policy-content
GET /api/policy-hub/policy-content
USAGE

{
    "@context": {
      "@vocab": "https://w3id.org/edc/v0.0.1/ns/"
    },
    "@id": "<POLICY-ID>",
    "policy": {
      "@context": [
        "https://www.w3.org/ns/odrl.jsonld",
        {
          "cx-policy": "https://w3id.org/catenax/policy/v1.0.0/"
        }
      ],
      "@type": "Policy",
      "profile": "cx-policy:profile2405",
      "permission": [
        {
          "action": "use",
          "constraint": {
                    "and": [
            {
              "leftOperand": "cx-policy:FrameworkAgreement",
              "operator": "eq",
              "rightOperand": "traceability:v1.0"
            },
            {
              "leftOperand": "cx-policy:ContractReference",
              "operator": "eq",
              "rightOperand": "{inputValue}"
            },
            {
              "leftOperand": "cx-policy:UsagePurpose",
              "operator": "eq",
              "rightOperand": "{policy value}"
            }
          ]
        }
      ]
    }
  }

ACCESS

{
    "@context": {
      "@vocab": "https://w3id.org/edc/v0.0.1/ns/"
    },
    "@id": "<POLICY-ID>",
    "policy": {
      "@context": [
        "https://www.w3.org/ns/odrl.jsonld",
        {
          "cx-policy": "https://w3id.org/catenax/policy/v1.0.0/"
        }
      ],
      "@type": "Policy",
      "profile": "cx-policy:profile2405",
      "permission": [
        {
          "action": "use",
          "constraint": {
                    "or": [
              {
              "leftOperand": "BusinessPartnerNumber",
              "operator": {
              "@id": "eq"
              },
              "odrl:rightOperand": "{BPNL value submitted by the user or regex}"
              },
               {
              "leftOperand": "BusinessPartnerNumber",
              "operator": {
              "@id": "eq"
              },
              "rightOperand": "{BPNL value submitted by the user or regex}"
              },
               {
              "leftOperand": "BusinessPartnerNumber",
              "operator": {
              "@id": "eq"
              },
              "rightOperand": "{BPNL value submitted by the user or regex}"
              }
          ]
        }
      ]
    }
  }

Special Request only for the POST /api/policy-hub/policy-content endpoint:
Additionally to the generic structure - the support of "OR" constraintOperand for usage constraints are not supported for now.
Since this is in general allowed but not used by catena-x; i suggest instead of deleting the code to comment out the option to set an "OR" connection.
Note: access policies with an "OR" connection are still allowed (as shared above)

@AnuragNagpure  suggesting to start this ticket last


If user has same amount of points in multiple climate profiles, show all

[x] #316
[x] #317
[ ] #321
[ ] Tests

Blocked by lack of proper e2e test setup. work in progress

This has been confirmed to be done, was accidentally left hanging.


Add top & second level browse pages to details hash

We are adding top level and second level browse pages into the details hash because we need them to be able to be ordered when the content is curated in collections publisher.
In the past we made a decision of not preserving the order for links, which can be found here: https://gov-uk.atlassian.net/wiki/display/FS/RFC+36%3A+Stop+preserving+order+for+links
One of the key reasons for this decision was to make sure presentation concerns don't get put in the links hash. That's why we are using details instead: neither of these fields are needed to describe how the browse pages link together (we have active_top_level for that).
There will be following commits to remove these two fields from the links hash once we have fixed the frontend apps.
Trello:
https://trello.com/c/KZJigx96/676-ordering-of-browse-pages-no-longer-respected
@davidslv & @MatMoore

There will be following commits to remove these two fields from the links hash once we have fixed the frontend apps.

Wouldn't you still need them, because otherwise the frontend would just have a bunch of UUIDs?

@tijmenb I'm not sure how to solve it, but it seems to be really against the spirit of the RFC to keep these in the links hash, as the only information they give you deals with presentation concerns.

All browse pages get the same data for top_level_browse_pages
The second_level_browse_pages of a top level browse page is just the inverse of the active_top_level relationship
The second_level_browse_pages of a second level browse page tells you its siblings, which are also implied by active_top_level links.


Thoughts about a REPL?

Noticed one of the TODOs is a repl, I'd like to take a stab at this.  Did you have some specific thoughts?  This paper seems to have some good approaches to JIT, module linking, and lazy function loading (which also might help with the compiler speed).
http://llvm.org/devmtg/2008-08/Begeman_EfficientJIT.pdf

My initial thoughts was to implement an eval function, a meta circular elevator, which would be separate from the compiler. Generating native code from each line via the IR looks like a good way to reuse the existing compiler, but it would require some sort of FFI to interface with the LLVM library or writing adapters in the bootstrap LLVM code.

What do you think about the approach of using popen to trigger the command line compiler and write a shared library.  Then use dlopen() to get the function pointer to call?  It's not true "jit"  or FFI, but it's pretty simple and encapsulates all the compilation details to a command string.

Good idea, I like the simplicity of it.

I was able to run a jit by first porting this to common lisp https://github.com/terminal625/scheme2llvm, and using a ffi to LLVM-C.


Update modules.md

Adds documentation explaining the ext properties/keys. The original documentation was obtained here: https://nfcore.slack.com/archives/CJRH30T6V/p1664305085188039

@nf-core-bot fix linting


Avoid global mutations

This removes a few places where global compiler bindings are mutated:

Make sysLog call an internal binding which is changed via
setSysLog.

Use Object.assign to change values in objectAllocator instead
of mutating the binding itself.  (The type should verify that any
future uses of this will properly override all bindings.)

localizedDiagnosticMessages is not really needed as an exported
value, there's only one place that uses it to test whether it is set
or not.  So drop the export and replace it with a new
maybeSetLocalizedDiagnosticMessages (internal) function.

@typescript-bot perf test this


Bump spring to newest version

Hello,
me and my colleague FOXY and other team members are using this library but it has old spring version,
can u update this so we can keep using this please?

Done.


Add-SPOJavaScriptLink - Access Denied - User is Site Collection Admin

Hello,
Firstly thank you so much for putting this together!
I've been experimenting with the cmdlets and have had sucsess in creating a Web, uploading a file and setting a Webs logo
The cmdlet I'm most desperate to use however is Add-SPOJavaScriptLink. I have tried the following syntaxes but each one returns the error message at the bottom
I am a Site Collection admin for the Site in question and a Global Admin for the Office 365 tenancy
I would like to add the link at the Site Collection level but have also tried with -Scope set to Web
I couldn't see any prerequisites that I am missing.... can you point me in the correct direction?
 You do not have permission to perform this action or access this resource.
At line:10 char:1
+ Add-SPOJavaScriptLink -Key "ALjQuery" -URL "~sitecollection/SiteAssets/jquery-1. ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (:) [Add-SPOJavaScriptLink], ServerUnauthorizedAccessException
    + FullyQualifiedErrorId : EXCEPTION,OfficeDevPnP.PowerShell.Commands.AddJavaScriptLink

Did you enable the custom script settings in the SharePoint admin center?

They are still both set to Prevent... but I am trying to use Add-SPOJavaScriptLink against an intranet site not a 'personal' site
The following commands worked without any errors - Get-SPOList, New-SPOWeb, Add-SPOFile, Set-SPOWeb

Can you try to set them to allow, wait 24 hours and try again? I think this will be the solution to your solution.

Hmm... I can and will happily give it a go
Seems a bit strange though and will make it a lot easier for a user to experiment/break their own MySite
Is this something you've had to do?

Your suggestion solved the problem
I wonder if it's because I was trying to make the change to the default root site collections that is provisioned automatically as opposed to one that we had provisioned
Thank you

Nice! Good to hear that!


seems The vscode use about 10 times memory against sublime

opened with the same project in VSCODE and SUBLIME TEXT3, I can see that vscode used more memory, may be it is not a issue. But I think that is a good improve point for vscode.
because it loved by so many people.

VSCODE version:

sublime version:

with screenshot attached.

system OS info also attached.

VSCode is an electron project, Sublime isn't. That's the reason for the difference and I don't think VSCode will ever approach Sublime's memory usage territory.

firstly, I said that may be not a issue, but a point which can improve the vscode.
secondly, The reason I drop Atom away  is because It takes too much disk space than sublime.
the Atom also an electron project, but vs code can make it more smaller than Atom, why can not us make the memory usage less?
The most import things is-----if we know there exist one goal, why not to catch it and leave it behind us!

I think this is really a problem that needs to be improved. My computer runs memory 8G, and the vscode workspace has several folders. When opening a file page, vscode will take up 50% of my computer's memory. At the highest, it takes up 90% more memory

When you run code --status while code is up you can see more where the memory is used. Mostly it is used by language servers e.g. for TypeScript , providing rich editing capabilities. You can decide to uninstall these extensions.

are you sure, I type the command, and get list below:

The 158M is my workspace of project
the 167M seems with the 88M item are seems microsoft plugins
which part is TypeScript?

No TypeScript in your screenshot but the c++ language server and the JSON language server (that's based on the files you have opened since you opened the Window).

but the memory usage do high, compare to 40M of sublime total. 10 times, which is a big number.


feat: index acks to determine outbound ibc transfer success

Currently we are indexing MsgTransfer to determine if some outbound ICS-20 transfer took place and a taxable event should be observed. The problem with this is that a transfer can fail or be timed out which means we cannot assume all occurrences of MsgTransfer indicate a successful outbound transfer.
Instead we can index MsgAcknowledgement which indicates that the OnRecvPacket callback was invoked on the receiving chain. Acknowledgements can be either an Acknowledgement_Error or Acknowledgement_Result where the former indicates a failed transfer and the latter indicates a successful transfer, we only index Acknowledgement_Result.
Closes #406

Looks good to me, @pharr117 any thoughts on this?  If not,  I say we merge it.


Can't open RTSP Stream

I'm trying to open a RTSP url from the DVR API and is giving me this error when i log it:
I/flutter ( 4095): {id: 41}
I/flutter ( 4095): media_kit: AndroidVideoController: Emulator detected.
I/flutter ( 4095): media_kit: AndroidVideoController: Enforcing S/W rendering.
I/flutter ( 4095): media_kit: wakelock: _count = 1
I/flutter ( 4095): Logs PlayerLog(prefix: cplayer, level: v, text: Set property: vo="null" -> 1)
I/media_kit( 4095): com.alexmercerind.media_kit_video.VideoOutputManager.createSurface:<PHONE_NUMBER>90624
I/flutter ( 4095): {wid: 14190}
I/flutter ( 4095): Logs PlayerLog(prefix: cplayer, level: v, text: Set property: hwdec="no" -> 1)
I/flutter ( 4095): Logs PlayerLog(prefix: cplayer, level: v, text: Set property: vid="auto" -> 1)
I/flutter ( 4095): Logs PlayerLog(prefix: cplayer, level: v, text: Set property: opengl-es="yes" -> 1)
I/flutter ( 4095): Logs PlayerLog(prefix: cplayer, level: v, text: Set property: force-window="yes" -> 1)
I/flutter ( 4095): Logs PlayerLog(prefix: cplayer, level: v, text: Set property: gpu-context="android" -> 1)
I/flutter ( 4095): Logs PlayerLog(prefix: cplayer, level: v, text: Set property: sub-use-margins="no" -> 1)
I/flutter ( 4095): Logs PlayerLog(prefix: cplayer, level: v, text: Set property: sub-font-provider="none" -> 1)
I/flutter ( 4095): Logs PlayerLog(prefix: cplayer, level: v, text: Set property: sub-scale-with-window="yes" -> 1)
I/flutter ( 4095): Logs PlayerLog(prefix: cplayer, level: v, text: Set property: hwdec-codecs="h264,hevc,mpeg4,mpeg2video,vp8,vp9,av1" -> 1)
I/flutter ( 4095): Logs PlayerLog(prefix: cplayer, level: debug, text: Run command: stop, flags=73, args=[flags=""])
I/flutter ( 4095): Logs PlayerLog(prefix: cplayer, level: debug, text: Run command: playlist-clear, flags=73, args=[])
I/flutter ( 4095): Logs PlayerLog(prefix: cplayer, level: debug, text: Run command: playlist-play-index, flags=73, args=[index="none"])
I/flutter ( 4095): Logs PlayerLog(prefix: cplayer, level: debug, text: Run command: loadfile, flags=64, args=[url="rtsp://cameras.wikidados.com.br:6604/3/3?AVType=1&jsession=f7dd3c09d49e4ca997c2ea3d5471c81e&DevIDNO=210810610452&Channel=1&Stream=0", flags="append", options=""])
I/flutter ( 4095): Logs PlayerLog(prefix: cplayer, level: debug, text: Run command: cycle, flags=73, args=[name="pause", value="1.000000"])
I/flutter ( 4095): Logs PlayerLog(prefix: cplayer, level: v, text: Set property: pause -> 1)
I/flutter ( 4095): Logs PlayerLog(prefix: cplayer, level: v, text: Set property: playlist-pos=0 -> 1)
I/flutter ( 4095): Logs PlayerLog(prefix: global, level: debug, text: state path: 'watch_later' -> '-')
I/flutter ( 4095): Logs PlayerLog(prefix: cplayer, level: v, text: Running hook: main/on_load)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg, level: v, text: Opening rtsp://cameras.wikidados.com.br:6604/3/3?AVType=1&jsession=f7dd3c09d49e4ca997c2ea3d5471c81e&DevIDNO=210810610452&Channel=1&Stream=0)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg, level: debug, text: resize stream to 131072 bytes, drop 0 bytes)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg, level: debug, text: Stream opened successfully.)
I/flutter ( 4095): Logs PlayerLog(prefix: demux, level: v, text: Trying demuxers for level=request.)
I/flutter ( 4095): Logs PlayerLog(prefix: demux, level: debug, text: Trying demuxer: lavf (force-level: request))
I/flutter ( 4095): Logs PlayerLog(prefix: lavf, level: v, text: Found 'rtsp' at score=100 size=0 (forced).)
I/flutter ( 4095): Logs PlayerLog(prefix: lavf, level: v, text: Broken FFmpeg RTSP API => not setting timeout.)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg, level: debug, text: tcp: Starting connection attempt to <IP_ADDRESS> port 6604)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg, level: debug, text: tcp: Successfully connected to <IP_ADDRESS> port 6604)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg/demuxer, level: debug, text: rtsp: SDP:)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg/demuxer, level: debug, text: v=0)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg/demuxer, level: debug, text: o=LaunchDigital<PHONE_NUMBER><PHONE_NUMBER> IN IP4 <IP_ADDRESS>)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg/demuxer, level: debug, text: s=RTSP Session)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg/demuxer, level: debug, text: i=CMS MEDIA Server)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg/demuxer, level: debug, text: c=IN IP4 <IP_ADDRESS>)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg/demuxer, level: debug, text: t=0 0)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg/demuxer, level: debug, text: a=range:npt=now-)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg/demuxer, level: debug, text: a=control:*)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg/demuxer, level: debug, text: m=audio 0 RTP/AVP 97)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg/demuxer, level: debug, text: b=AS:128)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg/demuxer, level: debug, text: a=rtpmap:97 pcma/8000)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg/demuxer, level: debug, text: a=fmtp:97 octet-align=1;decode_buf=400)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg/demuxer, level: debug, text: a=control:trackID=0)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg/demuxer, level: debug, text: m=video 0 RTP/AVP 96)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg/demuxer, level: debug, text: b=AS:120)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg/demuxer, level: debug, text: a=rtpmap:96 H264/90000)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg/demuxer, level: debug, text: a=fmtp:96 profile-level-id=42E014; sprop-parameter-sets=Z0LgFNoFglE=,aM4wpIA=; packetization-mode=1)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg/demuxer, level: debug, text: a=range:npt=now-)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg/demuxer, level: debug, text: a=framerate:25)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg/demuxer, level: debug, text: a=framesize:96 352-288)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg/demuxer, level: debug, text: a=control:trackID=1)
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg/demuxer, level: debug, text: )
2
I/flutter ( 4095): Logs PlayerLog(prefix: ffmpeg/demuxer, level: debug, text: rtsp: setting jitter buffer size to 0)
I/flutter ( 4095): Logs PlayerLog(prefix: lavf, level: v, text: Could not set AVOption tls_verify='0')
I/flutter ( 4095): Logs PlayerLog(prefix: lavf, level: v, text: Could not set AVOption icy='1')
I/flutter ( 4095): Logs PlayerLog(prefix: lavf, level: v, text: Could not set AVOption seg_max_retry='5')
I/flutter ( 4095): Logs PlayerLog(prefix: lavf, level: v, text: Could not set AVOption allowed_extensions='ALL')

I've tested with other rtsp://, not from the DVR, and it's working fine. Here is my Player:
Can you help me?

The logLevel: MPVLogLevel.trace,:
logs.txt

Can you help me?

I can't.
We have multiple users successfully using RTSP streams. Not really interested in providing consultancy.


Feature/Preview imgur without extension

Using an api call, will preview an imgur link missing the extension if valid. Partially addresses #25.

Wrong branch


Decide where to show version number

Issue #804 indicates we should show an alert to the user when the version number changes.

[ ] first we'd like to just show the version number itself in the user interface, this draft PR #859 currently shows in the header right after the name Sinopia and above "LINKED DATA EDITOR", like this: "SINOPIA v0.3.3".  Another idea would be in the footer somewhere?
[ ] what should the alert look like and where should we show it?  easiest implementation could be something like a window.alert JS popup, but if there is an established pattern for app notifications and styles, that could be used too

thoughts @astridu ?

See #804 for ideas provided


Add option for public fields in Rust structs

Currently, structs like the one below are generated.
#[derive(Serialize, Deserialize)]
pub struct Report {
    fights: Vec<ReportFight>,
    lang: String,
    friendlies: Vec<Friendly>,
    enemies: Vec<Enemy>,
    #[serde(rename = "friendlyPets")]
    friendly_pets: Vec<Enemy>,
    #[serde(rename = "enemyPets")]
    enemy_pets: Vec<serde_json::Value>,
    phases: Vec<serde_json::Value>,
    title: String,
    owner: String,
    start: i64,
    end: i64,
    zone: i64,
}

However, it is often desirable to have each field public, like so:
#[derive(Serialize, Deserialize)]
pub struct Report {
    pub fights: Vec<ReportFight>,
    pub lang: String,
    pub friendlies: Vec<Friendly>,
    pub enemies: Vec<Enemy>,
    #[serde(rename = "friendlyPets")]
    pub friendly_pets: Vec<Enemy>,
    #[serde(rename = "enemyPets")]
    pub enemy_pets: Vec<serde_json::Value>,
    pub phases: Vec<serde_json::Value>,
    pub title: String,
    pub owner: String,
    pub start: i64,
    pub end: i64,
    pub zone: i64,
}

An option to toggle making all fields public would be great.

This would be a trivial option to add, and I estimate would take you less than 10 minutes to implement if you're interested.

Here's the line to edit in the Rust renderer.
Add an option just like the density option.

Ooh, great! I peeked in, but TypeScript is not something I know very well, so I got lost. I'll take a crack at it.

Godspeed! If you can write Rust, you can definitely handle TypeScript 😆


Still print case errors to stderr even in "-ojunit" mode

[Enhancement] while there are case errors in "-ojunit", CppUTest prints nothing on screen, user can only grep xml to locate them, and then have to open the corresponding xml files for details. It's a little bit inconvenient.

Implemented, so can be closed.


Include qemu-img package with in openstackclient container

It is used in install_yamls validation script to convert the cirros image to raw format[1] while booting the instance on EDPM node.
Currently it is failing as qemu-img is not available in openstackclient container
[1]. https://github.com/openstack-k8s-operators/install_yamls/commit/d5179b43f5391a249105621294e0fe4f6ec5bee6#diff-974c268d83191dabcd8aff9f3a9cdb0619278615e5ddb49d5b9ad13094a49a6cR20

Closing in favor of https://github.com/openstack-k8s-operators/install_yamls/pull/286


🐛 [Bug Report]: HTTP  Error 500 on Install

BlizzCMS Version
1.2.1
Emulator
TrinityCore
PHP Version
PHP 7.4
Operating system
Windows
Web server
Apache
Database
MySQL
What happened?
This page isn’t working right now wowbros.hopto.me can't currently handle this request.
HTTP ERROR 500
Get through setup and this happens tried on two different machines on with Xamp, one with Wamp same error.
I'd really like to use this CMS as it's pretty much all there is!
How can the issue be reproduced?
Just by installing
Screenshots
No response

Are you using xampp by any chance? That 2.0 doesn't seem to work with MariaDB! When I run mysql, it works fine!

is their any fix for this? i still seem to have the issue at hand. using xampp.

🛠 Internal Server Error Troubleshooting 🛠
Hey there,
It seems you're encountering an Internal Server Error in your XAMPP environment while using BlizzCMS. Don't worry; this issue is typically related to configuration settings and should not affect the BlizzCMS version you've installed and downloaded.
🔍 Possible Causes:

Redirection Configuration: Ensure that your redirection settings are correctly pointing to your BlizzCMS installation. Make sure you're using 'localhost' instead of an IP address, as XAMPP is often set up to work seamlessly with 'localhost'.

XAMPP Components: Remember that XAMPP comprises Apache, MySQL, PHP, and more. An incorrect setting in any of these components can trigger an Internal Server Error. Verify configurations like document root paths, port settings, and permissions.

🚀 Resolution Steps:

Double-check your redirection settings to ensure they are accurate.
Review configurations for Apache, MySQL, and PHP in your XAMPP environment. Correct any discrepancies.
If the error persists, check the Apache and PHP error logs for additional information about the issue. This can provide specific insights.

📝 Summary:
The Internal Server Error you're facing is most likely due to configuration issues in your XAMPP environment. It shouldn't impact your installed BlizzCMS version. By carefully addressing the configuration settings, you should be able to resolve this issue and have your application running smoothly on your local server.
If you have any questions or need further assistance, feel free to ask. We're here to help you get through this!

hello
Isn’t this the right configuration when installing?
From: @.>
Sent: Saturday, August 26, 2023 3:55 PM
To: @.>
Cc: @.>; @.>
Subject: Re: [WoW-CMS/BlizzCMS] 🐛 [Bug Report]: HTTP Error 500 on Install (Issue #108)
🛠 Internal Server Error Troubleshooting 🛠
Hey there,
It seems you're encountering an Internal Server Error in your XAMPP environment while using BlizzCMS. Don't worry; this issue is typically related to configuration settings and should not affect the BlizzCMS version you've installed and downloaded.
🔍 Possible Causes:

Redirection Configuration: Ensure that your redirection settings are correctly pointing to your BlizzCMS installation. Make sure you're using 'localhost' instead of an IP address, as XAMPP is often set up to work seamlessly with 'localhost'.
XAMPP Components: Remember that XAMPP comprises Apache, MySQL, PHP, and more. An incorrect setting in any of these components can trigger an Internal Server Error. Verify configurations like document root paths, port settings, and permissions.

🚀 Resolution Steps:

Double-check your redirection settings to ensure they are accurate.
Review configurations for Apache, MySQL, and PHP in your XAMPP environment. Correct any discrepancies.
If the error persists, check the Apache and PHP error logs for additional information about the issue. This can provide specific insights.

📝 Summary:
The Internal Server Error you're facing is most likely due to configuration issues in your XAMPP environment. It shouldn't impact your installed BlizzCMS version. By carefully addressing the configuration settings, you should be able to resolve this issue and have your application running smoothly on your local server.
If you have any questions or need further assistance, feel free to ask. We're here to help you get through this!
—
Reply to this email directly, view it on GitHubhttps://github.com/WoW-CMS/BlizzCMS/issues/108#issuecomment-1694346740, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCEUGPSQ3FRWIRX4D5DPB7DXXH53BANCNFSM6AAAAAAUJMAY34.
You are receiving this because you commented.Message ID: @.***>


Alexander-Witt-DS3-Unit-3-2 Assignment Submission

Code Review Template
Base goals

[X]   Clear and descriptive commit messages
[ ]   Functions have comments
[X]   Code is written by the student
[X]   Code is organized and easy to read
[X]   Code demonstrates understanding of underlying data/statistics concepts
[X]   MVP Complete

Great Job, Alex


Update path to Schlesi Genesis

PR Description
The Genesis state that we load to join the Schlesi network (--network=schlesi) has moved.  It is now at https://github.com/goerli/schlesi/raw/master/.trash/schlesi/teku/genesis.ssz

You might want to pin it to a certain commit. The genesis won't change anymore.

Good idea, but I suspect if it breaks again we'll just remove the network definition entirely - it's really only useful now for testing memory usage during long periods of non-finalisation and not something regular users should use.


TICKER BOT unable to change nickname

Describe the bug
Bot when added to discord server with correct permission is unable to update its own nicknames
ERRO[0961] Updating nickname: HTTP 404 Not Found, {"message": "Unknown Member", "code": 10007}
DEBU[0961] Set activity: -0.89 (-14.70%)
DEBU[0961] Fetching crypto price for looksrare
DEBU[0961] Set nickname in The Rueks Twitch Community: LOOKS \u2b0a $5.15
ERRO[0971] Updating nickname: HTTP 404 Not Found, {"message": "Unknown Member", "code": 10007}
DEBU[0971] Set activity: -0.89 (-14.70%)
DEBU[0971] Fetching crypto price for looksrare
DEBU[0972] Set nickname in The Rueks Twitch Community: LOOKS \u2b0a $5.15
ERRO[0982] Updating nickname: HTTP 404 Not Found, {"message": "Unknown Member", "code": 10007}
DEBU[0982] Set activity: -0.89 (-14.70%)
DEBU[0982] Fetching crypto price for looksrare
DEBU[0982] Set nickname in The Rueks Twitch Community: LOOKS \u2b0a $5.15
ERRO[0992] Updating nickname: HTTP 404 Not Found, {"message": "Unknown Member", "code": 10007}
Works on all other servers except one.

I'm not exactly sure how, but the first troubleshooting step that comes to my head is "show me that the permissions on the servers are the same".
Next, the error says 404 Not found: Unknown Member, which makes me think it can't get its own user status from the server. Can you make sure the bot's permissions in the server allow it to see itself? Is that a thing?
This isn't really code related, so I'm not sure what other help I can offer. Join the discord server and ping me in #general if you want to chat there.


WRO-14562: Update .travis.yml to use the node 18

Checklist

[x] I have read and understand the contribution guide
[ ] A CHANGELOG entry is included
[ ] At least one test case is included for this feature or bug fix
[x] Documentation was added or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added
Node 19 is now published(https://nodejs.org/en/blog/announcements/v19-release-announce/)
After this change, travis failure occurred continually so we need to block the current node temporarily.
Resolution
Update .travis.yml to use the node 18
Additional Considerations
Links
WRO-14562
Comments
Enact-DCO-1.0-Signed-off-by: Taeyoung Hong<EMAIL_ADDRESS>

LGTM


Consider deploying the package jars into the new github packages beta feature

Not feasible for now for ludok, as we need to bundle commercial fonts.


strapi-cms-development

Strapi CMS changes

Thanks for your PR @gneiazmah. Why are the files for a WordPress installation present if we are going ahead with Strapi?

Hi leesa, it has merged the old files again. I will try again.
On Mon, 14 Oct 2024, 6:22 pm Leesa Ward, @.***> wrote:

Thanks for your PR @gneiazmah https://github.com/gneiazmah. Why are the
files for a WordPress installation present if we are going ahead with
Strapi?
—
Reply to this email directly, view it on GitHub
https://github.com/Redback-Operations/redback-cms/pull/6#issuecomment-2410247649,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFO3K3DRBKVKCCNHSRBIZWDZ3NWKXAVCNFSM6AAAAABP4ANBC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJQGI2DONRUHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks for your PR @gneiazmah. Why are the files for a WordPress installation present if we are going ahead with Strapi?

Error corrected

Readme.md does not have sufficient information to actually run this. After reading strapi docs on their website I was able to run, but got no admin page. Please clarify how to use this if you want to go forward with strapi. Closing PR, but feel free to reopen with changes.


avoid updating during update call

We can get into some difficult conditions when frameworks from the outside try to set attributes multiple times because of multiple renders (e.g. react), which can cause the element to stop updating or update over eagerly.
This fix changes the update cycle so that updates to attributes during the update() call won't cause attributeChangedCallback to update, but meanwhile re-setting title to its own contents wont flip the #customTitle flag causing updates to stop.

:wave: Hello and thanks for pinging us! This issue or PR has been added to our inbox and a Design Infrastructure first responder will review it soon.

:art: If this is a PR that includes a visual change, please make sure to add screenshots in the description or deploy this code to a lab machine with instructions for how to test.
:fast_forward: If this is a PR that includes changes to an interaction, please include a video recording in the description.
:warning: If this is urgent, please visit us in #primer on Slack and tag the first responders listed in the channel topic.


Set-RubrikOrgAuthorization API endpoint changed so command is not working

Set-RubrikOrgAuthorization generates wrong URI and does not work
Current Behavior:
Set-RubrikOrgAuthorization cmdlet does not take the vmid as input. When datatype is removed the vmid is accepted. When  Set-RubrikOrgAuthorization -ID is used the data sent to the API is not in the correct scheme. The  Set-RubrikOrgAuthorization command fails on bad request to server.
Paste the verbose output from the command here

2:24
Set-RubrikOrgAuthorization -ID 'Organization:::9d7711ca-d2b8-4d70-8580-051039d957da' -ManageResource 'de4beaa1-5abc-478c-aa0d-167054d4d17c-vm-name' -verbose                                                                                VERBOSE: Validate the Rubrik token exists
VERBOSE: Found a Rubrik token for authentication                                                                                VERBOSE: Gather API Data for Set-RubrikOrgAuthorization                                                                                VERBOSE: Selected 1.0 API Data for Set-RubrikOrgAuthorization                                                                                VERBOSE: Load API data for Set-RubrikOrgAuthorization                                                                                VERBOSE: Description: Grants an organization authorization for principal(s)
VERBOSE: Validate the Rubrik token exists
VERBOSE: Found a Rubrik token for authentication
VERBOSE: Gather API Data for Get-RubrikOrganization
VERBOSE: Selected 1.0 API Data for Get-RubrikOrganization
VERBOSE: Load API data for Get-RubrikOrganization
VERBOSE: Description: Get summary of all Rubrik organizations
VERBOSE: Build the URI
VERBOSE: URI = https://servername/api/internal/organization/Organization:::9d7711ca-d2b8-4d70-8580-051039d957da
VERBOSE: Build the query parameters for name
VERBOSE: URI = https://servername/api/internal/organization/Organization:::9d7711ca-d2b8-4d70-8580-051039d957da
VERBOSE: Submitting the request
VERBOSE: GET https://servername/api/internal/organization/Organization:::9d7711ca-d2b8-4d70-8580-051039d957da with 0-byte payload
VERBOSE: received 255-byte response of content type application/json; charset=UTF-8
VERBOSE: Received HTTP Status 200
VERBOSE: Formatting return value
VERBOSE: Filter the results
VERBOSE: Filter match = name
VERBOSE: Body = {
"organizationId":  "Organization:::9d7711ca-d2b8-4d70-8580-051039d957da",
"privileges":  {
"manageResource":  [
"de4beaa1-5abc-478c-aa0d-167054d4d17c-vm-name"
],
"manageSla":  [
],
"manageCluster":  [
],
"useSla":  [
]
},
"principals":  [
"Organization:::9d7711ca-d2b8-4d70-8580-051039d957da"
]
}
VERBOSE: Build the URI
VERBOSE: URI = https://servername/api/internal/authorization/role/organization
VERBOSE: Build the query parameters for
VERBOSE: URI = https://servername/api/internal/authorization/role/organization
VERBOSE: Submitting the request
VERBOSE: POST https://servername/api/internal/authorization/role/organization with -1-byte payload
WARNING: The endpoint supplied to Rubrik is invalid. Likely this is due to an incompatible version of the API or references pointing to a non-existent endpoint. The URI passed was: https://servername/api/internal/authorization/role/organization
The remote server returned an error: (400) Bad Request.
At C:\Users\Username\Documents\WindowsPowerShell\Modules\Rubrik\5.0.0\Private\Submit-Request.ps1:85 char:21

                throw $_.Exception

                ~~~~~~~~~~~~~~~~~~

CategoryInfo          : OperationStopped: (:) [], WebException
FullyQualifiedErrorId : The remote server returned an error: (400) Bad Request.

Expected Behavior:
Correct URI sent to server and command working being able to tag VM's and SLA's to ORG's.
Steps to Reproduce:

Create Organization on Rubrik cluster
Get Organization ID
Get VMid of a current VM on the Rubrik cluster
Connect PS to Rubrik cluster and run following command:

Set-RubrikOrgAuthorization -ID 'Organization:::9d7711ca-d2b8-4d70-8580-0510sfdsffdsfd' -ManageResource 'sfdfsf-5abc-478c-aa0d-167054d4d17c-vm-2112' -verbose
This command will fail to run with above error
Context:
API change in 5.1
Datamodel:
old body:
{"principals":["Organization:::2ca15cae-7f1a-4691-88e0-5140eea744b8"],"organizationId":"Organization:::2ca15cae-7f1a-4691-88e0-5140eea744b8","privileges":{"manageCluster":[],"manageAccess":[],"manageResource":["VirtualMachine:::de4beaa1-5abc-478c-aa0d-167054d4d17c-vm-2113"],"manageRestoreDestination":[],"useSla":[],"manageSla":[]}}
correct body:
{"principals":["Organization:::2ca15cae-7f1a-4691-88e0-5140eea744b8"],"organizationId":"Organization:::2ca15cae-7f1a-4691-88e0-5140eea744b8","privileges":{"manageCluster":[],"manageAccess":[],"manageResource":[],"manageRestoreSource":["VirtualMachine:::de4beaa1-5abc-478c-aa0d-167054d4d17c-vm-2113"],"manageRestoreDestination":[],"useSla":[],"manageSla":[]}}
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

Rubrik PowerShell Module Version:      Script     5.0.0      Rubrik
PowerShell Version:
Major  Minor  Build  Revision

5      1      18362  628

Operating System:
Windows 10 PRO
Organization    :
BuildNumber     : 18363
RegisteredUser  : Windows User
SerialNumber    : 00330-80836-71273-AA139
Version         : 10.0.18363

Failure Logs

/internal/authorization/role/organization endpoint body has changed in v5.1 and broke Set-RubrikOrgAuthorization cmdlet

Hello @BenjaminTroch,
I've created a pull request for this, feel free to take a look at it and see if it resolves your issue.


Add appliedmanifestwork api

/assign pmorie
/assign deads2k

/lgtm
/approve
/hold
holding in case you want to control the order in which things land.

/hold cancel
/lgtm

/retest

/retest

/retest

/retest

/retest

/retest

/lgtm


UG, DG and PPP

Pull Request Test Coverage Report for Build 786

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

Totals

Change from base Build 785:
0.0%

Covered Lines:
2594

Relevant Lines:
2964

💛  - Coveralls


unpack: accept fflag as an option

This allows the WriteStream flags to be used when writing files to be specified as an option.
This allows programs using node-tar to take advantage of writing files using a file mapping, which can be significantly faster on Windows. Support landed in libuv in https://github.com/libuv/libuv/pull/2295 and in Node.js in https://github.com/nodejs/node/pull/29260.
For the included benchmarks, execution time drops from 6.6s to 2.8s for async and from 15.8s to 3.4s for sync on my local machine. This depends heavily on the machine being used: can range from negligible improvements to even better than the above.

@isaacs updated, thanks for reviewing!
UV_FS_O_FILEMAP should not be enabled by default in tar, because it is slower for large files (>1MB).
It should however be enabled by default in npm where most files are small: https://github.com/npm/pacote/pull/8

UV_FS_O_FILEMAP should not be enabled by default in tar, because it is slower for large files (>1MB).

The file size is known in advance when extracting a tar entry, so it seems like we should default it for cases where we know it's going to be a benefit, no?

@isaacs if node-tar can accept a solution that doesn't use an option, then sure! Here it is: https://github.com/npm/node-tar/pull/230

Closing in favor of https://github.com/npm/node-tar/pull/230


Query object is not passed when using the back button

If you:

navigate to a page with a query param (eg. /products?q=cool)
then navigate away from that page (eg. products/12345)
then click the browser's back button (eg. products/12345 -> /products?q=cool)

In 1 the ROUTER_LOCATION_CHANGED action includes the query object in the payload; however, in 3 the query object is not available in the payload (but you do have access to the search param).
I have a small change to address this and will be opening a PR shortly.

Is this not a duplicate of #165? We've been seeing this on v13.2.0, but haven't tried things out since v14 went out. IIRC, it was pretty obvious that this would be an issue, since the deserialized query property is added to the history's state when navigating with RLR actions, and only retrieved with unpackState(). I never understood the reasoning behind this. It seems that any and all state derived from the raw location should be computed when responding to popstate/whatever change event the history lib. emits.
Just glancing at #197, it looks like this is the exact change that @tptee implemented. 👍  We'll have to upgrade and confirm that things are resolved.

#197 didn't fix the bug.
I may be wrong here, but the way the queue is working doesn't look correct.
Glancing through the code, it looks like the usage of isNavigationAction in the reducer is the issue here.
  if (isNavigationAction(action)) {
    return {
      ...state,
      queue: state.queue && state.queue.concat([action.payload])
    };
  }

GO_BACK is considered a navigationAction so its empty payload gets queued. However, unlike other navigation actions, it's never taken back out, so it remains in the queue. Then when an actual navigation action comes along, it picks up the undefined queued payload instead of its own and incorrectly assigns undefined to the query. For future navigations, the entire queue is off by one.
I've applied a simple fix to this:
  if (isNavigationAction(action) && action.payload && action.payload.pathname) {
    return {
      ...state,
      queue: state.queue && state.queue.concat([action.payload])
    };
  }

I haven't gone through the entire codebase to provide a proper fix (i.e. replace isNavigationAction with a different function which doesn't include the non-payload navigations) and I can't get the Mocha tests to run on Windows so I'll leave the PR to someone else.

Seems this repo's gotten inactive. I have hacked together a fork in the mean time for those who need it this issue fixed.
You can find my fork here the two fixes: https://github.com/jahed/redux-little-router
The commits that fixed it for me are:
https://github.com/jahed/redux-little-router/commit/8596fa2cba9a9199419da4bdce1b2c51a15edad3
https://github.com/jahed/redux-little-router/commit/a800b1959ce86ffa693c190c098f734ec1bd050c

@tptee I think there are two distinct issues here. First, the issue that @jahed outlined where the queue is populated with invalid values since it queues for BareAction which has no payload.
That issue occurs specifically when you dispatch goBack. The issue that @adregan is reporting happens when you use the browser's back button. As far as I can tell, that's because the history callback isn't passing query to locationDidChange.
I'm thinking this can all be resolved by:

Only queuing actions with payloads (IndexedAction, LocationAction)
Passing query to locationDidChange in the history.listen callback.

Do those sound reasonable to you?

Fixed in v14.1.1


Dropdown overflows browser window on elements demo page

For some reason the top date picker overflows, but the latter one doesn't. https://vaadin.com/elements/-/element/vaadin-date-picker

There was a regression with the alignment/sizing in alhpa 2. Fixed in https://github.com/vaadin/vaadin-date-picker/commit/c266907fe21237bb3250c1f816333d76b83952b1


Security: wsl.conf "generate resolv.conf" and resolv.conf template allow to use untrusted DNS service

Windows Build Number
Microsoft Windows [Version 10.0.19043.1110]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>-microsoft-standard-WSL2
Distro Version
Any
Other Software
No response
Repro Steps

Use the default WSL configuration
Try any Network test involving Name resolution

Expected Behavior
resolve.conf generation must involve simple check that ensure that DNS offers basic security features. Otherwise, issue warning, at least. Internet infrastructure can easily block insecure DNS requests. Use http://www.dnssec-or-not.com/ at least!
Actual Behavior
User can get any fake insecure DNS resolver when uses over-the-air connection or enter insecure DNS resolver. It doesn't work in a such way in any place today. Either whitelist is provided as in browsers or both whitelist is offered and "probe" of security quality is done as in Linux.
Diagnostic Logs
No response

Hi @PavelSosin-320, thanks for reporting this.
The IP address WSL writes in resolv.conf is a proxy IP address that actually points to the host which will proxy DNS queries, so by default WSL is just using the host's DNS settings.


sensor never leaves FORCED_MODE

I've been looking through the code in detail, and there seems to be something odd with get_sensor_data(self). The power mode is set to FORCED_MODE at the start, but is never returned to the mode it was in when starting the method. Is this intentional? Or should the mode be saved when entering this method, and reset just before returning?

FORCED_MODE should trigger a single measurement and then reset to 0.
The data sheet says:

Single TPHG cycle is performed
Sensor automatically returns to sleep mode afterwards
Gas sensor heater only operates during gas measurement


Maximum amount of rows to be fetched as a parameter?

Could the procedures/functions addSheetFromQuery, addSheetFromCursor, addTable be extended to include an additional parameter to limit the maximum amount of rows to be fetched?
Something like the parameter p_max_rows in the APEX procedure APEX_EXEC.OPEN_QUERY_CONTEXT.
Or could I use the parameter p_pageSize for that purpose?
Maybe its the wrong place to do this limitation anyway and I should limit the rows in the query?

For now, the parameter p_pageSize can only be used in conjunction with p_paginate but it's a good candidate for your use case.
I'll look into this tomorrow, should be an easy one.

On an application I support, I appended "Fetch next 100000 rows only" to the end of query strings. It was a procedure call that did this. Doesn't work for passing in an open cursor, but is just dandy for passing in a query strings. It also had an option for recognizing the limit was reached, but that's another story.
HTH

On second thought, we may want to limit the number of rows fetched from the query while still be able to paginate across multiple sheets, using a specific page size. In that case, p_pageSize cannot be used.
We'll need an additional parameter.

Done in v3.6, along with a few other things.

Done in v3.6, along with a few other things.

Nice work, as always. Thank you!


Refactor font loading plugin

Closes https://github.com/thundermiracle/gatsby-startbootstrap-agency/issues/13
Hello,
I've noticed that you have an issue opened regarding the font preloading plugin that is no longer supported. I've developed my own lightweight font loading plugin that does preloading, supports both web fonts and custom fonts, and can help with FOUT (with some additional styles that should be added). You can check out my plugin here: https://github.com/codeAdrian/gatsby-omni-font-loader
I took the liberty of refactoring the code and submitting the PR.
Let me know what you think.

Thank you very much for your contribution.
Works like a charm!
I'm not sure why you re-generated the yarn.lock file, but anyway it worked!
Thanks again.


Broken link: Upgrade The Runtime

Broken Link
https://docs.substrate.io/build/upgrade-the-runtime/
Expected Location
No response
Context and Origin
We link to it from ink-docs, I can fix it there. But the broken link still shows up in the search:

I guess you have to restart indexing.

New location and file name:
https://docs.substrate.io/maintain/runtime-upgrades/
@jonnysmillie, is the indexing for search something you can trigger?


Sever send a ECDSA cert with KU which doesn't have digitalSignature bit, It still connects successfully with TLS 1.3 but failed with TLS 1.2.

According to the RFC8446, Server must select a certificate which allow the key to be used for siging(i.e., the digitalSignature bit must be set if the KU is present).

When there is only one cert with KU doesn't have digitalSignature bit, OpenSSL server still send it to client. (using 1.1.1n TLS 1.3)
Why do choose to continue sending instead of reporting an error?
Beside, in TLS 1.2 client can check the server cert then alert error, but TLS 1.3 doesn't check it and connect successfully.
TLS 1.2: tls_process_server_done ->tls_process_initial_server_flight->ssl3_check_cert_and_algorithm--->return error
TLS 1.3: tls_process_finished ->tls_process_initial_server_flight->ssl3_check_cert_and_algorithm --->return success

Why is there such a difference? Was it based on any considerations?

marking as inactive, will be closed at the end of 3.4 dev cycle barring further input

Duplicate of #12721


ARROW-438: [C++/Python] Implement zero-data-copy record batch and table concatenation.

This also fixes a bug in ChunkedArray::Equals. This is caught by the Python test suite but would benefit from more C++ unit tests.

github appears to have had some kind of push hiccup (I had to force push this commit to my master branch, oddly), so this commit hasn't sync'd yet

against my better judgment I git a no-op amend and force-pushed apache/master but no dice. we may have to bug ASF infra

see https://issues.apache.org/jira/browse/INFRA-13248


As a user, I want to know the result of my litmus test (pass/fail)

Currently, the litmus test does not have a standard way of recording/displaying the test result. This info is being derived by the log/console output of the test job, which is not efficient. The result should be available in a set format at a specified location - this will also be useful in the context of the executor.

The results are now placed in a result custom resource. Refer: https://github.com/openebs/litmus/pull/89
Example of result CR updates in litmus jobs: https://github.com/openebs/litmus/blob/master/apps/percona/chaos/openebs_volume_replica_failure/test.yml


chore(website): fix react prop warning

Description
This PR fixes the warning
Warning: React does not recognize the `lineNumberProps` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `linenumberprops` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
    at pre
    at SyntaxHighlighter (/Users/lagoni/Documents/github/generator-model-sdk/modelina-website/node_modules/react-syntax-highlighter/dist/cjs/highlight.js:333:26)
    at div
    at div
    at div
    at CodeBlock (webpack-internal:///./src/components/CodeBlock.tsx:162:22)
    at div
    at div
    at div
    at div
    at div
    at Container (webpack-internal:///./src/components/layouts/Container.tsx:8:22)
    at GenericLayout (webpack-internal:///./src/components/layouts/GenericLayout.tsx:19:26)
    at Index
    at div
    at App (webpack-internal:///./src/pages/_app.tsx:18:16)
    at StyleRegistry (/Users/lagoni/Documents/github/generator-model-sdk/modelina-website/node_modules/styled-jsx/dist/index/index.js:449:36)
    at PathnameContextProviderAdapter (/Users/lagoni/Documents/github/generator-model-sdk/modelina-website/node_modules/next/dist/shared/lib/router/adapters.js:60:11)
    at AppContainer (/Users/lagoni/Documents/github/generator-model-sdk/modelina-website/node_modules/next/dist/server/render.js:290:29)
    at AppContainerWithIsomorphicFiberStructure (/Users/lagoni/Documents/github/generator-model-sdk/modelina-website/node_modules/next/dist/server/render.js:326:57)
    at div
    at Body (/Users/lagoni/Documents/github/generator-model-sdk/modelina-website/node_modules/next/dist/server/render.js:613:21)

Thanks for the review @kennethaasan! 🙇

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5247

Relevant Lines:
5549

💛  - Coveralls


PotreeConverter 1.7 convert some .las file error

Hello
Today I try to convert some .pcd files to potree's little .las file.
First,I use cloudcompare software to save .pcd files as .las file,and get a .las file named a.las.
The a.las file can be converted by the potreeConverter 1.7 successfully.
Then,I want to make this process automated.So,I wrote a python programed in PDAL for converte .pcd to .las.and get a .las file named b.las.
The b.las can not be converted by the potreeConverter 1.7.
I noticed that the b.las file's processing following attributes have more 3 row than the success one.
Red
Green
Blue
but don't catch the reason from the printed screen logs.
can you give some help?
the a.las file log(successful one)

-------------log----------------
D:\PotreeConverter_1.7\PotreeConverter.exe D:\pointclouds-las-test\pointCloudSpliceColor\splicePointcloud\3292b59ca1e54f89a8e3890f541121e6\nocolor.las -o D:\pointclouds-las-test\pointCloudSpliceColor\potree\3292b59ca1e54f89a8e3890f541121e6\a484fe4a59594363b9a32336d91fd3a16\ --output-format LAS
== params ==
source[0]:              D:\pointclouds-las-test\pointCloudSpliceColor\splicePointcloud\3292b59ca1e54f89a8e3890f541121e6\nocolor.las
outdir:                 D:\pointclouds-las-test\pointCloudSpliceColor\potree\3292b59ca1e54f89a8e3890f541121e6\a484fe4a59594363b9a32336d91fd3a16
spacing:                0
diagonal-fraction:      200
levels:                 -1
format:
scale:                  0
pageName:
projection:
processing following attributes:
POSITION_CARTESIAN
RGBA
intensity
number of returns
return number
AABB: {
"min": [11273.716797, 4573.020508, -60.567375],
"max": [11467.609375, 5037.178711, -5.520811],
"size": [193.892578, 464.158203, 55.046564]
}
cubicAABB: {
"min": [11273.716797, 4573.020508, -60.567375],
"max": [11737.875000, 5037.178711, 403.590828],
"size": [464.158203, 464.158203, 464.158203]
}
total number of points: 1,949,321
spacing calculated from diagonal: 4.01973
READING:  D:\pointclouds-las-test\pointCloudSpliceColor\splicePointcloud\3292b59ca1e54f89a8e3890f541121e6\nocolor.las
INDEXING: 1,000,000 of 1,949,321 processed (51%); 1,000,000 written; 0.839 seconds passed
closing writer
conversion finished
1,949,321 points were processed and 1,949,321 points ( 100% ) were written to the output.
duration: 2.417s
-------------log----------------
the b.las log(Error one)
----------------------------log----------------------------
D:\PotreeConverter_1.7\PotreeConverter.exe D:\pointclouds-las-test\pointCloudSpliceColor\splicePointcloud\3292b59ca1e54f89a8e3890f541121e6\convertedn.las -o D:\pointclouds-las-test\pointCloudSpliceColor\potree\3292b59ca1e54f89a8e3890f541121e6\convertedn\ --output-format LAS
== params ==
source[0]:              D:\pointclouds-las-test\pointCloudSpliceColor\splicePointcloud\3292b59ca1e54f89a8e3890f541121e6\convertedn.las
outdir:                 D:\pointclouds-las-test\pointCloudSpliceColor\potree\3292b59ca1e54f89a8e3890f541121e6\convertedn
spacing:                0
diagonal-fraction:      200
levels:                 -1
format:
scale:                  0
pageName:
projection:
record id: 4
record_length_after_header: 576
name: Red
name: Green
name: Blue
processing following attributes:
POSITION_CARTESIAN
RGBA
intensity
number of returns
return number
Red
Green
Blue
AABB: {
"min": [-67.115807, -275.070952, -33.162224],
"max": [126.784648, 189.113360, 21.870127],
"size": [193.900455, 464.184312, 55.032351]
}
cubicAABB: {
"min": [-67.115807, -275.070952, -33.162224],
"max": [397.068505, 189.113360, 431.022088],
"size": [464.184312, 464.184312, 464.184312]
}
total number of points: 1,949,321
spacing calculated from diagonal: 4.01995
READING:  D:\pointclouds-las-test\pointCloudSpliceColor\splicePointcloud\3292b59ca1e54f89a8e3890f541121e6\convertedn.las
INDEXING: 1,000,000 of 1,949,321 processed (51%); 1,000,000 written; 2.159 seconds passed
closing writer
-------------------------log----------------------------------

The only thing I can think of is that PDAL is not producing the same file as the export from CC. Perhaps you can adjust the flags passed into PDAL to see if you can get a file that can be converted.

The PDAL produce one also can open by the CC software.I try to use cmd potree --help to find the limit of PotreeConverter.but failed.
Now,I try to read the PotreeConverter 1.7 source code to find reason.but the progress is slow.Can you give me a hint?
Any logs or details that I probably missed. tks

I think some details are getting lost in translation. Sorry if I'm missing something.
For the first point cloud that worked, did you also use PDAL to process it? I thought you used CC instead.


"" "" distance now returns zero

Discussed on the 8th forum

how do we get past the block (that always occurs)?

how do we get past the block (that always occurs)?

What block?

Oh, that. It's because I haven't approved it yet.

Now you're clear to merge.

Thanks


find_peaks_cwt raises TypeError when using wavelet functions different than ricker

Hi I was trying to use the find_peaks_cwt function using other wavelets, but I get a TypeError:
import numpy as np
from scipy.signal.windows import gaussian
from scipy.signal import find_peaks_cwt

x = gaussian(200, 2)
widths = np.array([1, 2, 3, 4])
find_peaks_cwt(x, widths, wavelet=gaussian)

Error message:

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-8-f207b53c7d51> in <module>
      5 x = gaussian(200, 2)
      6 widths = np.array([1, 2, 3, 4])
----> 7 find_peaks_cwt(x, widths, wavelet=gaussian)

~/miniconda3/envs/pycharm/lib/python3.8/site-packages/scipy/signal/_peak_finding.py in find_peaks_cwt(vector, widths, wavelet, max_distances, gap_thresh, min_length, min_snr, noise_perc, window_size)
   1289         wavelet = ricker
   1290
-> 1291     cwt_dat = cwt(vector, wavelet, widths, window_size=window_size)
   1292     ridge_lines = _identify_ridge_lines(cwt_dat, max_distances, gap_thresh)
   1293     filtered = _filter_ridge_lines(cwt_dat, ridge_lines, min_length=min_length,

~/miniconda3/envs/pycharm/lib/python3.8/site-packages/scipy/signal/wavelets.py in cwt(data, wavelet, widths, dtype, **kwargs)
    461     # Determine output type
    462     if dtype is None:
--> 463         if np.asarray(wavelet(1, widths[0], **kwargs)).dtype.char in 'FDG':
    464             dtype = np.complex128
    465         else:

TypeError: gaussian() got an unexpected keyword argument 'window_size'

This error is raised also when using other wavelets from scipy.signal.wavelet
scipy version:
1.6.2 1.20.3 sys.version_info(major=3, minor=8, micro=10, releaselevel='final', serial=0)

Looking at the source of  find_peaks_cwt I think that the problem is related with the  window_size argument that is passed to the wavelet function inside cwt. Currently, I am avoiding this problem by wrapping the gaussian function, but I think that the problem could be solved by removing the window_size parameter passed to cwt
def gaussian_wavelet(n, sigma, window_size=None):
    return gaussian(n, sigma)

find_peaks_cwt(x, widths, wavelet=gaussian_wavelet)

gaussian is a window function, not a wavelet function.  I think the only compatible wavelet functions are ricker and morlet2.
morlet was created before cwt and is not compatible with it. https://dsp.stackexchange.com/a/18104/29
find_peaks_cwt should document what the built-in options are, and maybe accept strings instead?
Maybe a better error message would help?

ValueError: The "gaussian" function is not compatible with "cwt". Function must have have parameters [points, width].

or something like that?


Installation is broken

Hey! First and foremost -- thanks for the amazing tool!
It looks like currently the installation with pip is broken:
Traceback (most recent call last):
  File "/Users/esolidarity/.virtualenvs/default/bin/tftui", line 5, in <module>
    from tftui.__main__ import main
  File "/Users/esolidarity/.virtualenvs/default/lib/python3.10/site-packages/tftui/__main__.py", line 3, in <module>
    from textual.widgets import Header, Footer, Tree, TextLog, LoadingIndicator, ContentSwitcher, Static, Button
  File "/Users/esolidarity/.virtualenvs/default/lib/python3.10/site-packages/textual/widgets/__init__.py", line 94, in __getattr__
    raise ImportError(f"Package 'textual.widgets' has no class '{widget_class}'")
ImportError: Package 'textual.widgets' has no class 'TextLog'

Quick googling revealed this, so installing textual==0.31.0 fixed the issue.

This was caused by pipx / workstation installing an upgraded version of textual (0.32.0 and later). Textual moved away from using the TextLog class and changing it to a RichLog class (without backward compatibility).
I upgraded to textual 0.32 and fixed the breaking change.
Please upgrade tftui and thanks for the catch :)


Tracking feasibility of unshipping assert contextual keyword in Chrome

Chrome has landed use counters tracking the use of the deprecated assert contextual keyword in import attributes.
This will go to stable in 114, which is scheduled for May 30, 2023. We will need some time after the counter reaches the stable population to gather numbers.

blink CL
V8 CL

Usage stats: https://chromestatus.com/metrics/feature/timeline/popularity/4528 (⚠ as mentioned above, the number is so close to zero just because the counter is not in stable yet)

I was exploring Chrome usage counters, and I found counters for JSON modules (https://chromestatus.com/metrics/feature/timeline/popularity/3804) and CSS modules (https://chromestatus.com/metrics/feature/timeline/popularity/3805). I don't think it's unreasonable to expect the usage of import assertions to roughly match the usage of JSON modules.
I manually checked some of the sample URLs, and all the usages I found (using the assert[:{ ] regexp on their code) are from https://github.com/guybedford/es-module-shims/blob/main/src/features.js, which try/catches around evaluating CSS/JSON modules with import assertions to detect if they are supported and thus if they need to be polyfilled. Removing support for assert would cause the polyfill to kick in, and to restore such support in websites that rely on it.

Note that es-module-shims does not by default engage the JSON / CSS modules feature detection path at all in polyfill mode, unless it is explicitly enabled via https://github.com/guybedford/es-module-shims#pollyfill-enable-option, which I'd expect would be a very small percentage of es-module-shims users.

Going back to https://github.com/tc39/proposal-import-attributes/issues/135#issuecomment-1537367056 again, it looks like most of the usages of CSS/JSON modules are from v0.13.1 of es-modules-shims, that performs feature-detection even if then they are not used.

There are now some URLs at the bottom of https://chromestatus.com/metrics/feature/timeline/popularity/4528 now, if you want to take a look again @nicolo-ribaudo.

Thank you!
Some preliminary analysis of the the first websites listed there (I only checked the homepage), searching with the assert[ /{] regex:

var.blog.jp — it uses CSS modules for syntax highlighting, I get no hightlighting on Firefox (it's a blog about JS)
www .eurokosher.it — uses es-modules-shim v0.13.1 which has feature detection, but does not actually use assertions
app.ulu.io/login — uses JSON modules with an assert static import to load localization data. They do something like this:<script type='module'>
import locale from '/locale.json?locale=it' assert {type:'json'};
window.I18n = locale;
</script>
<script>
window.I18n = { /* ... hard-coded contents of locale.json?locale-it ... */ };
</script>

so that their localization also works in browsers without import assertions support. Actually, in browsers that do not have import assertions supports their website works the same but it avoids loading one additional 250k file 😛
classlocator.live — the search at the top does not work if the assert syntax is not supported
council.csie.ntu.edu.tw — the buttons to filter the people list do not work without assert support
gewofit.de — they use a static JSON import in their index.js file to load some data for a library, but I cannot find any behavior difference between Chrome and Firefox (which does not support assert)
labdash.net — they have a map that only loads if import assertions are supported, but even if they don't the rest of the website keeps working
live.cartracker.nl — this is exactly the same code as in app.ulu.io. Maybe it's generated by some sort of framework that we could get to stop using assertions since it's just redundant for them.
mijnomgeving.justlease.nl — same as app.ulu.io
registrs.ur.gov.lv — they use it to show the website version in the footer. It's in a self-contained script tag, so the rest of the page works even with the syntax error.

Looking good :)

V8 has landed a CL that will warn on assert usage, recommending to use with instead. The plan is to remove assert support by 12.6, which will be stable by mid-June, 2024.


can't install the wheel file

when i tried install the impy wheel file, i got this error message below. I tried to install the required python version as stated in the error message but did not work.
Any help?
ERROR: Could not find a version that satisfies the requirement opencv-python==<IP_ADDRESS> (from impy) (from versions: <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>)
ERROR: No matching distribution found for opencv-python==<IP_ADDRESS>

Try install a version of opencv that is still available for download via pip, as it is described in the error message


fsevents

I work for a large factory where I develop and maintain software that does measurements, analysis and produces reports about the process. Because it is used at different places I once decided to make a web application and use php/js/jquery as tools. It is running good but because of the size hard to maintain so I have started to look for a better solution.
I investigated Agular but didn't like it because of Google (the factory is in China and a lot of Google services are blocked), so I looked for another solution and thought Meteor with React might be a good start until I read about the deployment issues - it seems Meteor only wants to have it installed on their own servers..
React/Nodejs is in the end the way I want to give a try and hot loading would be nice to improve the development speed. So I stumbled upon react-cool-starter because I don't want to reinvent the wheel.
I started to install it but received the following message:
aevl@aevl-Lenovo:~/react/react-cool-starter$ npm install
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture<EMAIL_ADDRESS>npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
aevl@aevl-Lenovo:~/react/react-cool-starter$
I could start the server without problems but I am not sure what to think about the warning, can you explain?
The os I run it on is Lubuntu 16.04.1 (Xenial)

Hi @vanarieleyen
The warnings come from the dependencies side not the project. So, you don't need to worry about it. You can run the project without any problem, which means you are get already to start off your project base on the starter kit ;)


Allow loading from AIX .a shared libraries

This uses bnoipath to strip the path from the libagentcore.a required library, allowing us to substitute the path . so that it can find it in the right place. Also allows Agent to recognise .a files as being valid library files.

As well as a pull, this will require appmetrics to have it's submodules bumped.

LGTM


python3Packages.phylophlan: init at 3.1.1

Description of changes
Fixes #343368

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

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

2 packages built:

phylophlan
phylophlan.dist

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1972

@ofborg build python312Packages.phylophlan

@ofborg build phylophlan

:|

:|

Yes I deleted my nixpkgs fork :D.
I will recreate a PR for this pacakge when I have time don't worry.

The new PR is here https://github.com/NixOS/nixpkgs/pull/356788.


[4.0.0] Update 4.0.0 REST APIs

Purpose
This PR will,

Add new REST APIs introduced with API-M 4.0.0 to publisher, devportal and admin redocly docs
Update postman collections for  publisher, devportal and admin
Add exported postman collection resources to doc assets
Remove references to admin api v0.17 which is removed from 4.0.0

Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email<EMAIL_ADDRESS>to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to<EMAIL_ADDRESS>and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

Unit tests

Code coverage information

Integration tests

Details about the test cases and coverage

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes/no
Ran FindSecurityBugs plugin and verified report? yes/no
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes/no

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

Fixes https://github.com/wso2/docs-apim/issues/3791


validate_call on instance method cause memory leak

Initial Checks

[x] I confirm that I'm using Pydantic V2

Description
A class with instance method decorated by validate_call, the instance created by this class can not been deleted once this method been called.
Example Code
import objgraph
from pydantic import validate_call, BaseModel

class Foo(BaseModel):
    foo: int = 3

    @validate_call
    def get_foo(self, a: int) -> int:
        return self.foo * a

    def __del__(self) -> None:
        print('deleted.')

##########################################

foo = Foo()
del foo  # deleted.

##########################################

foo = Foo()
a = foo.get_foo(3)
del foo  # nothing out
objgraph.by_type('Foo')  # [Foo(foo=3)]

Python, Pydantic & OS Version
pydantic version: 2.3.0
        pydantic-core version: 2.6.3
          pydantic-core build: profile=release pgo=true
                 install path: /home/xxxx/.conda/envs/py311/lib/python3.11/site-packages/pydantic
               python version: 3.11.4 (main, Jul  5 2023, 13:45:01) [GCC 11.2.0]
                     platform: Linux-5.15.0-78-generic-x86_64-with-glibc2.35
     optional deps. installed: ['typing-extensions']

Hi @xbanke,
Thanks for reporting this. I believe this is related to #7466.
We have an open PR trying to address this issue, but it's still in draft state. The issue is that when we wrap a function with the validate_call wrapper, we mutate the __dict__ of said instance. We're looking for workarounds.
Let me know if you think this is a different issue!

Thanks for your quick reply.
If apply the decorator after the class been created, can partially solve the problem:
from typing import Callable, TypeVar
from dataclasses import dataclass
from pydantic import validate_call
from pydantic._internal._validate_call import ValidateCallWrapper

_C = TypeVar('_C', bound=type)

@dataclass()
class Foo:
    m: int = 2

    def get_foo(self, a: int) -> int:
        return self.m * a

    def __del__(self) -> None:
        print('deleted.')

Foo.get_foo = validate_call(Foo.get_foo)
foo = Foo()
foo.get_foo('3')  # 6
del foo  # deleted.

But, there still some other problems:
from typing import Callable, TypeVar
from dataclasses import dataclass
from pydantic import validate_call
from pydantic._internal._validate_call import ValidateCallWrapper

_C = TypeVar('_C', bound=type)

def validate_methods(*fnames: str) -> Callable[[_C], _C]:
    def wrapper(cls: _C) -> _C:
        for name in fnames:
            f = getattr(cls, name, None)
            if callable(f) and not isinstance(f, ValidateCallWrapper):
                # print(f'{name} validated.')
                f = validate_call(f)
                setattr(cls, name, f)
        return cls
    return wrapper

@validate_methods('get_foo')
@dataclass()
class FooA:
    m: int = 2

    def get_foo(self, a: int) -> int:
        return self.m * a

    def __del__(self) -> None:
        print('deleted.')

@validate_methods('get_foo')
@dataclass()
class FooB(FooA):  # TypeError: attribute name must be string, not 'NoneType'
    ...

It looks like the descriptor lost the owner.
@dataclass()
class FooA:
    m: int = 2

    @validate_call
    def get_foo(self, a: int) -> int:
        return self.m * a

    def __del__(self) -> None:
        print('deleted.')

@dataclass()
class FooB(FooA):
    ...

FooB.get_foo # TypeError: attribute name must be string, not 'NoneType'

This will raise TypeError:
File ~/.conda/envs/py311/lib/python3.11/site-packages/pydantic/_internal/_validate_call.py:120, in ValidateCallWrapper.__get__(self, obj, objtype)
    118         object.__setattr__(obj, self._name, result)
    119     else:
--> 120         object.__setattr__(objtype, self._name, result)
    121 return result

TypeError: can't apply this __setattr__ to type object

@xbanke in your example, the reason it looks like there is a memory leak is just that garbage collection hasn't been called before the end of the process. If you manually trigger the garbage collection after calling del but before the objgraph call, you'll see that it does in fact get cleaned up:
import objgraph
from pydantic import validate_call, BaseModel

class Foo(BaseModel):
    foo: int = 3

    @validate_call
    def get_foo(self, a: int) -> int:
        return self.foo * a

    def __del__(self) -> None:
        print('deleted.')

##########################################

foo = Foo()
del foo  # deleted.

##########################################

foo = Foo()
a = foo.get_foo(3)
del foo  # nothing out

import gc
gc.collect(0)
gc.collect(1)
gc.collect(2)

print(objgraph.by_type('Foo'))  # []

Does that make sense?

@xbanke in your example, the reason it looks like there is a memory leak is just that garbage collection hasn't been called before the end of the process. If you manually trigger the garbage collection after calling del but before the objgraph call, you'll see that it does in fact get cleaned up:
import objgraph
from pydantic import validate_call, BaseModel

class Foo(BaseModel):
    foo: int = 3

    @validate_call
    def get_foo(self, a: int) -> int:
        return self.foo * a

    def __del__(self) -> None:
        print('deleted.')

##########################################

foo = Foo()
del foo  # deleted.

##########################################

foo = Foo()
a = foo.get_foo(3)
del foo  # nothing out

import gc
gc.collect(0)
gc.collect(1)
gc.collect(2)

print(objgraph.by_type('Foo'))  # []

Does that make sense?

It does make sense in 2.5.2


Builder with ID

Node* getNodeUsingId(int* id) expects an int id vs (new) Node* Node.Id(dynamic id) expects dynamic. Making it dynamic would let us use even a string as an id for the node. Can you please fix this discrepancy?  Also, when will this version be available in null safety.

You are correct. let me see if I can get some time to work on this

This is now fixed in 1.0.0


Allow multiple onCalendar elements

On systemd timer it is allowed to have multiple OnCalendar elements like described here:
https://wiki.archlinux.org/index.php/Systemd/Timers#Realtime_timer
This PR allows to pass an array which results in multiple elements in the config file then.

Hi,
I've merged this PR on the release 0.2.14
Thanks for your work on this!
kind regards,


Home page

This project is an online directory of hotels. It bridges the gap between hotels and clients. The various hotels are stored in the database and the customers search through to find a convenient choice. This is just the front end build using HTML5, CSS3 and Bootstrap. The site is responsive, with 3 breakpoints i.e. mobile, tablets, large and extralarge screens.

All the changes effected as requested.

Changes effected as requested. All content displayed on mobile view.


Trouble with handling multithread

It's not good at handling multithread request such as tunneling through SSH. For example, i just simply want to send multithread requests to the destination website through wstunnel, around 50-70 threads, like it's slowing handling them and requests are most likely put in the queue. Can you please check this issue out. Thanks

Hello,
There is no issue if you try to tunnel everything into one ssh connection.
You are trying to multiplex 70 different connections into 1 tcp flux, so they are all going to block/slow down each others.
Try using the sock5 proxy of wstunnel -D to get better performance, or create one ssh tunnel per thread

Ya, i'm using -D for dynamic tunneling, but the problem is happening. I had to switch to tradition SSH tunneling for brute-force. Is there anything i can void the mentioned issue?
But it's true that about what you said, i've used such tools supporting multithread to speed up my brute-force.

Can you describe more precisly your setup:

How you start wstunnel server
How you start wstunnel client
How do you forward traffic to the client

I am not sure to understand everything


Runtime translation

I'm submitting a

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Enhancement
[x] Feature request
[ ] Documentation issue or request

Description
I use ngx-translate for components runtime translation.
How can I translate ngx-editor in runtime?
In case, when user can change language on page.
In documentation I found only this locale configuration:
https://sibiraj-s.github.io/ngx-editor/#/?id=optional-configuration
Version Information
ngx-editor: 9.0.2
angular: 9.1.4

Browser

[x] Chrome - 91.0.4472.124

I have't been using angular for a while, I am little rusty around this area. do you have any implementation concept in mind? I can try to implement it.

I have't been using angular for a while, I am little rusty around this area. do you have any implementation concept in mind? I can try to implement it.

I found a solution.
In my app, i store "locals" in the variable.
When user chnage language I just change "locals".
For example:
onChangeLanguage() { locals.bold = data.bold; locals.italic = data.italic; }
It works fine!


Wrong prefix for TypeComplex and SignalBus

Reported by otter on 1 Jul 2013 09:58 UTC
This ticket summarizes a few issues reported in #1167 that need to be changed in MSL:
Modelica.Icons.TypeComplex is a record that inherits from Complex. This is not correct. Needs to be changed:

TypeComplex needs to be an operator record that is defined by a short class definition from Complex.
Complex should get the icon of TypeComplex.
TypeComplex needs to be marked "obsolete", since instead Complex (with its icon) should be used and TypeComplex is just superfluous, but kept for backwards compatibility.

Modelica.Icons.SignalBus and Modelica.Icons.SignalSubBus are defined as connectors, although the intended use is as expandable connector. The inheritance is not clearly defined in the Modelica specification, but this will most likely be changed: Inheritance of an expandable connector from a connector is not allowed (since a connector could have a "flow" attribute which is not allowed in an expandable connector), but extending a connector from an expandable connector is allowed. As a result, the definition of SignalBus and SignalSubBus is changed to "expandable connectors". This is backwards compatible due to the sketched rules

Migrated-From: https://trac.modelica.org/Modelica/ticket/1191

Modified by otter on 1 Jul 2013 09:59 UTC

Comment by otter on 1 Jul 2013 10:25 UTC
Fixed in 572aa28c2e58a32915c8bbe0048af03a01e84968 as suggested


⚠ Bofrost.de has degraded performance

In 2fab4ad, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1638 ms

Resolved: Bofrost.de performance has improved in c3d3169 after 11 minutes.


Document Transformations

Summary
This PR aims to enhance the documentation for the transformations.jl module, providing more detailed descriptions of each available transformation and including a visual example to demonstrate the impact of the transformations on a tensor network.

Now the docs work as expected

I prefer multiple smaller examples and leave the RQC for the examples, but it's good enough right now. I will change it in the future.


Fix 'Abstract' typo

:+1:
Changing the copy while no tests fail indicates these are not covered by utests,
if you've the time could you update the tests maybe as well to cover this?

Putting all in one PR


How can I get the C/C++ code extract option??

Hello,
I would like to extract the files from ply to textual option.
Python code already has it.
ex)     ply.set_option(rs.save_to_ply.option_ply_binary, True)
ply.set_option(rs.save_to_ply.option_ply_normals, False)
i want to extract using C/C++ this function.
points.export_to_ply("file_name.ply", color);
How can I get the code for setting this option?

Hi @Hyeon-Hoo  The best reference that I know of for exporting a binary ply with C++ is the discussion in the link below:
https://github.com/IntelRealSense/librealsense/issues/6979

Hi @Hyeon-Hoo   Do you still require assistance with this case, please?   Thanks!

Case closed due to no further comments received.


prestodb create table syntax error

I followed presto 0.100 document to try to create a mysql table, sql is under here:
CREATE TABLE orders (
orderkey bigint,
orderstatus varchar,
totalprice double,
orderdate date
)
but I got error message: 'Query 20150504_095508_00067_t9ru3 failed: line 1:21: mismatched input '(' expecting {'.', 'AS'}'
is it a defect about presto?

Currently in presto-0.101, create table is only enabled in hive connector and raptor connector.

This syntax was added in 0.101.


ListBuilder Specify Field

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
The various ListBuilder's do not support providing the full Field of the nested type, this prevents round-tripping nullability, field names, etc...
Describe the solution you'd like
The ListBuilders should have a new public constructor
pub fn new_with_child(values_builder: T, child: Field) -> Self

This should panic in finish if the field has an incompatible data_type
Describe alternatives you've considered
We could not do this
Additional context
I ran into this whilst working on https://github.com/apache/arrow-datafusion/issues/2450

Closed by #5331


add http callable function interface

Resolved Issues

close #137

Details of Changes

[x] add callSkeetFunction

That's cool🚀🔥


Version Packages

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
<EMAIL_ADDRESS>Patch Changes

#830 9b4a1ed Thanks @threepointone! - partykit-ai: new models!
https://blog.cloudflare.com/february-28-2024-workersai-catalog-update

 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.


abci++: Define and implement pruning strategy for stored extended commits

Was https://github.com/tendermint/tendermint/issues/8458
As per RFC 017 (https://github.com/tendermint/tendermint/pull/8317), we are going to be storing all extended commits in the block store, which will contain vote extensions and vote extension signatures. This could take up a substantial amount of disk space for large vote extensions and large validator sets.
We need to define and implement an optimal pruning strategy in order to minimize the operational impact of storing extended commits while still maintaining overall network integrity.

Proposed solution: https://github.com/tendermint/tendermint/blob/6063de77c184fc3e7bd150805339a5c159cf4958/docs/rfc/rfc-017-abci%2B%2B-vote-extension-propag.md#possible-optimization-pruning-the-extended-commit-history


Cuda out of memory when training ViT-B architecture on ImageNet 224x224 with a batch size of 1024

Hi, Thanks for your great work and open-sourcing your codes!
I am working on one of my project that utilizes contrastive loss.  My code computes the contrastive loss for three times each with different input. I follow the instructions in README.md and simply replace code snippets that compute contrastive loss with inf_cl_loss. However, on ImageNet 224x224, when training a ViT-B model with a batch size of 1024 utilizing 8xA800, the out-of-memory exception occurred.
In addition to this repo, I also utilized the xformers repository for efficient ViT attention computation.
Do you have any clues why this is happening? Thanks!

I emailed the author and they mentioned that one should apply gradient cache (https://github.com/luyug/GradCache) together with the loss function in this repo.


Remove hard coded cluster paths from the repo

Description
As the name says.
Type of change
Please check the options that are relevant.

[ ] Bug fix (non-breaking change that fixes an issue)
[ ] Proposes a change (non-breaking change that isn't necessarily a bug)
[x] Refactor
[ ] New feature (non-breaking change that adds a new functionality)
[ ] Breaking change (fix or feature that would break some existing functionality downstream)
[ ] This is a unit test
[ ] Documentation only change
[ ] Datasets Release
[ ] Models Release

Type of requested review

[ ] I want a thorough review of the implementation.
[x] I want a high level review.
[ ] I want a deep design review.

Checklist:

[ ] I have performed manual end-to-end testing of the feature in my environment.
[ ] I have added Docstrings and comments to the code.
[ ] I have made changes to existing documentation where needed.
[ ] I have added tests that show that the PR is functional.
[ ] New and existing unit tests pass locally with my changes.
[ ] I have added relevant collaborators to review the PR before merge.
[ ] [Polymetis only] I have verified that all scripts in tests/scripts runs on hardware.

Codecov Report

Merging #918 (35711cd) into main (5248ea2) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #918      +/-   ##
==========================================
- Coverage   32.18%   32.17%   -0.01%
==========================================
  Files         343      343
  Lines       33778    33779       +1
==========================================
- Hits        10871    10868       -3
- Misses      22907    22911       +4

Impacted Files
Coverage Δ

interpreter/robot/tests/world.py
74.45% <0.00%> (-0.73%)
:arrow_down:

agents/craftassist/tests/fake_agent.py
72.97% <0.00%> (-0.70%)
:arrow_down:

...tassist/voxel_models/modify/build_sweep_scripts.py
0.00% <0.00%> (ø)

...mplated_data_generation/build_scene_flat_script.py
0.00% <0.00%> (ø)

interpreter/craftassist/tasks.py
74.63% <0.00%> (+0.18%)
:arrow_up:


❇ Final Application test & generation of the Stargazers animation

✅ Closes: #454
This pull request introduces a new project template called stargazers and includes several updates and additions across multiple files to integrate the Remotion library and configure the project. The most important changes include adding dependencies, configuring ESLint and Prettier, setting up caching and fetching of stargazers, and defining the main components and configurations for rendering a video.
Dependencies and Configuration:

package.json: Added Remotion dependencies (@remotion/bundler, @remotion/cli, @remotion/renderer, remotion) to the project. [1] [2]
stargazers/package.json: Added project-specific dependencies, scripts for development and build, and configured ESLint and Prettier.
stargazers/.eslintrc: Configured ESLint to extend Remotion's configuration.
stargazers/.prettierrc: Configured Prettier with specific formatting rules.
stargazers/.gitignore: Added common ignore patterns.

Codebase Setup:

src/main.jsx: Refactored imports from react-router-dom to be on a single line.
stargazers/src/index.ts: Registered the Remotion root component.
stargazers/remotion.config.ts: Configured Remotion settings such as video image format and render timeout.

Caching and Fetching Data:

stargazers/src/cache.ts: Implemented caching logic for stargazers data using localStorage.
stargazers/src/fetch/fetch-data.ts: Added functions to fetch stargazers data using either the REST API or GraphQL. [1] [2] [3]

Component Implementation:

stargazers/src/Content.tsx: Created the Content component to display stargazers information.
stargazers/src/Main.tsx: Defined the main component to calculate progress and render Content.
stargazers/src/Root.tsx: Set up the root component with Remotion composition and metadata calculation.

Styling:

stargazers/src/gh-styles.css: Added CSS styles for the project.

Summary
This PR finalizes the checks for the remotion application and complete generation of the stargazers timeline animation.
Video (mandatory)

fitflex-454.webm
Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md if its a new page/tech stack
[X] I have gone through the  contributing.md file before contributing

Are you contributing under any Open-source programme?

[X] I'm a GSSOC-EXT contributor
[ ] I'm a HACKTOBERFEST contributor

@GAVINESHWAR @jeevan10017 kindly review this PR, at least lvl 3.

@yashksaini-coder I say no need of it, for star gazers you have adding around 2000+ lines

@jeevan10017 If there is no need of this, close this PR.
@yashksaini-coder We cant review it without PAs concent


Sema: Fix source compatibility break with default initialization of optional properties [4.1]

In Swift 4, properties declared with a sugared Optional type,
like Int?, have a default value of nil. This can be observed
in two ways:

Classes and structs get an implicit no-argument initializer
Designated initializers don't have to initialize this property

Note that this did not apply in general to properties where
the type was spelled explicitly as Optional, etc, mostly
because of implementation restrictions -- when we check if a
type has implicit initializers, we have not realized types for
all stored property members yet, and doing so is not really
possible without the iterative decl checker.
However, in some cases, we did perform default initialization
for Optional, because of some code duplication and
divergent code paths.
A recent refactoring cleaned up some of the mess in this area,
but accidentally broke source compatibility with code that
relied on the broken Optional case.
Fix this by simulating the old behavior in -swift-version 4,
and preserving the more correct behavior in -swift-version 5.
Fixes rdar://problem/35319847.

@swift-ci Please test


Add build_id and is_composite flag

Background
We want to be able to exclude composite builds in our SLO calcs, as the start time is the start of any dependency, not it's immediate dependencies.
Results
We are now emitting two new properties:

octopus.teamcity.opentelemetry.build_is_composite
octopus.teamcity.opentelemetry.build_id

The second one is a bit of a drive by bonus - i would have assumed it was already there.
How to review this PR

Pre-requisites

[ ] I have considered informing or consulting the right people
[ ] I have considered appropriate testing for my change.

[sc-87109]


Replacing existing colors with npm module, and refactored Sass

This PR is unfinished, still have to go through the app and tweak.

This is looking great. I really like the new font. I found a few issues and also have a few more generic comments.

The input borders are gone. It looks like it can't find the variable
The modal opacity makes it hard to read text actual content on the modal

It's hard to read the help text next to the search suggestion

The exact url match on the search page needs to be updated for the new dark mode

Input/label input color needs to be updated for dark mode

The table row headings are hard to see on dark mode, also the grey on grey text is hard to read on even numbered rows

I'm not super sure about the new green color. I like the actual color but it's a lot harder to read buttons with white text. The contrast ratio is significantly lower than the previous combination which was already pretty low.

@seanyesmunt Pushed up some changes. The $lbry-teal-5 color is being used for all buttons now, due to its excellent contrast. It doesn't pass WCAG AAA though, only WCAG AA.

@NetOperatorWibby I don't think we have to pass all, teal-5 looks great. Way easier to read compared to teal-3

The search page is looking better on dark mode. There are still some issues with placeholders.

The input background color is also a little tough to read on dark mode (both search and copyable inputs)
And the markdown input on the publish page

Alright, fixed inputs. Found a rather interesting bug/feature. When you highlight text and then switch themes, the selected text is white and will not fix itself unless you reload the app.

This is another good site for contrast testing: https://colorable.jxnblk.com/ffffff/2f9176

@NetOperatorWibby After looking at some of the code more closely I'm starting to think we should keep the vars file. That would avoid the need for using nested rules in the dark theme scss file.
Currently in some cases, if any layout changes, the dark mode would break.

@seanyesmunt We lose the flexibility of using rgba functions and end up having more colors than necessary. I don't think layout changes are a strong argument. Dark mode would have to be checked out if changes are made regardless.

@seanyesmunt Do I need to do anything else to get this merged?

I think the only thing left I've noticed is the text in the search bar is really hard to read on light mode. After that is fixed I think we can merge this.

Cool beans, I'll go through everything finely.


Template.tpl file - better use 'html' extension (minor)

https://github.com/ildarkhasanshin/cuda_font_preview/commit/9a74d46ed6520368bc293e77109b92dac74bd881


checkout.flutterwave.com unexpectedly closed the connection.

Implementation of this package suddenly stopped working and displays the error "checkout.flutterwave.com unexpectedly closed the connection."

Hello @dicorage👋🏾,
Thank you very much for sharing this with the team. You did not share adequate information on this issue, this made it impossible to replicate the error.
Kindly go through our community contribution guidelines to see full details on raising issues on this repository. We would close out this issue now, Please raise this again if it is still occurring in your app.
Regards,
Cornelius.


💄 Show context on observe

#47  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @RTLS and the rest of your teammates on  Graphite


fuse: failed to exec fusermount: No such file or directory

It's a google VM running debian. The google-drive-ocamlfuse was installed and the token was retrieved correctly.
But this is a trouble in mounting. I am sure the /data directory exist.
$ google-drive-ocamlfuse /data
fuse: failed to exec fusermount: No such file or directory
Actually, if there is some files in data folder, there will be another error information.
"fuse: mountpoint is not empty"
Please help me.

If fusermount is not installed, try to install fuse-utils.

Actually, if there is some files in data folder, there will be another error information.
"fuse: mountpoint is not empty"

If you want to force mount even if your mountpoint is not empty you can use -o nonempty. Although your files in that directory will not be available until you unmount your google drive.

worked well with fuse dependency (in Debian), maybe this can be considered a closed issue?


Would love to help with testing

I got these hue lamps and can help testing them:
Work as expected:

Fair
Still

Isn't on the list, but works as a basic zigbee device:

Adore

Is on the list but shows error (no compatible app) and adds it as a basic zigbee device:

Cher

Adore will be added.
Can you provide me with the generic zigbee details for the Adore and Cher ones?