Getting started Method 1: Binary Installation is missing info on Eta

How do I get the binary Eta?  I see
http://eta-lang.org/docs/html/getting-started.html
Method 1: Binary Installation
Eta Version: 0.0.9b1

If you scroll down, you should see links for each platform (highlighted in blue).

I apologise - I just understood your question. Etlas will download the binaries for you. We did it this way so that you can quickly switch between different versions of eta without messing with your path.

Okay thanks!  I am trying to set up Eta on a corporate Windows box, which might not have the usual stuff...
Attempting to download binaries...
Downloading the latest package lists from:
- hackage.haskell.org
- etlas.typelead.com
etlas: The program 'git' version >=1.8.5 is required but it could not be
found.

After I added GIT to path.
c:\dev\eta-first>git --version
git version 1.9.0.msysgit.0

c:\dev\eta-first>etlas init
Discovering the installation paths for your Eta executables...
No existing installation found for 'eta'.
Attempting to download binaries...
Downloading the latest package lists from:
- hackage.haskell.org
- etlas.typelead.com
etlas: Could not read index. Did you call 'checkForUpdates'?

This looks related to #487.
Can you clear out %APPDATA%/Local/Roaming/etlas and do etlas init -v3 and share the output? It'll be long so you might want to share it as a Gist or on pastebin.

How do I provide proxy settings?

Config file path source is default config file.
Config file C:\Users\pasniewm\AppData\Roaming\etlas\config not found.
Writing default configuration to
C:\Users\pasniewm\AppData\Roaming\etlas\confi
no user package environment file found at C:\dev\eta-first
Discovering the installation paths for your Eta executables...
No existing installation found for 'eta'.
Attempting to download binaries...
dieVerbatim: user error (etlas: 'C:\Program Files (x86)\Git\bin\curl.exe' exited with an error:
curl: (7) Failed connect to objects-us-west-1.dream.io:80; No error

@jneira I remember you were working on this - what's the approach here?

I am afraid i never tried to do a binary installation behind the proxy. Anyway i think etlas tries to use system proxy config and f.e. etlas update works for me in my win 7 env (but strangely not inside eta-build).
So i would check the values of http_proxy and https_proxy (curl uses win system proxy since 0.9.2), then i would try to execute the curl command with the same args that etlas (i think it should be printed by etlas with -v3). Maybe the proxy is banning that host or something.

I try the binary installation behind a proxy and it has failed for me, but with other error (like #487):
D:\>etlas init -v3
no user package environment file found at D:\
Discovering the installation paths for your Eta executables...
No existing installation found for 'eta'.
Attempting to download binaries...
Downloading executable 'eta'...
Downloading executable 'eta-pkg'...
Selected eta-0.0.9b1.
Downloading [binary] rts-<IP_ADDRESS>...
Downloading [binary] ghc-prim-<IP_ADDRESS>...
Downloading [binary] integer-<IP_ADDRESS>...
Downloading [binary] base-<IP_ADDRESS>...
Downloading [binary] ghc-boot-th-8.0.2...
Downloading [binary] array-<IP_ADDRESS>...
Downloading [binary] deepseq-<IP_ADDRESS>...
Downloading [binary] pretty-<IP_ADDRESS>...
Downloading [binary] template-haskell-<IP_ADDRESS>...
etlas: Cannot find the program 'eta'. User-specified path
'C:\Users\user\AppData\Roaming\etlas\binaries\6899fa2dcac85d20d417-8f2e61d843ea88
e4f30ab3f81ca0e396.ssl.cf5.rackcdn.com\eta-<IP_ADDRESS>\binaries\x86_64-windows\eta.e
xe'
does not refer to an executable and the program is not on the system path.

Without curl in path
The etlas directory structure is created (included binaries\x86_64-windows) but there is no executables in.
No error about the missing download
Tried with basic console and powershell

This is a serious issue indeed. I remember catching exceptions on HTTP failures but it should display proper error messages. @jneira Can you try adding debugging outputs to downloadPrograms in Distribution.Client.BinaryUtils, especially checking the existence of the downloaded file and dieing if not present after downloading?

I tried to set http_proxy and https_proxy env var to working proxy values and I got curl process waiting/hanging.  I then tried to run curl command issued with --verbose.  (I removed IP address info):
c:\dev\eta-first>"C:\Program Files (x86)\Git\bin\curl.exe" "http://objects-us-west-1.dream.io/hackage-mirror/01-index.tar.gz" "--output" "c:\Temp\transportAdapterGet1971819895" "--location" "--write-out" "%{http_code}" "--user-agent" "etlas/<IP_ADDRESS> (windows; x86_64)" "--silent" "--show-error" "--dum
p-header" "c:\Temp\curl-headers544721726.txt" "--header" "Cache-Control: no-transform" --verbose
* Adding handle: conn: 0x21a2778
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x21a2778) send_pipe: 1, recv_pipe: 0
* About to connect() to proxy primary-proxy.<cut> port 8080 (#0)
*   Trying 10.##.##.##...
* Connected to primary-proxy.<cut> port 8080 (#0)
> GET http://objects-us-west-1.dream.io/hackage-mirror/01-index.tar.gz HTTP/1.1
> User-Agent: etlas/<IP_ADDRESS> (windows; x86_64)
> Host: objects-us-west-1.dream.io
> Accept: */*
> Proxy-Connection: Keep-Alive
> Cache-Control: no-transform
>
< HTTP/1.1 200 OK
< Content-Length: 62103831
< Accept-Ranges: bytes
< Last-Modified: Tue, 19 Sep 2017 13:49:01 GMT
< ETag: "9fee9b41d5ebaeadd9450f085aa2021b"
< x-amz-request-id: tx0000000000000006b48f9-0059c13dd2-1926dc93-default
< Content-Type: application/x-gzip
< Date: Tue, 19 Sep 2017 15:54:58 GMT
< Proxy-Connection: Keep-Alive
< Connection: Keep-Alive
< Age: 584
<
{ [data not shown]
* Recv failure: Connection was reset
* Closing connection 0
200curl: (56) Recv failure: Connection was reset

I notice that download package index from scratch is very slow: several minutes for me (with etlas init hanged in Updating binary package index.). But it finally completes
Curl http transport (default one) seems to need the http_proxy env var set (it seems to hangs forever without it)
etlas update -v3 gives me this error about downloading binaries (i've added some new traces to etlas):

In downloadURI
"D:\\curl.exe" "https://6899fa2dcac85d20d417-8f2e61d843ea88
e4f30ab3f81ca0e396.ssl.cf5.rackcdn.com/eta-<IP_ADDRESS>/binaries/i386-windows/index"
"--output" "C:\Users\user\AppData\Roaming\etlas\binaries\6899fa2dcac85d20d417-8f2
e61d843ea88e4f30ab3f81ca0e396.ssl.cf5.rackcdn.com\eta-<IP_ADDRESS>\binaries\i386-wind
ows\index2328116827" "--location" "--write-out" "%{http_code}" "--user-agent" "e
tlas/<IP_ADDRESS> (windows; i386)" "--silent" "--show-error" "--dump-header" "C:\User
s\user\AppData\Roaming\etlas\binaries\6899fa2dcac85d20d417-8f2e61d843ea88e4f30ab3
f81ca0e396.ssl.cf5.rackcdn.com\eta-<IP_ADDRESS>\binaries\i386-windows\curl-headers996
1491.txt"
Download result: (404,Nothing)
Error downloading file
[eta-0.0.9b1] Unable to download binary index file -
https://6899fa2dcac85d20d417-8f2e61d843ea88e4f30ab3f81ca0e396.ssl.cf5.rackcdn.co
m/eta-<IP_ADDRESS>/binaries/i386-windows/index

full log here

@pasniak hi, when i try etlas update -v3 (after deleting %APPDATA%/Local/Roaming/etlas) it chose another mirror for download 01-index.tar.gz:
Trying to locate mirrors via DNS for initial bootstrap of secure repository
'http://hackage.haskell.org/' ...
Searching for nslookup in path.
Found nslookup at C:\windows\system32\nslookup.exe
"C:\windows\system32\nslookup.exe" "-query=TXT" "_mirrors.hackage.haskell.org"
located 2 mirrors for http://hackage.haskell.org/ :
- http://hackage.fpcomplete.com/
- http://objects-us-west-1.dream.io/hackage-mirror/
Selected mirror http://hackage.haskell.org/
....
Cannot update index (no local copy)
Downloading index
Updating binary package index.
"D:\curl.exe" "http://hackage.haskell.org/01-index.tar.gz"
 "--output" "C:\TEMP\transportAdapterGet2328116827" "--location" "--write-out" "
%{http_code}" "--user-agent" "etlas/<IP_ADDRESS> (windows; i386)" "--silent" "--show-
error" "--dump-header" "C:\TEMP\curl-headers9961491.txt" "--header" "Cache-Contr
ol: no-transform"
creating

It seems the http://objects-us-west-1.dream.io/hackage-mirror/ is extremely slow (if i try to download in browser it shows an initial delay of 10 min) and/or curl can't download the file from it for some reason.
Could you share the full output of etlas update -v3 (after deleting %APPDATA%/Local/Roaming/etlas)?

It turns out that the error downloading the eta executable was caused by my etlas built from source for testing, for 32 bits instead 64. It tried to download the 32.bit eta version that is not in the server
Testing in win 10 with the correct arch for etlas, it gets the executable correctly:

Searching for eta in path.
Cannot find eta on the path
Discovering the installation paths for your Eta executables...
Searching for eta in path.
Cannot find eta on the path
No existing installation found for 'eta'.
Attempting to download binaries...
Searching for curl in path.
Found curl at
C:\Users\Javier\dev\app\curl_7_53_1_openssl_nghttp2_x64\bin\curl.exe
Searching for powershell in path.
Found powershell at C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
Searching for wget in path.
Cannot find wget on the path
Selected http transport implementation: curl
Downloading executable 'eta'...
"C:\Users\Javier\dev\app\curl_7_53_1_openssl_nghttp2_x64\bin\curl.exe" "https://6899fa2dcac85d20d417-8f2e61d843ea88e4f30ab3f81ca0e396.ssl.cf5.rackcdn.com/eta-<IP_ADDRESS>/binaries/x86_64-windows/eta.exe" "--output" "C:\Users\Javier\AppData\Roaming\etlas\binaries\6899fa2dcac85d20d417-8f2e61d843ea88e4f30ab3f81ca0e396.ssl.cf5.rackcdn.com\eta-<IP_ADDRESS>\binaries\x86_64-windows\eta4118467.exe" "--location" "--write-out" "%{http_code}" "--user-agent" "etlas/<IP_ADDRESS> (windows; x86_64)" "--silent" "--show-error" "--dump-header" "C:\Users\Javier\AppData\Roaming\etlas\binaries\6899fa2dcac85d20d417-8f2e61d843ea88e4f30ab3f81ca0e396.ssl.cf5.rackcdn.com\eta-<IP_ADDRESS>\binaries\x86_64-windows\curl-headers633426500.txt"
Downloaded to
C:\Users\Javier\AppData\Roaming\etlas\binaries\6899fa2dcac85d20d417-8f2e61d843ea88e4f30ab3f81ca0e396.ssl.cf5.rackcdn.com\eta-<IP_ADDRESS>\binaries\x86_64-windows\eta.exe

@jneira So it it working behind a proxy on Windows?

@rahulmutt yeah, i dont test it completely with full debug cause in my case the antivirus is blocking the copy of the downloaded executable to its final dir. But the download (using the 64 bit version) works fine

I tried the atlas update -v3. I don't have the stdout but I observed 3 websites hit, of which 2 were blocked (I tried the URLs of index-01.gz or sth alike, in my Chrome). The fpcomplete.com download in Chrome seemed to progress through to ~54MB but an error saving file occurred.  I guess I'll try to build from source...  Thanks for your help!

Even if you build from source, not being able to download index-01.gz (which stores the package index) will disable you from installing new packages, so you'll be stuck with an eta installation that just has the standard library.
You mentioned an error with fpcomplete.com download - can you share it?


DBZ-2190 Making OpenShift tests more resilient

@jcechace LGTM, applied. Just in future SQL and MongoDb clients can have a common parent class with execute method.


on windows 10 using cmd how i can set api uri? i don't understand somebody can help me please

What I'm trying to achieve
…
Describe a proposed solution
...
Other solutions I've tried and won't work
…
Screenshots or mockups

@valentinc94 Hey! If you install Ubuntu, using cmd should be easier for you: https://www.microsoft.com/pl-pl/p/ubuntu/9nblggh4msv6?activetab=pivot:overviewtab
You can find more details on how to setup API_URI here: https://github.com/mirumee/saleor-dashboard#getting-started
If you have more questions, let me know.


⚠ Bofrost.es has degraded performance

In 5599b8f, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1712 ms

Resolved: Bofrost.es performance has improved in 4480471 after 18 minutes.


Intel.WiFiDriversx86 version 22.160.0

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

I wasn't able to test the installation as I don't have an x86 system and this package is x86 only.
Microsoft Reviewers: Open in CodeFlow

Before approving: Please I need some guidance here on the naming scheme.
This is the latest and last 32-bit release for the Intel Wi-Fi driver. 64-bit is actively developed and I've submitted a separate PR for that with a separate package name: #132908
But I reckon adding it as a version in the same tree as the 64-bit driver will end up with this version not being found by users/clients. Or is winget as clever as checking all versions and searching for the latest 32-bit release if run on a 32-bit system?
In any case I'm not sure if "Intel.WiFiDriversx86" is a proper package name. But I couldn't do better. 😅
And as this will only ever be a legacy package and x64 is the default I thought that it would be a good idea to drop the architecture in the package name for x64.

Hi @Eddga,
These versions should be in the same manifest, so users can use the  -a or --architecture WinGet switch to select between them. https://github.com/microsoft/winget-pkgs/pull/132908#discussion_r1443419319

Thanks for your feedback @stephengillie but I think I'll just drop the 32-bit version completely for now. Whenever somebody really needed it he/she could create a request and we will see if somebody could figure out a better way to resolve this.


ALLHiC_partition problem

Hi, I faced a problem when running ALLHiC_partition . I set the enzyme_sites as  'AAGCTT' but the result is about 'GATC' , I don't know how to fix it.
here is my script:
ALLHiC_partition -b prunning.bam -r draft.asm.fasta -e AAGCTT -k 16
but the result is like that:
Extract function: calculate an empirical distribution of Hi-C link size based on intra-contig links
CMD: allhic extract /ds3512/home/panyp/Hi-C/sampleDataForALLHiC/prunning.bam /ds3512/home/panyp/Hi-C/sampleDataForALLHiC/draft.asm.fasta --RE AAGCTT
10:40:20 func1 | NOTICE  RE=GATC minLinks=3
10:40:21 writeRE | NOTICE  RE counts in 6626 contigs (total: 943098, avg 1 per 268 bp) written to /ds3512/home/panyp/Hi-C/sampleDataForALLHiC/prunnin g.counts_GATC.txt

This is strange. I did not see any related bug in the script.
Any suggestion @tanghaibao ?

I didn't generoted the Allele.ctg.table. I download it from shared data.
Here is my test data :https://pan.baidu.com/s/1_7VI127eCmYaO_3ukfN67 and the password is 17yk.
I uesd BWA mem method to map the read into draft.asm.fasta.
Thank you very.
------------------ 原始邮件 ------------------
发件人: "Tanger<EMAIL_ADDRESS>发送时间: 2020年3月19日(星期四) 中午11:37
收件人<EMAIL_ADDRESS>抄送: "梦"<1343213784<EMAIL_ADDRESS>主题: Re: [tanghaibao/allhic] ALLHiC_partition problem (#18)
This is strange. I did not see any related bug in the script.
Any suggestion @tanghaibao ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

@shiyi-pan
This was due to a flawed version of the GO argument parsing library used in an earlier version so the option was ignored. I fixed this issue last December (version v0.9.13) but since forgot to ask @tangerzhang to update the binary. My bad - I just posted the new binary on the repo.
Please let us know if you can fix it now. I can't download your test data somehow. Also, in the future, please post issues directly in the main ALLHiC repo.
Haibao

thank you very much,haibao, It takes a little time to download the software. After get it , I will try it and tell you the result.


Error while generating conformers

Hi,
I am using Gupsum-dl to generate the conformers from SDF files obtained from PubChem.
run_gypsum_dl.py --source PubChem_similar_compounds.smi --output_folder gypsum_output/ --min_ph 7.4 --max_ph 7.4 --pka_precision 1  --use_durrant_lab_filters
I am getting the following error. Is there any way to understand which molecule or step is causing an error?
RuntimeError: Pre-condition Violation
	bad bond type
	Violation occurred on line 121 in file Code/GraphMol/Canon.cpp
	Failed Expression: bond->getBondType() == Bond::SINGLE || bond->getIsAromatic()
	RDKIT: 2023.03.1
	BOOST: 1_78

Thanks in advance.

Thanks for reaching out about the error you encountered while using Gypsum-DL. Without having access to the actual SMILES file, it's challenging to pinpoint the exact cause of the error. But, based on the error message you provided, I suspect one of the SMILES strings is invalid.
To further investigate, would you mind sending me the SMILES file so I can try to debug? Otherwise, I recommend running the SMILES strings through Gypsum-DL in smaller batches to narrow down the problematic molecule and potentially identify the specific SMILES string causing the error.
If you manage to identify the issue, please let me know! I might be able to update the code to handle this situation more gracefully.
Sorry for not being able to provide a more immediate solution!
All the best,
Jacob


fix typo in tabline.vim

Hi, Christian.
This Pull Requset is to resolve issue number #2019
Please check this Pull Request.

obviously correct, sorry for that.

Thanks for checking.


Two Things

Hi, I have a question: What is the difference between
addMultiPaneSupport();

and
<item name="multipaneSupport">true</item>

or is it the same?
I also have a request: I have a Drawer with many sections, which have a Fragment as a Target. But two of those open a dialog instead and when the user clicks on one the dialog section is selected, but the section with the fragment in which the user is is not highlighted anymore, which is ugly in my opinion.
So i thought of something like a OnSectionChangedListener so i can keep track of the currently selected Section and unselect a Dialog section when a User clicks it and select the current Fragment section the user is in.
I hope you understand what I mean, because english is not my mother language.

First:
They are the same.
Second:
You can always manually set a section to be selected. Create some sort of listener in your dialogfragment (and implement it) or create a static void in your activity and run it when the dialog is shown. Then in the function called you can set the correct section to be selected.

Second:
I think that is not the problem I have. I make an example: I have a Section with a fragment as its target, which shows some statistics. I have also a section which shows a login dialog, but if that is closed the user remains in the statistics section. The problem is that the statistics section is not selected anymore, but the login section which shows the dialog. That is wrong and I want to set the statistics section as selected again, but I found no way to do that.


master dacpac reference fails while deploys

master dacpac reference works during builds but fails during deploys - similar issue related to https://github.com/rr-wfm/MSBuild.Sdk.SqlProj/issues/51 but the DatabaseVariableLiteralValue doesn't help with sqlpackage deploy for some reason.
The major difference I see is the old way the master.dacpac is attached as separate dacpac in the zip for deploy where as with new SDK style it is embedded into one.
Adding both dacpacs for reference
CustomerScoringDatabase.zip
CustomerScoringDatabase.zip is the zip we use for deploy from old way
CustomerScoringDatabaseNewSDK.zip
New SDK is created with MSBuild.Sdk.SqlProj

Target Connection String: Data Source=(localdb)\MSSQLLocalDB;Integrated Security=True;Connection Timeout=120;MultipleActiveResultSets=False;Max Pool Size=200;Initial Catalog=UnitTests_630187_687c32b6-cfc9-5f5d-4d8d-5b2679c82883_CustomerScoringDatabase

deploy string for unit tests in the CI
What went wrong:
*** An error occurred during deployment plan generation. Deployment cannot continue.
Error SQL0: The reference to external elements from the source named 'master.dacpac' could not be resolved, because no such source is loaded.
Error SQL0: The reference to external elements from the source named 'master.dacpac' could not be resolved, because no such source is loaded.
Error SQL0: The reference to external elements from the source named 'master.dacpac' could not be resolved, because no such source is loaded.
Error SQL0: The reference to external elements from the source named 'master.dacpac' could not be resolved, because no such source is loaded.
Error SQL0: The reference to external elements from the source named 'master.dacpac' could not be resolved, because no such source is loaded.
Error SQL0: The reference to external elements from the source named 'master.dacpac' could not be resolved, because no such source is loaded.
Error SQL0: The reference to external elements from the source named 'master.dacpac' could not be resolved, because no such source is loaded.
Error SQL0: The reference to external elements from the source named 'master.dacpac' could not be resolved, because no such source is loaded.
Error SQL0: The reference to external elements from the source named 'master.dacpac' could not be resolved, because no such source is loaded.
Error SQL0: The reference to external elements from the source named 'master.dacpac' could not be resolved, because no such source is loaded.
Warning SQL72025: No file was supplied for reference master.dacpac; deployment might fail. When package was created, the original referenced file was located master.dacpac.

An error occurred while adding references.  Deployment cannot continue.

How are you deploying?

using some custom code from a internal nuget package something like this
public async Task<(string, string, int)> DeployDacpacUsingSqlpackageAsync(
            string dacpacPath,
            string targetConnectionString,
            IDictionary<string, string>? variablesDictionary,
            int timeoutThreshold = 120_000,
            CancellationToken cancellationToken = default)
        {
            var argumentsBuilder = new StringBuilder($"/a:Publish /sf:\"{dacpacPath}\" /tcs:\"{targetConnectionString}\"");
            if (variablesDictionary != null)
            {
                foreach (var keyValuePair in variablesDictionary)
                {
                    _ = argumentsBuilder.Append($" /v:{keyValuePair.Key}={keyValuePair.Value}");
                }
            }

            Console.WriteLine("Spawning the SqlPackage.exe child process...");
            var processInfo = new ProcessStartInfo(FindSqlPackageExePath(), argumentsBuilder.ToString());
            processInfo.UseShellExecute = false;
            processInfo.RedirectStandardOutput = true;
            processInfo.RedirectStandardError = true;

            using var process = new Process();
            process.StartInfo = processInfo;

            var standardOutput = new StringBuilder();
            var standardError = new StringBuilder();
            process.OutputDataReceived += (sender, args) => standardOutput.AppendLine(args.Data);
            process.ErrorDataReceived += (sender, args) => standardError.AppendLine(args.Data);

            var stopwatch = new Stopwatch();
            stopwatch.Start();
            _ = process.Start();
            process.BeginOutputReadLine();
            process.BeginErrorReadLine();

            bool didExit;
            do
            {
                // Use Task.Delay(..) combined with checking the process.HasExited value so we don't have to block
                // the thread while we wait for the spawned process to complete
                await Task.Delay(2000, cancellationToken).ConfigureAwait(false);
                didExit = process.HasExited;
            }
            while (!didExit && stopwatch.ElapsedMilliseconds < timeoutThreshold && !cancellationToken.IsCancellationRequested);

            process.CancelOutputRead();
            process.CancelErrorRead();

            if (!didExit)
            {
                var timeoutException = new TimeoutException("The dacpac deploy process (SqlPackage.exe) did not complete within the timeout threshold");
                timeoutException.Data["TimeoutThreshold"] = timeoutThreshold;
                timeoutException.Data["STDOUT"] = standardOutput.ToString();
                timeoutException.Data["STDERR"] = standardError.ToString();
                throw timeoutException;
            }

            stopwatch.Stop();
            Console.WriteLine($"SqlPackage.exe process has finished. [EllapsedTime: {stopwatch.ElapsedMilliseconds} ms]");

            var exitCode = process.ExitCode;

            process.Close();

            if (exitCode != 0)
            {
                throw new DacpacDeployException(dacpacPath, exitCode, standardError.ToString(), standardOutput.ToString(), targetConnectionString);
            }

            return (standardOutput.ToString(), standardError.ToString(), exitCode);
        }

I am trying to see if there is a good way I can create a public project which I can share I will check and I will let you know

@bheemvennapureddy Great, just a small project that reproduces the error you see.

You need the master.dacpac deployed alongside the new SDK .dacpac

But with the way how we are referencing the master dacpac as the package reference that might not work no ?

Your master .dacpac reference looks fine - again, with a repro project,  I can actually confirm

@ErikEJ  i created a repo for reference but its not runnable on CI - which I am working on https://github.com/CuroFinTechCorp/TestMsbuildSDK but in the mean time if you would like to take a look

the major difference i saw from what we currently have vs whats in new implementation is the File name on the model.xml part of the dacpac has the file name diff
with current implementation
		<CustomData Category="Reference" Type="SqlSchema">
			<Metadata Name="FileName" Value="C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\ENTERPRISE\COMMON7\IDE\EXTENSIONS\MICROSOFT\SQLDB\EXTENSIONS\SQLSERVER\150\SQLSCHEMAS\MASTER.DACPAC" />
			<Metadata Name="LogicalName" Value="master.dacpac" />
			<Metadata Name="ExternalParts" Value="[master]" />
			<Metadata Name="SuppressMissingDependenciesErrors" Value="False" />
		</CustomData>

New SDK Style
	<Header>
		<CustomData Category="Reference" Type="SqlSchema">
			<Metadata Name="FileName" Value="master.dacpac" />
			<Metadata Name="LogicalName" Value="master.dacpac" />
			<Metadata Name="SuppressMissingDependenciesErrors" Value="False" />
			<Metadata Name="ExternalParts" Value="[master]" />
		</CustomData>
	</Header>

Correct, but it should still work, as you can see here: https://github.com/rr-wfm/MSBuild.Sdk.SqlProj/tree/master/test/TestProjectWithMasterReference - waiting for your repro

ya i get that i have the repo created just making it reproduce the error on the ci side - I need to reference the local nuget package which I am not really successful so far

@bheemvennapureddy Runnable on CI is not important, as long as it can be published with sqlpackage CLI, which is waht you "custom code" does anyway

if you want to publish with sqlpackage cli I think the above repo should be ready

OK, I will have a look

I assume the master branch?

I am lookin at the TestSdk branch now, and there are multiple issue:

The project file should be a .csproj, not a .sqlproj
You should remove package.nuspec, if this is the main .dacpac you want to publish
You .sqlproj does not conform to the format described in the readme here, it should look something like this:

<Project Sdk="MSBuild.Sdk.SqlProj/2.7.2">
  <PropertyGroup>
    <TargetFramework>netstandard2.0</TargetFramework>
    <SqlServerVersion>Sql150</SqlServerVersion>
    <SuppressTSqlWarnings>71558,71502</SuppressTSqlWarnings>
    <TargetName>CustomerScoringDatabase</TargetName>
    <RunScriptsFromReferences>True</RunScriptsFromReferences>
  </PropertyGroup>
  <ItemGroup>
    <None Include="SchemaComparisons\SchemaComparison.scmp" />
    <None Include="shared.publish.xml" />
  </ItemGroup>
  <ItemGroup>
    <PreDeploy Include="Scripts\Script.PreDeployment.sql" />
    <PostDeploy Include="Scripts\Script.PostDeployment.sql" />
    <None Include="package.nuspec">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
      <Private>true</Private>
    </None>
  </ItemGroup>
  <ItemGroup>
    <Content Remove="Scripts\Script.PreDeployment.sql" />
    <Content Remove="Scripts\Script.PostDeployment.sql" />
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="Microsoft.SqlServer.Dacpacs.Master" Version="150.0.0" DacpacName="master" />
  </ItemGroup>
</Project>


Archicad AddOn

Contains a Addon to allow access by Tapir to various Archicad functions - Similar to Tibor's AddOn.

I think the .ZIP file is not really git friendly. It would be better for users if they can actually see the code before cloning / forking / downloading.
Nevertheless, I'm tagging @kovacsv who is working on the ArchiCAD side of tapir.

I think that the two Add-Ons should be merged instead of having two separate solutions. The code and the documentation can be useful, so I'd prefer to put it in the sandbox folder in a subfolder named poco2018-addon.


Cleanup styling on Data/Compare page

Miscellaneous task

[ ] Move Download Dataset button down on Data page
[ ] Only one Search button and Opacity slider on Compare page

[t:75]

Cleaning up map on Data
Created and wrote CompareFilterBar in order to only have one Search button and Opacity slider
Fixed almost all bugs ...
Styled Compare

[t:45]

Moving components around on Compare page
Trying to shorten height of map

[t:60]

Still trying to get right tract to show up on Compare page (not working)
Code modifications that made what was happening clearer

[t:45]

Finally got two maps to appear and synchronized the opacity bar!


Implement legacy::from_bytes()

This is currently unimplemented.  A very basic implementation could be used to start with.

This connects with disassembler::disassemble which gets quickly confused about when to generate  PUSHL instruction, and when not to.


Fixed an issue where the edgeR task would fail when there is only 1 sample being run with the pipeline.

There was a bug in the code of edgerNormalize.R that created a error when there was only 1 sample in the featureCounts output.
The line of code below is the problem. The counts variable is a data.frame when there are multiple samples in the featureCounts df.
The counts variable is a vector when there is only 1 sample in the featureCounts output.
counts <- fc.df[,8:ncol(fc.df)]
Then the  line of code below tries to assign rows names to the previous output. This is not possible for a vector and would result in an error.
rownames(counts) <- fc.df$Geneid
My pull request ensures the output is always a data.frame even with 1 sample.
The counts variable with multiple samples will stay the same with this fix but it will also work for a single sample run.
The error message can be seen below.

Execution completed unsuccessfully!
The exit status of the task that caused the workflow execution to fail was: 1.
The full error message was:
Error executing process > 'alignment_based_quant:EdgerNormalize (edger_normalize pre_NFpipeline)'
Caused by:
Process alignment_based_quant:EdgerNormalize (edger_normalize pre_NFpipeline) terminated with an error exit status (1)
Command executed:
edgerNormalize.R pre_NFpipeline_exon_featureCounts.raw.txt pre_NFpipeline
Command exit status:
1
Command output:
(empty)
Command error:
WARNING: Skipping mount /var/singularity/mnt/session/etc/resolv.conf [files]: /etc/resolv.conf doesn't exist in container
Loading required package: limma
Error in rownames<-(*tmp*, value = c(26939L, 29637L, 41461L, 38163L,  :
attempt to set 'rownames' on an object with no dimensions
Execution halted

Added another commit that fixes the same issue for the DESeq2 script.


Apparent memory corruption

Values (int, char) where value mod 4 = 1 received as x -1 on photon.

Resolution was to removed OLED library and code from Photon.


remove ignore attribute for recoveryservices-backup

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
API changes are not detected in this pull request.


 Since cpu tests are all tested on various configs in github actions, it would be better to run gpu tests on gpu. If we only run gpu tests on gpu, we can probably run gpu tests with pytorch nightly.
Pitch
To be able to run gpu tests with pytorch nightly
Additional context
https://github.com/PyTorchLightning/pytorch-lightning/pull/4661#issuecomment-726990744
cc: @rohitgr7

there is no real need for this, the CPU tests are just a minute or two, so let's keep it rather than testing just special files and accidentally forgot that some test is not called...

the CPU tests are just a minute or two

@Borda you sure about that? I see here in one of the CI with CPU resources runs for around 9 mins (just the tests).

the CPU tests are just a minute or two

@Borda you sure about that? I see here in one of the CI with CPU resources runs for around 9 mins (just the tests).

Ok, maybe more then 2 min =)
But the point is to limit separation becase then it is very easy forget and write a naively test which never called...

Shall we have like gpu, cpu or on_cuda, on_cpu or something like that?
When we do #5178 , so that we can run tests like pytest . -k gpu, pytest . -k cpu
WDYT?

I wouldn't do that tbh. That is one more thing for contributors to remember. I prefer to use pytest.skipif(torch.cuda.is_available()) for cpu tests since that way if you forget to add it, the test is still executed and just test time increases. Whereas with the naming thing we may end up with tests being never executed.

agreed with Justus here. Something like:
accelerators_available = torch.cuda.is_available() or TPU_AVAILABLE or ...

@pytest.skipif(accelerators_available)
def test():
    ....

agreed with Justus here. Something like:
accelerators_available = torch.cuda.is_available() or TPU_AVAILABLE or ...

@pytest.skipif(accelerators_available)
def test():
    ....

I still think that skipping some tests is addressing the root problem and makes the test week, as you as a contributor has a PC with GPU, then he won't run full tests unless he suppresses GPU visibility to his system...
The problem is a single queue for all PRs, if we won't have 160 concurrency jobs for CPU, would you also run just some test for some configurations?

I still think that skipping some tests is addressing the root problem and makes the test week, as you as a contributor has a PC with GPU, then he won't run full tests unless he suppresses GPU visibility to his system...
The problem is a single queue for all PRs, if we won't have 160 concurrency jobs for CPU, would you also run just some test for some configurations?

can't this be done just with the CI tests somehow??

can't this be done just with the CI tests somehow??


Add explicit casts to for-in-dynamic.

According to the language specification, for (D id in e) S; is treated as the following code:
T id1 = e;
var id2 = id1.iterator;
while (id2.moveNext()) {
  D id = id2.current;
  S;
}

So, it should cause the same implicit-cast error as for T id1 = e;.
https://dart-review.googlesource.com/c/sdk/+/137681 tried to update analyzer to do this, but found several issues in Flutter codebase.

cirrus seems unhappy

Looks like the error is unrelated to the changes. Perhaps rebasing can help.

@a14n Yes, rebasing helped somewhat. flutter-build is still unhappy though.

Yes, you have to wait the tree becomes green. You can also add the label waiting_for_tree_to_go_green and a bot will merge it once the tree is open.


Audio Issue

Audio keeps phasing in and out during games.. I'm Using Mister FPGA and HDMI. I dont get this problem when running the default minimig core only in MegaAGS

We have received no other reports like this, and we have also never seen this issue. Not sure how to troubleshoot it, but a clean reinstall of the setup would be worth a try?


Add iOs Platform with ionic

To run iOs app:
npm run build:ios

this will build the app and open XCode. Then run the app on a simulator or real device through Xcode

After I merged this PR, I created a new branch from master for the current PR, then cherry-picked all commits from the initial branch, in order to avoid rebase conflicts


Roster changes

move default image to the roster object
add flag to frame the thumbnail with a circle or leave it alone
add text input to admin for position (use case: academy team name for coaches)

An override hidePlayerSong property in Roster or in Player?

12/8
Added .override object to Roster to support custom text for the academy coaches use case.

Added roster.showPlayerSongs, and I think this Issue is complete, in spirit


Support for Jetty 9.4 - SessionDataStore

Session management has been refactored in Jetty 9.4.
https://www.eclipse.org/jetty/documentation/current/upgrading-jetty.html#_upgrading_from_jetty_9_3_x_to_jetty_9_4_0
https://www.eclipse.org/jetty/documentation/current/session-management.html#jetty-sessions-architecture
We need a HazelcastSessionDataStore implementation that'll replace HazelcastSessionManager and HazelcastSessionIdManager.
Maybe a HazelcastSessionCache with near-cache.
;-)

+1
any contribution is very welcome!

see #8

Available with jetty-hazelcast since version 9.4.7.v20170914


wikipage for converting database with linked accounts

Hello, I think it would be great if there was a page dedicated to converting linked account databases between different formats.
Here is a simple python script that converts the SQL database exported from phpMyAdmin into JSON format used by DiscordSRV by default:
script
#!/usr/bin/env python3
import os

# this script converts DiscordSRV database exported from phpMyAdmin in .sql to .json
# place your .sql database for conversion into the same directory as this script

# this changes the current working directory to the directory of this script
os.chdir(os.path.dirname(__file__))
working_directory = os.getcwd()

# please rename "DatabaseName" to the name of the database that you want to convert:
database = "DatabaseName.sql"

with open(database) as f:
  contents = f.read()
  lines = contents.split("INSERT INTO `discordsrv_accounts` (`link`, `discord`, `uuid`) VALUES")[1].split(";")[0].split(")")
  lines.pop()

  json = {}
  for i in lines:
      discordId = i.split(", '")[1].split("'")[0]
      uuid = i.split("', '")[1].split("'")[0]
      json[discordId] = uuid

  with open("linkedaccounts.json", "w") as output:
      output.write(str(json).replace("'", '"'))

print("done, file saved to: " + working_directory)

Cool script, although I believe it would be better if a migrate command was implemented in DiscordSRV that migrates the SQL database to the JSON file and vice versa. I've gone ahead and created the issue for you: DiscordSRV/DiscordSRV#1493


Implementation of Chef External Secrets Provider

Problem Statement
Introducing Chef External Secrets Provider.
This will enable users to seamlessly integrate Chef-based secret management with Kubernetes through the existing External Secrets framework.
Related Issue
issue: https://github.com/external-secrets/external-secrets/issues/2905
Related work

documentation: docs/provider/chef.md
api: apis/externalsecrets/v1beta1/secretstore_chef_types.go
implementation: pkg/provider/chef

Any Duplicate PR
ref: https://github.com/external-secrets/external-secrets/pull/3073
(We are closing above PR as we are unable to resolve commit signed-off issue, as per suggestion https://github.com/external-secrets/external-secrets/pull/3073#issuecomment-1933689744 , we are creating new PR)
Checklist

[x] I have read the contribution guidelines
[x] All commits are signed with git commit --signoff
[x] My changes have reasonable test coverage
[x] All tests pass with make test
[x] I ensured my PR is ready for review with make reviewable

new PR
@Skarlso @sebagomez

Looks great! Can you please include a test run?
Thanks!

Success Case

Creating ClusterSecretStore

Creating ExternalSecret

controller log

Secret synced successfully:

Creating ExternalSecret with dataFrom, Secret synced successfully

controller log

Lovely bubbly! Thank you very much! :)

/ok-to-test sha=c8130ac


rangeproof_getheader_impl return values are changed but call sites are not updated

It looks like the only difference between the upstream secp-zkp and the vendored version in this library is that rangeproof_getheader_impl returns a more detailed error return code. However,

This is called from rangeproof_verify, which will now fail 100% of the time.
The new return value is propagated up from rangeproof_info, which is in the public API, but again the code is basically converted to the old one by the Rust bindings.

Was this an intentional change? If so, it may make sense to propose it upstream, or at the very least include it as an explicit .patch file which is used by the vendoring script.

This has been fixed by re-vendoring libsecp256k1-zkp: https://github.com/comit-network/rust-secp256k1-zkp/blob/0516724f52af8ba6f9bec48e5dcd9377bf350895/secp256k1-zkp-sys/depend/secp256k1/src/modules/rangeproof/rangeproof_impl.h#L487-L538


Create a new data class for representing locally stored TileSource

Currently we use the same class in different contexts. We should create a new one for better readability.

We now have OfflineAreaEntity to represent this.


Update vendor to satisfy drone/CI

As you may have noticed, CI is failing again for all PRs. It looks like the fix from #8057 was only temporary.
This PR should make CI start working again, at least for the moment.
This is a temporary solution until we find why these tools keep changing and how to pin them down.

Codecov Report

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

@@            Coverage Diff            @@
##             master    #8076   +/-   ##
=========================================
  Coverage          ?   41.77%
=========================================
  Files             ?      481
  Lines             ?    64424
  Branches          ?        0
=========================================
  Hits              ?    26912
  Misses            ?    34042
  Partials          ?     3470

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 d9545f9...d0b22f4. Read the comment docs.


New action request: docker/metadata-action

Action name
uses: docker/metadata-action
Reasons
No response
Intended usage
No response
I have checked the internal marketplace for similar actions and couldn't find one that works for us.

[X] I have checked the internal marketplace first

:robot: Found these results:

Check
Results
Links

CodeQL on the forked repo
:x:
CodeQL run

Security scan:

Check
Result

No Dependabot configuration found
⛔

No CodeQL Init found
⛔

No CodeQL Analyze found
⛔


Production build - "is not a function", works in Serve

Hi i can imagine, it is very hard to debug this issue, but i have not  any chance how to provide minimaln reproduction.
When i serve production build:
node --max_old_space_size=8096 ./node_modules/@nrwl/cli/bin/nx serve app --configuration=production
everything works. But when i build:
node --max_old_space_size=8096 ./node_modules/@nrwl/cli/bin/nx serve app --configuration=production
application crashes when i input several chars into input (but only when 5ft element+).

We are using 70 buildable libraries in NX monorepo.
maybe you will be able to find the cause...
thanks you very much.
Strange is.. that if i delete all characters from input and start typing from start.. everything works.. until  5th char...

I have found, that problem is:
`
import * as moment from 'moment';
...
if (!!value && (value as unknown as string).length > 4
&& moment(value + '', [moment.ISO_8601], true).isValid()) {
const date = new Date(value as unknown as string);
if (date.toString() === 'Invalid Date') {
super.setValue(value, options);
} else {
super.setValue(date, options);
}
} else {
super.setValue(value, options);
}
`

@montella1507, please provide the output of ng v?

Ah sorry, just forgot.
NX --version: 13.2.3
NG --version:  13.2.3
Node -v :  16.13.3
NPM -v:  8.1.2

"dependencies": {
    "@angular/animations": "13.0.0",
    "@angular/cdk": "13.0.0",
    "@angular/common": "13.0.0",
    "@angular/compiler": "13.0.0",
    "@angular/core": "13.0.0",
    "@angular/flex-layout": "^13.0.0-beta.36",
    "@angular/forms": "13.0.0",
    "@angular/material": "13.0.0",
    "@angular/platform-browser": "13.0.0",
    "@angular/platform-browser-dynamic": "13.0.0",
    "@angular/router": "13.0.0",
    "@angular/service-worker": "13.0.0",
    "@angularclass/hmr": "^2.1.3",
    "@asymmetrik/ngx-leaflet": "^8.1.0",
    "@babel/runtime": "^7.16.3",
    "@fullcalendar/core": "^4.1.0",
    "@google/maps": "^1.1.0",
    "@ngneat/transloco": "^2.23.5",
    "@ngrx/data": "13.0.1",
    "@ngrx/effects": "13.0.1",
    "@ngrx/entity": "13.0.1",
    "@ngrx/router-store": "13.0.1",
    "@ngrx/store": "13.0.1",
    "@ngrx/store-devtools": "13.0.1",
    "@ngworker/lumberjack": "^2.0.3",
    "@nrwl/angular": "13.2.3",
    "@nrwl/cli": "13.2.3",
    "@rx-angular/cdk": "^1.0.0-alpha.10",
    "@stomp/ng2-stompjs": "^8.0.0",
    "@tiptap/core": "^2.0.0-beta.129",
    "@tiptap/extension-bubble-menu": "^2.0.0-beta.43",
    "@tiptap/extension-character-count": "^2.0.0-beta.14",
    "@tiptap/extension-floating-menu": "^2.0.0-beta.37",
    "@tiptap/extension-font-family": "^2.0.0-beta.16",
    "@tiptap/extension-highlight": "^2.0.0-beta.26",
    "@tiptap/extension-link": "^2.0.0-beta.24",
    "@tiptap/extension-mention": "^2.0.0-beta.80",
    "@tiptap/extension-placeholder": "^2.0.0-beta.37",
    "@tiptap/extension-text-align": "^2.0.0-beta.24",
    "@tiptap/extension-text-style": "^2.0.0-beta.18",
    "@tiptap/extension-underline": "^2.0.0-beta.17",
    "@tiptap/starter-kit": "^2.0.0-beta.131",
    "@types/mousetrap": "^1.6.8",
    "@zxing/browser": "0.0.5",
    "@zxing/library": "^0.18.6",
    "@zxing/ngx-scanner": "^3.2.0",
    "ag-grid-angular": "^26.2.0",
    "ag-grid-community": "^26.2.0",
    "ag-grid-enterprise": "^26.2.0",
    "angular-calendar": "^0.28.28",
    "angular-resizable-element": "^3.4.0",
    "angular2-signaturepad": "^3.0.4",
    "bpmn-js": "^8.8.2",
    "bpmn-js-properties-panel": "^0.43.1",
    "chart.js": "^3.6.0",
    "chartjs-adapter-moment": "^1.0.0",
    "chartjs-gauge": "^0.3.0",
    "chartjs-plugin-annotation": "^1.0.2",
    "chartjs-plugin-datalabels": "^2.0.0",
    "ckeditor4-angular": "^1.1.0",
    "core-js": "^3.19.0",
    "dagre": "^0.8.5",
    "date-fns": "^2.25.0",
    "diagram-js": "^7.6.0",
    "dmn-js": "^11.0.2",
    "file-saver": "^2.0.2",
    "fullcalendar": "^3.10.4",
    "handlebars": "^4.7.7",
    "hast-util-to-html": "^7.1.3",
    "highlight.js": "^10.7.3",
    "html2canvas": "^1.3.2",
    "jexl": "^2.3.0",
    "jquery": "^3.6.0",
    "json-ast": "^2.1.7",
    "jsplumb": "^2.15.6",
    "jszip": "^3.7.1",
    "jwt-decode": "^2.2.0",
    "leaflet": "^1.6.0",
    "leaflet-draw": "^1.0.4",
    "lodash-es": "^4.17.21",
    "moment": "^2.29.1",
    "monaco-editor": "^0.21.3",
    "mousetrap": "^1.6.5",
    "net": "^1.0.2",
    "ngx-file-drop": "^11.2.0",
    "ngx-tiptap": "^3.0.4",
    "object-path": "^0.11.8",
    "partial-json-parser": "^1.2.2",
    "pica": "^7.1.0",
    "primeflex": "^3.1.0",
    "primeicons": "^5.0.0",
    "primeng": "^13.0.0",
    "resize-observer-polyfill": "^1.5.1",
    "rxjs": "7.4.0",
    "s": "^1.0.0",
    "sass": "^1.43.3",
    "stompjs": "^2.3.3",
    "stream": "0.0.2",
    "svg-parser": "^2.0.4",
    "terser": "4.6.7",
    "tippy.js": "^6.3.2",
    "to-json-schema": "^0.2.5",
    "tslib": "^2.3.1",
    "uuid": "^8.3.2",
    "whatwg-fetch": "^3.6.2",
    "xlsx": "^0.17.3",
    "xml-js": "^1.6.11",
    "zone.js": "0.11.4"
  },
  "devDependencies": {
    "@aerokube/cypress-moon": "^1.0.4",
    "@angular-devkit/build-angular": "13.0.3",
    "@angular-eslint/eslint-plugin": "12.6.1",
    "@angular-eslint/eslint-plugin-template": "12.6.1",
    "@angular-eslint/template-parser": "12.6.1",
    "@angular/cli": "13.0.3",
    "@angular/compiler-cli": "13.0.0",
    "@angular/language-service": "13.0.0",
    "@babel/core": "^7.15.8",
    "@babel/plugin-proposal-class-properties": "^7.14.5",
    "@babel/plugin-proposal-private-methods": "^7.14.5",
    "@babel/plugin-syntax-class-properties": "^7.12.13",
    "@babel/preset-env": "^7.15.8",
    "@babel/preset-typescript": "^7.15.0",
    "@compodoc/compodoc": "^1.1.15",
    "@cypress/webpack-preprocessor": "^5.9.1",
    "@ngneat/transloco-keys-manager": "^2.7.5",
    "@ngrx/schematics": "13.0.1",
    "@nrwl/builders": "^7.8.7",
    "@nrwl/cypress": "13.2.3",
    "@nrwl/eslint-plugin-nx": "13.2.3",
    "@nrwl/jest": "13.2.3",
    "@nrwl/workspace": "13.2.3",
    "@types/file-saver": "^2.0.3",
    "@types/jest": "27.0.2",
    "@types/jquery": "^3.5.8",
    "@types/json-schema": "6.0.1",
    "@types/leaflet": "^1.7.5",
    "@types/node": "^14.14.33",
    "@types/svg-parser": "^2.0.3",
    "@typescript-eslint/eslint-plugin": "4.3.0",
    "@typescript-eslint/parser": "4.33.0",
    "babel-loader": "^8.2.3",
    "codelyzer": "^6.0.0",
    "copy-dir": "^1.3.0",
    "cypress": "^8.7.0",
    "cypress-file-upload": "^4.1.1",
    "dotenv": "10.0.0",
    "eslint": "^7.32.0",
    "eslint-config-prettier": "^8.1.0",
    "eslint-plugin-cypress": "^2.12.1",
    "eslint-plugin-import": "2.22.1",
    "eslint-plugin-jsdoc": "30.7.6",
    "eslint-plugin-prefer-arrow": "1.2.2",
    "jest": "27.2.3",
    "jest-preset-angular": "11.0.0",
    "mocha": "^8.4.0",
    "mochawesome": "^6.3.1",
    "mochawesome-merge": "^4.2.0",
    "mochawesome-report-generator": "^5.2.0",
    "ng-packagr": "13.0.7",
    "ngx-build-plus": "^11.0.0",
    "ts-jest": "27.0.5",
    "ts-node": "^9.1.1",
    "typescript": "4.4.4",
    "webpack": "^5.64.4"
  }

Moments imports in application (all occurrances):
import * as moment from 'moment';
import moment, {Moment} from 'moment';
import moment, {MomentInput} from 'moment';
import moment from "moment";

@montella1507, it would be great if you can provide a minimal reproduction that we can clone and take a look at. Does this happen only in production mode?
A good way to make a minimal repro is to create a new app via ng new repro-app and adding the minimum possible code to show the problem. Then you can push this repository to github and link it here.
This might be related to your directory structure so its really important to get an accurate repro to diagnose this.

Is IT possible to send you privately?

Ideally it’s a minimal reproduction that contains the bare minimum code to reproduce the problem.
But sure you can share the reproduction privately. Check my GH profile.

Ideally it’s a minimal reproduction that contains the bare minimum code to reproduce the problem.
But sure you can share the reproduction privately. Check my GH profile.

will do our best.. we will try to provide as minimal code   as possible. ETA  14-15.12. Thanks.

Hi @alan-agius4  here is the reproduction:
repro.zip

extract
npm ci
run  "nordic-prod-build" to build production build with builadble libraries  (node --max_old_space_size=8096 ./node_modules/@nrwl/cli/bin/nx build nordic --configuration=production --output-hashing=all)
serve dist folder  ( http-server --port=3000 --cors )
input  5+ characters to input

INFO:

moment() is undefined in prod build  inside tsm-form-control.ts
it works when SERVING prod build
it works when SERVING non prod-build
DOESNT work when BUILD prod build and then serve with any http-server

@alan-agius4
// ERROR
import * as moment from 'moment';
// OK
import  moment from 'moment/moment';
however.. why it doesnt work ONLY in PROD BUILD and it works in PROD SERVE / non-prod serve / build...
Should't it throw an error during build then?

Hi,
The problem appears that moment is not being imported as recommended through the default import https://momentjs.com/docs/#/use-it/typescript/
import moment from 'moment';

The reason why this works in during serve, is that NX don't build the libraries as their own compilation unit, but they build the libraries as part of the application. This of course can lead to such inconsistent behaviour, since applications and libraries build pipeline is completely different.
In fact during the library build you are shown warnings about possible issues with how moment is being used.
WARNING: Cannot call a namespace ('moment')

In fact during the library build you are shown warnings about possible issues with how moment is being used.

WARNING: Cannot call a namespace ('moment')

i didnt get any warning during build, what command are you running, please?

Yeah you need to enable allowSyntheticDefaultImports.
I got the warning by building using the Angular CLI.

Okay, thank you very much for your time.


Fix: Change doc_id in the profile replies tab in the Threads app

Did it changed?

Did it changed?

Both are working fine, but I think it's a good to update to the latest.

Did it changed?

Both are working fine, but I think it's a good to update to the latest.

Gotcha! Looks reasonable 😉


hqplayerd: 4.24.0-61 -> 4.24.1-62

hqplayerd: run postInstall hook
hqplayerd: 4.24.0-61 -> 4.24.1-62
hqplayerd: remove broken changelog link

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes

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

[ ] Fits CONTRIBUTING.md.

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

1 package built:

hqplayerd


Write test yields HTTP error 400 at least one label pair is required per stream

The following write test scenario
const labelCardinality = {
  "app": 5,
  "namespace": 10,
  "pod": 50,
};
const conf = new loki.Config(BASE_URL, 10000, 0.9, labelCardinality);
const client = new loki.Client(conf);

/**
 * Entrypoint for write scenario
 */
export function write() {
  let streams = randomInt(4, 8);
  let res = client.pushParametrized(streams, 800 * KB, 1 * MB);
  check(res,
    {
      'successful write': (res) => {
        let success = res.status == 204;
        if (!success) console.log("write", res.status, res.body);
        return success;
      },
    }
  );
};

regularly yields:
write 400 error at least one label pair is required per stream

Fixed with #11 and #15


Add naming recommendations to format

The naming recommendations for resource types, attribute names, and association names to be dashterized isn't part of the format. I think the specification should have a clear opinion on how to format these attributes in order to prevent confusion and possible frustration amongst implementors.
This is what the recommendations page has to say:

Recommendations for Naming

It is recommended that resource types, attribute names, and association names be "dasherized"; i.e. consist of only lower case alphanumeric characters and dashes (U+002D HYPHEN-MINUS, "-").

It is also recommended that resource types be pluralized. Dasherized and pluralized resource types can be used as URL segments without translation, as discussed below.

Source: http://jsonapi.org/recommendations/#naming

#567 is an open issue about the allowed characters (ASCII, UNICODE, upper/lower case and special ASCII characters). There you'll find some new rules and recommendations to avoid problems with clients.
The current result of the discussion is, that members are case-sensitive and that it's the decision of the API if upper-/lower-case characters or which separator characters are used.

I see no good reason not to specify a separator character in the specification, it will only complicate implementations if we're not specific about it. A client now needs to be configured per API to know how to serialize & deserialize entities. I personally think enforcing a pre-defined separator is the way to go to give the user convention over configuration.

There are different views on that point... Would you close this issue in favor of taking part in the existing discussion?

@ziege Will do.


bdd-spring-1559579438 to 0.0.1

Promote bdd-spring-1559579438 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Generator Constraints and Violation Messages

Tickets addressed:
Review: By commit
Merge strategy: Merge (no squash)

Description
This adds the GeneratorConstraint abstract class, which is a helper class that enables a more imperative programing style in constraints. When writing goal I've found it pretty natural to switch from a functional style when getting and transforming inputs, to an imperative style when creating outputs. So I made a similar system for constraints where you can repeatedly call violate(Violation) or one of its derivatives instead of aggregating everything in a single Violations timeline.
This also adds the first step for support of violation messages, as in customizable strings that can explain the violation to the user in the UI, and can be different for each violation generated. This doesn't do anything with the messages, it just stores them in the Violation class.
Verification
I made a unit test to make sure the generator aggregates the results correctly.
Documentation
I wrote the docs after I made these changes; they are actually already live.
Future work

Docs update at https://github.com/NASA-AMMOS/aerie-docs/pull/187


Allow Marshal.load if argument is a Marshal.dump

Despite Marshal.load(Marshal.dump(my_object)) being ugly and slow hack it's still an easiest way to make a deep copy of an object. And using result of Marshal.dump we can be sure there would be trustable code inside Marshal.load.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Used the same coding conventions as the rest of the project.
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] All tests are passing.
[x] The new code doesn't generate RuboCop offenses.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Updated cop documentation with rake generate_cops_documentation (required only when you've added a new cop or changed the configuration/documentation of an existing cop).

👍


bug/feature: Support policies for optionalDependencies

allow-scripts auto should support the existence of optionalDependencies that aren't present. We recently ran into a problem with this on the MetaMask extension that forced us to do this: https://github.com/MetaMask/metamask-extension/pull/10375
Basically, fsevents is optional and not included on e.g. Linux, but is included in macOS. So, you get different policy files if you run it on Linux vs macOS. This is a problematic inconsistency for the extension team.

this was fixed maybe in 1.0.1

erik sez still present on 1.0.3

oh yeah during auto

An error occurred while executing this command.
Error message:
running lifecycle scripts for event "postinstall"

geckodriver
Error: command failed
at ChildProcess. (/Users/lienpeng/metamask-extension/node_modules/@npmcli/promise-spawn/index.js:64:27)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1048:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) {
cmd: 'sh',
args: [ '-c', 'node index.js' ],
code: 1,
signal: null,
stdout: 'Downloading geckodriver... ',
stderr: '\n' +
'events.js:292\n' +
"      throw er; // Unhandled 'error' event\n" +
'      ^\n' +
'ErrorClass [RequestError]: connect ETIMEDOUT <IP_ADDRESS>:443\n' +
'    at ClientRequest. (/Users/lienpeng/metamask-extension/node_modules/geckodriver/node_modules/got/index.js:69:21)\n' +
'    at Object.onceWrapper (events.js:422:26)\n' +
'    at ClientRequest.emit (events.js:315:20)\n' +
'    at TLSSocket.socketErrorListener (_http_client.js:469:9)\n' +
'    at TLSSocket.emit (events.js:315:20)\n' +
'    at emitErrorNT (internal/streams/destroy.js:106:8)\n' +
'    at emitErrorCloseNT (internal/streams/destroy.js:74:3)\n' +
'    at processTicksAndRejections (internal/process/task_queues.js:80:21)\n' +
"Emitted 'error' event on DuplexWrapper instance at:\n" +
'    at EventEmitter.emit (events.js:315:20)\n' +
'    at ClientRequest. (/Users/lienpeng/metamask-extension/node_modules/geckodriver/node_modules/got/index.js:69:7)\n' +
'    at Object.onceWrapper (events.js:422:26)\n' +
'    [... lines matching original stack trace ...]\n' +
'    at processTicksAndRejections (internal/process/task_queues.js:80:21) {\n' +
"  code: 'ETIMEDOUT',\n" +
"  host: 'github.com',\n" +
"  hostname: 'github.com',\n" +
"  method: 'GET',\n" +
"  path: '/mozilla/geckodriver/releases/download/v0.28.0/geckodriver-v0.28.0-macos.tar.gz'\n" +
'}\n',
event: 'postinstall',
script: 'node index.js',
pkgid<EMAIL_ADDRESS>path: 'node_modules/geckodriver'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.


Change translation of appendix to bijlage for consistency with babel

Changes appendix to bijlage for consistency with babel/polyglossia.

@niluxv Thank you very much once again!
The regression tests are expected to fail in such a change, because I test for the integrity of the language files. So you can leave that to me.
However, as far as I can see, you've used "ij" as separate letters instead of U+0133. Why?


Add ability to post message to Webhook URL's

In order to see messages appear in the Activity Feed of a Gitter Room, after creating a Custom Webhook.

Based on HTTP REST API, could you describe precisely how to create webhook methods ?
I suppose it is coming from https://developer.gitter.im/docs/services, but I have no experience on it.

That is correct, there is no API method to post to a Custom Webhook, as it doesn't require authentication. you can see the code that I am using here:
https://github.com/gep13/Cake.Gitter/blob/develop/Source/Cake.Gitter/Chat/GitterChatApi.cs#L82
The information on how to get the Webhook URL can be found here:
https://github.com/gep13/Cake.Gitter#web-hook-url

It is not completely clear at this moment. When you get time, could you try something to clear this up ? i think there is some lacks of information :

How to retrieve webhook url ? I suppose it's not based on room id, but another random id ?
How do you use this webhook ? What are the directions ? (from Gitter to .., from .. to Gitter, both ways ?)
What is the data you are sending ?

Yes, this is random.  The instructions on the second link that I posted above show how you can retrieve this.  You get it once you set up a Custom Webhook Integration within the Gitter Settings for your Room
It is one way.  You simply POST an Http Payload that contains a "message", as shown in the first link above
See answer to 2.

@gep13 So, if I understand it well, it is simply a POST method to Gitter API (using webhook url and message payload, see that level is optional).
Can you confirm that it looks like that in code :
public Task PostWebhook(string url, string content, MessageLevel? level = null)
{
    // Create an HttpClient and send content payload
    string payload = $"message={content}";
}

Or do you receive a message from this POST method ?

Exactly that, here is the code that I currently use:
            using (var client = new WebClient())
            {
                client.Headers[HttpRequestHeader.ContentType] = "application/x-www-form-urlencoded";

                var postBytes = Encoding.UTF8.GetBytes(string.Format("message={0}", message));

                var resultBytes = client.UploadData(
                        messageSettings.IncomingWebHookUrl,
                        "POST",
                        postBytes);

                var result = Encoding.UTF8.GetString(resultBytes);

                var parsedResult = new GitterChatMessageResult(
                    StringComparer.OrdinalIgnoreCase.Equals(result, "ok"),
                    DateTime.UtcNow.ToString("u"),
                    StringComparer.OrdinalIgnoreCase.Equals(result, "ok") ? string.Empty : result);

                context.Debug("Result parsed: {0}", parsedResult);

                return parsedResult;
            }

NOTE: Taken from the link above
I am using WebClient, rather than HttpClient, but there should be nothing to stop you using that.  There is a very basic response returned, which is "ok" if the post happened, and there will be an error if it failed.

Ok, so, we could go for a bool returned value ?
public Task<bool> PostWebhook(string url, string content, MessageLevel? level = null)
{
    string payload = $"message={content}";
    // TODO : Create an HttpClient and send content payload

    return result == "ok";
}

yip, that would seem appropriate to me :+1:

@gep13 It's now available in the version 0.4.0. Really thanks for your help, I could not do it without you !

Nice one, I will take a look, thanks! :+1:


Sample MVVM with RxJava

I was thinking about doing a sample with MVVM but with RxJava not with databinding.
What do you all think?

Why no databinding? Normally MVVM and databinding are "connected".

indeed MVVM is initially designed to be used with XAML and declarative databinding technology is essential to it. Infact this is the only way to connect the View and ViewModel.

The MVVM pattern lends itself naturally to XAML application platforms such as Silverlight. This is because the MVVM pattern leverages some of the specific capabilities of Silverlight, such as data binding, commands, and behaviors.

more info on MVVM here
If you want to use RxJava without any databinding it is fine but you should not call it MVVM but some variant of MVC/MVP

I'd like to see how you solve the ViewModel challenge using RxJava. How about creating the sample and linking it in the issue so it can be reviewed?

Should have put a link. I meant without the Data Binding library.
I have a small sample of a project with MVVM here.
The ViewModel exposes streams of data to which the View can bind to.
Sure, I'll create the sample and link it here.

Sounds Great! I Just looking for the sample with MVVM.

@florina-muntenescu nice example using RxJava, but again I would not call this MVVM.

@djodjoni I believe @florina-muntenescu is correct and that it is a good example of MVVM. Could you perhaps elaborate on what you believe is the right way to do MVVM instead?

In my understanding form MVVM above other things I expect:

most of the GUI logic removed from the code
declarative data/command-binding

in @florina-muntenescu example
mSubscription = new CompositeSubscription();

        mSubscription.add(mViewModel.getGreeting()
                                    .subscribeOn(Schedulers.computation())
                                    .observeOn(AndroidSchedulers.mainThread())
                                    .subscribe(this::setGreeting));

        mSubscription.add(mViewModel.getSupportedLanguages()
                                    .subscribeOn(Schedulers.computation())
                                    .observeOn(AndroidSchedulers.mainThread())
.subscribe(this::setLanguages));

this clearly violates those believes of mine and generates boilerplate code, which would otherwise be handled by the Binder.
This however could be an attempt to create a RxDataBinder.

@djodjoni I didn't want to use another library just for a simple example.
There is already a RxBinder library

@florina-muntenescu RxBinding is a lovely lib but I believe its purpose is not to do DataBinding for MVVM

@djodjoni how about you create a new sample based on your comments and we can all compare it to @florina-muntenescu's one? The main purpose of this repo is for everyone to learn, pointing out something you don't like from somebody else's repo is not very constructive. 👍

@malmstein I didn't mean to be de-constructive :) on the contrary, challenging @florina-muntenescu's MVVM approach by expressing my point of view could improve her and my understanding on the subject. I also do not mean to compete to create MVVM example without databinding, however I am super curious how this can be achieved.
Anyway Florina's architectural approach is definitely going towards 'separation of concerns' design no matter how we call it and could be a nice addition to this repo.

Why don't we contribute and help @florina-muntenescu  to be much clearer and easier maybe more richer ?

@florina-muntenescu, we can add it to the list of external samples for now.
Does it make sense to have a vanilla MVVM sample?

@JoseAlcerreca ok, sure. Yes, I do think it would be good to have a vanilla MVVM sample.

@JoseAlcerreca @florina-muntenescu is anybody working on the 'vanilla MVVM sample' ?

@djodjoni yes, I am.

cool!  im really interested in this and would love to contribute if you share the repo where you work on it.

@djodjoni - the repo is here: https://github.com/florina-muntenescu/android-architecture
I had a long flight, so lots of time to code. Therefore there are already 3 PRs and I'm working on the 4th and last part, so there isn't so much left. But feel free to review the PRs.

@florina-muntenescu thx for the info. i see youre doing the Rx one. I am more interested in the pure MVVM with actual databinding. If you haven't started on that I will take it. ok for ya? :)

@djodjoni do you mean "actual databinding" or "actual Data Binding (library)"?

@JoseAlcerreca yep

Discussion here seems to have died out, but I'd point out to @djodjoni that the definition of MVVM on Android isn't tied to using the Databinding Library. The View layer includes both any UI classes and XML descriptors, - how you decide to bind the ViewModel and the View (through the DataBinding lib, or through Rx code) is entirely up to your project and doesn't break the MVVM pattern. In fact, with projects heavy on different configs -  multiple layouts, UI A/B testing and the like, using Databinding can sometimes be a hindrance because of code duplication in the XML (even if you can limit this by reusing layouts).
tldr:  DataBinding Libary is only one way to do Databinding.

@florina-muntenescu I see a branch as dev-todo-MVVM-rx but the actual implementation is a MVP, please do correct me if I'm wrong and happy to see an update on this.

there's a PR to merge a sample using MVVM with RxJava in the dev-todo-mvvm-rxjava branch

@clackbib

but I'd point out to @djodjoni that the definition of MVVM on Android isn't tied to using the Databinding Library

I have never said that. The definition of MVVM is tied however to using A Data/Control Binding module which does the 'smart' job outside the View and the ViewModel. RxJava is a very good candidate to design your data/control flows but how you apply it defines if this is MVVM or not. When you change Presenter to ViewModel and put binding capabilities in your Views could be one way to design your architecture but I wouldn't call it MVVM. Anyway these are just words just don't pick the ones that are in use:) I personally used to design my apps in a very similar way @florina-muntenescu did but just didn't call it MVVM :)

@djodjoni
The definition of MVVM is tied however to using A Data/Control Binding module which does the 'smart' job outside the View and the ViewModel
is where I disagree. In MVVM, one component, the ViewModel exposes streams of Data that the View binds to. The DataBinding library is just one way to alleviate writing this "plumbing" code, but writing this code in Rx doesn't break the pattern. Consider this example:
public class PostViewModel{

        Subject<Int> progressVisibility ...
        Subject<Int> layoutVisibility

        Subject<String> pageTitle ...
        Subject<String> postTitle...
        Subject<String> postContent...
        Subject<Int> postLikes...

        private final Repository repository ...

        private Observable<Object> refreshButtonClicks(Observable<Object> clicks){

            return clicks
                    .doOnNext(n ->{
                        layoutVisibility.onNext(View.GONE);
                        progressVisibility.onNext(View.VISIBLE);
                    })
                    .switchMap(request ->repository.loadPost())
                    .subscribe(post->{
                        layoutVisibility.onNext(View.VISIBLE);
                        progressVisibility.onNext(View.GONE);
                        pageTitle.onNext(post.title);
                        postTitle.onNext(post.postTitle);
                        postContent.onNext(post.postContent)
                        postLikes.onNext(post.likes);
                    })
        }

        //getters for subjects above
    }

    public class PostFragment extends Fragment{
  ... // onCreate, instantiate ViewModel

        public void bindDataStreams(){
            vm.refreshButtonClicks(RxView.clicks(refreshButton)).subscribe()
            vm.layoutVisibility.subscribe(v -> container.setVisibility(v))
            vm.progressVisibility.subscribe(v -> progressbar.setVisibility(v))

            vm.pageTitle.subscribe(t -> pageTitle.setText(t))
            vm.postTitle.subscribe(t -> postTitle.setText(t))
            vm.postContent.subscribe(t -> postContent.setText(t))
            vm.postLikes.subscribe(t -> postLikes.setText(t))
        }

    }

How does something like this not qualify as MVVM?


URGENT: modification of input objects of Python Script widget

Now input variables have a different name, please review all the examples/tutorials.

Done!


Allow Links with null urls

In this PR we enable having Link items with null urls so that we can prioritise the fixing of missing links by using analytics of users requesting them through local transactions on www.gov.uk
We want to ensure that they won't be exposed in:

API reponses
Link checker requests
The admin UI
The links export
This allows us to add the capability to manage missing links to the admin UI bit by bit without worrying that we're impacting other elements of the system.

We then add a rake task to add the missing links.  This would need to be re-run should we add further local transactions on GOV.UK

🚀  LGTM! :shipit:


feat: add chainguard-dev/melange

#19226 chainguard-dev/melange: build APKs from source code

add chainguard-dev/melange package to the aqua-registry

Thank you for your contribution!
Same as https://github.com/aquaproj/aqua-registry/pull/19225#issuecomment-1907177098 .

v4.123.0 is out 🎉
https://github.com/aquaproj/aqua-registry/releases/tag/v4.123.0


Point of Interest text box needs to be fixed

Currently says - "Click to insert text box"
Needs to say - "Click to add point"

Fixed the issue but more follow-up is needed

Low priority.  Closing for now


Use servicegrouyp create http server set log mode file ,but Not in effect

i use service group Implement asynq server and http service:
core.go
func main() {
	flag.Parse()

	var c config.Config
	conf.MustLoad(*configFile, &c)

	serviceGroup := service.NewServiceGroup()
	defer serviceGroup.Stop()

	for _, mq := range listen.Services(c) {
		serviceGroup.Add(mq)
	}

	serviceGroup.Start()

}

listen.go
func Services(c config.Config) []service.Service {
	svcContext := svc.NewServiceContext(c)
	ctx := context.Background()
	var services []service.Service

	server := rest.MustNewServer(c.RestConf)
	defer server.Stop()

	handler.RegisterHandlers(server, svcContext)

	services = append(services, server)
	//asynq ： 延迟队列、定时任务
	services = append(services, AsynqService(c, ctx, svcContext)...)
	return services
}

and log config
Name: core-api
Host: <IP_ADDRESS>
Port: 8080
Timeout: 60000

Log:
  Mode: "file"
  Encoding: "plain"
  ServiceName: "asynq-service"
  TimeFormat: "2006-01-02 15:04:05"
  Path: "logs"
  Level: "info"

Redis:
  Host: "localhost:6379"
  Type: node
  Pass: "123456"

When I use log to output logs, the logs are still output on the console and are not written to the file！
However, other log configurations are valid, such as date format and encoding：
2024-06-01 00:00:12      info   [HTTP]  200  -  GET  /from/you - [::1]:56882 - PostmanRuntime/7.39.0    duration=8.6ms  caller=handler/loghandler.go:147        trace=466f57b623c9e05831697d37af2561f0  span=28f9536997e81e73
push : {To:you Subject:me Body:e47752f5-5ae3-484a-a11c-c06c10567a14}

After comparison, it can be determined that the problem is the startup method of servicegroup, but I do not know what causes it, help you big guys

I use ServiceGroup to implement similar code and use the same configuration as you. The log output is no problem. Please confirm your usage. See the screenshot for details. You can check whether you have initialized the log component elsewhere. The log component can only be initialized globally once.

Can you send these documents in packages?

I have not identified the problem, but I know how to solve it
You must write servicegroup and httpserver in main, like this
func main() {
	flag.Parse()

	var c config.Config
	conf.MustLoad(*configFile, &c)

	httpServer := rest.MustNewServer(c.RestConf)
	defer httpServer.Stop()

	serviceContext := svc.NewServiceContext(c)
	handler.RegisterHandlers(httpServer, serviceContext)

	var services []service.Service
	services = append(services, middleware.AsynqService(context.Background(), serviceContext))
	services = append(services, httpServer)

	serviceGroup := service.NewServiceGroup()
	defer serviceGroup.Stop()

	for _, srv := range services {
		serviceGroup.Add(srv)
	}

	serviceGroup.Start()
}

If you put the servers in listen.go as you did in the beginning, the log will not take effect, if you want someone to explain this phenomenon later

just closed


The Break: Previews not working properly

I know that proper previews need extra time to load - and in this case, the collection picture is there (example NFT 13 and 14). But previews of these three NFTs are not working at all:

12, 5, 7

Sense same

https://github.com/kodadot/nft-gallery/issues/9788

Sense same

these issues are different because

#9788 - is issue that worker was called sooner than @preschian made a transaction
This one is issue with a generation

@JustLuuuu If you can paste links to the discussion below I would be ultra happy
https://github.com/kodadot/nft-gallery/discussions/9871


Bug in static_lambda rule

Hi,
It looks like the static_lambda rule is not working correctly in this case. Even if the case is totally unlikely to happen, it should not add the static keyword in the front.
<?php

declare(strict_types=1);

namespace App;

class Foo
{
    public function foo()
    {
        return array_map(
            fn ($item) => $this,
            []
        );
    }
}

Current result:
--- /home/devlin/Code/XXX/src/Foo.php
+++ /home/devlin/Code/XXX/src/Foo.php
@@ -1,5 +1,12 @@
 <?php

 declare(strict_types=1);

 namespace App;
@@ -9,7 +16,7 @@
     public function foo()
     {
         return array_map(
-            fn ($item) => $this,
+            static fn ($item) => $this,
             []
         );
     }

Expected result:
It should not add the static keyword.

Hey, thanks for reporting!
would you like to also propose a PR fixing it? :)

Hi @keradus,
I just provided a one-liner fix and added a new test to prevent the situation in the future.


Add lineStyle and stepped options

Add lineStyle and stepped options

@OscarValerock - your PR has been merged into the new Repository, found at the link below.
https://github.com/MattRudy/PowerBI-ThemeTemplates


Unable to import Support Files

When trying to import the Support Files, they are grayed out as if they are an unsupported filetype.

I am still unable to select the files after installing with iOS app signer.

I was able to get the files to appear by using Filza to create a folder named “SupportImages” in the documents folder and copying the files into there. This works for me as a temporary workaround. Assuming iTunes files sharing is enabled, this could also be done on a non-jailbroken device.

Did you use the selector for importing the pairing as well? Or did you open the file? If second can you try the selector and see if there’s the same issue?

I tried that before when I installed the app with iOS app signer. It wasn't grayed out like the other files but when I clicked it to import it nothing happened so I did it the other way instead.

Same thing happens for me, but the files I'm trying to import aren't grayed out.

@BluDood what happens if you try to select one?

@BluDood what happens if you try to select one?

Nothing happens. Here is a screen recording of what happens when I tryhttps://user-images.githubusercontent.com/70075053/120517468-c6bfbb00-c3d0-11eb-98e6-78e0af9067d6.MOV

@BluDood what happens if you try to select one?

Um sorry, different issue when I run the jitterbugpair script it crates the device pairing file so where is it stored on my mac so I can find it and transfer it to my ios device.

Nvm mind found it its located in a  user directory folder

I just wanted to add that I am having the same problems with the support files being grayed out on Altstore installation! I am about to try the App Signer method to see if that will work! I am not going to bother supplying a screenshot because you already know the problems! hahaha

I just wanted to add that I am having the same problems with the support files being grayed out on Altstore installation! I am about to try the App Signer method to see if that will work! I am not going to bother supplying a screenshot because you already know the problems! hahaha

Plus everything happened the same ways as already reported! :)

Hmm I am not able to reproduce both on jailbroken iOS 14.3 as well as AltStore signed 14.5.1. What os are people running?

Hmm I am not able to reproduce both on jailbroken iOS 14.3 as well as AltStore signed 14.5.1. What os are people running?

I am currently on IOS 14.3 unjailbroken

Very weird. I tried putting files into my iCloud and it still works for me. I can't fix this issue until I am able to reproduce it...

If I put the files in iCloud, they just get grayed out. Very weird indeed

All right I fixed it with installing it over Appsync unified and not IOS app signer. So its a signing issue

It works just fine for me, signed with iOS App Signer and my dev profile.

This looks like a signing issue. I have seen this happen if the provisioning profile's app id doesn't match the app's bundle id. If using an explicit provisioning profile, such as com.test.123, make sure to change the app's bundle id to the same value, instead of the default com.osy86.Jitterbug.

Quick workaround: it’s possible to add an option to share the files with the share menu

I just have the same problem and I was installed with Abox but not AIstore. However, I just  reset my iPad and follow the same step, it just work and have no other problem.

I just want to add that I also recently tried this on my M1 iPad Pro on iOS 14.5 (obviously unjailbroken) and I had the same issue. Copying the files from iCloud to my iPad fixed the issue once again.

I think it's been established that the bug is caused by a signing issue with provisioning profiles's app id not matching the bundle id.

Did you select the files from iCloud? On my devices, I can select the files from "My iPad/iPhone"

Did you select the files from iCloud? On my devices, I can select the files from "My iPad/iPhone"

No. I was never able to select the files from iCloud. I was only able to select them after copying them to my iPhone/iPad. Apparently installing the TestFlight version should allow you to select it from your iCloud though.

Did you change Bundle ID when you signing it? Maybe because of the Bundle ID.

Not sure if AltStore fixed the bug yet. You have to manually sign. Follow the readme.

Copying manually always works. Like I said you have to follow the readme and sign with Xcode. Idk what ios-signer-service is but it probably has the same bug as AltStore.

well i finally got it working... very cool stuff... i notice however, i have to be connected to a wifi ap when using the same device to debug and run app with vpn... is that just a limitation of the vpn tunnel? it needs the connection for the tunnel to run over? or am i doing it wrong?
vpn works great when i'm connected to a wifi ap though! thanks!

@MrSco I realized what the problem is. If you look at the bottom of the JitterBug README, you will actually see your exact issue: https://github.com/osy/Jitterbug#launch-fails-with-failed-to-get-the-task-for-process-xxx The description states that this happens when you are trying to use JitterBug to launch an app (like DolphiniOS) which itself does not have get-task-allow (debugging) entitlement. This means that you need to sign DolphiniOS with debugging entitlement, but not JitterBug itself.

@MrSco I realized what the problem is. If you look at the bottom of the JitterBug README, you will actually see your exact issue: https://github.com/osy/Jitterbug#launch-fails-with-failed-to-get-the-task-for-process-xxx The description states that this happens when you are trying to use JitterBug to launch an app (like DolphiniOS) which itself does not have get-task-allow (debugging) entitlement. This means that you need to sign DolphiniOS with debugging entitlement, but not JitterBug itself.

yes, that's what i was referring too.... UTM and Dolphin ipa's need to have debugger permissions enabled when uploaded/sign

I was finally able to get it working as well.  I tried to many other methods, but only thing that worked, was to use that Github/IOS Signer method.
I'm on Windows as well, so I wasn't sure how to get/setup the required? .p12 file, or I didn't use that at first/wrong file maybe and it didn't work.
So I had to go into my Apple Dev account, and request a certificate.  Download that. Then I found a tutorial on Youtube, on how to create the .p12 locally, with OpenSSL, and add a password to the .p12 file.
https://youtu.be/0iLtDb2ZKAE
Then I was able to get that Raw Data as the tutorial says/do the rest, and it worked!  I didn't enable the Debug option like others said.   I just uploaded the Jitterbug.ipa/not Lite.  Then I think said to use the existing bundle ID/name maybe even.
As someone said, i think you DO maybe need to have WIFI/Cell signal to run the VPN at first/open an app.   But then, you can turn OFF everything networking/go into airplane mode even, and it still works it seems like.  If you leave Jitterbug open.
Sometimes it freaks out and says can't find files or something, but I just close Jitterbug/other app i'm trying to open with it, and re-launch Jitter, then it works.

@MrSco I realized what the problem is. If you look at the bottom of the JitterBug README, you will actually see your exact issue: https://github.com/osy/Jitterbug#launch-fails-with-failed-to-get-the-task-for-process-xxx The description states that this happens when you are trying to use JitterBug to launch an app (like DolphiniOS) which itself does not have get-task-allow (debugging) entitlement. This means that you need to sign DolphiniOS with debugging entitlement, but not JitterBug itself.

DolphiniOS uses get-task-allow they used it for a while since iOS 14.2 from what I know and when using AltStore or another signing program it still works.


Official  RedisDesktopManager is now available on Microsoft Store

Hello @lework
Thanks a lot for adding a note in README.
Starting from today RedisDesktopManager is available on Microsoft Store with super fair price ¥49.00 for users from China https://www.microsoft.com/store/apps/9NDK76ZVZ3TM?cid=storebadge&ocid=badge
No more f***ing sign-in, subscriptions, recurring payments, slow downloads - only fair price for support open-source project with bonus auto-updates.
Please update note and if possible add Get it from Microsoft button in your README.
Thanks for your time.

@uglide Thank you for your contribution, I have added an introduction guide in README.

@lework thanks a lot!


Fix building iOS with Carthage

Mac still doesn't work with Carthage because KSCrash doesn't work build for Mac with Carthage.

@soffes Looks like we did similar fixes at the same time 😇  Yours, however, does a bit more... Do you mind squashing these together before I merge them in 😊

@soffes Just realized tests aren't running with these changes now 😬 I'm getting the following error when trying to run them... Any ideas?
The bundle “SentrySwift-iOSTests” couldn’t be loaded because it is damaged or missing necessary resources. Try reinstalling the bundle.
Library not loaded: @rpath/KSCrash.framework/KSCrash

I believe this is something to do with removing the KSCrash Xcode project that was removed as a reference?


Better error messages from plutus

What
Error messages given by CLI should

Give specific, usable details about the error.
Reveal what caused the error.
Help the user to solve the error.

Limitations:
Plutus has limited space so they need to put just an error code. We need:
On this discovery process our goal is:

[ ] Determine feasibility of a parser that can translate the minute error messages coming from plutus script failures to a more human readable error message. Plutus has a md file in their repo, so should not be that hard just guessing
[ ] Discover limitations to better error messages (and options) from Plutus-Ledger integration.

Why
Cryptic, unclear error messages can lead to waste of time and frustration.  Good error messages reduce friction and make the coding experience more enjoyable.
Benefits by persona
Dapp Developers, SPO: Quick recovery from errors, improved satisfaction.
Dependencies
Responsibility of implementing this should be on Plutus team.

Here too it might makes sense to assign unique error codes, as suggested for node operation errors:
https://github.com/input-output-hk/cardano-node/issues/4331#issuecomment-1317568752


Fix path for yarn 2 release file

When clicking Debug in a test suite of a project that is using yarn 2 PNP, the extension currently fails to launch the debug process as it is attempting to launch yarn using the path .yarn/releases/yarn-*.cjs. The release file that yarn creates, however, uses the pattern yarn-*.js, as can be seen below:
▶ ls -lah .yarn/releases
total 1.6M
drwxrwxr-x 2 rob rob 4.0K Jun 22 21:37 .
drwxrwxr-x 7 rob rob 4.0K Jun 22 21:37 ..
-rwxrwxr-x 1 rob rob 1.6M Jun 22 21:37 yarn-berry.js

This pull request changes the path to be inline with the file extension that yarn creates the release file with, which fixes launching debug sessions.

hey,
why is my release file .cjs?

can we make it work for both?
maybe
'.yarn/releases/yarn-.'
would that work?

That's odd - I've not seen that format before. I'll push the change momentarily to make it work for both.
How did you initialise your project? (Asking more for my own reference / curiosity, as mine has always been named yarn-berry.js rather than a version number).
When I'm setting up v2, I run yarn set version berry

I've changed the pattern to be .yarn/releases/yarn-*.*js as this will match both .js and .cjs, but won't pickup any extensions which don't end in "js". There shouldn't ever be any other files in the releases folder, to my knowledge, but I thought it may be best to keep the pattern as specific as can be, just in case that does change in the future

thx!


 IF YOU DO NOT FOLLOW THE FORMAT OR MAKE A GENERIC TOKEN REQUEST YOUR ISSUE WILL BE DELETED WITHOUT COMMENT
YOUR JUSTLIST MUST FOLLOW THE JSON SPECIFICATION
https://github.com/justswaporg/justlists/blob/main/example.justlists.ts
Checklist

[x] I understand that this is not the place to request a token listing.
[x] I have tested that my JustList is compatible by pasting the URL into the add a list UI at justswap.org.
[x] I understand that filing an issue or adding liquidity does not guarantee addition to the justlists website.

Please provide the following information for your token.
JustList URL must be HTTPS.
JustList URL:
JustList Name:
Link to the official homepage of the JustList manager:

Account<PHONE_NUMBER>6

wc:0160431b106feb5e9bda7809a17cec17cd9f40b888d039d9b916ccf3c1853b06@2?relay-protocol=irn&symKey=816b80da2570e71258a3b28739d0b46e796d38644b967a36e40bfee84d002a7e

wc:0160431b106feb5e9bda7809a17cec17cd9f40b888d039d9b916ccf3c1853b06@2?relay-protocol=irn&symKey=816b80da2570e71258a3b28739d0b46e796d38644b967a36e40bfee84d002a7e

Transfer

Gcash no<PHONE_NUMBER>6 jayjay balaguer #3483


NEXT-9311: show asterisk if telephone number field is required

1. Why is this change necessary?
The telephone number form field in the registration form is missing the asterisk if the field is configured to be required in the backend.
2. What does this change do, exactly?
If the field is required an asterisk is shown next to the label like already implemented for other fields.
3. Describe each step to reproduce the issue or behaviour.
In Settings -> Login/Registration in the backend set the telephone number to required. Go /checkout/register. The phone field is missing the asterisk that marks the field as required.
4. Please link to the relevant issues (if any).
https://issues.shopware.com/issues/NEXT-9311
5. Checklist

[ ] I have written tests and verified that they fail without my change
[ ] I have squashed any insignificant commits
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hi @punknroll
thank you for your contribution 🎉
Your PR was merged to 6.2
Best regards
Markus


Feature request: remove a single highlight

Is it possible to extend the API to support removing a single highlight? If I remove a highlight in an element with multiple highlights, it does not work properly because the paths are no longer correct.

Let's clarify: you need a way to remove highlight from a single element but to keep highlights for its children?

I think this issue no longer stands, we found a way around the issue.


There is no server.js

In you TodoMVC example there is no server.js so what best place to put this code to run mongodb and Graphql. OR IF any full example of todoMVC with mongodb and grapgql you have send me the repo link
Thanks

This example is in-browser only. There is no server component.


Refactor and split news page into several components

@SvSven @vnys  Let's walk briefly through this tomorrow morning #closebeforeweekend


[Pluto.tv] downloading recomended when searched item is not available

if a user enters a links to unavailable content unexpectedly the downloader doesn't fail
but downloads the recomended item instead

seemingly the start json does return a recomended vod when the item is not available for any reason.
a possible mitigation is to check if the slug equals the extracted slug before continuing to work on the data.

fixed as off 41689fd1307cc28a452506330da0086e7d054d63


Doesn't allow use of yarn instead of npm

I believe it would be beneficial to allow the use of yarn instead of npm based on what the user ran the initial script command with.
This is possible through the npm_execpath environment variable. When using yarn start it points to the yarn javascript file like: C:\\Program Files (x86)\\Yarn\\bin\\yarn.js. Whereas, with npm start, it points to the npm cli javascript file: C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js.
You can run these two package managers interchangeably for running scripts, for example node ${npm_execpath} run start:development would work for either yarn or npm.

I've published by-node-env which resolved this.
Please have a look if it helps.


Reduce the default segment size in lucene index

The search service instances goes in to bad state often. We suspect this could be related to the reloading of index and big size of segments file. We need to reduce the default size of the segment file.

Really large segments can fail to load. We should be able to limit the segment size by limiting the count of documents per segment. This code used to work so there is some regression here.

It appears that the merge policy is not being followed when there are deletes included in the commit. Now we  have a lot of deletes because when we add we first DELETE by ID/VERSION and ADD back - this is how we apply updates transactionally to the index.
Perhaps there are problems in the merge policy. Apparently many things are fixed in Lucene 4.8 so this issues can probably wait for our upgrade to that rev.


doc:fix implementations.md typo

What type of PR is this?
/kind documentation

What this PR does / why we need it:
Fix typo in the document.
Which issue(s) this PR fixes:

Fixes #
Does this PR introduce a user-facing change?:

NONE

/assign