[DON'T MERGE] New explainer for smoke test

Kuberang's output will now be printed to the console in both the success and failure cases.

I actually thing we shouldn't merge this until we get JSON from kuberang.
That would allow us to maintain the color scheme on the installer side.
On Thursday, November 10, 2016, Dimitri Koshkin<EMAIL_ADDRESS>wrote:

@dkoshkin commented on this pull request.
In pkg/install/explain/smoketest.go
https://github.com/apprenda/kismatic/pull/42#pullrequestreview-8110967:

+// Kuberang's output.
+func (explainer *SmokeTestEventExplainer) ExplainEvent(e ansible.Event, verbose bool) string {

switch event := e.(type) {
case *ansible.TaskStartEvent:

// Flip the bool when the kuberang ansible task starts

if event.Name == "run smoke test checks using Kuberang" {

	explainer.smokeTestStarted = true

}

return explainer.DefaultEventExplainer.ExplainEvent(e, verbose)

case *ansible.RunnerOKEvent:

// delegate to the default explainer if we are not looking at the smoke test's results

if !explainer.smokeTestStarted {

	return explainer.DefaultEventExplainer.ExplainEvent(e, verbose)

}

buf := &bytes.Buffer{}

util.PrintOkln(buf)

Is all of it going to print green, what happens on an error?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apprenda/kismatic/pull/42#pullrequestreview-8110967,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAhTu15SSQPemvGmwXM9d4R7wSmgVtNwks5q85jDgaJpZM4KqADD
.

--
Alexander Brand
M:<PHONE_NUMBER>
*E<EMAIL_ADDRESS>

I agree

Closing due to inactivity / low priority.


Initial startup: Database tables do not exist

When I first execute docker-compose up, the containers start, but then most have errors because no tables exist in the database.
I can see there is a migrations/versions/ directory for alembic, but I am unsure how to initially create the tables.
Thank you.

Apologies, I was on leave at the time and subsequently missed this.
Everything was set up correctly at the time of open sourcing, but I see I added some steps to the initialisation process that resulted in the app falling over before it got to the database setup. I have corrected this by bypassing the above steps when the app is in maintenance mode. So all you will need to do is start the app up in maintenance mode the first time, and it will do all the necessary database initialisation. Thereafter, you can just restart it in normal mode.
I have corrected the mistake in the development branch, and will be merging that into the main branch in the next few days.


Intellisense is broken at @rpc

Tested versions
Reproducible in 4.4.1dev and 4.4.2dev
Not reproducible in 4.3
System information
Linux manjaro and android
Issue description
When you type:
@rpc()
It works fine
But when you type: rel
It doesn't suggest reliable but everything else.
It should suggest reliable
Steps to reproduce
Type:
@rpc(rel)
Minimal reproduction project (MRP)
@rpc("reliable") func test():     pass

CC @HolonProduction

Just to record, this is a regression from #94082

The necessary fix is already part of #96693

It is still broken in 4.4dev3

The fix isn't part of the dev3 build, you will have to wait for dev4.


[Feature] Introduce Hive writer

Search before asking

[X] I searched in the issues and found nothing similar.

Motivation
Introduce Hive writer
Solution
No response
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

I'm interested in it. Could you please assign it to me?

@Alibaba-HZY Assigned to u, maybe we can have a write-only version for hive writer.


Executing 'just distrobox-bazzite' gives an auth error

On executing 'just distrobox-bazzite' starting on "Version: 38.20230820.0 (2023-08-20T10:11:37Z)" the following is returned:
[jeremy@fedora ~]$ just distrobox-bazzite
Creating Bazzite distrobox ...
Trying to pull ghcr.io/ublue-os/bazzite-arch-gnome:latest...
Error: initializing source docker://ghcr.io/ublue-os/bazzite-arch-gnome:latest: unable to retrieve auth token: invalid username/password: unauthorized
Check out the docs for exportable apps and instructions: https://github.com/ublue-os/bazzite-arch

This did not happen on the previous version , "Version: 38.20230818.0 (2023-08-20T00:05:35Z)"
Thanks!

bazzite-arch works, this appears to be a permissions issue with bazzite-arch-gnome specifically?


[BUG] java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference

Hello there, i have tried playing video but video doesn't play and progress indicator keeps turning around.
Video can't play and throw the following error:
E/MethodChannel#flutter/platform_views( 6434): Failed to handle method call
E/MethodChannel#flutter/platform_views( 6434): java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference
E/MethodChannel#flutter/platform_views( 6434):  at android.view.ViewConfiguration.get(ViewConfiguration.java:476)
E/MethodChannel#flutter/platform_views( 6434):  at android.view.View.<init>(View.java:5198)
E/MethodChannel#flutter/platform_views( 6434):  at android.view.View.<init>(View.java:5393)
E/MethodChannel#flutter/platform_views( 6434):  at android.view.ViewGroup.<init>(ViewGroup.java:660)
E/MethodChannel#flutter/platform_views( 6434):  at android.widget.AbsoluteLayout.<init>(AbsoluteLayout.java:55)
E/MethodChannel#flutter/platform_views( 6434):  at android.webkit.WebView.<init>(WebView.java:659)
E/MethodChannel#flutter/platform_views( 6434):  at android.webkit.WebView.<init>(WebView.java:604)
E/MethodChannel#flutter/platform_views( 6434):  at android.webkit.WebView.<init>(WebView.java:587)
E/MethodChannel#flutter/platform_views( 6434):  at android.webkit.WebView.<init>(WebView.java:574)
E/MethodChannel#flutter/platform_views( 6434):  at android.webkit.WebView.<init>(WebView.java:564)
E/MethodChannel#flutter/platform_views( 6434):  at com.pichillilorenzo.flutter_inappwebview.InAppWebView.InputAwareWebView.<init>(InputAwareWebView.java:28)
E/MethodChannel#flutter/platform_views( 6434):  at com.pichillilorenzo.flutter_inappwebview.InAppWebView.InAppWebView.<init>(InAppWebView.java:612)
E/MethodChannel#flutter/platform_views( 6434):  at com.pichillilorenzo.flutter_inappwebview.InAppWebView.FlutterWebView.<init>(FlutterWebView.java:68)E/MethodChannel#flutter/platform_views( 6434):  at com.pichillilorenzo.flutter_inappwebview.InAppWebView.FlutterWebViewFactory.create(FlutterWebViewFactory.java:28)
E/MethodChannel#flutter/platform_views( 6434):  at io.flutter.plugin.platform.SingleViewPresentation.onCreate(SingleViewPresentation.java:176)
E/MethodChannel#flutter/platform_views( 6434):  at android.app.Dialog.dispatchOnCreate(Dialog.java:550)
E/MethodChannel#flutter/platform_views( 6434):  at android.app.Dialog.show(Dialog.java:391)
E/MethodChannel#flutter/platform_views( 6434):  at android.app.Presentation.show(Presentation.java:267)
E/MethodChannel#flutter/platform_views( 6434):  at io.flutter.plugin.platform.VirtualDisplayController.<init>(VirtualDisplayController.java:93)
E/MethodChannel#flutter/platform_views( 6434):  at io.flutter.plugin.platform.VirtualDisplayController.create(VirtualDisplayController.java:46)
E/MethodChannel#flutter/platform_views( 6434):  at io.flutter.plugin.platform.PlatformViewsController$1.createPlatformView(PlatformViewsController.java:112)
E/MethodChannel#flutter/platform_views( 6434):  at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:95)
E/MethodChannel#flutter/platform_views( 6434):  at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:59)
E/MethodChannel#flutter/platform_views( 6434):  at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:226)
E/MethodChannel#flutter/platform_views( 6434):  at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
E/MethodChannel#flutter/platform_views( 6434):  at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:631)
E/MethodChannel#flutter/platform_views( 6434):  at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#flutter/platform_views( 6434):  at android.os.MessageQueue.next(MessageQueue.java:326)
E/MethodChannel#flutter/platform_views( 6434):  at android.os.Looper.loop(Looper.java:181)
E/MethodChannel#flutter/platform_views( 6434):  at android.app.ActivityThread.main(ActivityThread.java:7045)
E/MethodChannel#flutter/platform_views( 6434):  at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#flutter/platform_views( 6434):  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#flutter/platform_views( 6434):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964)
E/flutter ( 6434): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: PlatformException(error, Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference, null)
E/flutter ( 6434): #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:569:7)
E/flutter ( 6434): #1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:156:18)
E/flutter ( 6434): <asynchronous suspension>
E/flutter ( 6434): #2      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:329:12)
E/flutter ( 6434): #3      AndroidViewController._create (package:flutter/src/services/platform_views.dart:633:54)
E/flutter ( 6434): #4      AndroidViewController.setSize (package:flutter/src/services/platform_views.dart:550:14)
E/flutter ( 6434): #5      RenderAndroidView._sizePlatformView (package:flutter/src/rendering/platform_view.dart:175:29)
E/flutter ( 6434): #6      RenderAndroidView.performResize (package:flutter/src/rendering/platform_view.dart:156:5)
E/flutter ( 6434): #7      RenderObject.layout (package:flutter/src/rendering/object.dart:1746:9)
E/flutter ( 6434): #8      RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
E/flutter ( 6434): #9      RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
E/flutter ( 6434): #10     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
E/flutter ( 6434): #11     RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
E/flutter ( 6434): #12     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
E/flutter ( 6434): #13     RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
E/flutter ( 6434): #14     RenderStack.performLayout (package:flutter/src/rendering/stack.dart:556:15)
E/flutter ( 6434): #15     RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
E/flutter ( 6434): #16     RenderAspectRatio.performLayout (package:flutter/src/rendering/proxy_box.dart:526:13)
E/flutter ( 6434): #17     RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
E/flutter ( 6434): #18     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
E/flutter ( 6434): #19     RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
E/flutter ( 6434): #20     RenderConstrainedBox.performLayout (package:flutter/src/rendering/proxy_box.dart:266:13)
E/flutter ( 6434): #21     RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
E/flutter ( 6434): #22     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
E/flutter ( 6434): #23     RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
E/flutter ( 6434): #24     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
E/flutter ( 6434): #25     _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1248:11)
E/flutter ( 6434): #26     RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
E/flutter ( 6434): #27     MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:171:11)
E/flutter ( 6434): #28     _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:484:7)
E/flutter ( 6434): #29     MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:240:7)
E/flutter ( 6434): #30     RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:399:14)
E/flutter ( 6434): #31     RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
E/flutter ( 6434): #32     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
E/flutter ( 6434): #33     RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
E/flutter ( 6434): #34     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
E/flutter ( 6434): #35     _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1248:11)
E/flutter ( 6434): #36     RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
E/flutter ( 6434): #37     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
E/flutter ( 6434): #38     RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
E/flutter ( 6434): #39     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
E/flutter ( 6434): #40     RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
E/flutter ( 6434): #41     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111:13)
E/flutter ( 6434): #4
W/System  ( 6434): A resource failed to call release.

I post here again my answer from my plugin (https://github.com/pichillilorenzo/flutter_inappwebview/issues/390#issuecomment-646996189):

I see that you don't call WidgetsFlutterBinding.ensureInitialized() before you are running your application.
As stated in the README.md file of my plugin, almost at the top of it (IMPORTANT Note for Android and iOS), you need to call it before runApp:
void main() {
 // it should be the first line in main method
 WidgetsFlutterBinding.ensureInitialized();

 // rest of your app code
 runApp(MyApp());
}

Now it should work.
Official wiki https://api.flutter.dev/flutter/widgets/WidgetsFlutterBinding/ensureInitialized.html

@sarbagyastha This should be added also to your documentation!

I post here again my answer from my plugin (pichillilorenzo/flutter_inappwebview#390 (comment)):

I see that you don't call WidgetsFlutterBinding.ensureInitialized() before you are running your application.
As stated in the README.md file of my plugin, almost at the top of it (IMPORTANT Note for Android and iOS), you need to call it before runApp:
void main() {
 // it should be the first line in main method
 WidgetsFlutterBinding.ensureInitialized();

 // rest of your app code
 runApp(MyApp());
}

Now it should work.
Official wiki https://api.flutter.dev/flutter/widgets/WidgetsFlutterBinding/ensureInitialized.html

@sarbagyastha This should be added also to your documentation!

I believe this is not the problem. I also have this issue, and I'm definitely calling WidgetsFlutterBinding.ensureInitialized() before running the app.
This is essentialy a duplicate of this issue on the flutter_inappwebview package. See there for a full reporoducible example of the error.

The author flutter_inappwebview package is working on a fix for this issue, it will be available in flutter_inappwebview version 3.4.0. When that comes out, if @sarbagyastha updates youtube_player_flutter to use that version of inappwebview, the problem will be resolved

@sarbagyastha This should be added also to your documentation!

@pichillilorenzo Thank you, will add it.

The author flutter_inappwebview package is working on a fix for this issue, it will be available in flutter_inappwebview version 3.4.0. When that comes out, if @sarbagyastha updates youtube_player_flutter to use that version of inappwebview, the problem will be resolved

Waiting for the update.

@sarbagyastha Published new 3.4.0 version!

@sarbagyastha Published new 3.4.0 version!
@pichillilorenzo Thanks 🎉

Updated flutter_inappwebview version constraint to >=3.4.0<3.5.0.


Allow to ignore overloaded methods for the complex interface rule (#5165)

Closes #5165
ComplexInterface: do not count method overloads

Thanks for reviewing and merging it


feat: add affs/embeddings/metric inference code

The included specs files show how the user interface looks like for running inference for affs/embeddings/metric output.
On the implementation side, some functions in zetta_utils/segmentation/affs_inferencer.py could/should probably be cleaned & moved elsewhere but a bit unclear to me at the moment.
This PR also added running ONNX in zetta_utils/convnet/utils.py, and a convenient load_and_run_model() to make the callers cleaner.

Python 3.9... ImportError: cannot import name 'TypeAlias' from 'typing' (/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/typing.py)


Guides - Use with Docker

Stub.

With the performance increases coming in the Docker Beta ( now public ) web development in an isolated Docker environment has not only become practical but extremely useful.

Goal: Guide to setup & configuration of both Docker & Webpack2 with examples covering all aspects of the development workflow using Webpack2 from dev build to prod bundling as well as dev server, watch, hmr, tree shaking & so on.
@bebraw - Assuming you like the idea, could i get a stub for How To - Docker and I will begin to outline the proposal in detail ( already have a whiteboard full of notes, concepts & examples ).
IMO this document, given it's scope should live outside of How To: Use with third party tools 74b90c400e799fb975344a5aae67f4fce49b7f8f
//cc @TheLarkInn

Sounds good to me. I don't mind adding a stub.
I still have some work to do with my PR. Hopefully we get that merged soon.

That's fine, all the docker stuff will take a bit of time

There's a stub now. So I would say it's safe to PR against the develop branch once you look into it.

@d3viant0ne, is this still something you're interested in? Otherwise I could work on this after I've finished #26. I've never used Docker before though (but this can be a good thing), so if anyone else wants to do it, that's fine.

@d3viant0ne @SpaceK33z are either of you still interested in this? Imho this might make more sense as a blog post that we then link to from somewhere in the docs but I don't feel too strongly about it. In the end we may wind up with an Integrations section (instead of just a single page) that contains things like this, Typescript, and other integrations. The main goal imo is to keep the core guides separate and more visible than any third-party integration discussions.

@skipjack - I have completely forgotten about this. I still have the draft docs buried on my ssd somewhere but I see your point about moving this to a different section of the documentation.
No argument from me on that point.

Ah great, well if you want to PR what you have we can sort out how it's organized in #438. Or if you'd rather wait on it for now or just move it to a blog post I suggest we close for now and re-open down the road if anything.
Happy to help facilitate whatever direction you choose. I'm just trying to move some of these older issues forward.

Honestly, Docker anything is usually very purpose built. Even if I threw up a guide, I few it would only lead to a bunch of questions related to trying to turn a generic example into something that works in a particular CI / CD chain or local development workflow.
If the question comes up a lot in the future, I can resurrect a doc on the subject but most of what I see used now is Docker for supporting stack & webpack-dev-server on the host.
We can clean this up for now & revisit the topic in the future if there is a need.


_count returning null from custom resolvers

Describe the Bug
When accessed through custom resolvers, the _count field is always null.
To Reproduce
Considering the following schema(I'm using mongo):
model List {
  id    String     @id @default(auto()) @map("_id") @db.ObjectId
  items ListItem[]
}

model ListItem {
  id     String @id @default(auto()) @map("_id") @db.ObjectId
  list   List   @relation(fields: [listId], references: [id])
  listId String @db.ObjectId
}

And this sample custom resolver:
import { List } from "@generated/type-graphql";
import { Ctx, Query, Resolver } from "type-graphql";
import { Context } from "..";

@Resolver()
export class MyListResolver {
  @Query(() => List)
  async mylist(@Ctx() { prisma }: Context): Promise<List> {
    return await prisma.list.findFirstOrThrow();
  }
}

With the following data:

This query:
query Mylist {
  mylist {
    id
    _count {
      items
    }
  }
}

Returns a null count:
{
  "data": {
    "mylist": {
      "id": "6408705c0cd690ec08e5b690",
      "_count": null
    }
  }
}

Expected Behavior
The query should return the actual count so:
{
  "data": {
    "mylist": {
      "id": "6408705c0cd690ec08e5b690",
      "_count": {
        "items": 2
      }
    }
  }
}

Environment (please complete the following information):

OS: Manjaro 22.0.4
Node lts/gallium
typegraphql-prisma version 0.24.2 (the issue was also there with 0.21.4)
Prisma version 4.11 (the issue was also there with 4.3.0)
TypeScript version 4.5.4

Additional Context
I'm using MongoDB with prisma.

This feature is only available for the generated resolvers.
It's barely possible to make it working automagically for custom resolvers under the hood.
Check out the body of the generated resolvers and implement it in your custom resolvers:
async findFirstCategory(@Ctx() ctx: any, @Info() info: GraphQLResolveInfo, @Args(_returns => FindFirstCategoryArgs) args: FindFirstCategoryArgs): Promise<Category | null> {
    const { _count } = transformInfoIntoPrismaArgs(info);
    return getPrismaFromContext(ctx).category.findFirst({
      ...args,
      ...(_count && transformCountFieldIntoSelectRelationsCount(_count)),
    });
  }

You need to first read and parse the graphql resolve info to get into about requested fields in query. And then build a proper prisma args for fetching count for relations.

Okay, I thought this was an unexpected behavior.
Wouldn't it be possible to add this through the Query decorator?
Btw, I'd be up working on this if you think it's doable

It's not possible to achieve automagically via the @Query decorator.
The crucial part here is that we can't move this logic of transformInfoIntoPrismaArgs and transformCountFieldIntoSelectRelationsCount into relation resolvers (virtual _count filed working with all queries, even custom) because Prisma relations count is coupled with the main, root db query:
https://www.prisma.io/docs/concepts/components/prisma-client/aggregation-grouping-summarizing#count-relations
So that's why the crud resolver logic is reading gql query and apply _count part of the prisma query there.
If we moved them to the relation resolvers, we would be missing args from the graphql query, so all the filtration would be not taken into account.
Automagic decorator also won't automagically put the _count into your prisma.xyz.find() call.
All you could do is to create custom param decorator that contains all the logic, so you just get _count variable to put directly in your query.

OK now I see, we can make this working thus less optimal from query perspective 😉
@Resolver()
class UserResolver {
  @Query(() => [MainUser])
  async users(@Ctx() { prismaClient }: Context) {
    return prismaClient.user.findMany();
  }
}

@Resolver(() => MainUser)
class UserRelationsResolver {
  @FieldResolver(() => MainUserCount)
  async _count(
    @Root() root: MainUser,
    @Ctx() { prismaClient }: Context,
    @Info() info: GraphQLResolveInfo,
  ) {
    const _count = transformInfoIntoPrismaArgs(info);
    const data: any = await prismaClient.user.findUniqueOrThrow({
      where: { id: root.id },
      ...(_count && transformCountFieldIntoSelectRelationsCount(_count)),
    });
    return data._count;
  }
}

Nice! Thanks.


Failure installing the ruff extension for VSCode

Steps To Reproduce
I'm trying to install VSCode with this extension:
  (vscode-with-extensions.override {
    vscodeExtensions = pkgs.vscode-utils.extensionsFromVscodeMarketplace [
      {
        name = "ruff";
        publisher = "charliermash";
        version = "2023.5.10190053";
        sha256 = "sha256-Da9Anme6eoKLlkdYaeLFDXx0aQgrtepuUnw2jEPXCVr=";
      }
    ];
  })

The sha256 is wrong, but the installation fails already at downloading the extension from the marketplace.
Build log
error: builder for '/nix/store/kfbixs9jjmcslzhlv36f306gqjq37577-charliermash-ruff.zip.drv' failed with exit code 1;
       last 7 log lines:
       >
       > trying https://charliermash.gallery.vsassets.io/_apis/public/gallery/publisher/charliermash/extension/ruff/2023.5.10190053/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage
       >   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
       >                                  Dload  Upload   Total   Spent    Left  Speed
       >   0   315    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
       > curl: (22) The requested URL returned error: 404
       > error: cannot download charliermash-ruff.zip from any mirror

Additional context
Add any other context about the problem here.
 Time to set a larger font...


hashcat potfile, discard found items - suggest

Hi!
my suggest is to include an option in hcxdumptool to discard APs that are already found and we have the pass. I believe that the hashcat potfile could be used.
thanks!

hcxdumptool has 2 options to discard targets:
filterlists in combination with filter options
and
BPF code
Filterlists are working as attack filters (in transmit branch).
BPF code is working in transmit branch and in receive branch.
Please notice:
If the target activated MAC randomization, filterlists are useless.
Is there any reason to add another list (which would slow down hcxdumptool in a huge way)?

I can add a filtermode (hcashcat potfile) to hcxpcapngtool and hashashtool, too.
Than this targets will not longer converted to a has file.

Please notice:
We are online and all functions inside hcxdumptool are time-critical. We are counting in cpucycles/frame and usec values!
Here is an example:
$ tshark -r authentication.pcapng -T fields -E header=y -e frame.number -e frame.time
1	Nov 10, 2017 09:54:51.054512000 CET <- AUTHENTICATIONREQUEST
2	Nov 10, 2017 09:54:51.054880000 CET <- ACK
3	Nov 10, 2017 09:54:51.056408000 CET <- AUTHENTICATIONRESPONSE
4	Nov 10, 2017 09:54:51.056630000 CET <- ACK
If we receive frame 1, we must evaluate it and decide what to do before the next frame arrived!
Do you really think we can browse a hashcat potfile for ESSIDs, search the matching MAC(s) for this ESSID and respond in time without massive packet loss?

I've made a mistake, I'm trying to say the hascat outputfile, -o option, that includes client and AP mac addresses.
If hcxdumptool tests the passwords online and have success  could drop the search for that AP.

PBKDF2 is an extreme slow process. We can't do that on the fly.
Also hcxdumptool doesn't search for a target. hcxdumptool receive a frame, evaluate an incoming frame and decide what to to.
What you described is extactly the function of the MAC filter lists and the BPF code. This functiona are implemented:
If you don't want to attack an AP, put the MAC in the filter list AP  and use filter mode 2.
The AP will not be attacked
If you don't want to attack a CLIENT, put the MAC in the filter list CLIENT and use filter mode 2.
The CLIENT will not be attacked (as long as he use this MAC and not a randomized one).
Please note that this filter lists are limited (256 entries) to avoid packet loss.
As an alternative you can use BPF code. MACs from this code are ignored completey during receive time.
Why do we need another filterlist? You can use simple bash code to convert the output of hashcat -o to a filterlist.

I started to add PSK/MPK check to hcxhashtool by options --psk and --pmk.
We only test for a single PMK or a single PSK, because this calculations is slow on CPU.
If I find a way to increase speed I'll add pmk check from a potfile, too.
--psk=<PSK>                  : pre-shared key to test
                               due to PBKDF2 calculation this is a very slow process
                               no nonce error corrections
--pmk=<PMK>                  : plain master key to test
                               no nonce error corrections

Please notice, we are neither hashcat nor john and doing this on CPU, only.

This is an example about the speed impact, when calculating PBKDF2 on a hashfile on CPU:
$ time hcxhashtool -i test.22000 --psk=ABCDEFGH

OUI information file...: /home/zerobeat/.hcxtools/oui.txt
OUI entires............: 29053
total lines read.......: 18378
valid hash lines.......: 18378
PMKID hash lines.......: 3268
EAPOL hash lines.......: 15110

real	0m28,495s
user	0m28,478s
sys	0m0,007s

The speed impact is huge. And we are only calculating a single PSK, not more.
Now you can imagine what would happen, if we try to calculate all PSKs from a hashcat potfile.
There is no more time to evaluate incoming frames and to respond the target.

My proposal is related to improve hcxdumptool performance by discarding frames of bssid  already known in a previous session and of  the pair "client mac address-ssid" that we already have the password.
If I run multiple sessions of hcxdumptool-hashcat  in a dense wifi area this way is like an autolearn from session to session that could move the capture to the new ones forgetting the old known ones.

Running incoming frames through a filter list will decrease performance.
Please notice:
In every case hcxdumptool must receive a frame. And it is much, much faster to write this frame directly to a pcang file than running it through a MAC filter list. We simply have not the time to do this until the next frame arrived.
On the other hand, it looks totally different when transmitting a frame. Here we have much more time and decide by filterlist to attack or not to attack.
In other words:
If we analyze every incoming frame (and verify it against a filter list), we will loose many, many incoming packets.
BTW:
auto reload of filter lists is allready implemented since this PR from 12.07.2020:
https://github.com/ZerBea/hcxdumptool/pull/123

The idea behind hcxtools:
hcxdumptool (time sensitive)
receive every thing on the channel and save it to pcapng, regardless what it is (that is ultra fast)
attack everything except it is in a filterlist
you can make hcxdumptool complete silent in transmit branch, but you can't prevent that it doesn't receive if it is running
hcxpcapngtool (we have all the time in the world)
convert everything to a hashfile that hashcat/jtr accept
hcxhashtool (we have all the time in the world)
filter the hash file to that what you want or to increase cracking speed (due to reuse PBKDF2 for example)
worflow:
hcxdumptool -> hcxpcapngtool -> hcxhashtool  -> hashcat/john

To prevent countermeasures against us, we are fully randomized on every session. That is the reason why I didn't implemented to restore a session.
Example (same AP, same ESSID, but different MACs):
https://wpa-sec.stanev.org/?search=Fibertel+WiFi298+2.4GHz
https://wpa-sec.stanev.org/?search=Hausboot
BTW:
Most of the CLIENTs do the same to prevent tracking
Implementing your feature request would slow hcxdumptool down.

You are the creator and the expert and I believe you....
but my intuition is that computers write now could process 10 Gigabit ethernet  -with throughput of near 4Gigabits- and Wifi is so much slow..... I will make some experiments
;)

I added a new repository:
https://github.com/ZerBea/wifi_laboratory
It contain a skeleton that allow several tests. It also include a "lesson learned".
Feel free to use it and to add your own ideas.
Your intuition about computers is absolutely correct and I fully aggree
.
But we are talking about 802.11 protocol (packet oriented) that has its own rules.
That include several EAPOL timers:
EAP-Identity-Request Timeout
EAP-Identity-Request Max Retries
EAP-Request Timeout (seconds)
EAP-Request Max Retries
EAPOL-Key Timeout
EAPOL-Key Max Retries

If we receive a frame, we must (mandatory) respond within a specified period of time. Otherwise the target discard us.
Also we are talking about the  specific characteristics of the RF spectrum (2.4GHz and 5/6 Ghz).
And we are talking about a small system like a Raspberry Pi or an OpenWRT device.
If we start an attack, we absolutely know nothing about the target.
For your tests, I recommend to use a spectrum analyzer, to monitor what's going on on the RF channel.
Also I recommend to run Wireshark or tshark in parallel to monitor the traffic on the interface (request - respond times).

I'll don't close this feature request. Maybe you/we find a solution.
I started some tests, using the WiFi laboratory skeleton.

Please also notice that this feature is partly added. To use it:
create an ap_filter list with some initial entries
run hcxdumptool with options --filtermode=1 --filterlist_ap=filter.list
start hashcat and monitor -o output and get networks of which the PSK is recovered:
catnewmac | awk 'BEGIN { FS = ":" } ; { print $3F }' | sort | uniq > filter.list
send SGIHUB to hcxdumptool to reload the filterlist:
https://bash.cyberciti.biz/guide/Sending_signal_to_Processes

After several tests, I don't got a solution to verify hashcat potfile entries online.
Please notice:
Right now, we verify the if the PMK is zeored or not. That is the only (slow) hash calculation we can do.
Every additional calculation will end in a huge packet loss.


Adding a Python Course

Hacktoberfest notes:

due to volume of submissions, we may not be able to review PRs that do not pass tests and do not have informative titles.
please read our contributing guidelines
be sure to check the output of Travis-CI for linter errors
if this is your first open source contribution, make sure it's not your last!

What does this PR do?
Add Resource(s) | Remove Resource(s) | Add info | Improve Repo
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Not a duplicate
[x] Included author(s) if appropriate
[x] Lists are in alphabetical order
[ ] Needed indications added (PDF, access notes, under construction)

Why I get this error? Can someone help me?
When I go to Travis CI to look what's the problem, It's say: 'The command "fpb-lint ." exited with 1."
I don't know what's happening

free-programming-books/free-courses-pt_BR.md

199:1-210:125 warning Incorrect number of blank lines between last section and next heading


Removal of Single Page option documentation

Describe the bug
context
When I try to build jupyterbooks with the pdfhtml builder.
expectation
I expected a single page pdf to be able to be built from the jupyterbook docs when using the pdfhtml builder.
I expected to be able to find a reason or alternative for the deprecated single page output when using the pdfhtml output
bug
But instead a pdf is built with a super wide, unreadable, layout.
Examples of before and after can be see here
However, based on the size of the artefact (and looking at them) it appears that it may have broken in release 0.14.0
v0.13.2 - https://github.com/executablebooks/jupyter-book/actions/runs/4117887434 - 21.4 MB
v0.14.0 - https://github.com/executablebooks/jupyter-book/actions/runs/4299319674 - 852 KB
https://github.com/executablebooks/jupyter-book/pull/2003#issuecomment-1518097388
problem
After doing some digging i disovered the single_page html_theme_options was dropped.
When I tried to put it back a warning message says:
WARNING: 'single_page' was deprecated from version 0.3.4 onwards. See the CHANGELOG for more information: https://github.com/executablebooks/sphinx-book-theme/blob/master/CHANGELOG.md[sphinxbooktheme]

However, there is no 0.3.4 release and I cannot find a mention or reason in the later releases.
Reproduce the bug
checkout the main branch in jupterbooks
run the pdfhtml CI steps in the pdf.yml github action.
see the html output is as if it's rendered width ways rather than columnar, if you change bd-content class to flex-direction:column it looks more normal.
Undo these changes https://github.com/executablebooks/jupyter-book/pull/1842/files#diff-3232e101839424d49836f57312c088732de9ca1c3adc6baca0cdcd4c7a20560bL220-L261
Run again and you'll see the warning message.
List your environment
Jupyter Book      : 0.15.1
External ToC      : 0.3.1
MyST-Parser       : 0.18.1
MyST-NB           : 0.17.2
Sphinx Book Theme : 1.0.1
Jupyter-Cache     : 0.6.0
NbClient          : 0.7.3

Hmmmm I wonder if the theme is expecting some now-deprecated configuration and breaking as a result. The CSS rules should now have @print rules so that we don't need to special-case printing from a config option.

This actually seems to be acting as we'd expect on master of this repository. I tried building the master branch of this repo with:
tox -e docs-update singlehtml

and looked at the resulting HTML, and it seemed correct to me.

I had a similar issue with the error:
WARNING: 'single_page' was deprecated from version 0.3.4 onwards. See the CHANGELOG for more information: https://github.com/executablebooks/sphinx-book-theme/blob/master/CHANGELOG.md[sphinxbooktheme]

I am using Sphinx with Markdown and MyST. In an older version of sphinx-book-theme, setting "single_page": True works to remove the left sidebar from the HTML generated.
html_theme_options = {
  ...
  "single_page": True,  # Remove the left sidebar
}

I updated sphinx-book-theme and the above no longer works (left sidebar still present).
But this seems to work for me: setting the below in the conf.py
html_sidebars = {
    "**": [
      # 'sidebar-search-bs3.html',
      ]
}

(In case others are looking for the same solution)


⚠ SceneTime has degraded performance

In 0ff6054, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1284 ms

Resolved: SceneTime performance has improved in dc04b9c after 6 minutes.


python3Packages.aiohttp: 3.7.4.post0 -> 3.8.0

Motivation for this change
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Noticed python3Packages.ircrobots build failure bisected down to python3Packages.async-timeout: 3.0.1 -> 4.0.1:
$ nix build -f. python3Packages.ircrobots -L
...
python3.9-ircrobots> Requirement already satisfied: anyio in /nix/store/yw51l7qgnzd8zsipqsxmfywc5j366a0a-python3.9-anyio-3.3.4/lib/python3.9/site-packages (from ircrobots==0.3.8) (3.3.4)
python3.9-ircrobots> ERROR: Could not find a version that satisfies the requirement async-timeout~=3.0.1 (from ircrobots) (from versions: none)
python3.9-ircrobots> ERROR: No matching distribution found for async-timeout~=3.0.1


Prop: Question: V2 API  endpoint: ..2/tweets/search/recent

in previous API(1.1)
result was:
"1325930643247800322"	"1325929144597745665"	"True"	"fi"	"@riikkamarip Meillä oli täll....
a part of "id" and "text" a lot of other fields was in 'collect_results' func().
I particularity need  'in_reply_to_status_id_str','truncated' !
Now only:
{'id': '1334728746419576832', 'text': '#kiitollisuuskalenteri\n4. Päivä, ja olen tänään erit'}
Questions:
How I can find 'in_reply_to_status_id_str' ?
Probably new result not truncated any more?

You might try adding tweet_fields='referenced_tweets' to gen_request_parameters when building your request.

You might try adding tweet_fields='referenced_tweets' to gen_request_parameters when building your request.

Check out the new 'fields' and 'expansions' v2 request features:
https://developer.twitter.com/en/docs/twitter-api/fields
https://developer.twitter.com/en/docs/twitter-api/expansions
These enable you to design the JSON payloads you need.
And yes, with the new v2 JSON payloads, we don't need to truncate any attributes.

Check out the new 'fields' and 'expansions' v2 request features:
https://developer.twitter.com/en/docs/twitter-api/fields
https://developer.twitter.com/en/docs/twitter-api/expansions
These enable you to design the JSON payloads you need.
And yes, with the new v2 JSON payloads, we don't need to truncate any attributes.


k0s v1.26.1+k0s.0 failed to inspect container

I'm having trouble getting service maps working. I installed coroot into a 1 master node + 2 worker nodes cluster, all applications show external endpoints, and no CPU/Memory data is picked up.
I used helm which installed the following coroot versions:
$ helm install --namespace coroot --create-namespace coroot coroot/coroot

image: ghcr.io/coroot/coroot-node-agent:1.6.4
image: ghcr.io/coroot/coroot:0.13.1

$ k0s version
v1.26.1+k0s.0

$ uname -a
Linux kmaster 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

$ sudo sysctl -a | grep bpf
kernel.bpf_stats_enabled = 1
kernel.unprivileged_bpf_disabled = 0
net.core.bpf_jit_enable = 1
net.core.bpf_jit_harden = 0
net.core.bpf_jit_kallsyms = 1
net.core.bpf_jit_limit = 264241152

node agent logs are showing failed to get container metadata for pid and failed to inspect container errors
I0226 11:40:37.256313   13256 registry.go:191] TCP connection from unknown container {connection-open none 14216 <IP_ADDRESS>:46266 <IP_ADDRESS>:80 25<PHONE_NUMBER>867 <nil>}
W0226 11:40:37.256387   13256 registry.go:244] failed to get container metadata for pid 14216 -> /kubepods/burstable/podd785437d-e85d-40f0-b13f-52a66f1dda5d/cc5347fb09a49ab8a1017960f8c70e4e765dedb561cb0e2eb7325196fc4efcf4: failed to interact with dockerd (%!s(<nil>)) or with containerd (%!s(<nil>))

It seems that I could not push my code and create pull request, I got this error message:
Permission to coroot/coroot-node-agent.git denied to irvanmohamad
I would like to add support for k0s distribution in containerd.go file, so that it would be like this:
sockets := []string{"/var/snap/microk8s/common/run/containerd.sock", "/run/k3s/containerd/containerd.sock", "/run/containerd/containerd.sock", "/run/k0s/containerd.sock"}

@irvanmohamad, thank you for report.
Please update coroot-node-agent to version 1.6.5 (the helm chart has also been updated).

Thank you for the update. I have tested my k0s cluster with the new helm chart and it worked like a charm 🥳


Type existence check for _cdb_has_usable_geom_record isn't search_path aware

I'm trying to get the test suite running for the SQL API repo, and one of the issues I've run into is that the function def for _CDB_Has_Usable_Geom in scripts-available/CDB_CartodbfyTable.sql fails in the test database, because the Postgres instance claims that the data type _cdb_has_usable_geom_record doesn't exist.
The test database is templated off the template_postgis database which has the cartodb-postgresql extension installed, so in fact the function and data type should be there, but because Postgres doesn't let you inherit search_path from the template database, they're not actually visible to the test run user.
Conceivably that wouldn't be a problem, since scripts-available/CDB_CartodbfyTable.sql just goes ahead and redefines the datatype if it isn't present, EXCEPT that it does so by running the following:
https://github.com/CartoDB/cartodb-postgresql/blob/74210c5b5cec34bbcba117b973d7d17ab3ad26a0/scripts-available/CDB_CartodbfyTable.sql#L637-L650
The SELECT 1 FROM pg_type... query on 639 succeeds because the data type does exist in pg_catalog.pg_type, but it isn't actually visible to the user / process because the search_path for the new database doesn't include the cartodb schema.
So two things:

If you add AND pg_catalog.pg_type_is_visible(oid) to that SELECT 1 query, it will return 0 if the datatype isn't in the search_path for the database (and so will create it).
Seems like maybe in your Depends On section up top of CDB_CartodbfyTable.sql, you may want to include CDB_SearchPath.sql?

This should have been fixed when we added the schema to all function calls and types inside the extension. In any case, I'll modify the condition to check just the extension schema and not the whole pg_type.


go1.15 on windows

fix #12588
related: https://github.com/golang/go/issues/40795

@iamdoubz I tested this on a windows machine I had access to, but could you also try on yours?

This patch worked for 1.13 building on Windows.


A couple of HTML fixes

This PR fixes a couple of HTML formatting issues that were tripping a validator. I think you will find them to be uncontroversial.

@jacobwhall Thanks!


FIX: License metadata not published in Pypi

Summary
Temporary fix which revert "Apply PEP 639 (#1377)"  to avoid the current issue with license metadata not available in Pypi.
Close #1386
Note: I can't check why this problem did arise right now, I'll have a look later today if no one works on it in the meantime :)

Using license = {file = "LICENSE"} could also be an option


🐛 [Bug] aten::_convolution output shape no longer matches Pytorch after TensorRT 10 upgrade

Bug Description
The output shape of aten::_convolution no longer matches pytorch after the TensorRT 10 upgrade.
I have noticed that the output shape is correct when I pass in the weight matrix as a constant instead of as a input as done in the reproducer below.

To Reproduce
import torch, torch_tensorrt

class Model(torch.nn.Module):
    def forward(self, x,y):
        return torch.ops.aten._convolution(x, y, None, [1,1], [1,1], [1,1],False,[0,0],144,True,True,True,True)

model = Model().cuda()
input = torch.rand(20,144,55,55).cuda(), torch.rand(144,1,3,3).cuda()

compiled = torch_tensorrt.ts.compile(torch.jit.trace(model,input),input)

assert compiled(*input).shape == model(*input).shape

Expected behavior
The program should work without the assert failing.

Environment

Build information about Torch-TensorRT can be found by turning on debug messages

Torch-TensorRT Version (e.g. 1.0.0): 2.4.0
PyTorch Version (e.g. 1.0): 2.4.1
CPU Architecture:
OS (e.g., Linux): Linux
How you installed PyTorch (conda, pip, libtorch, source):
Build command you used (if compiling from source):
Are you using local sources or building from archives:
Python version:
CUDA version:
GPU models and configuration:
Any other relevant information:

Additional context

Hi @zewenli98, is there any update on this?

@matthewfl It seems to be the issue of TS path that had no longer been supported. Can you try replacing
compiled = torch_tensorrt.ts.compile(torch.jit.trace(model,input),input)

with
exp_program = torch.export.export(model, input)
compiled = torch_tensorrt.dynamo.compile(exp_program, input, min_block_size=1)

seems like this issue might be related to the output/post padding being handled differently between the two code paths
https://github.com/pytorch/TensorRT/blob/main/core/conversion/converters/impl/conv_deconv.cpp#L201

seems like this issue was related to the output/post padding being handled differently between the two code paths https://github.com/pytorch/TensorRT/blob/main/core/conversion/converters/impl/conv_deconv.cpp#L201

right. dynamo path uses pre-padding by default.


⚠ Jenkins Plugins Artifactory has degraded performance

In 240978b, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1219 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 8db26a4 after 12 minutes.


FLEETS  Cost Per Hour |Cost Delay Per Minute, not saving/aplying settings

Not aplying or saving settings in FLEETS Costs per hour/delay
7.0 Beta4
Steps to reproduce the behavior:

Go to 'Fleets'
Click on 'Edit Fleet'
Change Values in "Cost per hour/delay'
Save Settings
5.Check if settings have been saved or keep original values.

https://imgur.com/a/rThOmTB  (VIDEO STEP BY STEP)

Also having this issue.


Regressions cleanup

Task Description
Remove "Ridge Regression (Singleshot) - FreeSurfer Volumes" from GUI.
Github link

"Ridge Regression (Singleshot) - FreeSurfer Volumes" is currently tied to the FreeSurfer Vaults. Please connect "Regression - FreeSurfer Volumes" to FreeSurfer Vaults instead.


Status of this Project

Hi @rdower
It looks like this repo was made private, and then public again losing all its stars. Then we see in the commit history that was going to be archived which was then also undone. What is happening here, do you have any insights?

Several bugs were also closed & re-opened  (many times)...   Some automation script gone wild?

Yeah something smells of an automation script going rogue
https://github.com/intel/intel-device-plugins-for-kubernetes/pull/1751

@onedr0p the status of this project is unchanged (i.e., no plans to archive it and the work continues). your observation about what happened is correct but there were no bad actors involved. Github does not gracefully handle the case where a repo is made private and then reverted but we've gotten things almost back to where we were originally. apologies


Release 2.12.0-RC1

This will require https://github.com/scalamacros/paradise/issues/84 and then https://github.com/milessabin/macro-compat/issues/67
Also scala-js bumped to 0.6.12
Thanks

Both of those are done. So this is unblocked.

0.9.0 is on its way to Maven Central now.


No more label rotation when secondary_y=True on the same data

Pandas version I am using: 0.16.2
My initial chart is produced like this:
combined['fraud_count'].unstack(-2).unstack(-1).fillna(0).plot()

which looks very neat and perfect, as expected.
In the next step, I am trying to use the secondary_y feature like this:
combined['fraud_count'].unstack(-2).unstack(-1).fillna(0).plot()
combined['fraud_amount'].unstack(-2).unstack(-1).fillna(0).plot(secondary_y=True)

which doesn't produce a secondary axis. So, I do it this way:
ax = combined['fraud_count'].unstack(-2).unstack(-1).fillna(0).plot()
ax2 = combined['fraud_amount'].unstack(-2).unstack(-1).fillna(0).plot(secondary_y=True, ax = ax)

which produces the chart I want.
However, the labels on the x-axis are not rotated any more but written horizontally and overlapping each other.
I was trying some ways to get this fixed but none of them really seemed to work.
I believe this is a quite common thing to do, so I'd be happy to hear how this could be done. Any help is welcome!

@alybel can you give a copy-pastable example and paste an image of what looks wrong? I think you'd be better off just clearing the xticklabels from the first plot.
In [22]: df = pd.DataFrame(np.random.randn(10, 2), columns=['a', 'b'])

In [23]: ax = df.a.plot()

In [24]: ax.set(xticklabels=[])
Out[24]: [[]]

In [25]: df.b.plot(ax=ax, secondary_y=True)

I tried your suggestion, but it didn't quite work as hoped.
I now run the following commands with sample data (just copy and paste):
import pandas as pd

df = pd.DataFrame.from_dict({'Company': {0: 'Company ABCDE',
  1: 'Company DEFGH',
  2: 'Company IOERGIUW',
  3: 'Company ERGWG',
  4: 'Company ERGEGRE',
  5: 'Company ERGWGH',
  6: 'Company ABCDE',
  7: 'Company DEFGH',
  8: 'Company IOERGIUW',
  9: 'Company ERGWG',
  10: 'Company ERGEGRE',
  11: 'Company ERGWGH'},
 'Metric1': {0: 1,
  1: 2,
  2: 3,
  3: 4,
  4: 5,
  5: 6,
  6: 6,
  7: 5,
  8: 1,
  9: 2,
  10: 4,
  11: 3},
 'Metric2': {0: 3,
  1: 4,
  2: 5,
  3: 6,
  4: 7,
  5: 8,
  6: 5,
  7: 8,
  8: 3,
  9: 7,
  10: 6,
  11: 4},
 'month': {0: 1,
  1: 1,
  2: 1,
  3: 1,
  4: 1,
  5: 1,
  6: 2,
  7: 2,
  8: 2,
  9: 2,
  10: 2,
  11: 2},
 'year': {0: 2015,
  1: 2015,
  2: 2015,
  3: 2015,
  4: 2015,
  5: 2015,
  6: 2015,
  7: 2015,
  8: 2015,
  9: 2015,
  10: 2015,
  11: 2015}})

df = df.set_index(['Company', 'year', 'month'])
ax = df.Metric1.unstack([-1,-2]).plot(kind='bar')
df.Metric2.unstack([-1,-2]).plot(secondary_y=True, ax = ax)

The last line adds a plot with a secondary y-axis as expected. However unfortunately, the x -axis labels are now displayed horizontally, which destroys the readibility.
Thanks for any help on this!

Didn't realize that you were mixing plot types. Bar and line will have different ticks in general since bar will plot every label. I guess you could try reversing the order?
In [10]: ax = df.Metric2.unstack([-1,-2]).plot()
In [11]: ax.set(xticks=[])
Out[11]: [[]]
In [13]: df.Metric1.unstack([-1,-2]).plot(kind='bar', ax=ax)
Out[13]: <matplotlib.axes._subplots.AxesSubplot at 0x10b6b1a20>

You're probably better off doing this all in matplotlib though. Once you start needing custom stuff the higher-level pandas API breaks down.

Thanks a lot, this clarified it!


Fix handling of second argument of Regexp.new.

I think that second argument of Regexp.new should be Integer according to ISO spec.

Option check has been added.


Make the provider schema stable for environment variables

Fixes: #223
When using Required and DefaultFunc at the same time, the attribute may become Optional depending on the result returned by DefaultFunc(FYI). This makes the schema unstable.
This PR fixes this behaviour by making api_key optional. Validations for api_key will be performed at provider initialization time.
Output from acceptance testing:

$ make testacc TESTS='TestAccMackerelService'
TF_ACC=1 go test -v ./mackerel/... -run TestAccMackerelService -timeout 120m
=== RUN   TestAccMackerelServiceMetadata
=== PAUSE TestAccMackerelServiceMetadata
=== RUN   TestAccMackerelService
=== PAUSE TestAccMackerelService
=== CONT  TestAccMackerelServiceMetadata
=== CONT  TestAccMackerelService
=== RUN   TestAccMackerelService/with_memo
=== PAUSE TestAccMackerelService/with_memo
=== RUN   TestAccMackerelService/no_memo
=== PAUSE TestAccMackerelService/no_memo
=== CONT  TestAccMackerelService/with_memo
=== CONT  TestAccMackerelService/no_memo
--- PASS: TestAccMackerelServiceMetadata (9.68s)
--- PASS: TestAccMackerelService (0.00s)
    --- PASS: TestAccMackerelService/with_memo (9.52s)
    --- PASS: TestAccMackerelService/no_memo (10.10s)
PASS
ok      github.com/mackerelio-labs/terraform-provider-mackerel/mackerel 11.202s

It seems that Required and DefaultFunc are used at the same time for api_base as well. How about making this optional as well?

api_base is optional and seems to be no need to change.


03/26/2018 22:55 : Create Pull Request for branch master -> prTesting1_2018032622

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Process oasst dataset

When loading the oasst dataset with the provided function get_oasst() directly, the error occurs: TypeError: Expected a pyarrow.Table or a datasets.table.Table object, but got OASST. Do I miss something to correctly process the data? Thanks
https://github.com/ContextualAI/HALOs/blob/main/dataloader.py#L315

Sry I did not see the class Dataset in dataloader.py

glad it worked out!


Startup Error in Godot 4

At startup, an error occurs, referring to the "Neural_Network.gd" script, the error text looks like this:
Trying to return an array of type "Array" where expected return type is "Array[float]".
Code debugger points to line 134 "return predict(array)"

Same as #2


BUGS: Make social icon black and on hover original color

Source code: https://codepen.io/ben1099user/details/rNMOMpK

Result


Install page "details text" cut off

This issue was originally created at: 2011-11-15 16:26:36.
This issue was reported by: andersk.
andersk said at 2011-11-15 16:26:36

The path label is cut off, possibly some kind of word wrapping going on or a
control size problem.

andersk said at 2011-11-15 16:30:09

Created an attachment (id=881)
Screenshot

andersk attached sconsinst.png at 2011-11-15 16:30:09.

Screenshot

This looks like a Windows installer thing, and since that no longer exists, maybe close?

Closing.. installer no longer supported.


Update github.sh

added public/private commit msg
added checkpoints after merge,clone,pr creation
clone at org level prevented
changed flow to first push artifacts to private repo and then push metadata to artifacts repo
Signed-off-by<EMAIL_ADDRESS>

@aishwaryapradeep01 Can you look at avoiding duplicate code between public and private repos?
if(Private)
git add/push to private repo
Do common code for pushing to public repo
if(private)
git add only readme
else
git add all the demo assets
common git push.

Made changes accordingly


Skip parentheses in search field

Describe the bug
When a classification with parentheses in the name property is chosen by mouse click in a search field, search fails.
To Reproduce

"Create a subset" -> "Search codes"
In the search field type 'nær'
When alternatives are shown, select "Standard for næringsgruppering (SN)", press ENTER.
No classifications found. It's wrong. There has to be one.
Place cursor in the input field and remove text from the end to the first parenthese include.
Press ENTER again.
The correct search serult is present: Standard for næringsgruppering (SN).

Expected behavior

Search fields has to ignor unaxeptable text, and respose with correct result.
Any restrictions have to be text message about in the GUI.

Suggested solution
0. When clicked on the suggestion the search results have to appear immeditely, without extra ENTER press.

Filter text in the inputs automaticalluy
Tooltip about spec chars

App also crashes if we remove one of the parentheses in search field. "SubsetCodes.jsx:57 Uncaught SyntaxError: Invalid regular expression: /standard for næringsgruppering (sn/: Unterminated group"


Automated cherry pick of #5705: Add Hairpin traffic limitation doc

Cherry pick of #5705 on release-1.13.
#5705: Add Hairpin traffic limitation doc
For details on the cherry pick process, see the cherry pick requests page.

/skip-all


error: failed to find pattern...

hello, does anybody know how to fix this error? also I included my injector (xenos) and its configuration in the screenshot.

Cheat is outdated, update it by yourself or wait for Daniel to do it.

Fixed

thanks!


HELM client - x509: too many intermediates for path length constraint

Output of helm version:
Client: &version.Version{SemVer:"v2.10.0", GitCommit:"9ad53aac42165a5fadc6c87be0dea6b115f93090", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.10.0", GitCommit:"9ad53aac42165a5fadc6c87be0dea6b115f93090", GitTreeState:"clean"}

Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.6", GitCommit:"a21fdbd78dde8f5447f5f6c331f7eb6f80bd684e", GitTreeState:"clean", BuildDate:"2018-07-26T10:17:47Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.3", GitCommit:"2bba0127d85d5a46ab4b778548be28623b32d0b0", GitTreeState:"clean", BuildDate:"2018-05-28T20:13:43Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

Cloud Provider/Platform (AKS, GKE, Minikube etc.):
aws
After upgrade from helm v2.10.0-rc.3 up to v2.10.0
Got on private registry with internal ssl certificates
helm repo update
x509: too many intermediates for path length constraint

Not related to helm, but related to brew upgrade


Help with React_on Rails Latest with Bootstrap 4

I am very keen to use this to rehaul our current rails app.  I need to be able to incorporate Bootstrap 4 and going through the tutorial I am stuck at understanding how to add bootstrap 4.  I use the default rails generate react_on_rails:install and then try to follow the directions for bootstrap-loader and in the end I end up with this on hello world.

Did you find a solution @rnikunen? Can we close this issue?


modularized code, added workflows for linting formatting and building

TL;DR
Restructured project, added GitHub Actions, and updated configuration files.
What changed?

Moved source code from lib/lib.ts to src/index.ts and src/types.ts
Added GitHub Actions workflows for build and lint/format
Updated package.json scripts and main/types paths
Modified tsconfig.json to reflect new source directory
Updated biome.json with ignore patterns
Adjusted test files to import from new source location

Why make this change?
This restructuring improves the project's organization, making it easier to maintain and contribute to. The addition of GitHub Actions enhances the development workflow by automating build and code quality checks. Updated configuration files ensure proper functionality with the new structure, while the separation of types into a dedicated file improves code readability and maintainability.

Hey @ThatGuyJamal can i get some feedback on this and wether its helpful or not to the project, thank you in advance

Thanks for making the  PR @mAmineChniti so sorry I'm just seeing this! It's been a wild two weeks.

I like the changes, thanks for helping out! Do you have twitter I would love to talk more.

I like the changes, thanks for helping out! Do you have twitter I would love to talk more.

yeah its @dada_buddha_


multi: remove Litecoin

This PR removes the ability to configure LND with a Litecoin backend.

Thanks for the comments @morehouse  & @feelancer21 ! Updated 🚀

@feelancer21  - any ideas why the sample conf script fails? it passes locally for me

@feelancer21 - any ideas why the sample conf script fails? it passes locally for me

Yes and No. The error is
Option tlsextradomain: defaults don't match - sample-lnd.conf:                 '', lnd: 'false'
The option already gave me a headache during the implementation because it is mentioned in the help text too. Must be related to tmux. But I have no idea why it occurs now again. I'll look at it in detail later.

Needs a rebase.

The parser of the config file format is a bit wonky. So having things in there that don't exist anymore would explain the behavior.

The parser of the config file format is a bit wonky. So having things in there that don't exist anymore would explain the behavior.

From https://github.com/lightningnetwork/lnd/blob/v0.18.0-beta/config.go#L771-L776:
// If it's a parsing related error, then we'll return
// immediately, otherwise we can proceed as possibly the config
// file doesn't exist which is OK.
if _, ok := err.(*flags.IniError); ok {
	return nil, err
}

Do I understand correctly that this means it continued as if no config file was present?

Would need to look into it in more detail, but I think the flags.IniError is only returned if the actual format of the file is wrong (so it cannot be parsed correctly), not when its content is incorrect.
So maybe the PR @michael1011 just put up right now (#8822) fixes the problem?
Would be great if you could add the Litecoin parts back and test if you get a proper error when you run that PR?


chore(main): release 0.4.2

:robot: I have created a release beep boop
0.4.2 (2024-10-21)
Bug Fixes

log url with room id in case of errors (628301e)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.4.2
:sunflower:


Black screen instead of an image after successfull txLoaded  event

Image format webp
The issue is reproducible on Comcast devices (xi5).
The application has a Slide show component that renders a new image every  15 seconds.
After the application is active for some time (30 min and more)  when the next slide component is loaded instead of an image the black screen appears.
We noticed that on each newly loaded image Graphic Memory usage increases by 1.5% - 2%
At the same time when the new image is loaded the slide show component deletes the previous image texture
(checked by subscribing to txUnloaded event)
Is there a way to prevent appearing of the black screen?

Well, I don't know how you are creating that Slideshow but is a good practice to remove the elements that are out of the screen (do a simple garbage collection) or, also, increase the "memorypreassure" value on the settings.

@jhderojasUVa ,  we remove the previous image that is out of the screen by calling
this.tag('Container').childList.remove([out of the screen tag])
Thank you, we will try to increase the "memorypreassure" value on the settings.

But is there maybe a better way to do garbage collection?

Hi @AndriyShpyra,
there could be multiple reasons for such behaviour. The most prominent one is the device cannot provide enough GPU memory for the application. In that case, you could try adjusting memoryPressure stage setting (https://rdkcentral.github.io/Lightning/docs/gettingStarted/stage-configuration) which you actually want to decrease so that the app triggers garbage collection cycles before the available memory threshold is reached (or any memory memory limit you deem appropriate). You can also trigger those cycles manually using stage.gc() method if you want to have more control over memory in your application.
Let me know if that helped.
Best regards

Hi @g-zachar @jhderojasUVa
calling stage.gc() seems to resolve the issue with the black screen appearance.
We keep testing but so far looks good.
Thank you!


Investigate alternate means of saving / cancelling sourcephrase edits

Adapt It Mobile Version: 1.0 beta 3
Severity: 3
Description: This is a larger issue affecting the current AIM adaptation engine.
Currently, the user "accepts" the edits made in a target field by doing one of the following:

Clicking on the Next or Previous buttons in the toolbar (or the Next/Previous buttons on the software keyboard in iOS).
Typing ENTER, TAB or Shift+TAB in an external keyboard.

Clicking in another area on the screen currently signals an implicit Cancel operation. The reason for this design is that there is no Escape key in the software keyboard. But this design also has the unintended consequence of not saving changes when the user leaves the app -- either intentionally (jumping out to check the weather, for example), or when the device interrupts the app for one reason or another (incoming call, background process requiring attention, low power/going to sleep, etc.).
This issue is to investigate whether some other alternate means of signaling a call to save / cancel an edit in the target field would prove more usable.

Work complete on this item:

SourcePhrase and KB are now updated instead of canceled when the target edit field is blurred. There are two exceptions to this:

If the user truly has not made any change (i.e., the field already had something in it, and the user did not change that text).
If more than one KB entry was found -- causing AIM to create the drop-down edit field -- and the user did not select an entry (or create a new one).

In order to revert typing in the target text edit field, there is a new Undo button that will revert the target text to its previous state. See Issue #225 for details.


[Need support]:

Describe the problem
Hi, I just wanted to see the open-source code of treecomparing classes.
Healenium Web version
None
Healenium Backend version
None
Selenium version
No response
Platform
No response
Logs appeared during using Healenium
N/A

Additional context
No response

Hi @orb-277 , Tree-comparing is our individual algorithm and we don't release it to the public


Improved error handling for child device support of c8y-configuration-plugin

Is your feature improvement request related to a problem? Please describe.

While requesting a config snapshot from the child device, if the child device send the successful operation status without uploading the config snapshot file, thin-edge should mark that operation as failed in the cloud even though the child device wrongly reports that the operation is successful. Currently the plugin crashes when it fails to download the config snapshot file from the file-transfer service that it expected the child device to upload.
Similarly, the config download/upload operations in the cloud must be failed if the download/upload of the child device config artefacts from the cloud fails, before they can even be shared with the child devices.
To simplify the config snapshot management in the plugin, the uploaded artefacts from the file-transfer-service may be read/updated/deleted directly from the file system instead of using HTTP GET/PUT/DELETE.

c8y-configuration-plugin crash examples:
mosquitto_pub -h <IP_ADDRESS> -t "tedge/CD18102022160629$/commands/res/config_snapshot" -m '{"status": "successful", "path": "/home/pi", "type": "file_a", "reason": null}
instead of:
c8y-configuration-plugin crash examples: mosquitto_pub -h <IP_ADDRESS> -t "tedge/CD18102022160629/commands/res/config_snapshot" -m '{"status": "successful", "path": "/home/pi", "type": "file_a", "reason": null}
please note the $ sign in the child device id
Different typo errors in the command and the crush of the plugin:
mosquitto_pub -h <IP_ADDRESS> -t "tedge/CD18102022160629/commands/res/config_snapshot" -m '{"status": "successful", "path": "/home/pi", "type": "file_a", "reason": null}'
mosquitto_pub -h <IP_ADDRESS> -t "tedge/CD18102022160629/commands/res/config_snapshots" -m '{"status": "successful", "path": "/home/pi", "type": "file_a", "reason": null}'
mosquitto_pub -h <IP_ADDRESS> -t "tedge/CD18102022160629/commands/res/config_snapshot" -m '{"status": "successful", "path": "/home/pi", "type": "file_a", "reason": null}'
mosquitto_pub -h <IP_ADDRESS> -t "tedge/CD18102022160629/commands/res/config_snapshot" -m '{"status": "successful", "path": "/home/pi", "type": "file_a", "reason": null}'
at this point plugin crushes with following message:
LOG
2022-10-19T10:17:37.836266497Z  INFO c8y_configuration_plugin: config snapshot response
2022-10-19T10:17:37.836617485Z  INFO c8y_configuration_plugin::upload: Downloading the config file snapshot uploaded by the child device from url: http://<IP_ADDRESS>:8000/tedge/file-transfer/CD18102022160629$/config_snapshot/file_a
Error: JSON parse error: "HTTP status client error (404 Not Found) for url (http://<IP_ADDRESS>:8000/tedge/file-transfer/CD18102022160629$/config_snapshot/file_a)"
Plugin started again
mosquitto_pub -h <IP_ADDRESS> -t "tedge/CD18102022160629/commands/res/config_snapshot" -m '{"status": "successful", "path": "/home/pi", "type": "file_a", "reason": null}'
at this point plugin crushes again
LOG:
2022-10-19T10:22:34.067159033Z  INFO c8y_configuration_plugin: config snapshot response
2022-10-19T10:22:34.067344449Z  INFO c8y_configuration_plugin::upload: Downloading the config file snapshot uploaded by the child device from url: http://<IP_ADDRESS>:8000/tedge/file-transfer/CD18102022160629/config_snapshot/file_a
Error: JSON parse error: "HTTP status client error (404 Not Found) for url (http://<IP_ADDRESS>:8000/tedge/file-transfer/CD18102022160629/config_snapshot/file_a)"
Plugin started again
mosquitto_pub -h <IP_ADDRESS> -t "tedge/CD18102022160629/commands/res/config_snapshot" -m '{"status": "successful", "path": "/home/pi", "type": "file_a", "reason": null}' ^[OAError: No route to host
mosquitto_pub -h <IP_ADDRESS> -t "tedge/CD18102022160629/commands/res/config_snapshot" -m '{"status": "successful", "path": "/home/pi", "type": "file_a", "reason": null}'
at this point plugin crushes again
LOG:
2022-10-19T10:26:06.246069061Z  INFO c8y_configuration_plugin: config snapshot response
2022-10-19T10:26:06.246265675Z  INFO c8y_configuration_plugin::upload: Downloading the config file snapshot uploaded by the child device from url: http://<IP_ADDRESS>:8000/tedge/file-transfer/CD18102022160629/config_snapshot/file_a
Error: JSON parse error: "HTTP status client error (404 Not Found) for url (http://<IP_ADDRESS>:8000/tedge/file-transfer/CD18102022160629/config_snapshot/file_a)"

Tests Cases
Improvements made in #1502 which can be tested with build https://github.com/thin-edge/thin-edge.io/actions/runs/3323067864 are:

If a child device sends a successful response to a config_snapshot request without uploading the config file to thin-edge file repository, the operation in the cloud is failed.
If thin-edge fails to download the config file specified in the URL field of c8y_DownloadConfigFile request, that operation is failed in the cloud, without even forwarding that request as a config_update request to the child device.
When child device sends bad response (invalid JSON response) to config_update or config_snapshot requests from thin-edge, that failure is not just logged but the operation is failed in the cloud as well.
If the plugin receives a request for a config-type that's not listed in the child device's c8y-configuration-plugin.toml, the plugin ignores that request with a warning in the log that it is an unknown type. The operation in the cloud is not failed, to give a chance for some other software to process that request.


[Feature] Linear-Probe Image Classification for InternViT-300M

Motivation
from this link, It would be good if we have 300M version of this model too. Or even just provide the .pth version and LinearProbe model script to do this.
Related resources
https://github.com/OpenGVLab/InternVL/tree/main/classification#-evaluation
Additional context
No response

Thank you for your suggestion. I also want to evaluate this model using linear probing. I will add this assessment to our plan.

Thank you for your suggestion. I also want to evaluate this model using linear probing. I will add this assessment to our plan.

segmentation too :)

Thank you for your suggestion. I also want to evaluate this model using linear probing. I will add this assessment to our plan.

segmentation too :)

Any updates？


GEODE-8775: Add gfsh execute function support

Adds support to the new C++ test framework for executing the gfsh command: execute function
Note: The new .NET test framework already has this functionality.

Good questions moleske. Yes, I have a new ClassAsKey test (which depends on this new gfsh functionality) for C++ ready to submit as soon as this PR gets merged. I chose to keep this PR separate since it really is just a test framework enhancement.


[STYLE CHANGE] : Can change background colors

As we can see the footer's & contributors card's color do not coordinate with the Home page , we can better edit it to make coordinations better .

Hey @akshitagupta15june , kindly assign this issue to me under GSSoC'24

Hello, please assign this issue to me under ssoc.


[Tests] Detecting Lateral Movement in Entra ID: Cross Tenant Synchronization

Based on this article: https://www.xintra.org/blog/lateral-movement-entraid-cross-tenant-synchronization
I wrote few Pester tests, which hopefully covers the detection methodologies:
Describe "Entra ID Cross Tenant Synchronization Detection" {
    # Test 1: Check for anomalous admin user activity
    It "should detect anomalous activity by admin users" {
        $adminActivity = Get-AdminActivity -TenantID "YourTenantID"
        $anomalousActivity = $adminActivity | Where-Object { $_.Activity -match "SuspiciousPattern" }
        $anomalousActivity.Count | Should -BeGreaterThan 0
    }

    # Test 2: Validate cross-tenant access logs
    It "should validate cross-tenant access logs" {
        $accessLogs = Get-CrossTenantAccessLogs -TenantID "YourTenantID"
        $suspiciousAccess = $accessLogs | Where-Object { $_.SourceTenantID -ne "YourTenantID" -and $_.Activity -eq "Access" }
        $suspiciousAccess.Count | Should -BeGreaterThan 0
    }

    # Test 3: Detect unauthorized application permissions
    It "should detect unauthorized application permissions" {
        $appPermissions = Get-AppPermissions -TenantID "YourTenantID"
        $unauthorizedPermissions = $appPermissions | Where-Object { $_.Permissions -match "UnauthorizedPattern" }
        $unauthorizedPermissions.Count | Should -BeGreaterThan 0
    }

    # Test 4: Verify tenant synchronization settings
    It "should verify tenant synchronization settings" {
        $syncSettings = Get-TenantSyncSettings -TenantID "YourTenantID"
        $unexpectedSettings = $syncSettings | Where-Object { $_.Setting -match "UnexpectedPattern" }
        $unexpectedSettings.Count | Should -Be 0
    }
}

In these tests:

Replace "YourTenantID" with the actual tenant ID.
The Get-AdminActivity, Get-CrossTenantAccessLogs, Get-AppPermissions, and Get-TenantSyncSettings cmdlets should be replaced with the actual cmdlets or functions used in your environment to retrieve these logs and settings.
Adjust the "SuspiciousPattern", "UnauthorizedPattern", and "UnexpectedPattern" with the actual patterns you are looking for based on the detection methodology.

I hope they can help secure our tenants.

Tx @fdicarlo I'll move this to discussion.


Discontinued part: PVC clamping hub

https://www.servocity.com/1-315-pvc-clamp-hub-b is discontinued and should be replaced with another component

This part is out of stock as well https://www.servocity.com/0-500-1-2-aluminum-tubing#371=455


Replace image exists func

That's the smartest what I could do.

Btw, in the loop where we iterate over tags, we can actually spawn separate goroutine per tag.
With that we can make it super fast I believe
But that's separate issue

Tested with azure container registry, works fine


Question:  Why does polymer use layout attributes instead of layout css classes?

It seems that using css classes would be more correct, so I'm wondering if there is some compelling logic behind this decision.

Closing this issue due to age and the release of version 1 of Polymer - please feel free to re-open if this is incorrect.


Rotation and validation button have disappeared in the Image manager

Rotation and validation button have disappeared in the Image manager

Cannot reproduce anymore. Thanks @VaiTon


Potent Spellcaster bug?

boomingblade is not affected by Potent Spellcaster. Is this by design? Or is it a bug?

It’s a weapon attack. By design.


problem with antidotec_counter when running dialyzer

Checking whether the PLT .local_dialyzer_plt is up-to-date...
dialyzer: Not a regular file: /Users/alek/Dropbox/PhD/code/antidote/deps/antidote_pb/ebin/antidotec_counter.beam
any clue?

Solved by checking out antidote from scratch...

This problem is caused when you've built a PLT from a branch containing a certain module and then you switch and the PLT is no longer valid, because it's got a reference to something in the persistent lookup table that no longer exists in the compiled beam files.
You should fix the Makefile to remove the local PLT when running distclean and then ensure you always distclean when switching branches, else you run the risk of testing an incorrect build of Antidote.
Reopening, please address.

I don't know what a PLT is.
How could I solve it? I've never touched this make file.

Addressed by #145.

Yesterday, I ran into the case when I am in master, I make dialyzer, no problem.
Then, I distclean, switch to another branch, there is an issue (with some code I changed).
Then, I distclean, switch to master branch again, run dialyzer, and get the same dialyzer error I got in the other branch.


Fails to restore from mbox to group

I don't know if i'm doing something wrong or there is a bug. I grabbed a .mbox file from my gmail account (single label) and trying to upload it to a google group using GYB.
However it fails. It worked fine with a backup taken by GYB but with .mbox files it doesnt. I need to see if i can get the mbox upload to work as i'm migrating a bunch of shared folders and converting them to .mbox and uploading to groups using GYB would be the best way (almost only way atm).
this is what happens.
Nurv:got-your-back-0.29 bmk$ python gyb.py --email<EMAIL_ADDRESS>--action restore-group --action restore-mbox --local-folder "./input/coding.mbox" --use-admin<EMAIL_ADDRESS>Traceback (most recent call last):
  File "gyb.py", line 1323, in <module>
    main(sys.argv[1:])
  File "gyb.py", line 575, in main
    imapconn = gimaplib.ImapConnect(generateXOAuthString(options.email, options.service_account), options.debug)
  File "/Users/bmk/Downloads/got-your-back-0.29/gimaplib.py", line 50, in ImapConnect
    imap_conn.authenticate('XOAUTH2', lambda x: xoauth_string)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/imaplib.py", line 351, in authenticate
    raise self.error(dat[-1])
imaplib.error: Lookup failed ru8mb72396831lbb

I have edited the above slightly in order to mask a bit of the details about domain ect. But both the admin user works, and the groups mail add is correct. And as said both work with a backup created by GYB but wha ti need is the ability to restore .mbox files into groups.

Hi. I get the same error when trying to restore an mbox file from Ubuntu
Traceback (most recent call last):
File "gyb.py", line 1323, in
main(sys.argv[1:])
File "gyb.py", line 601, in main
sqlconn = sqlite3.connect(sqldbfile, detect_types=sqlite3.PARSE_DECLTYPES)
sqlite3.OperationalError: unable to open database file
Any suggestions?

I also get the same error as muher trying to restore-mbox from Centos 6.2
Any help?
best regards,
adolfo

I'm having the exact same problem on OS X.
My arguments are: gyb --email<EMAIL_ADDRESS>--action restore-mbox ~/Documents/ndgov\ mailbox/Inbox.mbox/
The error is: "Using backup folder<EMAIL_ADDRESS>Traceback (most recent call last):
File "gyb.py", line 1323, in
main(sys.argv[1:])
File "gyb.py", line 601, in main
sqlconn = sqlite3.connect(sqldbfile, detect_types=sqlite3.PARSE_DECLTYPES)
sqlite3.OperationalError: unable to open database file"
I think part of the problem might be the "Using backup folder" as I do not have that folder and this .mbox file was not made from a GYB backup. But, I'm not sure about that because I saw a message from Jay Lee on another board stating that it was possible to restore .mbox files in general:
http://webapps.stackexchange.com/questions/71346/upload-emails-to-gmail-account-from-the-google-takeout-generated-mbox-file

Well we simply wound up not doing anything this way. We migrated from courier imap server to gmail using GAMME tool from google itself, and simply killed off groups and similar setups.


News Website Project

Describe the project
Make an attractive responsive news channel site using HTML, CSS and JS, the user interface should be clean and fair. It must contain some newly published news after refreshing.
Issue Type:

[ ] Bug Report
[ ] Feature Request
[ ] Documentation
[x] New Project

Additional context
I expect that it might be done with a proper approach. It contains reliable and trusted news only.
Screenshots

If applicable, add screenshots to help explain your problem.

@TusharKesarwani @zugzwang03 sir please assign me this issue under SSOC 2.0


TabNavigation: Scoll to Top Functionality

On a lot of mobile apps, if you are on your News Feed tab and scroll down a bit, tapping on the News Feed tab again will scroll the ScrollView to the top. Similar to the effect of pressing on the status bar (at least in iOS).
How might one implement this with TabNavigator?

I'd be in support of a GoToTop action for this. The active tab would fire that action instead of the navigate action. I think the route key should also be included in the action.
The first tap would cause the tab to "pop-to-top" within it, and the second tap could cause the scroll-up

@ericvicenti yep, that's exactly what I'm looking for.

@ericvicenti when you plan to add this? How we can do that in current beta version?

Closing in favour of #314

my additional suggestion:
user also can be in second stack in the tab. if he/she clicks the same-tab (where he is) then it should also go to initial stack in the tabe.

On a lot of mobile apps, if you are on your News Feed tab and scroll down a bit, tapping on the News Feed tab again will scroll the ScrollView to the top. Similar to the effect of pressing on the status bar (at least in iOS).
How might one implement this with TabNavigator?

I still feel like there is no clear documentation on how to do this. I'm trying to figure out a way to have my 'Header Title' have the same scroll to top functionality as tabBarOnPress (i.e. the instagram logo) and the tap on the status bar. Does anyone possibly have any examples they might be able to share?

this happens automatically when you tap status bar, you don't have to add any code, it's built into the os. to make it work with tab navigators you need to use these things: https://reactnavigation.org/docs/en/scrollables.html.
on tab navigator this is implemented by calling navigation.emit('refocus') (https://github.com/react-navigation/react-navigation-tabs/blob/542a5cc35e19edbc272e4946d0754ec8c6d1941e/src/utils/createTabNavigator.js#L121-L132)  and the scrollable listens for this event and then scrolls to top (https://github.com/react-navigation/react-navigation-native/blob/39317023080a7e33e9e064a90860d3011bcf56c6/src/createNavigationAwareScrollable.js#L13-L27)
now that i've explained it, it'd be cool if you could open a pr to make this more clear in the docs! related issue: https://github.com/react-navigation/react-navigation.github.io/issues/360

Hi @brentvatne, I've configured the functionality that is intended and created a PR.
Extending the props that are passed to the headerTitle will allow us to take action with navigation state in mind. The example of what we're trying to achieve is utilizing the params object within the static navigationOptions to scroll to top of the page by tapping on the headerTitle component specifically. This is separate from utilizing the Status Bar functionality provided by the OS. This also allows us to extend to even further functionality when creating custom navigation headers (specifically touchable and accessible ones), while not disturbing what is currently being rendered by default.
Let me know if there are any questions or concerns.
Thanks


Move constants & env to central config

Resolves #90
This PR moves all usages of process.env.* to a central config.ts file which replaces the old constants.ts file. Also, instead of having a arbitrary class, it is now a pure JS object, so it's much easier to edit and use.
This allows us to remove the temporary database/getBaseUrl.ts and as such refactors test mocks to work alongside the new changes.
I haven't verified everything works, but tests do pass so the bare minimum at least does. Should test auth to verify this doesn't brick anything.

Don't merge yet, preview 500s


ci: update actions/checkout from v2 to v3 in our GitHub workflows

Description
Node 12 is deprecated for GitHub Actions. This is the reason why we are getting a warning from GitHub:

Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.

This PR updates actions/checkout from v2 to v3 which should fix the problem.
Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[x] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🗑 Chore

What's the status of this PR?

What's the status of this PR?

I'm waiting for a review

If the repository isn't maintained anymore, it would be good to archive this repository


rule: role-has-required-aria-props

First draft implementation of the upstream rule.
I'd like to have some feedback about the first implementation. Because of the fact that aria-* attributes and roles, I thought to put all these utilities inside its own package, let me know if I need to move it somewhere else.
I took the mappings from here https://github.com/A11yance/aria-query/blob/master/flow/aria.js and adapted them to TypeScript

Thank you for your feedback! Sure I can move stuff around, it's not a problem! :)
Sorry I completely missed that halper file

@bitpshr  I followed your suggestion and moved stuff around. Now, for now the code implemented as it is just checks the presence of the required aria-* attributes. I was wondering of this rule should check also the value of the property?
With this rule, a value aria-checked="dog" is accepted.

Added to the rules all the required props for certain aria roles!


GitKraken Tutorial Out of Date

🐞 Problem

Instructions in the "Keeping your fork synced with this repository" section do not match the current version of GitKraken.
🎯 Goal

Inaccurate directions are misleading to new participants.
💡 Possible solutions

Update instructions to match current tool
or
Add versioning information to instructions for the GitKracken tool so that users can find accurate details for their specific installation. (see issue #624 for similar idea on GitHub Desktop)
📋  Steps to solve the problem

Comment below about what you've started working on.
Add, commit, push your changes.
Submit a pull request and add this in comments - Addresses #<put issue number here>
Ask for a review in comments section of pull request.
Celebrate your contribution to this project. 🎉

Thank you for opening this issue @asphaltbuffet. Would you like to work on this?

Yes, please.
On Tue, Mar 20, 2018, 5:49 AM Roshan Jossey<EMAIL_ADDRESS>wrote:

Thank you for opening this issue @asphaltbuffet
https://github.com/asphaltbuffet. Would you like to work on this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Roshanjossey/first-contributions/issues/3499#issuecomment-374553391,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdeOaHZ3fEdP46EqhL-7-mKqMroZfuxaks5tgN6rgaJpZM4SxFBv
.

@asphaltbuffet if you are not working on it, we can reassign it to @launganik

Please do. I changed jobs and life got crazy
On Tue, Apr 24, 2018, 3:33 PM Sarah Masud<EMAIL_ADDRESS>wrote:

@asphaltbuffet https://github.com/asphaltbuffet if you are not working
on it, we can reassign it to @launganik https://github.com/launganik
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Roshanjossey/first-contributions/issues/3499#issuecomment-384070519,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdeOaKqWEtSnfniVo3M-Qr9XLyug1Uxiks5tr4wpgaJpZM4SxFBv
.

@launganik You can work on this :)

@sara-02 @Roshanjossey - I have made the necessary changes. I request you to check for any mistakes I may have made. Do advise on what can be better

Fixed in https://github.com/Roshanjossey/first-contributions/pull/4258


No option to initialize disks

USB disks seem to behave differently.  They have no option to "Initialize Disk", and Disk Management seems completely incapable of doing anything with them for some reason.  This seems like a bug in Disk Management, because diskpart.exe is able to initialize and repartition this same disk.

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

ID: aed88c8d-c15e-9dad-4cf4-9cc92e625f41
Version Independent ID: 3ba55b69-bea2-a674-d08f-e93a03de1ffa
Content: Initialize new disks
Content Source: WindowsServerDocs/storage/disk-management/initialize-new-disks.md
Service: unspecified
Product: windows-server-threshold
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

In fact, it is possible to leave Disk Management open while using diskpart.exe, and Disk Management will dynamically update its views as partitions are created and deleted, all while being incapable of modifying partitions on its own.
This really does seem like a bug in Disk Management that the documentation does not note.

@JasonGerend - can you take a look?

How can I use diskpart.exe to initialize a disk that doesn't have a drive letter.

I'm hunting for someone who can answer these questions...

I spoke with our tech support, and they indicated that some USB drives don't have the option to be initialized, they just get formatted and a drive letter. Initializing a drive is just an interim step in the process of formatting a drive, so perhaps you don't need to initialize your drive, and can skip straight to formatting the drive or assigning a drive letter? I updated the topic to try to help a little, but I've been told that due to the huge variety of storage hardware Windows supports, we can't address all scenarios, and if this topic doesn't cover something you need, your best bet is probably to contact the device manufacturer or Microsoft support. I hope this helps at least a little...

A common scenario is that a user has a USB drive with a small FAT32 partition and a large non-Windows filesystem such as ext2.  In such cases, it would be nice to re-initialize the disk.  The documentation seems to indicate that Disk Management can be used to initialize all disks, however Windows appears to explicitly disable this feature for USB drives.
As noted in the first comment, it is possible to use diskpart.exe to do this, so it does not appear to be an inherent Windows limitation.
The syntax is:
DISKPART> list disk
  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
 [List of disks here -- look for the one that has the correct size -- I'll assume "disk 7" here]

DISKPART> select disk 7

Disk 7 is now the selected disk.

DISKPART> list part

  Partition ###  Type              Size     Offset
  -------------  ----------------  -------  -------
  [[There will be a list of partitions here]]
DISKPART>

Then, for every partition listed, delete it:
DISKPART> select part 1

Partition 1 is now the selected partition.

DISKPART> delete part

After doing this, you can format the disk using Disk Manager.  However, as stated previously, because Disk Manager appears to treat USB drives as different for some reason, the documentation is incorrect and there is no option to Initialize these types of disks.

I have the same problem as the original post. I cant format or initialize my new SSD.
I have typed all the commands in the syntax above, but whenever I get to the "list part" part it says "There are no partitions on this disk to show".

boot the windows into  recovery  environment and get in to command prompt
type  diskpart
list disk   ( note the  disk numbers  like 0  ,1  )  say 1 is  for HDD
select disk 1
clean     (  clean commands  will wipe  all datas in disk )
convert gpt
exit exit
boot as normal , then create  new  partitions  using disk management

This is an added note to the procedure xobs outlined above.
If you are going to initialize an OLD disk (like one that you pulled out of your laptop and put into a USB drive enclosure when you upgraded to an SSD) many of the partitions on the old drive are going to be protected.
If you use diskpart.exe to initialize your repurposed USB drive, you will need to use the command  "del part override" to remove the selected partitions (one at a time) that are protected.


[theme] Find/replace left border toggle

Is there a key to change the find/replace left border color?

VSCode Version: 1.19.0
OS Version: MacOs

Any update on this quick fix? :)

The border color will be controlled by editor.findWidgetResizeBorder, if that doesn't exist, it will fall back to editorWidget.border.

Thank you! Is this already shipped with the latest insiders build?


Add gog detection

Features:

GOG automatic detection, thanks to @erri120 and @EzioTheDeadPoet
Support for multiple steam IDs and GOG IDs.

The game plugin should automatically use the right one (at least for steamAPPId()).

Support for Zeus and Poseidon.

I know this has been closed, but I just now discovered, that somehow the integration is not working, and I probably didn't notice, because I stupidly forgot to delete my modorganizer.ini.
Also what  noticed while trying to add write an extension for Mirror's Edge is, that some older GOG games use PATH instead of path so the GOG ID's probably should be tried with both.
I noticed that the extension as a whole isn't working after I deleted the modorganizer.ini in my Witcher 3 instance and it didn't detect the game anymore since when I tried to launch my Mirror's Edge instance it didn't show my Witcher 3 installation.