Add ability to only engage the paging behaviour, if we have overflowed the screen rows

As above,
This would be nice, for inclusion into the nushell ecosystem. Otherwise the paging makes the usability feel awkward (always paging). I tried doing this on nushell side, but this makes it alot easier & I was not able to get it working in the end the other way with async et al.
This still clears the screen each draw, but doesnt output all the other stuff, unless we have overflowed.
It may make more sense to have completely separate setup & cleanup sequences for each modes and:
if we over flow & page_if_havent_overflowed  == false, rerun setup which will clear the screen etc.
run different cleanup routines if we have overflowed, or not.
This also adds a data_finished() method, which flags to the system that data is no longer coming. This only makes sense when page_if_havent_overflowed == false. if we have finished data, and havent overflowed, we return out of the run loop.
There may be issues with static pager, I havent tested it yet. but it would also be good to have some tests for these functions, that test what the actual output to the screen is, if possible. might be fairly impossible with terminal emulatioin etc.
Hope this makes sense!

The problem with the approach is that we cannot say that at least in async mode whether the end application has written all data. I have implemented this in the static mode but I am not sure whether adding this in async would be any good

Hey,
I think that last commit broke something. apologies, I will fix this.
Cheers

I squashed this down, to minimize churn.
Again, apologies. I left the house while the the CI was running, and didnt come back for a few hours & forgot to check.
Thankyou

Since all tests are working fine and there's only a rustfmt job failing. I am going to merge this

Ah, whoops.
I'll put up a new pr (it's one newline dang it)


[Event Hubs] Use autorest to generate code of schema registry

Auto generate the Schema Registry, decide package & client naming etc, but not ship it. This is to tease out any issues we may have with the code generator.

Closing in favor of #12559 as it has more details


fatal error: NSArray element failed to match the Swift Array Element type

After build succeeded I keep getting this error: fatal error:
"NSArray element failed to match the Swift Array Element type".
Im using Swift, 8.2.

I was missing one item without the RAMAnimatebTabBarItem. Sorry for bothering.


⚠ ClamAV has degraded performance

In b6ec3b6, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 89 ms

Resolved: ClamAV performance has improved in 3477bf2.


Do you need TPU for fine-tuning?

I get the below warning and error while starting training.
Warning:
RuntimeError: tensorflow/compiler/xla/xla_client/computation_client.cc:273 : Missing XLA configuration
Error:
terminate called after throwing an instance of 'std::runtime_error'   what():  tensorflow/compiler/xla/xla_client/computation_client.cc:273 : Missing XLA configuration Aborted

Had to define export variables.


”Averești”, ”Armășeni”, ”Bunești”, ”Plopi” are listed in the drop-down menu

Description:
When user writes ”Averești”, ”Armășeni”, ”Bunești”, ”Plopi” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Averești"

Expected results
The location appears in the drop-down menu as "Sat Averești, VASLUI (Bunești-Averești)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Bunești"

Expected results
The location appears in the drop-down menu as "Sat Bunești, VASLUI (Bunești-Averești)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Write in the search bar "Plopi"

Expected results
The location appears in the drop-down menu as "Sat Plopi, VASLUI (Bunești-Averești)".


Cannot open VSCode from WSL terminal

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.88.0
OS Version: 23H2 (OS Build 22631.3374

VSCode
Version: 1.88.0 (user setup)
Commit: 5c3e652f63e798a5ac2f31ffd0d863669328dc4c
Date: 2024-04-03T13:26:18.741Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.22631
Wsl
wsl --version
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>-2
WSLg version: 1.0.60
MSRDC version: 1.2.5105
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22631.3374
Steps to Reproduce:

Open a WSL terminal
Excecute code .

Expected behavior:
VSCode opens with the current directory
Actual behavior:
VSCode doesn't open and shows the following output:
[2024-04-05 00:35:55.451] node:internal/modules/cjs/loader:1080
[2024-04-05 00:35:55.451]   throw err;
[2024-04-05 00:35:55.451]   ^
[2024-04-05 00:35:55.451]
[2024-04-05 00:35:55.451] Error: Cannot find module '/home/matt/.vscode-server/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/out/server-main.js'
[2024-04-05 00:35:55.451]     at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
[2024-04-05 00:35:55.451]     at Module._load (node:internal/modules/cjs/loader:922:27)
[2024-04-05 00:35:55.451]     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
[2024-04-05 00:35:55.451]     at node:internal/main/run_main_module:23:47 {
[2024-04-05 00:35:55.451]   code: 'MODULE_NOT_FOUND',
[2024-04-05 00:35:55.451]   requireStack: []
[2024-04-05 00:35:55.451] }

I tried what https://github.com/microsoft/vscode/issues/179252 found in https://github.com/microsoft/WSL/issues/8843 as their fix but it didn't help me. Was weirdly working all throughout the day then I came back from errands without restarting my computer and stopped working.
matt@Matt-Desktop:~$ cat /usr/lib/binfmt.d/WSLInterop.conf
:WSLInterop:M::MZ::/init:PF

Does that path exist? (5c3e652f63e798a5ac2f31ffd0d863669328dc4c/out/server-main.js)
If not, maybe the isnatllation got currupted.

Close VS Code WSL windows
in a WSL terminal run rm -r ~/.vscode-server/bin
restart VS Code

It did not... weird that it just corrupted during the day. Redownloading fixed it. Thank you.

Hi, I had the same issue, it seems that the installation got corrupted during while i was working. I solved too with rm -r ~/.vscode-server/bin.
Thanks to @msywulak  for opening the issue and to @aeschli for the solution.

Thanks for the replies, glad this helped.
Closing the issue.

@aeschli It happened to me today, and it's the second time in a month. It looks like a consequence of the automatic upgrade (?). Workaround rm -r ~/.vscode-server/bin helps though.
Still, I believe, the issue remains and it may happen again.


the ability to copy and modify the text generated by GPT

First of all your plugin is great!
Could you add a feature: the ability to copy and modify the text generated by GPT.
Because there are times when the plugin doesn't seem to insert successfully into the document.

I agree, the plugin is great! Thank you very much for making it!
I don't know if this is also meant by this issue, but someetimes not all of the text that is generated by GPT-3 is shown, but instead it breaks off in mid-sentence.

@KennyDenvers this seems to be a limitation of the OpenAI API. Will take a look though


ImageOptim hook autocorrects

I've noticed that the ImageOptim hook autocorrects.
I wouldn't expect this since it's the only hook I've seen that changes the repository state. Right?

You would be correct, but it's the nature of the tool itself. It at least doesn't stage those corrections.
If image_optim provided a way to see if an image was optimizable without optimizing it, then this wouldn't be a problem.
I'm open to suggestions of how to deal with this, but at the time it was deemed "not a big deal" as the user could always git checkout the original images. What's nice about having it autocorrect is you get the warning and then you can promptly stage the changes to get the optimized image.
In regards to autocorrection in general, I'm not against it, it's just not supported in the general case yet (see #238).

@sds As you said, no big deal. But did the cope behave previously as one would expect (https://github.com/brigade/overcommit/commit/71b31bdd5522966fbb83b1202507f1df80c2aa9d)? Haven't tried it but from image_optim's README, the non-bang version of optimize_images doesn't seem to change the source image.

Ah, yes, the hook used to call the Ruby API directly. I switched it in 71b31bd to use the executable since I didn't want to have to install the image_optim gem just to test Overcommit. Unfortunately, there was no mechanism to check if an image was optimizable via the command line at the time without modifying it.
I'm definitely open to a pull request that fixes this to be non-destructive. One solution could be to copy the applicable files to a temporary directory and run image_optim against those, reporting any files that were modified. Another would be to submit an patch upstream to support non-destructive optimization checks.

Closing this ticket due to age. Happy to merge a pull request if this is desired!


Dist files?

Hi,
Can you publish the distribution files here? You have them published here, however the files were compiled with webpack in development mode (since the map files are required).
I am evaluating solutions for my product Music Jotter, and I'd like to see if your neat solution here can work. Is it possible to run note on and note off events? I have to dig in a little more.
Thanks!

Also, fyi, the reason why I can't use your npm package is because of this error:
Could not load source '\node_modules\js-synthesizer\src\main\ISequencerEventData.ts': Unable to retrieve source content.
I'd prefer to use npm due to the typings. I can try adding the file manually to see if this fixes the problem, but I run automated solutions on my server with npm updates.

js-synthesizer package in npm includes JS files (ES modules) in dist/lib directory and if you use webpack, import * as JSSynth from 'js-synthesizer' will read JS files in dist/lib (since package.json has the field module with the value dist/lib/index.js).
Other bundlers are not tested, so some problems may occur.
If you can, please provide a reproduction for the problem.

Hi, thank you for your response.
This is actually the error I get with npm:
Could not load source '\node_modules\js-synthesizer\src\main\ISequencerEventData.ts': Unable to retrieve source content.
Given the error above, I just wonder if the npm download is not downloading the correct file. I have decided that I am going to use your solution with my application since it does work otherwise, and offers a lot of the control I need. I might have to download your project down the line and run / text it locally if we can't figure out the npm issue.

I created the repository https://github.com/jet2jet/js-synthesizer-test-webpack for the test.
This repository should work (at lease it worked in my environment) so please use and confirm this to check the problem.

I was able to successfully run and launch this project, with the browser outputting [object Object]. Here's a copy of the log information. Please note, I upgraded my node to the latest version:

[2024-03-13T12:34:29.722Z]  "GET /" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
(node:28976) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
(Use node --trace-deprecation ... to show where the warning was created)
[2024-03-13T12:34:29.776Z]  "GET /node_modules/js-synthesizer/externals/libfluidsynth-2.3.0.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
[2024-03-13T12:34:29.779Z]  "GET /dist/test-webpack.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
[2024-03-13T12:34:29.811Z]  "GET /favicon.ico" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0"
[2024-03-13T12:34:29.813Z]  "GET /favicon.ico" Error (404): "Not found"

Hi,
How can I contact you? I'm going to be using this library in my product Music Jotter since I am able to get it to work. However, I have some questions, especially regarding efficiency. Some question would be:

Would I have to load a the soundfont each time when playing the midi? If so, can the soundfont be cached somehow?
Can we connect this synth via a virtual midi port, and hook it up to Kontakt? I'm pretty sure the answer is yes, but would love to have some conversations around this.

Looking forward to hearing from you.

Would I have to load a soundfont each time when playing the midi? If so, can the soundfont be cached somehow?

No, it's OK to load Soundfont only once (until calling Synthesizer.unloadSFont).

Can we connect this synth via a virtual midi port, and hook it up to Kontakt? I'm pretty sure the answer is yes, but would love to have your input around this.

I don't know Kontakt well, but I think it is necessary to pass MIDI messages to WebMIDI API, which is different from WebAudio. js-synthesizer only passes rendered data to WebAudio, but if you want to pick MIDI messages, Synthesizer.hookPlayerMIDIEvents can be used.

A bit confused with your documentation. I'm assuming this bit of code must be called each time in order to play the midi. Wouldn't each call load the soundfont? This is the problem I am having, high memory usage.  As of now, I have to keep calling this block of code in order to get the play function to work with seek. I feel like I am missing something though.
// Prepare the AudioContext instance
var context = new AudioContext();
var synth = new JSSynth.Synthesizer();
synth.init(context.sampleRate);

// Create AudioNode (ScriptProcessorNode) to output audio data
var node = synth.createAudioNode(context, 8192); // 8192 is the frame count of buffer
node.connect(context.destination);

// Load your SoundFont data (sfontBuffer: ArrayBuffer)
synth.loadSFont(sfontBuffer).then(function () {
    // Load your SMF file data (smfBuffer: ArrayBuffer)
    return synth.addSMFDataToPlayer(smfBuffer);
}).then(function () {
    // Play the loaded SMF data
    return synth.playPlayer();
}).then(function () {
    // Wait for finishing playing
    return synth.waitForPlayerStopped();
}).then(function () {
    // Wait for all voices stopped
    return synth.waitForVoicesStopped();
}).then(function () {
    // Releases the synthesizer
    synth.close();
}, function (err) {
    console.log('Failed:', err);
    // Releases the synthesizer
    synth.close();
});

I was able to fix the memory problem by following your code example here. Actually, it seems to work really well now and I am not even noticing too much latency. I'll show you the product in action once I am ready to make my next YouTube video.
What are your plans for upkeep with this module? I know that down the line I will need to do more synth work once I start making more consistent sales with Music Jotter. I'll be doing work with virtual midi ports as well.

Wouldn't each call load the soundfont?

Sorry for the unkind code, but Soundfont is only needed to load once. That sample code was simply intended to play a MIDI file once.

What are your plans for upkeep with this module?

Currently there are no plans to update the module, but if necessary (such as bug fixes or valuable feature requests), I'll work for the update.

Can your module connect to an available midi port? I'm still trying to see if fluidsynth allows connection via a midi port (in this case, a virtual midi port, such as LoopMidi). Instead of using the loaded soundfont to playback via the synth, I'm trying to see if I can use an external sampler for this (Kontakt is an example, but any external sampler would be similar).
If this is not possible I may have to use WebMidi for this (if that is even possible, still researching). However, if fluidsynth can handle this, I'd rather just use this one piece of technology.

Can your module connect to an available midi port?

No, Emscripten, used to build wasm version of fluidsynth, does not have ability to send messages to a MIDI port, so wasm version of fluidsynth cannot use the MIDI port. Therefore, you must use WebMIDI manually.

Thanks! I figured as much. I also figured out how to use WebMIDI to connect to an external synth such as Kontakt. I'll still be using your module for soundfont integration.

Hi,
I have possibly one more question. I'm unsure how to send a midiNoteOn event with a specific instrument. And when I send a midiNoteOn event, can I load a new instance of synth? Would I have to set PlayPlayer at all?
For example, once I initialize the synth, I may do something like this:
synth.midiNoteOn(0, 60, 64)
And if I am using a GM soundfont, instrument 41 would be a violin. How would I play a noteOn event with a violin?

How would I play a noteOn event with a violin?

For MIDI, it is necessary to send Program Change message to change the instrument. So, you need to call synth.midiProgramChange(channel, 41).

If you want to use the another bank (rather than 0), use synth.midiBankSelect(channel, bank).
If you want to use the instrument in the Soundfont and multiple Soundfonts are loaded, use synth.midiProgramSelect(channel, sfontId, bank, instrument) (this is an original feature of fluidsynth).

Bingo, that got it to work. Thank you.
When I do my next YouTube video about playback, I will let you know. You might be interested in seeing how my product works, and makes use of this module. I also will demonstrate how Music Jotter works with Kontakt. But if you are generally interested in music composition, feel free to subscribe and spread the word of my small music channel.

Also, do you have any tips on how to keep memory usage low? I'm stress testing right now, and memory usage keeps climbing as I add more notes to the score for playback. I do not seem to have this problem with external daws since memory management is handled by the daw.

BTW, this is the error I get when I go add notes (stress testing).
fluidsynth: warning: Ringbuffer full, try increasing synth.polyphony!
When I enter notes (and modify notes), I run a series of midiNoteOn events (paired with midiNoteOff events). But this doesn't seem to work well for note entry. The playback still seems to work fine. I have a new synth just for note entry. And another synth object just for playback.
Not sure if I am missing something. When I connect to a soundfont manager such as Coolsoft VirtualMidiSynth, there are no issues. I'm not sure if FluidSynth just has issues with memory management, or if there are settings that can't be accessed via this API.
One solution would be to disallow (turn off) sending midiNoteOn events when placing notes. Not ideal, but I'm not sure how else to overcome the memory problems.

is there a way to increase the polyphony with this API?

The second parameter of synth.init is SynthesizerSettings, which has polyphony field. To increase the polyphony, please specify SynthesizerSettings.
(Currently there is no method to change the setting after initialization.)

fluidsynth: warning: Ringbuffer full, try increasing synth.polyphony!

I'm not sure, but it seems that flushing data in voices does not work properly. This may occur when synth.render is not called enough times, so my advice would be to make sure that synth.render is called enough times.

Ah, I ignored the render function in your documentation because I wasn't sure what it was or how to use it. Do I simply call synth.render() in the play loop?

When using synth.createAudioNode, the audio node can be used as follows:
  const node = synth.createAudioNode(ac, 2048); // 2048 is optional
  ac.destination.connect(node);
  // after this, `synth.render` is called automatically (from 'audioprocess' event of audio node)

Note that createAudioNode uses ScriptProcessorNode, which is deprecated now. If you can, AudioWorkletNodeSynthesizer is nice to use (please see README With AudioWorklet section).
AudioWorkletNodeSynthesizer is also rendered automatically when the result of AudioWorkletNodeSynthesizer.createAudioNode is connected to the destination of AudioContext.

I found what the issue is. I've been getting this error all along but I've just been ignoring it. However this is why the AudioWorkletGlobalScope isn't being registered:
Uncaught ReferenceError ReferenceError: AudioWorkletGlobalScope is not defined
I load these scripts in the header of my html main template:
    <script src="/mj/jslibs/synth/libfluidsynth-2.3.0.js"></script>
    <script src="/mj/jslibs/synth/js-synthesizer.min.js"></script>
    <script src="/mj/jslibs/synth/js-synthesizer.worklet.js"></script>

And each time I run my project, I get that reference error. I believe if we could pinpoint why there is a reference error, then I can finally access AudioWorkletGlobalScope

js-synthesizer.worklet.js can only be used in Audio Worklet. It cannot be loaded via <script> (and is not necessary).

I am still unable to access AudioWorkletGlobalScope.

AudioWorkletGlobalScope can be used only in scripts loaded to Audio Worklet. If you want to add codes working in Audio Worklet, you need to use ac.audioWorklet.addModule.


When the Azure Backup will support for 32 data disks?

I am looking for this support from last 6 months and seems like the product group will be releasing this support in Feb-2019, so now it's the time. Please let me know when ???

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

ID: 8d3447ce-fb16-f2ec-126e-91168af07bd1
Version Independent ID: 65048fd2-f450-2046-115d-3846a6f5be1a
Content: Prepare to back up Azure VMs with Azure Backup
Content Source: articles/backup/backup-azure-arm-vms-prepare.md
Service: backup
GitHub Login: @rayne-wiselman
Microsoft Alias: raynew

@VireshMathapati13 Thanks for the Comment. We are actively investigating and will get back to you soon.

@VireshMathapati13 32 disks support is targeted for March end. We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


NuGet Release

Would you be open to uploading this to NuGet so that it can be downloaded automatically?
I'd be happy to help you get the package and commands setup!

Hey, thank you for reaching out. I have created a NuGet package for TerminalApi. I should say that this is my first time so please let me know if I did anything wrong. Or if there is anything I could do better.


Output of Jupyter notebook cells is not intuitively accessible with screen readers

@isidorn
Bug
Using: latest JAWS and NvdA.
Steps to reproduce:

Open a jupyter notebook and make 2-3 code cells.
Type Python code in each one and hit control-enter. You hear the audio cue announcing that the code in the cell worked.
Tab around(after enabling "Pressing Tab will now move focus to the next focusable element") and move to the cell output. it speaks "read only", but pressing arrow keys reads nothing there.

you have to enable the virtual PC cursor/Browse mode to read the output. I wonder if it's possible to make control+uparrow and control+downarrow work there, similar to the accessible buffer in terminal? Not to mention one single keystroke to jump to the output of the corresponding notebook cell output, that would make data science a lot easier and intuitive for blind people.
Thanks!
VS Code version: Code 1.75.1 (441438abd1ac652551dbe4d408dfcec8a499b8bf, 2023-02-08T21:32:34.589Z)
OS version: Windows_NT x64 10.0.22621
Modes: Restricted
Sandboxed: Yes

System Info

Item
Value

CPUs
12th Gen Intel(R) Core(TM) i7-1255U (12 x 2611)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
15.68GB (9.58GB free)

Process Argv
--crash-reporter-id dd32757f-cd87-4808-9f73-6d6c49ef34b6

Screen Reader
yes

VM
0%

Extensions (7)

Extension
Author (truncated)
Version

python
ms-
2023.2.0

vscode-pylance
ms-
2023.2.40

jupyter
ms-
2023.1.2010391206

jupyter-keymap
ms-
1.1.0

remote-ssh
ms-
0.96.0

remote-ssh-edit
ms-
0.84.0

remote-explorer
ms-
0.2.0

@GauravTheCoder this is great feedback, thank you very much for opening this issue!
fyi @minsa110 @meganrogge

@amunger and I are meeting with @jooyoungseo to discuss this issue next Monday

I think output accessibility should be improved now with the accessible view, with related instructions in the notebook accessibility help (alt+F1).

Hi, can you give some specific details on how to launch Notebook Accessibility Help via Alt+F1  (mac and windows) and possibly the related help (full) instructions? Blind folks would like to know ;-).

Open a notebook and press Alt+F1. Is there anything specifically giving you trouble?

There is no info in the Accessibility Help window on how to navigate/access Output cells.

From the accessibility help (that you pasted):

The Focus Output command (Control+Shift+PageDown) will set focus in the cell's output.

Is that what you're looking for?

Yes, Focus Output is the command that a blind person needs to get to the
‘blue frame’ state of the output cell for the (JAWS) reader to kick in
and to start reading.
The issue has been that ‘Ctrl+Shift+PgUp/PgDn’ is defined in the
VScode Keyboard shortcut for Windows doc as ‘Move editor left/right’.
The Focus Output key was not defined on my mac and not on my blind friend’s
windows laptop. Only after defining the Focus Output keystroke did
my friend feel he made progress. It is just luck that we have stumbled
onto a workable solution for him. Working (blind) in VScode notebooks is
like walking on a path through a jungle of key strokes that are
just NOT reliable/dependable.

reporting more troubles about the Focus Output functionality:
in our join efforts around the “how to navigate to a notebook's output cell?”,
my blind friend and I have found and reported bug #201862 (Jan24).
However, we have NOT reported the short coming when the output cell contains
additional output in form of an error/warning message showing below the output cell.
This second part of the output is NOT reachable via ‘Ctrl+Shift+PgDn’,
i.e. the ‘blue frame’ focus stays with the first output cell and never
advances to show around the error message.

I have to work on a position paper highlighting the “usual” struggle blind
folks go through (and they are NOT complaining about it) to get their work
in VScode done.

A unified/consistent keystroke definition for the blind is needed
but I’m sure the blind community is NOT in favor of such
a thing as for the blind folks that have painfully learned
the current jungle of keystrokes are NOT looking
forward to learn another keystroke system…

Thanks for listening.
-Klaus.

On Jan 17, 2024, at 12:23 PM, Aaron Munger @.***> wrote:
There is no info in the Accessibility Help window on how to navigate/access Output cells.
From the accessibility help (that you pasted):
The Focus Output command (Control+Shift+PageDown) will set focus in the cell's output.
Is that what you're looking for?
—
Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/175743#issuecomment-1896263020, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHB65GLVNKKZJSK5ZDGRA6TYPACHVAVCNFSM6AAAAAAVL5WIEOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJWGI3DGMBSGA.
You are receiving this because you commented.

This is great.  He should write  this up and send it to blind Programming.
From: Klaus Szyska @.>
Sent: Thursday, January 18, 2024 7:50 PM
To: microsoft/vscode @.>
Cc: Prakash @.>; Ken Perry @.>
Subject: Re: [microsoft/vscode] Output of Jupyter notebook cells is not intuitively accessible with screen readers (Issue #175743)
You don't often get email from @.*** Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
Yes, Focus Output is the command that a blind person needs to get to the
'blue frame' state of the output cell for the (JAWS) reader to kick in
and to start reading.
The issue has been that 'Ctrl+Shift+PgUp/PgDn' is defined in the
VScode Keyboard shortcut for Windows doc as 'Move editor left/right'.
The Focus Output key was not defined on my mac and not on my blind friend's
windows laptop. Only after defining the Focus Output keystroke did
my friend feel he made progress. It is just luck that we have stumbled
onto a workable solution for him. Working (blind) in VScode notebooks is
like walking on a path through a jungle of key strokes that are
just NOT reliable/dependable.

reporting more troubles about the Focus Output functionality:
in our join efforts around the "how to navigate to a notebook's output cell?",
my blind friend and I have found and reported bug #201862 (Jan24).
However, we have NOT reported the short coming when the output cell contains
additional output in form of an error/warning message showing below the output cell.
This second part of the output is NOT reachable via 'Ctrl+Shift+PgDn',
i.e. the 'blue frame' focus stays with the first output cell and never
advances to show around the error message.

I have to work on a position paper highlighting the "usual" struggle blind
folks go through (and they are NOT complaining about it) to get their work
in VScode done.

A unified/consistent keystroke definition for the blind is needed
but I'm sure the blind community is NOT in favor of such
a thing as for the blind folks that have painfully learned
the current jungle of keystrokes are NOT looking
forward to learn another keystroke system...

Thanks for listening.
-Klaus.
On Jan 17, 2024, at 12:23 PM, Aaron Munger<EMAIL_ADDRESS>wrote:
There is no info in the Accessibility Help window on how to navigate/access Output cells.
From the accessibility help (that you pasted):
The Focus Output command (Control+Shift+PageDown) will set focus in the cell's output.
Is that what you're looking for?
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode/issues/175743#issuecomment-1896263020, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHB65GLVNKKZJSK5ZDGRA6TYPACHVAVCNFSM6AAAAAAVL5WIEOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJWGI3DGMBSGA.
You are receiving this because you commented.Message ID: @.***>


options for frame images cropping

if  i would like to crop the frames to get a cropped gif, are there corresponding options

Hi,
Thanks for issue.
Does you mean set X, Y, WIDTH, HEIGHT for crop video?


disabledDates customPredictor not correct

`customPredictor: (date) => {
var current = moment(date).startOf('day'),
from    = moment(fromField).startOf('day');
if (current.isBefore(from)) {
return true;
}
}`

when date disabled - month unavailable

Same:
When disabled date 15 March 2019 and clicked to choose a month, a March is disabled, but clicked in arrow I can choose 16 March an example. A March should be available for selection and prev month is disabled.


The node does not represent a user object

Hi!
I have a problem using go-opencv to load a haarcascade xml file.
I'm using Mac OS and installed opencv 2.4.12 using homebrew.
I created a small file to show the error:
package main

import (
    "fmt"
    "os"

    "github.com/lazywei/go-opencv/opencv"
)

const (
    faceDetectionHaarCascade = "/usr/local/Cellar/opencv/2.4.12/share/OpenCV/haarcascades/haarcascade_frontalface_alt.xml"
)

func main() {
    _, err := os.Stat(faceDetectionHaarCascade)
    if err != nil {
        fmt.Println(err)
        os.Exit(1)
    }
    cascade := opencv.LoadHaarClassifierCascade(faceDetectionHaarCascade)
    fmt.Println(cascade)
}

The error I'm getting is:
OpenCV Error: Unspecified error (The node does not represent a user object (unknown type?)) in cvRead, file /tmp/opencv20151016-70353-1g57fur/opencv-2.4.12/modules/core/src/persistence.cpp, line 5008
libc++abi.dylib: terminating with uncaught exception of type cv::Exception: /tmp/opencv20151016-70353-1g57fur/opencv-2.4.12/modules/core/src/persistence.cpp:5008: error: (-2) The node does not represent a user object (unknown type?) in function cvRead

SIGABRT: abort
PC=0x7fff9cd3c0ae m=0
signal arrived during cgo execution

goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x4002560, 0xc82005de88, 0x0)
    /usr/local/Cellar/go/1.5.1/libexec/src/runtime/cgocall.go:120 +0x11b fp=0xc82005de40 sp=0xc82005de10
github.com/lazywei/go-opencv/opencv._Cfunc_cvLoadHaarClassifierCascade(0x5616970, 0x100000001, 0x0)
    ??:0 +0x3a fp=0xc82005de88 sp=0xc82005de40
github.com/lazywei/go-opencv/opencv.LoadHaarClassifierCascade(0x4160ca0, 0x59, 0x6464238)
    /Users/kai/Projects/go/src/github.com/lazywei/go-opencv/opencv/cvaux.go:61 +0x8d fp=0xc82005dec0 sp=0xc82005de88
main.main()
    /Users/kai/Projects/go/src/bitbucket.org/kaikuehne/opencv-test/main.go:20 +0x11d fp=0xc82005df50 sp=0xc82005dec0
runtime.main()
    /usr/local/Cellar/go/1.5.1/libexec/src/runtime/proc.go:111 +0x2b0 fp=0xc82005dfa0 sp=0xc82005df50
runtime.goexit()
    /usr/local/Cellar/go/1.5.1/libexec/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc82005dfa8 sp=0xc82005dfa0

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
    /usr/local/Cellar/go/1.5.1/libexec/src/runtime/asm_amd64.s:1696 +0x1

rax    0x0
rbx    0x6
rcx    0x7fff5fbee4b8
rdx    0x0
rdi    0x50f
rsi    0x6
rbp    0x7fff5fbee4e0
rsp    0x7fff5fbee4b8
r8     0x4
r9     0x7fff9943ba53
r10    0x8000000
r11    0x206
r12    0x7fff5fbee640
r13    0x5700828
r14    0x7fff7e0e7000
r15    0x7fff5fbee520
rip    0x7fff9cd3c0ae
rflags 0x206
cs     0x7
fs     0x0
gs     0x0

Can you tell me what I might have done wrong? Or is this a bug?
Thanks!

@kaikuehne, did you ever resolve this? I'm currently trying to load a haarcascade_frontalcatface.xml into smartcrop that dumps this error. It's weird because haarcascade_frontalface.xml and several other xml files work, but this cat face detection crash is killing me.
The node does not represent a user object
https://github.com/lazywei/go-opencv/blob/master/opencv/cvaux.go#L61
haarCascade.cascade = C.cvLoadHaarClassifierCascade(C.CString(haar), C.cvSize(1, 1))

Here's the xml file for reference: https://github.com/opencv/opencv/blob/master/data/haarcascades/haarcascade_frontalcatface.xml

@kaikuehne, did you ever resolve this? I'm currently trying to load a haarcascade_frontalcatface.xml into smartcrop that dumps this error. It's weird because haarcascade_frontalface.xml and several other xml files work, but this cat face detection crash is killing me.
The node does not represent a user object
https://github.com/lazywei/go-opencv/blob/master/opencv/cvaux.go#L61
haarCascade.cascade = C.cvLoadHaarClassifierCascade(C.CString(haar), C.cvSize(1, 1))

Here's the xml file for reference: https://github.com/opencv/opencv/blob/master/data/haarcascades/haarcascade_frontalcatface.xml


replace image id with app name for identifying apps within pod.

Not ready for review yet.
This PR does:

Exposing app name to user.
Replacing stage2 rootfs dir name with the numeric index of the app in the podmanifest. (/opt/stage2/sha512-xxx/=> opt/stage2/0/)
 Replacing app's systemd service file names with the app's name. (sha512-xxx.service => foo.service)

Need to update rkt status rkt enter and fix a bug for rkt list
Two functional tests are failing, will fix as well.

Updated:
Updated the rkt list, rkt status, rkt enter. Will fixes tests and rebase.
Since the we don't have the length limit on appname (maybe we should add into the spec), instead of using appname for *.service, *.socket, env files, status files, and directories. I replace them with the index of the app in the pod manifest. e.g.  app-0.service, app-0.socket, /opt/stage2/0/manifest, /rkt/status/0, /rkt/env/0.

Tests are passing. Ready for a review @jonboulle @alban @vcaputo @iaguis Thank you!

Previously #640

lgtm

Also add a new small commit to remove an unnecessary check in stage1: LoadPod(). This enables us to run multiple apps with same images (tested manually, will add some functional tests later)

Just noticed that we also need to change the ACIInfo.AppName to ACIInfo.ACIName, and change the display result of rkt image list. But that changes the on disk data representation. (Do we want to migrate here?) I think I will put a separate PR on this.

I guess we need to change Documentation/devel/architecture.md since it uses /opt/stage1/sha512-xxx paths

A couple of comments but LGTM in general

@iaguis Thanks for the comments! Fixed!

I don't know why this didn't click earlier, but this actually isn't quite the approach I was originally thinking of. In the case of run --pod-manifest, we likely want to use the names the user supplied for apps - the spec already guarantees that they must be unique, and of type AC Name, so they are easy to use directly (e.g. for directory names, and for rkt enter). This means that in the non-pod-manifest rkt run case we would basically just generate zero-indexed names for the pod manifest that we create.
Benefit is that user gets more predictable, consistent experience when supplying pod manifests.
Downside is that then the non-manifest case is slightly "magical" (but I think it's reasonably easy to just describe the indices as command-line order from the run command).
@yifan-gu thoughts?

@jonboulle The reason I prefer zero-indexed names is they are more stable though less readable, more confusing for user to debug. Because we haven't prevent things like ________~____ and some longer-than-255 names yet.
Besides, I am not sure how we can use both indexed names (0, 1, 2) and user specified names at the same time? For example, given that a pod with app foo is running. How can we know it should be /rootfs/opt/stage2/0 or /rootfs/opt/stage2/foo?

Since the we don't have the length limit on appname (maybe we should add into the spec), instead of using appname for *.service, *.socket, env files, status files, and directories. I replace them with the index of the app in the pod manifest. e.g.  app-0.service, app-0.socket, /opt/stage2/0/manifest, /rkt/status/0, /rkt/env/0.

I think I prefer to limit the appname length and have *.service etc. that are easier to recognise.
@yifan-gu What do you mean with more stable names? Do you mean app names would need to be escaped if they contain some characters like /? The functions escape and unescape could help.

I think I prefer to limit the appname length and have *.service etc. that are easier to recognise.
@yifan-gu What do you mean with more stable names? Do you mean app names would need to be escaped if they contain some characters like /? The functions escape and unescape could help.

By more stable I mean if we name the apps with indices, then it is unrelated with the spec. Then we are saved from the spec changes. Besides, we haven't prevent names like ~___~ , and ~___~.service is odd... Though users would probably never use such names, so I am not strongly against this.
The cons of indices names are, harder for developer to inspect the fs and debug. And it also requires the app list to be ordered.

@alban ^
/cc @philips Do you have any thoughts on this?

I don't quite follow your concern about spec changes/stability - do you mean if app names become less restrictive and are then no longer suitable for filenames?

Also I'm happy to introduce length limits in the spec.

I don't quite follow your concern about spec changes/stability - do you mean if app names become less restrictive and are then no longer suitable for filenames?

Yes

I am still on the fence about this one, can we get some more opinions? @alban @iaguis @philips @robszumski

I think I prefer to have readable app names, if users choose silly names like ~___~ they would have to deal with ~___~.service files :)
So we'd have to limit the length in the spec and use the escape functions in go-systemd.

Besides, I am not sure how we can use both indexed names (0, 1, 2) and user specified names at the same time? For example, given that a pod with app foo is running. How can we know it should be /rootfs/opt/stage2/0 or /rootfs/opt/stage2/foo?

Can't we just try the app name first and then fall back to indexed names?

@iaguis Sure


Does this project allow editing of content?

Sorry this may seem like a silly question, but does this project support editing of content? I have downloaded the project and ran the sample but it seems to be read only. Thanks for the project!

Heelo @allforabit!
No, this project just renders the draft.js data on React Native.
Thanks for your question!

Sorry for reopening this issue.
Would it be possible to build a native rich text editor on top of this project, using Draftjs's EditorState and ContentState? Since all available React Native rich text editor libraries are pretty crappy and I'm thinking of implementing it myself.

It's possible. But I think rich text editors only works inside WebViews. =/

@raphaelpor How come? A rich text editor boils down to being able to render and edit EditorState right?


Update package.json

Avoid webpack warning
(The 'mode' option has not been set, webpack will fallback to 'production' for this value.)

Thank you, will merge it!


Procfile not required

If scripts.start is specified (which it is), Heroku's node buildpack will created a Procfile for you.

TIL! https://github.com/librariesio/github-firehose/commit/ff02b5852d74603bff9009fab6f3fd7e590bdef4


feature/#214 - explicit "create a list" button instead of "empty" text

For empty product lists only for the moment.
Impacted files:

list_page.dart: replaced the "Empty" text with an explicit "create a food list" button, which eventually goes to the newly created product page
product_list_dialog_helper.dart: method openNew now returns a ProductList instead of a simple bool

Thank you @teolemon!
I'm going to apply that to pantries and shopping lists too.


Editor unusable in firefox (hangs and collapses unexpectedly; sometimes viewport jumps)

Hey, I just upgraded my ghost installation and intended to continue work on my new post, when I discovered that the editor is pretty much unusable. At least in firefox. I tried chrome and everything seems to work fine. Instead of discribing what happens I'll just show you:

Ghost version: 0.7.2

Which version of Firefox are you using? I've just tested with version 41 and 0.7.3 and have been unable to reproduce.

Firefox 42. I'm using ghost 0.7.2, though. Will update asap and try to
reproduce.

Can you also please try testing with any addons disabled?

the whole backend hangs randomly for me, in chrome and safari, safari has no add-ons. Seems to be worst when I use the search feature to find a post

@brightbits the issue you described was definitely different as we know from #6274 :+1:
@marcelklehr did you manage to reproduce the error on 0.7.4 without any addons enabled?

I'm going to close this for now, will reopen if we get more reproduction details.


PHP 8 support

Not sure if it was done thoroughly. But needed it for a project and it worked perfectly.
Feel free to change anything.

Can confirm that this works :+1:
{
    "repositories": [
        {
            "url": "https://github.com/ali-alharthi/laravel-er-diagram-generator",
            "type": "github"
        }
    ],
    "require": {
        "beyondcode/laravel-er-diagram-generator": "dev-master"
   }
}

Can confirm that this works 👍
{
    "repositories": [
        {
            "url": "https://github.com/ali-alharthi/laravel-er-diagram-generator",
            "type": "github"
        }
    ],
    "require": {
        "beyondcode/laravel-er-diagram-generator": "dev-master"
   }
}

@tennox @ali-alharthi
Thanks people, that worked for me too! :)


Improve the basic.rs client example

@AlexMikhalev wanted to have some more simple examples of how to use the atomic_lib rust library. The current basic.rs misses some features:

[ ] Full text search
[ ] Collection / pagination
[ ] Signing in with agent
[ ] Creating a resource

I would reverse the flow:

Demonstrate how to create a store passing server URL
Demonstrate how to create a store with an authenticated agent passing URL an agent string
Demonstrate how to read from the store
demonstrate how to write to store
Demonstrate how to fetch data from the atomic server using collections
Demonstrate how to search over atomic server using search API (tantivy)
add paginations, but I am more interested in retrieving all data and re-ranking them - Terraphim will handle re-ranking.


add mailbox retention period to config

Hello.
Unfortunately I'm not golang programmer, but I was able to fork and manually change retention period of mailbox from 24 hours to 30 min + cookie lifetime. Is it possible to put variable for this in env?
Such configuration can be useful for users, who are not ok with default 24h retention.
Thanks in advance ;-)

I will happily review a pr that adds this as a config var and propagates it wherever it needs to go. However, it is not something I am interested in doing myself.


Update jQuery to the last version

[ ] Fix specs
[x] Test examples:

[x] annotations.html
[x] basemap.html
[x] bing.html
[x] bounds.html
[x] core.html
[x] cursor_interaction.html
[x] custom.html
[x] custom_infowindow.html
[x] easy.html
[x] format.html
[x] gmaps_driving_directions_plus_sql_api.html
[x] gmaps_force_basemap.html
[x] gmaps_heatmap_plus_sql_api.html
[x] gmaps_satellite.html
[x] gmaps_with_torque.html
[x] header_overlay.html
[x] image.html
[x] infowindow-on-hover.html
[x] infowindow-with-different-positioning.html
[x] infowindow_with_graph.html
[x] layer_definition.html
[x] layer_selector.html
[x] layer_selector_overlay.html
[x] layer_toggle.html
[x] leaflet.html
[x] leaflet_control_multilayer2.html
[x] leaflet_core_library.html
[x] leaflet_hover_features.html
[x] leaflet_multilayer.html
[x] leaflet_namedmap.html
[x] leaflet_raster.html
[x] leaflet_sandwich.html
[x] leaflet_vector.html
[x] leaflet_vector_hover.html
[x] leaflet_vector_query_distance.html
[x] mobile.html
[x] modestmaps.html
[x] named-maps-example.html
[x] named-maps-template.html
[x] new-infowindow.html
[x] odyssey_test.html
[x] openlayers.html
[x] plain-color.html
[x] search_with_pin.html
[x] single-image.html
[x] slider.html
[x] stacked.html
[x] sublayer.html
[x] time_slider.html
[x] torque.html
[x] torque_step.html
[x] tutorial-1.html
[x] tutorial-2.html
[x] tutorial-google-driving-2.html
[x] tutorial-google-driving.html
[x] tutorial-google-heatmap-2.html
[x] tutorial-google-heatmap.html
[x] tutorial-query_by_distance-template.html
[x] tutorial-query_by_distance.html
[x] tutorial-toggle_map_view-template.html
[x] tutorial-toggle_map_view.html

Found a problem with mousewheel.js

https://github.com/bodrovis/mwheelintent-rails

+1: if this means those of us using newer jQuery (which is a requirement for bootstrap's JS) could avoid sending it to browsers twice, that'd be an appreciated win.

@javierarce wasn't the migration finished in #704?

Yes, jQuery is updated in that branch, I forgot to close this ticket.

Thanks @javierarce!
It looks like this is going into CartoDB v4? I haven't seen anything about version 4 other than the commits going into that branch (and it looks quite interesting – more modular perhaps); do you or @viddo have any sense of when that might be released?

@techieshark yes, it was merged to v4. There's nothing announced because there is no scope/date decided. The best suggestion I can give for now is to subscribe to the repo to get updates on what's going on, until a more official announcement is done.

:+1: ok, thanks @viddo.


Providing src.rock for every release

Hey,
I'm currently trying to install jitsi-meet-tokens on an offline installation and unfortunately the latest basexx 0.4.1 does not come with an .src.rock which forced me to use the 0.4.0 as someone requested a .src.rock for this.
Could you please add one for 0.4.1 as well?
Let me know if I can help you with this in any way

Hi,
you can find the src.rock for 0.4.1 at https://luarocks.org/manifests/aiq/basexx-0.4.0-1.src.rock
I hope this solves your problem.

Hey thanks for the quick fix :). In the meantime I had packed it manually from the repo and used it to do a local install. But this will make it easier for my future installs of jitsi!


TouchAction / TouchScreen : scroll into view --> to center view

Hi Florent,
I'm struggeling with scrolling an element into center view.
Currently the following works fine, but the view is scrolled with element at bottom (or top, when used ScrollIntoView True)
Set s = driver.FindElementByXPath("//some xpath")
s.ScrollIntoView

But I'd like to scroll the element into center of the view, or with some offset to bottom/top of page to have a better overview when creating screenshots.
Currently I'm looking at TouchActions/TouchScreen, but cannot seem to get it working:
With driver.TouchActions
            .ScrollFrom s, 0, 200
            .Perform
End With

At perform VBE reports error: (In Dutch, so I translated):

Error -2146233078 (8013150a) on runtime:
Cannot locate soure, but some logfiles cannot be searched. Not available logfile: Security

When I try to create the TouchAction or TouchScreen object:
Dim ts As Object
Set ts = CreateObject2("Selenium.TouchScreen")

Error -2146233069 (80131513) on runtime:
Constructor for type Selenium.TouchScreen not found

Do you have any ideas/solution?
Thanks

Touch commands are for touch drivers/devices only.
The best way would be with some Javascript:
Private Sub Scroll_Element_To_Center()
  Dim drv As New FirefoxDriver
  drv.Get "https://en.wikipedia.org/wiki/Main_Page"

  drv.FindElementByCss("#mp-other").ExecuteScript _
    "this.scrollIntoView(true);" & _
    "window.scrollBy(0, -(window.innerHeight - this.clientHeight) / 2);"

  Debug.Assert 0
  drv.Quit
End Sub

Ok, this should work as well, but it doesn't. Somehow my page doesn't scroll.
I've attached the example html and used:
`driver.FindElementByXPath("//*[text()[contains(.,'*WerkImpulz')] and (contains(@class,'xa') or contains(@class,'x7')) and contains(@class,'ff2')]
6326179_28034660_Pakketvoorblad.txt
').ExecuteScript ("this.scrollIntoView(true);window.scrollBy(0, -(window.innerHeight - this.clientHeight) / 2);")`

It's not working in your case because the scrollbar is not on the page but on a container.
So to make it work, you need to call scrollBy on that specific container:
drv.FindElementByXPath("//*[...").ExecuteScript _
  "this.scrollIntoView(true);" & _
  "var container=document.getElementById('page-container');" & _
  "container.scrollBy(0, -(window.innerHeight - this.clientHeight) / 2);"

Hi Florent, thanks for helping into that direction.
Unfortunately I needed to have the 'page-container' dynamic. So created this javascript to loop from the found element (this) to the node that enables the scroll.
It seems to work quite nice :-)
var s = r(this);
function r(element) {
  var e = el;
  var p;
  var s;
  var eTop = e.scrollHeight;
  //console.log(e.innerHTML + ' ' + eTop + ' ' + e.offsetTop + ' ' + window.innerHeight);
  if (eTop < window.innerHeight) {
    p = e;//.parentNode;
    e.scrollIntoView(true);
    eTop=e.scrollTop;
    console.log('1' + + '' eTop + '' e.scrollTop + p.tagName.toUpperCase() ) ;
    while (p.tagName.toUpperCase() != 'HTML' && e.scrollTop == eTop) {
      p=p.parentNode;
      //console.log('2' + p.tagName  + ' ' p.id + ' ' + p.scrollHeight );
      if (p.scrollHeight > window.innerHeight) {
        s = p;
        p.scrollTop -= ((window.innerHeight - e.clientHeight) / 2);
        eTop=e.scrollTop+p.scrollTop;
        console.log('2a' + p.tagName  + ' ' p.id+ ' ' + eTop);
      }
      else {
        console.log('2b' + p.tagName  + ' ' p.id);
      }
    }
  } else {
    //e.scrollIntoView(true);
    console.log('');
    s = e;
  }
  console.log('4');
  return s.tagName + s.className + s.id;
}

You should make it generic by scrolling all the containers as well as the main window until the element is centered:
  this.scrollIntoView(true);
  var y = (window.innerHeight - this.offsetHeight) / 2;
  if (y > 0) {
    for (var e=this; e; e=e.parentElement) {
      if (e.scrollTop) {
        var yy = Math.min(e.scrollTop, y);
        e.scrollTop -= yy;
        if ((y -= yy) < 1)
          return;
      }
    }
    window.scrollBy(0, -y);
  }

Even better than mine, thanks!


Got Bad state: Future already completed when create new app

Siriuss-iMac:FlutterProject sirius$ flutter analyze
Analyzing FlutterProject...                                     ⣾Unhandled exception:
Bad state: Future already completed
#0      _AsyncCompleter.complete (dart:async/future_impl.dart:39:31)
#1      _NativeSocket.startConnect..connectNext. (dart:io/runtime/binsocket_patch.dart:490:23)
#2      _NativeSocket.issueWriteEvent.issue (dart:io/runtime/binsocket_patch.dart:844:14)
#3      _NativeSocket.issueWriteEvent (dart:io/runtime/binsocket_patch.dart:851:12)
#4      _NativeSocket.multiplex (dart:io/runtime/binsocket_patch.dart:872:11)
#5      _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)

Siriuss-iMac:FlutterProject sirius$ flutter doctor -v
[✓] Flutter (Channel stable, v1.0.0, on Mac OS X 10.14.4 18E184e, locale en-RU)
• Flutter version 1.0.0 at /Volumes/Work/FlutterSDK
• Framework revision 5391447fae (2 months ago), 2018-11-29 19:41:26 -0800
• Engine revision 7375a0f414
• Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)
⣽Unhandled exception:
Bad state: Future already completed
#0      _AsyncCompleter.complete (dart:async/future_impl.dart:39:31)
#1      _NativeSocket.startConnect..connectNext. (dart:io/runtime/binsocket_patch.dart:490:23)
#2      _NativeSocket.issueWriteEvent.issue (dart:io/runtime/binsocket_patch.dart:844:14)
#3      _NativeSocket.issueWriteEvent (dart:io/runtime/binsocket_patch.dart:851:12)
#4      _NativeSocket.multiplex (dart:io/runtime/binsocket_patch.dart:872:11)
#5      _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)

I found out the reason.
Because flutter doesn't work on Russia network. We need to use VPN.
Please consider for Russia developers.


.travis.yml: allow failures for go tip

Signed-off-by: Giuseppe Scrivano<EMAIL_ADDRESS>

LGTM but something else seems to be failing :thinking:

restarted the failing jobs.

LGTM


Worker threw and unhandled exception

using version 4.5.2
lAPI.AnalyticsMessages  E  Worker threw an unhandled exception
                        E  java.lang.ArrayIndexOutOfBoundsException: length=1; index=1
                        E      at com.mixpanel.android.mpmetrics.DecideChecker.getDecideResponseFromServer(DecideChecker.java:203)
                        E      at com.mixpanel.android.mpmetrics.DecideChecker.runDecideCheck(DecideChecker.java:72)
                        E      at com.mixpanel.android.mpmetrics.DecideChecker.runDecideChecks(DecideChecker.java:54)
                        E      at com.mixpanel.android.mpmetrics.AnalyticsMessages$Worker$AnalyticsMessageHandler.handleMessage(AnalyticsMes
                           sages.java:259)
                        E      at android.os.Handler.dispatchMessage(Handler.java:102)
                        E      at android.os.Looper.loop(Looper.java:135)
                        E      at android.os.HandlerThread.run(HandlerThread.java:61)
                        E  Mixpanel will not process any more analytics messages
                        E  java.lang.ArrayIndexOutOfBoundsException: length=1; index=1
                        E      at com.mixpanel.android.mpmetrics.DecideChecker.getDecideResponseFromServer(DecideChecker.java:203)
                        E      at com.mixpanel.android.mpmetrics.DecideChecker.runDecideCheck(DecideChecker.java:72)
                        E      at com.mixpanel.android.mpmetrics.DecideChecker.runDecideChecks(DecideChecker.java:54)
                        E      at com.mixpanel.android.mpmetrics.AnalyticsMessages$Worker$AnalyticsMessageHandler.handleMessage(AnalyticsMes
                           sages.java:259)
                        E      at android.os.Handler.dispatchMessage(Handler.java:102)
                        E      at android.os.Looper.loop(Looper.java:135)
                        E      at android.os.HandlerThread.run(HandlerThread.java:61)
                        V  Dead mixpanel worker dropping a message: 13 (Thread 1)
                        V  Dead mixpanel worker dropping a message: 2 (Thread 1)

After that worker stays dead and all messages are dropped.

I just checked where the code fails 203. turning off debug will fix the issue.
FYI upon app start up I do get the below so not sure why the fallback is not in the uri[]:
panelAPI.Configuration  V  Mixpanel configured with:
                        V      AutoShowMixpanelUpdates true
                        V      BulkUploadLimit 40
                        V      FlushInterval 60000
                        V      DataExpiration 432000000
                        V      DisableFallback true
                        V      DisableAppOpenEvent false
                        V      DisableDeviceUIBinding false
                        V      DisableEmulatorUIBinding false
                        V      EnableDebugLogging true
                        V      TestMode false
                        V      EventsEndpoint https://api.mixpanel.com/track?ip=1
                        V      PeopleEndpoint https://api.mixpanel.com/engage
                        V      DecideEndpoint https://decide.mixpanel.com/decide
                        V      EventsFallbackEndpoint http://api.mixpanel.com/track?ip=1
                        V      PeopleFallbackEndpoint http://api.mixpanel.com/engage
                        V      DecideFallbackEndpoint http://decide.mixpanel.com/decide
                        V      EditorUrl wss://switchboard.mixpanel.com/connect/

Shouldn't the sdk/worker be able to recover from such an error rather than just stay dead? Doesn't seem to be very resilient.

@sciutand turning off debug will absolutely solve the issue - this is a bug that will hopefully be patched in the next release. the reason for this crash is that we took the fallback decide URL out of the library - in the case that the device couldn't connect over SSL our library went into a loop that repeatedly checked both HTTP and HTTPS endpoints for results (creating a ton of request amplification on our end). this was  a temporary fix that will be resolved going forward. let me know if you have more questions here!

I've scheduled this for a fix in the next release.

Looks like Joe fixed this in https://github.com/mixpanel/mixpanel-android/commit/694efa3308ba9bc5b4c3be81b46a5db7814fb050.

@Quuxplusone lol
Closing


Create a parse listener to generate the Form configurations using Extension Properties

instead of having to configure the form setup with all of the details, lets create a Parse Listener that will auto-config the UT and Start Event forms with the form configurations:
Use Camunda Extension properties (Extension Tab in the Properties Panel in the Camunda Modeler) to add the various configurations.

Added as part of v1.6


forward per-axis padding mode when backend is Theano

allow users to use a different padding mode on each dimension (theano supports it)

This is a seemingly complicated change to support a seemingly niche use case. In addition:

It doesn't support Python 3
It doesn't respect Keras code formatting and docstring formatting conventions
Usefulness of this change has not demonstrated (i.e. this is the first time this use case is raised)

You can either make a stronger case for this change, or close this PR.

Sorry for the long silence. I'll be back in a few days, and get back to it.

Closing inactive PR -- if you ever want to update this PR by addressing the issues listed previously, please make a new PR.


'404 Client Error: Not Found for url:  https://api.openai.com/v1/chat/completions' with gpt-4-32k-0613 model

While the default model gpt-4-1106-preview works normally, I get the following error when trying to use gpt-4-32k-0613 model:
404 Client Error: Not Found for url:  https://api.openai.com/v1/chat/completions

What could be the issue here?

mine is also having this same issue did you founad a fix for that

You need to have paid account in order to user gpt-4 more details here. You might be able to use gpt-3.5-turbo model with free account:
sgpt --model gpt-3.5-turbo "test"

Hi @TheR1D , no for me the problem is with a paid account.

Hii @TheR1D  yeah i also tried that it's giving me another error (HTTPError: 429 Client Error: Too Many Requests for url: https://api.openai.com/v1/chat/completions
)

Hii @TheR1D  yeah i also tried that it's giving me another error (HTTPError: 429 Client Error: Too Many Requests for url: https://api.openai.com/v1/chat/completions
)

same for me - DEFAULT_MODEL=gpt-4-1106-preview

I tried gpt-3.5-turbo but no cigar:
HTTPError: 404 Client Error: Not Found for url: https://api.openai.com/v1/chat/completions

At least shellgpt has beautiful error messages!

@TheR1D , it feels that we all have different permissions to access different models. I do have access to gpt-4, but not to the gpt-4-32k. No idea why, perhaps OpenAI has different access levels even for the paid accounts. What shell_gpt could do to address this issue is to display the full https://api.openai.com/v1/chat/completions response that explains the actual reason of error to everyone.

Same issue here:
HTTPError: 404 Client Error: Not Found for url: https://api.openai.com/v1/chat/completions

The default:
gpt-4-1106-preview = error 404
gpt-3.5-turbo = error

In the latest release these error will come with description and possible solutions. Run pip install shell-gpt --upgrade to install latest version.

Same problem after upgrade

I've solved this for myself by switching from OpenAI to OpenRouter.
That is, I register an OpenRouter account and adjust ~/.config/shell_gpt/.sgptrc accordingly:
OPENAI_API_HOST=https://api.openrouter.ai
OPENAI_API_KEY=<your_open_router_key_here>
OPENAI_BASE_URL=https://openrouter.ai/api/v1

I also make sure that the "default model" in OpenRouter settings is gpt4-32k:

And now I finally get the gpt4-32k working without an error!
So, the problem discussed here is all about OpenAI's inability to properly manage their users. OpenAI enables certain models for ones and disables for others, without any clear logic. OK then OpenRouter is a proxy, which works around it.

As mentioned (in other issues), If you have ChatGPT plus subscription you also need to buy credit here:
https://platform.openai.com/account/billing/overview
THEN wait few minutes!


vGPU acceleration for Qualcomm silicon

Is your feature request related to a problem? Please describe.
Qualcomm platform don't have vGPU driver available, resulting in all WSLg graphics running in copy mode. This causes some performance degradation. For instance, 1440p video playback burns 50% CPU.
Describe the solution you'd like
Having vGPU drivers available for Qualcomm platforms.
Describe alternatives you've considered
N/A
Additional context
It might up to Qualcomm and some other pending Hyper-V arm64 features (iirc vGPU goes via a virtual PCI device) to decide their driver availability, but it's good to have it if possible.

I second that. The Qualcomm driver installed is currently WDDM2.6
It was mentioned that that Microsoft is working together with the GPU providers in order to update their drivers. What is the status of that collaboration with Qualcomm?


Flextype Admin Panel: Moving to Tailwind CSS

Moving to Tailwind CSS. Removing Twitter Bootstrap

why Tailwind and not UIkit3 for example?

@proweb need to think about this. For me it is the same Twitter Bootstrap but from other dev's and named UI Kit.
Tailwind is a totally different approach, that can speed up frontend twice!
As I see Tailwind used by GitHub, Heroku, Kickstarter, Twitch, Segment, Algolia.
Interesting article by Sarah Dayan
https://blog.algolia.com/redesigning-our-docs-part-4-building-a-scalable-css-architecture/

We’ve had great success with going utility-first in the Algolia documentation, reducing our CSS from over 125 KB (and continuously growing) to less than 50 KB (9 KB GZipped, 7 KB with Brotli compression), which represents a 60% size decrease! From a user perspective, this is a guarantee of lightning-fast loading styles with extremely low overhead.

need more time to investigate this question

Well it's more taste choice. UIkit3 also component based CSS framework, created by germany team Yootheme and used them in workflow.
Layout examples:

https://zzseba78.github.io/Kick-Off/
https://github.com/chekromul/uikit-ecommerce-template

another interesting article from Adam: https://adamwathan.me/css-utility-classes-and-separation-of-concerns/

GitHub
GutHub uses Primer. How about it? https://primer.style/

Any way we should not use super heavy Twitter Bootstrap (even with PurgeCSS) - at lease for client part. I will review different solutions. Thanks for all yours feedback.

Tailwind CSS is also quite heavy. However there are literally tons of unused classed so PurgeCSS should be sufficient. Furthermore the stylesheet can also be compressed.
@oliver-77 Bulma is a great framework if you want to make a really, really quick website prototype but lacks flexibility in many ways.
I'm convinced that Tailwind is capable of becoming the new Bootstrap in terms of adoption.

Task #211 already done on 90% and it will be released in 0.9.7.
Branch: 211_moving_admin_panel_to_tailwind_css_ will be merged into dev and closed.
Development for this task will be continued in the dev branch.

Done in 0.9.7.


Handle failed requests

The user should minimumly be notified about failing requests

remember to stop the Waiter when failing. An error should be enough information for a user that his request has failed

Should also handle when a process is shutdown by the user


Waybar UI Too Large

Title: Waybar UI Too Large
Description:
I am experiencing an issue where the Waybar UI appears too large on my screen. Despite adjusting the font sizes and padding in the CSS configuration, the overall size of the bar and its elements remains larger than I would like.
Steps to Reproduce:
Install Waybar on my system (specify your operating system and any relevant version numbers).(1920 x 1080)
Configure Waybar with the following CSS settings (attach or link your CSS file).
Observe the size of the UI elements.

Expected Behavior:
I expected the Waybar UI elements to be smaller and more compact based on my configuration changes.
Actual Behavior:
The UI elements remain large, making it difficult to integrate the bar into my workflow comfortably.
Additional Information:
Waybar Version: (include the version you're using)
Operating System: (include your OS and version)
Display Resolution: (if relevant)
CSS Configuration: (attach your configuration file or relevant snippets)

Possible Solutions:
It would be helpful to have more granular control over the sizing of the UI elements or more options for compact mode.

Thank you for your feedback,
Some information are missing from your comment, but I guess your resolution is FHD. I didn't try the config with a FHD screen for a while since my laptop and external screens use 1440p+ resolution. I'll try to see if I can change something about it. Can you please provide screenshots and your edited css configuration you've done so far?

did you look into this @yurihikari

Didn't have much time those past weeks. Tried something quick by creating a theme for the background bar, and after changing the font-size from 18 to 14px and the workspace button margin from 8 to 4px, it looks very fine to me.
You need to also look in the hyprland config for any monitor property with scaling, and set it to 1 as FHD doesn't need any scaling. Imma push the 2 bars as themes for reference soon :

macchiato-fhd
macchiato-bar-fhd

Feel free to tune it as you like, you can safely switch between themes without worrying about loosing your past config, as long as you put it in the hypr/waybar/themes directory


add start and end date

Pull Request
Description
add configuration for start and end datetimes for PV and GSP models
Fixes #425
How Has This Been Tested?
normal unittests

[ ] No
[x] Yes

Checklist:

[x] My code follows OCF's coding style guidelines
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[x] I have checked my code and corrected any misspellings

Codecov Report

Merging #523 (89a03b3) into main (1f77cc6) will increase coverage by 0.08%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #523      +/-   ##
==========================================
+ Coverage   86.78%   86.86%   +0.08%
==========================================
  Files          37       37
  Lines        2338     2353      +15
==========================================
+ Hits         2029     2044      +15
  Misses        309      309

Impacted Files
Coverage Δ

nowcasting_dataset/config/model.py
93.42% <100.00%> (+0.72%)
:arrow_up:

...asting_dataset/data_sources/gsp/gsp_data_source.py
91.01% <100.00%> (ø)

...wcasting_dataset/data_sources/pv/pv_data_source.py
97.15% <100.00%> (ø)

Continue to review full report at Codecov.

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


Mute sound in demo then unmute sound sometimes results in no sound.

Hello,
I found this while checking out the demo. When i mute the demo and then unmute, sometimes the sound does not come back until i adjust the volume even though the volume is all the way up.
Mac Catalina 10.15.7
Google Chrome Version 89.0.4389.114 (Official Build) (x86_64)

Open demo in a fresh incognito browser session
Play demo
Skip forward
Click mute sound button
Click unmute sound button
Note that sound is no longer muted, and volume is still all the way up. But there is no sound.

I don't have a tool on my mac to show you the actual sound feedback so you can also observe the loss of sound. The issue is consistent in fresh browser session.

I already managed to replicate, thanks for your time, it is certainly a bug!
I will fixed it as soon as possible :)


fix: fix toggleswitch knob part name in fluent template.

What does the pull request do?

fix toggleswitch knob part name in fluent template to enable animation.
What is the current behavior?

knob moves without animation
What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

fix template part.
Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes

Obsoletions / Deprecations

Fixed issues

Fixes #9196

Thanks, missed one

You can test this PR using the following package version. 11.0.999-cibuild0024813-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]


Does the nixos module work with paths or only a root device?

I tried following the blog post
On my machine I get the following error when trying to switch
[root@dent:/etc/nixos]# nixos-rebuild boot --show-trace
building Nix...
building the system configuration...
error: while evaluating the attribute 'config.system.build.toplevel' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/top-level.nix:275:5:
while evaluating 'foldr' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:52:20, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/top-level.nix:139:12:
while evaluating 'fold'' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:55:15, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:59:8:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/top-level.nix:132:50, called from undefined position:
while evaluating the attribute 'assertion' at /nix/store/26s6bkfh6gvq0zg0a9lgjs6p4i66r1hx-source/nixos.nix:190:11:
while evaluating 'markedNeededForBoot' at /nix/store/26s6bkfh6gvq0zg0a9lgjs6p4i66r1hx-source/nixos.nix:168:37, called from /nix/store/26s6bkfh6gvq0zg0a9lgjs6p4i66r1hx-source/nixos.nix:190:23:
while evaluating the attribute 'fileSystems."/nix/persist".neededForBoot' at undefined position:
attribute '/nix/persist' missing, at /nix/store/26s6bkfh6gvq0zg0a9lgjs6p4i66r1hx-source/nixos.nix:168:42

my machine is setup that  /nix is filesystem and /nix/persist is a folder inside of it.
This config from the blog post is working with the home-manager module but not with the nixos one.
Is there a way to make this work without making my persist dir the root dir of a filesystem?

It looks like your issue is that you have
{
  fileSystems."/nix/persist".neededForBoot = true;
}

in your config, but /nix/persist isn't a file system. Just removing this line should make it work. /nix should already be marked neededForBoot, so you shouldn't have to care about that :)

I don't have that set in my config, and if i had tried it would have failed as its not valid without a device.
building Nix...
building the system configuration...
error: while evaluating the attribute 'config.system.build.toplevel' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/top-level.nix:280:5:
while evaluating 'foldr' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:52:20, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/top-level.nix:130:12:
while evaluating 'fold'' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:55:15, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:59:8:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/top-level.nix:123:50, called from undefined position:
while evaluating the attribute 'assertion' at /nix/store/26s6bkfh6gvq0zg0a9lgjs6p4i66r1hx-source/nixos.nix:190:11:
while evaluating 'markedNeededForBoot' at /nix/store/26s6bkfh6gvq0zg0a9lgjs6p4i66r1hx-source/nixos.nix:168:37, called from /nix/store/26s6bkfh6gvq0zg0a9lgjs6p4i66r1hx-source/nixos.nix:190:23:
while evaluating the attribute 'fileSystems."/nix/persist".neededForBoot' at undefined position:
attribute '/nix/persist' missing, at /nix/store/26s6bkfh6gvq0zg0a9lgjs6p4i66r1hx-source/nixos.nix:168:42

and the included configuration.nix

Oh, whoops, it's actually because of an assertion we're making. That should be fixed.

I've opened #13 which should fix this. Please try it out :)

tried it out, fixes the problem. thank you.


canDeactivate Hook Triggered Twice if the Destination Contains Unencoded Characters

I'm submitting a bug report

Library Version:
1.6.3

Please tell us about your environment:

Operating System:
macOS 10.14.2

Node Version:
8.11.1

NPM Version:
6.4.1

Browser:
Electron/Chromium

Language:
TypeScript 2.9.2

Current behavior:
The canDeactivate() hook is called twice whenever the destination route's fragment contains an unescaped character such as s space or letters like 'ä'.
If the hook is called the first time, the fragment of the passed NavigationInstruction is the unescaped string, which contains the raw special characters mentioned above.
After returning from canDeactivate(), the hook is called again.
This time, the fragment contains the encoded route.
Note: This basically always happens when using a space character in the destination url but only happens sometimes, when the unencoded character is another one, such as 'ä'. This makes the behavior of the canDeactivate() hook kinda random.
I know that there was already a fix for this in https://github.com/aurelia/router/pull/616 ,but it seems that there are still problems when using unencoded special characters in the destination uri.
Expected/desired behavior:

Only call the canDeactivate() hook once, regardless of the route's fragment.

This can and should be fixed from history-browser module. The target is here https://github.com/aurelia/history-browser/blob/4cf18cf4bef2461915b94d0b4e9babd975b77cf3/src/browser-history.ts#L274
Basically change from
return '/' + fragment.replace(routeStripper, '');

to
return decodeURIComponent('/' + fragment.replace(routeStripper, ''));

I couldn't reproduce this issue. Is there a repro?


Use reference_form flag to sent chaser email with reference form link

Context
We currently still send them a link to the Google form.
Changes proposed in this pull request
Also calculate referee token inside reference_request_email which fixes the preview emails, and add some test coverage.
Guidance to review
First commit is just refactoring for reference_request_email.
Ignore whitespace changes.
Link to Trello card
https://trello.com/c/WSSNWFwl/736-change-google-form-url-in-referee-chaser-email
Things to check

[x] This code doesn't rely on migrations in the same Pull Request
[x] API release notes have been updated if necessary
[x] New environment variables have been added to the Azure config

Code all looks good. Just one (probably dumb) question.
When we send a chaser email does it invalidate the link in the original email? (because it updates the token). If so I guess that's fine but what about if we generate a preview message - does that also invalidate the last sent token?

I guess it has to, or we'd need to store the unhashed token somewhere (which we won't)?

@stevehook

If so I guess that's fine but what about if we generate a preview message

That's only done locally I believe; yes, it will invalidate, but I think that's of limited impact if it happens locally, right?


Update ms.date

My PR was accepted on 3/18, but I had forgot to set the ms.date at that time.

Hi @Drewm3, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;


picture.backlinks aren't processed correctly?

Not sure if the issue with the plugin or gitbook...
I have a figures.md file with the following code:
{% for fig in book.figures %}
   * {{ fig.key }} [{{ fig.list_caption }}]({{ fig.backlink }})
{% endfor %}

And I get the following warning in the console:
warn: page contents/figures.md contains an hyperlink to resource outside spine 'contents/related-work.md#fig5.1'

It seems like the .md just needs to be a .html, but Gitbook should handle that, right?

Hi,
Thanks for the heads up. It's probably a bug in the plugin. I'll see, what I can do with it. The current Gitbook 3.0-pre API is little bit wild right now :-)

"It seems like the .md just needs to be a .html, but Gitbook should handle that, right?"
I can confirm that. Instead of  changing the plugin code, one could do on the markdown page:
{% for fig in book.figures %}
   * {{ fig.key }} [{{ fig.list_caption }}]({{ fig.backlink.replace('.md', '.html') }})
{% endfor %}

Hi
@markomanninen: thank you, this is a nice workaround. To make it easier for users, I implemented in directly in source code of the plugin (see this line). The second replace has to take care of README.md -> index.html.
Everyone: could you please check, if this works for you in the latest release 0.4.1?

Closing due to inactivity. Feel free to reopen, if it's still an issue.
Thanks!


Possible run with k gretter than 63

Hello,
I would want to run ska2 with k gretter than 63, for example k-mer=81 with in the middle SNP.
Is it possible to ugrade the ska2 with upgraded k?
I try k-mer=81 with ska1 but failed.
If no could you please advise other tools where k-mer value it up to 81.
Thank you.
KB.

Max k=63 as that's the largest we can fit in u128, which is the longest base type in rust. It is possible to add longer precision but this would be a fair amount of work for us.
Can I ask exactly why you want to use a longer k-mer length? Typically you will get more recall with lower k, and we'd recommend 17 or 31.

I actually think that SKA1 may work with any k-mer length so you could try that. Would still be interested to know why you want/need this

Thank you Johnlees.
I would like to have a possibility to work with gretter k (like k-mer=81), because at the end I can find the specific SNP for each node after build the tree. That will help to design primers and amplify the k-mer where is selected SNP.

Ok interesting, thanks for sharing this.
Unfortunately we don't have the capacity to add this at the moment, but I'll leave this issue open – if lots of people want this feature we could consider adding it in future.
For now, I'd suggesting using SKA1: https://github.com/simonrharris/SKA

Thank you Johnlees.
BK.


Suggest a new design

There is only minimal styling on the application. We welcome recommendations on ways to improve it.
The live site is at NPVerify.codefordayton.org. We will happily accept designs that flesh out the look and feel of the site.
To submit a design:
For non-code solutions:

[ ] Create a design folder in your pull request that contains design artifacts. These design artifacts could include screenshots, Adobe XD files, or files from whatever design tool you prefer.

For code solutions:

[ ] Update the templates to use appropriate HTML and CSS. Be aware that there is an additional issue (#2) to switch from Bootstrap to Tailwind.

We do not have a solid vision for what the site should look like, but we will be accepting of reasonable suggestions.
Here are some sites in similar niches or areas:

Code For Dayton
Dayton Serves
Volunteer Match

Feel free to ask questions on the issue!

Hi, @DavidEBest I would love to work on this, please assign it to me.

@maebasmrt Absolutely! Please let me know if you you need additional information about this.

Howdy, David
Just to update you, I am currently working on the styleguide for the project

Sounds great! Thanks!


readXGroupInfo support entries-read and lag

fix: readXGroupInfo support entries-read and lag

fix: readXGroupInfo support entries-read and lag


feat(frontend): Where clause on impl

Description
Problem*
Resolves #4508
Summary*
This enables the simple functionality of being able to declare a where clause directly on a struct implementation such as below:
impl<T> MyStruct<T> where T: MyEq {
    fn my_eq(self, other: Self) -> bool {
        (self.a == other.a) & self.b.my_eq(other.b)
    }
}

The code above is essentially syntactic sugar where we now every method in the struct impl a where clause. As the logic for resolving trait constraints already exists this PR really just updates the parser to accept where clauses and during definition collection attaches them to each method in an impl.
Additional Context
Documentation*
Check one:

[ ] No documentation needed.
[X] Documentation included in this PR.
[ ] [For Experimental Features] Documentation to be submitted in a separate PR.

PR Checklist*

[X] I have tested the changes locally.
[X] I have formatted the changes with Prettier and/or cargo fmt on default settings.

Converting back to draft because the formatter needs updating

Converting back to draft because the formatter needs updating

The formatter was deleting the where clause on impls. I did a quick hack to get things working. I could make it more robust but I feel it can also be done in a follow-up to improve the robustness of formatting impls in general.


Opensearch Integration With Grafana

Is your feature request related to a problem? Please describe
this integration would open up many possibilities for visualization
Describe the solution you'd like
I will visualize data from Opensearch and would like to be able to use grafana
Describe alternatives you've considered
Elastic has integration with Grafana via Lucene query
Additional context
No response

The Grafana plugin for ElasticSearch works for OpenSearch today, we could fork this and have two data source types, but it's not essential today. There doesn't seem to be a blocker here.

I think we need to document this integration since it's a common one. I'll move this to documentation-website.


[Joy] Rename color prop to palette

One of #32141

[x] I have followed (at least) the PR section of the contributing guide.

Closing this due to https://github.com/mui/material-ui/issues/32141#issuecomment-1105176854 sounds like a better option.


Change Token Handling

When you log in to Boardwalk, dcc-dashboard stores your Google token in a Postgres database, which it can retrieve based on your Flask cookie. The Postgres database is run through docker-compose. If we ever scale up to more than one instance of dcc-dashboard, which we should, this won't work out of the box, because one Postgres database might have the token and another may not.
Possible solutions:

Sticky sessions (not wild about this one)
Postgres data is replicated between the different instances (not wild about this one either).
There is one Postgres instance that all dcc-dashboard instances talk to
dcc-dashboard does not store the tokens at all, and instead returns the tokens (access and refresh) to the web client, which stores them in a cookie or local storage.

Somewhat relates to DASH-11.
┆Issue is synchronized with this JIRA Story
┆Project Name: CGP-Dashboard
┆Issue Number: DASH-14

➤ Charles Overbeck commented:
This has been addressed;  dashboard contains no state and DB is not used.