Question: thread safety when socket's default exector is a strand

I have the following:
struct some_listner_object
{
tcp::acceptor acceptor;
...
void do_accept(
  acceptor.async_accept(
                net::make_strand(ioc),
                [self=shared_from_this(), this](beast::error_code ec, tcp::socket socket)
                {
                    if(ec)
                        return;

                    std::make_shared<some_session_object_with_socket>(std::move(socket))->start();

                    do_accept();
                }
  );
};

By using make_strand, i'm hoping the socket's default executor is a strand. So hopefully, all async operations on the socket are by default executed on the strand. Or is it by default all completion handlers are executed on the strand?
Basically, if it's the former, then all async operations are then thread safe. If it's the later, then all async operations need to be first posted, unless they are already being called on the strand.

That code compiles?

Yep. I have omitted most of the program though. I just wanted to show the crucial bit : acceptor.async_accept(net::make_strand(ioc), ...)

Basically, i want to know if a socket's default executor is a strand, then is everything always, automatically thread-safe ? Because all async operations are initiated on that strand and all completion handlers are called on that strand?

If an external thread is calling a function which will call an async function on a socket, then does it have to be posted first to the socket's default executor, i.e. it's strand, or will that async function automatically be initiated on the default executor, i.e. the strand? Do you see what i mean?
I'm getting confused as to when async reads, writes, accepts, etc, need first to be posted or dispatched if the socket's default executor is a strand.

Ok, another maybe clearer question. Does the executor dictate where the async function is initiated or does it only dictate where the completion handler of that sync function is run?

context
An execution context which provides the I/O executor that the socket will use, by default, to dispatch handlers for any asynchronous operations performed on the socket.

https://www.boost.org/doc/libs/1_80_0/doc/html/boost_asio/reference/basic_stream_socket/basic_stream_socket/overload2.html

So does that mean i never have to use dispatch() or post on the strand? I can just use the async functions and everything is always thread safe ?

https://www.boost.org/doc/libs/1_81_0/doc/html/boost_asio/reference/ip__tcp/socket.html#boost_asio.reference.ip__tcp.socket.thread_safety
AFAIS, to post across executors you need to dispatch (or post).


Fixed preview_image_link branch use case in metadata tags in head

@davisagli is that so? I took DLR as pattern, oh true, the behavior is slightly different. I will take a look.

superseeded: #5939


Add -static suffix to non-empty triplet if static libraries are enabled

What does your PR fix?
Fixes #28009

Which triplets are supported/not supported? Have you updated the CI baseline?
All, No

Does your PR follow the maintainer guide?
No

See #28045


Create command system

Create the command system for PaperEx.
This will be implemented as an inheritance system where users will inherit from a BaseCommand class and instantiate it on load.
Future additions may include automatically registering it to the plugin.yml file, but that won't be in the first implementation.
public class VanishCommand extends BaseCommand {

  VanishCommand(JavaPlugin plugin) {
    super("vanish", plugin)
  }

  public void execute(/* Command execution parameters would go here */) {
    // Handle vanish logic here
  }
}

This system will require incremental changes and will be a constantly evolving system.
Basic Changes:

[x] Add label for the command system
[ ] Create a base command class for basic command handling (checking permissions, etc.)
[ ] Create marker interfaces for specific user groups

Something like IPlayerCommand for a command that can only be used by a player.

[ ] Register command internally

Future Changes:

Automatic registration to plugin.yml
Integration with a user group system

Maybe a rank system or something else, I'll have to see what I'm feeling up for working on (always open to new suggestions!)

Support for registering commands as ITabCompleters if necessary would also be nice, so I'm throwing it in the task list.


Xnero: Watch mateshwari[\W_]*tours(?!.com)

Xnero requests the watch of the watch_keyword mateshwari[\W_]*tours(?!\.com). See the MS search here and the Stack Exchange search in text, in URLs, and in code.

mateshwari[\W_]*tours(?!\.com) has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by Spevacus in Charcoal HQ


(Need Help) Encountering Warnings When Using Nuxt3 + shadcnUI and Unsure How to Fix Them

(Need Help) Encountering Warnings When Using Nuxt3 + shadcnUI and Unsure How to Fix Them
Here’s the component code:

<template>

    <slot />
    <Sheet :default-open="true">
      <SheetContent :side="'left'" class="outline-0 p-0 w-[240px] z-[99999]">
        <VisuallyHidden>
          <SheetHeader>
            <SheetTitle>dialog</SheetTitle>
            <SheetDescription>description</SheetDescription>
          </SheetHeader>
        </VisuallyHidden>

            <SheetClose class="outline-0">
              <NuxtLayout name="tab-toolbar-nav-menu" />
            </SheetClose>

      </SheetContent>
    </Sheet>

</template>

ShadcnUI   Sheet.vue:

<template>
  <DialogRoot v-bind="forwarded">
    <slot />
  </DialogRoot>
</template>

The warning message:
[Vue warn]: Extraneous non-props attributes (data-v-e01f9c95) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.
  at <DialogRoot defaultOpen=true onUpdate:open=fn data-v-e01f9c95="" >
  at <Sheet default-open=true >
  at <SideBar ref=Ref< undefined > >

This warning has appeared multiple times and only occurs on the server side. No warnings appear on the client side.
Through testing, I found that switching to the DialogRoot component eliminates the warnings. The warnings reappear when using the Sheet component.
Here’s the alternative component:

<template>

    <slot />
    <DialogRoot :default-open="true">
      <SheetContent :side="'left'" class="outline-0 p-0 w-[240px] z-[99999]">
        <VisuallyHidden>
          <SheetHeader>
            <SheetTitle>dialog</SheetTitle>
            <SheetDescription>description</SheetDescription>
          </SheetHeader>
        </VisuallyHidden>

            <SheetClose class="outline-0">
              <NuxtLayout name="tab-toolbar-nav-menu" />
            </SheetClose>

      </SheetContent>
    </DialogRoot>

</template>

When using DevTools, the same warning occurs, similar to the server-side warning, but it doesn’t appear on the client side:
[Vue warn]: Extraneous non-props attributes (data-v-inspector) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.
  at <DialogRoot default-open=true data-v-inspector="layouts/index/SideBar.vue:16:7" >
  at <SideBar data-v-inspector="app.vue:4:7" ref=Ref< undefined > >
  at <LayoutLoader key="index-side-bar" layoutProps= { 'data-v-inspector': 'app.vue:4:7',

I have already disabled DevTools with componentInspector: false.
GitHub link: Nuxt DevTools Issue #722.

This should probably be raised with radix-vue - it's a consequence of Vue 3.5 and is not related to Nuxt.

I have this issue and I don't have Radix-vue. In fact I don't have any UI libraries:
    "devDependencies": {
        "@nuxt/image": "^1.2.0",
        "@nuxtjs/google-fonts": "^3.1.3",
        "nuxt": "^3.13.0",
        "sass": "^1.70.0",
        "vue": "^3.3.4",
        "vue-router": "^4.2.5"
    },
    "dependencies": {
        "@nuxt/content": "^2.10.0",
        "body-scroll-lock": "vercel/body-scroll-lock",
        "gsap": "^3.12.5",
        "normalize.css": "^8.0.1"
    }

WARN  [Vue warn]: Extraneous non-props attributes (data-v-inspector) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.
at
at
at

@mrleblanc101 That has been resolved in https://github.com/nuxt/nuxt/pull/28939 and should be in the next Nuxt release.

I have the same error and I just updated to nuxt version 3.13.2, will it be fixed in version 3.13.3?

I have the same error and I just updated to nuxt version 3.13.2, will it be fixed in version 3.13.3?

It needs to be fixed in radix-vue.


Flush does not honor its optional delay argument

The delay argument in 'flush' is supposed to be the value in seconds until the memcached server is flushed.  It's optional, and defaults to zero seconds (immediate flush).  But this argument doesn't appear to be honored by the client.  Instead, there's a weird bit of code that first sets a local variable to -delay and then adds delay to it, always resulting in a value of 0 being passed to the underlying server instances.
If we remove this calculation and  just pass the delay value to the underlying server instances, everything works as expected.

The fix for this was released in 3.1.1.  Closing.


Few languages don't show up.

It seems this might require an update since few languages aren't showing up that shows up in language_tags. Please consider as i am not very familiar with correcting/updating.
'ar-XA'  should come up with key like Arabic
'cmn-CN'  should come up with key like -- 'Mandarin Chinese', 'China'
'cmn-TW' should come up with key like -- 'Mandarin Chinese', 'Taiwan, Province of China'
'sr-RS'      should come up with key like -- 'Serbian', 'Serbia'
'yue-HK'      should come up with key like -- 'Yue Chinese', 'Cantonese', 'Hong Kong'
For now, commented the import of bcp47 and using language_tags although it seems bcp47 is showing up as newer one.

The tags come from this MS document: https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-LCID/[MS-LCID].pdf. There are probably others missing too. They've done updates to the document, but it's still lacking.

XA seems to be a Russian notation for Abkhazia, mandarin are not mentioned in any of the language tables I've seen (in fact simplified Chinese is the only one I've noticed), Hong Kong has now been enslaved by China, and Serbian doesn't seem to have that language code at all (it's either "sr" or "sr-Latn-RS").


ParameterKey.Eq doesn't accept a numeric value

This page has an example where a numeric value is passed to ParameterKey.Eq during fluent registration:
container.Register(
    Component.For<ICustomer>().ImplementedBy<CustomerImpl>()
        .DependsOn(Property.ForKey("Name").Eq("Caption Hook"), Property.ForKey("Age").Eq(45)));

When I try to use it that way I get a compiler error:
Cannot resolve method `Eq(int)`, candidates are:
Castle.MicroKernel.Registration.Parameter Eq(Castle.Core.Configuration.IConfiguration)
Castle.MicroKernel.Registration.Parameter Eq(string)

I'm not sure what should be done in this instance, otherwise I'd just update the doc myself. Probably just cast it to a string, but it seems like this may be a bug.

The example you've linked to and included use Property.ForKey(), which is different to Parameter.ForKey(). PropertyKey.Eq(object value) is the signature for Property.
Property is an object/object key/value pair, while Parameter is used when reading out of a configuration and that can only be a string or an IConfiguration, and must be a string key.

Oh, Parameter not Property. My bad.


Supporting open generic models in Views

The story:
The idea came to my mind when summarizing multiple views using partials. I thought it would be great if we could define partial views with open generic models.
I thought at first to post the idea in ASP.NET uservoice website. When I searched there, I noticed the same idea was suggested a few years ago https://aspnet.uservoice.com/forums/41201-asp-net-mvc/suggestions/2706166-support-for-generics-in-razor-view.
There, @danroth27 had directed users to a new track ( #727 ) in ASP.NET github and asked users to comment practical examples/use cases of the suggestion.
After visiting the issue, I noticed that it was closed, because nobody had given any comment. I didn't know if someone was still allowed to comment on a closed issue or not, but I dared to try it.
I was happy to see @Eilon's quick reply some hours later still welcoming use cases for this idea.
As the scenario I wanted to mention was a little long, he recommended me to post it as new issue.
So, here am I.
The scenario involves multiple pieces of code fragments (C#, Razor views), but I do my best to make it short and only mention the meat.

I strongly support the need for passing a generic item into the model of a view. This is very much needed in all future versions of Asp.Net Core.

This is not something we plan to do.


Some gutters are misaligned while dragging

Extracted from #112
The current behaviour intends that dragging a gutter will keep the centre of the gutter in line with the mouse pointer, but this is not always the case. For example, dragging the right-most bar in the bottom example of https://nathancahill.github.io/Split.js/ causes the gutter's right-edge to snap to the mouse.
I think it may be worth moving away from the current behaviour of detecting each segment's current size & position when dragging, and instead calculate where the divide ought to be based on the parent's size and position, and the current proportions. This would simplify the mathematics needed to account for gutters and would allow more flexible use cases (e.g. if a custom sizing function choses to inset all dimensions by 30px, or if something other than border-box is used in the CSS, it would make no difference to the engine).
This would be a rather large change so likely needs some thought on how it will interact with other existing features.

Any chance this has been fixed/improved by the new gutterAlign option in v1.5.3?


[v1.0-beta] Setting Status "invisible" Doesn't Reflect in App

Your Rocket.Chat.Android version: Build #100
When you set your status from Online to Invisible, the Android application doesn't update to reflect the change but the browsers show the change.

Thank you for your bug reporting.
Yes, it is because invisible is not notified with activeUsers ddp subscription... 😢
Another ddp subscription seems to be required, but I couldn't find it...

In the websocket connection I see:
{
   "msg": "changed",
   "collection": "users",
   "id": "gHwBwDomPrCoQj7i2",
   "fields": {
      "status": "offline"
   }
}

activeUsers subscription notify only statuses except for offline
Meteor.publish 'activeUsers', ->
	unless this.userId
		return this.ready()

	RocketChat.models.Users.findUsersNotOffline
		fields:
			username: 1
			status: 1
			utcOffset: 1

So another subscription seems to be required for observing offline status...

userData subscription does!
< {"msg":"changed","collection":"users","id":"wffqrSXNojgMnuz8v","fields":{"statusDefault":"offline"}}
< {"msg":"changed","collection":"users","id":"wffqrSXNojgMnuz8v","fields":{"status":"offline"}}


Farmer Colonist can't plant berries

The farmer colonist does not seem to recognize how to plant berries.
Versions:

Minecolonies v1.0.1001-alpha
https://www.curseforge.com/minecraft/mc-mods/minecolonies/files/3970866

The link has the required dependencies listed.

Steps:

Place a town hall block: https://wiki.minecolonies.ldtteam.com/source/buildings/townhall
a. Follow instructions until "Creating your Colony" is finished.
Obtain a farmer's hut & place using the build tool: https://wiki.minecolonies.ldtteam.com/source/buildings/farm
a. Right-click the build tool on the ground
b. Choose the "medievalspruce" style, it contains a field

c. Click on the button circled in red to instantly paste the building into the world

d. The building should automatically "hire" a colonist
Right-click the scarecrow

Place a berry into the gui slot
Give a stack of berries & a stone hoe to the colonist
Wait to see if he/she plants any
If wheat seeds are placed in the scarecrow, the farmer usually starts planting right away.

this should be fixed now in pokecube 3.17.10+


WIP: Adding coverage tool

So coverage is in the output now, but need to figure out how I can actually test the right files:
=============================== Coverage summary ===============================
Statements   : 100% ( 0/0 )
Branches     : 100% ( 0/0 )
Functions    : 100% ( 0/0 )
Lines        : 100% ( 0/0 )
===============================================================================

Got this working -- needed to add coverage instrumentation to the webpack test build:
=============================== Coverage summary ===============================
Statements   : 94.51% ( 310/328 ), 1 ignored
Branches     : 94.44% ( 119/126 ), 7 ignored
Functions    : 88.98% ( 105/118 )
Lines        : 92.83% ( 220/237 )
================================================================================
```

I've never worked with a JS code coverage tool before so I'm not sure what to make out the output, but it's a start!

Awesome! Also my first time working with this coverage tool, curious if we can use this information in a way it helps us improving the overall code coverage.


a few thousand more Facebooks

facebooks.txt
Every day Cisco Umbrella/OpenDNS releases the top 1 million DNS queries they receive.  Shuffling through the list finds a big chunk of additional subdomains based on real-world traffic.
http://s3-us-west-1.amazonaws.com/umbrella-static/index.html

This is good.  I was gonna suggest portal.facebook.com and sure enough it's up there.

Take a look at the updated Facebook lists and please send a Pull Request with any additional domains we're missing. Thanks.


UI: Update NavBar

What this PR does / why we need it:
To standardize the navigation bar across MLP products, I update Turing's NavBar by using the latest @gojek/mlp-ui and updating the source code.

Hi @romanwozniak, bumping up this PR again. Sorry for the long overdue update from our side 🙏🏻


Feature: Include Git Repo name and current branch in Folder's Details pane

What feature or improvement do you think would benefit Files?
Can we display basic git info on the Details page?  Repo name, and current branch?
Of course any more detailed Git info would need to be in its own tab/page.
I think if the Status Bar Buttons are being collapsed or truncated, the details pane may be a useful place to have the branch name visible
the full git tab, will be quite busy, and it seems like a top level enough "detail" to display.
This should probably also be displayed in the Properties Dialog also.

Requirements

This proposal will ensure git repo folders are recognisable on the main details page.

Files Version
2.5.10
Windows Version
22621.1928
Comments
No response

@mdtauk what are you referring as the repository name? As far as I know, repositories do not have name, or rather it's a very fusy concept. (see this stack overflow post)
Maybe you're thinking about the origin name used to identify the repository? (For example, Files for https://github.com/files-community/Files, or Website for https://github.com/files-community/Website)

@mdtauk what are you referring as the repository name? As far as I know, repositories do not have name, or rather it's a very fusy concept. (see this stack overflow post)
Maybe you're thinking about the origin name used to identify the repository? (For example, Files for https://github.com/files-community/Files, or Website for https://github.com/files-community/Website)

What is displayed here, I am not sure of the official API term for this string, but this text, and the current branch name

Instead of the name, I'd suggest displaying the remote origin. Instead of Files, something like github.com/QuaintMako/Files.git - As a developper, I think it's gives more valuable information then solely the name.
About the branch, should we just display the name? Should we also display if the its synchronized to another branch on the remote origin if there is an origin?

Instead of the name, I'd suggest displaying the remote origin. Instead of Files, something like github.com/QuaintMako/Files.git - As a developper, I think it's gives more valuable information then solely the name.
About the branch, should we just display the name? Should we also display if the its synchronized to another branch on the remote origin if there is an origin?

I think this information is a bit technical for the details pane, but is more suited to the upcoming Git specific pane.
#12440

I think this information is a bit technical for the details pane, but is more suited to the upcoming Git specific pane. #12440

I did not know of that pane, in that case, the name is enough!

I think this information is a bit technical for the details pane, but is more suited to the upcoming Git specific pane. #12440

I did not know of that pane, in that case, the name is enough!

Something we are working on the design for, please feel free to submit ideas and comment in that issue!

@QuaintMako @mdtauk Since the implementation of this new feature, I no longer have access to the overview of Git folders

I will look into this regression as soon as I can.

@Lukiluc29 I cannot seem to reproduce this regression. I tried switching my language to French to see if this might be linked to this, but it doesn't seem to be linked.
Does the issue happen everytime? Do you have a log for it?
Since we might have to discuss about the issue, I'd suggest you open an issue about it.

@QuaintMako It's ok, I just opened a report on this problem


Trying to finally set up Travis.

It is wrong for Schematron/schematron to know which tests are in Schematron/schematron-test, but this is a start.
Schematron/schematron should have (at least) a shell script that this .travis.yml can run so that it doesn't need to know about the exact tests.  Schematron/schematron-test should have its own .travis.yml that checks out a known version of Schematron/schematron and runs the same shell script against that.


fix notification bomb issue

This pull request fixes issue #2.
Implementation
It is implemented by remembering when the client started. All messages are then compared to the startup time to ensure all old notifications are silenced.
Modified Behavior
Only messages sent while the client is running will display notifications.
 Based on Sprig's commit history, this appears to be a common occurrence so I am not reverting the format changes unless there is a major problem.

@whereswaldon I applied the suggestion.


Obtain 6 digit passkey

What would  be the best way to find the 6 digit passkey for the bike?

Assuming you've connected your phone to your bike, go to your phone's bluetooth settings, disconnect (unpair) the cowboy bike. Then open the cowboy app again and it will give you the digits you're supposed to enter.

@NespaLa let me know if that works and we can close this issue.

In the advanced screen of the official app I see a
mac address
serialnumber
but also a 6 digit connection code, so I suppose that is the mystery number
needed!
Thank you!
On Mon, Oct 16, 2023 at 4:43 PM Jouke Waleson @.***>
wrote:

@NespaLa https://github.com/NespaLa let me know if that works and we
can close this issue.
—
Reply to this email directly, view it on GitHub
https://github.com/jtwaleson/cowboy-bike-remote-ble/issues/1#issuecomment-1764637400,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BCGH4XJFSOQDUVD4CJDDMPLX7VB2HAVCNFSM6AAAAAA6BA5GYCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRUGYZTONBQGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Ok, great!


Support new transform for converting PIL images into other mappings (RGBA for example)

🚀 Feature
When reading in data from a folder and using the ImageFolder class (for example), I'm requesting that an additional transform method be available for converting between color channel mappings. Namely, something of the form:
transforms.Convert('RGBA') - similar to what the PIL Image object uses to convert.
Motivation
As found in the pil_loader function of folder.py, each image is read in as a PIL Image object and instantly converted into an RGB image. This is sub-optimal for my project since all of my images are in the RGBA format. Thus, having the option to transform each Image object would be extremely useful.

Can't you slightly modify pil_loader to fit your needs?
from PIL import Image
from torchvision import datasets

def custom_pil_loader(path):
    with open(path, "rb") as f:
        img = Image.open(f)
        return img.convert("RGBA")

dataset = datasets.ImageFolder("/path/to/image/folder", loader=custom_pil_loader)

That being said, I'm fine with adding a mode="RGB" parameter to pil_loader:
from PIL import Image
from torchvision import datasets

def pil_loader(path, mode="RGB"):
    with open(path, "rb") as f:
        img = Image.open(f)
        return img.convert(mode)

dataset = datasets.ImageFolder(
    "/path/to/image/folder", loader=lambda path: pil_loader(path, mode="RGBA")
)

@fmassa ?

I did make this change for my project, but I assume I won't be the only one in the future who might want to read in images with an alpha channel.
With the mode="RGB" change implemented, would I still be able to configure this without needing to directly modify any of pytorch's library source code? My project may be distributed and for those that download all dependencies, I'd rather not need to instruct them to directly modify any library code.

@KoreanJ
My second snippet in the above comment showcases that. If implemented how I imagined it, your call to datasets.ImageFolder would look like this in your project:
from torchvision import datasets
from torchvision.datasets.folder import pil_loader

dataset = datasets.ImageFolder(
    "/path/to/image/folder", loader=lambda path: pil_loader(path, mode="RGBA")
)

Closing following @pmeier comment.


Check if Git is installed and configured

Error on trying to download any Flutter release: Internal Error: Could not install Beta
I tried to reset Sidekick settings as well

Path to Git.exe have to be set to solve it.
Could be nice to add notification about.

Going to take a stab at this


1.12.62 psql fix

Invalid QUIT line at the end of the file removed.

Merged https://github.com/quattor/aquilon/commit/f764c9d231dc01b64b119e58f74c21b47ab88194


Keyboard Dismissal Leaves Viewport Shifted in iOS 12 / XCode 10

I think it's a bug in ionic plugin (without the cordova-plugin-ionic-keyboard installed):
https://github.com/apache/cordova-ios/issues/417

I have find why, in:
https://github.com/ionic-team/cordova-plugin-ionic-webview/blob/master/src/ios/CDVWKWebViewEngine.m
change line 38, 308 with
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 110000 && __IPHONE_OS_VERSION_MAX_ALLOWED < 120000
it's a bug in iOS 11 not in iOS 12, so running with iOS 12 the webview is not scrolled back to original position when keyboard is dismissed, line 79 and 310.

If you want to check also iPad (and this why on iPad was working with iOS 12 and mybe not working with iOS 11)
#if (__IPHONE_OS_VERSION_MAX_ALLOWED >= 110000 && __IPHONE_OS_VERSION_MAX_ALLOWED < 120000) || (__IPAD_OS_VERSION_MAX_ALLOWED >= 110000 && __IPAD_OS_VERSION_MAX_ALLOWED < 120000)

Thanks so much @Stefano1964! I just discovered this pretty catastrophic bug today! I second your merge proposal 👍

please create a PR

The fix breaks the display in iPhone X and later models (XR, XS, and XS Max) for those that are using Ionic, where the extra spacing initially complained about when the keyboard disappears now becomes an issue as soon as the app is opened.  The fix is an easy CSS change, at least for Ionic v1 apps:
.view, .view-container { height: calc(100% + env(safe-area-inset-top) + env(save-area-inset-bottom); }
At least it's now obvious where the extra spacing is coming from.

I am also witnessing the initial offset that the referenced patch creates in iPhoneX variants and can verify that @revie 's CSS tweak (applied to html element in our case) remedies that. However I'm not seeing the displacement fix actually work. Seems to have no effect on our app, leaving the viewport permanently offset after keyboard dismissal.

Hi, I tried multiple things to get this fixed, including the CDVWKWebViewEngine.m thing above and tweaking options to the cordova-plugin-ionic-keyboard among other things. Finally, the only thing that helped was to download XCode 9.4, add iOS 12 device profiles and build using that version. According to initial testing, this seems to work on iOS 12 devices also on iPhone X.

Changing CDVWKWebViewEngine.m worked for me except now the entire window height was off as mentioned above. The css for .view did not help, instead I did html { height: 100vh; } to solve the issue. BUT now platform.height() responds with the original height (which is of course incorrect)... It seems my hacky fix has just led to more issues. This is a pretty critical bug imo.. anyone else experiencing this or have a fix?

Could use some testing on the above PR (#201) ^
/cc @mobidev111 @jcesarmobile @NG-tylerholden @jkervine

 if #available(iOS 11.0, *) {
             self.webView.scrollView.contentInsetAdjustmentBehavior = .never
 } else {
            self.automaticallyAdjustsScrollViewInsets = false
 }

And UIScrollViewDelegate
 func scrollViewDidChangeAdjustedContentInset(_ scrollView: UIScrollView) {
       Logger.print("scrollViewDidChangeAdjustedContentInset")
         if #available(iOS 12.0, *) {
           for view in webView.subviews {
                if let scrollView = view as? UIScrollView {
                   scrollView.setContentOffset(.zero, animated: true)
                 }
             }
        }
}

Worked

I solve this bug with these command lines on app.components.ts:
let html = document.getElementsByTagName("html")[0];     window.addEventListener('native.keyboardshow', (e) => {       console.log("show2");       html.style.height = "auto";     });     window.addEventListener('native.keyboardhide', () => {       console.log("hide2");       html.style.height = "101vh";     });

This did work for me.
ViewController.h
@property (nonatomic) CGPoint lastContentOffset;
ViewController.m
- (void)viewDidLoad {
        [[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(onKeyboardWillHide:) name:UIKeyboardWillHideNotification object:nil];
        [[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(onKeyboardWillShow:) name:UIKeyboardWillShowNotification object:nil];
}

- (void)onKeyboardWillShow:(NSNotification *)notification {
    self.lastContentOffset = self.webView.scrollView.contentOffset;
}

- (void)onKeyboardWillHide:(NSNotification *)notification {
    if (!CGPointEqualToPoint(self.lastContentOffset, self.webView.scrollView.contentOffset)) {
        [self.webView.scrollView setContentOffset:self.lastContentOffset];
        [self.webView.scrollView setContentInset:UIEdgeInsetsMake(0, 0, 0, 0)];
    }
     if (!CGPointEqualToPoint(self.lastContentOffset, self.webView.scrollView.contentOffset)) {
        [self.webView.scrollView setContentOffset:self.lastContentOffset];
        [self.webView.scrollView setContentInset:UIEdgeInsetsMake(0, 0, 0, 0)];
    }
}

I implemented these changed in my MainViewController inside Classes of the cordova project folder but it did not work. The issue remains.

This did work for me.
ViewController.h
@property (nonatomic) CGPoint lastContentOffset;
ViewController.m
- (void)viewDidLoad {
        [[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(onKeyboardWillHide:) name:UIKeyboardWillHideNotification object:nil];
        [[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(onKeyboardWillShow:) name:UIKeyboardWillShowNotification object:nil];
}

- (void)onKeyboardWillShow:(NSNotification *)notification {
    self.lastContentOffset = self.webView.scrollView.contentOffset;
}

- (void)onKeyboardWillHide:(NSNotification *)notification {
    if (!CGPointEqualToPoint(self.lastContentOffset, self.webView.scrollView.contentOffset)) {
        [self.webView.scrollView setContentOffset:self.lastContentOffset];
        [self.webView.scrollView setContentInset:UIEdgeInsetsMake(0, 0, 0, 0)];
    }
     if (!CGPointEqualToPoint(self.lastContentOffset, self.webView.scrollView.contentOffset)) {
        [self.webView.scrollView setContentOffset:self.lastContentOffset];
        [self.webView.scrollView setContentInset:UIEdgeInsetsMake(0, 0, 0, 0)];
    }
}

Which ViewController.h and .m are you referring to? I dont see such files inside my cordova project folder. Also, just changing the keyboardwillhide and keyboardwillshow methods in CDVWKWebviewEngine inside the ionic-wk-webview-plugin files did fix the problem for ios13 but causes the viewport to have a bounce effect on ios 12 when shifting focus between text fields.


Let DnsNameResolver constructor use a default value for searchDomains

Motivation:
It’s currently complicated to extend DnsNameResolver as the default
value for searchDomain is package private.
Modifications:

let DnsNameResolver accept a null searchDomains and then default
to DEFAULT_SEARCH_DOMAINS, just like it’s being done with
resolvedAddressTypes.
set default DnsNameResolverBuilder#searchDomains value to null to
avoid cloning internal DnsNameResolver.DEFAULT_SEARCH_DOMAINS in
DnsNameResolver constructor.

Result:
More versatile DnsNameResolver constructor.
No array copy when using default search domains.

@slandelle LGTM in general but can you just update the javadoc and mention that null is allowed and the default will be used in this case: https://github.com/slandelle/netty/blob/21e003cd98547d694b36e11ca616b089bf8de9a0/resolver-dns/src/main/java/io/netty/resolver/dns/DnsNameResolver.java#L197

@normanmaurer done

@slandelle thanks a lot....
Cherry-picked into 4.1 (ca5ed7c114120e6d45522be0bb231fedae065cf3)

Thanks for merging!


Added Project named Who Pays The Bill

I have created a new project wherein a user adds different users who have to pay the bill into the home web page, and then after selecting next, into the new web page, a user is selected from the list of user where that user has to pay the bill. Even it can be asked to generate new user or also go back.

The committed file is in submodule form. All files inside your project folder must be visible. Try to fix it.


show build duration on Dashboard -> Latest Builds

if a build is not pending then its duration will be displayed next to last updated time, with time units: 1h 28m 52s

Travis failed on HttpClientTest, strange.

It is normal) HttpClientTest has external URLs calls. Thank you for the request! :+1:

Awesome! I'll submit another PR for incorrect path to font-awesome.min.css


mat-form-design floatLabel does not work - trying to prevent floatLabel

Bug, feature request, or proposal:
In html,
mat-form-field [floatLabel]="options.floatLabel" does not work
mat-form-field floatLabel="false" works to a degree. The label still floats.
In ts file, options is declared as follow
export class CrcSupportDocumentsComponent implements OnInit {
options = {
floatLabel: false
};
What is the expected behavior?
Expect floatLabel to be disabled.
What is the current behavior?
My input label is still floating when I used [floatLabel]
What are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV
What is the use-case or motivation for changing an existing behavior?
In my use case, not floating the label is a better user experience. It is not changing the existing behaviour but is this a defect in my angular-material?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular CLI: 1.6.4
Node: 8.9.4
OS: win32 x64
Angular: 5.2.9
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
@angular/cdk: 5.2.4
@angular/cli: 1.6.4
@angular/material: 5.2.4
@angular-devkit/build-optimizer: 0.0.42
@angular-devkit/core: 0.0.29
@angular-devkit/schematics: 0.0.52
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.9.4
@schematics/angular: 0.1.17
typescript: 2.5.3
webpack: 3.10.0
@angular/material:5.2.4 // is this too old?
Is there anything else we should know?
Funny enough, the example works
https://stackblitz.com/angular/amdxobqpjev?file=app%2Fform-field-label-example.html
Maybe it is my version?

Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc.


Kong 1.4 Changes

Needed changes for Kong 1.4 upgrade to get the benefits of proper HTTP Method being set on L4 failures. No breaking changes involved here so its technically safe already but we will do it with the 1.4 upgrade I suppose.

This is fine and backwards compatible so merging.


Fixes issue #8032

Unit test added -> allows at least to reproduce the bug within the original project
updated -> PhpManager::updateItem()
composer.lock optionnaly added into the root .gitignore file

Merged with some adjustments: https://github.com/yiisoft/yii2/commit/82033125c402a43cc17a77e9520054c8e42ad553
Thanks for the fix and especially for test verifying it.

The change is incorrect - now you can't update the item whose name is not changed.


Plugin health check failed on create datasource

What happened:
We cannot create datasource, after click "Save & Test" get error "Plugin health check failed"
What you expected to happen:
Datasource created
How to reproduce it (as minimally and precisely as possible):
Grafana helm values:
plugins:
  - grafana-clickhouse-datasource
  # - https://grafana.com/api/plugins/grafana-clickhouse-datasource/versions/4.0.0-beta/download;grafana-clickhouse-datasource

grafana.ini:
  paths:
    data: /var/lib/grafana/
    logs: /var/log/grafana
    plugins: /var/lib/grafana/plugins
    provisioning: /etc/grafana/provisioning
  log:
    mode: console
  dataproxy:
    timeout: 6000
    keep_alive_seconds: 300

Connect creds:
github.demo.trial.altinity.cloud:8443
demo:demo

We also used our creds ... the same error
Screenshots

Environment:

Grafana version: Grafana v10.3.1 (00a22ff8b2)
Plugin version: stable & 4.0.0-beta
OS Grafana is installed on: -
User OS & Browser: firefox / chrome

Hello! Thank you for submitting a detailed issue, I was able to easily reproduce this.
It's unfortunate that the UI error isn't as detailed, this is something I want to change in a future update. However, it does appear the underlying error gets returned to the browser in the network log. I also verified this to be the error in the plugin logs:
health check failed:
rpc error: code = Unknown desc = clickhouse
[execute]:: 500 code: Code: 452.
DB::Exception: Setting max_execution_time should not be changed. (SETTING_CONSTRAINT_VIOLATION)
(version <IP_ADDRESS> (official build))

It appears the query timeout is being set to a number that violates the setting constraint. Setting the "query timeout" to 0 seems to fix it. I was also able to get it to work by setting it to 1 (I assume the demo server wants to prevent queries that run longer than 1 second)

Let me know if this fixes your issue. I'll make note about enhancing the error feedback. Thanks!

Yep, this setting fixes the error.

Hello! Thank you for submitting a detailed issue, I was able to easily reproduce this.
It's unfortunate that the UI error isn't as detailed, this is something I want to change in a future update. However, it does appear the underlying error gets returned to the browser in the network log. I also verified this to be the error in the plugin logs:
health check failed:
rpc error: code = Unknown desc = clickhouse
[execute]:: 500 code: Code: 452.
DB::Exception: Setting max_execution_time should not be changed. (SETTING_CONSTRAINT_VIOLATION)
(version <IP_ADDRESS> (official build))

It appears the query timeout is being set to a number that violates the setting constraint. Setting the "query timeout" to 0 seems to fix it. I was also able to get it to work by setting it to 1 (I assume the demo server wants to prevent queries that run longer than 1 second)

Let me know if this fixes your issue. I'll make note about enhancing the error feedback. Thanks!

Same issue here, and this setting resolved the error.

I have a same problem, I am unable to locate where is the query timeout settings in grafana,
please advice.


Old client support

Hi,
I'm curious about the combination of tRPC and native apps. What is the recommended strategy for making sure previous client releases don't break when making changes to tRPC procedures?
It would be nice to be able to catch in dev or CI that a tRPC change "breaks" the type contract of an earlier release, maybe through some kind of contract snapshot generation that could be stored in the repo.
Apologies in advance if this already exists or somehow isn't necessary.

If uii oh I just modify a procedure you should be able to send out an instant update with Expo code push and not have to worry about old clients
https://blog.expo.dev/eas-update-is-now-generally-available-6532d25e750

Interesting. Thanks!


improve build.sh: add option processing to forward CMake options, job nums and unittest build switch

allow CMake options like -DENABLE_ASAN=ON, -DDISABLE_JEMALLOC=ON
allow specifying build job numbers, like -j100 for a device with lots of CPU cores : )
--unittest to enable building unittest binary

Thanks @PragmaTwice


DatabaseIntegrityCheck script on msdb failing - dbcc checkdb does not

Description of the issue
DatabaseIntegrityCheck script outcome failed for msdb database and some user databases when @ExtendedLogicalChecks = 'Y'. DBCC CHECKDB ([msdb]) WITH NO_INFOMSGS, ALL_ERRORMSGS, EXTENDED_LOGICAL_CHECKS succeeds.
SQL Server version and edition
Microsoft SQL Server 2019 (RTM-CU14) (KB5007182) - 15.0.4188.2 (X64)   Nov  3 2021 19:19:51   Copyright (C) 2019 Microsoft Corporation  Enterprise Edition: Core-based Licensing (64-bit) on Windows Server 2016 Standard 10.0  (Build 14393: ) (Hypervisor)
Microsoft SQL Server 2019 (RTM-CU11) (KB5003249) - 15.0.4138.2 (X64)   May 27 2021 17:34:14   Copyright (C) 2019 Microsoft Corporation  Enterprise Edition: Core-based Licensing (64-bit) on Windows Server 2019 Standard 10.0  (Build 17763: ) (Hypervisor)
Version of the script
Version: 2020-12-31 18:58:56
What command are you executing?
EXECUTE [dbo].[DatabaseIntegrityCheck]
@Databases = 'SYSTEM_DATABASES',
@CheckCommands = 'CHECKDB',
@ExtendedLogicalChecks = 'Y',
@LogToTable = 'Y'
What output are you getting?
Date and time: 2021-12-20 09:59:44
Server: SERVER_NAME
Version: 15.0.4188.2
Edition: Enterprise Edition: Core-based Licensing (64-bit)
Platform: Windows
Procedure: [DBATools].[dbo].[DatabaseIntegrityCheck]
Parameters: @Databases = 'SYSTEM_DATABASES', @CheckCommands = 'CHECKDB', @PhysicalOnly = 'N', @DataPurity = 'N', @NoIndex = 'N', @ExtendedLogicalChecks = 'Y', @TabLock = 'N', @FileGroups = NULL, @Objects = NULL, @MaxDOP = NULL, @AvailabilityGroups = NULL, @AvailabilityGroupReplicas = 'ALL', @Updateability = 'ALL', @TimeLimit = NULL, @LockTimeout = NULL, @LockMessageSeverity = 16, @StringDelimiter = ',', @DatabaseOrder = NULL, @DatabasesInParallel = 'N', @LogToTable = 'Y', @Execute = 'Y'
Version: 2020-12-31 18:58:56
Source: https://ola.hallengren.com
Date and time: 2021-12-20 09:59:44
Database: [master]
State: ONLINE
Standby: No
Updateability: READ_WRITE
User access: MULTI_USER
Recovery model: SIMPLE
Is accessible: Yes
Date and time: 2021-12-20 09:59:44
Database context: [master]
Command: DBCC CHECKDB ([master]) WITH NO_INFOMSGS, ALL_ERRORMSGS, EXTENDED_LOGICAL_CHECKS
Outcome: Succeeded
Duration: 00:00:01
Date and time: 2021-12-20 09:59:45
Date and time: 2021-12-20 09:59:45
Database: [model]
State: ONLINE
Standby: No
Updateability: READ_WRITE
User access: MULTI_USER
Recovery model: FULL
Is accessible: Yes
Date and time: 2021-12-20 09:59:45
Database context: [master]
Command: DBCC CHECKDB ([model]) WITH NO_INFOMSGS, ALL_ERRORMSGS, EXTENDED_LOGICAL_CHECKS
Outcome: Succeeded
Duration: 00:00:01
Date and time: 2021-12-20 09:59:46
Date and time: 2021-12-20 09:59:46
Database: [msdb]
State: ONLINE
Standby: No
Updateability: READ_WRITE
User access: MULTI_USER
Recovery model: SIMPLE
Is accessible: Yes
Date and time: 2021-12-20 09:59:46
Database context: [master]
Command: DBCC CHECKDB ([msdb]) WITH NO_INFOMSGS, ALL_ERRORMSGS, EXTENDED_LOGICAL_CHECKS
Outcome: Failed
Duration: 00:00:04
Date and time: 2021-12-20 09:59:50
Date and time: 2021-12-20 09:59:50
Completion time: 2021-12-20T09:59:50.9454773-06:00

This issue should have been fixed by VSTS bug 14173307https://support.microsoft.com/en-us/topic/kb5005679-cumulative-update-13-for-sql-server-2019-5c1be850-460a-4be4-a569-fe11f0adc535#bkmk_14173307 in SQL Server 2019 CU13 [https://support.microsoft.com/en-us/topic/kb5005679-cumulative-update-13-for-sql-server-2019-5c1be850-460a-4be4-a569-fe11f0adc535]

From: e11ameno @.>
Sent: Monday, December 20, 2021 4:01:33 PM
To: olahallengren/sql-server-maintenance-solution @.>
Cc: Subscribed @.***>
Subject: [olahallengren/sql-server-maintenance-solution] DatabaseIntegrityCheck script on msdb failing - dbcc checkdb does not (Issue #604)
Description of the issue
DatabaseIntegrityCheck script outcome failed for msdb database and some user databases when @ExtendedLogicalChecks = 'Y'. DBCC CHECKDB ([msdb]) WITH NO_INFOMSGS, ALL_ERRORMSGS, EXTENDED_LOGICAL_CHECKS succeeds.
SQL Server version and edition
Microsoft SQL Server 2019 (RTM-CU14) (KB5007182) - 15.0.4188.2 (X64) Nov 3 2021 19:19:51 Copyright (C) 2019 Microsoft Corporation Enterprise Edition: Core-based Licensing (64-bit) on Windows Server 2016 Standard 10.0 (Build 14393: ) (Hypervisor)
Microsoft SQL Server 2019 (RTM-CU11) (KB5003249) - 15.0.4138.2 (X64) May 27 2021 17:34:14 Copyright (C) 2019 Microsoft Corporation Enterprise Edition: Core-based Licensing (64-bit) on Windows Server 2019 Standard 10.0 (Build 17763: ) (Hypervisor)
Version of the script
Version: 2020-12-31 18:58:56
What command are you executing?
EXECUTE [dbo].[DatabaseIntegrityCheck]
@databaseshttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdatabases&data=04|01||8d1dbf001ba44179ea5308d9c3d1fee7|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637756128952090027|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=3SKSqi4eWXJzdWSaGNvKS56UExg%2BiLlTY%2B11IN39jqQ%3D&reserved=0 = 'SYSTEM_DATABASES',
@CheckCommands = 'CHECKDB',
@ExtendedLogicalChecks = 'Y',
@LogToTable = 'Y'
What output are you getting?
Date and time: 2021-12-20 09:59:44
Server: SERVER_NAME
Version: 15.0.4188.2
Edition: Enterprise Edition: Core-based Licensing (64-bit)
Platform: Windows
Procedure: [DBATools].[dbo].[DatabaseIntegrityCheck]
Parameters: @databaseshttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdatabases&data=04|01||8d1dbf001ba44179ea5308d9c3d1fee7|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637756128952090027|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=3SKSqi4eWXJzdWSaGNvKS56UExg%2BiLlTY%2B11IN39jqQ%3D&reserved=0 = 'SYSTEM_DATABASES', @CheckCommands = 'CHECKDB', @PhysicalOnly = 'N', @DataPurity = 'N', @NoIndexhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FNoIndex&data=04|01||8d1dbf001ba44179ea5308d9c3d1fee7|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637756128952090027|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=JeUgcBWFJkip%2BNlJFlcqBdL7VkUBMCnNfbwC%2B0XqCu4%3D&reserved=0 = 'N', @ExtendedLogicalChecks = 'Y', @tablockhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftablock&data=04|01||8d1dbf001ba44179ea5308d9c3d1fee7|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637756128952246266|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=52OYrD04frtVqt3JjOsUwE0gUyujwfBB8ubclUOvrbk%3D&reserved=0 = 'N', @FileGroups = NULL, @objectshttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fobjects&data=04|01||8d1dbf001ba44179ea5308d9c3d1fee7|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637756128952246266|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=IjI2i0M047TFakJVH1aKKNSYUZF4AWxGBCl226Pj93Q%3D&reserved=0 = NULL, @MaxDOP = NULL, @AvailabilityGroups = NULL, @AvailabilityGroupReplicas = 'ALL', @Updateability = 'ALL', @Timelimithttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FTimelimit&data=04|01||8d1dbf001ba44179ea5308d9c3d1fee7|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637756128952246266|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=5yoVD53pYT5CE9iMt%2BUQx8smeNZpEf%2Fq9acc937MAhQ%3D&reserved=0 = NULL, @LockTimeout = NULL, @LockMessageSeverity = 16, @StringDelimiter = ',', @DatabaseOrder = NULL, @DatabasesInParallel = 'N', @LogToTable = 'Y', @executehttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fexecute&data=04|01||8d1dbf001ba44179ea5308d9c3d1fee7|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637756128952246266|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=d%2FkxQtiyBP%2FW7Q%2BvumWXx4HG5oXrrtt9uhPeC%2BHGYNg%3D&reserved=0 = 'Y'
Version: 2020-12-31 18:58:56
Source: https://ola.hallengren.comhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fola.hallengren.com%2F&data=04|01||8d1dbf001ba44179ea5308d9c3d1fee7|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637756128952246266|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=okYlXXRX5c263gqvcUnTc7T8vYLL6hXzXUJPEr4xcVo%3D&reserved=0
Date and time: 2021-12-20 09:59:44
Database: [master]
State: ONLINE
Standby: No
Updateability: READ_WRITE
User access: MULTI_USER
Recovery model: SIMPLE
Is accessible: Yes
Date and time: 2021-12-20 09:59:44
Database context: [master]
Command: DBCC CHECKDB ([master]) WITH NO_INFOMSGS, ALL_ERRORMSGS, EXTENDED_LOGICAL_CHECKS
Outcome: Succeeded
Duration: 00:00:01
Date and time: 2021-12-20 09:59:45
Date and time: 2021-12-20 09:59:45
Database: [model]
State: ONLINE
Standby: No
Updateability: READ_WRITE
User access: MULTI_USER
Recovery model: FULL
Is accessible: Yes
Date and time: 2021-12-20 09:59:45
Database context: [master]
Command: DBCC CHECKDB ([model]) WITH NO_INFOMSGS, ALL_ERRORMSGS, EXTENDED_LOGICAL_CHECKS
Outcome: Succeeded
Duration: 00:00:01
Date and time: 2021-12-20 09:59:46
Date and time: 2021-12-20 09:59:46
Database: [msdb]
State: ONLINE
Standby: No
Updateability: READ_WRITE
User access: MULTI_USER
Recovery model: SIMPLE
Is accessible: Yes
Date and time: 2021-12-20 09:59:46
Database context: [master]
Command: DBCC CHECKDB ([msdb]) WITH NO_INFOMSGS, ALL_ERRORMSGS, EXTENDED_LOGICAL_CHECKS
Outcome: Failed
Duration: 00:00:04
Date and time: 2021-12-20 09:59:50
Date and time: 2021-12-20 09:59:50
Completion time: 2021-12-20T09:59:50.9454773-06:00
—
Reply to this email directly, view it on GitHubhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Folahallengren%2Fsql-server-maintenance-solution%2Fissues%2F604&data=04|01||8d1dbf001ba44179ea5308d9c3d1fee7|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637756128952246266|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=BPMY8dZnFoCUucjmoxn8jb7L3iTdc9ObFKE3NK%2FTo%2FY%3D&reserved=0, or unsubscribehttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAE3Y4CQEZ2VA2NORBKSPVI3UR5HN3ANCNFSM5KOBOVHA&data=04|01||8d1dbf001ba44179ea5308d9c3d1fee7|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637756128952246266|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=EjqFYXyTQ0mibpE31Ijz271x3bOf8l0Ge%2B0AMpWgpXs%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01||8d1dbf001ba44179ea5308d9c3d1fee7|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637756128952246266|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=WgNR%2F4k5HRE579kTMO7g559a0p43364QYv3GeljGY6I%3D&reserved=0 or Androidhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01||8d1dbf001ba44179ea5308d9c3d1fee7|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637756128952246266|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=byS6Ni5uiLGfXjQ3KE6HnnhcAm4bjz4asFCMKku8vPM%3D&reserved=0.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

VSTS 14173307 - "When statistics are corrupted, a very generic message may be generated without information about the statistics corruption. Additionally, CHECKDB may not report corrupted statistics. This improvement can detect corrupted statistics by using extended_logical_checks as part of DBCC CHECKDB"
It sounds like they have added addition corruption detection. So I should get a failed message when I run the stored procedure and DBCC CHECKDB WITH EXTENDED_LOGICAL_CHECKS. But I do not.
The issue I have found is that when running the DatabaseIntegrityCheck stored procedure, I get a "failed" message.
EXECUTE [dbo].[DatabaseIntegrityCheck]
@databases = 'SYSTEM_DATABASES',
@CheckCommands = 'CHECKDB',
@ExtendedLogicalChecks = 'Y',
@LogToTable = 'Y'
When running the CHECKDB command directly, everything succeeds: DBCC CHECKDB ([msdb]) WITH NO_INFOMSGS, ALL_ERRORMSGS, EXTENDED_LOGICAL_CHECKS
They are supposed to be running the same commands.  Also, one of the servers I have this issue on has CU14 installed.

Do you have a server where you can reproduce this issue consistently?

Yes I do.

It looks like I can repro in Microsoft SQL Server 2019 (RTM-CU14) (KB5007182) - 15.0.4188.2 server.
The method of execution of the CHECKDB impacts the outcome. If you just run the DBCC CHECKDB ([msdb]) WITH NO_INFOMSGS, ALL_ERRORMSGS, EXTENDED_LOGICAL_CHECKS in SSMS then there are no issues, but if you run it like the below then it generates an error:
DECLARE @SQL nvarchar(MAX)
	,@RetVal int;

SET @SQL = 'DBCC CHECKDB ([msdb]) WITH NO_INFOMSGS, ALL_ERRORMSGS, EXTENDED_LOGICAL_CHECKS;'
EXEC @RetVal = sp_executesql @SQL;

IF @RetVal <> 0
	PRINT 'Database [msdb] failed to CheckDB with return value of ' + CAST(@RetVal AS varchar(20)) + '.';
GO

The result is:
Database [msdb] failed to CheckDB with return value of 2706.
The error 2706 is Table '%.*ls' does not exist.
@e11ameno - if you raise a support case with Microsoft this can be investigated.

Thank you @pbarryuk. This is very good to know.
@e11ameno, would it be possible for you to open a support case?

I am able to reproduce the issue now. I will open a support case.

@e11ameno What did MS say? I'm having this same issue with serveral 13.0.6300.2 servers.

When I got to the part of the support ticket where they required I buy a support plan, I closed out. I'm not going to pay them to tell them about their bug.

We have this issue on our SQL Server 2017 servers, but not the older SQL Server 2012 ones. There appears to be no difference in the output between running the command (except you don't get to see the return code) and running it with the sp_executesql SP where you can get the return code. Opened MS support case #2204020030000528.

Based on responses in the MS case:

There is a workaround to enable Trace Flag 2452 that will skip the check for corrupt statistics as part of the DBCC CHECKDB WITH EXTENDED_LOGICAL_CHECKS.
A fix is estimated to be released in SQL Server 2017 Cumulative Update 30 (CU30), although this is subject to change as development progresses.

The fix has been released for SQL Server 2017 in CU30 - https://support.microsoft.com/en-us/topic/kb5013756-cumulative-update-30-for-sql-server-2017-274943fa-8dde-4844-90ed-d3b587fa0c7c#bkmk_14673411

This has now also been fixed in SQL Server 2019 - https://support.microsoft.com/en-us/topic/kb5016394-cumulative-update-17-for-sql-server-2019-3033f654-b09d-41aa-8e49-e9d0c353c5f7#bkmk_14673410

Thank you, @pbarryuk.


Some additional content would be helpful

It would be helpful if there was a list of steps to completely remove a connection from the Visual Studio IDE

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

ID: a12963af-3340-7a74-569e-47bd40632262
Version Independent ID: a23b6117-0cbe-0104-e820-ac88817624ee
Content: Troubleshoot connecting project - Azure DevOps
Content Source: docs/user-guide/troubleshoot-connection.md
Product: devops
GitHub Login: @chcomley
Microsoft Alias: chcomley

@ravensorb, Thanks for your comment. I've created a user story, so I can look into this further. I'll be in touch. Thanks again.

@ravensorb - in your c:\users_\AppData\Roaming\Microsoft\VisualStudio_\Team Explorer folder there is a TeamExplorer.confg file. Thats the list of connections that VS has stored for connections.
VS Version number will sometimes be followed by a few letters like "16.0_365cef21". When I have had to troubleshoot connectivity issues, I will close all VS windows (check for orphan processes in task manager like msbuild.exe, etc and kill them too), and then just rename this file. Then I can re-add the connections I want.

@ravensorb Please let us know whether you have any further questions, thanks!

Ok, so the only option right now is to edit that file?

No, you can remove connections by using the VS UI, but it's not a consistent experience

Hi @ravensorb, it appears that @StingyJack has answered your question. I'll be closing this issue, however if you still feel that the documentation needs more information, please chime in on this issue and we'll address it there. We appreciate it, thank you.


Support and monitor: VS Code adding native Poetry support in the Python extension

Migrated from GitLab: https://gitlab.com/meltano/sdk/-/issues/98
Originally created by @aaronsteers on 2021-04-13 18:56:14

As of last week (week ending April 9, 2021), VS Code released the internal preview of native Poetry support in VS Code. Not all of our developers use VS Code, but many do. I'm noting here the upcoming changes so we can monitor those, update our docs if needed, and to provide any other support as needed.
Known changes (after the pending insiders updates go live for all users):

VS Code will begin auto discovering poetry environments.
VS Code may select the interpreter automatically.
VS Code will automatically use the poetry environment as defined.
New shells in VS Code will start with the poetry environment already activated.
Pytest tests are automatically detected and shown in the 'Tests' navigation frame (allows point-and-click execution of tests).
Other formatters and linters referenced as developer dependencies can be run automatically from the poetry virtual environment. They do not have to be individually installed by developers.

Unknown:

Does VS Code automatically run poetry install?
Does VS Code require a reload after changing the interpreter.
Does VS Code detect based on pyproject.toml, or does the developer need to have already run poetry install before the environment will be detected?

More info:

https://github.com/microsoft/vscode-python/issues/8372#issuecomment-816988208

April 9, 2020:

Hi everyone, we now support Poetry in the Insiders build of the extension. You can use the command Python: Switch to Insiders Weekly Channel to install the latest Insiders build. Do give it a try and let us know how it works for you 🙂

[In response to my inquiry:] Nope, you do not need to configure anything. We'll roll this out in the stable marketplace build soon.

View 4 previous comments from the original issue on GitLab


3D terrain

I'd like to use Tangram to display a map with 3D terrain (like mountains). I didn't find anything in the doc about it, is that possible?
If not, would it be a lot of work? I have close to none OpenGL experience, but I might consider spending some time on this (and share the result), especially if some people are willing to help.
Thanks!

I have a hack in the making...

this is an invasive modification to the tangram-es engine using the terrarium tiles - i plan to publish soon

I'll keep an eye on it!


eval_scores.py

line 25:  score_list = [x['scores'][:, 0] for x in score_npz_files]
Sorry for I cannot understand [:, 0] here. Can you explain it?
Thank you very much!

It is because that the object contains both scores and labels. See here
https://github.com/yjxiong/temporal-segment-networks/blob/master/tools/eval_net.py#L112


Add login methods

Allow users to log in to potentially increase server-side interaction limits.

Fixed in 1f9d09c8754c58098a6844c64cfdfd5740e4c3ae.


Review return codes and rename IDs

…nd 201 for put, 200 for patch).
Rename id in path.
More explicit description of return codes.
Rename id in components.

I don't have a strong opinion on renaming some parameters and expanding on the documentation, although I feel that it does not add great value. However, one question: Why do we add all these media types? Do we require the FMO to support text/html, text/csv etc? That would be quite a heavy requirement. Furthermore those media types are not fully standardized, so without some extra documentation it might lead to incompatible implementations.

Why do we add all these media types? Do we require the FMO to support text/html, text/csv etc? That would be quite a heavy requirement. Furthermore those media types are not fully standardized, so without some extra documentation it might lead to incompatible implementations.

Well, this media types were already included in your code, I did not change that... I would prefer to keep only the json format everywhere

I don't have a strong opinion on renaming some parameters and expanding on the documentation, although I feel that it does not add great value.
Well for me the API is much more readable with those new names. Several IDs are used in the API, and having different names for them reduces the risk of misunderstanding.

Any comment on the changes in HTTP return codes, and their description ?

Why do we add all these media types? Do we require the FMO to support text/html, text/csv etc? That would be quite a heavy requirement. Furthermore those media types are not fully standardized, so without some extra documentation it might lead to incompatible implementations.

Well, this media types were already included in your code, I did not change that... I would prefer to keep only the json format everywhere

I also prefer JSON format everywhere. Although the NODES API supports CSV and HTML, it should not be part of the UEMI standard (at the moment).
However, these media types were introduced by your commit, as you can see here:
https://github.com/euniversal/umei-api-specification/commit/094216557e59aedbc0a88dee51ffdb4c6d388483.patch

So yes, I agree on the return

Any comment on the changes in HTTP return codes, and their description ?

Those seems fine, no objections there.

Why do we add all these media types? Do we require the FMO to support text/html, text/csv etc? That would be quite a heavy requirement. Furthermore those media types are not fully standardized, so without some extra documentation it might lead to incompatible implementations.

Well, this media types were already included in your code, I did not change that... I would prefer to keep only the json format everywhere

I also prefer JSON format everywhere. Although the NODES API supports CSV and HTML, it should not be part of the UEMI standard (at the moment).
However, these media types were introduced by your commit, as you can see here:
https://github.com/euniversal/umei-api-specification/commit/094216557e59aedbc0a88dee51ffdb4c6d388483.patch

My bad, the media types were already present, like you said.


feat: add websocket module to py-sdk

Fix #116
With this, user can now open websocket object and have a multiprocessing queue filled with events:
from nibiru.websocket import Events

ws = NibiruWebsocket(
    network,
    captured_events_type=[
        Events.MarkPriceChanged,
        Events.PositionChangedEvent,
    ],
)
ws.start() # async start the process

Events included are:
Perp events

[x] PositionChangedEvent = "nibiru.perp.v1.PositionChangedEvent"
[x] PositionLiquidatedEvent = "nibiru.perp.v1.PositionLiquidatedEvent"
[x] FundingRateChangedEvent = "nibiru.perp.v1.FundingRateChangedEvent"
[x] PositionSettledEvent = "nibiru.perp.v1.PositionSettledEvent"

Vpool events

[x] ReserveSnapshotSavedEvent = "nibiru.vpool.v1.ReserveSnapshotSavedEvent"
[x] SwapQuoteForBaseEvent = "nibiru.vpool.v1.SwapQuoteForBaseEvent"
[x] MarkPriceChanged = "nibiru.vpool.v1.MarkPriceChanged"

Question: is there any event deserialization so far? Will user get price as float or as a string? Or this is a scope if the next PR?
And it looks tests are failing.

Question: is there any event deserialization so far? Will user get price as float or as a string? Or this is a scope if the next PR? And it looks tests are failing.

I'll do that in another PR. I'll  tie in the deserialization with the #118  and #119 so we can leverage proto to already know the types of the fields

Changes look good but tests are still failing.


Backend: Implementation of addon deployment logic

Brief description
Should handle updating addon zips provided by v4 server.
Very WIP.
Description
Goal is for OP client to learn which addons (and their version) are activated on the server, download and unzip client side code.
Additional info
Implements basic logic to process returned json with information about addons (actual get from v4 server is not included yet).
Establishes json for addon information:
{
        "name": "openpype_slack",
        "version": "1.0.0",
        "sources": [
            {
                "type": "http",
                "url": "https://drive.google.com/file/d/1TcuV8c2OV8CcbPeWi7lxOdqWsEqQNPYy/view?usp=sharing"  # noqa
            },
            {
                "type": "filesystem",
                "path": {
                    "windows": ["P:/sources/some_file.zip", "W:/sources/some_file.zip"],  # noqa
                    "linux": ["/mnt/srv/sources/some_file.zip"],
                    "darwin": ["/Volumes/srv/sources/some_file.zip"]
                }
            }
        ],
        "hash": "4f6b8568eb9dd6f510fd7c4dcb676788"
         "description": "Lorem Ipsum ...",
         "license": "Apache-2.0",
         "authors": "Petr Kalis <petr.kalis.orbi.tools>"
}

Description, license, authors could be used in the future for some Addon store or pulling info to some customer internal CRM, where same server endpoint could be reused. For current deployment logic it is not used.
Two types of source urls are implemented:

OS - mapped drive to machine
HTTP - downloading from HTTP server, handles GDrive sharable links too

Compares provided md5 hashes with downloaded .zip file.
Unzips addon zip file into destination folder (zip file is expected without "inner" addon folder, just bare code) and removes zip.
It is missing another important part of preparation of dependencies for addons. That might be a separate PR.

you have there md5 implemented instead of sha256 but I guess that's just placeholder. I was wondering about the metadata that is coming from it. Actually if there is a reason to extend it with more information, to create for example browsable repository, display more information about the addon or so. What about sending along something like stuff defined in PEP-621 - then these could be read from pyproject.toml by server for example... name, version, description, license, authors. And for example post-install-script that could be run after the addon is unzipped to handle some checks, cleanups? This could be ofc done by properly designed hook api...

Implemented basic http get to mock server returning testing get_addons_info payload.

Now it's question if we're able to make server send us these information?
I would add some readme to the folder that it is v4 related code.
Few notes related to client folder structure. They don't have to be handled in this PR.

I think there should be some parent for distribution. Import of distribution can be dangerous in python world. With combination that we will probably need more common code in future. I would suggest to put distribution into folder named like openpype_common (or else) so we would do imports like from openpype_common import distribution.

Good / Bad ???

I'm nost sure about this because v4 client is not yet fully defined but we may need even one more additional parent folder so the "imported folder" is not in the root of build. That is because we may want add the path explicitly to sys.path on start which we may not be able to do if it will be in root.

# Structure (combined with 1.)
├ <build root>
│  ├ igniter
│  │ └ ...
│  ├ common (this is path which will be added to sys.path)
│  │  └ openpype_common
│  │    ├ distribution
│  │    └ ...
│  ├ start.py
│  └ ...
└ ...

Good / Bad ???

Added readme.

Introduced deeper folder structure

Merging it as working prototype.
Next steps will be done after OP client will be prepared, to hook this up, polish it up and test.


load_dataset hang on file_lock

I am trying to load the squad dataset. Fails on Windows 10 but succeeds in Colab.
Transformers:  3.3.1
Datasets:  1.0.2
Windows 10 (also tested in WSL)
datasets.logging.set_verbosity_debug()
datasets.
train_dataset = load_dataset('squad', split='train')
valid_dataset = load_dataset('squad', split='validation')

train_dataset.features

https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py not found in cache or force_download set to True, downloading to C:\Users\simpl\.cache\huggingface\datasets\tmpzj_o_6u7
Downloading:
5.24k/? [00:00<00:00, 134kB/s]
storing https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py in cache at C:\Users\simpl\.cache\huggingface\datasets\f6877c8d2e01e8fcb60dc101be28b54a7522feac756deb9ac5c39c6d8ebef1ce.85f43de978b9b25921cb78d7a2f2b350c04acdbaedb9ecb5f7101cd7c0950e68.py
creating metadata file for C:\Users\simpl\.cache\huggingface\datasets\f6877c8d2e01e8fcb60dc101be28b54a7522feac756deb9ac5c39c6d8ebef1ce.85f43de978b9b25921cb78d7a2f2b350c04acdbaedb9ecb5f7101cd7c0950e68.py

Checking C:\Users\simpl\.cache\huggingface\datasets\f6877c8d2e01e8fcb60dc101be28b54a7522feac756deb9ac5c39c6d8ebef1ce.85f43de978b9b25921cb78d7a2f2b350c04acdbaedb9ecb5f7101cd7c0950e68.py for additional imports.
Found main folder for dataset https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py at C:\Users\simpl\.cache\huggingface\modules\datasets_modules\datasets\squad
Found specific version folder for dataset https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py at C:\Users\simpl\.cache\huggingface\modules\datasets_modules\datasets\squad\1244d044b266a5e4dbd4174d23cb995eead372fbca31a03edc3f8a132787af41
Found script file from https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py to C:\Users\simpl\.cache\huggingface\modules\datasets_modules\datasets\squad\1244d044b266a5e4dbd4174d23cb995eead372fbca31a03edc3f8a132787af41\squad.py
Couldn't find dataset infos file at https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad\dataset_infos.json
Found metadata file for dataset https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/squad.py at C:\Users\simpl\.cache\huggingface\modules\datasets_modules\datasets\squad\1244d044b266a5e4dbd4174d23cb995eead372fbca31a03edc3f8a132787af41\squad.json
No config specified, defaulting to first: squad/plain_text

Interrupting the jupyter kernel we are in a file lock.
In Google Colab the download is ok. In contrast to a local run in colab dataset_infos.json is downloaded
https://raw.githubusercontent.com/huggingface/datasets/1.0.2/datasets/squad/dataset_infos.json not found in cache or force_download set to True, downloading to /root/.cache/huggingface/datasets/tmptl9ha_ad

Downloading:
2.19k/? [00:00<00:00, 26.2kB/s]

Can you try to upgrade to a more recent version of datasets?

Can you try to upgrade to a more recent version of datasets?

Thank, upgrading to 1.1.3 resolved the issue.

Thank, upgrading to 1.1.3 resolved the issue.

Having the same issue with datasets 1.1.3 of 1.5.0 (both tracebacks look the same) and kilt_wikipedia, Ubuntu 20.04
In [1]: from datasets import load_dataset

In [2]: wikipedia = load_dataset('kilt_wikipedia')['full']
Downloading: 7.37kB [00:00, 2.74MB/s]
Downloading: 3.33kB [00:00, 1.44MB/s]
^C---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/utils/filelock.py in _acquire(self)
    380         try:
--> 381             fcntl.flock(fd, fcntl.LOCK_EX | fcntl.LOCK_NB)
    382         except (IOError, OSError):

OSError: [Errno 37] No locks available

During handling of the above exception, another exception occurred:

KeyboardInterrupt                         Traceback (most recent call last)
<ipython-input-2-f412d3d46ec9> in <module>
----> 1 wikipedia = load_dataset('kilt_wikipedia')['full']

~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, sav
e_infos, script_version, **config_kwargs)
    601         hash=hash,
    602         features=features,
--> 603         **config_kwargs,
    604     )
    605

~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/builder.py in __init__(self, *args, **kwargs)
    841     def __init__(self, *args, **kwargs):
    842         self._writer_batch_size = kwargs.pop("writer_batch_size", self._writer_batch_size)
--> 843         super(GeneratorBasedBuilder, self).__init__(*args, **kwargs)
    844
    845     @abc.abstractmethod

~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/builder.py in __init__(self, cache_dir, name, hash, features, **config_kwargs)
    174             os.makedirs(self._cache_dir_root, exist_ok=True)
    175         lock_path = os.path.join(self._cache_dir_root, self._cache_dir.replace(os.sep, "_") + ".lock")
--> 176         with FileLock(lock_path):
    177             if os.path.exists(self._cache_dir):  # check if data exist
    178                 if len(os.listdir(self._cache_dir)) > 0:

~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/utils/filelock.py in __enter__(self)
    312
    313     def __enter__(self):
--> 314         self.acquire()
    315         return self
    316

~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/utils/filelock.py in acquire(self, timeout, poll_intervall)
    261                     if not self.is_locked:
    262                         logger().debug("Attempting to acquire lock %s on %s", lock_id, lock_filename)
--> 263                         self._acquire()
    264
    265                 if self.is_locked:

~/anaconda3/envs/transformers2/lib/python3.7/site-packages/datasets/utils/filelock.py in _acquire(self)
    379
    380         try:
--> 381             fcntl.flock(fd, fcntl.LOCK_EX | fcntl.LOCK_NB)
    382         except (IOError, OSError):
    383             os.close(fd)

KeyboardInterrupt:


Update GitHub actions to match module template

The GitHub actions have been updated to match the module template, with some exceptions. The docs publishing was omitted because this repository does not yet have API documentation, and I left some additional steps in the prepack script because they were present already.

This depends upon #45(for the lint error) and #46 (for the Node.js v19 error)


Rotator cuff exercise(s)

Exercises from https://youtu.be/EY2tNBOmvGs
Stretching exercises with timer, time-permitting

Implemented lateral external rotation; note that visibility checking is disabled for the time being


[AIRFLOW-850] Add a PythonSensor

Make sure you have checked all steps below.
Jira

[x] My PR addresses the following Airflow Jira issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-850
In case you are fixing a typo in the documentation you can prepend your commit with [AIRFLOW-XXX], code changes always need a Jira issue.

Description

[x] Here are some details about my PR, including screenshots of any UI changes:
A general purpose PythonSensor which allows an arbitrary Python callable to delay Task execution until the callable returns True. This is based on a stale pr(https://github.com/apache/incubator-airflow/pull/2058)

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:
yes

Commits

[x] My commits all reference Jira issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[x] In case of new functionality, my PR adds documentation that describes how to use it.

When adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.
All the public functions and the classes in the PR contain docstrings that explain what it does

Code Quality

[x] Passes flake8

PTAL @ashb  @Fokko , this is based on the stale pr (https://github.com/apache/incubator-airflow/pull/2058) which I think is a good addition to Airflow sensor.

hey @ashb , update the pr with an example. PTAL.

Codecov Report

Merging #4349 into master will increase coverage by 61.98%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #4349       +/-   ##
===========================================
+ Coverage   16.13%   78.12%   +61.98%
===========================================
  Files         202      202
  Lines       16483    16483
===========================================
+ Hits         2660    12877    +10217
+ Misses      13823     3606    -10217

Impacted Files
Coverage Δ

airflow/plugins_manager.py
93.1% <0%> (+1.14%)
:arrow_up:

airflow/executors/dask_executor.py
2% <0%> (+2%)
:arrow_up:

airflow/exceptions.py
100% <0%> (+2.85%)
:arrow_up:

airflow/utils/operator_resources.py
86.95% <0%> (+4.34%)
:arrow_up:

airflow/executors/__init__.py
63.46% <0%> (+5.76%)
:arrow_up:

airflow/utils/module_loading.py
100% <0%> (+10.52%)
:arrow_up:

airflow/utils/decorators.py
91.66% <0%> (+14.58%)
:arrow_up:

airflow/settings.py
80.41% <0%> (+14.68%)
:arrow_up:

airflow/hooks/oracle_hook.py
15.47% <0%> (+15.47%)
:arrow_up:

airflow/__init__.py
80% <0%> (+15.55%)
:arrow_up:

... and 161 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f211390...21e8df4. Read the comment docs.


BUG New-ADChangeReport CSS Path not detected.

This is a bug reported by @klaypigeon
PS C:\Windows\system32> new-adchangereport
You cannot call a method on a null-valued expression.
At C:\Program Files\WindowsPowerShell\Modules\ADReportingTools\1.0.0\Functions\ADChangeReport.ps1:130 char:13
+             $htmlParams.Add("CSSPath", $CSSPath)
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

I had re-organized some code and I see now that I am trying to add something that hasn't been defined yet. This should be easy to fix.

This should be fixed in v1.1.0 (38ccd83). Update the module from the PowerShell gallery and try again.

Thanks. That was some mighty fast bug fixing.
On Mon, Mar 29, 2021, 12:22 PM Jeff Hicks @.***> wrote:

This should be fixed in v1.1.0 (38ccd83
https://github.com/jdhitsolutions/ADReportingTools/commit/38ccd839817cf676358754b677da65116344b5e8).
Update the module from the PowerShell gallery and try again.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jdhitsolutions/ADReportingTools/issues/24#issuecomment-809519973,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACYZZAWCY352MJDDYKTEREDTGCSNXANCNFSM4Z7YKN3Q
.


(wip): Package version bumps 28.1.2022

Description :sparkles:
Issues :bug:
Testing :alembic:
Screenshots :camera_flash:
Additional notes :spiral_notepad:

Codecov Report

Merging #711 (b5cca8e) into develop (7f9d510) will decrease coverage by 46.20%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##           develop     #711       +/-   ##
============================================
- Coverage    63.60%   17.39%   -46.21%
============================================
  Files          766       39      -727
  Lines        19135      483    -18652
  Branches      1831       67     -1764
============================================
- Hits         12170       84    -12086
+ Misses        6601      383     -6218
+ Partials       364       16      -348

Impacted Files
Coverage Δ

...nd/tet/admin/src/components/editor/NumberInput.tsx
0.00% <0.00%> (ø)

...rontend/tet/admin/src/components/editor/Editor.tsx
0.00% <0.00%> (ø)

...ntend/tet/admin/src/components/editor/EditById.tsx
0.00% <0.00%> (ø)

...t/admin/src/components/jobPostings/JobPostings.tsx
73.91% <0.00%> (ø)

...tification-page/alreadyActivatedPage.components.ts

...mpanies/migrations/0002_company_optional_fields.py

...omponents/forms/fields/fieldLabel/FieldLabel.sc.ts

frontend/kesaseteli/youth/src/pages/thankyou.tsx

...applicant/src/components/messenger/useMessenger.ts

backend/shared/shared/common/validators.py

... and 734 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7f9d510...b5cca8e. Read the comment docs.

@melniiv fixed the closeButtonLabelTextwhich was missing from benefit. now this can be reviewed


cmd/go: go generate confounded by errors in generated code

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?
go version go1.6.2 darwin/amd64

What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/andrew/code/myriad"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GO15VENDOREXPERIMENT="1"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common"
CXX="clang++"
CGO_ENABLED="1"

What did you do?
Unfortunately, this error requires multiple files to reproduce. the description should suffice, tho.

i use yacc and nex as part of a package. the generated code lives in another package
(so that generated code is not mixed in with source-controlled code).
occasionally, a mistake is made in my parse.y so that the generated parse.go causes an import cycle.
at this point, i can't simply correct parse.y (to not have the import cycle), because go generate
won't run the generate commands because (apparently) it processes the import directives first.
i observe that "go generate --help" says, in part,
Note that go generate does not parse the file, so lines that look
like directives in comments or multiline strings will be treated
as directives.

What did you expect to see?
i would expect go generate to run the command and not worry about an import cycle.

What did you see instead?
go generate determines (correctly but irrelevantly) that there is an import cycle and does not run the generate commands.

What is the exact command that you run?  What is the exact error that you see?

Note that we are likely to need a small test case in order to fix this.  Unfortunate experience shows that it is very hard to recreate a specific problem from a text description.

@monotrememan42 go generate does not seem to parse go source files.
Do your go generate lines (the magic comments) invoke, for example, stringer or any other tool that needs the package to be compiled?
Sometimes it might help to "reset" the parser.go file before doing other things, like
//go:generate echo "package foo" > parser.go
//...
//go:generate go tool yacc -o parser.go parser.y

or
// Start with the last known good parser.go
//go:generate git checkout -f parser.go
//...
//go:generate go tool yacc -o parser.go parser.y

the first few lines of the source file are
//go:generate nex -p Parse -e -o ../../gen/rivegen/lexer.go lexer.nex
//go:generate go tool yacc -p Parse -o ../../gen/rivegen/parse.go parse.y
//go:generate mv y.output ../../gen/rivegen
package rive
i am working on getting a small reproducible example for you; i think i can do it in 2-3 files.
i’ll send a zipped tar file. when i do.

On Jul 9, 2016, at 6:29 AM, cznic<EMAIL_ADDRESS>wrote:
@monotrememan42 https://github.com/monotrememan42 go generate does not seem https://github.com/golang/go/blob/57e459e02b4b01567f92542f92cd9afde209e193/src/cmd/go/generate.go to parse go source files.
Do your go generate lines (the magic comments) invoke, for example, stringer or any other tool that needs the package to be compiled?
Sometimes it might help to "reset" the parser.go file before doing other things, like
//go:generate echo "package foo" > parser.go
//...
//go:generate go tool yacc -o parser.go parser.y
or
// Start with the last known good parser.go
//go:generate git checkout -f parser.go
//...
//go:generate go tool yacc -o parser.go parser.y
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/golang/go/issues/16307#issuecomment-231534420, or mute the thread https://github.com/notifications/unsubscribe/AJ8JQKZFTffF4NsrUhW4I2eRgwdOImRGks5qT6IsgaJpZM4JId2b.

attached is a small tar file that contains a reproducible example.
there is a script.out file that shows the bug.
sorry i did not include this originally.
andrew

On Jul 8, 2016, at 6:36 PM, Ian Lance Taylor<EMAIL_ADDRESS>wrote:
Note that we are likely to need a small test case in order to fix this. Unfortunate experience shows that it is very hard to recreate a specific problem from a text description.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/golang/go/issues/16307#issuecomment-231507095, or mute the thread https://github.com/notifications/unsubscribe/AJ8JQGaHjT2gexzinDdo2BxDoYP1b9-Aks5qTvsAgaJpZM4JId2b.

did the attached tar file make it? i don't see it here. i'll attach it again just in case.
ohhh, stupid system doesn't support tar but doesn't tell you (when submitting by email).
lovely. here is the same stuff in a zip file.
go16307.zip

i added the test case to reproduce

On Jul 8, 2016, at 6:36 PM, Ian Lance Taylor<EMAIL_ADDRESS>wrote:
Note that we are likely to need a small test case in order to fix this. Unfortunate experience shows that it is very hard to recreate a specific problem from a text description.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/golang/go/issues/16307#issuecomment-231507095, or mute the thread https://github.com/notifications/unsubscribe/AJ8JQGaHjT2gexzinDdo2BxDoYP1b9-Aks5qTvsAgaJpZM4JId2b.

i'm not trying to annoy anyone, but i wanted to ensure someone had gotten the test cases etc. can someone please speak to that? thanks.

With some modifications I was able to reproduce the problem. I didn't investigate more. I'd look for go/types interfering when go generate is invoked, shooting in the dark, of course.


refactor: xstyled removal

We'd like to move on from xstyled to have a more conventional usage of our components. Meaning no props based styled modifiers, spacing should be handled by the parent component
This issue might be transformed into a milestone at some point because it's a huge task

@baptisteArno wut ?

@matthprost wut ?


Rating System

i want to add rating system using HTML CSS
under JWOC tag

Kindly assign me this issue

@daksh1210jain , go for it.

https://github.com/Jagroop2001/AcmeRockets/pull/43


Swagger Router preflight requests

Getting error for each route while using cross origin requests:
Route defined in Swagger specification (/route) but there is no defined options operation.
How to properly handle preflight requests? Do I need to define it for each route?

The reason you are getting this error is because you do not have an options operation defined in your Swagger.  In most situations, people use a CORS library to handle things like this so with ignoreMissingHandlers and a CORS library, you should be good to go.  If you do not want to use a CORS library, you would need to add the options operation to your Swagger document and wire up a corresponding handler to do the real work.

Since this is outside the scope of swagger-tools, as it is doing the right thing as it knows, I am closing this but I will continue fielding questions to help you get beyond this.

Thanks, it works normally with the CORS library.

Great new!  Let me know if I can help further.


how does it scale with multi core / threads?

do you have anything for 48 threads performance benchmarks?
most golang software cant scale beyond 24 cores.

I don't have access to any machine with more than 24 cores. Also interested to know what makes you believe that 24 cores is the typical optimal for Golang, any concrete stats/benchmark results on that?

@lni https://github.com/golang/go/issues/65064

Thanks for the link.
I haven't tested on anything more than 24 physical cores, as that is already enough to support thousands of replicas per server. When more replicas are required in the whole, you definitely want them to be spread across many different servers.
The biggest performance bottleneck is the fsync performance, not the thread count, having faster SSDs with good fsync performance is the key here. Having more cores might help, but I think it is far less so when compared to faster cores and faster SSDs.


Reading files.

I noticed 2 problems.
First: If, for example, I add the file test2.TXT, then the first time it is added successfully, but if I try to add it again, the program will not add it. This can be fixed by adding a file with a different name, then removing it and adding the first file.
Second problem:
For some reason, it is not always possible to read files. For example:

I upload the file test.TXT, in cmd I get the message File added successfully, but lollms says that it cannot access this file.
After that I add the f.txt file and it reads this file successfully.
I add the file test2.TXT, in cmd I receive the message File added successfully, but this time lollms tells me that it does not see this file in the uploads/lollms folder.
I add the file test2.TXT again, this time lollms tells me that it cannot access this file.

I have an assumption that it cannot read .TXT files because the program responsible for this does not support them.

and sometimes lollms gives comments on the previous file, not the last one, but this is probably a problem with the model itself.

Now I found another problem:
lollms sees the files in the uploads/lollms directory but when I ask him to read them he says that he does not have access to them, The file may be encrypted or password protected and you may need to provide the password or decryption key to access it.

Hi and thank you very much for taking the time to test lollms. All feedback is valuable.
Unfortunately these days I have alot of work and can't find time to fix the issues you raised. I'll try to take some time this weekend to look at them and fix them. I'm sure they are not really a big deal and I should be able to fix them is no Time. I just need to find time for that :)


There is no need to reset PC, if user forgot login password

There is no need to Reset PC in windows 10 ,  without resetting i can able to remove forgotten windows login local password, All account password will store  SAM file. Recently i  got file ntwspass.exe file which is safe file scanned by windows defender.
i added that file in Windows 10 PE 1909 iso, and i kept for personal usage.
I really tested on own laptop, whether that file is really working or not. But that file is worked and changed the embedded password to blank password to log in.

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

ID: 4bd25036-bb23-374f-4db7-480b3d27bcc0
Version Independent ID: 027a84e4-40f5-a4e6-7a86-aa3ad078473d
Content: Technical support policy for lost or forgotten passwords - Microsoft 365 Security
Content Source: windows/security/identity-protection/password-support-policy.md
Product: w10
Technology: windows
GitHub Login: @Teresa-Motiv
Microsoft Alias: v-tea

Closing because the question is about https://support.microsoft.com/en-us/help/4028457/windows-10-reset-your-local-account-password, which is out of our scope.
Thank you for your ongoing engagement.


Fixes logger configuration for restore plugins

Fixes #1328
In restoreController.runRestore, the logger is replaced with a new
io.MultiWriter-based logger. Currently this is done after initializing
the pluginManager, which means the restore plugin logs are being lost.
For backup, newPluginManager is called after the MultiWriter setup,
so log messages from plugins are written to the log as expected.
Untangling this is complicated, because the pluginManager is used for
several actions in restoreController.processRestore before calling
runRestore.
This commit combines restoreController.processRestore and
restoreController.runRestore into one function, with logger reconfiguration
moved above the call to newPluginManager. This is further complicated
by the different return situations in the original two functions
and an attempt to make the result of calling processRestore as close
as possible to what was happening before. A more elegant solution
is probably possible with a more thorough redesign of these functions.
Signed-off-by: Scott Seago<EMAIL_ADDRESS>

Addresses https://github.com/heptio/velero/issues/1328

Thanks @sseago! We'll give this a look over the next few days. The restore package is definitely in need of some refactoring attention, that's for sure.

@sseago thanks for this - I've been looking at making some changes to this same section of code that may overlap with yours.  I'm going to keep this PR open for now as I work through that one, and can figure out what makes the most sense here.  Thanks for spotting this issue!

we ended up merging #1358 to fix this issue; thanks again @sseago.


[DevOps] Populate Meshery Catalog with Dapr sample apps using mesheryctl

Current Situation
Meshery Catalog has a relatively small number of published designs.
Desired Situation
Meshery Catalog is populated with a variety of published designs, including Dapr sample apps, representing any number of technologies in the designs and representing different categories of designs.
Difficultly Level: Beginner
This is a beginner-level issue designed to both help introduce you, the contributor, to additional Kubernetes concepts and DevOps practices, and to aid in creating a robust catalog full of cloud native design patterns and sample apps in the Meshery Catalog.
Skills Needed

No coding skills needed.
Awareness of Kubernetes.

Implementation

Identify a Dapr sample app

Choose from here -- https://github.com/dapr/samples
...or identify a sample app from any available in public repos (example 1, example 2, example 3).
Attempt to identify resources that can benefit both newcomers and seasoned professionals.

Import Kubernetes App

Import the sample application using mesheryctl app import command, following this guide.

Publish Kubernetes App

Publish your sample app into the Meshery Catalog. Guides: Using Meshery UI or Using MeshMap.

[Optional] Open App in Playground

Access Meshery Playground and open your app in MeshMap.

[Optional] Share your Kubernetes App

Be social and share your imported apps on twitter or linkedin and the Meshery project accounts will repost.

Repeat

Import and publish five or more sample apps.

Acceptance Criteria

Five or more new sample apps have been imported into Meshery and published into the Meshery Catalog.

Contributor Guides and Handbook

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

@leecalcote I'd like to work on this issue. I have recently completed my bootcamp on Kubernetes and I'm familiar with its concepts.

Import Kubernetes App
Import the sample application using mesheryctl app import command, following this guide.

The link for the guide has no info. PTAL

Sound good, @varshith257

@leecalcote The import link guide has broken. Can you look at it?

Try pattern import


Fix fresh ubuntu install and check error while configuring dynamic record

Issue # (if available):
https://github.com/awslabs/s2n/issues/751
Description of changes:
Fix fresh ubuntu install and check error while configuring dynamic record
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This feels like two changes in one PR.  Perhaps split them into two PRs for easier reviewing?

This feels like two changes in one PR. Perhaps split them into two PRs for easier reviewing?
splitted to another pr
https://github.com/awslabs/s2n/pull/1024


JQuery 2.2.x not playing fine with datefield

2.1.4 working fine:
http://codepen.io/zh-n/pen/JXyvPp
2.2.0 craps out:
http://codepen.io/zh-n/pen/oxedvy
regression issue?

See  #2883