Ublock does not theme black as the screenshots show

Ublock is still completely white, as the title stated.
Using latest Ublock and Firefox Quantum 59.0.3 64bit, Windows 10 Version 10.0.17134 Build 17134.
Other than that, I am GLAD I discovered this by accident, it is AMAZING! Mainly the new tab page is great!
Edit: Screenshots

Hi @ChristoferMinestar, I'm glad you stumbled across the project!
How did you install ShadowFox?  If you used the available installation/updater scripts, did you make sure the "Auto-Generate UUIDs" buttons was checked?

Yeah, I just opened the installer, selected install and hit enter. Did not
mess with any default settings
On Tue, May 8, 2018 at 10:32 PM Pat Johnson<EMAIL_ADDRESS>wrote:

Hi @ChristoferMinestar https://github.com/ChristoferMinestar, I'm glad
you stumbled across the project!
How did you install ShadowFox? If you used the available
installation/updater scripts, did you make sure the "Auto-Generate UUIDs"
buttons was checked?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/overdodactyl/ShadowFox/issues/144#issuecomment-387601361,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQbLcDAVDAG6yY50JNEmxNH_G5HjP5LIks5twlUqgaJpZM4T3iU_
.

--
Christofer

The "Auto-Generate UUIDs" checkbox is disabled by default. Just run the installer again, check the box, and install again.

Thanks!
On Wed, May 9, 2018 at 7:38 AM SrKomodo<EMAIL_ADDRESS>wrote:

The "Auto-Generate UUIDs" checkbox is disabled by default. Just run the
installer again, check the box, and install again.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/overdodactyl/ShadowFox/issues/144#issuecomment-387710778,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQbLcMAjCy3jD5gvPKV4rllFCHboV5mvks5twtUZgaJpZM4T3iU_
.

--
Christofer


Both versions of the Gylou incorrectly gives the Reflexive Grab reaction the move trait

When checking on Archives of Nethys, both versions of the Gylou's reaction does not have the move trait, but it is present on Foundry. As the title suggests, seems to be a data error but I don't have any books to confirm.
Foundry Version:

AoN Version:

Verified in the PDFs that it should not have the move trait.


mirror the repo to GCS

It would be nice to mirror the repository to GCS by adding a https://conda.io/projects/conda-build/en/latest/resources/commands/conda-index.html step and https://github.com/google-github-actions/upload-cloud-storage to the current CI.
That would allow to work around the 3GB storage limitation of anaconda: https://docs.anaconda.com/anacondaorg/faq/#what-is-included-in-the-free-version-of-anaconda-org and allow for a more optimized serving path from GCP installing conda packages from managed notebooks or GCE vms startup scripts.

I believe this is a duplicate of https://github.com/hdl/conda-eda/issues/204 ?


Use a non-empty DEFAULT_DATA_DIR

This fixes a problem where, if one is using the default, then on
startup, the check_data_dir sanity check fails, printing a warning to
the console that would be easy to ignore.
I gather this doesn't cause problems elsewhere because other code is
calling join to create subpaths.
It seems to me that having an empty default is error-prone (as here), so the fix should be to not willingly set it to "" (additional startup checks that no paths are "" would be even better).
I put a special case into the validation code to account for the change from "" to "./" on upgrade. I have tested it manually.
What have you changed? (mandatory)
Set DEFAULT_DATA_DIR to "./".
What are the type of the changes? (mandatory)

Bug fix (change which fixes an issue)

How has this PR been tested? (mandatory)
Manually.
Refer to a related PR or issue link (optional)
Fixes https://github.com/tikv/tikv/issues/4392

Good catch, mostly we pass a data dir explicitly so not meeting this problem.
PTAL @zhangjinpeng1987

I've pushed a commit that addresses @siddontang and @AndreMouche's comments.

\run-integration-tests

/run-integration-tests


[FranceInter] Extractor Update

Update of the "FranceInter" radio extractor : webpages HTML structure had changed, the extractor didn't work. So I updated this extractor to get the mp3 URL and all details.
here is an example : https://www.franceinter.fr/emissions/la-tete-au-carre/la-tete-au-carre-30-juin-2016
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.07.02
[debug] Git HEAD: 7191f5e
[debug] Python version 2.7.12 - Darwin-15.4.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
Thanks !

Check code with flake8 and squash commits.

Thanks @dstftw for your review.
I changed the test part to get the same original content and I changed how to get the right upload date by converting french month name.

Hello @dstftw
As you adviced, I checked code with flake8 and I commited changes.
Thanks

Hello,
What should I do in order that this pull request is validated ?
Thanks

Superseded by #10538.


Minimal junk one at a time

The tests on the .emit() code path in the entries parser fail, not sure how to drill down on those technically.

@stasm - how does it look to you?

Closing this as we now have a new syntax and a new parser. Thanks, @Pike!


Change QuantumKernel.user_parameters field name in qiskit-machine-learning

[x] Change qiskit_machine_learning.kernels.QuantumKernel.user_parameters field to something else, maybe kernel_parameters or training_parameters. Open to suggestions

[x] Ensure QuantumKernel , QuantumKernelTrainer , and qiskit_machine_learning.utils.loss_functions.SVCLoss source are updated to reflect change.

[x] Ensure associated unit tests are updated

[ ] Ensure kernel training tutorial in qiskit-machine-learning is updated

[ ] Ensure quantum-kernel-training prototype repository notebooks are updated

[ ] Ensure quantum-kernel-training prototype repository docs and helper source code reflect changes

[ ] Ensure QKT gist is updated in Github (Caleb)

[ ] Ensure our two Qiskit blog posts reflect latest usage (Caleb)

The below could be a separate Issue/PR if you prefer

[ ] Add an error message to QuantumKernelTrainer.fit method that throws when the method has been called but the "[insert_new_name]_parameters" has not been set

The parameter names have been updated in Github. This issue will remain open until after the next qiskit ML release. We will wait to update blog posts and gists until after release.


Program compiles but crashes

Hi,
I know i'm most likely shooting myself into the foot. But I wanted to let you know. It's most likely that the created string inside the spawn goes out of scope or something. But this isn't caught by the compiler. I'm not sure wether it's the library or the compiler.
I guess there isn't a way out of this without using boxes.
Thanks
extern crate crossbeam;

use crossbeam::sync::SegQueue;
use std::thread;
use std::time::Duration;

struct Task {
    text: String,
}

impl Task {
    pub fn new(text: String) -> Task {
        Task { text: text }
    }
}

fn main() {
    let seg_queue : SegQueue<Task> = SegQueue::new();

    seg_queue.push(Task::new("banana".to_string()));

    crossbeam::scope(|scope| {
        for i in 0..10 {
            let qr = &seg_queue;
            scope.spawn(move || {

                println!("Working 1");
                &qr.push(Task::new("Thread {}".to_string()));
                println!("Working 2");

            });
        }
    });

    loop {
        thread::sleep(Duration::new(0, 3));

        match seg_queue.try_pop() {
            Some(a) => println!("{}", a.text),
            None => break,
        }
    }

    println!("Exiting the program.");
}

Does this happen when using MsQueue? I think there's actually a bug in the current implementation of SegQueue in push, where uninitialized memory is directly assigned to instead of using ptr::write. I'm guessing that the program tries to drop whatever was at that location previously, but that was junk data.

I've confirmed that fixing the assignment also fixes your segfault - #45 or a pull request with just that fix should solve your problem.

I've merged #47 and published a new version with the fix. @6D65, can you confirm this fixes the problem for you?

Thank you @schets for the fix.
@aturon  the problem is indeed fixed.


Added saveSoundToBlob() to soundRecorder.js

as my need is recording sound by microphone, then appending it to DOM for preview before it is downloaded. a temporary blob url is the choice.

thank you @wahengchang ! This will close https://github.com/processing/p5.js-sound/issues/257

as part of a related issue (https://github.com/processing/p5.js-sound/issues/314) we may want to move these away from the p5.prototype to the SoundFile

@therewasaguy , when can I use the new version which included this Pull-Request ?
I need it desperately

@wahengchang you can use it now by compiling p5 sound from source, and it will be included in the next release of p5.js, tho I'd like to move this (and saveSound) to p5.SoundFile / p5.AudioIn, before we make it part of the official API. Let me know if you have any thoughts on that, I'm about to take a look!

^ https://github.com/processing/p5.js-sound/pull/315 would move saveBlob to SoundFile. I think that's the best home for this method?

👍


How to push new bridge ?

Hello,
I've created a new (some !) bridge for not always right (https://notalwaysright.com/) for each category.
And I wonder how to add this (theses?) bridges on github.
Can you explain me how to do that ?

Hello,
We already have a bridge for NotAlwaysRight, so you can edit it directly from GitHub : https://github.com/RSS-Bridge/rss-bridge/blob/master/bridges/NotAlwaysBridge.php
When you are finished, you can create a new branch then create a pull request.
If you need any help, don't hesitate to ask.

I suppose this question is answered.


[WIP] set resource ID (Optional)

an attempt to resolve https://github.com/appgate/terraform-provider-appgatesdp/issues/220, still work in progress

Acceptance test for 5.3.4-24950

make testacc
==> Checking that code complies with gofmt requirements...

--- PASS: TestAccIPPoolV6 (10.02s)
=== CONT  TestAccMfaProviderBasic
=== CONT  TestAccPolicyClientSettings55
    resource_appgate_policy_test.go:146: Test only for 5.5 and above, appliance.portal is only supported in 5.4 and above.
--- PASS: TestAccCriteriaScriptBasic (10.26s)
=== CONT  TestAccLdapCertificateIdentityProvidervBasic55OrGreater
--- SKIP: TestAccPolicyDnsSettings55 (1.26s)
=== CONT  TestAccLdapCertificateIdentityProvidervBasic
--- SKIP: TestAccPolicyClientSettings55 (1.18s)
=== CONT  TestAccGlobalSettings54ProfileHostname
--- PASS: TestAccTrustedCertificateBasic (10.68s)
=== CONT  TestAccadministrativeMultiplePrivilegesValidation
--- PASS: TestAccConditionBasic (10.72s)
=== CONT  TestAccBlacklistUserBasic
--- PASS: TestAccEntitlementScriptBasic (10.92s)
=== CONT  TestAccApplianceLogForwarderElastic55
--- PASS: TestAccRingfenceRuleBasicTCP (8.25s)
=== CONT  TestAccApplianceAdminInterfaceAddRemove
=== CONT  TestAccLdapCertificateIdentityProvidervBasic55OrGreater
    resource_appgate_identity_provider_ldap_certificate_test.go:293: Test only for 5.5 and above, on_boarding_two_factor.0.device_limit_per_user updated behaviour in > 5.5
=== CONT  TestAccGlobalSettings54ProfileHostname
    resource_appgate_global_settings_test.go:102: Test only for 5.4 and above, client_connections profile_hostname is not supported prior to 5.4, you are using 5.3.0+estimated
--- SKIP: TestAccLdapCertificateIdentityProvidervBasic55OrGreater (1.27s)
=== CONT  TestAccAppliancePortalSetup
=== CONT  TestAccApplianceLogForwarderElastic55
    resource_appgate_appliance_test.go:3021: Test only for 5.5 and above, appliance.log_forwarder_elasticseach specific testcase
--- SKIP: TestAccGlobalSettings54ProfileHostname (1.29s)
=== CONT  TestAccApplianceBasicControllerOverriderSPADisabled
--- SKIP: TestAccApplianceLogForwarderElastic55 (1.02s)
=== CONT  TestAccApplianceBasicControllerWithoutOverrideSPA
--- PASS: TestAccEntitlementBasicPing (12.35s)
=== CONT  TestAccApplianceBasicGateway
=== CONT  TestAccAppliancePortalSetup
    resource_appgate_appliance_test.go:2181: Test only for 5.5 and above, appliance.portal is only supported in 5.4 and above.
--- SKIP: TestAccAppliancePortalSetup (1.30s)
=== CONT  TestAccApplianceConnector
--- PASS: TestAccRadiusIdentityProviderBasic (12.98s)
=== CONT  TestAccApplianceCustomizationBasic
--- PASS: TestAccLdapIdentityProviderBasic (13.93s)
=== CONT  TestAccadministrativeMultiplePrivilegesValidation52
    resource_appgate_administrative_role_test.go:272: Test is only for 5.2, privileges.target OnBoardedDevice
--- SKIP: TestAccadministrativeMultiplePrivilegesValidation52 (1.05s)
=== CONT  TestAccAppgateApplianceCustomizationDataSource
--- PASS: TestAccBlacklistUserBasic (6.81s)
=== CONT  TestAccadministrativeRoleWithScope
--- PASS: TestAccRingfenceRuleBasicICMP (8.96s)
=== CONT  TestAccadministrativeRoleBasic
--- PASS: TestAccPolicyBasic (8.61s)
=== CONT  TestAccAppgateTrustedCertificateDataSource
--- PASS: TestAccAdminMfaSettingsBasic (8.64s)
=== CONT  TestAccAppgateMfaProviderDataSource
--- PASS: TestAccMfaProviderBasic (8.78s)
--- PASS: TestAccadministrativeMultiplePrivilegesValidation (8.45s)
--- PASS: TestAccEntitlementUpdateActionOrder (19.20s)
--- PASS: TestAccEntitlementUpdateActionHostOrder (19.41s)
--- PASS: TestAccEntitlementUpdateActionPortsSetOrder (20.26s)
--- PASS: TestAccEntitlementBasicWithMonitor (21.19s)
--- PASS: TestAccLdapCertificateIdentityProvidervBasic (10.86s)
--- PASS: TestAccAppgateApplianceCustomizationDataSource (6.54s)
--- PASS: TestAccApplianceBasicControllerOverriderSPADisabled (9.95s)
--- PASS: TestAccApplianceBasicGateway (9.65s)
--- PASS: TestAccApplianceBasicControllerWithoutOverrideSPA (10.17s)
--- PASS: TestAccApplianceConnector (9.60s)
--- PASS: TestAccAppgateMfaProviderDataSource (4.97s)
--- PASS: TestAccAppgateTrustedCertificateDataSource (5.47s)
--- PASS: TestAccadministrativeRoleBasic (5.91s)
--- PASS: TestAccApplianceCustomizationBasic (11.13s)
--- PASS: TestAccadministrativeRoleWithScope (7.61s)
--- PASS: TestAccApplianceAdminInterfaceAddRemove (15.22s)
--- PASS: TestAccSamlIdentityProviderBasic (27.96s)
--- PASS: TestAccSiteBasic (30.29s)
PASS
ok  	github.com/appgate/terraform-provider-appgatesdp/appgate	141.288s

Acceptance test for 5.4.2-25749-release

make testacc
==> Checking that code complies with gofmt requirements...

--- PASS: TestAccadministrativeRoleWithScope (10.64s)
=== CONT  TestAccMfaProviderBasic
--- SKIP: TestAccPolicyDnsSettings55 (1.68s)
=== CONT  TestAccLocalUserBasic
--- SKIP: TestAccPolicyClientSettings55 (1.35s)
=== CONT  TestAccLdapIdentityProviderBasic55OrGreater
    resource_appgate_identity_provider_ldap_test.go:257: Test only for 5.5 and above, on_boarding_two_factor.0.device_limit_per_user updated behaviour in > 5.5
--- PASS: TestAccApplianceBasicControllerWithoutOverrideSPA (13.11s)
=== CONT  TestAccIPPoolBasic
--- SKIP: TestAccLdapIdentityProviderBasic55OrGreater (1.21s)
=== CONT  TestAccSamlIdentityProviderBasic55OrGreater
    resource_appgate_identity_provider_saml_test.go:857: Test only for 5.5 and above, on_boarding_two_factor.0.device_limit_per_user updated behaviour in > 5.5
--- SKIP: TestAccSamlIdentityProviderBasic55OrGreater (1.49s)
=== CONT  TestAccSamlIdentityProviderBasic
--- PASS: TestAccAppgateMfaProviderDataSource (8.17s)
=== CONT  TestAccRadiusIdentityProviderBasic55OrGreater
--- PASS: TestAccApplianceCustomizationBasic (15.95s)
=== CONT  TestAccRadiusIdentityProviderBasic
--- PASS: TestAccAppgateApplianceCustomizationDataSource (8.22s)
=== CONT  TestAccLdapCertificateIdentityProvidervBasic
=== CONT  TestAccRadiusIdentityProviderBasic55OrGreater
    resource_appgate_identity_provider_radius_test.go:265: Test only for 5.5 and above, on_boarding_two_factor.0.device_limit_per_user updated behaviour in > 5.5
--- SKIP: TestAccRadiusIdentityProviderBasic55OrGreater (1.17s)
=== CONT  TestAccLdapIdentityProviderBasic
--- PASS: TestAccBlacklistUserBasic (8.76s)
=== CONT  TestAccLdapCertificateIdentityProvidervBasic55OrGreater
    resource_appgate_identity_provider_ldap_certificate_test.go:293: Test only for 5.5 and above, on_boarding_two_factor.0.device_limit_per_user updated behaviour in > 5.5
--- SKIP: TestAccLdapCertificateIdentityProvidervBasic55OrGreater (1.48s)
=== CONT  TestAccGlobalSettings54ProfileHostname
--- PASS: TestAccIPPoolV6 (9.75s)
--- PASS: TestAccSiteBasicAwsResolverWithoutSecret (10.07s)
--- PASS: TestAccRingfenceRuleBasicICMP (8.85s)
--- PASS: TestAccRingfenceRuleBasicTCP (9.51s)
--- PASS: TestAccEntitlementUpdateActionOrder (20.00s)
--- PASS: TestAccAdminMfaSettingsBasic (8.61s)
--- PASS: TestAccEntitlementUpdateActionHostOrder (20.31s)
--- PASS: TestAccEntitlementBasicWithMonitor (20.54s)
--- PASS: TestAccEntitlementUpdateActionPortsSetOrder (20.63s)
--- PASS: TestAccPolicyBasic (9.66s)
--- PASS: TestAccMfaProviderBasic (8.99s)
--- PASS: TestAccLocalUserBasic (9.04s)
--- PASS: TestAccIPPoolBasic (8.37s)
--- PASS: TestAccGlobalSettings54ProfileHostname (5.37s)
--- PASS: TestAccRadiusIdentityProviderBasic (8.18s)
--- PASS: TestAccLdapCertificateIdentityProvidervBasic (7.77s)
--- PASS: TestAccApplianceAdminInterfaceAddRemove (15.71s)
--- PASS: TestAccLdapIdentityProviderBasic (7.53s)
--- PASS: TestAccSamlIdentityProviderBasic (18.79s)
--- PASS: TestAccSiteBasic (25.62s)
PASS
ok  	github.com/appgate/terraform-provider-appgatesdp/appgate	151.758s

Acceptance test for 5.5.0-26293-release

 make testacc
==> Checking that code complies with gofmt requirements...


Release Google.Cloud.AutoML.V1 version 3.2.0

Changes in this release:
No API surface changes; just dependency updates.

Created release for Google.Cloud.AutoML.V1-3.2.0


.ino code

hello, need to load some code in the arduino IDE?

Did you find an ino code ?

I added Arduino code, but this is not a verified solution for the aim bot.


Documentation for Docker Registry 2.0, discussed in #926

https://github.com/mesosphere/marathon/issues/926#issuecomment-125509252

I actually first wrote my answer to your email on the mailing list and then discovered this pull request. So I am pleasantly surprised to already see your pull request here :)
I'll have a look at this.

This is really great documentation. I am impressed. Thank you very much!
I added a comment you might want to address.

@kolloch I have broken the changes into a separate file linked from the native docker docs. I also added a section on access to the file. Finally merged this into a single commit! Thanks for feedback!

@IanSaunders Thanks a lot. Awesome docs :+1:


Add SvelteKit Support

Is your feature request related to a problem? Please describe.
I am trying to develop a website for a client that uses Livechat. They want to implement your software into their website, but Since I useSveltekit there is a problem with doing that,
Describe the solution you'd like
I would like the vue support to be adapted to work for sveltekit as well. This should be simple as svelte and vue are very similar. Some people have written scripts to do that exact thing.
Describe alternatives you've considered
Non that I can think of

The account that was deleted was mine. I am changing the account sorry about that.


Early stopping

Added early stopping criteria similar to pytorch lightning early stopping

We should consider switching to *args, **kwargs syntax in future.


Active development?

Hi,
as this is still an alpha version, I wonder if this tool is still under "active development"?
Will this tool be "official" part of https://github.com/Illumina ?
best,
Sven

Hi Sven,
I guess I can remove the "alpha" on the next release.  Certainly the tool will continue to be actively supported.  In terms of further development, my only plans are to remove BOOST dependencies since they cause issues for many people when compiling. I am happy to take feature requests though!
We will move it to https://github.com/Illumina at some point.
cheers,
Jared

Hi Jared,
cool, .. I'd like to use it routinely on (illumina) fastq data. Currently I use TGAC's NextClip for adaptor removal.
Usually we remove duplicates from LMP data. To just avoid another I/O-read/write cycle in data preprocessing, it would be good to have an option for that. Maybe with a accompanying parameter for "stringency" when searching for duplicates.
best,
Sven

Duplicate removal is probably beyond the scope of the tool. I'd be unlikely to be able to implement something as good as what is currently available.
Note that you can already pipe nxtrim to stdout and straight to an aligner to avoid unnecessary I/O:
nxtrim  -1 EcMG1_R1.fastq.gz -2 EcMG1_R2.fastq.gz --justmp --stdout | bwa mem -p EcMG.fna - > EcMG.mp.bam

I guess you could do the same thing with a duplicate removal tool?  I'm not sure what the state-of-the-art is on reference free duplicate detection.

Well, there are a handful of tools ... few of them accepting interleaved as input. It should be possible though to pipe or to use bash's comand substitution.
best,
Sven


[Feature] How to integrate custom LLM and use it in application started by python dbgpt\app\dbgpt_server.py ?

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
suppose I need to integrate my custom llm into the application, and my llm can be accessed through http request, like code below:
import hashlib
import time
import requests

APPSECRET = '{my_appsecret}'
APPID = '{my_appid}'
timestamp = int(time.time() * 1000)
keystr = APPID + "UZ" + APPSECRET + "UZ" + str(timestamp)
localappkey = hashlib.sha256(keystr.encode()).hexdigest()
APPKEY = localappkey + '.' + str(timestamp)

url = "https://{my_llm_proxy_host}/virtually/llm/model/predict"
messages = [{"role": "user",
             "content": "hello"}]
params = {"messages": messages}
headers = {"Content-Type": "application/json",
           "Referer": "https://{my_llm_proxy_host}/",
           "APP-KEY": APPKEY,
           "APP-ID": APPID}

response = requests.post(url=url,
                         json=params,
                         stream=True,
                         headers=headers,
                         cert=False)

for chunk in response.iter_content(1024):
    print(chunk.decode("utf-8", "ignore"), end="")
# print(response)

Which module should I customize to achieve this goal? Thanks a lotttttttttt!!
Use case
No response
Related issues
No response
Feature Priority
Medium
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

hi @huanght18

if your llm service follow openai response interface, can don't need to change any code, just set PROXY_SERVER_URL in your .env .
if your llm service is don't follow openai response, you need to write your llm proxy code like DB-GPT/dbgpt/model/proxy/llms/chatgpt.py.

hi @huanght18

if your llm service follow openai response interface, you don't need to change any code, just set PROXY_SERVER_URL in your .env .
if your llm service don't follow openai response, you need to write your llm proxy code like DB-GPT/dbgpt/model/proxy/llms/chatgpt.py.

hi, Can you show us a demo? I feel its hard to do. My LLM is deployed on cloud clusters. there is a parameter ({'X-Auths-Code'}) that is used in the requests' header. so I need to provide


[FEATURE] deprecate old k8s apis

deprecate old APIs and switch to their newer version

After this PR (not released yet), the deprecate APIs should not be used.


Tweak style to align with kubernetes.io

I know style is subjective and this is merely an opinion. I'm open to feedback and tweaks, but figured I'd give it a stab.
Changes

Uses dark grey as secondary color
Update blue to be more Kubernetes blue
Remove superfluous iconography
Remove drop shadows
Remove animations

/approve
Thanks, and welcome @marcoceppi !


¿What is data volume used for?

I see that everything goes inside /ghost-override
What am I missing?
Thanks

@YoussefKababe is it possible to use a DB other than sqlite for scalability?


engine_trait: introduce flush state

What is changed and how it works?
Issue Number: Ref #12842
What's Changed:
Flush state is used to trace persisted apply index. This is the first
PR to remove WAL for raftstore v2.

You can checkout the full changes in here.
Check List
Tests

Unit test
Integration test

Release note
None

/merge


feat: add authzed/zed

authzed/zed: Official command-line tool for managing SpiceDB
Check List

[x] Read CONTRIBUTING.md

[x] Read OSS Contribution Guide

[x] All commits are signed

This repository enables Require signed commits, so all commits must be signed

[x] Avoid force push
[x] Do only one thing in one Pull Request

Thank you for your contribution!

I guess your local repository of aqua-registry is old.
The reason I think so is the commit message is different from that created by our latest tool.
e.g. https://github.com/aquaproj/aqua-registry/pull/23277/commits/730d177858adc2f06b7a28805c61ebf32151b900

feat(nucleuscloud/neosync): scaffold nucleuscloud/neosync

v4.187.0 is out 🎉
https://github.com/aquaproj/aqua-registry/releases/tag/v4.187.0

@suzuki-shunsuke I made a PR that fixes the error I encountered: #23381.


nixos: add /share/hunspell to environment.pathsToLink

Motivation for this change
So that applications can find hunspell dictionaries installed through environment.systemPackages.
Please note that some desktop environments (lumina, mate, pantheon, plasma, lxqt, gnome3) add "/share" to environment.pathsToLink so this already accidentally works when such desktop is configured.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Great, thanks!


Integrate gitlint into pre-commit vetting

This adds a small check for the last commit message per best practices to vetting. It is not expected to be integrated as enforced in the current state but would be useful for some folks to try it out.

This is cool, let's keep on the list for some time in the future and see what the team thinks about vetting it...
With all the changes here over the past month and the amount of cleanup work in progress, I really think we should wait.

converting to draft for now

This has gotten a little stale.  Closing, feel free to reopnen as needed in the future.


Kaimusic crashes when attempting to create play list

I have an Alcatel Flip 3 running KaiOS 2.5.2. I have installed a micro SD card with ~15GB of .mp3 files. I go to create a play list, create a name, click next then enter a letter to search for music. The app freezes at the first letter and then crashes. Can this be fixed?
Thanks, Brendan

You can play DEFAULT playlist ?

You can play DEFAULT playlist ?

The default play list starts playing and then the app crashes.
On Mon, 2021-01-11 at 08:58 -0800, Ahmad Malik wrote:

You can play DEFAULT playlist ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
--

Thanks,
Brendan Carroll
617.794.8801

The default play list starts playing and then the app crashes.
On Mon, 2021-01-11 at 08:58 -0800, Ahmad Malik wrote:

You can play DEFAULT playlist ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
--

Thanks,
Brendan Carroll
617.794.8801

What is total files on your micro SD card ?
Does 'Submit Report' screen show up after the app crashed ?

What is total files on your micro SD card ?
Does 'Submit Report' screen show up after the app crashed ?

I have ~15GB of .mp3 files on the SD card. No, I do not get the "submit
report" window.
On Mon, 2021-01-11 at 12:11 -0800, Ahmad Malik wrote:

What is total files on your micro SD card ?
Does 'Submit Report' screen show up after the app crashed ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
--

Thanks,
Brendan Carroll
617.794.8801

I have ~15GB of .mp3 files on the SD card. No, I do not get the "submit
report" window.
On Mon, 2021-01-11 at 12:11 -0800, Ahmad Malik wrote:

What is total files on your micro SD card ?
Does 'Submit Report' screen show up after the app crashed ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
--

Thanks,
Brendan Carroll
617.794.8801

Probably OOM(Out Of Memory) due to too many files inside micro SD card

Probably OOM(Out Of Memory) due to too many files inside micro SD card

I found the bug, will fix it soon

I found the bug, will fix it soon

Great! How will I get the update?
Thanks,
Brendan Carroll
617.794.8801
On Wed, 2021-01-13 at 02:54 -0800, Ahmad Malik wrote:

I found the bug, will fix it soon
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Great! How will I get the update?
Thanks,
Brendan Carroll
617.794.8801
On Wed, 2021-01-13 at 02:54 -0800, Ahmad Malik wrote:

I found the bug, will fix it soon
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

SOLVE https://www.reddit.com/r/KaiOS/comments/kwhoex/kmusic_drop_support_for_albumsartist_on_v130/

SOLVE https://www.reddit.com/r/KaiOS/comments/kwhoex/kmusic_drop_support_for_albumsartist_on_v130/

Ahmad, Thanks for your quick turn-around on the fix. When will v 1.3 be
available in the KaiOS store?
On Wed, 2021-01-13 at 07:40 -0800, Ahmad Malik wrote:

SOLVE
https://www.reddit.com/r/KaiOS/comments/kwhoex/kmusic_drop_support_for_albumsartist_on_v130/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
--

Thanks,
Brendan Carroll
617.794.8801

Ahmad, Thanks for your quick turn-around on the fix. When will v 1.3 be
available in the KaiOS store?
On Wed, 2021-01-13 at 07:40 -0800, Ahmad Malik wrote:

SOLVE
https://www.reddit.com/r/KaiOS/comments/kwhoex/kmusic_drop_support_for_albumsartist_on_v130/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
--

Thanks,
Brendan Carroll
617.794.8801


How do I use the raft consensus algorithm？

hello everyone：
When I set rawGenesisConfig.genesis.config.algorithm.condensus in "help/charts/goquorum-generesis/values.yaml" and "helm/values/genesis-goquorum.yml" to raft.
And when I start goquorum in k8s according to the following method in helm:
https://github.com/ConsenSys/quorum-kubernetes/tree/master/helm#for-goquorum
All pods of validator nodes report the following error:
Fatal: Consensus not specified. Exiting!!

But everything works normally when rawGenesisConfig.genesis.config.algorithm.condensus is set to qbft ibft or clique.
Please help me. Thank you very much.

Hello @13310241314
Raft isn't supported for production and so hasn't been supported in this repo. Please use one of the other algorithms ie QBFT, IBFT2 or IBFT
Cheers

OK. Thanks very much for talking to me

Hello @13310241314
Raft isn't supported for production and so hasn't been supported in this repo. Please use one of the other algorithms ie QBFT, IBFT2 or IBFT
Cheers

OK. Thanks very much for talking to me.


URL for device management in QR?

I was wondering what the best way embed a device specific URL into the QR code?  The use-case would be that a tech can scan the QR code on their mobile device, which then opens the mobile browser and brings them to say... the device's netbox page?

Hi @dmidlo ! I don't think that's good idea to configure device from mobile device. Basic idea of this plugin is easily identify device in machine room.

Netbox is a source of truth, not a configuration tool.  That's the largest part of the idea exactly.  Be logged into netbox on your mobile browser, Scan QR code on device (which opens new tab on mobile browser).  Device is identified, and tech has access to SoT about the device?

From netbox device page you can easily get link for configuration, for example using custom links.


Azure Eventhub Limits

Hi Team,
I have read the Microsoft document on the Azure Eventhub limits from "https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-quotas#basic-vs-standard-vs-premium-vs-dedicated-tiers"
I see some discrepancies in this.
As Azure eventhub support both AMQP protocol and Kafka Protocol,
So in the document its mentioned only on the AMQP protocol?
The reason to ask this question is.
**Number of consumer groups per event hub is 20 for Standard tier.
**
While experimenting I observed that, I get the error while I create more than 20 Consumer group in AMQP protocol. But Kafka Protocol is not limiting.
So based on this i understand that, the table is having the limit only on the AMQP protocol end not the Kafka end.
If specifically kafka limit is there the document is mentioned about Kafka limit with its tag like below

Kindly let me know on my understanding is correct in tis case. if not updating the document will get a clear path.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: b6d43eb3-6a80-b8c4-8536-f4f8b79aa453
Version Independent ID: 3e8dec68-44ac-aca8-5b07-470050878ae5
Content: Quotas and limits - Azure Event Hubs - Azure Event Hubs
Content Source: articles/event-hubs/event-hubs-quotas.md
Service: event-hubs
GitHub Login: @spelluru
Microsoft Alias: spelluru

@ksdvishnukumar Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

#please-close

@spelluru, The table mentioned only about the Consumer group limits but no where its mentioned about the Kafka Consumer group limit. But in the POC which is did, its restricting only for AMQP protocol consumer group limit. But for Kafka protocol it did allow me create more than what the limit is defined. If that is the case document should be updated.
#please-reopen

@ksdvishnukumar - To be clear, it allowed you to create more than 1000 consumer groups. Is that right? Thanks.

@spelluru yes it allowed me to create more then the limit. So suspected the document is meant only for AMQP protocol Consumer group.

@ksdvishnukumar - Ok. I need to go back to the product team and see if they can test it with more than 1000 consumer groups for Kafka and confirm.


Certain requests never return

Hi,
I want to replace a legacy app (ASP.NET) with a new one (ASP.NET Core). In order for the change to be transparent for my clients, I installed the new app in place of the old on in IIS and I'm using ProxyKit to selectively redirect the old requests to the old app, while the new one handles new requests. The configuration is as such:
app.UseWhen(
    // use proxy if requested path does not start with an item in paths collection
    context => !paths.Any(path => context.Request.Path.StartsWithSegments(path, StringComparison.OrdinalIgnoreCase)),
    appInner => appInner.RunProxy(async context =>
    {
        var response = await context
            .ForwardTo(upstreamHost)
            .CopyXForwardedHeaders()
            .FixContentTypeOnGetRequests(context) // "adjusts" downstream request to support old clients
            .Send();

        // Replace upstream host ONLY in help pages
        if (context.Request.Path.Value.IndexOf("/help", StringComparison.OrdinalIgnoreCase) > -1)
        {
            await ReplaceHostnamesInProxiedResponse(upstreamHost, downstreamHost, response);
        }

        return response;
    }));

The configuration works fine most of the time and is fast enough that you can barely tell there is a proxy. Neither FixContentTypeOnGetRequests nor the if have any incidence on the situation described below.
For some reason I cannot explain, however, some calls to Send sometimes never return.
I have only been able to reproduce when calls happen in a very specific sequence:
There are 4 apps hosted in IIS on the same machine: PROXY, DOWNSTREAM, APP1, APP2
CLIENT               PROXY             DOWNSTREAM                 APP1                  APP2
   | ---- /path1 ----> |                   |                       |                      |
   |                   | ---- /path1 ----> |                       |                      |
   |                   |                   | ----- /extCall1 ----> |                      |
   |                   |                   |                       | ---- /extCall2 ----> |
   |                   | <-------------------------- /path2 ----------------------------- |
   |                   | ---- /path2 ----> |                       |                      |
   |                   |                   | ----- /extCall3 ----> |                      |
   |                   | <---------------- /path3 ---------------- |                      |
   |                   | ---- /path3 ----> |                       |                      |
   |                   | <--- R /path3 --- |                       |                      |
   |                   |                  TIMEOUT                  |                      |

I hope the diagram makes the situation clear. Basically, there is a series of calls which are all synchronous and needed to respond to the initial request. The client requests /path1 to the PROXY, which in turns triggers several other calls to other applications, some of which are further requests to the PROXY.
The third request to the PROXY, /path3, is handled quickly by the DOWNSTREAM app (~100ms), but the call to Send in the PROXY that's supposed to get that request and send it to the caller (APP1), never completes, triggering a series of time outs.

However, reconfiguring our internal apps to hit DOWNSTREAM directly, totally beats the purpose of setting up the PROXY, so it's something I'd like to avoid.
Is there anything that would explain why this 3rd call to the PROXY simply never returns? It feels like some kind of deadlock, but I cannot figure out why.
Any insights are welcome.

I finally tracked down the issue to the HttpClient having a limited number of possible simultaneous open connections. This limit was being reached because the HttpClientFactory was giving ProxyKit a single HttpClient to reuse and, at the same time, each call to the proxy was creating a new connection that remained open because of the triggered sub-calls. Since each sub-call "recursively" called the proxy again, the process restarted.
To support the chained calls I described above, I simply changed the value of ServicePointManager.DefaultConnectionLimit from the default of 2 to a higher number in my proxy app's startup class.

Firstly sorry I didn't get to this sooner. Been busy last couple of week. Also, excellent report and thank you for getting back.
I think it would have taken me a long time to work out the solution too.
Side note: there is no ServicePointManager on linux... Hmm..

I'm going to keep this open as I think it need documentation or some better way to detect when the issue occurs.


Table cells vertical-align???

Is there any variable in which it is possible to change the vertical alignment of the cells?
For in this section in _tables.scss below, the alignment at the top is explicit.
.table {
  width: 100%;
  max-width: 100%;
  margin-bottom: $line-height-computed;
  // Cells
  > thead,
  > tbody,
  > tfoot {
    > tr {
      > th,
      > td {
        padding: $table-cell-padding;
        line-height: $line-height-base;
        vertical-align: top;
        border-top: 1px solid $table-border-color;
      }
    }
  }
...

Is there a way to align in the middle?

Wouldn't it be possible just to override the _tables.scss using and inserting whatever your v-align you want? You could do that or you could even define your own variable that sets this something like $table-cell-alignment = 'middle' and then declaring it inside of the _tables.scss
.table {
  width: 100%;
  max-width: 100%;
  margin-bottom: $line-height-computed;
  // Cells
  > thead,
  > tbody,
  > tfoot {
    > tr {
      > th,
      > td {
        padding: $table-cell-padding;
        line-height: $line-height-base;
        vertical-align: middle; <---HERE (top, bottom, middle, $table-cell-alignment)?
        border-top: 1px solid $table-border-color;
      }
    }
  }


bug(node): Cannot find module 'node:stream' or its corresponding type declarations.

LanceDB version
v0.10.0
What happened?
I am getting blocked on running the db in a typescript VSCode extension.
I'm using:

Node: v22.9.0
OS: Mac Ventura 13.6.9
LanceDB: ^0.10.0
Apache Arrow: ^17.0.0

[{
"resource": "/Users/#####/Desktop/projects/nv-code/node_modules/apache-arrow/builder.d.ts",
"owner": "typescript",
"code": "2307",
"severity": 8,
"message": "Cannot find module 'node:stream' or its corresponding type declarations.",
"source": "ts",
"startLineNumber": 8,
"startColumn": 29,
"endLineNumber": 8,
"endColumn": 29
}]
Note that this is one of many errors loading node modules that are prefixed with node:
Steps I tried to resolve:

Installed apache arrow locally with Brew
Updated ESbuild to ignore the package
Updated tsconfig to be as permissive as possible
Installing @types/node

Are there known steps to reproduce?

npm install @lancedb/lancedb
Import the db into any file: import * as lancedb from "@lancedb/lancedb";

How did you generate the extension template?
What seems suspicious is you mention using ESBuild, which is designed for web bundling. LanceDB only runs in Node environments, so I wouldn't think you would use it with ESBuild.

Here's my deps if that's helpful:
"devDependencies": {
"@types/babel__core": "^7.20.5",
"@types/glob": "^8.1.0",
"@types/handlebars": "^4.1.0",
"@types/inquirer": "^9.0.7",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.17.5",
"@types/node": "^12.20.55",
"@types/node-fetch": "^2.6.11",
"@types/uuid": "^9.0.8",
"@types/vscode": "^1.46.0",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"eslint": "^7.19.0",
"jest": "^29.7.0",
"jest-fetch-mock": "^3.0.3",
"prettier": "^2.2.1",
"ts-jest": "^29.1.2",
"typescript": "^4.1.3",
"vsce": "^2.15.0"
},
"dependencies": {
"@apache-arrow/ts": "^17.0.0",
"@lancedb/lancedb": "^0.10.0",
"chalk": "^5.3.0",
"glob": "^10.3.10",
"glob-gitignore": "^1.0.14",
"globify-gitignore": "^1.0.3",
"handlebars": "^4.7.8",
"inquirer": "^9.2.14",
"lodash": "^4.17.21",
"node-fetch": "^3.3.2",
"openai": "^4.47.1",
"rxjs": "^7.8.1",
"uuid": "^9.0.1",
"vectra": "^0.5.5"
}


Clarify removal of config.mongodb.options.

Codecov Report

Merging #67 (3e4b787) into master (42f6a02) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #67   +/-   ##
=======================================
  Coverage   59.93%   59.93%
=======================================
  Files           4        4
  Lines         292      292
=======================================
  Hits          175      175
  Misses        117      117

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 42f6a02...3e4b787. Read the comment docs.


invalid_grant when I don't want grants

Sorry that this is a little spammy, but could you guys take a look at this StackOverflow post?
http://stackoverflow.com/q/7663339/124378
It's hard for me to tell if this is bug or implementation fail, but I am pretty sure its a conflict with omniauth stuff, database not saving or oauth2 expecting this to be following a newer draft of the spec than actually is.

Hey I'm getting this too, any ideas?

This issue looks to be resolved at https://github.com/socialcast/devise_oauth2_providable/pull/17


feat(ollama): add OLLAMA_API_KEY to support authentication

This PR adds the option to set the OLLAMA_API_KEY Environment Variable for the ollama provider that is further used optionally as the Bearer Token within the Authorization Header when calling the Ollama generate endpoints.
Since Ollama is providing an OpenAI compatible API (see this blogpost) and OpenAI itself uses the OPENAI_API_KEY as its corresponding bearer token, it would be very useful to provide a similar option for the ollama provider in promptfoo.
Currently ollama does not support authentication out of the box, but a lot people are having a reverse proxy in front of ollama to utilize it as a protected service within an isolated network.
The documentation for the ollama provider has been updated accordingly.
Adding optional paramters to the http headers has been done similar to other providers (e.g. huggingface.ts)
If i can add more information please feel free to reach out anytime.
Thanks for the great project and work you have put into this!

Thank you!


How Scaling works together with App Service Plan

[Enter feedback here]
The scaling section describes that new instance of the function is created when necessary. However, it is not clear how it is related to auto scaling of App Service Plan.

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

ID: a109c38e-b241-c9a2-7ef8-2e828659191c
Version Independent ID: 69842b0f-607f-5cf5-6e1a-4d312c98100c
Content: Azure Event Hubs trigger for Azure Functions
Content Source: articles/azure-functions/functions-bindings-event-hubs-trigger.md
Service: azure-functions
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

@maxal1917 Thank you for the feedback. We will work on it and will keep you updated on the thread.
Thanks

Also about scaling, let's say the code that handles events is not CPU intensive, but takes some time due to dependencies. So, the function may not keep up, and we need another instance of function, but we don't need another VM instance. Will that new instance of function will be created?

I ran some experiments to understand how it works, but it would be helpful to understand it better from documentation.

@maxal1917 If there are a lot of asynchronous tasks running may not really push the resource metrics up.  What you will be observing will be related to CPU based scaling: https://docs.microsoft.com/en-us/azure/azure-functions/functions-scale
I will be assigning this to the author to review and update it accordingly.
@craigshoemaker Can you please confirm this.


Xcode 15.2 compoile issue

Description
Hi team
I updated my MacOS SONOMA and xcode 15.2 and now I am facing following compile issue:Call to undeclared function - 'OSAtomicCompareAndSwapPtrBarrier'; ISO C99 and later do not support implicit function declarations**
Declaration of 'OSAtomicCompareAndSwapPtrBarrier' must be imported from module 'Darwin.libkern.OSAtomic' before it is required
and many more.
Pod version: Installing FirebaseMessaging (4.7.1)
Reproducing the issue
No response
Firebase SDK Version
4.7.1
Xcode Version
15.2
Installation Method
CocoaPods
Firebase Product(s)
Analytics, Messaging, Remote Config
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet

Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

Replace this line with the contents of your Podfile.lock!

Hi @kushdixit, based on the info you shared, it seems like you're using an outdated SDK version. Does updating the SDK make any difference?

I am supporting iOS 11 for my app so I did not update SDK. Let me try for that.


git clone /gunconf.git no such file

After I input this step, I get -bash: repo: no such file or directory
I'm pretty sure I put it in right
git clone repo/gunconf.git
What am I doing wrong???
I do use these symbols <>
Not showing up in this comment

Can you try:
git clone https://github.com/gunpadawan/gunconf


Radio buttons

Hi thanks again for the amazing project,
here's a trial of contribution - to be caveated i am very new to react / JS so there might very well be better ways to do this
but hope it helps.
trying to implement radio as described in issue: https://github.com/pydantic/FastUI/issues/160
Currrently it looks like this:

Overall, this is looking pretty good, thank you.


Create issue template

We receive a lot of issues that are related to the same problems:

Simplebar doesn't work because user has applied extra styles to the host element that breaks the plugin
User is using Simplebar in a modern framework (React, Vue, etc.) and Simplebar breaks/doesn't update properly

It would be great to:

Have an issue template that points the reporter to a troubleshooting section in the README or with common answers directly in the template.
Invite reporter to provide a JSFiddle that shows the issue (insist on that, issues have 99% more chances to be resolved with that!)

Closed in #225 🎉

Added in https://github.com/Grsmto/simplebar/pull/225


Improve modal dialog UI

Fine tune the CSS styles, and add more examples
Add necessary "dimmer" animation for modal dialogs, otherwise the UI seems flicking (follow #26469)

This "dimmer" module should be removed/replaced as well eventually. I already tried once in https://github.com/go-gitea/gitea/pull/24937.

In this PR, there is only one line added for the "dimmer": .ui.dimmer.transition {
Other changes are all for the modal dialog.


Faster surface mesh merge

The goal of this change is to make the identification of coincident surfaces that need merging faster and more accurate.
Previously each vertex on one surface was compared to every vertex on another surface to find a match withing some tolerance (merge_tol). This operation was slow (order N^2) and relied on having a lax enough merge tolerance to actually find all the matches.
The new method only looks for a single exact vertex match and once it is found the entire surface on one volume is replaced with the entire surface on another volume. In order to do this an additional step before the merge process was added that breaks up surfaces into separate surfaces based on whether they are exterior (on the outer bounds of the geometry) or interior (would require merging). All triangles who's centroid is located on the exterior is considered part of the exterior. By calculating the centroid vs looking at each individual vertex, it guaranteed that a triangle cannot be miscategorized.
Full list of changes:

In the ivdb.py file, the geometric extents (x, y, and z min and max values) are read from the cartesian mesh file (renamed functions from __check_levels() to __check_data())
separate_isovols() has been reworked to first determine which triangles make interior or exterior surfaces and then those are separated into disjoint surfaces. Each surface is given a tag value surf_type_tag to indicate if it is an interior or exterior surface.
__compare_surfs() has been reworked so that it only looks for one exact match between surfaces in v1 and v2. If an exact matching vertex is found, the entire surface in volume 2 is replaced with the entire surface from volume 1.
any use of the variable merge_tol has been removed since we now only look for one match and we assume that there must be at least one exact match between surfaces. (The likelihood that all surface vertices are not an exact match is extremely low).
Information about curves is removed as it is not actually needed for ray tracing
__list_coords() doesn't allow for the optional inverted dictionary to be returned since it is now unnecessary
__calc_centroid() was added which calculates the geometric center of the triangle
__check_exterior() was added to quickly assert if a point is on the exterior or not

Good news- I tried this out on a large mesh file and the geometry looks great. Also, it took just under an hour to build the geometry where as the previous method took anywhere from probably 3-6 hrs.

This is ready for another review. I believe I have addressed all the comments (or we've discussed them).

Thanks @kkiesling


Minor refactor: replace Ulid to FileId

Related issue: https://github.com/tonbo-io/tonbo/issues/212
Minor refactor to replace the Ulid to FileId

close #213


Phlex::SVG

Following up on https://github.com/joeldrapper/phlex/pull/492. Mostly adding the remaining SVG tags. Still needs more tests and work.
SVG element list available https://www.w3.org/TR/SVG2/eltindex.html
Example
class Icon < Phlex::SVG
  def template
    svg("viewBox" => "0 0 100 100" xmlns: "http://www.w3.org/2000/svg") do
      path(d: "M 10,30
        A 20,20 0,0,1 50,30
        A 20,20 0,0,1 90,30
        Q 90,60 50,90
        Q 10,60 10,30 z"
      )
    end
  end
end

The SVG tags are being removed from Phlex::HTML as they were a bit of a hack, but the svg tag now yields a new Phlex::SVG which can be used inline.
class Icon < Phlex::HTML
  def template
    svg("viewBox" => "0 0 100 100" xmlns: "http://www.w3.org/2000/svg") do |s|
      s.path(d: "M 10,30
        A 20,20 0,0,1 50,30
        A 20,20 0,0,1 90,30
        Q 90,60 50,90
        Q 10,60 10,30 z"
      )
    }
  end
end

This is looking really great. I will follow up with a closer review soon.

I think this could do with a fair amount of refactoring, but it's a huge PR and it works and I’d like to merge it sooner rather than later so it doesn't get out of sync with other work.


Unceasing Flame - If there's only one enemy in the combat, Unceasing Flame should work too.

My willpower is depleted after the School Backpack bug shenanigans, so this will be a wish.


code command from wsl doesn't exit

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

VS Code Version: 1.82.2
OS Version: Windows 11 22H2 22621.2215. WSL Ubuntu 22.04.3 LTS

Steps to Reproduce:

code .
observe as vscode opens but terminal code command doesn't exit

https://github.com/microsoft/vscode/assets/1235888/35f5d0e0-c07f-446a-b1d5-a03c43b4070c

I have the same issue,

VS Code Version: 1.82.2
OS Version: Windows 10 Pro 22H2 OS Build 19045.3448 WSL Ubuntu 22.04.2 LTS

https://github.com/microsoft/vscode/issues/193321

#193453

Duplicate of #193453

Duplicate of #193453

@aeschli I opened this issue two days before that one, but somehow it didn't get triaged :P


A cache for Processors

Some applications would benefit from having a cache for Processor instances.  For example, some applications import hundreds of files and wind up requesting a conversion between the same pair of color spaces many times.  This is slow and could waste memory.  As another example, timeline-based applications have strict performance requirements and cannot wait to create a new Processor on each shot.
The OCIO context variable mechanism poses challenges in the development of a useful cache.  A naive solution would be to simply invalidate the entire cache whenever the context changes at all.  However, this would make it worthless for timeline-based applications since it is common for at least some part of the context to change on every shot.  Ideally, OCIO would be able to determine which context variables were used for the creation of a given Processor and use this information to invalidate the cache intelligently.
The generation of the cache key needs to be very fast, to make it suitable for timeline-based applications.
In addition to the original Processor, the optimized Processor, the CPUProcessor, and the GPUProcessor would be cached.
Unlike the existing file cache, which is global, the processor cache would be part of a config instance.
The API would provide a way to turn off the caching (e.g. for debugging purposes).
As discussed at a recent OCIO v2 working group meeting, we have been working on a cache and are creating this issue to collect thoughts and requirements.

This would be great. I'd love to be able to "pre-cache" a processor for a set of set of contexts in applications with multi-shot timelines.
Would the cache persist when toggling it on and off?
Could the caches be serialized? I.e., as a catalog of ctfs for different permutations of context variables? That could be really handy.

@zachlewis , yes, an application should be able to build all of the Processors in a "pre cache" step in order to load the cache.  Requesting any of those Processors a second time should be very fast.
What we have will clear the cache when it is turned off.  We feel that this is an important part of turning it off, so we want to keep it that way.  However someone could add a third mode (beyond off and on) that would not flush the cache but also not add any new ones.
Our implementation of the cache itself will not support serialization.  You may already serialize arbitrary Processors as CTF, so maybe that helps for what you have in mind.  Although building the cache is not something you want to do while playing back a timeline, it's not like it takes a really long time to do either, so it's not clear that a feature for serializing the cache is worth the effort.

@zachlewis, The work is now completed and merged if you see some improvements you can still log another issue.


[BUG] Cannot use version 9 - Node.dll error

Every time I try to update or clean install 9.0 I get this error. Doesn't happen with version 8.
https://i.imgur.com/DbPLQVf.png

I'm facing a similar issue. Have been able to use all previous versions but I get the same error however it's ffmpeg.dll that is supposedly missing.

Not getting any error, but when I try to launch version 9, it simply... doesn't. Sometimes when I try to launch it, I'll see it appear briefly in Task Manager, but then it disappears, and nothing happens.

I've tested it on two machines I own (rather than the corporate computer I've been using this application on up to now) and I can't replicate it there. I'm starting to suspect the AV is causing this issue. Up to now all versions were fine, so either the AV doesn't like it anymore or something changed in the app which flagged the AV.

I have this issue on my personal computer, but not my work computer which has node independently installed. Both computers use only Windows Defender for AV, so I don't think AV is the culprit.

@Lainemac @amarcuccio @elijahtlang @hotn Hey all, thanks for reporting these. Would you mind giving a bit more information (such as your version of Windows) and whether you have tried a fresh install vs. upgrading?
Thanks!

@chrisknepper
Hi Chris! First let me thank you for the time and work you put into this application, it's really appreciated.
I'm running Windows 10 v1809 x64, and I get the error regardless of whether I upgrade or install cleanly. I'm still troubleshooting, if I find the cause I'll definitely be posting it here.
Thanks!

@chrisknepper Hey Chris, I'm in the exact same position as amarcuccio. Windows 10 v1809 x64 (OS build 17763.316), doesn't work regardless of clean install vs upgrade.


Upskill Project #3

Introduction
Welcome to your upskilling project.
This is just to warm up your coding skills and get up to speed with our tools of trade.
MVP
Create a simple web application that satisfies the following:

[ ] At least 5 forms.
[ ] At least 3 lists that have pagination.
[ ] At least 5 database models.
[ ] Frontend and Backend apps should be in the same repository.
[ ] At least 75% test coverage ~ backend
[ ] At least 50% test coverage ~ frontend

Bonus
Your application should use GraphQL APIs
Ensure you tag @otsembo in order to perform code reviews as you progress.

Hello, could you please allow us to complete this by 25th midnight.


Client: Support ARM on macOS

Apple announced in 2020, that they will move from Intel to ARM for all of their CPUs. Until now, Apple used ARM mostly for mobile phones. The new Apple M1 chip, which is based on ARM, is already used for the newest line of MacBook Pro, MacBook Air and Mac mini.
The SecHub client is already available for macOS on the Intel platform. However, the client does not support macOS on the ARM platform. Go 1.16, which is scheduled for release in February, will support the macOS ARM platform. Once Go supports macOS on ARM, the SecHub client can be build and made available for the macOS ARM platform.

Jeremias Eppler<EMAIL_ADDRESS>Daimler TSS GmbH, imprint

Go 1.16 was released on the 16th of February 2021: https://golang.org/doc/go1.16

@sven-dmlr please have a look.


Requesting Eigen-CAM for Yolov11

Hey @rigvedrs!
Your repo has been incredibly helpful for my project. With YOLOv11 gaining popularity, I was wondering if you could update it to work with YOLOv11.
I tried running the existing code with YOLOv11 but encountered an error:
AttributeError: Can't get attribute 'C3k2' on <module 'ultralytics.nn.modules.block' from '/home/vaddisnehit/.local/lib/python3.12/site-packages/ultralytics/nn/modules/block.py'>

This was expected due to the architecture changes. Could you please modify the code to support YOLOv11 as well?
Thanks!

@snehitvaddi You can try now. Let me know if you still come across any issue. Also, your error mostly seems related to extracting the wrong layer. There are only specific types layers EigenCam should work with
Cheers!


#116 Populate Content for ~ Geocoding API Pages

Description
Populated content for gecoding API page by adding administrive-divisions-db
Related Issues
Populated content for gecoding API page by adding administrive-divisions-db
Checklist

[x] I have tested my changes locally.
[x] I have added necessary documentation or updated existing documentation.
[x] My code follows the project's coding conventions and style guidelines.
[x] All tests pass successfully.
[ ] I have added/updated relevant unit tests.

Additional Notes
Include any additional notes or context about your pull request.
Screenshots

@Curtis-Thomas my bad, i will take care of this by the end of the day


add support for interface libraries

Thank you for the PR! I agree there is a gap in support for interface libraries that needs to be filled.
I'm just a bit confused about the SOURCES property on INTERFACE libraries... shouldn't they always use INTERFACE_SOURCES?

Did some reading in the manual and the code as is already sets the sources as INTERFACE_SOURCES.

The target_sources() command populates this property with values given to the PUBLIC and INTERFACE keywords.

@alexreinking was there anything else?

@Green-Sky - thanks! I just merged with the latest master. Should be good to go if GCC 14 likes it.


demo canister values dont pass verification

https://wpsi7-7aaaa-aaaai-acpzq-cai.ic0.app/get/moritz war hier

Ah, probably due to percent-encoding of the keys in the url. I should simply forbid such keys in the demo :-D

doesnt work with the default key either :(

https://wpsi7-7aaaa-aaaai-acpzq-cai.ic0.app/get/some_key

Ah, it does now!
What happened was that I changed the function that generates the HTML and upgraded the canister. But that of course means all the pages need to be re-certified. Added that to the post_upgrade hook now.


Plotly backend crashes Chrome tabs

When using the plotly backend, executing a cell with the hv.Trisurface class causes Chrome browser tabs to crash. This is with the latest version of Chrome, Python 3.5, latest version of Jupyter, and the pip-installed master branch of Holoviews. Happy to provide more info if necessary.

Never been able to reproduce this, if this issue occurs again it should probably be raised with plotly directly because we're not doing anything special when displaying their plots.


Fetch completed items with all the data

I'm currently working on a free open-source Todoist analytics dashboard app. I want to let people export data using this tool and import it into my app. However, the fetchCompleted function in app.js does not include the annotate_items=true parameter in the API call to completed/get_all. This parameter is necessary to fetch all the data associated with each item.
https://github.com/darekkay/todoist-export/blob/d17249fb693b9b4becd9077d58e2c170848f92b1/src/app.js#L186
Can we add the parameter? I wanted to check if there are any potential issues or side effects I might be missing.

Thank you, I've either missed those options or they came after the initial implementation. I've included both annotate_items and annotate_notes. This makes the result (for me) almost 4 times as big and probably makes the export time even longer, but as a user I expect the export to be complete.
Fixed in 02f7e6a4fb169129e778b3478656ef51c78e0605 and available on the live page.


REST Endpoint: Advisories

We need an endpoint e.g: GET /advisories That returns a paginated list of advisories. The endpoint should get as an input:

offset, limit (for pagination)
sorting
Filtering (let's also discuss which are the filters we are planning to support. So far I think severity is a good one)

The endpoint should return as an output:

List of items that match the input criteria
Number of total items that match the input criteria

The data used will serve to populate the following table

The https://github.com/trustification/trustify-ui repository currently expects a response like:

A header X-Total-Count that contains the total number of items that match the query criteria
A list of items in the body of the response (an array).

This is what currently the UI expects but it does not mean we can change it. It should serve as an initial point to discuss things but not to impose things on the backend if we consider that is a bad idea.

[
    {
        "id": "advisory-1",
        "aggregated_severity": "critical",
        "revision_date": "Tue Apr 02 2024 15:26:44 GMT+0200 (Central European Summer Time)",
        "metadata": {
            "title": "Title 1",
            "category": "advisory.document.category",
            "publisher": {
                "name": "advisory.document.publisher.name",
                "namespace": "advisory.document.publisher.namespace",
                "contact_details": "advisory.document.publisher.contact_details",
                "issuing_authority": "advisory.document.publisher.issuing_authority"
            },
            "tracking": {
                "status": "Final",
                "initial_release_date": "Tue Apr 02 2024 15:26:44 GMT+0200 (Central European Summer Time)",
                "current_release_date": "Tue Apr 02 2024 15:26:44 GMT+0200 (Central European Summer Time)"
            },
            "references": [
                {
                    "url": "http://somedomain.com"
                }
            ],
            "notes": [
                "# Title \n - List \n ## Subtitle \n _Italian_ \n > Note"
            ]
        },
        "cves": [
            {
                "id": "cve1",
                "title": "title1",
                "description": "description1",
                "severity": "critical",
                "cwe": "cwe1",
                "date_discovered": "Tue Apr 02 2024 15:26:44 GMT+0200 (Central European Summer Time)",
                "date_released": "Tue Apr 02 2024 15:26:44 GMT+0200 (Central European Summer Time)",
                "date_reserved": "Tue Apr 02 2024 15:26:44 GMT+0200 (Central European Summer Time)",
                "date_updated": "Tue Apr 02 2024 15:26:44 GMT+0200 (Central European Summer Time)"
            },
            {
                "id": "cve2",
                "title": "title2",
                "description": "description2",
                "severity": "low",
                "cwe": "cwe1",
                "date_discovered": "Tue Apr 02 2024 15:26:44 GMT+0200 (Central European Summer Time)",
                "date_released": "Tue Apr 02 2024 15:26:44 GMT+0200 (Central European Summer Time)",
                "date_reserved": "Tue Apr 02 2024 15:26:44 GMT+0200 (Central European Summer Time)",
                "date_updated": "Tue Apr 02 2024 15:26:44 GMT+0200 (Central European Summer Time)"
            }
        ]
    }
]

Additionally we should also create:

GET /advisories/{id} should return only one advisory. Using the same model as from the List Advisories endpoint GET /advisories
GET /advisories/{id}/source which should return the original JSON file that originated the advisory

@jcrossley3 @ctron @bobmcwhirter as of today the endpoint /api/v1/search/advisory returns the following fields:

id (number)
modified (date)
published (date)
title (string)

The missing fields for a basic first "Advisories" table are:

severity
list of CVEs of each advisory

How far are we from getting those 2 missing fields?
You can see at the example JSON I shared before in this issue and use it as a reference, but I'll let you define the models and everything else on your own.

@jcrossley3 From an Advisory we can navigate to AdvisoryVulnerability which is a join table between Advisory and Vulnerability.
Ergo, you can get the "list of CVEs" by traversing the Advisory -> AdvisoryVulnerability -> Vulnerability.
From AdvisoryVulnerabilityContext you can then query the Cvss3 and Cvss4 scores, which are multi-column tables.
Converting, at least for Cvss3 (the common case today) to a Score we should borrow from https://github.com/rustsec/rustsec/blob/main/cvss/src/v3/base.rs#L102-L121
And interpreting a f64 score as a word could be borrowed from https://github.com/rustsec/rustsec/blob/main/cvss/src/v3/score.rs
Ultimately, I think the last two points could be added into the DB via https://www.postgresql.org/docs/current/ddl-generated-columns.html GENERATED ALWAYS as a virtual column

@jcrossley3 @ctron @bobmcwhirter  Guys, we are still missing the severity of each advisory, and also the severity of each vulnerability. If that is implemented already and I am missing it let me know.
I've verified api/v1/advisory/{sha256} and it gives me back a result like:
    "identifier": "RHBA-2021:3396",
    "sha256": "1b0d23e8f9f5d563b7d56dc1e652e76b7d541fda7b8413685ce2a90d23d188b5",
    "published": "2021-09-08T22:01:25Z",
    "modified": "2024-04-21T10:03:48Z",
    "title": "Red Hat Bug Fix Advisory: OpenShift Container Platform 4.6.44 packages update",
    "vulnerabilities": [
        {
            "vulnerability_id": "CVE-2021-21670",
            "cvss3_scores": []

I can see cvss3_scores as the closest thing to severity but currently that field is always empty (empty array). Also I would expect the conversion from cvss3_scores to severity to be done in the backend and not on the client.  What do you think guys?

The scores shouldn't be empty so that's a bug.
Calculating severity is still TBD.

Yep that's a reasonable thing to do.

Closing this issue as it has been resolved.


Support for "PVP" Tab

This one is going to take someone other than me to help out. I don't know enough about PVP to classify LFG messages.

Since PVP doesn't get people saved... and don't have level ranges, let's just move all the PVP zones to an Instance Filter called "PVP" and they can toggle on or off the following.

Alterac Valley | av alterac
Arathi Basin | ab basin
Eye of the Storm | eots storm
Gurubashi Arena | gurubashi
Isle of Conquest | ioc conquest
Strand of the Ancients | sota strand
Warsong Gulch | wg wsg warsong gulch
Wintergrasp | wintergrasp

There's also a  broad "PVP" group we can identify by keywords

PVP | PVP 5s 3s 2s arena "for the horde" "call to arms" challenger rival duelist gladiator glad

Use the ? for the icons for all these groups, and we don't need to do anything other than toss these groups in the PVP tab.

Thanks Aevala for the help here!


Repeated Code in Playground/js/index.js

It may well that the repeated code is necessary and my lack of understanding is giving the impression of an issue.
Lines 381 to 389 are repeated twice with else ifs on lines 390 to 407. At least I cannot see any difference.

There are not the same :)
it checks for createScene, CreateScene and createscene functions :D


RestClient::Unauthorized (401 Unauthorized) for about half of the resources

After exploring this gem for a while, I encountered some issues. I'm not down with the internals of Pritunl Enterprise, so I'm not sure if the gem or the server is to blame.
Anyway, if I list organizations, I get a response. If I list users for an organization id, I get a response.
But if I try to create a user, I get a:
RestClient::Unauthorized (401 Unauthorized)

Here is the output from RestClient
RestClient.post "https://pritunl-dev-test.*./user/5c0ae40011a33c0bae961789", "{"name": "Joe"}", "Accept"=>"application/json", "Accept-Encoding"=>"gzip, deflate", "Auth-Nonce"=>"7a7f5dda2dac4bc0f5b9ce1282572aef", "Auth-Signature"=>"iNb4RArLI0QzVtZRxkOKZPfFwaC1+zFkbeJnTSiXkUs=", "Auth-Timestamp"=>"1548264077", "Auth-Token"=>"cG7DU75l6ODlVBDfl5y3W0Lo0VkTEAcL", "Content-Length"=>"15", "Content-Type"=>"application/json", "User-Agent"=>"rest-client/2.0.2 (darwin18.2.0 x86_64) ruby/2.5.1p57"
I have taken a look at https://github.com/pritunl/pritunl/blob/master/pritunl/handlers/user.py and it doesn't seem to make any distinction between the different resources. All of them are decorated with @auth.session_auth.
My only suspect is these conditions if settings.app.demo_mode:, but there is nothing indicating any "demo mode" being activated. I've checked the MongoDB app document in the settings collection and nothing. And even if it was the case, the code here implies that I should get a 400, not 401: https://github.com/pritunl/pritunl/blob/533fb5ea2b2a60dfb75103bfd19ed121302409c7/pritunl/utils/json_helpers.py#L54
Any clues?

@nielsbuus Did you find a solution for this bug?

Yes, sorry. I should have updated this issue.
I made a monkey patch.
# In the official version of Pritunl client (2.0.0), params are appended to the auth_string. But the server side does not include params, leading to invalid signatures on POST requests.

module PritunlApiClient

  class Api

    def generate_auth_headers( path:, params: nil, method: )
      auth_timestamp = Time.now.to_i
      auth_nonce = SecureRandom.hex( 16 )
      auth_string = [@api_token, auth_timestamp, auth_nonce, method, path]
      auth_string = auth_string.join( '&' )
      digest = OpenSSL::Digest.new( 'sha256' )
      hmac = OpenSSL::HMAC.digest( digest, @api_secret, auth_string )
      auth_signature = Base64.encode64( hmac ).chomp
      {
          auth_token:     @api_token,
          auth_timestamp: auth_timestamp,
          auth_nonce:     auth_nonce,
          auth_signature: auth_signature
      }
    end

  end
end


chore(UI): update theme colors (issue #394)

Thank you for your contribution to the repo. Before submitting this PR, please make sure:

[ ] Your code builds clean without any errors or warnings
[ ] You are using approved terminology
[ ] You have added unit tests
[ ] You have updated documentation
[ ] You have tested your changes

Please provide a description of the changes proposed in the pull request and reference any related issues in the repository.
Please indicate if this PR contains:

[ ] A bug fix
[ ] A feature request
[ ] Breaking changes
[x] An enhancement

Resolves issue #394

Closing PR as issue is now being moved to backlog


fail to train a model

Hello,I change the dataset to train a new model.But it stuck when the epoch arrive at 1000. I mean the loss no longer decreases.So I am here to ask for your help.

Here are the results.

Hello. Have you tried using a different learning rate or scheduler patience/factor? Since you change the resize to 256,256, using the same configuration might not be the best option for this case. Also, there's a chance that by resizing to 256,256, the images are stretched, and this messes up the correlation between the image pairs.

Here are the results we obtained for a model that is trained using 256x256 images. However, in the dataloader, instead of cropping to (370, 740), the images are cropped into (370, 370) to avoid the stretching effect. Also, in this case, the learning rate is set to 0.00005

.

closing this issue. can re-open it later if there are any follow-ups.


TODO : complete TODO list about OS/

Operator System TODO List

China Mooc - Qinghua Course
Coursera - Hardware and Software Interface
Coursera - Compiler
Coursera - Computer Architecture

Refactor.


REI & Fabric Language Kotlin Crash

Mod Name
REI and Fabric Language Kotlin
Mod Homepage
https://modrinth.com/mod/rei https://modrinth.com/mod/fabric-language-kotlin
Describe the bug
The game crashes shortly after being launched with exit code 1. No crash report is made and there are no errors in the log
Steps to reproduce

Add Fabric Language Kotlin, REI, and their dependencies
Launch the game

Logs
https://gist.github.com/uthw/7b08949806a607914a75ecd44a1111b6
Additional context
Both mods work fine on their own

Please upload your debug.log or a crash report

REI + Fabric Language Kotlin work with Connector beta 20 but crash on beta 21
latest.log
debug.log
Mod list is mostly the same as the initial report except for the versions of Connector, REI, and FFAPI. Changing the versions of the latter two to match the initial report still results in a crash

Should be good to go now


⚠ Bofrost.lu has degraded performance

In d8c8558, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1795 ms

Resolved: Bofrost.lu performance has improved in cf566ed.


Various Isolated declarations fixes

I'm playing with "isolated-declarations" in a project with 30k files.
These are fixes I did while attempting to get a successful typecheck.
For now, there is at least one test for each case, and I plan to write more later, but I think I'll need help to make them better.

@Boshen hi!
I'm not sure is you already addressed some of these issues, so let me know if you think this PR can be useful. Of course after some polish.

Thank you in advance. I have copied over the codegen changes in https://app.graphite.dev/github/pr/oxc-project/oxc/3980 so I can make a quicker release.

@Boshen hi! I'm not sure if you already addressed some of these issues, so let me know if you think this PR can be useful. Of course after some polish.

cc @Dunqing

Thank you for working on this! If you need to add test, please add in fixtures. The deno.rs is copy from https://github.com/denoland/deno_graph/blob/main/src/fast_check/transform_dts.rs#L932-#L1532

All known bugs are about to be fixed. Please Feel free to send an RP fix if you find other bugs.

I think these commits are still actual

fix inferring literal types for readonly calss fileds
fix global declarations with references

I'll create another PR for them with proper tests

@Dunqing I think these commits are still actual

fix inferring literal types for readonly calss fileds
fix global declarations with references

I'll create another PR for them with proper tests

Yes, go ahead!


Generate svc methods from database table structures for easily generating single table CRUD REST/gRPC apis

Generate svc methods from database table structures for easily generating single table CRUD REST/gRPC apis

Hi, I'm a junior Go developer. I know you own an open source project. I would like to contribute and study deeper about Go.
Could you please guide me about this issue? Thank you so much!!

@VUHAILAM Sure, no problem, but let's me think it over.

Add this feature to v2.1.1.
Example:
go-doudou svc init testfffgrom --db_driver mysql --db_dsn "root:1234@tcp(<IP_ADDRESS>:3306)/tutorial?charset=utf8mb4&parseTime=True&loc=Local" --db_soft delete_at --db_grpc


"mean_squared_error" gives incorrect results in conjunction with sample weights

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Arch Linux
TensorFlow installed from (source or binary): Binary
TensorFlow version (use command below): 1.13.1
Python version: 3.7.3

There is a difference between passing the string "mean_squared_error" or passing tf.keras.losses.mean_squared_error as loss function in conjunction with sample weights.
import numpy as np
import tensorflow as tf

def test_loss_function(loss_function):
    print("Testing {}".format(loss_function))

    layer = tf.keras.layers.Input(shape=(1,))
    model = tf.keras.Model(inputs=layer, outputs=layer)

    model.compile(optimizer='adam',
                  loss=loss_function)

    weights = np.array([1., 1., 1., 1., 1., 0., 0., 0., 0., 0.])
    model.evaluate(np.zeros(10), np.ones(10), sample_weight=weights)

test_loss_function('mean_squared_error')
test_loss_function(tf.keras.losses.mean_squared_error)

Output:
Testing mean_squared_error
10/10 [==============================] - 0s 4ms/sample - loss: 0.5000
Testing <function mean_squared_error at 0x7f657d0d6a60>
10/10 [==============================] - 0s 2ms/sample - loss: 1.0000

In TensorFlow 2.0 Beta all loss functions seem to behave in the way "mean_squared_error" behaves. This is the output in TensorFlow 2.0.0-beta1:
Testing mean_squared_error
10/10 [==============================] - 0s 2ms/sample - loss: 0.5000
Testing <function mean_squared_error at 0x7fb89b5a8ea0>
10/10 [==============================] - 0s 2ms/sample - loss: 0.5000

I don't know much about the internal workings and I didn't look at the code but this is my interpretation:
The behavior of "mean_squared_error" in TensorFlow 1.13 and all loss functions in TensorFlow 2.0 can be described the following way: The losses per sample (and per time step if sample_weight_mode='temporal') are weighted by sample_weight. Then they are used for SGD, everything good so far. Now the losses are averaged to provide them as a metric to the user. This is done by adding them up and dividing them by the number of losses (the batch size or the batch size times the number of time steps if sample_weight_mode='temporal').
Consider a fixed batch size, the last batch is just containing a few samples and is filled up with zero entries. Sample weights are used to mask these zero entries from SGD. The weighted losses are now the few losses from the samples and a lot of zeros. The user will see a much lower loss on the last batch. Or in my case with less and less samples per batch (I sort the samples by sequence length before batching) it looked like the loss was going down - if only! Although confusing for the user this is true to the mathematics behind the model.
Loss functions in TensorFlow 1.13 (except "mean_squared_error") instead of dividing by the number of losses divide by the sum of all sample weights. This avoids misinterpretation from the user but also hides the true loss value.
You can add your loss functions additionally as metrics and they will be calculated the intuitive way. So the TensorFlow 2.0 behavior is superior because it allows for both. Although a warning in the documentation of the sample_weight parameter explaining how to interpret the loss values would be helpful.

@timakro I was able to reproduce the issue with TF1.13. But, in the most recent version TF1.14, the loss function is working as expected. Please check the gist here. Please let me know what you think. Thanks!

Thanks, seems fixed.


DSTU2 FHIR exporter

Adds a DSTU2 FHIR exporter. The DSTU2 exporter is just cloned from the regular [STU3] FHIR exporter with a few field names changed to the DSTU2 versions. By default the DSTU2 exporter is turned off.
Note that the HDS dependency had to be changed because of version issues with nokogiri. (HDS master requires 1.6, dstu2_models requires 1.7)

Fixes #130

Can you change this to the ruby2_4 branch of HDS? I'm trying to get this and PR #203 to do both.

Fixes #199 and #200


candid export failure

Hi, tuminfei, when I execute the following code:
candid-extractor target/wasm32-unknown-unknown/release/icrc7.wasm > icrc7.did
The generated file is empty.
I didn't figure out what was wrong, so any help would be appreciated, thanks!

got it, thx

I guess it's because of the conflict between candid::export_candid and candid::export_service methods. I'm still trying to find a solution.


Make a webpage with a form to generate markdown

Make that page

html form with fields
automatic UUID generation (simpler)
fill in the text, click button, download Markdown file
it should generate it with some JS, as simple as that

Plus : make TXT->MD renaming in the server? If people try to upload TXT instead of MD...

ideally you should reorder the fils in the folder to assemble all episodes in folders with their music, image and stuff. That would help people.
Even if it's copying these files to the current locations they're to be expected to bridge the current implementation with a more comfortable front-end.

https://dev.calvinballconsortium.fr/episode-webform.html
something like this shit

looking good, still needs:

sanitizing for people-link (enforce good input from user!)
adding potential new images in description (dunno how to do that though... file input for each field? only a box to tick to add podcast image on top of description?)

you know what cookies are a real different issue anyway I want to close that one


kiosk: download targetconfig.json at startup

Download targetconfig.json, then initialize game list from its content.
Companion PR in Arcade: https://github.com/microsoft/pxt-arcade/pull/6122

@jwunderl I updated cli for crowdin strings. Can you check it?


Question about section 2.3

In  section 2.3, you described the backprop_dense like this :
def backprop_dense(activation, kernel, bias, relevance):
    W_p = tf.maximum(0., kernel)
    b_p = tf.maximum(0., bias)
    z_p = tf.matmul(activation, W_p) + b_p
    s_p = relevance / z_p
    c_p = tf.matmul(s_p, tf.transpose(W_p))

    W_n = tf.maximum(0., kernel)
    b_n = tf.maximum(0., bias)
    z_n = tf.matmul(activation, W_n) + b_n
    s_n = relevance / z_n
    c_n = tf.matmul(s_n, tf.transpose(W_n))

    return activation * (self.alpha * c_p + (1 - self.alpha) * c_n)

For negative case, it would be betterr to change "tf.maximun" to "tf.minimun". The LRP class in models_2_3  also uses "tf.minimun".
Btw, your tutorials are really helpful for me. Thanks :)

Thank you for pointing that out! I fixed the typo.
I'm glad you found the tutorials helpful!


update error handling when serializing data

#807  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jlewitt1 and the rest of your teammates on  Graphite


Disable Notifications for Timelapse parking

I just recently re-enabled time-lapse and I am getting a notification every time my printer goes to park for a time-lapse, because it uses the pause and resume command.
Is there a easy way to get the mobileraker companion to ignore them?
I have the companion installed on my NAS using docker and using a Sonic Pad with a Ender 5 S-1.
I might look at rewriting the timelapse macros not to use the standard pause and resume macros, but other than that, am I missing something easy that I didn't setup right?

Hey,
you are able to disable the pause state in the App Settings. Afterward, you can modify the normal pause macro and add a custom notification trigger via M117/MR_NOTIFY.

Thank you. I totally missed that option to select that in the actual app.
I might just go and modify the filament runout gcode to add a custom notification after runout is detected, as that is really the only pause command I am interested in, if I am not there
Thanks!

Hey @Johnnytk36, I just pushed an update to the companion that will allow users to keep the pause notification active while all timelapse pauses will be ignored.
Can you do me a favor and test that for me?

@Clon1998 I will tonight on my next print.  I need to test my custom out of filament notification also.

I updated the mobileraker companion using the docker command after shutting down the dock.
sudo docker-compose pull && sudo docker-compose up -d
Note: I need sudo for it to work on my NAS.
I then started a new print I am still getting the notifications.


Problem with non-English characters

I don't know if this is an issue in this lib or with Shipwire itself, but it has issues when trying to request quotes for addresses that include non-english characters. For example:
Calle 24 Bis No. 48-50 Bogotá, D.C. Colombia
The utf8 á causes a problem. If this is a Shipwire issue, maybe the lib can convert to another character set or something?

Can you try it with curl and check that this library is causing you the troubles? Thx

I used Postman to submit this to ShipWire and it worked:
{
    "options" : {
        "currency" : "USD",
        "groupBy" : "all",
        "canSplit" : 1,
        "warehouseArea" : "US"
    },
    "order" : {
        "shipTo" : {
            "address1" : "Calle 24 Bis No. 45-48",
            "country" : "CO",
            "city" : "Bogotá",
            "isCommercial" : 0
        },
    "items" : [
        {
            "sku" : "SIM-N2-2FF3FF",
            "quantity" : 1
        }
        ]
    }
}


New Multi-Auth Article for AppSync

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Hi @awsed –– the Platform Generic/Backend doesn't currently exist. I'm wondering if you think this is a good addition to the platform list? Or if there's a better label? Backend sounds a little better to me personally.
There's also the question of whether every other post should then have the Backend label (because they all involve using Amplify, which is a Backend tool). Is there a better platform label for this post?

Hi @harrysolovay, agree Backend sounds better. I just added something as there was no option. If you want to be more specific, you could just use AppSync or GraphQL instead as basically it's an AppSync related article.

@awsed great! Then let's label it as "API (GraphQL)".
One last thing: the max description length is 500 characters. It's currently at 536. Any chance you could please shave off a few?

We can remove the last sentence so it's "If you’re using GraphQL, wouldn’t it be great if you could easily define different authorization modes for you application data at the type, field or operation level directly in your schema instead of having a single global authorization mode for an API? What if you could have different types of authorization providers for different parts of your schema?". Do you want me to submit another PR?

@awsed nope. I got it from here 👍


Dne 30. 10. 2020 4:14 napsal uživatel Sergri<EMAIL_ADDRESS>@MastaBook approved this pull request. —You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.

Dne 30. 10. 2020 4:14 napsal uživatel Sergri<EMAIL_ADDRESS>@MastaBook approved this pull request. —You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.


Custom Dataset - Regression Loss goes to infinity

I have encountered problem using custom dataset with efficient-net-b3 backbone (similar thing happens with vgg).
Everything goes as expected for about 200 iterations (small DS with about 2800 images - 4 classes including __background__(not annotated background (I suppose it is not necessary to annotate background)) or 1800 itterations (DS with 15000 images  - 4 classes including __background__). Then, suddenly, the regression loss goes to infinity. It recovers for several more iterations, but then it goes to inf again. This keeps happening repeatedly till the regression loss is inf still.
I have tried following, but it didn't help:

Verifying dataset images and bbox/labels completenes - no NaN, Inf, or incorrect size has occurred.
Set learning rate from 1e-3 to 1e-4 - fails only about 20 iterations later with much higher regression loss before it goes to inf.

Do you have any ideas what could be the problem?
One more note, that might help: Some of the bboxes have intersection or are subset of another.
ADD: Decreasing WarmUp factor 10 times did not help as well.
I also would like to thank you for this code, it is very nicely written and easily extendable.

After deeper investigation, I have found an issue with 2 transformations generating 0-width bounding-boxes, which then produces -inf coordinates. I will check on the code deeper, to see if some precautions can be easily done.
To name the transformations:

Expand

RandomMirror


Issue with expex package and glossed examples

I am trying to use expex and unicode-math together, however whenever I try to typeset a glossed example using expex, an error is thrown.
Errors: Too many }'s. [\xe]
Explicitly, where I use \begingl and \endgl to create a glossed example, this error is thrown. A regular \ex/\xe or \pex/\xe numbered example does not produce this issue.
I believe a clue in the log is: Missing character: There is no ⪥ in font [lmroman10-regular]:mapping=tex-text;!, although I don't know what to make of it. This error happens with XITS Math or without.

MWE
\documentclass{minimal}
\usepackage{unicode-math}
  % \setmainfont{XITS}
  % \setmathfont{XITS Math}
\usepackage{expex}

\begin{document}
\ex Here is an example. \xe % Single example; works fine.

\ex % Single example with gloss; error.
  \begingl
  \gla x //
  \glb x //
  \glft `Some text' //
  \endgl
\xe

\pex Here is some text. % Multi-part example with gloss; error.
  \a And yet some more.
  % \begingl
  %   \gla Test //
  % \endgl
  \a
  \a
\xe
\end{document}

Steps to reproduce

Compile the above MWE with either of the \begingl to \endgl sections uncommented.

Expected result
Compile without error.
Actual result
Errors: Too many }'s. [\xe]
Environment
macOS: 10.12.2
LaTeX: MacTeX 2016
unicode-math:  0.8d
expex: 5.0b
Gist with log: https://gist.github.com/alecshaw/3e1f36cdcc0d565375b41bbff83bb3bb (with MWE)

The unicode-math package defines \gla as a math symbol, which clearly clashes with expex.
\documentclass{article}
\usepackage{unicode-math}
  % \setmainfont{XITS}
  % \setmathfont{XITS Math}
\usepackage{expex}
\let\expexgla\gla
\AtBeginDocument{%
  \let\umgla\gla
  \let\gla\expexgla
}

\begin{document}
\ex Here is an example. \xe % Single example; works fine.

\ex % Single example with gloss; error.
  \begingl
  \gla x //
  \glb x //
  \glft `Some text' //
  \endgl
\xe

\pex Here is some text. % Multi-part example with gloss; error.
  \a And yet some more.
  % \begingl
  %   \gla Test //
  % \endgl
  \a
  \a
\xe
\end{document}

That fixed it. Thank you!


Feature Request - show TODOs in a tree view panel

It would be really nice to parse all the files in the workspace and put the output in a tree view panel.

Yep I'm totally missing this as well :)

+1

+1
Put it in the explorer, with a link to the file and the number of TODOs within

This is shown in the README.md, but doesn't work for me -- is that because of the new multiple root support?

I think the image in the README.md is misleading - it looks like the project folder is called 'todo' which is actually what is shown.
I'm currently implementing a new TODO viewer using ripgrep so it should be nice and fast - and it will display the results in a tree view 8-)

Doesn't look like there is any activity on this - if anybody finds themselves here, I ended up writing my own extension to do this: https://marketplace.visualstudio.com/items?itemName=Gruntfuggly.todo-tree


Generalizing reflexive transitive closure to work on higher universes and fixing a matching loop

Hi,
I need to use this library on a relation on types higher than universe 0. I've revised it to be polymorphic in the type of the elements of relation. It required some technicalities, since the proofs internal to the module were constructive, but to provide a preorder in universe 0, I had to squash the internal _closure relation. @s-zanella
@mtzguido, you may be interested in the proof of stable_on_closure. Maybe the tactic library should provide a combinator (maybe use those two that I have there) to turn a squash p ==> q into a p |- q. Also, I wonder if we can have a mintro analog of mapply, that unifies all the various kind of intro forms.
Separately, @Chris-Hawblitzel pointed out that the pattern on closure_inversion produces a matching loop. So, I've removed that too.

Hi @s-zanella. Thanks for taking a look ... I do think that pattern causes a matching loop. Once the rule files, yielding the exists in the conclusion, it is immediately skolemized and produces a term that can match again, and so on repeatedly.
I'll run an Everest regression test on this before merging.

Sorry for the delay, just looked at this proof and simplified it a bit into:
let stable_on_closure #a r p hr =
  assert (forall x y. p x ==> closure r x y ==> p y) by
    (let _x = l_intro () in
     let _y = l_intro () in
     let _px = l_intro () in
     let xy = unsquash (l_intro ()) in
     apply_lemma (`_stable_on_closure _ _ (`@hr));
     exact xy)

l_intro will introduce an implication, and one can use unsquash to turn any squash p into p provided the goal type is squashed too.
(I didn't push these changes.)

It seems that removing the pattern introduced some regressions on Duplex.PCM in steel. I'll work on fixing this while merging master into steel