rn0.56 undefined is not an object (evaluating 'RCTImagePicker.canUserCamera')

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

Environment
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.1
CPU: x64 Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz
Memory: 40.60 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 8.9.3 - /usr/local/bin/node
Yarn: 1.7.0 - /usr/local/bin/yarn
npm: 6.4.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 11.0, macOS 10.13, tvOS 11.0, watchOS 4.0
IDEs:
Android Studio: 3.1 AI-173.4819257
Xcode: 9.0/9A235 - /usr/bin/xcodebuild
npmPackages:
react: 16.4.1 => 16.4.1
react-native: 0.56.0 => 0.56.0
npmGlobalPackages:
create-react-native-app: 1.0.0
react-native-cli: 2.0.1
Description

Reproducible Demo
steps to reproduce the issue from the demo

install node_modules
eject ios
react-native run ios

RN_Tutorial.zip

giveme ur number
On Tue, Sep 18, 2018 at 12:38 PM Dharmendra<EMAIL_ADDRESS>wrote:

Review the documentation: https://facebook.github.io/react-native
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
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.1
CPU: x64 Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz
Memory: 40.60 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 8.9.3 - /usr/local/bin/node
Yarn: 1.7.0 - /usr/local/bin/yarn
npm: 6.4.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 11.0, macOS 10.13, tvOS 11.0, watchOS 4.0
IDEs:
Android Studio: 3.1 AI-173.4819257
Xcode: 9.0/9A235 - /usr/bin/xcodebuild
npmPackages:
react: 16.4.1 => 16.4.1
react-native: 0.56.0 => 0.56.0
npmGlobalPackages:
create-react-native-app: 1.0.0
react-native-cli: 2.0.1
Description
[image: simulator screen shot - iphone 6 - 2018-09-18 at 12 22 01]
https://user-images.githubusercontent.com/13504944/45669527-ff92a580-bb3d-11e8-94d3-c0bca211e06e.png
Reproducible Demo
steps to reproduce the issue from the demo

install node_modules
eject ios
react-native run ios

RN_Tutorial.zip
https://github.com/facebook/react-native/files/2391536/RN_Tutorial.zip
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/facebook/react-native/issues/21164, or mute the
thread
https://github.com/notifications/unsubscribe-auth/Ag_YXRA6BMvDKYHWw1VCNJ08tEdhrB5Uks5ucJwIgaJpZM4WtSE9
.

I have upgraded the React Native version by following the steps from Upgrading to new React Native versions
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.1
CPU: x64 Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz
Memory: 566.66 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 8.9.3 - /usr/local/bin/node
npm: 6.4.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 11.0, macOS 10.13, tvOS 11.0, watchOS 4.0
IDEs:
Android Studio: 3.1 AI-173.4819257
Xcode: 9.0/9A235 - /usr/bin/xcodebuild
npmPackages:
react: 16.5.0 => 16.5.0
react-native: 0.57.0 => 0.57.0
npmGlobalPackages:
react-native-cli: 2.0.1
now I am getting the following errors while running  react-native run-ios command
❌  /MobileTechnologies/Reactnative/RN_Tutorial/node_modules/react-native/Libraries/LinkingIOS/RCTLinkingManager.h:14:36: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]

+ (BOOL)application:(UIApplication *)app
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

❌  /MobileTechnologies/Reactnative/RN_Tutorial/node_modules/react-native/Libraries/LinkingIOS/RCTLinkingManager.h:25:29: block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]

  restorationHandler:(void (^)(NSArray * __nullable))restorationHandler;
                                   ^

** BUILD FAILED **

The following commands produced analyzer issues:

	Analyze Base/RCTModuleMethod.mm
	Analyze Modules/RCTUIManager.m
(2 commands with analyzer issues)

The following build commands failed:
	CompileC /MobileTechnologies/Reactnative/RN_Tutorial/ios/build/Build/Intermediates.noindex/RCTLinking.build/Debug-iphonesimulator/RCTLinking.build/Objects-normal/x86_64/RCTLinkingManager.o RCTLinkingManager.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

Installing build/Build/Products/Debug-iphonesimulator/RN_Tutorial.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/RN_Tutorial.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Error: Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/RN_Tutorial.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

    at checkExecSyncError (child_process.js:601:13)
    at Object.execFileSync (child_process.js:621:13)
    at Promise.then (/MobileTechnologies/Reactnative/RN_Tutorial/node_modules/react-native/local-cli/runIOS/runIOS.js:208:5)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

Can you try using Xcode 9.4?

Hi @hramos
Thanks for the suggestion.
I have figured out the solution for the above errors.

For nullability check, I found a solution in this link

And for Print: Entry, ":CFBundleIdentifier", Does Not Exist I found that @babel/core is not default added in package.json>dependencies when creating new project or updating the existing so I have installed it using command: npm install @babel/core

but still undefined is not an object (evaluating 'RCTImagePicker.canUserCamera') this error is not resolved. I have also searched for RCTImagePicker module but not getting any information regarding this.
can you please help me with this?

the issue is resolved by linking CameraRoll Library.
linking-libraries-ios


Refactor capacitance path to use gdsfactory.config

Currently, Pdk.get_capacitance_path is used but using a gdsfactory-specific config as opposed to a PDK-attached one makes more sense. See https://github.com/gdsfactory/gdsfactory/issues/1995#issuecomment-1685920686 for details.

Actually currently a temporary folder is used instead, this should be chanaged to the path in config if it exists


font.round(): TypeError: 'tuple' object is not callable

I'm getting an error on font.round():
  File "/Applications/RoboFont-3.2b.app/Contents/Resources/lib/python3.6/fontParts/base/font.py", line 1077, in round
  File "/Applications/RoboFont-3.2b.app/Contents/Resources/lib/python3.6/fontParts/base/font.py", line 1090, in _round
TypeError: 'tuple' object is not callable

Am I doing something wrong? The offending line looks suspect:
https://github.com/robofab-developers/fontParts/blob/ac77011b98759cd5537d598cee59d37532998033/Lib/fontParts/base/font.py#L1090

font.guidelines is a tuple and should not be called

Seems font.round() is indeed broken currently:
f = CurrentFont()
f.round()

Traceback (most recent call last):
  File "<untitled>", line 3, in <module>
  File "/Applications/RoboFont-3.2b.app/Contents/Resources/lib/python3.6/fontParts/base/font.py", line 1077, in round
  File "/Applications/RoboFont-3.2b.app/Contents/Resources/lib/python3.6/fontParts/base/font.py", line 1090, in _round
TypeError: 'tuple' object is not callable

for guideline in self.guidelines():

should be changed to:
for guideline in self.guidelines:

Fixed with #354.


Idea: Add links to Wiki/Discord in the menus

As mentioned in the Discord, we should add easy access from the program to both the Wiki and the Support Discord to make it more clear to people that those exist. The menu buttons for this should open a new browser window (in their default Browser) displaying said webpages.

Added on main


solution of "not found chatterbot_corpus.corpus"

Someone may meet the problem solution of "not found chatterbot_corpus.corpus"  ,here is the solution in win 10:
first : you can try to input "pip install chatterbot_corpus",  sometimes it works, but i meet another problem like "error: unistall uninstall pyyaml ", cause you do not the right, so you can run the cmd again with the “Identity with admin”,then try to input "pip install chatterbot_corpus", it works

Hello @formyfuture123, I would suggest deleting the cache file. So,
delete the pip folder from C:\Users\soham\AppData\Local\pip and
then pip install chatterbot_corpus
it will work and remember if it shows using cached during installation then it will not install properly in your system so, in those cases remember to delete pip cache files.


temp pull-request to merge temp_birkin_main_copy into temp_birkin_refactor_copy

Just doing this to expose what the issues are.

@birkin I think I'm all set!


Infer.Fields ignores field boost

Hi 👋

NEST/Elasticsearch.Net version: 6.6.0 and 7.4.0
Elasticsearch version: 6.6.0 and 7.4.0
Description of the problem including expected versus actual behavior:
Issue reported in this so  question.
Looks like when trying to create fields with the following syntax
Fields = Infer.Fields<RecipeSearchModel>(
    f1 => Infer.Field<RecipeSearchModel>(f => f.Title, 5),
    f2 => f2.Description,
    f3 => Infer.Field<RecipeSearchModel>(f => f.Ingredients, 3),
    f4 => f4.Method,
    f5 => Infer.Field<RecipeSearchModel>(f => f.Image.Alt, 4))

NEST, somewhere down the path is ignoring boost settings and producing this request to elasticsearch
{
  "query": {
    "multi_match": {
      "fields": [
        "title",
        "description",
        "ingredients",
        "method",
        "image.alt"
      ],
      "fuzziness": "AUTO",
      "query": "query",
      "type": "best_fields"
    }
  }
}

When changing syntax to
Fields = Infer.Fields<RecipeSearchModel>()
    .And(Infer.Field<RecipeSearchModel>(f => f.Title, 5))
    .And<RecipeSearchModel>(f => f.Description)
    .And(Infer.Field<RecipeSearchModel>(f => f.Ingredients, 3))
    .And<RecipeSearchModel>(f => f.Method)
    .And(Infer.Field<RecipeSearchModel>(f => f.Image.Alt, 4))

all seems to be generated fine
{
  "query": {
    "multi_match": {
      "fields": [
        "title^5",
        "description",
        "ingredients^3",
        "method",
        "image.alt^4"
      ],
      "fuzziness": "AUTO",
      "query": "query",
      "type": "best_fields"
    }
  }
}

Steps to reproduce:
Here is the sample app (NEST 6.6.0) demonstrating the issue
using System;
using System.Text;
using System.Threading.Tasks;
using Elasticsearch.Net;
using Nest;

namespace NestTest
{
    class Program
    {
        static async Task Main(string[] args)
        {
            var connectionPool = new SniffingConnectionPool(new[] {new Uri("http://localhost:9200")});
            var settings = new ConnectionSettings(connectionPool)
                .DefaultIndex("index_name")
                .EnableDebugMode()
                .DisableDirectStreaming()
                .PrettyJson();
            var client = new ElasticClient(settings);

            var queryContainer = new MultiMatchQuery
            {
                Fuzziness = Fuzziness.Auto,
                Query = "query",
                Type = TextQueryType.BestFields,
                Fields = Infer.Fields<RecipeSearchModel>(
                    f1 => Infer.Field<RecipeSearchModel>(f => f.Title, 5),
                    f2 => f2.Description,
                    f3 => Infer.Field<RecipeSearchModel>(f => f.Ingredients, 3),
                    f4 => f4.Method,
                    f5 => Infer.Field<RecipeSearchModel>(f => f.Image.Alt, 4))
            };

            var searchResponse = await client.SearchAsync<RecipeSearchModel>(s => s.Query(q => queryContainer));

            Console.WriteLine("Incorrect: ");
            Console.WriteLine(Encoding.UTF8.GetString(searchResponse.ApiCall.RequestBodyInBytes));

            Console.WriteLine();

            queryContainer = new MultiMatchQuery
            {
                Fuzziness = Fuzziness.Auto,
                Query = "query",
                Type = TextQueryType.BestFields,
                Fields = Infer.Fields<RecipeSearchModel>()
                    .And(Infer.Field<RecipeSearchModel>(f => f.Title, 5))
                    .And<RecipeSearchModel>(f => f.Description)
                    .And(Infer.Field<RecipeSearchModel>(f => f.Ingredients, 3))
                    .And<RecipeSearchModel>(f => f.Method)
                    .And(Infer.Field<RecipeSearchModel>(f => f.Image.Alt, 4))
            };

            searchResponse = await client.SearchAsync<RecipeSearchModel>(s => s.Query(q => queryContainer));

            Console.WriteLine("Correct: ");
            Console.WriteLine(Encoding.UTF8.GetString(searchResponse.ApiCall.RequestBodyInBytes));
        }
    }

    public class RecipeSearchModel
    {
        public string Ingredients { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
        public string Method { get; set; }
        public Image Image { get; set; }
    }

    public class Image
    {
        public string Alt { get; set; }
    }
}

Output:
Incorrect:
{
  "query": {
    "multi_match": {
      "fields": [
        "title",
        "description",
        "ingredients",
        "method",
        "image.alt"
      ],
      "fuzziness": "AUTO",
      "query": "query",
      "type": "best_fields"
    }
  }
}

Correct:
{
  "query": {
    "multi_match": {
      "fields": [
        "title^5",
        "description",
        "ingredients^3",
        "method",
        "image.alt^4"
      ],
      "fuzziness": "AUTO",
      "query": "query",
      "type": "best_fields"
    }
  }
}

Tested with latest version of NEST (7.4.0) and the same issue is happening.
Provide ConnectionSettings (if relevant):
Provide DebugInformation (if relevant):

Describe the feature:

Hi! 👋
Interestingly the following syntax won't compile for me:
Fields<Project>(
	f1 => Field<Project>(f => f.Description, 2.2),
	f2 => f2.Name
),

[CS0854] An expression tree may not contain a call or invocation that uses optional arguments

That fields overload taking  Expression[] is simply meant to dispatch on the first arg e.g f1,f2,f3
.And<Project, string>(p=>p.Description, 2.2)

or more involved perhaps
Fields<Project>(
	f1 => f1.Description.Suffix("^2.2"),
	f2 => f2.Name
)

Are other approaches append a boost.
Sadly you need to specify TValue otherwise it assumes the .And overload taking many Expression[], I am keen to rename this overload to .AndMany() though in 8.0.
I think the best thing for us to do is to be more strict with our ExpressionResolver and mandate the argument is used.

Interestingly the following syntax won't compile for me:
Fields(
f1 => Field(f => f.Description, 2.2),
f2 => f2.Name
),

At first glance, I couldn't understand how it doesn't compile for you if it does for me and Fishcake. Then I checked c# version for my test project and it was set to 7.3 Out of curiosity I changed it to 8.0 and it stopped compiling. I was like "did something changed in c# 8.0 :thinking:", so I switched back to 7.3 but it just stopped working :smiley: I don't know, maybe my Rider installation was messing with me yesterday, but I'm quite sure it was compiling.
Nevermind then. If that wasn't meant to be working in the first place I think we can close the issue. Thanks for spending your time looking into it :+1:

Weird. It definitely still compiles for me on C#7.3 but oh well at least I have a workaround. Cheers @robertlyson

Hello, I'm not sure I understand why this was closed. It's still an issue and there's no way to know that the approach doesn't work until you try to generate the request JSON.
Is this the intended behaviour? Why? Thanks.


Format errLogToConsole message with red color

Makes it more obvious that an error has occurred, similar to how Ruby Sass handles errors during compilation.
Also removed the +'s, cleaner with separate arguments, gutil.log() will format it correctly.

+100
Preferably some line breaks as well :smile:

I sent a PR to @matiassingers's branch (print a bell character as well).

I merged @williamboman PR, ping @dlmanning :wink:

@matiassingers @williamboman The red formatting seems fine, but I'm not a huge fan of the bell character.

@dlmanning I've removed the commit by @williamboman for now. :smile:
Then @williamboman can perhaps open up a new PR with the bell character change, and take the discussion there?

Damn :stuck_out_tongue:. @dlmanning, it would be interesting to learn your opinions on bell characters! Maybe I use it too carelessly.

@williamboman Well it's obviously a matter of personal taste, but I can imagine a lot of people being annoyed by their console making noise at them all the time. I'd prefer to keep the gulp-sass's error notifications as vanilla as possible.


[csrng] Fix FIFO error testing

Currently it is unclear whether the FIFO error tests are forcing a bit in the error code register instead of setting the FIFOs to full/empty/illegal and checking whether the error propagates correctly.
Besides this we need an assert that makes sure that if one of the SFIFO bits in the error code are set (15-0) that also one of the FIFO error types are set (30-28). Additionally, we need a cross between SFIFO errors and the FIFO error types.

[x] Check FIFO error tests are working properly
[ ] Create assert
[ ] Create cross

estimate 6

This is currently being worked on by @ctopal.

Currently working on implementing the coverage implementation part of this task.

Opened up https://github.com/lowRISC/opentitan/pull/16426 for this task.

if one of the SFIFO bits in the error code are set (15-0) that also one of the FIFO error types are set (30-28).
I think illegal bins in the cross should be enough for this, WDYT @marnovandermaas?

Opened up #16426 for this task.

if one of the SFIFO bits in the error code are set (15-0) that also one of the FIFO error types are set (30-28).

I think illegal bins in the cross should be enough for this, WDYT @marnovandermaas?

Yes, I think we can check that task off as well and close this issue.


Feature Request: Respect users html.format settings

Thanks for your plugin! It blows the VSCode HTML formatter out of the water!
However I find myself missing a couple features of the default formatter. Specifically html.format.wrapAttributes, which is super helpful when using TailwindCSS.
It would be great if your plugin could respect those settings by default.

@montemartin  Thanks for the feedback! I've added a compatibility that will bring in all the default VS Code html.format settings (except for the templating ones - those are causing weird results).
This will be available in 1.0.19

Just updated and man this sweet. Thanks so much for your hard work!


umount pty when cleaning up containers

pty is mounted outside of container namespace. It needs to be cleaned
up outside as well.

looks this should be included in 0.8.1 release

It was part of #305 and got dropped when dropping 305. It doesn't hurt anything though. Just leaving the devpts mountpoint out there.

LGTM


Chinese criteria page is empty

The site seem to have built, but the page for criteria is empty.

Curious, this is with the current theme, so that means it's not related to this fix but a separate issue. That means we could go ahead and merge that fix, and figure this out as a separate issue.


Af vsock

Hi, I'm not sure what's happening here, but you seem to create a PR with old commits. I'll be closing this PR


Feature: Create subnet per region

Motivation:

While working on AWS support, I found out that VMs from region A cannot join a subnet in region B. Therefore, currently, we only support one region for the node pools in AWS, (which might be true for other providers as well). If we want to support multiple regions per provider, we need to create a subnet based on the region and assign it to the particular node pool.
Description:

Subnets should be dynamically created per region so that we have 1 VCN and N subnets for N regions where we have current node pools. Node pools should be also assigned to the correct subnet.
Exit criteria:

[ ] Create an algorithm which will identify used regions and creates one subnet per region
[ ] Assign node pools to the correct subnet

Most likely we should just give a separate subnet to each claudie nodepool


Layout2

I have fixed the button spacing, and media query overlapping issue !!
Minor Layout Fix : Buttons, Fonts Etc.
Fixes #84

it has many conflicts
resolve them

Thanks for your valuable contribution.
Don't forget to star the repo.


dart sdk error

dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart
dart-sdk/lib/async/zone.dart
dart-sdk/lib/async/future_impl.dart
it errors hen I ADD new image in flutter, but the thing is 1 and a half hour later the image works perfectly, the thing is, when we are coding in flutter and and its involves images it didn't responding well but showing errors like:
Unable to load asset: "assets/images.jpg".
The asset does not exist or has empty data.
did i do somthing wrong?help

Hello @marycanonce.
Can you please provide more information on this for us to triage this properly i.e a minimal complete reproducible code sample that doesn’t include 3rd party plugins or complex production codes and the content of your pubspec.yaml file


Missing assembly definition in Unity project

Issue Description
Hi,
Omnisharp is telling me that a assembly definition is missing in my script but in fact, Unity has no problem compiling the project.
For those who are familiar with Unity projects, I get this error when I try to access other assemblies located in my /Plugins folder, and in some extent, in any /Editor folder in my project too.
The problem is I don't get any autocompletion, and it's really not convenient. I don't know what is causing this, and I really need some insights.
Steps to Reproduce
Try to access any assembly located in /Plugins or /Editor folder.
Expected Behavior
Actual Behavior
Omnisharp is throwing The type or namespace name 'NativeGallery' could not be found (are you missing a using directive or an assembly reference?) [Assembly-CSharp]
Screenshots

Logs
OmniSharp log
Post the output from Output-->OmniSharp log here
C# log
Post the output from Output-->C# here
Environment information
VSCode version: 1.50.1
C# Extension: 1.23.4
Dotnet Information
.NET Core SDK (reflecting any global.json):
 Version:   2.1.300
 Commit:    adab45bf0c
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.18363
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\2.1.300\
Host (useful for support):
Version: 3.1.4
Commit:  0c2e69caa6
.NET Core SDKs installed:
2.1.300 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.4 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions

Extension
Author
Version

auto-using
Fudge
0.7.15

awesome-flutter-snippets
Nash
2.0.4

csharp
ms-dotnettools
1.23.4

dart-code
Dart-Code
3.15.1

flutter
Dart-Code
3.15.1

material-icon-theme
PKief
4.3.0

namespace
adrianwilczynski
1.1.2

unity-debug
Unity
2.7.5

unity-tools
Tobiah
1.2.12

vscode-surround
yatki
1.0.2

This is probably a duplicate of #4113. Please try the workarounds outlined in this comment.

I can confirm that rolling back to Visual Studio Code Editor package version 1.1.3 (sticking to C# for VS Code version 1.23.4) fixed the issue ! Thanks for the hint.

@Sov3rain closing this as a duplicate. Thanks for opening a report.


Mac Addresses are not getting in iOS 10.2

I am running this on my iPhone with OS version 10.2 and getting the follow mac address. And for all ip addresses it is same.
Found hostname: iphone
2016-12-17 15:00:33.188 Kisafa[387:102597] found  <IP_ADDRESS>
2016-12-17 15:00:33.196 Kisafa[387:102597] mac  02:00:00:00:00:00
2016-12-17 15:00:33.196 Kisafa[387:102597] device original mac = 02:00:00:00:00:00
2016-12-17 15:00:33.197 Kisafa[387:102597] device MAC = 000000

Hi, thanks for your feedback. This is a known issue and we are working on it. Take a look here: https://github.com/mavris/MMLanScan/issues/3


Misc fixes found by the cupy backend

It's a shame we can't have CuPy in the CI because it's refusal to accept lists is really good for catching missing dispatchables.

Thanks, @peterbell10!


Add warning when opening files externally

The Issue
When using the open button (and possibly when clicking the file location at the bottom of a downloaded claim), we should warn users that they are opening at their own risk. FIles played inside the app are sandboxed, but anything opened externally could be a risk. Maybe we only do this for non-playable/viewable types?
It would be similar to the modal when clicking a hyperlink in a claim.
System Configuration

LBRY Daemon version:
LBRY App version:
LBRY Installation ID:
Operating system:

Anything Else

Screenshots

This should use the same styling as the openExternalLink modal. Maybe we can combine them into one modal?
@btzr-io This might be a good one for you if you are interested.

This was completed in https://github.com/lbryio/lbry-desktop/pull/2478


Unread count should exclude filtered out chapters

Describe your suggested feature
The unread count on the library view shouldn't include the number of unread chapters that are filtered out . It's unnecessary to count those since you won't be reading it anyway.
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] I have updated the app to the newest version Latest.
[X] I have checked through the app settings for my feature.
[X] I will fill out all of the requested information in this form.

At this time it's by design. Anything on the library view is not dependent on a specific manga's filters as it hides information.


DWX-18781 Data warehouse catalog object management

Adding creation and deletion options for the data warehouse catalog object type.

@tevesz please rebase on master
cc: @vcsomor

Looks good in general! Thanks

@vcsomor thanks for the review! I've added the suggestions.


Implements SpiralGroundCurve::GInverse().

🎉 New feature
Part of #265
Goes on top of #270
Summary
Implements GInverse(). Tested against the normalized spiral. With htis PR the curve implementation is complete and validated against the normalized spiral. Future PRs will work on non-normalized spirals.
Test it
Via unit tests.
Checklist

[x] Signed all commits for DCO
[x] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if it affects the public API)

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Declining in favor of a new implementation.


Install with Sketchpacks links to Symbol Instance Locator NOT Symbol instance Sheet

(README) Install with Sketchpacks links to Symbol Instance Locator NOT Symbol instance Sheet

@sonburn can you fix this? I'm pointing users towards your library and their installing the wrong library because of the incorrect link.
Thanks in advance.


Fix nonexistent post_binding_form_template breaking login view

Nonexistent post_binding_form_template was breaking the login view, which should not happen according to the docstring.

Thanks for the catch, but I'd prefer a bit more straightforward logic that's more EAFP-style. Why test if the template exists first if we can simply wrap the whole block that tries to render it inside one try/except and cover both cases (when the variable is None or when it is set to a non-existent template name).
I'll be happy to accept your PR if you're willing to refactor it :-) Thanks!

I did some refactoring. I didn't put any logic into the exception handling since the template engine I'm using (django_jinja) returned AttributeError instead of TemplateDoesNotExist for None so I think this solution should be safer.

Does it look good enough to merge?

Thanks!


6.1: [BarrierAccessScopes] Handle end_access instructions' barrierness introduced during run.

Explanation: Handle access scopes becoming deinit barriers when determining whether any access scope are.
A value's lifetime must not be shrunk into any access scope (i.e. regions defined by begin_access and all its corresponding end_accesses) which contains a deinit barrier.  For a given value, all such access scopes are discovered in sweep via the VisitBarrierAccessScopes utility.  As the utility discovers such access scopes, it alerts its caller.  The caller in turn marks the end_access instructions as deinit barriers.
As a compile-time optimization, portions of the function which are known to be irrelevant before the utility begins running are excluded.  There are two cases of interest: (1) Local: if a lifetime end (e.g. end_borrow) and (before the utility runs) a deinit barrier occur in the same block, it's only necessary to visit the instructions between the end and the barrier looking for access scopes.  (2) Partial: when visiting a block which contains a lifetime end but (before the utility runs) no deinit barrier, it's only necessary to visit the instructions above the lifetime end in the block.
The code for the Local case visits the instructions between the lifetime end and the first encountered deinit barrier.  When the deinit barrier is found, it stops iterating and returns true.  If no deinit barrier is found after iterating to the beginning of the function, it returns false.
Previously, the code for the Partial case called to the code for the Local case.  It asserted that the latter returned false, indicating that it iterated all the instructions and phis in the block and found no deinit barrier.
If no deinit barriers were added while the utility runs, this would be correct.  But, as described above, new end_access instructions are discovered to be deinit barriers as the utility runs.
As a result, when visiting a block partially (case (2) above), if an end_access instruction was visited which had been determined to be a deinit barrier was encountered, in asserts builds, the assertion would trigger and in non-asserts builds, iteration would stop.
Here, this is handled by just visiting all instructions above the lifetime end in case (2).  If a deinit barrier is encountered, it's asserted that it's one of these newly discovered end_access deinit barriers.
Scope: Affects optimized code.
Issue: rdar://139840307
Original PR: https://github.com/swiftlang/swift/pull/77908
Risk: Low.  Amounts to removing an early bailout that would only be done incorrectly.
Testing: Added SIL and source test.
Reviewer: Andrew Trick ( @atrick )

@swift-ci please test


Changed order in solveInPlace - [merged]

In GitLab by @cmastalli on Aug 8, 2019, 14:20
Merges topic/inplace-further-detail -> cpp_devel
I final modification from https://gepgitlab.laas.fr/loco-3d/crocoddyl/merge_requests/192#note_5776.

In GitLab by @cmastalli on Aug 8, 2019, 14:20
mentioned in merge request !192

In GitLab by @cmastalli on Aug 8, 2019, 15:02
merged

In GitLab by @cmastalli on Aug 8, 2019, 15:02
mentioned in commit 208a1a281b9b041022423078b739609a9d8596c5


Newsletter form: Add spam check

In #90 we added a custom function to process newsletter form signups.
In the form html, we have a bot-field https://github.com/ideas42ventures/ideas42ventures.com/blob/main/src/_includes/components/footer.njk#L29
We have that in place for when we were using Netlify forms That helped with spam detection. We can use that same idea to check in our function.
The idea is, in our function https://github.com/ideas42ventures/ideas42ventures.com/blob/main/src/functions/newsletter-submission.js#L5 to look for the bot-field param. If it's value is anything but an empty string someone is doing something fishy and we should:

Don't make the request to the Buttondown API
Return an error immediate. Probably a 400. Can just say; "Invalid request" or something. We don't want to be specific about what we're checking.

This is still very light spam checking, but better than nothing.

Done in #97


Fix path to rna_transcription.exs

It seems that test file attempts to load a file by wrong name.

Thanks for the PR! I think this was fixed in #229. My bad for not merging it sooner. Sorry!


Panel divs not displaying like they should for dashboard.

Hi, Thank you for the wonderful theme.
First thing i noticed after installing the newest version is that the dashboard is not displaying like it shows in the video. I do notice that the dashboard displays the panels divs in the background when it displays the update info modal. but goes away after dismissing the notice and the page reloads the dashboard.
So the dashboard where the wonderful charts display server status is completely white without any borders or a contrast against the gauges, text and charts all display correctly but are hard to read against the pure white background. i've tried several things to make sure it wasn't broken upload or cache. any ideas?

Hi,
I'm very sorry but I didn't completely understand what you mean.
Could you please attach a screenshot?

as opposed to the screen shot from the video on your you tube channel. where the system information screen has the bootstrap stylized divs with the panel class, or what i assume is the panel class.

Oh, you mean below the System Information table? :)

I just forced an update and tried to capture the system info panel in the background before the update info modal spins in to the viewport.

And then this pops up, if you dismiss it then it goes back to the way it looks in the first screen shot.

the system information table has a nice header styling and the gauge charts have a nice detente around the edge. which disappears after the first time you load the theme. ideally the way it looks in the second screenshot i posted is how i wished it would look all the time.
Hope that makes sense.

Nick, are you saying that System Information disappears after you close the modal? Can you make video-screencast?

Is your browser Firefox?

My browser is firefox. No, the system information does not disappear. just the borders and border radius etc from the div (or table) for the system information. refer to the screenshots above.

 Apparently after i replace my computer monitors the display settings were set to something wacky, I couldn't see what i was talking about because my monitors where washing out the lighter colors. when the modal pops up it greys out everything in the background and i can see it, but when it returns to light colors again i couldn't see it. i just played with my monitor settings and it fixed it. I really appreciate your responses and I'm sure i confused the hell out of you. great theme and great work. thanks.


Add Default/Legacy Score for Streaming Services

          most of the streaming services also don't have a default/legacy score and because of that these are hardcoded

Originally posted by @nuxencs in https://github.com/TRaSH-Guides/Guides/pull/1463#discussion_r1293847438

need to be agreed on with @austinwbest and @rcdailey because an explicit score of 0 would cause sync loops with notifiarr. don't know if that changed since then, was about 1 year ago 😅

Can someone explain what a "default/legacy" score is? I don't have a lot of context / explanation to go on.
Is the question for me if a trash_score of 0 is going to cause issues in Recyclarr?

Legacy is trash_score default is trash_scores.default or whatever the syntax is

Is the question for me if a trash_score of 0 is going to cause issues in Recyclarr?

I know that that was an issue with notifiarr before, that's why trash_score: 0 doesn't exist in the jsons. just wanted to make sure if it was just an issue with notifiarr and not recyclarr as well

There has not been a 0 score for a reason for years. There is no need other than someone "wanting" it needed now. The sync has worked as is for years in both apps.


[Question] - Prevent touches in the chart.

Is there a way to make the chart without any tap events? I dont want to show the tooltop and any of the effects etc.

I notice that we have a enabled prop inside LineTouchData.


Term merge: polynucleotide adenylyltransferase activity (GO:0004652) & RNA adenylyltransferase activity (GO:1990817)

Terms to be merged: Provide GO ID and term label
polynucleotide adenylyltransferase activity (GO:0004652)
RNA adenylyltransferase activity (GO:1990817)

polynucleotide adenylyltransferase activity (GO:0004652) has a single is_a child term, RNA adenylyltransferase activity (GO:1990817) - there is no "DNA adenylyltransferase activity" sister GO term
The RHEA:11332 xref on polynucleotide adenylyltransferase activity (GO:0004652) specifies RNA, so should be on RNA adenylyltransferase activity (GO:1990817)
The EC:<IP_ADDRESS> xref on polynucleotide adenylyltransferase activity (GO:0004652) also specifies RNA in the 'reaction' (matching RHEA:11332), though the second comment on the EC entry (in bold below) specifies DNA - I suspect this is a typo for "RNA" @kaxelsen?

=> Seems like GO:0004652 and GO:1990817 could be merged with the final term name being "poly(A) RNA polymerase activity", retaining the definition on GO:1990817
id: GO:0004652
name: polynucleotide adenylyltransferase activity
def: "Catalysis of the template-independent extension of the 3'- end of an RNA or DNA strand by addition of one adenosine molecule at a time. Cannot initiate a chain 'de novo'. The primer, depending on the source of the enzyme, may be an RNA or DNA fragment, or oligo(A) bearing a 3'-OH terminal group." [EC:<IP_ADDRESS>]
xref: EC:<IP_ADDRESS>
xref: MetaCyc:POLYNUCLEOTIDE-ADENYLYLTRANSFERASE-RXN
xref: Reactome:R-HSA-72185 "mRNA polyadenylation"
xref: RHEA:11332
is_a: GO:0070566 ! adenylyltransferase activity
id: GO:1990817
name: RNA adenylyltransferase activity
namespace: molecular_function
def: "Catalysis of the template-independent extension of the 3'- end of an RNA strand by addition of one adenosine molecule at a time. Cannot initiate a chain 'de novo'. The primer, depending on the source of the enzyme, may be an RNA, or oligo(A) bearing a 3'-OH terminal group." [GOC:vw]
is_a: GO:0004652 ! polynucleotide adenylyltransferase activity
https://enzyme.expasy.org/EC/<IP_ADDRESS>
Name: polynucleotide adenylyltransferase.
Alternative Name(s): NTP polymerase, poly(A) polymerase, RNA adenylating enzyme.
Reaction: ATP + RNA(n) <=> diphosphate + RNA(n)-3'-adenine ribonucleotide
Comment(s):  Also acts slowly with CTP. Catalyzes template-independent extension of the 3'-end of a DNA strand by one nucleotide at a time. Cannot initiate a chain de novo. The primer, depending on the source of the enzyme, may be an RNA or DNA fragment or oligo(A) bearing a 3'-OH terminal group.
https://www.rhea-db.org/rhea/11332
ATP + RNA(n) = diphosphate + RNA(n)-3'-adenine ribonucleotide

Dear all,
The proposal has been made to obsolete 'GO:0004652 polynucleotide adenylyltransferase activity' , and replace the term by GO:1990817 RNA adenylyltransferase activity, because these two terms are equivalent.
There are annotations by the following groups:
(20) SGD
(16) UniProt
(5)	FlyBase
(5)	PomBase
(5)	WB
(2)	GeneDB
(1)	CGD
(1)	ComplexPortal
(1)	EcoliWiki
(1)	MGI
There are 6 InterPro mappings:
InterPro:IPR007012
InterPro:IPR007010
InterPro:IPR014492
InterPro:IPR040136
InterPro:IPR040137
InterPro:IPR045862

1 UniRule
UniRule:UR000999770

1 EC: will be moved in the ontology
EC:<IP_ADDRESS>
1 RHEA: will be moved in the ontology
RHEA:11332
You can comment on the ticket: https://github.com/geneontology/go-ontology/issues/24859
Thanks, Pascale


IUser GetUserTimeline

Hi
This method takes a parameter which is the number of tweets to retrieve, Tweeter API states that the maximum per request is 200, but this function is returning null for arbitrary number greater than 100
Is is a bug?

Hello,
You would have to share your code. When Tweetinvi returns null, it means that an exception was raised by Twitter.
To be able to help you more, I would need you to share the exception your receive by disabling the ExceptionHandler.
https://github.com/linvi/tweetinvi/wiki/Exception-Handling#per-request-exception-handling
Cheers,
Linvi


Add public API to detect whenever given e-mail was already registered

Currently there is no official API to check whenever given e-mail was already registered (which may be needed to deviate between login attempt and registration attempt)
There is actually a possibility to check this out with existing API:

Try to log-in with e-mail and random, long password (like 96-letters) and create flag set to false
You will get either authentication failed (if user exists) or resource not found (if user does not exists)

Note that this workaround may be (a bit) broken in next version of Nakama, if you - for example - start informing users about failed login attempts.
It would be nice to be able to check that without such workaround.
One way, without adding new API func, would be to allow null (or empty) second argument (password) to AuthenticateEmailAsync. Currently when trying to pass empty string you will get "password too short" error.

Bump?

@Shelim I'm not sure what the value is in this API. To give an endpoint to check if the email address is already registered will allow external bad actors to probe the system with lists of email addresses. How do you suggest we handle that scenario?

@novabyte
It is still possible to probe e-mail with current code (see my workaround). The value of the API would be to distinguish the case of login from the case of registering an account in UI before actually registering an account (which - for example - might need customized username)

Most systems I can think of offer the user a choice between login/register, rather than trying to figure out which should be used automatically.
The API as it stands allows both cases as far as I can see:

Set create to false for pure login. This always fails if the account doesn't exist, or the password is bad.
Set create to true to enable registration. This will fail if the email is already in use and the password does not match. If it succeeds the created flag in the response will be true if the account is new and therefore registration succeeded, or false if the account existed and the user selected the same password coincidentally - I think it's fine to treat this as just a successful login attempt.

Is there a variation or scenario I'm missing here?

@zyro
Actually there is; We want to give user ability to merge accounts if they are about to create the new one, before they do so. Already created accounts cannot be merged, link can be made only pre-creating new account.
We displays - for each account provider:

This is new account. Are you returning user?

If yes, log in onto your other device then go to settings -> link e-mail (or other provider) with this account
If no, give us your desired user name (and double-verified password for e-mail)

You can't link more than one email to any user account, so I assume you have another authentication method enabled. If that's the case how about authenticating that first, then offering the user the option to link an email account?
There's also the option to unlink the email from one user, then link it to another. It's less trivial than the option above but still doable.

@zyro
I mean following scenario:
User X has registered Device ID-based account on their mobile. They attempt to login to PC with e-mail. They got the message I mentioned, following which they log in on their mobile, and link e-mail there. They they click "It's done!" on PC side and are logged in to their shared account. Ideally the link to e-mail is passed to their mobile via QR code scanned directly from PC.

Having considered this for a while I don't think there's a strong enough case for adding this feature.
What decides it for me is that there's already a pattern that makes this possible in rare cases where it's needed. I feel it shouldn't be a common feature because users should know if they have an email account or not, rather than the client attempting to guess for them.


Wrap filenames in Explorer

Currently, the Explorer has to be sized to accomodate for the file with the longest name to be able to view all filenames at a glance. This wastes a lot of screen space when the range of filename lengths is wide.
I propose to let filenames wrap instead of overflowing with an ellipsis placeholder.

No plans to add this. But let's keep as a feature request for now.

@isidorn What's the ’confused’ smiley about?

I did not put it.

Ah .. That's right. I hope the request is clear for you then?

Confused smile is from me (should be shown when hovered over smile):

Have you tried to enable "workbench.list.horizontalScrolling": true to see scroll instead of ellipsis? Should be easy to scroll to the side to see it full (if overflow mostly caused by shift because of nesting)
AFAIK currently explorer uses virtualized tree wit fixed height and if it would be changed to dynamic might negatively impact performance (however I hope that calculations can be only if flag enabled and won't affect performance for other, or that I'm just wrong in my assumption about performance implications)
How it should work for (deeply) nested folders that also overflow current width? If folders take 2-3 lines this will make visual scanning (for nesting) only harder. BUT I guess this will be under the option so my concerns here can be skipped, since I won't enable it.

I know, I just confused your handles.

That's not a solution to my problem. I can just as easily (or more) make the Explorer larger and shrink it back. The problem is, the full filenames are not shown at a glance when some are longer than usual.
Don't know. I can't image this being a problem. By the way, filenames can be multi-line anyway, though VS Code truncates the part after the first newline (I just tested).
Sure, and the feature request is about clipped filenames, the final path component, not full paths.

Sorry, I shouldn't point obvious thing about reactions even if I didn't expect that handles can be confused.

Resizing will move/resize editors, scroll will help to avoid that therefore I proposed it. As personal experience suggests - there are people who would like avoid shifting editors, but scroll will be OK and they just don't know that it's possible to enable it. Now as you stated - doesn't work your case.

My main concern: If I understand correctly currently all explorer "rows" have fixed height.
https://github.com/microsoft/vscode/blob/8ee75c19bb39c7433a042647d29d34327a3d55f6/src/vs/workbench/contrib/files/browser/views/explorerViewer.ts#L65
If any item in tree can trigger wrap for itself that will require recalculations + will make scroll(bar) inaccurate, or will require recalculations for all items (which obviously taxing) to have proper scroll(bar) behavior. And as usual recalculations on resizes.
Not a concern if can be implemented behind the option so wont affect others.
Personally it would be interesting for me to see how it might be solved in VS Code, because virtual lists on web pages sometimes have bad performance for items with different height.

A bit strange to have wrapping only on files, but not on folders that overflow if (I understand your comment correctly).

To sum up:
I'm not against the idea, but a bit worried about possible impact on Explorer performance and inconsistency between wrapping behavior for folders & files in proposal.

Thanks for sharing your analysis. (I confused you reaction mainly because of its timing, only partly because of your handle, I think.)
Can't the number of rows be calculated once based on filename length spread? Wrapping doesn't mean it should occur by recalculation upon overflow.
I see the setting you referred also warns of negative performance impact. I'm used to developing other kinds of software where this kind of thing would't be expected to be a performance drag.

Wrapping the lines or doing some smart ellipsis would help a lot, for now the horizontal scroll solves my problem, but being able to see it all with wrapped filenames would be awesome.
Other idea is to add an option to enable the full file name being shown on hover.

This feature request has my vote too. My company uses extremely long filenames, so wrapping them would be helpful.

This feature request has my vote too. My company uses extremely long filenames, so wrapping them would be helpful.

why wrap them, which is not possible as of todays date, why not just show the entire filename on hover like webstorm?

Have you seen how webstorm handles this?
When hovering over a file name which is hidden under the overflow is becomes visible on top of the editor. And it's instant. Not like the tooltip we have now that takes 1-2 seconds to appear and is far too difficult to decode at a glance.

Related on Stack Overflow: How can I toggle the Word Wrap on the Left sidebar of Visual Studio Code?


Hardware powering the robot arm

Description
Given the possible shift from a BCN3D Moveo arm to a RBX1 arm we need to figure out what we need in terms of hardware.
While the design of the two arms is similar, with the main difference being the number of joints (going from 5 to 6), the hardware configuration is quite different:
we are going from a combination of an Arduino Mega 2560 with a RAMPS 1.4 shield (a standard configuration for DIY 3D printers) to a Raspberry Pi with a SlushEngine Model D 7 (a quite expensive stepper motor driver).
The Moveo arm configuration is not compatible with the RBX1 arm because the RAMPS 1.4 shield is able to control a maximum of 5 stepper motors.
Details
For the time being we might want to try and stick with the Arduino Mega + RAMPS 1.4 combination (since it's cheaper). This hardware setup currently requires a 12V power source and can control up to 5 stepper motors and a LCD screen (which might be useful to display some debugging/status information).
More information on this can be found in the assembly guide.
The main task is to find a way to attach a 6th stepper motor to the current setup.
We might be able to do this with a stepper expander or use one of the several way to add more stepper motor drivers to the RAMPS 1.4.
Also note that while the picture that shows the hardware configuration for the Moveo arm shows 6 stepper motor drivers, two of them (2nd and 6th from the top) are connected in parallel, and hence it's not possible to control them independently.

There seems to be a way to connect a Bluetooth module to the RAMPS shield that would enable wireless communication.
Roadmap

[x] Get your hands on some of the hardware.
[x] Test configuration with 5 stepper motors (according to the assembly guide).
[ ] Document previous steps.
[ ] Blog/social media posts
[ ] Use a stepper extender to connect an additional stepper motor to the configuration.
[ ] (optional) test the configuration with a LCD screen and display stepper motor status information.

Additional information on the hardware configuration is provided in the wiki

We tried to run the 6th motor connecting a L298N Motor Driver to the RAMPS 1.4 board without success, both by powering the driver directly from the power supply or by using the 12V auxiliary fan pins on the RAMPS.
The driver powers up but the motor stutters back and forth, heating up.
This is most likely due to an excessive amount of current going into the motor or mismatched voltage range between driver and motor.
Using this driver we are not able to control how much current goes into the motor, like with A4988 motor drivers.

We bought a couple of these stepper motor extenders.

The circuit is now able to handle 6 stepper motors, thanks to the extension board. The extension board is then connected to the RAMPS 1.4 using some auxiliary pins. More on this in the wiki.

Have a look at this for an example on how to use the u8g2 graphic library with the ST12864 display that came with the RAMPS 1.4 kit.


Question: LanguageDevelopment.phtml

I am looking over some of EnlighterJS's code and I noticed the ./LanguageDevelopment.phtml file ( https://github.com/AndiDittrich/EnlighterJS/blob/master/LanguageDevelopment.phtml ). Unless I am mistaken, ./LanguageDevelopment.phtml does not contain any PHP code, so why is the file using the extension ".phtml"? Such a file extension is used for HTML files that contain PHP code ( http://stackoverflow.com/questions/11859015/what-is-phtml-and-when-should-i-use-a-phtml-extension-rather-than-php ). Should ./LanguageDevelopment.phtml use the ".html" file-extension, or did I over-look soemthing?
By the way, if you would rather me offer these suggestions and question via email, please feel free to let me know. Using GitHub's "Issues" or email are equally convenient for me. I can use which ever would be the best for you.

you're right. PHP is not needed anymore for these files (ThemeDevelopment.html and LanguageDevelopment.html). i've changed their file extensions to .html


[DOCS] Remove extra node from asssets command on README

The command had an extra node in it, this PR removes it :)

Good catch @joaolucasl 😁


adding dart language

Description

This PR fixes #
Notes for Reviewers:

Signed commits

[x] Yes, I am a Member of DEVSTRONS'

Discord id (eg: DEVSTRONS'#0238): Chandan#0862

check it

@vsnthdev  @Panquesito7  @ugwls  @ghulamyazdani  please check it merge it
update dart.md

All the change has been done

update dart.md please check

@Panquesito7  your problem is solve pls check

@Panquesito7  your problem is solve pls check

@Panquesito7  your problem is solve pls check

@Panquesito7  your problem is solve pls check

@Panquesito7  check it

update dart.md

Oh 🤦♂ just submitted the review when the PR was merged 😅 sorry for that.

@chandan0000: Thanks for your valuable contributions, praise your patient reg. reviews. LGTM! :partying_face:


Allow header_rewrite rules to defer reenabling

#11549

The best way I can think of to have a per-transaction pointer to a defer counter in the heap is with a user pointer.  (The authproxy plugin, for example, uses one.)
wkaras ~/LOCAL_REPOS/TS/plugins/authproxy
$ grep -Fn 'TSUserArg' authproxy.cc
186:    opt = static_cast<AuthOptions *>(TSUserArgGet(this->txn, AuthTaggedRequestArg));
676:  return AuthTaggedRequestArg != -1 && TSUserArgGet(txn, AuthTaggedRequestArg) != nullptr;
683:  AuthOptions *opt = static_cast<AuthOptions *>(TSUserArgGet(txn, AuthTaggedRequestArg));
807:  TSReleaseAssert(TSUserArgIndexReserve(TS_USER_ARGS_TXN, "AuthProxy", "AuthProxy authorization tag", &AuthTaggedRequestArg) ==
821:  TSReleaseAssert(TSUserArgIndexReserve(TS_USER_ARGS_TXN, "AuthProxy", "AuthProxy authorization tag", &AuthTaggedRequestArg) ==
858:  TSUserArgSet(txn, AuthTaggedRequestArg, options);

I suggest we stick with the approach that works when only one operator per hook needs to defer the transaction reenable ( https://github.com/ywkaras/trafficserver/commit/8ac223775573068fdb57cf5418b3c05d4474ccc0 ).  We can add the approach with a defer counter in the future if we ever need it.


[Bug?] Comsume unnecessary memory on gpu-0

When I run examples/faster_rcnn/train.py on gpu with --gpu gpuno option,  (note that gpuno is not 0),
The program consumes unnecessary memory (N * 62MiB in many cases) in gpu-0 in addition to correct consumption in gpuno.
Do you know why this happens?
Environment is as follows (maybe this problem is not version-specific):
chainercv=0.6
chainer=3.0.0rc1
cupy==2.0.0rc1

I tested chainer==2.1.0, cupy==0.6.0, and chainercv==0.6.0 but it didn't consumes such unnecessary memory.

When I clean up the environment and re-install OpenCV that is built with tbb, everything goes well..
I'm sorry to trouble you.


About best_struct file

When I run the code, the cluster/best_struct/ file is missing. Can you tell me how to get it?
code:
with open(f"cluster/best_struct/{list_filename[0]}","rb") as f:
struct = pickle.load(f)

Hi, thank you for your interest in our work.
best_struct refers to the struct of the best models based on validation. The files in best_struct can be obtained by running the hyperparameter tuning scripts (tunesmall.sh and tunebig.sh), which saves a "struct" (pickle) file for each trained model (not just the best).
As examples, we have now uploaded the best_struct files for the two smallest datasets, with four models each. (GitHub does not allow uploading files larger than 25 MB.)


Even when updating the same item, an animation is called and an exception by the same Key is raised.

If we are creating an application of a certain size, we will probably use Freezed to create the data for the items to be displayed in the list.
And, we will often use Riverpod to manipulate the list.
However, when editing an item in a Freezed list, an exception occurs, perhaps because an animation occurs even though the item is the same (i.e., the same Key).
Environment
flutter doctor -v
C:\src\sample_for_issue git:[main]
flutter doctor -v
[√] Flutter (Channel stable, 3.27.0, on Microsoft Windows [Version 10.0.22631.4602], locale ja-JP)
    • Flutter version 3.27.0 on channel stable at C:\dev\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 8495dee1fd (12 days ago), 2024-12-10 14:23:39 -0800
    • Engine revision 83bacfc525
    • Dart version 3.6.0
    • DevTools version 2.40.2

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at C:\Users\sugur\AppData\Local\Android\sdk
    • Platform android-35, build-tools 35.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.10.1)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.10.34928.147
    • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2024.1)
    • Android Studio at C:\Program Files\Android\Android Studio Koala Feature Drop
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version openjdk version "17.0.11" 2024-04-16

[√] Android Studio (version 2024.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version openjdk version "21.0.3" 2024-04-16

[√] VS Code (version 1.96.2)
    • VS Code at C:\Users\sugur\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.102.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22631.4602]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 131.0.6778.205
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 131.0.2903.99

[√] Network resources
    • All expected network resources are available.

• No issues found!

Example Code
I have created a sample app.
https://github.com/kouroku-room/sample_for_issue/tree/ba4d5e464e5678392941e33d253215a41bde46da
Example Code
import 'package:animated_reorderable_list/animated_reorderable_list.dart';
import 'package:flutter/material.dart';
import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:riverpod_annotation/riverpod_annotation.dart';

part 'main.freezed.dart';
part 'main.g.dart';

@freezed
class MyListItem with _$MyListItem {
  const factory MyListItem({
    required String id,
    @Default('') String text,
  }) = _MyListItem;
}

@riverpod
class MyListItemViewModel extends _$MyListItemViewModel {
  @override
  List<MyListItem> build() {
    return [
      MyListItem(
        id: '1',
        text: '1',
      ),
      MyListItem(
        id: '2',
        text: '2',
      ),
      MyListItem(
        id: '3',
        text: '3',
      ),
    ];
  }

  void editItem(int index, String text) {
    final newList = [...state];
    newList[index] = newList[index].copyWith(text: text);
    state = newList;
  }

  void onReorder(int oldIndex, int newIndex) {
    final newList = [...state];
    final item = newList.removeAt(oldIndex);
    newList.insert(newIndex, item);
    state = newList;
  }
}

void main() {
  runApp(ProviderScope(child: const MyApp()));
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        useMaterial3: true,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key});

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        actions: [
          Consumer(builder: (context, ref, child) {
            return IconButton(
              icon: const Icon(Icons.add),
              onPressed: () {
                ref
                    .read(myListItemViewModelProvider.notifier)
                    .editItem(1, 'edited');
              },
            );
          }),
        ],
      ),
      body: SafeArea(
        child: Consumer(builder: (context, ref, child) {
          final List<MyListItem> items = ref.watch(myListItemViewModelProvider);

          return AnimatedReorderableListView(
            items: items,
            onReorder: (oldIndex, newIndex) => ref
                .read(myListItemViewModelProvider.notifier)
                .onReorder(oldIndex, newIndex),
            itemBuilder: (context, index) {
              final item = items[index];
              return ListTile(
                key: ValueKey(item.id),
                title: Text(item.text),
              );
            },
          );
        }),
      ),
    );
  }
}

Procedure

Create the above code and execute the following code
dart run build_runner build --delete-conflicting-outputs

Run the app and tap the AppBar action icon.

The following exceptions occur.
======== Exception caught by widgets library =======================================================
The following assertion was thrown while finalizing the widget tree:
Multiple widgets used the same GlobalKey.

The key [_MotionBuilderItemGlobalKey _MotionBuilderItemGlobalKey#d9200] was used by multiple widgets. The parents of those widgets were:
- FadeTransition(opacity: AnimationController#055fd(◀ 1.000)➩CurveTween(curve: Interval(0.0⋯1.0))➩Tween<double>(0.0 → 1.0)➩1.0, renderObject: RenderAnimatedOpacity#b7aea relayoutBoundary=up7)
- RepaintBoundary(renderObject: RenderRepaintBoundary#b0dbc relayoutBoundary=up4)
A GlobalKey can only be specified on one widget at a time in the widget tree.
When the exception was thrown, this was the stack:
#0      BuildOwner._debugVerifyGlobalKeyReservation.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:flutter/src/widgets/framework.dart:3205:13)
#1      _LinkedHashMapMixin.forEach (dart:_compact_hash:726:13)
#2      BuildOwner._debugVerifyGlobalKeyReservation.<anonymous closure>.<anonymous closure> (package:flutter/src/widgets/framework.dart:3149:20)
#3      _LinkedHashMapMixin.forEach (dart:_compact_hash:726:13)
#4      BuildOwner._debugVerifyGlobalKeyReservation.<anonymous closure> (package:flutter/src/widgets/framework.dart:3144:36)
#5      BuildOwner._debugVerifyGlobalKeyReservation (package:flutter/src/widgets/framework.dart:3213:6)
#6      BuildOwner.finalizeTree.<anonymous closure> (package:flutter/src/widgets/framework.dart:3267:11)
#7      BuildOwner.finalizeTree (package:flutter/src/widgets/framework.dart:3342:8)
#8      WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:1183:19)
#9      RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:475:5)
#10     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1397:15)
#11     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1318:9)
#12     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1176:5)
#13     _invoke (dart:ui/hooks.dart:312:13)
#14     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:427:5)
#15     _drawFrame (dart:ui/hooks.dart:283:31)
====================================================================================================

I noticed a solution to this issue, or rather the reason for isSameItem:  argument in this library.
For the code above, you had to add the following code.
isSameItem: (a, b) => a.id == b.id,

By adding this code, I found that no animation occurs on the same item and no exception is called.
If so, I think this isSameItem argument is very important and needs to be in a more alert form.
For example:

In this library final bool Function(E a, E b)? isSameItem; Add more explanation to the dart doc.
Example: “Animation to the same Widget Key raises an exception. Therefore, if the process returns false in the isSameItem argument (= animation is performed), the Widget Key passed in the itemBuilder argument must also be different.”

Make the isSameItem argument required.

In the Readme portion of pub.dev, “What if an exception occurs for Multiple widgets used the same GlobalKey.?” Add the following

etc.

@kouroku-room
Thank you for pointing out this issue and for your detailed feedback. We will add a dedicated section to the README addressing this specific issue.
If you have any additional suggestions or need further assistance, feel free to reach out!


Add type data to TxOut

Is it possible to add a type field to TxOut which describes the type of output (P2WPKH, P2PKH..?  That way, we can know the predicted weight if the TxOut is used in a new transaction as TxIn by using InputWeightPrediction.  InputWeightPrediction can't be used if the type isn't known AFAIK.  Is this not implemented because it's not possible for some reason or breaks some design pattern?  I know there are other things more pressing things rn but mostly just inquiring if this is a possibility in a future revision?

There are methods on TxOut::script_pubkey that will compute this for you.

There are methods on TxOut::script_pubkey that will compute this for you.

@apoelstra thanks, that would make things simpler.   It looks like TxOut::script_pubkey is type ScriptBuf.  I see on type Script there is a number of bools, for example pub fn is_p2sh(&self) -> bool {.  I'm not sure if I'm missing a more straigtforward method to compute this, but one option I guess is to loop through the provided bools until one returns true for the type, then use IWP (Input Weight Prediction) once the type is known?  Also I'm guessing this needs to be cast from ScriptBuf to Script since the methods are on Script.  Surely I'm missing a simpler way to do this..

If we add additional fields to TxOut, we will need to make the existing fields private to make that the invariants are respected with the new field. Will be a big breaking change for all users.

We would also likely want to populate those fields on construction and deserialization, which could be a perf cost that all users would need to pay regardless of whether they cared about this new data.

If we add additional fields to TxOut, we will need to make the existing fields private to make that the invariants are respected with the new field. Will be a big breaking change for all users.

We would also likely want to populate those fields on construction and deserialization, which could be a perf cost that all users would need to pay regardless of whether they cared about this new data.

Instead of a new field then, maybe just a net new method on TxOut or Script which shouldn't be a breaking change.  That method would examine Script to determine the type and then either return Weight or InputWeightPrediction for the predicated weight of the corresponding TxIn (The TxIn that consumes this TxOut)?

Or a free function that takes TxOut as an argument and returns the predicted weight of the corresponding TxIn perhaps..

Actually, a free function that takes Script as an argument and returns the predicated weight of spending/redeeming the script would be great.  Maybe I'll try to hack something like that together I guess since it doesn't exists AFAIK

s/exists/exist

We could create a non-exhaustive enum that covers all the output template types that we support. But several give us no useful input weight prediction (notably p2sh and p2tr). I'm not entirely opposed to it, but it's overlapping with miniscript functionality.

You can create an Address from Txout via Address::from_script and then get the AddressType . Somewhat indirect, but works.

Oh, lol, if we already have that enum we ought to stick a method onto Script that returns an Option<AddressType>.
cc @TomBriar who was also asking for something like this recently

You can create an Address from Txout via Address::from_script and then get the AddressType . Somewhat indirect, but works.

Thanks @sanket1729 , although rust-bitcoin predict_weight doesn't seem to glue together very well currently with the type returned from AddressType AFAICT.

I'm not entirely opposed to it, but it's overlapping with miniscript functionality

@apoelstra using mini script sounds good, I forgot there was the desc.max_weight_to_satisfy().  I see it's possible to create a descriptor from a string, although how about just passing parsing a Bitcoin Script to miniscript::Descriptor?  It seems like that would be ideal..

You can parse a bitcoin script to miniscript::Miniscript and then embed this in a Descriptor. I think in some circumstances this won't work.
We have something similar in the interpreter module where you need a bunch of extra transaction context beyond just the script, so you can see what extra data might be needed.

Hmm ok.  I'm reading through interpreter and it looks like a descriptor can be constructed from inferred_descriptor()?  And then that can be used to find the satisfaction_weight.  Seems a bit round about to create a descriptor just to find the satisfaction_weight.  In a perfect world, there would just be a method on TxIn to get the satisfaction weight instead of jumping through the hoops of creating a descriptor, especially if such inference can fail.

Closing/not actionable.


Fixing Expressibility

Attempt to fix the expressibility calculation.
Done so far:

[x] found issue with elementwise multiplication vs. matmul
[x] found issue with elementwise sqrt vs. sqrtm
[x] comparison with Pennylane impl. -> getting same result
[x] validation of Haar integral calculation -> done, identical to paper
[x] fixed number of bins being different when calculated by np.histogram(.., n_bins=10) vs np.histogram(.., n_bins=[0,0.1...1])

for single layer, we're getting really close to the result from the paper (0.7558 vs 0.78??) but for three layers we're still a bit off (0.1991 vs 0.03??)


[JN-378] Add UI for editing questions in forms

This adds the UI to edit questions in surveys and other forms.
This supports most (but not all) of the SurveyJS question options that we use. In particular, this is still missing the ability to make a text question use a number input and add validation.
Some example screenshots...

approving since it seems I'm outvoted by the more senior UI coders on the codestyle questions :)


Added the 'Delete custom SharePoint site scripts' sample script…solving #1139

Added sample scripts to delete-site-scripts using office 365 CLI commands.
Ref Issue- #1139

Coverage remained the same at 100.0% when pulling 3b89e906d6224fa9c79618df38fadc877cafbf8a on siddharth-vaghasia:patch-2 into f62e1ef8c7df7d30ab2e5898f036c4e999016f2b on pnp:dev.

Thank you! We'll review it shortly 👍

Hey @siddharth-vaghasia, are you still working on this sample?

@waldekmastykarz .... yes.... will implement the last changes and submit again..

Excellent, thank you for your quick reply 👍

Hey @siddharth-vaghasia, is this PR ready for review or are you still working on it?

@waldekmastykarz ... yes it is ready for review....

@waldekmastykarz .. corrected...apologies for the negligence .... and thanks for your patience for reviewing this thoroughly...I know it took more than required back and forth...I will take care of this next time...

Thank you for the quick turnaround and I appreciate your contributions 👏

Merged manually. Thank you!


Use insert .. on conflict for bulk import operations

Updates the behaviour of BulkInsertMode.OverwriteExisting to use insert ... on conflict do update. This is one less db statement than before and a less prone to constraint issues.
Also updates the behaviour of BulkInsertMode.IgnoreDuplicates to use insert ... on conflict do nothing.
(Wasn't going to create this so soon but ran into an issue where spamming some seed data resulted in unique constraint violations when using OverwriteExisting)
Tests pass but I had to delete the checked in generated code files. I am not sure what the correct way to regenerate these files is - can this be added to the doco somewhere so I can fix the issue myself next time 🙇 .

I'm going to pull this down locally and try it first. Can't see any reason why this would fail offhand

Hi @jeremydmiller,
I have given this another pass. Bulk inserting now supports conditional overwrites - when in BulkLoadMode.OverwriteExisting it is now possible to pass in a condition that must pass before a document is overwritten. This is very useful for bulk loading from external sources as it allows for safe out-of-order imports as long as documents have some sort of versioning column. Previously the only way to do this was to first query all the documents you wanted to import and drop the ones that were out of date. This way should be a lot faster.


change interval from inside

Is it possible to add the functionality to change (increase/decrease) the interval once sasqwatch is running?

This would be indeed fairly easy, want to try ? Otherwise I will take a look at it once I got a bit more time.

I'd love to but I've only started down my go journey. I'll have a look.

Ok, no worries, I will take a look at this in the near future,  should be an easy fix.


Could you please create Oracle Support

I know it might be a lot of work but Oracle support would be a great help because most of the OLTP systems are still in Oracle

Hi @vamshinandan. The idea is to support most of the major databases eventually, but open source databases will be supported first (like sqlite). In a short to medium term (~3 - 6 months) sqlite support is planned, after that it is yet to decide.

Thanks :) for the response

there is a pure golang oracle driver these days btw.
would like oracle too as also facing OLAP data being in oracle.


Relationships

[x] Add test for replacing a to-one with null.
[x] Add encoding/decoding for relationships variable of Resource.

:heart:


Add percent (%) sign to Remainder node name in visual shaders

This makes the node easier to search in the Create New Node dialog.

This closes https://github.com/godotengine/godot-proposals/discussions/9193.

Thanks!


What's the use of  'v-bind="obj"'?

This is API document address。
I have two question.

first:
What's the use of

 ?
last:  "Note in this mode class and style does not support Array or Objects. "-----Is this sentence in document  wrong? example

Hi!
Thank you for your question. 😃

first: What's the use of

 ?

This usage is the data binding which bound an object  to a value of each attributes defined as reactive data (e.g. data option or computed properties).
Therefor, You need to define the property with data option or computed properties, etc.

last: "Note in this mode class and style does not support Array or Objects.

I checked your example codes.
I found that someProp and otherProp don't defined in your codes.
You can work with below code.
new Vue({
  el: '#app',
  data: {
    classA: 'a',
    classB: 'b',
    someProp: '11',
    otherProp: 'red'
  }
});

Hello!
This is a usage question, and we encourage you to ask it on forum or gitter. We try to use the issue tracker for bug reports and feature requests.
As for the question, the use case for this is a dynamic list of attributes, unknown upfront (e.g. props and attributes depending on the type of component). As for the class/style, here's what it's talking about: http://jsbin.com/vusefohife/1/edit?html,css,js,output

Thank you very much!I will be ask questions in the right place to  later.


Remove .NET 5 and use .NET 6 as Default Version

.NET 6 is the most recently released LTS version of .NET. Currently, the default version provided by the buildpack is .NET 5, which will go out of support on May 08, 2022.
The buildpack should  remove .NET 5 once it goes out of support, and .NET 6 should become the default version.

Reopening because .NET 5 is still the default version in the buildpack.


chore: update to 10.3

Update to 10.3 and 7.3 for component package
Update left nav override styles to be compatible with new shell updates

Testing

Make sure left nav render correctly
Make sure components render correctly

Updating from 7.2 to 7.3 for carbon-components-react is breaking the Gatsby build. This is related to importing the tab component but beyond narrowing it down to that I'm not sure how to fix.
This is the build error https://reactjs.org/docs/error-decoder.html/?invariant=130&args[]=undefined

Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined.[missing argument]

@lovemecomputer @asudoh @emyarod @joshblack @vpicone  any ideas on what might have changed with the React library from 7.2 to 7.3 ?


[opencv] opencv_contrib won't compile Freetype module

I've installed the two packages freetype and harfbuzz which Freetype module needs.
CMakeLists.txt in Freetype module wrotes:
if(PKG_CONFIG_FOUND)
  pkg_search_module(FREETYPE freetype2)
  pkg_search_module(HARFBUZZ harfbuzz)
endif()

It won't find freetype and harfbuzz since pkg_config doesn't exist in Windows. If I change the code to what vcpkg indicated:
find_package(Freetype REQUIRED)
find_package(harfbuzz CONFIG REQUIRED)

it does find freetype, but harfbuzz is still missing.

I have tested this issue with vcpkg 2018.11.23-nohash and VS2017 15.9.9, I could find these two ports with following sentences in cmake project:
find_package(Freetype REQUIRED)
find_package(harfbuzz CONFIG REQUIRED)
I think this issue should be fixed, so close this issue.
If you could reproduce this issue in your side, please contact me again and provide a detailed repro steps.

I have tested this issue with vcpkg 2018.11.23-nohash and VS2017 15.9.9, I could find these two ports with following sentences in cmake project:
find_package(Freetype REQUIRED)
find_package(harfbuzz CONFIG REQUIRED)
I think this issue should be fixed, so close this issue.
If you could reproduce this issue in your side, please contact me again and provide a detailed repro steps.

I don't mean that the cmake project can't find the two ports, I mean that OpenCV can't recognize the harfbuzz found.

Hi,
Freetype and hdf libraries are not built in my configuration. I use opencv 3.4.1 and opencv_contrib 3.4.1. Please guide me how to enable these two modules. which files i have to change. Thanks and regards, Murugan

i develop in cygwin for cross development to target aarch64-unknown-linux-gnu.

@unbored  About harfbuzz can't find in OpenCV, please use harfbuzz_FOUND instead of HARFBUZZ_FOUND in the CMakeLists.txt of freetype.
@gansm255  Since the version of opencv3 currently provided by vcpkg is 3.4.7, are you using vcpkg to install opencv?

Hi,
Thanks for immediate help.

I am not using vcpkg. I download source 4.2.0 and build under cygwin and cross compile with compiler aarch64-unknown-linux-gnu-g++.
also i need to enable freetype.
in your yesterday comment, you have mentioned to use harfbuzz_FOUND instead of HARBUZZ_FOUND in the CMakeList.txt file under freetype folder. This change does not make any difference.
the issue is freetype and harfbuzz modules are not found  ocv_check_modules .

@gansm255  I think you could submit an issue on https://github.com/opencv/opencv_contrib/issues .

I have spent quite a lot of time to find this:
in ports\opencv4\portfile.cmake it will activate freetype module only if ask for opencv4[ovis] feature.
if(BUILD_opencv_ovis)     string(APPEND DEPS_STRING "\nfind_dependency(Ogre)\nfind_dependency(Freetype)")   endif()
This is unfortunate because 'ovis' brings a lot of other libraries as dependecies which I absolutely do not need.
Is it possible to improve this?

@unbored , Thanks for posting this issue, Can you try this workaround? If it solves your problem I will submit a pr to fix this

Someone could tell me what is the right patch for Windows? I opened an issue and I've been told that I need to do motifications. This issue seems to reappear over the years and very difficult to fix from vcpkg side in a reliable way, therefore I'm afraid I'm better off to patch opencv_contrib/modules/freetype/CMakeLists.txt.
In the workaround link posted from @JonLiu1993 there are two versions. The main one (the one just above the pic) does not work. When applied I get plenty of warnings and versions are not detected (seems there is also some duplicated stuff to mess up things):
-- Found Freetype: optimized;C:/dev/vcpkg/installed/x64-windows/lib/freetype.lib;debug;C:/dev/vcpkg/installed/x64-windows/debug/lib/freetyped.lib (found version "2.12.1")
-- Found HARFBUZZ: C:/dev/vcpkg/installed/x64-windows/lib/harfbuzz.lib
-- freetype2:   YES
-- harfbuzz:   YES
-- Julia not found. Not compiling Julia Bindings.
-- Module opencv_ovis disabled because OGRE3D was not found
-- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available.
-- Failed to find installed gflags CMake configuration, searching for gflags build directories exported with CMake.
-- Failed to find gflags - Failed to find an installed/exported CMake configuration for gflags, will perform search for installed gflags components.
-- Failed to find gflags - Could not find gflags include directory, set GFLAGS_INCLUDE_DIR to directory containing gflags/gflags.h
-- Failed to find glog - Could not find glog include directory, set GLOG_INCLUDE_DIR to directory containing glog/logging.h
-- Module opencv_sfm disabled because the following dependencies are not found: Eigen Glog/Gflags
-- Tesseract:   YES (ver 5.3.0)
-- Module opencv_python3 disabled because opencv_python_bindings_generator dependency can't be resolved!
-- Assume that non-module dependency is available: optimized (for module opencv_freetype)
-- Assume that non-module dependency is available: debug (for module opencv_freetype)
-- Assume that non-module dependency is available: optimized (for module opencv_freetype)
-- Assume that non-module dependency is available: debug (for module opencv_freetype)
-- Allocator metrics storage type: 'long long'
-- Excluding from source files list: modules/imgproc/src/imgwarp.lasx.cpp
-- Excluding from source files list: modules/imgproc/src/resize.lasx.cpp
-- Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': C:/dev/OpenCv/opencv/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake
-- opencv_dnn: filter out cuda4dnn source code
-- Excluding from source files list: <BUILD>/modules/dnn/layers/layers_common.rvv.cpp
-- Excluding from source files list: <BUILD>/modules/dnn/layers/layers_common.lasx.cpp
-- Excluding from source files list: <BUILD>/modules/dnn/int8layers/layers_common.lasx.cpp
-- freetype2:   YES
-- harfbuzz:   YES
CMake Warning at cmake/OpenCVUtils.cmake:1699 (message):
  Unexpected CMake generator expression:
  $<$<NOT:$<CONFIG:DEBUG>>:C:/dev/vcpkg/installed/x64-windows/lib/freetype.lib>
Call Stack (most recent call first):
  CMakeLists.txt:1186 (ocv_get_all_libs)

CMake Warning at cmake/OpenCVUtils.cmake:1699 (message):
  Unexpected CMake generator expression:
  $<$<CONFIG:DEBUG>:C:/dev/vcpkg/installed/x64-windows/debug/lib/freetyped.lib>
Call Stack (most recent call first):
  CMakeLists.txt:1186 (ocv_get_all_libs)

CMake Warning at cmake/OpenCVUtils.cmake:1699 (message):
  Unexpected CMake generator expression:
  $<$<NOT:$<CONFIG:DEBUG>>:C:/dev/vcpkg/installed/x64-windows/lib/freetype.lib>
Call Stack (most recent call first):
  CMakeLists.txt:1186 (ocv_get_all_libs)

CMake Warning at cmake/OpenCVUtils.cmake:1699 (message):
  Unexpected CMake generator expression:
  $<$<CONFIG:DEBUG>:C:/dev/vcpkg/installed/x64-windows/debug/lib/freetyped.lib>
Call Stack (most recent call first):
  CMakeLists.txt:1186 (ocv_get_all_libs)

Below there is another one, but seems for Linux and although I don't get warnings when applied, harfbuzz is not even showed:
-- Module opencv_alphamat disabled because the following dependencies are not found: Eigen
-- Found Freetype: optimized;C:/dev/vcpkg/installed/x64-windows/lib/freetype.lib;debug;C:/dev/vcpkg/installed/x64-windows/debug/lib/freetyped.lib (found version "2.12.1")
-- Found HARFBUZZ: C:/dev/vcpkg/installed/x64-windows/lib/harfbuzz.lib
-- freetype2:   YES
-- Julia not found. Not compiling Julia Bindings.

Just placing find_package(Freetype REQUIRED) and find_package(Harfbuzz REQUIRED) before ocv_check_modules as someone elsewhere suggested does not work either:
-- Found Freetype: optimized;C:/dev/vcpkg/installed/x64-windows/lib/freetype.lib;debug;C:/dev/vcpkg/installed/x64-windows/debug/lib/freetyped.lib (found version "2.12.1")
-- Found ZLIB: zlib (found version "1.2.13")
-- freetype2:   YES (ver )
-- harfbuzz:    NO

The posted fixes are 7 years old. I would appreciate if someone could post a patch that remains reliable over the time with each new release.

Fixed by PR #27343.


Queries only update when fluid data changes

Say you have a getItemById query, and you have a UI that lets you change which "id" is selected. If this selectedID is only local state (picking which node to edit) then the getItemById query will continue to return the same original item

aaaaaaaaaaaaaand, i realize that this doesn't affect us now that we are using a single store. Queries pull a piece off of existing state, each query isn't a stateful element of it's own


Use Sanic instead of Flask/Quart

Sanic is another asyncio web-framework. It would be worth creating a separate branch for to serve as an example.

See tealk


Added a few documentation examples.

Added a few documentation examples.

I am against adding more examples in ddoc when there has been a well reasoned effort to move all examples to unittest blocks. Several of the moved examples bit rotted and didn't compile because checking each one is extremely tedious and no one bothers. So, please move these into unit tests so all examples are always kept up to date.

@JackStouffer While I would usually agree, file handling is a little different. IMHO these examples should be free from file creation and cleanup.

An example is worth a thousand words, so I applaud the effort. However...

Some of these seem rather forced. I don't think we need examples for functions with obvious usage, such as rename/remove/copy/exists.
The repeating main function, imports, blank lines etc. are not informative and don't carry their weight in usefulness vs. vertical space eaten.
As mentioned above, at least some of these examples can be trivially adapted to documented unit tests. I think I agree with @JackStouffer, the rest should be adapted anyway.

I'll rework.


v2 enum randomization

The problem: Generated enums of the same type are not random.
The problem is in the io.github.benas.randombeans.EnhancedRandomImpl#randomize . It creates              a new EnumRandomizer for every call

Btw I have red tests not related to the patch.
Tests in error:
  CityRandomizerTest.setUp:36 » LocaleDoesNotExist ru_RU could not be found, doe...
  CompanyRandomizerTest.setUp:36 » LocaleDoesNotExist ru_RU could not be found, ...
  CountryRandomizerTest.setUp:36 » LocaleDoesNotExist ru_RU could not be found, ...
  CreditCardNumberRandomizerTest.setUp:36 » LocaleDoesNotExist ru_RU could not b...

@korniltsev Thanks for the pull request.
The test failures are probably caused by a bug in an old versions of java-faker. Or do you also get them when using the latest master of  random-beans?

@PascalSchumacher master is green

Changes Unknown when pulling 2789e78c0f93652e3c3d6d71a624103710a6ff74 on korniltsev:production-v2 into ** on benas:production-v2**.

Hi @korniltsev
Thank you for your PR.
Which version of random beans are you using?

I use version 2.0.0. I try to make it work on android. Please see my comments on https://github.com/benas/random-beans/issues/62

Hi @korniltsev
Have you tried to use the latest version 3.4?
This bug has been already fixed (see 3ae95025a03c933c62811ba5f9fdef89e9363636).
Kind regards
Mahmoud

Yes, I've tried. I would love to use it, but AFAIK there is no way to run master branch on android because of java version 1.8 and stream api. It is sad, but Android is now limited (and will be limited for long time) to java 1.7. If I find myself in need of features from 3.x version I'l probably make a fork, decrease java version, replace stream api usages with something else (may be RxJava). But for now I'l stick to the v2.x.

Oh yes I understand. That caused me a lot of hair pulling sessions as you may have seen and commented on issue #62.
The problem is I'm really lacking time to maintain and release multiple versions of RB at the same time.
Please use your fork if you need version 2.x
I'm really sorry about that, Hope you understand my situation.
Kind regards
Mahmoud


[[NEW S.E.X-VIDEOs]] Jennifer Lopez Leaked Video 2024 LINK Viral on Social Media X Today ^^^Trending^^^

12 sec ago, ™Jennifer Lopez Leaked Video 2024 LINK Viral on Social Media X Today ^^^Trending^^^

™™Jennifer Lopez''s latest video has taken social media by storm, captivating viewers and sparking widespread discussions. This young digital creator has garnered significant attention for her engaging content, particularly with her recent Spiderman-themed video that has gone viral. Fans are eagerly searching for where to watch the full video, turning to platforms like Instagram, X (formerly Twitter), and Discord for access.
As the buzz around ™™Jennifer Lopez' grows, fans are actively sharing their reactions online. The viral success of her video highlights the powerful role of social media in propelling creators into the spotlight.
Thank You

FG

vf

FG

vf

drfterte


Closes #100 - Blockquotes!

#100
@canterberrie is this what you wanted ??

In the layout.html page, can you add some dummy text in there so that we can visualize how the block quotes will fit into a body of text? Essentially they should do what these flexible images do, but with text. Thanks!

See i am able to achieve this .... but as its nested into a callout .... I was able to do this with the normal grid system
Grid system is so powerful and responsive so i though it was the best way to go about it... !

@IamManchanda hmm.. That's an interesting way to use block quotes, but what if the text next to the block quote is shorter than the text inside the block quote? Wouldn't that make the paragraph too short?
I was thinking that the block quote could be placed between two paragraphs, and the paragraphs would wrap around the block quote (floated). This way, the user won't have to create a separate row each time they want to throw in a block quote.

Sorry but I am out for the day christine... Gone to sleep... If there are any changes required today ... You will have to do yourself.... Good night!

@IamManchanda That's fine, thanks for all your building blocks!

Merged! Great work @IamManchanda @canterberrie


why ClickTracker is not firing in web ?

i checked that click tracker is not being fired in web and i checked in code also, click trackers is fire only when env mobile-app.
below are file link:
https://github.com/prebid/prebid-universal-creative/blob/master/src/nativeTrackerManager.js
https://github.com/prebid/prebid-universal-creative/blob/master/src/nativeAssetManager.js

I found same issue, and believe I found the reason.
If the  is setup with addition html tag, such as:
%%PATTERN:hb_native_title%%
then when click event fires, the  tag is the event.target, instead of the  tag, so the code inside function readAdIdFromEvent won't work.
Suggestion:
pass adId into click event listener instead of let it read from event.target.
code change
  function loadClickTrackers(event, adId) {
    if (!adId) adId = readAdIdFromEvent(event);
    fireTracker(adId, 'click');
  }

  function attachClickListeners(adElements, listener = loadClickTrackers) {
    adElements = adElements || findAdElements(AD_ANCHOR_CLASS_NAME);

    for (let i = 0; i < adElements.length; i++) {
      let adId = readAdIdFromSingleElement(adElements[i]);
      adElements[i].addEventListener('click', function(event) {
        listener(event, adId);
      }, true);
    }
  }


Table query with parentheses does not find rows.

Which service(blob, file, queue, table) does this issue concern?
Table
Which version of the Azurite was used?
3.14.2
Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
DockerHub
What's the Node.js version?
I'm not sure I use Docker image.
What problem was encountered?
Table query with parentheses e.g.:  (PartitionKey eq '1') and (AppId eq 1000002L) does not find rows.
Steps to reproduce the issue?

In Storage Explorer, insert entity

In Storage Explorer, use query tool to create a query that includes parentheses
No rows found.

In Storage Explorer, use the same query but without parentheses
Records were found.

We use Microsoft.Azure.Cosmos.Table SDK that wraps the conditions with parentheses.

Hi @edwin-huber, can you help a quick check if it's a missing in #778?

😊
The problem seems to be in method tokenizeQuery. The original condition did not take into account int64 with L suffix.
Original:
if (i !== 0 && query[i - 1].match(/\d/) !== null)

my "naive, without refactor, but functional" implementation looks like this:
if (
  (i !== 0 && query[i - 1].match(/\d/) !== null) ||
  (i - tokenStart > 0 &&
    query.substring(tokenStart, i).match(/\b[0-9]+L\b/g) != null)
)

I had a problem running the tests. ERROR: --compilers is DEPRECATED and no longer supported. I'm not NodeJs guy 🙄.

Issue should be resolved in main branch since Nov 3.


Deprecation machinery

In my court: I need to do some research to see what the generated Python code should actually be. Goals:

Fix https://github.com/opendp/opendp/issues/1698
Fix https://github.com/opendp/opendp/issues/1876

This works: https://deprecated.readthedocs.io/en/latest/sphinx_deco.html
from deprecated.sphinx import deprecated

@deprecated(version='0.11.1', reason="Use :mod:`opendp.extras.polars` instead")

Tried https://typing-extensions.readthedocs.io/en/latest/index.html#typing_extensions.deprecated (suggested by https://peps.python.org/pep-0702/) but doesn't look like Sphinx knows to look for it.