[$500] Web - Chat - Some emojis change when there is markdown in the message

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: v1.4.11-1
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Log in with any account
Navigate to any chat
Send a message which consists of a few emojis and any markdown

Expected Result:
Emojis should match the emojis selected when drafting the message.
Actual Result:
Some emojis change when there is a markdown in the message.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/93399543/0d66d25c-afc6-49c1-b9ed-d8ded0458da0
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~015728063279fccae6
Upwork Job ID:<PHONE_NUMBER>703267328
Last Price Increase: 2023-12-11

Proposal
Please re-state the problem that we are trying to solve in this issue
Web - Chat - Some emojis change when there is markdown in the message
What is the root cause of that problem?
This happens only on Windows due to the difference in the the rendering engine used on bold and normal text. Bold text uses TRenderEngineProvider, which uses singleFontFamily, and normal text uses RNText, which multiFontFamily.
What changes do you think we should make in order to solve the problem?
Add Windows Segoe UI Emoji for Windows platform in systemFonts in TRenderEngineProvider
What alternative solutions did you explore? (Optional)

@kbecciv I'm on Staging v1.4.11-6 and can't repro this.

Some emojis change when there is a markdown in the message.

Can you define some? Are there specific emojis that always change? Does the change always occur?
Also, you're missing a step - there should be something like: 4. Click Edit to remove the * around the markdown and save the message.

I can't repro this issue.

@jliexpensify This can be repro on Windows platform only

Proposal
Please re-state the problem that we are trying to solve in this issue.
Windows emojis change when there is markdown in the message.
What is the root cause of that problem?
When there's any HTML (fragments/markdown..) on the comment, the TextCommentFragment will use RenderHTMLSource to render the comment
https://github.com/Expensify/App/blob/38b3990ce5a3823ee75ec32a56926befa592f47a/src/pages/home/report/comment/TextCommentFragment.js#L62-L74
The TRenderEngineProvider from RenderHTMLSource use baseStyle to render the elment inline style.
https://github.com/Expensify/App/blob/38b3990ce5a3823ee75ec32a56926befa592f47a/src/components/HTMLEngineProvider/BaseHTMLEngineProvider.js#L76-L81
Until here we have 2 issues:

The font missing Windows Segoe UI Emoji, is not listed inside systemFonts props

The TRE will pick the first match as mentioned here
If we provide ⇒ font-family: 'ExpensifyNeue-Regular, Segoe UI Emoji, Noto Color Emoji',
then the TRE will pick the 1st available font wih is ExpensifyNeue-Regular and will ignore the rest.

What changes do you think we should make in order to solve the problem?
1- We need to add Windows Segoe UI Emoji to systemFonts
const  emojiRenderfonts  = ['Windows Segoe UI Emoji', ..._.values(singleFontFamily)];
// rest of the code
systemFonts={emojiRenderfonts}

2- We need to change the baseStyle to something like
baseStyle={styles.webViewStyles.RenderHTMLSourceFontStyle}

Where RenderHTMLSourceFontStyle is a new style inside src/styles/styles.ts
RenderHTMLSourceFontStyle: {
	color:  theme.text,
	fontSize:  variables.fontSizeNormal,
	fontFamily:  'Windows Segoe UI Emoji',
	flex:  1,
	lineHeight:  variables.fontSizeNormalHeight,
	...writingDirection.ltr,
},

POC

@jliexpensify here's the full list of icons: https://emojipedia.org/microsoft
Those are icons supported by Windows. Windows OS style those icons using the default Windows Segoe UI Emoji font (there's two styles windows10 and windows 11). Same fonts are styled in another way in other platforms.

Thanks @dragnoir - @abdulrahuman5196 we have some proposals for review now

Hi, Will review today

@abdulrahuman5196 Please hold this on https://github.com/Expensify/App/issues/31389

Thanks @shubham1206agra - have updated the title. Let us know when the other GH is resolved, cheers!

Still on hold

Still on hold

Still on hold, changed to Monthly

Still on hold

Still on hold

On hold, moved to #vsb project based on other GH

Still on hold

Off hold, the below hit production a bit ago.
@jliexpensify @abdulrahuman5196 , please attempt reproduction. I'ave also added retest-weekly
Found this cuz I have this other emoji+markdown issue but I don't think it's directly related

https://github.com/Expensify/App/issues/43322#issuecomment-2155557559

Hmm I can't seem to replicate this issue, all my emojis seem like they are correct:

What I do notice is that the emojis start off as large in the chat viewer, but as soon as you apply the first *, they change in size. I assume that's intended?

goes to

Not overdue, waiting for @kbecciv to re-test/Applause to re-test weekly.

Not overdue, waiting for a retest from Applause.

Waiting for a retest

Issue not reproducible during KI retests. (First week)

Issue not reproducible during KI retests. (Second week)

Closing!


Thank you Yvess!  but i have another problem...

Previous answer Thank you very much :dancer: .
gconf can read only resources directory.... but I want to read a file on the outside.
because...
If the files in the project, config is dependent on the project.
If config is modified, the need to re-build the project...
i don't want it....
I hope config is reapplied By restarting the application.
Is there another way?

Welcome on Java world !
You are right, this lib can read file only on the classpath. But in additionally as you jar, you can add an external directory on your classpath where your external configuration is stored.
Please read : http://stackoverflow.com/questions/2232602/java-jar-access-external-configuration-file

:+1:


PackageLoading,Basics: properly handle cross-root manifests

The path representation uses a relative path (/relative/paths) as an absolute path due to limitations of Unix systems.  If the source is located in one root and the manifest is built into another root, the path remains a relative path which will fail to match the VFS entry as the relative path is made absolute by normalizing the path to the current drive as per Windows rules.  This then results in the VFS entry not being honoured and the path fails to be found.  More aggressively perform the path normalization when loading the manifest to resolve this issue.

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please test Windows platform

@swift-ci please smoke test

@swift-ci please test Windows platform


Feat/e2e tests rebased

Description

How to test

Screenshots

Notes for developers and reviewers:

Think to update CHANGELOG.md before merge if needed !

/e2e --tests frontend[mnist]

End to end tests: :hourglass_flowing_sand: STARTING

/e2e --tests=sdk,substrafl,mnist,frontend --refs=substra-ci=refactor/frontend-tests-on-all-tests

End to end tests: :hourglass_flowing_sand: STARTING

End to end tests: :hourglass_flowing_sand: STARTING

End to end tests: :hourglass_flowing_sand: STARTING


Plugin not working

How do you actually get this plugin working on Mac?
I tried setting the pact executable path in the latest WebStorm (tried "/opt/homebrew/bin/pact" and "/opt/homebrew/Cellar/pact/4.10.0", as well as pointing the language server path to the one that came with the plugin (pact-lsp-v0.0.1). The editor only shows the correct icon for the file, but that's it. No code completion, no syntax highlighting, no declarations found.. nada.
The file type seems to be correctly recognised. Plugin version 0.1.2, WebStorm 2024.1, Pact version 4.10.0 (installed via Homebrew).
Thanks!

@lukeribchester Hi Luke, thanks for the answer. Nothing works. I had a time to check the logs now and discovered this:
2024-04-25 08:42:56,541 [   8384]   INFO - #c.i.p.l.i.LspServerImpl - PactLspServerDescriptor@unitt-api(Initializing;0): Starting LSP server
2024-04-25 08:42:56,542 [   8385]   WARN - #c.i.p.l.i.LspServerImpl - PactLspServerDescriptor@unitt-api(Initializing;0): Failed to start LSP server
com.intellij.execution.ExecutionException: Pact Language Server (LSP) executable not found
at io.kadena.pact.lsp.PactLspServerDescriptor.createCommandLine(PactLspServerDescriptor.kt:47)
at com.intellij.platform.lsp.api.LspServerDescriptor.startServerProcess(LspServerDescriptor.kt:94)
at com.intellij.platform.lsp.impl.connector.Lsp4jServerConnectorStdio.(Lsp4jServerConnectorStdio.kt:17)
at com.intellij.platform.lsp.impl.LspServerImpl.L(LspServerImpl.kt:318)
at com.intellij.platform.lsp.impl.LspServerImpl.S(LspServerImpl.kt:298)
at com.intellij.openapi.application.impl.RwLockHolder$executeOnPooledThread$1.run(RwLockHolder.kt:154)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
at java.base/java.lang.Thread.run(Thread.java:840)
2024-04-25 08:42:56,543 [   8386]   INFO - #c.i.p.l.i.LspServerImpl - PactLspServerDescriptor@unitt-api(Initializing;0): Stopping LSP server unexpectedly
I have set the following paths in the plugin settings:
Pact:
/opt/homebrew/Cellar/pact/4.10.0/bin/pact
Language server:
/Users/mikkoville/Library/Application Support/JetBrains/PhpStorm2024.1/plugins/Pact/language-server/macos/pact-lsp-v0.0.1

Okay, I think I got the LSP working by downloading the binary executable from the Github pact-lsp/releases and pointing the plugin to that. However, editing .pact files still does not seem to provide any language services, syntax colour highlighting or anything else.

Indeed I see that it's a permission issue. It's not ideal but based on my testing you should be able to resolve this simply with chmod +x /path/to/pact-lsp.
I expect to release native language support over the weekend for approval by JetBrains on Monday or Tuesday, immediately after which I'll extend language server support to the Pact 5 LSP — including permission handling to resolve this.
See #35
I'll close this now but thank you very much for raising this. 🙌🏻


tea deactivate doesn't work

<EMAIL_ADDRESS>Jakobs-MacBook-Pro:~ jakob$ node --version
v20.5.1
Jakobs-MacBook-Pro:~ jakob$ tea +node@16
tea: +nodejs.org=16.20.1
(tea) Jakobs-MacBook-Pro:~ jakob$ node --version
v16.20.1
(tea) Jakobs-MacBook-Pro:~ jakob$ tea deactivate
× nothing provides: deactivate
│ we haven’t pkgd this yet. can you?
╰─➤ https://docs.tea.xyz/pantry
(tea) Jakobs-MacBook-Pro:~ jakob$ node --version
v16.20.1

I would expect it to deactivate the loaded +pkgs

It also does this weird thing when I remove the package with -:
(tea) Jakobs-MacBook-Pro:~ jakob$ tea -node
undefinednode --version
v20.5.1
undefined

Maybe that's related?

Where are you seeing tea deactivate in the docs?
You want tea -node, tea deactivate was the cmd I was playing with during dev.

It also does this weird thing when I remove the package with -:

This works for me. What shell, OS etc. you got?

GNU bash, version 5.2.15(1)-release (x86_64-apple-darwin22.1.0)
MacOS 13.5.1 on an intel based 2019 16'' macbook pro

oh ok yes, I see. Will fix.


Fix Content Data running in the VM

This PR addresses the following issues that prevent Content Data from running in the VM:

Nginx wasn't forwarding content-data-api requests to the correct port
content-data-api subdomain wasn't resolvable from within the VM

 Fix app name changes in Dev VM


Awesomeappsec no longer maintained

The https://github.com/paragonie/awesome-appsec list seems to be no longer maintained.
There are 19 pull requests open and 12 issues, the last commit was 2 years ago.
I also opened an issue asking if the list was being maintained and if i could help out: https://github.com/paragonie/awesome-appsec/issues/69
There has been no response yet, nearly coming up to 1 month.
I have forked the list and would now like to start merging PRs and cleaning up the list, is this something that is possible?

Sure. Just make sure you show your commitment to keeping your fork maintained and ensure the list follows the guidelines: https://github.com/sindresorhus/awesome/blob/main/pull_request_template.md Then submit a pull request that replaces the URL with yours.

Thank you


Adding Operator Settings in Environments Tab

Description
This PR fixes #
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

@dhruv0000 what remains to complete here?

@dhruv0000 what remains to complete here?

The API endpoint updates the data only when the component is loaded or changed. Need a better solution like SSEs to be implemented which I suggested before, or else the user would have to click the chip to update the data.

The API endpoint updates the data only when the component is loaded or changed. Need a better solution like SSEs to be implemented which I suggested before, or else the user would have to click the chip to update the data.

Mabey we can merge this PR and I can work on implementing SSEs next.

Mabey we can merge this PR and I can work on implementing SSEs next.

The PR is good to go @leecalcote.

The PR is good to go @leecalcote.

Good to go! 🎉

Good to go! 🎉


Add option to begin training from initial models

I'm concerned that we're deviating too far from the original weights of a pre-trained model, so am adding an option where we finetune from the original model before training.
Fixes #50
To do:

[ ] Add to the proxima test script
[ ] Verify the test script works, comment on effect

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

9 of 10 (90.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 95.172%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

cascade/proxima/init.py
9
10
90.0%

Totals

Change from base Build<PHONE_NUMBER>2:
-0.1%

Covered Lines:
749

Relevant Lines:
787

💛  - Coveralls


Window: single logic core full usage & memory usage grow uniformly

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

VS Code Version: 1.79.2 & 1.80.0-insider
OS Version: Windows 11   22631.1835

Steps to Reproduce:

Juse open vscode.

Hello. When opening the vscode, I see that my single logic core shows full usage in task manager. It's so strange so I use "Process Hacker" to see what happened. Well, "threads" shows Code - Insiders.exe!cppgc::internal::WriteBarrier::DijkstraMarkingBarrierRangeSlow+0x6a69f0 occupys CPU so much and memory usage grows uniformly. In vscode's task manager, it shows the thread is window [1] ... and window [2] ... ( task manager window).
I think it is a bug in vscode 1.79.2. Additionally I install an insider version and find the same bug, so I am sure it is not due to my extensions.

The thread Stack shows:

It changes in real time and the last stationary one is Code.exe!v8::Platform::SystemClockTimeMillis+0x102455 .

OS is updated to Windows 11 22631.1900 (beta channel) and the problem still exists. Well, it occurs randomly. Yesterday it didn't happened but today it appeared again. I guess it is a bug of OS.
Same with issue https://github.com/microsoft/vscode/issues/185462.

Does this issue repro with latest stable 1.84 ? If it does, can you provide the command line of the process with high cpu usage.

Seem that I forget to report it. On Windows 11 22635.2700, it have not happened with VSCode 1.84.2. Although I do not know the specific reason, I believe this problem has been solved. Thank you for your patience!


Added README.md and CONTRIBUTING.md

Added README.md and CONTRIBUTING.md @Rishabh04-02. can we add more info like the usage and the URL of the website to the README to reference.

@iabhee Thanks for contributing.


refactor(deployment): refactor to new az app service

Codecov Report
Patch and project coverage have no change.

Comparison is base (fa4da96) 76.51% compared to head (75ee4c2) 76.51%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #37   +/-   ##
=======================================
  Coverage   76.51%   76.51%
=======================================
  Files           6        6
  Lines         264      264
=======================================
  Hits          202      202
  Misses         40       40
  Partials       22       22

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Adding option for custom manifest filename on Vite Facade

Option added to pass the name of the manifest file to be used while using the Vite Facade.
Before:
Vite::asset(['resources/sass/app.scss'], 'dist')
Now:
Vite::asset(['resources/sass/app.scss'], 'dist', 'app-manifest.json')

In response to this issue: #45002

Hey @ngstwr,
Thanks for the PR. I've tweaked the implementation slightly. In a global service provider, route based middleware, or inline in a view, you may now specify the manifest file with the following API...
Service provider / middleware example...
use Illuminate\Support\Facades\Vite;

Vite::useManifestFilename('custom-manifest.json');

{{-- Uses the custom manifest filename --}}

@vite(['resources/js/app.js'])

Inline example...
{{ Vite::useManifestFilename('custom-manifest.json')->withEntryPoints(['resources/js/app.js']) }}

@timacdonald This is indeed a better way!
Somewhat related to this PR:
Shouldn't we do this with the 'buildDirectory' parameter also?
If we can use the new API (useManifestFilename) via a global service provider or route-based middleware, it doesn't make sense to pass the custom build directory path as a parameter with every @vite() call.
Let me know what you think!

@ngstwr that is already available with Vite::useBuildDirectory($path).
See: https://laravel.com/docs/9.x/vite#advanced-customization

Oh, thanks, somehow I missed that section on the documentation!
Will wait for this PR to be merged!


Draggable Edge label  Positioning

Code of Conduct

[X] I have read and agree to the xyflow contributor Code of Conduct

Project Name
Draggable Edge label Positioning
Project Description
GSAP/Draggable based draggable edge label positioning feature to customize edge label positon
Project Tags
No response
Open Source

[X] This project is Open Source

Link to the project website
No response
Link to project demo
No response
Used Library
React Flow
Upload a Project Screenshot

Anything else?
here'e the Repo if code is required

Unfortunately we've decided to not add this project to the showcase- we only add complete user-facing apps to our showcase, rather than code snippets or code examples like this one. Thanks for submitting!


Inference on model is failing when there is not detected object in bottom up features

For my current evaluation I am using my own computed bottom-up features. In these bottom-up features some of the images have zero detected regions. When I run these bottom-up features on your repo, it fails for the batches where such an image is present. Giving below error:
Traceback (most recent call last):
  File "eval.py", line 176, in <module>
    vars(opt))
  File "/home/default/ephemeral_drive/work/image_captioning/object_relation_transformer_cloned/eval_utils.py", line 141, in eval_split
    seq = model(fc_feats, att_feats, att_masks, opt=eval_kwargs, mode='sample')[0].data
  File "/usr/local/lib64/python3.6/site-packages/torch/nn/modules/module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/default/ephemeral_drive/work/image_captioning/object_relation_transformer_cloned/models/CaptionModel.py", line 31, in forward
    return getattr(self, '_'+mode)(*args, **kwargs)
  File "/home/default/ephemeral_drive/work/image_captioning/object_relation_transformer_cloned/models/TransformerModel.py", line 505, in _sample
    return self._sample_beam(fc_feats, att_feats, att_masks, opt)
  File "/home/default/ephemeral_drive/work/image_captioning/object_relation_transformer_cloned/models/TransformerModel.py", line 427, in _sample_beam
    att_feats, seq, att_masks, seq_mask = self._prepare_feature(att_feats, att_masks)
  File "/home/default/ephemeral_drive/work/image_captioning/object_relation_transformer_cloned/models/TransformerModel.py", line 347, in _prepare_feature
    att_feats = pack_wrapper(self.att_embed, att_feats, att_masks)
  File "/home/default/ephemeral_drive/work/image_captioning/object_relation_transformer_cloned/models/AttModel.py", line 43, in pack_wrapper
    packed, inv_ix = sort_pack_padded_sequence(att_feats, att_masks.data.long().sum(1))
  File "/home/default/ephemeral_drive/work/image_captioning/object_relation_transformer_cloned/models/AttModel.py", line 31, in sort_pack_padded_sequence
    tmp = pack_padded_sequence(input[indices], sorted_lengths, batch_first=True)
  File "/usr/local/lib64/python3.6/site-packages/torch/nn/utils/rnn.py", line 244, in pack_padded_sequence
    _VF._pack_padded_sequence(input, lengths, batch_first)
RuntimeError: Length of all samples has to be greater than 0, but found an element in 'lengths' that is <= 0
Terminating BlobFetcher

In the batch that cause the error, the fifth image in the batch had zero detections.
I am yet not sure if the error is because of the images with no detected regions, but I wanted to ask if there a requirement that the images should have atleast one detected region. If there is such a requirement, if would be great if you can give me a direction on which part of your code should be amended to enable the model to process such images or skip such images.

When you mention under default settings, does that mean default settings for Transformer and can it be an issue for LSTMs etc.? I understand that the using sort_pack_padded_sequence and pad_unsort_packed_sequence functions help in increasing the performance of the LSTMs and do not affect the logic. Is that correct?
I tried to understand what the function pack_wrapper is trying to do. To deal with the situation where the batch has some images with no detected objects, I have added zero tensors in the output tensor for the images with no detected objects. Below is my code
def pack_wrapper(module, att_feats, att_masks):
    if att_masks is not None:
        import ipdb; ipdb.set_trace()
        # True when image has detected regions
        boolmask = att_feats.sum((1,2)) == 0
        if boolmask.sum() != 0:
            tmp_feats = att_feats[att_feats.sum((1,2))!=0]
            tmp_masks = att_masks[att_masks.sum(1)!=0]
            packed, inv_ix = sort_pack_padded_sequence(tmp_feats, tmp_masks.data.long().sum(1))
            processed_feats = pad_unsort_packed_sequence(PackedSequence(module(packed[0]), packed[1]), inv_ix)
            processed_feats_shape = processed_feats.shape
            result_vector = torch.empty([att_feats.shape[0]] + [ele for ele in processed_feats_shape[1:]])
            ii, jj = 0, 0
            for bb in boolmask:
                if not bb:
                    result_vector[ii] = processed_feats[jj]
                    jj += 1
                else:
                    result_vector[ii] = torch.zeros(processed_feats_shape[1:])
                ii += 1
            return result_vector
        else:
            packed, inv_ix = sort_pack_padded_sequence(att_feats, att_masks.data.long().sum(1))
            return pad_unsort_packed_sequence(PackedSequence(module(packed[0]), packed[1]), inv_ix)
    else:
        return module(att_feats)

Can you suggest if the edited code seems fine? If the edits don't seem fine or break some other aspect of the code, is doing return module(att_feats) advisable for all the batches of images or the batch which has images with no detected object.

The pad and unpad here has nothing to do with LSTM. The reason I have it, is because at some point I have a batchnorm layer in the att_embed and I don't want zero tensors affect the statistics so I unpad it to run the att_embed and pad it back after.
I would suggest just do return module(att_feats)


All providers broke

Possibly related to recent (or semi-recent) release or upgrade?  Cannot find any other explanation.
Previously working omniauth-google, omniauth-linkedin, omniauth-facebook strategies now return these errors:
I, [2015-10-26T17:53:34.779622 #15897]  INFO -- omniauth: (google_oauth2) Callback phase initiated.
E, [2015-10-26T17:53:35.030998 #15897] ERROR -- omniauth: (google_oauth2) Authentication failure! invalid_credentials: OAuth2::Error, redirect_uri_mismatch:
{
  "error" : "redirect_uri_mismatch"
}

 <IP_ADDRESS> at 2015-10-26 17:48:12 -0400
I, [2015-10-26T17:48:12.671877 #15897]  INFO -- omniauth: (facebook) Callback phase initiated.
E, [2015-10-26T17:48:12.872648 #15897] ERROR -- omniauth: (facebook) Authentication failure! invalid_credentials: OAuth2::Error, :
{"error":{"message":"Error validating verification code. Please make sure your redirect_uri is identical to the one you used in the OAuth dialog request","type":"OAuthException","code":100,"fbtrace_id":"ERTegeQvqrP"}}

I, [2015-10-26T18:17:25.731480 #15897]  INFO -- omniauth: (linkedin) Callback phase initiated.
E, [2015-10-26T18:17:26.329422 #15897] ERROR -- omniauth: (linkedin) Authentication failure! invalid_credentials: OAuth2::Error, invalid_request: missing required parameters, includes an invalid parameter value, parameter more than once. : Unable to retrieve access token : appId or redirect uri does not match authorization code or authorization code expired
{"error_description":"missing required parameters, includes an invalid parameter value, parameter more than once. : Unable to retrieve access token : appId or redirect uri does not match authorization code or authorization code expired","error":"invalid_request"}

I am using Devie "Omniauthable" if it matters.  But it just seems like the middleware is broken?  Let me know if you need me to check anything in my config, it's straightforward passing keys into Devise initializer.

quick fix in Gemfile: gem 'omniauth-oauth2', '1.3.1'
for more info see: https://github.com/intridea/omniauth-oauth2/issues/81#issuecomment-151281907

Beautiful, thanks
On 10/26/2015 07:54 PM, Zoran Majstorovic wrote:

quick fix in Gemfile: |gem 'omniauth-oauth2', '1.3.1'|
for more info see: intridea/omniauth-oauth2#81 (comment)
https://github.com/intridea/omniauth-oauth2/issues/81#issuecomment-151281907
—
Reply to this email directly or view it on GitHub
https://github.com/intridea/omniauth/issues/825#issuecomment-151317209.

Is there a long term fix planned for this?  1.3.1 is incompatible with Rails 5.0.0, so we need a recommended fix for strategies if they want to be usable in the near future when Rails officially releases.

I've had the same issue, please make sure that this issue is taken care of :)

Also suffering from this issue. Would be great to see the PR for changing the callback URL or the runtime dependency for omniauth-oauth2 gem locked to 1.3.1

I've just experienced this issue when deploying to production.
From the logs I gathered that, for me, the mismatch comes down to the protocol: The callback url sent by the request is http://example.com/auth/.../callback, but the callback url I've entered in the external app configuration is https://example.com/auth/.../callback (https rather than http).
Is this the same issue you are experiencing or is this another issue?
How is the protocol for the callback url determined? Can this be patched or configured to be https?
The quick fix for me was to change the callback urls in the external app configurations to http. The production nginx server will handle the redirection to https for me. But this way, the external service does not raise a redirect_uri_mismatch error.

This appears to be discussed at length here: https://github.com/intridea/omniauth-oauth2/issues/81
As this isn't a part of the core Omniauth gem, I'm going to have to close this out. Apologies.


Error when scanning: KeyError: 'label_type'

I'm using the CASA instructions to run the scans via their dockerfile, with the following changes:

Change configuration to use sast as mentioned in #1071
Tested with both the 22.09 and 23.04 releases, but I get the same behaviour either way

The scan goes through all paths, but then I get the error below. Note: none of these paths are from my app.
[WARNING] Function: __main__.cli_scan_wrapped, type: 'label_type'
Traceback (most recent call last):
  File "/nix/store/lbi9s3dn5h9l763q2hq50l3ihyvzdrqx-skims/utils/function.py", line 377, in wrapper
    return function(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/lbi9s3dn5h9l763q2hq50l3ihyvzdrqx-skims/cli/__init__.py", line 135, in cli_scan_wrapped
    success: tuple[bool, int] = run(
                                ^^^^
  File "/nix/store/6jdy9fqfhmmy8gb9yymjf30clbh146k9-skims-runtime/lib/python3.11/site-packages/aioextensions/__init__.py", line 292, in run
    return asyncio.run(coroutine, debug=debug)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/hx2c957wpwa6i3fz0wiwhg72sfgq62k1-python3-3.11.2/lib/python3.11/asyncio/runners.py", line 190, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/nix/store/hx2c957wpwa6i3fz0wiwhg72sfgq62k1-python3-3.11.2/lib/python3.11/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/hx2c957wpwa6i3fz0wiwhg72sfgq62k1-python3-3.11.2/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/nix/store/lbi9s3dn5h9l763q2hq50l3ihyvzdrqx-skims/core/scan.py", line 275, in main
    stores = await execute_skims()
             ^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/lbi9s3dn5h9l763q2hq50l3ihyvzdrqx-skims/core/scan.py", line 101, in execute_skims
    analyze_sast(stores=stores)
  File "/nix/store/lbi9s3dn5h9l763q2hq50l3ihyvzdrqx-skims/lib_sast/analyze.py", line 34, in analyze
    analyze_root(paths=paths, stores=stores)
  File "/nix/store/lbi9s3dn5h9l763q2hq50l3ihyvzdrqx-skims/lib_root/analyze.py", line 303, in analyze
    futures = get_futures_new_architecture(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/lbi9s3dn5h9l763q2hq50l3ihyvzdrqx-skims/lib_root/analyze.py", line 328, in get_futures_new_architecture
    for label, nodes in nodes_by_type(shard.syntax_graph).items():
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/lbi9s3dn5h9l763q2hq50l3ihyvzdrqx-skims/utils/graph/__init__.py", line 880, in nodes_by_type
    if (label_type := graph.nodes[node]["label_type"]) not in result:
                      ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
KeyError: 'label_type'

[INFO] Summary: An error ocurred while trying to analyze your targets.
[ERROR] Exit code: 1.

────────────────────────── 👀 Failed with exit code 1 ──────────────────────────

We have made a small refactor in the code to avoid this error (See commit: https://gitlab.com/fluidattacks/universe/-/commit/a67627840d664fb5a9d6c808612377a6029cd1af)
However, this is very unexpected and we have not been able to replicate it.
It would be very useful to us if you could share the file where this is happening, to get to the bottom of the problem please.
If not, anyway, you should now be able to run the scanner without this problem.
Thanks for using the tool!

Thanks @alejolagosm , that latest change fixed it.
Happy to help in debugging, but I'm not sure which file caused this - the logs indicated that all my source files had been scanned, then I get the error after that.
Let me know if there's some verbose logging I could add to identify the file causing this?


Refactor vue-meta to the Nuxt approach

Is your feature request related to a problem?

why we even use metaInfo() (from vue-meta) at all? Nuxt uses vue-meta under the hood and provides much more powerful hooks via head() and meta. May be worth thinking about refactoring it all together. https://nuxtjs.org/docs/features/meta-tags-seo/

ht/ @kkukelka
Describe the solution you would like

Use nuxt seo principles and use more reusable pieces
something like /utils/seo

Describe alternatives you have considered

Screeenshots

Tracked in #1691

@kkukelka want to flex on this one?

@kkukelka want to flex on this one?
it's definitely something which is blocking us for release :)

Sure thing! I'll get onto it first thing tomorrow.

continue in #1691


Create events for service start up

Spring context initialized
Web server started
Publish via micro-event-metrics

Merged in https://github.com/aol/micro-server/pull/251

Not implemented for 0.89


MAINT: libiconv appears to be missing

Looks like they moved libiconv around. I think you can just download r from the r channel anyways... seems to be more updated.

Codecov Report

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

@@            Coverage Diff            @@
##             master       #6   +/-   ##
=========================================
  Coverage          ?   71.15%
=========================================
  Files             ?        8
  Lines             ?      638
  Branches          ?      105
=========================================
  Hits              ?      454
  Misses            ?      167
  Partials          ?       17

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 543be34...4255155. Read the comment docs.


Divided graduation registration into semester and year.

-Added two dropdowns in the registration site, one for year and one for semester of expected graduation, which dynamically changes each year.
-Altered the lambda code for registering new users to accept a grad_semester and grad_year, and removed the grad_date
-Site was tested in aws, and the lambda code was also tested and the contents showed up in the DynamoDB table

Can you rebase this & update the build so that we can merge it?

Also, when you rebase please remove useless commits like the merge commits and the commits related to PITR & the ones that reverted the PITR changes.
89a53f6
22fb58e
236a1b6
9a9ffe6
88e4dcc
08975f2

I rebased the branch and updated the changes so that they should now work with the changes Josh had made.

I went ahead and pulled and built the site again just to be sure, so it should be up to date.

Discussed this PR in our 2022-04-01 meeting. @KellenJames can you please resolve the conflicts in this PR & update the front-end build as needed?


Method BimLink.WithBimHostingFactory(bimHostingFactory)  in TestPlugin Line 45 does not exist

I downloaded the solution 'IdeaStatiCa-SDK-Examples' and tried to start BimLinkExampleRunner.
But BIMAPI\CheckbotBimLink\FeaExample\TestPlugin.cs does not compile because class BimLink does not contain a definition for 'WithBimHostingFactory', which is used in line 45. I tried to update IdeaStatica.BimApiLink from original Version <IP_ADDRESS>0 to current Version <IP_ADDRESS>61 because I thought it might help, but it didn't. Without the line, an exception is thrown: 'BimApi failed'.

When running the solution IdeaStatiCa.Public it works, because the project IdeaStatiCa.BimApiLink defines the method that is missing when using the same named Package.


Enable UnixSockets on non-Linux platforms

Appears that unix sockets are now available on macOS. Should also investigate if possible on windows.

Tor on windows yields the following warning:
[warn] Unix sockets not supported on this system.


How to avoid starvation? Or how to “yield” the current future?

I wrote a simple IP tunnel (TiTun) that uses tokio-core. For the most part it works well. But there is a problem worth telling: starvation.
I have in my code Futures that are implemented like this (it's in src/titun.rs):
struct Common {
    crypto: Crypto,
    sock: UdpSocket,
    tun: PollEvented<Tun>,
    buf: Vec<u8>,
}

struct SockToTun {
    common: Rc<RefCell<Common>>,
    remote_addr: Option<Rc<RefCell<Option<SocketAddr>>>>,
    buf_to_write: Option<Vec<u8>>,
}

// poll and try_nb! are somewhat like async/await...only the function continues from the start,
// not where it was interrupted.
//
// much easier to write than closures.

impl Future for SockToTun {
    type Item = ();
    type Error = TiTunError;

    fn poll(&mut self) -> Poll<(), TiTunError> {
        let mut common = self.common.borrow_mut();
        // Explicit deref_mut to get mutable references to disjoint fields.
        let mut common = common.deref_mut();
        loop {
            self.buf_to_write = if let Some(ref b) = self.buf_to_write {
                try_nb!(common.tun.write(b.as_slice()));
                None
            } else {
                None
            };

            let (l, addr) = try_nb!(common.sock.recv_from(common.buf.as_mut()));
            if let Some(p) = common.crypto.decrypt(common.buf[..l].as_ref()) {
                if let Some(ref r) = self.remote_addr {
                    let mut rr = r.borrow_mut();
                    if *rr != Some(addr) {
                        *rr = Some(addr);
                        info!("Peer address set to {}", addr);
                    }
                }
                self.buf_to_write = Some(p);
            } else {
                debug!("decryption failed");
            }
        }
    }
}

It is inspired by, and similar to, the echo-udp example, and io::copy::Copy.
But the loop may loop forever or for a very long period of time, if read or send_to do not block. In that case, other futures and tasks won't have a chance to run at all or for a very long period of time.
So, I'd like to ask, how to avoid this starvation problem? Or how to tell the event loop: “I am not finished, but give others some time”, i.e. how to implement “yield”?
Perhaps such a mechanism should be added to tokio-core? (Or futures? I'm not sure.)

Ah yeah so currently we don't have a first-class abstraction for this, but right now the best way to "yield" is to:
task::park().unpark();
return Ok(Async::NotReady)

That means you'll just be scheduled on the next turn of the loop

Alright. Thanks!
Please consider add an abstraction for this. And please consider incorporating this into constructs that use a naive loop, e.g. Forward, Copy, etc.
Otherwise feel free to close this issue.

Didn't noticed that there are already quite a few related issues on futues:

alexcrichton/futures-rs#177
alexcrichton/futures-rs#352
alexcrichton/futures-rs#353
alexcrichton/futures-rs#354

Closing.


Change CLI backend option to ValueEnum

Change the CLI to receive backends as a positional
argument with values listed in a ValueEnum.
Current '--help' output:
A virtio-sound device using the vhost-user protocol.

Usage: vhost-user-sound --socket <SOCKET> --backend <BACKEND>

Options:
      --socket <SOCKET>  vhost-user Unix domain socket path
      --backend <BACKEND>  audio backend to be used [possible values:
      null, pipewire, alsa]
  -h, --help             Print help
  -V, --version          Print version

If a wrong backend is given, it give hints:
$ cargo run -- --socket /tmp/sound.sock --backend nul
error: invalid value 'nul' for '<BACKEND>'
  [possible values: null, pipewire, alsa]

  tip: a similar value exists: 'null'

Add a test to verify (minimally) the backend argument.
Last commit adds rstest crate to have multiple cases in a parametrized test.
Last commit outputs:
running 4 tests
test tests::test_cli_backend_arg::case_2_pipewire ... ok
test tests::test_cli_backend_arg::case_3_alsa ... ok
test tests::test_cli_backend_arg::case_1_null_backend ... ok
test tests::test_sound_config_setup ... ok

test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

But if the dependency is not desired, the commit can be omitted.

Fixed the build issue by tweaking the conditional compilation of the cfg attribute for the match block:
        #[cfg(not(all(
            feature = "null-backend",
            feature = "pw-backend",
            feature = "alsa-backend"
        )))]
        _ => Err(Error::AudioBackendNotSupported),

Does not look great, but I couldn't come with a cleaner correct option. Hopefully it is ok though :)

Fixed the build issue by tweaking the conditional compilation of the cfg attribute for the match block:
        #[cfg(not(all(
            feature = "null-backend",
            feature = "pw-backend",
            feature = "alsa-backend"
        )))]
        _ => Err(Error::AudioBackendNotSupported),

Does not look great, but I couldn't come with a cleaner correct option. Hopefully it is ok though :)

What about as was before this series, I mean applying this patch:
diff --git a/crates/sound/src/audio_backends.rs b/crates/sound/src/audio_backends.rs
index bd13c37..dea74f9 100644
--- a/crates/sound/src/audio_backends.rs
+++ b/crates/sound/src/audio_backends.rs
@@ -17,13 +17,7 @@ use self::alsa::AlsaBackend;
 use self::null::NullBackend;
 #[cfg(feature = "pw-backend")]
 use self::pipewire::PwBackend;
-use crate::{device::ControlMessage, stream::Stream, BackendType, Result};
-#[cfg(not(all(
-    feature = "null-backend",
-    feature = "pw-backend",
-    feature = "alsa-backend"
-)))]
-use crate::Error;
+use crate::{device::ControlMessage, stream::Stream, BackendType, Error, Result};

 pub trait AudioBackend {
     fn write(&self, stream_id: u32) -> Result<()>;
@@ -64,11 +58,6 @@ pub fn alloc_audio_backend(
         Pipewire => Ok(Box::new(PwBackend::new(streams))),
         #[cfg(feature = "alsa-backend")]
         Alsa => Ok(Box::new(AlsaBackend::new(streams))),
-        #[cfg(not(all(
-            feature = "null-backend",
-            feature = "pw-backend",
-            feature = "alsa-backend"
-        )))]
         _ => Err(Error::AudioBackendNotSupported),
     }
 }

Okay, in this case we will have warning: unreachable pattern, so I think your solution is the only one available, or we should suppress the warn(unreachable_patterns)

Okay, in this case we will have warning: unreachable pattern, so I think your solution is the only one available, or we should suppress the warn(unreachable_patterns)

I think it might be better to suppress the warning for that line by putting a nice comment explaining why. Otherwise every time we add a backend we have to edit these lines.
WDYT?

I think it might be better to suppress the warning for that line by putting a nice comment explaining why. Otherwise every time we add a backend we have to edit these lines.
WDYT?

I was tempted of doing that as I was trying to make it work. But I wanted to present the other option first.
I think suppressing the warning is best for this case, it is justified and will make it more maintainable. Let's go for that!

Another option now that I think of it, is to have the enum variants conditional in the declaration.

Another option now that I think of it, is to have the enum variants conditional in the declaration.
Nah, it complicates the no-features case. But it may be a nice change if we ever tweak the compiler to use at least the Null backend in any case (if it is possible).
I'll leave it as is.

Another option now that I think of it, is to have the enum variants conditional in the declaration.

Do you mean in pub enum BackendType ?
It could make sense.
Should we also avoid the default?

Do you mean in pub enum BackendType ?
It could make sense.
Should we also avoid the default?

Yes, the BackendType. And yes, we would have to avoid the default. That would've been fine, but
also it would leave the enum with no values with no-features case. And that makes some parts of
the code unreachable...
Kindof a mess to fix. But also proves that is not a good idea to compile with no features I guess :)
Let's keep it in the back of our heads for the future.

Do you mean in pub enum BackendType ?
It could make sense.
Should we also avoid the default?

Yes, the BackendType. And yes, we would have to avoid the default. That would've been fine, but also it would leave the enum with no values with no-features case. And that makes some parts of the code unreachable... Kindof a mess to fix. But also proves that is not a good idea to compile with no features I guess :)

I'm start thinking the same :-)
So maybe we should always compile the null backend.
Disable it will save just few bytes, nothing more since it doesn't have any dependency.

Let's keep it in the back of our heads for the future.

Sure, feel free to open an issue here for tracking it.

Another option now that I think of it, is to have the enum variants conditional in the declaration.

Nah, it complicates the no-features case. But it may be a nice change if we ever tweak the compiler to use at least the Null backend in any case (if it is possible). I'll leave it as is.

However, I think it makes sense, partly because now we print all as possible values, even if not enabled.
$ cargo build --no-default-features --features=null-backend
$ target/debug/vhost-user-sound --socket /tmp/sock --backend gstreamer
error: invalid value 'gstreamer' for '--backend <BACKEND>'
  [possible values: null, pipewire, alsa]

For more information, try '--help'.

But I agree that we can do it later by removing the feature to disable null-backend to simplify the code.

However, I think it makes sense, partly because now we print all as possible values, even if not enabled.

Right, that is a good point.

But I agree that we can do it later by removing the feature to disable null-backend to simplify the code.

I don't mind handling this myself in a follow-up PR :)


Finalize electronic structure stack

Summary
This PR performs the final refactoring changes to the electronic structure stack before the 0.5 release.
Closes #851
Details and comments

removes the Property base class in favor of the SparseLabelOpFactory protocol
actually makes use of the Interpretable protocol
relocates data stored inside of the "properties" onto the ElectronicStructureProblem
switches the entire stack from num_spin_orbitals to num_spatial_orbitals (Closes #820)
aligns the signatures of ansatzes and initial_states (consistent argument ordering and now some keyword-only arguments)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

246 of 267 (92.13%)  changed or added relevant lines in 34 files are covered.
11 unchanged lines in 7 files lost coverage.
Overall coverage decreased (-0.05%) to 85.647%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit_nature/second_q/transformers/active_space_transformer.py
22
23
95.65%

qiskit_nature/second_q/problems/lattice_model_problem.py
2
4
50.0%

qiskit_nature/second_q/properties/protocols.py
14
16
87.5%

qiskit_nature/second_q/problems/electronic_structure_problem.py
48
64
75.0%

Files with Coverage Reduction
New Missed Lines
%

qiskit_nature/second_q/algorithms/initial_points/hf_initial_point.py
1
97.96%

qiskit_nature/second_q/algorithms/initial_points/mp2_initial_point.py
1
98.99%

qiskit_nature/second_q/transformers/active_space_transformer.py
1
92.11%

qiskit_nature/second_q/properties/angular_momentum.py
2
96.2%

qiskit_nature/second_q/properties/dipole_moment.py
2
95.12%

qiskit_nature/second_q/properties/magnetization.py
2
87.5%

qiskit_nature/second_q/properties/particle_number.py
2
87.5%

Totals

Change from base Build<PHONE_NUMBER>:
-0.05%

Covered Lines:
17030

Relevant Lines:
19884

💛  - Coveralls


MSPSDS-491: Move test to correct location

Pull Request Test Coverage Report for Build 615

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.6%) to 87.304%

Totals

Change from base Build 614:
0.6%

Covered Lines:
1004

Relevant Lines:
1150

💛  - Coveralls


The /toolclasses endpoints should not have UnitOfWork annotation

Feature Request
The v1 and v2 endpoints do not do database access, but have the UnitOfWork annotations.
V1 annotation is here.
V2 is in generated file, ToolClassesApi.java:
 @GET
    @UnitOfWork

    @Produces({ "application/json", "text/plain" })
    @io.swagger.annotations.ApiOperation(value = "List all tool types", notes = "This endpoint returns all tool-classes available ", response = ToolClass.class, responseContainer = "List", tags={ "GA4GH", })
    @io.swagger.annotations.ApiResponses(value = {
        @io.swagger.annotations.ApiResponse(code = 200, message = "A list of potential tool classes.", response = ToolClass.class, responseContainer = "List") })
    public Response toolClassesGet(@Context SecurityContext securityContext, @Context ContainerRequestContext containerContext, @ApiParam(hidden = true) @Auth Optional<User> user)
    throws NotFoundException {
        return delegate.toolClassesGet(securityContext, containerContext, user);
    }

This second one was mentioned in a PR comment -- would be worth verifying there are no other generated endpoints that don't need this.
┆Issue is synchronized with this Jira Bug
┆Fix Versions: Dockstore 2.X
┆Issue Number: DOCK-672
┆Sprint: Backlog
┆Issue Type: Bug

This one might be trickier than it is worth currently. At generation-time it doesn't look like swagger has any current way to determine which endpoints have database access (or for us to tell it).

Probably too difficult to be worth it


WebAssembly misc 0xC

This is the remaining items to get AngryBots 0xC to compile (haven't tested in browser yet).

Implement new Import section format
Implement new Table section format
Implement new Memory section format
Remove call_import opcode and detect if the call is an import from the function index
Remove arity from branch opcodes
Reimplement yielding value to blocks using block signature
Fix bug in call's argument ordering
Memory store instructions no longer yield a value
Remove loop tail label
Add implicit function label to allow top level branch
Added some minimal information in the compilation error message to help pinpoint problems in the source.

@MikeHolman @Krovatkin @arunetm @commonlisp Can you guys review this please ?

As I was fixing the unit tests, I stumbled unto some bugs and things missing to get them working. I have quite some unfinished work to go along with it.
I will close the pr for the time being until I get everything resolved.
@krovatkin I will look at your comments, some of which I already fixed

Since creating the review I added the following

Read Element section
Cleanup on the function index using api in the wasm module
Swap Unreachable opcode value with Nop
Update internal tests to 0xC


Added a contrib script that easies its starting up and checking if it works

Sorry, but I don't want a Python script.

OK, just place it somewhere where it'd be easy for users to find it.
BTW, the issue would have been solved if the functionality of this script was a part of the tool itself. There is a yet another proxy doing the same thing, which is also in go, and it has parsing of wireguard configs, but doesn't have socks support, you may want to join that project and increase the bus factor.

I update docs about the options compared to wg configuration file.
https://github.com/zhsj/wghttp/commit/b7740d309695dccabc42cfe65b3628eba45f4aac

The addition to docs is good, but it doesn't solve the usability issue: users download the wireguard config files from the services and want to use them as they are, not to mess manually with command line and shell scripts.

users download the wireguard config files from the services and want to use them as they are

It's intentional that only command line args and environments are supported. I intend to keep the configuration in one systemd service file, or one docker run command.

OK, you don't want to put the script anywhere in the repo. I duplicate it here and delete the fork.
#!/usr/bin/env python3

import argparse
import re
from pathlib import Path

ipRx = re.compile("User contributions for ((?:\\d+\\.){3}\\d+)")

PORT = 25344

p = argparse.ArgumentParser(description="wghttp starter script")
sp = p.add_subparsers(dest="cmd")
sp.add_parser("ip")

rp = sp.add_parser("run")
rp.add_argument("cfg", help="Path to config file", type=Path)

rp = sp.add_parser("emit")
rp.add_argument("cfg", help="Path to config file", type=Path)

def getIP(port: int) -> str:
	try:
		import httpx as http
	except ImportError:
		import requests as http

	return ipRx.search(
		http.get(
			"https://en.wikipedia.org/wiki/Special:MyContributions",
			proxies={
				"https://": "socks5://localhost:" + str(port),
				"http://": "socks5://localhost:" + str(port),
			},
		).text
	).group(1)

def envDictFromFile(cfgPath: Path):
	import ipaddress

	import wg_conf

	cfg = wg_conf.WireguardConfig(cfgPath)

	d = {}
	d["DNS"] = "<IP_ADDRESS>"
	d["LISTEN"] = "localhost:" + str(PORT)
	d["EXIT_MODE"] = "remote"  # local

	d["PRIVATE_KEY"] = cfg.interface["PrivateKey"]
	d["CLIENT_IP"] = str(ipaddress.ip_interface(cfg.interface["Address"]).network_address)

	p = next(iter(cfg.peers.values()))
	d["PEER_KEY"] = p["PublicKey"]
	d["PEER_ENDPOINT"] = p["Endpoint"]

	return d

RUN_COMMAND = ("./wghttp", "-v")

def startProxy(config: Path, port: int) -> int:
	import os
	import subprocess

	os.environ.update(envDictFromFile(config))

	return subprocess.call(RUN_COMMAND)

def emitBashScript(config: Path, port: int):
	print("#!/usr/bin/env bash")
	for k, v in envDictFromFile(config).items():
		print("export", k + "=" + v, ";")

	print(" ".join(RUN_COMMAND))

if __name__ == "__main__":
	args = p.parse_args()
	if args.cmd == "ip":
		print("My IP:", getIP(PORT))
		exit(0)
	elif args.cmd == "run":
		exit(startProxy(args.cfg, PORT))
	elif args.cmd == "emit":
		emitBashScript(args.cfg, PORT)
	else:
		p.print_help()
		exit(1)


Loosing vertex around?

Versions:
ArangoDB: 2.7.7
Gremlin: 2.6.0
blueprints-arangodb-graph: 1.0.14
I can not locate a vertex from within gremlin, which I can retrieve in the web GUI:
From the GUI I filter as:

From gremlin I query (searching by attribute wo/key) as:
g.V.has('freebaseid',<PHONE_NUMBER>4948).next().id
Raised exception:
javax.script.ScriptException: com.tinkerpop.pipes.util.FastNoSuchElementException
Full stack trace: http://pastebin.com/61iPnkBW
Relevant points:
13:32:19.129 [main] DEBUG com.arangodb.http.HttpManager - [REQ]http-POST: url=http://arango:8529/_api/cursor, headers=null, body={"count":false,"batchSize":20,"options":{},"query":"for i in GRAPH_VERTICES(@graphName , @vertexExample, @options) FILTER i.`freebaseid` \u00
3d\u003d @property0 return i","bindVars":{"property0":68545795554948,"vertexExample":{},"graphName":"mysuperdb","options":{"direction":"any","includeData":true}}}

com.arangodb.blueprints.client.ArangoDBException: org.apache.http.NoHttpResponseException: The target server failed to  respond
--- cut ---
Caused by: org.apache.http.NoHttpResponseException: The target server failed to respond

Could someone please help me figuring out what's happening here?
** Previously posted in blueprints-arangodb-graph#25 ... 24 days of silence.

Problem fixed in version 1.0.15 of the blueprints-arangodb-graph driver.


docs: drop toml dependency from development.rst

toml has been replaced by tomli and tomli-w. The latter is not needed to get a development installation and the former is either available as a standard library (as tomllib), or vendored from flit itself. Either way, no toml-related installation is necessary.
Inspired by a suggestion by Joe Drumgoole<EMAIL_ADDRESS>
This is a follow-up on #480 :smiley:.

Thanks!


Tracking: artifacts when rendering stroked paths with pdf.js

Description
When rendering curved paths, these strange wisps sometimes show up:

This seems to only occur when viewing the pdf using pdf.js in (specific versions of?) Firefox.
Overriding typst's default behavior of using mitered path joins mitigates this issue.
example code (using typst-canvas):
#import "canvas.typ": canvas

#canvas({
  import "draw.typ": *
  // remove the explicit stroke settings to cause artifacts
  bezier((0, 0), (2, 0), (1, 1), stroke: (join: "round",))
  bezier((0, -1), (2, -1), (.5, -2), (1.5, 0), stroke: (join: "round",))
})

Reproduction URL
No response
Operating system
Linux
Typst version

[X] I am using the latest version of Typst

see also: https://github.com/mozilla/pdf.js/issues/16619

given the discussion https://github.com/mozilla/pdf.js/issues/16619#issuecomment-1677078317 it seems that this is a firefox issue, which is not fixable within pdf.js. And so the issue is closed.
In this case, it seems to me that this problem should not be possible for typst to fix, nor it should be the duty/responsibility for typst. I suggest closing this issue.

In this case, it seems to me that this problem should not be possible for typst to fix, nor it should be the duty/responsibility for typst. I suggest closing this issue.

I would disagree here. I think this could severely hinder adoption of Typst and therefor Typst should try to work around it at least until the bug is fixed in the oldest still supported Firefox Extended Support Release (ESR) version.
No one wants to typeset a professional document, possibly a scientific paper or thesis, only to then have it completely broken for a not insignificant part of the audience, which could possibly include reviewers.
The bug fix in Firefox seems to be scheduled for Firefox 119 (having missed the cutoff date for 118).
The current version of Firefox is 117 and the current ESR version is 115, which will be supported for around another year, at which point the workaround could probably be dropped.
In suggesting this I'm assuming that a workaround would be possible and not to costly, which I think is a fair assumption, as I've never encountered this bug in Firefox before and have used it as a pdf reader for multiple years. Similarly no-one seems to have reported this bug to Firefox before, until a Typst user found it.
Here is a screenshot from the CeTZ manual to show just how broken a document can look with just some graphs inserted:

If there's a good workaround, I would be totally fine with merging it. I won't have time to look into this myself though.

The bug fix in Firefox seems to be scheduled for Firefox 119 (having missed the cutoff date for 118).
The current version of Firefox is 117 and the current ESR version is 115, which will be supported for around another year, at which point the workaround could probably be dropped.
In suggesting this I'm assuming that a workaround would be possible and not to costly, which I think is a fair assumption, as I've never encountered this bug in Firefox before and have used it as a pdf reader for multiple years. Similarly no-one seems to have reported this bug to Firefox before, until a Typst user found it.
Here is a screenshot from the CeTZ manual to show just how broken a document can look with just some graphs inserted:

Thank you for putting it in necessary context. Now after reading it, I begin to think that we should figure out a workaround in typst, otherwise it might remain unsolved for a long time.  I will try to take a look.
Meanwhile we need reopening the issue for tracking.

Would setting the default stroke join to round or bevel and adding a warning to the docs where the miter option is listed an acceptable solution?
The bug seems to only affect mitered paths.

@reknih

Here is my discovery:

The artifact can be reproduced. I tested multiple version of firefox, and have tweaked the typst and typst-canvas version (by commit id) for the last two months. The artifact can be observed.
The problem is indeed related to miter, but not necessarily just bezier curve. As ultimately a curve is passed down as a collection of line segment and then joined together, the artifact can also be observed when we write down a series of line segments, as in the case of typst-canvas plot.

#canvas({
  plot.plot(
  size: (3,3), x-tick-step: 1, axis-style: "left", {
    for i in range(0, 1) {
      plot.add(domain: (-4, 2),
        x => calc.exp(-(calc.pow(x + i, 1))),
        fill: false, style: tango,
        )
    }
  })
})

So this means just tweaking the default option for bezier curve is not enough.
I found that a simple solution would be setting the default miter limit value to a small value that, almost certainly, we would exceed the miter limit and then trigger bevel for the line segment join. This should be a straightforward work around. As see in PR #2116
And then it would be fixed

I think for this bug, we will need input from different users in their respective platforms. So I suggest @freundTech @alexneufeld as well as people familiar with the typst-canvas repo @johannes-wolf (for the broken typst-canvas/manual.pdf in firefox as in the example above) to double check that the change actually fixes the problem.

@LuxxxLucy Setting a miter-limit only fixes the "ray" artifacts, but in your example picture line endings are also rendered wrong.

@LuxxxLucy Setting a miter-limit only fixes the "ray" artifacts, but in your example picture line endings/caps are also rendered wrong. (I personally suggest doing nothing and wait for Firefox to release their fix).

Oh sorry, This is because I tweaked the cetz code a little that I removed. I reverted those changes and now the images has been updated.

Another way to fix the ray artifact in the cetz manual is that we can increase the number of samples in plot from 100 to say, 10000, in this way we implicit makes it break the miter limit and thus would trigger bevel. But I am afraid that would not be a neat solution....

Setting a miter-limit is problematic, esp. if it is small. Everything < sqrt(2) will give bad rectangular joins which is not acceptable I think.

After playing around with miter-limit, I begin to realize that this is indeed problematic that the visual result becomes very different.

According to https://bugzilla.mozilla.org/show_bug.cgi?id=1841020 this is now fixed in Firefox nightly.


Use proper bash config files

Currently, the state of .bash_profile, .profile, and .bashrc is not set up properly as per man bash. Needs fixed.
Implementing #2 will greatly aid this process, as config files can source the appropriate files when needed.

See this discussion on StackOverflow for some tips

Also useful if wanting to source bash-only files from .profile


Adding a new type of Channel

Hi,
How to add a new type of channel. I call as FileSystem Channel, that works like TCP or UDP channel but does not make any active connections.
I have implemented the Constant value plugin that reads data from CSV file, but I am forced to use a TCP type connector and I cannot seem to use a Blank (Other) type channel.
Do you have any suggestions?
I added the following file to ThingsGateway.Foundation.csproj but it does not appear in my Channel options.
FileSystemSession.zip
Regards
Ajay

通道类型选择other，区别是插件init方法中传入的channel参数为null，这不影响你的实现目的

Thanks. Let me try

In this case, there will be only a one time read at loading time.
If I use a dummy TCP channel as a channel that enables periodic read and write, I am able to have more interaction with variables.
How can we achieve this with a dummy (other)  type channel?
How to add a new type of channel with no connectivity but timer based read and write

1、public override Init

In this method, initialize the connections you need, such as CSV file paths, encapsulated objects, etc. This method will only be executed once during the plugin lifecycle

2、protected override ProtectedExecuteAsync

In this method, perform the read operation you need, and the method will execute infinitely (serially) throughout its lifecycle. Please note that the interval between each execution is the minimum interval (default is 10ms)

3、example

Check the non subscription mode in the OPCUAMaster plugin, this is the same operation


Include Geo Location Information in Exif Tag

[x] I have verified there are no duplicate active or recent bugs, questions, or requests
[x] I have verified that I am using the latest version of Material Camera.
[x] I have given my issue a non-generic title.

Feature Request

I have test your library with different devices, I have observed exif information is preserved when saving image. I would like if you can include Geo tag information as well just like default camera application does, If location is on "They include Geo tag information in exif, If location service is disabled Geo tag information is null.

Include Location permission to accommodate Geo location exif tag

This seems reasonable, although adding an additional permission might hurt the experience a bit. I think @afollestad would probably need to weigh in for this to be something worth following up on.


feat(geometry): Add extrude geometry feature

Add extrude geometry class,
Add 3 conduit demos base on extrude geometry.

thank you for submitting. this model extension can do many functions now


Automatically Install Required SDKs based off of selection from West Init

Currently users need to manually select the SDKs they want to install.
Strategy could be install full or only selective SDKs depending on what the user has selected when doing a west init.

Added the ability to install multiple SDK at once in prerelease v1.0.33.

@rpiper Would you be able to test the new prerelease version? It has the ability to install multiple SDKs at once. In addition I have added a feature to use a global zephyr install (that is in the same directory the toolchains are stored in). I am most concerned if workspaces will upgrade smoothly to the new version. (After upgrading you may not be able to downgrade without reinitializing the workspace)


Allow to filter queries by child entity

#2960
Given the schema:
type Purpose @entity {
  id: ID!
  sender: Sender!
  purpose: String!
  createdAt: BigInt!
  transactionHash: String!
}

type Sender @entity {
  id: ID!
  address: Bytes!
  purposes: [Purpose!] @derivedFrom(field: "sender")
  createdAt: BigInt!
  purposeCount: BigInt!
}

The sender_ is added to Purpose_filter input object.
input Purpose_filter {
    ...
+  sender_: Sender_filter
}

The Sender_filter input object is untouched.
Example
query {
  purposes(
    where: {
      purpose_contains: "...",
      sender_: {
        id: "..."
      }
    }
  ) {
    id
    sender {
      id
      purposeCount
    }
  }
}

select
  'Purpose' as entity,
  to_jsonb(c.*) as data
from
  (
    select
      c.*
    from
      "sgd1"."purpose" c
    where
      c.block_range @ > $ 1
      and c."purpose" like $ 2
      and (
        exists (
          select
            1
          from
            "sgd1"."sender" as i
          where
            c."sender" = i."id"
            and i."block_range" @ > $ 3
            and i."id" = $ 4
        )
      )
    group by
      c.id
    order by
      c."id"
    limit
      100
  ) c

Child filters are limited to be only 1 level deep, so no Child(Child(...)) and this pull request DOES NOT implement a support for interface types.
Continues #3022

Could you rebase this to latest master when you get a chance?

@lutter done! :)
Note that this PR is only for filtering, for sorting we have this one: https://github.com/graphprotocol/graph-node/pull/3096 (targeted into this PR, not master, and @kamilkisiela had some questions there before proceeding).

This is good to go - there's one small thing around how the commits are structured/named: see this for how we usually do that. With this PR, it might be best to just squash everything into a mega commit all: Add child filters

@lutter I squashed all commits and renamed it

@kamilkisiela @lutter and anyone else involved in this PR. Kinda late to the party on this one, but I'd like to offer a HUGE thank you for getting this in the the graph-node. It's just such an amazing boost to querying. Thank you!!


Datatable Or Tables Or Datagrid

I have been searching in the internet the perfect Datagrid that matches Fluent ui i did not get

Duplicate of #127


Add a nightly build process

Improve daily testing/checks. (e.g. assists with parts of the project like proofs)

Publish builds to Test PyPI (https://test.pypi.org/)

Reopening because sanity-test is pulling from TestPyPI instead of PyPI.


org.postgresql.util.PSQLException: ERROR: operator does not exist: status_enum = character varying exception after migrating Spring 3 with Hibernate 6.3.1

@vladmihalcea Earlier I was using  hibernate-types-52 library to support for PostgreSQLEnumType with Hibernate @TypeDefs. But after migration, hypersistence-utils-hibernate has been updated to support Postgres custom enum datatypes.
(looking for a solution and by referring to this ticket:-  https://github.com/vladmihalcea/hypersistence-utils/issues/514)
@Enumerated(EnumType.STRING)
@Column(columnDefinition = "status_enum")
@Type(PostgreSQLEnumType.class)
private Status status
exception getting - Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: status_enum = character varying_
And if I am lowering the hibernate version to 6.2.9, then getting the exception.
Caused by: org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: wrong column type encountered in column [status] in table [user]; found ["status_enum" (Types#VARCHAR)], but expecting [status_enum (Types#OTHER)]
Attaching ticket opened with hibernate team - https://discourse.hibernate.org/t/cannot-invoke-org-hibernate-boot-spi-metadatabuildingcontext-getmetadatacollector-because-this-metadatabuildingcontext-is-null/8298
Please suggest to resolve this issue or let me know if I missed any steps.

Hibernate 6.3 support should be implemented via #657.
If you need this feature, then you should definitely send me a Pull Request with the fix. I won't have the time to implement it, but I could review it when you are done.


Disable ripper in TruffleRuby due to slow performance

From comment:
https://github.com/rspec/rspec-metagem/issues/68#issuecomment-1098037326

I think we should disable the usage of Ripper by RSpec for TruffleRuby, in practice it seems currently very slow (seconds of pause just before showing errors & backtraces) and so it hurts the user experience a lot more than help.

cc @eregon

Thanks


Disable filter queries unless LLM infers things

This change is safe to disable because neither our landing page queries, nor our demo queries rely on filter.

Thanks!


Bond improvements

Following simple patches introduce 3 options for defined resource network::bond{ }.

hotplug which is propagated to bond interface (user usually wants to set to non-default false)
options which is merged with bonding options (user can use it to set additional options on bond interface, e.g. disable network manager or set bridge interface for more advanced configuration)
slave_options which is merged with MASTER/SLAVE options on bond slave interfaces

For example on Red Hat I can now easily disable Network Manager on all interfaces and set bridge over bond and also disable hotplug, which doesn't have sense for these interfaces:
network::bond { 'bond0':
  ensure  => present,
  onboot  => 'true',
  hotplug => 'false',
  slaves  => ['ens1f0','ens1f1'],
  mode    => 'active-backup',
  options => {
    'BRIDGE'        => 'br0',
    'NM_CONTROLLED' => 'no',
  },
  slave_options => {
    'NM_CONTROLLED' => 'no',
  },
}

Looks sane to me. @jhoblitt @ffrank @igalic ?

@adrienthebo At first glance, this looks good to me too.  Someone should still test it before merging... we really need acceptance tests in-tree.

@nibalizer ping. do you have acceptance tests infra somewhere?

@igalic I do. (We do.) But this module doesn't have acceptance tests.

oy ~_~


restore license file

when the new master branch was created, the LICENSE file was not brought along. This copies it from old master.

Changed.  lgtm if others approve. :coffee: :+1:

@ramereth Look good?

:+1:


AWS EBS Snapshot logic

I have used a large chunk of the current logic to implement backups using AWS EC2/EBS block level snapshots and am releasing it under the existing Apache Licence.
I'm just raising this issue as an FYI in case it is useful for development/adaptation or inclusion in future releases.
Documentation can be found here with AWS specific logic in pl_mongo.Backup.AwsSnapshot

Duplicate of #19. Please see this issue for updates.


NF_ERROR_FAILURE with onload in Firefox but not other browsers

I think this is a bug. My sketch runs fine on Konqueror and Chromium but in Firefox, the Inspector reports this error:
NS_ERROR_FAILURE: p5.js:65186
    _applyDefaults https://www.<my-website>/p5/p5.js:65186
    createCanvas https://www.<my-website>/p5/p5.js:66805
    _setup https://www.<my-website>/p5/p5.js:63025
    _runIfPreloadsAreDone https://www.<my-website>/p5/p5.js:62986
    _decrementPreload https://www.<my-website>/p5/p5.js:62995
    s https://www.<my-website>/p5/addons/p5.sound.js:3550
    onload https://www.<my-website>/p5/addons/p5.sound.js:3589

Intended behavior
Canvas should show my sketch.
Actual behavior
Canvas is blank but clicking it starts playing the sound file (as it should, with my code).

@gevhaz  can you please provide some more code details, it would give a more clear idea  on tracing the bug !

Thanks for the reply. Unfortunately, I can no longer reproduce the error. I don't think I've made any changes to my sketch so it was likely a problem with my own web page or the Firefox cache or settings.
Closing because I can no longer reproduce.


[SPARK-10431][ Spark Core ] Fix intermittent test failure. Wait for event queue to be clear

Can one of the admins verify this patch?

Although I'm not so familiar with this, seems reasonable to me.

Test build #1717 has started for   PR 8582 at commit 3f8f21d.

Test build #1717 has finished for   PR 8582 at commit 3f8f21d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

I see the test failure is https://issues.apache.org/jira/browse/SPARK-9869 which I'm sure is not related to this pull request.
Ironically, looking at SPARK-9869 it looks like it could be a very similar issue to this fix, ie waiting for the listenerBus is empty before the asserts!

Agree, let's see what happens on a second run here.

Test build #1718 has started for   PR 8582 at commit 3f8f21d.

Test build #1718 has finished for   PR 8582 at commit 3f8f21d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

retest this please

Merged build triggered.

Merged build started.

Test build #41978 has started for   PR 8582 at commit 3f8f21d.

Yup, LGTM. In the specific test you reported in the JIRA we ran a job before calling runAndReturnMetrics, so it makes sense to ensure the queue is empty before running the thing we actually care about.

Test build #41978 has finished for   PR 8582 at commit 3f8f21d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/41978/
Test PASSed.

Merged into master 1.5


db: Add payment_cred column to tx_out

@SebastienGllmt Please validate that this works as requested.

Converted this to a draft so I do not merge it accidentally.


Crash when trying to access records

It responds really slow when sliding on the listview and moreover, when it reaches the 26th piece of record, the application crashes. Same problem doesn't disappear after rebooting the phone or reinstalling the application.
Since I have no idea about debugging an Android application, I just exported the crash log.
I'm currently using MI6 running MIUI10 9.7.11 Beta(Android version 9) and GreenDragonfly v1.1.3.
Here is the log exported
Anyway, thank you for you time.

Thanks for reporting this. It seems that the error occurred when the app was trying to decrypt the record data stored in the database found the data corrupted. I've got a similar report from one of my friend. But unfortunately I'm unable to reproduce this issue on my Android 9 and 10 phones and I have no idea why the data got corrupted. Currently I'm considering catch this exception and automatically delete the corrupted records.
For now if you want to continue to use the app you can just uninstall and then reinstall the app. All of your records will be lost but the upload counter will be properly kept on the school's server.

Sorry for making such mistake that I didn't reinstall the app correctly.
The problem have been solved by uninstalling and reinstalling.
Again, thank you for your effort.

BTW, as for the slow scrolling problem, it seems that it is because the decryption result isn't cached and gets re-calculated every time a record is accessed. A fix will be released soon.


Fix the FhirTransformer conversion error.

User Story
As a ReportStream engineer I want the code to not consistently throw errors.
Description/Use Case
When running a message through the pipeline, we are now consistently seeing errors like
15:23:27.591 [pool-2-thread-17][40] ERROR gov.cdc.prime.router.fhirengine.translation.hl7.FhirTransformer - Conversion between boolean and boolean|dateTime not yet implemented.
This was introduced in this pr https://github.com/CDCgov/prime-reportstream/pull/12560 for context.
Risks/Impacts/Considerations
Dev Notes
It is believed that this is coming from using [x] on the bundleProperty and the conversion library doesn't know what type it is, but if we don't set the [x] the library can't find the property
ex. - name: sr-patient-deceased-indicator-default
condition: '%resource.deceased.exists().not()'
resource: 'Bundle.entry.resource.ofType(Patient)'
bundleProperty: '%resource.deceased[x]'
value: [ 'false' ]
Acceptance Criteria

[ ] These piped | cases are handled without an exception being thrown.

Hey team! Please add your planning poker estimate with Zenhub @brick-green @jack-h-wang @jalbinson @JessicaWNava @JFU-NAVA-PBC @jimmyfagan @mkalish @thetaurean


Add External Dependencies to Open-CE Env Files

If we add external dependencies to the open-ce env file, the compatibility of those versions and all the internal dependencies can be verified.
This is a step towards facilitating the creation of custom environments with packages outside the scope of Open-CE.
My idea is to add another section to the yaml files. Something like:
imported_envs:
  - pytorch-env.yaml
  - tensorflow-env.yaml

{% if build_type == 'cuda' %}
channels:
  - https://public.dhe.ibm.com/ibmdl/export/pub/software/server/ibm-ai/conda/
{% endif %}

packages:
  - feedstock : horovod
  - feedstock : openmpi

external-packages:
  - package1 1.2
  - package2 2.3

This looks good.
Do we want to be able to specify which channel an individual external package is coming from? Or just allow conda to look for it in any of the specified channels?

These external packages are meant to be just installed as dependencies before the build. Right?

@npanpaliya These are really only meant to be used for validation purposes. This will allow users to ensure that external dependencies that they rely on are compatible in the environment file. They will never be installed during the build process.
These will also be used in the generation of the env file in #45.

@bnemanich

Do we want to be able to specify which channel an individual external package is coming from? Or just allow conda to look for it in any of the specified channels?

The explicit spec file can have packages specified by the full path, as below. So we may be able to do something like that:
# This file may be used to create an environment using:
# $ conda create --name <env> --file <this file>
# platform: osx-64
@EXPLICIT
https://repo.anaconda.com/pkgs/free/osx-64/mkl-11.3.3-0.tar.bz2
https://repo.anaconda.com/pkgs/free/osx-64/numpy-1.11.1-py35_0.tar.bz2
https://repo.anaconda.com/pkgs/free/osx-64/openssl-1.0.2h-1.tar.bz2
https://repo.anaconda.com/pkgs/free/osx-64/pip-8.1.2-py35_0.tar.bz2


unable to join chat

Challenge Change Text Inside an Element Using jQuery has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

jQuery Playground

#left-well

        <button class="btn btn-default target" id="target1">#target1</button>
        <button class="btn btn-default target" id="target2">#target2</button>
        <button class="btn btn-default target" id="target3">#target3</button>

#right-well

        <button class="btn btn-default target" id="target4">#target4</button>
        <button class="btn btn-default target" id="target5">#target5</button>
        <button class="btn btn-default target" id="target6">#target6</button>

i am unable to join chat and having problem solution

@lynnbennett you need to look at the current text within the target4 element and change it so it is emphasized. Right now, you're adding  jQuery Playground instead of what is preexisting.
Can you explain on what you are experiencing when trying to join the chat?

@erictleung Why did you add the blocked label?

@lynnbennett we put that label there whenever we're waiting for a response from either the original poster or someone on our team. Sorry if it alarmed you in any way.

I have the same problem with chat if I try to sign in with github for discussion. But this only happens when I'm on FreeCodeCamp page, but when I open chat in a new window, it works alright.

@Dayfiri ah so you're having issues while you're using the Gitter side chat within the FreeCodeCamp website? I haven't had any issues with it. Can you share screenshots of what kind of error or issue you come across when you open the chat within the FreeCodeCamp page? Thanks!
@lynnbennett are you experiencing a similar issue with the FreeCodeCamp page or are having issues on the www.gitter.com website?

This is the first image where chat is open and going. Note I'm signed on FCC page but not in gitter chat.

This is second image where I'm trying to "start chatting" with my github account

And this is the third image where that shows what happens after I click to join chat with my github account. It looks like 1. image ? Well it is not because after applying for chat log in, nothing happens and I'm on starting page.

@Dayfiri thanks so much for those very informative screenshots. That is very odd. I signed out of Gitter while being signed into FreeCodeCamp to reproduce your first image. I got to where you sign in with GitHub. I successfully signed in with GitHub and was able to get to chat again. I'm assuming that @lynnbennett is going through the same issue of unable to sign into the side bar chat.
tl;dr I was unable to reproduce your entire experience.
@Dayfiri what happens if you sign out of Gitter, sign into Gitter through another window you've created, and then return back to FreeCodeCamp? Are you still signed in? Or signed back out?

@erictleung After login in on gitter page in a new window, I went back to Free Code Camp page. I signed out and signed in. Chat still ain't working, but this time I logged in with twitter account and same problem occurs.

@Dayfiri twitter login + gitter is not supported on FreeCodeCamp chat rooms.
Please try this:

Logout from Github.
Logout from FreeCodeCamp.
Clear your browser cache, cookies.
Retry.

Let us know if the problem persists.

@raisedadead I cleared everything in Firefox dev version 51 that I use. Chat only works if I open it in a new page and then log in. If I try to login from FreeCodeCamp page it always returns me to the beginning. I tried the same thing in Opera browser and it works alright.

Hello world

Okay thanks it needed checking for meeting up to date with the new

Hey @Dayfiri sorry about the issue you are facing, unfortunately, firefox dev is a non-standard browser, where changes are pushed to it on a nightly basis if I am not wrong.  And this looks like a very weird case.
I agree this is an inconvenience, but the thing is we do not do any additional configuration for the authentication for the login into Gitter. It's a sidecar page that's entirely provided by Gitter and is simply integrated into Free Code Camp, as an iFrame.
You may try opening the developer console for your browser and then, look at any errors especially CSP related logs popping up there.

@raisedadead
I checked console log when trying to log in into gitter chat while on Free Code Camp web page.
This is the error displayed:
downloadable font: Layout: tags aren't arranged alphabetically. (font-family: "fontello" style:normal weight:normal stretch:normal src index:1) source: https://cdn02.gitter.im/_s/e70b2ef/fonts/fontello/font/fontello.woff2?93021818

@Dayfiri thanks for the logs, it's definitely not the fonts. maybe the first warning is worth looking into.

nice

Closing as decayed. Please comment if you are still facing this?


When Trying to run the demo project got attached error

I have tried to follow the tutorial and it turns out that when deploying to quest 2, controllers were disabled.

That would suggest using the demo with an older version of the plugin. Try getting the latest pre-release from the releases page and see if that solves your issue

Just tried running the demo in Godot 3.5.1 and encountered the same problem as masudme09, no matter whether I use the latest openxr-plugin release (Godot OpenXR 1.3.0) or the latest pre-release (Automatic build for changeset b7dcedd)...
Any further ideas?
Cheers --
Torsten

To fix this on Windows you need to download the precompiled binaries from here and place both DLLs from the zip file (found in godot_openxr_1.3.0\addons\godot-openxr\bin\win64\) in the addons\godot-openxr\bin\win64 folder.

To fix this on Windows you need to download the precompiled binaries from here and place both DLLs from the zip file (found in godot_openxr_1.3.0\addons\godot-openxr\bin\win64\) in the addons\godot-openxr\bin\win64 folder.

Thanks, I'll try this as soon as I'll find time to play around with Godot again. I'll also try to figure out if there's a similar fix for Linux.
Cheers --
Torsten


Mozilla winter of security doesn't seem to be offered much longer

From what I can see online, it seems to have stopped around 2017.

Noted


A few questions

First .. this is amazing! Easy to setup and use :)
Big Thank you!
I do have 2 questions:

Is the state bugged ? I have a container that is stopped and the state shows Running, while the status is Exited ... (img below)
I woudl like to connect to another docker instance, and I see the setup in config .. seems easy .. but what do I need to do on the other machine to allow the connection ? Any guide / what to look for ?

https://imgur.com/kLMkOV1

Any update on this one? otherwise lets close it.

Yes, I belive this came from the fact I used a button-card and when clicking on it "kind of" ruined something ... isn't that state read-only ?


App Registration and SMART on FHIR docs

This may be a duplicate PR but at least you can see the SMART on FHIR doc.

@zxue I also added that document when I add the app registrations. Please review the new documents and then propose any updates/edits from there. Ivan and I made some changes.
https://github.com/microsoft/fhir-server/blob/master/docs/SMARTonFHIR.md
https://github.com/microsoft/fhir-server/blob/master/docs/Register-Resource-Application.md
https://github.com/microsoft/fhir-server/blob/master/docs/Register-Client-Application.md


Refactoring persistence

PR Checklist

Please check if your PR fulfills the following requirements:

[x] All new classes have class-level documentation comments, if there are any at all
[x] Tests for the changes have been added (for bug fixes / features)

PR Type

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Refactoring (no functional changes, no api changes)
[x] Build related changes
[ ] CI related changes
[x] Documentation update
[x] Other... Please describe: Refactoring with breaking API changes

Refactoring of the persistence integration. Main goal was to make it easier to follow the synchronization logic when navigating the code base. For example, all synchronization in regards to the campaign map party movement is handled in MobilePartySync which in turn is instantiated right inside the patch definition of CampaignMapMovement.
ISynchronization
Provides an interface for all broadcasting implementations. A default implemenation of the interface is provided in CoopClient.Synchronization. It can be used to issue an RPC:
CoopClient.Instance.Synchronization?.Broadcast(methodId, instance, args);

CoopManaged
Offers an easy way to hook into TaleWorld objects and extend them with arbitrary data and patches. The usage of CoopManaged is optional, for most use cases a regular harmony patch is easier. A CoopManaged patch is configured statically using the constructor. A usage example can be found in CampaignMapMovement that handles all party movement on the world map.
CoopManaged patches that enable AutoWrapAllInstances will get automatically attached whenever an object of the managed type is either constructed or initialized through the object manager. See ObjectManagerAdapter for the lifetime hooking. Lifetime implementation exist for all MBObjectBase and Campaign.
Improved debug ui
The debug UI now has a section "Harmony patches" that displays information about every patch that was registered through any harmony instance. For ISynchronization implementations based on SyncBuffered, the outgoing command history is automatically recorded. The command history can be viewed an replayed using the UI.

Other information

I'm aware it's way too much code to actually review... But a good starting point to get a feel for it is Coop.Mod.Patch.MobilePartyPatches.


UserManager.FindByName() - UserManager.FindByEmail()

This may be more of a question than an issue, but I ran into an issue where I need to find a user for a given tenant using their username and/or email. It appears the Find methods for the UserManager may not be filtering on the TenantId. Am I missing something? If not, any other way to find a user based on username or email w/ a Tenant filter?

@wjchristenson2 I've just updated the readme to add a How to use multi-tenancy section, does that help in any way?

The documentation snippet you added is helpful. The issue was on my end and you can close the ticket. Explanation below.
I was debugging/flipping between tenants (localhost). I have the same username/email on two tenants. I had a routine which checks for uniqueness of username when managing accounts which used the UserManager.Find methods coupled with the currently logged in userId. I forgot to logout of the old tenant before testing the new resulting in a situation which appeared that the .Find() methods where not using the TenantId. However, the routine was using the userId of the wrong tenant which threw off the dup logic.


Fixed, issue#961: Footer in dark mode is not visible in blog page.

Pull Request Template

Please provide all of the details below. Pull requests missing any of the information below will be closed!
Providing the issue number/url helps us identify the problem being solved and keep the issues tab clean and tidy

What issue does this fix?.
Summarize what this PR fixes:-
< Detail what your PR changes/fixes >
What ISSUE NUMBER does this fix?
Fixes #
#961
Checklist
(Add an x between the brackets to check the items)

[x] I have summarize what this PR fixes above
[x] I have provided the issue ID/URL above
[x] I have not added Bootstrap or jQuery and used correct styling guide.
[x] This PR fixes only the issue mentioned above (create separate PRs for separate issues)
[x] #961  I was the first one to claim the issue or I created the issue - I created the issue

There is a conflict in the blog page if you could take a look at that please.


Add simon game in web devlopment folder.

Can you add hacktoberfest tag please

Can you add hacktoberfest tag please

You need to work on this issue. Tag will be added once you make your valid PR.

I have made a PR , have a look over it Please.

Hey @SR-Sunny-Raj  can you assign this task to me under Hacktober2022.


Code42 wasn't able to upgrade but will reattempt in an hour...

Keeps getting an error message about code42 failing to upgrade.
I read about your comments on https://github.com/jlesage/docker-crashplan-pro/issues/59. Does that mean I can ignore the fail to upgrade message? I also got email from code42 saying that my files haven't been backed up in 3 days...that's different from what I saw on my end. Don't know why it happens. My iphone app says my last backup was 1.2 months ago but it shows my recent backups.
Any suggestions? Thanks!

Just update your container image:
https://github.com/jlesage/docker-crashplan-pro#docker-image-update

Thanks Jocelyn. Now I have problem to access the web interface.

How do you started the container (what is your docker run command)?

I created a container using the NAS docker wizard as you mentioned in the other thread (https://github.com/jlesage/docker-crashplan-pro/issues/34). I don't quite know how to add multiple folders and set the mount path using the command line. I can try again using the docker run command if that's what you suggest.

You have a Synology NAS?

Yes. Now I'm getting exceeding inotify max user watches error. Not quite sure where to change the setting.

Find the CODE42 article.  Make the changes on the host, not in the container. Note that if you are using a Synology, then there is a different location for the sysctl.conf file.  It is in /etc.defaults.
You should also note that if you are seeing the pop-up message box issued in the UI, it's not always an issue with the number of files. It's possible that permissions can cause an error when CrashPlan is registering to watch files. To be sure check the CrashPlan log files for the specific error code.  CrashPlan support can help determine the specific problem.
Tom Hebert
480-788-6601
From my phone, so this message may be more terse than normal

From: satoribeans<EMAIL_ADDRESS>Sent: Tuesday, March 13, 2018 11:04:11 AM
To: jlesage/docker-crashplan-pro
Cc: Subscribed
Subject: Re: [jlesage/docker-crashplan-pro] Code42 wasn't able to upgrade but will reattempt in an hour... (#65)
Yes. Now I'm getting exceeding inotify max user watches error. Not quite sure where to change the setting.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/jlesage/docker-crashplan-pro/issues/65#issuecomment-372762470, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHjxRjlrpnPpqIHHxQS9N50VkPhpADesks5teAoagaJpZM4SlxNw.

See https://github.com/jlesage/docker-crashplan-pro#inotifys-watch-limit