'Invalid authentication token' when rendering images sent in a chainlit application with authentication enabled.

Describe the bug
When there is no authentication, images sent in the chat are rendered normally. But with authentication set up, images sent over the chat are not rendered by the browser, receiving a 401 error with message
{"detail":"Invalid authentication token"}

when accessed.
To Reproduce
Just try to send an image to the chat of the chainlit app executed through the following command
chainlit run test_image.py -w

with the following code
#!/usr/bin/env python3
import chainlit as cl

@cl.password_auth_callback
def auth_callback(username: str, password: str):
    # Fetch the user matching username from your database
    # and compare the hashed password with the value stored in the database
    if (username, password) == ("admin", "admin"):
        return cl.User(
            identifier="admin", metadata={"role": "admin", "provider": "credentials"}
        )
    else:
        return None

@cl.on_chat_start
async def on_chat_start():
    if app_user := cl.user_session.get("user"):
        await cl.Message(f"Hello {app_user.identifier}").send()

@cl.on_message
async def on_message(message: cl.Message):
    await cl.Message(f"Message Received:{message.content}").send()

Expected behavior
I expect to see the image being rendered normally.
Screenshots

And when trying to directly open the image with the http://localhost:8000/project/file/e9901e54-7210-468b-8ebb-218426bbf5f9?session_id=a9d63b80-0432-4e98-8fb6-5bde5a83d11b link:

Desktop (please complete the following information):

OS: Arch Linux
Browser: Firefox
Version: 131.0.3

Additional context
chainlit version is 1.3.0

This is a bug introduced with Chainlit 1.3. It's still there in Chainlit 1.3.1.
In reqirements.txt set chainlit==1.2.0 and you'll be good to go till resolved.

On first sight, this seems a lot like exactly the bug (#1472) we attempted to fix with the release 1.3.1.

@gloveboxes @thiagotps Are you 100% sure you are, in fact, running 1.3.1?
On first sight, this seems a lot like exactly the bug (#1472) we attempted to fix with the release 1.3.1.

I was running version 1.3.0. With version 1.3.1 it is indeed working.

@thiagotps Thanks for the head's up!


Added jesse.cafe.

This PR is:

[x] Adding a new domain
[ ] Updating existing domain size
[ ] Changing domain name
[ ] Removing existing domain from list
[ ] Website code changes (512kb.club site)
[ ] Other not listed

[x] I used the uncompressed size of the site
[x] I have included a link to the Cloudflare report
[x] This site is not an ultra minimal site
[x] The following information is filled identical to the data file

I confirm that I have read the FAQ section, particularly the two red items around minimal pages and inappropriate content and I attest that this site is neither of these things.

[x] Check to confirm

- domain: jesse.cafe
  url: https://jesse.cafe/
  size: 8.93
  last_checked: 2024-07-10

Cloudflare Report:
https://radar.cloudflare.com/scan/74f1c761-0955-4238-81de-4a4a5d615958/summary

Thanks!


Use actions/setup-go for unit-test workflow

We were relying on the go toolchain available inside the runner image which is 1.20 or something. Instead we should use the setup-go action which should have the latest version of the toolchain (1.21).

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (6689bb6) 67.17% compared to head (f2ba2f8) 67.17%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1381   +/-   ##
=======================================
  Coverage   67.17%   67.17%
=======================================
  Files         134      134
  Lines        8276     8276
=======================================
  Hits         5559     5559
  Misses       2264     2264
  Partials      453      453

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Fixes to C++ and C syntax

alignof and alignas are now C++ keywords.
friend and override as well as the method modifier const are now C++ only.
.H headers are now associated with C++.

@xaverh, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, MSBOT;

Thanks @xaverh, I delivered the PR.


feat: register cleanup in teardown

Overview

Closes https://github.com/celestiaorg/celestia-app/issues/1358
Checklist

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

Codecov Report

Merging #1372 (75cb43d) into main (f4eb8c1) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main    #1372   +/-   ##
=======================================
  Coverage   48.34%   48.34%
=======================================
  Files          79       79
  Lines        4422     4422
=======================================
  Hits         2138     2138
  Misses       2105     2105
  Partials      179      179

Impacted Files
Coverage Δ

testutil/testnode/full_node.go
61.36% <0.00%> (ø)

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


build: update Angular dependencies

Bumps to Angular 14.0.0-next.5 and Zone.js 0.11.5. The Angular update includes the injector in createEmbeddedView feature that we'll need soon and the Zone.js update should remove some deprecation warnings that have been polluting our logs.

I think that updating the CLI packages bumped the version of a peer dependency that didn't support 12.20.0 anymore.


Problem with implementation 'sun.bob:mcalendarview:1.0.0'

execution failed for task ':app:mergeDebugNativeLibs'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find sun.bob:mcalendarview:1.0.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/sun/bob/mcalendarview/1.0.0/mcalendarview-1.0.0.pom
- https://repo.maven.apache.org/maven2/sun/bob/mcalendarview/1.0.0/mcalendarview-1.0.0.pom

have you already found the solution?


warning about MANIFEST exclude rule refers to "included files"

In a file MANIFEST.in containing a rule of the form exclude foo, running python setup.py install produces:
warning: no previously-included files found matching 'foo'

which I believe originates from:
https://github.com/pypa/setuptools/blob/7d56dc12c196dc48fe30918fea7a6aac90182c89/setuptools/command/egg_info.py#L335-L337
It seems that "included" refers to the excluded file(s). This observation may be relevant also to other lines in the file egg_info.py.

The "previously-included" is used consistently in messages for exclude, global-exclude, recursive-exclude, and prune rules, whereas the messages are different for the include, global-include, recursive-include rules. I see now that the phrasing means excluded files.


koreader: 2022.02 -> 2022.03

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/koreader/koreader/releases.
meta.description for koreader is: "An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats, running on Cervantes, Kindle, Kobo, PocketBook and Android devices"
meta.homepage for koreader is: "https://github.com/koreader/koreader"
meta.changelog for koreader is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/f5nl3znw3frxjg5am82viba4p42b1fjk-koreader-2022.03/bin/.koreader-wrapped had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/f5nl3znw3frxjg5am82viba4p42b1fjk-koreader-2022.03/bin/koreader had a zero exit code or showed the expected version
0 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 2022.03 with grep in /nix/store/f5nl3znw3frxjg5am82viba4p42b1fjk-koreader-2022.03
found 2022.03 in filename of file in /nix/store/f5nl3znw3frxjg5am82viba4p42b1fjk-koreader-2022.03

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
0 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
koreader

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/f5nl3znw3frxjg5am82viba4p42b1fjk-koreader-2022.03 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A koreader https://github.com/r-ryantm/nixpkgs/archive/d79779a1f4512bed1308ede93ada64d2cd450a82.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/f5nl3znw3frxjg5am82viba4p42b1fjk-koreader-2022.03
ls -la /nix/store/f5nl3znw3frxjg5am82viba4p42b1fjk-koreader-2022.03/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

koreader

Maintainer pings
cc @contrun @neonfuz for testing.

@ofborg build koreader


[helm charts] Make the chart versions consistent with release-1.23

What this PR does / why we need it:
Make the chart versions the same with those in release-1.23.
Again, the chart version policy is, only increase the version (either minor or major) when doing release.
Which issue this PR fixes(if applicable):
fixes #
Special notes for reviewers:

Release note:

NONE

/lgtm

/lgtm
/approve


eslint setting option deprecated

hello, i have one question.
i have .vscode/setting.json with local project vscode settings.
but there is deprected option, it is eslint.enable
it has view warning with this messages.
This setting is deprecated. Disable ESLint using the extensions viewlet.
i use eslint extenstion with version 2.1.14
is it ESLint extension version < 2.x, eslint.enable option was deprecated right?

Instead of using the eslint.enable setting you can now enable / disable ESLint using the extensions viewlet. That is why the setting is deprecated. If you have set it to true simply remove it. If set to false disable the extension for the corresponding workspace folder which will have the same effect.

Instead of using the eslint.enable setting you can now enable / disable ESLint using the extensions viewlet. That is why the setting is deprecated. If you have set it to true simply remove it. If set to false disable the extension for the corresponding workspace folder which will have the same effect.

What is the "extensions viewlet"?

What is the "extensions viewlet"?

This viewlet in VS Code

This viewlet in VS Code

@dbaeumer Thanks!

@dbaeumer Thanks!

thanks!

thank you!

I cannot disable/enable it on folder basis, how would I do that?

Actually the extension management viewlet does currently not support this. The only options are to use the deprecated setting or have a different workspace file.

I am migrating one of our companies projects to XO, which has it's own vscode extension.
Inside the new XO project, I am adding "eslint.enable": false, to our projects .vscode/settings.json file.
If eslint.enable was removed, we could get the same end result if there was a eslint.requireConfig option

I undepreciated eslint.enable


Torch built without cuda support

For some reason the script uses torch 2.1.0 instead of installing torch 2.0.1. I also updated pip via PowerShell, but the webui.bat console says I have an old version.
webui.bat:
[notice] A new release of pip is available: 23.0.1 -> 23.3.1
[notice] To update, run: python.exe -m pip install --upgrade pip

PowerShell:
PS C:\Users\anton> pip install --upgrade pip
Requirement already satisfied: pip in c:\users\anton\appdata\local\programs\python\python310\lib\site-packages (23.3.1)

Webui.bat:
You can now view your Streamlit app in your browser.

  Local URL: http://localhost:1234
  Network URL: http://<IP_ADDRESS>:1234

WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
    PyTorch 2.1.0+cu121 with CUDA 1201 (you have 2.1.0+cpu)
    Python  3.10.11 (you have 3.10.11)
  Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
  Memory-efficient attention, SwiGLU, sparse and more won't be available.
  Set XFORMERS_MORE_DETAILS=1 for more details
C:\Games\Stable-Video-Diffusion\venv\lib\site-packages\streamlit\watcher\local_sources_watcher.py:177: UserWarning: Torchaudio's I/O functions now support par-call bakcend dispatch. Importing backend implementation directly is no longer guaranteed to work. Please use `backend` keyword with load/save/info function, instead of calling the udnerlying implementation directly.
  lambda m: [p for p in m.__path__._path],
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
VideoTransformerBlock is using checkpointing
Initialized embedder #0: FrozenOpenCLIPImagePredictionEmbedder with 683800065 params. Trainable: False
Initialized embedder #1: ConcatTimestepEmbedderND with 0 params. Trainable: False
Initialized embedder #2: ConcatTimestepEmbedderND with 0 params. Trainable: False
Initialized embedder #3: VideoPredictionEmbedderWithEncoder with 83653863 params. Trainable: False
Initialized embedder #4: ConcatTimestepEmbedderND with 0 params. Trainable: False
Loading model from checkpoints/svd.safetensors
2023-11-26 17:19:24.961 Uncaught app exception
Traceback (most recent call last):
  File "C:\Games\Stable-Video-Diffusion\venv\lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 264, in _get_or_create_cached_value
    cached_result = cache.read_result(value_key)
  File "C:\Games\Stable-Video-Diffusion\venv\lib\site-packages\streamlit\runtime\caching\cache_resource_api.py", line 500, in read_result
    raise CacheKeyNotFoundError()
streamlit.runtime.caching.cache_errors.CacheKeyNotFoundError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Games\Stable-Video-Diffusion\venv\lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 312, in _handle_cache_miss
    cached_result = cache.read_result(value_key)
  File "C:\Games\Stable-Video-Diffusion\venv\lib\site-packages\streamlit\runtime\caching\cache_resource_api.py", line 500, in read_result
    raise CacheKeyNotFoundError()
streamlit.runtime.caching.cache_errors.CacheKeyNotFoundError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Games\Stable-Video-Diffusion\venv\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 534, in _run_script
    exec(code, module.__dict__)
  File "C:\Games\Stable-Video-Diffusion\scripts\demo\video_sampling.py", line 120, in <module>
    state = init_st(version_dict, load_filter=True)
  File "C:\Games\Stable-Video-Diffusion\venv\lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 212, in wrapper
    return cached_func(*args, **kwargs)
  File "C:\Games\Stable-Video-Diffusion\venv\lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 241, in __call__
    return self._get_or_create_cached_value(args, kwargs)
  File "C:\Games\Stable-Video-Diffusion\venv\lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 267, in _get_or_create_cached_value
    return self._handle_cache_miss(cache, value_key, func_args, func_kwargs)
  File "C:\Games\Stable-Video-Diffusion\venv\lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 321, in _handle_cache_miss
    computed_value = self._info.func(*func_args, **func_kwargs)
  File "C:\Games\Stable-Video-Diffusion\scripts\demo\streamlit_helpers.py", line 46, in init_st
    model, msg = load_model_from_config(config, ckpt if load_ckpt else None)
  File "C:\Games\Stable-Video-Diffusion\scripts\demo\streamlit_helpers.py", line 115, in load_model_from_config
    model = initial_model_load(model)
  File "C:\Games\Stable-Video-Diffusion\scripts\demo\streamlit_helpers.py", line 74, in initial_model_load
    model.cuda()
  File "C:\Games\Stable-Video-Diffusion\venv\lib\site-packages\lightning_fabric\utilities\device_dtype_mixin.py", line 69, in cuda
    device = torch.device("cuda", torch.cuda.current_device())
  File "C:\Games\Stable-Video-Diffusion\venv\lib\site-packages\torch\cuda\__init__.py", line 769, in current_device
    _lazy_init()
  File "C:\Games\Stable-Video-Diffusion\venv\lib\site-packages\torch\cuda\__init__.py", line 289, in _lazy_init
    raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled

Видимо какая-то из библиотек ставит более новую версию, какая версия винды и питона?

Fixed.


Controlling Aerial remotely

I’m currently on vacation and trying to access my iMac remotely using both Parallels Access & Splashtop Desktop from my iPad. I can’t find a way to quit Aerial. Do you have any tips or tricks that might help before next weekend?  Thanks!
Required information
In order to help us sort your issue, we ask that you provide the following information:

[ ] Mac model: iMac 27” 2020
[ ] macOS version: macOS 11.3 beta 5
[ ] Monitor setup: iMac

If appropriate, please enable Debug mode and Log to disk in Advanced tab and replicate your bug, then attach the AerialLog.txt file (You can access this file through the Advanced tab).
Description of issue / Feature request
{{Replace this}}

I'm unfamiliar with both those tools so I'm not sure why you are stuck. In any case, non remotely, you can always exit the screensaver with Cmd + Opt + Shift + Esc, so this should work too.
But ! You may need to use some special shortcut feature from those tools (usually they may have some menu to send special commands so they are not interpreted locally).


left sidebar: (Experimental) Place curving line to group topics within a stream

SHARP EDGES: Vlad has some very clever CSS that makes use of ::before and ::after pseudo-elements. Those need to play very well with Grid, and getting the lines and curves into the layout may take some finesse.

@zulipbot claim

Hi! i'd like to work on this issue, can I get it assigned to me please?

Pls assign this to me.

This has been completed.


[Help needed] Update dom-helpers related code to fix  import errors

For the same reasons as described in #567 I cannot make this package build. (error with static class properties despite babel seems to have the correct plugin to handle them).
I also have an issue with workspaces in the package.json file (same error as in CI tests results) It works when I set private to true. I tried removing workspacesdeclaration in the package.json file as it's already configured in lerna config, but it also does not work. Not sure how to solve this...
I still have pushed some code that should resolve the (undocumented) breaking changes in dom-helpers v5 vs v3
I can't test/build, but I wanted to share this, as I think it should solve the import issues.

I'm gonna try to fix the npm publish

@pandaiolo Do you think that you could reapply this patch on master by removing "dom-helper"? :)

I will be active soon as well, i have been swamped at work, hopefully later thus week i can make a workable version:)


Many error messages when we use unsupported version of Kotlin

Compose 1.3.1
If we use multiple modules and use unsupported version of Kotlin, we see many errors:

There should be only one message in the console.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Don't work on RHEL 7.1 cos of missing package

Hi,
In cgroups/manifest/init.pp you correctly deduce that for rhel7 you need the libcgroup package but to get /etc/cfconfig.d which is required for using cgroups::group you also need the libcgroup-tools package.
Not having the  libcgroup-tools produces these errors:
Error: Could not set 'file' on ensure: No such file or directory - /etc/cgconfig.d/mgw-user.conf20170224-15271-18nuljc.lock at 23:/etc/puppet/environments/international_faye/3rd_party/cgroups/manifests/group.pp
Error: Could not set 'file' on ensure: No such file or directory - /etc/cgconfig.d/mgw-user.conf20170224-15271-18nuljc.lock at 23:/etc/puppet/environments/international_faye/3rd_party/cgroups/manifests/group.pp
Wrapped exception:
No such file or directory - /etc/cgconfig.d/mgw-user.conf20170224-15271-18nuljc.lock
Error: /Stage[main]/Main/Node[bage.ad.cirrus.com]/Cgroups::Group[mgw/user]/File[/etc/cgconfig.d/mgw-user.conf]/ensure: change from absent to file failed: Could not set 'file' on ensure: No such file or directory - /etc/cgconfig.d/mgw-user.conf20170224-15271-18nuljc.lock at 23:/etc/puppet/environments/international_faye/3rd_party/cgroups/manifests/group.pp

@FayeG Thanks for your report.
Did I get it right that your proposal is to manage/install the package 'libcgroup-tool' with the module ?
Thanks & have phun

Sounds about right ☺
From: Phil Friderici<EMAIL_ADDRESS>Sent: 27 February 2017 12:15
To: Ericsson/puppet-module-cgroups<EMAIL_ADDRESS>Cc: Gibbins, Faye<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Ericsson/puppet-module-cgroups] Don't work on RHEL 7.1 cos of missing package (#15)
@FayeGhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_FayeG&d=DwMFaQ&c=O3LcjD-V2Iepl5V0N1424A&r=zYKOt5zq8DxD76qBilrgQKxtITGPmVmWHHVOs6JpkMQ&m=sUqyDZPzED2akVb4IGrR3VWtmOvBcFGDquuG5LI6FtA&s=18weiQFeu1vN4i1L8hg9IrNJcT0bwj_uD9Jgdwgu7K4&e= Thanks for your report.
Did I get it right that your proposal is to manage/install the package 'libcgroup-tool' with the module ?
Thanks & have phun
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Ericsson_puppet-2Dmodule-2Dcgroups_issues_15-23issuecomment-2D282704457&d=DwMFaQ&c=O3LcjD-V2Iepl5V0N1424A&r=zYKOt5zq8DxD76qBilrgQKxtITGPmVmWHHVOs6JpkMQ&m=sUqyDZPzED2akVb4IGrR3VWtmOvBcFGDquuG5LI6FtA&s=vB4VM7TiY5chjo-iCezf6aHtCWwEVattz3KsAmgMPz4&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AL3lOvbKvjhT4sGkJsrtXUkgYtpKR-5FoQks5rgr5fgaJpZM4MLGG1&d=DwMFaQ&c=O3LcjD-V2Iepl5V0N1424A&r=zYKOt5zq8DxD76qBilrgQKxtITGPmVmWHHVOs6JpkMQ&m=sUqyDZPzED2akVb4IGrR3VWtmOvBcFGDquuG5LI6FtA&s=n0f9RmtRSII9Cnt4LtXZY93t_5y1J_oi1Ij7qnf0dOQ&e=.
This message and any attachments may contain privileged and confidential information that is intended solely for the person(s) to whom it is addressed. If you are not an intended recipient you must not: read; copy; distribute; discuss; take any action in or make any reliance upon the contents of this message; nor open or read any attachment. If you have received this message in error, please notify us as soon as possible on the following telephone number and destroy this message including any attachments. Thank you. Cirrus Logic International (UK) Ltd and Cirrus Logic International Semiconductor Ltd are companies registered in Scotland, with registered numbers SC089839 and SC495735 respectively. Our registered office is at 7B Nightingale Way, Quartermile, Edinburgh, EH3 9EG, UK. Tel: +44 (0)131 272 7000. cirrus.com


Add models with a different activation function

SiLU has been a successful activation function in yolox (and yolov5).
However, it takes more GPU memory and adds overhead compared to ReLU.
Leaky ReLU has similar speed to ReLU, with only a small degradation compared to SiLU.
Would you be willing to add Leaky ReLU variants?
I can contribute the code & models if needed.

You can using leakyReLU by pass  “ act=lrrelu ” to conf. I will refactor
the backbone code  later.
On Sun, Sep 26, 2021 at 18:01 shachargluska @.***>
wrote:

SiLU has been a successful activation function in yolox (and yolov5).
However, it takes more GPU memory and adds overhead compared to ReLU.
Leaky ReLU has similar speed to ReLU, with only a small degradation
compared to SiLU.
Would you be willing to add Leaky ReLU variants?
I can contribute the code & models if needed.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Megvii-BaseDetection/YOLOX/issues/742, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AETEZCQGZ4JTKAZJCQLBPLTUD3VOFANCNFSM5EYTRFXA
.


Non OGL/SRD data in database

Trying to keep things above board, there is some data in the database that does not follow OGL/SRD standards for D&D 5e. I've only found one example but there might be others as well.
Example: https://github.com/adrpadua/5e-database/blob/master/5e-SRD-Subraces.json#L227-L261
Reference: https://media.wizards.com/2016/downloads/SRD-OGL_V1.1.pdf

I think Drow is also not under OGL/SRD.

I'll probably just close this for now unless anyone else cares.


Version 0.5.2 missing arm and source

Hi,
The current version 0.5.2 is missing arm and source upload in the PyPI.

I've added this.


Complete Early Adopter Onboarding Guidelines Document

Describe the issue
CP Team has some high-level onboarding information in the Service Blueprint. As part of the EA program, we wish to have a place to have a detailed final version of the onboarding checklist. The onboarding doc is intended to be both internal (CP team) and external document (EA Teams).
Previous ticket () started the outline of the document & received good feedback from the team.  The document now needs to be fleshed out & finalized.
Which Sprint Priority is this issue related to?
Additional context
See Service Blueprint
Definition of done
Document fleshed out
Document peer reviewed
Document categorized and published accordingly

duplicate of #330


A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException

Hello, i'm triying to run the image under a Terramaster NAS and i'm getting this error. I've triyed with solutions mentioned in #466 but nothings seems to happen.
Here is the log: https://0paste.com/183196
What can be?
Thanks!

The logs further up apply to your scenario:
mc    | [init] **********************************************************************
mc    | [init] WARNING: The image tag itzg/minecraft-server:java8 is recommended
mc    | [init]          since some mods require Java 8
mc    | [init] **********************************************************************

had the same exception but with running multiarch for FTBA modapack id 35
pastebin log

@RikGeboers similarly there is now an itzg/minecraft-server:java8-multiarch image.

@RikGeboers similarly there is now an itzg/minecraft-server:java8-multiarch image.

It worked for me, thanks! I'll wait until @RikGeboers feedback

Worked perfectly! You can close it


feat: support other mode,dingtalk,weibo,wechat,gitee,facebook

Signed-off-by: wasabi<EMAIL_ADDRESS>

test demo url: http://test.rescld.cn/login/oauth/authorize?client_id=b4690f977fb0e2c609bf&response_type=code&redirect_uri=http://test.rescld.cn/callback&scope=read&state=casdoor
What needs special attention is,client_id and client_secrent are random
add Added support for 5 applications except github google qq
dingtalk,weibo,wechat,gitee,facebook
manage page: http://test.rescld.cn
account:admin
password:123
,where you can see their configuration。

@sh1luo good work!
We plan to move all embedded SVG code into .svg files under Casbin static: https://github.com/casbin/static , in /casdoor/buttons path. For example, https://github.com/casbin/static/tree/master/casdoor/buttons/wechat.svg`, then we can use the CDN URL like: https://cdn.casbin.org/img/social_google.png
Can you do this?

How to accelerate the three components of github, facebook and google provided by react-social-login-buttons? Should I rewrite it?

@sh1luo yes, see its source code, extract the svg out.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


RuntimeError on systems with both PyQt4 and PyQt5 installed

RuntimeError: the PyQt4.QtCore and PyQt5.QtCore modules both wrap the QObject class
This is a regression that had been fixed with PR #11 and was re-introduced by me while adding pyQt5 compatibility and hunting down another but.
As far as I understand the problem, matplotlib inherits from QObject which is ambiguous when both libraries are present on the system.
Solution: Specifiy the backend for matplotlib when it is imported for the first time:
    import matplotlib
    matplotlib.use("Qt5Agg")

The first time matplotlib is imported currently is in plot_widgets/plot_tab_widgets.py.
However, I propose adding the following code to the main file pyfdax.py to avoid future regressions for the case that matplotlib is imported somewhere else first. I've created PR #59 for this. @tridge, could you have a look at this?

Fixed by PR #59 .


[ISSUE]

I have this problem below left

same issue

that's a CORS error. Change the origin to your frontend URL in devika.py

that's a CORS error. Change the origin to your frontend URL in devika.py

Can you explain the method or a passage explaining the method?

Copy the URL of the front end and paste it into devika.py on line 31.

CryptographyDeprecationWarning: ARC4 has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.ARC4 and will be removed from this module in 48.0.0.
from cryptography.hazmat.primitives.ciphers.algorithms import AES, ARC4
ModuleNotFoundError: No module named 'bidi.algorithm'
Got errors something like this when python devika.py was executed


GraphQL IN operator no longer available on relationship field in Payload 1.8.3

Link to reproduction
https://demo.payloadcms.com/api/graphql-playground
To Reproduce
The following query is no longer valid in Payload 1.8.3. Run this query in the demo playground:
query {
    Posts (where: {category: {in: ["6479cbb2b69ad90abbdf5780"]}}) {
       	docs {
            title
        }
    }
}

Describe the Bug
Sinds version 1.8.3 the IN operator is no longer available on relationship fields for GraphQL queries. It seems to be related to this PR, a lot has changed there so not sure where to find the problem.
Payload Version
1.8.3

Hey @mvdve! This has been reported (just linking for clarity, not like you would have known) here. You can install 1.8.4-canary.2 to get the fix, or wait until 1.8.4 is released 👍

@JarrodMFlesch Cool, thanks for the amazing work. Love the CMS!

1.8.4 was released


issue_84_added pdf file having some tips for good health and some vedios

Sir i have added a pdf file in this section which have some tips for better health and some video's  showing how can we we make ourselves healthy , healthy body as well as healthy mind as we know  "Regular yoga practice creates mental clarity and calmness"

okok i'll rectify it and try to make it better


Reverse mouse direction, support for more mouse buttons

Reverse the scrolling direction on an OS level so the user doesn't have to deal with often clunky driver software, or diving into the registry.
Reverse scrolling direction with the click of a button in the same way Precision touchpads are handled by Windows, but then for mouse users. Currently, reversing the scrolling direction requires diving into the mouse driver settings, which may or may not have the feature available, or changing entries in the registry. This is not really user friendly, and can easily be handled by the OS/PowerToys.

I don't see the need to re-invent the wheel.

I feel this is tracked by #1475 and #6434


[occm] Revert dnsPolicy to Default for occm

What this PR does / why we need it: reverts the behaviour that was added https://github.com/kubernetes/cloud-provider-openstack/pull/2594
Which issue this PR fixes(if applicable):
fixes #2611
Special notes for reviewers:
if dnsPolicy is defined the default value is not Default its ClusterFirst. See https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
Release note:

NONE

/test openstack-cloud-controller-manager-e2e-test
/test openstack-cloud-controller-manager-ovn-e2e-test

/test pull-cloud-provider-openstack-check

/test openstack-cloud-controller-manager-e2e-test
/test openstack-cloud-controller-manager-ovn-e2e-test

/lgtm
/approve


fail to detect SVG

this one doesn't work for me
https://openseauserdata.com/files/6e7103725316c19e00bdfdcf857e8bea.svg
Could some spaces affect the results?

Yes, I just checked. It is.
It is probably worth adding auto-trim.


Customisable login view background

The login view background image is currently hard coded.
How it should be: there is a view for admin users where they can change the branding: site name, background image etc.
It would be tempting to do a shortcut and place the background image to config/local.js. However, the image file must be available but there is no obvious way for user to upload or store such image. Therefore a new view is needed.

Maybe a shortcut would be to put everything into config/ dir. Background image, marker images and other stuff. Server then copies them to a public location at startup and prefixes the paths accordingly.


instanceof bug on Windows

I've come across a strange bug on 64-bit Windows where instanceof does not behave correctly in the browser frame when using it against an object whose prototype inherits from a function defined in a different module under node_modules.
Example
For example, let's say there are two functions B and D and these files:
test.js

d.js (contains the D function)

node_modules/b_module/b.js (contains the B function)

If D's prototype points to an instance of B and both B and D are required into test.js, then on Windows, if test.js uses instaneof to check whether D inherits from B, it will return false.
Code samples
I've gone ahead and created a sample project with the code here to see the bug in action:
https://github.com/jameslk/electron-instanceof-bug
Here's some screenshots showing the discrepency:
Running NodeJS:

Running ElectronJS on Windows (from the browser frame dev tools):

Running ElectronJS on Mac
This bug only appears to happen under Windows. I tried it on Mac and got the expected results.

I have not tested Linux yet.

False

What does io.js 64-bit report?

I downloaded io.js 1.6.3 (the same version that electron is using) and couldn't replicate the issue on Windows:
$ iojs test.js
true 'should be true because c has A in its prototype chain'
true 'should be true because d has B in its prototype chain'

For now, I'm going to have to use something like Browserify to circumvent this issue since using the native require is breaking some of the dependencies in my project that rely upon instanceof.

This is a duplicate of #1289.

@zcbenz Thanks for clarifying the issue.
It seems like the best solution for loading browser dependencies is to use
<script>require(...dependency...);</script>

in loaded HTML files in the future, instead of
<script src="...dependency..."></script>

as is traditionally done. This avoids the issue with the case-sensitive path duplications.


[Bug] Miner crash after started.

🐛 Bug Report
When i start miner i take this error:
...................
2021-12-10T08:00:56.763673Z DEBUG Validating the ledger up to block 22044 (88%)
2021-12-10T08:00:57.580233Z DEBUG Validating the ledger up to block 22545 (90%)
2021-12-10T08:00:57.831949Z DEBUG Validating the ledger up to block 23046 (92%)
2021-12-10T08:00:58.647720Z DEBUG Validating the ledger up to block 23547 (94%)
2021-12-10T08:00:58.900131Z DEBUG Validating the ledger up to block 24048 (96%)
2021-12-10T08:00:59.715947Z DEBUG Validating the ledger up to block 24549 (98%)
2021-12-10T08:00:59.968268Z DEBUG Validating the ledger up to block 25050 (100%)
thread 'main' panicked at 'assertion failed: (left == right)
left: AleoLocator { hrp: "al", data: Fp256(2380939471054354564352380591945793932305172883044174739177983227110937361258) },
right: AleoLocator { hrp: "al", data: Fp256(7903951354988248663872492897049527733470713583421970526936459737184403395962) }', /home/*****/snarkOS/storage/src/state/ledger.rs:212:9
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
The day of the week before that worked fine.
Your Environment

 2.0.0

 1.57.0

 Ubuntu 20.10

Closing as a duplicate of https://github.com/AleoHQ/snarkOS/issues/1375.


Verify that the correct elements are included in the license xml file

The following info should be included per package:

package group
package artefact
package version
remote license
local license

Questions:
What is a package group in a node project?
What is a package artefact in a node project?
What is a remote license in a node project?
What is a local license in a node project?

We are not required to follow the above properties/attributes as I thought, instead we can change this to be more node/npm like.

Currently, the license element is named liceneses but this does not match the property in a project.json file. This  task should rename this element to match the example above.


[e2e]: delegator-lowperms tag main default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/v47.0.283
Run: https://github.com/slsa-framework/example-package/actions/runs/8805068557
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-lowperms.tag.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-lowperms.tag.main.default.slsa3.yml
Trigger: push
Branch: v47.0.283
Date: Tue Apr 23 18:06:32 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/v47.0.284
Run: https://github.com/slsa-framework/example-package/actions/runs/8821142628
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-lowperms.tag.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-lowperms.tag.main.default.slsa3.yml
Trigger: push
Branch: v47.0.284
Date: Wed Apr 24 18:26:30 UTC 2024
Tests are passing now. Closing this issue.


Make tests independent of current date

freezegun is a tool for exactly this job, sadly freezegun, click and/or py.test don't seem to work to well together.

I'll take a look at it tomorrow.
On 19 June 2015 00:19:43 CEST, Christian Geier<EMAIL_ADDRESS>wrote:

freezegun is a tool for exactly this job, sadly freezegun, click and/or
py.test don't seem to work to well together.

Reply to this email directly or view it on GitHub:
https://github.com/geier/khal/issues/180#issuecomment-113303877

done.


Great Starter Feature - add  to the  object

Right now the  object only shows the  of the contract and not the  too.

Please add the  of the contract too so it's easy to see when the  receives value.
Here it is in the code:
https://github.com/scaffold-eth/scaffold-eth/blob/master/packages/react-app/src/components/Contract/index.jsx#L124

Seems good to me :) - I was wondering what the 'price' prop does, it took me a while to find out that it's only meant to do the conversion into USD. Maybe we should call it ethPrice or something else :sweat_smile:


Use local RCTConvert+MapKit instead of the one in React Native

Since https://github.com/facebook/react-native/commit/48f30eca7e3d4c239501de515a7cc35615ed6bd1 RCTConvert+MapKit was removed from React Native so this pulls in the relevant methods and renames RCTConvert+MoreMapKit to RCTConvert+MapKit. I checked that having these extension defined multiple times doesn't cause issues so this is fully backwards compatible.

Thanks!


S3 ?

Any need for s3 as well as git ?
Won’t got explode with binaries building up ?
Of course s3 does not have commit hash to keep your source code versioning with your hermit binaries .

We don't store binaries in git, we retrieve them from their original locations.


Add hover effect on Buttons

Describe the feature
There should be a hover effect on some buttons
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[ ] I'm a VSoC'24 contributor
[X] I want to work on this issue

go ahead @Utsavladia

Hi @Utsavladia I shouldn't say like that and sorry as well

Yes, I know that, but we are creating another page for it. After the completion of this page, I will let you know to add this in the future.

I would like to work on this issue, please assign this to me.
@mdazfar2

Hey @TheNikhilRaj yes it is under GSSOC.

After completing the backend for the newsletter, I will definitely assign it to you. It will take some time, at least 1 week.

Don't forget to join our official Discord server.

And also follow us on Linkedin

And please ⭐ our repo

okay i can wait till and is there any work under gssoc as a fronted please reach me!
@mdazfar2

@TheNikhilRaj yes sure will let you know if there any work related frontend.

Please don't forget to join our official Discord.
And also follow us on Linkedin
And please ⭐ our repo


python3Packages.pyjwt1: move to privacyidea overlay

Motivation for this change
pinned dependencies don't belong in python-packages
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

I did not mean to merge this...
wrong review command... oops

@jonringer no worries, the change seems perfectly OK to me :-)


[question] osd on device and journal on a partition

I have 3 dedicated root servers with 2x3TB devices each. Am I able to use a device (/dev/sdb) as osd and a partition (on /dev/sda) for the journal?
Also, can I deploy mons, rgws and mdss (for cephfs) on each /dev/sda?
Any help (configuration examples) would be appreciated. Thanks.

You can use /dev/sdb by collocating data and journal. Using a partition for the journal on /dev/sda (if sda is already occupied if not possible.
mons, rgws and mdss (for cephfs) don't need drives so just declare them in your inventory file.
Also please have a look at the doc: http://docs.ceph.com/ceph-ansible/master/

We don't test this scenario in ceph-ansible but I believe it'll work, ceph-disk looks for available space on /dev/sda, if it does it'll create a partition on it.


Create internships.html.erb

Create internships page with copy provided in #375

I think this code climate finding is a false positive.


Compilation of TS files faster within Visual Studio as opposed to being run externally

I am finding that when I run my typescript project from within Visual Studio 2013, compilation is extremely quick ( < 1s ) on save.
However, if I attempt to compile outside of Visual Studio using sublime text and grunt/gulp, the compilation can take 30s to 1 minute for the same change. Is this an issue with the compiler itself?

The difference is likely incremental compilation. Your command-line build has to parse the standard library (lib.d.ts), then your code, then run the type-checker globally, and emit everything. In the editor, it caches the library, does incremental type-checking, and emits only for the changed files.
If you want command-line to be similar, https://github.com/broccolijs/broccoli which is a much more capable input-tree-to-output-tree transformer and is capable of caching. Angular has written some extensions on top of broccoli to optimize inside each tree transformation by diffing.

If you use the --watch command line option (which is only supported under Node.js right now), we also cache source files that haven't been changed.

I believe gulp-typescript with gulp.watch should also perform incremental builds.


Implement constant loading in NeLoader

In the NeLoader, there remains a todo that is still unimplemented
https://github.com/NationalSecurityAgency/ghidra/blob/f62320a50bfc481dc0c95387735afdddc71bb6f4/Ghidra/Features/Base/src/main/java/ghidra/app/util/opinion/NeLoader.java#L566-L569
Can this be looked at?
In the KERNEL.EXE & KRNL386.EXE, I know that constants __AHINCR & __AHSHIFT are exported at Ordinal_113 & Ordinal_114 (although I've conflicting information as to which is which!), but they aren't recognised and appear in red in the Symbol Tree.
Originally posted by @Wall-AF in https://github.com/NationalSecurityAgency/ghidra/issues/2233#issuecomment-1279185613

I spoke with @ghidra1 about this, and they mentioned we just hide these symbols for ELF because there is no context associated with the constants.  What is your desired outcome for how this gets handled?  What would you like to see in the end?

Knowing the values ascribed to these constants is of interest as it gives further insight into what's going on!


No audio in recording even with sndcpy running

I want to record mobile gameplay with scrcpy and sndcpy for both video and audio, I use the following commands
scrcpy -b 32m -r 1.mp4
the file is recorded in excellent quality but no audio in rec.
Alternatively I used OBS for recording the quality is a lot lower and it puts heavy strain on my cpu so choppy recording but it records with game sounds.
Is there any command in scrcpy that lets me have internal audio as well

Is there any command in scrcpy that lets me have internal audio as well

No.


Fix calico health checks

Probably after updating to calico v 3.2.0, calico pods are listening on localhost

and healthchecks are failing

So we need to make healthcheck on localhost, according to this documentaiton

And after that everything started working.

[root@padm270 m.lushpenko]# calicoctl version
Client Version:    v3.2.0
Build date:        2018-08-10T18:04:05+0000
Git commit:        c158322b
Cluster Version:   v3.2.0
Cluster Type:      kubespray,bgp,k8s

awesome thanks, does it works with calico 3.1.3 ?

ci check this

@ant31 no idea, we are just almost on latest kubespray and hitting this issues, before that is twas 2.6.1 I think

I don't know when process was changed to bind to localhost only, my guess is that it was bound to <IP_ADDRESS> before

@ant31 all good or something else is needed?

/approve
/lgtm


chore(master): release 3.2.0

:robot: I have created a release beep boop
3.2.0 (2024-08-05)
Features

idl: allow comma at last of enumator (2686f50)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v3.2.0
:sunflower:


Simple example fails to compile

Consider this code:
struct Foo(&'static str);

static NAMES: phf::Map<Foo, &'static str> = phf_map! {
    Foo("foo") => "foo",
    Foo("bar") => "bar",
};

The example above fails to compile, giving this error log:
cargo build
    Blocking waiting for file lock on build directory
   Compiling sbr-xquery-parser-api v0.8.0 (file:///C:/Users/Joey/WebstormProjects/sbr-xquery-parser-api)
error: unexpected end of macro invocation
  --> src\parse_rules.rs:16:24
   |
16 |     Foo("bar") => "foo",
   |                        ^

error: aborting due to previous error

error: Could not compile `sbr-xquery-parser-api`.

To learn more, run the command again with --verbose.

Cargo-Process exited abnormally with code 101 at Fri Apr 13 10:33:11

Newtype keys are not supported.
On Fri, Apr 13, 2018 at 1:35 AM JoeyAcc<EMAIL_ADDRESS>wrote:

Consider this code:
struct Foo(&'static str);
static NAMES: phf::Map<Foo, &'static str> = phf_map! {
Foo("foo") => "foo",
Foo("bar") => "bar",
};
The example above fails to compile, giving this error log:
cargo build
Blocking waiting for file lock on build directory
Compiling sbr-xquery-parser-api v0.8.0 (file:///C:/Users/Joey/WebstormProjects/sbr-xquery-parser-api)
error: unexpected end of macro invocation
--> src\parse_rules.rs:16:24
|
16 |     Foo("bar") => "foo",
|                        ^
error: aborting due to previous error
error: Could not compile sbr-xquery-parser-api.
To learn more, run the command again with --verbose.
Cargo-Process exited abnormally with code 101 at Fri Apr 13 10:33:11
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sfackler/rust-phf/issues/121, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABY2UaS2bwT4FJI8JtI7IgzXhr1pdwTOks5toGNMgaJpZM4TTDnW
.

Oh that's unfortunate. Is it a matter of not having added the support, or is there a deeper reason?

The map generation happens at compile time, so it wouldn't know about any custom behavior specified by the newtype.


Strawberry Shake 12.0 compatible with .Net 2.1?

I've generated the Strawberry classes/Client in my .Net standard 2.1 project after upgrading to Strawberry Shake 12. I was previously using Strawberry Shake 11.
Everything builds properly, but when  start the app I get this :

I believe it means that .Net 5 is expected.
Hence, my question : Is this by design? Is there a workaround?
PS: I don't know how to add or remove labels to a post. Sorry that it's displayed as a "Bug".

I suggest that you use strawberry shake 11.2. 12.0 builds are very early experimental builds.
Strawberry Shake itself works with .NET Standard 2.0 and C# 8. So you can use it almost everywhere.


Two slashes in URL which should be one slash

Notice the two slashes:
 nix-channel --update
downloading Nix expressions from ‘https://nixos.org/releases/nixos/16.03/nixos-16.03.616.4ac4b35//nixexprs.tar.xz’...

while I have
nix-channel --list
nixos https://nixos.org/channels/nixos-16.03

It might "work", but it is -- again -- sloppy.

What is the problem, exactly? Doing head + '/' + tail is a simple method of ensuring that the result is usable, checking whether head contains a trailing slash seems like a waste of time to me.
Anyway, this is a Nix issue, not a nixpkgs issue.

@joachifm The problem is that there is end-user visible URLs which look wrong; no human would ever enter that. If I have to explain this further, I think you just lack the engineering quality of "taste".
In case you are wondering why double slashes might be wrong, see my recent "NixOS doesn't boot" issue.
It is ridiculous to phrase this as an optimization.
Programming wise doing head + '/' + tail is also amateur programming (I didn't check whether this is really being done, but I really hope not). It would never enter any of the codebases I am responsible for.
I actually find it surprising (and highly annoying) that anyone can disagree on this. Let's hope you don't have too much influence in this project.

On Sun, Apr 24, 2016, at 05:17 PM, 0xABAB wrote:

@joachifm The problem is that there is end-user visible URLs which look
wrong; no human would ever enter that. If I have to explain this further,
I think you just lack the engineering quality of "taste".
In case you are wondering why double slashes might be wrong, see my
recent "NixOS doesn't boot" issue.
It is ridiculous to phrase this as an optimization.
Programming wise doing head + '/' + tail is also amateur programming (I
didn't check whether this is really being done, but I really hope not).
It would never enter any of the codebases I am responsible for.
I actually find it surprising (and highly annoying) that anyone can
disagree on this. Let's hope you don't have too much influence in this
project.

Relevant code is here:
https://github.com/NixOS/nix/blob/master/scripts/nix-channel.in#L134
You might have had a point if the URLs where generated for any other
reason than to be fed directly into curl. This isn't about optimization,
it's about what to spend programmer time on.
All you ever do is complain, in the rudest manner possible. If you
expect others to do the work for you, at least provide a compelling
value proposition. At the very least, use your godlike genius to pick
the right issue tracker to complain on.
As for the rest of your rant ... all I can say is, why don't you
contribute instead of playing tough guy on the issue tracker?

@0xABAB Could you submit a PR to fix https://github.com/NixOS/nix/blob/master/scripts/nix-channel.in#L134 in the double-slash case?

@joachifm There is another point, which is that the user sees the curl command. That means it becomes part of the UI and the UI is screaming that the programmer likely made a mistake. The mere coincidence that this is not the case is not relevant to the argument.

As this is in nix I'm closing this.


[Bug]: Button component passing styling related props to html DOM elements

Problem: What is happening?
Button component is passing props to html DOM elements that have no effect on UI [1] and are not recognized by the browser as HTML valid attributes [2]
Styled Component v5 filtered those props automatically, but v6 does not [3]
During development, React throws warnings on console [4]

Warning: React does not recognize the `noPointerEvents` prop on a DOM element.
If you intentionally want it to appear in the DOM as a custom attribute,
    spell it as lowercase `nopointerevents` instead.
If you accidentally passed it from a parent component, remove it from the DOM element.

Expected behavior

I expect that pages rendering Buttons with props like the example below will not include non-standard attributes [2] in the generated HTML

<Button
  buttonType="Default"
  noIconMargin
  noPadding
  noPointerEvents
  onClick={() => {}}
  typeSize="default"
>
  Add Application
</Button>

I expect 0 warnings on the browser console related to unknown props [4]

Steps to reproduce

Open url https://storybook.devopness.com/?path=/story/buttons-button--primary&args=noIconMargin:!true;noPointerEvents:!true;noPadding:!true;noMargin:!true;revertOrientation:!true;loading:!true;iconSize:0
Open browser console and select button for inspection

document.querySelector('#storybook-root > button')

There should be no invalid attributes [2] on button and children elements
3.1 In the test below were detected the following invalid attributes: variant, reversed and custom

Running command to select element on page

Which Devopness module(s) are the source of the bug?
UI - Design System / React components
Package Version
2.146.0
Reproduction link
No response
Additional details
Between the possible solutions, one could use styled components v6 - transient props
[1] https://styled-components.com/docs/faqs#why-am-i-getting-html-attribute-warnings
[2] HTML valid attributes list on MDN https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes
[3] https://styled-components.com/docs/faqs#shouldforwardprop-is-no-longer-provided-by-default
[4] https://react.dev/warnings/unknown-prop

Hi. Is anybody working on this? Can I try to fix it?

Hello @ahmedhalac

Can I try to fix it?

Feel free to open a PR


Add disclaimers to APIs that will behave differently in conpty mode

Case in point, GetConsoleWindow. We should add a note that this returns a dummy value in conpty mode. We should additionally note that if developers want to make sure their apps work on the broadest category of terminal applications, they should avoid using it.
See also microsoft/terminal#6887

The avoid using it one, I think I got done with #162 given it has a banner on top about not recommending it and a banner on the bottom explaining that it can't/won't work with VT.
I'll also add a remark that it returns a dummy value with the conpty mode and I think this is settled.


Daylight Saving Time Support

I noticed if I put the timezone in EST and downloaded recent logs (within a couple of minutes). The hour is off by 1 because EST is on DST currently right now. Can this be corrected?

Actually, DST is supported and should work properly.
Could you give an example log file and command line arguments that you pass to hl?
A single message triggering the issue should be enough.

I see now that I don't need anything special. Just any fresh log file with UTC timestamp inside and hl -Z 'EST'.
Thanks for reporting, I'll try to fix it.

I can't figure out yet why this happens, but it looks like EST time zone is confusing.
Take a look at this table: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
According to it EST is used in many locations and some of them have DST, others don't.
I use chrono-tz package. It gets time zone information from https://www.iana.org/time-zones as well as wikipedia. Probably this confusions starts there and it'll take time to understand it.
Meanwhile I would recommend using more precise location information according to that table. Use any value from "TZ identifier" column.
For example, hl -Z 'America/New_York' works as you expect. It shows time in UTC-4 according to DST.


Feature/14956 Adapt privacy notice for Release 3.2

Description
Adapt privacy notice for Release 3.2:

DE
EN
TR
PL (english version)
RO (english version)
BGR (english version)

Link to Jira
https://jira-ibs.wbs.net.sap/browse/EXPOSUREAPP-14956
Screenshots

@flxschmidt Did you have a look at my review?


pre-commit hook for if there are console.logs?

          pre-commit hook for if there are console.logs?

Originally posted by @4ydan in https://github.com/ElektraInitiative/PermaplanT/pull/951#discussion_r1361839870

Maybe there is some code analysis tool, would be probably simpler to check statically then in E2E tests?
@tschawax  can we completely disallow console.logs? Then it would be a simple grep.

I wouldn't put it into the pre-commit hook though. I think it is okay to have it in intermediate commits. Only what it is in pull requests should be free of console.logs.
We could:

remove all console.logs and grep for it in CI (and fail if it is present)
only check the diffs for the presence (more advanced CI code but easier to migrate)


Finish StringData parsing and writing.

Apologies for the large diff noise, that's my editor auto-applying rustfmt and I just wanted this up so I have a git source to use.
Also includes some changes to make LinkFlags more idiomatic for my convenience, which cleaned up some repetitive code,
Feel free to let me know however you want this changed: e.g. stripping this PR to minimal changes, breaking out into multiple PRs, etc.

Note, doesn't fix the null termination in LinkInfo.


docker-compose based example setup

It'd be nice to have an examples/ folder that contains little projects that showcase how RIG can be used. I'm thinking about a simple setup, with a docker-compose file that starts up RIG, Kafka, a backend service and a frontend website.

https://github.com/Accenture/reactive-interaction-gateway/pull/22


Router should only clear the default slot

If you are using <vaadin-app-layout> with router, you might want to add the menu using slot="menu" and let router add a child to the default slot. This does not work as router also removes the menu

As an alternative to looking at slots, it could also be an option to implement as in Flow where the router keeps a reference to the element it has attached and then explicitly removes only that element instead of clearing everything.


Timed out waiting for HDFS master to come up.

Flintrock version: 1.0.0
Python version: 3.7.1
OS: Ubuntu 18.04

Having hard time to start a cluster:
(spark) marco@spirale-dev:~/Development/virtualenvs$ flintrock --debug launch spark-cluster
2021-01-14 17:38:24,910 - flintrock.ec2       - INFO  - Launching 3 instances...
2021-01-14 17:38:37,247 - flintrock.ec2       - DEBUG - 3 instances not in state 'running': 'i-081f549caae99bd78', 'i-05b78e1874c84af66', 'i-02a0b75c3d7e7c336', ...
2021-01-14 17:38:43,482 - flintrock.ssh       - DEBUG - [<IP_ADDRESS>] SSH timeout.
2021-01-14 17:38:43,483 - flintrock.ssh       - DEBUG - [<IP_ADDRESS>] SSH timeout.
2021-01-14 17:38:43,486 - flintrock.ssh       - DEBUG - [<IP_ADDRESS>] SSH timeout.
2021-01-14 17:38:48,507 - flintrock.ssh       - DEBUG - [<IP_ADDRESS>] SSH exception: [Errno None] Unable to connect to port 22 on <IP_ADDRESS>
2021-01-14 17:38:48,542 - flintrock.ssh       - DEBUG - [<IP_ADDRESS>] SSH exception: [Errno None] Unable to connect to port 22 on <IP_ADDRESS>
2021-01-14 17:38:48,761 - flintrock.ssh       - INFO  - [<IP_ADDRESS>] SSH online.
2021-01-14 17:38:49,141 - flintrock.core      - INFO  - [<IP_ADDRESS>] Configuring ephemeral storage...
2021-01-14 17:38:49,612 - flintrock.core      - INFO  - [<IP_ADDRESS>] Installing Java 1.8...
2021-01-14 17:38:53,822 - flintrock.ssh       - INFO  - [<IP_ADDRESS>] SSH online.
2021-01-14 17:38:53,850 - flintrock.ssh       - INFO  - [<IP_ADDRESS>] SSH online.
2021-01-14 17:38:54,154 - flintrock.core      - INFO  - [<IP_ADDRESS>] Configuring ephemeral storage...
2021-01-14 17:38:54,377 - flintrock.core      - INFO  - [<IP_ADDRESS>] Configuring ephemeral storage...
2021-01-14 17:38:54,608 - flintrock.core      - INFO  - [<IP_ADDRESS>] Installing Java 1.8...
2021-01-14 17:38:54,976 - flintrock.core      - INFO  - [<IP_ADDRESS>] Installing Java 1.8...
2021-01-14 17:39:11,668 - flintrock.services  - INFO  - [<IP_ADDRESS>] Installing HDFS...
2021-01-14 17:39:15,128 - flintrock.services  - INFO  - [<IP_ADDRESS>] Installing HDFS...
2021-01-14 17:39:16,721 - flintrock.services  - INFO  - [<IP_ADDRESS>] Installing HDFS...
2021-01-14 17:39:41,972 - flintrock.services  - INFO  - [<IP_ADDRESS>] Installing Spark...
2021-01-14 17:39:45,131 - flintrock.services  - INFO  - [<IP_ADDRESS>] Installing Spark...
2021-01-14 17:39:46,820 - flintrock.services  - INFO  - [<IP_ADDRESS>] Installing Spark...
2021-01-14 17:40:43,353 - flintrock.services  - INFO  - [<IP_ADDRESS>] Configuring HDFS master...
2021-01-14 17:42:42,805 - flintrock.services  - DEBUG - Timed out waiting for HDFS master to come up. Trying again...
2021-01-14 17:44:44,679 - flintrock.services  - DEBUG - Timed out waiting for HDFS master to come up. Trying again...
2021-01-14 17:46:46,707 - flintrock.services  - DEBUG - Timed out waiting for HDFS master to come up.
Do you want to terminate the 3 instances created by this operation? [Y/n]: Y
Terminating instances...
Traceback (most recent call last):
  File "/home/marco/Development/virtualenvs/spark/bin/flintrock", line 8, in <module>
    sys.exit(main())
  File "/home/marco/Development/virtualenvs/spark/lib/python3.7/site-packages/flintrock/flintrock.py", line 1187, in main
    cli(obj={})
  File "/home/marco/Development/virtualenvs/spark/lib/python3.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/home/marco/Development/virtualenvs/spark/lib/python3.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/home/marco/Development/virtualenvs/spark/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/marco/Development/virtualenvs/spark/lib/python3.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/marco/Development/virtualenvs/spark/lib/python3.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/home/marco/Development/virtualenvs/spark/lib/python3.7/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/marco/Development/virtualenvs/spark/lib/python3.7/site-packages/flintrock/flintrock.py", line 456, in launch
    tags=ec2_tags)
  File "/home/marco/Development/virtualenvs/spark/lib/python3.7/site-packages/flintrock/ec2.py", line 53, in wrapper
    res = func(*args, **kwargs)
  File "/home/marco/Development/virtualenvs/spark/lib/python3.7/site-packages/flintrock/ec2.py", line 955, in launch
    identity_file=identity_file)
  File "/home/marco/Development/virtualenvs/spark/lib/python3.7/site-packages/flintrock/core.py", line 651, in provision_cluster
    cluster=cluster)
  File "/home/marco/Development/virtualenvs/spark/lib/python3.7/site-packages/flintrock/services.py", line 226, in configure_master
    raise Exception("Time out waiting for HDFS master to come up.")
Exception: Time out waiting for HDFS master to come up.

I logged into the master before terminating the instances and got the included Hadoop log.
Using the following configuration:
services:
  spark:
    version: 2.4.7
    # git-commit: latest  # if not 'latest', provide a full commit SHA; e.g. d6dc12ef0146ae409834c78737c116050961f350
    # git-repository:  # optional; defaults to https://github.com/apache/spark
    # optional; defaults to download from from the official Spark S3 bucket
    #   - must contain a {v} template corresponding to the version
    #   - Spark must be pre-built
    #   - must be a tar.gz file
    download-source: "http://mirrors.advancedhosters.com/apache/spark/spark-2.4.7/spark-2.4.7-bin-hadoop2.7.tgz"

  hdfs:
    version: 2.7.7
    # optional; defaults to download from a dynamically selected Apache mirror
    #   - must contain a {v} template corresponding to the version
    #   - must be a .tar.gz file
    download-source: "https://archive.apache.org/dist/hadoop/common/hadoop-2.7.7/hadoop-2.7.7.tar.gz"

provider: ec2

providers:
  ec2:
    key-name: Cometa
    identity-file: /home/marco/Cometa.pem
    instance-type: r5.large
    region: us-west-1
    # availability-zone: <name>
    ami: ami-0a1ef8665fe122a96
    user: ec2-user
    # ami: ami-61bbf104  # CentOS 7, us-west-1
    # user: centos
    # spot-price: <price>
    vpc-id: vpc-1cea0879
    subnet-id: subnet-745c6f32
    # placement-group: <name>
    # security-groups:
    #   - group-name1
    #   - group-name2
    instance-profile-name: EMR_EC2_DefaultRole
    # tags:
    #   - key1,value1
    #   - key2, value2  # leading/trailing spaces are trimmed
    #   - key3,  # value will be empty
    # min-root-ebs-size-gb: <size-gb>
    tenancy: default  # default | dedicated
    ebs-optimized: no  # yes | no
    instance-initiated-shutdown-behavior: terminate  # terminate | stop
    # user-data: /path/to/userdata/script

launch:
  num-slaves: 2
  install-hdfs: True
  install-spark: True

debug: false

Please advise.
hadoop.log

Solved by creating a new VPC and subnet.

Solved by creating a new VPC and subnet.

Thanks for submitting a complete issue report. Are you all set now that you've created a new VPC and subnet? (Though I don't see how that would have solved things for you.)
If you're still having the same issue, two things I would do are:

Try HDFS 2.8.5. It's known to work with Spark 2.4, and I believe it's Flintrock's default.
You posted the HDFS secondary named node log. Check and post the primary log. There are probably some more informative messages in there.

Thanks for submitting a complete issue report. Are you all set now that you've created a new VPC and subnet? (Though I don't see how that would have solved things for you.)
If you're still having the same issue, two things I would do are:

Try HDFS 2.8.5. It's known to work with Spark 2.4, and I believe it's Flintrock's default.
You posted the HDFS secondary named node log. Check and post the primary log. There are probably some more informative messages in there.

Thank you for the quick reply and for providing such an useful tool. The problem was that I used an existing VPC with some custom settings for the domain name and DNS.

Thank you for the quick reply and for providing such an useful tool. The problem was that I used an existing VPC with some custom settings for the domain name and DNS.


Parameterize baseimage in Dockerfiles

This PR will allow the building of the images on a different base. For example, we need to build all the images with a SLE (SUSE Linux Enterprise) base for kubecf.
Relevant kubecf issue: https://github.com/cloudfoundry-incubator/kubecf/issues/744
This image was skipped: https://github.com/cloudfoundry-incubator/eirini/blob/master/docker/registry/certs/smuggler/Dockerfile
because the FROM line is not enough to change to another distro (there are apk commands in the Dockerfile) and we won't need this image in kubecf.

@viovanov do we still need this PR? We are also building FROM scratch and the one image that is Ubuntu based, we replace with sed : https://github.com/SUSE/scf-eirini-ci/blob/master/pipeline.yaml.gomplate#L358
would be cleaner if it was parameterized I guess.

@jimmykarily yes, I think it's cleaner parameterized - and more consistent.


Precomputed setCookie variations (depless)

As you requested @brettstack :)

Thanks Doug. Looks good. I'm happy to be getting back to 0 dependencies.
Please confirm these changes are submitted under the Apache 2.0 license.

Yes, I confirm.

Hey I am gonna close this just to de-clutter my personal PR tab, feel free to reopen/merge or just copy paste what I did, whatever!


Refactor to snake_case and use common roc_http crate

Going to pause my review because of https://roc.zulipchat.com/#narrow/channel/302903-platform-development/topic/General.20Discussion/near/489220952

Yes

Thank you @smores56
I can cleanup the internal snake_case in a follow up.


[bug] incorrect segmentation slice alignment

When I finish embedding, there are 188 slices in the CT image, but only the first 94 slices can be added the prompt, the later slices fail to be added, and the following error is reported.
ERROR:root:Traceback (most recent call last):
File "./samm-python-terminal/sam_server.py", line 272, in main
srv.infer_image(
File "./samm-python-terminal/sam_server.py", line 188, in infer_image
memmap = np.memmap(os.path.join(self.workspace, "mask.memmap"), dtype='bool', mode='w+', shape=self.masks[0].shape)
File "C:\Users\admin\anaconda3\envs\samm\lib\site-packages\numpy\core\memmap.py", line 228, in new
f_ctx = open(os_fspath(filename), ('r' if mode == 'c' else mode)+'b')
OSError: [Errno 22] Invalid argument: 'C:\3Dslicer\samm\samm-python-terminal\samm-workspace\mask.memmap'

The error itself should be a lock issue (#34).
The half of the image could not show is somewhat reproducible in the MRI sample from Slicer. This is something related to the RASToIJK problem. In most cases when it happens, if you see carefully at the other views, you could notice there are slices of segmentation generated, but not aligned correctly on the RED view (the working view). I think it's a rounding problem.

This problem should have been improved by the recent change of the architecture.


Using Time Series data to Train a GNN in G3

Hi,
I opened issue #6 and asked about the Running "Case-study-COVID-19-in-Singapore" demo using G3. You stated that the code base of the Covid-19 demo on G3 is hard-coded, and the LSTM part is not 100% functional. Therefore it is not pushed to this repo yet.
However, I have another question related to this. I have a dataset containing some time-series data on a GNN. I want to train a GNN using the G3 for the prediction over this time-series.
For example, you can consider a dataset of Covid-19 cases. So, based on this, I want to train 10 sequential days of confirmed cases in 5 cities to predict the 11th day of confirmed cases in these cities. So my question is that, is it possible to use time-series data to train a GNN in current the current G3?
I reviewed the sample data you put in this repo for the G3 (G3/dataset/gcn/). None of them are time-series data and time-series prediction. Regarding the current API of G3 and the lack of the LSTM module in it, I want to know whether we can train a model for time series prediction using G3 or not.
Thanks for your time. :)

Hi thanks for your interests.
The usage of GNN training system for time-series data is still under investigation. We see several recent works that are focusing on time-series data. would you please check the related publications? The correct way of integrating LSTM to GNN is not known. G3 currently does not support time series prediction.
related work that may be interesting
Yu, Bing, Haoteng Yin, and Zhanxing Zhu. "Spatio-temporal graph convolutional networks: a deep learning framework for traffic forecasting." Proceedings of the 27th International Joint Conference on Artificial Intelligence. 2018.

Thank you @lushl9301 for this great explanation.


Scroll bar doesn't work well

When browsing a page such as https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-0xa--irql-not-less-or-equal the left hand side menu list displays. This is correct.  This menu list is too big to fit on the page so it needs a scroll bar. However you have tried to be too clever and make it disappear when not in use. Unfortunately when it disappears it doesn't come back unless you start scrolling first. So in order to scroll the left hand side menu you have to put your mouse over the menu and start scrolling so that the scroll bar appears and you can then scroll the left hand menu. This is in google chrome.
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 85e7987a-ee73-57ac-05d3-60c045963022
Version Independent ID: 87e5f7de-ab6c-2adc-b0ab-30ef1c0776f3
Content: Bug Check 0xA IRQL_NOT_LESS_OR_EQUAL - Windows drivers
Content Source: windows-driver-docs-pr/debugger/bug-check-0xa--irql-not-less-or-equal.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @DOMARS
Microsoft Alias: domars

@deanmresource - Not sure I follow here. Perhaps you describe the steps that you follow when the left menu disappears and what type of device is running Chrome?
If the browser is made small enough at some point the left topic table of contents (TOC) menu is not rendered. But when the left TOC is present, I can scroll up and down in the TOC using the TOC control or I can scroll up and down in the topic using that scroll bar. I can click on either scroll bar to move around in either the TOC or the topic.
Creating a web page that works across multiple form factors, languages and browsers is a challenge, but our current setup seems to work reasonably well in my and other team members, limited testing. But there may be ways that we should consider to improve how our content is presented.

@DOMARS Hi yes i described the procedure to scroll. Basically, i can scroll the left hand TOC when i use the mouse scroll wheel. When i put the mouse over where the scroll bar should appear, it doesn't and i order to make it appear i have to scroll the mouse then "capture" the scroll bar with my mouse and then i can use that to scroll with.
This machine is windows 10 with chrome Version 78.0.3904.108 (Official Build) (64-bit)
there is an update waiting so i will apply that and see what my mileage is. This issue isn't a problem once you work out what you have to do in order to make the TOC scroll. You just can't put your mouse into the TOC area and make the scroll bar appear (which would be the correct actions).

@deanmresource - Thanks for that clarification. As I understand it, the issue is that the scroll bar is not appearing when it should. I'm not able to replicate that.
I noticed a few things as I have looked at this:

We seem to detect hover over for the mouse wheel to determine focus, with out requiring a click to bring focus. That is, without clicking on the topic or the TOC, if you hover over either, the mouse wheel will scroll in either of the two Windows.
When the Window is so small that the TOC no longer is displayed, a "Contents" menu appears on the top right of the topic.

Let me know how the update goes and if that changes the scroll bar rendering behavior.

@DOMARS I have checked the scroll bar feature and it works excellently. The only thing i have noticed, which is of no consequence, is that the scroll bar doesn't disappear at all now however this allows someone to scroll the window at any time which removes the problem i saw before. This definitely works for me and i am sure others too.
Thanks


[BUG] Unwanted changes of letter case in link text

Description
It seems that if a link text matches the name of the linked file, except the letter case, the text is automatically aligned to the file name. For instance, if the link is [foo](<./Foo.md>], it is converted to [Foo](<./foo.md>). This is not very good as really disturbs the sentences containing such links. The link text should be always honoured.
Steps to Reproduce

Create foo.md.
Create bar.md.
Create a link in foo.md: [Bar](<./bar.md>)
The link is converted to [bar](<./bar.md>) (the letter case changes)

Expected Behavior
The link text should be never changed.
Actual Behavior
The letter case in the link text changes to match the file name of the linked file.
Environment Information

Plugin Version: 2.10.1
Obsidian Version: 1.7.7
Operating System: Windows 10

Attachments

Please attach a video showing the issue
Please attach a sample vault where the issue can be reproduced

Confirmations

[X] I attached a video showing the issue
[X] I attached a sample vault where the issue can be reproduced
[X] I have tested the issue with the latest version
[X] I have checked for existing issues

Fixed in https://github.com/mnaoumov/obsidian-better-markdown-links/releases/tag/2.10.4


Created a news article about the El Planeta Es La Escuela workshops. …

…Added 'News' and 'Resources' navigation links to all the news items.

@jhung when you get a chance please take a look at this.


Update repo documentation

What is this PR doing?
Updating repo documentation.

Turn main repo README into landing page with relevant sub folder/component links.
Include aggregator-proxy in setup.ts.
Update aggreagator-proxy npm repo.
Clean up all component READMEs. Add more troubleshooting, removing empty sections.
Add docs folder with guides for local & remote setup, system overview, and client usage.
Add image assets for landing & system overview.

How can these changes be manually tested?
:eyes: :book:
It would be helpful if someone could run through my guides and make sure they are usable by someone else :)
Does this PR resolve or contribute to any issues?
No
Checklist

[x] I have manually tested these changes
[x] Post a link to the PR in the group chat

Guidelines

If your PR is not ready, mark it as a draft
The resolve conversation button is for reviewers, not authors

(But add a 'done' comment or similar)

TODO

[x] Local dev, instructions to point at any network/RPC via env.
[x] Incorporate https://github.com/web3well/bls-wallet/issues/157

Going to merge this by EOD June 6th US time so we have updates in place for upcoming PSE event.


want to add some programming books.

One of them is BeginningNodejs , JavaScript Patterns - Stepanov , PHPOracleWeb etc.

If you want to add a resource

identify the web address to access the material
check if the authors/the publishers permit a public share of the material
see how others prepared and submitted a pull request, and adopt this pattern
for your contribution.  On the main page, a dedicated section «How to
contribute» provides additional hints and examples to facilitate this.

Can i take up this issue, can you assign this to me?

Programming with java

@nbehrnd told you all


Fix: Navbar's SearchBar's design is incosistent with rest of the page.

Current Behavior

Expected Behavior

Screenshots/Logs

Environment

Host OS: Mac Linux Windows
Platform: Docker or Kubernetes
Meshery Server Version: stable-v
Meshery Client Version: stable-v

Contributor Guides and Resources

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Layer5 site in Figma (open invite)
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

Was this the intentional design ?

@35C4n0r No, i don't think so

Also the Active Nav Link Indicator is not working properly, it should be fixed too

This is how search bar is supposed to look:

@Akshun-01 there you go

Hey @35C4n0r where did you find this bug, after running on my local env and on the live website. None of them shows a yellow searchbar.

This is what I can see..
Although it still needs some changes with respect to the proposed design that Archit mentioned, I can work on that. But I couldn't find the yellow bg color bug that you mentioned. Can you please clarify, where the issue was found.

@Akshun-01 yes you are right because it just got fixed with latest PR but there is still issue with Active Nav Link Indicator not working properly

ok I'll see into it.

Also @iArchitSharma , compared to the proposed design the search bar is very rounded. Does it need attention?

Like other elements on the page are also more rectangular than oval

It should be like the image below but i would suggest you to not make changes on search bar before this PR merges
https://github.com/layer5io/docs/pull/107

Hey, is this issue open? I would love to work on this

Hey, @iArchitSharma I see that PR is currently in progress. Can you please give me a ping on this when it's done? Till then I'll work on other issues.
Thanks! ^^

Sure @Akshun-01 I will

Resolved. Thanks for raising this, @35C4n0r and @Akshun-01


Undo accidental breaking change to updateQueries

TODO:

[ ] If this PR is a new feature, reference an issue where a consensus about the design was reached (not necessary for small changes)
[ ] Make sure all of the significant new logic is covered by tests
[ ] Rebase your changes on master so that they can be merged easily
[ ] Make sure all tests and linter rules pass
[ ] Update CHANGELOG.md with your change
[ ] Add your name and email to the AUTHORS file (optional)
[ ] If this was a change that affects the external API, update the docs and post a link to the PR in the discussion

Should updateQueries work as the docs examples now? Mine seems to never be invoked and I am on 0.5.0-1 now

Will make a minimal example first then, it was not working for me but perhaps I am doing something wrong that will show up at minimal example

Ok I may have lost somehting on the way but here it is the client with     "apollo-client": "^0.5.0-1"  and "react-apollo": "^0.5.13",
import React from 'react'
import ReactDOM from 'react-dom'
import gql from 'graphql-tag'
import ApolloClient, { createNetworkInterface } from 'apollo-client'
import { ApolloProvider, graphql } from 'react-apollo'
const client = new ApolloClient({
  networkInterface: createNetworkInterface({uri: 'http://localhost:4000/graphql'})
})
const BaseList = React.createClass({
  sendMutation () {
    const data = {name: this.refs.input.value}
    this.props.setMinimal({variables: {data}})
  },
  render () {
    let minimals = []
    if (this.props.data.minimals) {
      minimals = this.props.data.minimals
    }
    return (

          {
            minimals.map((item) => {
              return (

{`${item.id} ${item.name}`}

              )
            })
          }

        <input ref={'input'} />
        <button onClick={this.sendMutation}>
          {'Send'}
        </button>

    )
  }
})
const query = gql`
  query{
    minimals{
      id
      name
    }
  }
`
const setMinimalQuery = gql`
  mutation ($data:MinimalInput) {
    setMinimal(data:$data){
      name
      id
    }
  }
`
const updateQueries = {
  'minimals': (previousQueryResult, { mutationResult, queryVariables }) => {
    console.log('it worked somehow')
    console.log(previousQueryResult)
    console.log(mutationResult)
  }
}
const props = ({ ownProps, mutate }) => {
  return {
    setMinimal ({variables}) {
      return mutate({
        variables,
        updateQueries
      })
    }
  }
}
const List = graphql(setMinimalQuery, {props})(graphql(query)(BaseList))
const app = (
  <ApolloProvider client={client} >
    <List />
  </ApolloProvider>
)
ReactDOM.render(
  app,
  document.getElementById('app')
)

And here is the dumb server:
const express = require('express')
const { apolloExpress, graphiqlExpress  } = require('apollo-server');
const cors = require('cors')
const { makeExecutableSchema } = require('graphql-tools')
const bodyParser = require('body-parser')

const typeDefs = `
  type Minimal{
    id: ID!
    name: String
  }
  input MinimalInput{
     name: String
  }
  type Query {
    minimals:[Minimal]
  }
  type Mutation{
    setMinimal(data:MinimalInput):Minimal
  }
`
let currentId = 3
let theDataBase = [
  {id:1,name:'Foo'},
  {id:2,name:'Bar'}
]
const resolvers = {
  Query: {
    minimals(){
      return theDataBase
    }
  },
  Mutation:{
    setMinimal(root,params){
      const {data} = params
      const newData = {
        id:currentId++,
        name:data.name
      }
      theDataBase.push(newData)
      return newData
    }
  }
}
const schemaOptions = {
  typeDefs,
  resolvers
}
const schema = makeExecutableSchema(schemaOptions)
const app = express()
app.use(cors())

app.use('/graphql',
     bodyParser.json(),
     apolloExpress({
        schema
     })
)
app.use('/graphiql', graphiqlExpress({
  endpointURL: '/graphql',
}));
const httpPort = process.env.PORT || 4000
app.listen(httpPort,  "<IP_ADDRESS>", () => console.log(`Now browse to localhost:${httpPort}/graphiql for UI or localhost:${httpPort}/graphql for API`))

The console.log of the updateQueries never get's called

@drFabio I think you're misunderstanding what the "query name" is. This query:
 query {
    minimals{
      id
      name
    }
  }

Doesn't have a name. It needs to be like this:
 query MyQueryName {
    minimals{
      id
      name
    }
  }

And then MyQueryName is the thing you need to put in updateQueries.

Wow thanks @stubailo let that slip past my implementation several times.

What the updateQueries should return? an object with the same shape as prev?


Doesn't catch improperly formatted dates

I went with DataFrames for ins and outs, but the import is weirdly silent about failed datetimes.
For now, using:
    # Format the dates
    if 'birthdate' in df.columns:
        df['birthdate'] = pd.to_datetime(df.birthdate).dt.strftime('%Y-%m-%d')
    if 'decision_date' in df.columns:
        df['decision_date'] = pd.to_datetime(df.decision_date).dt.strftime('%Y-%m-%d')
    if 'created_at' in df.columns:
        df['created_at'] = pd.to_datetime(df.created_at).dt.strftime('%Y-%m-%d %H:%M:%S')

When I grab the column names I do also get the types, so maybe move this into the sdk. However, I am potentially changing data, specifically created_at (TODO: verify that the timezone info doesn't skew).


Two Disconnect Issues

I have two disconnect issues that are getting reported with consistency

First one is
Disconnected from C4:BE:84:40:1A:BA with status 8 (GATT_INSUF_AUTHORIZATION)
This issue is happening with a google Pixel running android 8.0

Second one is
"Disconnected from 98:7B:F3:B0:D7:9D with status 133 (GATT_ERROR)"
Context
I have a bluetooth scale that users weigh in on so the duration of the connect is pretty short becuase after the scale is finished processing it shuts off. I am able to connect with the majority of devices without an issue but see these two issues in the logs pretty frequently. Does anyone have any suggestions?

Bond the device (it probably does it automatically — check top bar notifications)
Android reports some subset of problems this way (i.e. when the peripheral is no longer advertising)

@dariuszseweryn
Sorry can you clarify a little bit

Are you suggesting that I should be bonding the device? It seems like we arent' able to explicitly bond to a device
https://github.com/Polidea/react-native-ble-plx/wiki/Device-Bonding

Do you know why the peripheral would no longer be advertising? Any suggestions for how to address this issue?

Correct
Because it went out of range or it stopped advertising I suppose.  Probably nothing can be done about it. Do you always first scan for the peripheral before you connect?

Do you have any insight or documentation for this library on how to go about bonding. Again I was under the impression this wasn't possible with react-native-ble-plx
I don't believe it goes out of range as the phone is right next to the scale as this is happening (this is only related to a few phone types - motorola and pixel). I do always scan first before connecting - is there anything related to that I should be looking out for?

Everything is written in the documentation you linked. Either the peripheral will initiate the bonding process or you would need to make a native module that will start it
Sometimes 133 happens. You can retry. All known situations that cause this were already mentioned

I'm having this same issue:
"Disconnected from 98:7B:F3:B0:D7:9D with status 133 (GATT_ERROR)"
No idea, why or what is causing this. Any ideas?


fix: couple changes to support blockchain explorer

Fix: #172
Changelogs:

generate a json conneciton profile
reconcile conneciton profile after peer reconciled
get full api endpoint for peers/orderers
use cacert for node endpoint tlscacerts
add TLSEnable (always true in bestchains) to meet blockchain explorer requirements

@0xff-dev pls check whether this will break any functionalities in chaincode deployment


Enhancement on REST API to support chunked transfer-encoding

Just to propose an idea for REST API improvement for my case. I'm developing a middle-tier application sit between OrientDB and client in order to exchange data between them. However OrientDB's REST API currently requires 2 HTTP headers which one of them is 'Content-Length'. This causes my application has to read and store a whole bunch of client's request data for just to know a total length.
I would need OrientDB to support chunked transfer-encoding which is standardized in HTTP 1.1 for both incoming request and outgoing response.

This will be solved once we replace our HTTP layer with Jetty or something else.


Dogs vs cats

Sample project to support https://movidius.github.io/blog/deploying-custom-caffe-models/
image-classifier - added code to print inference time
rapid-image-classifier - minor changes
dogvscats, image-classifier & rapid-image-classifier have been functionally tested.

@ashwinvijayakumar, I'm gonna close per our conversation. will look for new one soon.


Experiment notebook for equalizedOdds and errorRate

What's in the PR?
Experiment for equalizedOdds constraint.

Dataset used: Adult income dataset from UCI.
Experiment 1: Effect of varying epsilon on violation-error graph.
Experiment 2: Effect of varying epsilon per ratio in EqualizedOdds on violation-error graph.
Experiment for errorRate constraint.
Dataset used: Adult income dataset from UCI.
Experiment 1: Effect of varying epsilon on violation-error graph.
Experiment 2: Effect of varying epsilon per ratio in ErrorRate on violation-error graph.

Closing this in favour of #3