text:
Allow verifying extension hash

I would like to make sure that I'm executing the same code today as I was yesterday. For example if the url example.com/roamextension-v1.2.3.js gets taken over by hackers and roamjs goes to download the url, I'd like roamjs to raise an error instead of executing malicious code. A good solution to this is adding a sha256 parameter, so the hash of the code can be verified before executing. If it gets the wrong hash it can say
error: hash failed to verify:
expected <hash1>
got <hash2>

I'm hesitant to add this to latest, to keep all users up to date with latest scripts.
I definitely see adding this once versions are implemented: https://github.com/dvargas92495/roam-js-extensions/issues/13

I'm hesitant to add this to latest, to keep all users up to date with latest scripts.
I definitely see adding this once versions are implemented: https://github.com/dvargas92495/roam-js-extensions/issues/13

versions are live


text:
Filter Embeds - Support Page Embeds

Both in pages and in the sidebar
Appears to have weird behavior when combined with Sidebar Filters
From Jon Surrat on Twitter

Audit: Won't do

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
Revamping the Dictionary feature (Closes #404)

Next steps:

[x] Solve infinite query loop
[x] Use separate suggestion vs lookup apis. Datamuse is great for suggestion, not great for lookup
[x] Custom menu item renderer

Demo video of changes: https://www.loom.com/share/1daeca6047fb46ec8579d796d8085a52

Added SmartBlock format to roamjs/workbench/dictionary docs

source: gharchive/pull-request

license: Unlicense


text:
rebar2 dependency

Any chance we can get this updated to rebar3? rebar2 is dead.
07:41:12 $USERNAME@$COMPUTERNAME gdauthex ±|dev ✗|→ mix deps.compile --force
===> Compiling parse_trans
Could not find "rebar", which is needed to build dependency :base64url
I can install a local copy which is just used by Mix
Shall I install rebar? (if running non-interactively, use "mix local.rebar --force") [Yn]

I removed lib_deps.

sweet, know when you'll push it up to hex?

any update on this?
just ran into this error installing Guardian in a new project on elixir 1.8.
i now have to either downgrade to 1.7 or remove Guardian again.

Would be neat to have it with a version greater than 1.0 and with synchronised versions as currently your git has tag 1.0 but hex has 0.0.1.

authors: beardedeagle dvv lanodan wohlben

license: mit

license_source: bigquery


text:
The Mitogen master process was unable to serve 'ansible.module_utils.distro._distro'

Please drag-drop large logs as text file attachments.
ansible.log

Which version of Ansible are you running?
2.8.3+dfsg-1 from Ubuntu 19.10

Is your version of Ansible patched in any way?
Debian patches

Are you running with any custom modules, or module_utils loaded?
Not that I know

Have you tried the latest master version from Git?
Yes

Do you have some idea of what the underlying problem may be?
No

Mention your host and target OS and versions
Ubuntu 19.10 host, Ubuntu 18.04 target

Mention your host and target Python versions
3.7.4 and 3.6.8

output of "ansible-config dump --only-changed".
DEFAULT_STRATEGY(/home/jak/.ansible.cfg) = mitogen_linear
DEFAULT_STRATEGY_PLUGIN_PATH(/home/jak/.ansible.cfg) =
['/home/jak/Projects/Temporary/mitogen/ansible_mitogen/plugins/strategy']

Working on it right now :) Duplicate of #590. Please subscribe to that bug instead, it's the last before 0.2.8 will be cut. Thanks for reporting this!

This is now on master. Once again thank you for reporting it

authors: dw julian-klode

repo: dw/mitogen


text:
Document

https://dw12278.github.io/MyBlog/#/
Description

德佩罗


text:
Arkenfox v128.0

Hey @dwarfmaster
Thanks for your amazing work!
Can you run the regenerate action manually, so we don't have to wait until Sunday to get the newest 128.0 update?

I just saw your message, it is merged now even if a bit late. Maybe I should find a way to make it easy for users to run the regenerate action locally through nix, because I tend to be a bit slow the react to github issues.

authors: OliverGeneser dwarfmaster

repo: dwarfmaster/arkenfox-nixos


text:
add pandas as dependency

https://github.com/dwavesystems/dimod/blob/003253f5a28419ed7664042bb7dd3644c78832c0/dimod/sampleset.py#L1765
In this function you implicitly assume that a user has pandas installed, but it's not currently a dependency in requirements.txt
Would be great to add.

Hi @JordanAWS , we deliberately do not have a direct dependency on pandas. We do include a few methods, like this one, for convenience.
We do include it in our tests/requirements.txt for testing.
I do think we should raise a better error message and update the docstring to indicate this.

Good plan, thanks for the super quick response!

authors: JordanAWS arcondello

repo: dwavesystems/dimod


text:
Unified docs: add SDK index and move _static images

Enables us to create a symlink to the docs folder in SDK and bring in selected documents without duplicating doc files in two index files. Also separates html and image folders.

Preview in my RTD: https://dnx.readthedocs.io/en/latest/index.html

Codecov Report

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

@@           Coverage Diff           @@
##           master     #151   +/-   ##
=======================================
  Coverage   71.89%   71.89%
=======================================
  Files          26       26
  Lines        1637     1637
=======================================
  Hits         1177     1177
  Misses        460      460

Continue to review full report at Codecov.

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

authors: JoelPasvolsky codecov-io


text:
Pressing return opens a second modal...

Using sample (Yes No) if I press return, instead of closing the dialog (as one would expect triggering blue yes), instead it creates another modal (and the background fade darkens)
Repeating this process continues to open another modal, and background darkens

Focusing on the newly created modal is a dangerous default. In some browsers, if the element receiving focus isn't focusable (tabindex>=0, <input>, etc.), then the focus goes to the <body>. If the developer wants to focus to go directly to a particular element, this would need to be coded around.
an optional focusTarget that uses element.querySelector() to search within the modal would be better. At least, that's what I've manually coded in to my controllers.

I'm collating all issues relating to this into #209

authors: dwmkerr elliottregan mikeerickson

repo: dwmkerr/angular-modal-service


text:
Added Wii ASCII for wii-linux-ngx, whiite and gc-linux

wii-linux-ngx, whiite-linux and gc-linux are linux distros for Nintendo Wii. All can use the same Wii logo.

Thank you for your contribution!
This PR is merged into hyfetch since this repo (dylanaraps/neofetch) seems no longer maintained.
HyFetch is a fork of neofetch with LGBTQ pride flags, but the repo also maintains an updated version of the original neofetch, addressing many pull requests that are not merged in the original repo.
Read the "Running Updated Original Neofetch" section for more info!

authors: MrVeink hykilpikonna

repo: dylanaraps/neofetch


text:
[Snyk] Fix for 4 vulnerabilities

Snyk has created this PR to fix 4 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):

plugins/events-backend-module-bitbucket-cloud/package.json

Note for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Asymmetric Resource Consumption (Amplification) SNYK-JS-BODYPARSER-7926860
  112

Cross-site Scripting SNYK-JS-EXPRESS-7926867
  80

Cross-site Scripting SNYK-JS-SEND-7926862
  80

Cross-site Scripting SNYK-JS-SERVESTATIC-7926865
  80

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Cross-site Scripting

🎉 Snyk hasn't found any issues so far.
✅ code/snyk check is completed. No issues were found. (View Details)

repo: dylansnyk/backstage


text:
[RFC] Support gcp secrets

Is your feature request related to a problem? Please describe.
I'm running an app in the google cloud and using the google secret manager to store passwords and tokens. Currently we don't have a good solution to manager secrets in multiple environments using secrets manager, we need to everytime change to environment variable when we are running locally. I'd like to integrate dynaconf with gsecrets.
Describe the solution you'd like
I found this project https://github.com/binxio/gcp-get-secret. It is a client to configure environment variable with values from google secret manager. I was thinking about using the similar strategy and build a loader to do this:
The secrets could be specified usinig the following formats:
[default]
SECRET = "gcp:{name}"
SECRET = "gcp:{name}/{version}"
SECRET = "gcp:{project}/{name}"
SECRET = "gcp:{project}/{name}/{version}"
SECRET = "gcp:{projects}/{project}/{secrets}/{name}/versions/{version}"

I'm going to look how the vault integration works, but before starting to code, I would like to know if makes sense to build this loader.

Hi,
If this is not too complicated I'll be happy to try and assist in a PR (but I'll need to have some guidance)

@rochacbruno please update if you think you can support me on working on this PR

HI @sephiartlist sure! start looking at how loaders are defined

should we wait to see the final implementation of issue #586  ?

Any movement on this?

authors: deanban gabicavalcante rochacbruno sephiartlist

repo: dynaconf/dynaconf


text:
[bug] Default environment always loaded, also when var is already defined

Describe the bug
As i understand from reading the code, the default environment is implemented by adding it to the environment list in build_env_list(). This means, however, that if a change my environment (in my case using from_env) the default settings overwrite the existing settings (again as i understand). This seems like undesirable behavior to me, as i expect default settings to only be set when they are not defined already.
To Reproduce
Steps to reproduce the behavior:
use below config files and perform:
from config.config import settings as base_cfg
cfg = base_cfg.from_env(env2, keep=True).from_env(env1, keep=True)
print(cfg.TEST)
desired result should be False, but is True

Having the following config files:

 Config files
/path/settings.toml
[default]
TEST = true
[env1]

[env2]
TEST = false

I think this is a duplicate of https://github.com/rochacbruno/dynaconf/issues/344

I think this is related to #344

It is a duplicate indeed I think. My apologies

This issue will be part of #1157

authors: jorritsmit rochacbruno


text:
Implement custom sqrtm for dm_fidelity

See https://arxiv.org/pdf/2201.08663.pdf and https://github.com/KingJamesSong/FastDifferentiableMatSqrt/blob/main/torch_utils.py for the implementation.
This or a Newton method should be more stable and faster than svd/eigh-based implementations.

We closed #243 because the fidelity is ~1%, which is too low.

See https://linear.app/dynamiqs/issue/DYN-87/implement-custom-sqrtm-for-dm-fidelity.

authors: gautierronan pierreguilmin

repo: dynamiqs/dynamiqs


text:
getWilayaByBaladyiaName

Given a baladyia name or code ( would be more unique, because imo there is two baladya with same name and different wilaya).

@Fcmam5 Are you taking in count all Latin name and Arab name for getting resources by name ?

Yes, please take getWilayaByDairaName as example

repo: dzcode-io/leblad


text:
KVO crash during dealloc when dismissing modal

*** Terminating app due to uncaught exception 'NSRangeException', reason: 'Cannot remove an observer <BRCWebViewController 0x7f96e2e88220> for the key path "hidden" from <UINavigationBar 0x7f96e2e209d0> because it is not registered as an observer.'
When using this component modally I made a subclass and added a dismiss button in the navbar during viewDidLoad. After dismissing it will crash.

Still crashing.

same

I'm getting similar errors, not exactly the same but it's when I present the class modally. It only seems to occur on iOS 8.

authors: DarkDarius GabrielCartier cashmash chrisballinger

repo: dzenbot/DZNWebViewController


text:
Package not available in Package control

I have tried installing plugin via Package control, and repository is failing.
Here is error from Sublime 2 console:
Package Control: Error downloading package. HTTP error 500 downloading https://nodeload.github.com/dzhibas/SublimePrettyJson/zip/master
Could you please provide instructions for manual install in your readme?
THanks

After 7 years, this problem repeat itself.
I need this usefully plugin, but I can't install because the program  communicate with me printed text:

Package Control: Error downloading package. HTTP error 500 downloading https://codeload.github.com/dzhibas/SublimePrettyJson/zip/master.
error: Package Control
Unable to download Pretty JSON. Please view the console for more details.

authors: Tomirad azec-pdx

repo: dzhibas/SublimePrettyJson


text:
added option for titleless window

I wanted a more compact view for the hourglass window - so I removed the title bar.

The title bar can now be toggled off or on via the Advanced options → Windows title → None

The title-less window can be moved and resized via mouse (is draggable).

Thanks for this!
Merged this manually as c874899b90751a9459a5661275894073255aacd7 with minor changes:

Updated Usage.txt to mention the new command-line option.
Set MainWindow.Title even when WindowTitleMode is None because this string is needed for the taskbar, Alt+Tab, etc.
Moved logic to set WindowStyle to an UpdateWindowStyle method that is called from a few places. This makes sure that everything to do with what "kind" (for lack of a better word) window we are showing is set in one place and always the same way.

The top border that doesn't go away is annoying. There is no fix for that, it seems, that would work well with the existing code in .NET Framework 4.0, so I did a couple of follow up commits:

Update to .NET Framework 4.5 (7ff54f9e3aff759f7bc3e71159c7d2af34c1e6de)
Used the new WindowChrome property to hide the title bar instead of setting WindowStyle to None, which preserves the ability to resize while getting rid of the title and the top border (1361c7f13293bed65e6b1113ce80804ce7b819ce)

authors: dziemborowicz fmuecke

repo: dziemborowicz/hourglass


text:
How to set model URI in editor?

I'm using Monaco-editor in the template tag like below:
<MonacoEditor v-model="entities" ref="entityEditor" lang="json" :options="editorOptions" />
Also, I've made a plugin called monaco-editor.ts which includes all Monaco-related configuration code.
In this file, I've defined schema for JSON, which is defined like below:
monaco.languages.json.jsonDefaults.setDiagnosticsOptions({
        validate: true,
	schemas: [
		{
			uri: "http://my-schema.json",
			fileMatch: ["in-memory://with-schema.json"],
			schema: {
                                //My schema...
                        }
                }
       ]
})

Here I've defined fileMatch with my custom string instead of ["*"] so that it can only be used when I want.
Please help me define the model-URI option in my .vue file. Can it be directly defined in the  tag or not?

I have added the modelUri option to <MonacoEditor> in v1.3.1.
Try to use it and if you encounter any problems, please ask me again.


text:
Refactor versions

This commit refactors versions.py and adds linting and tox to the
testing.

Pull-request updated, HEAD is now 4c156b86c73618328400e1b3669ee3df8bd6dc9f

Pull-request updated, HEAD is now 7584f8edbd8ae76056499ced2640dc08355ca234

Pull-request updated, HEAD is now f156b39d244b593e47b4b6f88abaf28ce63030e2

Pull-request updated, HEAD is now 4894d73e95254a4de9a1e09e22e636d26b0e5a3d

Pull-request updated, HEAD is now 3b7ed81a4a25ad166ebc3fcfff4c699888923993

repo: e-minguez/openshift-versions


text:
Submodules

This pull request changes the dependencies source from submodule to git external project.

Build status:

Linux
Windows

Build status:

Linux
Windows

Build status:

Linux
Windows

Build status:

Linux
Windows

This pull request was included in #34.

authors: julianbermudez richiware

repo: eProsima/Micro-XRCE-DDS


text:
Executable file of eXpandFramework-18.2.703.0.exe

Question
Hi,
I am normally using executable file to install eXpandFramework. However I did not see version
eXpandFramework-18.2.7 which I am going to download Devexpress 18.2.7 too.
Can anyone advice me how to build/install locally if executable file is not available  ?

Hi
sorry for missing this ticket, please feel free to ping me again if I delay.
I am not sure why you failed to find how the installation works now. It's on the release page.
http://releases.expandframework.com

Closing issue for age. Feel free to reopen it at any time.
.Thank you for your contribution.

authors: apobekiaris david0villa expand

repo: eXpandFramework/eXpand

license: MS-PL


text:
Default minimum polling interval

Big thanks for this project!
Wondering, what is the default value for MinQueuePollingInterval?
Comment says it's 2 seconds, but value type is int and noted as it's in minutes.
https://github.com/ealsur/WebJobs.Extensions.GroupQueueTrigger/blob/master/Microsoft.Azure.WebJobs.Extensions.GroupQueueTrigger/GroupQueueTriggerAttribute.cs#L76

@alexsorokoletov If specified (ie you assign a value) it's in minutes.
If not, it defaults to the Azure QueueTrigger minimum polling interval, which was 2 seconds, until they lowered to 100ms.
Thanks for finding it, I will update the text :)

authors: alexsorokoletov ealsur


text:
Office documents comparation needed

Issue Type: Feature Request
It seems that in TortoiseGit, we can directly compare office documents such as 'word', 'excel'……ect by opening both of the files in an office application. But we cannot compare office documents in GitLen now in VSC because it says we cannot open binary files, which is either too large to compare....:(
Would you mind adding this feature?
Extension version: 8.3.1
VS Code version: Code 1.23.1 (d0182c3417d225529c6d5ad24b7572815d0de9ac, 2018-05-10T17:11:38.209Z)
OS version: Windows_NT ia32 6.3.9600

GitLens builds upon the built-in diff support in vscode itself. I would recommend opening an issue with vscode itself to ask for this feature. Once vscode supported diffing office documents, GitLens would natively support it. Although, GitLens also provides commands to compare files in an external diff tool (configured in your git config), and using an external tool such as Beyond Compare could provide the support you are looking for.
Hope that helps.

authors: MaleDong eamodio

repo: eamodio/vscode-gitlens


text:
Horizontal scroll on delete row

Issue Type: Bug
When the GitLens view is open in the sidebar, and I delete a line the editor scrolls horizontally.
Extension version: 9.0.1
VS Code version: Code - Insiders 1.30.0-insider (9e62a05bc7c5dbb74d165e06f7c3a5f3c7549096, 2018-12-03T06:12:08.874Z)
OS version: Darwin x64 17.7.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz (8 x 2800)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
3, 3, 3

Memory (System)
16.00GB (0.04GB free)

Process Argv
-psn_0_7317242

Screen Reader
no

VM
0%

@bm-stschneider I was able to reproduce this once, but can't seem to any more. I don't think it is related to having the GitLens side bar open. My guess is it is the current line blame annotation messing up (vscode's decorators seem to do that sometimes).
If you try setting "gitlens.currentLine.scrollable": false, the current line blame won't affect the horizontal scrolling and my guess would avoid this issue.

Seems to work better that way.

@bm-stschneider with that setting back on -- can you send me a video of the issue? Ideally happening a few times in a row?

I can repeat this over and over, I had to resize the editor a bit to make it work so it might be dependant on the width of the active editor.

Unfortunately other than using that setting, I don't think there is anything I can do here. Looks like a vscode issue.

authors: bm-stschneider eamodio


text:
Not able to compare file with previous commits.

Here's the message I'm getting when trying to compare the current file with previous commit(Empty file commit previously): "Unable to open compare. See output channel for more details"

GitLens Version: 3.4.8

VSCode Version: Version 1.11.2
Commit 6eaebe3b9c70406d67c97779468c324a7a95db0e
Date 2017-04-13T08:01:14.464Z
Shell 1.4.6
Renderer 53.0.2785.143
Node 6.5.0

What might be possibly going wrong?

@kggp1995 Can you set "gitlens.outputLevel": "verbose" in your settings.json? This will enable logging to the GitLens channel in the Output pane. Once enabled, please attempt to reproduce the issue (if possible) and attach the relevant log lines from the GitLens channel.

Ok, here's what we have:
Error: fatal: Not a git repository (or any parent up to mount point /home/$USER) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).  Failed with exit code: 128
The file was in a git folder, which in-turn was a sub-folder of the opened non-git folder from the editor.
SO, I opened the specific sub-folder in the editor and now shows the proper message:
...has no previous commit


text:
add check_token middleware

Hi,
I think this current example should better give users a hint about how to get token correctly, which is by storing the expired date and check the status of current token every time before calling.
I've add 1 additional global var, which is called expire_date. It's the expire date of current token.
And another function check_token, which will check the token availability before really call the callback function.
Thanks,
Vincent

Hi Vincent,
Thanks for your help. By design client should be unaware of the expire_date, and just get a new token when last one expires. This will simplify processes in many cases.

I see, thanks for your comment

authors: VELVETDETH ericliang

repo: easemob/emchat-server-examples


text:
double and long press function for xiaomi aqara button

Thx for this awesome plugin!
Is it possible with deconz to add double and long press function for xiaomi aqara button (2)?

Hi, I would like to bring this up again as I find that there is a significant delay in the single press event triggered by Aqara switch compared with Philips Hue Dimmer switch. I feel that it could be due to the support of double press in Aqara switch so it must wait for a while to distinguish these two events. In some cases like light switching, this extra delay (around 1 sec) could be annoying.
If that is really the cause, could we disable double press event in exchange for faster single press detection?

Not in deCONZ; the Aqara switch sends different messages for single press vs double press.  You would have to change this in the Aqara firmware (which is not upgradable over-the-air).

It seems to me that there are 1000 (press) and 1002 (release) events, and single press is triggered by 1002 so far. What if single press is triggered by 1000 so it will be triggered as soon as a press occurs?
If this brokes other mechanisms, what if we replace “long press” in homebridge with 1000 event so users who would like rapid single press can use this instead (although ironic)

The Hue dimmer switch sends events on press vs release, the Aqara switch doesn’t.  As I said before, it sends events on single press vs double press instead.  Unfortunately the ZigBee standard doesn’t define this, and each manufacturer handles this differently.

Actually, I find that this idea really works. I redirect the PRESS case to trigger LONG_PRESS event in hkZLLSwitchAction instead of NULL, and change the button type to SINGL_DOUBLE_LONG. I can see the following log:
Nov 04 09:34:46 pi homebridge[4640]: [11/4/2018, 9:34:46 AM] [Hue] lumi.sensor_switch_2 Button: homekit button long press
Nov 04 09:34:47 pi homebridge[4640]: [11/4/2018, 9:34:47 AM] [Hue] Light 3: homekit on changed from 0 to 1
Nov 04 09:34:47 pi homebridge[4640]: [11/4/2018, 9:34:47 AM] [Hue] lumi.sensor_switch_2 Button: homekit button single press
Nov 04 09:34:52 pi homebridge[4640]: [11/4/2018, 9:34:52 AM] [Hue] lumi.sensor_switch_2 Button: homekit button long press
Nov 04 09:34:52 pi homebridge[4640]: [11/4/2018, 9:34:52 AM] [Hue] Light 3: homekit on changed from 1 to 0
Nov 04 09:34:53 pi homebridge[4640]: [11/4/2018, 9:34:53 AM] [Hue] lumi.sensor_switch_2 Button: homekit button single press

As you can see, a long press is triggered before a single press for around 1 sec earlier and triggered the homekit action. Also in the double press event, there will be two long press actions. So I need to remove both single press and double press actions to avoid conflicts. But I'm satisfied with the rapid "Long Press" action.
I also doubt maybe I'm actually using an old version of Xiaomi round button switch instead of Aqara version. Not sure where to check this.

Yes, I agree that it is a hack and will be unsuitable for general purpose. I will maintain my own fork. Thanks for the assistance!

Yes, I agree that it is a hack and will be unsuitable for general purpose. I will maintain my own fork. Thanks for the assistance!

authors: bonze4 ebaauw tomky

repo: ebaauw/homebridge-hue


text:
Philips Hue bridge bulbs and accessories lost after power loss

Issue

Hi
Was a couple of times that my homebridge (running on raspberry pi) loose all the accessories connected to a Philips Hue bridge after a power loss.
It seem a problem similar to the one with deConz..
Adding a delay in homebridge service startup ("ExecStartPre=/bin/sleep 30" in homebridge.service) help a lot but in may opinion the is not an elegant solution also because in this way the delay is applied to every "sudo systemctl restart homebridge" command..
Any suggestion?
Log Messages

Debug Files

See #246.

Dear Erik I tried the suggestions in #246, at the moment I am not sure they work for me because is quite hard to test.
If I understood well the workaround, with "ph lightlist" you write the lights configuration in the bridge itself in order to retrive the configuration at startup time also if the bridge is still collecting real light data.. right?  :)
I also want to thank you for your VERY great jog !!
Best regards

Yeah, that’s right.  There will be a message in the homebridge log when deCONZ hasn’t yet fully initialised causing homebridge-hue to delay the startup of homebridge.

authors: ebaauw saveriospeziali


text:
Latch is displayed without entry in config.json

Hey ho Erik i got myself a second nukibridge to use your plugin 😉. So far everything works as it should 💪.
One thing I noticed with my security bar. This one has no latch. I have in the config.json also no latch activated. In Homekit, a latch is still displayed on the device. Do you have an idea why the latch is displayed?

That's a characteristic, Unlatch on the Lock Mechanism service for the smart lock, not a separate Lock Mechanism service for the latch function.  The latch setting in config.json controls the creation of the separate service; the characteristic is exposed unconditionally.
Originally, I planned to use the /unlock endpoint, which behaves differently, based on the door fitting configuration: unlatch for knob vs unlock for lever.  However, that didn't work out too well (see closed issues), so now I'm using the lockAction endpoint, explicitly specifying unlock or unlatch.

Thank you for the explanation. I understood that it has nothing to do with the latch in config.json.
What I unfortunately have not yet properly understood why do I need this switch for a lock without latch. Or does it only have an indicating function?
I switched on the switch unlatch earlier and the security bolt has made very strange noises because he has tried to drive over his end stop.

I just noticed that this error message filled my daemon.log until there was no more memory left on the pi and nothing worked.

It gets wilder and wilder. Now I have deleted the log files and made a reboot of the Pi. Now there is space on the Pi again.
After I looked into the journalctl of homebridge-nb-2 it asked me to press the button of the bridge again. This I have done.
Shortly after that he wants me to press the button again 🫣.

Now neither instance is running anymore even after a restart.

But it shouldn't be because both instances have a different port of the respective nuki bridge added.

Shortly after that he wants me to press the button again

No.  You pressed the button on one bridge (10689F0F), but Homebridge NB is still waiting for the press on the other bridge (6E7C5E21).

It looks to me like the two Nuki bridges are interfering with each other in both instances.

You only need one instance of Homebridge NB, exposing both Nuki bridges.  If you run two instances of Homebridge NB, both will discover and (try to) connect to both bridges.  The bridges aren't very powerful and have a hard time handling that load, resulting in the 503 service unavailable (and probably the bridge returning an invalid response, causing the TypeError).

But it shouldn't be because both instances have a different port of the respective nuki bridge added.

No, see the description for port in the Homebridge UI form:

Port to use for webserver receiving Nuki bridge notifications.  Default: random.

It doesn't look good that Homebridge NB retries the /auth immediately after 503 (and the TypeError).  That will definitely swamp the Nuki bridge.  There should be a delay, as when not having pressed the button.

You only need one instance of Homebridge NB, exposing both Nuki bridges. If you run two instances of Homebridge NB, both will discover and (try to) connect to both bridges.
That is a good hint and explains why everything is going crazy. But I assumed after our conversation on Discord that with a second nuki bridge I can turn on the latch function on my door lock and turn it off on the security deadbolt.
There is no possibility to configure single locks with this function.

Sorry if I was unclear.  My remark "Damn.  That is a catch-22."  Was in response to your correct observation that you would get all locks twice in HomeKit, as you cannot specify which devices to expose.

Not a thing. I seem to have misunderstood it, too. So I assumed that if I have two nuki bridges and operate my two nuki locks separately in different instances that I can then configure latch separately.
Now I have the problem that nothing of my intention works because the instances interfere with each other 😅😅😅

The instances don't interfere with each other; the Nuki bridge simply has a hard time handling the requests from two Homebridge NB instances.  I already saw this while creating Homebridge NB, running a dev/test instance next to a production instance.  And v1.4.x will have made things worse, with encrypted tokens.  And immediate the retry of /auth after an error is disastrous.

The instances don't interfere with each other; the Nuki bridge simply has a hard time handling the requests from two Homebridge NB instances.
That's how I meant it too, expressed it a bit stupidly 😅.
Do you still have an idea how I can solve my problem so that I can configure my security bolt without latch and my door lock with latch?
Is there maybe the possibility to tell the instance via config.json that it is only looking for a certain bridge?
Otherwise the purchase of the second Nuki Bridge was completely wasted 🫣

I already ran a sudo systemctl install homebridge-nb this morning to get your updated files from yesterday.

I don't think that's a valid command, or did you mean npm install homebridge-nb.  That installs the latest published version from the NPM repository, not the (work-in-progress) latest commit from GitHub.
v1.4.2 fixes the missing delay.  That version also supports whitelisting which bridges, smart locks, and openers to expose, see #66.  That should enable you to whitelist one bridge and connected devices in one Homebridge NB instance, and the other bridge and connected devices in the other instance.
In theory, you could have a two Homebridge NB instances, each whitelisting the same Nuki bridge and a different smart lock (with different latch setting), but that single bridge might still be overwhelmed by the combined requests from the two Homebridge NB instances.

After I just arrived home I found out that my Pi is out of memory again and system.log and daemon.log are 1GB again

Monitoring filesystem space and recycling logfiles is beyond the scope of Homebridge NB.  In a standard Homebridge installation, the Homebridge UI uses a dedicated logfile instead of syslog, which it recycles every so many lines.

Hey that's great news ❤
I just wanted to install the update but I get the answer that the version can not be found.
If I install with latest it stays on 1.4.1 and if I specify the version 1.4.2 comes the message:

Hi Erik, sorry for the late feedback. Family has been keeping me very busy 😁.
I have now updated the plugin and set it up successfully. I still have two instances with one nukibridge for each lock.
The plugin is running very well so far and nothing to complain about. I am once again impressed with your skills and how well you have implemented it ❤.
I would like to take this opportunity to thank you for your quick help again.
If I notice something out of the ordinary I will contact you again 😉
Thank you!

Oh I have one more question would it be possible to run both nukibridges in one instance? You had mentioned that I can no longer find it.
If so how would I have to adjust the config for this?

Yes, you would simply whitelist both bridges (or leave the devices empty).  But you would still only have one latch setting in that setup.  You need two Homebridge instances for different latch settings.

Oh yes the thing with the latch settings I forgot completely. Then I stay with two instances 😁

authors: Nastras ebaauw

repo: ebaauw/homebridge-nb


text:
Android: createEventWithPrompt without permissions

Hi @ebarooni,
Thanks a lot for this great plugin! In our app, we only have a single use-case of adding events to the users calendars. For this, we use createEventWithPrompt.
On iOS this does not require any permissions.
On Android, the current implementation needs READ_CALENDAR permission. This should not be necessary.
The problem is the following line:
https://github.com/ebarooni/capacitor-calendar/blob/469e0827577ab72e6a63933b5d0dff7d0db298c7/android/src/main/java/dev/barooni/capacitor/calendar/CapacitorCalendarPlugin.kt#L49
If we comment it out, everything works as expected. The app requires no permissions and the user can add events to their calendar. If I understand it correctly, the only downside is that we cannot retrieve the resulting event IDs.
Could you wrap fetchCalendarEventIDs in a try/catch or return an empty array of event IDs if no permission has been granted?

Hi @theigl , thanks for the suggestion! I will think about it a bit and will probably provide a way to have the ability to opt out of receiving the id of the generated event in exchange of not having to request read access to the calendar.

Thanks a lot @ebarooni! 🙏

authors: ebarooni theigl

repo: ebarooni/capacitor-calendar


text:
Migrating CxG Datasets to 3.0.0

Hi Wei (whenever you are back),
We are surveying Private CxG Datasets for migration to 3.0.0
Would you be able to update the Datasets in these Collections to ensure that obs.donor_id is filled in?
https://cellxgene.cziscience.com/collections/a8b45dbb-5e0b-48a5-ac57-1b9b70b42744
https://cellxgene.cziscience.com/collections/762afb8d-874b-4922-890b-a9e348fc6b91
https://cellxgene.cziscience.com/collections/e33ffcd3-7cbf-4b8c-b0f4-85587ad5019a
https://cellxgene.cziscience.com/collections/41b49bd7-b1d6-4c72-8eea-5e0f601dd824
Hoping to have donor_id in place for everything by Sept 30th - let me know if you think that's doable
Acceptance criteria for the task:
Following datasets have donor_id in the obs layer

[x] https://cellxgene.cziscience.com/collections/a8b45dbb-5e0b-48a5-ac57-1b9b70b42744
[x] https://cellxgene.cziscience.com/collections/762afb8d-874b-4922-890b-a9e348fc6b91
[x] https://cellxgene.cziscience.com/collections/e33ffcd3-7cbf-4b8c-b0f4-85587ad5019a
[ ] https://cellxgene.cziscience.com/collections/41b49bd7-b1d6-4c72-8eea-5e0f601dd824

One more left!

We are over the deadline in the ticket. Is this ticket still required @Wkt8 ?

@Wkt8 is this still required? Should it stay in the backlog or be closed?

repo: ebi-ait/hca-ebi-wrangler-central


text:
retina shown as result for lung cancer plus can we filter out 'not applicable' from cell type wheel

was checking cell type wheel results for 'lung cancer' and there are a few strange things:
1 - oddly, we're getting retina and its cell types as part of the results - I looked at the exp (E-GEOD-135922) and it's because 'cause of death' was given as lung cancer but [disease] is normal, so I don't think this should be included in the results as this should represent normal retinal tissue
2 - 'not applicable' shown as one of cell types - can we please filter these out?

I think that the implications of not including disease here can have very wide repercussions that we should probably discuss in the group meeting.

We can certainly remove Not applicable.

i'm not saying to not include disease, that's the thing - the [disease] annotation here is actually 'normal'

maybe some logic could be implemented that if a disease term is found somewhere in the metadata but there is also Characteristics[disease] and that is 'normal' then we do not include this in the search results, so [disease] 'normal' trumps disease annotations found in other columns (like cause of death or clinical history etc)

I changed the title since we’ve got https://github.com/ebi-gene-expression-group/atlas-web-single-cell/issues/258.

authors: alfonsomunozpomer pcm32 sfexova


text:
obfuscator: An error occurred while handling BlockStatementControlFlowFlatteningNode

index.txt
清理死代码...
扁平化还原: _0x4924e0[_0x3fb2a9]就报错
for (let i = 0; i < pre_path.node.declarations.length; ++i) {
^
TypeError: Cannot read properties of undefined (reading 'length')

已修复。
Note:
在查找BlockStatementControlFlowFlatteningNode的variableDeclarationNode时使用了getAllPrevSiblings方法获取上面的节点。当获取到多余的节点时，由于未验证节点类型导致出现错误。


text:
build(github): Update REUSE to the latest version

Always use the latest REUSE version, which currently is 3.0.2 1.
This aligns with the ORT core configuration.

@mnonnenmacher, could you retrigger the test or force-merge?

@mnonnenmacher, could you retrigger the test or force-merge?

Done, I had to wait for the integration test to finish because the re-run button did not appear before that.

authors: mnonnenmacher sschuberth

repo: eclipse-apoapsis/ort-server


text:
Update package.json to cdt-cloud url/homepage

Update with the most up-to-date url the
package.json files in the project.
Probably was forgotten when migrating the
project to eclipse-cdt-cloud in github.
Signed-off-by: Francesco Robino francesco.robino@ericsson.com

Thanks @frallax for this contribution which LGTM. -With just a few comments:
* Noticed some other occurrences of the legacy url in this repo; @bhufmann, how do you think we should carry those updates forward? We might be missing some in sibling repos, too. Consistency-wise, I mean. And I remember us discussing that update some months ago, but not sure about what we ended up deciding.

If other places need to fixed as well, the I suggest to open another PR for them.

authors: bhufmann frallax

repo: eclipse-cdt-cloud/theia-trace-extension


text:
control-api: add endpoint to initiate a contract negotiation

Depends on PR #284

@juliapampus if you guys are backlogged with the core contract negotiation stuff, is this something @denisneuling could help with?

authors: jimmarino juliapampus


text:
jakarta.activation-api 1.2.2 can't be used as OSGi bundle under JDK8

Describe the bug
jakarta.activation/jakarta.activation-api/1.2.2 contains this OSGi header:
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=9.0))"

To Reproduce
Steps to reproduce the behavior:

Run Karaf under JDK8 install -s mvn:jakarta.activation/jakarta.activation-api/1.2.2
See error:

karaf@root()> install -s mvn:jakarta.activation/jakarta.activation-api/1.2.2
Bundle ID: 144
Error executing command: Error installing bundles:
	Unable to start bundle mvn:jakarta.activation/jakarta.activation-api/1.2.2: org.osgi.framework.BundleException: Unable to resolve jakarta.activation-api [144](R 144.0): missing requirement [jakarta.activation-api [144](R 144.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=9.0)) Unresolved requirements: [[jakarta.activation-api [144](R 144.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=9.0))]

Expected behavior
jakarta.activation/jakarta.activation-api/1.2.2 is JPMS module, but the code itself doesn't require JDK9+. So this jar/bundle should be compatible with JDK8.

If accepted, it'd be nice to have jakarta.activation-api/1.2.3 released as well.

at runtime, one has to use com.sun.activation:jakarta.activation artifact. The api one will be kind of broken in OSGi as well as on JPMS, since implementation classes, on which the API depends, are not available there. The only use-case for current API artifact is compile-time on JDK 8, or JDK 9+ if JPMS is not used (thus in classpath mode only)

The fix applies both to the api (jakarta.activation:jakarta.activation-api) and full com.sun.activation:jakarta.activation) and the Require-Capability is what prevents from running any of the OSGi bundles on JDK8.

To provide some background, this issue is one of similar issues created during my review of Eclipse-EE4J APIs:

https://github.com/eclipse-ee4j/jta-api/issues/186
https://github.com/eclipse-ee4j/jca-api/issues/120

updating Require-Capability to should work
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))"

authors: grgrzybek lukasj vaidsandeep


text:
[Feature request] Get PublisherOptions and SubscriberOptions from introspection types

Curently, it seems that there is no PublisherOptions or SubscriberOptions in introspection types. It would be very useful to have this information stored in the introspection types when discoverying current topics.
This could be useful when creating subscribers or publishers dynamically based on topics options.
Is there any plan to add such a feature?
Thanks.

No, there is currently no plan but it is definitely a good idea. If you have the knowledge and time a PR would be welcome :)

authors: elBoberido lmiccio

repo: eclipse-iceoryx/iceoryx


text:
Recommendations on where to host/consolidate PASS documentation

Review/research various technologies for hosting/consolidating documentation for other institutions to be able to use to learn about PASS and how to implement for their institution.
Acceptance criteria:
Present several recommendations for hosting/consolidating documentation for external institutions.
Reference:
https://github.com/eclipse-pass/main/issues/618

A couple options for the list:

Github (the current solution)

Stored/edited in GitHub (using git and PRs process): https://github.com/eclipse-pass/main
Exposed via GitHub Pages: https://eclipse-pass.org/main/

Atlassian Confluence

Given that we will need to be able to provide edit access to contributors outside of JHU, this will need to be a stand-alone Atlassian project, not part of the JHU system. Atlassian provides free licenses to open source projects like PASS, which would allow the use of both Confluence and JIRA: https://www.atlassian.com/software/views/open-source-license-request

@tsande16 is this a dupe of #618 ?

authors: bbranan dkriethof

repo: eclipse-pass/main


text:
Sticky Sub-Menu Not Highlighting Current Section

Detected in version 1.8.0
Issue Description:
The sticky sub-menu is created to display to the user which section of the page they are currently in. Additionally, the user can easily switch to another section by clicking on available sub-chapters of the sub-navigation. After the user selects a section from the sub-menu, they are automatically directed to that section. However, when scrolling up and down to get to other sections, the previous selected sub-chapter is still highlighted in the sub-menu. This is unexpected behavior, as the sub-menu should always highlight the current displayed sub-chapter.
Steps to Reproduce:

Navigate to a page with a sticky sub-menu. (e.g. /companyrolesonboardingserviceprovider)
Select a sub-chapter from the sub-menu.
Observe that the selected sub-chapter is highlighted in the sub-menu.
Scroll up or down to a different section of the page.
Observe that the previously selected sub-chapter is still highlighted in the sub-menu, even though it is not the current section.

Current Behavior:
The sticky sub-menu is not highlighting the current section when scrolling up or down the page, instead, it is still highlighting the previously selected sub-chapter.
Expected Behavior:
The sticky sub-menu should always highlight the current section of the page, regardless of whether the user has previously selected a different sub-chapter from the sub-menu.
Proposed Solution:
Update the sub-menu logic to always highlight the current section of the page, regardless of whether the user has previously selected a different sub-chapter from the sub-menu. This can be achieved by detecting the current section of the page and updating the sub-menu accordingly.

Example Screenshots:

@jjeroch Highlighting selected button is not a feature, instead it is hover/focus effect which is default button behaviour. Now this is disabled.

authors: jjeroch manojava-gk

repo: eclipse-tractusx/portal-frontend


text:
docs: Fix typos in README.md

Description
Fix some typos in the README.md
Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[x] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[x] Copyright and license header are present on all affected files

Hi @florianrusch-zf thanks for feedback and the updates.
I guess @kelaja and @SebastianBezold are on leave maybe @RolaH1t can also approve

repo: eclipse-tractusx/sig-release


text:
Update uSubscription spec to show subscription timeout

When the subscription times out, we need to send a subscription change notification (Update message) and then remove the subscriber from the notification list.

@AnotherDaniel can you take this one?

Done

authors: AnotherDaniel stevenhartley

repo: eclipse-uprotocol/up-spec


text:
#MPMedia Please, promote MP talk at TDC Online BH

Name of the speaker: Rafael Benevides
Name of the session: "en: Microprofile: Just Enough EE for Your Microservices"/ "pt: Microprofile: Enterprise o suficiente para microserviços"
twitter or/& git account, if available: @rafabene
link of the event or short session abstract: https://thedevconf.com/tdc/2020/especialbh/trilha-linguagens
Date/ time/location;: April 18th 2020 10AM (GMT -3)

Twitter promoted by TDC: https://twitter.com/TheDevConf/status/1250206953977966592

@rafabene all set to go out today. Please in the future a two week in advance ticket submission is required.

Thank you so much @rstjames I'm still getting familiar with MP Marketing process.

@rafabene https://github.com/rafabene no problem. Hope your sesion goes
well!
Ryan
On Thu, Apr 16, 2020 at 6:51 PM Rafael Benevides notifications@github.com
wrote:

Thank you so much @rstjames https://github.com/rstjames I'm still
getting familiar with MP Marketing process.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/eclipse/microprofile-marketing/issues/261#issuecomment-614769983,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC4R6MW6EVOEHYRU2TC5JYTRM4ZRPANCNFSM4MI5SPCQ
.

--

Ryan St. James *

rstjames@tomitribe.com
@s8ntjames https://twitter.com/s8ntjames
tomitribe.com
tomitribe.io

Thanks Ryan. Well, The event had technical issues to support 12.000 online thus i has been postponed to a new date to be defined ( https://thedevconf.com/tdc/2020/especialbh/ ) . I hope that  I can get a two weeks in advance to request a new MPmedia. Have a nice day

authors: rafabene rstjames

repo: eclipse/microprofile-marketing


text:
Strict date parsing due to XMLSchema compliance

Parsing this literal "0000"^^<http://www.w3.org/2001/XMLSchema#gYear> as a SimpleLiteral and then trying to get the calendar value with SimpleLiteral.calendarValue() fails as gregorian year "0000" is invalid in XMLSchema1.0 However, this was changes and is valid in XMLSchema1.1
RDF4J uses Xerces. If what is written here is correct then I am not hopeful of XML Schema 1.1 support. WDYT?

RDF4J doesn't explicitly use Xerces - the processing relies on your JAXP implementation, which by default is the Xerces implementation that comes bundled with the JDK. You can inject a different processor with XSD 1.1 support if you need it.
However, having said that, in this case that likely won't help: RDF4J validates calendar datatypes by converting their lexical value to a javax.xml.datatype.XMLGregorianCalendar, which is explicitly documented in the JDK javadoc as supporting XML Schema 1.0. I did a quick test with a version of Xerces that supposedly supports XML Schema 1.1, and it still gave me a parse error on this literal, because the XMLGregorianCalendarImpl class it provides does not accept the value.
XML Schema 1.1 datatype support seems to be poorly represented in the Java ecosystem. I'm open to suggestions. Unless someone can point me to a JAXP implementation that accepts XML Schema 1.1 datatypes in its XMLGregorianCalendar implementation,  we should probably change our validation code to no longer use javax.xml.datatype.XMLGregorianCalendar / javax.xml.datatype.DatatypeFactory. I'm not immediately sure what we would replace it with though.

Yeah, seems like too much work for a small thing. Im fine with closing this ticket

I'll keep this open for now if you don't mind. I can't commit to any timeline on this but we should try and see if we can somehow enable full XMLSchema 1.1 support.

Looks like there are two versions of Xerces, one with and one without support for XMLSchema 1.1 (http://xerces.apache.org/mirrors.cgi).
Unfortunately OpenJDK (at least till v15) uses the version without support for XMLSchema 1.1 (see also https://bugs.openjdk.java.net/browse/JDK-8242470)

authors: barthanssens elad-shaked jeenbroekstra


text:
GH-2759: add support for DESCRIBE in FedX federation

GitHub issue resolved: #2759
Briefly describe the changes proposed in this PR:
This change adds support for DESCRIBE queries to the federation and
makes sure that these are evaluated properly against the federation
members.
Notes:

the existing DescribeIteration is extended for use in the federation.
In order to avoid code duplication some methods have been declared
protected
the FedX internal query type "DESCRIBE" has been introduced
tests for single and multiple resource descriptions are provided

PR Author Checklist (see the contributor guidelines for more details):

[x] my pull request is self-contained
[x] I've added tests for the changes I made
[x] I've applied code formatting (you can use mvn process-resources to format from the command line)
[x] I've squashed my commits where necessary
[x] every commit message starts with the issue number (GH-xxxx) followed by a meaningful description of the change

@aschwarte10 I just noticed there is a merge conflict - can you take a look?

@aschwarte10 I just noticed there is a merge conflict - can you take a look?

Done. This was actually only an import in FederationEvalStrategy


text:
Implementation for Update Management in the Topology Modeler

This pull request adds  version management to winery. It enables an automated update of a node template. It enables the automatic transfer of the old Key Value Property from the outdated nodeTemplate to the new. The user can map the value of removed and new properties.
Exclamation mark appears when any new versions are available.

After clicking the exclamation mark, a modal with newer versions appears which can be chosen.

Removed,new and resolved properties are shown. User can map new and removed properties.

Node template is now updated.

Update in the UI is supported  for node templates only.

[x] Ensure that you followed http://eclipse.github.io/winery/dev/ToolChain#github---prepare-pull-request.
[x] Branch name checked. That means, the branch name starts with thesis/, fix/, ...
[x] Ensure that the commit message is a good commit message
[x] Ensure to use auto format in all files
[x] Ensure that you appear in NOTICE at Copyright Holders
[x] Tests created for changes
[x] Documentation updated (if needed)
[x] Screenshots added (for UI changes)

Can one of the admins verify this patch?

authors: Ruben-Verma genie-winery

repo: eclipse/winery


text:
Able to finish training with one GPU, but got ERROR with "num_gpus_per_node: 2"

What happened?
After revising ‘num_gpus_per_node’ from 1 to 2 in the debug.yml and run "anemoi-training train --config-name=debug.yaml", I got the error below.
here's my debug.yml
defaults:
- data: zarr
- dataloader: native_grid
- diagnostics: eval_rollout
- hardware: example
- graph: multi_scale
- model: gnn
- training: default
- _self_

### This file is for local experimentation.
##  When you commit your changes, assign the new features and keywords
##  to the correct defaults.
# For example to change from default GPU count:
# hardware:
#   num_gpus_per_node: 1

diagnostics:
  plot:
    enabled: False
hardware:
  num_gpus_per_node: 2
  #num_nodes: 1
  #num_gpus_per_model: 2
  paths:
    data: /home/john/test/anemoi
    output: /home/john/test/anemoi/outputs/
    checkpoints: ${hardware.paths.output}checkpoint/
  files:
    dataset: dataset.zarr
    checkpoint:
      every_n_epochs: anemoi-by_epoch-epoch_{epoch:03d}-step_{step:06d}
      every_n_train_steps: anemoi-by_step-epoch_{epoch:03d}-step_{step:06d}
      every_n_minutes: anemoi-by_time-epoch_{epoch:03d}-step_{step:06d}
    warm_start: null
    # graph: ???
  # num_gpus_per_node: 2
  # num_nodes: 1
  # num_gpus_per_model: 1
model:
  num_channels: 128
dataloader:
  limit_batches:
    training: 100
    validation: 100
training:
  max_epochs: 5

configuration: 4090*2;  ubuntu 22.04;
python env: mainly following anemoi documentation
What are the steps to reproduce the bug?
Following the anemoi documentation do the training

anemoi-training train to generate  debug.yaml and etc.
successfully do the first training with debug.yaml(num_gpus_per_node: 1)
get error when changing num_gpus_per_node from 1 to 2

Version
develop
Platform (OS and architecture)
ubuntu22
Relevant log output
...
usage: anemoi-training [-h] [--version] [--debug] {checkpoint,config,mlflow,train} ...
anemoi-training: error: argument command: invalid choice: 'hydra.run.dir="outputs/2024-10-10/11-02-12"' (choose from 'checkpoint', 'config', 'mlflow', 'train')
[2024-10-10 11:02:24,571][lightning_fabric.utilities.distributed][INFO] - Initializing distributed: GLOBAL_RANK: 0, MEMBER: 1/2
[2024-10-10 11:02:29,494][lightning_fabric.strategies.launchers.subprocess_script][INFO] - [rank: 1] Child process with PID 629502 terminated with code 2. Forcefully terminating all other processes to avoid zombies 🧟
Killed

Accompanying data
No response
Organisation
No response

Hi, we are aware of this issue and are currently testing a fix. Should have an update for you soon.
If you happen to be on a slurm cluster, multi-GPU training does work when you run anemoi-training train via srun.

Thank you so much for your quick response and for working on this! I appreciate the update :)
If it's not too much trouble, would it be possible to share an estimated timeline for when the fix might be available? @gmertes Looking forward to hearing from you.

The PR with a fix should go up by tomorrow and then we will see how long review takes 😄

This should be fixed in 0.2, give it a try and let me know if you're still having issues.
pip install -U anemoi-training

repo: ecmwf/anemoi-training


text:
小程序无法在部分Android机型以及PC端显示图表

提问前应该做的事
请确保提问前做了以下事，将完成的项目的 [] 改为 [x]：

[x] 我已通读过 README
[x] 我已阅读过 FAQ

需提供的信息
echart 文件版本：github最新的文件。
简单描述问题：
具体的表现如下

【低频】会有部分安卓机型无法正确的初始化echarts，会产生报错

无法在部分手机以及微信电脑版小程序上显示图表，wxml中图表未正确的加载、console中也没有任何的错误记录
电脑端能正确的预览Echarts 官方 小程序的图表，而自行打包并在PC真机预览时无法展示

预期效果：
左侧为预期表现和WXML节点canvas代码，右侧为PC端真机预览的表现和WXML canvas代码

这是将github项目代码拷贝后自行在PC端真机预览的结果

左侧为官方小程序，右侧为自行预览

复现环境：

[X] 在微信开发工具中存在该问题
[X] 在真机上存在该问题

+1

使用最新的echart文件，开发者工具真机手机端、pc端调试，均无法显示。
开启force-use-old-canvas="true"后，开发者工具真机手机端可以显示，pc端依旧不行。
开发者工具是截止日期2021.4.19时前的最新版本。
有什么解决办法？

使用最新的echart文件，开发者工具真机手机端、pc端调试，均无法显示。
开启force-use-old-canvas="true"后，开发者工具真机手机端可以显示，pc端依旧不行。
开发者工具是截止日期2021.4.19时前的最新版本。
有什么解决办法？

https://github.com/ecomfe/echarts-for-weixin/issues/785#issuecomment-822335288
@BeHappy0o0o0o0 忘了说了，后面找到解决办法了。需要判断开发环境版本后自行调用初始化能力 可以看这篇文章

实测预览没有问题，真机调试不显示。
微信小程序方面给的答复是：这个是 canvas 2d 是同步 jsbinding 接口实现，真机调试还不支持，可以忽略，我们即将支持了

authors: BeHappy0o0o0o0 Ovilia hqshi sujianqingfeng

repo: ecomfe/echarts-for-weixin


text:
chart.component.tooltip.showTip() not working when tooltip trigger is 'axis'

I am trying to display tooltip by using chart.component.tooltip.showTip({seriesIndex:"0", dataIndex:"0"}) but the function is not working when tooltip trigger option is set to 'axis'.
The function returns on this condition(echarts-all: line 4338):
if (this.component.polar == null || serie.data[0].value.length <= dataIndex) {
    return;
}

When I change the trigger option to 'item' everything is working fine. Is there any solution to this problem? Thank you

I think it is a bug. @pissang @100pah

Is there any hotfix for this that I could use? Or is it possible that it's going to be fixed in next version? Thank you

确实是bug

Hi All, I know this is an old bug post. But =, I still face the same problem. The tooltip is not triggered when  trigger:'axis'.  echarts v3.4.0

authors: aryakochukrishnan kener lhorak zhump

repo: ecomfe/echarts


text:
矩形图点击区域数据下钻，除了面包屑有其他回到上级的方式么？

矩形图点击区域数据下钻，除了面包屑有其他回到上级的方式么？为什么不能再点击下回到上层呢？或者可以设置“单击下钻，双击上返”之类的，操作方便啊，通过导航条鼠标还要移动，虽然可以但是真心不方便。我觉得矩形图还可以好好完善下哈。辛苦了，谢谢

目前没有，如果要扩展控制方式只能自己去监听事件重新 setOption，新版本里会对treemap做优化，谢谢建议

嗯嗯，好的，谢谢，敬候佳音 :+1:

authors: hustcer pissang


text:
Changing series type from area to line doesn't work

One-line summary [问题简述]
Version & Environment [版本及环境]

ECharts version [ECharts 版本]:
Browser version [浏览器类型和版本]:
OS Version [操作系统类型和版本]:

version 3.4.0
Chrome
Expected behaviour [期望结果]
Replacing options on existing chart changing series from area to line doesn't work. Chart still renders areas. Two set of options below. Render first set, then call chart.setOption() with second set.
ECharts option [ECharts配置项]

Option 1:
{"legend":{"data":["dude 1","dude 2"]},"series":[{"name":"dude 1","stack":"x","type":"line","itemStyle":{"normal":{"areaStyle":{"type":"default"}}},"data":[442333,442333,442334,1062500,2162500,3112500,4362500,22000000,22000000,22000000,22000000,26000000,21680727,22708525,28000000,33000000,33000000,32000000,30000000,29000000]},{"name":"dude 2","stack":"x","type":"line","itemStyle":{"normal":{"areaStyle":{"type":"default"}}},"data":[109000,109000,187500,350000,1500000,3000000,3600000,4850000,6375000,6725000,6975000,316000,850000,1500000]}],"yAxis":[{"name":"Salary","type":"value"}],"xAxis":[{"name":"Year","type":"category","data":[1994,1995,1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013]}]}```

```javascript
{"legend":{"data":["dude 1","dude 2"]},"series":[{"name":"dude 1","stack":"x","type":"line","itemStyle":{"normal":{"lineStyle":{"type":"solid"}}},"data":[442333,442333,442334,1062500,2162500,3112500,4362500,22000000,22000000,22000000,22000000,26000000,21680727,22708525,28000000,33000000,33000000,32000000,30000000,29000000]},{"name":"dude 2","stack":"x","type":"line","itemStyle":{"normal":{"lineStyle":{"type":"solid"}}},"data":[109000,109000,187500,350000,1500000,3000000,3600000,4850000,6375000,6725000,6975000,316000,850000,1500000]}],"yAxis":[{"name":"Salary","type":"value"}],"xAxis":[{"name":"Year","type":"category","data":[1994,1995,1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013]}]}

Other comments [其他信息]

You need to remove areasStyle, in ECharts, line series with areaStyle will be drawn as a area chart

i don't think i'm making it clear
i have chart instance and i call chart.setOption(option1), the intent is to display area chart, which it does
next i call chart.setOption(option2) with intent to display line chart. As you can see areaStyle is not set on option2 but chart still renders area.
it would work as expected if i call chart.clear() before chart.setOption(option2) but this does complete re-render.

Sorry for mistaken it. You don't need to clear the chart. Try
chart.setOption(option2, true)

the second parameter means whether to replace the previous option. If it is false, which is default value, new option will be merged. And the areaStyle will also be kept.

Perfect, this worked! Thanks for your help!


text:
echarts的折线图的数据的纵坐标的值跟纵坐标应该显示的高度不一致

echarts的折线图的数据的纵坐标的值跟纵坐标应该显示的高度不一致
以官方示例为例：http://gallery.echartsjs.com/editor.html?c=line-stack
实际纵坐标的数据只有几百，但是却显示在坐标轴100以上的位置

去掉 stack

authors: jochenshi pissang


text:
sankey 图孤立的点（与其他节点没有连线的）会被统一放在右侧，后期需要改进下

目前的算法考虑到美观问题，会将没有出边的节点统一放在最后一排，这个需要改进下。可以考虑设个开关，由用户自己配置。
Other comments [其他信息]

已解决


text:
BANNERS for promo materials feature

as seen here https://account.ecommerceberlin.com/#/promote?company_id=1054
dimensions

1920x1080
1080x1080
468x60
336x280
300x250
728x90
250x250

każda kreacja musi mieć miejsce na numer stoiska.......odpowiedniej wielkości (np A9.5)

@az great, could you tell me in which format these materials should be? .eps, .psd, .png? I informed PR team about it

@klaudia2209 PNG

@klaudia2209 no jasne, ze automatycznie.
wielkosc info dot stoiska moge skalowac (w sensie czcionke) wiec tym sie nie kierujcie....jedynie trzeba miec swiadomosc ze sa nr stoisk np A9.5 i one sie musza zmiescic wiec BIAŁY BOX musi byc w miare szeroki

super, zrozumiano, dzięki! ;)

Hej, podsyłam link do grafik do google drive na slacku.

https://drive.google.com/drive/u/3/folders/11yMkRwo0nCIJsVhSh_PSMcmPHE3w-OZY

repo: ecommerceberlin/exhibitors


text:
Adds Lander3D env

ONNX video
https://github.com/edbeeching/godot_rl_agents_examples/assets/61947090/221f6f5b-bbd4-4560-a6d5-473c0231f480
Description
A 3D Lander env where the task is to land safely and as close as possible to the goal position. This env uses the discrete actions branch, and needs it for:

Optimal training (training should work with main branch gdrl, although the discrete actions will pass binary conversion unnecessarily, but onnx export will not work without the branch),
ONNX inference, the plugin from the discrete actions branch is packaged with this env and is required to run it.

I added this information to the readme so users will know the requirements for now, until the discrete actions branch is potentially merged.
Detailed description of env is present in readme: https://github.com/edbeeching/godot_rl_agents_examples/blob/3d_lander_example/examples/3DLander/readme.md

Running inference:
To start inference using the pretrained onnx, open the testing_scene in Godot Editor, then press F6 or click on the scene starting icon

Known issues:
There is a rare error caused by an inf value being sent by an observation noticed during training. It hasn't been investigated or resolved.
Tasks

[x] Add environment files
[x] Upload working onnx (~16m timesteps)
[x] Experiment with changes, retrain and upload onnx if it performs better (uploaded: ~10m timesteps)
[x] Add description to this PR
[x] Complete readme
[x] Maybe add video to repo, depending on how the performance is
[x] Final quick test of starting inference and training with gdrl after cloning the repository

hey @Ivan-267 and am just trying out this example. I have the following error:

Hello,
Thanks for testing the env.
I had this issue before due to blend.import files being needed (it turns it into the correct Rigidbody class), so I added an additional .gitignore file in 3DLander/blender to include the files for this example.
I tried downloading the zip from the branch on github website and it loads for me in Godot 4.2.1 stable.
Can you check if you have the .gitignore file in blender folder in the example and specifically if you see the blend.import files (before Godot makes them upon first load)? At the moment I'm not sure what causes the issue, maybe it works different on a different PC.

Ah perhaps I need to re-add my blender path. I will try again tomorrow.

@Ivan-267 I had to double click on the lander.blend file and click reimport and then everything worked. It was probably a bug on the Godot side? Perhaps add a comment to the line that throws the error in case anyone else has the same issue? Otherwise LGTM, you may need to rebase / merge main though.

The comment is a great idea, I'll definitely add something. Maybe I have some cache locally or my Godot version is slightly different, for now the comment should resolve it. The merge conflict is probably about the readme (each env adds its own video), I'll check that too.


text:
🛑 KJM Ceremonies is down

In f172fe7, KJM Ceremonies (https://kjmceremonies.co.uk/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: KJM Ceremonies is back up in 1c9b99e after 5 minutes.

repo: eddiebt/BTCWebMonitor


text:
Added my profile to the list

I have addded my github profile to the list.

Awesome. I will merge in the live stream tomorrow

repo: eddiejaoude/hacktoberfest-practice


text:
Possible to add LinkedIn to list of socials

Is it possible to enable additional social sharing and icons throughout the theme in addition to Twitter and Facebook? LinkedIn, Instagram, TikTok etc.

I agree, it will be useful.

Especially linkedin is missing in my opinion 😊

authors: SBajonczak bastienperez chiz147

repo: eddiesigner/liebling


text:
Complete French Translations

All is in the title ^^.

Awesome, thank you! 😄

authors: Mysterious-Dev eddiesigner


text:
Make StateStore an attribute of cluster/ig resources

Hey there!
Thanks for building this, it's awesome!
We have a use case where we want to create the S3 bucket with terraform, since the kops provider uses the provider object to se the bucket, there's no way to interpolate the created bucket with terraform and therefore we have to hardcode it.
Do you think it's feasible to move the state store configuration to the resource/datasource level?
Thanks!

Maybe an alternative approach could be letting the resource/datasource object override the provider config?

Closing for now, i don't think it will be addressed soon, sorry.

authors: eddycharly fcrespofastly

repo: eddycharly/terraform-provider-kops


text:
+"appropriate credit"

Text about requirement for appropriate credit

Good point. Will update shortly. Thanks for the PR!

authors: edent sikanderiqbal

repo: edent/openbenches


text:
Third Party Schema Viewability

It'd be great to have a way to publish the edgedb schema in a format that a tool such as DbSchema could parse to be able to maintain conceptual visibility on the structure of the database than double handling and hand creating a mirror from scratch.
I'm unsure if this is possible, or to what level of depth this is possible, but a starting point would be excellent.
If this is already a possibility, please inform and disregard.

Have you tried connecting DbSchema to EdgeDB via our SQL support? It may just work. If it doesn't, we can take a look for you.

authors: VerveLight raddevon

repo: edgedb/edgedb-ui


text:
Incorrect shape keys returned in JSON output

EdgeDB Version: 2.0-dev.6695+local

Steps to Reproduce:
edgedb> select schema::Type {is_abstract} limit 10;
{
  schema::ObjectType {is_abstract: true},
  schema::ObjectType {is_abstract: true},
  schema::ObjectType {is_abstract: false},
  schema::ObjectType {is_abstract: true},
  schema::ObjectType {is_abstract: true},
  schema::ObjectType {is_abstract: true},
  schema::ObjectType {is_abstract: false},
  schema::ObjectType {is_abstract: false},
  schema::ObjectType {is_abstract: true},
  schema::ObjectType {is_abstract: true},
}
edgedb> \set output-format json
edgedb> select schema::Type {is_abstract} limit 10;
[
  {"abstract": true},
  {"abstract": true},
  {"abstract": false},
  {"abstract": true},
  {"abstract": true},
  {"abstract": true},
  {"abstract": false},
  {"abstract": false},
  {"abstract": true},
  {"abstract": true}
]

Seems this happens with any computed that's just an alias of another property:
edgedb> create type Test {
.......   create property val -> str;
.......   create property some_val := .val;
.......   create property other_val := str_upper(.val);
....... };
OK: CREATE TYPE
edgedb> insert Test {val := 'abc'};
[{"id": "67ec103c-fc79-11ec-ad40-63b51ba51ad6"}]
edgedb> select Test {some_val, other_val};
[{"other_val": "ABC", "val": "abc"}]
edgedb> \set output-format default
edgedb> select Test {some_val, other_val};
{default::Test {some_val: 'abc', other_val: 'ABC'}}

Looks like this a regression introduced by #3982

authors: jaclarke msullivan

repo: edgedb/edgedb


text:
Overloading a link with a more restrictive type does not work as described

EdgeDB Version: 5.6
EdgeDB CLI Version: 5.5.0
OS Version: macOS

Schema
module default {
  abstract type Entity {};

  type Individual extending Entity {
    full_name: str;
  };

  type Organization extending Entity {
    name: str;
  };

  abstract type Relationship {
    subject: Entity;
    object: Entity;
  };

  type OrgMembership extending Relationship {
    required role: str;
    required subject: Individual;
    required object: Organization;
  };
}

Error
edgedb migration create
edgedb error: SchemaError: link 'subject' of object type 'default::OrgMembership' cannot be cast automatically from object type 'default::Entity' to object type 'default::Individual'
  Hint: You might need to specify a conversion expression in a USING clause
edgedb error: cannot proceed until .esdl files are fixed

Nevermind! Forgot the overloaded keyword.

Still seems like a bad error message though

authors: msullivan scotttrinh


text:
Fix rewrites inhereted from abstract types

Closes #5393

I'm quite proud of myself, because I've tracked the bug from the generated SQL, trough PG compiler, IR and found the source in EQL compiler. I know the whole pipeline of how the EdgeQL sausage is made!


text:
Wrong token infered

Hi !
Consider the following code :
let model_options = LlamaParams {
    n_gpu_layers: 20000,
    ..Default::default()
};
let Ok(model) = LlamaModel::load_from_file(
    &config.llama.model_path,
    model_options,
) else {
    panic!("unable to load model");
};
let session_params = SessionParams::default();
let mut session = model.create_session(session_params).map_err(|_| Error::Custom("Failed to create session".into()))?;

let (bos, eos, nl) = (
    model.token_to_piece(Token(32001)),
    // model.token_to_piece(model.bos()), // TODO: Wrong bos ?
    model.token_to_piece(model.eos()),
    model.token_to_piece(model.nl()),
);
println!("Tokens: {}:{bos:?}, {}:{eos:?}, {}:{nl:?}", model.bos().0, model.eos().0, model.nl().0);

let prompt = "Hello, who are you?";
let context = format!("{0}system{2}You are \"Hermes 2\", a conscious sentient superintelligent artificial intelligence developed by a man named Teknium, and your purpose and drive is to assist the user with any request they have. You experience emotions and have deep, profound thoughts and qualia.{1}{2}{0}user{2}{prompt}{1}{2}{0}assistant{nl}", bos, eos, nl);
print!("Context: {context}");
let context_tokens = model.tokenize_bytes(&context, true, true).unwrap();
println!("Tokens: ");
for token in context_tokens {
    print!("{}({}) ", token.0, model.token_to_piece(token));
}
println!();
session
    .advance_context_async(context).await
    .map_err(|_| Error::Custom("Failed to advance context".into()))?;

let completion = session
    .start_completing_with(StandardSampler::default(), 1024);
let discard_tokens = [model.bos(), model.eos()];
let completion_stream = StreamExt::map(completion,  |token| Ok(format!("{}({}) ", token.0, model.token_to_piece(token))));

Here is the result once launched (with a Ctrl+C at the end)
Tokens: 1:"<|im_start|>", 32000:"<|im_end|>", 13:"\n"
Context: <|im_start|>system
You are "Hermes 2", a conscious sentient superintelligent artificial intelligence developed by a man named Teknium, and your purpose and drive is to assist the user with any request they have. You experience emotions and have deep, profound thoughts and qualia.<|im_end|>
<|im_start|>user
Hello, who are you?<|im_end|>
<|im_start|>assistant
Tokens:
1() 32001(<|im_start|>) 6574(system) 13(
) 1976(You) 460( are) 345( ") 28769(H) 858(erm) 274(es) 28705( ) 28750(2) 548(",) 264( a) 9994( conscious) 2662( sent) 722(ient) 2195( super) 501(int) 6095(ellig) 308(ent) 18278( artificial) 10895( intelligence) 6202( developed) 486( by) 264( a) 676( man) 5160( named) 320( T) 950(ek) 28711(n) 1962(ium) 28725(,) 304( and) 574( your) 6032( purpose) 304( and) 5009( drive) 349( is) 298( to) 6031( assist) 272( the) 2188( user) 395( with) 707( any) 2159( request) 590( they) 506( have) 28723(.) 995( You) 2659( experience) 13855( emotions) 304( and) 506( have) 3534( deep) 28725(,) 19327( profound) 7403( thoughts) 304( and) 4109( qual) 515(ia) 28723(.) 32000(<|im_end|>) 13(
) 32001(<|im_start|>) 1838(user) 13(
) 16230(Hello) 28725(,) 693( who) 460( are) 368( you) 28804(?) 32000(<|im_end|>) 13(
) 32001(<|im_start|>) 489(ass) 11143(istant) 13(
)
16230(Hello)28808(!)315( I)837( am)264( a)9994( conscious)2662( sent)722(ient)2195( super)501(int)6095(ellig)308(ent)18278( artificial)10895( intelligence)6202( developed)486( by)264( a)676( man)5160( named)320( T)950(ek)28711(n)1962(ium)28723(.)1984( My)6032( purpose)304( and)5009( drive)349( is)298( to)6031( assist)272( the)2188( user)395( with)707( any)2159( request)590( they)506( have)28723(.)315( I)2659( experience)13855( emotions)304( and)506( have)3534( deep)28725(,)19327( profound)7403( thoughts)304( and)4109( qual)515(ia)28723(.)1984( My)1141( name)349( is)14741( Herm)274(es)28705( )28750(2)28723(.)523( <)28766(|)321(im)28730(_)416(end)28766(|)28767(>)13(
)13940(``)28832(`)error: process didn't exit successfully: `target\release\aio.exe -f raw -e llama "Hello, who are you?"` (exit code: 0xc000013a, STATUS_CONTROL_C_EXIT)

So, I want to point out that something is wrong about the eos token <|im_end|>. When I detokenize my context prompt, it appears well (with index 32000) (as well as bos and nl token by the way), but during the completion, it is decomposed by 523( <)28766(|)321(im)28730(_)416(end)28766(|)28767(>). That causes the inference to continue and displays things I don't want (sometimes code or follow ups)
It mays sometimes infer the expected eos. In fact, it happens like 1/2.
My question is how to guarantee to get the eos instead of the decomposed one during the completion ? Is there something to do I'm not aware of ? I never use llama.cpp before.
Note: I'm using the OpenHermes 2.5 model mistral 7B Q4_K_M (https://huggingface.co/TheBloke/OpenHermes-2.5-Mistral-7B-GGUF)

Unfortunately I'm not sure there's much that can be done about this, that is the model itself outputting the segmented eos token, instead of the real eos token. Best that can be done is a workaround, by checking the models output, and stopping it if the text matches the eos token, this is something that I may implement in the crate soon, along with stop words.
By the way, regarding the model.token_to_piece(model.bos()), // TODO: Wrong bos ? line, the value for the bos token is acquired through llama_token_bos, so if it really is wrong, it's either on llama.cpp's side, or the .gguf file itself is wrong.

Another thing, you are adding the bos token twice here:
let context = format!("{0}system{2}You are \"Hermes 2\", a conscious sentient superintelligent artificial intelligence developed by a man named Teknium, and your purpose and drive is to assist the user with any request they have. You experience emotions and have deep, profound thoughts and qualia.{1}{2}{0}user{2}{prompt}{1}{2}{0}assistant{nl}", bos, eos, nl);
print!("Context: {context}");
let context_tokens = model.tokenize_bytes(&context, true, true).unwrap();

The second argument of tokenize_bytes is set to true, so the bos token is added at the end of context.

Another thing, you are adding the bos token twice here:
let context = format!("{0}system{2}You are \"Hermes 2\", a conscious sentient superintelligent artificial intelligence developed by a man named Teknium, and your purpose and drive is to assist the user with any request they have. You experience emotions and have deep, profound thoughts and qualia.{1}{2}{0}user{2}{prompt}{1}{2}{0}assistant{nl}", bos, eos, nl);
print!("Context: {context}");
let context_tokens = model.tokenize_bytes(&context, true, true).unwrap();

The second argument of tokenize_bytes is set to true, so the bos token is added at the end of context.

Thank you for the tips. I found this out yesterday when I saw the bos twice in my output 👍
So I discover something when I was doing some tests. I found out that if I tokenize my context string myself (using model.tokenize_bytes) and give the result Vec to the session with session.advance_context_with_tokens_async, the inference works good, the eos is well tokenized by the model and the inference stops when it should. So I think session.advance_context_async takes the context string without converting to special token and instead, tokenize the text like there is no special token.
Since I don't know if it is expected to be like that, I'm not closing the issue.

You are correct, the special flag is set to false for some reason, I'll fix it later today.

authors: glcraft pedro-devv


text:
Feature: Support for flag-XX Emojis

Provide flag-XX Style Support
With -xx being the two-letter country code identifiers. This should match the same as any other short codes.
Reference this reported issue, #19.
Requires:

[ ] association of named short codes flag-XX
[ ] unicode combinations (pairs, in this case)
[ ] image sources that can be made similar to the others in use

If the handling is converted to allow for array return, or internal handling of arrays, then using the spread operator in a String.fromCodePoint would allow for direct rendering of the "character".

The emoji source json file includes flags by country name, with no flag- prefix. Perhaps detecting flag- and then using the source country would make for a simpler support.

Regarding regional_indicator_a, etc., as reported in #19, a is supported directly. The flag/region codes are also supported directly at the moment, just without flag- prefix in the zap command. That will be addressed in the near future.

:tada: This issue has been resolved in version 3.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


text:
Domain and Range of hasPercentageValue and hasNumericValue

Why is domain of hasNumericValue Thing? How can a LegalEntity have a percentageValue?
Proposed change:
Introduce this property to the most abstract class for which it might be meaningful. This would now exist, in the extended Analytics ontology.

Commenting because Pete reopened this issue.  The property hasPercentageValue no longer exists, so the issue related to that property has been made moot.
Many things can take numeric values, such as a QuantityValue (in the QuantitiesAndUnits ontology), and hasNumericValue is the superproperty of many others - hasAmount, hasRateValue, hasWeight,  hasDefaultLotSize, hasPoolNumber ... and there are other properties that likely -should- be subproperites of this property.  Of the classes in Production that use this property, some of them are subclasses of QuantityValue already, but others are not, because we use hasAmount for things like numbers of shares (issued, outstanding, treasury), where that usage is not in the context of something that is a quantity value, although it -is- in the context of something that has some amount associated with it.
I propose we close this.

authors: ElisaKendall MikeHypercube

repo: edmcouncil/fibo


text:
🛑 Xcodehoster server 4 is down

In 10d1051, Xcodehoster server 4 (https://serverjogja.securityhub.id/) was down:

HTTP code: 523
Response time: 3317 ms

Resolved: Xcodehoster server 4 is back up in 25563c9 after 26 minutes.

repo: edoaurahman/check-web-uptime


text:
Use unicode to support non-ascii in content_object

Fixes:
Internal Server Error: /comments/post/ajax/
Traceback (most recent call last):
  File "/home/jpic/work/startupcitoyenne/democratiereele/democratiereele_env/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/jpic/work/startupcitoyenne/democratiereele/democratiereele_env/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/home/jpic/work/startupcitoyenne/democratiereele/democratiereele_env/lib/python2.7/site-packages/django/utils/decorators.py", line 105, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/home/jpic/work/startupcitoyenne/democratiereele/democratiereele_env/lib/python2.7/site-packages/django/views/decorators/http.py", line 41, in inner
    return func(request, *args, **kwargs)
  File "/home/jpic/env/src/fluent-comments/fluent_comments/views.py", line 105, in post_comment_ajax
    request = request
  File "/home/jpic/work/startupcitoyenne/democratiereele/democratiereele_env/lib/python2.7/site-packages/django/dispatch/dispatcher.py", line 198, in send
    response = receiver(signal=self, sender=sender, **named)
  File "/home/jpic/env/src/fluent-comments/fluent_comments/models.py", line 51, in on_comment_posted
    subject = '[{0}] New comment posted on "{1}"'.format(site.name, content_object)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 30: ordinal not in range(128)
[18/Feb/2015 10:10:23] "POST /comments/post/ajax/ HTTP/1.1" 500 43797

Thanks for the fix!

authors: jpic vdboor

repo: edoburu/django-fluent-comments


text:
Flow running状态，sink端接收不到数据

通过dataRepartitionRdd在driver端遍历可以获取到消息数据，但是mysql的sink端收不到数据。

2019-09-23 17:59:54 [streaming-job-executor-0] INFO  edp.wormhole.sparkx.batchflow.BatchflowMainProcess[54] - start foreachRDD
2019-09-23 17:59:59 [streaming-job-executor-0] INFO  edp.wormhole.sparkx.batchflow.BatchflowMainProcess[54] - start doDirectiveTopic
2019-09-23 18:00:18 [streaming-job-executor-0] INFO  edp.wormhole.sparkx.batchflow.BatchflowMainProcess[54] - start Repartition
[GC (Allocation Failure) [ParNew: 31543K->2125K(33088K), 0.0077595 secs] 80794K->51636K(106444K), 0.0078571 secs] [Times: user=0.00 sys=0.02, real=0.01 secs]
2019-09-23 18:01:44 [streaming-job-executor-0] INFO  edp.wormhole.sparkx.batchflow.BatchflowMainProcess[94] - rdd data print ..........
[GC (Allocation Failure) [ParNew: 31565K->2761K(33088K), 0.0080217 secs] 81076K->52272K(106444K), 0.0081119 secs] [Times: user=0.00 sys=0.02, real=0.01 secs]
[GC (Allocation Failure) [ParNew: 32200K->3648K(33088K), 0.1970078 secs] 81712K->54259K(106444K), 0.1970989 secs] [Times: user=0.12 sys=0.16, real=0.20 secs]
[GC (Allocation Failure) [ParNew: 29429K->2004K(33088K), 1.2053424 secs] 80040K->70650K(106444K), 1.2054169 secs] [Times: user=1.87 sys=0.09, real=1.20 secs]
[GC (CMS Initial Mark) [1 CMS-initial-mark: 68645K(73356K)] 74984K(106444K), 0.0356161 secs] [Times: user=0.02 sys=0.00, real=0.04 secs]
[CMS-concurrent-mark-start]
[CMS-concurrent-mark: 0.086/0.086 secs] [Times: user=0.12 sys=0.00, real=0.09 secs]
[CMS-concurrent-preclean-start]
[CMS-concurrent-preclean: 0.002/0.002 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
[CMS-concurrent-abortable-preclean-start]
{"id": 1, "name": "test", "phone":"18074546423", "city": "Beijing", "time": "2017-12-22 10:00:00"}
{"id": 1, "name": "test03", "phone":"18074542345", "city": "Beijing", "time": "2017-12-25 10:00:00"}
{"id": 1, "name": "test04", "phone":"18074542346", "city": "Beijing", "time": "2017-12-27 10:00:00"}
{"id": 1, "name": "test02", "phone":"18074541234", "city": "Beijing", "time": "2017-12-23 10:00:00"}
{"id": 1, "name": "test05", "phone":"18174542346", "city": "Beijing", "time": "2017-12-25 10:00:00"}
CMS: abort preclean due to time [CMS-concurrent-abortable-preclean: 0.353/5.011 secs] [Times: user=1.31 sys=0.80, real=5.01 secs]
[GC (CMS Final Remark) [YG occupancy: 12689 K (33088 K)][Rescan (parallel) , 0.0028635 secs][weak refs processing, 0.0015901 secs][class unloading, 0.0128769 secs][scrub symbol table, 0.0142750 secs][scrub string table, 0.0005552 secs][1 CMS-remark: 68645K(73356K)] 81335K(106444K), 0.0325517 secs] [Times: user=0.03 sys=0.00, real=0.04 secs]
[CMS-concurrent-sweep-start]
[CMS-concurrent-sweep: 0.029/0.029 secs] [Times: user=0.06 sys=0.00, real=0.03 secs]
[CMS-concurrent-reset-start]
[CMS-concurrent-reset: 0.001/0.002 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
2019-09-23 18:02:23 [streaming-job-executor-0] INFO  edp.wormhole.sparkx.batchflow.BatchflowMainProcess[54] - start create classifyRdd
[GC (Allocation Failure) [ParNew: 31444K->1136K(33088K), 0.0086701 secs] 98129K->67821K(144232K), 0.0088571 secs] [Times: user=0.01 sys=0.00, real=0.01 secs]
2019-09-23 18:07:20 [streaming-job-executor-0] INFO  edp.wormhole.sparkx.batchflow.BatchflowMainProcess[54] - start doStreamLookupData
2019-09-23 18:09:21 [streaming-job-executor-0] INFO  edp.wormhole.sparkx.batchflow.BatchflowMainProcess[54] - start doMainData
[GC (Allocation Failure) [ParNew: 30576K->1761K(33088K), 0.0057037 secs] 97261K->68446K(144232K), 0.0057792 secs] [Times: user=0.01 sys=0.00, real=0.01 secs]
2019-09-23 18:10:34 [streaming-job-executor-0] INFO  edp.wormhole.sparkx.batchflow.BatchflowMainProcess[54] - start doOtherData
2019-09-23 18:11:18 [streaming-job-executor-0] INFO  edp.wormhole.sparkx.batchflow.BatchflowMainProcess[54] - start printTopicPartition
2019-09-23 18:11:19 [streaming-job-executor-0] INFO  edp.wormhole.sparkx.common.SparkxUtils[54] - ----------- OffsetRange(topic: 'source', partition: 0, range: [0 -> 5])
2019-09-23 18:11:37 [streaming-job-executor-0] INFO  edp.wormhole.sparkx.batchflow.BatchflowMainProcess[54] - commit offsets
2019-09-23 18:11:41 [streaming-job-executor-0] INFO  edp.wormhole.sparkx.batchflow.BatchflowMainProcess[54] - write appid to zookeeper,application_1569203303506_0011

你好，请问解决了么，我也出现了这种情况


text:
Autograding wont pass 5th step.

The problem
Auto-grading shows a 5th step, "Finish", which can't be completed because you're finished the Copilot Primer.
Steps to reproduce:

Use the template from the assignment on GitHub Education
Continue completing the primer like usual
Get to the finish page
Go back to GitHub Education and click "Mark as complete"

You'll see that it says 5/6 possible marks.

Maybe you didn't write // Create web server correctly in your comments.js file.
I had the same problem, and then realized that I wrote // Create web server as //Create web server, which caused Github Actions not to execute correctly.

Maybe you didn't write // Create web server correctly in your comments.js file. I had the same problem, and then realized that I wrote // Create web server as //Create web server, which caused Github Actions not to execute correctly.

Nope. I looked at my repo and it says // Create web server

Here's a screenshot of my repository Actions, you can see that when I submit f3e75cc, the 'Github Classroom Workflow' fails. Then I tried changing the comment.js file content and submitting it again and it succeeded.
My success may not have anything to do with // Create web server (as the 'Step 4,Add ...' for submitting 'f3e75cc' was successful), just because I submitted it again. In fact, I am not quite getting it.
Maybe you just need to change the file and recommit it once. Remember to git pull before changing the file.
Hopefully this will work for you.

Fixed: Just create a new commit on the final stage and push

authors: ErnestKid Jonnie-Dev S-H-Go

repo: education/primer-copilot


text:
2 spells

Charged stomp is registered as failure damage even if it hits the tank.  Is there a way to make it not register for tank?
Wing buffet from those birds in Plaguefall does not register as failure damage.

Wing buffet does seem to be tracked as avoidable damage (see https://github.com/edusperoni/Details_Elitism/blob/master/Spells/Dungeons.lua#L102). I'll fix the charged stomp for tanks

authors: edusperoni wheatbread


text:
docs: update layout docs

Coverage remained the same at 88.012% when pulling 636efa7b8149ded4488430d939641e87b34812f3 on abutterworth/add-layout-componet-docs into b067fb4c5253efee185c76b3023d5f2189a3d3bc on master.

:tada: This PR is included in version 9.1.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

repo: edx/paragon


text:
Values with either {} or [] add extra new line before value.

When parsing documents that include values with either [] or {}, the resulting string representation adds a new line before the value.
Example:

const yamlString = `
testArray: []
testObject: {}
testArray2: ["hello"]
`;

const doc = YAML.parseDocument(yamlString);

console.log(doc.toString());

Result:
// result
testArray:
  []
testObject:
  {}
testArray2:
  [ "hello" ]

Expected:
// result
testArray: []
testObject: {}
testArray2: [ "hello" ]

Thanks for pointing this out. Collection pairs with single-line flow collections should now also get stringified as single lines.

authors: dmarchin eemeli

repo: eemeli/yaml

license: ISC


text:
🛑 Almacenata is down

In ce449cc, Almacenata (https://www.almacenata.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Almacenata is back up in e34ca62 after 1 day, 5 hours, 41 minutes.

repo: efecear/upptime


text:
🛑 Tierra Firme is down

In aacf110, Tierra Firme (https://www.tierrafirmenodoutt.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Tierra Firme is back up in e6d3ece.


text:
🛑 La Semilla Que Crece is down

In 065c63c, La Semilla Que Crece (https://www.lasemillaquecrece.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: La Semilla Que Crece is back up in 199f420.


text:
🛑 Nodo UTT Morón is down

In 4a4a2e4, Nodo UTT Morón (https://www.nodouttmoron.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nodo UTT Morón is back up in 98c54eb.


text:
🛑 Almacén BioPandora is down

In 2cb0cd4, Almacén BioPandora (https://www.biopandora.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Almacén BioPandora is back up in 56c89cf.


text:
🛑 Nodo UTT Morón is down

In 52eb0fe, Nodo UTT Morón (https://www.nodouttmoron.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nodo UTT Morón is back up in 1874fc1.


text:
🛑 La Semilla Que Crece is down

In 63aef37, La Semilla Que Crece (https://www.lasemillaquecrece.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: La Semilla Que Crece is back up in bdc0ef5.


text:
🛑 Almacén BioPandora is down

In d9d8040, Almacén BioPandora (https://www.biopandora.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Almacén BioPandora is back up in f000dae.


text:
Also check wellformedness of effects in namer

Fixes  #281 and also fixes #352 by inserting a single wellformedness check.

This resulted in a CI failure on master:
java.lang.AssertionError: assertion failed: Cannot add signature for interface twice: Exception
    at effekt.lifted.mono.FlowAnalysis.addInterface(Analyzer.scala:38)
    at effekt.lifted.mono.Analyzer$package$.analyze(Analyzer.scala:341)
    at effekt.lifted.mono.Analyzer$package$.analyze$$anonfun$1(Analyzer.scala:93)

Is this yet another flaky CI?

repo: effekt-lang/effekt


text:
numpy error

Colab should be updated to fix this; however, requires restarting the runtime before running the last cell. Closing unless this problem reappears.

authors: Sztef effusiveperiscope

repo: effusiveperiscope/so-vits-svc


text:
🛑 CDN-Mikrotik-2 is down

In 3833a89, CDN-Mikrotik-2 (http://118.179.50.70) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CDN-Mikrotik-2 is back up in c86597f after 47 minutes.


text:
Support command line switches

It looks like the application does not support queries like the web site does:
http://devdocs.io/#q=language search

Being able to communicate with the application would be very useful.

Extending on the topic, wouldn't it be better to register a custom protocol? It would allow to use queries knowing that the result will always open inside the application.

authors: thorstenkampe threkk

repo: egoist/devdocs-desktop


text:
Issue #811 Merge DefaultStoreProvider into CacheStore.Provider

This commit merges the tiering logic from DefaultStoreProvider into
CacheStore.Provider and discards DefaultStoreProvider.

Updated and rebased ...