[FCNPC] Error: NPC 'Zombie_11' not created. Name 'Zombie_11' is invalid or the maxnpc limit in server.cfg has been reached.

[18:50:25] [npc:join] Zombie_0 has joined the server (499:<IP_ADDRESS>)
[18:50:25] [npc:join] Zombie_1 has joined the server (498:<IP_ADDRESS>)
[18:50:25] [npc:join] Zombie_2 has joined the server (497:<IP_ADDRESS>)
[18:50:25] [npc:join] Zombie_3 has joined the server (496:<IP_ADDRESS>)
[18:50:25] [npc:join] Zombie_4 has joined the server (495:<IP_ADDRESS>)
[18:50:25] [npc:join] Zombie_5 has joined the server (494:<IP_ADDRESS>)
[18:50:25] [npc:join] Zombie_6 has joined the server (493:<IP_ADDRESS>)
[18:50:25] [npc:join] Zombie_7 has joined the server (492:<IP_ADDRESS>)
[18:50:25] [npc:join] Zombie_8 has joined the server (491:<IP_ADDRESS>)
[18:50:25] [npc:join] Zombie_9 has joined the server (490:<IP_ADDRESS>)
[18:50:25] [npc:join] Zombie_10 has joined the server (489:<IP_ADDRESS>)
[18:50:25] [npc:join] Zombie_11 has joined the server (488:<IP_ADDRESS>)
[18:50:25] » Error al borrar un label
[18:50:25] » Error al borrar un label
[18:50:25] [npc:part] Zombie_11 has left the server (488:2)
[18:50:25] [FCNPC] Error: NPC 'Zombie_11' not created. Name 'Zombie_11' is invalid or the maxnpc limit in server.cfg has been reached.
[18:50:25] [debug] Run time error 4: "Array index out of bounds"
[18:50:25] [debug]  Accessing element at index 65535 past array upper bound 499
[18:50:25] [debug] AMX backtrace:
[18:50:25] [debug] #0 003200f8 in ?? (65535) from OD-RP.amx
[18:50:25] [debug] #1 0031e5a0 in ?? (52224640) from OD-RP.amx
[18:50:25] [debug] #2 0031e4e0 in ?? () from OD-RP.amx
[18:50:25] [debug] #3 0009c6d8 in public zcmd_OnGameModeInit () from OD-RP.amx
[18:50:25] [debug] #4 native CallLocalFunction () from samp03svr
[18:50:25] [debug] #5 0002953c in public fcnpc1_OnGameModeInit () from OD-RP.amx
[18:50:25] [debug] #6 0002938c in public fcnpc0_OnGameModeInit () from OD-RP.amx
[18:50:25] [debug] #7 00028fe0 in ?? () from OD-RP.amx
[18:50:25] [debug] #8 0001c0a0 in public SSCANF_OnGameModeInit () from OD-RP.amx
[18:50:25] [debug] #9 0000b62c in public Itter_OnGameModeInit () from OD-RP.amx
[18:50:25] [debug] #10 native CallLocalFunction () from samp03svr
[18:50:25] [debug] #11 00009a7c in public ScriptInit_OnGameModeInit () from OD-RP.amx
[18:50:25] [debug] #12 00008a00 in public OnGameModeInit () from OD-RP.amx
[18:50:25]  *********************************************************
My server.cfg (Server samp 0.3.7 R-2) Usingf fcnpc 1.8.2
maxplayers: 500
maxnpc: 500
Script:
#define MAX_ZOMBIES 300
#undef 	MAX_PLAYERS
#define MAX_PLAYERS	MAX_ZOMBIES+200
stock crearZombies()
{
new name[MAX_PLAYER_NAME + 1];
for(new i = 0; i<MAX_ZOMBIES; i++)
{
format(name, sizeof(name), "Zombie_%d", i);
crearZombie(name);
}
public OnGameModeInit()
{
crearZombies();
I don't know what is wrong now , any help would be nice ! thanks in advance.

The problem is in the amx, not in the plugin. Build your gamemode with -d2
or -d3 flag yo get additional information.
On Fri, Mar 2, 2018, 03:11 blackaslan<EMAIL_ADDRESS>wrote:

[18:50:25] [npc:join] Zombie_0 has joined the server (499:<IP_ADDRESS>)
[18:50:25] [npc:join] Zombie_1 has joined the server (498:<IP_ADDRESS>)
[18:50:25] [npc:join] Zombie_2 has joined the server (497:<IP_ADDRESS>)
[18:50:25] [npc:join] Zombie_3 has joined the server (496:<IP_ADDRESS>)
[18:50:25] [npc:join] Zombie_4 has joined the server (495:<IP_ADDRESS>)
[18:50:25] [npc:join] Zombie_5 has joined the server (494:<IP_ADDRESS>)
[18:50:25] [npc:join] Zombie_6 has joined the server (493:<IP_ADDRESS>)
[18:50:25] [npc:join] Zombie_7 has joined the server (492:<IP_ADDRESS>)
[18:50:25] [npc:join] Zombie_8 has joined the server (491:<IP_ADDRESS>)
[18:50:25] [npc:join] Zombie_9 has joined the server (490:<IP_ADDRESS>)
[18:50:25] [npc:join] Zombie_10 has joined the server (489:<IP_ADDRESS>)
[18:50:25] [npc:join] Zombie_11 has joined the server (488:<IP_ADDRESS>)
[18:50:25] » Error al borrar un label
[18:50:25] » Error al borrar un label
[18:50:25] [npc:part] Zombie_11 has left the server (488:2)
[18:50:25] [FCNPC] Error: NPC 'Zombie_11' not created. Name 'Zombie_11' is
invalid or the maxnpc limit in server.cfg has been reached.
[18:50:25] [debug] Run time error 4: "Array index out of bounds"
[18:50:25] [debug] Accessing element at index 65535 past array upper bound
499
[18:50:25] [debug] AMX backtrace:
[18:50:25] [debug] #0 003200f8 in ?? (65535) from OD-RP.amx
[18:50:25] [debug] #1 https://github.com/ziggi/FCNPC/issues/1 0031e5a0
in ?? (52224640) from OD-RP.amx
[18:50:25] [debug] #2 https://github.com/ziggi/FCNPC/issues/2 0031e4e0
in ?? () from OD-RP.amx
[18:50:25] [debug] #3 https://github.com/ziggi/FCNPC/issues/3 0009c6d8
in public zcmd_OnGameModeInit () from OD-RP.amx
[18:50:25] [debug] #4 https://github.com/ziggi/FCNPC/issues/4 native
CallLocalFunction () from samp03svr
[18:50:25] [debug] #5 https://github.com/ziggi/FCNPC/issues/5 0002953c
in public fcnpc1_OnGameModeInit () from OD-RP.amx
[18:50:25] [debug] #6 https://github.com/ziggi/FCNPC/issues/6 0002938c
in public fcnpc0_OnGameModeInit () from OD-RP.amx
[18:50:25] [debug] #7 https://github.com/ziggi/FCNPC/issues/7 00028fe0
in ?? () from OD-RP.amx
[18:50:25] [debug] #8 https://github.com/ziggi/FCNPC/issues/8 0001c0a0
in public SSCANF_OnGameModeInit () from OD-RP.amx
[18:50:25] [debug] #9 https://github.com/ziggi/FCNPC/issues/9 0000b62c
in public Itter_OnGameModeInit () from OD-RP.amx
[18:50:25] [debug] #10 https://github.com/ziggi/FCNPC/issues/10 native
CallLocalFunction () from samp03svr
[18:50:25] [debug] #11 https://github.com/ziggi/FCNPC/issues/11
00009a7c in public ScriptInit_OnGameModeInit () from OD-RP.amx
[18:50:25] [debug] #12 https://github.com/ziggi/FCNPC/issues/12
00008a00 in public OnGameModeInit () from OD-RP.amx
[18:50:25] *********************************************************
My server.cfg (Server samp 0.3.7 R-2) Usingf fcnpc 1.8.2
maxplayers: 500
maxnpc: 500
Script:
#define MAX_ZOMBIES 300
#undef MAX_PLAYERS
#define MAX_PLAYERS MAX_ZOMBIES+200
stock crearZombies()
{
new name[MAX_PLAYER_NAME + 1];
for(new i = 0; i<MAX_ZOMBIES; i++)
{
format(name, sizeof(name), "Zombie_%d", i);
crearZombie(name);
}
I don't know what is wrong now , any help would be nice ! thanks in
advance.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ziggi/FCNPC/issues/133, or mute the thread
https://github.com/notifications/unsubscribe-auth/AA-Qw7XiODUfNqTkXathJReYCdcvWGWvks5taI5EgaJpZM4SZM7J
.

Thanks you very much !


Documentation on how Get<T> and GetAsync<T> work?

This seems like a very pleasant library to use, but so far I've been unable to make the .Get<T> and .GetAsync<T> calls to work.
For example:
Here's my POCO:
public class SchemaColumn
{
    public string Name { get; set; }
    public int Position { get; set; }
    public string Type { get; set; }
    public int MaxCharLength { get; set; }
    public string DataType { get; set; }
    public bool IsIdentity { get; set; }
}

The following query simply returns null.
 var result = db.Query("information_schema.columns")
                .Select(
                    "column_name",
                    "ordinal_position",
                    "data_type",
                    "character_maximum_length",
                    "udt_name",
                    "is_identity")
                .Where("table_name", "=", tableName)
                .OrderBy("ordinal_position")
                .Get<SchemaColumn>

The same for the one below:
 var result = db.Query("information_schema.columns")
                .Select(
                    "column_name as Name",
                    "ordinal_position as Position",
                    "data_type as Type",
                    "character_maximum_length as MaxCharLength",
                    "udt_name as DataType",
                    "is_identity as IsIdentity")
                .Where("table_name", "=", tableName)
                .OrderBy("ordinal_position")
                .Get<SchemaColumn>

How exactly does this mapping work? Is there any documentation on how these methods work?

The second example should actually work, and .Get<SchemaColumn> should be .Get<SchemaColumn>(). If the problem persist please share a project that reproduce the error.

Sorry about the lack of (), made a slight mistake there. Currently I haven't been able to get it to work. If I still can't make it work later today I'll quickly throw up a repo on Github that reproduces my problem.
Also, I probably should have pointed out that I'm using the latest version of your library, 1.1.7.

After fiddling around with this some more, I've managed to make this work. I'm not 100% sure what I did wrong previously.
I still think it might be helpful to add a few lines of documentation for this functionality though, as I'm still not sure what the exact requirements are.
Sorry for wasting your time with this though, and thanks for maintaining this cool library.

@romatthe great it worked, I will take this into consideration, feel free to open an issue here https://github.com/sqlkata/docs if you find something specific that can be improved.


Samples state

Adds support for samples to load as *.glance state files.
State files now support referring to a dataset via a URL rather than embedding the dataset inside the state file. Currently the only way to craft these state files is to edit the state file directly.
Fixes #132

I have corresponding *.glance files for all samples. Just need to find a place to host them...

:tada: This PR is included in version 2.3.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


mod: replace lndclient dependency

This is a draft PR in order to be able to easily test the fix for issue #540.
This PR replaces the lndclient dependency with a fork that has the macaroon regeneration fix.
Fixes #540

Updated the PR to bump lndclient to v0.16.0-13 now that the macaroon regeneration fix has been merged 🚀!


format requester.rb according to ruby-like syntax

remove setting variables that aren't used
remove explicit returns, and add new line above any last value returned in a method.

SO much beautifuler more.  Thanks!


DOC: Show probability density functions as math

Follow-up for pull request #7756 /
commit c8f91ae303af8487f702c3a3266d5eb59b82eefa
For LaTeX, the following rules were decided:

No \left ( ... \right )
\le, \ge, \ne and not \leq, \geq, \neq
No \cdot for multiplication (just ommit it)
No grouping {...}^x
exp vs e: https://tex.stackexchange.com/a/254786/5645

All of this aims at making the source code easy to read
while still having a nice rendered formula
The pseudocode was kept in the comments for easier
maintainability.

Some issues:
SyntaxError: invalid escape sequence \e

and
Docstring contains a non-printable character '\x0c'! Maybe forgot r"""?

Using r""" for all docstrings should fix that.

Thanks for implementing this so quickly!

Using r""" for all docstrings should fix that.

argh, I always forget that. I wonder why the Sublime Plugin "Python Fake8 lint" does not mention it ... I think it did a while ago.

Thanks for implementing this so quickly!

Sure, no problem :-)

LGTM, merged. Thanks @MartinThoma


Cocorico Functions Capability

Q
A

Bug report?
[ ]

Feature request?
[ ]

Support request?
[X]

Hi everyone using Cocorico, I'm trying to build my platform to see the scalability of Cocorico as my platform moving forward but would like to check some concerns you guys may have experience with.
1 - Can we manually activate "Offerer" status as admin? So users who create an account are all "Askers" unless admin enable the account to also be "Offerer" before they can create listings? I know the work around is to enable pre-moderation of listings, but it would be better if we can manually enable accounts to be Offerer.
2 - Instant booking & Booking Request - By default the system seems to be booking request where the offerer must accept the booking for it to be confirmed. Are we able to have both instant and request types? So certain accounts can be instant and certain will be booking request or only one type, either instant or request? If so how do I change it to instant?
3 - Last, why is my Cocorico dashboard empty compared to other screenshots I've seen?

Thanks,
Otomo

Hi @automotechnologies
1 - This feature does not exist. The work needed to do it should not be too complex neither too long.  If you have Symfony skills you should be able to do it yourself.
2- This feature is indeed useful but does not exist and is more complex to implement. I will not be surprised that it is added to Cocorico one day.
3- For now this feature is only available in the Enterprise edition.
Hope it helps!

Hi CocoLabs, thank you for the clarification.
Any idea how to change between instant booking and booking request? Might be better for me to start with instant booking and figure out how to implement both options.
Thanks!

Hi @automotechnologies
The instant booking functionality does not exists for now. As it is a relative complex feature we need some time to analyse and have an idea on how to change the booking request to instant booking.
We will do it when we will add this feature not planned for now.

Hi @cocolabssas
Based on the cocorico feature set on the site -
Booking Flow
Cocorico allows you to customize your booking flow as required. You can set validation rules, allow instant booking and define delays after which requests expire.
So currently it can only support booking requests and not instant booking? Even if I'm just going to use 1 type.

Oh one more important question is, right now all listings are unique right? So if a booking is made for day X, it will be unavailable, is there a way we can set a "quantity" for a listings so they can accept multiple bookings for the same day, or at least a simpler unlimited, and manually toggle to unavailable once it's fully booked.

Hi, any updates on whether can we change it to instant booking?
Thanks Cocorico!

Hi team or anyone able to help with those questions?
Thanks!


Do not allow uploading a template that uses a reserved keyword

Fix #586
Here's a small test file:
reserved_keywords.docx
This PR also:

renames the validate_docx_files module to be more general
deletes the unused signature_tester.yml

Not sure why the unit test is failing yet

The tests are now failing because of this: https://github.com/untitaker/python-atomicwrites/issues/61


Modin failed during adding a new column via DataFrame.loc[mask, "new_column"]

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 20.04
Modin version (modin.__version__): https://github.com/modin-project/modin/commit/b7027597985a442734a57949d72e3fa0625b4d43
Python version: 3.8.11
Code we can use to reproduce:

# import pandas as pd
import modin.pandas as pd

df = pd.DataFrame({"A": [0,1,2,3,4]})
df2 = pd.DataFrame({"A": ["a", "b", "c", "d", "e"]})

mask = pd.Series([True, False, False, True, True])

df.loc[mask, "A_new"] = df2.loc[mask, "A"]
print(df)

Describe the problem

Modin is failed during adding a new column via DataFrame.loc[mask, "new_column"]
Source code / logs

Pandas output:
   A A_new
0  0     a
1  1   NaN
2  2   NaN
3  3     d
4  4     e

Modin output:
Traceback (most recent call last):
  File "test.py", line 9, in <module>
    df.loc[mask, "A_new"] = df2.loc[mask, "A"]
  File "/localdisk/aprutsko/modin/modin/pandas/indexing.py", line 741, in __setitem__
    row_lookup, col_lookup = self._compute_lookup(row_loc, col_loc)
  File "/localdisk/aprutsko/modin/modin/pandas/indexing.py", line 868, in _compute_lookup
    raise KeyError(missing_labels)
KeyError: array(['A_new'], dtype='<U5')

@RehanSD is this related to other work you've done?

Duplicate of https://github.com/modin-project/modin/issues/3764


generateDecoyTranscriptome.sh gets ABORTED

Hi,
I got stuck while trying to generate a hybrid fasta decoy file. The script is aborted after the file 'reference.masked.genome.fa' is generated. Since the script is not 'killed' or 'segmentation faulted' (i.e. two issues reported here before) I decided to open a new issue.
Any suggestions would be appreciated.
Thanks!
Source files:
ftp://ftp.ensemblgenomes.org/pub/metazoa/release-44/fasta/lottia_gigantea
My code:
[guidoh@localhost Work]$ bash generateDecoyTranscriptome.sh \
>  -j 1 \
>  -g ./ENSEMBL/Lottia_gigantea.Lotgi1.dna.toplevel.fa.gz \
>  -t ./ENSEMBL/Lottia_gigantea.Lotgi1.cdna.all.fa.gz \
>  -a ./ENSEMBL/Lottia_gigantea.Lotgi1.44.gff3.gz \
>  -o gentrome.files
****************
*** getDecoy ***
****************
-j <Concurrency level> = 1
-g <Genome fasta> = /Work/ENSEMBL/Lottia_gigantea.Lotgi1.dna.toplevel.fa.gz
-t <Transcriptome fasta> = /Work/ENSEMBL/Lottia_gigantea.Lotgi1.cdna.all.fa.gz
-a <Annotation GTF file> = /Work/ENSEMBL/Lottia_gigantea.Lotgi1.44.gff3.gz
-o <Output files Path> = gentrome.files
[1/10] Extracting exonic features from the gtf
[2/10] Masking the genome fasta
terminate called after throwing an instance of 'std::out_of_range'
  what():  vector::_M_range_check: __n (which is 0) >= this->size() (which is 0)
generateDecoyTranscriptome.sh: line 101: 23362 Aborted                 (core dumped) $bedtools maskfasta -fi $genomefile -bed exons.bed -fo reference.masked.genome.fa

***************
*** ABORTED ***
***************

An error occurred. Exiting...
[guidoh@localhost Work]$

Hi @guidohooiveld ,
can you try GTF instead of gff and check if it works ?

We have generated the decoys for some of the organisms here.

Wow, thanks for your fast reply!

Hi @guidohooiveld ,
can you try GTF instead of gff and check if it works ?

I tried, but it didn't work either.... I got the exact same error as when using the gff file...??

We have generated the decoys for some of the organisms here.

THANKS! Just generated an index using this file.

Glad to hear that, if the index is online then it must have run through the gtf file, I am not sure what went wrong on your local run, may be you can check if enough disk or ram is available ?

Well, I don't know how to quickly check how much memory (RAM) was used, but there is sufficient disk space available (>1.5TB).
Moreover, aborting goes very fast (see below).
***************
*** ABORTED ***
***************

An error occurred. Exiting...
Command exited with non-zero status 1
        Command being timed: "bash generateDecoyTranscriptome.sh -j 1 -g ./ENSEMBL/Lottia_gigantea.Lotgi1.dna.toplevel.fa.gz -t ./ENSEMBL/Lottia_gigantea.Lotgi1.cdna.all.fa.gz -a ./ENSEMBL/Lottia_gigantea.Lotgi1.44.gtf.gz -o gentrome.files"
        User time (seconds): 0.03
        System time (seconds): 0.81
        Percent of CPU this job got: 67%
        Elapsed (wall clock) time (h:mm:ss or m:ss): 0:01.26
        Average shared text size (kbytes): 0
        Average unshared data size (kbytes): 0
        Average stack size (kbytes): 0
        Average total size (kbytes): 0
        Maximum resident set size (kbytes): 5004
        Average resident set size (kbytes): 0
        Major (requiring I/O) page faults: 0
        Minor (reclaiming a frame) page faults: 1374
        Voluntary context switches: 39
        Involuntary context switches: 9
        Swaps: 0
        File system inputs: 0
        File system outputs: 2048
        Socket messages sent: 0
        Socket messages received: 0
        Signals delivered: 0
        Page size (bytes): 4096
        Exit status: 1
[guidoh@localhost Work]$

Ah I think I know what's happening, retrospectively, it should have been more clear in the document but can you quickly check how many lines you have in exons.bed file ?
https://github.com/COMBINE-lab/SalmonTools/blob/master/scripts/generateDecoyTranscriptome.sh#L97
I think I am assuming the gtf file to be unzipped which might be the issue here.

Ah I think I know what's happening, retrospectively, it should have been more clear in the document
I think I am assuming the gtf file to be unzipped which might be the issue here.

Yes, you are correct! I indeed did use the compressed .gz files. After extracting these archives, the script runs fine; both with the GFF and GTF3 annotation files.  :+1:
Thanks for your prompt assistance; much appreciated!
[guidoh@localhost Work]$ bash generateDecoyTranscriptome.sh \
>  -j 4 \
>  -g ./ENSEMBL/Lottia_gigantea.Lotgi1.dna.toplevel.fa \
>  -t ./ENSEMBL/Lottia_gigantea.Lotgi1.cdna.all.fa \
>  -a ./ENSEMBL/Lottia_gigantea.Lotgi1.44.gff3 \
>         -o gentrome.files
****************
*** getDecoy ***
****************
-j <Concurrency level> = 4
-g <Genome fasta> = /Work/ENSEMBL/Lottia_gigantea.Lotgi1.dna.toplevel.fa
-t <Transcriptome fasta> = /Work/ENSEMBL/Lottia_gigantea.Lotgi1.cdna.all.fa
-a <Annotation GTF file> = /Work/ENSEMBL/Lottia_gigantea.Lotgi1.44.gff3
-o <Output files Path> = gentrome.files
[1/10] Extracting exonic features from the gtf
[2/10] Masking the genome fasta
[3/10] Aligning transcriptome to genome
>>>>>>>>>>>>>>>>>>
Reference = [reference.masked.genome.fa]
Query = [/Work/ENSEMBL/Lottia_gigantea.Lotgi1.cdna.all.fa]
Kmer size = 16
Window size = 5
Segment length = 500 (read split allowed)
Alphabet = DNA
Percentage identity threshold = 80%
Mapping output file = mashmap.out
Filter mode = 1 (1 = map, 2 = one-to-one, 3 = none)
Execution threads  = 4
>>>>>>>>>>>>>>>>>>
INFO, skch::Sketch::build, minimizers picked from reference = 90283507
INFO, skch::Sketch::index, unique minimizers = 55140979
INFO, skch::Sketch::computeFreqHist, Frequency histogram of minimizers = (1, 42768451) ... (82514, 1)
INFO, skch::Sketch::computeFreqHist, With threshold 0.001%, ignore minimizers occurring >= 1105 times during lookup.
INFO, skch::main, Time spent computing the reference index: 48.0952 sec
INFO, skch::Map::mapQuery, [count of mapped reads, reads qualified for mapping, total input reads] = [17706, 18589, 23349]
INFO, skch::main, Time spent mapping the query : 151.301 sec
INFO, skch::main, mapping results saved in : mashmap.out
[4/10] Extracting intervals from mashmap alignments
[5/10] Merging the intervals
[6/10] Extracting sequences from the genome
index file reference.masked.genome.fa.fai not found, generating...
[7/10] Concatenating to get decoy sequences
[8/10] Making gentrome
[9/10] Extracting decoy sequence ids
[10/10] Removing temporary files

**********************************************
*** DONE Processing ...
*** You can use files `$outfolder/gentrome.fa`
*** and $outfolder/decoys.txt` with
*** `salmon index`
**********************************************

Awesome !! Thanks for confirming and I'll update the doc or the script in a bit.

Hi Avi,
I ran into the same problem. Maybe you could update the description in the Salmon tools Read.me file? In addition, the realpath command is native to ubuntu so I had to source the script below that I found on stackoverflow to work around it. Could maybe be helpful for some of the other users.
Keep up the great work.
Eric
#!/bin/sh
realpath() {
OURPWD=$PWD
cd "$(dirname "$1")"
LINK=$(readlink "$(basename "$1")")
while [ "$LINK" ]; do
cd "$(dirname "$LINK")"
LINK=$(readlink "$(basename "$1")")
done
REALPATH="$PWD/$(basename "$1")"
cd "$OURPWD"
echo "$REALPATH"
}

Yes, indeed all files (gtf, genome and txome) have to be unarchived first in order for the script to not abort...

We have generated the decoys for some of the organisms here.

link's dead :(

I think this was associated with the Stony Brook account, and I lost access, unfortunately, after graduation.

@erzakiev If you face any issues running the scripts, let us know, we'd be happy to help.

@rob-p so kind of you to chime in, thank you! Just wanted to take the opportunity to personally express my utmost respect to the Salmon-Senpai for all your hard work.
@k3yavi thanks for the script (and also for your hard work in maintaining/improving salmon!! I see you are the second-highest contributor!) and also thanks for reaching out. Frankly, I tried running the script locally just now and mashmap crashed my machine after reaching 35Gb memory consumption; of note that I have 64Gb of ram but i do something in the background and can't afford to dedicate the whole machine for god knows how long to the sole purpose of generating the decoys... So I guess I won't try it again, maybe over the weekend.
But there must be someone who already generated these, right? I mean, lots of people use Salmon (hopefully, with decoys). The reference genomes, tx-omes and gtf files are also more or less standardized..

Thanks for your kind words.
Are you indexing the human genome? It can be accessed through refgenie http://refgenomes.databio.org/v3/genomes/splash/2230c535660fb4774114bfa966a62f823fdb6d21acf138d4

Thanks for your kind words.

De rien, you are doing a great job!

Are you indexing the human genome? It can be accessed through refgenie http://refgenomes.databio.org/v3/genomes/splash/2230c535660fb4774114bfa966a62f823fdb6d21acf138d4

Thank you for the link, I indeed work with Human genome. In generating this reference index, I wonder from which Ensembl release the input files were used? The latest?
I also work with mouse genomes GRCm39, MM129 and c57bl6, however. I snooped around on the website you linked to in search for these and it just crashes when I try to navigate to other panes:

I think the developers of refgenie would be better suited to provide the details about the exact versions of the references, although you can access mouse, rat, and human indices here

PS: I realize now that the script was probably never intended to be run on a local machine, correct? The memory consumption (see the screenshot below) and the necessity to specifying the paths to mashmap and bedtools explicitly now make sense. I'll try to run it on my communal cluster.


Update styles.css

Fix to  #4
Move height (removed from .tbl-content) to .table-component

I am going to close this pull request. Follow the recommendation at https://github.com/guilima/financials-index/pull/3#issuecomment-312066878

Ops, It's possible to change the branch here.


Timed out when requesting [image url]

Command that caused the error
/caption text: if you think abt it wiiu rly isnt doin that bad i mean if they have around 6 mil units sell thers only like 7 millon ppl on earth so almost every1 has a wiiu image: [attachment]
Image that caused the error
https://onedrive.live.com/download?resid=14FA5317997FD8E5!70988&authkey=!AFlhSgaW-hndayU&width=640&height=640
Steps to reproduce

Download gif to use
Run command above
See error

Self-hosted instance?
No
Error file
Message: Error: Timed out when requesting https://media.discordapp.net/ephemeral-attachments/991195178360635431/1136725437775614123/the-rock-explaining.gif
    at getType (file:///home/esmBot/esmBot/utils/image.js:67:13)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async getImage (file:///home/esmBot/esmBot/utils/imagedetect.js:99:30)
    at async default (file:///home/esmBot/esmBot/utils/imagedetect.js:150:24)
    at async CaptionCommand.run (file:///home/esmBot/esmBot/classes/imageCommand.js:39:36)
    at async default (file:///home/esmBot/esmBot/events/interactionCreate.js:37:20)

Stack Trace: Error: Timed out when requesting https://media.discordapp.net/ephemeral-attachments/991195178360635431/1136725437775614123/the-rock-explaining.gif
    at getType (file:///home/esmBot/esmBot/utils/image.js:67:13)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async getImage (file:///home/esmBot/esmBot/utils/imagedetect.js:99:30)
    at async default (file:///home/esmBot/esmBot/utils/imagedetect.js:150:24)
    at async CaptionCommand.run (file:///home/esmBot/esmBot/classes/imageCommand.js:39:36)
    at async default (file:///home/esmBot/esmBot/events/interactionCreate.js:37:20)

Additional context
No response

I tried compressing the file to less than 8 MB (discord's previous file limit), and it still doesn't work.

Duplicate of #399


Return pydantic object from function

Thanks for making this repo @LukasMasuch! Excited to start playing with it. Would you be open to a PR to modify the API so that sd.pydantic_input() returns the instantiated pydantic object, or None if the inputs are invalid? If so I can play around with that

@benlindsay Yes, totally open for PRs on this library :)
I have actually a small unreleased snippet based on your pydantic_form suggestion from Twitter, that returns the instantiated object (see the code below - just run it via streamlit run). The nice thing is that the pydantic_form also contains data validation out-of-the-box once submit is clicked. Returning the instantiated Pydantic object in pydantic_input is also possible, but slightly more complicated because of the data validation since it does not contain the submit button (validate data on any change or instantiated invalidated Pydantic objects). From an API perspective: pydantic_input could be the more flexible lower-level building block, while a new function like pydantic_form is the faster and more compact way to build forms based on Pydantic classes.
from typing import Optional, Type

import streamlit as st
from pydantic import BaseModel, HttpUrl, ValidationError, parse_obj_as

import streamlit_pydantic as sp

def pydantic_form(
    key: str, input_class: Type[BaseModel], submit_label: str = "Submit"
) -> Optional[BaseModel]:
    with st.form(key=key):
        session_data_key = key + "-data"
        sp.pydantic_input(input_class, session_data_key)
        submit_button = st.form_submit_button(label=submit_label)

        if submit_button:
            try:
                return parse_obj_as(input_class, st.session_state[session_data_key])
            except ValidationError as ex:
                st.error(ex)
                return None
    return None

class ExampleModel(BaseModel):
    url: HttpUrl
    some_number: int
    some_boolean: bool

data = pydantic_form(key="my_form", input_class=ExampleModel)
if data:
    st.json(data.json())

If this already solves your need, I can also just release a new version with a pydantic_form method :)

Yeah, that would work perfectly for me! I anticipate only using the form version. I could see others wanting a non-form option that returns an object too, but your proposal sounds like a good compromise that avoids the potential
performance hit of validating/parsing on every change

@benlindsay I just released version 0.2.0 which contains the proposed pydantic_form method. There is now also a playground to try out the examples: https://share.streamlit.io/lukasmasuch/streamlit-pydantic/main/playground/playground_app.py


Rename DhbPolynomial, DhbEstimatedPolynomial and DhbPolynomialLeastSquareFit

Rename classes with PM prefix.

done in: Math-DHB-Numerical-SergeStinckwich.73


x/exp/slog: Fix HandlersOptions.ReplaceAttr documentation when attribute is discarded

Documentation for latest (v0.0.0-20230522175609-2e198f4a06a1) version of HandlersOptions.ReplaceAttr says:

If ReplaceAttr returns an Attr with Key == "", the attribute is discarded.

This is counter-intuitive (because Handler.Handle docs discard zero attribute instead), prevent returning group attrs with empty key to embed group, and didn't match actual behaviour of current implementation (which is correct: it discards zero Attr and handles Attr with empty Key but non-zero Value).
Looks like docs should be fixed to match current implementation.
(Maybe log/slog docs needs similar fix.)

CC @jba


Selection sort in go

Same problem as that in your previous PR.

Is it ok

Rename the file to 'selection_sort.go'


[Instagram] Unable to extract video url for age-restricted post

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I'm running yt-dlp version 2023.10.13 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
No response
Provide a description that is worded well enough to be understood
The Instagram extractor isn't working with this particular video: https://www.instagram.com/p/Cw7uxlcNiYo/
It returns the following error: [Instagram] Cw7uxlcNiYo: Unable to extract video url;
P.S: It's working fine with other videos, except this one. So, it's not an IP ban from Instagram.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', '-J', 'https://www.instagram.com/p/Cw7uxlcNiYo/']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8 (No ANSI), error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[a40e0b37d] (zip)
[debug] Python 3.8.10 (CPython x86_64 64bit) - Linux-5.4.0-152-generic-x86_64-with-glibc2.29 (OpenSSL 1.1.1f  31 Mar 2020, glibc 2.31)
[debug] exe versions: none
[debug] Optional libraries: certifi-2019.11.28, requests-2.22.0, secretstorage-2.3.1, sqlite3-3.31.1, urllib3-1.25.8
[debug] Request Handlers: urllib
[debug] Loaded 1890 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>Current Build Hash: f83c132d9ac5e524e4dcfadf6a919e2d9681f8a4e50d4321ca1068cc8bf4e3db
yt-dlp is up to date<EMAIL_ADDRESS>[Instagram] Extracting URL: https://www.instagram.com/p/Cw7uxlcNiYo/
[Instagram] Cw7uxlcNiYo: Setting up session
[Instagram] Cw7uxlcNiYo: Downloading JSON metadata
ERROR: [Instagram] Cw7uxlcNiYo: Unable to extract video url; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 715, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/instagram.py", line 486, in _real_extract
    video_url = self._og_search_video_url(webpage, secure=False)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 1406, in _og_search_video_url
    return self._html_search_regex(regexes, html, name, **kargs)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 1299, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 1263, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)

null

I've checked that all provided URLs are playable in a browser with the same IP and same login details

Are you sure? Because when I open the URL in a private browsing tab, I get this:

Restricted profile
You must be 18 years old or over to see this profile

So you'll need to pass cookies from a logged-in browser session
However, this should be caught by the extractor so it can raise login required instead of an unexpected error

I've checked that all provided URLs are playable in a browser with the same IP and same login details

Are you sure? Because when I open the URL in a private browsing tab, I get this:

Restricted profile
You must be 18 years old or over to see this profile

So you'll need to pass cookies from a logged-in browser session
However, this should be caught by the extractor so it can raise login required instead of an unexpected error

Ah yes, my browser was already signed in to Instagram. So it seems the issue is due to not passing the login credentials. Let me try with passing it and I'll report back.


release policy?

I wonder how releases are done here. https://github.com/eea/volto-matomo/pull/5 is merged to branch 'develop' 6 days ago. May I have some info how the process of merging and releasing is?

Hi @ksuess ,
The PRs should be made directly to develop branch, we do not encourage PRs directly to master. Recently @valentinab25 developed  an auto-release pipeline which will trigger a minor release as soon as a PR lands in master.

Yes, thats obvious: PRs to branch develop.
And what's about the merge to develop to master/main?

We can merge develop to master/main on regular basis after an approving review, and thus cutting a release.
So we can generally use "develop" for committing directly for small features. And sub branches( on top of develop) for major features.

So this https://github.com/eea/volto-matomo/pull/5 is approved and merged in develop. Would you do a release?

@ksuess Sometimes it's easy to get PRs lost "in the inbox", and I, for example, don't watch all the volto addon repos for PRs. Mention one of us, to be sure we get the notifications.

@ksuess The pR landed in master now. It will be released to npm. Thanks.

Thank you @nileshgulia1 and @tiberiuichim !


Add authenticateWith and unauthenticate mutations

Fixes #1176
Refs #878
@keystone-alpha/keystone

PasswordAuthStrategy#validate() now accepts an object of { [identityField], [secretField] } (was { identity, secret }).
Auth Strategies can now add AdminMeta via a #getAdminMeta() method which will be attached to the authStrategy key of adminMeta in the Admin UI.
Added (un)authentication GraphQL mutations:

mutation {
  authenticate<List>With<Strategy>(<strategy-args) {
    token # Add this token as a header: { Authorization: 'Bearer <token>' }
    item # The authenticated item from <List>
  }
}

For the PasswordAuthStrategy, that is:const authStrategy = keystone.createAuthStrategy({
  type: PasswordAuthStrategy,
  list: 'User',
  config: {
    identityField: 'username',
    secretField: 'pass'
  }
});

mutation {
  authenticateUserWithPassword(username: "jesstelford", pass: "abc123") {
    token
    item {
      username
    }
  }
}

mutation {
  unauthenticate<List> {
    success
  }
}

@keystone-alpha/session

Removed createSessionMiddleware export. Most functionality has been replaced by the new authenticate<List>With<Strategy> & unauthenticate<List> mutations (see @keystone-alpha/keystone CHANGELOG.md for more details), and remaining functionality that was specific to @keystone-alpha/app-admin-ui and has been moved there.
Auth tokens received by header Authorization: Bearer <token> must now
include the signature (removing a potential attack vector where a client could
guess with an unsigned token until it matched a logged in user). The token
returned by authenticate<List>With<Strategy> includes this signature
automatically for you.
startAuthedSession now requires a fourth paramter: cookieSecret for
generating the signed token.

@keystone-alpha/app-graphql

GraphQL Playground now correctly sends auth cookies by default.
The GraphQL context object now has startAuthedSession and
endAuthedSession methods bound to the current request (from
@keystone-alpha/session)

@keystone-alpha/app-admin-ui

Removed the <adminPath>/signin, <adminPath>/signout, and
<adminPath>/session routes.

The REST routes have been replaced with GraphQL mutations
authenticate<List>With<Strategy> & unauthenticate<List> (see
@keystone-alpha/keystone's CHANGELOG.md for details)

Admin UI now uses the new (un)authenticate mutations for sigin/signout
pages.
Signout page correctly renders again (previously was erroring and showing a
blank page)
Generate Admin UI login form field labels based on the identity and secret
fields set in the PasswordAuthStrategy.

this is going to break social-login test project where startAuthdSession is being used.
https://github.com/keystonejs/keystone-5/blob/b69a22762a4b21cab19c11bdb6e7640021db1e30/test-projects/social-login/auth/setupAuthRoutes.js#L94

Yes! I need to visit all the tests - this was mostly a "Can I get Password auth working?" experiment over the weekend :)
I've updated the PR to be marked as WIP until social auth is working again.

@gautamsi I've updated the social auth code and tested login with Twitter; it works 🎉

we're going to have to update the demo project or it will stop working.

@JedWatson Good catch! Done 👍


Use released version of ocaml-github and ocaml-github-hooks

Signed-off-by: Thomas Gazagnaire<EMAIL_ADDRESS>

Travis failed with:
# File "bridge/github/src/datakit_github_api.ml", line 21, characters 17-130:
# Error: Some record fields are undefined: update_pull_base

Yes, I'm fixing this, PR coming soon.

CircleCI seems to have some issue with their upgrade:
Error: Your Xcode (7.3.1) is outdated
Please update to Xcode 8.0.
Xcode can be updated from the App Store.

I am merging the PR anyway, as the tests now pass locally and we need a kick-off the Hub auto-build.


Support the Classic class library

Was reading the usage file, and noticed you don't seem to support Classic. Could this possibly be added?

It looks like it has the same mechanism as hump.class, so it should work already! I'll try it out, see if I can confirm that it works, add corresponding tests, and add it to the README.

It seems to work, I added it to the README!


Stop trying to prune alpha CRDs

These cause a pretty large delay to the install, since errors are slow.
Additionally, we don't actually want to prune these - the user is now in
control of these objects

cc @yangminzhu @diemtvu

prune means that it will try to delete the existing default Mesh policy in
the cluster basically
On Fri, Apr 24, 2020, 11:54 AM Yangmin Zhu<EMAIL_ADDRESS>wrote:

@yangminzhu commented on this pull request.
Could you explain a bit what does "prune" mean here? Do we also need to
remove the alpha rbac CRDs? Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/23245#pullrequestreview-400194895,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXMCYQROETSS4NOS5IDROHN65ANCNFSM4MQIJSCQ
.

the crd is already removed
On Fri, Apr 24, 2020, 12:13 PM John Howard<EMAIL_ADDRESS>wrote:

prune means that it will try to delete the existing default Mesh policy in
the cluster basically
On Fri, Apr 24, 2020, 11:54 AM Yangmin Zhu<EMAIL_ADDRESS>wrote:

@yangminzhu commented on this pull request.
Could you explain a bit what does "prune" mean here? Do we also need to
remove the alpha rbac CRDs? Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/23245#pullrequestreview-400194895,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXMCYQROETSS4NOS5IDROHN65ANCNFSM4MQIJSCQ
.


Packaging executable jar file: jar file cannot start like debug using intelliJ IDE

I am trying to make a JavaFX application using JACP FX, Maven, SpringBoot, MapStruct, Lombok.
All thing works normally as I use IntelliJ IDE to debug. App runs normally, from start to close !
But when I decide to package it as a jar (using spring-boot-maven-plugin), the jar cannot start !
An exception was thrown:  ComponentNotFoundException, I see it cannot find the perspective !

My workbench:
https://github.com/huynhthanhbinh/PIM/blob/57e184b7a5735f57ebe86adfceb14b69bbc7181d/CLIENT/src/main/java/com/bht/pim/AppWorkbench.java

My perspectives:
https://github.com/huynhthanhbinh/PIM/tree/57e184b7a5735f57ebe86adfceb14b69bbc7181d/CLIENT/src/main/java/com/bht/pim/perspective

Project folder:
https://github.com/huynhthanhbinh/PIM/tree/57e184b7a5735f57ebe86adfceb14b69bbc7181d/CLIENT/src/main/java/com/bht/pim

Exception:
Caused by: org.jacpfx.api.exceptions.ComponentNotFoundException: following perspective or component id was not found: pimPerspective
at org.jacpfx.rcp.registry.ClassRegistry.checkAndGetClassSearch(ClassRegistry.java:114)
at org.jacpfx.rcp.registry.ClassRegistry.getPerspectiveClassById(ClassRegistry.java:109)
at org.jacpfx.rcp.util.WorkbenchUtil.mapToInjectable(WorkbenchUtil.java:158)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
at org.jacpfx.rcp.util.WorkbenchUtil.createPerspectiveInstances(WorkbenchUtil.java:86)
at org.jacpfx.rcp.workbench.AFXWorkbench.start(AFXWorkbench.java:108)
at org.jacpfx.rcp.workbench.AFXWorkbench.init(AFXWorkbench.java:165)
...............................

Can you provide me any solution ? Thanks for support !

I encountered same issue as you. I'm using spring boot 2.6.6 , java 17, javafx 17 and jacpFx lib.
I seems that the issue comes from maven plugin

org.springframework.boot
spring-boot-maven-plugin

I found a workaround to create the jar file using an other maven plugin.
I used maven-assembly-plugin instead of spring-boot-maven-plugin:
Here after the config:

org.apache.maven.plugins
maven-assembly-plugin
3.3.0

jar-with-dependencies

false

make-assembly
package

single

It is too late but it can be useful for some else.


Get-ToolPath cmdlet is no longer recognised after agent update to 199 on hosted?

This issue is a follow-up of a short twitter discussion here
Here is the context of the issue:
Initially, we tried to use few tasks for cloud artefact deployment, and they didn't work well. We hadn't got much success with AZCopy task too, but after some PowerShell fiddling, we got AzCopy tool working in a regular "Azure PowerShell " script.
To discover AzCopy location I was using snippet from one of other tasks I found in the repo:
$azcopy = Get-ToolPath -Name "AzCopy/AzCopy.exe"
This script was working fine on Monday 09 May, but started to fail next day, with no obvious reason - we haven't touched our build scripts for a long time. The screenshot in the tweet shows the error message. The only difference between failed and successful builds I found after studying logs, is that agent version on the hosted build changed from 1.98.1 to 1.99
I tried to get working the code above using Azure Powershell task and just a regular Powershell task with same results:

The 'Get-ToolPath' command was found in the module 'Microsoft.TeamFoundation.DistributedTask.Task.Internal', but the module could not be loaded. For more information, run 'Import-Module Microsoft.TeamFoundation.DistributedTask.Task.Internal'.

I'm not sure if this problem is global, it seems that it may affect only our assigned Hosted Agent instance, but we can't really do anything with it - we can't control Hosted Agent instance. Also, it's a bit strange that previously working CI pipeline started to break without any external changes.
PS: I managed to work around the problem using standard AzCopy task ( this time it started to work out of the box). I also saw that AzCopy Task itself is using similar code to detect AzCopy binary location, and it's working fine now on the same agent. Which makes me think that the problem in the Azure Powershell and Powershell tasks or their contexts\modules, not in the breakage of a particular Agent instance.

I see. The Microsoft.TeamFoundation.DistributedTask.Task.Internal module is for custom tasks, not ad-hoc scripts. It happened to work before due to the way the old implementation of the task was written. You're script before was relying on an internal implementation detail of how the task was implemented.
On a related note, extra precaution has been taken in the new implementation of the task to prevent folks from relying on internal implementation details of the task. Now all imported task SDK functions are removed before calling the ad-hoc user supplied script. Additionally, the new implementation uses a completely different task SDK altogether - which doesn't have the Get-Tool command at all.
We have some changes coming - no hard timeframe at the moment - to increase the discoverability of tools for custom tasks. Depending on how that work plays out, it may be able to be leveraged from ad-hoc scripts as well.
It sounds like you're unblocked by the AzCopy task. I'm going to go ahead and close this issue. To summarize, the issue you ran into is by design. It was a mistake that the custom task SDK was previously accessible to ad-hoc scripts. That led you down a path that caused the disruption when we switched the underlying execution handler for that task.

well, previously there was no documentation on what is the right way to discover AzCopy, neither working AzCopy task, so we have to solve the problem in at least some way.
What is the right way to discover hosted agent tools ?

Typically, tools for consumption are added to the PATH (use where - for example node installers do this) or some have well known env vars (maven has M2_PATH, java has JAVA_HOME etc..).  Typically we don't invent a way, we install the tools on the image and let the tool.
Eric, can you check with CJ tomorrow and see if this is on the image anywhere (as opposed to relying on our internal copy in the agent)?

It sounds like @centur has already found a workaround specific to the azcopy.exe issue - switched to the AzCopy task which wasn't previously available.
I went ahead and ran a hosted build. where doesn't find it, but it appears to be in the below locations. As suggested, I'll talk to CJ tomorrow to see what he knows about the reliability of those locations.
c:\Program Files (x86)\Microsoft SDKs\Azure\AzCopy\AzCopy.exe
c:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\3uogi5ex.psm\~PC\ProjectTemplates\DeploymentProject\1033\DeploymentProject.zip\Tools\AzCopy.exe
c:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\4bdgrm5s.z0a\~PC\ProjectTemplates\DeploymentProject\1033\DeploymentProject.zip\Tools\AzCopy.exe
c:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\qdqrx5aq.vq4\~PC\ProjectTemplates\DeploymentProject\1033\DeploymentProject.zip\Tools\AzCopy.exe
c:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\usxx1hq1.0ge\~PC\ProjectTemplates\DeploymentProject\1033\DeploymentProject.zip\Tools\AzCopy.exe
c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\0w52fl0j.zfn\~PC\ProjectTemplates\DeploymentProject\1033\DeploymentProject.zip\Tools\AzCopy.exe
c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\al0ndy0z.44w\~PC\ProjectTemplates\DeploymentProject\1033\DeploymentProject.zip\Tools\AzCopy.exe
c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\c50azl4x.cly\~PC\ProjectTemplates\DeploymentProject\1033\DeploymentProject.zip\Tools\AzCopy.exe
c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\n4zz5qds.3st\~PC\ProjectTemplates\DeploymentProject\1033\DeploymentProject.zip\Tools\AzCopy.exe

Yes, as I said build is working fine with AzCopy task.
Still keen to know what binary tools and modules we can use in ad-hoc scripts and what is the right way to discover them .
Get-ToolPath "SomeWellKnownToolName" seems pretty valid way, would be nice to have official replacement for it.

I just talked with CJ, it sounds like the hosted image will continue to deliver the Azure SDK. So for this specific tool, AzCopy.exe, it sounds like c:\Program Files (x86)\Microsoft SDKs\Azure\AzCopy\AzCopy.exe will continue to be a pretty reliable location.
I'll follow-up with @bryanmacfarlane regarding how to find tools in general. This one, specifically, is not in the PATH (appears the installer doesn't add it).

For tools where the installer doesn't add it to the PATH, I think your best bet would be to look for it in well-known locations (e.g. in this case Azure SDK installation directory).
I'll go ahead an close this issue, since Get-ToolPath (previously delivered by the module Microsoft.TeamFoundation.DistributedTask.Task.Internal) was internal detail of the task implementation, that happened to work before from your ad hoc Azure PowerShell script. The cmdlet was intended only for internal usage by the in-the-box tasks, and was only used to find 4 different tools. The in-the-box tasks away from this module.
I see your point that it would be nice for ad hoc script to have a way to resolve well known tools, but a PowerShell cmdlet cannot be solution. It won't work for any other type of ad hoc script (batch, exe, shell script, etc).

We have to jump back to ad-hoc scripts when something is broken or not yet exists. So unless you want to build a completely closed system - then it's reasonable to prevent users from finding some ways around the existing problems.
Otherwise - ad-hoc Powershell script is exactly The Solution - the users last resort to do something they want/need but it wasn't yet designed in the system, or will never be in. And having a friendly basic scripting environment is a good starting point to do this.
Having paths hard-coded usually means - to rely on the default installations, paths and SDKs. It's obviously a way to go sometimes (not a good practice though), but it lacks any discover-ability - user has to know that this tool belongs to specific SDK, of the specific version and that SDK by default installed in particular location and a given agent...
Well, when there is no nicer way to go around - I'd rather check in my own binaries in the repo and will have a full control there, instead of rely on some hard-coded paths and non-guaranteed promises. Some others may just change a build system and never get back to such problems again


[common-library] Tests for newrelic.common.naming.truncateToDNSWithSuffix are incorrect

Bug description
The tests are located here: https://github.com/newrelic/helm-charts/blob/a0b1859/library/CHART-TEMPLATE/tests/cl-naming_suffix_test.yaml#L16-L22
Tests are passing but they are incorrect:
% echo -n this-job-suffix-is-too-long-so-it-is-not-possible-to-include-at | wc -c

63

% echo -n including-full-name-as-it-is-would-way-be-longer-than-job-suffix | wc -c

64

What happened?
helm install newrelic/nri-bundle new-relic-agent -f values.yaml
With a proper values file that has a cluster and a license key, it should template but fails with this error:

Error: failed pre-install: warning: Hook pre-install nri-bundle/charts/nri-metadata-injection/templates/admission-webhooks/job-patch/job-createSecret.yaml failed: Job.batch "new-relic-agent-installer-nri-metadata-injectio-admission-create" is invalid: spec.template.labels: Invalid value: "new-relic-agent-installer-nri-metadata-injectio-admission-create": must be no more than 63 characters

What you expected to happen?**
The name should be templated correctly so the Helm releases could install properly.
Anything else we need to know?
A workaround until we solve this issue is to make the release name shorter than 25 chars.

In the same release to fix this issue, we can revisit the documentation/comments in the code to solve issues like this. So we don't have to re-release all charts more than once.
https://github.com/newrelic/helm-charts/pull/888#discussion_r942420571


docs: fix broken links and update is_floating_point

broken links would only show as INFO and not an error.

added a validation so broken anchor warns now and should throw errors in CI


Add the contributor section in bottom of read me file

I will like to add a feature at bottom of ream me file which will keep updating our list of contributor !!
For eg

Hello @rohank2502 , I viewed your profile recently and I saw that you're doing the same additions in readme.md 130+ other repositories. GSSoC has provided you with a platform and an opportunity to not just step into open source but to learn under the mentorship of the various project admins. I'd kindly advice you to take the full advantage of this opportunity and try learning and contributing to the codebase as well.
It's totally okay that you are adding this contributors list to various repositories but it's just the same copy paste everywhere and you haven't contributing otherwise. Don't see this event as a competition but look at it as an opportunity to learn and connect with others and grow your skills and experience.

I don't take it as competation if they want they can cancel my all PR I
believe in contributing not on leaderboard
On Tue, Mar 16, 2021, 12:01 PM Ayush Singh @.***> wrote:

Hello @rohank2502 https://github.com/rohank2502 , I viewed your profile
recently and I saw that you're doing the same additions in readme.md for
130+ other repositories. GSSoC has provided you with a platform and an
opportunity to not just step into open source but to learn under the
mentorship of the various project admins. I'd kindly advice you to take the
full advantage of this opportunity and try learning and contributing to the
codebase as well.
It's totally okay that you are adding this contributors list to various
repositories but it's just the same copy paste everywhere and you haven't
contributing otherwise. Don't see this event as a competition but look at
it as an opportunity to learn and connect with others and grow your skills
and experience.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Algo-Phantoms/Algo-Phantoms-Android/issues/20#issuecomment-799992537,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASIJKM353MVWGVAZON4MWA3TD33MNANCNFSM4ZGIWGRQ
.

I am just trying my best to improve their read me and if they think I am
doing it for competation they should not assigned me a single point.
On Tue, Mar 16, 2021, 12:01 PM Ayush Singh @.***> wrote:

Hello @rohank2502 https://github.com/rohank2502 , I viewed your profile
recently and I saw that you're doing the same additions in readme.md for
130+ other repositories. GSSoC has provided you with a platform and an
opportunity to not just step into open source but to learn under the
mentorship of the various project admins. I'd kindly advice you to take the
full advantage of this opportunity and try learning and contributing to the
codebase as well.
It's totally okay that you are adding this contributors list to various
repositories but it's just the same copy paste everywhere and you haven't
contributing otherwise. Don't see this event as a competition but look at
it as an opportunity to learn and connect with others and grow your skills
and experience.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Algo-Phantoms/Algo-Phantoms-Android/issues/20#issuecomment-799992537,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASIJKM353MVWGVAZON4MWA3TD33MNANCNFSM4ZGIWGRQ
.

I didn't mean you're doing anything wrong, don't take it that way. You're doing a great job adding the contributors list. No ill feelings ✌🏻

I didn't mean you're doing anything wrong, don't take it that way. You're doing a great job adding the contributors list. No ill feelings ✌🏻

Happy Coding !!

Please look at the Pr

Please assign me this issue under GSSOC'23.

Please assign me this issue under GSSOC'24.


Note Dodge

Describe your problem here.
Does anyone have When you touch the arrow do you dodge it like a bullet oh a hit?
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

Lua
Put this in your note lua
function goodNoteHit(id, noteData, noteType, isSustainNote)
if noteType == 'D Note' then
end
end
Then add:
characterPlayAnim('boyfriend', 'dodge', true);

if noteType == 'notename'
function goodNoteHit(id, noteData, noteType, isSustainNote)
characterPlayAnim('boyfriend', 'dodge', true)
end
end

that is good to

that is good to

put everything under if notetype == 'notename'
why? soo u dont need to c and pate;
if notetype == 'notename' then

that is good to

put everything under if notetype == 'notename'
why? soo u dont need to c and paste; if notetype == 'notename' then

You are helpfull thanks this will help me to!

that is good to

put everything under if notetype == 'notename'
why? soo u dont need to c and paste; if notetype == 'notename' then

You are helpfull thanks this will help me to!

np

I do not understand

Lua
Put this in your note lua
if noteType == 'notename' then
function goodNoteHit(id, noteData, noteType, isSustainNote)
	end
end

Then add:
characterPlayAnim('boyfriend', 'dodge', true);

So it will be like this:
if noteType == 'notename' then
function goodNoteHit(id, noteData, noteType, isSustainNote)
            characterPlayAnim('boyfriend', 'dodge', true);
   end

end

 This is a better idea

that is good to

put everything under if notetype == 'notename'
why? soo u dont need to c and paste; if notetype == 'notename' then

DEV-idiot is nice

thx

This github repo is NOT made for asking for code pieces from other people.


Convert module into "standardized PDK module"

Use PDK toolset (howto / additional info)
Cleanup tests and code
Update README on testing

In progress, see #120


Dialog field readonly

This adds a read_only column to all dialog fields. It then does not allow the user to change the values of the dialog_field by disabling them as well as not sending a request when they change (so, even if the user goes into the source and un-disables the field). It also adds a small title that explains why the field is disabled.
https://trello.com/c/WYpk2dN3
/cc @gmcculloug

@eclarizio This is looking really good.  Two things: the read-only flag should be down in the Options section of the dialog editor screen and it looks like the read-only flag cannot be set from the dynamic script.

@gmcculloug Hmm, if we have the read-only flag set in the options section, should we allow it to be set from the dynamic script? I mean, we can't currently set things like "show_refresh_button" and "load_values_on_init" from the dynamic script, and those are in the options section. It seems like it would be simplest to not allow that and just move the read-only flag in the options section, but if we have use cases for setting it in the dynamic script then I can do that instead.

The "show_refresh_button" and "load_values_on_init" are properties of the dynamic field type which is why they are shown in the options section only when the dynamic flag is set.  Read-only I see as being similar to field options like required, protected and the validator settings for the text box.  These options are hidden once you select dynamic and can be provided by the automate method.

Alright, sounds good to me, will fix.

Validated that the fields can now be set through the automate script.  Looks good.


fix: Expand and test hashing data "arrays"

Should fix: https://github.com/marimo-team/marimo/issues/2535
Putting as draft, since I think this is a good opportunity to put in testing for heavier dependencies as well (jax, torch, etc)

@akshayka Anymore cases worth examining?


update github checkout action from v2 to v4

This fails with the same error as https://github.com/fangohr/octopus-in-docker/issues/9 , and passes for the 13.0 release.
So we could merge this I think.

LGTM, curious if you have any particular feature in v4 thats not in v2 which made you update the CI

LGTM, curious if you have any particular feature in v4 thats not in v2 which made you update the CI

Good point - I should have said this in the description above.
Somewhere in the output from the actions, GitHub warned that v2 is deprecated. That's the only reason.


poet broadcasted a proof in ~5m after round has ended

Round 0

logs from 2 gateway nodes

as expected, cluster got completely stuck and couldn't make progress because all nodes skipped an epoch.

actually this is because bootnode 0 wasn't responsive and interval is set to a unnecessarily large value


terragrunt run-all resource conflicts on Azure

I'm trying to create multiple resources via run-all but am hitting an issue where a create command is failing since the parent resource is locked by another command, is there a way of expressing to terrragrunt/terraform such dependencies?
For example, I'm creating multiple subnets on a virtual network and I get...
module.subnets.module.subnets["uksouth"].azurerm_subnet.this: Creating...
module.subnets.module.subnets["global"].azurerm_subnet.this: Creating...
module.subnets.module.subnets["uksouth"].azurerm_subnet.this: Creating...

Error: creating/updating Subnet: (Name "private-subnet" / Virtual Network Name "vnet-xxx-devtest-uks" / Resource Group "XXX-DevTest-UKS"): network.SubnetsClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: autorest/azure: Service returned an error. Status=<nil> Code="AnotherOperationInProgress" Message="Another operation on this or dependent resource is in progress. To retrieve status of the operation use uri: https://management.azure.com/subscriptions/121fc553-44ba-4367-879e-8cde8b65f5c1/providers/Microsoft.Network/locations/uksouth/operations/84868051-xxx-xxx-8ea5-637f1f37a30b?api-version=2020-05-01." Details=[]

Please see the docs, especially using dependency blocks to create explicit dependencies and pass outputs between modules and using dependencies blocks to create implicit dependencies between modules.

@brikis98 Ok I can do that, it's a bit clunky though since now each subnet has to know about other subnets that are nothing to do with it, might report this at the terraform level since it could check and pause on creation of a subnet if the virtual network is locked

There are also a couple other workarounds to consider:

You can manually implement locking using before and after hooks. We don't really have azure expertise to suggest how to do this, but you can use various strategies for synchronization that ranges from file based locking to DB based locking.
You can use --terragrunt-parallelism 1 to serialize the run-all apply steps.
You can add retry logic to have terragrunt retry when it sees this error message.


Compilation error in httpserver/replacer.go

1. What version of Caddy are you using (caddy -version)?
Caddy 0.11.0 (+5e5f9b0 Wed Aug 22 14:54:40 UTC 2018) (unofficial)
2. What are you trying to do?
Build caddy according to documentation.
3. What is your entire Caddyfile?
Not applicable, compilation/build error fix.
4.
N/A. Build error fix.
5. Please paste any relevant HTTP request(s) here.
N/A. Build error fix.

6. What did you expect to see?
No build error.
7. What did you see instead (give full error messages and/or log)?
server1|vagrant$ go run build.go
# github.com/mholt/caddy/caddyhttp/httpserver
../caddyhttp/httpserver/replacer.go:464:22: cert.Issuer.String undefined (type pkix.Name has no field or method String)
../caddyhttp/httpserver/replacer.go:476:23: cert.Subject.String undefined (type pkix.Name has no field or method String)
2018/08/22 07:53:30 exit status 2
exit status 1

8. How can someone who is starting from scratch reproduce the bug as minimally as possible?
Just check out the latest master and try to build.

You need Go 1.10 installed to build.


Sparse description of metrics

The description of the metrics is too short. I need more detailed information on the importance of the individual metrics and what actions and activities are needed to improve the metrics

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

ID: 680c9d31-25c2-9f0e-a6bf-30d76102bc19
Version Independent ID: 360f930b-07ba-ec17-384e-c04a0ced0fca
Content: Azure Stream Analytics data-driven debugging by using the job diagram
Content Source: articles/stream-analytics/stream-analytics-job-diagram-with-metrics.md
Service: stream-analytics
GitHub Login: @samacha
Microsoft Alias: samacha

@hauszerm
Thanks for the feedback! We are currently investigating and will update you shortly.

@hauszerm We are assigning this issue to a content author for evaluation.
@ryanwaite Could you help route this issue to an owner?  This is a request for a documentation enhancement which would more explain Stream Analytics metrics.

@hauszerm Thanks for the suggestion. There are so many possibilities it is a bit hard to generalize how the numbers should appear.
What scenario are you trying to troubleshoot, so we could better target that scenario.
Thanks, Jason

#please-close
@hauszerm we will track a task to improve this as more details are available.
Thanks, Jason

@hauszerm We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


docs: Renames "guides" to "manuals", updates links and adds redirections

PR split from #6869

@d3rp3tt3 @mircubed this PR changes various URLs which are linked in dagger.io and dagger.cloud.
Redirections are in place, but it would be better to update the source pages.
List below:
/user-guide/cloud/572923/get-started#step-2-connect-to-dagger-cloud -> /manuals/user/cloud/572923/get-started/#step-2-connect-to-dagger-cloud
/user-guide/cloud/741031/user-interface -> /manuals/user/cloud/741031/user-interface/
/user-guide/cloud/968372/roles-permissions -> /manuals/administrator/968372/roles-permissions/
/user-guide/cloud/609601/org-administration -> /manuals/administrator/609601/organizations/
/user-guide/ci/533927-argo-workflows -> /integrations/533927/argo-workflows
/user-guide/ci/642920-github-actions -> /integrations/642920/github-actions
/user-guide/ci/592501-circleci -> /integrations/592501/circleci
/user-guide/ci/322019-jenkins -> /integrations/322019/jenkins
/user-guide/ci/197291-azure-pipelines -> /integrations/197291/azure-pipelines
/user-guide/ci/963919-aws-codebuild -> /integrations/963919/aws-codebuild
/user-guide/ci/734201-gitlab -> /integrations/734201/gitlab


Change ansible-lint command

Unlike yamllint, when running ansible-lint in the molecule workflow there is no need to specify the current path using . as it should auto-detect files.
It could also make sense to extend the command further with other flags, such as forced colour output. See usage for more examples.

Fixed in #15.


Support SurrealDB

Support for https://surrealdb.com could be a good idea with the gain in popularity these days.
https://www.youtube.com/watch?v=C7WFwgDRStM

Can't wait to see prisma implementation as the software matures.

I'm looking to perhaps implement this, can anyone point me to where I need to start looking? prisma is a bit of a large codebase.

@rvdende On Surreal's side, this is what you need IMHO. https://github.com/surrealdb/surrealdb.js and on this side, IMHO have a look at how they did it for Planetscale!

Any updates? @rvdende
PS: maybe not relevant, but could check out cirq for now?

Hey, what is the plan, now that SurrealDB is in 1.0 and has a node SDK?
https://surrealdb.com/docs/integration/sdks/nodejs

No plan right now. SurrealDB is too different to our other supported databases (which all talk a slight variant of standard SQL, or MongoDB), so implementing support for SurrealDB currently would be a major lift. We can not commit the resources to do that at this time.

We are planning to add surrealDB to our ORM (https://github.com/Blitzapps/blitz-orm)
Currently it works with typeDB but surrealDB is the next adapter to be added. Happy to get your requirements to see if they will fit our ORM :)

@lveillard You are using AGPL, that's a no go for any project that wants to do anything commercial, too bad.

@lveillard You are using AGPL, that's a no go for any project that wants to do anything commercial, too bad.

Yes we need to review the licence. Anyway any comercial project using it will have our blessing as long as they help 😂. And we might change the licence later

Would like to throw my support in as well for SurrealDB support.  Very flexible but have been a long time prisma user and think it would be a god send.


vsha2c / vsha2ms / vsm3me source overlap constraints

Looking at vsha2c and vsha2ms, we did not mentioned any overlap constraints between the operands vs1, vs2, and vd but it does not make much sense for any of those vector register group to overlap since they contain different operands.
Adding explicit constraint to consider any overlap as reserved would make implementation simpler for smaller VLEN which needs to crack those in multiple uops.

https://github.com/riscv/riscv-crypto/blob/master/doc/vector/insns/vsha2c.adoc
https://github.com/riscv/riscv-crypto/blob/master/doc/vector/insns/vsha2ms.adoc

The same may apply to vsm3me although I think we would want to allow vd and vs1 to overlap

https://github.com/riscv/riscv-crypto/blob/master/doc/vector/insns/vsm3me.adoc

The spec has been updated in the pull requests.


Pesky recompilation of conform with rc7 and confrom_exrm

See my test project again, https://github.com/alco/conformist/commit/11df8b2f204578353694ae055d3f1d52fea26e28.
Every time I call mix release, it keeps recompiling conform. The reason could be that conform builds an escript during the release process. I haven't had time to confirm that though.
$ mix release
Building release with MIX_ENV=prod.
==> conform
Compiled src/conf_parse.erl
lib/conform/schema.ex:1: warning: redefining module Conform.Schema
Compiled lib/conform/schema/transform.ex
Compiled lib/conform/sysconfig.ex
Compiled lib/conform/schema/validator.ex
Compiled lib/conform/schema/mapping.ex
Compiled lib/conform.ex
Compiled lib/conform/type.ex
lib/mix/tasks/conform.archive.ex:1: warning: redefining module Mix.Tasks.Conform.Archive
Compiled lib/conform/types/enum.ex
Compiled lib/conform/validators/range_validator.ex
lib/mix/tasks/conform.configure.ex:1: warning: redefining module Mix.Tasks.Conform.Configure
Compiled lib/conform/parse.ex
lib/mix/tasks/conform.effective.ex:1: warning: redefining module Mix.Tasks.Conform.Effective
Compiled lib/mix/tasks/conform.archive.ex
lib/mix/tasks/conform.new.ex:1: warning: redefining module Mix.Tasks.Conform.New
lib/mix/tasks/conform.release.ex:1: warning: redefining module Mix.Tasks.Conform.Release
Compiled lib/mix/tasks/conform.release.ex
Compiled lib/conform/utils/utils.ex
Compiled lib/conform/conf.ex
Compiled lib/mix/tasks/conform.configure.ex
Compiled lib/mix/tasks/conform.new.ex
Compiled lib/conform/utils/code.ex
Compiled lib/mix/tasks/conform.effective.ex
Compiled lib/conform/schema.ex
Compiled lib/conform/translate.ex
Generated conform app
Generated escript conform with MIX_ENV=prod
==> The release for conformist-0.0.1 is ready!
==> You can boot a console running your release with `$ rel/conformist/bin/conformist console`

$ mix release
==> conform
Compiled src/conf_parse.erl
Compiled lib/conform/schema/transform.ex
Compiled lib/conform/sysconfig.ex
Compiled lib/conform/schema/mapping.ex
Compiled lib/conform/schema/validator.ex
Compiled lib/conform.ex
Compiled lib/conform/type.ex
Compiled lib/conform/conf.ex
Compiled lib/conform/validators/range_validator.ex
Compiled lib/conform/types/enum.ex
Compiled lib/conform/parse.ex
Compiled lib/mix/tasks/conform.archive.ex
Compiled lib/mix/tasks/conform.release.ex
Compiled lib/conform/utils/utils.ex
Compiled lib/mix/tasks/conform.configure.ex
Compiled lib/mix/tasks/conform.new.ex
Compiled lib/conform/utils/code.ex
Compiled lib/mix/tasks/conform.effective.ex
Compiled lib/conform/schema.ex
Compiled lib/conform/translate.ex
Generated conform app
Building release with MIX_ENV=prod.
==> conform
Generated escript conform with MIX_ENV=prod
==> The release for conformist-0.0.1 is ready!
==> You can boot a console running your release with `$ rel/conformist/bin/conformist console`

It's definitely because of the escript, however I would think that the compilation artifacts would stick around and not recompile the second time. I'll have to try and experiment with it to see why it's doing a full recompile.
Do you happen to know if escripts are portable? Could I add it to priv and just pull it from there instead of building it fresh every time? I was under the impression they were platform specific somehow, but if they aren't, that would be a big optimization (not to mention eliminate a lot of complexity).

This should no longer be an issue with distillery, since it gets rid of the extra package and the cyclical dependency - and if you aren't using distillery, you should ;)


Using 2.2.9 common pkg, fabproto6.google.protobuf.Timestamp.create is not a function

Hi, we are running a node webapp and recently upgraded the packages fabric-common and fabric-network to 2.2.9.
We started receiving this error:
"TypeError: fabproto6.google.protobuf.Timestamp.create is not a function
    at buildCurrentTimestamp (/app/dist/node_modules/fabric-common/lib/Channel.js:553:56)
    at Channel.buildChannelHeader (/app/dist/node_modules/fabric-common/lib/Channel.js:506:15)
    at Endorsement.build (/app/dist/node_modules/fabric-common/lib/Proposal.js:291:41)
    at Transaction.submit (/app/dist/node_modules/fabric-network/lib/transaction.js:191:21)
    at MergeMapSubscriber.project (/app/dist/node_modules/@atmback-us/hlf-client/services/contracts/abstract-hlf-query-service.js:220:39)
    at MergeMapSubscriber._tryNext (/app/dist/node_modules/rxjs/internal/operators/mergeMap.js:67:27)
    at MergeMapSubscriber._next (/app/dist/node_modules/rxjs/internal/operators/mergeMap.js:57:18)
    at MergeMapSubscriber.Subscriber.next (/app/dist/node_modules/rxjs/internal/Subscriber.js:66:18)
    at TakeLastSubscriber._complete (/app/dist/node_modules/rxjs/internal/operators/takeLast.js:71:29)
    at TakeLastSubscriber.Subscriber.complete (/app/dist/node_modules/rxjs/internal/Subscriber.js:78:18)"

After debugging it, appears the .create method really is undefined. I attempted adding fabric-protos pkg directly to my repo but still got the same error.
Is there something else I'm supposed to import?

For anyone who comes across this issue, I resolved it by adding a --root my_company_name CLI option to my protobuf generation steps. The issue was our proto package's Timestamp generated code was clobering fabric-protos generated protobuf code and we explicitly compile with --no-create causing the issue above.
This is because both our protos, and fab protos, were not setting the root flag, and thus both proto generated packages would use:
var $root = $protobuf.roots['default'] || ($protobuf..roots['default'] = {});

I suggest Fabric do the same and generate all their protos under their own root to prevent this clober

I see similar clober issue once before but not recently. would you mind give a Pull Request for it?

@davidkhala I couldn't find your scripts for generating the protos. If you point me to the script I could make the PR.

@davidkhala I couldn't find your scripts for generating the protos. If you point me to the script I could make the PR.

No, there was no need to have a script to get it fixed since it was fixed by maintainers once before. I am not quite sure if it is the same issue.
The second sentense is also not intended to include any scripts but welcome to contribute.

There are some npm scripts in fabric-protos/package.json that are used to regenerate the protobufs published in the fabric-protos package


Change pbi to png in appinfo.json

This fixes problems with building this project in CloudPebble. The choice dialog still shows correctly on Basalt.
As part of testing, I tried building for Aplite by modifying the project settings, but there's some color and API references that prevent that from working right now.

Thanks!


Add ART library to UIExplorer for iOS, with sample and snapshot test

Motivation
The ART library is part of the react-native repo, but is not included in UIExplorer and has no native testing.  This PR adds the ART library to UIExplorer, adds an example tab for it, and adds a snapshot test.
Test plan
New snapshot test.

This example may be confusing. Maybe just use the https://github.com/reactjs/react-art/tree/master/examples/vector-widget example here?

@browniefed that's an animation, not a still view.... I wanted something static to make snapshot testing reliable, and also want it to scale in size for both tvOS and iOS views.

Thanks for adding this!


Feat: Add alarm sensors

Im wondering if there's support in the API itself for displaying error/status messages, similar to what I can see in the Omnilogic iOS app?
I've had two status banners show up recently, a "flow sensor alert" (e.g. flow was too low, therefore pump was turned off) and a warning to "Clean T-Cell Chlorinator1"
If there was some way to know that a message like this was present (and display or alert on it from HA), instead of having to go into the omnilogic app itself to see it, that would be amazing!

There is functionality for polling alarms from the controller in the underlying library, I'll use this ticket to track adding those to the integration to expose them in Home Assistant.  My kids go back to school in a couple of weeks, I should have time to work on some of these features once that happens.


Establish initial provider capabilities

At its most basic, the provider needs to have a capability that can evaluate a Rego policy that it is given against the resources pulled from the cluster, and then transmogrify the policy engine's results into provider incidents. So far the prototype has an implementation of this that requires the input policies to return results in a specific "incident" format so that the provider can interpret them. For example:
      package policy
      import data.lib.konveyor
      import future.keywords

      incidents[msg] {
      	some item in data.lib.konveyor.deployments
        item.spec.replicas == 1
      	msg := {
            "apiVersion": item.apiVersion,
      		"namespace": item.metadata.namespace,
      		"kind": item.kind,
      		"name": item.metadata.name,
      	}
      }

This sort of freeform rules writing is very powerful and opens up all the capabilities of OPA at the expense of some boilerplate to get the result into the right format. I think we could also introduce a second capability that just takes a single Rego expression and a collection of resources to operate on (see #2), and then generates the necessary boilerplate. For example:
ruleID: replica-count-simple
effort: 1
category: optional
message: "Low replica count"
when:
  rego.expr:
    collection: deployments
    expression: item.spec.replicas == 1

These first two capabilities have been implemented as rego.module and rego.expr, respectively. Examples are in the examples directory.


Explicit In/Outputs for s4n run

Think of and implement an explicit commandline syntax for inputs and outputs that are not infered by the parser

Changed this to take multiple inputs and but they must contain '.' or '/' or '\'.
If there is an input file like Dockerfile that is not the first argument of --inputs the user has to separate the actual command with --, e.g. --inputs tests/test_data/input.txt Dockerfile --outputs result.txt -- python tests/test_data/echo2.py -t tests/test_data/input.txt -t2 Dockerfile --out result.txt

Using Vec as type there is also the possibility of using the argument more than once:
s4n tool create -i input1 -i input2 -i input3 ... will create vec ["input1", "input2", "input3"]. In theory we could leave out the Option-Type as we could check for .len() or .is_empty().
This would solve the -- thingy, right?
(Untested)
I do not know what already existing posix commands do to handle arrays, but we should do it like mainstream does^^
However due to my limited unix knowledge i do not know any commands that use arrays in arguments 🤔 maybe @hvwaldow does...

Yes that would solve the input thing and it is possible to do that with the current solution. I just added the parsing part because it seemed like a lot of typing if a user has many input arguments, but I can remove it to be more consistent with other commands


Possible log flood when log is set to "debug" level

Describe the bug
Periodic debug logs appears without doing anything.
{"level":"debug","service":"storage-system","service":{"name":"com.owncloud.api.storage-system","version":"5.1.0-prealpha+0ba030949","metadata":null,"endpoints":[],"nodes":[{"id":"com.owncloud.api.storage-system-3cdb2150-13a6-4146-bd83-035c7065d4a5","address":"<IP_ADDRESS>:9215","metadata":{"protocol":"grpc","registry":"cache","server":"grpc","transport":"grpc"}}]},"time":"2024-01-23T16:59:12Z","line":"github.com/owncloud/ocis/v2/ocis-pkg/registry/register.go:30","message":"refreshing external service-registration"}
{"level":"debug","service":"app-registry","service":{"name":"com.owncloud.api.app-registry","version":"5.1.0-prealpha+0ba030949","metadata":null,"endpoints":[],"nodes":[{"id":"com.owncloud.api.app-registry-196dec3f-9a10-4b8d-9c1d-b0e54f44753b","address":"<IP_ADDRESS>:9242","metadata":{"protocol":"grpc","registry":"cache","server":"grpc","transport":"grpc"}}]},"time":"2024-01-23T16:59:12Z","line":"github.com/owncloud/ocis/v2/ocis-pkg/registry/register.go:30","message":"refreshing external service-registration"}

Steps to reproduce

Just set log level to "debug"

Expected behavior
Log should appear only when the service is actually registered. If the service is already there, re-registering is meaningless and shouldn't happen, and the log shouldn't appear
Actual behavior
Periodic actions shouldn't log meaningless things to avoid flooding the logs, specially if there is no user interaction.
Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.

OCIS_LOG_LEVEL=debug

Additional context
Log comes from https://github.com/owncloud/ocis/blob/c9a77eb43f1f2d4591c9b8920396437b758ad624/ocis-pkg/registry/register.go#L30
Taking into account that the log happens on a timer in a different thread, it makes sense to check whether the service is already in the registry. If the service isn't registered, or has been unregistered, write a debug log when the service is successfully registered.
We could also remove that log. We already have a log when the service is registered the first time, which shouldn't give any problems. There are logs when the registration fails, including the timed re-registration, so we can assume that there is no problem if no log happens. Therefore, the "refreshing registration" log is redundant and can be removed.

Log should appear only when the service is actually registered.

We use a ttl on the registry, so services need to register periodically. So this log means the service has actually (re-) registered. However I'd be fine with only logging in error case

Removing the log seems to be the easiest option.
Alternative 1 could be to check whether the service it already registered, but since we have to re-register the service anyway to update the ttl, we'd be checking just to show the log, so it's likely a big waste.
Alternative 2 could be to implement a specific method to update the ttl and / or register, something like UpdateTTLOrRegister(...) so the method could return additional information, not just the error. This doesn't seem a short term plan though.


Highlight the selected source in the debugger panel

Currently, there is only an arrow showing which source is selected:

But at a first glance, that's not clear. I think we should highlight a bit, like the DevTools do:

Florent

If everyone is happy with this suggestion, i'll be happy to implement

Yep this would be great to have!
Honza

I think we should use the same background color as the Network panel for selected entry.
Honza

What about also putting the location in bold?
Florent

If everyone is happy with this suggestion, i'll be happy to implement
Then I assign @aliuk2012 to this issue.

Florent

fixed as part of commit 8848d9ef9c8073d4c37a50a6d57b9b592a6d6c33 and related to issue #286

$fixed firebug-3.0.0-alpha.8


mice and spoders can spawn on centcom

Description
title
might affect other things idk

I think this only happens if the centcom map gets unpaused, but im not 100% sure.

It's unpaused now

previously it was only unpaused when evac arrived at the station so it wouldve been extremely rare to get centcom events

this also happens to evac, saw solar flare destroying all the lights on evac before it came

fixed by thing probably


[Submission]: MindsDB Docker Extension

Docker Hub repository name
ajeetraina/mindsdb-docker-extension:1.0.0
Terms of services

[X] I accept the term of services

@ajeetraina Taking a quick look out of curiosity and installing the extension, it installed correctly but when opening it I only saw a blank screen. Eventually, it turns out containers are really slow to start (like several minutes) ; is there a way to have some spinner or way to inform the user things are not broken?

Yes. I was thinking of similar kind of implementation few days back. I am not sure how complex it will be implement the spinner but can check with the team internally.

The image started by the compose app is not multi-arch ; this might be a reason for things being so slow (as it transparently runs on my M1 machine, but emulated with Rosetta).
We have something in our backlog to also check images mentioned in the compose file and verify they are multi-arch ; for now, could you ensure that all are multi-arch (not sure it will solve the startup time issue, but it can't hurt)

@gtardif You're right. It might be the reason as MindsDB doesn't official ship Arm-based images. I tried using make push-extension and tried pushing both amd64 and arm-based images but I do understand that it might be slow due to emulated version.

@benja-M-1 We might need to put this on-hold for sometime. I have raised a feature request with MindsDB for shipping Arm-based Docker image to the Docker Hub. Once they push it, I should be able to build it for both architecture.

Alright, do you mind if we close the issue for now and reopen it once you go an answer? It makes our work easier when we screen for updates on issues.

Sure. We can go ahead and close this thread.


[Bug-7229] [Upgrade] fix postgre upgrade

close #7229

Codecov Report

:exclamation: No coverage uploaded for pull request base (2.0.1-prepare@3084847). Click here to learn what that means.
The diff coverage is n/a.

@@               Coverage Diff                @@
##             2.0.1-prepare    #7231   +/-   ##
================================================
  Coverage                 ?   32.14%
  Complexity               ?     1569
================================================
  Files                    ?      432
  Lines                    ?    14480
  Branches                 ?     1436
================================================
  Hits                     ?     4654
  Misses                   ?     9371
  Partials                 ?      455

Continue to review full report at Codecov.

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


Issue #117: removing edp-sub-layout from project as the project is not on packagist

You can't just pull the dependant. By doing that you will break all of the admin system as it stands at the moment.

You can't just pull the dependant. By doing that you will break all of the admin system as it stands at the moment.

Oops, my bad… wasn't paying attention to it. Will close this one and commit a new PR.

Oops, my bad… wasn't paying attention to it. Will close this one and commit a new PR.

added sublayout to packagist

added sublayout to packagist

So we can actually close this PR as it is no longer an issue… even better :+1:

So we can actually close this PR as it is no longer an issue… even better :+1:


ci: add github actions

#58  👈
main

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

Join @zakuciael and the rest of your teammates on  Graphite


Different number of trees in CVBooster object between versions 3.3.5 and 4.1.0

Description
Hi, I faced a strange issue. I've tried to create model to predict possitive and negative values as an output.
I am using default objectice, and CV with 3 folds.
When I executed code using lgb==3.3.5 I have many more trees in my model file than when I used newer version.
Using newest version i i have one or two tree in the model .txt file, using oldest version many more.
Is it expected behaviour ?
Related to this I have also worse accuracy.
Reproducible example
import numpy as np
import pandas as pd
import lightgbm as lgb
import random
from sklearn.metrics import mean_absolute_error
from sklearn.preprocessing import OrdinalEncoder
def lgb_mae(preds, train_data):
    y_true = train_data.get_label()
    error = mean_absolute_error(y_true, preds)
    return "mae", error, False

# !pip install lightgbm==3.3.5 --user

print(lgb.__version__)
model_name = f'test_{lgb.__version__}'

n_records = 120
account_id = ['xxx'] * n_records
volume= random.sample(range(-1000, 1000), n_records)
date = pd.date_range(pd.to_datetime('2021-01-01'), periods =n_records, freq = '1W')
var1 = (np.random.uniform(low=0, high=100, size=(n_records,))).round(2)
var2 = (np.random.uniform(low=0.5, high=20, size=(n_records,))).round(2)

df = pd.DataFrame(list(zip(account_id, volume, date, var1, var2)),
               columns =['acc_id', 'volume','date', 'var1','var2'])

df['quarter'] = df.date.dt.quarter
df['week'] = df.date.dt.week
df['month'] = df.date.dt.month

train = df.loc[df['date']<'2023-01-01']
test = df.loc[df['date']>='2023-01-01']

features = df.columns[~df.columns.isin(['volume','acc_id','date'])]

lgb_train = lgb.Dataset(
        train[features], train.loc[:, "volume"])
lgb_test = lgb.Dataset(test[features], test.loc[:, "volume"])

num_iterations = 100
lgb_fun = lgb_mae
constraints={"var2": -1}
stop_rounds = 50
nfolds = 3

lgb_params = {
        'monotone_constraints': [0,-1,0,0,0],
        'monotone_constraints_method': 'advanced',
        "verbose": -1,
        "metrics": "None",
        "feature_pre_filter": False,
        'learning_rate': 0.170714,
        'num_leaves': 160,
        'max_depth': 18,
        'min_data_in_leaf' : 16,
        'bagging_fraction': 0.979877,
        'feature_fraction': 0.452952,
        'lambda_l1': 0.0105841,
        'lambda_l2': 9.63261e-08,
    }

model_cv = lgb.cv(
        params=lgb_params,
        train_set=lgb_train,
        num_boost_round=num_iterations,
        nfold=nfolds,
        return_cvbooster=True,
        stratified=False,
        feval=lgb_fun,
        callbacks=[
            lgb.early_stopping(stopping_rounds=stop_rounds, verbose=False),
            lgb.log_evaluation(0),
        ],
)
model_1 = model_cv.get("cvbooster")
for i in range(len(model_1.boosters)):
    model_1.boosters[i].save_model(
        f"model_{model_name}_cv{i}.txt"
    )
models = list(model_1.boosters)

Hey @dtararuj, thanks for using LightGBM. This is due to #5066. Previously the individual boosters in the CVBooster object would keep all training iterations, regardless of what the best iteration was. So for example if early stopping was performed and the best iteration was 5, previously the boosters had 55 rounds (since you set stopping_rounds=50), which were all saved. Now it's only saving up until the best iteration (5 in this example).

ok it makes sense, thank you


Missing loading pattern page in v10

There used to be a pattern page for loading in v9, I had a quick discussion with @aagonzales about it on slack and the content is expected to still be relevant but it's missing from the v10 site.
v9 - https://v9.carbondesignsystem.com/patterns/loading

Should be available over in: https://www.carbondesignsystem.com/patterns/loading-pattern ! Let me know if this doesn't help and I can re-open the issue :smile:


Rework build process and publish on firefox+edge

TODO

Wait for Edge verification

Create GitHub action that builds and publish to stores https://github.com/PlasmoHQ/bpp

@SocketSecurity ignore<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

@SocketSecurity ignore<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>


Trouble with AC IR replication

Hi, first of all, awesome tool!
I hooked everything up, used a Keyes IR blaster kit instead of a led with resistors and transistors. It works for a SONY Tv and Yamaha AV Receiver with no problems.
The issue is when I try it for a no-name AC unit. The "brand' is Americool, I guess it's just a low cost chinese thing with various small companies branding them, had various no name AC units where I lived that looked the same but with different branding.
Anyway, I receive the code but when trying to send it, even tho the ir led lights up (can be seen with a phone camera) the AC does not turn on/off. Tried multiple times but to no avail.
This would be the HTTP i'm sending:
http://<IP_ADDRESS>:80/json?plain=[{'data':[4594,2658,304,448,280,1050,304,1028,306,448,280,1052,306,448,306,446,306,448,304,448,302,1030,280,472,304,450,304,450,306,1026,306,448,306,446,304,448,308,1024,306,1026,304,450,280,474,302,450,306,446,304,448,306,448,304,448,304,448,304,450,302,450,280,472,280,474,304,448,306,450,302,448,304,448,306,448,282,1050,306,448,306,446,308,446,304,448,282,470,280,474,304,448,308,1024,306,446,308,446,282,472,302,450,306,448,304,1026,308,446,280,472,280,1050,304,448,306,446,306,448,304,448,304,450,280,1052,284,1046,306,448,280,472,306,430,304],'type':'raw','khz':38}]
I'd like to note that when received the length is 66 but when sending it is 131
Anything else I can try, any ideas? Thanks and keep it up!

Lots of cheap AC units have trouble working due to the complexity and lack of standardization of the codes
Its unfortunately not an easy problem to fix
You can ask on the IRRemote github and see if they have any suggestions but its a limitation of the library due to the nature of the way they do their encoding

I see. I will look further into it on the IRRemote github, thanks! Have a nice one!