text:
Add experiment database file in orcmkit matlab version!

I don't know where to find these files, please help me and fix this bugs!

problem in these lines:
path = 'C:\Users\RDickes\Google Drive\PhD\MOR study\ORC\Experimental database\Sun2Power'; EV_folder = [path '\Evaporator'];
load([EV_folder, 'ParametersCalibration_EV.mat'])
CD_folder = [path '\Condenser'];
load([CD_folder, 'ParametersCalibration_CD.mat'])
@RDickes: do you plan to share these mat files or the users are supposed to implement their own?

Hi,
Tonight I will push a new version without the need of these files!

Hi, RDickes
Is there any problems with your new verison matlab code?

@RDickes did you upload the new version to remove your path dependency?

Good evening RDickes and Davide,
I tried to use the matlab code ORCmKit but I had a problem:

I used the file OrcModel 5 but the software wrote me: ??? Error: File: OrcModel5.m Line: 467 Column: 7
Expression or statement is incorrect--possibly unbalanced (, {, or [. In the line 467 I find this:  "[~,~, ~] = Ts_diagram(TS_ORC, fluid_wf);"...it is strange because I do not find where is the error in this line of the code. After this I find at the line 58 the path dependency: "??? Error using ==> load
Unable to read file C:\Users\RDickes\Google Drive\PhD\MOR study\ORC\Experimental
database\Sun2Power\Evaporator\ParametersCalibration_EV.mat: No such file or directory.

Error in ==> OrcModel5 at 61
load([EV_folder, 'ParametersCalibration_EV.mat'])".
Please could you help me to rectify this mistakes? In case could you upload the new version of the file?
Thank you in advance and best regard,
Marco M

Hi Marco,
It seems I did not fixed all the problems, I'll check this tonight. You will have a working version of the codes by friday for sure.
Sorry for that.
Rémi

@RDickes : I think you can copy the .mat file inside this Matlab folder here in GitHub and change the directory so it would be easier for the users to do some debugging

Thank you so much RDickes,
Bye bye,
MarcoM

Good Morning guys,
I would like to ask to @RDickes if he have revised the directory in the MATLAB files of the ORC model? Have you added the .mat file in the folder?
Sorry for my impatience ;)
Thank you so much!!
Bye bye
Marco M

Hi Marco,
It is done, I have made a big push with many improvements on the codes and now you have access to my models as they are for the moment. I have added three .mat files (EXP_param_examples.mat / PP_param_examples / HEX_param_examples) so you can run the models with examples of modelling parameters. You will find many more submodels and different beta versions of my codes, but to make it simple:

if you want to simulate an heat exchanger, just run HexModel.m
if you want to simulate an expander, just run ExpanderModel.m
if you want to simulate a pump, just run PumpModel.m

Since I am still actively updating/improving these models, the different comments I made in the codes might not be all up-to-date. If you are lost or confused somewhere, just contact me and I will help you.
Hope you will like it,
Best regards,
RDickes

Hi RDickes,
Thank you so much for your improvements on the codes. I have solved my problems with coolprop and I tryed the run of your codes:

ExpanderModel.m---->ok
PumpModel.m----->ok
-HexModel.m  give me an error, I write you what is the problem:

HexModel
Undefined function or variable 'zeroBrent'.

Error in HexModel (line 533)
Q_dot_eff = zeroBrent ( lb, ub, 1e-8, 1e-8, f ); % Solver driving residuals of
HEX_hConvVar_res to zero
In your opinion this is a problem of the code or am I doing something wrong?
Thank you RDickes,
best regards,
MarcoM

Hi Marco,
The zeroBrent function is in the 'auxiliary functions' folder, you just need to add the 'ORCmKit\Matlab\Auxilliary functions' folder in your Matlab path
Best regards,
Rémi

Ok, tank you so much Rémi.
Best regards
Marco M

Hi Marco,
The zeroBrent function is in the 'auxiliary functions' folder, you just
need to add the 'ORCmKit\Matlab\Auxilliary functions' folder in your
Matlab path
Best regards,
Rémi
Le 23/10/2016 à 09:18, MarcoM-ORC a écrit :

Hi RDickes,
Thank you so much for your improvements on the codes. I have solved my
problems with coolprop and I tryed the run of your codes:

ExpanderModel.m---->ok

PumpModel.m----->ok -HexModel.m give me an error, I write you what
is the problem:
HexModel
Undefined function or variable 'zeroBrent'.

Error in HexModel (line 533)
Q_dot_eff = zeroBrent ( lb, ub, 1e-8, 1e-8, f ); % Solver driving
residuals of
HEX_hConvVar_res to zero
In your opinion this is a problem of the code or am I doing something
wrong?
Thank you RDickes,
best regards,
MarcoM
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/orcmkit/ORCmKit/issues/3#issuecomment-255573628,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHOuniEhawBAUUQQEwoz51c4DbKGRUeJks5q2wpggaJpZM4Jr5aN.

--
Rémi DICKES
PhD candidate/FRS-FNRS research fellow
University of Liège - Faculty of Applied Sciences
Energy System Research Unit
Campus du Sart Tilman, Quartier Polytech 1
Allée de la Découverte 17 - Bât. B49 (P33)
B–4000 LIEGE (BELGIUM)
rdickes@ulg.ac.be
+32 494.59.2253
+32 43.66.48.16

L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus

Hi Rémi,
I am now trying to run the matlab simulation using ORC model.
I would like to ask to @RDickes if he could add the .mat file for the loss model  in the folder?
DP_folder = [path '\PressureDrops'];
load([DP_folder, 'ParametersCalibration_DP.mat'])
param.LossesHP = DPHP_PhiDP;
param.LossesHP.displayResults = 0;
param.LossesHP.displayTS = 0;
Thank you so much!!
Jenny

Hi Jenny,
I have added an example of pressure drop parameters in the folder as well. ("PRESSURE_DROP_param_examples.mat").
Cheers,
Rémi

Hi Rémi @RDickes ,
Thanks for uploading the an example of pressure drop parameters in the folder.
I have went through the expander model and loss model, both ok. The CoolProp I used in the expander model works well, however not in the HEX model.
However, the HEX model, having a fatal error as presented below:
(The CoolProp I used in the expander model works well, however not in the HEX model. )
HexModel
Warning: Conformal state solver failed; error was conformal_state_solver took too many
iterations; residual is 2.8144e-007; prior was 2.82068e-007
Error using CoolPropMATLAB_wrap
Fatal error.
Error in CoolProp.PropsSI (line 2)
[varargout{1:max(1,nargout)}] = CoolPropMATLAB_wrap(345,varargin{:});
Error in sf_PropsSI_bar (line 24)
k = CoolProp.PropsSI('L', 'T', T, 'P',P, fluid);
Error in HEX_Qdotmax (line 171)
Q_dot_hext_max = m_dot_hsf_PropsSI_bar('C', T_h_su, T_c_su, P_h_su,
fluid_h)(T_h_su-T_c_su);
Error in HexModel (line 869)
Q_dot_max = HEX_Qdotmax(fluid_h, m_dot_h, P_h_su, in_h_su, fluid_c, m_dot_c, P_c_su,
in_c_su, param); %Compute the maximum heat power that can be transferred between the
two media
And when I trying to run the ORC model, it shows the same error message.
Could you help me to solve this problem?
Thanks a lot.
Best regards,
Jenny

Hmm, that's a problem from CP, not the model itself. Could you send me an example of conditions when it crashed? For which fluid/P,T does the code fail? Is it only when computing the conductivity, or also with other properties ?

@RDickes Thanks for you reply. I have sent the example through email to you.
Thanks!

Hi Jenny,
The first error you are referring to is due to a miscalculation of the
fluid property. It seems that the code tries to use CoolProp for
computing the properties of the HTF Pirobloc, which is not possible (it
is a fluid implemented manually in /the sf_PropsSI_bar/ function, it is
not implemented in the CP library). I think the problem comes from a
wrong parameter "param.type_h" provided to the heat exchanger model.
Indeed, the HexModel function can handle both suplly enthalpies and
temperatures as inputs for characterizing the fludis. Enthalpies are
used for compressible fluids (and their properties are computed with
CoolProp) while temperatures are used to simulated incompressible fluids
(and their properties are calculated with the /sf_PropsSI_bar/
function). In order to specify either if the supply properties are
temperatures or enthalpies, you must specify the param.type_h and
param.type_c parameters. So if I were you, I would check that you are
using a param.type_h = 'T' and not a param.type_h = 'H' when modelling
the HTF Pirobloc Basic.
Le 23/12/2016 à 12:50, daebk12 a écrit :

@RDickes https://github.com/RDickes Thanks for you reply. I have
sent the example through email to you.
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/orcmkit/ORCmKit/issues/3#issuecomment-268979174,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHOunpVvpwkspgRJBpRCiPi-PYwlY-rvks5rK7VygaJpZM4Jr5aN.

--
Rémi DICKES
PhD candidate/FRS-FNRS research fellow
University of Liège - Faculty of Applied Sciences
Energy System Research Unit
Campus du Sart Tilman, Quartier Polytech 1
Allée de la Découverte 17 - Bât. B49 (P33)
B–4000 LIEGE (BELGIUM)
rdickes@ulg.ac.be
+32 494.59.2253
+32 43.66.48.16

L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus

Jenny, for your second question, I have just added the gamma_R245fa.mat
file in the "Fluid properties" folder. You should have access to it now
Le 23/12/2016 à 12:50, daebk12 a écrit :

@RDickes https://github.com/RDickes Thanks for you reply. I have
sent the example through email to you.
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/orcmkit/ORCmKit/issues/3#issuecomment-268979174,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHOunpVvpwkspgRJBpRCiPi-PYwlY-rvks5rK7VygaJpZM4Jr5aN.

--
Rémi DICKES
PhD candidate/FRS-FNRS research fellow
University of Liège - Faculty of Applied Sciences
Energy System Research Unit
Campus du Sart Tilman, Quartier Polytech 1
Allée de la Découverte 17 - Bât. B49 (P33)
B–4000 LIEGE (BELGIUM)
rdickes@ulg.ac.be
+32 494.59.2253
+32 43.66.48.16

L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus

Hi @RDickes
Happy new year.
Thanks for your detailed reply.
Thanks for uploading the fluid properties file.
For the error I occurred, I still cannot figured it out.
Actually I just downloaded directly the files you provided in the folder, I have not changed any parameters in the ORC model as well as the HEX model. Could you please help me to check your HEX model file whether you can run it successfully or not.
Thanks again.
Have a nice day.
Jenny

Hi @RDickes
Thanks for your previous reply for the ORC model.
I have figured out the miscalculation issue.
However, I came across another one with the pump model.
Here are the error message when I am running the ORC.model
x0 evaluation: 1/81
Error using PumpModel (line 100)
Not enough input arguments.
Error in OrcModel>OrganicRankineCycle_init2 (line 909)
[out_PP, ~] = PumpModel(out.P_pp_su, out.h_pp_su, z(1), fluid_wf, N_pp, param.PP);
Error in OrcModel (line 178)
guess = OrganicRankineCycle_init2(z, fluid_wf, fluid_htf, in_htf_su, T_htf_su, P_htf_su, m_dot_htf, fluid_ctf, in_ctf_su,
T_ctf_su, P_ctf_su, m_dot_ctf, T_amb, N_exp, N_pp, param);
However, if I run the pumpmodel.m individually, the model is ok.
Thanks.
Jenny

Hi @daebk12
I also have the same problem when running the ORC model.
Could you please help us to figure it ou?  @davideziviani and @RDickes

authors: ChuZhenHao-ORC MarcoM-ORC RDickes daebk12 davideziviani orces

repo: orcmkit/ORCmKit


text:
add Ordinal Earth Dragon Balls

Forked.Collection added

please create a new pull request here you are merging into the wrong branch

please create a new pull request here you are merging into the wrong branch

source: gharchive/pull-request

repo: ordinals-wallet/ordinals-collections

license: MIT

license_type: permissive

license_source: github-api


text:
use Minitest instead of MiniTest

the rename happened in 5.0, but 5.19.0 started to only define the old alias when ENV["MT_COMPAT"] is defined, which usually is not the case

@ordinaryzelig here's a failing pipeline for you to double check against: https://github.com/simonneutert/papierkram_api_client/actions/runs/5859933192/job/15886957088?pr=56

I did some cleanup first, and then applied your changes in https://github.com/ordinaryzelig/minispec-metadata/commit/f3863bd7b1d324e3ab1b592f53348a82687c87dd. Released v3.4.0.
Thanks.

repo: ordinaryzelig/minispec-metadata

license: mit

license_source: bigquery


text:
Negative Sampling

Hi
In the context of negative sampling the paper mentions 10 samples. This would suggest 10 independently sampled tokens for every word-context. In the code where the loss function calculation is called it seems the same sample of 10 tokens would be used for all the B=100 'first word' contexts, then a different sample of 10 tokens would be used for the next B=100 'second word' contexts and so on. Is my understanding correct?

Hi. No. The Chainer's negative sampling loss function that I'm using, samples n different tokens for every item in its input mini-batch. So for B=100, and n=10, you'll get 1,000 sampled token altogether for each step, or 10 different sampled tokens for every individual context.

Ok thanks, Oren ; thanks for that helpful clarification.

source: gharchive/issue

authors: orenmel rbarve sciprogramming


text:
Don't render single item while not in viewport?

Hey
It's more like topic for discussion of feature request than a question.
Since this lib observes scroll position and aware if specific item are in viewport or not - it may be handle for lazy-loading of whole single-container cases. That's what I mean
On my website I have a footer container with statistics. By design that statistics container has quite big image on background and a lot of svg icons inside which in total cost something in terms of bandwidth too.
Since I've already use react-list on this project for lists I was expected to use react-list for lazy-loading purposes of footer too. I was hoping that by wrapping footer in <ReactList /> and settings length={1} it would observe scroll position and render footer only if it's in viewport. Whereby page will works faster because of less amount of DOM-nodes and faster page loading by reducing requests to images/svg which are not in viewport (little amount of people actually scrolling down to footer so loading of everything on start is redundant for those who don't).
But it didn't. Seems to be react-list renders first bunch of items in any type (simple/variable/uniform) or something, despite of any threshold I set. Footer and statistics are in DOM even if it's 5000px down from page top.
Of course there may be other libs that were created exactly for this case but I don't want to increase bundle.js size by one more lib, it's already bigger than I'd like it to be.
How do you think, it is possible to implement such behaviour with current options?

I don't think so, But there is new things can be discovered and new API can be implemented

This has been implemented in 0.8.4. This is not possible with uniform lists because the size of the list is derived from the first element, but it should work with simple and variable lists.

authors: NeXTs ashokkumarsand caseywebdev

repo: orgsync/react-list


text:
[1.7.9] The field 'ORestricted._allowRead' has been declared as LINKSET but contains a null record (

Hi guys,
I think I found a problem with the ORestricted class management that leads to a DB inconsistence.
TLTR;
when a role is deleted its references into the _allow* fields are not removed too.
This happens via SQL statements AND via OSecurity.dropRole() API
I think that at least using the Java API, the db engine has to ensure the db integrity for these kind of operations.
Steps to reproduce the problem:
create class testorole extends orestricted
Class created successfully. Total classes in database now: 24

insert into orole set name = 'developer', mode = 0
Inserted record 'ORole#4:15{name:developer,mode:0} v11' in 0.006000 sec(s).

insert into testorole (name,_allowRead) values ("test",[#4:15])
Inserted record 'testorole#24:0{name:test,_allowRead:[1],_allow:[1]} v1' in 0.004000 sec(s).

select expand(_allowRead) from testorole
----+-----+---------+----
#   |@RID |name     |mode
----+-----+---------+----
0   |#4:15|developer|0
----+-----+---------+----

1 item(s) found. Query executed in 0.002 sec(s).

delete from ORole where name = 'developer'
Delete record(s) '1' in 0.004000 sec(s).

select from testorole
----+-----+----+----------+------
#   |@RID |name|_allowRead|_allow
----+-----+----+----------+------
0   |#24:0|test|[1]       |[1]
----+-----+----+----------+------

update testorole add _allowRead = #4:0
Error: com.orientechnologies.orient.core.exception.OCommandExecutionException: Error on execution of command: sql.select from testorole
Error: com.orientechnologies.orient.core.exception.OValidationException: The field 'ORestricted._allowRead' has been declared as LINKSET but contains a null record (probably a deleted record?)

Is this still valid with 2.0-SNAPSHOT?

Checked in 2.0.7 and it works.

@giastfader @lvca  How did you fix this issue?
I deleted a user from Baasbox using your suggestions from googlegroups:
delete vertex _BB_NodeVertex where _node.user.name='xyz';
delete from _bb_node where user.name='xyz';
delete from ORole where name = 'friends_of_xyz';
delete from OUser where name='xyz';

Getting the same error now when I try to enable Push Notifications for a user:
2018-11-02 05:00:12,613 - [debug] - application: play-akka.actor.default-dispatcher-7  Command to execute: sql.select from _BB_UserAttributes where login_info contains (pushToken = 'eIt4huiWD1Y:APA91bFbETgVX4m1CAcu78Vjnx7UxZMf8PjWQQV8TDSbOUZL17eV8oW_LlCqGPVVuzjYBFfncGcBt1YbXWOHTIeK7PFCo0frb2lpCshkRxOop3bYhuWS8aWiZPCn8muzazFPmPYG4FX5') AND login_info contains (os = 'ios')
2018-11-02 05:00:12,638 - [debug] - application: play-akka.actor.default-dispatcher-7  closing connection
2018-11-02 05:00:12,641 - [debug] - application: play-akka.actor.default-dispatcher-7  ConnectToDB: an expected error has been detected: com.orientechnologies.orient.core.exception.OValidationException: The field 'ORestricted._allow' has been declared as LINKSET but contains a null record (probably a deleted record?)

Appreciate your quick response! Orientdb version is 1.7.10.

authors: giastfader kishykumar lvca

repo: orientechnologies/orientdb


text:
broken pipe [ONetworkProtocolHttpDb]

Not sure if this should be here, but just in case:
Artwork has some 50,000 + records
querying it via http breaks down (and it takes a while):
2015-01-15 20:20:33:971 SEVERE Internal server error:
java.net.SocketException: Broken pipe [ONetworkProtocolHttpDb]

php error
Doctrine\OrientDB\Binding\Client\Http\CurlClient has been unable to retrieve a response for the resource at http://127.0.0.1:2480/command/galleryapp/sql/select%20from%20Artwork%20order%20by%20%40rid%20desc

while binary query (PhpOrient) is super fast and no breakage ...

I guess it goes out of memory by formatting the returning JSON.

We should provide creation of resulting json in streaming mode.

I think this is somewhat related to #6474 and #6598.  In all these cases we are getting an internal server error and a socket exception, with no real stack trace.

I actually did a lot of debugging and the issue I am having is specifically related to the HTTP streaming stuff that was recently added.  I am going to open a separate issue.

hi @mmacfadden,
Thank you for digging deeply on it,anyway  you can disable the http streaming setting network.http.streaming to false.
we are as well checking that implementation hoping to find any related issue soon, any help is welcome.
Bye

Hi @mmacfadden,
Do you still have problem with 2.2.10 ?

@tglman Since we have a workaround in place I am not sure.  I will upgrade to 2.1.10 and enable streaming and see if the problem is still there.

Hi @mmacfadden, do you have any update? Can we close the issue?

I will also test this with 2.2.14

I'm closing this issue because no response since a while. In case the issue is still valid, please reopen/comment this. Thanks.

@lvca I believe this has been fixed.  Sorry I thought I had responded!

NP ;-)

authors: G4br13l3 SpareShade lvca mmacfadden tglman


text:
Append method doesn't append all elements

I trying to exexute this query in a graph database (orientdb 2.1.5) from Studio (v2.1):
select
OUT('owner').lastname[0].APPEND(' A ').APPEND(OUT('owner').firstname[0]).append(" B ") AS `ownerName`,
OUT('owner').firstname[0].APPEND(' A ').APPEND(OUT('owner').lastname[0]).append(" B ") AS `reversedOwnerName`,
OUT('owner').firstname[0] AS `firstname`,
OUT('owner').lastname[0] AS `lastname`,
*
from administrations

which returns for me the following result set:
{
    "result": [
        {
            "@type": "d",
            "@rid": "#11:0",
            "@version": 6,
            "@class": "administrations",
            "name": "Test administration",
            "out_subscription": [
                "#24:0",
                "#24:1",
                "#24:2"
            ],
            "out_general_sync_log": [
                "#26:0",
                "#26:1",
                "#26:2"
            ],
            "in_administration": [
                "#29:0",
                "#29:1"
            ],
            "out_owner": [
                "#30:0"
            ],
            "ownerName": "Min A  B ",
            "reversedOwnerName": "Ad A  B ",
            "firstname": "Ad",
            "lastname": "Min",
            "@fieldTypes": "out_subscription=g,out_general_sync_log=g,in_administration=g,out_owner=g"
        }
    ],
    "notification": "Query executed in 0.025 sec. Returned 1 record(s)"
}

As you can see, the third Append does not work in these cases.
So while this one does not work:
OUT('owner').firstname[0].APPEND(' A ').APPEND(OUT('owner').lastname[0]).append(" B ") AS `reversedOwnerName`

this is working:
OUT('owner').firstname[0].APPEND(" A ").APPEND(name).APPEND(" B ") AS `reversedOwnerName`

Could you help me out?

Still happening in 2.1.8

Hi @tzsolti
I think I know where to look at, I'll let you know in short (I hope)
Thanks
Luigi

Hi. Ok, thanks

authors: luigidellaquila tzsolti


text:
Docs for graph batch insert

[x] Write documentation for OGraphBatchInsert
[x] Write documentation for OGraphBatchInsertBasic
[x] Write a tutorial on how to implement a custom graph batch insert using Document API

Done
http://orientdb.com/docs/last/Graph-Batch-Insert.html


text:
ODistributedOperationException issue in cluster mode

OrientDB Version: orientdb-enterprise-2.2.17
Java Version: 1.8.0_121
OS: CentOS Linux release 7.2.1511 (Core)
Expected behavior
Can update or create edge successfully in cluster mode
Actual behavior
Can't update or create edge successfully in cluster mode.
Steps to reproduce
I have three masters named orientdb-server1,orientdb-server2,orientdb-server3.
I have tried to avoid update/create an edge in parallel in cluster model.
However I still encountered the below issue. I'm very strange why the version is not consistent among the masters in sequence??? I can provide more clues if you need, thank you.
Issue exception message:
2017-05-06 10:01:21.387 [pool-1-thread-16][c.m.o.t.OrientSqlUtils]INFO  create edge CallTo from #61:3488508 to #65:1753069 set callCnt = ?,callLen=?,callInCnt=?,callOutCnt=?,reportTime=? retry 100,class com.orientechnologies.orient.server.distributed.task.ODistributedOperationException,Quorum 2 not reached for request (id=0.16599762 task=tx[3]{record_create(#165:6093729 v.0),record_update(#61:3488508 v.227),record_update(#65:1753069 v.15)}). Elapsed=43ms. Servers in timeout/conflict are:

orientdb-server2: com.orientechnologies.orient.core.exception.OConcurrentModificationException: Cannot UPDATE the record #61:3488508 because the version is not the latest. Probably you are updating an old record or it has been modified by another user (db=v215 your=v227)
DB name="sns"
orientdb-server3: com.orientechnologies.orient.core.exception.OConcurrentCreateException: Cannot create the record #165:6093729 because the assigned RID was #165:6102717 instead
DB name="sns"
Received:
orientdb-server3: com.orientechnologies.orient.core.exception.OConcurrentCreateException: Cannot create the record #165:6093729 because the assigned RID was #165:6102717 instead
DB name="sns"
orientdb-server2: com.orientechnologies.orient.core.exception.OConcurrentModificationException: Cannot UPDATE the record #61:3488508 because the version is not the latest. Probably you are updating an old record or it has been modified by another user (db=v215 your=v227)
DB name="sns"
orientdb-server1: TX[3]{#165:6093729 v.1,228,16}
DB name="sns"
DB name="sns"

Hi,
Thanks for opening this. We fixed an issue related to concurrent edge update (from all master nodes) in version 2.2.19; wondering if you can give it a try and see if you can reproduce the problem?

Hi,
Today I will have a try to see the result.
Thank you very much.

Hi @prjhub,
I have upgraded to 2.2.19. But the same issue is still happening at create edge frequently for the same vertex in cluster mode in sequence.
Thank you
Kisho

Hi @santo-it,
Added more.
This issue is not always happening, Sometimes it's working.
Thank you,
Kisho

Are there any updates for this issue? I am facing it as well.

Hi guys, this is not a bug. That exception extends ONeedRetryException, so the code should always be ready to collect it and retry the operation. This is the way OrientDB works: optimistic vs pessimistic. Take a look at: https://orientdb.com/docs/2.2/Concurrency.html

Hi @lvca
Then how can we manage the retry operation in a @Transactional method like provided in spring data orientdb?

Hi @Ivca,
when batch to create edge under the multi-master, it will be happening.

@robfrank does Spring Data have a retry mechanism with annotations?

authors: KishoDai lvca ozgursucu santo-it


text:
add stream isolation support

TransPort is currently hardcoded to 9040
DnsPort is currently hardcoded to 5354

It would be good to make that configurable.
By using distinct TransPort / DnsPort ports per application you would gain stream isolation.
torsocks supports IsolatePID.
# Set Torsocks to use an automatically generated SOCKS5 username/password based
# on the process ID and current time, that makes the connections to Tor use a
# different circuit from other existing streams in Tor on a per-process basis.
# If set, the SOCKS5Username and SOCKS5Password options must not be set.
# (Default: 0)
IsolatePID 1

Which then results in using Tor's IsolateSOCKSAuth.

Don’t share circuits with streams for which different SOCKS authentication was provided. (For HTTPTunnelPort connections, this option looks at the Proxy-Authorization and X-Tor-Stream-Isolation headers. On by default; you can disable it with NoIsolateSOCKSAuth.)

TransPort / DnsPort doesn't support user auth credentials which would lead to stream isolation so the only way is to use distinct ports.

Could be useful to have a random port selector? I want to establish circuit isolation but I don't care about witch port is used, this because could be quite a pain to specify every time two open ports.

Yes, it could pick from a predefined (configurable through variable in
script) port range.
(For Whonix / uwt we'd need to define which port to use using an
environment variable (preferred) or command line option - but that part
is simple, could provide a patch later.)

We are running out of short flag, so I think is time to have longer ones.
--port-range
--trans-port
--dns-port

closed with https://github.com/orjail/orjail/commit/73cf6545063c7ca0d46ffb984b8107b9dd3e678e

authors: adrelanos gibix

repo: orjail/orjail

license: WTFPL


text:
Possible issue with catch_unwind in renderer for unit tests

Hey,
I just realized today that the catch_unwind in unit test can probably lead to false positive tests
match panic::catch_unwind(catch_me) {
    Ok(tail_time) => (true, tail_time),
    Err(e) => {
        node.outgoing_edges.clear();
        scope.report_error(e);
        (false, false)
    }
}

For example, if we want an empty buffer as expected result, but the node just crashes (and is removed from graph), then the resulting buffer is empty so the test is passing... And we can only see the problem if we run the tests with the --nocapture flag.
I checked very very rapidly and maybe we already have such issues, e.g. node::waveshaper::tests::test_user_defined_options (TBC)

That's a very good point.
I can propagate the panic when testing so it always shows up. Plus an option to disable that because in some tests we actually test the onerror feature

Indeed this issue occurs in 2 waveshaper tests:
---- node::waveshaper::tests::change_none_for_curve_after_build stdout ----
thread 'node::waveshaper::tests::change_none_for_curve_after_build' panicked at src/node/waveshaper.rs:328:9:
assertion failed: samples_in.iter().all(|channel|
        channel.as_ref().len() == self.processor.input_frames_next())
Panic occurred in Audio Processor: 'assertion failed: samples_in.iter().all(|channel|
        channel.as_ref().len() == self.processor.input_frames_next())'. Removing node from graph.
thread 'node::waveshaper::tests::change_none_for_curve_after_build' panicked at src/events.rs:195:13:
ErrorEvent { message: "assertion failed: samples_in.iter().all(|channel|\n        channel.as_ref().len() == self.processor.input_frames_next())", error: Any { .. }, event: Event { type_: "ErrorEvent" } }

---- node::waveshaper::tests::test_user_defined_options stdout ----
thread 'node::waveshaper::tests::test_user_defined_options' panicked at src/node/waveshaper.rs:328:9:
assertion failed: samples_in.iter().all(|channel|
        channel.as_ref().len() == self.processor.input_frames_next())
Panic occurred in Audio Processor: 'assertion failed: samples_in.iter().all(|channel|
        channel.as_ref().len() == self.processor.input_frames_next())'. Removing node from graph.
thread 'node::waveshaper::tests::test_user_defined_options' panicked at src/events.rs:195:13:
ErrorEvent { message: "assertion failed: samples_in.iter().all(|channel|\n        channel.as_ref().len() == self.processor.input_frames_next())", error: Any { .. }, event: Event { type_: "ErrorEvent" } }

authors: b-ma orottier

repo: orottier/web-audio-api-rs


text:
Proof of concept of single-channel convolution engine

Getting started with #21 , this is a extremely simple, computationally intensive, single channel convolution engine
~Try it out with speakers very low because the normalization is not implemented yet!!~
normalization is now implemented!
cargo run --release --example convolution
My CPU barely keeps up with the larger response buffer,  but this sets a baseline for further improvement

Or port the C++ code to Rust. It is about 5k lines of code..

Hey @b-ma, it took me some time to continue with this.
I had a look at both porting or binding existing C++ stuff, but it is not my range of expertise.
Hence for now I opted to do some incremental improvement on the current implementation. Using Frequency Domain Delay Lines there is a nice performance improvement while not overcomplicating stuff.
Could you check if this works on your end?
Up next is: adding tests (trivial impulse response, comparing with IIR, etc) and then the next improvement: Nonuniform partition scheduling
For literature I am looking at https://www.eecs.qmul.ac.uk/~josh/documents/2017/Jillings IEEE WASPAA 2017.pdf and https://github.com/vtolani95/convolution/blob/master/reverb.py

Hey, nice! I will a look tomorrow
Maybe this https://www.dspguide.com/ch18.htm could be of some help too, didn't check it yet and maybe a bit naive in terms of implementation but this book is generally really nice for explaining the concepts

Hey, didn't have time to have a look at the code, but all tests are passing on my side and the example do not crash anymore! Quite nice :)

Good to hear. If the code looks good to you I intend to merge this version.
I have created #220  for further improvements

Except my small comment, seems pretty good to me. I didn't go into the details of the implementation (I'm interested but...) and the tests look pretty nice!
Seems that going to multichannel from here wouldn't be too complicated, no?
Also there was a bench for the convolution in the original Paul's benchmarks, we could add it too to have an idea of where we get (I can port it if you don't want to make you hand dirty with JS :)

Seems that going to multichannel from here wouldn't be too complicated, no?

Indeed, just a bit of extra bookkeeping

Also there was a bench for the convolution in the original Paul's benchmarks, we could add it too to have an idea of where we get (I can port it if you don't want to make you hand dirty with JS :)

Good point, I can give it a try!

Absolutely not related to the issue but, I'm happy it's out and quite usable ! https://www.npmjs.com/package/node-web-audio-api :)

Absolutely not related to the issue but, I'm happy it's out there and quite usable: https://www.npmjs.com/package/node-web-audio-api :)
(I will probably move the repo to my team's organization, so maybe I will need to re-invite you as collaborator)

Really cool. Congrats on the milestone!

Ready for final comments

Seems we are good to go :) congrats!


text:
(클라) 화면을 반쪽을 쓸때 ToDo 화면을 옆에 사이드바처럼 넣을순 없나요?

시간 있으면 ㅅㅅㅏ ㅂ ㄱ ㅏ ㄴ ㅡ ㅇ 인데
네...
근데 있으면 진짜 좋긴하겠다

ㅋㅋ 나중에 남으면 해보지 뭐
금요일에 달릴준비 하즈아

authors: I-AM-PROTO Merseong


text:
tests/image: Test openstack images in OpenStack

We are already building this type of output images so need to start looking into actually uploading and booting them in OpenStack.

Agreed! Same considerations as for #338, we should add the upload functionality internally and following the work in #337, we should build tests on top of that.

If anyone doesn't mind I'll take a stab at this.

authors: atodorov teg

repo: osbuild/osbuild-composer


text:
rhel84: fix kernel cmdline for s390x

RootFsUUID should be the UUID of a root filesystem, not of a root partition.
🤦 sorry!

Rebased because of a conflict with #1162

Rebased because of a conflict with #1162


text:
Schutzbot: ping on nightly test results

This pull request includes:

[ ] adequate testing for the new functionality or fixed issue
[ ] adequate documentation informing people about the change

@teg https://osbuildci.cloud.paas.psi.redhat.com/blue/organizations/jenkins/osbuild%2Fosbuild-composer/detail/PR-1230/2/pipeline/146/ is the test result (after I replayed it) and we can see a PASS + the last line is the telegram bot message. However I did not see this message in the chat!


text:
distro/rhel83: use repos from a nightly compose for now

Previously, the path to RHEL 8.3 repos was bad because RHEL 8.3 composes are
not yet under rel-eng directory. This commit changes the path to use
the latest nightly path.

I don't know about this. The nightlies don't have signed packages, so the org.osbuild.rpm stage will fail to build the image...

This PR is in conflict with #598, isn't it ?

Yes, this conflicts, and will be redundant.

authors: atodorov ondrejbudai teg


text:
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

Hi! I'm trying to upload a file that is ~9Gb from HPC to an osf project but keep getting this error. Am I doing something wrong?
[ljcohen@dev-intel14 ~]$ osf --version
osf 0.0.3

After running export OSF_PASSWORD=password and
export OSF_USERNAME=username, here is the command followed by the error:
[ljcohen@dev-intel14 ~]$ osf -p zjv86 upload /mnt/scratch/ljcohen/onp_Porecamp_killifish/fastq2/porecamp_killifish_ONT_reads.fastq porecamp_killifish_ONT_reads.fastq
Traceback (most recent call last):
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 595, in urlopen
    chunked=chunked)
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 363, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/http/client.py", line 1106, in request
    self._send_request(method, url, body, headers)
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/http/client.py", line 1151, in _send_request
    self.endheaders(body)
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/http/client.py", line 1102, in endheaders
    self._send_output(message_body)
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/http/client.py", line 936, in _send_output
    self.send(message_body)
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/http/client.py", line 905, in send
    self.sock.sendall(datablock)
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/ssl.py", line 891, in sendall
    v = self.send(data[count:])
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/ssl.py", line 861, in send
    return self._sslobj.write(data)
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/ssl.py", line 586, in write
    return self._sslobj.write(data)
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/site-packages/requests/adapters.py", line 423, in send
    timeout=timeout
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 640, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/site-packages/requests/packages/urllib3/util/retry.py", line 261, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/site-packages/requests/packages/urllib3/packages/six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 595, in urlopen
    chunked=chunked)
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 363, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/http/client.py", line 1106, in request
    self._send_request(method, url, body, headers)
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/http/client.py", line 1151, in _send_request
    self.endheaders(body)
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/http/client.py", line 1102, in endheaders
    self._send_output(message_body)
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/http/client.py", line 936, in _send_output
    self.send(message_body)
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/http/client.py", line 905, in send
    self.sock.sendall(datablock)
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/ssl.py", line 891, in sendall
    v = self.send(data[count:])
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/ssl.py", line 861, in send
    return self._sslobj.write(data)
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/ssl.py", line 586, in write
    return self._sslobj.write(data)
requests.packages.urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/mnt/home/ljcohen/.conda/envs/dammit/bin/osf", line 11, in <module>
    sys.exit(main())
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/site-packages/osfclient/__main__.py", line 104, in main
    exit_code = args.func(args)
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/site-packages/osfclient/cli.py", line 91, in wrapper
    return_value = f(cli_args)
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/site-packages/osfclient/cli.py", line 286, in upload
    store.create_file(remote_path, fp, update=args.force)
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/site-packages/osfclient/models/storage.py", line 82, in create_file
    response = self._put(url, params={'name': fname}, data=fp)
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/site-packages/osfclient/models/core.py", line 26, in _put
    return self.session.put(url, *args, **kwargs)
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/site-packages/osfclient/models/session.py", line 37, in put
    response = super(OSFSession, self).put(url, *args, **kwargs)
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/site-packages/requests/sessions.py", line 533, in put
    return self.request('PUT', url, data=data, **kwargs)
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/site-packages/requests/sessions.py", line 475, in request
    resp = self.send(prep, **send_kwargs)
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/site-packages/requests/sessions.py", line 596, in send
    r = adapter.send(request, **kwargs)
  File "/mnt/home/ljcohen/.conda/envs/dammit/lib/python3.5/site-packages/requests/adapters.py", line 473, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

Other commands seem to work:
[ljcohen@dev-intel14 ~]$ osf -p zjv86 ls
osfstorage/kmer_genie/F_olivaceus-k31.histo
osfstorage/kmer_genie/F_olivaceus.dat
osfstorage/kmer_genie/F_olivaceus-k121.histo
osfstorage/kmer_genie/F_olivaceus.dat.pdf
osfstorage/kmer_genie/F_olivaceus-k111.histo.pdf
osfstorage/kmer_genie/F_olivaceus-k101.histo.pdf
osfstorage/kmer_genie/F_olivaceus-k115.histo.pdf
osfstorage/kmer_genie/F_olivaceus-k113.histo
osfstorage/kmer_genie/F_olivaceus-k109.histo
osfstorage/kmer_genie/F_olivaceus-k115.histo
osfstorage/kmer_genie/F_olivaceus-k107.histo
osfstorage/kmer_genie/F_olivaceus-k91.histo
osfstorage/kmer_genie/F_olivaceus-k109.histo.pdf
osfstorage/kmer_genie/F_olivaceus-k111.histo
osfstorage/kmer_genie/F_olivaceus-k117.histo.pdf
osfstorage/kmer_genie/F_olivaceus-k117.histo
osfstorage/kmer_genie/F_olivaceus-k91.histo.pdf
osfstorage/kmer_genie/F_olivaceus-k107.histo.pdf
osfstorage/kmer_genie/F_olivaceus-k121.histo.pdf
osfstorage/kmer_genie/F_olivaceus-k113.histo.pdf
osfstorage/kmer_genie/F_olivaceus-k51.histo.pdf
osfstorage/kmer_genie/F_olivaceus-k71.histo.pdf
osfstorage/kmer_genie/F_olivaceus-k41.histo.pdf
osfstorage/kmer_genie/F_olivaceus-k61.histo.pdf
osfstorage/kmer_genie/F_olivaceus-k41.histo
osfstorage/kmer_genie/F_olivaceus-k21.histo
osfstorage/kmer_genie/F_olivaceus-k61.histo
osfstorage/kmer_genie/F_olivaceus-k31.histo.pdf
osfstorage/kmer_genie/F_olivaceus-k81.histo
osfstorage/kmer_genie/F_olivaceus-k81.histo.pdf
osfstorage/kmer_genie/F_olivaceus-k21.histo.pdf
osfstorage/kmer_genie/F_olivaceus-k71.histo
osfstorage/kmer_genie/F_olivaceus-k51.histo
osfstorage/kmer_genie/F_olivaceus_report.html
osfstorage/kmer_genie/F_olivaceus-k101.histo
...

Ah. I suspect this is an issue with my filesize limits, since the size of the file I'm trying to upload is >9GB. When I ran the same command with a smaller file, there was no error.

@ljcohen Yeah I think there's a 5 GB limit for a single file. Mind if we close this?

Please close! thank you.

authors: benlindsay ljcohen

repo: osfclient/osfclient


text:
Add support for AJP connections

Resolves #88

@timopick Can you please verify, whether this works as you expect?

This all looks good to me, however I don't really see the point of it, since it's not possible to cluster  OSIAM at the moment.

@wallner We're using AJP connectors in a current project- The cluster ability should however be restored at some point in the future.

@timopick I agree with you: OSIAM needs to be clusterable, however it never has been, but we have it on the road map.

Looks good! Thanks!

So you closed this PR, @timopick?

Lol, oops on my part :) I meant to close the feature request ;)

@timopick If this is the desired solution, please merge the PR. I've already assigned you to this.

Please rebase

rebased

Thank you!

authors: dacrome timopick tkrille wallner

repo: osiam/osiam


text:
Use system language by default

Description
Currently English is set as default language for osmand.net/map.

Change language priority in Chrome chrome://settings/languages

ToDo
User not logged in:

[x] Use System / Browser default language for UI

User logged in:

[x] Use System / Browser language by default until user changed it
[x] Switch to System / Browser language after log out

Settings

[x] Add new item System (Device language) for Display language option.

Review

Screenshot

Chrome
Safari

[ ] Use proper language names

repo: osmandapp/web


text:
Posix functions

Hi,
I have tried to compile the libosmium library  on Windows OS (Visual Studio 2015, Windows 7) and I got  error messeges, that Posix functions are depricated:
"Error C4996	'read': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _read. See online help for details."
in read_write.hpp and compression.hpp files.
So the Posix functions 'open', 'close', 'read', 'write' are deprecated in Windows SDK.
Compiling invironment: Windows 7, x64, Visual Studio 2015, project platform x64.

I already have lots of wrapper functions and #ifdefs to accommodate Windows and don't want to create more and more. Is there a way to turn those errors into warnings and then ignore them? :-)

I didn't find the way. I solved the problem with #ifdef.

We are doing Windows compiles on Appveyor automatically and they don't have this problem. Can you have a look at https://github.com/osmcode/libosmium/blob/master/appveyor.yml, https://github.com/osmcode/libosmium/blob/master/build-appveyor.bat, and https://github.com/osmcode/libosmium/blob/master/build-local.bat and the resulting appveyor runs at https://ci.appveyor.com/project/Mapbox/libosmium and try to figure out what's different between your setup and the appveyor setup?

Closing this, because there is no response. Please re-open if you want to pursue this further.

authors: isowanderer joto

repo: osmcode/libosmium


text:
Why npm link?

cd osmlint
npm install -g && npm link

From the readme - why npm link?

@tmcw thanks for flagging, fixed this. npm link is only if you want to create symlinks while developing.

authors: geohacker tmcw

repo: osmlab/osmlint

license: isc


text:
Adding files so German translation becomes visible

These 3 files will make the de section all visible, but they need translating themselves. The quick & dirty way is to accept the pull request, then translate the files. For the period of time involved the de home page will be in English.

Thanks for taking a look at this, @Nick-Tallguy !
^^ @sfkeller, now that Nick has helped with the fix, please give it a try. Thanks!

There is one dead link from the German home page - basically you have;
http://teachosm.org/en/intro/whyteach/ and you also need
http://teachosm.org/de/intro/whyteach/  which doesn't exist yet.
Until that file is created, the moving door link on the German front page will lead to a 404 error.
This is a spreadsheet I maintain for keeping track of modules on LearnOSM - https://docs.google.com/spreadsheets/d/1NlJHTYAYpyyF5o9D8UMAsSzFG7lHY2cIi2mzncx530w/edit?usp=sharing
Basically if you have a module in English, to prevent broken links you need a similar module, or what I've called an 'interim' module, in every other language - it works the other way as well - if you've got it in German you need it in English to avoid 404's. This is an example of what I've called an 'interim' module - http://learnosm.org/it/beginner/id-editor/
Good luck & give me a shout if I can help on anything else (sorry about the delay that can be involved though!).

Thanks! (Backlinking to #92)

authors: Nick-Tallguy geomantic sfkeller

repo: osmlab/teachosm


text:
Uploading is broken

Upload form doesn't send any data.

Also, weirdly. The form submits itself when clicking the file upload button.

The problem: https://github.com/osmlab/to-fix/blob/gh-pages/src/mixins/taskserver.js#L10
formData should use body in xhr, not json. Can get this in the morning, I need to sleep now.

Fixed in d674998b1b133e8df019e465c5f31ccc138e016a

repo: osmlab/to-fix


text:
Introduce a "CleanTxErrorMessage" function, replace common hard to parse error messages

We should clean error messages from the state machine to be far more human readable.
In these lines, https://github.com/osmosis-labs/osmosis-frontend/blob/master/src/tx/tx-tracer.ts#L160-L161 we should clean the error message before creating it into an Error.
We should in the beginning do:

Find/Replace ibc denoms strings with human readable denoms from the asset list
Run the following regex: Find Regex signature verification failed; please verify account number \([0-9]*\), sequence \(([0-9]*)\) and chain-id \(osmosis-1\): unauthorized Replace Regex You have too many concurrent txs in flight! Try resending after your prior tx lands on chain. (We couldn't send the tx with sequence number $1). You can play with the regex here: https://regex101.com/r/ZkRbXL/1/
The way you can do this regex substitution before displaying the error in JS per my understanding is string_to_replace.replace(findRegex, replace)

I think that approach listed in the issue doesn't work. My understanding is that it should both be https://github.com/osmosis-labs/osmosis-frontend/blob/master/src/tx/tx-tracer.ts#L160-L161 , and in the callback for https://github.com/osmosis-labs/osmosis-frontend/blob/master/src/stores/osmosis/account/index.ts
Here is the function I was trying to test things with though, in case it helps anyone else:

const sequenceNumberErrorMsgRe = /signature verification failed; please verify account number \([0-9]*\), sequence \(([0-9]*)\) and chain-id \(osmosis-1\): unauthorized/;
const sequenceNumberErrorReplaceMsg =
	"You have too many concurrent txs going on! Try resending after your prior tx lands on chain. (We couldn't send the tx with sequence number $1)";

function cleanErrorMessage(s1: string): string {
	let newErrorMsg = s1.replace(sequenceNumberErrorMsgRe, sequenceNumberErrorReplaceMsg);
	// parsed from assetlists
	// todo: Do a single pass operation in the future
	newErrorMsg = newErrorMsg.replace('ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2', 'atom');
	newErrorMsg = newErrorMsg.replace('ibc/1480B8FD20AD5FCAE81EA87584D269547DD4D436843C1D20F15E00EB64743EF4', 'akt');
	newErrorMsg = newErrorMsg.replace('ibc/A0CC0CF735BFB30E730C70019D4218A1244FF383503FF7579C9201AB93CA9293', 'xprt');
	newErrorMsg = newErrorMsg.replace('ibc/7C4D60AA95E5A7558B0A364860979CA34B7FF8AAF255B87AF9E879374470CEC0', 'iris');
	newErrorMsg = newErrorMsg.replace('ibc/9712DBB13B9631EDFA9BF61B55F1B2D290B2ADB67E3A4EB3A875F3B6081B3B84', 'dvpn');
	newErrorMsg = newErrorMsg.replace('ibc/E6931F78057F7CC5DA0FD6CEF82FF39373A6E0452BF1FD76910B93292CF356C1', 'cro');
	newErrorMsg = newErrorMsg.replace('ibc/1DCC8A6CB5689018431323953344A9F6CC4D0BFB261E88C9F7777372C10CD076', 'regen');
	newErrorMsg = newErrorMsg.replace('ibc/52B1AA623B34EB78FD767CEA69E8D7FA6C9CFE1FBF49C5406268FD325E2CC2AC', 'iov');
	newErrorMsg = newErrorMsg.replace('ibc/CD942F878C80FBE9DEAB8F8E57F592C7252D06335F193635AF002ACBD69139CC', 'tick');
	return newErrorMsg;
}

repo: osmosis-labs/osmosis-frontend


text:
disable transmuter

What is the purpose of the change

ClickUp Task
ClickUp Task URL
Brief Changelog

Testing and Verifying

Documentation and Release Note

@ValarDragon do we still want this? I think you requested this IIRC

I think no longer, lets close

authors: ValarDragon jonator


text:
[Bug]: TokenFactory CLI --help for create-denom is outdated as it includes (cost osmo though!)

What happened?
when running osmosid tx tokenfactory the help documentation shows (Costs osmo though!), while since may 2023 this is not the case anymore (PR with on chain proposal link).
This confused me as there was no way to add the fee to the transaction and so i set the --fees parameter to 100osmo, (which was the price for tokenfactory a while ago). This was (in hindsight) obviously stupid as its the gas fee and it cased me to have the transaction fail, but the gas fee still payed (basically leading me to spend 100Osmo on fee for nothing (see tx).
❯ osmosisd tx tokenfactory
tokenfactory transactions subcommands

Usage:
  osmosisd tx tokenfactory [command]

Available Commands:
  burn                Burn tokens from an address. Must have admin authority to do so.
  change-admin        Changes the admin address for a factory-created denom. Must have admin authority to do so.
  create-denom        create a new denom from an account. (Costs osmo though!)
  mint                Mint a denom to an address. Must have admin authority to do so.
  set-beforesend-hook Set a cosmwasm contract to be the beforesend hook for a factory-created denom. Must have admin authority to do so.

Osmosis Version
23.0.8
How to reproduce?
install daemon and run osmosisd tx tokenfactory

hey, please correct if I am wrong, as per my understanding by simply removing (Costs osmo though!) from the docs should solve the issue, is that right? As per proposal  denom creation fee should be 0, unless something have changed since them. I would be more than happy to update docs. cc @PaddyMc

probably yes

Opened PR-8248. In case there is any additional work that should be reflected in PR, I am looking forward to discuss it and implement.

authors: MbBrainz deividaspetraitis

repo: osmosis-labs/osmosis


text:
[CI] Align check-state-compatibility workflow on v6

What is the purpose of the change
This is a manual backport of the correct check-state-compatibility workflow.
We had different workflows on different branches created by cherry-picking commits while backporting. This PR aligns all vY.x branches to use the same workflow.
Brief Changelog

Align check-state-compatibility workflow on all branches

Testing and Verifying
N.A.
Documentation and Release Note

Does this pull request introduce a new feature or user-facing behavior changes? no
Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? no
How is the feature or change documented? no

Codecov Report

Merging #3299 (53c7d15) into v6.x (03c9d7a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             v6.x    #3299   +/-   ##
=======================================
  Coverage   19.06%   19.06%
=======================================
  Files         167      167
  Lines       23684    23684
=======================================
  Hits         4516     4516
  Misses      18387    18387
  Partials      781      781

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

authors: codecov-commenter niccoloraspa


text:
fix: cl param name

Closes: #XXX
What is the purpose of the change
The param name for permissionless pool creation is wrong, which caused param change proposal confusion

On call, decided to deal with the incorrect name


text:
Update cbindgen, clap, and strum_macros

The original goal of this patch was to update polar-core's heck transitive dependency to 0.4 so that dependents on oso would not have to build heck 0.3. Updating strum_macros to 0.24 is sufficient to accomplish this. However, the PR as submitted is a larger changeset also including a version bump of cbindgen (which removes heck 0.3 within the oso repository) and clap (essentially unrelated).
Of the changes, the clap update is the most dubious since criterion still requires clap 2 (for now, at least), which may cause developer and CI build times to increase. If only the minimum set of changes (i.e. updating strum_macros) is preferred, I can amend the PR to match.
PR checklist:

[ ] Added changelog entry.
[PENDING COMMENT ON ACCEPTABLE CHANGES]

@onalante-msft Could you accept the CLA and proceed with this PR? I'm currently getting pulling duplicate dependencies due to polar-core using an old version of strum-macros.

Hey @gj, I've submitted a PR, would you mind reviewing it?

authors: FinnRG onalante-msft

repo: osohq/oso


text:
Not working on hardware with ADRF6755

Hello,
I'm trying to simulate GPS in real time, (without creating files). All "time-machine" issues I solved already, 260k samples I generate in 50mS only! But GPS receiver (android phone with AndroiTS GPS Test) does not understand it.

My hardware is based on ADRF6755 I/Q modulator.
I compared my generated digits with gpssim.bin. Content is identical. I used the last brdc3090.16n RINEX file. Reference clock is 2.5ppm
Tryed to use various attenuators upto 47dB (integrated in ADRF6755).
Here is a spectrum, connected directly to the output with 40dB attenuator:
https://drive.google.com/file/d/0B-O8KdbrAqdCNVVwVk5Bbk9OYXM/
https://drive.google.com/file/d/0B-O8KdbrAqdCOVNxSEwwY1RqUXc/
The location is fixed (option-l in gps-sdr-sim).
I update my DAC at 2.6MHz sample rate. What could be wrong?
Thanks in advance for any comments.

Разместить android phone with AndroiTS GPS Test так что бы он не пинимал реальных спутников.
При небольшой выходной мощности 40dB attenuator не обязателен. Я вообще ими не пользуюсь.
Проверить что windows обеспечивает слитную передачу без пропусков. Например мой i7 под win7 может по Tx USB может прекращать передачу аж до 5 милисекунд.
И т.д. например, проверить правильность полярности на Tx "0" и "1" в ADRF6755, возможно она инверсная.

There is no Windows in the system. Just Cortex-A5, FPGA+DAC+ADRF6755
I put the scope on "start packet" pin, and always see nice pulse every 100mS.
I know the possibility, that I and Q signals may be switched. So I made it switchable from user interface. But no difference so far.

Тогда используя типа https://github.com/taroz/GNSS-SDRLIB проверить излучается ли правильно хотя бы преамбула. Если преамбула излучается то искать ошибку  в SW Cortex-A5.

Спасибо. Ценный намёк. Но для воспользования - неделя роботы (финальные данные у меня в FPGA). Если не найду других вариантов - начну идти по этом пути.

authors: IvanKor Vakaras-x

repo: osqzss/gps-sdr-sim


text:
vulnerabilities: Improve the representation of the severity and its handling

advisor data model
The data model of the severity of vulnerabilities aka. VulnerabilityReferenceis not very strictly typed.
So, it provides too much flexibility which introduces unnecessary complexity and the handling in multiple places is not as straight forward as it could be. A more stricter typing would help, e.g.:

Introduce an enum for the known scoring systems
A severity should become a tuple (scoring-system, value) whereas value is a lossless representation of
the severity, e.g. in CVSS this would be the vector (not the score).
Have a UNKNOWN scoring system, for which the value is free text.
For each scoring system, have a function getScore() (and maybe getScore range) for a number representation and getTextValue() for a textual representation.

Question: Should we use a severity list (like OSV does) to allow multiple representation of (the same) severity in different scoring systems, or stick to a single one? (I'd slightly tend towards a list to allow for a straight forward / non-opinionated mapping from the OSV data model)
evaluator / policy rules
In the evaluator the use case is to take vulnerabilities from the advisor and create violations if any.
The relevant part / question in this context is how to best map the severity tuples mentioned above, to
the severity of a rule violation. I propose the following

The mapping from the advisor vulnerability severity to the severity of the corresponding rule violation should be completely user configurable. Therefore this should happen in the policy rules itself. However, ORT could provide a reasonable default implementation as a function of the rules API or alternatively as a function in the default or example rules.
For the rule violations I believe mapping to ORT's severity (ERROR, WARNING, HINT) is fine but that should be agreed upon upfront.

evaluated model
Fix the conversion from severity to text.

This relates to addressing the issue mentioned here. The idea that I mentioned in a community meeting was to refactor the CVSS classes into a sealed class hierarchy.

authors: fviernau sschuberth

repo: oss-review-toolkit/ort


text:
Kotest upgrade

Please have a look at the individual commit messages for the details.

Merging despite the unrelated AskalonoScannerTest failure on AppVeyor due to a socket timeout.


text:
Adding contributor information in the About Page

Original Issue https://github.com/oss-slu/lrda_website/issues/181
Description
As a developer,
I want to add contributor information to the About page of the website,
So that users can see and acknowledge the developers who contributed to the project.
Tasks

[ ] Design a section on the About page to display contributor(yours) information.

[ ] Ensure that the layout is clean and visually appealing.

[ ] Add GitHub and LinkedIn links for contributors (if you have both).

[ ] Include relevant roles or contributions for each developer (if available).

[ ] Ensure all links are functional and direct to the correct profiles.

[ ] Verify that the information is displayed correctly across different browsers.

[ ] Confirm the section is visually consistent with the rest of the About page.

Hey there @BaloneyBoy97  can i take this up

sorry man that is for the capstone student


text:
Need to have a separate charter

This WG needs to have an independent charter. Similar to the End Working Group Some organizations would like to join this group but can only do so if this group has a charter. We will make such a charter for you to look at and approve to help.

Solved by #9, thank you for opening it.

authors: hythloda mihaimaruseac

repo: ossf/ai-ml-security


text:
Allow custom label on raised issue

Allstar always creates it's issue(s) with a gray label called allstar.  We use an organization-wide label associated with security / risk that we'd like it to use.  I've read through the code and config files and I don't see how to configure allstar to use a custom label, but it seems like something that would be possible based on the way the config works currently.
Thanks for the great tool!

Thanks for the suggestion, right now it is only configurable at the operator level. I agree it would be good to have this in the org config.

Fixed by #68

authors: jdhaines jeffmendoza

repo: ossf/allstar


text:
Update README links to point to OSSF

Addresses Issue #7 in README

LGTM from @SecurityCRob in meeting 8/19/21

repo: ossf/oss-vulnerability-guide


text:
Olivekl add webviewer link

What kind of change does this PR introduce?
Add and fix webviewer links so users can easily look up scores for projects
(Is it a bug fix, feature, docs update, something else?)
Docs update

[ ] PR title follows the guidelines defined in our pull request documentation

What is the current behavior?
What is the new behavior (if this is a feature change)?**

[ ] Tests for the changes have been added (for bug fixes/features)

Which issue(s) this PR fixes

Special notes for your reviewer
Does this PR introduce a user-facing change?
For user-facing changes, please add a concise, human-readable release note to
the release-note
(In particular, describe what changes users might need to make in their
application as a result of this pull request.)

Pinging @justaugustus because you're in the right timezone :) Getting questions from summit attendees about how to view scores so wanted to add this link ASAP

repo: ossf/scorecard


text:
pySCG adding CWE-78 code and doc

Adding CWE-78 as part of #531
also building on top of discussion from #654

Got approval from Bart.
This is part of #531

repo: ossf/wg-best-practices-os-developers


text:
Affichage événements passés différent sur le site français et le site anglais

L'affichage n'est pas le même

@MagaliAngles sur quelle url stp ?

Les utls : https://www.reseauexcellence.fr/en/agenda/archives/ et https://www.reseauexcellence.fr/en/agenda/archives/
mais je vois qu'effectivement par rapport à mes captures d'écrans, maintenant c'est ok !

authors: MagaliAngles arnaudlevy

repo: osunyorg/epv-site


text:
Cannot add .gltf or .glb at all "file type isn't allowed"

Hello,
I'm testing H5P AR Scavanger in Moodle 3.9 but when I try to upload f.ex. this gltf file;
https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master/2.0/AnimatedCube/glTF/AnimatedCube.gltf
I get an error "file type isn't allowed" and .glb file isn't working either and gives the same error

Why not look at the readme or search the H5P forum for that issue?

Sorry about that, somehow i didn't consider readme to contain useful information :)


text:
nl.json

First Dutch translation.
Please check line 12. I've  compared these with the English and German translations and if you read them, you expect (*) instead of (\*)  and (::) instead of (\::).  Even this comment isn't displayed correctly. Backslashes are not visible as I wrote.

Thanks for the check and the explanation makes it clear.


text:
Properly handle protocol-relative paths

Currently, calling ToAbs() will incorrectly handle protocol-relative URLs and append the entire URL to the base hostname. There's actually an example of this in the test files already, but the case wasn't being tested. This fixes the handling of protocol relative URLs, which are quite common.

protocol-relative URL!!
Great catch!!!! Thanks a ton!!


text:
Add note about transaction fees

Description
This adds a final bullet point under the 3 existing for "Requirements for Replace Artwork proposal:" and highlights to the user that it could incur serious gas fees. The bullet point is bold/red to warn the user.
Motivation & context
This will help future DAO members understand the high gas fees associated with both proposing and executing a transaction to repalce the artwork.
Code review
Should be fairly straightforward - a basic addition of a singular bullet point.
Type of change
Provides more context to a user before they initiate a costly trait update proposal.
Checklist

[x] I have done a self-review of my own code
[X] Any new and existing tests pass locally with my changes
[X] My changes generate no new warnings (lint warnings, console warnings, etc)

Reach me on Discord @borg00000

repo: ourzora/nouns-builder


text:
Sample EIM policy in install guide

Is your feature request related to a problem?/Why is this needed
As it is not a best practice to use root AK/SK with this tool, we should provide a sample Policy document that could be attached to a less-privileged EIM user.
/feature
Describe the solution you'd like in detail
A sample EIM policy should be present in the README, along with the recommendation to bind this policy to an EIM user dedicated for the BSU driver.
Describe alternatives you've considered
Precisely listing the privileges required for managing the BSUs, but it may be over-complicated for new-comers. A sample EIM policy is a good starting point.
Additional context
Sample policy that could be given to users:
{
    "Statement": [
        {
            "Action": [
                "api:ReadVms",
                "api:ReadVmsState",
                "api:ReadSnapshots",
                "api:CreateSnapshot",
                "api:DeleteSnapshot",
                "api:CreateVolume",
                "api:ReadVolumes",
                "api:LinkVolume",
                "api:UnlinkVolume",
                "api:UpdateVolume",
                "api:DeleteVolume"
            ],
            "Resource": [
                "*"
            ],
            "Effect": "Allow"
        }
    ]
}

already present : https://github.com/outscale-dev/osc-bsu-csi-driver/blob/OSC-MIGRATION/docs/example-iam-policy.json

Ha. I missed it :) So it rather boils down to enhancing the README in that case :)

to be reolved with https://github.com/aniszosc/osc-bsu-csi-driver/commit/50dcf00859238e9d75896f6045aec066e535d241

authors: aniszosc outscale-age

repo: outscale-dev/osc-bsu-csi-driver


text:
配套的WEBRTC版本咨询

1）README中提到的WEBRTC配套版本是[WebRTC] M104
windows环境，在编译windows_capture相关代码时，提示BlockingCall方法不存在
vcm_ = thread_->BlockingCall(std::bind(&VcmCapturer::_createDevice, this, unique_name));
thread_实际为webrtc中的rtc::thread，想了解下推荐的webrtc版本是多少呢？多谢哈
2）在编译windows_capture相关代码时，提示#include "logger/u_logger.h"文件不存在
是不是需要改成#include "logger/spd_logger.h"呢？
构建环境：Visual Studio 2019（V142）、Window 10 SDK 10.0.17763.0、C++语言标准：ISO C++17 标准 (/std:c++17)

1）README中提到的WEBRTC配套版本是[WebRTC] M104
想起来了我升级了libmediasoupclient库，webrtc用M111
2）在编译windows_capture相关代码时，提示#include "logger/u_logger.h"文件不存在
是不是需要改成#include "logger/spd_logger.h"呢？
是的，改成#include "logger/spd_logger.h"。windows有段时间没跑了，现在都是在macOS上跑

好的，多谢啦，windows我试试看哈：）

authors: lixiaochun ouxianghui

repo: ouxianghui/mediasoup-client


text:
feat(datagrid): add expandable rows

Datagrid - Line grouping / Collapsible rows
:rocket: Feature
4669834a - feat(datagrid): add expandable rows
:bookmark: Todo

[ ] Add tests

You should call it "oui-datagrid-row-detail", it seems to be the most used term for this kind of feature

Yes, like here for example.

This feature has now been integrated by @JeremyDec (https://github.com/ovh-ux/ovh-ui-kit/pull/462), and released in v3.3.0 (https://github.com/ovh-ux/ovh-ui-kit/blob/master/packages/libs/ui-kit/CHANGELOG.md).
Thanks for you contribution !

authors: AxelPeter FredericEspiau rmajasol

repo: ovh-ux/ovh-ui-kit


text:
Foregrounded mode

I'd like to suggest adding a foreground mode, similar to TMate's -F option, to allow clients to connect without requiring further interaction on the host side. This would make upterm useful in automated systems/CI environments where it's not always possible to provide input.

Yes, I would like a foreground mode to help with automation like https://github.com/lhotari/action-upterm/issues/1.

authors: owenthereal valenvb

repo: owenthereal/upterm


text:
Proposal: uniquely address a catalog table and subcontents

Backlinks

https://github.com/owid/etl/issues/187
Data addressing scheme in Notion (recommended, a lot of good stuff there!)

Goals
Ideally the addressing scheme would be short, human and machine readable, universal, ... however, we might have to do compromises, so it's better to state what is our primary goal beforehand. Since we plan to make it work with grapher first, I think we don't have to focus on human readability or nice slugs as much as having it fit nicely into our current system. Short and readable slugs are nice to have, but if we have a browsable catalog then users are gonna just copy&paste the URL from search results anyway.
Paradigms
We can either go the mainstream way and have a standard API or we can open our database to the world through the API and let anyone write queries against it. The second option is risky, but opens up some interesting possibilities

SQL interface everyone is familiar with
client-side processing with DuckDB-wasm
other layers on top of this API

We could do both and build helper endpoints on top of the main SQL endpoint.
Dataset addressing
ETL paths
Use paths from ETL catalog, i.e. channel/institution/version/dataset/table. These can get long especially with backported datasets (they are automatically underscored), the main advantages are consistency with catalog and readability. The main problem is length - practical limit is 2048 characters (newer browsers have higher limit) which is ok for a dataset, but if we add columns selection to URL then it might become unfeasible (although we are selecting at most a few columns in practice).
Even though there are limitations, I think this is the most straightforward solution. If we hit URL length limits we can always send it as POST request with additional info in columns.
Note: backported datasets are currently prefixed with dataset_[dataset.id] and the table uses the same name as the dataset most of the time, this is not great and could be definitely improved, ideas welcomed
People living in democracies

backport/owid/latest/dataset_5546_political_regimes__skaaning_et_al__2015/dataset_5546_political_regimes__skaaning_et_al__2015.feather

Maddison GDP dataset

backport/owid/latest/dataset_1924_maddison_project_database_2018__bolt_et_al__2018/dataset_1924_maddison_project_database_2018__bolt_et_al__2018.feather

Population density

garden/owid/latest/population_density/population_density.feather

Faostat

garden/faostat/2022-04-26/faostat_rl/faostat_rl.feather

SQL
We could also expose our database directly and let users use arbitrary SQL queries (DuckDB is read-only so this should be pretty safe). The problem here becomes metadata (it would have to be queried separately).
SELECT country, year, population_density
FROM garden__owid__latest__population_density__population_density

UUIDs

Use UUIDs that represent a table or a column. But the ETL regenerates data on every run, we would need a "deterministic UUID" scheme so that two people on different computers generate the same UUID for the same data 😱

Ideas?
ETL index hashes

Use ETL paths, but (automatically or on disk) keep a list of hashes to those paths. The hashes can be used instead of the path itself.

Ideas? (This somehow touches the paragraph below)
Variable and dataset IDs
To ease the transition from grapher DB to API, we should also support addressing via variable ids (or dataset ids) with special endpoint. All backported datasets hold info about their original variable ids, so constructing map table variable id -> ETL path in API shouldn't be a problem.
Subcontent addressing
Some good propositions were made in the Notion document. Sample query would look like
data://dataset/release/variable?dim1=value1&dim2=value2&dim3=value3

Similarly, we could also use query parameters like columns=A,B,C&years=1950-2020&sex=female or raw SQL.
garden/owid/latest/population_density/population_density.feather?columns=country,year,population_density

Early thought:

We were worried about using the path to identify the variable, since we could exceed GET parameter space when fetching multiple variables

But, this won't be a problem for dimensional tables like in health, since all the data's on the same path

Moved to Notion

authors: Marigold larsyencken

repo: owid/etl


text:
Simplified Chinese language support

Is there any plan to add support for simplified Chinese?

@kulmann https://github.com/owncloud/web/issues/10217
translation-sync for web failed last night related to zh-Hans
does something need to be tweaked/removed to get rid of that error?

I'll look into it today

@jugggao we've moved the Chinese Simplified (zh-Hans) translations into Chinese (zh) in transifex, since we only deal with language codes in translations. We've added Chinese to web, and that will be part of the ocis 5.0.0 release. 🥳

Thank you so much for your support, It's very useful for me!🥳

Thank you so much for your support, It's very useful for me!🥳

Our pleasure - thanks for bringing it up!
I don't know if you were already involved with translations, but in any case, if you want to help with Chinese community translations, you can join the ownCloud Web project here and help translating. https://explore.transifex.com/owncloud-org/owncloud-web/
As you can see there, Chinese (= Simplified) has a coverage of 85%. That is quite good, but you will still find English strings in the UI. ;-)

authors: jugggao kulmann phil-davis

repo: owncloud/ocis


text:
Changing config defaults for extensions based on ocis build flags does not work

Ssetting default values for ocis-phoenix from ocis does not work when the ocis-phoenix flagset has a default value set. when calling service.Init() ot the service created with http.NewService all the config settings will be reset to the defaults ...
It works correctly when using env vars or config options ... when the flags are evaluated the currently configured values will get overwritten with the defaults ...

as a workaround setting envirenmont variables like this works:

    if len(os.Getenv("PHOENIX_OIDC_METADATA_URL")) == 0 {
        os.Setenv("PHOENIX_OIDC_METADATA_URL", "http://localhost:9135/.well-known/openid-configuration")
    }
    if len(os.Getenv("PHOENIX_OIDC_AUTHORITY")) == 0 {
		os.Setenv("PHOENIX_OIDC_AUTHORITY", "http://localhost:9135")
	}

does not work for more complex configs.configuring an external_app for phoenix can still be done because there is no default set for it(, yet):

	// disable built in apps
	cfg.Phoenix.Phoenix.Config.Apps = []string{}
	// enable ocis-hello extension
	cfg.Phoenix.Phoenix.Config.ExternalApps = []svcconfig.ExternalApp{
		svcconfig.ExternalApp{
			ID: "hello",
			Path: "http://localhost:9105/hello.js",
			Config: map[string]interface{}{
				"url": "http://localhost:9105",
			},
		},
	}


text:
[tests-only][full-ci] run cron job on both config, with and without remote.php in dav path

Description
With this PR, the nightly builds will run on both configs, i.e. with and without remote.php in dav path.
Nightly builds currently runs with WITH_REMOTE_PHP=false. We want nightly builds to run with both the config.

Suites have been regrouped to reduce the number of pipelines.
Number of core API test pipelines are reduced from 10 to 7.

There will be two pipelines for every suites, and the pipelines are named as:

apiSpaces - runs with config remote.php in dav path
apiSpaces-without-remote.php - runs without config remote.php in dav path

The nightly builds would run similar to the following build:

https://drone.owncloud.com/owncloud/ocis/40772

Related Issue

https://github.com/owncloud/ocis/issues/10183

Motivation and Context

How Has This Been Tested?

test environment:
test case 1:
test case 2:
...

Screenshots (if appropriate):
Types of changes

[ ] 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 change)
[ ] Technical debt
[ ] Tests only (no source changes)

Checklist:

[ ] Code changes
[ ] Unit tests added
[ ] Acceptance tests added
[ ] Documentation ticket raised:

@PrajwolAmatya in which CI build you test these changes works on corn job. Could you ping that CI build link

In the below screenshot, a blank space has been seen before the pipeline name  xxxx-without-remote.php. Is this drone problem or coding error?  ![Screenshot from

just a random idea, how about arranging without-remote.php after with-remote.php pipelines.

In the below screenshot, a blank space has been seen before the pipeline name  xxxx-without-remote.php. Is this drone problem or coding error?

looks like it is from the drone itself. Screenshot from another build

just a random idea, how about arranging without-remote.php after with-remote.php pipelines.

It doesn't seem feasible with the current code for localApiTests.

authors: PrajwolAmatya amrita-shrestha


text:
[full-ci] enhancement: allow ocis to provide custom web applications

Overview
The administrator of the environment is capable of providing custom web applications to the users.
This feature is useful for organizations that have specific web applications that they want to provide to their users.
It's important to note that the feature at the moment is only capable of providing static (js, mjs, e.g.) web applications
and does not support injection of dynamic web applications (custom dynamic backends).
Loading Applications
Loading applications is provided in three ways:

By loading a web application from a user-provided path, by setting the WEB_APPS_PATH environment variable.
By loading a web application from the default ocis home directory, e.g. $OCIS_BASE_DATA_PATH/web/apps.
By embedding a web application into the ocis binary which is a build-time option,
e.g. ocis_src_path/services/web/apps followed by a build.

The list of available applications is composed of the build in extensions and the custom applications
provided by the administrator, e.g. WEB_APPS_PATH or $OCIS_BASE_DATA_PATH/web/apps.
for example, if ocis contains a build in extension image-viewer-dfx and the administrator provides a custom
application image-viewer-obj in the WEB_APPS_PATH directory,the user will be able to access both applications
from the web ui.
Application Structure
Applications always have to follow a strict structure, which is as follows:

an application must be a directory
an application must contain a manifest.json file

everything else is skipped and not considered as an application.
The manifest.json file contain the following fields:

id - required - the name of the application must be unique across all applications
entrypoint - required - the entrypoint of the application, e.g. index.js, the path is relative to the parent directory
config - optional - a list of key-value pairs that are passed to the global web application configuration

Application Configuration
it's important to note that an application manifest should never be changed manually;
if a custom configuration is needed, the administrator should provide the required configuration inside the
$OCIS_BASE_DATA_PATH/config/apps.yaml file.
The apps.yaml file must contain a list of key-value pairs which gets merged with the config field.
For example, if the image-viewer-obj application contains the following configuration:
{
  "id": "image-viewer-obj",
  "entrypoint": "index.js",
  "config": {
    "maxWith": 1280,
    "maxHeight": 1280
  }
}

and the apps.yaml file contains the following configuration:
image-viewer-obj:
  config:
    maxHeight: 640
    maxSize: 512

the final configuration for web will be:
{
  "external_apps": [
    {
      "id": "image-viewer-obj",
      "path": "index.js",
      "config": {
        "maxWith": 1280,
        "maxHeight": 640,
        "maxSize": 512
      }
    }
  ]
}

besides the configuration from the manifest.json file, the apps.yaml file can also contain the following fields:

disabled - optional - defaults to false - if set to true, the application will not be loaded

The local provided configuration yaml will always override the shipped application manifest configuration.
Fallback Mechanism
Besides the configuration and application registration, there is one further important aspect to now;
in the process of loading the application assets, the system uses a fallback mechanism to load the assets.
This is incredibly useful for cases where just a single asset should be overwritten, e.g., a logo or similar.
Consider the following, ocis is shipped with a default extension called image-viewer-dfx which contains a logo,
but the administrator wants to provide a custom logo for the image-viewer-dfx application.
This can be achieved by providing a custom logo in the WEB_APPS_PATH directory, e.g. WEB_APPS_PATH/image-viewer-dfx/logo.png.
Every other asset is loaded from the build in extension, but the logo is loaded from the custom directory.
The same applies for the manifest.json file, if the administrator wants to provide a custom manifest.json file.
Miscellaneous
Please note that ocis needs a restart to load new applications or changes to the apps.yaml file.
PR related information
Related Issue

Fixes https://github.com/owncloud/ocis/issues/8392

How Has This Been Tested?

local installation with a set of custom applications

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[ ] Tests only (no source changes)

Checklist:

[x] Write Unit Tests
[ ] Discuss with web-team if something is missing
[ ] Critical review of JailJoin and FS, no breakout allowed
[ ] Add Documentation (follow up pr once everything is done)
[ ] Signature validation (followup pr)
[ ] app loading cli (followup pr)

@butonic, @micbar, @kulmann, the current logic expects a file named web.apps.yml to be located within the BaseConfigPath/config directory.
in my opinion we should use something more flexible like extensions.yml,.
The reason why I'm torn is that when we mention web in the name, everyone assumes that these are only web apps (static files)...
But I think it would be great if we also allowed injecting proxy routes in the long term. what do you all mean?

we discussed the following adjustments:

app configurations are done in the $OCIS_BASE_DATA_PATH/config/apps.yaml file
custom apps are served from $OCIS_BASE_DATA_PATH/web/assets/apps or $WEB_APPS_PATH
build in apps (compile time) are located in ocis_src_path/services/web/assets/apps
the web static asset (ui) path is now /assets/core instead of /assets (build time and default fs location)
WEB_ASSET_PATH is deprecated in favor of WEB_ASSET_CORE_PATH, a fallback mechanism and deprecation warning is build in.

cc.: @kulmann

I’m not happy with the fallbackfs, I need to apply one more change before we merge it.

we discussed the following adjustments:

app configurations are done in the $OCIS_BASE_DATA_PATH/config/apps.yaml file
custom apps are served from $OCIS_BASE_DATA_PATH/web/assets/apps or $WEB_APPS_PATH
build in apps (compile time) are located in ocis_src_path/services/web/assets/apps
the web static asset (ui) path is now /assets/core instead of /assets (build time and default fs location)
WEB_ASSET_PATH is deprecated in favor of WEB_ASSET_CORE_PATH, a fallback mechanism and deprecation warning is build in.

cc.: @kulmann

was unable to load app with the latest changes and I was wondering why. Then found out that the env was changed
~$WEB_APPS_PATH~ $WEB_ASSET_APPS_PATH

@fschade can you fix the 10 new sonarcloud issues?

@fschade can you fix the 10 new sonarcloud issues?

sonarCloud is in those cases wrong in my opinion, its about string usage in tests and test naming, i try to exclude those two rules for tests only, but not today

@fschade IMPORTANT --> before merging, see my comment: https://github.com/owncloud/ocis/pull/8523#discussion_r1512570948

authors: fschade micbar mmattel saw-jan


text:
Configure /assert off by default

/assert is only useful for testing, and allows the client posting to it to have a reasonable amount of control over the returned JSON, which might be conceivably be useful for some sort of cross-site attacks. I don't immediately see a lot of risk, but there's no reason to have it on for production.

Done.

repo: owtaylor/metastore


text:
feat(prettier): implement format function for BindingPattern

feat(prettier): implement format function for BindingPattern
feat: full match

Current dependencies on/for this PR:

main

PR #1303

PR #1304

PR #1305

PR #1306   👈

This stack of pull requests is managed by Graphite.

Merge activity

Nov 14, 7:22 AM: @Boshen started a stack merge that includes this pull request via Graphite.

authors: Boshen Dunqing

repo: oxc-project/oxc


text:
feat(tasks/transforme_conformance): support for testing oxc's test cases

Related to: https://github.com/oxc-project/oxc/pull/2822#issuecomment-2021802212
Although babel has a lot of test cases, we still need to add edge cases that babel doesn't have.
This PR will allow us to add our test cases to /root/oxc/tasks/transform_conformance/tests. The directory structure is consistent with babel
For example
# cd /root/oxc/tasks/transform_conformance/tests
- babel-transform-plugin–optional-catch-binding
   - test
       - fixtures
           - your tests # add test cases here

#2835  👈
main

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

Join @Dunqing and the rest of your teammates on  Graphite

@rzvxa cc

@Dunqing It is awesome, Thanks for putting the time into doing it.

authors: Dunqing rzvxa


text:
Use github service account's access token to push charts to Helm repo

https://docs.github.com/en/actions/reference/authentication-in-a-workflow
The GITHUB_TOKEN does not have write access to other repos. Hence we have a personal access token stored as CI_GITHUB_TOKEN that has public_repo perms.
This is a developer's token. We have a service account that should generate a token and we should use that.

all done


text:
GSSoC : Link the options on hero section to the respective pages

Description
The options given in the hero section should be clickable and link to the respective page.
Changes You need to make
I will direct the links to the respective pages.

file1
file2
file3

Screenshots

Checklist
Before submitting your pull request, ensure that you have completed the following tasks:

[x] Gone through the rules and guidelines of the project.
[x] When you are creating PR, your PR should title follows the specified format: [Feature/Enhancement/Bug Fix]: Brief description of the change.
[x] Attached OSSI or GSSoC in the heading of the Issue.
[x] I have checked this issue is not already covered in another issue.

Expected Time to Complete
1 day
Additional Notes
Add any additional information, concerns, or considerations that may be relevant to your pull request. This could include performance implications, future enhancements, or potential risks associated with the changes.

I also felt the same! Go ahead.

repo: oxiton-foundation/click-metrics