Error on start: what's the problem?

I am trying to start Samba in a container using the latest version of your image, but I have an unexpected error.
Here are my configuration files and the log I saved.
If there is an error on my side, I cannot find it.
Thanks for your help!
docker-compose.yml
version: "3.5"

services:
  samba:
    image: crazymax/samba
    container_name: samba
    network_mode: host
    volumes:
      - "./data:/data"
      - "/mnt:/samba/share"
    environment:
      - "TZ=Europe/Rome"
      - "SAMBA_LOG_LEVEL=0"
    restart: always

config.yml
auth:
  - user: myuser
    group: mygroup
    uid: 1000
    gid: 1000
    password: mypwd

global:
  - "force user = myuser"
  - "force group = mygroup"

share:
  - name: pxv
    path: /samba/share
    browsable: yes
    readonly: no
    guestok: no
    validusers: myuser
    writelist: myuser
    veto: no

log
samba  | Setting timezone to Europe/Rome
samba  | Initializing files and folders
samba  | Setting global configuration
samba  | Creating user myuser/mygroup (1000:1000)
samba  | Added user myuser.
samba  | Add global option: force user = myuser
samba  | Add global option: force group = mygroup
samba  | Creating share pxv
samba  | Load smb config files from /etc/samba/smb.conf
samba  | Loaded services file OK.
samba  | Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)
samba  |
samba  |
samba  | Server role: ROLE_STANDALONE
samba  |
samba  |
samba  | # Global parameters
samba  | [global]
samba  |        disable netbios = Yes
samba  |        disable spoolss = Yes
samba  |        dns proxy = No
samba  |        local master = No
samba  |        map to guest = Bad User
samba  |        pam password change = Yes
samba  |        printcap name = /dev/null
samba  |        security = USER
samba  |        server role = standalone server
samba  |        server services = s3fs, rpc, wrepl, ldap, cldap, kdc, drepl, winbindd, ntp_signd, kcc, dnsupdate
samba  |        server string = Docker Samba Server
samba  |        smb1 unix extensions = No
samba  |        smb ports = 445
samba  |        usershare allow guests = Yes
samba  |        winbind scan trusted domains = Yes
samba  |        fruit:time machine = yes
samba  |        fruit:delete_empty_adfiles = yes
samba  |        fruit:wipe_intentionally_left_blank_rfork = yes
samba  |        fruit:veto_appledouble = no
samba  |        fruit:posix_rename = yes
samba  |        fruit:model = MacSamba
samba  |        fruit:metadata = stream
samba  |        idmap config * : backend = tdb
samba  |        create mask = 0664
samba  |        directory mask = 0775
samba  |        force create mode = 0664
samba  |        force directory mode = 0775
samba  |        force group = mygroup
samba  |        force user = myuser
samba  |        hosts allow = <IP_ADDRESS>/8 <IP_ADDRESS>/8 <IP_ADDRESS>/12 <IP_ADDRESS>/16
samba  |        hosts deny = <IP_ADDRESS>/0
samba  |        printing = bsd
samba  |        strict locking = No
samba  |        vfs objects = fruit streams_xattr
samba  |        wide links = Yes
samba  |
samba  |
samba  |
samba  |
samba  | [pxv]
samba  |        delete veto files = Yes
samba  |        path = /samba/share
samba  |        read only = No
samba  |        valid users = myuser
samba  |        veto files = /._*/.apdisk/.AppleDouble/.DS_Store/.TemporaryItems/.Trashes/desktop.ini/ehthumbs.db/Network Trash Folder/Temporary Items/Thumbs.db/
samba  |        write list = myuser
samba  | smbd version 4.18.3 started.
samba  | Copyright Andrew Tridgell and the Samba Team 1992-2023
samba  | ===============================================================
samba  | INTERNAL ERROR: sys_setgroups failed in pid 271 (4.18.3)
samba  | If you are running a recent Samba version, and if you think this problem is not yet fixed in the latest versions, please consider reporting this bug, see https://wiki.samba.org/index.php/Bug_Reporting
samba  | ===============================================================
samba  | PANIC (pid 271): sys_setgroups failed in 4.18.3
samba  | unable to produce a stack trace on this platform
samba  | dumping core in /var/log/samba/cores/smbd
samba  | ===============================================================
samba  | INTERNAL ERROR: sys_setgroups failed in pid 280 (4.18.3)
samba  | If you are running a recent Samba version, and if you think this problem is not yet fixed in the latest versions, please consider reporting this bug, see https://wiki.samba.org/index.php/Bug_Reporting
samba  | ===============================================================
samba  | PANIC (pid 280): sys_setgroups failed in 4.18.3
samba  | unable to produce a stack trace on this platform
samba  | dumping core in /var/log/samba/cores/smbd
samba  | ===============================================================

I will add some information.
My first attempt to create and start Samba had partially worked: I had managed to map a network drive and access the shared folder, but the user I was connecting with did not have write permissions.
My first config.yml file was as follows (or at least I think so, as I modified it many times afterwards!):
auth:
  - user: myuser
    password: mypwd

global:
  - "force user = myuser"

share:
  - name: pxv
    path: /samba/share
    browsable: yes
    readonly: no
    guestok: no
    validusers: myuser
    writelist: myuser
    veto: no

After this first attempt, I checked that the user myuser actually had write permissions to the folder on the host (and indeed he did not), checked the group membership and the GID value, and corrected the config.yml file as above.
However, since I could no longer connect from Windows (I tried from 2 different PCs), I checked and Samba was no longer running correctly.
I also tried deleting the Samba container and the folders created in /var/samba, and even restarted the server, but it didn't help...

I will add some information.

Yes please create a proper bug report.

Thank you for the answer.
Opened a bug report (hope that helps to understand what happens).
I didn't do it before because I don't know if it is an error depending on my configuration instead of a bug...


Adding Social Banner in Support of Ukraine

Summary
Our mission at Meta Open Source is to empower communities through open source, and we believe that it means building a welcoming and safe environment for all. As a part of this work, we are adding this banner in support for Ukraine during this crisis.
Testing

The link is broken in a mobile browser
Fred Emmott @.***> 于2022年3月2日周三 13:26写道：

Merged #186 https://github.com/hhvm/hhvm.com/pull/186 into main.
—
Reply to this email directly, view it on GitHub
https://github.com/hhvm/hhvm.com/pull/186#event-6173988025, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAES3OQ2BCZFEJGPQD2LATLU57MHHANCNFSM5PYUQ34Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

The link https://opensource.facebook.com/support-ukraine redirects to
https://m.facebook.com/fundraisers/explore/search/charities/?query=ukraine
in a mobile browser. However
https://m.facebook.com/fundraisers/explore/search/charities/?query=ukraine
seems not valid.
[image:
screencapture-m-facebook-fundraisers-explore-search-charities-2022-03-03-13_05_00.png]
Yang, Bo @.***> 于2022年3月3日周四 13:04写道：

The link is broken in a mobile browser
Fred Emmott @.***> 于2022年3月2日周三 13:26写道：

Merged #186 https://github.com/hhvm/hhvm.com/pull/186 into main.
—
Reply to this email directly, view it on GitHub
https://github.com/hhvm/hhvm.com/pull/186#event-6173988025, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAES3OQ2BCZFEJGPQD2LATLU57MHHANCNFSM5PYUQ34Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Bug Report V1.10.0b5

There ar no more Readings with this release sorry
Error reading registers. Type: RegisterType.HOLDING; start: 44008; count: 5; slave: 247 from tcp://<IP_ADDRESS>:502: Exception Response(131, 3, IllegalAddress)
-->
V1.10.0b5
-->
Configuration
Normal Configuration through Web Interface

Describe the bug
NO more readings in the Whole integration
Debug log
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: custom_components.foxess_modbus.modbus_controller
Source: custom_components/foxess_modbus/modbus_controller.py:144
Integration: FoxESS - Modbus (documentation, issues)
First occurred: 19:13:43 (1 occurrences)
Last logged: 19:13:43
Failed to write registers
pymodbus.exceptions.ModbusIOException: Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 8 bytes (0 received)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/foxess_modbus/modbus_controller.py", line 144, in write_registers
await self._client.write_registers(start_address, values, self._slave)
File "/config/custom_components/foxess_modbus/client/modbus_client.py", line 179, in write_registers
raise ModbusClientFailedError(message, self, response) from response
custom_components.foxess_modbus.client.modbus_client.ModbusClientFailedError: Error writing registers. Start: 44000; values: [0]; slave: 247 from tcp://<IP_ADDRESS>:502: Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 8 bytes (0 received)

Thank you again very very much for your work on this Integration

Thanks!
What inverter model do you have, what is the manager version, and how are you connected to it?

Interesting. They must not have implemented the remote control functionality. I'll remove support for that inverter.

tried to reinstall the whole thing no really good changings here -went back to v1.9.0 great sucess

Logfile of the "false / not functioning version : v1.10.0b5
home-assistant_2024-01-30T15-47-17.632Z.log

you can not imagine how much i apreciate your work  thanks a lot!

Leaving open until I fix this


whisper.init() - UnsatisfiedLinkError

For some reason when i try create a context, the whole thread stops with:
Exception in thread "main" java.lang.UnsatisfiedLinkError: 'int io.github.givimad.whisperjni.WhisperJNI.init(java.lang.String)'
	at io.github.givimad.whisperjni.WhisperJNI.init(Native Method)
	at io.github.givimad.whisperjni.WhisperJNI.init(WhisperJNI.java:51)
	at org.echoai.Main.main(Main.java:49)

Here is my current code:
public class Main {
    public static WhisperContext whisperContext;
    public static File tempModel;
    public static WhisperJNI whisper;
    public static  WhisperFullParams whisperFullParams;
    public static void main(String[] args) throws InterruptedException {
        loadWhisperLibrary();
        whisper = new WhisperJNI();

        try {
            // Load the model as a stream
            InputStream modelStream = Main.class.getClassLoader().getResourceAsStream("ggml-base.en.bin");
            if (modelStream == null) {
                throw new IllegalArgumentException("Model file not found!");
            }
            // Create a temporary file to copy the model into
            tempModel = File.createTempFile("whisper-model", ".bin");
            tempModel.deleteOnExit(); // Ensure the file is deleted when the program exits
            try (OutputStream out = new FileOutputStream(tempModel)) {
                // Copy the model from the resource stream to the temporary file
                byte[] buffer = new byte[1024];
                int bytesRead;
                while ((bytesRead = modelStream.read(buffer)) != -1) {
                    out.write(buffer, 0, bytesRead);
                }
            }
            log.info(tempModel.getAbsolutePath());
            whisperContext = whisper.init(Path.of(tempModel.getAbsolutePath()));
            whisperFullParams = new WhisperFullParams();

        } catch (IOException e) {
            throw new RuntimeException("Failed to load Whisper model", e);
        }

        }

This would mean that JNI is unable to find the native method implementations in the .dll file. But i do not see any issue with it.
I have the .dll and my .jar from here: https://github.com/ggerganov/whisper.cpp/actions/runs/6703965523
Specifically: win32-x86-64_whisper.dll & whispercpp.jar
The dll is placed here: src/main/resources/whisper.dll
and the . jar files are here:
C:\Users\Losokos\IdeaProjects\EchoAI\libs\whispercpp-1.4.0.jar
C:\Users\Losokos\IdeaProjects\EchoAI\libs\whispercpp-1.4.0-javadoc.jar
C:\Users\Losokos\IdeaProjects\EchoAI\libs\whispercpp-1.4.0-sources.jar
I have used this method to load the whisper.dll
public static void loadWhisperLibrary() {
       try {
           // Get the .dll as an input stream
           InputStream in = LibraryLoader.class.getResourceAsStream("/whisper.dll");
           if (in == null) {
               throw new FileNotFoundException("whisper.dll not found in resources.");
           }

           // Create a temporary file to copy the .dll
           File tempDll = File.createTempFile("whisper", ".dll");

           // Ensure the file is deleted on exit
           tempDll.deleteOnExit();

           // Copy the .dll to the temporary file
           try (OutputStream out = new FileOutputStream(tempDll)) {
               byte[] buffer = new byte[1024];
               int bytesRead;
               while ((bytesRead = in.read(buffer)) != -1) {
                   out.write(buffer, 0, bytesRead);
               }
           }

           // Load the .dll from the temporary file
           System.load(tempDll.getAbsolutePath());
           log.info(".dll loaded {}", tempDll.exists());
       } catch (IOException e) {
           throw new RuntimeException("Failed to load the native library", e);
       }
   }

and included the .jar's in gradle
  implementation fileTree(dir: 'libs', include: ['*.jar'])
I have also added the .jar's in the project structure -> Libraries in IntelliJ IDEA
Please help me out, i am literally dying to finally get this working. ThanQ!

Hello,
In case you are mixing things, Whisper.cpp has its how java wrapper in its repo, which didn't worked for me so I built these one which includes prebuilt binaries to accomplish basic execution in some platforms. That ones are already packaged in the maven distribution.
You can't use the whisper.dll directly with this project, because it uses a single binary file which should export a compatible JNI interface for the class WhisperJNI. You can find how I built it for windows in the build_win.ps1 file.
I'm currently working on a PR that changes the way the library is loaded so you can use a different whisper shared library with this project, but I still have to add the windows part, so not ready.

To use it on windows x64 it should work if you install it from maven https://central.sonatype.com/artifact/io.github.givimad/whisper-jni and use the example code.
Please reopen the issue if you found out that's not the case.
Best regards.

Okay, so first of all thanks for the reply!
2nd, i forgot to mention that i do already have the maven dependency included. Also do i understand correctly that i should not use the whispercpp jar /  whisper.dll at all??
Aaand also i am running the test with your example code now, using my own .wav file, and the output is weird, it transcribed the audio as "[sound of fire]" ( which is obviously not true ), but also seemingly did it before the model has even loaded.
Here is the output:
4:59:36.027 [Test worker] INFO   - Running example test.
14:59:38.215 [Test worker] INFO   - C:\Users\Losokos\AppData\Local\Temp\whisper-model13474856047131154935.bin
15:01:04.351 [Test worker] INFO   - Segment text:  [sound of a fire]
> Task :test
whisper_init_from_file_no_state: loading model from 'C:\Users\Losokos\AppData\Local\Temp\whisper-model13474856047131154935.bin'
whisper_model_load: loading model
whisper_model_load: n_vocab       = 51864
whisper_model_load: n_audio_ctx   = 1500
whisper_model_load: n_audio_state = 512
whisper_model_load: n_audio_head  = 8
whisper_model_load: n_audio_layer = 6
whisper_model_load: n_text_ctx    = 448
whisper_model_load: n_text_state  = 512
whisper_model_load: n_text_head   = 8
whisper_model_load: n_text_layer  = 6
whisper_model_load: n_mels        = 80
whisper_model_load: ftype         = 1
whisper_model_load: qntvr         = 0
whisper_model_load: type          = 2
whisper_model_load: mem required  =  310.00 MB (+    6.00 MB per decoder)
whisper_model_load: adding 1607 extra tokens
whisper_model_load: model ctx     =  140.66 MB
whisper_model_load: model size    =  140.54 MB
whisper_init_state: kv self size  =    5.25 MB
whisper_init_state: kv cross size =   17.58 MB
whisper_full_with_state: progress =   5%
whisper_full_with_state: progress =  10%
whisper_full_with_state: progress =  15%
whisper_full_with_state: progress =  20%
whisper_full_with_state: progress =  25%
whisper_full_with_state: progress =  30%
whisper_full_with_state: progress =  35%
whisper_full_with_state: progress =  40%
whisper_full_with_state: progress =  45%
whisper_full_with_state: progress =  50%
whisper_full_with_state: progress =  55%
whisper_full_with_state: progress =  60%
whisper_full_with_state: progress =  65%
whisper_full_with_state: progress =  70%
whisper_full_with_state: progress =  75%
whisper_full_with_state: progress =  80%
whisper_full_with_state: progress =  85%
whisper_full_with_state: progress =  90%
whisper_full_with_state: progress =  95%
BUILD SUCCESSFUL in 1m 41s

If you could provide the file you are using for your test so i can actually run the test properly, that would be great!
Here is the code:
    public void ExampleTest() throws IOException {

        log.info("Running example test.");

        // Load the .wav file
        try (AudioInputStream audioInputStream = AudioSystem.getAudioInputStream(new File("src/harvard.wav"))) {
            AudioFormat format = audioInputStream.getFormat();
            long audioFileLength = audioInputStream.getFrameLength();
            int frameSize = format.getFrameSize();

            // Calculate the length in bytes of the audio data
            long dataLength = audioFileLength * frameSize;

            byte[] audioBytes = new byte[(int) dataLength];
            audioInputStream.read(audioBytes);

            // Convert the byte array to floats for Whisper AI
            float[] samples = convertAudioBytesToFloats(audioBytes);

            // Load the model as a stream
            InputStream modelStream = Main.class.getClassLoader().getResourceAsStream("ggml-base.en.bin");
            if (modelStream == null) {
                throw new IllegalArgumentException("Model file not found!");
            }
            // Create a temporary file to copy the model into
            tempModel = File.createTempFile("whisper-model", ".bin");
            tempModel.deleteOnExit(); // Ensure the file is deleted when the program exits
            try (OutputStream out = new FileOutputStream(tempModel)) {
                // Copy the model from the resource stream to the temporary file
                byte[] buffer = new byte[1024];
                int bytesRead;
                while ((bytesRead = modelStream.read(buffer)) != -1) {
                    out.write(buffer, 0, bytesRead);
                }
            }
            log.info(tempModel.getAbsolutePath());

            var whisper = new WhisperJNI();
            WhisperJNI.loadLibrary();
            var ctx = whisper.init(Path.of(tempModel.getAbsolutePath()));
            var params = new WhisperFullParams();
            int result = whisper.full(ctx, params, samples, samples.length);
            if (result != 0) {
                throw new RuntimeException("Transcription failed with code " + result);
            }
            int numSegments = whisper.fullNSegments(ctx);

           // assertEquals(1, numSegments);
            String text = whisper.fullGetSegmentText(ctx, 0);
            log.info("Segment text: {}", text);
            //assertEquals(" And so my fellow Americans ask not what your country can do for you ask what you can do for your country.", text);
            ctx.close();
        } catch (UnsupportedAudioFileException e) {
            throw new RuntimeException(e);
        }

    }

Okay, so first of all thanks for the reply!

You are welcome.

2nd, i forgot to mention that i do already have the maven dependency included. Also do i understand correctly that i should not use the whispercpp jar / whisper.dll at all??

No, because the build-in binary already contains the whisper.cpp code. Right now from tag 1.4.2.

Aaand also i am running the test with your example code now, using my own .wav file, and the output is weird, it transcribed the audio as "[sound of fire]" ( which is obviously not true ), but also seemingly did it before the model has even loaded.

The test is only ready to process the wav format of the example file (16000hz, signed int, mono), maybe that is the problem.
You can verify the results against the whisper.cpp tag 1.4.2 using same model.

I've tried running the model on my harvard.wav and i guess you were right:
read_wav: WAV file 'samples/harvard.wav' must be 16 kHz
error: failed to read WAV file 'samples/harvard.wav'

I have found my main problem... I've been using BIG_EDIAN byte order in the convertAudioBytesToFloats() method instead of LITTLE_EDIAN, and that caused the output to be corrupted. Thanks for the help, all works great now!


Update DNS and Cache components to stable LTS release

This simple changeset updates the DNS and Cache components to stable LTS release. These are currently not tagged/released, so this build is expected to fail at the moment. I'm filing this PR in preparation for when these components are tagged and will update this ticket asap.
The changeset builds on top of #427, see only the last commit for changes in this PR. I will rebase this once #427 is in.
Builds on top of #427

Updated now that the main components have been tagged and included a small work around for a known build error in the Socket component :shipit:


[Bug] Sending OAuth 2.0 Request Returns New Blank Window

Running Windows 10 build 17692
Insomia v5.16.6
To recreate (I used a fresh installation of the latest Insomnia download for Windows to verify, twice):
Step-by-step follow the tutorial GitHub API Authentication using OAuth 2.0
Send the correctly setup request and when prompted complete the sign in with your GitHub credentials and authorize the OAuth application.
Problem occurs at this point: only a new blank window shows up instead of results while the preview pane in the original Insomnia window continues counting. You're only exit is to manually cancel the request.
Screenshot:

Quick question before I try and reproduce on my end: Is the redirect_url the same one you entered in GitHub when creating the OAuth app?

@gschier It is the same.  I just re-confirmed that everything matches what is specified or assigned from the app registration in GitHub OAuth Application Settings.  I've also tried putting in the OAuth 2 values manually and then using env vars via sub-environment JSON values and same result.
Of additional note is the new blank window doesn't close even if you click in the preview pane to cancel the request. However, if you click to close the blank window, the request gets canceled.

I am having the same issue. Don't know how to fix it.

I'm also encountering this even on the latest release release of Insomnia, what can we provide data wise to try and get this resolved?

I have the same issue when my identity provider is hosted using a self-signed TLS certificate, even though "Validate certificates" is set to off in Insomnia settings.

I am having the same issue.
STEPS:

Attempt an OAuth connection, as per OP
Click on [Fetch Tokens] button

EXPECTED:

Browser window opens, with which I can grant requested permission

ACTUAL:

New blank instance of Insomnia opens
That's all

Only option then is to close the spawned Insomina window, whereupon the original Insomnia window says "Authorization window closed."
I note that the help question mark for the Insomina REDIRECT URL item says: "This can be whatever you want or need it to be. Insomnia will automatically detect a redirect in the client browser window and extract the code from the redirected URL."   My guess (but I don't know) is that this mechanism of hooking the redirected URL is not working in my case.  Windows 10, and my default browser is Microsoft Edge v81.0.416.64 (Chromium based).
Sure would appreciate some help. Showstopper for me and Insomnia at the moment.

@sraze My authorization URL is correct. It works when using HTTP instead of HTTPS, however that is only a workaround, not a solution. Many development environments use self signed SSL certificates or the Let's Encrypt Staging environment. Insomnia OAuth won't work in these environments.

@gschier Would you mind taking another look at this issue?

There is still no solution for self-signed URLs?


Registry Proxy Cache: docker hub account was used to auth against self-hosted registry

The issue could be reproduced by the following steps:

login against docker hub with account, such as wangchunyang
login against self-hosted registry with another account "user123"
pull an image from docker hub

We expected the image was cached in self-hosted registry and the account "user123" is used to auth against registry. But it doesn't work. The following logs could be found from docker daemon:

DEBU[0041] Error trying v2 registry: Get https://hub.docker-dev.hos.hpecorp.net/v2/library/owncloud/manifests/8.1.4: token auth attempt for registry: https://auth.docker-dev.hos.hpecorp.net:4443/auth?account=wangchunyang&scope=repository%3Alibrary%2Fowncloud%3Apush%2Cpull&service=Docker+registry request failed with status: 500 Internal Server Error
Please note that in request url of auth, the value of account parameter is docker hub account "wangchunyang" instead of self-hosted registry account "user123".

registry proxy will use the account configured in configuring-the-cache to get repos from the hub.
Because registry proxy will create a 'client' to get repo from the hub and then save the repo in 'local' storage, it doesn't use the account for the registry proxy. Currently, that 'client' can only use the account configured in above step.

@hopkings2008 I just updated the original description to highlight the issue. The account user123 should be sent to self-hosted registry for authentication. However it is sending docker hub account to self-hosted registry. In another word, the query string should be something like "https://auth.docker-dev.hos.hpecorp.net:4443/auth?account=user123" instead of "https://auth.docker-dev.hos.hpecorp.net:4443/auth?account=wangchunyang"


V2 monaco rewrite - Needs Maintainers & Contributors!

I apologize how neglected this repository has been! We have many co-maintainers who are all busy with work and maintaining other graphql ecosystem tooling. 🥵
We had planned on merging graphiql and playground projects, but it no longer seems to be a good idea. At the time I was a paid open source maintainer for GraphiQL, Vscode Graphql and the language server, however the pandemic has changed all of that.
The best we can hope for is that they can share some react components & utilities via our forthcoming @graphiql/react sdk! Most importantly, whatever is in playground’s future, it will be using our new monaco-graphql! 💫
Our focus now is on the graphiql rewrite, but there is nothing stopping anyone from starting with monaco-graphql and react on a new playground.
Proposals that convert the existing playground to use monaco-graphql are also welcome. We don’t have a roadmap for this approach.
If anyone has been particularly helpful and knowledgeable helping with issues, creating PRs for important bugs, etc, feel free to nominate them as potential maintainers in the comments! Self nominations are also of course welcome.

One of the most confusing parts about maintaining this repository is that many issues are for forks of playground such as apollo’s fork (which has issues disabled), or embedded implementations in various frameworks or platforms with edge case or outdated implementations.
it deserves a dedicated team!

GraphQL Playground & GraphiQL Are No Longer Merging

We've decided it no longer makes sense to merge the projects, though they will continue to use tons of shared logic in the form of the editor mode. It made sense at the time that Prisma offered playground to us, but it's clear the community wants to move this project forward.

Just for clarity (given the above linked issue)

@acao and @jspizziri  I am interested in being a maintainer.
If there are still opportunities to improve this repo and prioritize work I would be happy to help.

@dotansimha ^^ !! :)

Hey everyone, a quick update here:
GraphiQL 1 will soon have tabs.
We just had the [GraphiQL WG meeting]. (https://docs.google.com/document/d/1Jz0STnSDiEjFTj6mGzvdjoQ2VR01o5it26GgiBC4j5I/edit) Recording coming soon.
We have just agreed on a new design for the new GraphiQL 2, as proposed here.
With the tabs, we're basically getting to feature parity between GraphiQL and the Playground.
I suggest, that we leave the playground for now as it is, as GraphiQL will cover the same needs moving forward.
Once we have the GraphiQL 2 out, let's reassess, but I think it would make more sense to potentially launch a Playground v2, which is either re-exporting or reusing the GraphiQL implementation.

fyi @n1ru4l ;)

@acao, @timsuchanek is it possible to get Playground installing/building again theres multiple versioning issues, but I need a graphql queryer that does graphql-ws and I need it like yesterday. So if it would be possible to get it building again and with @ardatan's pull request https://github.com/graphql/graphql-playground/pull/1295 even as a branch it would be great !

I suggest, that we leave the playground for now as it is, as GraphiQL will cover the same needs moving forward.
Once we have the GraphiQL 2 out, let's reassess, but I think it would make more sense to potentially launch a Playground v2, which is either re-exporting or reusing the GraphiQL implementation.

Just an FYI, @timsuchanek , that GraphiQL 2 has been released: https://github.com/graphql/graphiql/releases/tag/graphiql%402.0.0

I understand that most of the GraphQL ecosystem tooling exists is cloud native to supports CI, collaboration and other use cases. However, I'm having some issues running queries on Github & Upwork.
Can someone in the GraphQL world consider allowing credentials for API tokens to be passed into a GraphQL IDE on initialization using either:

environment variable
file/descriptor redirection
the UNIX pass tool?

On Linux (without a proper "desktop environment), things like gnome-keyring aren't guaranteed, which could be problematic when it comes to Electron Apps that handle API Tokens, see here on archwiki or this issue or the VS Code docs. After looking at that issue, I think would encounter that issue on my Guix install, but maybe not my Arch desktop. This is possible for Electron apps on other OS's where an app's developer doesn't use the keychain API's (like OSX Keychain or Android Key Storage.
I've now tried the following (and perhaps others). They are all electron apps or web apps.

GraphiQL
Altair
Postman
Insomia

Whether this API token storage is a problem depends on how an Electron app integrates with the desktop and what calls it uses to persist data. I don't want to persist data, but none of the docs for any app makes clear how data is stored. Also, I should definitely not have to store my API tokens on a server. I'm sure this would be abundantly obvious if you had copious experience with Electron...  I'm not looking forward to a deep dive on Electron because I know what it will be like: build customization everywhere and obfuscation of implementation. There are a few electron apps I use and I'd really prefer to not know how the sausage is made.
For each GraphQL IDE app (and even the GraphQL website), the docs and product structure are fairly confusing to me ... across the entire ecosystem. If you look at graphql/graphiql#3214 and it seems like "I'm doing it wrong", that's what I'm talking about. Youtube usually provides some good long-form surveys of an software/platform ecosystem, but there's not much on GraphQL. Your ecosystem's docs seem to not be aware of how much it depends on "social connection" in order for people to "just know" what everything means. And so the following isn't exactly obvious:

just learning what tooling exists (like literally the app names i should google)
where the apps store their secrets. they all use the same UI/UX: write a pre/post script where it can't exec shell scripts.
whether the electron local session storage is cached/saved to the file system.
where the Gitlab and Github GraphQL query-runner-app-things went? It usually takes me over an hour to find them.

I'm in the middle of hopping between like 7 different languages. Not having autocomplete is a bottleneck in learning GraphQL. Development seems to require like 20+ tabs and i'm also in the middle of learning Ansible -- given that each collection has it's own page, where the average margin/padding is too wide, then those are like 30+ very frustrating tabs. And learning Ansible led me /back to GraphQL/ ... to simplify docs search for Ansible, I need to start out getting all of the AnsibleCommunity repositories ... Then I don't have tabs, I have buffers and ripgrep handles everything xref doesn't.
I understand that some things are just more complicated in Emacs. view raw if not clear, but I tried every way I could think of until running into curl/quoting issues. If I can write the queries with features to facilitate learning the language, running the queries in a 100 different ways is simple.

I reopened Altair and the query & pre-script was still there. It didn't clear the state of the application, which usually indicates file storage.
I quickly searched electron to find references to settings.json and ran strace -e %file on the process. that showed me quite a bit of file access in XDG_CONFIG_HOME ... I didn't spend too much time, but it seems like /all/ of that electron app's data gets stored in XDG_CONFIG_HOME, which I'm assuming are electron defaults.
I ran yay -Rns to remove the app, but all of the application's data still remained. I'm assuming that most of the other apps are pretty much the same. Most of the data is in binary, and maybe it's protected like Firefox/Chrome. The problem here is that I could've put my API token in that query and if I did, then maybe it's recoverable using something like obsidianforensics/hindsight
I had never heard of that, but I am interested in forensics, so I thought I'd give it a try.
| site setting (hsts) | 2023-06-05 20:23:20.465 | Encoded domain: Ifty0kmGtBkqpzyRNEJ2iccvLpOffAEtEf72UjNCr0U= | HSTS observed | {'expiry':<PHONE_NUMBER>.465995, 'host': 'Ifty0kmGtBkqpzyRNEJ2iccvLpOffAEtEf72UjNCr0U=', 'mode': 'force-https', 'sts_include_subdomains': True, 'sts_observed':<PHONE_NUMBER>.465997} |   | /home/notme/.config/Altair |
| site setting (hsts) | 2023-06-05 20:23:26.249 | Encoded domain: nAuqgR4iEWti7SOdT3UHPl6rmZU/DeaIm38P2O2OkgA= | HSTS observed | {'expiry':<PHONE_NUMBER>.249853, 'host': 'nAuqgR4iEWti7SOdT3UHPl6rmZU/DeaIm38P2O2OkgA=', 'mode': 'force-https', 'sts_include_subdomains': False, 'sts_observed':<PHONE_NUMBER>.249854} |   | /home/notme/.config/Altair |
| site setting (hsts) | 2023-06-05 20:23:26.369 | Encoded domain: qaDeFdT1UTirY0OQe+c5LKw+zjx6vF/+3vFh7CgrAOY= | HSTS observed | {'expiry':<PHONE_NUMBER>.369977, 'host': 'qaDeFdT1UTirY0OQe+c5LKw+zjx6vF/+3vFh7CgrAOY=', 'mode': 'force-https', 'sts_include_subdomains': True, 'sts_observed':<PHONE_NUMBER>.369978} |   | /home/notme/.config/Altair |
| site setting (hsts) | 2023-06-05 20:31:03.518 | Encoded domain: E10e7Gwg5+phsYD4E8qNYFsQySXnIHPAfo4zloUPESc= | HSTS observed | {'expiry':<PHONE_NUMBER>.518274, 'host': 'E10e7Gwg5+phsYD4E8qNYFsQySXnIHPAfo4zloUPESc=', 'mode': 'force-https', 'sts_include_subdomains': False, 'sts_observed':<PHONE_NUMBER>.518275} |   | /home/notme/.config/Altair |

But then again, maybe not, since hindsight couldn't unmask data like this, meaning there is at least some data being shielded by the keyring. But with a dictionary of domains to compare against, these subdomains would unmask.


Switch synchronous thread to thread_local storage

Description
IOCTLs sent via a file handle that is opened without the FILE_FLAG_OVERLAPPED flag are serialized in the file object. This will affect performance if multiple user mode threads are making concurrent IOCTL requests.
This change switches the synchronous handle to being per-thread, with the handle being closed on thread detach.
Testing
CI/CD
Documentation
No.
Installation
No.

Need to investigate failures.

Isusue resolved, ready for review.

Code itself looks good to me, but do we have existing tests which utilize ebpf api on multiple threads?

Code itself looks good to me, but do we have existing tests which utilize ebpf api on multiple threads?

Added dedicates IOCTL stress test, FWIW.

Would it make sense to implement _sync_device_handle and _async_device_handle as instances of a "device_handle" class (w/constr(), destr() and get(), eventually with an extra-safety on the thread-detach system call (even though the compiler should guarantee the destructor to be called)?


Tray - NativeImage using incorrect image for devicePixelRatio @2x

The issue I'm having is that NativeImage is using a @1x image for the Tray when the window.devicePixelRatio is 2. I am creating my NativeImage by calling NativeImage.createFromPath
I tried to force NativeImage to use the @2x image file by passing in the path to NativeImage.createFromPath that contains *@2x, but it just displays an empty image on the Tray.
If I change the filename of the 2x image to 1x it will display it without scaling. Also, if I just leave the @2x image file on the folder it will display nothing.
Bottom line, it is trying to get the 1x image no matter what even though window.devicePixelRatio is 2.
Is this expected behavior?

Can you provide an example?

hey @zcbenz , so after investigating further it turns out that the problem is with NativeImage.toDataUrl which apparently does not take into account window.devicePixelRatio.
Basically, if i have<EMAIL_ADDRESS>and<EMAIL_ADDRESS>and I do:
var tray = new Tray(NativeImage.createFromPath('/some/abs/path/icon.png'));

it will work as expected.
But if I use toDataUrl like this:
var tray = new Tray(
  NativeImage.createFromDataUrl(
    NativeImage.createFromPath('/some/abs/path/icon.png').toDataUrl()
  )
);

it will use @1x always. Is this expected? I need to use toDataUrl.
Im using electron v 0.29.2. I set up an example here: https://github.com/jstejada/electron-tray-icon-example
Thanks!

@jstejada The data URL doesn't carry scale factor information so nativeImage.createFromDataUrl will always create images with 1x scale factor, I have created a new issue (#3463) for this.


[BUG] - Belt hints spawning items, placed on belts that weren't present in the source

Describe the bug
I am attempting to copy a set of smelters and trying to alter the recipe.
The belt hint icon selector appears to be bugged: the size of the panel is wrong and what I visibly click on does not get visibily selected (the visible selection is offset from my mouse) yet when hitting the confirm button what I visibly clicked on IS actually chosen.

Addtionally, and more problematic is that spurious belt hints seem to be littered across my pasted blueprint. The proliferator juice on the belt here should not be there at all and is being generatoed by something but it's not obvious what as the whole belt has been filled with it. It's showing titanium ore too instead of the copied silicon - a previous attempt was me changing to titanium but despite now copy and pasting an unmodified silicon setup the previous attempt is seemingly still in some temporary state and erroneously appearing here.

Noticed that it appears to be these particular map tiles that are bugged. I've loaded up in to vanilla with my save and when manually placing down belts over the bugged area these have appeared.

So I'm fairly sure I know what happened here. It seems like at some point I'd created a bugged ILS, I determined that the juice was being taken from a certain ILS. After removing that ILS it's no longer happening.

I'm not sure about the random hints coming from nowhere.
But the picker issue is resolved. Update Common API to v1.6.4
Closing this for now. If you encounter further issues, please open new issue.


Verify or Support Functionality on Windows IoT Core

One major use case I personally see is as a minimalistic way to give Windows IoT Core a PowerShell based alternative to Node.js for web server.
I have not yet had a chance to test Polaris on IoT Core, I will add feedback when I do.

I would love to see this and was actually thinking about this today!
In theory, this should work anywhere where PowerShell Core 6 works.

I am working on building an ARM version to test on my pi.  I would like to get it done this weekend and report back my findings (I am teaching myself how to build core solutions in the process so its a slow effort)

Let me know if I can help in any way!


Supreme Commander: Forged Alliance. Multiple Issues

Summary of issues that aren't present in unmodified proton:
1: Mouse cursor is invisible in-game
2: Game cannot be alt-tabbed out of (it loses focus, but stays on the screen, preventing any other program coming to front)
3: Shimmering effect where the visible sections of fog of war is supposed to be rendering
4: Commander does not animate (may relate to other units, but the building swarm for Cybran was animated)
Not sure how to get an apitrace from games run through proton natively in the steam client. Tried to run it the suggested way and it gave me
~/.steam/steam/steamapps/compatdata/9420/pfx/drive_c/apitrace-msvc/x86/bin$ WINEPREFIX="/home/james/.steam/steam/steamapps/compatdata/9420/pfx/" wine apitrace.exe trace -a dxgi /home/james/.steam/steam/steamapps/common/Supreme\ Commander\ Forged\ Alliance/bin/SupremeCommander.exe  002d:err:vulkan:wine_vk_init Failed to load libvulkan.so.1. 002d:err:vulkan:wine_vk_init Failed to load Wine graphics driver supporting Vulkan. 002d:err:module:LdrInitializeThunk "winevulkan.dll" failed to initialize, aborting 002d:err:module:LdrInitializeThunk Initializing dlls for L"Z:\\home\\james\\.steam\\steam\\steamapps\\common\\Supreme Commander Forged Alliance\\bin\\SupremeCommander.exe" failed, status c0000142 warning: C:\apitrace-msvc\x86\bin\..\lib\wrappers\dxgitrace.dll was never used: application probably does not use this API 002a:fixme:kernelbase:AppPolicyGetProcessTerminationMethod 0xfffffffa, 0x32fe3c 0009:fixme:kernelbase:AppPolicyGetProcessTerminationMethod 0xfffffffa, 0x33fe3c
Software information
Game was run at 2560x1440, on max settings, vsync disabled
System information

GPU: GTX 1070
Driver: 418 (Ubuntu PPA)
Wine version: Proton 3.16-9
DXVK version: D9VK 0.10

Apitrace file(s)
:(
Log files
Can't find these in the game's install folder, do I need to use some kind of argument to get them to generate?

d3d11.log:
dxgi.log:

Sorry I can't be fully helpful at first, but with some direction I can provide the rest of the info and re-test as necessary :D
Thanks!

Some bugs are fixed. All the glitches are gone and the units are animated. The only thing I can see is the mouse cursor is flickering a lot (but without d9vk too! But less). Not sure if alt-tabbing is related to d9vk.

@NerosTie It seems like the version of D9VK shipped by proton 4.11-2 does fix those previous issues! It even has working bloom and extra effects working!
For me the mouse cursor issue is not present on either the original DX9-OpenGL converter or D9VK. This is with an I7-6700k/GTX1070/430 nvidia driver.
Hopefully it fixes the old issue with the basic wine converter where the game crashes after a certain time.
@Joshua-Ashton Thanks :D

I did a proper test just now. It's done way better than the basic wine DX implementation but sadly it does still crash eventually. Thankfully at 50 minutes on an 81km map instead of 10.
It gives a DXVK memory error at the bottom of my log file which could be investigated?
steam-9420.log

Which version of d9vk?

I'm using unmodified proton 4.11-2 which uses D9VK 0.13f

0.13f is very old now, you should download the latest version. You can download it here: https://git.froggi.es/joshua/d9vk/-/jobs/

Play with PROTON_FORCE_LARGE_ADDRESS_AWARE


[WFLY-7083] Resource adapter subsystem configuration descriptions: wm-security

wildfly: https://issues.jboss.org/browse/WFLY-7083

Wrong jira


feat: add testnode implementation

Overview

Closes https://github.com/celestiaorg/orchestrator-relayer/issues/55
Checklist

[ ] New and updated code has appropriate documentation
[ ] New and updated code has new and/or updated testing
[ ] Required CI checks are passing
[ ] Visual proof for any user facing features like CLI or documentation updates
[ ] Linked issues closed with keywords

Codecov Report

Merging #95 (25eb4b9) into main (c1ac17e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #95   +/-   ##
=======================================
  Coverage   59.75%   59.75%
=======================================
  Files           6        6
  Lines         164      164
=======================================
  Hits           98       98
  Misses         53       53
  Partials       13       13

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

wow, this is really cool!

CI will be fixed by:  https://github.com/celestiaorg/orchestrator-relayer/pull/101

@rahulghangas Can you please check this so that I can open up new PRs?


⚠ Bofrost.at has degraded performance

In 86e83cf, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1364 ms

Resolved: Bofrost.at performance has improved in f65a7fa.


Elements are not adding on cursor position in popup modals

I am using excalidraw in a popup. But I am facing issues while adding elements (Line, Rectangle etc), Elements are not adding on the cursor position and also need to move cursor away from actual position in popup to change the position of controls

Could you create a repro example in codesandbox please? Would help!


Allow "as" rendering to render as Button

Or alternatively, a useHashLink() hook so we can trigger it programatically.

actually, I just answered my own question as I couldn't find this anywhere but tried it and works!:
<HashLink smooth to={`/page/${name}#history`}>
  <Button size="mini" disabled={pageDisabled}>
    <i className="icon tiny" /> History
  </Button>
</HashLink>


Implement transparency and decorations-less for wayland?

The current state is transparent and decoration-less.
I'm working on providing non-transparency and decorations for Wayland.

Decorations are now here. Transparency is must apparently be handled when initializing EGL.


deleteFromDynamicArray shows warning even if shifted and removed item.

According to solidity-idiosyncrasies bellow example is safe to use.
function safeRemoveAtIndex(uint index) returns (uint[]) {
        if (index >= array.length) return;

        for (uint i = index; i < array.length-1; i++) {
            array[i] = array[i+1];
        }

        delete array[array.length-1];
        array.length--;

        return array;
    }

remix-analyzer/deleteFromDynamicArray still considers this as unsafe.

Discussion with @GrandSchtroumpf rolls out with conclusion that we should divide this warning in multiple ones as:

delete : "You should: shift the keys of the array, and decrement the length. Example at ..."
delete + shift : "You should: decrement the length. Example at ..."
delete + decrement: "You should: shift the keys of the array. Example at .."


Firebird embedded driver

It would be great to have embedded driver to let users to open FB databases without server.
However it is not that easy (see #2620)
Current workaround is to manually add all needed DDLs in driver editor (as libraries).

Would be nice.


Discord notifier

Fix #66
I would really appreciate if you @mmarchini could give a check to this PR.
The only issue I didn't solve nicely was the discord-test.js last test that starves and not closes by itself

Here an output of the run
```$ node bin/npm-otp-publish.js --discord-channel-id<PHONE_NUMBER>11624203 --discord-token xxxx --npm-token foo --notifier discord
[1609634053695] INFO  (20888 on EOMM-XPS): creating notifier
    config: {
      "npmToken": "foo",
      "notifier": "discord",
      "templateContext": {
        "repo": {},
        "version": {
          "name": "0.16.0"
        }
      },
      "repo": {},
      "version": {
        "name": "0.16.0"
      },
      "octokit": null,
      "githubIssue": {
        "releaseTeam": "github-issue"
      },
      "discord": {
        "token": "xxxxxxxx",
        "channelId": "795049900911624203"
      },
      "timeout": 900000
    }
[1609634053831] INFO  (20888 on EOMM-XPS): creating Discord notifier
    repo: {}
[1609634054636] INFO  (20888 on EOMM-XPS): timeout set
    timeout: 900000
[1609634054644] WARN  (20888 on EOMM-XPS): "root" path "C:\Users\behem\workspace\npm-otp-publish\bin\public" must exist
[1609634054719] INFO  (20888 on EOMM-XPS): Server listening at http://<IP_ADDRESS>:3000
[1609634054720] INFO  (20888 on EOMM-XPS): starting ngrok...
[1609634056841] INFO  (20888 on EOMM-XPS): starting ngrok... done
    ngrokUrl: "https://fb12be18d9a0.ngrok.io"
[1609634056845] INFO  (20888 on EOMM-XPS): notifying...
[1609634058111] INFO  (20888 on EOMM-XPS): notifying... done
[1609634058578] INFO  (20888 on EOMM-XPS): incoming request
    req: {
      "method": "GET",
      "url": "/",
      "hostname": "fb12be18d9a0.ngrok.io",
      "remoteAddress": "<IP_ADDRESS>",
      "remotePort": 51016
    }
    reqId: 1
[1609634058646] INFO  (20888 on EOMM-XPS): request completed
    res: {
      "statusCode": 200
    }
    responseTime: 9.385800004005432
    reqId: 1
[1609634070915] INFO  (20888 on EOMM-XPS): incoming request
    req: {
      "method": "GET",
      "url": "/",
      "hostname": "fb12be18d9a0.ngrok.io",
      "remoteAddress": "<IP_ADDRESS>",
      "remotePort": 51022
    }
    reqId: 2
[1609634070954] INFO  (20888 on EOMM-XPS): request completed
    res: {
      "statusCode": 200
    }
    responseTime: 4.613600015640259
    reqId: 2
[1609634071765] INFO  (20888 on EOMM-XPS): incoming request
    req: {
      "method": "GET",
      "url": "/favicon.ico",
      "hostname": "fb12be18d9a0.ngrok.io",
      "remoteAddress": "<IP_ADDRESS>",
      "remotePort": 51022
    }
    reqId: 3
[1609634071843] INFO  (20888 on EOMM-XPS): Route GET:/favicon.ico not found
    reqId: 3
[1609634071858] INFO  (20888 on EOMM-XPS): request completed
    res: {
      "statusCode": 404
    }
    responseTime: 15.768399953842163
    reqId: 3
[1609634076513] INFO  (20888 on EOMM-XPS): incoming request
    req: {
      "method": "POST",
      "url": "/",
      "hostname": "fb12be18d9a0.ngrok.io",
      "remoteAddress": "<IP_ADDRESS>",
      "remotePort": 51022
    }
    reqId: 4
[1609634076551] ERROR (20888 on EOMM-XPS): otp received, attempting to publish
[1609634076580] INFO  (20888 on EOMM-XPS): pushing otp to publishing queue... 1
[1609634076581] INFO  (20888 on EOMM-XPS): pushing otp to publishing queue... 2
[1609634076583] INFO  (20888 on EOMM-XPS): trying to publish... 1
[1609634076610] INFO  (20888 on EOMM-XPS): running npm publish
[1609634076678] INFO  (20888 on EOMM-XPS): pushing otp to publishing queue... done
[1609634081883] ERROR (20888 on EOMM-XPS): attempt finished
[1609634081884] ERROR (20888 on EOMM-XPS): publish failed
[1609634081886] INFO  (20888 on EOMM-XPS): request completed
    res: {
      "statusCode": 200
    }
    responseTime: 5336.990299940109
    reqId: 4
```

Friendly ping @mmarchini


SCB-885 saga alpha event scanner delete duplicate events sql optimization

https://issues.apache.org/jira/browse/SCB-885

Coverage increased (+0.002%) to 93.875% when pulling 76606b328a2550163cebb6220e847feb0ddfb413 on oliugian:master into 63d71938e376eac280999d65e468a693df5e601a on apache:master.


Correct RunConfig example link

Can one of the admins verify this patch?

@tensorflow-jenkins test this please.


fix(cli): change the default path for tailwind globals css

Fixes shadcn-ui/ui#1821
Fixes shadcn-ui/ui#2302
TODO:

[x] change default path for tailwind globals css file
[ ] update in all the docs (cli docs, astro docs, gatsby docs, laravel docs, next docs, remix docs, vite docs)

Should i update the docs as well?
For example, in line 32 of nextjs docs :
- Where is your global CSS file? › › app/globals.css
+ Where is your global CSS file? › › src/app/globals.css

@lem0n4id The thing is not all apps uses the src dir. I think a better fix would be to detect the src dir and add it to the suggested path. What do you think?

@shadcn That makes perfect sense.
So would this work as the fix?
- export const DEFAULT_TAILWIND_CSS = "app/globals.css"
+ export const DEFAULT_TAILWIND_CSS =       existsSync(path.resolve("./src"))? "src/app/globals.css" : "app/globals.css"

@lem0n4id We'll need to do this per framework-basis. Check out the example for Next.js here: https://github.com/shadcn-ui/ui/blob/main/packages/cli/src/utils/get-project-info.ts
(I'm going to close this for now since we need a different implementation but feel free to reopen if you have any questions. Thank you.)


L2 to L1 failure

https://blockexplorer.boba.network/tx/0xdf3eb6c6e076b0488279f6e094390fbc604beeec082d77a1b4f9d6f8d2d23861/internal-transactions
STEP 0, NO SR HASH YET, PENDING
Metamask Version : 10.8.1
My balance shows its been taken out of my account. What should I do?
Thank you

I am having the same issue. Did it finally went through?

Same problem, but at STEP 1.  Transactions before and after have the same error, "Failed to decode input data."

Hi @craigeom - according to Etherscan your transaction was successful (https://etherscan.io/tx/0x8413079e231366000238f41d19d2ebd94ed1d9414a0e9cf2d61cdf50a3ea989d). It was confirmed on Boba within 42 seconds, and arrived on Ethereum 22 hours later (Jan-13-2022 04:44:09 AM +UTC). That's unusually long! Sorry for the slow bridging experience - normally it takes < 10 minutes, but very rarely, such as in your case, a TX can get delayed.


Can not run windows desktop release in other directory.

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
1、create a windows desktop app
2、run flutter build windows command.
3、run build\windows\runner\Release\myapp.exe，it work well

4、copy Release folder to d:\Release，run d:\Release\myapp.exe,it can not working,It seems like not loading ***_plugin.dll

5、I tried copy all the project, only keep .dart_tool/package_config.json and build folder,it work well,when I delete package_config.json file,it not working.
myporoject
-.dart_tool
-package_config.json
-build
-windows
-runner
Release

Actual results
can not run my app Release in other place
Logs

Logs

<!-- Paste your logs here -->

Flutter Doctor output

Doctor output

<!-- Paste your output here -->

@huycozy
not working:  it seems like all the plugins not working, can not load data from sqlite,hot key not working,tray manager can not show a tray icon...

Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
[√] Flutter (Channel stable, 3.13.2, on Microsoft Windows [版本 10.0.22621.2134], locale zh-CN)
    • Flutter version 3.13.2 on channel stable at C:\env\flutter_windows_v1.12.13+hotfix.9-stable\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ff5b5b5fa6 (13 days ago), 2023-08-24 08:12:28 -0500
    • Engine revision b20183e040
    • Dart version 3.1.0
    • DevTools version 2.25.0
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[√] Windows Version (Installed version of Windows is version 10 or higher)

[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\hupubao\AppData\Local\Android\sdk
    X cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.6.4)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.6.33815.320
    • Windows 10 SDK version 10.0.22000.0

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[√] IntelliJ IDEA Ultimate Edition (version 2023.2)
    • IntelliJ at C:\Users\hupubao\AppData\Local\Programs\IntelliJ IDEA Ultimate
    • Flutter plugin version 75.1.4
    • Dart plugin version 232.9559.10

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [版本 10.0.22621.2134]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 116.0.5845.141
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 115.0.1901.203

[√] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

I checked this issue on a minimal Flutter sample code but can't reproduce it. I copied Release folder to another location and can run the exe file normally.
I think this could be caused by using some plugins above. You should narrow down the issue by removing the usage of 3rd party plugins/packages one by one, unrelated/unaffected pages, and isolating the issue until find the causing plugin.
Since you mentioned sqlite, please take a look at this issue https://github.com/flutter/flutter/issues/62020 and find any hints there. Furthermore, it could be a plugin's issue.

Thank you very much,I will check this.


BTC-e bid/ask issues

                   ask            bid
BTC/USD    2491.415039    2500.556885
BTC/RUR<PHONE_NUMBER>50<PHONE_NUMBER>75
BTC/EUR    2219.315430    2230.996094
LTC/BTC       0.019770       0.019830
LTC/USD      49.184013      49.369999
BTC-e

                 ask         bid
DASH/EUR  175.500000  174.024246
DASH/USD  203.567596  198.500397
DASH/BTC    0.079478    0.078675
EOS/ETH     0.009471    0.009383
EOS/EUR     2.012830    1.988080
Kraken

                 ask          bid
LTC/EUR    44.200001    44.000000
LTC/BTC     0.019780     0.019770
BTC/GBP  1985.239990  1980.010010
BTC/EUR  2234.840088  2234.830078
ETH/EUR   213.000000   212.570007
GDAX

There's something wrong with BTC-e data, ask should be bigger than the bid. I'm using fetch_ticker() from your library.

Thank you for feedback! I really appreciate your help!
Investigating into this right now, will fix asap.

By the way, same issue in liqui #11

Trying to catch the bug now... Is that erroneous bidask data coming from a ticker or is it the market price from the order book?

Ticker

That's strange... That means that the BTCe is giving it away like this, with the ask lower than the bid. I wonder why they would do that. You can resort to orderbook marketprice (top of the stack, first entries on each side). I added explicit bidask sorting for btce/liqui.
Check it out, they even got it in their docs:

Don't know if I can fix the ticker on my side, it seems to be an issue with the source data. Any ideas?

I can force-load the bid/ask from the order book for btce/liqui, but I'm not sure if that's the right thing to do, and i don't know if the issue will go away... It may be a sync problem on their db-side. It's hard to catch and reproduce, this URL https://btc-e.com/api/3/depth/btc_usd says that the ask is bigger than the bid most of the time.

I opened a ticket with their support to investigate into this.

Will wait for their reply and a fix, because I'm pretty sure the bug is on their side.

So, after waiting for more than 24 hours, my ticket with BTC-e is still unassigned. The only change so far is that status turned [Private] in red, still waiting for a reply. By the way, their Live Support was dead offline during all that time.

It's been 36 hours now, still nothing from BTC-e on bid > ask problem. There's been a change though, my ticket is now assigned. Now that's impressive progress! We might get an answer by the end of this year. Just need to be patient and to hold on.

48 hours of waiting to hear from BTC-e support now. Too long.
Formally speaking, this might not be a bug:

Exchanging is done by placing "buy" or "sell" orders, which the exchange system software then matches with each other.  If the bid price of a buy order is higher than the ask price of a sell order, an exchange can be performed and either the bid order, the sell order or both can be removed from the "order book". Thus, at any given time, there is a price above which there are no more buy orders and a slightly higher price below which there are no more sell orders.

All of the above requirements are met on BTC-e. There's a highest bid, and a lowest ask, but nobody said, they can't intersect, and they actually do all the time (when market orders are matched). If we see such an non-standard high-bid or low-ask order, it is probably closed already by the time we encounter it. This is due to the fact that order execution is not atomic and may take continuous time (even for market orders).
So, when we see bids higher than asks coming from the source, ccxt might behave in several ways:

Return the orderbook as is for the end-user to decide.
Return it without bids that are higher than asks, or vice versa.
Fallback to orderbook bid/ask

I think I'll try to do the third solution, but I will have to investigate a little more to make sure the orderbooks don't have the same problem.
@nmiculinic got any other ideas? )

I think option number 3 sounds reasonable. Just don't fall silently, use logging.
Add at top:
import logging
logger=logging.getLogger(__name__)

and whenever you need it simply logger.warn() or other levels

They had bid price as 'sell' in ticker, ask price as 'buy'. Switched places and now it's consistent with the order book. Thank you for reporting this.

it's like indian stock market, no error, it's how match engine works


[Feature Request]: Replace numbers with corresponding word and vice versa

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Replace numbers with corresponding word in a string and vice versa in string_manipulation
3 functions:

One to replace just numbers to corresponding word
"6 years ago there were five." becomes "Six years ago there were five."

One to do the inverse
"There are eight men but now 5." becomes "There are 8 men but now 5."

And one that swaps both
"6 years ago there were eight men" becomes "Six years ago there were 8 men"

Record

[X] I agree to follow this project's Code of Conduct
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

Full Name
Amber
Participant Role
GSOC

Could you let me know if there will be single digit numbers or multiple digits?

I would like to work on this please assign this to me. I have implemented the code for single digit conversions
Name : Sanat Kumar Gupta
Participation : GSSOC'24 ext, hackoctober


apt.fullstaqruby.org is down again

Describe the bug
apt.fullstaqruby.org is not up, so cannot access the apt repository. Previously reported as #148.
To Reproduce
In your web browser, in the URL bar, enter: https://apt.fullstaqruby.org, then press enter.
You see:
<Error>
NoSuchKey
<Message>The specified key does not exist.</Message>
No such object: fsruby-server-edition-apt-repo/versions/32/public/
</Error>

in the body and https://storage.googleapis.com/fsruby-server-edition-apt-repo/versions/32/public/ in the URL bar (assuming a direct or something) when done loading.
Expected behavior
Should see a directory listing of packages.

I'll have a look.

The repository is not down. It works if you use 'apt install'. Going to https://apt.fullstaqruby.org is not supposed to give a file listing. Google Cloud Storage expects an exact object key. For example if you go to https://apt.fullstaqruby.org/dists/ubuntu-24.04/Release then it works.


Updates to openfast_io to match current dev branch API

This PR is NOT ready to merge until TODOs below are cleared.
Feature or improvement description

Updates to the openfast_io library to match the current dev branch API. Once merged, will provide OpenFAST users with an up-to-date library that they can import to read/write OpenFAST files. This follows the fst_vt nested dictionary structure developed under WEIS and heavily borrows code from there.
This library is currently limited to OpenFAST and does not work with FAST.Farm or any of the module drivers.
Related PRs: https://github.com/OpenFAST/openfast/pull/2333, https://github.com/OpenFAST/openfast/pull/2188
Related issue, if one exists

https://github.com/OpenFAST/openfast/issues/2233, https://github.com/OpenFAST/openfast/issues/2261, https://github.com/OpenFAST/openfast/issues/1851
Impacted areas of the software

openfast_io
Additional supporting information

Test results, if applicable

pytest added to span most OpenFAST input files (drivers not included). Based on @andrew-platt comments in https://github.com/OpenFAST/openfast/issues/2233, need to introduce automated testing.

TODO:

[ ] Add test automations & GH actions
[ ] Create an OpenFAST PyPI account so the openfast_io python package can be installed with pip
[ ] Set up a trusted publisher to securely upload the python package to PyPI
[ ] Setup conga-forge for openfast_io since most NREL tools like WEIS and WISDEM prefer it.
[x] Check if we can eliminate the Poetry file We will continue using Poetry
[ ] Add additional tests based on recommendations in this PR if any
[x] Address old API warning thrown by AD15
[ ] Add simple documentation to help users get started
[ ] Add badges for PyPi and conda-forge

APIs to upgrade before merge:

[ ] https://github.com/OpenFAST/openfast/pull/986
[ ] https://github.com/OpenFAST/openfast/pull/1295
[ ] https://github.com/OpenFAST/openfast/pull/2203
[ ] https://github.com/OpenFAST/openfast/pull/2358
[ ] https://github.com/OpenFAST/openfast/issues/93

I haven't checked through the code, but just noticed there is a new input in the AeroDyn input file that wasn't included in any of the regression tests yet (adding that line to all AD input files in PR #1295).

[ ] 3               IntegrationMethod  - Switch to indicate which integration method UA uses (1=RK4, 2=AB4, 3=ABM4, 4=BDF2)

Ready for merge @andrew-platt, please squash commits :)


Add support for more sharp key signatures

Fixes #8
Add support for more keys in #
I'm able to write some tests if we think it's needed.  I removed 1 of them since D# is now a valid key.

@ddycai bump

I need this too

Hi thanks for the PR. I think the indexes in your PR needed to be changed for the code to work properly so I made the fix and pushed the change to the repo. Sorry I only got around to it now.


Make L1a smarter about columns

I think we're going to need L1a to process multiple plot tables, which means it can't depend on a Tree column (for example) being there.
Should be okay. We know what the plot table's columns look like; those are our grouping variables for summaries, basically. Going to need to read up about NSE perhaps.

Move derived-variables code elsewhere, at least for now
Make sample 2nd plot table
Change plot table code to a loop, reading in multiple plot tables
The summary code needs to use NSE to group by whatever was in the plot table being worked on
The smry structure needs to be a list of data frames, indexed by the plot table name

[ ] Write metadata with outputs (or at least add units column to L1a outputs)
[ ] Add rounding column to var metadata and use it

This is tackled by #30


TVP extractor redacted for new url schema and extract method

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] Searched the bugtracker for similar pull requests
[x] Read adding new extractor tutorial
[x] Read youtube-dl coding conventions and adjusted the code to meet them
[x] Covered the code with tests (note that PRs without tests will be REJECTED)
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[x] Where I am not the original author of this code it was released under the same terms at https://github.com/yt-dlp.

What is the purpose of your pull request?

[x] Bug fix
[x] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
This PR switches VOD extraction to new APIs.
The original proposal added an extractor TVappIE. After alignment with the yt-dlp extractor from  https://github.com/yt-dlp/yt-dlp/pull/6989, there are now two new extractors, TVPStreamIE and TVPVODVideoIE, plus TVPVODSeriesIE replacing TVPWebsiteIE: thanks @selfisekai.
These changes have been applied over the aligned code:

use traverse_obj() for safer extraction
fix tests that are not blocked from UK.

Compared with the yt-dlp extractor,

episode number 0 in site metadata is treated as missing (None), since it seems to apply to one-off shows
as the yt-dl download test harness now supports test cases with variable ids, a real test has been added for TVPStreamIE.

what we do in yt-dlp is, we take the externalUid and use it with the embed extractor, which has much less strict geo-blocking.
https://github.com/yt-dlp/yt-dlp/blob/master/yt_dlp/extractor/tvp.py#L492-L493

But see https://github.com/yt-dlp/yt-dlp/issues/6987, where the external ID just gives (in Polish) "payment required".
@bibiak1, I should also have asked you to complete the "Explanation", especially since there's no related issue. Is this a new scheme or an alternative as suggested above? If the latter, it should be built into the existing TVPIE.

It's a news schema

Let's back-port the yt-dlp version that was just committed using the new scheme. I'd like try to keep the two as similar as possible. If you fancy doing that please go ahead.
The diff from yt-dlp should apply straightforwardly to the base yt-dl code; then any Python3-only syntax (yield from ... -> for from_ in ...:; yield from_, f'formatted text with {value}' ->, f'formatted text with {0}'.format(value), str -> compat_str, etc) in the new code has to be tweaked; then see if there are any features of the existing PR that should be added.

That is: https://github.com/yt-dlp/yt-dlp/pull/6989

@bibiak1, I've merged the yt-dlp changes. If you're able to check (and fix if necessary) the geo-blocked tests, that would be great.
Let me know if you want to add login code; or you could make a separate PR?

hmmmm. tested from NL. turns out https://vod.tvp.pl/filmy-dokumentalne,163/krzysztof-krawczyk--cale-moje-zycie,332512 plays in browser if logged in to a free account. the geoblock error message I'm getting when not logged in is this:

Z powodów licencyjnych materiał jest niedostępny w Twoim kraju.
Przepisy UE pozwalają abonentom, którzy w kraju zamieszkania (w tym przypadku w PL) zakupili pakiet TVP + utrzymać dostęp do materiałów wchodzących w skład pakietu, w czasie wizyty w innym kraju UE.

so I guess they wanted to implement this but someone made an assumption that an account logged in means SVOD and not logged in means AVOD? login is by cookies so --cookies-from-browser firefox worked for me on yt-dlp master

From UK, the extractor just sees the truthy .isGeoBlocked member of the API result. From experience, if that is ignored, the stream URLs give the special video that says "Video not available in your region".

that's on embed (tvplayer2 api), this workaround is specific to VOD playlist api

When I run that URL in the current PR, it's handled by TVPVODVideoIE and then handed off to TVPEmbedIE using the externalUid, where the geo-block is detected.
The data from the VOD API includes these values:
...
'countries': [{'id': 92, 'key': 'polska', 'name': 'Polska'}],
...
'geoipManualLock': False,
...
'loginRequired': False,
...

The test case https://vod.tvp.pl/website/krzysztof-krawczyk-cale-moje-zycie,51374466 is redirected via TVPIE to 332512 with the same result.

It works from PL without logging in. Most likely it's geo location oriented. If you are not from PL IP address then you need to login.
I read all comments and do not know what i suppose to do. tvp.py code starting line 255 is mine. I've just added support for new schema/player and didn't want to change anything that exist before.

@dirkf can you merge this pull req?

@dirkf can this be reviewed and merged in? 🙏


Documentation

The documentation and the examples show getting the an auth token from localstorage like this:
https://github.com/howtographql/react-apollo/blob/master/src/index.js
const authLink = setContext((_, { headers }) => {
  const token = localStorage.getItem(AUTH_TOKEN)
  return {
    headers: {
      ...headers,
      authorization: token ? `Bearer ${token}` : '',
    },
  }
})

const token = localStorage.getItem(AUTH_TOKEN) returns a promise. So, I'm unable to use it like this. To make it work, I have to wait for it to resolve.
const authLink = setContext(async (_, { headers }) => {
  const token = await localStorage.getItem(AUTH_TOKEN)
  return {
    headers: {
      ...headers,
      authorization: token ? `Bearer ${token}` : '',
    },
  }
})

Caused me some headache. I'm not sure if I'm doing something else wrong, or if the documentation is out of date.

Thanks @b33son for opening this issue 😄. It should be working now with the latest docs. Closing this, please, feel free to re-open this issue if you cannot make it work!


Remove 'cursor: pointer' on button instances

Fix #1767

Coverage remained the same at 51.961% when pulling a09b9d6d0c71c7d90061b20510f6ac64af457bca on corinagum:corinagum/1767 into d8733d9841efdc37119eb4fa7c2eac863ab8882c on Microsoft:master.


Update to 3.26.0 to address "Magellan" vulnerability

https://blade.tencent.com/magellan/index_en.html reports a vulnerability in SQLite versions prior to 3.26.0, which they are calling Magellan. They suggest that vulnerable versions of SQLite can be exploited to allow remote code execution.
Any chance we might get the latest version of SQLite packaged up to avoid this (or in my case avoid having to explain why we're actually probably not vulnerable to anyone)?
https://news.ycombinator.com/item?id=18686305 seems to contain a little more detail about what someone thinks the vulnerability is actually about if it's of any interest.

Statement of  D. Richard Hipp (creator of SQLite) said:
Reports of an RCE vulnerability in SQLite are greatly exaggerated. Some clever gray-hats found a way to get RCE using maliciously crafted SQL.  Otherwise, you are not at risk.
Source: https://twitter.com/DRichardHipp/status/1073779742552350720
Further description of the vulnerability (https://nakedsecurity.sophos.com/2018/12/19/sqlite-creator-fires-back-at-tencents-bug-hunters/):
The flaw lies not in the core SQLite engine itself, but in FTS3, a full-text search module that developers can use with the system. Sending SQL commands to FTS3 can trigger the flaw. An attacker might do that by directing an application using SQLite to visit a malicious website, which could then send the SQL commands using JavaScript.

Current release is past this issue. Ready for closure

Is there a new release? The home page still lists "2018-10-01: sqlite-jdbc-3.25.2" as the latest.

The news just hasn't been updated. Xerial released update 3.72.2 some hours ago. Check releases.

Yes. I've just released 3.27.2 yesterday. We can close this.


User should be able to filter for articles by category

As a User, I should be able to filter for articles by category
Acceptance Criteria
GIVEN A user
WHEN User navigates to the articles landing page
THEN User should see a dropdown they can use to filter articles.
DEV NOTES
A user should be able to see a dropdown with categories they can filter by:
The categories to filter by include: Engineering, Product and Design, Customer Success, Finance
DESIGN Notes
See mockup below 👇🏿

i'll do it

@KriteshTimsina thank you for expressing interest, please feel free to pick the issue up


Update Stocken Christmas visit slots

Unbookable:

Christmas Eve
Christmas Day
Boxing Day
New Year's Eve
New Year's Day

Tested locally


[SPK] Create Service Component in HLD

As a:
Developer
I want:
To create a service component in my HLD
So that:
I can create a service using spk in my Application Repository, merge the new resources created, and have my new Service appear in my HLD
Describe the solution you'd like:
spk create service should add a service component by:

[ ] Adding a directory for my new service in my HLD that maps to my application repository ie:

svcA/ (new)
    etc.
component.yaml

[ ] Add a component.yaml in my service directory

svcA/ (new)
    component.yaml (new)
component.yaml

[ ] Link my new service by adding it as a subcomponent in my top level HLD

svcA/ (new)
    component.yaml (new)
component.yaml (add subcomponent that references svcA)

All of these tasks must be performed as a single unit and the artifacts committed as a Pull Request
Describe alternatives you've considered:
This can potentially be performed in a pipeline
Additional context:
Adding a new service requires us to add it as a subcomponent
Does this require updates to documentation?:
Yep

Closing this as Epic https://github.com/microsoft/bedrock/issues/688 and task https://github.com/microsoft/bedrock/issues/718 will cover this work.


Add auto-merge

@conda-forge-admin, please add bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/ncbi-datasets-cli-feedstock#10.


Add String Search Algorithms in Java & C++

String searching algorithms in java and c++.

@Arsenic-ATG kindly review changes

@Amisha-Mohapatra, please always make your issues and pull requests' titles descriptive. Add algorithms doesn't make any sense as this project is full of algorithms. I have changed it for now.

@Amisha-Mohapatra, please always make your issues and pull requests' titles descriptive. Add algorithms doesn't make any sense as this project is full of algorithms. I have changed it for now.

@paulsonjpaul I will keep this in mind.


[Node.js] Tests for cos, sin, tan doesn't meet the tolerance requirement

Based on dml backend, running npm run test-ops through node.js under webnn-native/node will get results as below:
test element-wise unary operations
    √ abs
    √ ceil
a(-0.3924400508403778) b(-0.39242464) delta(0.00001541084037781637)
    59) cos
    √ exp
    √ floor
    √ log
    √ neg
a(0.9874919056892395) b(0.98748258) delta(0.000009325689239503276)
    60) sin
a(6.260713577270508) b(6.26066374) delta(0.00004983727050777986)
    61) tan

The result can't meet the criterion in webnn-polyfill tests:
export const opFp32AccuracyCriteria =
    new AccuracyCriterion(1e-6, 5.0 * 1.1920928955078125e-7);

In webnn-native end2end tests, criterion (fabs(output - expected) < 0.005f) can let tests pass.
@BruceDai @huningxin


externpro 21.03

use externpro 21.03 release https://github.com/smanders/externpro/releases/tag/21.03

completed with commit to dev branch referenced above


Gradle stack trace of failed test

Can someone set the Gradle CI to upload or display the stack trace from the failed test like before with Maven?
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':test'.
There were failing tests. See the report at: file:///Users/runner/work/ripme/ripme/build/reports/tests/test/index.html
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

better now, reopen in case somebody is interested to further improve.


RFC: doc/ folder reorg

The organization of files in our doc/ folder is out of control; every time I need to edit a page in our docs it is a challenge to find the correct .rst source file. Below (hidden under "details") I lay out a proposal to have subfolders within doc/ mirror the top-level sections of our site.  Given that there are a few outstanding issues with doc content and organization:

#10707
#11370
#11609

...I feel like now is the time to tackle this.
Note that a couple years ago there was some discussion of reorganizing the website pages (I think around the time of #8757 or #9292, when the API pages were split up?) about "not breaking people's browser bookmarks" (I think @agramfort was the one who raised this objection?).  Nowadays we already track a bunch of custom redirects in conf.py so IMO that objection is not nearly as strong today as it was then.

.
├── auto_examples
│   └── ... 16 items
│
├── auto_tutorials
│   └── ... 20 items
│
├── bibliography.rst               →  (orphan) linked from overview/cite.rst
│
├── _build
│   └── ... 3 items
│
├── changes
│   └── ... 31 items
│
├── cited.rst                      →  move to `doc/documentation/`
├── conf.py
├── conftest.py
├── connectivity.rst               →  move to `doc/api/`
├── contributing.html              →  (redirect) to install/contributing.rst
├── covariance.rst                 →  move to `doc/api/`
├── creating_from_arrays.rst       →  move to `doc/api/`
├── datasets.rst                   →  move to `doc/api/`
├── decoding.rst                   →  move to `doc/api/`
├── documentation.html             →  (redirect) to overview/index.rst
├── events.rst                     →  move to `doc/api/`
├── export.rst                     →  move to `doc/api/`
├── file_io.rst                    →  move to `doc/api/`
├── forward.rst                    →  move to `doc/api/`
├── funding.rst                    →  (orphan) linked from homepage
│
├── generated
│   └── ... 2491 items
│
├── getting_started.html           →  redirect to install/index.rst (1 of 2)
├── glossary.rst                   →  move to `doc/documentation/`
│
├── _includes
│   └── ... 13 items               →  these can be left alone for now, but worth revisiting
│                                     which ones are still needed (or only needed in one place,
│                                     hence no longer necessary to abstract into an `.. include::`
│                                     directive)
│
├── index.rst                      →  (main homepage)
│
├── install
│   ├── advanced.rst               →  ok
│   ├── check_installation.rst     →  ok
│   ├── contributing.rst           →  move to `doc/development/`
│   ├── freesurfer.rst             →  ok
│   ├── index.rst                  →  ok
│   ├── installers.rst             →  ok
│   ├── manual_install_python.rst  →  (orphan, cruft?) linked from `install/contributing`,
│   │                                 `install/manual_install`, and `overview/get_help`. Maybe
│   │                                 cruft because it recommends Anaconda (instead of mambaforge)
│   │
│   ├── manual_install.rst         →  ok
│   ├── mne_c.rst                  →  ok
│   ├── mne_tools_suite.rst        →  ok
│   └── updating.rst               →  ok
│
├── install_mne_python.html        →  (redirect) to install/index.rst (2 of 2)
├── inverse.rst                    →  move to `doc/api/`
├── links.inc
├── logging.rst                    →  move to `doc/api/`
├── Makefile
├── martinos.rst                   →  (orphan) not linked from anywhere (is this still valid/needed?)
├── mne_cpp.rst                    →  (orphan) linked from `doc/install/mne_tools_suite.rst` (still needed?)
├── most_used_classes.rst          →  move to `doc/api/`
├── mri.rst                        →  move to `doc/api/`
│
├── overview
│   ├── cite.rst                   →  move to `doc/documentation/` (maybe as `how-to-cite.rst` to differentiate from `cited.rst`?)
│   ├── cookbook.rst               →  (split?) move to `doc/documentation/`
│   ├── datasets_index.rst         →  move to `doc/documentation/datasets.rst`
│   ├── design_philosophy.rst      →  (cruft? split?) move to `doc/documentation/`
│   ├── development.rst            →  move to `doc/development/index.rst`
│   ├── faq.rst                    →  (needs overhaul) move to `doc/help/`
│   ├── get_help.rst               →  move to `doc/help/index.rst`
│   ├── governance.rst             →  move to `doc/development/`
│   ├── images
│   │   ├── Digitizer-example.png  →  (cruft)
│   │   └── flow_diagram.svg       →  move to `doc/_static/`
│   ├── implementation.rst         →  (split?) move to `doc/documentation/`
│   ├── index.rst                  →  move to `doc/documentation/index.rst`
│   ├── learn_python.rst           →  move to `doc/help/`
│   ├── matlab.rst                 →  (cruft?) move to `doc/documentation/`
│   ├── migrating.rst              →  move to `doc/help/migrating.rst`
│   ├── people.rst                 →  (orphan) linked from `doc/overview/governance.rst`
│   └── roadmap.rst                →  move to `doc/development/`
│
├── preprocessing.rst              →  move to `doc/api/`
├── python_reference.rst           →  move to `doc/api/`
├── reading_raw_data.rst           →  move to `doc/api/`
├── realtime.rst                   →  move to `doc/api/`
├── references.bib
├── report.rst                     →  move to `doc/api/`
├── sensor_space.rst               →  move to `doc/api/`
├── simulation.rst                 →  move to `doc/api/`
├── source_space.rst               →  move to `doc/api/`
│
├── sphinxext
│   └── ... 8 items
│
├── _static
│   └── ... 16 items
│
├── statistics.rst                 →  move to `doc/api/`
│
├── _templates
│   └── ... 5 items
│
├── time_frequency.rst             →  move to `doc/api/`
├── visualization.rst              →  move to `doc/api/`
└── whats_new.rst                  →  move to `doc/development/`

Eager to hear what @mne-tools/mne-python-steering-committee thinks about this.

sounds like a wise idea !

Message ID: @.***>

I feel the same pain and having the organization mirror the docs would be great!

I would also find such a re-organization beneficial!

+1

every time I need to edit a page in our docs it is a challenge to find the correct .rst source file

Interesting 🤔 The way I usually do it is that I look at the URL in the browser, copy the filename and then in VS Code I use Cmd-P and paste the base of the filename, which usually takes me right to the relevant RST file.
That said, I like organization, so +1 from my side on this endeavor 👍

Sounds good to me! +1

+1 from me too!


ledger-web: do not make our own wrapper

Motivation for this change
Further to #18182, we do not need to manually wrap the "binary". Thanks @cstrahan.
Things done

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

[X] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

@peterhoeg Nice! Is this line still necessary?
cp --no-preserve=mode -r lib $out


JCenter will be shut down soon, migrate to Maven Cenral

I've seen Kuberig at FOSDEM during last weekend and I like a developer-friendly approach for managing Kubernetes configuration!
Unfortunately, Kuberig projects seem to use JCenter to kept the binary artifacts. However, JCenter is shuting down rather soon (1st May 2021), so it would be good to migrate releasing to Maven Central (and possibly synchronize old releases with it). kuberig should also switch a place where its own dependencies are downloaded from.
For sample project configuration see:
https://github.com/rwinch/gradle-publish-ossrh-sample
And for sync of the old versions:
https://www.jfrog.com/confluence/display/BT/Syncing+with+Third-Party+Platforms

Thanks for the report and the references.
I have also read about jcenter shutting down and created an issue on the main kuberig repo: kuberig-io/kuberig#39.
Good idea to synchronize the existing versions also. I'll have a look.
I'll close this one as this is a duplicate. For updates please see the issue on the main repo.


[proposal] introduce GoReleaser to publish release assets

What is your proposal:
GoReleaser is a release automation tool for Go projects. The goal is to simplify the build, release and publish steps while providing variant customization options for all steps.
Users have to build runtime-proxy related file locally. We should let GoReleaser cover this workload, and publish deb, rpm, and bin whenever there is a new release or tag published.
Is there a suggested solution, if so, please add it:
For more info, please check out: https://goreleaser.com.

/close via #253


build: deployment on GKE with custom domain and TLS

AsIs
ToDo

[ ] install cert-manager on GKE cluster
[ ] add issuer resource with Let's Encrypt
[ ] generate TLS certifications for custom domain

(Optional) Acceptance criteria

confirm all the resource related are running without any error
confirm we can access applications to custom domain with TLS (https://6ow3idgirl.com)

(Optional) Additional contexts
Issue(s): #41
Since we have already installed ingress-nginx controller on GKE cluster with another project, there is no task needed to install ingress-nginx here.

Note for GKE deployment:
24-03-01 23:32:20 git/6ow3idGirl [main] % gcloud compute addresses create ext-nginx-ingress --region us-central1
Created [https://www.googleapis.com/compute/v1/projects/hwakabh-dev/regions/us-central1/addresses/ext-nginx-ingress].

24-03-01 23:32:54 git/6ow3idGirl [main] % gcloud compute addresses list
NAME               ADDRESS/RANGE   TYPE      PURPOSE  NETWORK  REGION       SUBNET  STATUS
ext-nginx-ingress  <IP_ADDRESS>  EXTERNAL                    us-central1          RESERVED

24-03-02 0:12:24 git/6ow3idGirl [main] % kubectl -n ingress-nginx get services
NAME                                 TYPE           CLUSTER-IP      EXTERNAL-IP      PORT(S)                      AGE
ingress-nginx-controller             LoadBalancer   <IP_ADDRESS>     <IP_ADDRESS>   80:30571/TCP,443:32591/TCP   30d
ingress-nginx-controller-admission   ClusterIP      <IP_ADDRESS>   <none>           443/TCP                      30d

Confirmed that all resources are deployed without any error after applying manifests in PR.
24-03-02 0:13:57 git/6ow3idGirl [main] % kubectl -n 6ow3idgirl get issuers,challenges,orders,crs,certs,clusterissuers,secrets
NAME                                 READY   AGE
issuer.cert-manager.io/letsencrypt   True    85m

NAME                                               STATE   AGE
order.acme.cert-manager.io/tls-cert-1-2479354409   valid   7m27s

NAME                                            APPROVED   DENIED   READY   ISSUER        REQUESTOR                                         AGE
certificaterequest.cert-manager.io/tls-cert-1   True                True    letsencrypt   system:serviceaccount:cert-manager:cert-manager   7m27s

NAME                                   READY   SECRET     AGE
certificate.cert-manager.io/tls-cert   True    tls-cert   7m28s

NAME                    TYPE                DATA   AGE
secret/ca-letsencrypt   Opaque              1      85m
secret/tls-cert         kubernetes.io/tls   2      7m27s

24-03-02 0:14:12 git/6ow3idGirl [main] % kubectl -n 6ow3idgirl get ingress
NAME   CLASS   HOSTS            ADDRESS          PORTS     AGE
app    nginx   6ow3idgirl.com   <IP_ADDRESS>   80, 443   14m

# application access with TLS
24-03-02 3:30:36 git/6ow3idGirl [build/51/deployment] % curl -D - -o /dev/null -s -X GET https://6ow3idgirl.com
HTTP/2 200
date: Fri, 01 Mar 2024 18:30:46 GMT
content-type: text/html; charset=utf-8
content-length: 17396
x-powered-by: Express
etag: W/"43f4-rnvat1TLASIZ3pj7i3KfZCFOXcA"
strict-transport-security: max-age=31536000; includeSubDomains


None (<class 'custom_components.tuya_local.light.TuyaLocalLight'>) sets invalid supported color modes {<ColorMode.HS: 'hs'>, <ColorMode.BRIGHTNESS: 'brightness'>}

Describe the bug
None (<class 'custom_components.tuya_local.light.TuyaLocalLight'>) sets invalid supported color modes {<ColorMode.HS: 'hs'>, <ColorMode.BRIGHTNESS: 'brightness'>}, this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/make-all/tuya-local/issues
To Reproduce
This error message only appears when HA is restarted.
Please check if there are messages from Tuya Local in the Home
Assistant log (Settings / System / Logs), and include those too.
Logger: homeassistant.components.light
Source: components/light/init.py:1165
integration: Light (documentation, issues)
First occurred: 10:48:19 AM (1 occurrences)
Last logged: 10:48:19 AM
None (<class 'custom_components.tuya_local.light.TuyaLocalLight'>) sets invalid supported color modes {<ColorMode.HS: 'hs'>, <ColorMode.BRIGHTNESS: 'brightness'>}, this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/make-all/tuya-local/issues

You did not include any details about what device this report is about, but from a quick scan, it seems it must be "hdmi_sync_light", as that is the only one that incorrectly uses brightness mode together with other modes.

My apology but that was all the info I could gather as there was no other info in the log that told me which device it was related to, but glad that you found the specific device that caused the issue.
I made your change to my local copy and I confirm the warning message is now gone. Thanks for the quick action on this.


BlobsModelFactory.BlobHierarchyItem

Type of issue
Typo
Description
[Enter feedback here]
Page URL
https://learn.microsoft.com/en-us/dotnet/api/azure.storage.blobs.models.blobhierarchyitem?view=azure-dotnet
Content source URL
https://github.com/Azure/azure-docs-sdk-dotnet/blob/master/xml/Azure.Storage.Blobs.Models/BlobHierarchyItem.xml
Document Version Independent Id
289dc608-3903-59bc-e970-c8f52298a152
Article author
@azure-sdk
Metadata

ID: c0a19d7d-3e12-108c-b104-69ab4fa06e8f
Service: azure

Closing due to no response. Please create another issue if this persists


[BLOCKER] - Migrations, Sqlite and DateTime

Column which should be of type DateTime is of type TEXT
Steps to reproduce
Just create simple model like:
class Model
{
    public Guid Id {get; set;}
    public DateTimeOffset Start {get;set;}
}

And create a migration.
Next, change DateTimeOffset to DateTime in migration file.
And call ctx.Database.Migrate().
In Sqlite this column is created as TEXT and not DATETIME.
This is real blocker for me. Is there anything fast that I can do to workaround this?
I am using EfCore 3 with Microsoft.Data.Sqlite
When I used nHibernate and System.Data.Sqlite, everything worked fine.
Unfortunalety, my app has to work in MSSQL and in Sqlite at the same time. Things like converting DateTimeOffset to DateTime in Sqlite has been done in nHibernate (now in Dapper, that I use for querying). But EfCore created wrong table type. It doesn't take migration under consideration, but model.

@bricelam Do we already document somewhere how we work with types in SQLite?

Column names are irrelevant to SQLite, Microsoft.Data.Sqlite, and EF Core. If you need it to be DATETIME, make it so:
class Model
{
    ...

    [Column(TypeName = "DATETIME")]
    public DateTimeOffset Start {get;set;}
}

or
modelBuilder.Entity<Model>().Property(m => m.Start).HasColumnType("DATETIME");

@bricelam Shouldn't we add this to the documentation?

Note, SQLite only supports four primitive types: INTEGER, REAL, TEXT, and BLOB. All additional semantics have been added by System.Data.SQLite. This is the fundamental between System.Data.SQLite and Microsoft.Data.Sqlite. You are free to wrap SqliteDataReader to add additional semantics:
class WrappingDataReader
{
    readonly SqliteDataReader _inner;

    public WrappingDataReader(SqliteDataReader inner)
        => _inner = inner;

    public object GetValue(int ordinal)
    {
        switch (_inner.GetDataTypeName(ordinal))
        {
            case "DATETIME":
                return _inner.GetDateTimeOffset(int ordinal);

            default:
                return _inner.GetValue(ordinal);
        }
    }
}

Or, if you're using Dapper, add a type handler:
class DateTimeOffsetHandler : SqlMapper.TypeHandler<DateTimeOffset>
    where T : Geometry
{
    public override DateTimeOffset Parse(object value)
        => DateTimeOFfset.Parse((string)value);
}

SqlMapper.AddTypeHandler(new DateTimeOffsetHandler());

Shouldn't we add this to the documentation?

Yep