Remove initial jank in flutter_gallery using more shader warm-up

Our goal is to drop out flutter_gallery worst frame time benchmark down to 16ms on both Android and iOS. Currently it sits at about 120+ms. Part of it is because that we're measuring the wrong thing https://github.com/flutter/flutter/issues/31442 . After fixing #31442, we still have some shader warm-up work to do.

This is also affecting a production app so anything that could contribute to solve it would be great. Every first 3 seconds or so that the app is opened, either from scratch or background, it has a junky performance (a lot of frame rate drops while scrolling) and then becomes smooth. Only seems to affect iOS (currently only tried with iPhone X).
Any news on this?

@miguelpruivo note, we're also investigating a couple iPhone X specific bugs: https://github.com/flutter/flutter/issues/31086

The new flutter gallery is not going to be moved into flutter/flutter. This (older) gallery will continue to live in flutter/flutter as a place for performance tests.
If you'd like performance tests for the new gallery, we'd be happy to discuss!

@willlarche I found some performance bottlenecks in new Flutter Gallery and wonder if we can track or report them somewhere. Should I just post them in issue here?

Great timing! We’re actually doing a performance optimization project on
it. We track that here:
https://github.com/material-components/material-components-flutter-gallery
Do you have the ability to post there?
On Sat, Feb 29, 2020 at 22:34 Dominik Roszkowski<EMAIL_ADDRESS>wrote:

@willlarche https://github.com/willlarche I found some performance
bottlenecks in new Flutter Gallery and wonder if we can track or report
them somewhere. Should I just post them in issue here?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/31881?email_source=notifications&email_token=AAJWNZLVX4GHFNTNDTCW67DRFGGQLA5CNFSM4HJQ6FJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENMHYAA#issuecomment-593001472,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJWNZN7HTIPLLVVYCNAACDRFGGQLANCNFSM4HJQ6FJA
.

https://github.com/flutter/flutter/pull/59932 has added SkSL shader warm-up to Android and iOS. Moto G4's worst frame time improved from ~90 ms to ~40
ms, and iPhone 4s improved from ~300 ms to ~80 ms. There are some other things we need to improve to bring the worst time down to 16ms, but the shader warm-up is done so I'm closing this issue.


Azure Identity Iron Semester for C++

The Azure Identity library provides Azure Active Directory token authentication support across the Azure SDK. It provides a set of TokenCredential implementations which can be used to construct Azure SDK clients which support AAD token authentication.
This issue tracks the new features, reliability improvements, and the release of minor updates to Azure.Identity for the C++ programming language during September - December 2020

#5, #18, #76, #77, #78, #79, #80, #81, #82

@RickWinter Should this be in November milestone so that we have this before GA?


Pass docker env variables to php-fpm

Set clear_env to false in php-fpm to allow env variables set on the docker container (eg. through the docker-compose file) to be passed into php-fpm.

Ah, that's pretty neat!
Does that "just work"? The environment variables become accessible by PHP with just that change (and with adding items to docker-compose)?
Let me know if you were able to test it out on there - I'm curious if Supervisor ruins that since it's starting php-fpm (instead of php-fpm being run directly as the Docker CMD within the app container).

Yeah it works! Just tested this on another project where I start php-fpm through supervisord.
It is actually available on the container itself (if you exec bash into the container you can print printenv and it will show you the variables you set through docker-compose). The issue is by default php-fpm clears the environment variables (for security). Once the config if updated to not clear the environment variables it works both ways (with supervisord starting php-fpm & with starting php-fpm with CMD).

Cool, thanks! I like that since this is a dev environment, could be useful


Unable to compile in RHEL 6

Works fine on CentOS 7 though.
==== Building guetzli (release) ==== Creating bin/Release Creating obj/Release butteraugli_comparator.cc cc1plus: error: unrecognized command line option "-std=c++11" make[1]: *** [obj/Release/butteraugli_comparator.o] Error 1 make: *** [guetzli] Error 2

Please paste the output of g++ -v.

Centos 6.x comes with gcc-4.4.7 (specifically for an up to date system with 6.8 the package is gcc-4.4.7-17.el6) which doesnt support C++11.

Yes I knew it was a GCC versioning issue.
And of course the binary complied from RHEL 7 doesn't work on RHEL 6 due to gcc.
Let's just leave it at CentOS 6 is not supported.

Tested on CentOS 7 with 4 dual core CPU's and 48GB ram.
1600kb jpg > 8 minutes > 1070kb JPG
Can't beat tinypng.com


No module named 'linearmodels'

I installed and uninstalled the 'linearmodels'  several times.
and I ran the jupyter notebook below code.
import pandas as pd
import numpy as np
from statsmodels.api import OLS, add_constant
import pandas_datareader.data as web
from linearmodels.asset_pricing import LinearFactorModel
import matplotlib.pyplot as plt
import seaborn as sns
and I get these error message

ImportError                               Traceback (most recent call last)
 in ()
5 #import pandas_datareader.data as web
6
----> 7 from linearmodels.asset_pricing import LinearFactorModel
8
9 #import matplotlib.pyplot as plt
ImportError: No module named 'linearmodels'
how can I fix it?
this is my library of environment. i installed the 'linearmodels'.

Your jupyter is probably attached to a different python than the one you used to install linearmodels.
What do you get when you enter
where.exe python

and
where.exe jupyter

I'm going to close since there hasn't been any action.  If you still need help, please post here.


The finalize function for user objects is called multiple times

I attach my objects to JS objects. I added printouts into a regular and copy constructors, and the destructor. The log shows that the destructor is called multiple times. The destructor is called from the finalize method.
MyObject::MyObject(copy) 0x801c4b000
MyObject::~MyObject 0x801c4b000
MyObject::MyObject(copy) 0x801c4b000
MyObject::MyObject(copy) 0x801c4bc30
MyObject::MyObject() 0x7fffffffdde8
MyObject::~MyObject 0x7fffffffdde8
MyObject::MyObject(copy) 0x801c4cd10
MyObject::MyObject() 0x7fffffffdde8
MyObject::~MyObject 0x7fffffffdde8
MyObject::MyObject(copy) 0x801c4ddf0
MyObject::MyObject() 0x7fffffffdde8
MyObject::~MyObject 0x7fffffffdde8
MyObject::MyObject(copy) 0x801c4eed0
MyObject::MyObject() 0x7fffffffdde8
MyObject::~MyObject 0x7fffffffdde8
MyObject::MyObject(copy) 0x801c4ffb0
MyObject::MyObject() 0x7fffffffdde8
MyObject::~MyObject 0x7fffffffdde8
MyObject::MyObject(copy) 0x801cab090
MyObject::MyObject() 0x7fffffffdde8
MyObject::~MyObject 0x7fffffffdde8
MyObject::MyObject(copy) 0x801cac170
MyObject::MyObject(copy) 0x801cac7b0
MyObject::MyObject(copy) 0x801cacc60
MyObject::MyObject() 0x801cad0c0
MyObject::MyObject() 0x7fffffffe2f8
MyObject::~MyObject 0x7fffffffe2f8
MyObject::MyObject() 0x7fffffffe2f8
MyObject::~MyObject 0x7fffffffe2f8
MyObject::MyObject() 0x7fffffffe2f8
MyObject::~MyObject 0x7fffffffe2f8
MyObject::~MyObject 0x801cad0c0
MyObject::~MyObject 0x801cad0c0
MyObject::~MyObject 0x801cad0c0
MyObject::~MyObject 0x801cad0c0
MyObject::~MyObject 0x801cacc60
MyObject::~MyObject 0x801cac7b0
MyObject::~MyObject 0x801cac170
MyObject::~MyObject 0x801c4b000
MyObject::~MyObject 0x801cab090
MyObject::~MyObject 0x801c4b000
MyObject::~MyObject 0x801c4ffb0
MyObject::~MyObject 0x801c4b000
MyObject::~MyObject 0x801c4eed0
MyObject::~MyObject 0x801c4b000
MyObject::~MyObject 0x801c4ddf0
MyObject::~MyObject 0x801c4b000
MyObject::~MyObject 0x801c4cd10
MyObject::~MyObject 0x801c4b000
MyObject::~MyObject 0x801c4bc30
MyObject::~MyObject 0x801c4b000

The process was also crashing, and valgrind kept printing errors in destructor called from the finalize function.

I would not recommend doing that. The C setjmp/longjmp facilities used by to the library can cross C++ destuctor and exception boundaries which in turn can lead to serious program stability issues. So first try compiling to obj/lib/dll format which can safely be called from C++ ABI.

@gardhr This consideration is irrelevant. C++ destructors shouldn't throw exceptions, the code that allows this is ill-behaved. Even if some code called from 'finalize' does throw an exception, it should be caught still inside 'finalize', and this way it would never cross any boundaries.

The finalizers have always worked for me.
You will need to provide a complete example if you want me (or anyone else) to take a deeper look at this.

Testcase:

Clone this project: https://github.com/yurivict/ChemWiz
Build it: make USE_DSRPDB=no
Run the test: ./chemwiz test.js
Observe the messages: ERROR bogus molecule in moleculeFinalize: 0x801a8f000 (duplicate finalize invocation)

The messages are because the finalize function is called multiple times.
This is caught by the checking code here https://github.com/yurivict/ChemWiz/blob/master/js-binding.cpp#L44

The problem was in my code, not in MuJS. Thanks to cebras for finding it!


How to use with multiple gtfs data directories?

I wasn't able to configure the GTFS.path or GTFS::ORM.path methods, per the instructions.
GTFS.path("my/path")
=> NoMethodError: undefined method `path' for GTFS:Module
GTFS::ORM.path = "my/path"
=> "my/path"
GTFS::ORM.path
=> "./data"

I was able to override GTFS::ORM::DEFAULT_PATH in my project, which lets me use the ORM for a single gtfs data directory.
module GTFS
  module ORM
    DEFAULT_PATH = "my/path"
  end
end

But how can I configure different instances of GTFS::ORM to use with different gtfs data directories?

This would be fixed by https://github.com/rynclsnr/gtfs-orm/pull/2

Like @ahayworth said - should be fixed by #2.


Is there a way to profiling of sqlalchemy query calls  in this tool

Thanks for this tool, I have used the tool and its great to profile api calls. Is there a way in which this tool can be extended to profile sqlalchemy calls

you are welcomed @PankajWorks
I think profiling sqlalchemy is out of scope of this project.  Flask-profiler is designed to do one thing, and do it well. You had better look for another tool for that job? For instance, after googling, I found this: http://sqltap.inconshreveable.com/ it might work for you.


Always display GitHub Status in the header

Description
I want to display the current GitHub service status on the header of every possible GitHub page.
This will allow users to quickly identify if any or all parts of GitHub are down.
Example URLs
https://www.githubstatus.com/

Duplicate of https://github.com/refined-github/refined-github/issues/4653


Can you add a alias for EN flag

Hi!
In a lot of enviroments i use the "en" code for english language. It could be great to have a flag to "en" (for example the gb one).
I know that i can to in a local copy, but i always use the CDN version:
.flag-icon-en {   background-image: url(../flags/4x3/gb.svg); } .flag-icon-en.flag-icon-squared {   background-image: url(../flags/1x1/gb.svg); }
Thanks !!

This repo is for countries.. not languages :)


not working

Hi..
I installed the package and everything was fine until I tried to open it ..
A loading screen appears and then nothing happens. nothing opened.
my laptop is MacBook Air M1 2020

You can check the import time to see what the problem is.
python
> import torch

After the torch is imported, stop Python with Cmd+D and run OpenPharmaco. If the importing time was a problem, you can get a downloading pop-up window soon.

nothing changed..
downloading the library was fine. everything is fine until I try to open it.
The screen appears and then disappears quickly

anyway thank you ..may be sth wrong with my laptop

I solved the problem..
it seems I need to install numpy and pymol by myself

@sherifelsabbagh oh, I found that the new version (v2.0.0) of numpy is released recently, and it conflicts to PyTorch.
Glad you were able to resolve it.

can I ask another question

This spheres correspond to hydrophobic feature.. however I see that they are not aligned with any atom in the ligand..
You get my point ?
I mean, these spheres should be located on one the ligand atoms which would form Hydrophobic interaction right ?


Adds radio buttons, proper formatting, and tree view

 FaSe: Front end structure

 FaSe: Interactable tree view


Debugging on Raspberry OS ARM64?

I'm trying to debug with the ARM64 version of Raspbian OS and all I get it is "unloaded symbols". Is ARM64 debugging supported?

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

ID: f3e5dc95-a3a8-1cc6-049e-773e31449079
Version Independent ID: 171f8840-fa9a-9174-2628-f3a9f6d0915e
Content: Debug .NET apps on Raspberry Pi
Content Source: docs/iot/debugging.md
Product: dotnet
GitHub Login: @CamSoper
Microsoft Alias: casoper

@joperezr @Ellerbach

This is a good question, honestly I don't know what the answer is since this is mostly a question to either the VS team or the VS Code C# extension team which are the ones that own the debugger that gets installed into the target machine in order for a debugging channel to get established. If we don't have a linux arm64 debugger yet, then you wouldn't be able to setup ssh debugging.

@SuperJMN did you try Visual Studio or VS Code for attaching?

Hi @joperezr! I haven't because I'm not familiarized with it. I supposed that it uses the same remote debugger, so it should work the same way, shouldn't it?
As a side note, I wouldn't like to use VSCode to debug my applications. VS has always been my option.

I think this should work:

You can remote debug to a Pi with VS Code or Visual Studio, install debug tools:
curl -sSL https://aka.ms/getvsdbgsh | /bin/sh /dev/stdin -v latest -l ~/vsdbg
You have to do it as root because the debugger cannot sudo!
sudo passwd root
sudo nano /etc/ssh/sshd_config
And add a line that reads:
PermitRootLogin yes
Then reboot:
sudo reboot
Connect with Visual Studio into your RPI using SSH.
Launch the code you want to debug using dotnet.
Attached the process from Visual Studio remote SSH debug.

And voilà :-) Tested on an arm32, no chance so far to test on arm64 but no reason it should not work properly as the debug elements exists for arm64


React.createRef() on TextInput no working react native 16.3.1

[x] Review the documentation: https://facebook.github.io/react-native
[x] Search for existing issues: https://github.com/facebook/react-native/issues
[ ] Use the latest React Native release: https://github.com/facebook/react-native/releases

Environment
Run react-native info in your terminal and paste its contents here.
Environment:
OS: macOS High Sierra 10.13.6
Node: 10.7.0
Yarn: 1.2.0
npm: 6.2.0
Watchman: Not Found
Xcode: Xcode 9.4.1 Build version 9F2000
Android Studio: 3.1 AI-173.4819257
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: https://github.com/expo/react-native/archive/sdk-29.0.0.tar.gz => 0.55.4
Description
I have an Textinput and I would like to set the cursor when it's not filled.

class SignupScreen extends Component {
  constructor(props) {
    super(props);
    this.fieldOne = React.createRef();
    this.state = {
        name: '',
    }
}

validate() {
   if(_.size(this.state.name) < 3) {
      ...
      this.fieldOne.current.focus() // this is not working
    }
}

render() {
return(
....
<TextInput
    placeholder={'Name'}
    autoCapitalize='words'
    autoCorrect={false}
    autoFocus={false}
    keyboardType='default'
    value={this.state.name}
    ref={this.fieldOne}
    selectionColor={colors.PRIMARY_LIGHT}
    placeholderTextColor={colors.PRIMARY_LIGHT}
    underlineColorAndroid={colors.NO_COLOR}
    onChangeText={(text) => this.setState({ name: text })}
/>
 ...
}

Has someone had a similar problem?
Thank you guys

try "ref={(ref)=>{this.fieldOne = ref}}"

@moriarty1900, still not working! I changed to react-native-elements and it worked perfect!

same issue here +1

👋 there.
just tested this snippet:
import React, { Component } from 'react';
import {
  StyleSheet,
  View,
  TouchableOpacity,
  Text,
  TextInput
} from 'react-native';

export default class App extends Component<> {
  constructor(props) {
    super(props);
    this.fieldOne = React.createRef();
    this.state = {
      name: ''
    };
  }

  render() {
    return (
      <View style={styles.container}>
        <TextInput
          style={{ height: 40, borderColor: 'gray', borderWidth: 1 }}
          placeholder={'Name'}
          autoCapitalize="words"
          autoCorrect={false}
          autoFocus={false}
          keyboardType="default"
          value={this.state.name}
          ref={this.fieldOne}
          onChangeText={text => this.setState({ name: text })}
        />
        <TouchableOpacity
          style={{
            backgroundColor: 'red',
            padding: 10,
            marginTop: 20
          }}
          onPress={() => {
            const textInput = this.fieldOne.current;
            textInput.focus();
          }}
        >
          <Text>Focus it</Text>
        </TouchableOpacity>
      </View>
    );
  }
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    backgroundColor: 'white',
    justifyContent: 'center',
    paddingTop: 40,
    paddingHorizontal: 50
  }
});

which is inspired by the code above on a new RN 0.59 project, and I can't replicate the bug.
Closing.

@kelset how would you do this with function based components and hooks?

@wrod7 Very similar, without the needless verbosity in sugared classes.
For example:
const MyComp = ({charLimit}) => {
  const [text, setText] = useState(textData);
  let textInput = React.createRef();

  const handleTouch = () => {
    if (textInput) {
      textInput.focus();
    }
  };

  return (
    <TouchableOpacity onPress={handleTouch}>
      // More components, etc...
       <TextInput
            ref={r => textInput = r}
            maxLength={charLimit}
            value={text}
            onChangeText={t => setText(t)}
          />
    </TouchableOpacity>
  )
}

const MyComp = ({charLimit}) => {
  const [text, setText] = useState(textData);
  let textInput = React.createRef();

  const handleTouch = () => {
    if (textInput) {
      textInput.focus();
    }
  };

  return (
    <TouchableOpacity onPress={handleTouch}>
      // More components, etc...
       <TextInput
            ref={textInput}
            maxLength={charLimit}
            value={text}
            onChangeText={t => setText(t)}
          />
    </TouchableOpacity>
  )
}

This does not work

@FDiskas Their example is missing .current, textInput.current.focus() should work.

@FDiskas Their example is missing .current, textInput.current.focus() should work. I just did something similar for clearing a TextInput in a search bar:
function handleClearSearch() {
  setTerms(undefined);
  if (searchInputRef) {
    searchInputRef.current.clear();
  }
}
....
<View style={styles.container}>
    <View style={styles.searchContainer}>
    {isLoading ? (
        <ActivityIndicator color="#e0e0e0" size={32} />
    ) : (
        <Icon name="search" color={"#e0e0e0"} size={32} />
    )}
    <TextInput
        ref={searchInputRef}
        placeholder="Search"
        style={styles.searchInput}
        onChange={e => {
        e.persist();

        debouncedHandleChangeTerms(e);
        }}
    />
    <TouchableOpacity onPress={handleClearSearch}>
        <Icon name={"x"} color={"#e0e0e0"} size={32} />
    </TouchableOpacity>
    </View>
</View>

its give me undefined


Incorrect "unresolved import" in std

To reproduce the bug, just enter the following code under Linux:
use std::os::unix::io::AsRawFd;
fn main() {}

RA emits the error of "unresolved import". Since the block is conditionally compiled with cfg_if (see the source of std), I suspect that the guard is not handled correctly.
Enabling loadOutDirsFromCheck and procMacro does not solve the problem.

Duplicate of #6038


Chicago case counts are missing?

Looks like IL reports Chicago separately from Cook County which contains it. I don’t see our code handling this. And our we report 412 for Cook, where Cook+Chicago is more like 1200.

Yeah from what I can tell the entry for "Cook" county actually represents Cook county cases minus Chicago cases. I'm working on fixing the URL here https://github.com/lazd/coronadatascraper/issues/290 and can see if I can handle this as well.
I think I'll aggregate Cook + Chicago to "Cook County, IL, USA" and then create a separate city entry for Chicago. Their data has been so inconsistent lately though. I'm afraid they're just gonna change it up again tomorrow 😖 .

Hi @chunder and @alexmill .  Some PRs mentioning this have been merged.  Is this resolved now?  Cheers! jz

Does seem like this is being handled here: https://github.com/covidatlas/coronadatascraper/blob/master/src/shared/scrapers/US/IL/index.js#L59

Thanks @alexmill , I'll assume that this issue is resolved.  If not, please open a new one.  Thank you! jz


"field" not passed to custom input from FormField

I have made a custom input that relies on the "field" -prop in v1.
When converting to v2 I noticed that the FormField-hoc does not pass"field" to my custom input.

There is a pull request for this. i will add it in the next release.

https://github.com/react-tools/react-form/pull/154

Working on this now stand by.

Ok so i merged the pull request and added some docs... you now have access to  fieldApi.getFieldName()! https://react-form.js.org/#/custom-input . This is in latest version 2.7.0


Add a User Profiles page done ! #1599

Hello, PR
Add new feature - #1599
Add a normal user profile page and a profile icon in the home page navbar that redirects to the profile page done -
Home page -

Profile page -

https://github.com/user-attachments/assets/682b7809-f34a-49a9-a099-99a29e1871c0
Pull Request Checklist

[x] I have added screenshots and videos to show before and after the working of my code.
[x] I have ensured that the screen size is set to 100% while making the video.
[x] I have synced the latest fork with my local repository and resolved any conflicts.
[x] I have mentioned the issue number which I created before making this PR .(format to mention issue number is : fixes #(issue number) )
[x] I understand that if any the above conditions are not met , my PR will not be MERGED .

@ANSHIKA-26 done, please merge my PR with level 3, you can check my code i have added a lot..
Thank You

@ANSHIKA-26


[ci] support block step

Support block step (for blocking macos run on premerge)
Test:

CI

added block step to the pipeline


[BUG] fs-bq-import-collection does not import private collections

[READ] Step 1: Are you in the right place?
Yes
[REQUIRED] Step 2: Describe your configuration
fs-bq-import-collection does not import collection that have the following security rule:
    match /private_collection/{userId}/{document=**} {
      allow read: if request.auth.uid == userId;
      allow write, create: if false;
    }

[REQUIRED] Step 3: Describe the problem
I am trying to import existing documents in a collection that can be read by the currently auth'ed user. However, the import script does not import any documents.
Finished importing 0 Firestore rows to BigQuery
Steps to reproduce:

Create a collection with the security rule above.
Add documents to the collection
Run import script

Expected result
Existing data imported to BigQuery.
Actual result
No data imported to BigQuery.
Thanks for looking into this!

The problem was due to our documents having subcollections but no field.


implementation of NSData rangeOfData(options:range:)

add the missing implementation of rangeOfData and tests : https://lists.swift.org/pipermail/swift-corelibs-dev/Week-of-Mon-20160111/000352.html

Going to merge this, but just as a reference there is a CF function to do nearly exactly this: _CFDataFindBytes, if there proves to be behavior differences (which from what I can tell the _CFDataFindBytes function may have some perf benefits) we might want to eventually migrate to that.

I didn't see the CF version, which is probably better. Should I make another PR to replace it?

If you want, but what you have is relatively close.


about using this method on complete and partial point cloud

Hello,
can your method extract the skeleton of partial point cloud? something like a human face with non-closed surface.
Best.

Hi. What do you mean by "partial point cloud" - closed shapes having missing parts, or non-closed surfaces that is a 2D manifold? The method can be applied for shape with missing parts, while since we use convex combination to generate the skeletal points, the convex hull of the partial shape should be roughly consistent with the original shape. But for 2D manifold like a human face, the definition of its skeleton is essentially different from 3D closed shapes, so and this method is not applicable.

Thanks a lot！I get it!


doc: clarify deferring of EADDRINUSE error by uv_tcp_bind

EADDRINUSE is not returned by uv_tcp_bind. It is being deffered until call to other functions like uv_tcp_connect and uv_listen. Hence removing uv_tcp_bind from list of functions which does return EADDRINUSE.

@bnoordhuis @saghul

This is in continuation PR #600.

@saghul what do you want to do with this one? I noticed you did some labeling a while back.

I'll go through the doc PRs next week, thanks for the reminder!

@saghul ping on this one

This seems to have stalled out. Based on @bnoordhuis' on the fence feelings in #600, I'm going to go ahead and close this out. Thanks for the contribution though!


WEB_ROOT is never referenced

According to README.md:

WEB_ROOT: The directory where the server looks for static files (default: "./public").

This is not accurate. WEB_ROOT does not exist in the code at all and is absent from config.h.

Yeah i think i wrote it as a todo but forgot to implement :D I can implement this or we can work together @yuppox


refactor: removed unused imports

This PR removes unused imports and removes some spaces.

Hello, did you have a chance to review this? @uttamukkoji @hiteshbal91 @rohitmishra209


Promise returned from sync dispose method should not be awaited when disposing an asyc-disposable

🔎 Search Terms
using
🕗 Version & Regression Information
I assume it is in every version that using has been implemented
⏯ Playground Link
https://www.typescriptlang.org/play?ts=5.5.0-dev.20240404#code/BQQwzgngdgxgBMAlHAvAPjgbwFAwPZRgAucANngOapwDaAugNzbZxz6EkAOATngLYBLMAFMAIkM54R1KMIDucAAq9BI4MG7CweUgDdhAGjgB9ZOiwtWcEUQAqAvsLwBXIurMYcVq+QoA6TmcwAAtgACIIOAATCSlhOB5+IXiAIzwoiDDEJm9WTW09YSQcqwBfIwAGbMtS6ssvKxA5EAESIIEoKgAPagbvcGh4GgBlCD400j8B2HEwSWkUOFHxnT8AMzxucOWJqcgZ2JEsuiQLXJ9KAKDQsJ7pmFn51PTM6vPyy1ZSktYmlrawB0qJFFn0rCMxrsYnM4tQdqsNlswvDJtCnsdTmDvL4riFwpE0bC0hksj9cpoiM5uFAEipko84mSvgZPnBvjVmKwcYE8WFia8mJY-q1aUkRAyRILWOwCsI-L5gL5qrVikA
💻 Code
(async () => {
  const log = [];

  const promiseDispose = new Promise((resolve, _) => {
    setTimeout(() => {
      log.push("y dispose promise body");
      resolve();
    }, 0);
  });

  {
    await using x = {
      async [Symbol.asyncDispose = Symbol.for("Symbol.asyncDispose")]() {
        log.push("x asyncDispose body");
      },
    };
    await using y = {
      [Symbol.dispose = Symbol.for("Symbol.dispose")]() {
        log.push("y dispose body");
        return promiseDispose;
      },
    };
  }

  log.push("body");

  await promiseDispose;

  console.log(log);
})();

🙁 Actual behavior
It logs ["y dispose body", "y dispose promise body", "x asyncDispose body", "body"]
🙂 Expected behavior
It should log ["y dispose body", "x asyncDispose body", "body", "y dispose promise body"].
The "y dispose promise body" should be printed in the next event cycle, however it is printed before x asyncDispose body because the promise is awaited when disposing y.
Additional information about the issue
Per 7.5.6 GetDisposeMethod

NOTE: This function is not observable to user code. It is used to ensure that a Promise returned from a synchronous dispose method will not be awaited.

cc @rbuckton

Thanks, I plan to fix this shortly along with several other small normative changes up for discussion at next week's TC39 plenary.


can be used in vue3

vue-html2pdf.esm.js:391 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '_c')
when i used it in vue3 i got the error above

same error

Same

Same

Same

same

same

There are new informations?

Same here, did someone managed to find sth ?

same error

same

As per readme here, vue-html2pdf supports vue3. Not sure how though.


Refactor website to use Hugo and Docsy; Add a blog

Many thanks for submitting your Pull Request :heart:!
What this PR does / why we need it:

Fix #199
Fix #198
Fix #196

Special notes for reviewers:
Still, work todo:

[x] Add CI to preview the changes on Netlify (depends on https://cncfservicedesk.atlassian.net/servicedesk/customer/portal/1/CNCFSD-2321)
[x] Add schemas from previous version and 1.0.0-*
[x] Fix favicons
[x] Fix link cards preview

Additional information (if needed):

LGTM! Many thanks man ❤

@cdavernas can you take another review?

Looks great to me, many thanks! Do you think you could display the other key features on the index, and provide small code snippets, like now?

I would need help with HTML + js to be able to use this: https://www.docsy.dev/docs/adding-content/shortcodes/#tabbed-panes
It appears, but breaks the page. I think it's not meant to be used this way. So maybe @JBBianchi could help in a future PR? I will take a lot of time to do it, which I don't have atm.
What other key features you mean?

Looks great to me, many thanks! Do you think you could display the other key features on the index, and provide small code snippets, like now?

I would need help with HTML + js to be able to use this: https://www.docsy.dev/docs/adding-content/shortcodes/#tabbed-panes
It appears, but breaks the page. I think it's not meant to be used on the landing page. So maybe @JBBianchi could help in a future PR? I will take a lot of time to do it, which I don't have atm.
What other key features you mean?

Sure, we can have a look together.

What other key features you mean?

We have a lot more of those in the Readme:

Easy to Use: Designed for universal understanding, Serverless Workflow DSL enables users to quickly grasp workflow concepts and create complex workflows effortlessly.
Event Driven: Seamlessly integrate events into workflows with support for various formats, including CloudEvents, allowing for event-driven workflow architectures.
Service Oriented: The Serverless Workflow DSL empowers developers to seamlessly integrate with service-oriented architectures, allowing them to define workflows that interact with various services over standard application protocols like HTTP, GRPC, OpenAPI, AxsyncAPI, and more.
FaaS Centric: Seamlessly invoke functions hosted on various platforms within workflows, promoting a function-as-a-service (FaaS) paradigm and enabling microservices architectures.
Timely: Define timeouts for workflows and tasks to manage execution duration effectively.
Fault Tolerant: Easily define error handling strategies to manage and recover from errors that may occur during workflow execution, ensuring robustness and reliability.
Schedulable: Schedule workflows using CRON expressions or trigger them based on events, providing control over workflow execution timing.
Interoperable: Integrates seamlessly with different services and resources.
Robust: Offers features such as conditional branching, event handling, and looping constructs.
Scalable: Promotes code reusability, maintainability, and scalability across different environments.

And possibly even others worth mentioning...

@ricardozanini Yeah, you are right. Maybe 3 more indeed

Let's pick the 6 first, no? They feel like the most compelling to me.

@cdavernas if you're happy with the content now, feel free to merge :)

@JBBianchi @cdavernas btw I created an issue to track the code section: https://github.com/serverlessworkflow/serverlessworkflow.github.io/issues/203

@cdavernas one last thing: I've added the schema to the schemas section with both YAML and JSON versions. 👍


zooming out

OS:
Windows 7 and windows 10 (GPMDP from windows store)
Issue Descriptions:
Elements on the page zooms out when you navigate Google play music

Steps to Reproduce:
Lunch GPMDP. Use it for a couple of minutes. after a while page zooms out. Use Ctrl+0 to reset. Navigate, and repeat.

I can't reproduce this issue unfortunately. I don't even know that ctrl + 0 actually effects zoom in this application, unless I missed that update.

ctrl + 0 actually effects zoom in this application

It was implemented in the 4.0 series I think with the + and - shortcuts.  Regardless this is a non-issue (zoom on navigate glitches were fixed in an Electron update a while back)

Hmmm. I guess I will have to leave wit it. I am having this behavior on two systems, windows 10 at home and a windows 7 at work. Very strange.

Well I have zoom issue on win 7 with mini player. When I accidentally clicked "cascade windows" or one of these win manipulations in taskbar context menu - it resized miniplayer and miniplayer content zoomed in. Cannot find how to zoom out. Or at least reset the preferences! Help please.
See attachment


Suggestion: auto starring

Bumped into this bot today that adds github stars to links in a readable format, is this something we would appreciate? Example of list with stars added

:-1: It adds so much commit noise, I don't think this is the appropriate place for this.
We can still build a very basic website like plugins.cakephp.org (but in actual usable) to have those meta things there.

Personally I think it would be nice if there was something which checked broken links and such but don't like adding any metadata which would require constant updating.

Valid points, I will close. As far as the dead links go I remember this PR @ADmad :wink:

@bravo-kernel Ah I forget, guess we already have that covered :)

We do, yeah :)


Getting "fatal error: libudev.h: No such file or directory  #include <libudev.h>" when compiling the package

I'm getting "fatal error: libudev.h: No such file or directory  #include <libudev.h>" when compiling the package. This is not probably an issue but I'm guessing that I'm missing a dependency that should be installed.
I would be grateful if you tell me what are the dependencies that should be installed to get the package work properly.
Thanks in advance.

apt-get install libudev-dev

刘华
座机：0755-86329228
<EMAIL_ADDRESS>手机：13603061506
深圳奥比中光科技有限公司 www.orbbec.com.cn
地址：深圳市南山区粤兴三道8号中国地质大学产学研基地中地大楼A808
From: Jasmin92
Date: 2016-10-14 18:21
To: orbbec/ros_astra_camera
Subject: [orbbec/ros_astra_camera] Getting "fatal error: libudev.h: No such file or directory #include <libudev.h>" when compiling the package (#9)
I'm getting "fatal error: libudev.h: No such file or directory #include " when compiling the package. This is not probably an issue but I'm guessing that I'm missing a dependency that should be installed.
I would be grateful if you tell me what are the dependencies that should be installed to get the package work properly.
Thanks in advance.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Thank you for your quick answer,
I installed libudev-dev but I'm getting "/usr/bin/ld: cannot find -lOpenNI2Orbbec" is that because the Orbbec Astra SDK is not installed properly?
https://github.com/orbbec/astra
Can you please provide me a step by step instructions in order to install it properly.

No, you need't astra-sdk, ros-astra-camera use OpenNI2 SDK. during catkin_make, you will get OpenNI2 source from https://github.com/tfoote/OpenNI2.git,
and recompiler it. so be sure to access internet.
then , you can delete 'devel' and 'build' dir , try it again.

刘华
座机：0755-86329228
<EMAIL_ADDRESS>手机：13603061506
深圳奥比中光科技有限公司 www.orbbec.com.cn
地址：深圳市南山区粤兴三道8号中国地质大学产学研基地中地大楼A808
From: Jasmin92
Date: 2016-10-14 18:32
To: orbbec/ros_astra_camera
CC: ob-tim-liu; Comment
Subject: Re: [orbbec/ros_astra_camera] Getting "fatal error: libudev.h: No such file or directory #include <libudev.h>" when compiling the package (#9)
Thank you for your quick answer,
I installed libudev-dev but I'm getting "/usr/bin/ld: cannot find -lOpenNI2Orbbec" is that because the Orbbec Astra SDK is not installed properly?
https://github.com/orbbec/astra
Can you please provide me a step by step instructions in order to install it properly.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Thank you very much for these clarifications, it is working fine now.


Chef 2041 infra client release amazon 2023/muthuja

Description
This pr changes are for adding support for amazon 2023 for infra-client along with  it will enable rpm package signing and also support for arm architecture images
Related Issue

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] I have run the pre-merge tests locally and they pass.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] If Gemfile.lock has changed, I have used --conservative to do it and included the full output in the Description above.
[ ] All new and existing tests passed.
[ ] All commits have been signed-off for the Developer Certificate of Origin.

While running coomand:-
chef-client -zr "recipe[<cookbook_name>::<recipe_name>]" getting an error like-
WARN: This release of Chef Infra Client became end of life (EOL) on May 1st 2023. Please update to a supported release to receive new features, bug fixes, and security updates.
please help me to solve this issue.

While running coomand:- chef-client -zr "recipe[<cookbook_name>::<recipe_name>]" getting an error like- WARN: This release of Chef Infra Client became end of life (EOL) on May 1st 2023. Please update to a supported release to receive new features, bug fixes, and security updates.
please help me to solve this issue.

@tpowell-progress  / @johnmccrae  can any of you please assist here?


Document which CSPF metrics use cases for mef_eline

This is for documenting which CSPF metrics from pathfinder would need to be supported at least just to clients can provision their circuits with CSPF constraints.
cc'ing @jab1982 @italovalcy could you describe on this issue which metrics would need to be supported? Let's see if the existing ones bandwidth, ownership, delay, utilization, and reliability are sufficient, if they are it's just a matter of making sure it's covered with tests too once issue #136 is done

Landed on https://github.com/kytos-ng/kytos/pull/286


Move ThangType short names and genders to the ThangType models

Update some related i18n systems accordingly.

Coverage remained the same at 62.14% when pulling 02330d91716a369639a78abed6a62feba836cbac on thang-type-translations into 4fac5ef40c5c12650eb1a8d532af7db36c2f998b on master.

Coverage remained the same at 62.14% when pulling 68fed448d2bbe8f8229afb6206f3c56ed6c71d89 on thang-type-translations into 4fac5ef40c5c12650eb1a8d532af7db36c2f998b on master.


Changed ruby benchmark output

Everything is now like:
=> Result: XXX
=> Time: X.XXs

@fpgentil Thank you for the effort in changing these outputs. :smile:


Upgrade carbon kernel version

Purpose
Upgrade carbon kernel version to v4.9.2

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/4255677246

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/4255677246
Status: success


Better error message on incorrect argument

When using hyperstate, something that I found helpful was its error message. Is there any chance tyro can support something similar? The relevant code is here:
https://github.com/cswinter/hyperstate/blob/94b1ed31210afed8a9f60ca2a38d73ed7a7a5ea7/hyperstate/command.py#L17-L59

Yeah, this looks nice!
Including help messages for fields that are passed invalid types seems useful, as does pointing out similar fields if we're given one that doesn't exist. Is there anything I'm missing?
I was also totally unaware of hyperstate; it looks clean.

:) Yeah current message looks like this, which can be overwhelming.

Newest release should improve things on this front!


Write manual test cases for "WashingtonPage: https://prayersconnect.com/mosques/search/Seattle%252C%2520Washington%252C%2520United%2520States/47.6062095%2C-122.3320708/47.6062095%2C-122.3320708".

Please write a manual test case for "WashingtonPage: https://prayersconnect.com/mosques/search/Seattle%252C%2520Washington%252C%2520United%2520States/47.6062095%2C-122.3320708/47.6062095%2C-122.3320708" which involves breaking down the functionality of the webpage into specific steps that can be tested.
Please use this Google Sheet for your test cases
https://docs.google.com/spreadsheets/d/1TPTDXvuPvRhw-U4YBsxJ58iATH1P4MCsE98E3ydKECQ/edit?usp=sharing

done

Thank you.


Master oficial

merge master-oficial to master

Thanks for your contribution.
The next step is to wait for review and approval to merge it to main repository
The community can help reacting with a thumb up (:thumbsup:) for approval and rocket (:rocket:) for who has tested it.
To test this PR you can run the following command below:
# NPM
npm install @wkarts/baileyss@wkarts/Baileys#master-oficial
# YARN v2
yarn add @wkarts/baileyss@wkarts/Baileys#master-oficial


[Android] Fix the resoures IDs reset in download mode

The classloader used to load internal classes should be the same
as XWalkInternalResources'.
BUG=XWALK-6566
BUG=XWALK-6599

@lincsoon @wuhengzhi

In the comment, BUG=XWALK-6566, BUG=XWALK-6599 -> BUG=XWALK-6566, XWALK-6599
LGTM, thanks.

@wuhengzhi Please check the rule at crosswalk website

If a PR fixes multiple issues, reference them on separate lines of the description, starting each with "BUG=".


I cannot install EFCore 3.0 in UWP project

I have tried to install Microsoft.EntityFrameworkCore 3.0.0  package in a UWP project but I got the following error:
Package Microsoft.EntityFrameworkCore 3.0.0 is not compatible with uap10.0.18362 (UAP,Version=v10.0.18362) / win10-x64. Package Microsoft.EntityFrameworkCore 3.0.0 supports: netstandard2.1 (.NETStandard,Version=v2.1)
UWP application targets 18362 version, minimal version 18362.
VS version: 16.3.0
Thanks for your help!

EF Core 3 requires .net standard 2.1, which is planned but not yet supported by UWP.
.net standard 2.0 was supported by UWP 2 months after its release.

My favorite slide from dotNETConf:

I hope UWP will also join the party

@richlander - Do you have guidance for customers for this scenario?

🎉 Fixed on 3.1.0-preview2: https://github.com/aspnet/EntityFrameworkCore/issues/18141


Refactoring questions - AddDatabase

Do we need this extension method builder.Services.AddDatabase(sp => new HrDb(sp.GetRequiredService<HrSettings>())); ?
looks like builder.Services.AddScoped<IDatabase, HrDb>(); would do the same?

Good pickup. AddDatabase was provided to encapsulate in case other functionality needed to be added in the future when registering; added new AddDatabase<TDb>() overload to simplify. Also, now for Entity Framework, there is a new AddEfDb<Tx, Ty>() to similarly allow for future functionality when registering.


Can't stay alive in background

Describe the bug
The app can't stay alive in the background. It stops logging points when not in the foreground.
To Reproduce
Steps to reproduce the behavior:

Open app
Start logging
Swipe up to put app in background

Expected behavior
Log points to Traccar Server
Smartphone (please complete the following information):

Device: iPhone 13 Mini
OS: 16.5

Additional context
There's no options for Background App Refresh for Traccar Client. It's just not listed in the list.

Have you checked system logs to see what happens?
PS Background App Refresh is something unrelated, afaik. We request background location updates instead.

Have you checked system logs to see what happens?
PS Background App Refresh is something unrelated, afaik. We request background location updates instead.

Which system logs specifically? Somewhere in the iOS settings app that I should be looking?

iOS system logs.

There's no logs for Traccar Client.

What is this? Once again, I'm talking about system logs. There should be a single log, not per app log.

Looks like the system log is only able to be accessed via desktop based on what I'm reading on a web search. I'll update later when I get around to investigating further.

Seems to have fixed itself over time. No direct actions were taken. Tested in outdoor, indoor, moving, and static environments, all seems to just work.


How to integrate the function into my rag system

That's pretty familiar function with the recently repo which name “Hipporag”
But one more thing i still want to know is ....
Dose it the can integrate the function into my rag system

Can you clarify what your question is? We provide some notebook examples here that demonstrates how to programmatically query a graphrag index. You could take that code as a starting point and transform it into a function that integrates into your system.

@jgbradley1
i meaning that where is your soure code ,and which module than your integrate ,i need to know the structure it is ，than.... i can useing it appropriate in my Chat system

@

@jgbradley1 i meaning that where is your soure code ,and which module than your integrate ,i need to know the structure it is ，than.... i can useing it appropriate in my Chat system

You can find source code in the py package(graphrag), It clear in every step,plz ensure you have installed it XD.

@misi0202  appreciate it ！


Incompatibility with mkdocs 1.2.

Describe the bug
The new released mkdocs 1.2 includes livereload, not as a dependency. Resulting in an import error:
  File "/usr/local/lib/python3.9/site-packages/mkdocstrings/plugin.py", line 18, in <module>
    from livereload import Server
ModuleNotFoundError: No module named 'livereload'

To Reproduce
Steps to reproduce the behavior:

pip install mkdocstrings
python -c 'import mkdocstrings.plugin'

Expected behavior
No error.
Information (please complete the following information):

mkdocstrings version: 0.15.1

To add to this issue, as mentioned in https://github.com/mkdocs/mkdocs/issues/2448 this import error also occurs when running mkdocs build where I would not even expect any live reload feature. Maybe the import could be guarded?

The import just isn't needed whatsoever. But indeed currently it's done always.
See https://github.com/mkdocstrings/mkdocstrings/pull/294/files

I see, it's only for type hints. In that case, one could add the following also:

from typing import TYPE_CHECKING

if TYPE_CHECKING:
    from livereload import Server

def on_serve(self, server: "Server", builder: Callable, **kwargs):

so that livereload would be a dependency for development only.

The release with the fix is now out.
@themightychris @jaceklaskowski @plannigan @deepcharles @lyz-code @Midnighter @coady @yi2020
(notifying users who linked workarounds from commits elsewhere)

Unless I'm doing something completely wrong the latest release of mkdocs-material-insiders mkdocs-material-7.1.7-insiders-2.9.2 theme does not seem to work with serve:
Traceback (most recent call last):
  File "/usr/local/bin/mkdocs", line 8, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1668, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/mkdocs/__main__.py", line 173, in serve_command
    serve.serve(dev_addr=dev_addr, livereload=livereload, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/mkdocs/commands/serve.py", line 78, in serve
    server = config['plugins'].run_event('serve', server, config=config, builder=builder)
  File "/usr/local/lib/python3.9/site-packages/mkdocs/plugins.py", line 94, in run_event
    result = method(item, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/mkdocs_macros/plugin.py", line 588, in on_serve
    builder = list(server.watcher._tasks.values())[0]["func"]
AttributeError: 'LiveReloadServer' object has no attribute 'watcher'

What's interesting is that the last line in the stack trace shows no connection to mkdocstrings (and am wondering how this change could change anything)?
It clearly points at mkdocs_macros/plugin.py:588 that looks as follows (can't find the repo to link to):
        # necessary because of a bug in mkdocs:
        # more information in:
        # https://github.com/mkdocs/mkdocs/issues/1952))
        builder = list(server.watcher._tasks.values())[0]["func"]

I'm stuck and am begging for some help.


New version of JWT generating errors

I had to rollback from version 2.2.0 to version 2.1.3 because with the version, I was repeatedly getting the following error:
request.CRITICAL: Uncaught PHP Exception Firebase\JWT\SignatureInvalidException: "Signature verification failed" at /www/vendor/firebase/php-jwt/src/JWT.php line 112 {"exception":"[object] (Firebase\\JWT\\SignatureInvalidException(code: 0): Signature verification failed at /www/vendor/firebase/php-jwt/src/JWT.php:112)"} []
[2017-08-10 21:46:56] request.INFO: Matched route "foo_bar". {"route_parameters":{"_controller":"App\\MyBundle\\Controller\\MyController::fooBarAction","_route":"foo_bar"},"request_uri":"https://www.foo.com"} []

Any idea of why I'm getting this error with v2.2.0?
What would be your hint for me to be able to securely update the bundle?
Thanks for your help,
Romain

Me too. See issue #1279

Me too , downgrading by using
composer require firebase/php-jwt:4.0
fixed the problem for me !!! largely this is becoming a problem when things are not getting properly tested with this library for example we should have some sort of max version set in the composer file for which this library has been tested without me having to google search for solutions !

@thejaswip thanks for the fix, fucking bizzare that official google doc here https://developers.google.com/identity/sign-in/web/backend-auth will lead to this error, I guess with so many projects they deal with these things can happen quite easily.

Added in 2.2.1!
Open a new issue if you continue to experience problems. Thank you!


React to Join Channels

Creates a message that you can react to in order to join/leave channels.
!joinmessage creates the message listing all channels available to join and their corresponding emojis. The bot then reacts to the message with each channel emoji. Only users with manage_channel perms can use this command.
Upon reacting to the message the user gets added/removed from $channel, depending on if they're already in it or not. Reactions are automatically removed by the bot so the counters stay at 1 (so as to maintain privacy, stop reacts from reaching absurd numbers etc). A dm confirming they joined/left is sent as well.
This doesn't affect the other commands for managing channels so they can still be used.

I'm going to have another go at this, will look to store emojis in the DB as well as merge the functionality between channels.py and join.py

Looking forward to reviewing your updated code :)
In regards to the old system, I personally don't see why the old commands can't stick around. If they use the same base functionality, its just another path for people to join channels.


Installing WSL2 - The term 'wsl' is not recognized as the name of a cmdlet

Windows build number:  Microsoft Windows [Version 10.0.18362.295]
Trying to install WSL2 as shown on https://docs.microsoft.com/en-us/windows/wsl/wsl2-install
Executed the Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform, which installed and told me it needs a restart. Later after a restart, when trying the wsl --set-version <Distro> 2 step, it goes
PS C:\Users\Inari> wsl
wsl : The term 'wsl' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ wsl
+ ~~~
+ CategoryInfo          : ObjectNotFound: (wsl:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

where.exe wsl or where.exe wsl.exe both find nothing. But I have System32 in my $Env:Path (which was the issue in another issue about this on here). where.exe calc.exe also finds the calc.exe in System32.
Re-running Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform just tells me:
PS C:\Users\Inari> Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform

Path          :
Online        : True
RestartNeeded : False

And then it still doesn't work
Running a search for wsl.exe finds 8 files:
C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~183<IP_ADDRESS>\amd64_microsoft-windows-lxss-wsl_31bf3856ad364e35_10.0.18362.239_none_d8d55499606e362e\f\wsl.exe
C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~183<IP_ADDRESS>\amd64_microsoft-windows-lxss-wsl_31bf3856ad364e35_10.0.18362.239_none_d8d55499606e362e\r\wsl.exe
C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~18362.295.1.5\amd64_microsoft-windows-lxss-wsl_31bf3856ad364e35_10.0.18362.239_none_d8d55499606e362e\f\wsl.exe
C:\Windows\servicing\LCU\Package_for_RollupFix~31bf3856ad364e35~amd64~~18362.295.1.5\amd64_microsoft-windows-lxss-wsl_31bf3856ad364e35_10.0.18362.239_none_d8d55499606e362e\r\wsl.exe
C:\Windows\WinSxS\amd64_microsoft-windows-lxss-wsl_31bf3856ad364e35_10.0.18362.239_none_d8d55499606e362e\wsl.exe
C:\Windows\WinSxS\amd64_microsoft-windows-lxss-wsl_31bf3856ad364e35_10.0.18362.239_none_d8d55499606e362e\f\wsl.exe
C:\Windows\WinSxS\amd64_microsoft-windows-lxss-wsl_31bf3856ad364e35_10.0.18362.239_none_d8d55499606e362e\r\wsl.exe
C:\Windows\WinSxS\amd64_microsoft-windows-lxss-wsl.resources_31bf3856ad364e35_10.0.18362.1_en-us_1e417be3cc84e28a\wsl.exe.mui

Please note that you'll need to be running Windows 10 build 18917 or higher to use WSL 2, and that you will need to have WSL already installed (you can find instructions to do so here).
https://docs.microsoft.com/en-us/windows/wsl/wsl2-install

Oh, somehow I completely missed that haha. Sorry.

I have done all of the above in Windows [Version 10.0.19041.172]. Reinstalled Ubuntu 18.04. In powershell:

wsl -l:
wsl : The term 'wsl' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.

wsl --set-version <Ubuntu-18.04> 2:
At line:1 char:19
wsl --set-version <Ubuntu-18.04> 2
The '<' operator is reserved for future use.

CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
FullyQualifiedErrorId : RedirectionNotSupported

In cmd:

wsl -l:
NAME STATE VERSION
Ubuntu-18.04 Stopped 1

wsl --set-version <Ubuntu-18.04> 2:
The system cannot find the file specified.
I have not found anything that fixes this.

This command actually fixed my issue:
Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform
and then I restarted and it was working

I have the same problem:

Image Version: 10.0.19041.388

In PowerShelll:

$ wsl
wsl : The term 'wsl' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

wsl

  + CategoryInfo          : ObjectNotFound: (wsl:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException

But in Command Promp:

wsl -l
Windows Subsystem for Linux Distributions:
Ubuntu-20.04 (Default)
Ubuntu
Ubuntu-18.04

@elena-pascal, this is a known issue, although I didn't realize it at first. See the "Troubleshooting installation" section here:
https://docs.microsoft.com/en-us/windows/wsl/install-win10

The term 'wsl' is not recognized as the name of a cmdlet, function, script file, or operable program.
Ensure that the Windows Subsystem for Linux Optional Component is installed. Additionally, if you are using an ARM64 device and running this command from PowerShell, you will receive this error. Instead run wsl.exe from PowerShell Core, or Command Prompt.

PowerShell Core is an official Microsoft tool, just like normal PowerShell, but it doesn't come pre-installed. You can download PowerShell Core from GitHub here. This article discusses the differences between them if you're curious.

One does not need Powershell nor Powershell core nor Command Prompt to use WSL.

@Biswa96 Most people don't - but those with ARM64 processors, including myself, do.

@Biswa96, how can someone install and use WSL without using any of those three tools? https://docs.microsoft.com/en-us/windows/wsl/install-win10 gives two installation methods, but both methods require running something in a terminal. Until WSL is fully installed, the only terminal options (that I'm aware of) are PowerShell, PowerShell Core, and Command Prompt.
After installation, then yes, WSL is usable through whichever linux distro you installed, without needing to run PowerShell, PowerShell Core, or Command Prompt.

how can someone install and use WSL without using any of those three tools?

Remember the good old days !? Try the Optional Features Program aka. OptionalFeatures.exe  from System32.  You need to install wsl first for it to be recognized. To be honest, the docs are quite vague but now it seems to work for me.
I got the command from https://docs.microsoft.com/en-us/windows/wsl/install-win10 in the first manual installation section

@elena-pascal, this is a known issue, although I didn't realize it at first. See the "Troubleshooting installation" section here:
https://docs.microsoft.com/en-us/windows/wsl/install-win10

The term 'wsl' is not recognized as the name of a cmdlet, function, script file, or operable program.
Ensure that the Windows Subsystem for Linux Optional Component is installed. Additionally, if you are using an ARM64 device and running this command from PowerShell, you will receive this error. Instead run wsl.exe from PowerShell Core, or Command Prompt.

PowerShell Core is an official Microsoft tool, just like normal PowerShell, but it doesn't come pre-installed. You can install PowerShell Core from the Microsoft Store (where it's simply called PowerShell - confusing!) or download it from GitHub. This article discusses the differences between them if you're curious.

can confirm that, simply running all stuff in good old cmd solves the issue
Also, there is a way to do ad oculus check on wsl installation status, screenshots here: https://www.windowscentral.com/install-windows-subsystem-linux-windows-10

Também tive esse problema e não consegui resolver! Alguém?
wsl : O termo 'wsl' não é reconhecido como nome de cmdlet, função, arquivo de script ou programa operável. Verifique a
grafia do nome ou, se um caminho tiver sido incluído, veja se o caminho está correto e tente novamente.
No linha:1 caractere:1

wsl --set-default-version 2

  + CategoryInfo          : ObjectNotFound: (wsl:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException

Também tive esse problema e não consegui resolver! Alguém?
wsl : O termo 'wsl' não é reconhecido como nome de cmdlet, função, arquivo de script ou programa operável. Verifique a
grafia do nome ou, se um caminho tiver sido incluído, veja se o caminho está correto e tente novamente.
No linha:1 caractere:1

wsl --set-default-version 2

  + CategoryInfo          : ObjectNotFound: (wsl:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException

Solucionei o problema da seguinte maneira: 1º reiniciei o computador, por via das dúvidas. 2° utilizei o seguinte comando: "wsl -help". Em seguida executei o código que no começo tinha dado o erro acima: "wsl --set-default-version 2". Então apareceu o seguinte:
"
WSL 2 requer uma atualização para seu componente kernel. Para obter mais informações, visite https://aka.ms/wsl2kernel
Para obter informações sobre as principais diferenças em relação ao WSL 2, visite https://aka.ms/wsl2
"
Um avanço já que no começo o sistema nem reconhecia o comando! Daí rodei o comando inicial novamente: "wsl --set-default-version 2" e só apareceu:
"
Para obter informações sobre as principais diferenças em relação ao WSL 2, visite https://aka.ms/wsl2
"
Então rodei o comando: "wsl -l -v" o retorno foi: "O Subsistema do Windows para Linux não tem distribuições instaladas.
As distribuições podem ser instaladas visitando a Microsoft Store:
https://aka.ms/wslstore". Solucionei meu problema, agora vou concluir a operação seguindo o vídeo do youtube cujo link é: https://www.youtube.com/watch?v=hd6lxt5iVsg&ab_channel=Rocketseat

@gabrielbino express yourself in plain English

@gabrielbino express yourself in plain English

Não entendi o que você quis dizer. Traduzi a frase mas continuei sem entender. De qualquer forma o problema que eu tive foi solucionado.
Abstract
I don't understand what you mean. I translated the sentence, but I still didn't understand. Anyway the problem I had was solved.

@banderlog | I used the Google translate, sorry if there are glitches.
I solved the problem as follows: 1st restarted the computer, just in case. 2nd I used the following command: "wsl -help". Then I ran the code that at the beginning had given the above error: "wsl --set-default-version 2". Then the following appeared:
"
WSL 2 requires an update to its kernel component. For more information, visit https://aka.ms/wsl2
For information on key differences from WSL 2, visit https://aka.ms/wsl2
"
Then I ran the initial command again: "wsl --set-default-version 2"
"
I solved my problem.

For me, I need to enable two features and reboot my pc twice to make the features ready for the installation of WSL2 Linux kernel update package for x64 machines
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

For me, I need to enable two features and reboot my pc twice to make the features ready for the installation of WSL2 Linux kernel update package for x64 machines
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

Yes, correct

After going through all the suggestion here, the command still does not work for me.  Then instead of running in Powershell, I try running on Command Prompt and voila, it works!
So probably Powershell pathing may not be updated after all the steps or something like that.
Hope this helps other trying to solve it.

I had this error. The problem was that I opened "PowerShell (x86)" and not "PowerShell". I wrote the command in the later and it worked.

My issue was that I was using x86 as well. I used PowerShell ISE instead and it works!


Add functionality of add comments from form

Changes i made here 👍

Add the function to add comment in the popup
Add some styles
no linter erroe

Congratulation 🥳
there is nothing more to say than it is time to merge it :shipit:


SammyK \ FacebookQueryBuilder \ FacebookQueryBuilderException (10)  Graph returned an error response.

When using the following code Laravel 4 fired an exception :
Facebook::setAppCredentials('########', '#############');
    // This access token will be used for all calls to Graph.
    Facebook::setAccessToken('ff5ab5e96377be16436c9f2fe751b4c3');

    // Get the logged in user's profile.
    $user = Facebook::object('me')->fields('id', 'email')->get();

Exeception -
SammyK \ FacebookQueryBuilder \ FacebookQueryBuilderException (10)  Graph returned an error response.

You need to catch the exception and examine the error that is being returned from the Graph API.
try {
    $user = Facebook::object('me')->fields('id', 'email')->get();
} catch (\SammyK\FacebookQueryBuilder\FacebookQueryBuilderException $e) {
    dd($e->getPrevious()->getMessage());
}

Thanks, I can figure this out!!  Manage permission like "Post to Wall" etc. and fetch the Facebook App statistics like "Page List", "Like Count", COmments etc.
What will be the approach using this Package. Please Help.

In Facebook, analytics are called "insights".
For a Facebook Page you'll need the read_insights permission and then you can get the /{page-id}/insights endpoint. That will give you access to a ton of insight metrics.
For a Facebook app, you hit the /{app-id}/app_insights endpoint.
An example:
// Page insights
$response = Facebook::object('{page-id}/insights')->get();

// App insights
$response = Facebook::object('{app-id}/app_insights')
    ->fields('time', 'value')
    ->with(['period' => 'daily']) // this is how you send modifiers
    ->get();

I am able to fetch info Using the "Facebook::setAccessToken" by passing the short-term access token from facebook. But When I am using "getTokenFromRedirect" , it returns NULL.
I am using the following code in my controller ->
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
$config['callback_url'] = 'http://value-studio.com/studioSocial';
$fqb = new FQB();
try
{
$token = $fqb->auth()->getTokenFromRedirect($config['callback_url']);
}
catch (FacebookQueryBuilderException $e)
{
echo 'Error: ' . $e->getMessage() . "\n\n";
echo 'Facebook SDK Said: ' . $e->getPrevious()->getMessage() . "\n\n";
exit;
}
if ( ! $token)
{
/**
* No token returned. Show login link.
*/
$scope = ['email', 'read_stream']; // Optional
$login_url = $fqb->auth()->getLoginUrl($config['callback_url'], $scope);
echo 'Log in with Facebook';
//exit;
}
echo 'Returned AccessToken Object' . "\n\n";
var_dump($token);
exit;
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
please Help. How to get access token?

Is this the code that Facebook will redirect the user to after they click login? If so, what values exist in the params of the URL after Facebook redirects the user to this page? There should be a param called code and one called state.

yes it returns the following url after login -
http://value-studio.com/studioSocial?code=AQB6iONxKOVF7H85_sTTQNMF7LG1S5loB-mX1n3Mm5CGsiuvH4hJRsuK4a8MoEmcxztc4-qZkq2VT7uNH5wiOvqxcSwJbEKJGGuo_efaial1ARbP1GGhp-Cq4RQhm4VVy-4BG78-VvAHCkiYRtxMvQZKYxQAaB4I3JbUHaUkYeOM9KcCjsUFV9xMQUhkCFz-l1D3cxVihVUsrhmkcsIJTEzZt1BnYDR0W3CO-Y8CZrJuKeQc9WMpAMxYYyFCJRDX7YPnvqOHO0NX6Z1_JdB9IcA5kfBGtt14TGixP6K3koRsshfuxCh7pUvR4iIAsXcKJ5V71sdyQTYSDoBL47UQbDf5&state=83effc5e933befadfe7c5263acbd3572#_=_

This line:
$fqb = new FQB();

Should be grabbing an instance of the LaravelFacebookSdk:
$fqb = App::make('laravel-facebook-sdk');

Now error is throwing  -
Call to undefined method SammyK\LaravelFacebookSdk\LaravelAuthFacebook::getTokenFromRedirect()

Change:
$token = $fqb->auth()->getTokenFromRedirect($config['callback_url']);

// to:

$token = $fqb->getTokenFromRedirect($config['callback_url']);

And:
$login_url = $fqb->auth()->getLoginUrl($config['callback_url'], $scope);

// to:

$login_url = $fqb->getLoginUrl($scope, $config['callback_url']);

well...now error is gone but Token returning NULL

Did you publish the config file in your laravel app?

yes

It sounds like there might be a problem with validating the state param which is CSRF protection. Maybe  a session issue.
For debugging, add these to your callback URL
var_dump(Session::get('state'));
var_dump(Input::get('state'));

After you get redirected to the page after clicking login, those values should both be a random string and should both be the same value.

Yes. You are right. Everytime I clicked on the login URL. Both returns the different and random value

Weird, I'm not sure why you're getting two different values. Are you calling getLoginUrl() any time before getTokenFromRedirect()? What code do you have before the getTokenFromRedirect() section?

Facebook::setAppCredentials('365767286936997', 'd7723387afdf0c6fbe61d6b7233c63e8');
$config['callback_url'] = 'http://value-studio.com/studioSocial';
$fqb = App::make('laravel-facebook-sdk');
try
{
$token = $fqb->getTokenFromRedirect($config['callback_url']);
}
catch (FacebookQueryBuilderException $e)
{
echo 'Error: ' . $e->getMessage() . "\n\n";
echo 'Facebook SDK Said: ' . $e->getPrevious()->getMessage() . "\n\n";
exit;
}

Actually - are the two values different if you put that debug snippet just above the if ( ! $token) line?

the whole code is ->
Facebook::setAppCredentials('365767286936997', 'd7723387afdf0c6fbe61d6b7233c63e8');
$config['callback_url'] = 'http://value-studio.com/studioSocial';
$fqb = App::make('laravel-facebook-sdk');
try
{
$token = $fqb->getTokenFromRedirect($config['callback_url']);
}
catch (FacebookQueryBuilderException $e)
{
echo 'Error: ' . $e->getMessage() . "\n\n";
echo 'Facebook SDK Said: ' . $e->getPrevious()->getMessage() . "\n\n";
exit;
}
if ( ! $token)
{
/**
* No token returned. Show login link.
*/
$scope = ['email', 'read_stream']; // Optional
$login_url = $fqb->getLoginUrl($scope,$config['callback_url']);
echo 'Log in with Facebook';
//exit;
}
echo 'Returned AccessToken Object' . "\n\n";
var_dump($token);
var_dump(Session::get('state'));
var_dump(Input::get('state'));

Yeah, so move this:
var_dump(Session::get('state'));
var_dump(Input::get('state'));

Above the if ( ! $token) line and try it again to see if the values are different. Right now the values will always be different since the call to getLoginUrl() above them will reset the state in the session.

Output -
string(32) "0ab16f12036839c1389da805355c3c2e"
NULL

Add these lines after those debugging lines:
var_dump(Input::get('error'));
var_dump(Input::get('error_reason'));
var_dump(Input::get('error_description'));

And try again

OUTPUT
string(32) "0ab16f12036839c1389da805355c3c2e"
NULL
NULL
NULL
NULL

Is this the output after you click on the login link? That would be the expected output before you clicked on the login link and Facebook redirect you back to the URL. We want to see the output after you get redirected back from Facebook.

After clicking the "login link"
string(32) "0ab16f12036839c1389da805355c3c2e"
string(32) "0dfd9cfb3e14e7b67353fd84d10d11c5"
NULL
NULL
NULL

Yeah, your state is definitely getting out of sync for some reason. This is either a bug or a misconfiguration in your code or on your hosting environment. I'll have to do some more research to see if I can replicate these results.

I think what's happening here is that the state key is being overwritten somewhere else in your code. I've updated the LaravelFacebookSdk to version 1.3.0 which adds a prefix to prevent this issue. Go ahead and update and let me know if that fixes your issue! :)

Update: Actually, that didn't fix it. Grrr. :( So it looks like there's something wonky going on with the getLoginUrl(). Sometimes it will generate a CSRF token twice and not save it to the session the second time. But since v1.x of this package depends on FQB and that depends on the Facebook PHP SDK v4.0 which is a pain in the butt to overwrite, I'm not sure how to fix this.
I've spent the past few hours on this and I'm about to just throw up my hands and say don't use the v1.x for "redirect login" stuff. You can still use it by logging a user in via JavaScript & then pulling in the access token. That's a lot more stable & a better UX anyways.
But version 2.x doesn't suffer from this problem and the code is far less complicated (no dependency on FQB & uses PHP SDK v4.1).
So sorry I couldn't save this one, but I'm going to mark this method as "unstable" for v1.x and hope you guys won't murder me. :/

So will Laravel Facebook SDK 2.x work with Laravel 4?
Thanks.


[v0.77] shell exec is closed when TerminalSizeSender is dropped

Current and expected behavior
Since version 0.77 due to commit, https://github.com/kube-rs/kube/commit/d574fbc0e9637a50f60deaaf03f8226d5bb22102
when doing a shell exec, if the terminalSizeSender of the attached process is dropped, the connection to the remote process/message loop is dropped/exited due to line https://github.com/kube-rs/kube/blob/main/kube-client/src/api/remote_command.rs#L328
Before version 0.77, one was able to take out only stdin and stdout from the AttachedProcess (and thus to drop it afterward) without the connexion with remote process exiting.
As example:
Doing this on version < 0.77 was ok
    let mut attached = pods.exec(pod_name, command, &ap).await?;
    let stdout = attached.stdout();
    let stdin = attached.stdin();
//    std::mem::forget(attached);

    return Ok((stdout.unwrap(), stdin.unwrap()))

since version 0.77, when attached is dropped, so is TerminalSizeSender, which endup triggering the exit of the message loop
uncommenting the std::mem::forget(attached) of the previous snippet make the code works
My expected behavior would be to avoid exiting the message loop even if the TerminalSizeSender is dropped, as one may not need it.
Possible solution
diff --git a/kube-client/src/api/remote_command.rs b/kube-client/src/api/remote_command.rs
index 96b93ac..2c925df 100644
--- a/kube-client/src/api/remote_command.rs
+++ b/kube-client/src/api/remote_command.rs
@@ -255,7 +255,7 @@ where
     let (mut server_send, raw_server_recv) = stream.split();
     // Work with filtered messages to reduce noise.
     let mut server_recv = raw_server_recv.filter_map(filter_message).boxed();
-    let have_terminal_size_rx = terminal_size_rx.is_some();
+    let mut have_terminal_size_rx = terminal_size_rx.is_some();

     loop {
         let terminal_size_next = async {
@@ -325,7 +325,7 @@ where
                         server_send.send(ws::Message::Binary(vec)).await.map_err(Error::SendTerminalSize)?;
                     },
                     None => {
-                        break
+                        have_terminal_size_rx = false;
                     }
                 }
             },

Additional context
I can make a patch if the solution is ok to you
Environment
❯ kubectl version
Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.4", GitCommit:"b695d79d4f967c403a96986f1750a35eb75e75f1", GitTreeState:"archive", BuildDate:"2021-11-18T21:20:32Z", GoVersion:"go1.17.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"22+", GitVersion:"v1.22.15-eks-fb459a0", GitCommit:"be82fa628e60d024275efaa239bfe53a9119c2d9", GitTreeState:"clean", BuildDate:"2022-10-24T20:33:23Z", GoVersion:"go1.16.15", Compiler:"gc", Platform:"linux/amd64"}
Configuration and features
No response
Affected crates
kube-client
Would you like to work on fixing this bug?
yes

Thanks for the report!
Yeah, I think your suggestion makes sense here. Users might not always care about this.
A PR here would be much appreciated!

Opened a PR for it https://github.com/kube-rs/kube/pull/1112


CollectionView sections support

multiple sections are not handled by the layout. Best.

I would like support for sections too :)

I have implement to support multiple section ,just changed some lime of code in "override open func prepare()" method. Just replace the for loop with the below code;
But I am not able to add Custom Header for section. Please help me to do this. Thanks in advance.
for section in 0 ..< collectionView!.numberOfSections {
for item in 0 ..< collectionView!.numberOfItems(inSection: section) {
let indexPath = IndexPath(item: item, section: section)
let height = cellPadding + staticCellHeight
let frame = CGRect(x: xOffsets[column], y: yOffset[column], width: columnWidth, height: height)
let insetFrame = frame.insetBy(dx: cellPadding, dy: cellPadding)
let attributes = DisplaySwitchLayoutAttributes(forCellWith: indexPath)
attributes.frame = insetFrame
baseLayoutAttributes.append(attributes)
contentHeight = max(contentHeight, frame.maxY)
yOffset[column] = yOffset[column] + height
column = column == (numberOfColumns - 1) ? 0 : column + 1
}
}


Update chef-ruby-lvm-attrib gem to 0.3.11

chef-ruby-lvm-attrib 0.3.10 was yanked from rubygems.out
Obvious fix.
Signed-off-by: ryanwoodsmall<EMAIL_ADDRESS>Description
chef-ruby-lvm-attrib version 0.3.10 was yanked upstream: https://rubygems.org/gems/chef-ruby-lvm-attrib/versions/0.3.10
This boke a number of builds for cookbooks. Bump the version to the 0.3.11, which is currently latest available.
Issues Resolved
No issue submitted
Check List

[x] A summary of changes made is included in the CHANGELOG under ## Unreleased
[-] New functionality includes testing.
[-] New functionality has been documented in the README if applicable.

Released as: 6.1.2

Thanks for the quick turnaround!

I am so sorry about yanking that release. That was a mistake on my part. Apologies for any issues this caused!

No worries! Better to find out on a Friday than on a Saturday!


OSFUSE-150: Made etc/config.properties world writable for shutdown co…

…mmand update

@rhuss, please merge


Retrieve my 12 word password from Co'pay. Lost my passeord and 12 word code. How can I get them reset ?

Help !!

@dubsem
we have developed our own hardware for cracking all versions of bitcoin wallet password with superfast speed
and if you still has problem I can help you run it. you can find my contact details on my profile
or you can send me message in telegram: @johnjames333 or gmail<EMAIL_ADDRESS>


Avoid curl return '0' in 'Drop log_test1 template' task

As before, curl always return '0' when met HTTP 503 error, which
lead the task wouldn't retry times until dropping successfully.
By adding '-f' will let curl return '22' when doc doesn't exists,
and would trigger more retries.

wrong branch to commit


typo: is changed to as

Just a tiny typo, changed is to as

Tiny typos are still typos. Thanks for the PR!


5 second pause when running

thanks for this image it works great, however I am finding that there is delay of 5 or so secs to call casper.start
If I run locally on my dev box
casperjs test ./tests/logged.out.js --baseUrl=http://test.com:62726
The script takes around 2secs
PASS 35 tests executed in 2.015s, 35 passed, 0 failed, 0 dubious, 0 skipped.
If I run this via docker
docker run -v d:/tests:/data zopanix/casperjs test logged.out.js --baseUrl=http://test.com:62726
It starts instantly and shows the following
Logged out pages
PASS Logged out pages (35 tests)

however there is now a pause for around 5 secs and then the tests run
PASS 35 tests executed in 7.376s, 35 passed, 0 failed, 0 dubious, 0 skipped.
Therefore something is delaying the call to casper.start by around 5 secs. Have you seen this behaviour and is there anything I can do to speed it up?
the first few lines of my casper script is
casper.test.begin('Logged out pages', 35, function (test) {
    casper.start(casper.cli.options.baseUrl + "", function () {

Have added a simple test script that shows this behaviour
casper.test.begin('Testing Google', 1, function () {

    casper.start("https://www.google.co.uk", function () {
        casper.test.assertTextExists("Google" );
    });

    casper.run(function () {
        casper.test.done();
    });
});

run from command
casperjs test  d:\_tmp\google.js
run using docker
docker run -v d:/_tmp:/data zopanix/casperjs test google.js

Hey, sorry didn't see you comments. I don't do anything special to delay the scripts...
It could be that the is some init done while running it in docker and that is already done on your machine during boot.

No worries, I assume you see this behaviour as well

Weel not really.  The script I launched with campers were taking about 10min so I didn't see the 5sec delay. I am going to close this issue since there is not much to do.


Update Microsoft.Teams.ContinuousDeployment to <IP_ADDRESS>354

Microsoft Reviewers: Open in CodeFlow

already merged.


MRG: Add epochs metadata summary to HTML representation

Adds a new row to the Epochs HTML repr table, stating whether metadata is present; and if yes, how many rows and columns.

Thanks @hoechenberger !


Several extensions to the Blue Mage report

Howdy!
I kludged this together over the weekend to help my group, but I reckon it might be useful to others too!
It does quite a handful of things, so if y'all prefer separate pull requests for each thing, do shout -- Each change is already in an individual commit so splitting this isn't too much of a hassle:

Adds the Shadowbringers spells and most of the effects
Marks Waning Nocturne as an unable-to-act action, fixing the GCD uptime report
Tweaks the uptime report to understand that Phantom Flurry is a channel ala Flamethrower
DoT uptime
Cold Fog suggestions
Moon Flute window panel
Revenge Blast window panel
Adds the standard Swiftcast/Interrupted cast/big cooldown/tincture reports

It's nowhere near "complete" when compared to other jobs, but it does make the report a lot more useful; see the attached pictures for some examples (and a minor heads up that some of the text in the screenshots no longer matches the code; I tidied up a bit before creating the PR).
Moon Flute window:

Revenge Blast report:

Suggestions:

Checklist:

...And yes, I do see the humor in doing all this work when we're ~3 months away from all of it being outdated by the EW BLU update. Ah well.

Closing this PR since afaik it was fully superseded by #1797. Can re-open/open a fresh one if there was something unique to this PR that should still be reviewed.


python312Packages.typecode: 30.0.1 -> 30.0.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.typecode is: Comprehensive filetype and mimetype detection using libmagic and Pygments
meta.homepage for python312Packages.typecode is: https://github.com/nexB/typecode
meta.changelog for python312Packages.typecode is: https://github.com/nexB/typecode/releases/tag/v30.0.2
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 30.0.2 with grep in /nix/store/gm9q7kak2x60ng5s68fq5kvqgwsb0gxm-python3.12-typecode-30.0.2
found 30.0.2 in filename of file in /nix/store/gm9q7kak2x60ng5s68fq5kvqgwsb0gxm-python3.12-typecode-30.0.2

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

7 total rebuild path(s)

7 package rebuild(s)

First fifty rebuilds by attrpath

python311Packages.extractcode
python311Packages.scancode-toolkit
python311Packages.typecode
python312Packages.extractcode
python312Packages.scancode-toolkit
python312Packages.typecode

Instructions to test this update (click to expand)

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

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

Or:
nix build github:r-ryantm/nixpkgs/6e9fa3be51421fc5ff77172ce70e2215bddde317#python312Packages.typecode

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/gm9q7kak2x60ng5s68fq5kvqgwsb0gxm-python3.12-typecode-30.0.2
ls -la /nix/store/gm9q7kak2x60ng5s68fq5kvqgwsb0gxm-python3.12-typecode-30.0.2/bin

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

12 packages built:

python311Packages.extractcode
python311Packages.extractcode.dist
python311Packages.scancode-toolkit
python311Packages.scancode-toolkit.dist
python311Packages.typecode
python311Packages.typecode.dist
python312Packages.extractcode
python312Packages.extractcode.dist
python312Packages.scancode-toolkit
python312Packages.scancode-toolkit.dist
python312Packages.typecode
python312Packages.typecode.dist

Maintainer pings

Result of nixpkgs-review pr 332874 at 9cf20394 run on aarch64-darwin 1

good catch

@ofborg eval

Result of nixpkgs-review pr 332874 run on x86_64-linux 1

12 packages built:

python311Packages.extractcode
python311Packages.extractcode.dist
python311Packages.scancode-toolkit
python311Packages.scancode-toolkit.dist
python311Packages.typecode
python311Packages.typecode.dist
python312Packages.extractcode
python312Packages.extractcode.dist
python312Packages.scancode-toolkit
python312Packages.scancode-toolkit.dist
python312Packages.typecode
python312Packages.typecode.dist


#74 spark 3.3 added to project matrix

Adds Spark 3.3 support.
Tests passing for all combinations, I have not attempted to use the library in another project.
Fixes #74

LGTM, checked code and ran build/tests. Just one thing - should this version be added to the table at the top of README in this PR?
@jakipatryk

Thanks for the tip, I have added the Spark3.3 entries. The Maven central version will appear as unknown until releaes.


Emissive - Node structure incorrect

Current Behavior
The node links are are from the Emissive RGB node (Emissive factor) is connected to the Factor input of the Emissive Multiplier.
Expected Behavior
The node links are are from the Emissive RGB node (Emissive factor) should be connected to Color2 input of the Emissive Multiplier. The Factor should be set to 1.0
Steps To Reproduce
open blender
shade window
make a standard - material. Add an emissive texture to the emissive texture slot. See links change
Environment
- OS:win 10
- Blender:3.3.15
- glTF-Blender-IO-MSFS:1.3.2

Anything else?
change code in msfs_material_function.py
to
        # Links
        self.link(emissiveTexNode.outputs[0], emissiveMulNode.inputs[1])
        self.link(emissiveColorNode.outputs[0], principledBSDFNode.inputs[MSFS_PrincipledBSDFInputs.emission.value])
        self.link(emissiveScaleNode.outputs[0], principledBSDFNode.inputs[MSFS_PrincipledBSDFInputs.emissionStrength.value])
        # Factor Input
        emissiveMulNode.inputs[0].default_value = 1.0

in
defaultShadersTree
and
        # emissive
        if nodeEmissiveTex.image:
            self.link(nodeEmissiveColor.outputs[0], nodeMulEmissive.inputs[2])
            self.link(nodeEmissiveTex.outputs[0], nodeMulEmissive.inputs[1])
            self.link(nodeMulEmissive.outputs[self.outputs0], nodePrincipledBSDF.inputs[MSFS_PrincipledBSDFInputs.emission.value])
        else:
            self.link(nodeEmissiveColor.outputs[0], nodePrincipledBSDF.inputs[MSFS_PrincipledBSDFInputs.emission.value])

in
updateEmissiveLinks

Seems to be working without these changes for me.

Seems to be working without these changes for me.

yes it does work, however there are slight changes between the two ways.  It's just that a 3 values color vector as output is interfaced to a single value factor is just not right in my mind.
Other multiplier nodes use the two colors and set the factor to 1.

Since Asobo is no longer using this site to enhance or update the add-on. and not compiling new developments made by outsiders.   It would be best that any update be made in a new GitHub location.

Hello,
It will be fixed in the next update ^^!
Thank you for your report !

Hello,
It will be fixed in the next update ^^!
Thank you for your report !

When will it be updated and what version of blender will it be updated to.

Hello,
It will be updated soon and should support Blender 3.6 LTS version from then.


Does not work with components

Describe the bug
Actually I want to go to the source code of my auto-imported components but it only takes me to the components.d.ts file and nothing else, it does not close the file and open the source code of the component.
https://github.com/antfu/vscode-goto-alias/assets/56084970/1a244234-0f01-4316-958d-ea90c2a3f04c
Reproduction
Watch video
System Info
System:
    OS: Windows 11 10.0.22621
    CPU: (16) x64 13th Gen Intel(R) Core(TM) i7-13620H
    Memory: 10.60 GB / 31.71 GB
  Binaries:
    Node: 20.7.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 3.6.3 - C:\Program Files\nodejs\yarn.CMD
    npm: 10.1.0 - C:\Program Files\nodejs\npm.CMD
    pnpm: 8.12.1 - C:\Program Files\nodejs\pnpm.CMD
  Browsers:
    Edge: Chromium (120.0.2210.91)
    Internet Explorer: 11.0.22621.1

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

Havign the same issue, but just FYI downgrading to v1.0.2 works

Havign the same issue, but just FYI downgrading to v1.0.2 works

Downgrading what to v.1.0.2?

The extension, you can open the extension page in VS Code and under the "Uninstall" menu button you can install another version.

@sawa-ko
Does v0.1.5+ solve your problem?

0.1.5 Seems to be fixing this issue for me. Thanks @antfu

@antfu I'm still not getting to jump to the SFC after going to components.d.ts


Upgrade terraform-provider-pagerduty to v3.0.1

This PR was generated via $ upgrade-provider pulumi/pulumi-pagerduty --major --kind=all.

Updating major version from 3.11.2 to 4.0.0.
Upgrading terraform-provider-pagerduty from 2.16.2  to 3.0.1.
Fixes #262
Fixes #258
Upgrading pulumi-terraform-bridge from v3.59.0 to v3.60.1.

The missing resources/ functions were deprecated I guess?
I see that automated workflow updates through ci-mgmt got a mid-air collision here. That's pretty unfortunate. Feel free to revert out the latest automated workflow PR from the main branch so you can land this major upgrade.


Add MarkDown formatting to examples/mnist_tfrecord.py

Summary
Add MarkDown formatting to examples/mnist_tfrecord.py.
Result

Related Issues
#12219
PR Overview

[ ] This PR requires new unit tests [y/n] (make sure tests are included)
[ ] This PR requires to update the documentation [y/n] (make sure the docs are up-to-date)
[x] This PR is backwards compatible [y/n]
[ ] This PR changes the current API [y/n] (all API changes need to be approved by fchollet)

Thanks for the PR.
We are postponing the addition of new examples on keras.io pending a future refactor of the docs website (which will have a dedicated examples section).


Workaround haplotypes bug in phase 1 AR3.1

Nick has found a bug in the AR3.1 release such that the Zarr format files for the haplotypes are not correct and are not the same as the HDF5 format files for the haplotypes.
Currently our analyses use the Zarr format files. We can work around this by using the HDF5 format files instead everywhere. This will require modifying the setup modules to use the HDF5 files, then rerunning all notebooks that depend on the haplotypes (table 1, figure 1, ... everything basically).

This has been done for variants table (#56), cladogram (#51), map (#53) and haplotype ages (#54).

Still need to do the networks.


bug: _pb2.py must be regenerated with protoc >= 3.19.0

Description
Running a freshly installed scanoss-py in the shell causes a _pb2.py file to throw a fatal error.
The stack trace suggests a fix:

If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.

It also provides a workaround:

Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python does get the job done.
Stack Trace
$ scanoss-py -h
Traceback (most recent call last):
  File "/Users/lucasgonze/Library/Python/3.8/bin/scanoss-py", line 5, in <module>
    from scanoss.cli import main
  File "/Users/lucasgonze/Library/Python/3.8/lib/python/site-packages/scanoss/cli.py", line 29, in <module>
    from .scanner import Scanner
  File "/Users/lucasgonze/Library/Python/3.8/lib/python/site-packages/scanoss/scanner.py", line 40, in <module>
    from .threadeddependencies import ThreadedDependencies
  File "/Users/lucasgonze/Library/Python/3.8/lib/python/site-packages/scanoss/threadeddependencies.py", line 32, in <module>
    from .scanossgrpc import ScanossGrpc
  File "/Users/lucasgonze/Library/Python/3.8/lib/python/site-packages/scanoss/scanossgrpc.py", line 31, in <module>
    from .api.dependencies.v2.scanoss_dependencies_pb2_grpc import DependenciesStub
  File "/Users/lucasgonze/Library/Python/3.8/lib/python/site-packages/scanoss/api/dependencies/v2/scanoss_dependencies_pb2_grpc.py", line 5, in <module>
    from scanoss.api.common.v2 import scanoss_common_pb2 as scanoss_dot_api_dot_common_dot_v2_dot_scanoss__common__pb2
  File "/Users/lucasgonze/Library/Python/3.8/lib/python/site-packages/scanoss/api/common/v2/scanoss_common_pb2.py", line 33, in <module>
    _descriptor.EnumValueDescriptor(
  File "/Users/lucasgonze/Library/Python/3.8/lib/python/site-packages/google/protobuf/descriptor.py", line 755, in __new__
    _message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
 1. Downgrade the protobuf package to 3.20.x or lower.
 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

Hi Lucas,
Can you confirm the version of Python and the protobuf you have installed?
We have setup an installation requirement of the following (for now):
install_requires=["requests", "crc32c>=2.2", "binaryornot", "progress", "grpcio<=1.42.0", "protobuf>=3.16.0,<=3.19.1"],
Thanks!

The Python version is 3.8. The protobuf version is 4.21.8.

OK.
If you want to use the current (latest) version of scanoss-py you need to downgrade protobuf to 3.19.1 or run with PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python.
We plan to upgrade to the latest version of protobuf in the near future.
Thanks!


Change Python Tab Indenting to Smart by Default

This issue has been moved from a ticket on Developer Community.

In C#, VB.net, the tab indent default setting is Smart. But in Python, the tab default setting is Block. The pointer always goes to the first column when pressing Enter. That makes me always fix indenting myself. A lot of time wasted. I think the tab indenting should be made smart by default. Just like what we did in C# and VB.net. Actually, in other IDE, (I know only Spyder), the tab indenting is smart, too. So, I think "Smart" should be the default value.

Original Comments
Eric Zhou on 4/28/2019, 02:07 AM:
i mean vs2019.
Jane Wu [MSFT] on 4/28/2019, 11:30 PM:
Thank you for taking the time to provide your suggestion. We will do some preliminary checks to make sure we can proceed further. We'll provide an update once the issue has been triaged by the product team.
#### Graham Wheeler [MSFT] on 8/21/2019, 02:23 PM:
Your suggestion has been queued up for prioritization.  Feature suggestions are prioritized based on the value to our broader developer community and the product roadmap. We may not be able to pursue this one immediately, but we will continue to monitor it up to 90 days for community input

Thanks for the feedback! However, we don't have plans on changing this functionality at this time.