Getting value of terminal colors

Most terminal emulators allow setting colors. There are usually following colors:

Primary: background, foreground.
Normal: black, blue, cyan, green, magenta, red, white, yellow.
Bright: black, blue, cyan, green, magenta, red, white, yellow.

Tcell offers various functions and constants for getting colors. However, it seems like non of them allows for retrieving colors set for the terminal.  Am I correct? If so, what is the problem with getting the terminal colors within the tcell?

Ok, I get it. This colors simple have different names. For background and foreground colors simply use ColorDefault. For  others use:
	ColorBlack = ColorValid + iota
	ColorMaroon
	ColorGreen
	ColorOlive
	ColorNavy
	ColorPurple
	ColorTeal
	ColorSilver
	ColorGray
	ColorRed
	ColorLime
	ColorYellow
	ColorBlue
	ColorFuchsia
	ColorAqua
	ColorWhite

The naming is different though. The first 8 colors are normal color names. The remaining 8 colors are bright color names.


Magic 8 Ball Added

Description 📜
It gives you a solid foundation for how to use Math.random to produce randomized results.
You can use this project to impress your friends and make small life decisions.
Fixes #464

Type of change 📝
Please delete options that are not relevant.And in order to tick the check box just but x inside them for example [x] like this

[x] Add a new project
[ ] Modified or enhanced the existing projects
[ ] Improve the readme of any project

Domain of Contribution 📊
Please delete options that are not relevant.And in order to tick the check box just but x inside them for example [x] like this

[ ] Project using only HTML & CSS
[x] Project using HTML, CSS & JS
[ ] Project using ReactJs

Checklist ✅
Please delete options that are not relevant.And in order to tick the check box just but x inside them for example [x] like this

[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GSSoC'22 contributor

Screenshots / Gif (Optional) 📸

Kindly resolve the conflicts

Kindly resolve the conflicts

Done the same.


Create instance of NullHandler, instead of class reference

Fix for #401

Codecov Report

Merging #402 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #402   +/-   ##
=======================================
  Coverage   82.45%   82.45%
=======================================
  Files          23       23
  Lines        3265     3265
  Branches      764      764
=======================================
  Hits         2692     2692
  Misses        432      432
  Partials      141      141

Impacted Files
Coverage Δ

pyxform/xform2json.py
79.66% <100%> (ø)
:arrow_up:

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 a619d24...0265402. Read the comment docs.


security_configuration issue

Hi, When running the updateDomain utility we are failing with te following error:
####<Mar 14, 2019 3:09:39 PM>   <_create_mbean>
####<Mar 14, 2019 3:09:39 PM>
It seems the following should be done in  security_provider_creator.py
In create_security_configuration method to pass “config_location” instead of “location”:
if len(security_configuration_nodes) > 0:
#self._create_mbean(SECURITY_CONFIGURATION, security_configuration_nodes, location, log_created=True)
self._create_mbean(SECURITY_CONFIGURATION, security_configuration_nodes, config_location, log_created=True)
print 'security_configuration_nodes>0'
attached our model file discovered from working WL Domain
Domain.zip
Thanks!!

indeed we have DefaultRealm as part of SecurityConfiguration.
SecurityConfiguration:
NodeManagerPasswordEncrypted: '@@PROP:SecurityConfiguration.NodeManagerPasswordEncrypted@@'
NodeManagerUsername: '@@PROP:SecurityConfiguration.NodeManagerUsername@@'
CredentialEncrypted: '@@PROP:SecurityConfiguration.CredentialEncrypted@@'
DefaultRealm: wl_default_realm


Add an initial version of App Check integration test

Description

Provide details of the change, and generalize the change in the PR title above.

Add an initial version of an integration test for App Check. It currently doesn't test much beyond creation of the providers.

Testing

Describe how you've tested these changes. Link any manually triggered Integration tests or CPP binary SDK Packaging Github Action workflows, if applicable.

Building and running the Android and Desktop versions locally

Type of Change
Place an x the applicable box:

[ ] Bug fix. Add the issue # below if applicable.
[x] New feature. A non-breaking change which adds functionality.
[ ] Other, such as a build process or documentation change.

Notes

Bug fixes and feature changes require an update to the Release Notes section of release_build_files/readme.md.
Read the contribution guidelines CONTRIBUTING.md.
Changes to the public API require an internal API review. If you'd like to help us make Firebase APIs better, please propose your change in a feature request so that we can discuss it together.

To clarify, once this is committed will app check integration test be run as part of automated GHA integration test workflows? Will it run for all platforms?
If yes, can you link to a passing GHA workflow run, and if no, can you mention this in the PR description

This generally looks good, I just want to be sure that this won't break existing GHA workflows.

Note that the lint warning is because this adds encrypted files, which obviously aren't lint compatible.


SpeakText

Hi, thanks for great project first. I've a silly question. I just want a lipsync (actually just need a speaking animation no need sync for now) tried                 head.speakText("Hello how are you today");  but no luck.
Also tried like that
                var vv = new LipsyncEn();
                var vis = vv.wordsToVisemes('Hello, how are you today?');
                console.log(vis);

                for (let j = 0; j < vis.visemes.length; j++) {
                    console.log(vis.times[j]);
                    head.setFixedValue("viseme_" + vis.visemes[j], vis.durations[j]);
                };

I am not JS dev, is there any solution? Thanks

Open your Chrome console by hitting F12 and try again -- please paste the error into a reply here, if any. Cheers!

Hi again, there is no error at all... maybe speakText method not working like that?
                console.log(head.getMoodNames());
                console.log(head.getMorphTargetNames());

                head.speakText("Hello how are you today");
                head.startSpeaking();

If you want the avatar to speak and lip-sync some text, simply calling the speakText method should work. There is no need to use the lip-sync module directly or call other methods.
Have you tried the minimal code example? - If you haven't, download the ./examples/minimal.html, add your own Google TTS API key, and test.

@met4citizen thanks for reply. I think i should explain more because i am not using Google TTS, I have my own backend which is work with OpenAI PHP  and using that for chat, TTS and STT APIs.  And using HowlerJS for audio...
So  I create TalkingHead like that
  head = new TalkingHead( nodeAvatar, {
    ttsEndpoint: "no.json",
    ttsApikey: "", // <- Change this
    cameraView: "upper"
  });

and my no.json like this,
{     "words": "HELLO, HOW ARE YOU TODAY?",     "visemes": [         "I",         "E",         "nn",         "O",         "I",         "aa",         "RR",         "I",         "U",         "DD",         "aa",         "DD",         "E"     ],     "times": [         0,         0.92,         1.82,         2.7,         7.66,         8.58,         11.194999999999999,         13.075,         13.995,         15.944999999999999,         16.994999999999997,         17.944999999999997,         18.994999999999997     ],     "durations": [         0.92,         0.9,         0.88,         0.96,         0.92,         1.6149999999999998,         0.88,         0.92,         0.95,         1.05,         0.95,         1.05,         0.9     ],     "i": 25 }
So for my project i just need startSpeak (random words no need lip sync) with Audio onStart and stopSpeak w audio onEnded.
BTW -- tested mp3.html too its works perfect and i copied response json and paste into no.json but still no luck.
Maybe I'm asking stupid question but still learning and trying to put the pieces together -)

Thanks, now I understand a bit more what you are trying to do. Since speakText method always uses Google TTS, the best starting point here is the mp3.html code example. It uses speakAudio method and requires no TTS.
Here is a simple example that replaces the "load" button click event handler with a "manual" call to speakAudio. Instead of silence you can, of course, use some actual audio content. Times and durations are specified in milliseconds:
      // Load button clicked
      const nodeLoad = document.getElementById('load');
      nodeLoad.addEventListener('click', function () {
        // Create an empty audio buffer of length 1 seconds
        const audioCtx = new AudioContext();
        const audiobuffer = audioCtx.createBuffer(2, 22050, 22050);

        // Speak audio
        head.speakAudio({
          audio: audiobuffer,
          words: ["HELLO,","HOW","ARE","YOU","TODAY?"],
          wtimes: [20,500,520,640,740],
          wdurations: [320,20,110,100,240],
          markers: [],
          mtimes: []
        });
      });

I hope this helps. Feel free to ask further questions, if any.

@met4citizen  ♥  Thanks for help, now i had progress and wanna share here. Just wonder why wordsToVisemes method response 22 times & durations value? Must be 7 for  wordsToVisemes('Hello, how are you today my darling?'); and values are much smaller. Can I use any other method instead of wordsToVisemes?
                const audioCtx = new AudioContext();
                const audiobuffer = audioCtx.createBuffer(2, 22050, 22050);

                var vv = new LipsyncEn();
                var vis = vv.wordsToVisemes('Hello, how are you today my darling?');

                var wo = vis.words.split(" ");
                var wt = vis.times.map(i => i * 400);
                var wd = vis.durations.map(i => i * 800);

                head.speakAudio({
                    audio: audiobuffer,
                    words: wo,
                    wtimes: wt,
                    wdurations: wd,
                    markers: [],
                    mtimes: []
                });

Thanks again...

Hello i am using audio (tts) also audio record (stt) too. Maybe i cant figure out how to do with my limited frontend knowledge... Now its works as i want for now. Fake speak starts w audio play  w setInterval and clearInterval when onend...
Thanks everyone again...
https://github.com/met4citizen/TalkingHead/assets/634890/b0d60e8e-254e-43d2-bb0c-2332ea6f1545

Visually, that looks great - I would love to visit that place!
The lip movement is a bit extreme and the timing isn't right, but that can be fixed. - Maybe you can find some local JavaScript expert to help?
I will close this issue for now because we have drifted away from the original title/topic, but feel free to reopen or create a new issue if needed. Best of luck!


Reached time out

DB::Exception: 1008:[E1008]Reached timeout=90000ms @<IP_ADDRESS>:8124: While executing Remote SQLSTATE: HY000.

DB::Exception: 1008:[E1008]Reached timeout=90000ms @<IP_ADDRESS>:8124: While executing Remote SQLSTATE: HY000.

Hi could you describe how to reproduce this issue?

no response. close issue


[WebToolsE2E][Aspire] Using CMD to create Aspire Starter App, restored failed with errors: "error NU1202: Package Microsoft.Extensions.ServiceDiscovery 9.0.0-preview.1.24113.3 is not compatible with net8.0 (.NETCoreApp,Versio n=v8.0)"

INSTALL STEPS

Clean machine: Win11 x64 23h2 ENU
Install VS 17.10 Preview 7 from PR 548020 [ Includes Aspire 8.0.0-preview.7.24251.11, sdk 8.0.300-preview.24203.14 ]
Apply NuGet dotnet-tools Feeds

REPRO STEPS

Open CMD, creating an Aspire Starter App using following commands:
dotnet new aspire-starter -o aspirestartNew

ACTUAL:
Failed to restored with errors.

Note:
C:\Users\v-alatoza\aspirestartNew\aspirestartNew.ServiceDefaults\aspirestartNew.ServiceDefaults.csproj : error NU1202:
Package Microsoft.Extensions.ServiceDiscovery 9.0.0-preview.1.24113.3 is not compatible with net8.0 (.NETCoreApp,Versio
n=v8.0). Package Microsoft.Extensions.ServiceDiscovery 9.0.0-preview.1.24113.3 supports: net9.0 (.NETCoreApp,Version=v9
.0) [C:\Users\v-alatoza\aspirestartNew\aspirestartNew.sln]
C:\Users\v-alatoza\aspirestartNew\aspirestartNew.ApiService\aspirestartNew.ApiService.csproj : error NU1202: Package Mi
crosoft.Extensions.ServiceDiscovery 9.0.0-preview.1.24113.3 is not compatible with net8.0 (.NETCoreApp,Version=v8.0). P
ackage Microsoft.Extensions.ServiceDiscovery 9.0.0-preview.1.24113.3 supports: net9.0 (.NETCoreApp,Version=v9.0) [C:\Us
ers\v-alatoza\aspirestartNew\aspirestartNew.sln]
EXPECTED
Restore successfully.

It works on 17.10 Preview 6(Includes Aspire 8.0.0-preview.6.24214.1)

Verified that this issue is not reproduced on VS 17.10 Preview 7 FB [include 8.0.0-preview.7.24251.11]


Can select/edit multiple lines

Issue Type: Feature Request
Hello. The popular 'hold the Alt key and drag your mouse down/up a document' to select multiple lines (and possibly edit them at once) doesn't work. The same behavior works in VS as well as Notepad++, etc. It'd be great to have this here as well. Thanks.
VS Code version: Code 1.51.1 (e5a624b788d92b8d34d1392e4c4d9789406efe8f, 2020-11-10T23:34:32.027Z)
OS version: Windows_NT x64 10.0.17134
Remote OS version: Linux x64 4.4.0-17134-Microsoft

https://code.visualstudio.com/docs/editor/codebasics#_column-box-selection
Is this what you mean?

@Nabakamal  You can configure "editor.multiCursorModifier": "ctrlCmd" and then hold the Alt key.

Thanks, both. Yes, it's just a little different than what/how other editors let you do this, but, that's fine. Appreciate the prompt response.


Why Y2 Axis starts adding padding always ?

Hi,
I am using latest c3.js for rendering stacked bar dual axis chart.
I have used following property to show manipulated y1 and y2 axis tick values

y: {
show: true,
tick: {
values: yAxisGridLinesArray.length > 0 ? yAxisGridLinesArray : undefined
}
},
y2: {
show: isDualAxisValue ? true : false,
min: minY2AxisValue ? Number(minY2AxisValue) : undefined,
max: maxY2AxisValue ? Number(maxY2AxisValue) : undefined,
tick: {
values: y2AxisGridLinesArray.length > 0 ? y2AxisGridLinesArray : undefined
}
}

As per the screenshot, Black line is showing start value for Y1 axis while Red line is showing start value for Y2 axis.
e.g. 0 on Y2 axis is parallel to the 55 on Y1 axis. 0 value on y2 axis should always start as same as y1 axis but it's not.
Is it possible to have the option to start Y2 axis from the bottom ?
Can you please help whether we could modify c3.js to achieve as desired ?
Any help would be appreciated.
Cheers !

You can try to specify y2 min at 5, so on scale you will see 0
axis: {
        y2: {
            min:5,
           ...
}

I tried following code and its working.
y: {
show: true,
padding: {top: 0, bottom: 0}
},
y2: {
show: isDualAxisValue ? true : false,
min: 0,
padding: {top: 0, bottom: 0}
}


Add accept-dialog enter-key functionality to the Connect Dialog's Method textfield.

Fixes #26362

Thanks!


Integration Test - Release - 2022/01/11 06:41:27

Auto create for integration test. IssueCommandFlow

#pri1


[Proposal] Remove lru_caching from HookedTransformer weight methods

Proposal
Remove @lru_cache decorator from HookedTransformer
Motivation
Caching this call has irritating effects
#%%

import transformer_lens.HookedTransformer as HT

#%%

gpt2 = HT.from_pretrained("gpt2").cuda()

#%%

print(gpt2.W_K.shape) # do an initial call of W_K

#%%

gpt2.to("cpu")

#%%

print(gpt2.W_K.device) # cuda!

I don't think the upsides of caching (for low mem usage) outweigh the downsides, as it doesn't appear that repeated calls to W_K are made anywhere in the repo. I'll implement the ~3 line PR making these changes if someone thinks this is a good idea. If you think this is a bad idea, please say too!

My main concern here would be that it's not performant to repeatedly stack the weights rather than caching. On the other hand, it's plausible this is trivial, and not worth the pain. Anyone tried measuring it on a large-ish model?

model = transformer_lens.HookedTransformer.from_pretrained("pythia-2.8B")
t0 = time.time()
for layer in range(model.cfg.n_layers):
    for head in range(model.cfg.n_layers):
        w_k = model.W_K[layer, head]
        w_k.norm() # some random calculation
print(time.time() - t0)

takes 0.03 seconds on main and 1.28 seconds with this change.
I think the change is still worth it because if someone wants frequent W_K access they can just call declare my_W_K = model.W_K to get around this slight slowness

Cool, so that's about 1ms per stack on a 3B model. Yeah, this seems
trivial, I'd be happy for you to remove the caching lines.
On Fri, 8 Sept 2023 at 19:04, ArthurConmy @.***> wrote:

model = transformer_lens.HookedTransformer.from_pretrained("pythia-2.8B")t0 = time.time()for layer in range(model.cfg.n_layers):
for head in range(model.cfg.n_layers):
w_k = model.W_K[layer, head]
w_k.norm() # some random calculationprint(time.time() - t0)
takes 0.03 seconds on main and 1.28 seconds with this change.
I think the change is still worth it because if someone wants frequent W_K
access they can just call declare my_W_K = model.W_K to get around this
slight slowness
—
Reply to this email directly, view it on GitHub
https://github.com/neelnanda-io/TransformerLens/issues/363#issuecomment-1712044680,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASRPNKI6MAFHVJEZF5GI323XZNM3LANCNFSM6AAAAAA24TCHJ4
.
You are receiving this because you commented.Message ID:
@.***>


Arduino Drivers (Libraries)

How possible is it to allow Arduino drivers accessible on esp-open-rtos?
Thank you.
Best,
Victoe.

A library using GPIO,SPI,I2C,UART,other periferal doesn't work.


Compatibility with newer doctrine

I've tested with doctrine/event-manager 2.0.0, it works.
Also change Serializer to SerializerInterface to be compatible with symfony. I plan to make bundle later.

Thanks for the contribution! Could you just fix the spacing issue reported at the CI run?

Closed via https://github.com/edudobay/doctrine-symfony-serializer/commit/4ba7be766effdec6eb47050b276ce7a462847b28 and https://github.com/edudobay/doctrine-symfony-serializer/commit/e7afcefadddb4858f9a936347fe7be0416813c9e

Actually I've taken a step back on the SerializerInterface part. This split does not seem necessary and would add complexity to the consumers of this class. We can continue the discussion if you bring more specific reasons.


KeyAppUI access

compilation is blocked without access to KeyAppUI. github.com:p2p-org/KeyAppUI.git is private.
Can you either provide a xcframework library for KeyAppUI or provide access to the git repo directly?
cc @lisemyon

@maceip hi there. I'm asking my superior about opening source code of KeyAppUI, will get back to you soon

KeyAppUI is public right now


Git diff decorations not showing in editor or Explorer

Type: Bug
Hi, I recently noticed that my editor and Explorer no longer show any Git decorations (i.e. the blue and green lines in the editor, "U" and "M" in the Explorer), even though Source Control detects changes and will show the diff.
I've tried uninstalling and reinstalling, as well as reinstalling a previous version of VS Code, to no avail.
Interestingly, I've noticed that the colors don't show when I open my file through my workspace in VS Code...

...but they do when I open the same file directly from Windows Explorer by dragging and dropping it into the VS Code editor section:

Can someone help me please?
 Thanks!

Hi @lszomoru, thanks for responding so quickly. Yes, I get the same issue with the latest VS Code Insiders release.
I hadn't included a screenshot of the Source Control / Explorer issue in my initial post so here it is - Source Control shows the files that have diffs, but the green/yellow highlights in the Explorer don't appear:

Thinking back, I noticed that this issue first started after my VS Code auto-updated a few releases back and I received this prompt for the first time:

I had clicked either "Yes" or "Always" and that's when this issue started happening.
Interestingly, when I look this setting up, it's set to "prompt," but I don't receive a prompt each time I open my workspace. Maybe something is wrong with how this setting functions?

Hi @lszomoru, I unintentionally closed this, but reopened it as it's still an issue. Do you have any updates?

@vncnth, sorry for not getting back to you on this. Assuming that you are still able to reproduce this issue with the latest VS Code release could you please implement the following steps:

Close all the tabs that you have opened in VS Code
Invoke the "Git: Show Git Output" command from the command palette.
Click on the "Clear Output" action in the toolbar of the output window
Open the file that has changes from the Source Control window.
Drag the file from Windows explorer
Share the contents of the git output window

Hi @lszomoru, thanks for following up. Oddly, I'm not able to open the file from my workspace and then separately by dragging and dropping from Windows Explorer anymore. When the file is already open in my Editor, dragging and dropping from Windows Explorer just takes me to the file that's already open in the Editor. But here's the log file anyway when I follow your steps. I replaced parts of my folder paths with "...":
Log.txt
Instead, what I'm noticing is that I don't see the highlights when I'm in my office and on my work network, while I do see the highlights when I'm working remotely and logged into my work's VPN.

Thanks @Augustindou, but installing 1.91.1, 1.92.0 and 1.92.1 didn't work for me. @lszomoru?

Given that you have identified the two scenarios in which things work as expected and not work as expected I would like to dig in:

Can you check the following settings in both cases:

scm.diffDecorationsGutterVisibility
scm.diffDecorations
scm.diffDecorationsGutterWidth

I would also like to ask you to come up with the minimal steps to reproduce the issue (ex: open a file), and collect the git log output for the two scenarios. It would be very important not to alter the path of files as I am suspecting that this is related to the workspace/file path.

Hi @lszomoru, here are my settings for those three items:

As for the git log, is there a way I can share it with you privately? I don't want to share my company's filepaths publicly.

@vncnth, could you please download and try the latest VS Code Insiders 1.95?
I have made some changes to the repository discovery for folders/workspaces that use a UNC path. Thanks!

Hello @lszomoru,
Sorry for the delay in my response, I've been quite busy during the past 2 weeks, here are some informations on my side

Seems like the problem is not fully fixed in 1.92.1, as I sometimes have to restart VSCode to make them appear, and I sometimes just give up :/
Just spent some time changing versions, and it seems like

1.94.0 works
tried 1.92.2 again and it seems to work (this time, didn't work before)
1.93.0 doesn't work

Cause doesn't seem to be the project side, as I created a minimal example with 1 file (line 1 is committed, lines 2 & 3 are not)

Here is what I believe is the git log after opening vscode (Bottom panel > Output > Git) for the dummy project I created2024-10-04 11:39:15.163 [info] [main] Log level: Info
2024-10-04 11:39:15.163 [info] [main] Validating found git in: "C:\Program Files\Git\cmd\git.exe"
2024-10-04 11:39:15.255 [info] [main] Using git "2.39.0.windows.1" from "C:\Program Files\Git\cmd\git.exe"
2024-10-04 11:39:15.255 [info] [Model][doInitialScan] Initial repository scan started
2024-10-04 11:39:15.983 [info] > git rev-parse --show-toplevel [183ms]
2024-10-04 11:39:16.097 [info] > git rev-parse --git-dir --git-common-dir [97ms]
2024-10-04 11:39:16.102 [info] [Model][openRepository] Opened repository: c:\Users\Augustind'Oultremont\Documents\git-projects\git-diff-not-showing
2024-10-04 11:39:16.105 [info] [Model][doInitialScan] Initial repository scan completed - repositories (1), closed repositories (0), parent repositories (0), unsafe repositories (0)
2024-10-04 11:39:16.125 [info] [Git][getRemotes] No remotes found in the git config file
2024-10-04 11:39:16.198 [info] > git config --get commit.template [82ms]
2024-10-04 11:39:16.212 [info] > git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) --ignore-case refs/heads/master refs/remotes/master [88ms]
2024-10-04 11:39:16.366 [info] > git status -z -uall [148ms]
2024-10-04 11:39:16.487 [info] > git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) --ignore-case refs/heads/master refs/remotes/master [107ms]
2024-10-04 11:39:16.592 [info] > git config --local branch.master.vscode-merge-base [98ms]
2024-10-04 11:39:16.592 [warning] [Git][config] git config failed: Failed to execute git
2024-10-04 11:39:16.690 [info] > git reflog master --grep-reflog=branch: Created from *. [91ms]
2024-10-04 11:39:16.748 [info] > git check-ignore -v -z --stdin [104ms]
2024-10-04 11:39:16.813 [info] > git symbolic-ref --short refs/remotes/origin/HEAD [115ms]
2024-10-04 11:39:16.813 [info] fatal: ref refs/remotes/origin/HEAD is not a symbolic ref
2024-10-04 11:39:16.840 [info] > git ls-files --stage -- C:\Users\Augustind'Oultremont\Documents\git-projects\git-diff-not-showing\modified-file.txt [120ms]
2024-10-04 11:39:16.848 [info] > git show --textconv :modified-file.txt [136ms]
2024-10-04 11:39:16.930 [info] > git cat-file -s 70c379b63ffa0795fdbfbc128e5a2818397b7ef8 [83ms]

The problem seems to come from this line (I guess ?), I get the same one every time I edit my file2024-10-04 11:45:46.756 [warning] [Git][config] git config failed: Failed to execute git

For the settings, I didn't edit the default ones, here's a screenshot from my settings page

Hope this helps & thanks for your work !

@Augustindou, thanks for the information. Could you also check VS Code Insiders 1.95? Thank you!

@lszomoru I updated my previous comment to add the git log for 1.94.0 (not sure you saw that).
Here's the log for 1.95.0 (insiders) installed with winget install --id=Microsoft.VisualStudioCode.Insiders  -e
2024-10-04 12:18:44.925 [info] [main] Log level: Info
2024-10-04 12:18:44.925 [info] [main] Validating found git in: "C:\Program Files\Git\cmd\git.exe"
2024-10-04 12:18:44.994 [info] [main] Using git "2.39.0.windows.1" from "C:\Program Files\Git\cmd\git.exe"
2024-10-04 12:18:44.994 [info] [Model][doInitialScan] Initial repository scan started
2024-10-04 12:18:45.897 [info] > git rev-parse --show-toplevel [869ms]
2024-10-04 12:18:46.263 [info] > git rev-parse --git-dir --git-common-dir [114ms]
2024-10-04 12:18:46.281 [info] [Model][openRepository] Opened repository: c:\Users\Augustind'Oultremont\Documents\git-projects\git-diff-not-showing
2024-10-04 12:18:46.288 [info] [Model][doInitialScan] Initial repository scan completed - repositories (1), closed repositories (0), parent repositories (0), unsafe repositories (0)
2024-10-04 12:18:46.312 [info] [Git][getRemotes] No remotes found in the git config file
2024-10-04 12:18:46.402 [info] > git config --get commit.template [101ms]
2024-10-04 12:18:46.417 [info] > git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) --ignore-case refs/heads/master refs/remotes/master [106ms]
2024-10-04 12:18:46.520 [info] > git status -z -uall [94ms]
2024-10-04 12:18:46.529 [info] > git for-each-ref --sort -committerdate --format %(refname) %(objectname) %(*objectname) [96ms]
2024-10-04 12:18:46.627 [info] > git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) --ignore-case refs/heads/master refs/remotes/master [84ms]
2024-10-04 12:18:46.717 [info] > git config --local branch.master.vscode-merge-base [82ms]
2024-10-04 12:18:46.718 [warning] [Git][config] git config failed: Failed to execute git
2024-10-04 12:18:46.799 [info] > git reflog master --grep-reflog=branch: Created from *. [75ms]
2024-10-04 12:18:46.885 [info] > git symbolic-ref --short refs/remotes/origin/HEAD [80ms]
2024-10-04 12:18:46.886 [info] fatal: ref refs/remotes/origin/HEAD is not a symbolic ref
2024-10-04 12:18:46.886 [warning] [Repository][getDefaultBranch] Failed to get default branch details: Failed to execute git.
2024-10-04 12:18:46.932 [info] > git check-ignore -v -z --stdin [100ms]
2024-10-04 12:18:46.982 [info] > git ls-files --stage -- C:\Users\Augustind'Oultremont\Documents\git-projects\git-diff-not-showing\modified-file.txt [122ms]
2024-10-04 12:18:46.992 [info] > git show --textconv :modified-file.txt [140ms]
2024-10-04 12:18:47.090 [info] > git cat-file -s 70c379b63ffa0795fdbfbc128e5a2818397b7ef8 [100ms]

Any idea when this will get incorporated into the next VS Code update?

The next VS Code stable release is scheduled for next week.

Great, thank you so much!


Tag input

[x] Add component for tag input
[x] Include example in README components list
[x] Change component name to TagInput
[ ] Write to component (update its values from the backend)
[ ] Include documentation

When injectedTags > 1, if user deletes a tag, all tags are cleaned.
We have to fix this to delete single tag when the tags are injected automatically.
@raulrozza


Please update PyPI package

The last update was in January 2016 😞

@codefo I uploaded to PyPi. The latest version is 0.9.13. I'm going to develop this package in the near furure

@codefo I updated the lib to 0.9.14

Thanks!


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 572 ms

Resolved: ClamAV performance has improved in 272c2c4 after 8 minutes.


Significance of line 174 in train_query.py code

Hi,
I was going through the code for query finetuning and I am not able to understand one condition in the code:

Is the above highlighted line redundant and if not what is the significance (I feel we can directly update the encoder). Just wanted to make sure that I am not missing anything.

Hi @Nishant3815,
this line (v1.0.0) was written to sync the pre-trained encoder (for the retrieval) with the target encoder that is used for the query-side fine-tuning. As you mentioned, we updated the code (v1.1.0) recently to directly update the target encoder and use it for the retrieval as well: https://github.com/princeton-nlp/DensePhrases/blob/v1.1.0/train_query.py
It gives a slightly better accuracy, overall.

Thanks for the confirmation on updating the target encoder.  This makes sense, I had been following a previous version.
For your comment, "this line (v1.0.0) was written to sync the pre-trained encoder (for the retrieval) with the target encoder that is used for the query-side fine-tuning", in a scenario where we would like to keep both pretrained_encoder and target_encoder version of the code, can we keep line 175 and 176 and remove the "if" statement of 174.

Thanks, this helps.


Fix lack of fs, tls, child_process of nodejs code on browsers

When you use generated code on nodejs on browsers, lib/nodejs/lib/thrift/index.js fails because it lacks fs, tls and child_process. This fix skips index.js on browsers.

[ ] Did you create an Apache Jira ticket?  (not required for trivial changes)
[ ] If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
[ ] Did you squash your changes to a single commit?  (not required, but preferred)
[ ] Did you do your best to avoid breaking changes?  If one was needed, did you label the Jira ticket with "Breaking-Change"?
[ ] If your change does not involve any code, add  [skip ci] at the end of your pull request to free up build resources.

This looks interesting, can it move forward?

I found a problem with it. Please stop.

Thanks for stepping in @HIRANO-Satoshi ! Its highly appreciated!

@HIRANO-Satoshi any updates on this PR?

There is also the PR https://github.com/apache/thrift/pull/1927 from @alabama that makes nodejs work well in browsers and adds support for WebSocket connections and for the binary protocol. Do the two PRs overlap?

Oh, yes. #1927 should be for browsers.
I close this PR as this does not work. A browser fails when it tries to import thrift/index.js because it relies on some modules unavailable on browsers.

Thanks @HIRANO-Satoshi for the clarification!


'cluster_security_group_additional_rules' - source to be CIDR/Subnet or <IP_ADDRESS>/0

Subject: RE:[AWS CASE<PHONE_NUMBER>1] Unable to connect to the server: dial xxx.xxx.xxx.xxx tcp i/o time out
According to various deployment scenarios 443 port should be added to EKS Cluster security group
To fix the issue you can perform any of the below:

Add an inbound rule in your cluster security group (sg-xxxxx) to allow HTTPS traffic from the below two security groups which are attached to your instance:
sg-xxxx
sg-xxxx

Add an inbound rule in your cluster security group (sg-xxxxxx) to allow HTTPS traffic from the sub-net cidr of the ec2 instance (x.x.x.x/x).

Add an inbound rule in your cluster security group (sg-xxxxxx) to allow HTTPS traffic from the ec2 instance IP address (x.x.x.x)

EKS TF code does not incorporate such scenario because the source_cluster_security_group  is false or true
cluster_security_group_additional_rules = {
eks_api_kubectl_ing = {
description                = "Cluster PUBLIC API 443 ingress port for kubectl from other VPC"
protocol                   = "tcp"
from_port                  = 443
to_port                    = 443
type                       = "ingress"
source_cluster_security_group = false
}
}

I'm not sure I understand what is provided in the issue - but I'll leave this for reference which should clarify what is provided https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/docs/network_connectivity.md

yes

yes

thanks


triggered pipeline input data

HKube micro-service
Describe the bug
if triggered pipeline need to use flowInput data it uses the trigger pipeline output  and overwrite the pipeline flowInput data if exist

[ ] If pipe line include inputs it should be used.
[ ] Need to add documentation

Expected behavior
A clear and concise description of what you expected to happen.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

tested on 1.2.46

triggers pipeline input data  Test
File: pipeline_test.js
describe : 'validate flowInput exist"

Test
description

Trigger does not have flowInput
validate error when trying to execute  triggered pipeline without flowinput

Trigger get input from parent
validate the triggers pipeline can get data from parent pipeline result


Package futile.logger not indexed by R4Intellij

System: OSX 10.13.3
R Version: 3.3.3
Package: futile.logger 1.4.3
I installed futile.logger into my local R installation. library("futile.logger") works in an R session and the R Console in IDEA. But futile.logger does not appear in the R Packages list and static code analysis on package usage does not work, even after restarting IDEA or manually running "Refresh R Package Index". Output from running skeletonize_package.R below:
$ pckgName=futile.logger
$ R -f skeletonize_package.R  --args  ${pckgName} ${pckgName}.skeleton.R

R version 3.3.3 (2017-03-06) -- "Another Canoe"
Copyright (C) 2017 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin13.4.0 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> #!/usr/bin/env Rscript
>
> args = commandArgs(TRUE)
>
> if (length(args) != 2) {
+     warning("Usage: skeletonize_package.R <package_name> <output_file>")
+     quit(save = "no", status = 1, runLast = FALSE)
+ }
>
> pName = args[1]
> skeletonFile = args[2]
>
> ## test invcation:
> # pName = "base"; skeletonFile=paste0("~/Desktop/skeleton/", pName); args= c(pName, skeletonFile)
> # pName = "tools"; skeletonFile="tools.skeleton.R"
> # pName = "ggplot2"; skeletonFile=paste0("~/Desktop/skeleton/", pName)
> # pName = "xlsx"; skeletonFile=paste0("~/Desktop/skeleton/", pName)
> # pName = "dplyr"; skeletonFile=paste0("~/Desktop/skeleton/", pName)
> # pName = "graphics"; skeletonFile=paste0("~/Desktop/skeleton/", pName)
> # pName = "fields"; skeletonFile=paste0("~/Desktop/skeleton/", pName)
> # pName = "R.utils"; skeletonFile=paste0("~/Desktop/skeleton/", pName)
>
>
> searchPath = search()
>
> is_identifier = function(str) {
+  return(grepl("^([[:alpha:]]|_|\\.)([[:alpha:]]|[[:digit:]]|_|\\.)*$", str) == TRUE)
+ }
>
>
> shouldLoadLibrary = FALSE
> pckgPrefixed = paste("package", pName, sep=":")
>
> if (!pckgPrefixed %in% searchPath){
+     shouldLoadLibrary = TRUE
+ }
>
> if (shouldLoadLibrary) {
+     library(package=pName, character.only=TRUE)
+ }
>
> # functions = as.character(lsf.str(paste("package", pName, sep=":")))
> # http://stackoverflow.com/questions/9658518/list-exported-objects-from-r-package-without-attaching-it
> functions = getNamespaceExports(pName)
>
> # "filter" %in% functions
>
> # dir.create(skelBaseDirectory)
>
> print(paste("writing skeleton of ",pName, "into", skeletonFile))
[1] "writing skeleton of  futile.logger into futile.logger.skeleton.R"
>
> #' some symbols are defined as functions in base.R but our parser does not like it.
> ignoreList = c("for", "function", "if", "repeat", "while")
>
> sink(skeletonFile)
> cat(paste0("##\n## Exported symobls in package `",pName, "`\n##\n\n"))
> cat("## Exported package methods\n\n")
> sink()
>
>
> # http://stackoverflow.com/questions/26174703/get-namespace-of-function
> detect_declaring_ns = function(symbol){
+     ## we need to distinguish reexported from masked symbols here (better solution?)
+     ## essentially there are 3 classes
+     # symbol="glimpse" ## true rexports
+     # symbol="filter"  ## masking stats-package methods
+     # symbol="mutate"  ## own ns-exports
+     # symbol="pairs.default"
+
+     resolveResult = getAnywhere(symbol)
+
+     ## remove masked symbols
+     # origin = resolveResult$where
+     # origin=resolveResult$where[resolveResult$dups]
+     # just keep namespaces and take the first one
+     origin = resolveResult$where
+     origin = origin[grepl("namespace:", origin)][1]
+     # last = origin[length(origin)]
+     unlist(strsplit(origin, ":"))[2]
+ }
>
> get_text_of_object = function(tmpFile, obj, use_dput){
+     sink(tmpFile)
+     if (use_dput) {
+         dput(obj)
+     }else {
+         # there is no print for certain methods like R.utils::symbol that's we we need to wrap it with tryCatch
+         # print(obj)
+         tryCatch(print(obj), error = function(e) "")
+     }
+     sink()
+
+     ## read the result back into a character vector
+     fileObj = file(tmpFile)
+     lines = readLines(fileObj)
+     close(fileObj)
+
+     lines
+ }
>
>
>
> get_text_of = function(obj){
+     # obj = get("as.character")
+     # require(ggplot2); obj = get(".pt")
+     # require(ggplot2); obj = get("GeomBar")
+     # require(dplyr); obj = get("data_frame")
+     # require(lubridate); obj = get(".__C__Interval")
+
+     tmpFileName = tempfile(pattern = "tmp", tmpdir = tempdir(), fileext = "")
+
+     lines = get_text_of_object(tmpFileName, obj, use_dput = FALSE)
+
+     ## use it if it's a function declaration
+     if (grepl('^(function|new)', lines[1])) {
+         return(lines)
+     }
+
+     ## and fall back to print if not
+     # http://stackoverflow.com/questions/31467732/does-r-have-function-startswith-or-endswith-like-python
+
+     raw_text = get_text_of_object(tmpFileName, obj, use_dput = TRUE)
+ }
>
> # http://stackoverflow.com/questions/2261079/how-to-trim-leading-and-trailing-whitespace-in-r
> trim = function (x) gsub("^\\s+|\\s+$", "", x)
>
>
> quote_non_identifier = function(symbol){
+     if (is_identifier(symbol)) {
+         symbol
+     } else {
+         paste0("`", symbol, "`")
+     }
+ }
>
> # "nasa" %in% functions --> FALSE
> # "%>%" %in% functions --> TRUE
>
>
> for (symbol in functions) {
+     # symbol = functions[1]
+     # symbol = "GeomBar"
+     # symbol = "geom_histogram"
+     # symbol = "data_frame"
+     # symbol = "count"
+     # symbol = "abs"
+     # symbol = "filter"
+     # symbol = "glimpse"
+     # symbol = "%>%"
+     # symbol = "rat.diet"
+     # symbol = "pairs.default"
+     # symbol = "GenericSummary"
+     # print(paste("processing symbol ", symbol))
+     # symbol="args"
+
+     if (symbol %in% ignoreList)next
+
+
+     # from http://adv-r.had.co.nz/Environments.html#env-basics
+     # The parent of the global environment is the last package that you attached with library() or require().
+     obj = base::get(symbol, envir = parent.env(globalenv()))
+     # if (class(obj) != "function") {
+     #     next
+     # }
+
+
+     ## start writing the entry to the skeleton
+     sink(skeletonFile, append = T)
+
+     cat(quote_non_identifier(symbol))
+     cat(" <- ")
+
+     ## handle rexported
+     decl_ns = detect_declaring_ns(symbol)
+     if (pName != decl_ns) {
+         cat(paste0(decl_ns, "::", quote_non_identifier(symbol), " # re-exported from ", decl_ns, " package"))
+         cat("\n\n")
+         sink()
+         next
+     }
+
+     # process non-function objects
+     # TODO instead fo string we could/should write more typed placeholder structure here
+     lines = get_text_of(obj)
+
+     if (substring(lines[[1]], 0, 1) == "<") {
+         cat("\"", trim(lines[[1]]), "\"", sep = "")
+         cat("\n\n")
+         sink()
+         next
+     }
+
+
+     # errors = try(sink(skeletonFile, append=T))
+     # if (!inherits(errors, "try-error")) {
+     for (line in lines) {
+         line = gsub("<pointer: ([A-z0-9]*)>", "pointer(\"\\1\")", line)
+         # line = gsub("<S4 object ([A-z0-9]*)>", "(\"\\1\")", line)
+         line = gsub("<S4 object of class .*>", "S4_object()", line)
+
+
+         # sub = substring(line, 0, 10)
+         # if (sub == "<bytecode:"  || sub == "<environme") break
+
+         # fix ellipsis  (...) for which quotes are skipped when printing method body.
+         # Potentially this should be rather fixed in the parser
+         # Example purr::partial vs https://github.com/hadley/purrr/blob/master/R/partial.R
+         # DEBUG line='    args = list(... = quote(expr = ))'
+         line = gsub("... = ...", "...", line, fixed = T)
+         line = gsub("(... =", "(\"...\" =", line, fixed = T)
+         line = gsub(" ... =", " \"...\" =", line, fixed = T)
+         line = gsub("<environment>", " \"<environment>\"", line, fixed = T)
+
+         if (grepl("^<environment", line))break
+         if (grepl("^<bytecode", line))break
+
+         cat(line, append = TRUE)
+         cat("\n", append = TRUE)
+     }
+
+     cat("\n")
+     cat("\n")
+     # }
+
+     sink()
+ }
>
>
> ##
> ## Also export datasets from package into skelekton
> ##
>
> # http://stackoverflow.com/questions/27709936/how-to-get-the-list-of-data-sets-in-a-particular-package
>
> # dsets = as.data.frame(data(package = "ggplot2")$result)
> # dsets = as.data.frame(data(package = "VennDiagram")$result)
> if(!(pName %in% c("base", "stats", "backports"))){
+
+     dsets = as.data.frame(data(package = pName)$result)
+
+     ## this fails for packages like 'fields' that export data as symbol and data
+     # stopifnot(length(intersect(dsets$Item, functions)) == 0)
+     ## .. thus we rather just remove such duplicates here
+     dsets = subset(dsets, ! (Item %in% functions))
+
+
+     # remove columns with round brackets
+ dsets  = subset(dsets, !(0:nrow(dsets) %in% grep("(", as.character(dsets$Item), fixed=TRUE))[-1])
+
+
+ sink(skeletonFile, append=T)
+
+ cat("\n\n## Package Data\n\n")
+
+ if(nrow(dsets)>0){
+     cat(with(dsets, paste0(as.character(Item), " <- ", as.character(pName), "::", as.character(Item), "\t\t## ", as.character(Title))), sep="\n\n")
+ }else{
+     cat("# none")
+ }
+
+ sink()
+ }
>
> ## examples: /Users/brandl/Library/Caches/IntelliJIdea2016.1/plugins-sandbox/system/r_skeletons/1842261700/pryr.r:545
> ## /Users/brandl/Library/Caches/IntelliJIdea2016.1/plugins-sandbox/system/r_skeletons/1842261700/GSEABase.r:18
>
> ## write a completion tag into each file to also have a skeleton file for packages without symbols
> sink(skeletonFile, append=T)
>
>
> ##
> ## Report package info (to finally replace RPackageService)
> ##
>
> cat("\n\n\n## Package Info\n\n")
>
> ## report the title
> packageTitle = gsub("[\r\n]" , "", unlist(packageDescription(pName)["Title"]))
> ## escape double quotes
> packageTitle = gsub('"', "'", packageTitle)
> cat(paste0(".skeleton_package_title = \"", packageTitle, "\"\n\n"))
>
>
> ## report the version
> ## we do NOT use packageVersion here beause it slightly reformats the version string.
> ## E.g BH 1.62.0-1 becomes <IP_ADDRESS>
> cat(paste0(".skeleton_package_version = \"", packageDescription(pName)$Version, "\"\n\n"))
>
>
> ## report depends and import
>
> # todo fixme this requires network access which should be avoided
> # todo some package don't correctly report it, potentialy we should do before
> #      and after loading test (see com/r4intellij/packages/RPackageService.java:386)
>
> library(tools);
> chooseCRANmirror(ind = 1)
>
> ## note: it may be more elegant to use something along `devtools::session_info` or the underlying `find_deps`. However this seems to fall back as well to the network based `available.packages`
> ## See https://github.com/hadley/devtools/blob/1ce84b04568ff7846c3da754f28e7e22a23c8737/R/deps.R#L326
>
> # db=NULL is required for compatibility with R 3.2.X
> pckgDepends = unlist(lapply(package_dependencies(pName, db = available.packages(), which = "Depends"), function(x)paste(x, collapse = ",")))
> pckgImports = unlist(lapply(package_dependencies(pName, db = available.packages(), which = "Imports"), function(x)paste(x, collapse = ",")))
>
> cat(paste0(".skeleton_package_depends = \"", pckgDepends, "\"\n\n"))
> cat(paste0(".skeleton_package_imports = \"", pckgImports, "\"\n\n"))
>
>
> ## report version of the skeletonization here to allow for reskeletonization of outdated skeletons
> ## in a future version of r4intellij
>
>
> cat("\n## Internal\n\n")
>
> ## import: just change in sync with com.r4intellij.packages.RSkeletonGenerator.SKELETONIZE_VERSION
> SKELETONIZE_VERSION = 5
> cat(paste0(".skeleton_version = ", SKELETONIZE_VERSION, "\n\n"))
>
>
> ## indicate the end of the skeleton with an EOF flag so that we can check if skeletons were created correctly
> cat("\n## EOF")
>
> sink()
>

Thanks for reporting it. Are there any exceptions thrown when "refreshing the r package index"?

@holgerbrandl no exceptions thrown when refreshing the r index.

The plugin is keeping a record of plugins that failed to index. This is done prevent throwing the same error again when refreshing the index. Do you see a futile.logger.failed tag file (similar to the fpc one in the screenshot) in your setup?

Btw, i happen to have the package installed as well, and for me indexing worked out correctly. So maybe it's related to the package version? Mine is 1.4.3.


Esp32 Deepsleep confusion

Hey,
Had a couple questions, I want to deep sleep with the esp32 for about 20minutes. How would this work with this sensor? Do I just set the mode to the 60second one and then just go to sleep and not put the sensor to sleep? And then when the esp32 Wakes up it will be able to get the data? How would I restore the settings? A detailed explanation would really help! Thank you.

Hi, it is a bad idea to power off the ccs811. So if low power is your goal, i would indeed put the ccs811 in its lowest power mode. It should be possible to sleep the esp, and let it wake up after (a bit more) than 60s, and read the ccs811. I never tried it myself. Since the ccs is in low power, but not off, it is not necessary to retire baselines.


Support for Microsoft Stream

I'm considering adding support for Microsoft Stream using the approach described here. Since MS Stream does not have a public JS SDK many of the options won't be available. As per the documentation, the way to embed a video is using an iframe that accepts certain parameters.
@CookPete, would you mind taking a quick look at the documentation and letting me know if it would make sense to add MS Stream support to the project? I'm happy to do the work if you think it's valuable.

Hi All, I've been lurking here. Are there other iframe based use cases
already supported? if so, we'd like to add TotalVU embeds as well.
Thank you!
All the best,
Michael Glenn Williams
CEO SmartBlonde Experiential Corp (SBEX)
President Smart Blonde Corp (Productions)
805.499.1994
www.totalvu.tv
On Wed, Apr 17, 2019 at 12:48 AM riosn-n<EMAIL_ADDRESS>wrote:

I'm considering adding support for Microsoft Stream using the approach described
here https://docs.microsoft.com/en-us/stream/portal-embed-video. Since
MS Stream does not have a public JS SDK many of the options won't be
available. As per the documentation, the way to embed a video is using an
iframe that accepts certain parameters.
@CookPete https://github.com/CookPete, would you mind taking a quick
look at the documentation and letting me know if it would make sense to add
MS Stream support to the project? I'm happy to do the work if you think
it's valuable.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/CookPete/react-player/issues/625, or mute the thread
https://github.com/notifications/unsubscribe-auth/AXWSsb5_vAUmaLncXZ28AxIySbQE7j5lks5vhtHhgaJpZM4c0aXW
.

Any more updates on this issue?

I'm not sure there's any value in supporting players that just require an iframe to be rendered.  None of the supported props would work if there isn't an API to hook in to. You're better off just rendering the iframe yourself in React?


doc: README: add note on installing gyp

Problem:
The instructions assume you have already installed gyp to
build/gyp.
If you run 'make' without doing so, it asks you to read the README,
which does not actually tell you about installing gyp.
Solution:
Add a one-liner git clone command to the setup instructions.

Landed in https://github.com/libuv/libuv/commit/f60713f7cf3003947159a7c44e0e7bb2eb98942b. Thanks!


Adding a horizontal line (level 0 at axis y)

Is there a way for to add color to Grid lines? something like:
grid: {
x: {
show: true, color:'red'
},
y: {
show: true, color:'blue'
}
}

Not directly, but you can set css class name to specific grid.
If you create a grid line with below option
grid: {
  x: {
    lines: [
      {value: 5, text: 'Label', class: 'color-grid'}
    ]
  }
}

then the DOM structure will be like
<g class="c3-xgrid-line color-grid">
    <line x1="453" x2="453" y1="0" y2="226" style="opacity: 1;"></line>
    <text text-anchor="middle" transform="rotate(-90)" dx="0" dy="-5" style="opacity: 1;" x="-113" y="453">Label</text>
</g>

In that circumstances, if you want to set some color on line element, set some css rule as follow.
.label-color > line {
    stroke: red;
}

Check out the reference for grid:

http://c3js.org/reference.html#grid-x-lines


make changes

Codecov Report

Merging #1432 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1432   +/-   ##
=======================================
  Coverage   88.41%   88.41%
=======================================
  Files           5        5
  Lines         164      164
=======================================
  Hits          145      145
  Misses         19       19

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 8d2a9dd...a072207. Read the comment docs.

Hey @romeomishra, I'm going to close this as there are no significant changes. Feel free to reopen if you forgot to push the changes 😃


Save news item state when going to the dashboard shop

after paying for additional budget, when the user clicks on "news & actions" again, he should be able to continue where he left off.

#748.


Jupiter Release Information Exchange Event

As Association
I want PO to have a Jupiter Release Information Exchange Event
so that the community has the change to ask questions
Hints / Details

Dr. Carina Gliese  Transfer Manager - Collaborations & Ecosystems

Acceptance Criteria

[ ] explain in a maximum of 15 minutes and 1-3 slides what has changed for 24.05, what is planned for 24.08 and what impact this will have on the standards and use cases.

Out of Scope

...

Wontfix as the meeting was canceled


Add repository information to package manifests

@Kmaschta so sorry, guess this dropped off my radar. Thanks for fixing it up and merging :-)

No worry! It was my pleasure :)


Impose date range selection in function fill_lineage_details

See https://github.com/chanzuckerberg/idseq-web/blob/27b5d2a9f64e7ffbc1e64df04dfe067b4ecf9b9a/app/models/taxon_lineage.rb#L42
The where clause also needs to specify that the taxon_lineages' started_at and ended_at need to be smaller and greater than the taxon_counts' created_at value respectively.

@cdebourcy so are there a lot of lineage records with a blank ended_at and started_at? or do all the current records have a "started_at" column?

If started_at / ended_at is blank, it means +/- infinity. In particular, if ended_at is blank, it means the entry is currently the right one for taxon_counts that are being generated today.
This the condition we need to use to determine which TaxonLineage entry to use for a taxid: https://github.com/chanzuckerberg/idseq-web/blob/master/app/models/pipeline_run.rb#L675


Update contextmenus.md

I think it should be like this because that's how it worked for me
Please describe the changes this PR makes and why it should be merged:
Status and versioning classification:

No. ContextMenuName is for commands that are also slash/mesage commands (so you can change the name for the context menu).


Update contribution-1713752638.json

I made some (breaking) changes recently :/

Thanks for updating!


Improve error message and fix ns for manager-internal-tls

Two improvements:

Manager internal secret is now created and read from the operator namespace, rather than the calico namespace.
Error messages regarding misssing PEM and  missing DNS names now include the namespace and name of the secret that is causing the error.

/merge-when-ready delete-branch

OK, I will merge the pull request when it's ready, leave the commits as is when I merge it, and delete the branch after I've merged it.

I'm sorry but I failed delete the branch after merging the pull request.


Publish the schemas as a Java API

Like OpenMHealth does, we should really publish an SDK with the schemas. This makes versioning the commons library independent of the schemas used, which is nice if we don't need to change the commons library itself. This has the added benefit that we can use travis to test if the Avro files are valid.

As OpenMHealth does, I think it makes sense to allow our most common use case, using Java, available with the schemas, using the same versions of Java classes and Avro schemas. This way we don't have to keep versions in sync, and since its all generated code, I don't think it makes sense to create a separate repo for it. Plus, it actually checks if schemas are valid and will yield valid generated code at the time that the schemas are created.

I really appreciate your idea of having a Java SDK, but one of the reasons for using AVRO is to have a useful way to serialise and deserialise complex objects on a language independent way. Some of these schemas will be used also by other projects that are not coded in JAVA like for instance the Questionnaire app or a possible native app for iOS. Furthermore we may need to create a library also for Python or for Swift, how we can support them then?
I would suggest to have the master branch as much generic as we can, and then using different branches to provide libraries, in this way we can cover multiple scenarios.
Is there any other solution to provide libraries coded in different programming languages relying on a single branch?
@afolarin what do you think?

Language independence of the Avro schemas is not at question here. They can always be used independently.

languages don't NEED this SDK, it just speeds up the development. For example, in Python or Javascript you wouldn't use an SDK, you'd just use the schema and it will dynamically create the objects. In Java you can in principle do the same (with GenericContainer), however, its far more convenient to provide the POJO classes.
We don't have any other languages to support right now. If we have another big language to support, such as swift, I think we should put that here, and again, the SDK should always match the schema.

I'm fine with letting the questionnaire out of this if they don't plan on using Java and we don't plan on supporting the schemas from a Java library. However, having this SDK for at least commons is just very very practical.
Alternatives:

creating again new repos that have to track this repo, this will bring inconsistencies.
excluding the java files from git history and just providing the build scripts so that we can build a binary to upload to bintray. This way the repo isn't directly useful to use as a submodule but at least the schemas are checked by travis and the binaries can be uploaded.

Branches are in my opinion meant for short-running alternative histories that can always be merged. We can set up an automatically tracking branch that copies schemas and creates an sdk from it, but it doesn't decrease the repo size, and it will obfuscate what the library does.

Language independence of the Avro schemas is not at question here. They can always be used independently.
Yes but adding Gradle scripts to the repository we end up with something that see quite java based. Gradle supports java, groovy and scala.
We don't have any other languages to support right now. If we have another big language to support, such as swift, I think we should put that here, and again, the SDK should always match the schema.
Correct, but this is a long project we do not know what we could need to support in 5 years time, being generic should help to be flexible.

I'm not questioning the value of the SDK, I'm questioning the generalisation of the repository structure.
Could we move all the gradle files in a separate folder and then ask Travis to run the gradle scprits from that folder? In this way the root folder will be more generic and clean.

Fair point. I've moved all Gradle files to a java-sdk folder in #18. Closing this pull request.


🚀 Feature: Entity as URL in link

🔖 Feature description
Update url to take an entity under metadata.links as well as a full URL
🎤 Context
In catalog file for say a component or group etc it should be possibe to add a link to an entity in backstage
metadata:
  links:
    - url: user:default/jimmy
      title: SPOC

✌ Possible Implementation
No response
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
No, but I'm happy to collaborate on a PR with someone else

Hi @vinnie-jog-on we see it could be convenient for sure but the user:default/jimmy appears a little magic.
What do you think about translating it as an entity relation or just fallback to the Backstage entity URL?

Hi @vinnie-jog-on we see it could be convenient for sure but the user:default/jimmy appears a little magic. What do you think about translating it as an entity relation or just fallback to the Backstage entity URL?

Hi @camilaibs
So the example i used of a SPOC is one of many I can think of for groups and components.
Would a new entity relation have to be created for all of these?
A fallback to the backstage URL sounds like it could also work, is there other examples of this or how would it work?

A fallback to the backstage URL sounds like it could also work, is there other examples of this or how would it work?

We were just referring to entering an actual URL as usual, like https://backstage.mycompany.net/catalog/user/default/jimmy.
There are some alternatives here if you don't mind NOT using the actual links functionality. You could make your own custom fields in metadata, or adding these extra properties as dedicated metadata.labels entries that do refer to entity refs. Then you can have a card or similar adaptation in your catalog page, that renders those in a helpful way when present.
See Extending the model.


Structure

What?
I created a database with PostgreSQL
Why?
To store information about animals for a veterinary clinic
How?

I created the vet_clinic database with PostgreSQL.
I added an animals table.
I added data to the animals' table.
I added queries.

GOOD DAY.  PLEASE FIND ATTACHED BELOW THE SCREENSHOTS TO THE QUERIES.

@Gambit142 Thank you for reviewing my project


flake import fails due to schema mismatch

The flake import currently seems to fail for all flakes with following error
 1: While processing flake github:NixOS/hydra

      Caused by:
          0: Failed to analyze flake github:NixOS/hydra
          1: [1]: data did not match any variant of untagged enum FlakeEntry at line 1 column 2238
          2: data did not match any variant of untagged enum FlakeEntry at line 1 column 2238

This is caused by the generated json parsed by the flak-info tool.
Apparently the output of our script has changed which was not reflected in the rust code.
https://github.com/NixOS/nixos-search/runs/8224307255

It seems like this is due the the markdown transition in nixpkgs: option descriptions may now look like {"_type":"mdDoc","text":"..."}, which does not deserialise to Option<String>.
This was not supposed to be a problem until flakes started using lib.mdDoc, but, since we index _module.args for all flakes and that was given a markdown description in https://github.com/NixOS/nixpkgs/commit/e04a09082e33d444c245e1d5859b37ace25f54a9, things break for all flakes.
So, amusingly, https://github.com/NixOS/nixos-search/pull/528 fixes this issue, although that was not intended at all.
The proper fix, of course, is to make description an Option<DocValue> and implement markdown rendering.
Also we should probably fail the CI job when no flakes are successfully imported.


ServerRequestInterface compliant Request classes

Laravel Version: 5.3.x
PHP Version: 7.0.8
Database Driver & Version: Eloquent (PDO MySQL)

Description:
I have a bunch of request classes for which I need to determine the hostname. Taking a quick glance at the docs reveals that I can typehint ServerRequestInterface and get a PSR-7 compliant object. However it'll throw a fit if I try doing just that with my Request classes.
Simply typehinting the class doesn't work as it obviously doesn't implement the correct interface. However, implementing that interfaces throws an error about some missing methods.
Am I missing something?
Steps To Reproduce:
Keyboard mash until you get something like:
class XXXFormRequest extends FormRequest implements ServerRequestInterface
{
  // blah
}

Receive error:
Class App\Http\Requests\XXX\XXXFormRequest contains 27 abstract methods and must therefore be declared abstract or implement the remaining methods (Psr\Http\Message\ServerRequestInterface::getServerParams, Psr\Http\Message\ServerRequestInterface::getCookieParams, Psr\Http\Message\ServerRequestInterface::withCookieParams, ...)

I just realized that it's actually the IoC container that turns the Request into a PSR-7 compliant object. However is there any way to "cast" it after the fact? The real issue is that I'm bucketbrigading it down to a different object and try to cast it there.
My bad if questions like these don't belong here :-)..

Please ask on the forums.


[Addition]: Kerlink Location spoofing

Hotspot b58 Addresses
11C3dmuSYGmPDYMjqVBia8vAZMYRRKsEAiiro5EHnaV73bQM8mw
Discord Handle
No response
Reason(s)

Hotspots only witnessing each other

I actually checked that miner recently, it's not spoofing. A customer contacted me about it. Also it's not earning a lot. What makes you think it's a spoof?


Create enjoy.json

CLA Assistant Lite bot: Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.

I have read the CLA Document and I hereby sign the CLA

You can retrigger this bot by commenting recheck in this Pull Request

I have read the CLA Document and I hereby sign the CLA

There is no website itself, there is a web panel from dockerhost on port 9443, as well as many different self-hosted services, with spacedrive hosting planned for the future. A domain is needed to easily move between services


Allow patch version update

gatsby-source-wordpress-experimental should have minor updates allowed rather than fixed to version 1.0.7.
Recently downloaded the starter with the latest WPGraphQL and WPGatsby plugins which were not compatible, due to an outdated version, with the supported-remote-plugin-versions.js in the gatsby-source-wordpress-experimental root directory.

Thanks for this!


Town picker on iOS is difficult to use

Not sure the best way to resolve this but it would be nice if could behave like the he date picker, with a pop-up modal that expands the control.

Is there a way to have it pop to a town that you enter in, or snap while typing? Scrolling through a long list in Android is tedious if you live in a town on the bottom of the list.

I was thinking of implementing this or something like it: https://www.npmjs.com/package/react-native-autocomplete-input  Any other ideas out there?

That looks good to me, and what I was thinking for functionality.

It isn't working this way - there is no prompt inside the box and no auto-complete. I opened a new issue because this also appears to have affected the Notes text input (or maybe it was something else).


[Bug]: [Canvas Layout] Remove padding at the top of the canvas.

Objective:

Reduce the padding at the top of the canvas to be equal to the height of the WidgetNameComponent.

@riodeuno this is the same issue you took up in the polishing session.

fixed on anvil

better than before but not as per suggestion


Automation Step Execution fails when it is creating the image

get this message when I try to test this out with terminating EC2....
Automation Step Execution fails when it is creating the image. Get Exception from CreateImage API of ec2 Service. Exception Message from CreateImage API: [Invalid value 'i-02270eb84383eb2c3' for instanceId. Instance is not in state 'running' or 'stopping' or 'stopped' (Service: AmazonEC2; Status Code: 400; Error Code: InvalidParameterValue; Request ID: feb689ef-b2c0-4464-98be-2cc49d7c8625; Proxy: null)]. Please refer to Automation Service Troubleshooting Guide for more diagnosis details.

Thanks for reaching out. Are you still running into this issue? I will review CloudTrail to check the event timeline if there is another process or API that terminates the instance before executing the automation document.


New run_command helper is leaking output

It's inheritting stdin, and friends, which it should only be doing for the sudo -v

Closed by #72


Add bootstrap

Can anyone please point me to the right direction how add bootstrap 4.0 alpha into this project?
I have added the following to the index.html page
<!-- inject:css -->
 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" integrity="sha384-A7FZj7v+d/sdmMqp/nOQwliLvUsJfDHW+k9Omg/a/EheAdgtzNs3hpfag6Ed950n" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script>
 <!-- endinject -->

However, after run the website, the references have been removed when I looked at the page source.
It would be really appreciated if someone can send me some instructions. Or links to the instructions.
Thank you very much.
William

Don't inject the css manually between the  and . Thats where the build process will inject the css files.  Just do it like this:

<!-- inject:css -->
<!-- endinject -->

Or even better, configure the APP_ASSETS  variables in project.config to include the bootstrap css there. Like so:
this.APP_ASSETS = [
...this.APP_ASSETS,
{
src: ${this.BOOTSTRAPCSS_SRC}/${this.BOOTSTRAP_PROD_BUNDLE},
inject: true,
vendor: false
}
];


tech debt:  can't create a new Sender child every time we have a new datatype

User Story
As ReportStream, I should not associate datatypes with specific Sender objects.
Description/Use Case
Currently, senders in the code are represented by a few different types. The overall parent class is called Sender. Sender is an abstract class which is extended by FullELRSender (used for UP) and TopicSender (used for the legacy pipeline). TopicSender has subtypes CovidSender and MonkeypoxSender.
We should avoid creating a new Sender class every time we have a new type of data or new topic - that won't scale, especially with ETOR likely needing a wide variety of data types and/or topics.
Risks/Impacts/Considerations
Dev Notes:
The structure of the Sender configuration data needed is dependent on the Pipeline (Old PIpeline, New Pipeline), not on the datatype, nor on the topic.
Based on the proposal in https://github.com/CDCgov/prime-reportstream/blob/master/prime-router/docs/proposals/0020-universal-pipeline-topics.md, FullELRSender will be renamed to UniversalPipelineSender, and TopicSender will be renamed to LegacyPipelineSender (still with subclasses CovidSender and MonkeypoxSender). Topic will still be used to determine which subclass of Sender to use; full-elr and etor will correspond to UniversalPipelineSender, while covid-19 will correspond to CovidSender and monkeypox will correspond to MonkeypoxSender.
See also:
#8586 ticket design for topic usage in the UP.
#8592 ticket for separation of etor from existing full-elr topic.
Acceptance Criteria

[ ] Sender subtypes match the proposal documented here

Hey team! Please add your planning poker estimate with Zenhub @arnejduranovic @jack-h-wang @JessicaWNava @jimmyfagan @luis-pabon-tf @mkalish @victor-chaparro


[vcpkg baseline] opencv build failure

Host Environment

Windows 10
Compiler: Visual Studio Community 2019  - 16.9.3

To Reproduce

vcpkg install opencv[core]:x64-windows

Failure logs

I get Error: Building package opencv4:x64-windows failed with: BUILD_FAILED
config-x64-windows-out.log

Additional context
I tried the vcpkg update and it did not do anything.

CMake Error at cmake/OpenCVGenConfig.cmake:49 (export):
  export Export set "OpenCVModules" not found.

baseline issue.

Got the same error.

Same here.

CMakeError.log:
Determining if the include file pthread.h exists failed with the following output:
Change Dir: C:/Libraries/vcpkg/buildtrees/opencv4/x64-windows-dbg/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Libraries/vcpkg/downloads/tools/ninja/1.10.1-windows/ninja.exe cmTC_02637 && [1/2] Building C object CMakeFiles\cmTC_02637.dir\CheckIncludeFile.c.obj

FAILED: CMakeFiles/cmTC_02637.dir/CheckIncludeFile.c.obj

C:\PROGRA~2\MICROS~3\2019\COMMUN~1\VC\Tools\MSVC\1428~1.299\bin\Hostx64\x64\cl.exe  /nologo   /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP   /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi  /fp:precise /FS      /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_02637.dir\CheckIncludeFile.c.obj /FdCMakeFiles\cmTC_02637.dir\ /FS -c CheckIncludeFile.c

CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory
ninja: build stopped: subcommand failed.

Determining if the include file C:/Libraries/vcpkg/installed/x64-windows/include/libpng/png.h exists failed with the following output:
Change Dir: C:/Libraries/vcpkg/buildtrees/opencv4/x64-windows-dbg/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Libraries/vcpkg/downloads/tools/ninja/1.10.1-windows/ninja.exe cmTC_35f01 && [1/2] Building C object CMakeFiles\cmTC_35f01.dir\CheckIncludeFile.c.obj

FAILED: CMakeFiles/cmTC_35f01.dir/CheckIncludeFile.c.obj

C:\PROGRA~2\MICROS~3\2019\COMMUN~1\VC\Tools\MSVC\1428~1.299\bin\Hostx64\x64\cl.exe  /nologo   /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP   /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi  /fp:precise /FS      /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_35f01.dir\CheckIncludeFile.c.obj /FdCMakeFiles\cmTC_35f01.dir\ /FS -c CheckIncludeFile.c

CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'C:/Libraries/vcpkg/installed/x64-windows/include/libpng/png.h': No such file or directory
ninja: build stopped: subcommand failed.

Got the same error

will be fixed by #17991

Thanks heaps @cenit 👍🏻

Many thanks.
When will updating vcpkg get this fix?
Richard Keene
@.***
On Tue, May 18, 2021 at 10:51 AM Ugo Pattacini @.***>
wrote:

Thanks heaps @cenit https://github.com/cenit 👍🏻
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vcpkg/issues/17973#issuecomment-843354488,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACNAP2SQXOBS7TVI5LGGDLTTOKLIVANCNFSM45BE2XGQ
.

already merged with master 😄 🚀

So glad this got fixed over night, I was bashing my head against the wall all yesterday trying to work it out.

Thanks all! the fix has been merged, please 'git pull' latest source and try again.


WIP Fix license scout issue

Fix license scout issue.
See: https://github.com/chef/omnibus-software/pull/1541
Signed-off-by: Lincoln Baker<EMAIL_ADDRESS>

https://buildkite.com/chef/chef-chef-server-main-omnibus-adhoc/builds/3683

setting the env variable OMNIBUS_SOFTWARE_GITHUB_BRANCH=branch_name in the build env lets us get around the need to update the gemfile.lock in server to test out the change in omnibus-software.

This PR is no longer required as the fix went already -https://github.com/chef/license_scout/commit/eb6921f6cb8f4461a5991526357f53a0b273539e


[Bug]: Slight incompatibility with Simple Activate

What happened?
When hovering over containers, QuickLoot (QL) causes Simple Activate (SA) to perform a momentary refresh. This is particularly noticeable when hovering over empty containers.
Observed Behavior:

The “empty” tag briefly appears and disappears.
The container name briefly turns white before switching to grey, as per Simple Activate settings.

Steps to Reproduce:

Hover over an empty container.
Observe the flickering of the "empty" tag and the container name color.

Expected Behavior:
The container name should remain consistently grey (or follow the SA settings) without any brief visual changes during the hover action.
Version
2.0.0
What Skyrim version are you using?
1.6.1170
Relevant log output
N/A

Code of Conduct

[X] I agree to follow this project's Code of Conduct

SA's HUD handling seems to be done here for reference.

Forwarding a report from Nexus, which is also related to Simply Activate:

When used with Simple Activate SKSE
Everything else works the same
But activation key E doesn't disappear for locked containers
I used the option to make activation key E disappear in Simple Activate SKSE

All experiments were done in vanilla state with minimal plugins
Just Address Library for SKSE Plugins, Simple Activate SKSE and QuickLoot IE
I was able to reliably observe that removing QuickLoot IE would normally remove the activation key 'E' from locked containers

Needs patch

I have no idea what could be causing that new issue. We don't even touch the prompt unless the loot menu is open, which is never the case for locked containers.

I spent way too many hours trying to debug the flickering prompt (without SA) and it defines all logic. The HUD Menu never even gets instructed to show the prompt, but somehow it still does. I'm inclined to close this as won't fix because I literally have no idea how this even happens.

If we're that clueless, we can close this as won't fix. The issue doesn't seem to be game breaking and I assume the lockpicking one might get fixed along the way. Closing this and won't fix and pinning it, if anyone has insides on this, go ahead.

I think I fixed this with https://github.com/AtomCrafty/QuickLootIE/commit/b66a4a4a2c8f2797b71ff45d95403c744397b2d7. At least this fixes the flickering prompt when looking away from a container. I was unable to produce any unwanted interaction with Simple Activate in this version.


Comparison with reference implementation from within a notebook

For PyBryt tests (comparison with reference implementation) to be executed, it is necessary for the student to commit and push their solution to a repository. Most (beginner) programming and data science courses do not expect students to be familiar with version control. It would be convenient for a student to be able to run tests and get feedback right after they implement their solution. For instance,

Teacher can write a "testing cell" right after the cell where a student writes their solution (similar to the usual assert solution == 5 cell) to compare the student's solution to the reference one.
This way, student would get quick feedback in the same notebook without having to push their solution and waiting for CI to run and provide feedback.
For multiple attempts, this would substantially reduce the time student spends working on an exercise.

@marijanbeg so students do not have to do any commits to repos to have PyBryt run within a notebook environment.  If you download the demos Median and Goldbach and simply run these they all work locally.. https://github.com/microsoft/pybryt/tree/main/demo

Going to close this issue in favor of #38, since offline running is implemented and the new features described there can also be used to implement this request.


Bug: Contextual toolbar Auto Close within context not working when...

Hi, thanks for an awesome reaper extension.
Now when Auto Close option is enabled in the context section on the left side of the 'Contextual Toolbar' settings window (turned from 'x' to a 'tick' indicating that it's enabled)
the usual behaviour is that when an icon is selected by clicking in the contextual toolbar showed the toolbar closes.
Moving on to the 'All' section on the right hand side. When 'Auto Close When Losing Focus' is selected as well as the formentioned Auto Close option in the context section is selected:
The expected behaviour would be that the contextual toolbar closes as soon as an icon is selected by being clicked on and/or in a case where the contextual toolbar window loses focus it would also close.
But what happens is that the contextual toolbar does NOT close when an icon is selected by clicking on one of the option but when the toolbar loses focus it does close.
Of course for the option 'Auto Close When Losing Focus' to work smoothly 'Set Toolbar To Foreground On Load' should be enabled. By 'smoothly' in this context is like how a 'Route' toolbar or 'Trim' toolbar (available to be accessed from Track Control Panel) would close when losing focus.
Whether 'Set Toolbar To Foreground On Load' is enabled or not it does not affect this bug.
I do not have any persistent script running in the background. Only 1 context is enabled for 'Items' (left side of the settings window). Toolbar 2 is the one being used for the 'Items' context. Position offset for the 'Item' context is 'X: -35 Y: -50'
In the 'Arrange' section of the settings window (right hand side middle bottom of the window) 'Item' option is enabled for 'Selected Item'.
Thank you for reading through this. I hope I provided enough context (no pun intended lol) and information for this to be fixed.
P.s this is first time opening an issue. I'm not too sure how to have that red 'bug' icon to persist on my issue. sorry

I'd also like to see this fixed (or hear some ideas about what can go on - see below).
The behaviour I'd like is for the toolbar to close both when a button is clicked and when it loses focus. As of today, I can only configure it to do one or the other.
I say "As of today" because the strange thing is, it used to behave that way. Before today, I'd not experienced the issue rudfol describes. I set up contextual toolbars a couple of years ago and, with both a tick next to a toolbar and Auto Close When Losing Focus, I was getting the behaviour I'd prefer. Today, I came back to Reaper after about 2 months away and before starting work, updated to 7.18 (I'm not sure, but I'd guess I was on .15 or .16 before). I noticed the change in behaviour to what rudfol describes. I came here to post a bug and found this already existed.
Puzzling that it was from 2022 though, while I'm only getting this behaviour now. Also, I've been up to date with the latest SWS release since Feb, which looks like the latest. So the change seems to have occurred solely due to the Reaper update - perhaps something SWS's contextual toolbars are built on? Or, because rudfol has had this much earlier, it's some state the user can get into without them knowing. This is on Windows (10) and nothing else in Windows considers/acts like Reaper or any other bits of floating UI are pinned on top.
I did also notice a change with how some of the extensions that use ReaImGui behave around April. They stopped floating and hiding correctly, again after a Reaper update (not an update to them). At that time, SWS contextual toolbars didn't change behaviour (at least, noticeably). It seemed to affect all the extensions built on ReaImGui in the same way. They behaved in that new way until today. Now, that they seem to be working correctly again, as they did before that change.
I haven't been able to find other people (particularly developers of the ReaImGui extensions) talking about needing to update anything to match Reaper updates in the Reaper forums. I'm not even sure anyone else has been affected, either. I guess I mostly figured I'd comment in case this happens to someone else, and they recognise the story.


cargo package and cargo publish cannot serialise Cargo.toml

Problem

Running cargo package or cargo publish yields an error, despite cargo build and cargo run working successfully.
error: failed to prepare local package for uploading

Caused by:
  values must be emitted before tables

Steps

Clone the project I'm trying to publish
Run cargo package or cargo publish on the project

Notes
Output of cargo version:
cargo 1.56.0-nightly (b51439fd8 2021-08-09)

Platform:
aarch64-apple-darwin, MacBook Air (M1, 2020), macOS Monterey (12.0 beta 5; 21A5304g)

Thanks for the report!  I have posted a fix at #9789.


Undefined mixin 'radial-gradient'.

Expected behavior
After installing both the Rails Gem and the regular gem, neither one seems to contain the radial gradient mixin.

Hi @zarianl!
What version of Bourbon are you using? Can you share the code where you’re invoking the radial-gradient mixin?

Bourbon 5.0.0.beta.6
.radial-bg{
@include radial-gradient(rgba(43, 144, 217, 1), rgba(43, 144,
217, 0));
height: 150px;
width: 250px;
position: absolute;
display: inherit;
z-index: -2;
top: -30%;
left: -30%;
}
On September 29, 2016 at 7:18:18 AM, Tyson Gach<EMAIL_ADDRESS>wrote:
Hi @zarianl https://github.com/zarianl!
What version of Bourbon are you using? Can you share the code where you’re
invoking the radial-gradient mixin?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thoughtbot/bourbon/issues/943#issuecomment-250463131,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVdvbzrGZxGaEdqS5jQuncOnFScfIUnvks5qu7qYgaJpZM4KJRqx
.

The radial-gradient mixin has been removed in Bourbon 5.
You can read more about this decision in this Issue, as well as view a full list of removals and other changes in our Change Log.
It’s also worth noting that CSS gradients has pretty strong support these days, so you might not need to prefix: http://caniuse.com/#feat=css-gradients.


statsable

When we want to extend filters and interactions in resource with stats data
PostResource
public function stats(\Illuminate\Contracts\Database\Eloquent\Builder $query): array
{
    return [
        'posts_has_approved_comments' => $query->whereHas('comments', fn($q) => $q->where('approved', true))->count(),
        'posts_has_worse_comments' => $query->whereHas('comments', fn($q) => $q->where('star', '<', 3))->count(),
        'published' => $query->where('published', true)->count(),
    ];
}

Request [POST] api/posts/search
{
  "search": {
    "stats": true,
    ...
  }
}

Response
{
    "current_page": 1,
    "data": [...],
    "from": 1,
    "last_page": 1,
    "per_page": 50,
    "to": 10,
    "total": 10,
    "meta": {
        "stats": {
            "posts_has_approved_comments": 5,
            "posts_has_worse_comments": 2,
            "published": 9,
        }
    }
}

https://github.com/Lomkit/laravel-rest-api/issues/105 aggregates can't be complex and multiple response keys in a relation

Could you please add unit tests, i'm quite sur when you'll have problems with your example because the query is manipulated multiple time and is immutable

Another example, we need stats of orders:

Sum of debit transactions
Sum of payment transactions
Total of return items

I have some ways:

Store fields in database: this way is not perfect when stats data difference by seller and customer
use "aggregates": aggregates can't be multiple response [relation, type, field] in relation transactions

"aggregates": [
 {
   "relation": "transactions",
   "type": "sum",
   "field": "amount",
   "filters": [
     {"field": "type", "value": "debit"}
   ]
 },
 {
   "relation": "transactions",
   "type": "sum",
   "field": "amount",
   "filters": [
     {"field": "type", "value": "payment"}
   ]
 },
 {
   "relation": "items",
   "type": "sum",
   "field": "quantity_return"
 }
],

Create custom api: [GET]\api\orders\stats this api not extend search and interactions from this package

Could you please add unit tests, i'm quite sur when you'll have problems with your example because the query is manipulated multiple time and is immutable

unit test better by your

@GautierDele please review, it take 3 days

I gave you the problem, i'm not able to handle this for now


Slovak holidays patch

Coverage remained the same at 83.86% when pulling 2604fd34742616a521b630948831c24152284d97 on guitarman:slovak_holidays_patch into 4b1ef021bf1929a4ed8020fe5b7bb3f1530ac257 on alexdunae:master.

Coverage remained the same at 83.86% when pulling 2604fd34742616a521b630948831c24152284d97 on guitarman:slovak_holidays_patch into 4b1ef021bf1929a4ed8020fe5b7bb3f1530ac257 on alexdunae:master.

Coverage decreased (-1.16%) to 82.69% when pulling 18779db9613c999db0d9c443fe23f7534538844f on guitarman:slovak_holidays_patch into 4b1ef021bf1929a4ed8020fe5b7bb3f1530ac257 on alexdunae:master.

There was missing holiday for 6th Jan and holiday for 8th May had incorrect name
http://www.vlada.gov.sk/statne-sviatky/ - first two tables

Looks great, thanks!


Update user-get-mailboxsettings.md

Adding notice that mailboxSettings through /users/ only works with an application context

Hi @SuryaLashmiS, can you validate this change? Thanks.

@SuryaLashmiS , can you please review this PR or let us know if we can close it?


Fixes #411

Fixed typo and removed use of deprecated backquote commands in current ram script.

Thanks, @triforce. Much appreciated.


Regression: No re-auth modal when saving editor with invalid session

Steps to reproduce:

Create/edit a post and ensure it's saved
In web inspector find your ghost:sessionin the Local Storage section under the Resources tab and edit your access_token string
Change the post body and click save

Expected result: You are shown the re-authenticate modal from which you're are able to sign-in and continue
Actual result: You are shown an error alert: "Saving failed. The server returned an error (Server was not available)."

I have a failing test in place for this. It appears that ember-simple-auth no longer raises the authorizationFailed action so we need to find the correct way to hook into this state with ESA 1.0.

I think the solution to this is going to be further reaching than I first thought. The core problem is this:

In ValidationEngine we override .save to handle validation (which is fine) but we also capture any errors raised and use getRequestErrorMessage (from utils/ajax.js) to replace the original error object with a string.
Anywhere we use the .save().catch() pattern to do custom error handling we now either have an array of validation errors or a plain string - we've lost the ability to react according to the type of error we receive at the very edge of our application code
.save().catch() has become a common pattern where we typically ignore the validation errors (they get handled by our inline validation) and then fire off an alert with the string returned from getRequestErrorMessage, and finally return nothing - we've now lost the ability to use Ember's error action in routes. The error action is useful as it starts at the furthest edge route and bubbles up to the application route, allowing a spectrum of fine-grained to high-level responses to an error.

Taking into consideration we eventually want to refactor ValidationEngine and update our API to return DS.Errors compatible error responses and possibly i18n keys I plan implement something like the following:

Remove the .catch In ValidationEngine.save(), this would result in the following behaviour:

reject with undefined if we have validation errors (current behaviour)
reject with with the original error object if we hit a server/other error (new behaviour)

Review everywhere we use the .save().catch() pattern to ensure that we are only handling the exceptional cases we care about, always return/throw the original error in a way that Ember will pick up
Use the error actions on leaf-routes where appropriate, eg. In the editor to show the re-auth modal
Add an error action to the application route that uses getRequestErrorMessage to show a suitable alert
Move logic from notifications.showAPIError into getRequestErrorMessage - this leaves the notifications service dealing purely with handling basic alerts/notifications


/* Merge Recent Korean l10n Guide */

Thanks @channy for submitting this. There are a number of trailing white space and blank space errors that Travis is reporting above. Once you've corrected those, I'll be happy to accept the merge the PR.

@gueroJeff Okay Jeff. I missed checking "spaces".


Updating selection states

This can be improved. Sometimes, when redrawing views while scrolling fast, they are creating some not very beautiful "shadow"...
Ideas:

simply batching the updates of the selection change events and execute them via a handler every 100ms or so?
make a queue of items to update, iterate over it via a handler every 100ms or so if it is not empty?

Not sure if this is causing the problems though, but as the corresponding function is called on every MotionEvent.ACTION_MOVE it may help...

Updating the RecyclerView with a payload and only update the necessary parts of the views should solve the problem


New Language Server: documentSymbol failed

VS Code version: Latest Insides
Extension version (available under the Extensions sidebar): Latest Insiders
OS and version: Win 10
Python version (& distribution if applicable, e.g. Anaconda): 3.6
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): NA
Relevant/affected Python packages and their versions: NA

im finding VSCode nearly unusable now.
Output window is regularly getting updated with exceptions.

@derekwallace re-focused the title as the other stuff basically says "it doesn't work well" isn't really actionable by us. 😉

Hi guys. I experience a similar issue to @derekwallace. And it also makes my vscode experience nearly unusable.
I am on:
macOS High Sierra 10.13.5 (17F77)
VSCode Version 1.25.1 (1.25.1)
Python extension 2018.7.1 (23 July 2018)
Python 2.7.10 64-bit
When I start typing the name of a not-yet declared data attribute (e.g. self.data_attribute) in a class __init()__ method the output window pops up on each character typed which is not found and the output says:
[Info  - 10:17:35] Found 0 completions for file:///Users/(...)/Work/(...)/admin.py at (101, 17) after filtering
[Error - 10:17:38] Request textDocument/completion failed.
  Message: Object reference not set to an instance of an object.
  Code: -32000

Shall I open a new issue for this?

@Fogetti yes, please open a separate issue.

Most probably https://github.com/Microsoft/vscode-python/issues/2017 or https://github.com/Microsoft/vscode-python/issues/2262

https://github.com/Microsoft/PTVS/pull/4652


Duplicate ID in lightbox

Everytime a new lightbox is popped, it generates its own ID but the ID remains the same

The aXe tool reports the following error: id attribute value must be unique.
The value assigned to the id="" attribute must be unique to prevent the second instance from being overlooked by assistive technology. Put another way, id attributes may not be used more than once in the same document in order to differentiate each element from another.
Target:#jud > section > header > h2.modal-title
HTML:
Judicial Branch
Summary:
Fix any of the following:
    Document has multiple elements with the same id attribute: lbx-title
Related Nodes:
    #leg > section > header > h2.modal-title
    #exe > section > header > h2.modal-title
    html > body > section > section > header > h2.modal-title

possible solutions:
add a custom ID to every title in every lightbox
modify the quit button so that it removes the ID upon closing
modify the wet so that it generates an id with a number.


Call out for those without Store on their machine

@dansimp Would you be able to review and merge this PR contributed by the community as the time permits? Thanks.

@Dansimp Following up for updates.


after_save callback

I had the need for an after_save callback so I have added it in akin to how before_save works.

@alexandred what do you need after_save for?

@ryanstout I needed to run a task that parses a chat message for certain commands and then fetch some relevant data from APIs.

@alexandred can you give me more details?  What do you do with the API data?

@ryanstout Okay so in the after_save callback, I run a regex match to see if a user has entered a command to query Wolfram Alpha. If so then I pass the message ID to the task. The task then collects all the match groups and runs a query to Wolfram Alpha for each match. Wolfram returns images (representing the query response) which I then use to replace the command in the chat message body.
My reasoning behind this method is to make use of Volt's reactive updating to automatically update the message once the Wolfram query results have resolved.

@alexandred So I would say that an after_save callback is probably the wrong place for that.  You probably want to create another class that handles the interaction of both and use that (from a task or on the client depending on what the use case is)  I hadn't planned to add after_save into volt.  I've found in rails it was on my top 3 things that causes chaos list (imho): http://samuelmullen.com/2013/05/the-problem-with-rails-callbacks/  <- I tend to agree with that article that callbacks should only be used to modify the model state before saving or during validation.  If your working with an API or modifying another something, I would argue that it doesn't belong in the model.
Also, in your example, updating a model in an after_save I would think would cause another save (which would trigger another after_save)  At least thats my expectation.
A common pattern I use in volt is to trigger tasks from the client like this:
model.save!.then do
WelcomeTasks.send_email
end
^ for example.  Another thing I've been considering for use cases like this is to make it so you can create some sort of Proxy model (really a reactive service object) that behaves like a model (you can save to it and get reactive updaters on the client), but it is able to store to multiple models under the hood.  (Something I feel like I'm going to need)
Thoughts?

@ryanstout The idea with a reactive service object sounds very interesting. I also try to avoid the use of callbacks in rails if possible. If I use them, I only do so to manipulate the state of an object before saving. Everything else goes in custom classes.

@jfahrer yea, I think the interesting thing would be to be able to use them on the client where you would a normal model.  The reactivity is pretty easy, its just the syncing that would need a bit of thinking.

@ryanstout Thanks for the detailed response. I can see now why an after_save callback might be a bad idea. Sticking that logic in the client after a buffer save seems like the best bet.
I like the idea of a reactive service object, will be interesting to see it implemented in Volt.
I'll close this PR considering what we have discussed.