Allow the video source to be specified on the command line

So that I can easily use my spectrometer with different computers, some of which already have other video sources.
Is the preferred way for people to submit pull requests to just change the latest "version" in the src/ directory? Having to ask you to make a new revision every time someone submits a change does seem kind of inconvenient for you (and potentially others that maintain their own customisations (for example me)). Would you perhaps be open to a pull request that unified the project history into a single src/pyspectrometer.py and instead used git's "tag" feature to represent revisions and allow folks to easily run any revision they chose?
Thanks!

I'm gonna close this request, as I think @bobek's work obsoletes it.


add walletconnect support okexchain

Hi, guys：
We are the developers of okexchain. We have developed the corresponding code that supports okexchain based on the wallect connect protocol. Our code has added support for okexchain.
This includes the addition of resolution for OKT type signatures and transfer events.Usage examples are also included.
Please help merge, thank you.

This repo is not actively maintained, no plan to add new feature support (unless bug fixe)

This repo is not actively maintained, no plan to add new feature support (unless bug fixe)

This repo is not actively maintained, no plan to add new feature support (unless bug fixe)

which repo can add new feature, could you give me a link

This repo is not actively maintained, no plan to add new feature support (unless bug fixe)

which repo can add new feature, could you give me a link

@miaohaifeng the official one: https://github.com/WalletConnect/WalletConnectSwift


swaybar font name

If you just have bar{} in your config, swaybar crashes since there is code which checks for "pango:", yet the default font is "monospace 10"
Should we change the default font to "pango:monospace 10" or change swaybar to not check for "pango:". I think pango can deal with fonts starting with "pango:" so that check might not be needed...

Fixed by fc71c6303ca10b59c8f64e752307b0dd26832b52.


Multiple gene selection with dot plot

User story
From a HuBMAP member:

How to view more than 1 gene, dot plots?

Preferred solution
Implement multiple gene selection with a shift+click / command+click interaction.
Implement dot plot with vega/vega-lite.
https://scanpy.readthedocs.io/en/stable/generated/scanpy.pl.dotplot.html#scanpy.pl.dotplot
Determine how the other visualizations update when multiple genes are selected.
Determine how to load gene expression data for multiple genes when it is loaded on-demand via anndata-zarr
Possible alternatives
Allow multiple gene selection via multiple gene list controllers. In that case, we would also need to allow the plot to subscribe to multiple coordination scopes, which Vitessce does not yet support

Related to #754

Depends on #1217


decoding test fails

Test cases are not running clean. Here is the current output using the setuptests branch

*** zstd command line interface 64-bits v1.5.2, by Yann Collet ***
test : basic compression
test : basic decompression
tmp.zst : Decoding error (36) : Corrupted block detected

``

Doing a simple test:
Create a file f1.txt tagged as ISO8859-1
zstd f1.txt -o f1.cmp
zstd -d f1.cmp -o f1.txt2

f1.txt2 will be untagged and not compare equal (if it gets tagged, it will then work)

Question is what the right tagging to do? Should it 'remember' the tag or just always tag it as ISO8859-1 ?

Error has changed:
test : too large compression level => auto-fix
Warning : compression level higher than max, reduced to 19
error: numeric value overflows 32-bit unsigned int

We should also change zstd to continue running tests when one fails.


Fix Error messages

This PR fixes the validator for top_p, which should be allows to be set to 1.0.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

1.0 is not a valid value. top_p must be > 0.0 and < 1.0.

1.0 is not a valid value. top_p must be > 0.0 and < 1.0.

doesn't transformers support 1.0?

Since https://github.com/huggingface/huggingface_hub/pull/2094 there is no client-side validation (no pydantic) to avoid this kind of situation where we can't know before-hand which values the server is able to handle. I'm therefore closing this PR without merging.


Deprecated user-defined Event API

"Create a new mouse event to use as the drag event...."：https://github.com/phosphorjs/phosphor/blob/master/packages/dragdrop/src/index.ts#L1115
MouseEvent.initMouseEvent() is deprecated. try this ?

by the way,  I love phosphor very much. the codes inspires me.
👍 🥇

Thanks! Unfortunately there are several deprecated browser APIs we have to support until all browsers support the new APIs. I don't believe Edge supports this one yet.


[EventRequest] codeunit 5330 "CRM Integration Management".GetIntegrationTableMappingFromCRMRecord(var IntegrationTableMapping: Record "Integration Table Mapping"; RecRef: RecordRef)

Hi Please add a new event to procedure GetIntegrationTableMappingFromCRMRecord in codeunit 5330 "CRM Integration Management"
The event added in the procedure GetIntegrationTableMapping of the same codeunit doesnt have the Recref as a parameter, in order to get the right integration table mapping when we have custom tables that have the same behavior as the CRM Account.
 local procedure GetIntegrationTableMappingFromCRMRecord(var IntegrationTableMapping: Record "Integration Table Mapping"; RecRef: RecordRef)
    var
        CRMAccount: Record "CRM Account";
        CustomerTypeCodeFieldRef: FieldRef;
        CustomerTypeCode: Text;
    begin
        if RecRef.Number <> Database::"CRM Account" then begin
//-----------------------------------------------------------------------
            OnbeforeGetIntegrationTableMapping(IntegrationTableMapping,Recref);
//-----------------------------------------------------------------------
            GetIntegrationTableMapping(IntegrationTableMapping, RecRef.Number);
            exit;
        end;

        CustomerTypeCodeFieldRef := RecRef.Field(CRMAccount.FieldNo(CustomerTypeCode));
        Evaluate(CustomerTypeCode, Format(CustomerTypeCodeFieldRef.Value));
        IntegrationTableMapping.SetRange("Synch. Codeunit ID", CODEUNIT::"CRM Integration Table Synch.");
        IntegrationTableMapping.SetRange("Delete After Synchronization", false);
        IntegrationTableMapping.SetRange("Integration Table ID", RecRef.Number);
        if CustomerTypeCode = Format(CRMAccount.CustomerTypeCode::Customer) then
            IntegrationTableMapping.SetRange("Table ID", Database::Customer)
        else
            if CustomerTypeCode = Format(CRMAccount.CustomerTypeCode::Vendor) then
                IntegrationTableMapping.SetRange("Table ID", Database::Vendor);
        if not IntegrationTableMapping.FindFirst() then
            Error(IntegrationTableMappingNotFoundErr, IntegrationTableMapping.TableCaption, GetTableCaption(RecRef.Number));
    end;

[IntegrationEvent(false, false)]
local procedure onBeforeGetIntegrationTableMapping(var IntegrationTableMapping: Record "Integration Table Mapping"; RecRef: RecordRef)
begin
end

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 47656.


Add restrictions on Dates: Ex. disable past dates

I'm Submitting a ...

[ ] Bug report
[x] Feature request
[ ] Support request

Expected Results

I want the ability to disable past date selection or future date selection. This is a standard feature which is available across all the popular date pickers and is highly useful when you are creating enterprise level applications. If time restrictions can be added, I'm sure Date restrictions wll be fairly easy to implement. Please add it asap.

This is indeed already a feature.  Please see Selectable Dates in the ReadMe.

@layneanderson I am struggling to disable future dates.
Can you advise?


Fixing builds without security

Fixes #610

Build status:

Linux
Mac
Windows

Merging, as this fixes build with security and test failures are unrelated


Re-enabled Behat tests

They'll be horribly broken at the moment, we'll get them fixed after @flashbackzoo's routing fixes are merged. At some point we'll also need to get the new insert-an-image.feature tests over from framework, since they would've been adapted to work with TinyMCE 4 (pull request pending on that one)

@chillu looks like this breaks the npm test command for some reason.


Update README.md

Added an extra spacing between list-item pair.

Just making minor tweaks won't suffice.


Add tokenizeBlocks option and type property to block nodes

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://github.com/angular/angular/blob/main/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] angular.io application / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

I want to move forward, so I'll merge it. If you have any problems please let me know later

@fisker Could you please make me a collaborator so I can npm publish this package?

@fisker Could you please make me a collaborator so I can npm publish this package?

@fisker Could you please make me a collaborator so I can npm publish this package?

You were Invited before..

Sent you an invitation again.


Fix typo in documentation

Changes
Quick fix of a typo in documentation.
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
[ ] Has Tests included if any functionality added or changed
[ ] Follows the commit message standard
[ ] Meets the Tekton contributor standards (including functionality, content, code)
[ ] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[ ] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
Fix typo in documentation

/ok-to-test

/kind documentation

Hi @Areadrill thanks for the fix.
Would you mind completing the required steps for CLA? And for doc changes like this we would not need release notes which are user facing.

Working on that

Ahh just to clarify, we do not need release note but for the commit message format, we might still want to have release note None just like other PRs 😺  :
NONE

Added


Remove FIXME comment in SparkResourceUtil#getTaskSlots

Description
The SparkResourceUtil#getTaskSlots function in the codebase has a FIXME comment, expressing concern about its performance when dynamic allocation is enabled. After further analysis and understanding of Spark's dynamic allocation implementation, it has been determined that the number of executors may be changed, but the cores of each executor remains constant with dynamic allocation.

Assume fixed. Thanks!


ALTER TABLE failed when primary key with nested object column used

CrateDB version: 4.0.7
Problem description:
ALTER TABLE ADD COLUMN failed when table contains PRIMARY KEY, created from object nested columns.
Steps to reproduce:
create table test (pk object as (a int, b int), primary key (pk['a'], pk['b']));
> Table TEST created.
alter table test add x int;
ERROR: SQLParseException: column "pk" specified more than once

Thank you for the bug report. We've a fix which will be part of 4.0.10


added NumberParser(InternationalSystemEnglish)

Number Parser for solving issue https://github.com/scrapinghub/dateparser/issues/46 and Gsoc 2020.

@kishan3 and @marcosmadr I want to participate in GSoC 2020 under the project "Number Parser" and similar ones. As discussed https://github.com/scrapinghub/dateparser/issues/46 I do not think a machine learning model would outperform parsing if done in a good way. Improving code style and testing are still left but wouldn't be too difficult to follow. Please explain what more do you expect from a person doing this project. I know deep learning and RNN/(or CNN) architectures and can use them if required for this project. Also I have good knowledge of data Structures and Algorithms like Knuth Morris Pratt, Trie(Understanding and implementation of Kasai's algorithm), trees/graph  and traversals.
Thanks,
XtremeGood

Hi I though again about this but I dont think if you are working on so many languages(of which I might know only 1 of them) it wouldn't be possible to create it for all different languages(since you need to understand each one of them). Therefore if I have generated the code above then I can use google translate to generate data for all numbers in various languages which I can feed to the model to get the numeric as output. Please reply @kishan3  and @marcosmadr

Please explain what more do you expect from a person doing this project.

I believe the main goal would be to implement such a parser within Dateparser in a way that it can be made to work with different languages.
While I don’t think the project needs to implement that language support, I believe it should implement all the pieces needed for it, so that experts in a language can create a data file, similar to those YAML files we use at the moment, to add natural number parsing support for a language.
And, of course, for Dateparser supporting cardinal numbers would not be enough. Days of the month are usually expressed as ordinal numbers in English.

In that case a machine learning model would be a must. Since I only know English. My current idea is to use the cardinal/English model and google translate to generate data for months, date, year in language and train the model on that data to produce the numberic/target value. Will submit a proposal by the end of the day. Sent from Mail for Windows 10 From: Adrián ChavesSent: 27 March 2020 02:31To: scrapinghub/dateparserCc: Vishesh Mangla; AuthorSubject: Re: [scrapinghub/dateparser] added NumberParser(InternationalSystemEnglish) (#647) Please explain what more do you expect from a person doing this project.I believe the main goal would be to implement such a parser within Dateparser in a way that it can be made to work with different languages.While I don’t think the project needs to implement that language support, I believe it should implement all the pieces needed for it, so that experts in a language can create a data file, similar to those YAML files we use at the moment, to add natural number parsing support for a language.And, of course, for Dateparser supporting cardinal numbers would not be enough. Days of the month are usually expressed as ordinal numbers in English.—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

Psst! You already got most of the translations you need under https://github.com/scrapinghub/dateparser/tree/master/dateparser_data/cldr_language_data/numeral_translation_data.

That makes it easier. But still as we discussed in the chat on GitHub I don’t think there’s a way to create all that parsing without the knowledge of all those languages or machine learning. I have studied French for 6 years that’s why I m saying this. Consider the following:seventeenth april(in English) dix-sept avril(in french). The order of the words get swapped in french. Now considering the number of languages in the world it is impossible to recognise patterns and parse the string to its numerical form that too for day, month etc. Best we can do is only to use a machine learning/deep learning model and leave it to train continuously. By the way “spacy” already has a “label data” which recognises dates, organisation etc in a sentence. It can be used to collect data from large corpus. I will try adding it to the proposal. Please tell whether I should add machine learning or not since I do not have any other method in my mind to achieve this.    Sent from Mail for Windows 10 From: Artur SadurskiSent: 27 March 2020 16:00To: scrapinghub/dateparserCc: Vishesh Mangla; AuthorSubject: Re: [scrapinghub/dateparser] added NumberParser(InternationalSystemEnglish) (#647) Psst! You already got most of the translations you need under https://github.com/scrapinghub/dateparser/tree/master/dateparser_data/cldr_language_data/numeral_translation_data.—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

Please explain what more do you expect from a person doing this project.

I believe the main goal would be to implement such a parser within Dateparser in a way that it can be made to work with different languages.
While I don’t think the project needs to implement that language support, I believe it should implement all the pieces needed for it, so that experts in a language can create a data file, similar to those YAML files we use at the moment, to add natural number parsing support for a language.
And, of course, for Dateparser supporting cardinal numbers would not be enough. Days of the month are usually expressed as ordinal numbers in English.

Well ordinal number's just have "th" or "nd" at the end. It's just the suffix root that is changed.Cardinal and ordinal Numbers.That's is pretty simple to do. One can just create new keys in the dictionary in the code dictionary["first"] = 1 and so on. Main thing is algorithm which I think works for atleast pricing. Now if I assume all languages to follow similar structure like English then I can think of creating multiple keys for a single target. Is there any chat room to communicate?

If you can figure out a system that can work for both English and French, and similar languages provided data from ICU or provided by users in YML format. I think that is a good approach, and I would be satisfied if a GSoC project yields at least that.
Once such a system is in place, people from the community with knowledge of other languages can give feedback about the issues that it presents for other languages, and we can improve the system as needed with feedback. Even if only mentors give feedback, that should be 2-3 more languages which you could work on supporting.

Hi, I would require a little bit of more info regarding what things are to be convered. Can we have a chat on gitter or ircnode?

I would prefer to discuss them here unless there is a good reason not to. That said, given how close we are to the deadline, I’ll try and be available at Freenode’s #dateparser room.

Hi, I have messaged on the ircnode chat. Please reply so that I can sent the proposal asap. Maybe there may be a few hours left to ask for amendments too.

Hi, @Gallaecio @asadurski  @kishan3  @marcosmadr  I am interested in this project and would like to work towards it. Please find attached my GSoC proposal. Would appreciate if you could go through it and provide feedback. Sorry for the short notice.
https://docs.google.com/document/d/17ElRkrvvMBqHXOhFd4_VXc0gG69kpu3GPrAffYFTf4g/edit#

@Gallaecio What kind of text do you scrape with dateparser? Is it like dates written in html tables or dates in between large paragraphs of text?

@XtremeGood
Mainly dateparser.parse() is used to parse dates in a particular format but it can be also used for paragraphs. whereas function dateparser.search.search_dates() is used to find dates in a paragraph. The various available format you can find in dateparser.parse.py.

ok thanks for the info @harsh9200 .

Hi @Gallaecio , Why am I not able to find find ScrappingHub in GSoC's organisations?

I have shared the draft through the Python org under Scrapy. Please check.

@XtremeGood What are your current plans on addressing input of unknown language? Rely on some kind of language detection? Apply all word-to-number changes regardless of the input language?

Well if you have a text split it into words and compare how many words of the text matches with your each language dictionary. The language dictionary with the most words common won. No other approach except for machine learning in my mind.

Sounds like language detection, then :slightly_smiling_face:

If you see this is called bag of words as the approach suggests and is umm.. machine learning. I also have a better approach in mind which is called Light Gradient Boosting Machines which are very fast and people are winning competitions on due to the speed of LGBM Kaggle the hub for machine learning. During the community bonding I will to make it. We can compare if it is fast enough.
https://www.kaggle.com/fabiendaniel/detecting-malwares-with-lgbm

Hi @XtremeGood , I have looked for possible ML-based solution to this problem. Do you have any good literature or better similar projects to back up this approach, especially considering the speed and the multitude of languages to accommodate ?. Most of the similar projects that I have come across stick to rule-based approaches only.

I will close this PR as we are handling this with another approach: https://github.com/scrapinghub/dateparser/pull/711
@XtremeGood Thank you for your efforts here, really appreciated :muscle:


Stripe Firebase Subscription Extension (multiple use in a project)

Using the stripe firebase subscription extension, I am trying to create two different checkouts (two separate customer types) which each checkout showing three price plans. However, both checkout websites are showing the same price plans from one Stripe account. Is it possible to use the Stripe extension multiple times on a Firebase project or is there a limit of one per project (can only use 1 Stripe API key per project)?

Hey @emaggy, you should be able to add more than one Stripe extension for your Firebase project. It is possible with all the other ones so it ought to be the same for this one. Here's a link for you to install it. Just click the button in the top right "Install in console" and select the Firebase project you wish.

If you do need any further assistance, let me know 👍


Asignment Code

Added code for hiring Assignment logic

Uploading P. Venkata Geetha Sreeja(Resume).pdf…


Format of multivariate objective functions

What is the exact format I need to use to define a two parameter function to optimize. For instance:
def func(var_1, var_2):
    return var_1**2 + var_2**2

domain = [{'name': 'var_1', 'type': 'continuous', 'domain': (-1, 1)},
          {'name': 'var_2', 'type': 'continuous', 'domain': (-1, 1)}]

BO = GPyOpt.methods.BayesianOptimization(f=func, domain = domain)

returns the error:
func() missing 1 required positional argument: 'var_2'
Thanks.

Hi, the objective function should take as input and output numpy arrays. That's why you are getting the error (you have the two variables as separated arguments).
Javier

I'll close this one but please re-open if it is not clear.

Thanks for your answer. I am still unable to get this right:
def func(x):
    return np.array([x[0]**2+x[1]**2])

domain = [{'name': 'var_1', 'type': 'continuous', 'domain': (-1, 1)},
          {'name': 'var_2', 'type': 'continuous', 'domain': (-1, 1)}]

BO = GPyOpt.methods.BayesianOptimization(f=func, domain = domain)

returns the error:
IndexError: index 1 is out of bounds for axis 0 with size 1

Hi, the problem is in the input and output of the objective function. They need to be 2d numpy arrays (as it is used in GPy).
Hope this helps!
Javier

Hi, this was not very intuitive for me. I suggest to make it easier in future versions, e.g. the function accepts n inputs, and not a 2d numpy arrays with all the inputs.


Key value store

Implement a key value store as an example Service.

Tests pass; merging. :shipit:


Add: Error pages and _document page. Improve: test/YourContract.ts and MetaHeader

Description
There are 3 changes I've made

I've added Error pages  in packages/nextjs/pages. The addition of 404.tsx and _error.tsx aims to handle errors like "page not found" and "API errors" gracefully.

These pages are leveraging the Error.tsx component to ensure consistent error handling throughout the application.
function Error({ statusCode, message }: ErrorProps) {
  return (

        <title>{`Error - ${statusCode} ${message}`}</title>

        <Image src="/logo.svg" width={300} height={300} alt="Scaffold Logo" />

{`${statusCode} - ${message}`}

          {`Go to Scaffold-ETH's `}
          <Link href="/" className="underline hover:text-info">
            Home
          </Link>
          {` Page`}

  );
}

I have made improvements to the process of obtaining YourContract  in packages/hardhat/test/YourContract.ts. This new approach offers significant advantages, as developers no longer need to update tests every time the deployment process is modified, making it much more convenient and efficient.

    // Since we already have deployment scripts available, there's no need to write them again
    await deployments.fixture(["all"]);
    const deployment: Deployment = await deployments.get("YourContract");
    yourContract = await ethers.getContractAt(deployment.abi, deployment.address);

I've added _document.tsx to the project in packages/nextjs/pages. It holds crucial significance for SEO and ensures proper communication with search engines regarding the website's language.

import { Head, Html, Main, NextScript } from "next/document";

export default function Document() {
  return (

        <NextScript />

  );
}

I've improved MetaHeader in packages/nextjs/components and added these

    {url && (
        <>
          <link rel="canonical" href={url} />
          <meta property="og:url" content={url} />
        </>
      )}
      {timestamp && <meta name="revised" content={timestamp} key="timestamp" />}
      {!noIndex ? <meta name="robots" content="index, follow" /> : <meta name="robots" content="noindex, nofollow" />}

      <meta property="og:type" content="website" />
      <meta property="og:site_name" content="Scaffold-ETH 2 App" />

      <meta name="keywords" key="keywords" content="Ethereum, DeFi, Blockchain, smart contracts" />
      <meta name="apple-mobile-web-app-title" content={`Scaffold-ETH 2 App`} />
      <meta name="apple-mobile-web-app-capable" content="yes" />
      <meta name="apple-mobile-web-app-status-bar-style" content="black" />

Additional Information

[x] I have read the contributing docs (if this is your first contribution)
[x] This is not a duplicate of any existing pull request

Related Issues
Your ENS/address: 0xB8B14B7f0E4dF000f0654aF98498d52e567F2bfE

Hey @harendra-shakya thanks for this 🙌, But please readme the contributing docs, closing this for now


Crash on iPad for iOS 15

I'm getting a crash force unwrapping a nil value testing on iOS 15 Beta but on iPad only. iPhone seems to work fine. The crash occurs here
// It's okay to force-unwrap here because we pass a non-empty array.
return verticalAlignmentAxisForLine(with: layoutAttributesInLine)!

the cause being on iPad
super.layoutAttributesForElements called by layoutAttributes(forItemsInLineWith: currentLayoutAttributes) returns nil (and therefore an empty array) whereas on iPhone this returns the layout attributes of the cell. The verticalAlignmentAxisForLine func returns nil if the attributes array is empty therefore causing the force unwrap to crash.
guard let firstAttribute = layoutAttributes.first else {
  return nil
}

Whilst this issue might be fixed in a subsequent beta release I think it exposes a valid issue with the force unwrap. Perhaps a default alignment should be returned by verticalAlignmentAxisForLine instead of nil?
guard let firstAttribute = layoutAttributes.first else {
  return AlignmentAxis(alignment: verticalAlignment, position: 0)
}

@chamitha I faced the same problem, please try using alignedFlowLayout?.verticalAlignment = .center

@chamitha I faced the same problem, please try using alignedFlowLayout?.verticalAlignment = .center

Thanks @JAGUAR108  but I need the vertical alignment to be top.

I changed the following method to return at least 1 layout attribute, and it looks like it's working.
fileprivate func layoutAttributes(forItemsInLineWith layoutAttributes: UICollectionViewLayoutAttributes) -> [UICollectionViewLayoutAttributes] {
    guard let lineWidth = contentWidth else {
        return [layoutAttributes]
    }
    var lineFrame = layoutAttributes.frame
    lineFrame.origin.x = sectionInset.left
    lineFrame.size.width = lineWidth
    let result = super.layoutAttributesForElements(in: lineFrame)
    if let result = result, !result.isEmpty {
        return result
    } else {
        return [UICollectionViewLayoutAttributes()]
    }
}

I changed the following method to return at least 1 layout attribute, and it looks like it's working.
fileprivate func layoutAttributes(forItemsInLineWith layoutAttributes: UICollectionViewLayoutAttributes) -> [UICollectionViewLayoutAttributes] {
    guard let lineWidth = contentWidth else {
        return [layoutAttributes]
    }
    var lineFrame = layoutAttributes.frame
    lineFrame.origin.x = sectionInset.left
    lineFrame.size.width = lineWidth
    let result = super.layoutAttributesForElements(in: lineFrame)
    if let result = result, !result.isEmpty {
        return result
    } else {
        return [UICollectionViewLayoutAttributes()]
    }
}

working.... 💯 🔥


[BUG] Not able to use if conditions!

Description
Not able to use if conditions: gives an error
Traceback (most recent call last):
  File <stdin>, line 1, in <program>
  File <stdin>, line 1, in run
Runtime Error: Failed to finish executing script "bug.pansy"
Traceback (most recent call last):
  File bug.pansy, line 2, in <program>
Runtime Error: Illegal operation

if food == "pizza":
   ^^^^^^^^^^^^^^^^
  print("Yammi!")
^^^^^^^^^^^^^^^^^
end
^^^

run("bug.pansy")

I am on Windows
To Reproduce The Error
Steps to reproduce the behavior:

Start Pansy with the command python shell.pansy
Execute the code run("bug.pansy") in the shell (I have created a file called bug.pansy for this issue)

Bug.pansy:
var food = "pizza"
if food == "pizza":
print("Yammi!")
end
This was an example in the documentation.
Note:
If you write
var n = 10
if n == 10:
  print("n = 10")
end

This works. It is a problem with checking strings.
Expected behavior
Expected to print Yammi! Instead printed illegal operation error
Screenshots

I am on Windows x64 Intel.

Thanks for the help!!

Thanks, bro!


Integrate Cassandra into Lasair-LSST interface

Need to modify the code to allow the Lasair-LSST interface to collect the detections (diaSources) from Cassandra

Web interface updated to allow polling of local single-node cassandra instance. Still to do is get the ingest working.

Waiting for #93 and #118

Blockage caused by internal network problems has now been resolved.  Code modifications ongoing.

Blockage caused by internal network problems has now been resolved.  Code modifications ongoing.

Ongoing.  Code is in place, we just need to remove some flags to allow the Web interface to pull its detections from Cassandra, and not the avro files.

As agreed at the 28/APR/21 Lasair internal review, @genghisken has written a report  for the A3.04 activity. At the above meeting it was agreed all tickets in A3.04 should be marked as done then closed.


Show file in which the 'missing set_paper_trail_whodunnit' warning messages is shown

I'm in the process of migrating paper_trail 4 to 5. I ran my specs and got two warnings:

user_for_paper_trail is present, but whodunnit has not been set.
PaperTrail no longer adds the set_paper_trail_whodunnit callback for
you. To continue recording whodunnit, please add this before_action
callback to your ApplicationController . For more information,
please see https://git.io/vrTsk

However, since I have quite a few controllers and a couple hundred specs covering them, it was kind of tedious finding which controller caused this warnings. Is there a way to show the file which caused the warning? That would have been very helpful. :)

PS: Is there a way for paper_trail to check if I set this before_action? Because I did (after finding the controllers) and noticed that they already call set_paper_trail_whodunnit.

However, since I have quite a few controllers and a couple hundred specs covering them, it was kind of tedious finding which controller caused this warnings. Is there a way to show the file which caused the warning?

No, but you're not the first person with this idea. Back in December, @stereobooster suggested the same thing in https://github.com/airblade/paper_trail/issues/645. I would welcome a PR that adds this feature, thanks!


Canvaslayers with the same layer don't follow the order on the tree because of the position of a node

Godot version
4.2.dev4
System information
Windows 10.0.19045 - Vulkan (Mobile) - integrated AMD Radeon(TM) Vega 8 Graphics (Advanced Micro Devices, Inc.; 30.0.13023.4001) - AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx (8 Threads)
Issue description

This issue also affects the rendering results at runtime.
Related to https://github.com/godotengine/godot/issues/25384?
Steps to reproduce
Download Minimal reproduction project.
Change the position of node N and observe the rendering result(Like in the gif animation above).
Minimal reproduction project
CanvasLayerBug.zip

According to the docs https://docs.godotengine.org/en/latest/tutorials/2d/canvas_layers.html
"CanvasLayers are independent of tree order, and they only depend on their layer number, so they can be instantiated when needed."
So CanvasLayers with the same layer-index seem to be ordered in a non-deterministic way.


Error 0x80370102

i Reinstalled wsl and virtual machine in Windows features

@sieja - Could you make sure that virtualization is enabled via your BIOS?

yes, before updating used wsl 1

Can you ensure both these are enabled?

Hardware Virtualization Assists* in the form of:
Intel VT-x
AMD AMD-V

Hyper-V requires Hardware Data Execution Prevention:
Intel refers to it as Execute Disable (XD). This feature must be enabled in the system BIOS.
AMD refers to it as No Execute (NX). This feature must be enabled in the system BIOS.

hi @benhillis .
Enabling Virtualization in the BIOS solved it for me. i know it is kind of obvious but maybe this could be added to the docs.
Thanks.

Yeah, hm. I guess this means if you're running a Windows VM you're stuck with WSL 1, yeah? (Unless Generation 1 Hyper-V can have VMs within VMs)

@Aidolii hyper-v supports nested Virtualization so this is not an issue.

I only mentioned it because I already tried. I made sure to run the Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform command of course. It gave me the error listed above, 80370102.

Make sure it says "Virtualization: Enabled" on Task Manager -> Performance tab -> CPU
Also you can run systeminfo on an elevated Powershell and at thebottom it will tell you if you have Hyper-v support.

@onomatopellan @benhillis

@Aidolii So the host OS is Linux? I think that is an important detail.
Did you try Windows Sandbox feature to see if it works? It could be that QEMU/KVM needs a patch for running WSL2.

uh, what? no, the host OS is Windows.

Sorry, I was confused because of this: https://stackoverflow.com/questions/51364707/how-does-windows-10-task-manager-detect-a-virtual-machine
In my case I'm running WSL2 inside a Hyper-V VM with Win10 v1903 as host and Task Manager says "Logical processors" and "Virtualization".

It says virtual processors because it's a Generation 2 VM with NUMA spanning enabled. Either of those two things could be an issue.
I forget what processor it is off the top of my head, I'll have to check when I get home.

@onomatopellan The host machine is on an i5-6500 (non-K unfortunately). Windows Sandbox is grayed out and says the processor does not have the necessary virtualization capabilities.

@Aidolii Thanks. Intel CPU shouldn't be an issue with nested virtualization.
I managed to break my install while disabling and enabling windows features so if you can't enable any hyper-v feature anymore it's probably because of a broken install. Only a refresh/clean install fixed it for me.

@onomatopellan Sorry it took me so long to reply. I was using a modified installation so I wanted to come back with an unmodified install, which took me a while to get around to.
Unfortunately, even with a completely vanilla install of 18917, I hit the same roadblocks as before. Bear in mind, Hyper-V Hypervisor is the only Hyper-V Windows feature that is grayed out, Hyper-V Services and Hyper-V Management Tools are still available.
If this is not supposed to happen, please let me know.

If the hypervisor feature is greyed out, likely virtualization is disabled in your BIOS.

If the hypervisor feature is greyed out, likely virtualization is disabled in your BIOS.

It's grayed out within the VM. It's obviously not grayed out on the host machine.

Ok, I discovered the issue. Nested virtualization is not enabled on new Hyper-V VMs by default, you have to enable it after the fact with a command on the host machine. (Make sure the target is powered off.)
Set-VMProcessor <VMName> -ExposeVirtualizationExtensions $true
This will enable it on every existing VM that is currently powered off, but future VMs will still need the command.
Get-VM | ? State -eq 'Off' | Set-VMProcessor -ExposeVirtualizationExtensions $true

Ok, I discovered the issue. Nested virtualization is not enabled on new Hyper-V VMs by default because it disables the Dynamic Memory feature for that VM. You have to enable it after the fact with a command on the host machine (make sure the target is powered off):
Set-VMProcessor <VMName> -ExposeVirtualizationExtensions $true
Alternatively, this command will enable it on every existing VM that is currently powered off (does not affect future VMs):
Get-VM | ? State -eq 'Off' | Set-VMProcessor -ExposeVirtualizationExtensions $true
** if this is off-topic, or belongs somewhere else, please let me know and I'll move it.  Also, if I read the thread correctly, this is regarding trying to enable WSL2 in a Windows 10 vm running on a linux host, but the errors that I'm seeing are basically the same **

Will running these commands on a Windows 10 host allow other hypervisors (particularly Virtualbox) to run with WSL2 enabled on the host also?  I've found that enabling the VirtualMachinePlatform functionality for WSL2 on my host machine (specs below) gives me an error in both VMWare Workstation 12.5.6 and VirtualBox 6.0.8 r130520 (Qt5.6.2) that virtualization is not enabled in the bios even though it is.  if i disable VirtualMachinePlatform and reboot, VMWare and VirtualBox both work again.  I do not have Hyper-V installed on my machine.  I'd love to take advantage of the benefits of WSL2, but for my docker development setup on my work machine, I need to be able to use at least VirtualBox, so this is a killer for me..
Machine Specs:
Dell xps 8900
32GB RAM
i7-8700 quad core with HyperThreading, all Virtualization enabled in the bios, XD Enabled in bios
Windows 10 Enterprise 1903 build 18362.10006
all latest updates for firmware/bios are installed, as are all the latest windows updates.  Currently on the Slow Ring of the Windows Insider Program
Thanks!

this is regarding trying to enable WSL2 in a Windows 10 vm running on a linux host

No, that was someone's incorrect assumption.

Will running these commands on a Windows 10 host allow other hypervisors (particularly Virtualbox) to run with WSL2 enabled on the host also?

Afraid not.

if i disable VirtualMachinePlatform and reboot, VMWare and VirtualBox both work again. I do not have Hyper-V installed on my machine

VMWare and VirtualBox have to publish updates that make themselves compatible, just like they did with Hyper-V.

Hi guys
I am having a hard time to make WSL2 work
I am on Win10 Fastring, OS Build 19013.1122
[img]https://i.imgur.com/NE3Rwnh.png[/img]

this is regarding trying to enable WSL2 in a Windows 10 vm running on a linux host

No, that was someone's incorrect assumption.

Will running these commands on a Windows 10 host allow other hypervisors (particularly Virtualbox) to run with WSL2 enabled on the host also?

Afraid not.

if i disable VirtualMachinePlatform and reboot, VMWare and VirtualBox both work again. I do not have Hyper-V installed on my machine

VMWare and VirtualBox have to publish updates that make themselves compatible, just like they did with Hyper-V. The technology is similar so it shouldn't take much of their time whenever they get around to it.

Thanks for the clarification, Ghost.  Hopefully they'll get these wrinkles ironed out soon.

I have a Windows 10 Pro PC (not VM) running build 19041.   I had WSL2 working.   I am not sure when it broke but it might have been after I got VMWare Workstation working again.  Nothing has changed in my BIOS (all virtualization options are on).   Now I am seeing the following:
When I try my original ubuntu shell I get.

So I tried loading the ubuntu 20.04 just for yucks and see this:

Suggestions?

@transientuser From that Windows Features window untick "Virtual Machine Platform" and restart Windows. Then tick it again and restart Windows.
This is from the May 2020 release notes:

We are aware of an issue where using the DISM (Deployment Image Servicing and Management) tool to repair corruption on systems running the May 2020 Update does not always report the correct status. This will be fixed in an upcoming servicing release.

It looks like Dism never knows when a feature is really enabled so you need to try several times until it works.

You really had my hopes up but it did not work.  I tried uncheck / reboot / recheck / reboot a couple of times, then tried going through the whole wsl2 install process.  Then I tried uninstalling ubuntu / reinstalling.    And I also tried installing SUSE.
Same results each time.   And now that I have uninstalled ubuntu and reinstalled it and SUSE I see this:

Uninstall that Legacy distro with wsl.exe --unregister Legacy.
You can also try to enable "Windows Sandbox". If it works at least you will know you have everything needed (containers, virtualization) for running WSL2.

Ok.  I unistalled everything.   Virtual platform, WSL, ubuntu.   Rebooted.   Followed the install steps, loaded the kernel update, installed ubuntu, bounced lxxsmanager (a couple of times) and it finally worked.    So I am good now.
Now if only I could get past windows update hanging at 61% for 2004 on my other computer I would be golden

Is there a comprehensive checklist and order to follow? also how did you uninstall everything? @transientuser

@transientuser I have been struggling with exactly the same issue. Could you offer some detail explanations on what exactly did you do? What do you mean by uninstalling virtual platform and wsl, just uncheck them at "Turn windows features on and off" ?
Thanks!

Ok i had luck following these instructions. i didnt have to bounce lxxmgr but uninstalling everything rebooting and installing everything and rebooting did it for me.

Ok. I unistalled everything. Virtual platform, WSL, ubuntu. Rebooted. Followed the install steps, loaded the kernel update, installed ubuntu, bounced lxxsmanager (a couple of times) and it finally worked. So I am good now.
Now if only I could get past windows update hanging at 61% for 2004 on my other computer I would be golden

I was getting the same error message, so I was not sure if my PC is capable of virtualization. I tried to run Windows Sandbox as it also requires virtualization. While trying to run sandbox I was getting some error messages too. Finally, I was able to fix it by enabling hypervisor and setting hypervisorlaunchtype to auto.
I've managed to fix it by these steps
https://www.partitionwizard.com/partitionmanager/no-hypervisor-was-found.html

I managed to solve it by first enabling "Windows Hypervisor Platform" and "Containers"

After rebooting the error message changed to "Virtual hard disk files must be uncompressed and unencrypted and must not be sparse". Then I solved it according to Post 4103.
Quote from @dmchurch ::: Go to the Ubuntu directory in your profile folder (something like %USERPROFILE%\AppData\Local\Packages\CanonicalGroupLimited...), right click on "LocalState", Properties, Advanced, deselect "Compress contents" (and I suppose "Encrypt contents" as well if that's checked). When it asks whether you want to apply to just this folder or to all subfolders and files, you can say "just this folder", because all you're doing is clearing that "compress" flag. After that the wsl --set-version command should work.

Same here. Used VMware Fusion and needed to enable VT-X in CPU settings.

I solved this by disabling Virtual Machine Platform, Windows Hypervisor Platform and Windows Subsystem for Linux in the "Turn Windows features off and on" and the rebooting, re-enabling and rebooting again.  This was after had checked BIOS, Task Manager and systeminfo to see that the values there were as specified above.
I still had an issue after this where the wsl session crashed as I was trying to create a user for the new distro, but found that the distro had been installed so was able to create new user inside wsl and then use commands here to change default user https://docs.microsoft.com/en-us/windows/wsl/wsl-config#change-the-default-user-for-a-distribution
My trip up at that stage was that the listed version has a different command - eg Ubuntu-18.04 becomes ubuntu1804 to change the config.

I want to share my case.
I got exactly same error when installing Ubuntu 18.04.
In my case, the main reason was due to CPU virtualization. After I enabled CPU Virtualization, it works.
Hardware SPEC
AMD Ryzen3600 CPU / B450M mainboard
Actions

Go to BIOS menu
Go to Advanced Frequency Settings
Go to Advanced CPU Core Settings
Enable SVM Mode
Click Save & Exit
Click Save & Exit Setup

After doing above, I can install Ubuntu 18.04 without any errors.
Thanks

To fix the problem, just execute this as administrator, then reboot :
bcdedit /set hypervisorlaunchtype auto

This fixed it for me https://blog.johannfenech.com/fix-wslregisterdistribution-failed-with-error-0x80370102/

Enable  works for me. (holy shit after many trying and even reinstalled my windows10!!)

"Virtualization" and "Execute Disable Bi"t are already enabled in the BIOS but even so the error 0x80370102 appears, I don't know what to do anymore :/

I fixed this error only by disabling the VT-d technology in the BIOS

To fix the problem, just execute this as administrator, then reboot :
bcdedit /set hypervisorlaunchtype auto
It's 100% working for me 😉
For VirtualBox user : this option will slow down you VMs, you can roll back with bcdedit /set hypervisorlaunchtype off

This is what worked for me but I can't run my vmware virtual machines anymore unless I set it back to off really annoying...

To fix the problem, just execute this as administrator, then reboot :
bcdedit /set hypervisorlaunchtype auto
It's 100% working for me 😉
For VirtualBox user : this option will slow down you VMs, you can roll back with bcdedit /set hypervisorlaunchtype off

This is what worked for me but I can't run my vmware virtual machines anymore unless I set it back to off really annoying...

I am sure that if you update your VMs and VMware software it will be fixed

To fix the problem, just execute this as administrator, then reboot :
bcdedit /set hypervisorlaunchtype auto
It's 100% working for me 😉
For VirtualBox user : this option will slow down you VMs, you can roll back with bcdedit /set hypervisorlaunchtype off

This is what worked for me but I can't run my vmware virtual machines anymore unless I set it back to off really annoying...

I am sure that if you update your VMs and VMware software it will be fixed

I Had vmware 15.5.5 as mentionned in the vmware blog.
As you said I tried to get new updates for vmware and 15.5.6 was out after reboot it works thanks.

Disabed Limit CPUID Max works for me.
Thx, @johannfenech

To fix the problem, just execute this as administrator, then reboot :
bcdedit /set hypervisorlaunchtype auto
It's 100% working for me 😉
For VirtualBox user : this option will slow down you VMs, you can roll back with bcdedit /set hypervisorlaunchtype off

It worked for me as well! Thanks a lot!

Ok. I unistalled everything. Virtual platform, WSL, ubuntu. Rebooted. Followed the install steps, loaded the kernel update, installed ubuntu, bounced lxxsmanager (a couple of times) and it finally worked. So I am good now.

bcdedit /set hypervisorlaunchtype auto

I tried this steps and it works like a charm. Thankss

Ok. I unistalled everything. Virtual platform, WSL, ubuntu. Rebooted. Followed the install steps, loaded the kernel update, installed ubuntu, bounced lxxsmanager (a couple of times) and it finally worked. So I am good now.

bcdedit /set hypervisorlaunchtype auto

I tried this steps and it works like a charm. Thankss

It Works!! Thank you

Hello I had the same problem as you and I couldn't find anything on the web ... I noticed a little tweak in Vmware. The attached capture shows you what I just checked to make it work properly

i am also having the same issue and i also installed the packages as showed in the up and i also enabled the VTX and virtualization but still i am having the same issue. Please help

To fix the problem, just execute this as administrator, then reboot :
bcdedit /set hypervisorlaunchtype auto
It's 100% working for me 😉
For VirtualBox user : this option will slow down you VMs, you can roll back with bcdedit /set hypervisorlaunchtype off

This solution should be pasted all over the internet. Just lost one day of my life searching for a solution that turns out to be one line of code. And indeed, when trying to start up my VMware player, we need to switch back  to "bcdedit /set hypervisorlaunchtype off".   Yep, makes sense...

i Reinstalled wsl and virtual machine in Windows features

I solved this by upgrading my windows build from 18363 to 19042 which is the October 2020H2 update. All other fixes were not working. However bumping my build number and upgrading the build of Windows magically solved everything. I am now running on WSL2 and my reason for update was so that I could run docker containers and test my deployments. Attached is a screenshot of my current version and WSL version.

Depois de fazer praticamente tudo que li pela internet, o que resolveu foi que para quem usa CPU AMD, além de habilitar no BIOS o SVM tem que habilitar o NX também, após fazer isso o erro desapareceu e instalou normalmente.

When I tryed to install current version Ubuntu it's faild with

WslRegisterDistribution failed with error: 0x80370102

solution that helped me:

wsl --set-default-version 2 command actually doesn't work for me
that's why I have set default wsl version to 1 wsl --set-default-version 1
after that I could install Ubuntu without any error

then set wsl 2 manually for current Ubuntu wsl --set-version Ubuntu 2

Done.

All thanks to the author of this post

When I tryed to install current version Ubuntu it's faild with

WslRegisterDistribution failed with error: 0x80370102

solution that helped me:

wsl --set-default-version 2 command actually doesn't work for me
that's why I have set default wsl version to 1 wsl --set-default-version 1
after that I could install Ubuntu without any error

then set wsl 2 manually for current Ubuntu wsl --set-version Ubuntu 2

Done.

All thanks to the author of this post

I have the problem

WslRegisterDistribution failed with error: 0x80370102
Error: 0x80370102 The virtual machine could not be started because a required feature is not installed.

when trying to install Docker for Windows on a Windows 10 professional 2020H2 installation that runs in a VirtualBox under Ubuntu 20 on a Dell 7530 ( Intel® Core™ i7-8850H CPU @ 2.60GHz × 12 ) with secure boot and virtualization enabled on BIOS level.
As as as I understand the hardware / bios should support all that is needed in general.
Does this mean that WSL 2 is not at all supported for Windows 10 running as a VirtualBox VM ?
Is there a way to figure out the root cause for the failure ?

I have the problem

WslRegisterDistribution failed with error: 0x80370102
Error: 0x80370102 The virtual machine could not be started because a required feature is not installed.

when trying to install Docker for Windows on a Windows 10 professional 2020H2 installation that runs in a VirtualBox under Ubuntu 20 on a Dell 7530 ( Intel® Core™ i7-8850H CPU @ 2.60GHz × 12 ) with secure boot and virtualization enabled on BIOS level.
As as as I understand the hardware / bios should support all that is needed in general.
Does this mean that WSL 2 is not at all supported for Windows 10 running as a VirtualBox VM ?
Is there a way to figure out the root cause for the failure ?

Hello
as most of people, i have virtualization enabled in bios, and enabled requested windows features but still having error message WslRegisterDistribution failed with error: 0x80370102
i did many research and i think there are only one reason for not getting wsl2 to work
that's due to hardware non supporting Second Level Address Translation (SLAT) for hyper-v which is now required instead of recommended.
open cmd
run command: > systeminfo
check Hyper-V Requirements at the end:
                           VM Monitor Mode Extensions: Yes
                           Virtualization Enabled In Firmware: Yes
                           Second Level Address Translation: No
                           Data Execution Prevention Available: Yes

if you have No means that you can't use wsl2
Have a good day

Hello
as most of people, i have virtualization enabled in bios, and enabled requested windows features but still having error message WslRegisterDistribution failed with error: 0x80370102
i did many research and i think there are only one reason for not getting wsl2 to work
that's due to hardware non supporting Second Level Address Translation (SLAT) for hyper-v which is now required instead of recommended.
open cmd
run command: > systeminfo
check Hyper-V Requirements at the end:
                           VM Monitor Mode Extensions: Yes
                           Virtualization Enabled In Firmware: Yes
                           Second Level Address Translation: No
                           Data Execution Prevention Available: Yes

if you have No means that you can't use wsl2
Have a good day

PS C:\Windows\system32> systeminfo.exe ... OS Name:                   Microsoft Windows 10 Pro OS Version:                10.0.19042 N/A Build 19042 OS Manufacturer:           Microsoft Corporation OS Configuration:          Standalone Workstation OS Build Type:             Multiprocessor Free Registered Owner:          Windows User Registered Organization: Product ID:                00330-71363-93496-AAOEM Original Install Date:     04/01/2021, 12:10:20 System Boot Time:          06/01/2021, 07:41:59 System Manufacturer:       innotek GmbH System Model:              VirtualBox System Type:               x64-based PC Processor(s):              1 Processor(s) Installed.                            [01]: Intel64 Family 6 Model 158 Stepping 10 GenuineIntel ~2592 Mhz BIOS Version:              innotek GmbH VirtualBox, 01/12/2006 ... Hyper-V Requirements:      A hypervisor has been detected. Features required for Hyper-V will not be displayed.

PS C:\Windows\system32> systeminfo.exe ... OS Name:                   Microsoft Windows 10 Pro OS Version:                10.0.19042 N/A Build 19042 OS Manufacturer:           Microsoft Corporation OS Configuration:          Standalone Workstation OS Build Type:             Multiprocessor Free Registered Owner:          Windows User Registered Organization: Product ID:                00330-71363-93496-AAOEM Original Install Date:     04/01/2021, 12:10:20 System Boot Time:          06/01/2021, 07:41:59 System Manufacturer:       innotek GmbH System Model:              VirtualBox System Type:               x64-based PC Processor(s):              1 Processor(s) Installed.                            [01]: Intel64 Family 6 Model 158 Stepping 10 GenuineIntel ~2592 Mhz BIOS Version:              innotek GmbH VirtualBox, 01/12/2006 ... Hyper-V Requirements:      A hypervisor has been detected. Features required for Hyper-V will not be displayed.

@JuergenKindler wsl2 can be run inside a VM using VMware workstation (version >15.5)
as they said in their blog, VMware Workstation/Player can now run when Hyper-V is enabled.
but i dont know if it's the same case with virtualbox

@JuergenKindler wsl2 can be run inside a VM using VMware workstation (version >15.5)
as they said in their blog, VMware Workstation/Player can now run when Hyper-V is enabled.
but i dont know if it's the same case with virtualbox

hi @benhillis.

I'd like to share the same thing, but in my case I am using Windows Virtual Machine by VMware and I tried to use WSL with ubuntu and the error code 0x80370102 happened even doing all steps for WSL installation.  Then It works when I have Enabled Virtualization in the VM Ware settings

Thanks.

I have this same problem, but so far I had no luck figuring out how to fix it.
in msinfo, I get:
OS Name Microsoft Windows 10 Home
Version 10.0.19042 Build 19042
System Manufacturer Microsoft Corporation
System Model Surface 3
System Type x64-based PC
System SKU Surface_3
Processor Intel(R) Atom(TM) x7-Z8700 CPU @ 1.60GHz, 1601 Mhz, 4 Core(s), 4 Logical Processor(s)
BIOS Version/Date American Megatrends Inc. 1.51116.238, 3/9/2015
SMBIOS Version 2.8
Embedded Controller Version 255.255
BIOS ode UEFI
Installed Physical Memory (RAM) 4.00 GB
Hyper-V - VM Monitor Mode Extensions Yes
Hyper-V - Second Level Address Translation Extensions Yes
Hyper-V - Virtualization Enabled in Firmware Yes
Hyper-V - Data Execution Protection Yes

Note that VirtualBox and VmWare Player seem to work without issues.
I tried using Windows 10 Pro, but had the same issue.
I opened WinDBG and looked at the IA32_FEATURE_CONTROL MSR (0x3A) and it reports value 0x5 (Locked + VMX Enabled)

I went ahead and installed Windows Pro + Hyper-V, launching Hyper-V VMs would fail saying that the hypervisor is not running, even though the services were running.
Looking at the event log, I found the following message:

Hyper-V launch failed; the Hyper-V boot loader was unable to allocate sufficient resources to perform the launch.

It seems like 4GiB of ram might not be enough to run Hyper-V (maybe it is because some of the ram goes to the onboard video  card memory?)

Found a solution. @mvanotti
Found this [https://blog.johannfenech.com/fix-wslregisterdistribution-failed-with-error-0x80370102/]
Had to change my WSL setting to 1 instead of 2.
Didn't change the bios setting yet, might do it in the future.

Hello I am trying to install WSL2 on Ubuntu 20.04. my BIOS is Legacy. Does this actually mean I cannot change the virtualization settings as stated here?
I ran through all of the steps in many official documentations but I cant turn Virtualization on:

More settings info:

systeminfo32 tells me I have legacy:

off topic but I'm using this old windows bc my new mac M1 isnt compatible with a bunch of things I need to code but even this backup is having issues and I am big sad ;{

temporary fix: use ws1 instead of ws2:
wsl --set-default-version 1
then just run the ubuntu from the startup

If you're using HyperV, shutdown the VM and use this script in PowerShell:
set-vmprocessor nameofyourvm -ExposeVirtualizationExtensions $true
Next, disable dynamic RAM (HyperV) and start the VM.

I was able to fix it by enabling virtualization in the bios, and enabling Hyper V after, if virtualization is not enabled in the bios the dropdown in Hyper V will have a greyed-out option.

temporary fix: use ws1 instead of ws2:
wsl --set-default-version 1
then just run the ubuntu from the startup

good solutions ,it works.

WSLg will it run inside a VM running Beta Windows 11??

I had tested prety much everything: Virtualization was enabled in the Bios but did not show up in the task manager.
Intel VT-d was enabled too.
Finally disabling Intel TXT in the bios solved the issue: Virtualization showed up an everything came like is should.

This tutorial works for me.

On Surface 3, Windows 10 Home, 21H1, 19043.1237.
After trying

cdedit /set hypervisorlaunchtype auto
turning off and on Virtual Machine Platform, Windows Hypervisor Platform, Windows Subsystem for Linux in Turn Windows features on and off
starting Virtual Machine in Oracle VirtualBox, I have Virtualization enabled

I can install Ubuntu version 1, but when I try to convert it to 2 with wsl --set-version Ubuntu 2 I get conversion error. Installing it directly with wsl --set-default-version 2 gives me the above error 0x80370102.
@jackchammons any hope of running wsl 2 for this case or at least understanding which feature is missing?

sorry for reviving this issue here, but figured i'd post since its still open. I'm having the exact same error described here. I'm on windows 11 21H2 OS build 22000.527. I've tried everything listed in this issue since its creation except doing a clean install yet the issue persists. I've validated my hardware supports this and can run hyper v vms and vm's with other systems.
Has anyone encountered this on windows 11 and know if the solution to make it work is any different. wsl1 does work but i'm stubborn and want wsl 2

I fixed this problem with the 21H2 Update for win 10 (10.0.19044.1586)
Maybe it help somebody else

wsl --set-default-version 1 - fix my problem
win 10 x64 21h2 19044.1706
xeon 2678 v3

wsl --set-default-version 1 - fix my problem
win 10 x64 21h2 19044.1706 xeon 2678 v3

Fixed the issue for me - and really quick too! Hours of frustration solved by a single line of code. Love it.

Can enabling NX please be added to documentation? This would severely reduce the amount of time trying to solve the issue of not being able to install a distro on WSL.

wsl --set-default-version 1

Thank you so much! This solved my issue as well. I was stuck on this for a while on this one! Thank you again.


Missing argument when used in DAX simulation

When using this package in a DAX.sim simulation of an experiment, an error is thrown for a missing argument:
ERROR<9>:dax.sim.ddb:Controller "pyvcam" is missing the "--bind {bind}" argument
Traceback (most recent call last):
  File "/nix/store/y9g5wx06a7fna918k76ya6rmz4zzlwkm-python3-3.9.13-env/lib/python3.9/site-packages/dax/sim/ddb.py", line 198, in enable_dax_sim
    _mutate_ddb_entry(k, v, config=config_data, used_ports=used_ports)
  File "/nix/store/y9g5wx06a7fna918k76ya6rmz4zzlwkm-python3-3.9.13-env/lib/python3.9/site-packages/dax/sim/ddb.py", line 252, in _mutate_ddb_entry
    _mutate_controller(key, value, config=config, used_ports=used_ports)
  File "/nix/store/y9g5wx06a7fna918k76ya6rmz4zzlwkm-python3-3.9.13-env/lib/python3.9/site-packages/dax/sim/ddb.py", line 343, in _mutate_controller
    raise ValueError(f'Controller "{key}" is missing the "--bind {{bind}}" argument')
ValueError: Controller "pyvcam" is missing the "--bind {bind}" argument
Traceback (most recent call last):
  File "/nix/store/51pf67ils7wcn8hkb8ayb385gnizznvm-python3.9-artiq-7.8160.81dbbd0/bin/.artiq_run-wrapped", line 9, in <module>
    sys.exit(main())
  File "/nix/store/y9g5wx06a7fna918k76ya6rmz4zzlwkm-python3-3.9.13-env/lib/python3.9/site-packages/artiq/frontend/artiq_run.py", line 224, in main
    return run(with_file=True)
  File "/nix/store/y9g5wx06a7fna918k76ya6rmz4zzlwkm-python3-3.9.13-env/lib/python3.9/site-packages/artiq/frontend/artiq_run.py", line 194, in run
    device_mgr = DeviceManager(DeviceDB(args.device_db),
  File "/nix/store/y9g5wx06a7fna918k76ya6rmz4zzlwkm-python3-3.9.13-env/lib/python3.9/site-packages/artiq/master/databases.py", line 22, in __init__
    self.data = Notifier(device_db_from_file(self.backing_file))
  File "/nix/store/y9g5wx06a7fna918k76ya6rmz4zzlwkm-python3-3.9.13-env/lib/python3.9/site-packages/artiq/master/databases.py", line 11, in device_db_from_file
    mod = file_import(filename)
  File "/nix/store/y9g5wx06a7fna918k76ya6rmz4zzlwkm-python3-3.9.13-env/lib/python3.9/site-packages/artiq/tools.py", line 87, in file_import
    spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/home/cepstein/Projects/QuantumIon-ARTIQ-System/devices/device_db_waterloo2.py", line 1060, in <module>
    enable_dax_sim(device_db)
  File "/nix/store/y9g5wx06a7fna918k76ya6rmz4zzlwkm-python3-3.9.13-env/lib/python3.9/site-packages/dax/sim/ddb.py", line 198, in enable_dax_sim
    _mutate_ddb_entry(k, v, config=config_data, used_ports=used_ports)
  File "/nix/store/y9g5wx06a7fna918k76ya6rmz4zzlwkm-python3-3.9.13-env/lib/python3.9/site-packages/dax/sim/ddb.py", line 252, in _mutate_ddb_entry
    _mutate_controller(key, value, config=config, used_ports=used_ports)
  File "/nix/store/y9g5wx06a7fna918k76ya6rmz4zzlwkm-python3-3.9.13-env/lib/python3.9/site-packages/dax/sim/ddb.py", line 343, in _mutate_controller
    raise ValueError(f'Controller "{key}" is missing the "--bind {{bind}}" argument')
ValueError: Controller "pyvcam" is missing the "--bind {bind}" argument

Implement the bind argument so the device can be used in simulation.

The bind argument does exist:
$ python -m pyvcam -h
usage: __main__.py [-h] [--bind BIND] [--no-localhost-bind] [-p PORT] [-v]
                   [-q]

PyVCAM controller. Use this controller to drive the Teledyne PrimeBSI camera.
See documentation at https://github.com/Photometrics/PyVCAM

options:
  -h, --help            show this help message and exit

network server:
  --bind BIND           additional hostname or IP address to bind to; use '*'
                        to bind to all interfaces (default: [])
  --no-localhost-bind   do not implicitly also bind to localhost addresses
  -p PORT, --port PORT  TCP port to listen on (default: 3249)

verbosity:
  -v, --verbose         increase logging level
  -q, --quiet           decrease logging level

May need to raise this issue with the DAX team to learn more.

The issue is with a missing argument in the device database entry for the pyvcam controller. No bug here.


Make SPDX2 model tests less verbose

In the spdx3 branch, we have developed a model test structure involving a fixture factory that makes initialization tests much less verbose. We should look into whether we can also adopt this structure in the spdx2 model tests.

Is this issue still active? if yes, can you please provide some details @armintaenzertng , thanks :)


[feature] Allow to use 'Go to declaration' for local variables

Issue:
So when I right-click on a local variable or argument and select Go to declaration, nothing seems to happen.
Expected behavior:
When I click Go to declaration the cursor should move to the declaration of the variable or to the function parameter definition.

@Surendrajat well, this is not yet implemented, so you actually can't select Go to declaration because it must be disabled.
Anyway, I plan to add info about local variables in the future, and this feature also related to #1023.

@Surendrajat well, this is not yet implemented, so you actually can't select Go to declaration because it must be disabled.
Anyway, I plan to add info about local variables in the future, and this feature also related to #1023.

Implemented in PR #1098

Implemented in PR #1098


New package: Anthropic v0.1.0

Registering package: Anthropic
Repository: https://github.com/Cvikli/Anthropic.jl
Created by: @Cvikli
Version: v0.1.0
Commit: 8ea73b1e5b4d70e624e61c2e3c1e27aebe9e515c
Git reference: HEAD
Description: Little extension for the https://github.com/svilupp/PromptingTools.jl to have streaming
Release notes:

unofficial Anthropic streaming support + some error handling

compat issue resolved!
[noblock]

Uploaded! Thank you for pointing out these guidelines!
[noblock]

compat further issue resolved
[noblock]

[noblock] You'll have to retrigger the registration the same way you created the original registration (without changing the version number!). That should then update this existing pull request

Why are the tests are failing. I think I corrected. How can I rerun?
[noblock]

[noblock] You'll have to retrigger the registration the same way you created the original registration (without changing the version number!). That should then update this existing pull request

Thank you!
[noblock]


ORION-1225: adding tag argument to solution download command + add default tag of stable to solution push and validate

Description
Adding --tag argument to solution download command (with default value of stable) and also adding default value of stable to --tag arguments on the solution push and validate commands.
Type of Change

[ ] Bug Fix
[X] New Feature
[ ] Breaking Change
[X] Refactor
[ ] Documentation
[ ] Other (please describe)

Checklist

[ ] I have read the contributing guidelines
[ ] Existing issues have been referenced (where applicable)
[ ] I have verified this change is not present in other open pull requests
[ ] Functionality is documented
[ ] All code style checks pass
[ ] New code contribution is covered by automated tests
[ ] All new and existing tests pass

Codecov Report

Merging #97 (05299bb) into main (657340a) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main      #97   +/-   ##
=======================================
  Coverage   32.42%   32.42%
=======================================
  Files          27       27
  Lines        3559     3559
=======================================
  Hits         1154     1154
  Misses       2315     2315
  Partials       90       90


Non-nullable types experimental implementation

This is the main tracking bug to experimentally implement the Non-nullable types proposal. It links to the more specific implementation issues below.
All implementation for this experiment should be gated behind a flag named "nonnull". If we decide to accept the proposal and add it to the language specification, the flag will be removed then.
Parse ! and ? in type annotations
These should be allowed in postfix position on type annotations. Initially, they will not do anything. The parser can simply ignore them and continue.

[ ] Parse and ignore ! and ? in VM (#23767)
[ ] Parse and ignore ! and ? in dart2js (#23768)
[ ] Parse and ignore ! and ? in analyzer (#23769)

TODO: Next steps...

Wow, I completely forgot about these tracking issues. More than a year later, yes, we are going to try out non-nullable types (#22). However, we aren't directly tracking Patrice's DEP (though it is wonderful and is the primary inspiration for the in-progress proposal).
I'm going to close these old issues out to try to reduce some confusion. When we have a live proposal that the language team is working on, I'll file new issues to track against that.


As a system, I need to log Telemetry with specific actions to get insights out of the system which are not present in out of the box app insights telemetry.

From @kapilzen on October 8, 2018 18:58
We to collect below details to drive experience, AI/ML scenarios :

Search
-> Attributes: keywords, matched intents with respect to input. Need to capture what user has searched and what our API returned as response. Also need to capture if user has modified the search after getting response.

Curated Experience
->Attributes: keywords and response
->Time spent on question(s) and if there is any to & fro
->Completed / abandoned like if user completes the wizard or just leave it in between
->Tracking User choices/selection for each question

Resource View: What all resources user are viewing and how they are changing input after viewing resource or they just get what they want. Track internal vs external clicks.

Topic View: What all topics user are exploring and at what position they are coming from search input. This will help in prioritizing or ranking. Need to capture internal vs external results to see what we are missing in our data.

Personalized Plan View / Edit: How users are using PP.

API request and response, what is input and whats the output.

Portal usage pattern like what is being used most vs least.

We may need to tag these things with specific location to have good telemetry. It would be really helpful if we can have some feedback option on portal to get user experience.
Copied from original issue: Microsoft/Access2Justice#545

We can’t decide on this and prioritizing until we know what is necessary for evaluation.


'Strong name validation failed' for NuGet.Packaging.Core v3.4.3

I clone the RoslynPad repo, build solution in visual studio 2017, it restores all the nuget packages, I run the compiled exe, I pick a nuget package to pull in using RoslynPad, and then I get an exception: "'Strong name validation failed' for NuGet.Packaging.Core v3.4.3".
I've found these two links where the strong name validation for NuGet.Packaging.Core is a problem for some people.  I've tried 3 computers so far using vs2017 and I can't figure out how to pull the right NuGet.PackageManagement that does not have the strong name validation probllem.  I know someone has to know how to fix this, so I'm posting here in hopes that someone has built RoslynPad and figured it out.
Here are the two links I've seen this discussed on:
https://github.com/NuGet/Home/issues/2690
https://github.com/NuGet/Home/issues/3596
Part of the reason I can't figure out how to fix this, is I don't see where the dlls downloaded by nuget are stored at.  I'm used to seeing a packages folder, and I've researched how you move it but don't see those settings anywhere.  I've also looked around at this place: %localappdata%\NuGet\v3-cache, but can't find dlls there.
I've deleted out the v3-cache, and tried several things to force it to pull new packages from Nuget.

Try looking for the package cache under %userprofile%.nuget
I'll be upgrading to NuGet 4 soon

I used your comment to get it working.  I went to %userprofile%.nuget\packages\nuget.packaging.core\3.4.3\lib\net45, and replaced all the files there with files downloaded from here: https://www.nuget.org/packages/NuGet.Packaging.Core/3.4.3.  Then rebuild and I'm able to add nuget packages.  I also ran sn -v on the NuGet.Packaging.Core.dll and gives the workable result of "Assembly 'NuGet.Packaging.Core.dll' is valid".
I know this is nuget's problem, but thanks for the asistence.


fix(chart): fix filenames and references

This PR makes two fixes

Makes sure that the annotations set in the deployments point to the right files. Fixes #1189
Fixes inconsistencies in the file renames for the secrets, standarizing in secret- in singular.

looks good to me 👍

cc/ @javirln


AC DisplayLight ON/OFF doesn't works

Hi
On my AirConditionner every commands work well but the DisplayLight function doesn't change the display light.
My AC models are PM05SP.NSJ.
I'm on HA version 2023.2.3 and HA-SmartThinq-Sensors version 0.32
Thank you for your help.

Closed as duplicated


Can alphafold use PDB structure as input; should I add “-p multimer” for a trimer?

Can alphafold use PDB structure as input; my protein is a trimer, - should I add “-p multimer” to the run_alphafold.sh invocation?
Please let me know.
Thanks!

Unfortunately, AlphaFold doesn't support this. I recommend running AlphaFold-Multimer with your trimer provided as an input in the FASTA format -- see https://github.com/deepmind/alphafold/blob/main/README.md#folding-a-heteromer for more details.


create projects page

No need to create a project page.. Just have a "Read More" after the group description that goes to an empty page for now (just put any random text for the moment)


neo4j: 3.4.5 -> 3.4.6

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from neo4j.
meta.description for neo4j is: '"A highly scalable, robust (fully ACID) native graph database"'.

Checks done (click to expand)

built on NixOS
/nix/store/d8gjdbyrcab3qy4fxkdif09qix905snl-neo4j-3.4.6/bin/neo4j passed the binary check.
/nix/store/d8gjdbyrcab3qy4fxkdif09qix905snl-neo4j-3.4.6/bin/neo4j-admin passed the binary check.
/nix/store/d8gjdbyrcab3qy4fxkdif09qix905snl-neo4j-3.4.6/bin/neo4j-import passed the binary check.
/nix/store/d8gjdbyrcab3qy4fxkdif09qix905snl-neo4j-3.4.6/bin/neo4j-shell passed the binary check.
/nix/store/d8gjdbyrcab3qy4fxkdif09qix905snl-neo4j-3.4.6/bin/cypher-shell passed the binary check.
5 of 5 passed binary check by having a zero exit code.
2 of 5 passed binary check by having the new version present in output.
found 3.4.6 with grep in /nix/store/d8gjdbyrcab3qy4fxkdif09qix905snl-neo4j-3.4.6
directory tree listing: https://gist.github.com/96d3b025c64a8b0e118135bdc0212de3
du listing: https://gist.github.com/59a7461bc95da19319b4522769475053

Instructions to test this update (click to expand)

One-time optional setup to skip building using Cachix:

Install cachix from https://cachix.org/
Use r-ryantm's cache:cachix use r-ryantm

Test this update by entering a nix shell, seeing what is inside the
result, and if applicable, running some binaries:
nix-shell --pure -I nixpkgs=https://github.com/r-ryantm/nixpkgs/archive/28f45ebadbb5c48dbd8e95f94995d1e0b51bf5a8.tar.gz -p neo4j
ls -la /nix/store/d8gjdbyrcab3qy4fxkdif09qix905snl-neo4j-3.4.6

cc @offlinehacker for testing.

Success on x86_64-linux (full log)
Attempted: neo4j
Partial log (click to expand)
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/d8gjdbyrcab3qy4fxkdif09qix905snl-neo4j-3.4.6/bin
patching script interpreter paths in /nix/store/d8gjdbyrcab3qy4fxkdif09qix905snl-neo4j-3.4.6
/nix/store/d8gjdbyrcab3qy4fxkdif09qix905snl-neo4j-3.4.6/share/neo4j/bin/neo4j-shell: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/bash"
/nix/store/d8gjdbyrcab3qy4fxkdif09qix905snl-neo4j-3.4.6/share/neo4j/bin/cypher-shell: interpreter directive changed from "/bin/bash" to "/nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/bash"
/nix/store/d8gjdbyrcab3qy4fxkdif09qix905snl-neo4j-3.4.6/share/neo4j/bin/neo4j-import: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/bash"
/nix/store/d8gjdbyrcab3qy4fxkdif09qix905snl-neo4j-3.4.6/share/neo4j/bin/neo4j-admin: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/bash"
/nix/store/d8gjdbyrcab3qy4fxkdif09qix905snl-neo4j-3.4.6/share/neo4j/bin/neo4j: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/bash"
checking for references to /build in /nix/store/d8gjdbyrcab3qy4fxkdif09qix905snl-neo4j-3.4.6...
/nix/store/d8gjdbyrcab3qy4fxkdif09qix905snl-neo4j-3.4.6

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: neo4j
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-darwin (full log)
Attempted: neo4j
Partial log (click to expand)
post-installation fixup
strip is /nix/store/df6k4mgdjxciy0f637lryp7c9ln7n1m3-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/608ffirgi67dgkhdl9v7162pppbrmsda-neo4j-3.4.6/bin
patching script interpreter paths in /nix/store/608ffirgi67dgkhdl9v7162pppbrmsda-neo4j-3.4.6
/nix/store/608ffirgi67dgkhdl9v7162pppbrmsda-neo4j-3.4.6/share/neo4j/bin/cypher-shell: interpreter directive changed from "/bin/bash" to "/nix/store/cblfnvb5rmhd2z231mqasn0brzh1hhv4-bash-4.4-p23/bin/bash"
/nix/store/608ffirgi67dgkhdl9v7162pppbrmsda-neo4j-3.4.6/share/neo4j/bin/neo4j: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/cblfnvb5rmhd2z231mqasn0brzh1hhv4-bash-4.4-p23/bin/bash"
/nix/store/608ffirgi67dgkhdl9v7162pppbrmsda-neo4j-3.4.6/share/neo4j/bin/neo4j-admin: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/cblfnvb5rmhd2z231mqasn0brzh1hhv4-bash-4.4-p23/bin/bash"
/nix/store/608ffirgi67dgkhdl9v7162pppbrmsda-neo4j-3.4.6/share/neo4j/bin/neo4j-import: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/cblfnvb5rmhd2z231mqasn0brzh1hhv4-bash-4.4-p23/bin/bash"
/nix/store/608ffirgi67dgkhdl9v7162pppbrmsda-neo4j-3.4.6/share/neo4j/bin/neo4j-shell: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/cblfnvb5rmhd2z231mqasn0brzh1hhv4-bash-4.4-p23/bin/bash"
/nix/store/608ffirgi67dgkhdl9v7162pppbrmsda-neo4j-3.4.6


Is there a way to update the particles object? I want update color

Is there a way to update the particles object?
I want update color after click on button , I need update method

Currently not but im planing to implement this in the upcoming version.


Adding React "use client" directives for Next 13

Describe the bug
Right now, context is being used without the new "use client" directive. This makes sense, because the directive is so new. However, when using react-loading-skeleton with the Next 13 app directory, it causes an error — useContext is a client-only API.
To Reproduce

create next 13 app dir
install react-loading-skeleton
try to use <Skeleton /> in a server or shared component.

Actual Behavior
An error is thrown:
Server Error
TypeError: createContext only works in Client Components. Add the "use client" directive at the top of the file to use it. Read more: https://nextjs.org/docs/messages/context-in-server-component
This error happened while generating the page. Any console logs will be displayed in the terminal window.

Expected Behavior
No error is thrown.
Versions

react-loading-skeleton version: 3.1.0
Browser version: Safari 16.2

Additional context

https://nextjs.org/docs/messages/context-in-server-component
https://beta.nextjs.org/docs/rendering/server-and-client-components#third-party-packages
https://github.com/reactjs/rfcs/blob/main/text/0227-server-module-conventions.md

I believe that the fix is as simple as adding the use client directive — I can do it, just wanted to create an issue first for documentation.

Actually, looks like this might be blocked by rollup: https://github.com/rollup/rollup/issues/4699
There's a few suggested workarounds...

I was waiting for someone to post about this 😆. Based on my limited understanding of React Server Components, I think the solution is just to add the 'use client' directive.
It looks like we could use the Rollup banner option to insert the directive as has been suggested in the issue you linked. React Loading Skeleton has no dependencies, so there shouldn't be any harm in marking the entire bundle as 'use client'.


⚠ Cioos National CKAN Sitemap has degraded performance

In 906f7b8, Cioos National CKAN Sitemap (https://catalogue.cioos.ca/sitemap/sitemap-1.xml) experienced degraded performance:

HTTP code: 200
Response time: 14492 ms

Resolved: Cioos National CKAN Sitemap performance has improved in db04573 after 10 minutes.


Fixes TypeError issue in Ember 1.10

After upgrading to Ember 1.10.0 the Application complains about "Uncaught TypeError: undefined is not a function". For some unknown reason Ember.assert also seems to execute the Pusher function. To overcome this I am explicitly checking if Pusher is undefined.

Thanks @caphun, looks good!


Optional CSRF protection setting for unauthenticated or authenticated views

This PR hopes to add CSRF protection to the jwt cookie authentication class. The actual changes required are very small.
The JWT_AUTH_COOKIE_USE_CSRF setting turns on CSRF checks for only authenticated views when using the JWT cookie for auth. It does not effect a client's ability to authenticate using a JWT Bearer Auth header without a CSRF token.
The JWT_AUTH_COOKIE_ENFORCE_CSRF_ON_UNAUTHENTICATED setting turns on CSRF checks for authenticated and unauthenticated views when using the JWT cookie for auth. It does not effect a client's ability to authenticate using a JWT Bearer Auth header without a CSRF token (though getting the JWT token in the first place without passing a CSRF token isnt possible).
Also deals with issue https://github.com/jazzband/dj-rest-auth/issues/49
New tests have been added to make sure I didn't break anything, and it seems to pass all existing tests locally.

Brilliant 👍


chore: add source headers to ported theory files

The script used to do this is included.
The yaml file was obtained from
https://raw.githubusercontent.com/wiki/leanprover-community/mathlib/mathlib4-port-status.md

bors merge


[BUG] bpftime load always enforce the userland ebpf program to use bpftime's own libbpf

My ebpf userland program is dynamically linked with my patched version of libbpf. The program can find the correct libbpf via RPATH. But bpftime load or the LD_PRELOAD way always forces my userland program to use bpftime's own libbpf, which is actually incompatible. How to work around this issue? I think by design, bpftime supports transparent operations of the original user ebpf programs (including userland) and user's own libbpf, right?

OK, after some more digging, it seems like my libbpf.so is also loaded, but the statically linked libbpf in bpftime takes priority. So libbpf API functions that exist in bpftime's libbpf, then this version of libbpf is used; otherwise, it falls to my libbpf.so. So the actual result is even more bizarre: sometimes it uses bpftime's libbpf and sometimes it uses mine. This is so confusing and hard to debug...
Ideally, it should always use the original userland ebpf program's libbpf. bpftime's libbpf should only be used for kernel interoperability. In fact, for my use case, I never use the kernel interoperability, so the easier fix might be just to implement the feature in #175.

A solution:

Set symbol visibility to hidden for all symbols in agent and syscall server. A hidden symbol appeared in LD_PRELOAD library won't override symbol in the injected executable
More precisely, we may only set the visibility of symbols from libbpf to hidden, others left default. This may require a custom ld script. I'll investigate into it


[Vue3 Apollo Quasar] add search functionality

General
About

Implements search functionality

Screenshot

@AllanJeremy @hdJerry I was able to implement the functionality, but I have some questions/need some guidance on the input component.
I noticed that the AppInput component emits an event that we get access to in the SearchInput component. I could not figure out how to listen/emit the event further so to test my filter implementation I just put a basic input type into the SearchFilter component. Obviously, this needs to be reverted to use the SearchInput component again.
How do I go about emitting/listening to the AppInput component event?
It needs to go from:
AppInput component -> SearchInput component -> SearchFilter component -> ProfilePageLayout component

@AllanJeremy @hdJerry I was able to implement the functionality, but I have some questions/need some guidance on the input component.
I noticed that the AppInput component emits an event that we get access to in the SearchInput component. I could not figure out how to listen/emit the event further so to test my filter implementation I just put a basic input type into the SearchFilter component. Obviously, this needs to be reverted to use the SearchInput component again.
How do I go about emitting/listening to the AppInput component event? It needs to go from: AppInput component -> SearchInput component -> SearchFilter component -> ProfilePageLayout component

HI @WillHutt
You don't have to worry about what the emit is doing. But what it does though is to ensure that where the component AppInput is used you can access its value with the v-model attribute which has ref search.So, what you can do now with that ref is to use watchEffect that with help track any changes of the ref
Like this in the searchinput component
import { defineComponent, ref, watchEffect } from 'vue';
import { AppInput } from '../';

export default defineComponent({
  name: 'SearchInput',
  components: { AppInput },
  setup() {
    const search = ref('');

    watchEffect(() => console.log(search.value));

    return { search };
  },
});


Add prefresh to example

Prefresh is the equivalent of react-fast-refresh but for  Preact

Can you do this against the finch branch?

Will only add fixes or security fixes to master, closing.


Merge_Sort_Array.

Thanks for the opportunity to contribute.
On Thu, Sep 13, 2018, 9:22 PM T Thiyagaraj<EMAIL_ADDRESS>wrote:

@tstreamDOTh approved this pull request.
looks fine
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Asiatik/codezilla/pull/32#pullrequestreview-155150595,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANeCJAKICRgP-ATldj_juXw92mAJSH4mks5uan8rgaJpZM4WfvYT
.


Early and harsh braking on 0.8.15 ( master-ci)

Describe the bug
I have had many instances where OP brakes quite early and quite harsh. I mainly notice this in stop n go traffic on Highway.
Here's the route where this is happening
3f3a48346848df21|2022-07-16--18-12-10--21
3f3a48346848df21|2022-07-16--18-12-10--23
3f3a48346848df21|2022-07-16--18-12-10--29
Provide a route where the issue occurs
3f3a48346848df21|2022-07-16--18-12-10--21
openpilot version
0.8.15
Additional info
No response

It looks like your car was following the plan pretty closely, the planner just decided to brake pretty late, like due to aLeadTau:

Stock ACC wanted to brake 1.5 seconds earlier here, and with much less total deceleration:

It looks like your car was following the plan pretty closely, the planner just decided to brake pretty late, likely due to aLeadTau. The lead decelerated at a max of -2.7 m/s/s however openpilot requested -3.5 m/s/s because it was a bit late to start braking (more than a second after lead):
29th segment:
@HaraldSchafer Looks like aLeadTau was added in one around here, and the kalman filter doesn't look too sophisticated compared to now, has it improved at all since it was introduced? I drove on no aLeadTau on my road trip and it was fine, braked and accelerated earlier and smoother:
https://github.com/commaai/one/blob/1032938cc6ac5628d66b3262bf4e998c25338923/selfdrive/controls/lib/radar_helpers.py

Hi Shane,
That's the thing I have noticed this in almost all of my drives either OP brakes quite early and quite hard or it brakes a little late and still quite hard

Linking to https://github.com/commaai/openpilot/issues/25295


nixos/vaultwarden: Bind to localhost by default

Description of changes
Web services should listen to localhost by default, see #100192. Especially because Vaultwarden's own docs recommend to host it behind a reverse proxy only (see link in the same option's example text).
Things done

No packaging change.
22.11 Release Notes (or backporting 22.05 Release notes)

[x] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@nh2 Do you mind rebasing and making the requested changes?

I rebased and did the suggested changes, merging.


Fix homematicip cloud alarm_arm_home

Description:
The parameters were switched, so I've just fixed it with exchanging True,False to False,True
Related issue (if applicable): fixes #20307
Checklist:

[ ] The code change is tested and works locally.
[ ] Local tests pass with tox. Your PR cannot be merged unless tests pass
[X] There is no commented out code in this PR.

Sadly I can't test the code locally, but I'm the maintainer of the api which is getting called in the background and the call to the API was wrong, so I've fixed that.

Hi together, with Beta 0.87.0b0 HmIP Alarm option works better but not perfect. Now I am able to swicth to arm_home but the entity status in HA looks wrong. Switch on Arm_home -> Only Alarm extern shows "Armed_Home" (shoud it not be Alarm internal?) Switch on Arm_way -> Alam external and internal changed to "Armed_away" (should it be not only Alarm external?) Please be so kind to double check, if possible. In addition thank you very much for your hard work.

Please open an issue if you suspect a bug.
If you want to suggest an enhancement please open a feature request in the Feature Requests section of our community forum.
Merged PRs should not be used for enhancement discussion or bug reports. If you've found a bug it's ok to make a review with inline comments and link to an issue that reports the bug.
Thanks!


Added carousel tests

Ticket:MWPW-122174
Added Carousel tests that verifies the following:

Verify a Carousel with buttons/links inside is clickable and functions correctly.
Verify Carousel slider controls forward and backward, test content has changed.
Verify Carousel dot controls by clicking forward and backward, test content has changed.

There's a tabbing issue so I'll break the accessibility portion out into another ticket to do after the issue is resolved.

@Dli3 Approved, tests pass.  I added the label @carousel as well.


Linked to main-net, while browsing in test-net etherscan

When inspecting tx on the test-net, linked addresses don't take the current test-net into account.
Example:
https://rinkeby.etherscan.io/address/0x3af10461B77fbe5dC6c1138A6faC86D397e1580D

Hi @derblub - thanks for the report.
I'll get a feature out this week (before Friday) to fix this

Hi @derblub - v1.13.2 is now being published in the Chrome store. You should get the update shortly.
If you manually installed it, download the extension here: https://github.com/409H/EtherAddressLookup/releases/tag/v1.13.2

Awesome @409H! Thanks for this fast fix!


Change child to builder

With MaterialPageRoute you have a builder function, so the page may make use of it. However, currently the API of this package makes usage of a child argument which does not provide the same funcionality as a builder would.
I recommend to keep child for now, but make sure to mark it as @deprecated to inform the user, and add a builder argument.

has been added version 2.2.0


Add sorting of the summary statistics table

it is now possible to sort the table in the "stats" tab panel eg from columns with fewest null values to most null values
WIP:

[x] add tests
[x] improve a bit the look & position of the buttons

Nice addition, is it possible to remove the shadow around the buttons?

@Vincent-Maladiere I removed the shadows and also changed the icons for something more explicit. it should be ok now


chore: bdd-gh-1587105765 to 0.0.1

chore: Promote bdd-gh-1587105765 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
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

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