Set up nextJS site

### Tasks
- [ ] Use Tina tailwind starter
- [ ] Connect it to Rules Tina Cloud project

Hi,
I am interested in contributing to this issue, but I need some clarification on the task. Could you please provide more details about what needs to be done or any specific requirements?
Thank you!


Make it possible to move at an angle? rather than just cardinal directions

replaced with code to move left/right/up/down


🧑💻: UI Enhancement of the Navbar header

Title
UI Enhancement of the Navbar of the Website
Enhancement Aim
The User Interface of the Navbar needs enhancement as it is just a simple looking navbar and styling of the same will increase the user experience as well as Navbar is an important part of any website and its styling is a must.
Changes

Styling of Header
Styling of Navbar
Styling of the Name in Header

Screenshots 📷

Guidelines

[X] I have read the guidelines
[X] I have the link to my latest merged PR

Full Name
Vansh Garg(Github username: @VanshGarg06 )
Participant Role
GSSOC-EXT
Hacktoberfest

Similar issue is already assigned to someone else


Can't close and cancel save

If I attempt to close an open file from the Working Files pane and click Don't Save in response to the Save Changes dialog, the file will not close.
Maybe this only happens with a split view? I'll try to confirm.

No, it happen without a split view, too. But I still can't reliably reproduce it.

Closing. Seems to be an extension problem (per Slack).


Disable class level caching in AbstractHolidayCalendar

By caching at the class level it prevents instances from defining different rules - e.g.
import numpy as np
from pandas.tseries.holiday import AbstractHolidayCalendar, Holiday

class HolidayCalendar(AbstractHolidayCalendar):
    def __init__(self, rules):
        self.rules = list(np.atleast_1d(rules))

jan1 = HolidayCalendar(Holiday('jan1', year=2015, month=1, day=1))
jan2 = HolidayCalendar(Holiday('jan2', year=2015, month=1, day=2))

jan1.holidays()
Out[2]:
<class 'pandas.tseries.index.DatetimeIndex'>
[2015-01-01]
Length: 1, Freq: None, Timezone: None

jan2.holidays()
Out[3]:
<class 'pandas.tseries.index.DatetimeIndex'>
[2015-01-01]    <--------------------------- uses cached result from *other* instance!
Length: 1, Freq: None, Timezone: None

import numpy as np
from pandas.tseries.holiday import AbstractHolidayCalendar, Holiday

class HolidayCalendar(AbstractHolidayCalendar):
    def __init__(self, rules):
        self.rules = list(np.atleast_1d(rules))

jan1 = HolidayCalendar(Holiday('jan1', year=2015, month=1, day=1))
jan2 = HolidayCalendar(Holiday('jan2', year=2015, month=1, day=2))

jan2.holidays()
Out[2]:
<class 'pandas.tseries.index.DatetimeIndex'>
[2015-01-02]
Length: 1, Freq: None, Timezone: None

jan1.holidays()
Out[3]:
<class 'pandas.tseries.index.DatetimeIndex'>
[2015-01-02]    <--------------------------- uses cached result from *other* instance!
Length: 1, Freq: None, Timezone: None

https://github.com/pydata/pandas/blob/a72d95163b4d268012709255d7a52bbe5c1a7eb6/pandas/tseries/holiday.py#L351-L357

The expected use of this is that there is only one set of rules per holiday class.  Namely there is a one-to-one mapping between holiday calendars and rules.  Ideally, if you change the rules you would create a new class.  However, this isn't exactly obvious from how things work and I don't see the harm in making the cache on the instance rather than the class (see #6719) for some design discussion.

That seems like a strange design to me - if the rules are a class level attribute then there is no instance   level data stored on the class and all the methods could be classmethods and the user would never have to actually instantiate the subclass to use it.
It also seems contrary to AbstractHolidayCalendar.__init__ which specifically allows overriding the rules at an instance-level.


README says safe_browser uses node v8

Prerequisites

[x] Using yarn
[x] Using an up-to-date master branch
[ ] Link to stacktrace in a Gist (for bugs)

Expected Behavior

I'm running a local dev browser (no mods yet) with yarn link to a local safe_app_nodejs (no mods yet). I expect the browser to start and function as normal.
Current Behavior
When I run the browser with NODE_ENV=dev yarn dev the console includes uncaught exceptions which report that safe_app_nodejs is using a different node version to the browser. The browser window doesn't appear.
The Browser README says:

Node.js ^8.0.0 (we recommend installing it via nvm)

safe_app_nodejs README says:

Node.js ^10.0.0 (we recommend installing it via nvm)

Possible Solution
Changing the browser to use nodejs v10 appears to fix this issue, so I think the safe_browser README is incorrect. What is the correct version of nodejs to use with SAFE Browser?

Steps to Reproduce (for bugs)

Context

Your Environment

Operating System and version : Ubuntu 18.10

Hi Mark, thanks for flagging this issue.
I can confirm that I am able to reproduce the above behaviour on a fresh clone of the master branch of the browser repo.
However, a workaround is to run yarn first. NODE_ENV=dev yarn dev will then successfully launch the browser. My node version is 8.16.

Oh, pretty sure I ran yarn first. Will try again and report back, thanks.
On 29 April 2019 14:11:52 BST, Calum Craig<EMAIL_ADDRESS>wrote:

Hi Mark, thanks for flagging this issue.
I can confirm that I am able to reproduce the above behaviour on a
fresh clone of the master branch of the browser repo.
However, a workaround is to run yarn first. NODE_ENV=dev yarn dev
will then successfully launch the browser. My node version is 8.16.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/maidsafe/safe_browser/issues/703#issuecomment-487573773

--
Helping decentralise the Internet with:
SAFE Network - Secure Access For Everyone, https://safenetwork.tech
Project Solid - Tim Berners-Lee's vision of the Web, https://solid.mit.edu

We are considering to upgrade everything to the very latest version of nodejs (v12) as that would presumably also help us in getting electron upgraded to v5 in the browser and some of the other example apps. Any thoughts about this?

We are considering to upgrade everything to the very latest version of nodejs (v12) as that would presumably also help us in getting electron upgraded to v5 in the browser and some of the other example apps. Any thoughts about this?

@bochaco I don't really know nodejs or the different versions well enough to understand the implications (evidence below! :wink:). I see that Solid appear to be using v10 (e.g. for solid-auth-client which I'm working on).
On the face of it as much as possible using the same version of node seems to be desirable to avoid problems with using different node versions for different libraries. But I don't know the implications of different versions of node on the codebase, working with other modules etc. My instinct is to go for latest stable version, but it isn't always right!

Ooops! @calumcraig I'm on dev branch because I want the latest tweaks (e.g. for window.eval()). Sorry forgot about that.
And contrary to the OP I have not found a way to get SAFE Browser working with local safe_app_nodejs, I may just have forgotten to link to yarn link "@maidsafe/safe-node-app"
To test your solution I did the following, but this still gives the error:
nvm use 8 && rm -rf node_modules && yarn && yarn link "@maidsafe/safe-node-app" && NODE_ENV=dev yarn dev

What I thought I'd done to fix it, was this, but this also still gives the error:
nvm use 10 && rm -rf node_modules && yarn && yarn link "@maidsafe/safe-node-app" && NODE_ENV=dev yarn dev

If I omit the yarn link as follows it works (but obviously isn't using my local safe_nodejs_app):
nvm use 10 && rm -rf node_modules && yarn && NODE_ENV=dev yarn dev

The error is back if in safe_browser I then do:
yarn link "@maidsafe/safe-node-app"  && NODE_ENV=dev yarn dev

I'm confused here, because safe_nodejs_app doesn't have anything built. I've just forked it and in safe_app_nodejs done yarn && yarn link.
So my problem seems not to be the node version in safe_browser, but that I'm linking to safe_app_nodejs - maybe I need that to be on dev branch too... um, no. I get build errors on dev branch when I do rm -rf node_modules && yarn. master is fine, but as noted I can't get it working with SAFE Browser.
So I have not yet managed to get local SAFE Browser to work with a local safe_app_nodejs :frowning_face:  Help appreciated!
What I'm really trying to do though is: ensure my version of solid-auth-client is being used by a SAFE Browser web app. I have not confirmed this 100% but am pretty sure that the published rdflib/solid-auth-client (which is used by safe_app_nodejs) is being inserted into the window object by SAFE Browser, and blocking access to my version by my web app. I'm pretty sure this is the case because my version is used in Firefox, but I get a warning from solid-auth-client about SolidAuthClient being loaded twice when I'm running in SAFE Browser.
My plan was to get safe_app_nodejs to use my rdflib/solid-auth-client, but ultimately I think it is a bug that modules used by SAFE Browser/safe_app_nodejs are overriding the ones selected by a web app. If that is indeed what's happening.

UPDATE: I may have found a solution to using my rdflib/solid-auth-client. I am able to link to rdflib in safe_browser and so don't seem to need to also link to safe_app_nodejs. Looking into this now.
So I still don't know how to get local safe_app_nodejs/master to work with local safe_browser/dev but I don't think I need to do this now, so not urgent.

Ooops! @calumcraig I'm on dev branch because I want the latest tweaks (e.g. for window.eval()). Sorry forgot about that.
Ah, OK, I'll try and reproduce on dev like yourself and let you know if I hit the same issues.

Hmm, @theWebalyst I've switched to the dev branch and I'm able to launch the browser OK using NODE_ENV=dev yarn dev... I haven't changed anything else since my previous post so my node version is 8.16.  I'm on Linux Mint 19 (which is based on Ubuntu 18.04). I'll need to defer to @bochaco et al who have greater knowledge of the technology in use here.

Just to check @calumcraig were you using yarn link safe-app-nodejs in safe_browser to use a local copy of safe_app_nodejs. I ask, because if you weren't this problem doesn't arise.
Also, just to re-affirm this is no longer an issue for me atm (as I don't seem to nee to use a local safe-app-nodejs).
Instead my problem is that in my web app I can't use forked versions of rdflib.js/solid-auth-client with SAFE Browser because the modules it also uses rdflib.js, and causes those versions of rdflib.js/solid-auth-client to be 'imposed' on my web app. I've raised a separate issue https://github.com/maidsafe/safe_browser/issues/708

@theWebalyst , regarding using browser local dev branch with safe-node-app local master, I just tried this for mock and it worked (with node v10):
In nodejs local master:
NODE_ENV=dev yarn && yarn link
Then on the browser local dev:
NODE_ENV=dev yarn && yarn link "@maidsafe/safe-node-app" && yarn rebuild && yarn mock-dev

Thanks @bochaco, I'll close this. If I need to come back to it I'll have another go, but maybe it will just work. Sorry if its been a wild goose chase.

As per the other issue about rdflib.js, from a theorical point of view, I cannot imagine why there could be a problem with an app includign such a lib wich is running as a webpage, with the rdflib/js that is used by the safe-app-nodejs in the backend as part of the browser. I'm not sure though, @joshuef would you expect any problem as described about this?
I just gave it a quick try running the demo app from here and I have no idea how that's supposed to work but I get the sites loading in the browser, and apart from some these errors I don't see anything else.

Yes, it may not be a general problem. It may be because solid-auth-client adds itself to window, and as that is done once by SB loading rdflib.js and then by the Web app doing so, which means there's a clash. I'm still investigating but keep having problems building/debugging. I had it all working once but can't get it back again atm 😦
Will update the other issue when I know something.

Just to check @calumcraig were you using yarn link safe-app-nodejs in safe_browser to use a local copy of safe_app_nodejs.

No, I wasn't which would tie in with the behaviour you are describing I think.

No, I wasn't which would tie in with the behaviour you are describing I think

Indeed. The problem I had was only when trying to yarn link safe-app-nodejs


Connection Refused connecting to private server

Version: 0.0.7
Go version: 1.17.5 linux/amd64
Hello guys, the issue I'm having is trying to connect the client to my server.
I execute the command:
interactsh-client -server https://bm866.cc
The server returns:
[FTL] Could not create client: could not make register request: POST https://bm866.cc/register giving up after 6 attempts: Post "https://bm866.cc/register": dial tcp <IP_ADDRESS>
:443: connect: connection refused

I also tried http://bm866.cc with the same response.
And I also tried the web client with custom server pointing to bm866.cc with no success.
My server is running on an Oracle VM.
My domain in registered on Namecheap.
I configured it with custom nameservers (ns1 and ns2 both pointing to <IP_ADDRESS>, which is the VM's IP).
I am running BIND9 on it to act as nameserver.
If I enable nginx on my VM I can access it using http://bm866.cc.
If I run nslookup ubuntu.com bm866.cc from my Windows PC I get the correct response.
I start my server with this command:
interactsh-server -domain bm866.cc
The response I get leads me to believe it is running correctly:
2021/12/26 21:06:20 Creating new order for domains: [*.bm866.cc bm866.cc]
2021/12/26 21:06:21 Order created: https://acme-v02.api.letsencrypt.org/acme/orde                                                                                r/337280780/50384353190
2021/12/26 21:06:21 Fetching authorization: https://acme-v02.api.letsencrypt.org/                                                                                acme/authz-v3/62268156840
2021/12/26 21:06:21 Fetched authorization: bm866.cc
2021/12/26 21:06:31 Updating challenge for authorization bm866.cc: https://acme-v02.api.letsencrypt.org/acme/chall-v3/62268156840/Wnqorg
2021/12/26 21:06:33 Listening on DNS, SMTP and HTTP ports

I tried shutting down my firewall to see if it was interfering in some way with the command sudo iptables -F. I also made sure ports 53, 80 and 443 were open for TCP packets on the VM configuration.
Even so, I am getting connection refused.

@bluesm866 to confirm if all the services are running properly, can you share the output of netstat -tulpn after running interactsh server or pull the to dev branch with git checkout dev and build the interactsh server that includes some error handling and probably will display the error details.

Hello ehsandeep,
This is the netstat result:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 <IP_ADDRESS>:53           <IP_ADDRESS>:*               LISTEN      764/named
tcp        0      0 <IP_ADDRESS>:53            <IP_ADDRESS>:*               LISTEN      764/named
tcp        0      0 <IP_ADDRESS>:53           <IP_ADDRESS>:*               LISTEN      706/systemd-resolve
tcp        0      0 <IP_ADDRESS>:22              <IP_ADDRESS>:*               LISTEN      801/sshd: /usr/sbin
tcp        0      0 <IP_ADDRESS>:953           <IP_ADDRESS>:*               LISTEN      764/named
tcp        0      0 <IP_ADDRESS>:111             <IP_ADDRESS>:*               LISTEN      1/init
tcp6       0      0 :::22                   :::*                    LISTEN      801/sshd: /usr/sbin
tcp6       0      0 :::111                  :::*                    LISTEN      1/init
udp        0      0 <IP_ADDRESS>:53           <IP_ADDRESS>:*                           764/named
udp        0      0 <IP_ADDRESS>:53           <IP_ADDRESS>:*                           764/named
udp        0      0 <IP_ADDRESS>:53            <IP_ADDRESS>:*                           764/named
udp        0      0 <IP_ADDRESS>:53            <IP_ADDRESS>:*                           764/named
udp        0      0 <IP_ADDRESS>:53           <IP_ADDRESS>:*                           706/systemd-resolve
udp        0      0 <IP_ADDRESS>:68           <IP_ADDRESS>:*                           704/systemd-network
udp        0      0 <IP_ADDRESS>:111             <IP_ADDRESS>:*                           1/init
udp6       0      0 :::111                  :::*                                1/init

I'll see if I run the dev branch later today.

Your netstat output leads me to think it is listening on local IP only. For example, I correctly see a <IP_ADDRESS>:22 for your SSH port but I don't see an <IP_ADDRESS>:25, <IP_ADDRESS>:53, <IP_ADDRESS>:80, or <IP_ADDRESS>:443, for your Interactsh.

Try passing the -ip flag with the IP of your server and see if that makes a difference?

Hello @geeknik,
Running the dev branch either using -domain or -ip I am getting this output:
sudo ./interactsh-server -ip <IP_ADDRESS>
[INF] Listening with the following services:
        SMTP :25
        DNS :53
        HTTP :80
[ERR] Could not serve dns on port 53: listen udp <IP_ADDRESS>:53: bind: address already in use
[FTL] The DNS service has unexpectedly stopped

Only after stopping BIND9 and systemd-resolved services I was able to start Interactsh Server with -ip (-domain would not work, since I killed my BIND9 dns server).
Is Interactsh Server not supposed to run on the same machine as my dns server? Does it work as a dns server itself? If so, where should I configure it, with my registers, zones, pointers, etc?

i'm not running bind, i handle all of the dns stuff through my host.
ns1.domain.tld is an A record pointed at the IP of my host's ns1
ns2.domain.tld is an A record pointed at the IP of my host's ns2
ns3.domain.tld is an A record pointed at the IP of my host's ns3
domain.tld is an A record for the IP assigned to my VM by my host
My command line is something like interactsh-server -ip x.x.x.x -domain xxx.tld -hostmaster  email@domain

Additionally, here is the output using -debug flag:
 sudo ./interactsh-server -domain bm866.cc -debug
[ERR] Could not serve dns on port 53: listen udp <IP_ADDRESS>:53: bind: cannot assign requested address
[WRN] An error occurred while applying for an certificate, error: could not generate new certs: error creating new account: acme: error code 429 "urn:ietf:params:acme:error:rateLimited": Error creating new account :: too many registrations for this IP: see https://letsencrypt.org/docs/rate-limits/
[WRN] Could not generate certs for auto TLS, https will be disabled
2021/12/28 00:24:06 Listening on DNS, SMTP and HTTP ports
[ERR] Could not serve http: listen tcp <IP_ADDRESS>:80: bind: cannot assign requested address
[ERR] Could not serve smtp on port 587: listen tcp <IP_ADDRESS>:587: bind: cannot assign requested address
[ERR] Could not serve smtp on port 25: listen tcp <IP_ADDRESS>:25: bind: cannot assign requested address

Ports being used:
 sudo netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 <IP_ADDRESS>:53           <IP_ADDRESS>:*               LISTEN      3180/named
tcp        0      0 <IP_ADDRESS>:53            <IP_ADDRESS>:*               LISTEN      3180/named
tcp        0      0 <IP_ADDRESS>:53           <IP_ADDRESS>:*               LISTEN      3161/systemd-resolv
tcp        0      0 <IP_ADDRESS>:22              <IP_ADDRESS>:*               LISTEN      832/sshd: /usr/sbin
tcp        0      0 <IP_ADDRESS>:953           <IP_ADDRESS>:*               LISTEN      3180/named
tcp        0      0 <IP_ADDRESS>:111             <IP_ADDRESS>:*               LISTEN      1/init
tcp6       0      0 :::22                   :::*                    LISTEN      832/sshd: /usr/sbin
tcp6       0      0 :::111                  :::*                    LISTEN      1/init
udp        0      0 <IP_ADDRESS>:53           <IP_ADDRESS>:*                           3180/named
udp        0      0 <IP_ADDRESS>:53           <IP_ADDRESS>:*                           3180/named
udp        0      0 <IP_ADDRESS>:53            <IP_ADDRESS>:*                           3180/named
udp        0      0 <IP_ADDRESS>:53            <IP_ADDRESS>:*                           3180/named
udp        0      0 <IP_ADDRESS>:53           <IP_ADDRESS>:*                           3161/systemd-resolv
udp        0      0 <IP_ADDRESS>:68           <IP_ADDRESS>:*                           727/systemd-network
udp        0      0 <IP_ADDRESS>:111             <IP_ADDRESS>:*                           1/init
udp6       0      0 :::111                  :::*                                1/init

Is Interactsh Server not supposed to run on the same machine as my dns server? Does it work as a dns server itself? If so, where should I configure it, with my registers, zones, pointers, etc?

Yes, Interactsh server runs / required it's own DNS server so you wanted to host this server on fresh box with no existing service running on it or stop them before running interactsh server.

Hello @geeknik and @ehsandeep,
Thanks for the attention. I created a second VM and on BIND9 of the first VM I pointed my records to my second VM running Interactsh Server.
It would be a neat feature for the future if we could configure Interactsh Server as a DNS server in itself (or maybe integrate it with BIND9, I don't know if it is technically possible though).


Revert caching for comments and analytics

This is a bug fix.
Summary
Reverts caching for comments and analytics providers.
Context
Fixes #1905. Although the issue only covered comments, I've uncached the analytics.html file as well since:

the include that brings it in ({% include scripts.html %}) is now uncached
it uses a page variable that can't be cached to work properly

Looks good! Thanks for filing the issue and fixing it with this PR.


Allow users to add custom permissions

Would remove the need to maintain customised extension if user uses integrations with custom domains
https://developer.chrome.com/extensions/permissions

Custom permissions can be added on runtime, but not content_script matches. To execute content scripts we need to bring back the tabs permission.
Then we check if url is in the permissions list and execute the service js that it's connected to.
tests in stash permissions

There is a fork that does this: https://chrome.google.com/webstore/detail/toggl-button-for-custom-w/cblhgnnnpnonkonnfcfkfhhkoldjpdno We had to use this extension since using it on *.redmine.org makes no sense for our self-hosted version so a solution like the fork would be very appreciated.


First tests

Added first tests on AlertStyle enum and Alert init properties

@christiancabarrocas thank you!

You're welcome, it's a nice lib so I try to help a little with some tests in the next weeks


Refactor suggestions from #232 review

[ ] Change save_file to use astro.utils.get_hook. From: https://github.com/astro-projects/astro/pull/232#discussion_r835042901
[ ] Change SQLDecorator to use read_sql_table. From: https://github.com/astro-projects/astro/pull/232#discussion_r835051788
[ ] Remove the method get_sql_achemy_engine from the SQLDecorator, using the utils.database.get_sqlalchemy_engine instead. From: https://github.com/astro-projects/astro/pull/232#discussion_r835054255
[ ] Improve the Database detection, potentially using aenum. From: https://github.com/astro-projects/astro/pull/232#discussion_r835224383
[ ] Try to use astro.sql.table.Table.qualified_name as opposed to table_name when using Sqlalchemy SqlaTable, from: https://github.com/astro-projects/astro/pull/232#discussion_r835045376

Closing this but do let me know if we still need to take care of this @tatiana

Closing this but do let me know if we still need to take care of this @tatiana


AWSRegion

init with AWS region type

I have changed the old method
- (id)initWithS3AccessKey:(NSString*)accesskey secretKey:(NSString*)secretKey bucketName:(NSString*)bucketName;
to
- (id)initWithS3AccessKey:(NSString*)accesskey secretKey:(NSString*)secretKey bucketName:(NSString*)bucketName AWSRegion:(AWSRegionType)AWSRegion

so, keep in mind the old projects will get an error. Idk if is better to keep both init method

Yes, it is always better to keep the older method also for backwards compatibility.
The problem with the newly added method is the enum AWSRegionType. To be able to use that enum, the user has to include AWS's header files that contains that enum. Ideally, the ImageUploader should completely hide it so the user doesn't have to deal with AWS's library directly. This can be done by defining our own enum that is a wrapper on AWS's region enum. What do you think?

what about by importing AWSServiceEnum.h on BRKImageUploaderDelegate.h

No, you can't import a specific header file to a generic delegate header. If you do that, even if someone doesn't want to use AWS, they will have to import the whole library just to get the code to compile.
The ideal would be to create a copy of the enum in AWSImageUploader.h.


hgnc identifiers - support with and without HGNC:

In http://identifiers.org/hgnc/ we see Identifier pattern ^((HGNC|hgnc):)?\d{1,5}$ which is (somewhat) reflected in the HGNC Accession number entry https://github.com/bridgedb/BridgeDb/blob/master/org.bridgedb.rdf/resources/IdentifiersOrgDataSource.ttl#L2762
bridgeDB:hasRegexPattern "^(HGNC:)?\\d{1,5}$" ;

This means that identifiers http://identifiers.org/hgnc/47710 and http://identifiers.org/hgnc/HGNC:47710 and http://identifiers.org/hgnc/hgnc:47710 are all valid - and indeed all resolve to RNU6-747P.
The IdentityMappingService is however unable to know these are the same thing, unless we move HGNC: out of the regular expression and add alternative URI prefixes. Currently this will be tracked as three identifier 47710, HGNC:47710 and hgnc:47710 in the same dataset.
HGNC itself consistently identifies a "HGNC ID" with the prefix, e.g. HGNC:47710 - which is in accordance with the 10 Simple rules for design, provision, and reuse of persistent identifiers for life science data rule 2 to use CURIEs.
In Open PHACTS, earlier linksets used the style http://identifiers.org/hgnc/47710 - however @JonathanMELIUS's latest [Ensembl-to-HGNC linkset])(http://bridgedb.org/data/linksets/HomoSapiens/Ensembl_Hs_hgnc.direct.LS.ttl) uses the style http://identifiers.org/hgnc/HGNC:47710 which adds the CURIE to the alternative base - perhaps this is not ideal (and can probably by changed upstream) - anyway as both patterns are accepted the org.bridgedb.rdf entry should be updated to support both.

This is not the first time the ID part of BridgeDB Xref includes text which should not be in the ID.
This also happen in for example:
CHEMBI bridgeDB:systemCode "Ce"
The OPS solution was to store it without the standard part in the ID
For ChEBI without the "CHEBI:
Here that would be without the "HGNC:"
OPS saved these as Datasource ID pairs rather than Xrefs
There is then a tool to convert pairs to xref.
https://github.com/bridgedb/BridgeDb/blob/OpenPHACTS/master/org.bridgedb.utils/src/org/bridgedb/pairs/CodeMapper.java
Special cases are then declared in the Datasource rdf file
https://github.com/bridgedb/BridgeDb/blob/OpenPHACTS/master/org.bridgedb.rdf/resources/DataSource.ttl  See ChEBI
This way OPS could use all the URL as discussed in this case
Yet still return the same Xref as in the past.
Christian

From: Stian Soiland-Reyes<EMAIL_ADDRESS>Sent: Wednesday, September 09, 2015 12:47 PM
To: bridgedb/BridgeDb
Subject: [BridgeDb] hgnc identifiers - support with and without HGNC: (#15)
In http://identifiers.org/hgnc/ we see Identifier pattern ^((HGNC|hgnc):)?\d{1,5}$ which is (somewhat) reflected in the HGNC Accession number entry https://github.com/bridgedb/BridgeDb/blob/master/org.bridgedb.rdf/resources/IdentifiersOrgDataSource.ttl#L2762
bridgeDB:hasRegexPattern "^(HGNC:)?\d{1,5}$" ;
This means that identifiers http://identifiers.org/hgnc/47710 and http://identifiers.org/hgnc/HGNC:47710 and http://identifiers.org/hgnc/hgnc:47710 are all valid - and indeed all resolve to RNU6-747P.
The IdentityMappingService is however unable to know these are the same thing, unless we move HGNC: out of the regular expression and add alternative URI prefixes. Currently this will be tracked as three identifier 47710, HGNC:47710 and hgnc:47710 in the same dataset.
HGNC itself consistently identifies a "HGNC ID" with the prefix, e.g. HGNC:47710 - which is in accordance with the 10 Simple rules for design, provision, and reuse of persistent identifiers for life science datahttp://dx.doi.org/10.5281/zenodo.18003 rule 2 to use CURIEs.
In Open PHACTS, earlier linksets used the style http://identifiers.org/hgnc/47710 - however @JonathanMELIUShttps://github.com/JonathanMELIUS's latest [Ensembl-to-HGNC linkset])(http://bridgedb.org/data/linksets/HomoSapiens/Ensembl_Hs_hgnc.direct.LS.ttl) uses the style http://identifiers.org/hgnc/HGNC:47710 which adds the CURIE to the alternative base - perhaps this is not ideal (and can probably by changed upstream) - anyway as both patterns are accepted the org.bridgedb.rdf entry should be updated to support both.
—
Reply to this email directly or view it on GitHubhttps://github.com/bridgedb/BridgeDb/issues/15.

I think the URL
http://identifiers.org/hgnc/HGNC:47710
Is a mistake on the part of identifers.org
especially as they also have
http://identifiers.org/hgnc/47710
Which is another way they break their own rule that there should be a single URL for each item.
Christian

From: Stian Soiland-Reyes<EMAIL_ADDRESS>Sent: Wednesday, September 09, 2015 12:47 PM
To: bridgedb/BridgeDb
Subject: [BridgeDb] hgnc identifiers - support with and without HGNC: (#15)
In http://identifiers.org/hgnc/ we see Identifier pattern ^((HGNC|hgnc):)?\d{1,5}$ which is (somewhat) reflected in the HGNC Accession number entry https://github.com/bridgedb/BridgeDb/blob/master/org.bridgedb.rdf/resources/IdentifiersOrgDataSource.ttl#L2762
bridgeDB:hasRegexPattern "^(HGNC:)?\d{1,5}$" ;
This means that identifiers http://identifiers.org/hgnc/47710 and http://identifiers.org/hgnc/HGNC:47710 and http://identifiers.org/hgnc/hgnc:47710 are all valid - and indeed all resolve to RNU6-747P.
The IdentityMappingService is however unable to know these are the same thing, unless we move HGNC: out of the regular expression and add alternative URI prefixes. Currently this will be tracked as three identifier 47710, HGNC:47710 and hgnc:47710 in the same dataset.
HGNC itself consistently identifies a "HGNC ID" with the prefix, e.g. HGNC:47710 - which is in accordance with the 10 Simple rules for design, provision, and reuse of persistent identifiers for life science datahttp://dx.doi.org/10.5281/zenodo.18003 rule 2 to use CURIEs.
In Open PHACTS, earlier linksets used the style http://identifiers.org/hgnc/47710 - however @JonathanMELIUShttps://github.com/JonathanMELIUS's latest [Ensembl-to-HGNC linkset])(http://bridgedb.org/data/linksets/HomoSapiens/Ensembl_Hs_hgnc.direct.LS.ttl) uses the style http://identifiers.org/hgnc/HGNC:47710 which adds the CURIE to the alternative base - perhaps this is not ideal (and can probably by changed upstream) - anyway as both patterns are accepted the org.bridgedb.rdf entry should be updated to support both.
—
Reply to this email directly or view it on GitHubhttps://github.com/bridgedb/BridgeDb/issues/15.

In the OPS BridgeBD branch we did consider what was a correct URI.
Only what was a USED URI.
We then did what was required to support these USED URIs.
The only know URI pattern we did not support when I left the project was ones where the ID was split in two parts within that URI, As we had no use
If the IMS only wanted to support standard URIs it would have been a lot easier to write but missed many URIs that users where using.
Christian

From: Stian Soiland-Reyes<EMAIL_ADDRESS>Sent: Wednesday, September 09, 2015 12:47 PM
To: bridgedb/BridgeDb
Subject: [BridgeDb] hgnc identifiers - support with and without HGNC: (#15)
In http://identifiers.org/hgnc/ we see Identifier pattern ^((HGNC|hgnc):)?\d{1,5}$ which is (somewhat) reflected in the HGNC Accession number entry https://github.com/bridgedb/BridgeDb/blob/master/org.bridgedb.rdf/resources/IdentifiersOrgDataSource.ttl#L2762
bridgeDB:hasRegexPattern "^(HGNC:)?\d{1,5}$" ;
This means that identifiers http://identifiers.org/hgnc/47710 and http://identifiers.org/hgnc/HGNC:47710 and http://identifiers.org/hgnc/hgnc:47710 are all valid - and indeed all resolve to RNU6-747P.
The IdentityMappingService is however unable to know these are the same thing, unless we move HGNC: out of the regular expression and add alternative URI prefixes. Currently this will be tracked as three identifier 47710, HGNC:47710 and hgnc:47710 in the same dataset.
HGNC itself consistently identifies a "HGNC ID" with the prefix, e.g. HGNC:47710 - which is in accordance with the 10 Simple rules for design, provision, and reuse of persistent identifiers for life science datahttp://dx.doi.org/10.5281/zenodo.18003 rule 2 to use CURIEs.
In Open PHACTS, earlier linksets used the style http://identifiers.org/hgnc/47710 - however @JonathanMELIUShttps://github.com/JonathanMELIUS's latest [Ensembl-to-HGNC linkset])(http://bridgedb.org/data/linksets/HomoSapiens/Ensembl_Hs_hgnc.direct.LS.ttl) uses the style http://identifiers.org/hgnc/HGNC:47710 which adds the CURIE to the alternative base - perhaps this is not ideal (and can probably by changed upstream) - anyway as both patterns are accepted the org.bridgedb.rdf entry should be updated to support both.
—
Reply to this email directly or view it on GitHubhttps://github.com/bridgedb/BridgeDb/issues/15.

@JonathanMELIUS while I think @Christian-B is right that we need to support what has been used, I also agree that http://identifiers.org/hgnc/47710 without HGNC: is "more correct" - would you be OK to change your linkset for this, or is it in the style of http://identifiers.org/hgnc/HGNC:47710 also upstream in Ensembl-RDF?

Yes sure.

Yes sure.

@JonathanMELIUS, so, do I understand correctly that you have it without the HGNC: in the current Ensembl Derby files and link sets?


add: RBS signeture of ActiveRecord::Encryption::EncryptableRecord module

https://github.com/rails/rails/blob/v<IP_ADDRESS>/activerecord/lib/active_record/encryption/encryptable_record.rb
Generated automatically by typeprof.
The method definitions in the class_methods block of ActiveSupport::Concern have been rewritten to the ClassMethods module.

@soutaro @ksss
Thanks for the review!
I have completed the corrections.

I will wait for a response until about 17:00 JST, and if nothing happens, I will run /merge.


Fix invalid allocation bug in runtime that allows for segfaults

Thanks to @malte for identifying the root cause of #2013.
This PR fixes things so that if there's a request for a size_t
sized allocation, it actually tries to allocate it instead of
pretending that it allocated it while not actually allocating
anything which results in memory clobbering and segfaults.
resolves #2013

@dipinhora is there a test that can be put in for this? I'm good with merging, want to check if there is anything we can do to make sure we don't get a regression.

@SeanTAllen Not sure. I'll have to think about it. However, it's unlikely I'll have time before when you plan on doing the release (assuming this is to be included in the release).

@dipinhora merging then

This patch does not fix the issue as demonstrated by the following test.
class iso _TestStringReserveMinusOne is UnitTest
  """
  Test that we can use a value of -1 to reserve a string of
  the maximum length.
  """
  fun name(): String => "builtin/String.reserve"

  fun apply(h: TestHelper) =>
    let s = recover String end
    s.reserve(-1)

    var n: USize = 256

    while n > 0 do
      s.append(" ")
      n = n - 1
    end

    h.assert_eq[USize](s.space(), USize.max_value() - 1)
    h.assert_true(s.is_null_terminated())

I also mentioned that:

However, the fix shown below reveals a bigger issue here which is that pool_alloc_size(size) then fails to allocate a pointer (this time of the correct size) since there is no block which is large enough.

This is also not addressed by the patch.

@malthe when running @Theodus's minimal reproduction program:
actor Main
  new create(env:Env) =>
    let s = recover String end
    s.reserve(-1)
    // s.reserve(1_000_000_000) also works fine

    var n: USize = 129 // 128 is fine, 129 results in SEGFAULT

    while n > 0 do
      s.append(" ")
      n = n - 1
    end

    DoNotOptimise[String tag](s)
    DoNotOptimise.observe()

I get the following output with this bugfix:
vagrant@ubuntu-xenial:~/dhp$ ./t
out of memory: : Cannot allocate memory
Aborted (core dumped)

Which is expected behavior since the OS cannot allocate the amount of memory requested (as you indicated).
As @Praetonus pointed out in https://github.com/ponylang/ponyc/issues/2013#issuecomment-320732171, we're currently not handling memory exhaustion and this is a case of memory exhaustion.
Without this bugfix, the issue was memory clobbering and segfaults due to memory clobbering. With this bug fix, it is appropriately memory exhaustion due to the large amount of memory being requested that the OS is unable to allocate.

OK I see. That makes sense, thanks for clarifying. I do worry that what I saw while debugging the issue is still a potential problem, which is that if there is no heap pool large enough for an allocation then it would just fail silently. There seem to be some preset size classes.


[cluster-test] Update deletion logic and add logs during retry

Summary

For the deletion of k8s resource, we were calling delete once and polling in a retry fashion to check if it has deleted. In the new logic, we call the delete api during every retry.

Also update the libra-retrier to log the error message which causes libra-retrier to retry

@bors-libra r=andll

:pushpin: Commit f18cbe3 has been approved by andll

@bors-libra retry

@bors-libra r=andll

:bulb: This pull request was already approved, no need to approve it again.

There's another pull request that is currently being tested, blocking this pull request: #4209

:pushpin: Commit f18cbe3 has been approved by andll

:hourglass: Testing commit f18cbe38a75a11a4e970fcb3511c16f47a27bd43 with merge 28fa7f32bd3bc3d34380d6579d992852d6d86ba0...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: andll
Pushing 28fa7f32bd3bc3d34380d6579d992852d6d86ba0 to master...


CollectD plugin throws segfault when configuration is missing

The team here that was going to use it ended up writing their own plugin in python, so nope, not high-pri here either. Closing this is not unreasonable IMO.

Collectd file plugin is no longer supported; for alternatives please see #13. Resolving.


Thread safety warnings reported by Clang

As of today (4c2104473c5f5950a5f06a06712a4b1acac15ca7), Clang reports the following warnings. Related to #1126.
Spotted by enabling Clang and -Wthread-safety as in #1402 and #1403.

Closing as outdated


Escape hatch for standard library types

Search Terms
Overwrite, default library, escape hatch, patch, fix
Suggestion
Provide some sort of escape hatch to overwrite types declared in the default library.
Use Cases
Concrete examples: WhatWG Streams. (I know that these are fixed in ToT. But they are not in any release yet, and even if they were, the same situation could occur with a different type in the future. Please bear with me).
At the time of writing, the typings for streams in the most recent release are not generic. (They are fixed on master).
If I need the strong (some might even argue “correct”) types in my project, I can’t overwrite/adjust the existing type.
The only way seems to be to disable the entire standard library for the entire project, which is not really scalable and is virtually impossible for a library (apart from the fact that I couldn’t get it to work).
I think it is crucial for TypeScript to allow me to somehow pull rank on a specific type of the standard library and not just have an all-or-nothing choice when it comes to the standard lib.
I don’t have strong feelings regarding syntax. A triple-slash seems like the right direction, but I’m not sure.
Checklist
My suggestion meets these guidelines:

[X] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[X] This wouldn't change the runtime behavior of existing JavaScript code
[X] This could be implemented without emitting different JS based on the types of the expressions
[X] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
? This feature would agree with the rest of TypeScript's Design Goals.

It is quite unwieldy to turn a non-generic class into a generic class this way, but technically I guess you are right. Gonna close this and create a new issue if I find a case where it is not feasible to go this way. Thanks for your help!


Error building to develop a WebLLM package: Cannot find module 'tvmjs'

I followed that URL and ran build. but this error occured

install emcc & run script# ./scripts/prep_deps.sh
+ emcc --version
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.46 (19607820c447a13fd8d0b7680c56148427d6e1b8)
Copyright (C) 2014 the Emscripten authors (see AUTHORS.txt)
This is free and open source software under the MIT license.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

+ npm --version
9.8.1

(...)

found 0 vulnerabilities
+ cd ../..

Error after running a build# npm run build

><EMAIL_ADDRESS>build
> rollup -c && ./cleanup-index-js.sh

src/index.ts → lib/index.js...
[!] (plugin rpt2) Error: src/chat_module.ts:1:24 - error TS2307: Cannot find module 'tvmjs' or its corresponding type declarations.

1 import * as tvmjs from "tvmjs";
                         ~~~~~~~

src/index.ts

    at error (/Users/dekaykim/comRepo/web-llm/node_modules/rollup/dist/shared/rollup.js:198:30)
    at throwPluginError (/Users/dekaykim/comRepo/web-llm/node_modules/rollup/dist/shared/rollup.js:21718:12)
    at Object.error (/Users/dekaykim/comRepo/web-llm/node_modules/rollup/dist/shared/rollup.js:22672:20)
    at RollupContext.error (/Users/dekaykim/comRepo/web-llm/node_modules/rollup-plugin-typescript2/src/context.ts:35:17)
    at /Users/dekaykim/comRepo/web-llm/node_modules/rollup-plugin-typescript2/src/diagnostics.ts:70:17
    at Array.forEach (<anonymous>)
    at printDiagnostics (/Users/dekaykim/comRepo/web-llm/node_modules/rollup-plugin-typescript2/src/diagnostics.ts:42:14)
    at typecheckFile (/Users/dekaykim/comRepo/web-llm/node_modules/rollup-plugin-typescript2/src/index.ts:67:3)
    at Object.<anonymous> (/Users/dekaykim/comRepo/web-llm/node_modules/rollup-plugin-typescript2/src/index.ts:257:5)
    at Generator.next (<anonymous>)

So I changed the tvmjs setting in package.json to point the import to the web distribution version of tvm_home, and then ran the script: npm install

before: "tvmjs": "file:./tvm_home/web",
after: "tvmjs": "file:./tvm_home/web/dist",

However, several tvmjs methods are not executing.

ArtifactCache, createPolyfillWASI, registerInitProgressCallback, etc.

facing this too

I found this problem. It was my mistake.
In order to set up tvm_home, the relax Repository, not Apache tvm, had to be cloned locally. (I got a hint from that link)
I think it would be a good idea to reinforce that part of the readme.
But I have a question. what is the difference between tvm and relax? It looks like it's a fork of tvm, but I'm not sure what the difference is.

true, which is exactly what prep deps is doing.


Think about how rules or rulesets can be limited to specific campaigns or other critera.

Following @TheGrayAlien's idea from https://discord.com/channels/841011788195823626/841011980667060244/968149051323338802:
The question is, how can HR restrict a card (via CardAdditionOverridden rule) to a particular module/campaign (e.g., RatKing/Forest/Queen)?

Change CardAdditionOverridden so that the applicable campaign can be set.
Add a new rule, similar to the above, with an extra field for specifying the campaign.

A similar request could be made for many of the other rules (e.g., monster spawning, points of interest per floor, etc.).  So the question could then be:  should HR have a standard way of building in campaign-filters into each rule?
However, there can be multiple filter criteria (e.g., number of active players, campaign type).  Which transforms the question into: how can (and what kind of) filter criteria be set for rules?

(Complex) Maybe in addition to each rule's standard config, specific conditions can be attached to each (e.g., only load a particular rule if playing the RatKing).
(Easier) Have conditions that can be attached, but at a ruleset level (e.g., only allow a ruleset to load when RatKing is selected).
(Easiest) Do nothing. Encourage rulesets to add a "best played on XYZ map" or "best for 2 players".

While point 1. above may seem like the most robust solution, it may be overly complicated to implement and potentially challenging to elegantly expose those options via JSON for users to customize.
Both points 2. and 3. effectively do the same thing: requires rulesets to have campaign-specific variants. But they also don't elegantly solve the problem at hand.
Not sure what the best course of action may be at this point. May need more data.

I don't think that 1. is necessarily too complex. Thinking about how to represent this from a  JSON viewpoint, Rules is just a list[] and it is already possible to have the same type of rule specified multiple times (e.g. AbilityAoeAdjusted has cumulative effects if you accidentally have it specified twice) - We could extend the existing format for a rule with an optional Limit field on a per-rule basis...
e.g.
    {
      "Rule": "AbilityActionCostAdjusted",
      "Limit": [ "Elven", "Forest" ],
      "Config": {
        "Zap": false,
        "CourageShanty": false,
        "Sneak": false
      }
    },
    {
      "Rule": "AbilityActionCostAdjusted",
      "Limit": [ "Sewers" ],
      "Config": {
        "Torch": true,
        "CourageShanty": true,
        "ReplenishArmor": false
      }
    },

This would offer good flexibility with allowing rulesets to be tailored to different game types, without us having to make the rules themselves too clever. If a ruleset wants to specify torches as a CardAddition it becomes possible (if somewhat verbose) by specifying multiple CardAdditionOverridden rules but with different Limit restrictions. We're already setting MotherBrainGlobalVars.CurrentConfig early so that we have access to it in PreGameCreated situations. Could we modify LifecycleDirector so that it would skip rules if they had a Limit set that didn't match the CurrentConfig?


Remove nestjs delegator

Description
Removes pre-existing delegator, and rename go-delegator into delegator.
Tested it running through local docker compose

It includes additional updates related to recent orakl-config structure update

Type of change
Please delete options that are not relevant.

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

Checklist before requesting a review

[x] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.

Deployment

[ ] Should publish npm package
[ ] Should publish Docker image

@martinkersner sorry Martin, can you help me debug test failure from contract unittest for batch submission?


Add option to pass rain gauges to highlevel merging classes

This PR was no longer needed as #21 implements the option to pass rain gauges to merging functions


Unable to display weather description

Hi all!
I just wanted to display the short weather description text (fog, cloudy, etc...) provided by the openweathermap API, but can't find the way how...
Im was trying to extend the getDom: function() with this:
var description = document.createElement("div");
description.innerHTML = this.desc;
large.appendChild(description);
wrapper.appendChild(large);
return wrapper;'
and the processWeather: function(data) with this:
this.desc = data.weather[0].description;
But nothing was changed. The goal is to show that short description below the weather informations.
What am I missing?

Please refer to http://forum.magicmirror.builders for support and troubleshooting.
I'm closing this issue for now. If you feel this issue should remain open, please let me know.


Fix C# sample code

String literal does not need to be @-escaped.
Alternatively, one could remove one of the backslashes in the line.

The @ is used to test/show off the colorizer.


[BUILD]

Issue Summary
Faild to send userOp
Error Logs & Messages
I want to burn an NFT generated from a Thirdweb template using Bincomy.
I successfully created a SmartWallet by following the documentation.
However, I encountered the following error when trying to send the user operation to burn the NFT.
ERROR	Error occurred when sending UserOp: SizeExceedsPaddingSizeError: Hex size (65) exceeds padding size (64).

Version<EMAIL_ADDRESS>    at padHex (/var/task/index.js:189065:11)
    at encodeBytes (/var/task/index.js:190115:16)
    at prepareParam (/var/task/index.js:190036:12)
    at prepareParams (/var/task/index.js:190010:25)
    at encodeAbiParameters (/var/task/index.js:189998:26)
    at _BiconomySmartAccountV2.getSignatureWithModuleAddress (/var/task/index.js:247367:12)
    at _BiconomySmartAccountV2.signUserOp (/var/task/index.js:247362:115)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async _BiconomySmartAccountV2.sendUserOp (/var/task/index.js:247406:15)
    at async sendUserOp (/var/task/index.js:247614:28) {
  details: undefined,
  docsPath: undefined,
  metaMessages: undefined,
  shortMessage: 'Hex size (65) exceeds padding size (64).',
  version<EMAIL_ADDRESS>
my code is here.
export const sendUserOp = async (
  smartWallet: any,
  tx: txData
) => {
  try {
    console.log('========================================== [SEND USEROP START] =============================================')
    console.log("build userOp:");

    const userOpResponse = await smartWallet!.sendTransaction(tx, {
      paymasterServiceData: { mode: PaymasterMode.SPONSORED },
    });
    const { transactionHash } = await userOpResponse.waitForTxHash();
    console.log("Transaction Hash", transactionHash);

    // get receipt
    const userOpReceipt = await userOpResponse.wait(5);
    console.log("userOpReceipt", userOpReceipt);
    console.log('========================================== [SEND USEROP END] =============================================')

    return userOpReceipt;
  } catch (err: any) {
    console.error("Error occurred when sending UserOp:", err);
    return null;
  }
};

Environment & Tools
"@biconomy/account": "4.1.1", "viem": "2.9.28", "@thirdweb-dev/sdk": "^4.0.35",
Code of Conduct

[X] I agree to follow this project's Code of Conduct.

Here is the code for generating the encoded data.
    const sdk = await createThirdWebSdk(TW_SECRET_KEY!, keyId);
    // get contract info
    const contract = await sdk.getContract(NFT_CONTRACT_ADDRESS);

    const encodeData = encodeFunctionData({
      abi: contract.abi,
      functionName: "burn",
      args: [tokenId],
    });

    const tx:TxData = {
      to: NFT_CONTRACT_ADDRESS,
      data: encodeData
    }

    const receipt = await sendUserOp(smartWallet, tx);

Hi @HarukiKondo can you please update to latest version of the Biconomy SDK and try again ?
Maybe you can share how you are creating the "smartWallet" as well.

@VGabriel45 Thank you !!
This problem has been solved!


[FEATURE] Live container log output

Feature Request
To look at live container output, in case we wish to provide long-lived assignments, like one hosting an API, we should use websockets to get the live data, similar to how github actions does it.
Supplemental attachments?
No response
Acceptance Criteria
Be able to provide live container output to the UI

F# websockets weapper for .net websockets library: https://github.com/TheAngryByrd/FSharp.Control.WebSockets


Add some more filtering options

It would be nice to have some more filtering options for the repository issue view, i.e.

Submitted
Updated
Comments

Can this issue be closed?

Yep!


Vspk go generator fix and better defaults

Couple of fixes for the Go VSPK:

No Create method on entities that do not support it (for instance: No CreateContainer on a subnet, a container can not be created in a subnet)
Changing of the Ancestor interface for each entity:

it had a Create method, which never exists (all Create used the single form of the Entity name). As such, the Ancestor interface was useless
Switched to two interfaces:

Ancestor: only has the GET request method (get a list of  as a requirement - An ancestor is any Object that can get a list of an .
Parent: has both the GET request method and the POST request (create an  as a requirement. - A parent is an ancestor that can also create an

The idea behind this is mimicking life: an Ancestor can get all Entities in the hierarchy below it, but it can not create an Entity. A grandparent is an ancestor if a grandchild: It can get a list of it grandchildren, but it can not create a grandchild. A parent is able to get a list of its own children and is also capable of creating a new child.

Clean up the way we do the default values of entities, for each attribute of an entity:

If there is a default value for an attribute of an entity in the vsd-api-specifications, that default value is set on entity creation
Else, if there is a default value in the vspkgenerator attribute_defaults file, that value is used.

This would clean up the Go VSPK and improve the usability.

@little-dude just wanted to check if you see any issue or have an objection to these changes (for a generated VSPK with these changes: https://github.com/pdellaert/vspk-go/tree/vspk-go-generator-better-defaults-result )

@vishpat You are using the vspk-go, correct? Could you do a quick test with this build: https://github.com/pdellaert/vspk-go/tree/vspk-go-generator-better-defaults-result
This includes some changes as described in this PR. I don't see an issue, but having an extra set of eyes and test is always good :)

btw can you provide a brief background about these changes ?
On Wed, Jan 4, 2017 at 10:04 AM, Philippe Dellaert<EMAIL_ADDRESS>
wrote:

@pdellaert commented on this pull request.
In monolithe/generators/lang/go/templates/model.go.tpl
https://github.com/nuagenetworks/monolithe/pull/24:

type {{specification.entity_name_plural}}Ancestor interface {
{{specification.entity_name_plural}}(*bambou.FetchingInfo) ({{specification.entity_name_plural}}List, *bambou.Error)

Create{{specification.entity_name_plural}}(*{{ specification.entity_name }}) (*bambou.Error)
+}

+// {{specification.entity_name_plural}}Parent is the interface of a parent of a {{specification.entity_name}} must implement.
True, and same for Ancestor...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nuagenetworks/monolithe/pull/24, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAYDepawUKPR-MvPj8a_Gm3koM7JV9gXks5rO7T_gaJpZM4LXM9j
.


Validation: Allow configuration of custom validation messages

Currently only the internally defined messages are used when validation failed. This isn't always sufficient or wanted. Messages should instead be configurable per instance.

Implemented on master (v1.1.0).


Replace SecKeychain API with new kSecClass API

As the SecKeychain API has been deprecated years ago we should utilize the new APIs

#5


Line breaks are sent in JSON (formatted as /r/n) but are not taken into account in the visualiser

Example case: https://github.com/hl7-be/hl7-be-fhir-laboratory-report/tree/master/testing/Macsys/815333047

(there is a line break between behandeld and te - between positieve and serologie - between en and in - between ; and afzonderlijk)

Issue made on visualiser github


Making Repeating Fields Non-Mandatory

Motivation
https://issues.jboss.org/browse/RHMAP-6621

[retest this please]

[retest this please]


Add new zip for example SAML configuration files that reflect latest version

Description
These changes add a new saml-example-custom.zip file containing customize-docker-compose.yml, customize-config.yml, and customize-opensearch-dashboards.yml files for use as the fully functioning SAML example. These changes also include edits to documentation so that steps accord with the new files.
The opensearch-dashboards.yml file contains the server.xsrf.allowlist setting. For version 1.3 this setting must remain server.xsrf.whitelist to conform to code for that version. Therefore, I'll create a new PR for that download. This PR covers versions 2.x and should work for subsequent major releases.
Issues Resolved
Fixes #618
Checklist

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

Since we can't view the contents of the zip file here in GitHub, I'm pasting the note I added to the image settings in the docker-compose.yml file directing users to change the version number. The steps also include instruction to perform this edit. But I'm pasting it here for visibility:
image: opensearchproject/opensearch:latest # replace "latest" with your preferred OpenSearch version number before launching: for example, 2.6.0.

@opensearch-project/security I'm trying to resolve this issue with the SAML example zip file getting stale with each new version release. I've added steps to have users modify the docker-compose.yml file after download with OpenSearch version number in the proper image fields. I also added comments in the YAML file instructing users to do the same. The comment in the docker-compose.yml file looks like this:
image: opensearchproject/opensearch:latest # replace "latest" with your preferred OpenSearch version number before launching in production: for example, 2.6.0.

Could you have a look at this edit and see if it looks and sounds accurate/makes sense. Thanks.


Global orgs had bugs relating to defaulting

Previously there were subtle issues where local org files were being created and shadowing global ones. So, for example, removing a global org might not remove it for all projects.
Fixing that bug exposed a logic error because "default" was stored on a boolean in the orgconfig which means that if a global org is defaulted it will be defaulted for all projects. This fixes that bug.
The default is now stored externally in its own file analogous to how Git stores its HEAD.

Have you tested this when using cci org default outside of a project directory or cci org connect --default --global-org? I think it'll break when it tries to get project_local_dir from the keychain's project_config which is actually a UniversalConfig in that case.

cci org default already requires being in a project
I'm adding a conditional to skip setting the default if cci org connect is called with both --default and --global-org


SC4S: Can’t recognize Juniper SRX

RedHat 8.6 x86_64
podman version 3.0.1
sc4s version=2.43.0
cat /apps/sc4s/local/context/splunk_metadata.csv | grep jun
juniper_junos_firewall,index,sc4s_multi
juniper_junos_firewall_structured,index,sc4s_multi
juniper_junos_idp,index,sc4s_multi
juniper_junos_idp_structured,index,sc4s_multi
juniper_junos_aamw_structured,index,sc4s_multi
juniper_junos_secintel_structured,index,sc4s_multi
juniper_junos_snmp,index,sc4s_multi
PCAP and Screenshoot uploaded to SPlunk case "Case [3158179]"
Screenshot from SPlunk Portal showing funny message "MESSAGE=\xff\xf4\xff\xfd" - SRX_Splunk.PNG
Screenshot from PCAP FIle - SRX_PCAP_SH.PNG
PCAP File Uploaded to Splunk Case - SRX_packetcapture.pcap

Below events are received same time at RSYSLOG from same host (host configured sent to RSYSLOG & SC4S).
Where SC4S PCAP showed received but seem does not process by SC4S (PCAP submitted on the Splunk case)
RSYSLOG events showed in Splunk Portak (SRX_RSYSLOG_Events.txt)
2023-02-13T02:08:05+00:00 SRX01 RT_FLOW: RT_FLOW_SESSION_DENY: session denied 123/0->456/53511 0x0 icmp 1(8) Deny-Rule mgmt-trust mgmt-untrust UNKNOWN UNKNOWN N/A(N/A) ge-0/0/8.0 UNKNOWN policy deny
2023-02-13T02:03:10+00:00 SRX01 RT_FLOW: RT_FLOW_SESSION_DENY: session denied 123/0->456/30986 0x0 icmp 1(8) Deny-Rule mgmt-trust mgmt-untrust UNKNOWN UNKNOWN N/A(N/A) ge-0/0/8.0 UNKNOWN policy deny
2023-02-13T01:47:46+00:00 SRX01 RT_FLOW: RT_FLOW_SESSION_CLOSE: session closed idle Timeout: 123/12611->456/161 0x0 None 123/12611->456/161 0x0 N/A N/A N/A N/A 17 SevOne1 mgmt-trust mgmt-untrust 1353294 20(4096) 20(4295) 62 UNKNOWN UNKNOWN N/A(N/A) ge-0/0/8.0 UNKNOWN
2023-02-13T01:28:16+00:00 SRX01 RT_FLOW: RT_FLOW_SESSION_CLOSE: session closed idle Timeout: 123/46916-><IP_ADDRESS>/161 0x0 None 123/46916-><IP_ADDRESS>/161 0x0 N/A N/A N/A N/A 17 SevOne1 mgmt-trust mgmt-untrust 1351315 20(4754) 20(5027) 62 UNKNOWN UNKNOWN N/A(N/A) ge-0/0/8.0 UNKNOWN
2023-02-13T01:24:22+00:00 SRX01 RT_FLOW: RT_FLOW_SESSION_DENY: session denied 123/0-><IP_ADDRESS>/21778 0x0 icmp 1(8) Deny-Rule mgmt-trust mgmt-untrust UNKNOWN UNKNOWN N/A(N/A) ge-0/0/8.0 UNKNOWN policy deny
2023-02-13T01:24:19+00:00 SRX01 RT_FLOW: RT_FLOW_SESSION_DENY: session denied 123/0-><IP_ADDRESS>/21778 0x0 icmp 1(8) Deny-Rule mgmt-trust mgmt-untrust UNKNOWN UNKNOWN N/A(N/A) ge-0/0/8.0 UNKNOWN policy deny
2023-02-13T01:23:20+00:00 SRX01 RT_FLOW: RT_FLOW_SESSION_DENY: session denied 123/0-><IP_ADDRESS>/26893 0x0 icmp 1(8) Deny-Rule mgmt-trust mgmt-untrust UNKNOWN UNKNOWN N/A(N/A) ge-0/0/8.0 UNKNOWN policy deny
2023-02-13T01:23:14+00:00 SRX01 RT_FLOW: RT_FLOW_SESSION_DENY: session denied 123/0->456/27149 0x0 icmp 1(8) Deny-Rule mgmt-trust mgmt-untrust UNKNOWN UNKNOWN N/A(N/A) ge-0/0/8.0 UNKNOWN policy deny

@Jo-Ng,
We have tried to test the message send in pcap. Message are parsed as expected and below are the index and sourcetype values parsed (as per default configuration).
Index: netfw
SourceType: juniper:junos:firewall:structured

may I know the curl commands you use to test?
As what I uploaded to the Splunk case this morning and also in this ticket.
Initially we was thinking it been filter or dropped at F5, but from the SC4S PCAP ((latest PCAP file), it does arrived but it does not show in fallback either. It just gone / missing. Any hint where could this be identifier if not due to filter?

Other data sources events are flow in without issues.

I also saw you classified this as Bug? Is that something I overlook?

@Jo-Ng,
We use echo command to fire the log message to target IP on UDP 514 port. I have classified as bug earlier, but it seems it is not bug.
Eg. echo 'MESSAGE' > /dev/udp/SC4S_IP_ADDRESS/514
Try to search it in all indexes.

@bparmar-splunk
Could you provide the sample echo that use for SRX? So that I could try whether it will show in the juniper:junos:firewall:structured or in the fallback.
As what I informed early, I can't see any events even when I search for the host or IP. It seem like dropped by SC4S

Please pick any one message from the pcap you provided and place that message in above example which I have mentioned.
Also, mention the IP address of SC4S server.

I send below message and Splunk Portal showed the outcome
echo "This is my data" > /dev/udp/<IP_ADDRESS>/514
PRI=13
MESSAGE=This is my data
But when I send below based early SRX PCAP message. I didn't receive anything on the Splunk Portal
echo "<14>1 2023-02-15T09:26:19.551Z ServerName RT_FLOW - RT_FLOW_SESSION_DENY<EMAIL_ADDRESS>source-address="<IP_ADDRESS>" source-port="0" destination-address="<IP_ADDRESS>" destination-port="38151" connection-tag="0" service-name="icmp" protocol-id="1" icmp-type="8" policy-name="Deny-Rule" source-zone-name="mgmt-trust" destination-zone-name="mgmt-untrust" application="UNKNOWN" nested-application="UNKNOWN" username="N/A" roles="N/A" packet-incoming-interface="ge-0/0/8.0" encrypted="UNKNOWN" reason="policy deny"]" > /dev/udp/<IP_ADDRESS>/514
Is the message I paste no correct?

IP's changed.

Have you created all the indexes which is mentioned in SC4S setup docs ?

If I removed the time stamp, it will showed in the Splunk Portal as below:-
PRI=13
MESSAGE=ServerName RT_FLOW - RT_FLOW_SESSION_DENY<EMAIL_ADDRESS>source-address="<IP_ADDRESS>" source-port="0" destination-address="<IP_ADDRESS>" destination-port="38151" connection-tag="0" service-name="icmp" protocol-id="1" icmp-type="8" policy-name="Deny-Rule" source-zone-name="mgmt-trust" destination-zone-name="mgmt-untrust" application="UNKNOWN" nested-application="UNKNOWN" username="N/A" roles="N/A" packet-incoming-interface="ge-0/0/8.0" encrypted="UNKNOWN" reason="policy deny"]
Query:
echo 'ServerName RT_FLOW - RT_FLOW_SESSION_DENY<EMAIL_ADDRESS>source-address="<IP_ADDRESS>" source-port="0" destination-address="<IP_ADDRESS>" destination-port="38151" connection-tag="0" service-name="icmp" protocol-id="1" icmp-type="8" policy-name="Deny-Rule" source-zone-name="mgmt-trust" destination-zone-name="mgmt-untrust" application="UNKNOWN" nested-application="UNKNOWN" username="N/A" roles="N/A" packet-incoming-interface="ge-0/0/8.0" encrypted="UNKNOWN" reason="policy deny"]' > /dev/udp/<IP_ADDRESS>/514

Message which you are echo(ing) to SC4S should be RFC complaint. Meaning the message which you have tested in this comment which starts with <14>.... is correct message.
And try checking Real time search for All Time.

I have searched through with "All time". Didn't see anything, except with Priority "13" that send without time stamp. all 4 goes to Fallback.
PRI=13 MESSAGE=ServerName RT_FLOW - RT_FLOW_SESSION_DENY<EMAIL_ADDRESS>source-address="<IP_ADDRESS>" source-port="0" destination-address="<IP_ADDRESS>" destination-port="38151" connection-tag="0" service-name="icmp" protocol-id="1" icmp-type="8" policy-name="Deny-Rule" source-zone-name="mgmt-trust" destination-zone-name="mgmt-untrust" application="UNKNOWN" nested-application="UNKNOWN" username="N/A" roles="N/A" packet-incoming-interface="ge-0/0/8.0" encrypted="UNKNOWN" reason="policy deny"]
  | PRI=13 MESSAGE=This is my UDP data Jo to Dev
  | PRI=13 MESSAGE=This is my data

FYI.
Currently we already have more than 30 Dev servers with various network / storage / firewall, more that 45 sourcetype and more then 100K events flow into the SC4S within 15 mins. Just only this SRX a problem at this point

Yes. Have all the necessary indexes in place as indicated during case open.
cat /apps/sc4s/local/context/splunk_metadata.csv | grep jun
juniper_junos_firewall,index,sc4s_multi
juniper_junos_firewall_structured,index,sc4s_multi
juniper_junos_idp,index,sc4s_multi
juniper_junos_idp_structured,index,sc4s_multi
juniper_junos_aamw_structured,index,sc4s_multi
juniper_junos_secintel_structured,index,sc4s_multi
juniper_junos_snmp,index,sc4s_multi

New finding
From splunk_metadata indicated the juniper* sourcetype been added in
$ cat splunk_metadata.csv | grep jun
juniper_junos_firewall,index,sc4s_multi
juniper_junos_firewall_structured,index,sc4s_multi
juniper_junos_idp,index,sc4s_multi
juniper_junos_idp_structured,index,sc4s_multi
juniper_junos_aamw_structured,index,sc4s_multi
juniper_junos_secintel_structured,index,sc4s_multi
juniper_junos_snmp,index,sc4s_multi
I Enabled below setting in env_file, so to verify what the incoming devices
_####Enable Archive File Configuration for V2 ####
SC4S_ARCHIVE_GLOBAL=yes
SC4S_GLOBAL_ARCHIVE_MODE=compliance
####Enable Archive File Configuration for V2  ####
###Enabling RAWMSG KVpair###
SC4S_SOURCE_STORE_RAWMSG=yes_
From the archive directory. I could see the sourcetype and devices are directory are created "juniper:xxxx"
drwxr-x---.   3 sc4s sc4sgroup   38 Feb 17 03:24 fgt_traffic
drwxr-x---.   4 sc4s sc4sgroup   44 Feb 17 03:24 hitachi:cp
drwxr-x---.   4 sc4s sc4sgroup   46 Feb 17 03:31 hitachi:vsp
drwxr-x---.   4 sc4s sc4sgroup   50 Feb 17 03:24 juniper:junos:firewall:structured
drwxr-x---.   3 sc4s sc4sgroup   29 Feb 17 03:24 juniper:structured
drwxr-x---.  15 sc4s sc4sgroup 4096 Feb 17 03:28 nix:syslog
drwxr-x---.   4 sc4s sc4sgroup   40 Feb 17 03:31 ontap:syslog
I could see other devices Before and After the Juniper* in Splunk Portal
Why it was not showing in the Splunk Portal for the Juniper?

I have also verified that didn't have any filter to drop the juniper events.

Please advice.

@Jo-Ng The above splunk_metadata.csv file you are using to override the default index of your logs.
But I am referring to this message was creating all those indexes in Splunk server.

With the help from your PS team , we use below echo and successful created.
echo "<14>1 2023-02-17T03:24:20.137Z JomonServer RT_FLOW - RT_FLOW_SESSION_CREATE<EMAIL_ADDRESS>source-address="<IP_ADDRESS>" source-port="22614" destination-address="10.10.10..2" destination-port="161" connection-tag="0" service-name="None" nat-source-address="<IP_ADDRESS>" nat-source-port="22614" nat-destination-address="<IP_ADDRESS>" nat-destination-port="161" nat-connection-tag="0" src-nat-rule-type="N/A" src-nat-rule-name="N/A" dst-nat-rule-type="N/A" dst-nat-rule-name="N/A" protocol-id="17" policy-name="SevOne1" source-zone-name="mgmt-trust" destination-zone-name="mgmt-untrust" session-id-32="1948377" username="N/A" ^Cles="N/A" packet-incoming-interface="ge-0/0/8.0" application="UNKNOWN" nested-application="UNKNOWN" encrypted="UNKNOWN"]" > /dev/udp/<IP_ADDRESS>/514
After execution, we saw the directories and events created in the SC4S archive folder as indicated in early message .
But still failed to see the events display in Splunk Portal.
What the PS do is added the above host into the compliance_meta_by_source.c*, then we saw it appeared in the Splunk Port
_cat compliance_meta_by_source.conf.bak
filter f_test_srx {
netmask(x.x.x.165/32)
cat compliance_meta_by_source.csv.bak
f_test_srx,.splunk.sourcetype,"juniper:junos:firewall:structured"
f_test_srx,.splunk.index,"sc4s_multi_sec_int_gdc-w"_
Why we need create and hardcode into the compliance_meta files? Should it not automate as from your early test it does not require such action.
Please advice.

I have uploaded the overall steps take in this in the support case that you could reference to.

@Jo-Ng,
I have tried to reproduce the issue by creating required index on my local splunk and created above metadata file for overriding the index values.
I have tried by adding/removing above env_file settings.
The event message which you have mentioned above are getting ingested correctly in my environment.
I have used SC4S latest version with Splunk latest.
Also,  I have not created/modified compliance_meta_by_source file for testing this.

@bparmar-splunk
I have tried use of image version 2.43 and 2.46. But both given same outcome that it showed in archive folder (/apps/sc4s/archive/juniper:junos:firewall:structured), but does not show at Splunk Portal.

Please refer docs related to archive.

Sorry. Am I misunderstood anything? Why I need refer the archive doc? Am I look for something?
I enabled it just verified events does arrived and process by SC4S. But still no hint why it not appears in Splunk Portal like other events

Sorry it looks like it is going back and forth, now as PS already sorted out your issue, please help us to understand following questions:

Do you have netfw index?
what is the value of sc4s_tags in your splunk GUI

We tried to replicate it in our env, we have it after echoing the message.

Sorry it looks like it is going back and forth, now as PS already sorted out your issue, please help us to understand following questions:

Do you have netfw index?
No. We redirect all SC4S events to specific index as below. Other SC4S events so far display correctly in Splunk GUI, eg: Brocade, CISCO IOS, VMWare EXSI....

cat splunk_metadata.csv | grep jun
juniper_junos_flow,index,sc4s_multi
juniper_junos_utm,index,sc4s_multi
juniper_junos_firewall,index,sc4s_multi
juniper_junos_ids,index,sc4s_multi
juniper_junos_fw,index,sc4s_multi
juniper_junos_idp,index,sc4s_mult
juniper_junos_aamw,index,sc4s_multi
juniper_junos_secintel,index,sc4s_multi
juniper_junos_snmp,index,sc4s_multi
juniper_netscreen,index,sc4s_multi
junos_structured,index,sc4s_multi

what is the value of sc4s_tags in your splunk GUI
With the below hardcode in place, else no events show in the Splunk GUI
_cat compliance_meta_by_source.conf.bak
filter f_test_srx {
netmask(x.x.x.165/32)

cat compliance_meta_by_source.csv.bak
f_test_srx,.splunk.sourcetype,"juniper:junos:firewall:structured"
f_test_srx,.splunk.index,"sc4s_multi_sec_int_gdc-w"_
the tag displayed as below with above hardcode

wireformat:rfc|wireformat:rfc5424|source_identified|.app.app-syslog-juniper_junos_structured|.source.s_DEFAULT
92
100%

I think i understood what is the issue, the log provided to us is getting parsed in a different way then how your sc4s is receiving and interpreting the data, can you also share me following values:

Values of sc4s_class,sc4s_vendor,sc4s_product
Value of sourcetype of the event

@rjha-splunk
Here the info
| host | xxxxxxx |
-- | -- | --
  | index | sc4s_multi |
  | sc4s_class | fw |
  | sc4s_product | junos_structured |
  | sc4s_tags | wireformat:rfc|wireformat:rfc5424|source_identified|.app.app-syslog-juniper_junos_structured|.source.s_DEFAULT |
  | sc4s_vendor | juniper |
  | source | sc4s |
  | sourcetype | juniper:junos:firewall:structured

I doubted the same, please set up following key in splunk_metadata.csv to redirect the traffic without using the file set by PS.
juniper_junos_structured_fw,index,sc4s_multi
and restart sc4s

@rjha-splunk
Cool...finally it work and it showed in the Splunk Portal.

I didn't see this parameters "juniper_junos_structured_fw" show in the web (https://splunk.github.io/splunk-connect-for-syslog/main/sources/vendor/Juniper/junos/) at all. Is that something missing from the site?
I didn't see any parameters in the Portal that refer to the juniper_junos_structured_fw. Even now it working but it was same parameters previous given

| host | testserver6 |
-- | -- | -- | --
  | index | sc4s_multi |
  | sc4s_class | fw |
  | sc4s_product | junos_structured |
  | sc4s_tags | wireformat:rfc|wireformat:rfc5424|source_identified|.app.app-syslog-juniper_junos_structured|.source.s_DEFAULT |
  | sc4s_vendor | juniper |
  | source | sc4s |
  | sourcetype | juniper:junos:firewall:structured

Noticed that extra info are appeared on end of the message "[meta sequenceId="17264"]" which is not even show in PCAP. How could get rid of it?

2023-03-02T15:39:21+00:00 testserver6 RT_FLOW: RT_FLOW_SESSION_CREATE<EMAIL_ADDRESS>source-address="x.x.x.67" source-port="22614" destination-address="x.x.x.2" destination-port="161" connection-tag="0" service-name="None" nat-source-address="x.x.x.67" nat-source-port="22614" nat-destination-address="x.x.x.2" nat-destination-port="161" nat-connection-tag="0" src-nat-rule-type="N/A" src-nat-rule-name="N/A" dst-nat-rule-type="N/A" dst-nat-rule-name="N/A" protocol-id="17" policy-name="SevOne1" source-zone-name="mgmt-trust" destination-zone-name="mgmt-untrust" session-id-32="1948377" username="N/A" ^Cles="N/A" packet-incoming-interface="ge-0/0/8.0" application="UNKNOWN" nested-application="UNKNOWN" encrypted="UNKNOWN"][meta sequenceId="17264"]

The meta sequenceId="17264" is a leak of extra data which will be fixed with next syslog-ng version, the key is not there because it is not standard one and specific to your log, thanks for confirming this we are closing this case now.


No support for reading in ed25519

Pyftp does not seem to support private_key_file of ed25519 type. Keeps throwing paramiko error:
paramiko.ssh_exception.sshexception: unpack requires a buffer of 4 bytes
I was wondering if it is possible to add this support.

On investigating further, something like this might help:
if isinstance(private_key, (AgentKey, RSAKey)):
                # use the paramiko agent or rsa key
                self._tconnect['pkey'] = private_key
            elif isinstance(private_key, (Ed25519Key)):
                private_key_file = os.path.expanduser(private_key)
                self._tconnect['pkey'] = Ed25519Key.from_private_key_file(private_key_file, private_key_pass)


horizontal scrollbar not showing in Safari

The horizontal scrollbar does not show in Safari. This can be seen using the demo.

Hi @jrbarnid - this should be fixed in v3.0.1, but I haven't updated the demo to match yet due to lack of time. Let me know if that works for you!

The scrollbar works great in 3.0.1, thanks! I noticed my sticky column is no longer sticky, though? Is that part of the css that was removed?

How many sticky columns do you have?
If it's just 1, it's a bug on my end that I'll try to fix today or tomorrow.
If more than 1, we don't support more than 1 yet with v3

It's 1. Thanks for the info!

@jrbarnid Ok - probably an issue on our end. Are you explicitly specifying 1 sticky column to the react component?

I've tried specifying 1 column and leaving as default, both had the same result (no sticky columns). I'm also specifying 0 for headers.

Ok thank you - will get back to you soon

@jrbarnid I looked into this and didn't see anything. Our demo is now updated to show that this does work. Can you provide your browser name and version?
Can you share the css properties of the cells that are supposed to be sticky? They should at least have position: sticky on them. Are you importing our stylesheet?

Closing this as it should be resolved now


Correction for raw affiliation CIRAD, UMR Eco&Sols (SupAgro, CIRAD, INRA, IRD), Montpellier, France

Correction needed for raw affiliation CIRAD, UMR Eco&Sols (SupAgro, CIRAD, INRA, IRD), Montpellier, France
raw_affiliation_name: CIRAD, UMR Eco&Sols (SupAgro, CIRAD, INRA, IRD), Montpellier, France
new_rors: 05kpkpg04;05q3vnk25;03rnk6m14;00b80ez59
previous_rors: 05kpkpg04;05q3vnk25;03rnk6m14
works_examples: W2108045326
contact: bdab7e89a16ef1fd992b000ab5190a6d:dc3f560dfeca5b327e5cfb43389b058086ed @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-09. The new affiliations should be visible within the next 7 days.


[master] Automated Bump DC/OS UI v2.102.7

High-level description
What features does this change enable? What bugs does this change fix?
Corresponding DC/OS tickets (required)

DCOS-ID JIRA title / short description.

Related tickets (optional)

DCOS-ID JIRA title / short description.

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain.
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot label [Ready for Review]


Leverage typelevel implementation in i2c, pwm (and a little bit in uart).

This notably makes the documentation more readable.

BTW, this is a breaking change as it removes some traits.

Converting to draft as I'm progressing on GPIO overhaul and more breaking changes.

Closing in favor of #585


Support for 7.3.0?

Hi,
I have been using this plugin for a while and it has worked great!
Is there any plan to support 7.3.0 anytime soon?
Thanks

Resolved with #64


Informational text should not be red

What kind of request is this (question/bug/enhancement/feature request):
enhancement
Steps to reproduce (least amount of steps as possible):
Create a new custom cluster, then click on the cluster. Informational text should not be red. Normally red indicates an error.

If possible, should fix all places in the UI that currently use red text that are not errors.
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):
Installation option (single install/HA):
v2.1.1

Version - master 8/29
Message banner is now blue.

I changed the background of the banner to match the color the cluster state would be instead of always being error colored.  Previously only the detail message (2nd line) reflected the cluster state color (so it's sometimes text-info/blue)
But the screenshot for @dnoland1 it's still going to look exactly the same in that situation, because the cluster is (apparently) in transitioning=error state and the 2nd line is already red.
So that is an unrelated issue for deciding if/when a cluster that's changing should return transitioning=yes vs transitioning=error.


Expose className prop on Crosshair component and update docs

For apps that use inline styles, the cross does not get positioned correctly because the crosshair is positioned absolutely. Expose className on this component so that applications using inline styles can hook into this component

Looks good! Maybe add a test?

@mcnuttandrew tests added

I don't know why coveralls would have failed like that, maybe re-run the build?

Yeah weird. Rebuilding travis

@mcnuttandrew do you know what I need to do to get a new coverage report? I tried rebuilding both builds in travis but no change

that's super weird, i don't know why that would be? maybe ask @balthazar  i think he set that system up and might have some insight?

@mcnuttandrew all fixed. There was a .only( hanging out. Stamped?

😊


Test Markdown link diagnostics

Test for #146303

[x] Mac @chrmarti
[x] Linux @TylerLeonhardt
[x] Windows @joyceerhl

Complexity: 5
Create Issue

Summary
#146303 Adds error reporting for broken markdown links. This includes:

Links to headers in the current file that do not exist: [text](#no-such-header)
Usage of reference links that don't exist: [text][no-such-ref] or [no-such-ref]
Links to files that don't exist: [text](/no-such-file)
Links to headers in markdown files that don't exist: [text](/some-markdown#no-such-header)

For this test plan item, try testing out this this error reporting and seeing if anything doesn't work as expected
Testing
Enable markdown.experimental.validate.enabled and then try testing out the error reporting.
Other areas to try out:

There are other markdown.experimental.validate.* settings that control what is validated and what is not
You can use the skip paths setting to tell VS Code to ignore certain file paths, even if they don't exist on disk
We should watch linked to files so that if they are created or deleted, the diagnostics in the markdown files are automatically updated

Caught a broken link in vscode-wiki with this feature :) https://github.com/microsoft/vscode-wiki/commit/6b9f87510df1ebc2fdd474444eacf7ca898008bb

Works really nicely!


step by step

Hi there,
I am studying your graph classes to obtain MST.
I would like to follow the result of some lines, usually I use the print function, but I am having troubles when the code is in classes, because I do not know how to make it print between lines.
I understand this could be very obvious for most of you, but I am not proficient on object oriented programming.
Example: if I want to see how change min_edges I use:

....
min_edges = dict(((node, dummy_edge) for node in forest))
print min_edges
....

How can I see the content of this list or other variables?
Any advice would be appreciated.
Thanks, Jaime

Hello Jaime,
"print" should work inside classes, you have to run the algorithm:

from graphtheory.structures.edges import Edge
from graphtheory.structures.graphs import Graph
from graphtheory.spanningtrees.boruvka import BoruvkaMST
G = Graph(n=10, False) # an exemplary undirected graph

Add nodes and edges here.

algorithm = BoruvkaMST(G)
algorithm.run()     # here you will see results from your "print"

Regards,
Andrzej
--
dr hab. Andrzej Kapanowski
Sekretarz Wydzia�owej Komisji Rekrutacyjnej
Uniwersytet Jagiello�ski, Instytut Fizyki
30-348 Krak�w, �ojasiewicza 11
tel. (+48 12) 664 4628
e-mail<EMAIL_ADDRESS>----- Original Message -----
From: Jaime Bayes<EMAIL_ADDRESS>Date: Friday, March 25, 2016 10:42 pm
Subject: [graphs-dict] step by step (#1)
To: ufkapano/graphs-dict<EMAIL_ADDRESS>
Hi there,
I am studying your graph classes to obtain MST.
I would like to follow the result of some lines, usually I use the
print function, but I am having troubles when the code is in classes,
because I do not know how to make it print between lines.
I understand this could be very obvious for most of you, but I am not
proficient on object oriented programming.
Example: if I want to see how change min_edges I use:

....
min_edges = dict(((node, dummy_edge) for node in forest))
print min_edges
....
How can I see the content of this list or other variables?
Any advice would be appreciated.

Jaime

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ufkapano/graphs-dict/issues/1

Hi Andrzej,
I try using Spyder environment (anaconda) and it works fine as you said. My problem was that I was running your code from jupyter notebook, but I could not made the print function work there. I dont know what could be the reason. But well, in the meantime, I will continue studying your MST codes from spyder.
Thanks for your soon answer,
Jaime


fix: address warnings in build

Mainly comment out unused parameter or variables
NOTE: the test failure should be fixed once https://github.com/zeta-chain/protocol-contracts/pull/393 is merged

Summary by CodeRabbit
Release Notes

New Features

Introduced new event WithdrawnV2 for enhanced tracking of withdrawal operations.
Added comprehensive tests for the upgrade process of the ERC20Custody contract, ensuring functionality post-upgrade.

Bug Fixes

Improved test coverage for withdrawal and deposit functionalities, addressing various failure conditions.

Refactor

Simplified function signatures by removing unused parameters, enhancing code clarity.

Tests

Expanded test cases to include checks for gas limits, allowances, and role management in various contracts.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.23%. Comparing base (db2f95f) to head (de387ec).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #399   +/-   ##
=======================================
  Coverage   84.23%   84.23%
=======================================
  Files           8        8
  Lines         387      387
  Branches      121      121
=======================================
  Hits          326      326
  Misses         61       61

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[WIP, don't merge] Improve cargo and rustc caching

This PR isn't marked as draft because it requires full pipeline runs to check its correctness.
This PR makes the following changes to the project's pipeline:

Introduce dedicated rusty-cachier utility into the project pipeline to manage CARGO_HOME and CARGO_TARGET_DIR directories
Temporalily disable sccache as it looks like it doesn't give any complation time improvements

Resolves paritytech/ci_cd#252. Resolves paritytech/ci_cd#254.

Initially, as a part of this PR, I started to utilize MinIO as sccache's backend. I switched sccache's storage backend setup from using per-host Redis instances to this single unified S3-compatible storage solution and there weren't any perfomance benefits observed. I disabled sccache at all with unsetting RUSTC_WRAPPER and checked that compilation time remained almost the same (https://github.com/paritytech/substrate/pull/10552).
There is also bench-test-full-crypto-feature job available for some time, the job runs on master and is scheduled to the dedicated host (linux-docker-compare) with RUSTC_WRAPPER unset. Its regular counterpart, test-full-crypto-feature, steadily runs almost a same time with sccache enabled.
I understand thay there are still no proper CI/CD metrics, so my ad-hoc observation is questionable, but I don't see any benefits of continuing using sccache for now.


Allow explicit use of system libraw

I made this modification locally to support using the system libraw on macOS, which I installed via Homebrew.
At the time builds on macOS arm64 were breaking (still no wheels available), and this was a quick way for me to get the package installed. I prefer using a shared library anyway, but that might just be me.
Presented here with minimal changes. If you want it let me know what else is required

In principle I'm ok with the addition but I'm curious why you need that for a successful macOS arm64 installation. What's the error when running the following as shown in the README?
git clone https://github.com/letmaik/rawpy
cd rawpy
pip install numpy cython
pip install .

There's no error when running the process above, but there was back when I first needed this package (Dec 2022), and it is also my preference in the case where I'm manually installing.
Of course native M1 wheels will remove the need for manual installs!
Building using the suggested method results in an .so linked to the .dylib in external/ directory:
otool -L .venv/lib/python3.11/site-packages/rawpy/_rawpy.cpython-311-darwin.so
.venv/lib/python3.11/site-packages/rawpy/_rawpy.cpython-311-darwin.so:
	/Users/nullus/src/rawpy/external/LibRaw-cmake/build/install/lib/libraw_r.23.dylib (compatibility version 23.0.0, current version 23.0.0)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1500.65.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1319.100.3)

Which breaks if the build is cleaned/moved:
Python 3.11.4 (main, Jun 20 2023, 17:23:00) [Clang 14.0.3 (clang-14<IP_ADDRESS>.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import rawpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/nullus/src/rawpy/.venv/lib/python3.11/site-packages/rawpy/__init__.py", line 5, in <module>
    import rawpy._rawpy
ImportError: dlopen(/Users/nullus/src/rawpy/.venv/lib/python3.11/site-packages/rawpy/_rawpy.cpython-311-darwin.so, 0x0002): Library not loaded: /Users/nullus/src/rawpy/external/LibRaw-cmake/build/install/lib/libraw_r.23.dylib
  Referenced from: <05D6F88B-D3C5-3C54-AD71-89A2A14954F9> /Users/nullus/src/rawpy/.venv/lib/python3.11/site-packages/rawpy/_rawpy.cpython-311-darwin.so
  Reason: tried: '/Users/nullus/src/rawpy/external/LibRaw-cmake/build/install/lib/libraw_r.23.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/nullus/src/rawpy/external/LibRaw-cmake/build/install/lib/libraw_r.23.dylib' (no such file), '/Users/nullus/src/rawpy/external/LibRaw-cmake/build/install/lib/libraw_r.23.dylib' (no such file), '/usr/local/lib/libraw_r.23.dylib' (no such file), '/usr/lib/libraw_r.23.dylib' (no such file, not in dyld cache)

Got it, yeah you'd have to run delocate-wheel to bundle the dylib: delocate-wheel dist/*.whl. That's what's happening in CI. I'll merge the PR since it's useful and doesn't break anything.


IG: Create IG route for international scheduled payments

Description

[ ] Create Route on Ig routes project openbanking-demo routes
[ ] Create if necessary specific groovy script to implement on IG the international scheduled payments.
[ ] Methods to support: GET, POST

Endpoints

Endpoints

Acceptance criteria

[ ] The route is deployed in Ig with no errors.
[ ] Proper response expected by the spec
[ ] Errors expected match with the OBIE specs
[ ] Route documented

[ ] Route source commented
[ ] Add the route documentation to the wiki route section

Hey team! Please add your planning poker estimate with ZenHub @frlaura-jianu @mariantiris


Fix handling of oblique fonts

Take font weight into account when measuring text width.
Note that there will still be some issues with certain fonts due to overlapping transparent billboards. That will be fixed with #2130.
Fixes #3782
This is based on some code from @GatorScott.  Thanks Scott!

@hpinkos can you please review and merge?

Looks great @mramato, thanks!


A new method to get gs&ts output

Description
The Transformfeedback in Vulkan  is not recommended. But Renderdoc get GS&TS output by Transformfeedback, I think it is not google idea.
I suggest the google idea of getting gs&ts output . It look like the idea of getting vs output.
Environment

RenderDoc version: all
Operating System: all
Graphics API: Vulkan

Your feature request does not make sense to me, you need to explain what you are actually asking for in detail. What is the 'google method' or 'google idea' and what exactly are you requesting?
Also note that transform feedback is not supported with mesh shaders so the task shader output is not fetched via transform feedback.

Closing this due to lack of activity from the reporter and no further information.
If you are the reporter and this request is still relevant for you, or you are someone finding this issue and you think you have a similar request and you have more clear information to share, please do not comment here and instead please open a new issue. You can reference this issue if you wish, but opening a new issue prevents confusion of accidentally linking two unrelated requests and means that each issue can be handled in a clean process.


Removing teamfoundationcollectionuri label when addPipelineData is se…

…t to false
Task name: DockerV2
Description: Removed teamfoundationcollectionuri  label when addPipelineData is set to false.
Documentation changes required: (Y/N) N
Added unit tests: (Y/N) N
Attached related issue: (Y/N) https://github.com/microsoft/azure-pipelines-tasks/issues/13268
Checklist:

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

@ammohant  could you take a stab at this issue and raise a different PR?


Intro animation got wonky

Somehow the initial position and opacity of the logo elements got messed up. See https://electronjs.org/

I just noticed it. Haven't dug into what might have caused it.
cc @simurai

It's logo's way of saying: "Please replace me". :smile:
Something must've changed in Chrome/Safari". Firefox still seems to show it correctly.


WSL2 completely breaks after resetting ubuntu

Windows Build Number
19043.1055
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
5.4.72-microsoft-standard-WSL2
Distro Version
Ubuntu 20.04
Other Software
No response
Repro Steps

Reset Ubuntu 20.04 from the program advanced settings after having used it with WSL2

Expected Behavior
It should normally start back normally, be uninstallable and we could install other distros.
Actual Behavior
Ubuntu doesn't start anymore, even after being uninstalled and not being in the program list anymore it still appears in the start menu, moreover, it broke the entire wsl install process.
Trying to install any wsl distro, even others than Ubuntu results in the install button doing nothing
https://user-images.githubusercontent.com/16335601/123240784-e5e9ce00-d4e0-11eb-8143-cdfe081048e9.mp4
Diagnostic Logs
I don't know where to get them for this

Hi could you please add logs for this issue? /logs
As well, could you try running wsl -l -v in CMD or PowerShell and showing us the output?
If you're looking to completely uninstall your distro (and wipe all data inside of the distro) could you also try running wsl --unregister <DistroName> where <DistroName> is an output of a WSL distro name from above? Does that remove the distro and allow you to launch it again?


Use synchronized version numbers for serde_with and serde_with_macros

This pins serde_with_macros to a single version. This simplifies updates and publishing. It also ensures that the macros dependency always gets updated when the main crate does.

bors r+