how to use in Nuxt.js

hi i want use vue-marquee-text-componnet in nuxt

Hi @plategea,
i have no experience with Nuxt.js.
Is there an error message?

The error is "document is not defined". Nuxt appears to be running code on the server that it shouldn't. wrapping whereever document is call with if (process.client) {...} might be the fix.

I tried using the plugin only on client like this:
// nuxt.config.js
plugins: [
<EMAIL_ADDRESS>]

// src/plugins/components.client.js
import Vue from 'vue';
import MarqueeText from 'vue-marquee-text-component';

export default (context, inject) => {
  Vue.component('MarqueeText', MarqueeText);
};

But this results in a mismatch between server-side virtual DOM and client-side rendered content.

I had the same problem. I have Nuxt2+Vue2. The problem is in version. I used plugin vue-marquee-text for vue3, but need for vue2
So use version for vue2 (branch https://github.com/EvodiaAut/vue-marquee-text-component/tree/v1)
downgrade to v1.2.0

I tried using the plugin only on client like this:
// nuxt.config.js
plugins: [
<EMAIL_ADDRESS>]

// src/plugins/components.client.js
import Vue from 'vue';
import MarqueeText from 'vue-marquee-text-component';

export default (context, inject) => {
  Vue.component('MarqueeText', MarqueeText);
};

But this results in a mismatch between server-side virtual DOM and client-side rendered content.

I also have mismatch childnodes. Did you fix it?

For anyone coming here using nuxt 3, this is how I got it to work:
Create a plugin in ``plugins/vue-marquee-text-component.js`
import MarqueeText from 'vue-marquee-text-component';

export default defineNuxtPlugin(nuxtApp => {
    nuxtApp.vueApp.component('MarqueeText', MarqueeText);
})

Load plugin in nuxt.config.ts
export default defineNuxtConfig({

    plugins: [
        {
            src<EMAIL_ADDRESS>mode: 'client'
        },
    ],

})

Now you can use <MarqueeText>...</MarqueeText> directly in your component. BUT you must wrap it in <client-only></client-only>
<template>
  <div>
    <client-only>
      <MarqueeText>
        Text
      </MarqueeText>
    </client-only>
  </div>
</template>


Help For Lime-Rat

help me please i open your rat but show me this error and i open my virus but not show my Pc on rat why???
help sorry my bad English
please Make a Complete video using this rat
https://i.imgur.com/xLft7Xz.png
https://i.imgur.com/JPlHJG7.png
check this images please replay me

Not working please make a complete videos using this rat

Hello @Deeptune
Did you watch the video on "LimeRAT\MISC\Supprt"?
Also, Did you port forwarding router and disable windows firewall?


feat: split manifests into overlays

Resolves #34

Rename peribolos-as-services to peribolos-as-service for created reosources since I think the s at the end was a typo
Create json6902 patch for dev/test overlays to update NODE_ENV variable
Update RBAC role to also include deployments, this is needed for the depoyment-config resource

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign tumido after the PR has been reviewed.
You can assign the PR to them by writing /assign @tumido in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/retetest

/retest

/retest all

@SamoKopecky: The /retest command does not accept any targets.
The following commands are available to trigger required jobs:

/test pre-commit

Use /test all to run all jobs.

In response to this:

/retest all

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@SamoKopecky: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

pre-commit
3d3429764f3f4fd5a49ff7666e4de9cd49633a54
link
true
/test pre-commit

Full PR test history. Your PR dashboard. Please help us and open an issue when you hit one in your PR.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Thanks for the feedback, request changes are now committed.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: tumido
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [tumido]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


RD2: Find matching Opps by CommitmentId

Critical Changes
Changes
Issues Closed
Community Ideas Delivered
New Metadata
New Fields:

Opportunity.CommitmentId__c

Apex Classes:

RD2_ElevateIntegrationService
RD2_ElevateIntegrationService_TEST

Deleted Metadata

**lurch: attach W-040591

Tracking W-040591

Thanks @sam-knox. I too would have preferred an api name of ElevateRecurringId, but it's too late to change what's on the RD and I think this new field should match.

@force2b - Ok, thanks. CommitmentId it is then!

Thanks @RadSFDeveloper. I always appreciate your detailed reviews and code suggestions, even when I sometimes push back on them. #CleanCodeAlways

QE testing is now complete for this PR and corresponding WI.  Tests have passed.
For further testing details, see:
https://foundation.lightning.force.com/lightning/r/agf__ADM_Work__c/a2x1E000001HuLbQAK/view
https://salesforce.quip.com/uCcMAYSud0Wj
Moving forward with merging PR.  Will monitor post merge builds and will set corresponding WI status to 'Closed' once builds have completed and are posted as 'Success'


key decorator behavior in inheritance structures

My background: I'm currently writing a PostgreSQL emitter for TypeSpec.
As far as I understand the docs the "key"-decorator should "Mark a model property as the key to identify instances of that type"
Now in an inheritance structure it is allowed that every model has one key, leaving child-models with more than one key-property.
model Child extends Parent {
  @key id: numeric;
}

model Parent {
  @key parentKey: string;
}

Playground Link
At least in my case this should throw an error and I can't think of any circumstance where the "key"-decorator should be allowed multiple times in an inheritance structure.
If there are cases, where this should be allowed this is just an issue to update the docs about it, as I will write my own error-handling for this for now.
As the key decorator is not emitted to openAPI this doesn't cause any issues in it.

Excited to see the Postgres emitter! I've been considering writing that myself. Feel free to share when you can!
I think I agree that the example you provide should be an error. Let me confirm the behavior with our REST resource abstraction (which uses @key to know which field is expected to be in the path to operate on a particular instance of the model) and if it works there, we can make this an error.
In the meantime, I think your custom error throwing logic is a great idea. In general, even if TypeSpec allows something, it's fine to emit errors in cases where you can't represent something and there is no reasonable fallback.

@markcowl find duplicate design issue,

Related to existing design issue: https://github.com/microsoft/typespec/issues/160

@NielsCo in the linked issue, composite keys is raised as a possibility. Postgres supports these as well. I wonder what your thoughts are there? For example, if we support composite keys, would it make sense to say that composite keys must be contained in a single model, so slamming an additional composite key field in a subtype is still an error as you propose?
We will likely be discussing this in an upcoming design meeting, let me know if that's something you'd like to attend, they are typically we held on Thursdays at 9am pacific.

Composite Keys would be a possibility to solve the issue but I don't think that creating composite keys in the example I provided would be the expected outcome.
To provide some more background: I'm writing the emitter as part of my thesis project and it probably won't be feature complete when I can (hopefully) make it open source.
Implementing composite keys is currently not that high on my priority list.
Currently my emitter-code throws an error if multiple properties are defined as a key regardless of whether they are in the same model or in an inheritance structure.
@bterlson I'd love to join the design meeting! I'll send you a mail with my info.


feature: autocomplete for media queries

Implementation of media query autocomplete for both media types and
features. The implementation is based on how the IProperyData interface
is implemented and may therefor contain a small amount of redundant
code. The modified files are: cssLanguageTypes.ts, webCustomData.ts,
dataManager.ts, dataprovider.ts, entry.ts, cssCompletion.ts.

Cool thanks! You are extending the css custom data format and we should also update the related resources:

the schema at https://github.com/microsoft/vscode-css-languageservice/blob/main/docs/customData.schema.json
the documentation at https://github.com/microsoft/vscode-css-languageservice/blob/main/docs/customData.md
have the generator for the default profile include the built-in queries: https://github.com/microsoft/vscode-custom-data/blob/main/web-data/css/generateData.js

Sorry for a late response once again, I have a lot of work right now finishing upp my courses but I will try to do this before the end of the new year. Thank you very much for the feedback!Mvh // Jesper Jensen Från: Martin AeschlimannSkickat: den 7 december 2021 12:45Till: microsoft/vscode-css-languageserviceKopia: jesperjen98; AuthorÄmne: Re: [microsoft/vscode-css-languageservice] feature: autocomplete for media queries (PR #256) Cool thanks! You are extending the css custom data format and we should also update the related resources:the schema at https://github.com/microsoft/vscode-css-languageservice/blob/main/docs/customData.schema.jsonthe documentation at https://github.com/microsoft/vscode-css-languageservice/blob/main/docs/customData.mdhave the generator for the default profile include the built-in queries: https://github.com/microsoft/vscode-custom-data/blob/main/web-data/css/generateData.js—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

@jesperjen98 any progress on this?


Poa

Sam, can you resolve this merge conflict?

done

@lovesh the integration test revoke: Can create a registry with multiple controllers did fail. Is it related to the changes introduced in this pr or is it just a non-derministic test?

@lovesh typescript has complained: https://github.com/docknetwork/sdk/pull/150/checks?check_run_id=959692698#step:3:20


Add gene level hpo matching to main workflow.

Proposed Changes
Attempts to add genlevel phenotype matching to main workflow. This is currently broken, but I thought it might help discussion.
Uses Semsimian package to compare patient phenotypes with phenotypes associated with gene. If one or more terms are above the similarity threshold then it is considered a phenotype match.
Currently reports the result as part of the panels object. This "fits" in terms of being functionally similar, but we may want to think about renaming this.
Questions:

Is this the right place to put this, or should it go somewhere else?
where do we handle regular downolad up to date versions of phenotype and hpo db files? Needs to ne done each month-ish.
genes_to_phenotype file has gene symbol and NCBI gene ID. How/where do we map to ENSGIDs

Todo:

[ ] Add  Semsimian package as a dependency
[ ] Download up to date versions of phenotype and hpo db files.
[ ] Localise phenotype and hpo db files and pass paths
[ ] Add min similarity score to config

I wasn't sure in general how this would slot in - this could be a good fit, adding in the priority annotation during result generation.
Alternatively we add a separate polishing step for the results, where we could feed in semsimian, exomiser, and any other 'preferred genes for cohort/participant' input. I wouldn't want to drop all those alternatives into this stage as it'll become quite messy. That would separate out the 4 phases into distinct runtimes

Variant labelling
MOI testing
Phenotype polishing (maybe migrating the panel/participant and panel/cohort labels into this stage too)
Report generation

Closed after #426


Potential vulnerabilities in Puppet file: Use of weak crypto algorithm

The following script seems to have 3 cases of using weak crypto algorithms: https://github.com/craigwatson/puppet-vmwaretools/blob/2b341fb7b3223b4aa7e7c8844864613e64e329a7/manifests/init.pp
Line 145: archive_md5
Line 168: archive_md5
Line 169: md5 not given for vmware tools installer package
A crypto algorithm is used for encryption purposes (e.g., encrypt data). A weak crypto algorithm is susceptible to collision and modular differential attacks (e.g., MD5 and SHA-1).
This type of smell can lead to well-known types of vulnerabilities, as documented by CWE (CWE-327 and CWE-326). Weak crypto algorithms can be exploited to bypass protection mechanisms and gain access to sensitive data.
Using weak crypto algorithms in Puppet configuration files is considered to be a security smell (cf. [icse20]).
Recommendation
You can mitigate this by using stronger crypto algorithms. Thus, you will reduce the risk of an attacker finding your secret keys and passwords.

This is being used as a checksum; not a crypto algorithm.
Closing.


updating images for docs site

Purpose
Standardized styling of diagrams and updated reference to png
Changes

[ ] Updated 5 images
[ ] removed Deployment diagram svg file, swapped for png instead and updated reference

Checklist

[ ] Applicable documentation updated (guides, quickstart, postman collections, tutorial, fidesdemo, database diagram)
[ ] Good unit test/integration test coverage
[ ] This PR contains a DB migration. If checked, the reviewer should confirm with the author that the down_revision correctly references the previous migration before merging
[ ] The Run Unsafe PR Checks label has been applied, and checks have passed, if this PR touches any external services

Ticket
no ticket

thanks @pattisdr i'm updating the branch today!

Ah, I can't merge until @seanpreston approves

🎉


Announcement in Biblio when editing an author: case 01GS74TTVPJYAXHMZM3GNFHVDE

Bug description
Announcement in Biblio when editing an author: case 01GS74TTVPJYAXHMZM3GNFHVDE
Goal: remove first author role
Reported by Marthe, who tried to complete the action herself.
Related: https://github.com/ugent-library/biblio-backoffice/issues/875

fixed


Homepage: Carousel no-js state

Hides carousel by default on page load and then shows it when the JS has initialized. Shows the carousel stacked in the no-js state.
Additions

Removals

Changes

Hides carousel by default till JS is initialized.
Stacks carousel in no-js state.

Testing

Pull branch, run gulp clean && gulp build
Load http://localhost:8000/?nhp=True and see that Carousel is hidden till JS is initialized.
Inspect the page and change the js class on the html element to no-js and see that the carousel items stack on top of each other and the buttons disappear.

@contolini

Smart and works great! 🎉


Improve OpenSearch retry mechanism

Is your feature request related to a problem? Please describe.
Currently OpenSearch supports exponential backoff with optional max-retries as retry mechanism. This is not very useful because the sleep time between the retries becomes exceedingly high some retries.  Here is the wait times (in milliseconds) before each retry
  1 50
  2 60
  3 80
  4 150
  5 280
  6 580
  7 1250
  8 2740
  9 6050
 10 13430
 11 29840
 12 66380
 13 147680
 14 328630
 15 731340
 16 1627580
 17 3622210
 18 8061330
 19 17940780
 20 39927900
 21 88861140
 22 197764060
 23 440131970
 24 979531670

At iteration 21, with a value of 88,861,140 is more than one day of wait time. And iteration 25 would result in integer overflow of the wait time.
Describe the solution you'd like
Provide a more reasonable wait scheme before retries. It would be a hybrid model of exponential back off and constant backoff. First exponential backoff followed by constant backoff.  It would have four parameters.

Initial delay ( Enforce min and max values)
Max wait time with exponential backoff (Enforce maximum to be less than one hour or even less like 15 minutes)
Value of constant wait time for constant backoff (For example, 15 minutes)
Max wait time with constant backoff

First retry is done after initial delay
Next "n" number of retries are done until max exponential backoff wait time
Next "m" number of retries are done at constant pace of configured interval for max constant backoff wait time
Describe alternatives you've considered (Optional)
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Could we simplify the configurations to just an initial delay and a maximum backoff time?
We can keep the exponential backoff approach - I'm not sure pipeline authors need to configure this.
Also, we might be able to get a partial fix in for 2.2.1 if we just limit the backoff time. We can't add new parameters to a patch release, so we could set a reasonable value (say 15 minutes).
Then in 2.3 we can add the parameters for users to tune as they see fit.

Completed by #2643.


ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.

python main.py --path_opt cfgs/normal_flickr_res101.yml --batch_size 20 --cuda True --num_workers 20 --max_epoch 30
Traceback (most recent call last):
  File "main.py", line 20, in <module>
    from misc import utils, eval_utils, AttModel
  File "/home/resl/NeuralBabyTalk/misc/AttModel.py", line 10, in <module>
    from misc.model import AttModel
  File "/home/resl/NeuralBabyTalk/misc/model.py", line 14, in <module>
    from pooling.roi_align.modules.roi_align import RoIAlignAvg
  File "/home/resl/NeuralBabyTalk/pooling/roi_align/modules/roi_align.py", line 3, in <module>
    from ..functions.roi_align import RoIAlignFunction
  File "/home/resl/NeuralBabyTalk/pooling/roi_align/functions/roi_align.py", line 3, in <module>
    from .._ext import roi_align
  File "/home/resl/NeuralBabyTalk/pooling/roi_align/_ext/roi_align/__init__.py", line 2, in <module>
    from torch.utils.ffi import _wrap_function
  File "/home/resl/anaconda3/lib/python3.7/site-packages/torch/utils/ffi/__init__.py", line 1, in <module>
    raise ImportError("torch.utils.ffi is deprecated. Please use cpp extensions instead.")
ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.

To solve this, downgrade your torch version
pip install torch==0.4.1

Actually it needs to be torch==0.4.1.post2 to prevent https://github.com/HazyResearch/metal/issues/101


Automatic reconnect

[ ] Client option to allow reconnect (+ reconnect timeout)
[ ] open all previously opened channels
[ ] start all previously started consumers

what about anonymous queues?

[ ] return callbacks
[ ] confirm callbacks
[ ] MAYBE: declare all previously declared queues

only anonymous queues?

[ ] MAYBE: declare all previously declared exchanges

The main problem with automatic reconnect is that exceptions are thrown directly (no link with the promise).
The usual errors (during inactivity or network latencies) are then thrown by the event loop [https://github.com/jakubkulhan/bunny/blob/master/src/Bunny/AbstractClient.php#L282].
The only way to catch error is to try catch the eventloop (not optimal)
How can I help to extract the broken pipe and link it with the produce or consume promise ?

Yes, rejecting pending promises should also be performed, however, it won't suffice alone.

Here is a POC (with some reactiveX flavour) https://github.com/Domraider/bunny/blob/master/README.md
Main problem, we have to create a channel for each publish

+1 on using Rx to solve this problem

Kinda hoping I can add this for 0.7 or 0.8. Does (n)ack messages work on a new connection if it dropped in the middle of handling it?


Remove docker_lib mount volume which is not needed anymore

Currently the workflow pod may report an exception

Got an exception “hostPath type check failed: /var/lib/docker is not a directory”
if the path is not available.

According to chat in the slack room with @jessesuen , volumeDockerLib is not needed anymore.

@jessesuen anyway to re-trigger the CI? Logs show some "TLS handshake timeout"..


updated weight based sampling for paramatric umap

Fixes  https://github.com/lmcinnes/umap/issues/648 and may help with https://github.com/lmcinnes/umap/issues/646

Hello @timsainb! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file umap/parametric_umap.py:

Line 301:33: E712 comparison to False should be 'if cond is False:' or 'if not cond:'
Line 302:89: E501 line too long (95 > 88 characters)

Coverage decreased (-0.08%) to 88.655% when pulling 5e3be5c6ae13179025a2abc222e5b696e2b9e11a on timsainb:fix_parametric_sampling into bb4f64dfd116309054998a66c55645cd38acbc87 on lmcinnes:master.


step is passed to the onStepChange method as an argument

Thanks for your contribution. This seems perfectly reasonable to add this feature and I'll merge it and release it as soon as I'm finished with what I'm doing (working on another new feature and updating dependencies + build). Should be done by the end of the week.

The only question i have regarding this is will step include index or current page? the problem i cam up with this solution was to know which is active step in callback method.
U are welcome i am always glad to contribute to the good OpenSource projects like this.

Do we have any update on this?

Do we have any status update on this or when we are going to receive new release?

I'm hoping to have an update soon, I've been unable to free some time due to work and family commitments.

The method will pass the active step index, is that fine? Or would prefer it to pass the step object instead?

does step include index as its own property? if yest we could pass that object otherwise i do not see reason for this so index would be fine, but again if step instance will include index itself this is best i think/

Nope steps don't include an index as its own property.

Actually after adding controller for step container i thin it is extra to re implement indexing anyone could easily get active step index and using base methods get step info.

OK. I might merge it at some point. I'll rework indexing to be zero based in a near future (breaking change, will bump version to 2.0.0).


Command Palette Text missing

I have problems with the Command Palette...
If i hit F1 i only see this:

It looks like the Color of the the Text is missing or something.
I can scroll and select a Command, or type in the Textbox and press Enter.
Testet with Toggle and it works, but i can't see anything!
Same happens if i use another Theme....
Any suggestions?
monaco-editor npm version: 0.7.0
Browser: Chrome
OS: Windows 10

Does this reproduce all the time for you? Can you provide a html page which reproduces the problem? (it is possible that some CSS from your page interferes with the widget).

Same problem here, even I tried add this css below, the command palette still blank (if the theme is dark, then it will be all dark; if the theme is vs, it will be all white)
css:
* {
  color: #fff !important;
}

After adding this css, the list is back:
.monaco-tree-row * {
    display: initial;
}

But I want to find which css effected my command palette, is there any way to avoid hiding command palette from switching window? (I want to use inspector to check my css)


757 sql reformatting finetune sqlfluff

Basics

[x] I added a line to /doc/CHANGELOG.md
[x] The PR is rebased with current master.

[x] References to issues, e.g. close #X, are in the commit messages.
[ ] The buildserver is happy.

Checklist

[x] I have installed and I am using pre-commit hooks
[ ] I fully described what my PR does in the documentation
(not in the PR description)
[ ] I fixed all affected documentation
[ ] I fixed the introduction tour
[x] I wrote migrations in a way that they are compatible with already present data
[x] I fixed all affected decisions
[ ] I added unit tests for my code
[ ] I added code comments, logging, and assertions as appropriate
[ ] I translated all strings visible to the user
[ ] I mentioned every code or binary not directly written or done by me in reuse syntax
[ ] I created left-over issues for things that are still to be done
[x] Code is conforming to our Architecture
[x] Code is conforming to our Guidelines
(exceptions are documented)
[x] Code is consistent to our Design Decisions

Review

[ ] I've tested the code
[ ] I've read through the whole code
[ ] Examples are well chosen and understandable

@4ydan what do you think about running sqlfluff twice with different configs? Is this even possible to have in pre-commit? (In CI it would work.)
@temmey can you create an upstream bug report, maybe there is some way we didn't see.

@4ydan what do you think about running sqlfluff twice with different configs? Is this even possible to have in pre-commit? (In CI it would work.)

We can solve it by creating a new entry into .pre-commit-config.yaml and copying the config .sqlfluff. That way, it will generate errors though, which will be fixed right after.

@temmey can you create an upstream bug report, maybe there is some way we didn't see. Please link from here when you created the issue.

https://github.com/sqlfluff/sqlfluff/issues/5049

https://github.com/sqlfluff/sqlfluff/issues/5049

Great job, let us see what they say, maybe we can go the direct way without workarounds in our pre-commit/CI configs.

@4ydan what do you think about running sqlfluff twice with different configs? Is this even possible to have in pre-commit? (In CI it would work.)

Yes as temmy said, we could write a second sqlfluff hook with a different id and make sure they dont run over the same files.

If we want to do it like that, I will write a commit for it. Manual shifting is a bad solution.

Isnt this now doing exactly what we want in one config file?

Great job, finally done! I am happy with these a bit relaxed rules. The tool also shouldn't get in the way too much.


CORS error

#4 Cors error when starting models. makhedma mawalou

Starting models -> cors error, i don't see any cause for the issue, unless you're starting the server without specifying the environment variable, check .Makefile.

@ippsav


groupby() with arbitrary series

What do these changes do?
This attempts to fix #1854.
I am uncomfortable with this approach; it works, insofar as tests pass, but I feel like I'm scattering brittle workarounds everywhere. Even just adding some abstractions on the hack would probably help, but I don't understand the code base quite yet to know how to do; suggestions would be welcome.

[ ] commit message follows format outlined here
[ ] passes flake8 modin
[ ] passes black --check modin
[ ] signed commit with git commit -s
[ ] Resolves #1854
[ ] tests added and passing

Thanks @itamarst. First of all, please update your PR with last changes from master branch.

@dchigarev many thanks for the review!

Should be ready for another review.


Dynamic change of settings

There are two main (not necessarily orthogonal) concepts:
1. Hot reloading config
For each setting we should investigated two metrics:

Makes sense to change dynamically? (e.g. startupcmd wouldn't make sense, but border_color or workspaces would)
Would be hard to implement?

Then based on these, we should decide for which to implement this, if for any at all.
2. Changing settings via menu:list_cmds/0
Another option is to not implement reloading the whole config at all; instead let the user change only some selected settings via the command menu.

Related: it might be better to store all settings to globals (ot dynamic predicates) with all having predefined defaults. This would make updating them easier and remove the need to always check for existence of optional settings with optcnf_then/2 and optcnf_then_else/3.


Automated wheel building

This builds the wheel for linux and macos as well as the source distribution. It then publishes the results to PyPI.
DO NOT MERGE
This is currently using mmulich/manylinux because the docker hub perms for our bot aren't working. More info in the group chat... I'll update this PR once we've got that resolved. You can see the work around for this in the 💀 commit.  Bug for this filed at https://wildme.atlassian.net/browse/WB-561

This builds the wheel for linux and macos as well as the source distribution. It then publishes the results to PyPI.
DO NOT MERGE
This is currently using mmulich/manylinux because the docker hub perms for our bot aren't working. More info in the group chat... I'll update this PR once we've got that resolved. You can see the work around for this in the 💀 commit. Bug for this filed at https://wildme.atlassian.net/browse/WB-561

Is this PR still under the restriction of DO NOT MERGE?

Closed in favor of a new PR which will include the use of macports.


Adding a bunch of default icons in a directory for users to choose from

Sparrow enables users to choose a custom icon for their wallet. When selecting the option it opens the file browser but this requires people to know where their operating system stores icons most of them are not suitable for a wallet.
Taking inspiration from various banking app we could provide a series of default icons in both dark and light mode, they could be placed in a directory and the file browser would open this repository by default.
Included bellow a screenshot to show how this looks:

Icons have several advantages, usually people will recognize them quicker than text and on a side not I would make them slightly bigger in the Sparrow GUI on the tab.
The current icon set I included comes from https://pictogrammers.com/library/mdi/ and contains 15 hand picked icons.

Car.png
Cold Storage.png
Energy.png
Entertainment.png
Family.png
Flower.png
Food.png
Gift.png
Health Care.png
Lightning.png
Ordinals.png
Phone.png
Shopping.png
Travel.png
Whirlpool.png

If someone has ideas of other icons we can include feel free to suggest. I think what is important is not which category we include or not but having a small series to choose from. It is also better if we do not put too many icons (I think 20 is a good upper limit) to not overwhelm with too many choices.
Regarding the dark theme, we can simply invert the icons. We could also propose a series of color scheme (eg: blue, red, green, dark, light) so you can use colors to differentiate too. I can provide all the icons set needed but as long as we do not agree on a set I will not spend time on it.
Icon set: SparrowIcons.zip

Thanks for the suggestion. My apologies, I should have been clearer on requirements previously:

I'd prefer icons from https://fontawesome.com/ to match those already present in the app
Icons must be SVG, 15px x 15px
Light theme icons must be dark gray, not black
Dark theme icons must be light gray, not white

For example, see
Light theme: https://github.com/sparrowwallet/sparrow/blob/c57a4450467aef03e248504db0d935283a46b136/src/main/resources/image/bitbox02-icon.svg
Dark theme: https://github.com/sparrowwallet/sparrow/blob/c57a4450467aef03e248504db0d935283a46b136/src/main/resources/image/bitbox02-icon-invert.svg
There are other examples in that folder too.
I think a small set of icons (6-7) is probably enough for now. Likely these would be in a menu drop-down.

Hi, sorry for the very long delay before answering but I followed your guidelines and I think we have got something to start with.
So the current categories are:
Cold Storage
Food
Mining
Ordinals
Entertainment
Healthcare

Of course if requires we can always add more. For now I only did the dark grey version for the light theme. If we agree on it I will export them again for the dark mode.
Another thing I noticed while I was playing with those icons. The size of 15px is really small, I think it would be beneficial if we increase it to 18 to have them slightly bigger.
Usually people are better at recognizing icons than text which is an advantage :)
SparrowIcons.zip

Thanks for looking at this again. Re the size, I would be using them directly as vector TTF font characters, so they appear sharp regardless of size. The cold storage icon is perhaps the best, but conflicts with the existing frozen UTXO icon. The mining category seems useful, but I didn't immediately associate the icon with the category. I'll need to consider the other categories.

Ah true did not think about the freezing UTXO. I could use the image of a safe or something similar but the resolution being rather small it was challenging to make them visually distinctive.
One way to maybe make this less "challenging" is to do it similar like my router is doing to label IoT devices. They just have a bunch of icons like flower, server, carrot, fan, computer, printer, etc and open the folder where they are. IF we add categories then we somehow need to define them but if its just a series of icon from a folder it is less critical.

bunch of icons like flower, server, carrot, fan, computer, printer, etc

Yes, but none of those icons seem particularly compelling. I'm not closing this though, I plan to take another look at the icon set.


Image Similarity Scoring ML service with SAPUI5

Hi guys,
I hope you're doing fine. I came here to report a problem that is happening in the current Image Similarity Scoring ML tutorial. The relative Leonardo APIs changed the JSON response model/pattern.
What I had to change in the projet to get it working:
At onPressScoreSimilarity function: data.similarityScoring -> data.predictions
At onPressExtractFeatures function: data.feature_vector_list -> data.predictions
I'm open to any question you have about this,
Kindly regards,
Alexandre

good catch! Thanks
The API has changed despite the fact that the doc still reflect the old format.
I'll send a note to the PO to update the doc on the API Hub, and I will commit and push the tutorial change as well.
Thanks again


Please identify latest stable release (v0.6.20 or v0.6.21?)

I for one find it quite difficult to identify the latest stable release:

Under "Releases", you see v0.6.21 published on the 4th of November, followed by v0.6.21-rc2 published on the 21st of the same month.
Unter section "Workflow", it is stated that "[e]very branch numbered like v0.5.9, v0.5.8 etc is stable and safe to use in production unless marked as pre-release."
There are lots of tags in the form of vX.Y.Z[-rcN], but not that many branches.
What about branches "v0.6" and "v0.7", the latter being much older than the former?

(1) Does the above mean that release v0.6.21 has effectively been retracted? (From my experience, releases to be used in production environments don't come with rc suffixes.)
(2) Is it possible to align releases and tags (e.g. by introducing v0.6.22) and clarify the terse reference to "branches" (or rather tags which represent a version of a particular branch at a moment in time)? By definition, branches represent separate threads of development regardless of their naming/versioning, of course, but a short overview of state/relationships/features in the README might really come in handy.

v0.6.21 is the stable one that we use in production. Anything that uses -rcN is a Release Candidate (not stable). Hence the stable version of v0.6.21-rc2 will be v0.6.22 (once released).
The branch v0.6 is continuously updated and from that, the releases of v0.6.x are being produced. Once it is in a good state and tested, there is an RC release. The branch v0.7 was supposed to contain fundamental changes and therefore it needed a separate development workflow. Eventually, the fixes of v0.6 would also go to v0.7.

fwiw, I was confused about the first point as well (a release candidate coming after a release). Typically, v0.6.21-rc2 will come before v0.6.21.


Proposed feature: md-ticker

I've created a ticker directive PLUNKR
I'd love improve this and bring this to the Material2 community, but I'm not sure what requirements there are. How can I get started?

Unfortunately the material design spec does not account for a ticker so we would be unlikely to add it into our official collection of components. However, feel free to release this as a separate package in your own repo that others can use to install and import into their apps.


Fix variable names

Some variable names are wrong, Node Exporter won't start when they are defined.

@drf good catch ! please update README as well and I will merge it


[build] search for host lemon when crosscompiling with CMake

Building lemon inside the project with the crosscompiler will work, but the resulting binary can't be executed on the host. Just search for a lemon binary, so the user can also override this if it is not in the path.

Building lemon inside the project with the crosscompiler will work, but the resulting binary can't be executed on the host. Just search for a lemon binary, so the user can also override this if it is not in the path.

That sounds like a different problem from the solution you provided.  lemon should be built using the native compiler, not the cross compiler.   https://wiki.lighttpd.net/InstallFromSource#cross-compiling (could use more examples from different build systems, e.g. CMake)
Have you tested lighttpd using an external lemon parser, e.g. from sqlite3 codebase?  Does it work?  I am asking because I have not tested that.

https://cmake.org/cmake/help/book/mastering-cmake/chapter/Cross Compiling With CMake.html#running-executables-built-in-the-project

The problem is that CMake does not support building with 2 toolchains at the same time. When you crosscompile, you will get a target binary.
What I did was a host build of lighttpd and then point the crossbuild to use the lemon executable from that one. Well, in fact that was just an intermediate step, now I just build lemon with the host gcc by hand as it is just one file, and then point CMake to that exe.

Thank you for putting this together.  It appears to work, but with action-at-a-distance that it expects lemon to be in your PATH.  I think I would prefer a slightly more explicit solution, as recommended in https://cmake.org/cmake/help/book/mastering-cmake/chapter/Cross Compiling With CMake.html#running-executables-built-in-the-project to provide a package definition for lemon which is imported for the cross-compilation.
(Yes, building the one file by hand is also a solution, though it would be nicer for cross-compilation with CMake if a slightly better solution was made available)

How about this to be more friendly cross-compiling when handling the single file that need to be build with the native compiler?
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -879,7 +879,17 @@ if(WIN32)
        set(COMMON_SRC ${COMMON_SRC} xgetopt.c)
 endif()

-add_executable(lemon lemon.c)
+if(CMAKE_CROSSCOMPILING)
+       # manually compile lemon using native compiler
+       add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/lemon
+               COMMAND cc
+               ARGS    ${CMAKE_CURRENT_SOURCE_DIR}/lemon.c -o ${CMAKE_CURRENT_BINARY_DIR}/lemon
+               DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/lemon.c
+               COMMENT "Generating lemon from lemon.c using native compiler"
+       )
+else()
+       add_executable(lemon lemon.c)
+endif()

 ## Build parsers by using lemon...
 lemon_parser(configparser.y)

I am going to commit the above solution I posted, but if you have further suggestions to improve it, please post.
Thank you for helping make lighttpd better.

I don't really like it because it now hardcodes "cc" instead of "lemon", but I guess it will work most of the time, so definitely better than before. Thanks.


Update keyboard shortcuts to meet the new GitHub content style guide

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://github.com/github/docs/blob/main/data/reusables/codespaces/rebuild-command.md
What part(s) of the article would you like to see updated?
Keyboard shortcuts in this document are outdated. Refer to Keyboard Shortcuts section in the content style guide on how to correctly present keyboard shortcuts in GitHub docs.
Additional information
For example
commandk should be Command+K
commandshift7 should be Command+Shift+7
This issue is for the Campus Experts + GitHub Docs program and is not available to be assigned.

13906

[ ]   #@_**** ![GitHub_Logo](https://user-images.githubusercontent.com/98059119/150232967-686dec7f-b489-460c-b5e9-18ad82d2edb6.png)_

[ ]   #@_**** ![GitHub_Logo](https://user-images.githubusercontent.com/98059119/150232967-686dec7f-b489-460c-b5e9-18ad82d2edb6.png)_

Wanna be on my team? 😊

data cpu youtube

0xa6d8648be489d70e9d4ba9d6a5b0c41f12375398

I want to work on this issue, as some keyboard shortcut are not updated according to the updated keyboard shortcuts on github.


There is something wrong with the images in audio therapy page.

Closing this as spam because everything is working fine.

okay


Update the "books and merchandise" section

In the past few years, I've been noticing a lot of developers who create and make money from educational content (blog posts, videos, livestreams, etc). Feels like an important revenue stream to acknowledge in here.
When I first wrote this guide, I lumped all that into "Books and merchandise", but this category feels a little dated. So much more is happening on that front now! Might rename to "Content creation" or something like that, add some non-book examples, etc.
Will get to it uhhhh one day maybe, leaving this issue open as a reminder. Also, if anyone has great examples of developers creating content (Kent Dodds and Egghead.io are my canonical examples 😇), comment here and I'll add them in!

Love this! I think the section could maybe just be "Education", covering books & courses. Also, can't be certain, but my guess is in most cases the "merch" sorts of things e.g. the socks, or Discourse's offerings (https://cottonbureau.com/people/discourse) probably tend to be more a marketing thing than actual $ generator.
Some other big ones that come to mind for educational content:

Wes Bos' JS courses: https://wesbos.com
Laracasts, a whole online course platform from the Laravel community: https://laracasts.com/
Zed Shaw's Learn Code the Hard Way: https://learncodethehardway.org/
Michael Hartl's Learn Enough series: https://www.learnenough.com
Julia Evans' awesome programming zines: https://wizardzines.com

Not sure if they're all open source contributors, and there's a huge range from side project to entire online instructional biz, but many good examples of devs making $ with educational material.
The Laravel/Laracasts example is one of the most spot on I've seen for education directly tied to the open source project/creators. I see they're also listed in the SaaS section…and probably a good example of "open core" as well with some of their add on projects like Spark (https://spark.laravel.com) and Nova (https://nova.laravel.com).


Suggestion: Allow array of > 10 values in argument of Promise.all() and Promise.race()

Currently, Promise.all() and Promise.race() both have signatures like this:
all<T1>(values: [T1 | PromiseLike<T1>]): Promise<[T1]>;
// ...
all<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(values: [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike <T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>, T8 | PromiseLike<T8>, T9 | PromiseLike<T9>, T10 | PromiseLike<T10>]): Promise<[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]>;

While this is suitable in most cases, occasionally there is a need (or preference) to wait on the retrieval of several (10+) dependencies and then access them all within a single block.
Workarounds for Promise.all() certainly exist (i.e. splitting into multiple Promise.all() calls) - but code can become unnecessarily complex. Workarounds for Promise.race() are not as easy.
Since actual implementations of Promise.all() and Promise.race() are boundless, it would be helpful if  lib.es2015.promise.d.ts reflected a wider range of plausible use cases.

This is almost a dupe of this as a subset of that bug (and an already-known one).

@isiahmeadows I feel like I'm being slow...but what does Promise.all look like with variadic generics?

 There's a couple different concept implementations of Promise.all in that issue.

@isiahmeadows Cheers. My initial "Ctrl-F" attempts didn't expand into the collapsed comments so I missed function all<...T>(promises: [...Promise<T*>]): T;. I figured the solution might be something like that but I was just scratching my head wondering if there was a way to do it only according the initial spec with ...T.

@isiahmeadows I completely agree, #5453 would appear to completely solve this problem, should it be accepted. And I admit that what I've propose is nothing more than a quick and easy extension of the current solution.
I should point out though, that while #5453 would be a complete/permanent solution, there is much more consideration that it must be given before being officially rolled out. In the meantime, lib.es2015.promise.d.ts could be extended using the pattern it already uses today - which could be accomplished in minutes - let's say to support ~20 items instead of ~10 - as a short term gap-stop while #5453 goes through the standard process of being reviewed/implemented/released.


Are NTP and FIM 2 separate stages of training, or are they combined?

After reading through the issues, I understand that repo level concatenation is done for NTP. My question is are these 2 separate stages of training or are they combined?
Thank you.

Combined.

If that's the case, does FIM segmentation also happen to repo concatenated documents?

Yes.

Thank you!


[Feature] 淘宝那种王座好像是蓝牙通讯的那种又是如何实现的呢

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

这与本项目无关


[DONT MERGE] User/gustavoca/add e2e tests pt2

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

Project coverage is 66.73%. Comparing base (4c9354c) to head (dd68ece).

Additional details and impacted files
@@                      Coverage Diff                      @@
##           feature/sbom-targets-task     #662      +/-   ##
=============================================================
- Coverage                      69.69%   66.73%   -2.97%
=============================================================
  Files                            277      276       -1
  Lines                           8653     8586      -67
  Branches                        1009     1001       -8
=============================================================
- Hits                            6031     5730     -301
- Misses                          2105     2347     +242
+ Partials                         517      509       -8

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


[BUG] node will periodically cordon after disable maintenance mode

Describe the bug
https://github.com/harvester/harvester/assets/5169694/8602354c-8d7b-463a-95d2-a2c04c9a86b1
When un-cordon again, the node will be cordoned in few mins again.
To Reproduce
Steps to reproduce the behavior:

Install Harvester with at least 2 nodes
Enable maintenance mode on any node
Disable maintenance mode on the node
Status of the node should be Active
Wait around 5 mins, node should not be cordon automatically

Expected behavior
Node should not be cordoned automatically
Environment:

Harvester ISO version: v1.2-88c06bf6-head
ui-source Option: Auto
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): Baremetal DL360 3 nodes

Support bundle
supportbundle_e2fbff88-4c5d-414f-93e8-927ec00224c8_2023-06-14T17-13-08Z.zip

change label to reproduce/often that it will not happened in recent test.

Hit similiar issue in v1.3.1-rc2, see https://github.com/harvester/tests/issues/1322#issuecomment-2164353783


Weather symbol implementation

#292 (IMPRO-341)
Implementation of the weather symbols decision tree.
Tests have not been added. There are some print statements left in, commented out, which might he helpful in trying to understand what is going on.
More information is on IMPRO-341.
Testing:

[x] Ran tests and they passed OK
[ ] Added new tests for the new feature(s)

I like the configuration and the processing mechanism (although the eval is obviously not great). How would you support running this in a suite context with a variety different choices for thresholds and probabilities?

@carolinejjones I think we do need to implement a check that the units of the threshold match the units of the cube's thresholds. I think it should just raise an exception if they don't match, and not try to do any unit conversion. @bayliffe  informs me this should be a minor change of a few lines and a few unit tests. Are you happy to do this?

@carolinejjones change of plan,  @bayliffe  is going to create a little ticket to fix the plugin based on issues that are thrown up when we integrate it into the suite next sprint and have proper test data.

Good job @bayliffe and @carolinejjones! 👍


Annotations no longer hide before load

Description
With the newest release, annotations seem to no longer hide before load using the style code from https://modelviewer.dev/examples/annotations.html
/* This keeps child nodes hidden while the element loads */   :not(:defined) > * {     display: none;   }
Live Demo

https://canyon-tourmaline-titanoceratops.glitch.me/

Browser Affected

[x] Chrome 84.0.4147.105
[ ] Edge
[x] Firefox  78.0.2
[ ] Helios
[ ] IE
[ ] Safari

OS

[ ] Android
[ ] iOS
[ ] Linux
[ ] MacOS
[x] Windows 10

Versions

model-viewer: v1.1.0
three.js: r0.117.1

@gjcope Actually, that line only keeps them hidden until the model-viewer element itself is loaded, which is quick. Then it is the poster which hides the annotations while the 3D model is loading. The reason they're visible is because you set your poster-color to transparent. I would recommend using https://modelviewer.dev/editor/ to create a proper poster image and set poster-color to match your background color.

Got it, thanks. We actually were using the old interactive page to create the poster (what makes the new one 'proper'?) and using transparent as indicated in the --poster-color documentation since we have a gradient background and wanted it to remain seamless. Any recommendations other than to not use a gradient?

Oh, I must have just not noticed. The new page makes just the same kind of posters as the interactive page did, so no worries there. Gradient background with annotations is a little tricky; I'll have to think if there's a way we could make that easier.

@elalish Your explanation makes sense, but I still think there is something going on. If you take a look at the glitch, I've added a poster with a transparent background to the first model viewer instance and kept the transparent style. I changed the unpkg model-viewer version to explicitly load 1.0.0 and the annotations are hidden until the model loads. If I change it to 1.1.0 the annotations are now visible during the poster view. The effect happens when only changing the model-viewer version...

To make it a little easier to see, I made two new examples with identical markup (except for mv version) to compare:

Thanks, these glitches make it more clear; I think I had the wrong idea initially. I'll have to go check what regressed this...


Appstudio update test-component-pac-fkio

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-fkio-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
10 seconds
init

✅ Succeeded
22 seconds
clone-repository

✅ Succeeded
58 seconds
build-container

✅ Succeeded
22 seconds
inspect-image

✅ Succeeded
20 seconds
deprecated-base-image-check

✅ Succeeded
24 seconds
sbom-json-check

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
11 seconds
clair-scan

✅ Succeeded
13 seconds
label-check

✅ Succeeded
14 seconds
optional-label-check

✅ Succeeded
6 seconds
show-sbom

✅ Succeeded
11 seconds
show-summary

Pipelines as Code CI/test-component-pac-fkio-on-pull-request has successfully validated your commit.


custom view contribution: what size icon to use?

testing #48407
what size, etc. icon is recommended?  i was expecting it to be scaled down to fit, but it looks like it should be about 25x25px.

Working with @misolori on the spec. Here is the sample


ctagsWrapped: rewrite to use callPackage injection and be a derivation

Description of changes
ctagsWrapped was a bit of an odd duck. It used callPackage in all-packages.nix but it returns an attrset with the real derivation in the ctagsWrapped inner value.
I rewrote this expression so now it returns a derivation. Due to callPackage and default arguments, is still overrideable in the same way as before, and features the same attrset as previously exposed through the use of passthru.
The code is formatted with nixfmt-rfc-style, as every line would be changed anyway due to indentation changes.
writeScriptBin is a super-thin wrapper on top of writeTextFile, and I needed access to writeTextFile's derivationArgs parameter, so that's why that change occurred.
This also happens to remove a top-level with statement.

#208242

Things done

[x] Tested compilation of all packages that depend on this change using nixpkgs-review rev HEAD.
[x] Fits CONTRIBUTING.md.

I really recommend pinging maintainers, too.

I'm sort of relying on ofBorg and RFC 39 for that. I thought it was something I could put out of mind.

I've removed the two now-merged commits to texinfo and switftpm2nix, and I redid the commit to ctagsWrapped after I took a closer look. So this is a totally new PR.
Sadly there are no maintainers for the ctags module. I use it, so maybe in another PR I'll add myself as a maintainer.


Facing issue with size() function

Hello, I am trying to use size() function to get size of list. Following is the code for it:

and for this , error is coming like this :

len() function is also not working for this. So, can you please help me in this?

Hello,
In a constraint context, the 'size' property of a list is treated as an expression. This allows constraints to remain valid as the size of the list changes -- either because the size is random or because size of the list is programmatically changed. You need to write iterative constraints using the 'foreach' constraint. Here is an implementation of the example you show above:
https://github.com/fvutils/pyvsc/blob/b0238e780fd2fc105567c6a372f6b1033a6b664f/ve/unit/test_list_scalar.py#L100-L122


Nuget package ZXing.Net.Mobile.Forms lists bad dependency

Package references Xamarin.Forms (>= <IP_ADDRESS>90)
Compile fails because AutomationId dependency wasn't introduced until 2.2.0-pre1

Install-Package : Could not install package 'ZXing.Net.Mobile.Forms 2.1.13'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile111', but the package does not
contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
At line:1 char:1

Install-Package ZXing.Net.Mobile.Forms

  + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
  + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand


Add type highlighting for identifiers

Quick note for future reference:
				{
					"name": "entity.name.function.c3",
					"match": "[_a-z][_a-zA-Z0-9]*"
				}

can be added for yellow highlighting for lowercase identifiers.
				{
					"name": "variable.name.c3",
					"match": "[_a-z][_a-zA-Z0-9]*"
				}

can be added for light blue highlighting for lowercase identifiers.
There are other names intended for highlighting parameter names, names of struct members etc, that may be a future commit. I was referencing the c++ json, which was a bit much to make sense of.

Thank you.


[Session Issue] session.userData.lastAccessTime seems not able to searlize inside the setTimeout function

I've the following code proactively check if any user input has been idle  for certain time, then close the bot session but find that the  access time storing in the session.userData can't be updated inside setTimeout function.  Here's is the code
bot.use({
    botbuilder: function (session, next) {
        var date = new Date()
        session.userData.lastAccess = date.valueOf()
        console.log("Current acess time: ", session.userData.lastAccess)
        setTimeout(function () {
            console.log("Last user access time: ", session.userData.lastAccess)
            var idleTime = Date.now() - lastAccessTime
            var shouldExpire = (session) => idleTime > 30000
             if (shouldExpire(session)) {
                    session.endConversation('Session idle over 30 sec. Session end....' + idleTime)
                    session.clearDialogStack()
                    session.reset()
                    session.userData.firstRun = false
              } else {
                    console.log("idleTime less than max of 30 sec, keep the session")
               }
        }, 30000)

Expected Behavior
If I've 2 user inputs, I should have got the session.userData.lastAccess overwritten by the 2nd last access time which is<PHONE_NUMBER>469
Current access time:<PHONE_NUMBER>089
Current access time:<PHONE_NUMBER>469
But when the 2 setTimeout functions time up and checking the session.userData.lastAccess time, I got the following instead?
Last user access time:<PHONE_NUMBER>089
Last user access time:<PHONE_NUMBER>469
What's wrong with the session.userData inside the setTimeout function? I expect both should last access time should be<PHONE_NUMBER>469, not an individual copy.   Can anyone point me out. please

@wtam are you using C# or Node SDK?

Hi Nils,
I'm using nodejs sdk
Regards,
William
From: Nils
Sent: Monday, May 8, 5:03 AM
Subject: Re: [Microsoft/BotBuilder] session.userData.lastAccessTime seems not able to searlize inside the setTimeout function (#2716)
To: Microsoft/BotBuilder
Cc: wtam, Mention
@https://github.com/wtamwtamhttps://github.com/wtam are you using C# or Node SDK?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/BotBuilder/issues/2716#issuecomment-299734679, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMTskD2deceh2oFWSsu9sQr65g0KcRh4ks5r3jGYgaJpZM4NTJME.

@wtam Use the built-in variable session.sessionState.lastAccess instead.

It's has the same problem with any even worst as sessionState.lastAccess will return the same timestamp in the 1st and 2nd call.  And when the setTiemOut timeup, it has 2copy of the of the lastAccess.
I believe it's the the problem of the session not able to searailize.  If I replace it with a global variable instead of session I can solve it but I need its per user session not as a global state.
Regards,
William
From: Nils
Sent: Tuesday, May 9, 2:02 AM
Subject: Re: [Microsoft/BotBuilder] [Question] session.userData.lastAccessTime seems not able to searlize inside the setTimeout function (#2716)
To: Microsoft/BotBuilder
Cc: wtam, Mention
Closed #2716https://github.com/Microsoft/BotBuilder/issues/2716.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/BotBuilder/issues/2716#event-1073254867, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMTskJtKZ8uWCffZWcsLFBa58c5nulu0ks5r31hdgaJpZM4NTJME.

issue persists

You would need to call session.save() after modifying userData in your sample.  Sending a message to the user does this for you but since you're not sending a message you need to explicitly save your state changes.

@Stevenic, thanks, done that before as I got its struggle over 1 week which I try every google search and the result are same as session.save() can't seems to save circular reference?  As I say, the only way to make its work is define a global variable but it become global state not per session.  So does it meant botframework currently not able to support session timeout.

@Stevenic, now I'm generating my own session id and use its as the Redis Key to store  my own lastAccessTime value instead and its work.  I think its may be a common ask and not sure if there'll be a feature to set the session timeout in future?

Oh I'm sorry I just re-read your original post. That's not going to work. The problem is you get a brand new session object in for every new message so when a second message for a user comes in it essentially in validates the session your timer is holding on to.
Using a timer like that isn't a great idea anyway because your node could re-boot and take your timers down with it.  The better way to do this is something like this:
bot.use({
    botbuilder: function (session, next) {
         if (session.privateConversationData.previousAccess) {
              var delta = new Date().time() - session.privateConversationData.previousAccess;
              if (delta > 30000) {
                   session.clearDialogStack();
              }
         }
         session.privateConversationData.previousAccess = session.sessionSate.lastAccess;
         next();
    }
});

This just evaluates each message as it comes in and evaluates if it's been too long since the users last reply. No need for a timer and it works even if your compute nodes get rebooted.

Thanks Steve but I do need to proactive close the session if its been idle say 15 mins  instead of waiting the use to interact next time.  So I do need a timer.  So far the Redis Cache work for me so I'll keep it .  Perhaps we may close this issue but if someone else in future asking the same for idle session timeout, perhaps is a feature request?
And just FYI when I use the node-redis, I've no issue with the restify server together on my PC (both running on the local host)  but when I run it on Azure webApp, the pipeline seems got all mess up with http://undefined/undefined and iisnode permission etc.  Till I move the Redis to another host not the local host.  So Seems Azure web app do have some limitation on running multiple HTTP server on the same host as my next task is to figure out how to get the same SkypeCall connector with the Chat bot connector running in the same nodejs app as its has 2 different restify server and path

Please ignore my comment above restify server and http://undefined etc.
I will raise a new question in a separate thread on how to get SkypeCall Bot with LUIS intent as I couldn't find the same any IntentDialog (in ChatBot botbuilder) from the botbuilder-calling/lib/botbuilder.d.ts

I had the same problem, after going through the functionalities of bot-builder I found the solution.
Use the bot.loadSession function which takes in the address of the session variable,
this will help you access the latest session variable.
Kudos


Build terminates without error and fails after 30 mins duration

I got a build to create a new preview environment for our app. The build fails on Frontend with these logs;
2020-06-17T23:27:50.743Z [INFO]: Done in 178.46s.
2020-06-17T23:27:50.748Z [INFO]: # Completed phase: build
2020-06-17T23:27:50.749Z [INFO]: ## Completed Frontend Build
2020-06-17T23:27:51.327Z [INFO]: ## Successfully created new backend environment
2020-06-17T23:27:51.440Z [INFO]: ## Build completed successfully
2020-06-17T23:27:51.445Z [INFO]: # Starting caching...
2020-06-17T23:27:51.618Z [INFO]: Creating cache artifact...
2020-06-17T23:28:40.331Z [INFO]: # Cache artifact is: 859MB
2020-06-17T23:28:40.459Z [INFO]: # Uploading cache artifact...
2020-06-17T23:28:50.743Z [INFO]: # Caching completed
2020-06-17T23:28:50.920Z [INFO]: # Starting build artifact upload process...
2020-06-17T23:28:51.936Z [INFO]: # Build artifact is: 5MB
2020-06-17T23:28:52.007Z [INFO]: # Build artifact is: 5MB
2020-06-17T23:28:52.085Z [INFO]: # Uploading build artifact '__artifacts.zip'...
2020-06-17T23:28:52.097Z [INFO]: # Uploading build artifact '__artifactsHash.zip'...
2020-06-17T23:28:52.369Z [INFO]: # Build artifact upload completed
2020-06-17T23:28:52.369Z [INFO]: # Starting environment caching...
2020-06-17T23:28:52.370Z [INFO]: # Uploading environment cache artifact...
2020-06-17T23:28:52.453Z [INFO]: # Environment caching completed
Terminating logging...

Does the build gets terminated after the 30mins mark?

Hi @incr3m,
The default build timeout is 30 minutes (the docs were not up to date, so I have sent a PR for adding this info). Meanwhile, if your build takes more than 30 minutes, you can override the default build timeout using an env variable: _BUILD_TIMEOUT (App settings > Environment variables). Let me know if you have further questions.

Closing this issue, please feel free to re-open if you are still facing issues.


Workaround mysterious race condition with apt

Something is temporarily holding the dpkg lock on the Azure VMs when they first start up.  This prevents the linux 32 config from apt-get installing something, but only some of the time.  Adding a delay to hopefully avoid the conflict.

Pinging @chrisrpatterson:  I'm not sure what is holding the Debian package lock when the Ubuntu 16.04 VM boots up, but I find that inserting a sleep 10 into a task is required to reliably be able to apt-get install some packages.

My speculation based on googling for similar issues is that some auto-updater in Ubuntu is enabled, and it tries to refresh the package index when the VM starts up.

@seibert yes we found a systemd unit that was running as soon as the network came up that was updating the apt cache.  Due to the way we pool machines some sit for longer before they take a job and that is why you see the intermittent failure.  We are working on a fix, thanks for the pointer to help narrow this down.

Great!  Glad you were able to figure out the issue.


Manually configure CLI

** Which Category is your question related to? **
Auth
** What AWS Services are you utilizing? **
Cognito
** Provide additional details e.g. code snippets **
We're currently using multiple cognito user pools with a multi-step login. During the first step we do a lookup to get the right user pool and then perform authentication to that user. Is there a way to NOT bake in the user pool or AWS access keys etc and manually / programmatically enter the relevant information.
Basically a full manual configuration at run-time. I couldn't find anything in the documentation to point me in the right direction.

@moetun88 What's the flow which you went through when adding auth to your app after running the 'amplify add auth' command? Did you choose the No, I will set up my own configuration. option?

Closing due to inactivity. Feel free to re-open if the problem still persists.


Can't setup on windows

On windows I'm getting and error when running npm run setup:
C:\Users\Vincas\Desktop\express-typescript-boilerplate\node_modules\.bin\knex:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
          ^^^^^^^
SyntaxError: missing ) after argument list
    at Object.exports.runInThisContext (vm.js:76:16)
    at Module._compile (module.js:542:28)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Function.Module.runMain (module.js:604:10)
    at Object.<anonymous> (C:\Users\Vincas\Desktop\express-typescript-boilerplate\node_modules\ts-node\src\_bin.ts:180:12)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)

Looks like it is trying to execute .sh script on windows and can't make out the syntax

See this issue:
#2

Hmm, I seem to be getting the same error on the branch: feature/fix-windows-issues in CMD and in Bash...

@vincaslt branch feature/fix-windows-issues has no more fixes including this issue.
Issues left:

Tests (unit and blackbox) =>
Regression tests for unix on branch feature/fix-windows-issues

I will create a new bug for testing on windows.


Cow: Blacklist essaycorp.com

Cow requests the blacklist of the website essaycorp\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

essaycorp\.com has been seen in 6 true positives, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ


[API][BUG] Fix new tenant name could be "default" (#6220)

Purpose of the pull request
Fix #6220
Brief change log
front-end: check if the tenant list contains more than one tenant, if true, maybe the tenant list contains 'default' tenant, so we need to filter it out.
resolves #6220

sorry for later comments.
i think the 'default'(value=-1) cannot be removed.
* if 'default' is removed,  you should must select one tenant when saving DAG.
  I don't think this operation is as simple as 'default '.

* using 'default',  the same DAG can be run different tenants when multiple users run one DAG.

I know that 'default' should not be deleted, but when creating a new tenant, we can create a new one who's name is
'default'. When saving the DAG, user should chose one tenant to run, when chosing tenant, there will be to tenant named 'default', it's hard to figure this two tenants who is the REAL 'default ' tenant reserved by dolphinscheduler.

sorry for later comments.
i think the 'default'(value=-1) cannot be removed.
* if 'default' is removed,  you should must select one tenant when saving DAG.
  I don't think this operation is as simple as 'default '.

* using 'default',  the same DAG can be run different tenants when multiple users run one DAG.

I know that 'default' should not be deleted, but when creating a new tenant, we can create a new one who's name is
'default'. When saving the DAG, user should chose one tenant to run, when chosing tenant, there will be TWO tenant named 'default', it's hard to figure this two tenants who is the REAL 'default ' tenant reserved by dolphinscheduler.
So i created a pr #6222, trying to avoid user to create a tenant named 'default' in the back-end, user can still use 'default' tenant to run DAG, but the pr is not accepted, after talking about this issue with @JinyLeeChina , he said this issue should be resolved in the front-end. so i wonder what is the final solution....

Thank you very much for your reply.
This problem is really complex and needs more discussion to find a suitable solution.
I suggest putting this issue in discussion and then finding a suitable solution
报错 笔记

sorry for later comments.
i think the 'default'(value=-1) cannot be removed.
* if 'default' is removed,  you should must select one tenant when saving DAG.
  I don't think this operation is as simple as 'default '.

* using 'default',  the same DAG can be run different tenants when multiple users run one DAG.

I know that 'default' should not be deleted, but when creating a new tenant, we can create a new one who's name is
'default'. When saving the DAG, user should chose one tenant to run, when chosing tenant, there will be TWO tenant named 'default', it's hard to figure this two tenants who is the REAL 'default ' tenant reserved by dolphinscheduler.
So i created a pr #6222, trying to avoid user to create a tenant named 'default' in the back-end, user can still use 'default' tenant to run DAG, but the pr is not accepted, after talking about this issue with @JinyLeeChina , he said this issue should be resolved in the front-end. so i wonder what is the final solution....

Thank you very much for your reply.
This problem is really complex and needs more discussion to find a suitable solution.
I suggest putting this issue in discussion and then finding a suitable solution

OK, I will close this pr, and put the isuue in discussion ~

Close thi pr, putting in discussion...


[Niconico]Unable to find video URL

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2021.12.17
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

Microsoft Windows [Version 10.0.19043.1348]
(c) Microsoft Corporation. All rights reserved.

D:\>youtube-dl --version
2021.12.17

D:\>youtube-dl "https://www.nicovideo.jp/watch/sm34923907"
[niconico] sm34923907: Downloading webpage
[niconico] sm34923907: Downloading flv info
ERROR: Unable to find video URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

D:\>youtube-dl "https://www.nicovideo.jp/watch/sm34923907" --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.nicovideo.jp/watch/sm34923907', '--verbose']
[debug] Encodings: locale cp932, fs mbcs, out cp932, pref cp932
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg 4.4-full_build-www.gyan.dev, ffprobe 4.4-full_build-www.gyan.dev
[debug] Proxy map: {}
[niconico] sm34923907: Downloading webpage
[niconico] sm34923907: Downloading flv info
ERROR: Unable to find video URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\niconico.py", line 291, in _real_extract
KeyError: 'smileInfo'
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\niconico.py", line 291, in _real_extract
KeyError: 'smileInfo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 815, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 836, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 534, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\niconico.py", line 310, in _real_extract
youtube_dl.utils.ExtractorError: Unable to find video URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

D:\>

Description

If my memory is certain, this software about 2 years ago used to be able to download NiconicoVideo.
However, after that, although it became impossible to download, it was possible to download by using aria2c until around version 2021.4.26.
After that, I tried various things, but I couldn't download it anymore. And that's still going on as of version 2021.12.17.

Unmerged PR #30329 should solve your problem.
As you have Windows, presumably >XP, you could try the yt-dlp version from which the PR was back-ported.


fix for #146

I'm also seeing the same error with versions 3.4.2 and 0.14.5.
Thanks,
Paul

@MecShLmmm @pjandrews you're not including my fix, either clone locally or just copy the new code into your install.

Thanks @timkpaine , unfortunately I don't know how to "copy the code into install" I would like to help verify though. Could you please LMK how to do that?

run python3 -c "import cufflinks.tools; print(cufflinks.tools.__file__)"
then open the file and delete/add this code: https://github.com/santosjorge/cufflinks/pull/156/files

With the data that I'm working with I'm seeing that if I assign multiple columns to the same x axis for both figures. And different multiple columns to a different y axis and secondary y axis then both of the y axis are displayed in relation to only one of the yaxis. So that if the values from the secondary yaxis are much smaller then they appear negligible. I'm sorry but I haven't been able to produce an example of this behavior by creating a pandas dataframe.
This one works, but there is something with my data that is causing issue described above with the same format. It worked with plotly 2. I'll try to replicate it.
df = pd.DataFrame([['group1', 'cats',3,4,500,600], ['group2', 'dogs',4,5,600,700], ['group3', 'skunks',6,9,1000,1100]], columns=['A', 'B','C','D','E','F'])
fig1 = df.iplot(kind='scatter', mode='lines+markers', x=['A', 'B'],y=['C', 'D',],asFigure=True).to_plotly_json()
#fig2 = df.iplot(kind='bar', x=['A', 'B'],y=['E', 'F', ],secondary_y=['E','F'],asFigure=True).to_plotly_json()
fig2 = df.iplot(kind='bar', x=['A', 'B'],secondary_y=['E','F'],asFigure=True).to_plotly_json()
fig2['data'].extend(fig1['data'])
plot(fig2, filename=r'c:\temp\myfile.html',auto_open=True)
Before I was able to resolve this issue by assigning the y axis to the same values as the secondary y axis for figure 2 like this:
fig1 = df.iplot(kind='scatter', mode='lines+markers', x=['A', 'B'],y=['C', 'D',],asFigure=True).to_plotly_json()
#fig2 = df.iplot(kind='bar', x=['A', 'B'],y=['E', 'F', ],secondary_y=['E','F'],asFigure=True).to_plotly_json()
fig2 = df.iplot(kind='bar', x=['A', 'B'],y=['E','F'],secondary_y=['E','F'],asFigure=True).to_plotly_json()
fig2['data'].extend(fig1['data'])
plot(fig2, filename=r'c:\temp\myfile.html',auto_open=True)
But now when I do that it returns this error:
TypeError: unhashable type: 'list'
Thanks,
Paul

@pjandrews can you attach the full stack trace

@timkpaine

TypeError                                 Traceback (most recent call last)
 in ()
2
3 fig1 = df.iplot(kind='scatter', mode='lines+markers', x=['A', 'B'],y=['C', 'D',],asFigure=True).to_plotly_json()
----> 4 fig2 = df.iplot(kind='bar', x=['A', 'B'],y=['E', 'F', ],secondary_y=['E','F'],asFigure=True).to_plotly_json()
5 #fig2 = df.iplot(kind='bar', x=['A', 'B'],secondary_y=['E','F'],asFigure=True).to_plotly_json()
6 fig2['data'].extend(fig1['data'])
C:\ProgramData\Anaconda3\lib\site-packages\cufflinks\plotlytools.py in _iplot(self, kind, data, layout, filename, sharing, title, xTitle, yTitle, zTitle, theme, colors, colorscale, fill, width, dash, mode, interpolation, symbol, size, barmode, sortbars, bargap, bargroupgap, bins, histnorm, histfunc, orientation, boxpoints, annotations, keys, bestfit, bestfit_colors, mean, mean_colors, categories, x, y, z, text, gridcolor, zerolinecolor, margin, labels, values, secondary_y, secondary_y_title, subplots, shape, error_x, error_y, error_type, locations, lon, lat, asFrame, asDates, asFigure, asImage, dimensions, asPlot, asUrl, online, **kwargs)
817                                                 df=df[[y, secondary_y]]
818                                         else:
--> 819                                                 df=df[[y] + secondary_y]
820                                 elif y:
821                                         df=df[y]
C:\ProgramData\Anaconda3\lib\site-packages\pandas\core\frame.py in getitem(self, key)
2680         if isinstance(key, (Series, np.ndarray, Index, list)):
2681             # either boolean or fancy integer index
-> 2682             return self._getitem_array(key)
2683         elif isinstance(key, DataFrame):
2684             return self._getitem_frame(key)
C:\ProgramData\Anaconda3\lib\site-packages\pandas\core\frame.py in _getitem_array(self, key)
2724             return self._take(indexer, axis=0)
2725         else:
-> 2726             indexer = self.loc._convert_to_indexer(key, axis=1)
2727             return self._take(indexer, axis=1)
2728
C:\ProgramData\Anaconda3\lib\site-packages\pandas\core\indexing.py in _convert_to_indexer(self, obj, axis, is_setter)
1312                 # unique index
1313                 if labels.is_unique:
-> 1314                     indexer = check = labels.get_indexer(objarr)
1315
1316                 # non-unique (dups)
C:\ProgramData\Anaconda3\lib\site-packages\pandas\core\indexes\base.py in get_indexer(self, target, method, limit, tolerance)
3257                                  'backfill or nearest reindexing')
3258
-> 3259             indexer = self._engine.get_indexer(target._ndarray_values)
3260
3261         return _ensure_platform_int(indexer)
pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_indexer()
pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.lookup()
TypeError: unhashable type: 'list'

Hi @timkpaine , please let me know if I can provide any additional info to describe the issue I'm seeing. Thanks!

I've met the same issue and proposed a code revision in #154

closing as I no longer use this

run python3 -c "import cufflinks.tools; print(cufflinks.tools.__file__)"
then open the file and delete/add this code: https://github.com/santosjorge/cufflinks/pull/156/files

Thank you, worked like a charm


Create a customized task list using the CSS stylesheet

In addition to the numbered lists and bullet lists, we want to include a "checkbox" list for articles where the user must complete a list of actions.
With simple Markdown, it's possible to create this list using - [x]. In addition to this, we want to customize the list look-and-feel using CSS.

From ChatGPT
To render this checkbox list in your HTML file using your custom stylesheet, you will need to include a new style rule in your stylesheet. Here's an example:
ul.checkbox-list {
  list-style-type: none;
}

ul.checkbox-list li {
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
}

ul.checkbox-list li:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 1px solid #ccc;
  position: absolute;
  left: 0;
  top: 2px;
}

ul.checkbox-list li input[type="checkbox"] {
  display: none;
}

ul.checkbox-list li input[type="checkbox"]:checked + label:before {
  content: "\2713";
  font-size: 16px;
  color: #4CAF50;
  text-align: center;
  line-height: 20px;
}

This style rule will apply to a
 element with the class name checkbox-list. It will remove the default list-style-type and add a custom bullet style using CSS pseudo-elements. It will also hide the default checkboxes and replace them with custom checkboxes that use a checkmark symbol when checked.
To use this style rule in your HTML file, you will need to add the class attribute to your
 element like this:

<input type="checkbox" id="task1">Task 1

<input type="checkbox" id="task2" checked>Task 2

<input type="checkbox" id="task3">Task 3

In this example, each list item contains an <input> element with the type attribute set to "checkbox", a unique id attribute, and a corresponding  element with the for attribute set to the same id value. The label text is used to describe each task. When the checkbox is checked, the corresponding label will display the checkmark symbol using the CSS pseudo-element defined in the stylesheet.
You can add the class attribute to the
 element in the Markdown file or in the HTML file, depending on how you are generating your static site.
If you are writing the Markdown file directly, you can add the class attribute to the Markdown syntax for the list, like this:
{: .checkbox-list}
- [ ] Task 1
- [x] Task 2
- [ ] Task 3

In this example, the {:.checkbox-list} syntax is a Markdown attribute that adds the class attribute to the
 element when the Markdown is converted to HTML.
If you are generating your HTML file from a template, you can add the class attribute to the HTML syntax for the list, like this:

<input type="checkbox" id="task1">Task 1

<input type="checkbox" id="task2" checked>Task 2

<input type="checkbox" id="task3">Task 3

In this example, the class attribute is added directly to the
 element in the HTML syntax. This is a common approach when generating static sites from templates.


MetaData for Facebook/Linkedin

When you post a link http://hackslabs.hackdash.org/ Metadata description should need to showup. Title, Description of the dashboard, first picture of the dashboard
also in the project http://hackslabs.hackdash.org/projects/540239591c1f227a76000097

[ ] meta data for twitter

[ ] if dashboard has no description, use first project description for metas


[FR] Add DINOv2 model to model zoo

Proposal Summary
Hi, is it possible to add DINOv2 model to pytorch model zoo?
Motivation

What is the use case for this feature?
Why is this use case valuable to support for FiftyOne users in general?
Why is this use case valuable to support for your project(s) or organization?
Why is it currently difficult to achieve this use case?

What areas of FiftyOne does this feature affect?

[ ] App: FiftyOne application
[x] Core: Core fiftyone Python library
[ ] Server: FiftyOne server

Details
Having DINOv2 in model zoo will bring more attention to this library, and might significantly
increase the number of new users.
Willingness to contribute
The FiftyOne Community welcomes contributions! Would you or another member of your organization be willing to contribute an implementation of this feature?

[ ] Yes. I can contribute this feature independently
[x] Yes. I would be willing to contribute this feature with guidance from the FiftyOne community
[ ] No. I cannot contribute this feature at this time

Hi @ilyanelken, I'm working on this in https://github.com/voxel51/fiftyone/pull/2951 🙌

@brimoor Great, thanks!  Do you have an estimation when it is expected to be integrated?

Closed by #2951


Condition can't be inferred, unable to merge overloads

So, with 10.3 releasing, our nightly downstream dependency check build failed telling us:
mypy ./graspologic
/Users/runner/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/beartype/_decor/main.py:294: error: Condition can't be inferred, unable to merge overloads
Found 1 error in 1 file (checked 79 source files)

Mypy coming in with the best error messages that tell me nothing actionable there, but it at least seems like it's sad at something in the new beartype?  Any ideas @leycec?  It's entirely too Friday to have to deal with this shit, so I'm sorry about that!
https://github.com/microsoft/graspologic/runs/5513695671?check_suite_focus=true#step:6:1 - for if you would like to inspect any other of the entirely overcomplicated CICD build process that may have some impact on this

Might be a mypy 0.940 issue. When I downgrade mypy to 0.931 I do not get this error.

I think this issue can be closed, see https://github.com/python/mypy/issues/12335#issuecomment-1065591703.
@leycec It might be worth to have a quick release with the workaround suggested by @cdce8p (see the linked comment).

ohnoes. The inglorious 0.10.x dev cycle continues with an unexpected free bonus epilogue chapter. Thanks so much for the rapid response time, @daxpryce and @twoertwein. The direct link to @cdce8p's proposed zero-day hot fix was especially helpful, @twoertwein.
beartype 0.10.4 be like:

Resolved by ccac042. It turns out that if you don't sleep, you can solve problems. Tests pass. Therefore, we pass out. :sleeping:
Oh – and we're dropping the beartype 0.10.4 bomb bundle of joy "soon." Soon probably means Sunday or Monday evening. (On Saturdays, I pretend none of this is happening.)


[Task] Create a set of notebooks (data preprocessing, model training) on the H&M data

Description
The goal is to create a set of notebooks on the H&M data. This might be a nice way to demonstrate data preprocessing and various models.
Additional context
This could genuinely be interesting to the public. Additionally, it would give me a chance to experiment a bit more with the DCN and DLRM model before the GTC session (will begin researching these models to make sure I fully understand them now!)

I close that ticket as we have many examples. We can reopen it, if we have a use case for H&M dataset.


Add WEEK selection mode

@bellierjonathan Thanks for your contributing! I'll see the PR as soon as possible.

Oh, I found a bug that I have already fixed, i'm going to push this tomorrow. I let you know when it's good sorry

Oh, I found a bug that I have already fixed, i'm going to push this tomorrow. I let you know when it's will be good sorry

Ok, I close this PR for now. Feel free to open new PR when you are ready.


429 Too Many Requests

Hi there, I'm unable to find documentation on the rate limit for consecutive requests. I was testing the API and now am only getting 429 errors returned despite making I think less than 10 total requests (out of what I believe is 100 / month on the initial Free plan).
The online chatbot on optiic.dev didn't have a more specific answer so curious if that's documented anywhere or any guidance on how to avoid when testing the API. Thanks!

For anyone else finding this... although you get 100 a month you only get 3 a day.
https://api.optiic.dev/process
POST
Response: You are out of daily requests (3). Please upgrade your plan to continue using Optiic: https://optiic.dev/pricing


Implement callback logs

:loud_sound: Implement call back logs [#12 ]

I believe there is 2 changes implemented in this PR :

improve /metrics
add logs sdout

I'm surprised to see no readme update. should we add a docker run example with a syslog-driver to explain ?


Metric name not quoted on Oracle outer query

Issue originally from Stack Overflow: https://stackoverflow.com/questions/56579055/how-to-write-a-valid-custom-sql-metric-in-apache-superset-i-need-to-write-a-met
I have been able to repro the bug in Superset. It seems the problem is SQLAlchemy, as I was able to get quotes on the outer query automatically when changing the alias to something not equal to the expression.
Expected results
Column name in outer query should be quoted
Actual results
Quotes are missing, making the column name in the outer query seem like an expression.
Environment
(please complete the following information):

superset version: master
python version: 3.7.3
node.js version: 12.1.0
npm version: 6.9.0

Issue created on SQLAlchemy GitHub: https://github.com/sqlalchemy/sqlalchemy/issues/4730


Support for async / await

What is your question?
Is it possible to use async/await in JS that will be compiled to wasm using Javy?

Hello @munjalpatel,
Not sure about your use case, but I could use async/await in my JS runtime based on Javy. The key methods are is_pending and execute_pending. They allow you to run any async method that it's waiting.
From the Javy / core crate, the run_bytecode_inner runs pending items. You only need to enable the experimental_event_loop feature:
https://github.com/bytecodealliance/javy/blob/cdd9d66c6b9f169b87bb99939cfcbdaf8f649360/crates/core/src/execution.rs#L11-L20
If your use case is related to using Javy as a library to create your own JS runtime, you can use those methods to ensure QuickJS processes the async methods. I recently added this feature to a project I'm working on. You can find the code in this PR:  https://github.com/vmware-labs/wasm-workers-server/pull/143.

As mentioned in https://github.com/bytecodealliance/javy/issues/386, the CLI does not currently support network requests or the fetch API.
As @Angelmmiguel mentions, you can use the library crates in Javy to create your own runtime that you compile to a Wasm module and build your own CLI around that module.

Closing this for now. Feel free to comment if you feel that your question has not been answered.


Add joelanford to approvers in OWNERS file

Add joelanford to approvers in OWNERS file

/hold

@kevinrizza you need to sign the commit (usually git commit -s)

@kevinrizza Can you please rebase the PR to get rid of the merge commit?
@tmshort Please don't use the "update branch" button on GH because it creates this merge commit. Also, it's misleading as it's fine if the PR is behind compared to master.

@dinhxuanvu That's fair; I've used the rebase option before, and it actually rebased, I haven't seen it do a merge commit before. Regardless, @kevinrizza needs to sign the commit...

@dinhxuanvu I removed the merge commit

/lgtm

/unhold

/lgtm


Navbar: Add hover border/outline to profile menu icon

Description
Added outline and border color to the profile menu icon when in a hover state.
References #2088
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update

How Has This Been Tested?

Checklist

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[ ] I have checked my code and corrected any misspellings

@ausnewland11 I'm not sure this matches what the UX expected. Can you work with your UX to verify this is as intended.

@ausnewland11 I'm not sure this matches what the UX expected. Can you work with your UX to verify this is as intended.

@cjwinsor I checked with UX and have updated the styling.

@ausnewland11 For the active+hover state, i'm expecting it not to have an extra thick border and to match active state.  Also can you apply similar changes to light and dark themes so they aren't left out and everything is consistent.

@cjwinsor @enowak1031 @egunther39 I brought this to the UX team. We are ok with the focus, hover, and active states. We do not need "Active + hover" as the active state does not need to change on hover. It should remain active until the user exits the menu. We also do not need "Tabbed into" as it serves the same purpose as Focus. We do not want to overcomplicate the states. Ewa if "active + hover" and "Tabbed into" are needed for other teams, then we will leave it up to Modus to decide.

@cjwinsor @enowak1031 @egunther39 I brought this to the UX team. We are ok with the focus, hover, and active states. We do not need "Active + hover" as the active state does not need to change on hover. It should remain active until the user exits the menu. We also do not need "Tabbed into" as it serves the same purpose as Focus. We do not want to overcomplicate the states. Ewa if "active + hover" and "Tabbed into" are needed for other teams, then we will leave it up to Modus to decide.

@DafneeZambrano, to clarify.  The active + hover state is caused by a user hovering over the element and then interacting with it with a mouse click.  In that moment the styling for active is being combined with the style for hover.  At the point the mouse click starts it should be active and override the hover. From a UX perspective there is no need to detail out this interaction as it makes sense that active should override the hover style.
As for tabbed into, this was just to illustrate the styling, which in this case was as expected. I think I might have messed up my screenshot for the notification icon, as doing that test again has it match focus... which the original difference was what lead me to include it in the first place.


Change link to store page to online store

Provide a description of requested docs changes
We currently use a link that directly opens the store. But in my opinion we should change that to the new online store page, so the link opens on every platform.
https://apps.microsoft.com/store/detail/microsoft-powertoys/XP89DCGQ3K6VLD

Also the aka.ms/getpowertoys link should be adjusted.

cc: @crutkas

live now


Unable to downgrade SMT - Failure [-3005: INSTALL_FAILED_ADP_VERSION_LOCKED]

Exe or script I am unable to successfully install the vulnerable apk.
Failure [-3005: INSTALL_FAILED_ADP_VERSION_LOCKED]
Shows up in both places. Even tried installing via Termux-Shizuku, same error.
Please help.

I'm also having this issue - Galaxy Z Fold 3 5G US (snapdragon) non-carrier (SM-F926U1)
I'm running the following command:
adb shell pm install -r -d -f -g --full --install-reason 3 --enable-rollback /data/local/tmp/samsungTTSVULN2.apk
OneUI 5.1, Android 13, Build TP1A.220624.014.F926U1ES3FWC9
Thanks!

adb shell pm install -d -i com.sec.android.preloadinstaller /data/local/tmp/samsungTTSVULN2.apk