[Feature request] Phase name ORD_FCC is not highlighted

Phase name ORD_FCC is not highlighted, not sure about other order_disorder phase name

Addressed in the V1.1.0 release.


Develop Buy Course Page

Describe the solution you'd like
Develop the buy course page given in the figma design, this will be linked to buy course button and checkout button.
Design

@Abhishek-kumar09 Please assign this to me

Hey, @sakshi-choudhary we already have a checkout page UI ready just the thing is it's not linked to any button you check Routes.js   that's what I mentioned in issue #300.


Plugin installation fix.

Fix plugin installation error when trying to install on IDEA 2021.2

I think this technically might need to be: com.intellij.modules.java but just removing the attribute seems to fix the install.

Any news on this one?

#140 #146
I don't have write access to merge this.

Hi @ashald can you please merge this one?

Is there a temporary workaround other than to rollback pycharm?

i forked your PR and made a release
so people can install it manually if needed https://github.com/muhammednagy/EnvFile/releases/tag/3.2.2

@muhammednagy how do we get your release available in the jetbrains marketplace?


Rescue from errors during post-install rehash hook in rubygems_plugin.rb

Ruby backtick syntax does not raise exceptions if a non-zero exit code is returned by the command inside the backticks.  This means we never reach inside the rescue block of rubygems_plugin.rb's hook lambda if the rbenv rehash command errors out (although we will still see any output that rbenv-rehash prints to stderr).
We can demonstrate this by purposely creating the rehash lock file, and attempting to install a gem which includes an executable (NOTE- some quirks with this; see below):
$ touch ~/.rbenv/shims/.rbenv-shim

$ gem install rspec
rbenv: cannot rehash: /Users/richiethomas/.rbenv/shims/.rbenv-shim exists
Successfully installed rspec-3.12.0
Parsing documentation for rspec-3.12.0
Done installing documentation for rspec after 0 seconds
1 gem installed

We can see that rbenv: cannot rehash: /Users/richiethomas/.rbenv/shims/.rbenv-shim exists printed to stderr, but the warning text, error class name, etc. inside the rescue block (i.e. rbenv: error in gem-rehash ...) is not printed.
This issue can be fixed using the Ruby standard library's Open3 module, which runs a command taken from an argument, and returns the output from stdout and stderr.  If any stderr text exists, we can raise an exception with said text, and rescue with the expected warning message.
With this in place, we now see the following output:
$ gem install rspec
rbenv: error in gem-rehash (CouldNotRehashError: rbenv: cannot rehash: /Users/richiethomas/.rbenv/shims/.rbenv-shim exists
)
Successfully installed rspec-3.12.0
Parsing documentation for rspec-3.12.0
Done installing documentation for rspec after 0 seconds
1 gem installed

Note that I did also try a non-backtick invocation of rbenv rehash, i.e. system "rbenv rehash", but this similarly failed to raise an exception.
More info on Open3 here- https://docs.ruby-lang.org/en/2.0.0/Open3.html
Official module repo here- https://github.com/ruby/open3
Quirks
In order to demonstrate the above, I found it necessary to comment out the if check before rbenv rehash was run.  This is because I already had rspec installed on my machine, and repeated installs of the same gem seem to result in installer.spec.executables.any? returning false, even for gems with terminal commands such as rspec.  TBD on why this is.  Per the Gem::Specification docs, my expectation was that installer.spec.executables would return a list of commands that could be run from the terminal as a result of this gem, and that this list should be idempotent regardless of whether the gem is already installed or not.  🤷♂

Also note that the status variable declared is an instance of the Process::Status class, which exposes methods such as #exitstatus (returns the exit code as an int) and #success?.  We could use those as well, to decide whether to raise the exception.


ss: cannot parse response: "invalid character 'F' looking for beginning of value"

Hi!
When I try to scrape data, I receive the following error: ss: cannot parse response: "invalid character 'F' looking for beginning of value"
I assume the reponse is not json. Is it a problem with the scraper or the source? I cannot find a working way of scraping data.

I'm having exactly the same issue, and have no idea how to address it, much less resolve it.


Support for default values

I am not sure if this is already supported but looking at the code it didn't appear to be.  Is there a way to define columns that should have default values when defining a schema.  I have an insertedon column that I want to be populated by redshift.  Normally I would create the column using
"inserteddate timestamp not null default SYSDATE"
I am currently using a list of StructFields to create the schema and was hoping that by adding the values to the field metadata it would work but it doesn't appear to and instead throws an index out of bounds exception since I didn't add a value for that field.
    fields.add(DataTypes.createStructField("insertedon", DataTypes.DateType, true, new MetadataBuilder().putString("default", "SYSDATE").build()));

Is there anyway to achieve default fields with the current code base.  I am using java.
Thanks

We don't support this feature yet, but it should be pretty easy to add via column metadata (as you've suggested). Feel free to submit a PR.


Cell ordering dataframe

Reviewers
Functional:
@atolopko-czi

@atolopko-czi pushed the changes, thanks! For testing, I will defer to @MDunitz since I don't know where they are located.


PlatformColor implementations for iOS and Android

Summary
This Pull Request implements the PlatformColor proposal discussed at https://github.com/react-native-community/discussions-and-proposals/issues/126.   The changes include implementations for iOS and Android as well as a PlatformColorExample page in RNTester.
Every native platform has the concept of system defined colors. Instead of specifying a concrete color value the app developer can choose a system color that varies in appearance depending on a system theme settings such Light or Dark mode, accessibility settings such as a High Contrast mode, and even its context within the app such as the traits of a containing view or window.
The proposal is to add true platform color support to react-native by extending the Flow type ColorValue with platform specific color type information for each platform and to provide a convenience function, PlatformColor(), for instantiating platform specific ColorValue objects.
PlatformColor(name [, name ...]) where name is a system color name on a given platform.  If name does not resolve to a color for any reason, the next name in the argument list will be resolved and so on.   If none of the names resolve, a RedBox error occurs.  This allows a latest platform color to be used, but if running on an older platform it will fallback to a previous version.
The function returns a ColorValue.
On iOS the values of name is one of the iOS UI Element or Standard Color names such as labelColor or systemFillColor.
On Android the name values are the same app resource path strings that can be expressed in XML:
XML Resource:
@[<package_name>:]<resource_type>/<resource_name>
Style reference from current theme:
?[<package_name>:][<resource_type>/]<resource_name>
For example:

?android:colorError
?android:attr/colorError
?attr/colorPrimary
?colorPrimaryDark
@android:color/holo_purple
@color/catalyst_redbox_background

On iOS another type of system dynamic color can be created using the IOSDynamicColor({dark: <color>, light:<color>}) method.   The arguments are a tuple containing custom colors for light and dark themes. Such dynamic colors are useful for branding colors or other app specific colors that still respond automatically to system setting changes.
Example: <View style={{ backgroundColor: IOSDynamicColor({light: 'black', dark: 'white'}) }}/>
Other platforms could create platform specific functions similar to IOSDynamicColor per the needs of those platforms.   For example, macOS has a similar dynamic color type that could be implemented via a MacDynamicColor.   On Windows custom brushes that tint or otherwise modify a system brush could be created using a platform specific method.
Changelog

[General] [Added] - Added PlatformColor implementations for iOS and Android
Test Plan
The changes have been tested using the RNTester test app for iOS and Android.   On iOS a set of XCTestCase's were added to the Unit Tests.

In addition PlatformColor support has been added to other out-of-tree platforms such as macOS and Windows has been implemented using these changes:
react-native for macOS branch: https://github.com/microsoft/react-native/compare/master...tom-un:tomun/platformcolors
react-native for Windows branch: https://github.com/microsoft/react-native-windows/compare/master...tom-un:tomun/platformcolors

Re: The question about the API being prefixed like IOSDynamicColor or suffixed, DynamicColorIOS. I'm responding at the top level here because its a larger response and I don't want it to get lost.
Thanks for bringing this up. I don't really have strong opinions on this so in general being consistent is probably better. I asked around on the team at FB as well to get some other thoughts. It's possible there are too many cooks, but here are the thoughts.
This is what I believe the current proposal has right now:
Platform.select({
  ios: IOSDynamicColor({
    dark: ,
    light: ,
  }),
  android: AndroidColor(),
  windows: WindowsBrush(),
})

There was a preference from the team for suffixes over prefixes to be consistent. That would result in the following:
Platform.select({
  ios: DynamicColorIOS({
    dark: ,
    light: ,
  }),
  android: ColorAndroid(),
  windows: BrushWindows(),
})

These kinda seem strange since there isn't also a DynamicColorAndroid. The question then was why these need different names. Could they all be one name? Maybe something like ColorFor___, which would result in this:
{
  backgroundColor:
    Platform.select({
      ios: ColorForIOS({dark, light}),
      android: ColorForAndroid('@color/catalyst_redbox_background'),
      windows: ColorForWindows({someBrushConfig})
    })
}

I think that is probably the least surprising and most consistent option.
Then a crazy idea was added to the pool of ideas. The downside of any of these options is that you need to import multiple things, and you probably always need to use a Platform.select or something equivalent when using these APIs, although I guess that isn't true if you are only building for one platform (maybe that's a good reason to not do the following idea).
So then the question was what if the API essentially had Platform.select built in and didn't require the additional imports. It could look something like this:
{
  backgroundColor:
    Platform.color({
      ios: {dark, light},
      android: '@color/catalyst_redbox_background',
      windows: {someBrushConfig},
      default: '#fcfcfc',
    })
}

It's totally possible that a change like this is out of scope, would be too problematic with types, or some other issue. I wanted to bring it up now in case you had thoughts on it, but would totally be on board with a change like this being out of scope and the answer being that we'll make that change later if we find it to be better once platform colors are actually being used.

Thanks Eli.     So there are two issues brought up: 1) naming of the functions, 2) a new Platform.color() construct.
Naming
I am also attracted to platform name suffixes because of the existing precedence.   But I want to be flexible with the function naming.   One function per platform is too limiting.   ColorFor<Platform>() is limiting because there are so many possible color constructs.  On iOS and macOS there are semantic colors (served now by PlatformColor('semantic-name')), and there are Dynamic colors (served now by IOSDynamicColor({ tuple })).   There could be many more just for Apple platforms: for instance there could be an application Asset Catalog named color, maybe IOSNamedColor('name').   Or something even more exotic like a texture or material (won't even try to guess on API names).   If we had one function per platform, we'd have to overload a whole lot of stuff inside the parameter or parameters.   So I strongly prefer a scheme of either <Platform>MakeMeSomeKindOfColor or MakeMeSomeKindOfColor<Platform>.   I'm still 50/50 on which: the former reads easier, the later follows precedence.
Platform.color
I really like this idea, but I struggle to figure out how to pull it off in a way that works with out-of-tree platforms in terms of Flow and Metro bundling.   Especially since the aspiration is the some day all platforms will be out-of-tree from core.   Also, the same problem as I described above for a ColorFor<Platform>() exists here: it is limiting or over complicating to jam all the possible color constructs into single Objects.   For example, iOS doesn't just have Dynamic colors, it has Semantic or Dynamic colors.   So the examples above would have to either allow for strings or Objects, or more complicated Objects: i.e. for ios key values either code would have to parse and distinguish between 'labelColor' versus {light: 'light', dark: 'dark'}, or something like { semantic: 'labelColor' } versus { dynamic: { light: 'light', dark: 'dark' } }.   When it becomes this complicated I find it more attractive to just have Platform.select({ ios: PlatformColor('labelColor') ... }) or Platform.select({ ios: IOSDynamicColor({light: 'light', dark: 'dark'}) }).   Especially considering Valentin's comments about the performance impacts of maps versus arrays on Fabric.   With the later expressions the PlatformColor(), IOSDynamicColor() can actually return whatever Object is more performant for Codegen/Fabric.
As I wrote this, I think I convince myself that the existing <Platform>MakeMeSomeColor is the most attractive pattern.   It requires each .js file to import each method, but it works beautifully with out-of-tree platforms that provide stub files for alien platforms, and the fact that it is a function (regardless of naming convention) allow for the flexibility to change the underlying Object shape which makes it flexible for Fabric/Codegen optimizations.   It also doesn't preclude a future Platform.color construct.

Great, re topic 2, I’m on board with the existing functions too then.
Re: naming, I agree that I’m 50/50 and that the first reads better and the second follows precedence. I think on our team as we were discussing we couldn’t come up with a strong argument for why we should break trend and use prefixes, so suffixes probably make more sense and are more likely what people would expect.
Does that sound reasonable to you or do you have more reasons for prefix?

Great, re topic 2, I’m on board with the existing functions too then.
Re: naming, I agree that I’m 50/50 and that the first reads better and the second follows precedence. I think on our team as we were discussing we couldn’t come up with a strong argument for why we should break trend and use prefixes, so suffixes probably make more sense and are more likely what people would expect.
Does that sound reasonable to you or do you have more reasons for prefix?

Sound great.   Pushed the change.

@RSNara, I don't think we can use Object as the type because it would need to be number | Object which the native module codegen doesn't support, right?
Do you agree that for now it is probably easiest to keep native modules only supporting number, and at a later point making the native module codegen support ProcessedColorValue and opening them up to any color type then?

Do you agree that for now it is probably easiest to keep native modules only supporting number, and at a later point making the native module codegen support ProcessedColorValue and opening them up to any color type then?

Yup.

I opened a separate PR https://github.com/facebook/react-native/pull/28040 that merely changes processColor() to return ?number | NativeColorType instead of just number to allow internal code to be updated ahead of this PR.

I opened a separate PR #28040 that merely changes processColor() to return ?number | NativeColorType instead of just number to allow internal code to be updated ahead of this PR.

The processColor() PR #28040 has completed.   I merged master into this branch.

We are getting flow errors internally about the duplicate module providers for the platform override files:
Error ---------------------------------------------------------------------------
xplat/js/react-native-github/Libraries/StyleSheet/PlatformColorValueTypesIOS.js:1:1
Duplicate module provider for `PlatformColorValueTypesIOS`. Change either this module provider or the current module provider [1].

  xplat/js/react-native-github/Libraries/StyleSheet/PlatformColorValueTypesIOS.js:1:1
  1| /**
     ^

References:
  xplat/js/react-native-github/Libraries/StyleSheet/PlatformColorValueTypesIOS.ios.js:1:1
  1| /**
     ^ [1]

I'm surprised those aren't failing on Circle for this PR. I think the fix is adding the base files to the ignore list in flowconfig, right? Can you make that change?

We are getting flow errors internally about the duplicate module providers for the platform override files:
Error ---------------------------------------------------------------------------
xplat/js/react-native-github/Libraries/StyleSheet/PlatformColorValueTypesIOS.js:1:1
Duplicate module provider for `PlatformColorValueTypesIOS`. Change either this module provider or the current module provider [1].

  xplat/js/react-native-github/Libraries/StyleSheet/PlatformColorValueTypesIOS.js:1:1
  1| /**
     ^

References:
  xplat/js/react-native-github/Libraries/StyleSheet/PlatformColorValueTypesIOS.ios.js:1:1
  1| /**
     ^ [1]

I'm surprised those aren't failing on Circle for this PR. I think the fix is adding the base files to the ignore list in flowconfig, right? Can you make that change?

Both yarn flow-check-ios and yarn flow-check-android pass locally and in CCI.   The .flowconfig file excludes android and .flowconfig.android excludes ios.  Are you using a different flowconfig internally?   Or is there some other manually check I can run locally?

Ah, it's probably a haste conflict which is only part of our internal config. Our internal iOS config needs to ignore the .js file. Otherwise it fails saying that the .js and .ios.js resolve to the same Haste name. Alright, I'll just fix this is our internal config.

Here are some more errors I see in our CI:
stderr: xplat/js/react-native-github/React/Views/RCTView.m:786:50: error: no visible @interface for 'UIColor' declares the selector 'resolvedColorWithTraitCollection:'
[CONTEXT]   CGColorRef backgroundColor = [_backgroundColor resolvedColorWithTraitCollection:self.traitCollection].CGColor;
[CONTEXT]                                 ~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Warnings (I'm not sure if these are related to this PR):
xplat/js/react-native-github/Libraries/Text/TextInput/Multiline/RCTUITextView.m:280:3: warning: KVC/KVO key or keypath is not constant [-Wobjc-pika]
  [textAttributes setValue:self.placeholderColor ?: defaultPlaceholderColor() forKey:NSForegroundColorAttributeName];
  ^
xplat/js/react-native-github/Libraries/Text/TextInput/Multiline/RCTUITextView.m:283:5: warning: KVC/KVO key or keypath is not constant [-Wobjc-pika]
    [textAttributes setValue:defaultPlaceholderFont() forKey:NSFontAttributeName];
    ^
2 warnings generated.
xplat/js/react-native-github/Libraries/Text/TextInput/Singleline/RCTUITextField.m:120:5: warning: KVC/KVO key or keypath is not constant [-Wobjc-pika]
    [textAttributes setValue:self.placeholderColor forKey:NSForegroundColorAttributeName];
    ^

Android platform color doesn't react to dark or light mode changes #32823

@tom-un I've also found this bug #32942 where android borderColor and overlayColor don't work with PlatformColor.
I was not able to solve it on my own, been debugging for a very long while

Is there a way to use a system color, but always from the same color scheme?
Equivalent to
TextField(placeholder, text: self.$value)
                .colorScheme(.light)


Driver properties not working with ODBC DSN

Operating system: Windows 10

DBeaver version: 5.3.3

Java version: (packaged w/ app)

Driver name: ODBC

Do you use tunnels or proxies (SSH, SOCKS, etc)? No

Describe the problem you're observing:
I am trying to connect to an ODBC datasource, and that datasource requires some additional connection properties to be specified.  I tried entering these under "Driver properties" but they do not appear to be included in the JDBC URL passed to the JDBC-ODBC bridge.  However if I add a semicolon and the property=value to the end of the "Database/Schema" then that works fine.
How does one specific additional connection parameters with ODBC?  Maybe this is the wrong feature?

Right-click on User Properties item.

Yes, I did that.  However it seems like the property is not being passed to the connect string.  I am trying to connect to a ProvideX database using their ODBC Driver.
I am not sure if this is a limitation of the ODBC driver itself, or not.  It works if I include it as part of the "database name/schema" as I mentioned earlier.  Are these properties passed via the connect string or are they set through another method that maybe the driver doesn't support?

All properties are passed to native driver using ODBC API (as properties). They are not added to ODBC URL because ODBC bridge driver doesn't support it.
At least default Java ODBC bridge driver. There are other bridge drivers (commercial) but I didn't test them. Some of them have trial versions (e.g. cdata or openlink).


Support pipeline and queue level

This PR enable azkaban-cli to support pipeline and queue concurrency. Indeed Azkaban server don't support 'pipeline' and 'queue' concurrentOpion without their levels (pipelineLevel and queueLevel). Thus I decided that the python client should support arguments like:
--mode pipeline-1
--mode pipeline-2
--mode queue-1
--mode queue-2

BTW this PR should fix #20

Thanks a lot! Could you also update run_workflow's docstring?

I wes not able to find any documentation about the 'queue' concurrency option. That's why I didn't add it in the documentation.
Anyway I pushed the changes you requested.

Looks great. Thanks!

I wasn't able to find any documentation about the 'queue' concurrency option.

No worries, I couldn't find any mention of it there as well. The important piece was to document how pipelining levels could be passed.

Thank you a lot for your help


Someone help me, I ended up disabling the android system shell >> com.android.shell

Good luck fixing that.  Just reset, you can't do anything now

You shoudn't disable com.android.shell.


Raspberry Pi, Ubuntu 22.04 arm64 ODBC18 SSL error

Hello, I am new to SQL and pyODBC but will be using these tools going forward if this issue can be resolved. I have this same code running on my windows laptop and it connects just fine, but on my Raspberry Pi, I am having issues.

Python: 3.10.12
pyodbc: 5.0.1
OS: Ubuntu 22.04
DB: MS SQL Server Express 2014
driver: ODBC18

Code
import pyodbc
server = '<IP_ADDRESS>\SQLEXPRESS'
username = 'UID'
password = 'PWD'
database = 'Database'
connectionString = f'DRIVER={{ODBC Driver 18 for SQL Server}};SERVER={server};DATABASE={database};UID={username};PWD={password};TrustServerCertificate=yes;'
conn = pyodbc.connect(connectionString)
Issue
pyodbc.OperationalError: ('08001', '[08001] [Microsoft][ODBC Driver 18 for SQL Server]SSL Provider: [error:0A000102:SSL routines::unsupported protocol] (-1) (SQLDriverConnect)')

Check your TLS configuration, I suspect either server is not offering TLS 1.2 or client does not accept TLS < 1.2.
There are related discussions about that here: https://github.com/mkleehammer/pyodbc/issues/610

Thanks @v-chojas
editing openssl.cnf  and changing CipherString fixes the issue!


sourcing env_ccppetmr.csh can let it abort

I get for instance
source  INSTALL/bin/env_ccppetmr.csh
DYLD_FALLBACK_LIBRARY_PATH: Undefined variable.

Presumably would be the same of LD_LIBRARY_PATH isn't set.

Actually, csh aborts after the error, so the set-up is incomplete.
I haven't tested what the .sh file does, but it might have the same problem.


fix(cna-template): use npx to invoke locally installed binaries

Follow up of #715

Say; the user opts for npm as the package manager.
https://github.com/nuxt/create-nuxt-app/blob/335ef58d3fda63a388d9ce09829e2b7c23741803/packages/create-nuxt-app/lib/saofile.js#L28
npm run would be substituted here. However, there isn't a corresponding script as part of the template.
https://github.com/nuxt/create-nuxt-app/blob/335ef58d3fda63a388d9ce09829e2b7c23741803/packages/cna-template/template/nuxt/.husky/pre-commit#L5
Since npm v5.2.0 npx is pre-bundled with npm.
https://github.com/typicode/husky/tree/main/docs#locally-installed-binaries


Update to latest lib-common from 18.0.0-proposed

For consistency, all modules from lib-common are updated to their latest
versions from the 18.0.0-proposed branch.
lib-common was updated due to
https://issues.redhat.com/browse/OSPRH-9089
https://github.com/openstack-k8s-operators/lib-common/pull/545
Jira: OSPRH-9161
Signed-off-by: James Slagle<EMAIL_ADDRESS>

@slagle I can't push to this branch for some reason. Can you pre-commit run --all-files? Seems like it actually needs to be done twice. First time does operator-lint things, which then needs another go mod tidy. Easier to just run pre-commit twice and push the changes I think.

@slagle I can't push to this branch for some reason. Can you pre-commit run --all-files? Seems like it actually needs to be done twice. First time does operator-lint things, which then needs another go mod tidy. Easier to just run pre-commit twice and push the changes I think.

I'll close this. We decided that updating all the lib-common modules wasn't necessary.


[Enhancement?] fluid tank control [Bug?] fluid conduits do not attach to tinkers smeltery

The redstone control for the fluid tank effects the filling and emptying of buckets, but not the sides configured to push or pull. This would be a handy feature as a second and separate configuration of redstone control, (I can think of situations where one would want redstone to control the use of buckets but not effect the push/pull)
When I attempted to use fluid conduits on the tinkers smeltery drains they refused to connect.
(If this is due to unfinished implementation of the new fluid handler ignore me, I am not trying to hurry you guys on the new fluid handler. I only mention this in case it is a bug)
these are on a server environment
Reproduction
On multiplayer server
Observe that tanks now interface with the tinkers smeltery again (hurray, and Thanks)
Place fluid conduit next to drain
Observe that it does not automatically connect to drain
Curse whilst smacking offending conduit with Yeta Wrench on side of conduit facing drain
Curse again cause you thought that since the tanks interfaced with the smeltery then surely the conduits would too............ ;}

Affected Versions (Do use "latest", do not claim "latest"):

EnderIO: 1.10-<IP_ADDRESS>
EnderCore: 1.10-<IP_ADDRESS>
Minecraft: 1.10
Forge: 1.10-<IP_ADDRESS>0

Thanks again

#3375 is still open and on the first page of the issues...


Swift log "Any"

New Issue Checklist

[x] I have read and understood the CONTRIBUTING guide
[x] I have read the Documentation or CocoaDocs
[x] I have searched for a similar issue in the project and found none

Issue Info

Info
Value

CocoaLumberjack Version
3.6.1

Demo project link
https://github.com/Sunnyyoung/CocoaLumberjack/commit/6cb29f1c4cbd0825b17dddf47eb5301077659451

Update
_DDLogMessage(_ message: @autoclosure () -> String, ...

to
_DDLogMessage(_ message: @autoclosure () -> Any?, ...

would be more convenient to use.

Looking at Swift.print, we could go with _DDLogMessage(_ message: @autoclosure () -> Any, .... I would not use Any?, however, since any optional can also fit in Any.
Feel free to open a PR!


Show missing style warning for CellMeasurer too

See this comment for backstory.
If the warnAboutMissingStyle check doesn't warn properly in the case of CellMeasurer- can it be made to?

Closed via bc1fdeb


layouts: different default layout for row page

https://github.com/simonw/datasette/issues/1541

Can we do something quick and dirty, eg https://codepen.io/gizmostudios/pen/OBoBbL ?
https://github.com/simonw/datasette/blob/78dad236df730212aa7172f885fd8ec575f0d3ad/datasette/templates/row.html is the default code that drives it
A wrinkle - we might need to fixup the CSS that is auto applied for < 576px things?

https://github.com/simonw/datasette/issues/1592 means this page is a little less useful than you might hope.
Maybe we can hackily enable this? I'm a bit scared that it mentions a large re-factor...


stand-alone modal support

Would it be possible to have support for a feature like durandal dialog plugin "showDialog" function that takes a VM (with corresponding view) and instantiates a dialog everywhere in the app (thus without having to place the dialog in a specific view and having the staring viewmodel contain the dialog "showing" property and methods).
 app.showDialog(viewModel, data)

It seems to me to be a very elegant approach, as you can reuse dialogs everywhere you want, and the method returns a promise with the dialog result so you can wait for user input or whatever in a very easy and clean way.
This is also independent from the UI library you use.

Yes, you can do this a few different ways -

by supplying a modal at the root (such as app.html) and calling it from your various places around the app.  For now it would be up to you to implement the showDialog method on app.js or somewhere to handle composing it, I'll try to get a sample up soon.
This repo and two by @Aaike will be converging as an official repo and offering this ability similar to how Aaike is doing so with a compiler.

Leaving this open for now so we don't forget when merging :)

Yes we made a simple plugin to implement #1. The only feature of the old
durandal dialog plugin that is missing (for now) is the ability to nest
dialogs as at the moment we reuse the same dialog element. It should not be
very difficult to implement if need arises though. By the way, we have a
small problem in this plugin as we use polymer modal element but we are
unable to find a way to correctly trigger modal resize after composition is
complete. Does the compose element call a VM function or fire an event when
composition is complete?
Leaving this open for now so we don't forget when merging :)
—
Reply to this email directly or view it on GitHub
https://github.com/PWKad/aurelia-bs-modal/issues/5#issuecomment-116294461.

@maxgrv Yes the attached callback is called.

@PWKad Thanks, now we got it working flawlessly.

@maxgrv This is now possible with https://github.com/aurelia/dialog so I'm going to leave this repo as is.  If you want to have the same ability please switch over to the official dialog repo.  Feel free to re-open if this doesn't suit your needs and I can move the issue over there or something.


CPUParticles emission shape values do not update dynamically

Godot version:
Godot 3.2.3.stable
OS/device including version:
macOS Catalina 10.15.5
Issue description:
Just added a CPUParticles to my scene and went to change the emission shape, and it left "Points" up as an array after switching to Sphere. I clicked away from the CPUParticles and came back and it correctly updated to have Sphere Radius and so on, so I suspect someone missed a call to update the properties here.
Steps to reproduce:

Add a CPUParticles to a scene
Change the emission shape

The simple work-around for this is to refresh the shape yourself by tapping off the node and back onto it, it's just a little bit of a hassle.

Looking more at CPUParticles...there's a lot that's wrong. :/ I can put this in another ticket if you want, but it seems like the Color piece isn't working either. When you put in a Color Ramp, then click away from the node and back to it, the Color itself goes away. Okay, that's fine - now clear the gradient. No color comes back. I think it's just a general properties at least on this node aren't updating dynamically.


Using the crypto module causes an error when building via esbuild with target not Node

After upgrading the react-querybuilder package from version 5.2.0 to version 5.3.3, esbuild began to drop with the error "Could not resolve "crypto""

@Alqanar Can you try v5.4.0? It should fix the issue with require('crypto').

@jakeboone02  Great! Thanks for the quick response and the fix. I will definitely try it on Monday.

@jakeboone02 For id generation, I can advise you to consider this package. It seems to solve the problem with crypto https://github.com/ai/nanoid

It’s funny you mention that package. The short story is that we did use it a few years ago but removed it in favor of () => `${Math.random()}` because of IE11 and crypto.
I did some research and got the longer story. Sorry for the length, but I've got a question for you at the end...
nanoid originally replaced uuid in #102, resolving #97 which was a request to be able to provide a custom id generator. I rejected the original request (then implemented it in v5.4.0 anyway with the idGenerator prop!) but merged #102 to satisfy the user's requirement of shorter ids.
#143 highlighted the fact that IE11 used window.msCrypto instead of window.crypto, so I merged #144 which added full IE11 support, as long as the user implemented a workaround for msCrypto.
Later, we got around to addressing #128 which documented an issue with server rendering using Next.js. After some trial and error with short-uuid, I gave up on using an id package at all and merged #175 which replaced nanoid with () => `${Math.random()}`.
Mostly I just wanted to remove the requirement for the IE11 hack. IE11 isn't supported anymore, so that's no longer an issue and we can use crypto safely in the browser.
However, the main problem I encountered with using crypto was that it was available on the window/globalThis object in the browser, but not available by default on the server (see my SO question). It looks like nanoid solves this problem by using the "exports" field in their package.json to serve different files depending on the environment. (I've been thinking about migrating RQB to that structure as well: see #396.)
My question is this: the first line of nanoid's server code is
import { randomFillSync } from 'crypto'

so wouldn't you run into the same Could not resolve "crypto" problem as you did with RQB v5.3.3's require('crypto') line, since you're not targeting NodeJS?

Hi Jake! I tried installing version 5.4.0 in the project, the error esbuild does not repeat. Thanks again for the quick response!


Makefile: remove loopvar when running tests

Go v1.21 added this new flag GOEXPERIMENT=loopvar, which is great, as it fixes the bug when iterating loops. However, unless we decide to bump the minimal Go version requirement to v1.21 and above, users may still run into this issue. Thus we should still test Go's old behavior to be sure.
Of course the assumption is there's no difference when running lnds built from different Go versions, except the loopvar behavior.

IMO we want to retain this, as it's possible to write a test that passes w/ it, but fails w/o. Leaving it frees up the devs+reviewers to not have to worry about the burden of needing to write non-loopvar safe code.
I think Go 1.22 is scheduled to be released ~Feb 2024 fwiw. This release will make the loopvar behavior the default.


[build] Partially fix tests for winelib build

This change was present in initial winelib patch, but was missed.
The only broken test is  hlsl-compiler.

Do the HLSL compiler and the DXBC disassembler work with this change? Because if not, making this change is kind of pointless and I remember having issues with that before.

With this change I can compile all (except hlsl-compiler) tests.
hlsl-compiler failing with undefined reference error to dxvk::Logger::s_instance. I'm still going to find out how to fix this, disabling this test in my build at the moment.
DXBC disassembler do work.

Also it's a meson unity build problem, I can build and run all tests with --unity off option.

I didn't send this commits mostly because when I got it to Wine, a dependency on d3dcompiler_43 was introduced and I meant to look at it. Shipping .def file does not seem ideal, but works, so just fixing d3dcompiler_47 should be enough.
I can't see your other linker problem here. Could you provide more info why do you need dxbc-compiler changes?
I submitted a cleaner solution for dxgi factory tests: https://github.com/doitsujin/dxvk/pull/607.

@jacekcw

I can't see your other linker problem here. Could you provide more info why do you need dxbc-compiler changes?

You mean hlsl-compiler?
Error occurs during compilation with meson --cross-file ... -Denable_tests=true --unity on ...
See http://mesonbuild.com/Unity-builds.html#unity-builds

With proposed patch all tests are compile/work fine now.
Added as temporary workaround for my games-util/dxvk[test] and games-util/dxvk-tests ebuilds.

Closing as superseded by #607 .
Patch from https://github.com/doitsujin/dxvk/pull/604#issuecomment-416283000 still valuable.


Localization

Would it be possible to integrate a localization system?
I would like to help translate the texts into German f.e., but a system for localized texts should be integrated beforehand.

Maybe we could implement something like https://github.com/tinoni/translate.js so that contributors can work on the Dictionary.


Feature Mouse Lock API

Trying to investigate on #1602
Seems awesome.
https://user-images.githubusercontent.com/707007/167320729-9f56e8a9-47bc-4a0f-942b-2af1bd6ce01c.mp4
There is a demo you can try your own

Some todos: don't change position on emit release event.
For some reason if we lose focus while dragging, we would not get release event and cant unlock cursor

Just realized I can use https://docs.rs/winit/latest/winit/event/enum.DeviceEvent.html#variant.MouseMotion for delta to modify DragValue just by delta and thats all.

converted to draft since you still have some todos

Just want you to check out and write what do you think. Is it worth feature of it costs?
Btw first todo was fixed, and second todo - looks like a bug in winit. browser behave the same way. and looks like we can turn off locking in each component by asking clicked_anywhere.
I think we can add this as experimental feature anyway, but I already happy with my deltas, so I can enjoy DragValue. I just worried about excess complexity. If you are okay with that I'll polish this.
Thank you for reply

This could be merged now I guess

is it really worth the added complexity?

is it really worth the added complexity?

If we dont merge it, anybody who want this must do it from scratch.
If we merge this - this add just few odd, experimental methods that could motivate someone to play with this.
I really dont know. perhaps there should be some voting process about it. As for me, the solution is not very kludgy.

Not sure how hard this would be to get across the line, but it is something I'm hoping egui could provide an api for. Very useful for things like draggable values — anyone using Figma will have likely appreciated it when dragging a value and the cursor wraps around the screen, rather than hitting the right edge of the screen and stopping.


Make InputDateInteractsWithEditContext_NullableDateTimeOffset more reliable

This E2E test has been flaky since it was first created (and was marked as such).
I think the reason is that <input type=date> has some quite special behaviors that trip up Selenium's SetKeys logic. This type of input has multiple sub-inputs so you can't just append keystrokes to it - depending on where the cursor was before, and whether you unfocused then refocused it, the keystrokes get directed to different parts of the date.
I had the test failing fairly often locally, but not at all since the change in this PR. Hopefully we will see the same effect in CI.

OK, I'm making InputDateInteractsWithEditContext_NonNullableDateTime use ReplaceText too.

Retargeted to release3.1.
Apologies to everyone who received an automated review request because of this - please ignore the notification. It's already been reviewed and doesn't affect other parts of ASP.NET Core.

Why aren't these test improvements going into release/3.0?

Source build failures were expected. Fix for that is in 'release/3.1' branch or should be tomorrow morning. Not sure about the templates failures but suspect something is flaky there.
Agree with targeting 'release/3.0' or maybe 'release/3.0-preview9'.

Seems like the template tests didn’t even run. There are no results available in the test results view.

Good point. I've retargeted to release/3.0.


How to make the title of image be center?

Hi, everybody.
I'm using asciidoctor-pdf to generate pdf.
But I want to know how to make the title of image be center?
Thanks

Currently it's only possible to align the block caption globally using the theme file. See https://github.com/asciidoctor/asciidoctor-pdf/blob/master/docs/theming-guide.adoc#keys-caption
It's not currently possible to control the caption position per block. This is likely something we first need to resolve in Asciidoctor core. It looks like you already found it, though. See https://github.com/asciidoctor/asciidoctor/issues/857.

all right , thanks

For anyone else who finds this and is wondering how to go about doing this quickly, it's actually fairly simple. Just create a file called theme.yml with the following contents:
extends: default
image:
  align: center
caption:
  align: center

Then create your PDF using the following command:
asciidoctor-pdf -a pdf-style=theme.yml your_document.adoc

I'm having this exact problem.
I've gotta say it makes no sense that the image-caption is not contained in the same html-block (the same div) as the image. How many use cases are there, where somebody goes: "I'd like my image to be right-aligned, but I want the caption to be much wider than the image, and I want it in the center"

I can see from my searches that a lot of people are annoyed by this, and rightfully so, I must say. Are anybody working on this issue?

I don't like the aggressive tone of your comment. It's not welcome here. If you ask again in a constructive way without the insults, I'd be happy to walk you through how to achieve the result you want.

I'm sorry - I was very annoyed at the time, I can totally understand you
resenting that way of addressing others. It's simply not ok. I don't
usually respond in that way, and I'll make an effort to see that it will
not happen again.
I am wrong btw. The markup is as it should be, so the fix lies in CSS.
Once again Dan, I do apologize
Den tir. 17. nov. 2020 kl. 20.33 skrev Dan Allen<EMAIL_ADDRESS>
I don't like the aggressive tone of your comment. It's not welcome here.
If you ask again in a constructive way without the insults, I'd be happy to
walk you through how to achieve the result you want.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/asciidoctor/asciidoctor-pdf/issues/790#issuecomment-729153549,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABFJZOY2DG6H65IVRVXGY3SQLFYRANCNFSM4DFM3M7A
.

In AsciidocFX:

In theme.yml (as @mojavelinux suggest):
extends: default
image:
  caption:
    align: inherit

I can't get this to work with current asciidoctor-pdf version, the caption is always left aligned - am I missing something?
$ asciidoctor-pdf -V
Asciidoctor PDF 2.3.15 using Asciidoctor 2.0.22 [https://asciidoctor.org]
Runtime Environment (ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux-gnu]) (lc:UTF-8 fs:UTF-8 in:UTF-8 ex:UTF-8)
$ cat theme.yml
extends: default
image:
  caption:
    align: inherit
$ asciidoctor-pdf -a pdf-style=theme.yml output.adoc
asciidoctor: WARNING: output.adoc: line 834: unterminated listing block
asciidoctor: WARNING: output.adoc: line 864: unterminated example block
asciidoctor: WARNING: output.adoc: line 958: unterminated listing block
/var/lib/gems/2.7.0/gems/prawn-svg-0.34.2/lib/prawn/svg/elements/image.rb:68: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/var/lib/gems/2.7.0/gems/prawn-svg-0.34.2/lib/prawn/svg/elements/base.rb:94: warning: The called method `add_call' is defined here
$

.Image caption text which I can't get to center-align
image::media/image.svg[alt-text,width=220,align="center"]

(Doesn't change if I replace align: inherit by align: center in the theme.yml)

Add this to the theme:
image:
caption:
align: center
On Tue, Apr 9, 2024 at 10:19 AM Patrick Huesmann @.***>
wrote:

I can't get this to work with current asciidoctor-pdf version, the caption
is always left aligned - am I missing something?
$ asciidoctor-pdf -V
Asciidoctor PDF 2.3.15 using Asciidoctor 2.0.22 [https://asciidoctor.org]
Runtime Environment (ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux-gnu]) (lc:UTF-8 fs:UTF-8 in:UTF-8 ex:UTF-8)
$ cat theme.yml
extends: default
image:
caption:
align: inherit
$ asciidoctor-pdf -a pdf-style=theme.yml output.adoc
asciidoctor: WARNING: output.adoc: line 834: unterminated listing block
asciidoctor: WARNING: output.adoc: line 864: unterminated example block
asciidoctor: WARNING: output.adoc: line 958: unterminated listing block
/var/lib/gems/2.7.0/gems/prawn-svg-0.34.2/lib/prawn/svg/elements/image.rb:68: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/var/lib/gems/2.7.0/gems/prawn-svg-0.34.2/lib/prawn/svg/elements/base.rb:94: warning: The called method `add_call' is defined here$
.Image caption text which I can't get to center-alignimage::media/image.svg[alt-text,width=220,align="center"]
(Doesn't change if I replace align: inherit by align: center in the
theme.yml)
—
Reply to this email directly, view it on GitHub
https://github.com/asciidoctor/asciidoctor-pdf/issues/790#issuecomment-2045297513,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAN6ZAUI3IQW72VQTRI4X3Y4P2GTAVCNFSM4DFM3M7KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBUGUZDSNZVGEZQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Add this to the theme: image: caption: align: center

That didn't work. but I found the actual solution in the meantime (see my edited post above)

Please direct follow-ups to the project chat at https://chat.asciidoctor.org. The issue tracker is not a discussion forum. Thanks.


SSH proxy and dynamic AWS EC2 target instance selection

Probably too early at this stage, but just wanted to mention a couple of features that would be great to have for anyone deploying to Amazon Web Services / VPC environment.

SSH proxy support - useful when deploying to hosts in a VPC behind a NAT form an external CI server/service. Allows the NAT instance to be used as an SSH proxy so we can reach our hosts that are not exposing SSH to the world (just a sample use case).

Choose target EC2 hosts dynamically based on tags - great for an environment where number of hosts and their identifiers (IPs/hostnames) change often (e.g. autoscaling). AWS is queried at build time and a list of target EC2 instances is compiled based on how instances are tagged (e.g. project/roles/stage tags).

We come from Capistrano and it gives us SSH proxy ability directly and EC2 tag parsing through a third-party add-on (https://github.com/forward3d/cap-ec2). Would love to see similar features in Shipit in the future.
Thanks

:+1:  this feature

I don't plan to do it at all, you can create a Shipit plugin to do that if you want. SSH Proxy is part of https://github.com/neoziro/ssh-pool, please add an issue or propose a pull-request for that if you need it.


Add prettier as a dev dependencies and fix js files formatting

Formatting of js files is bad. Fix with prettier.

Fixed by #44


Vulnerability roundup 106: fetchmail-6.4.21: 1 advisory [5.9]

search, files

[ ] CVE-2021-39272 CVSSv3=5.9 (nixos-unstable)

CVE details
CVE-2021-39272
Fetchmail before 6.4.22 fails to enforce STARTTLS session encryption in some circumstances, such as a certain situation with IMAP and PREAUTH.

Scanned versions: nixos-unstable: bc9b956714e.
Cc @peti

Fixed in #141113


Plug-in: create command

rehkloos -> create folder for plugin javascript file
rehkloos -> fix some eslint Caramel Case issues
todo: needs a way to run command without needing to reboot bot

Please remove all legacy unnecessary code and any console.logs.
Also add this piece of code for it to load plugin on command creation without restarting bot.
This goes at the top of your file:
const path = require('path');
const Plugins = require('./../../modules/Plugins.js');

this goes inside your fs.writeFile just after your error check. <3
else{
			  var newPluginDir = path.join(__dirname,`./../`, newCommand, `/`, fileName);
				const plugin = require(newPluginDir);

				Plugins.chat.set(plugin.command,plugin);
				Plugins.plugins.set(newCommand, plugin);
				client.sendMessage(`Command ${newCommand} added.`);
		  }


Enable helix VSTS test reporting

https://github.com/dotnet/arcade/blob/master/src/Microsoft.DotNet.Helix/Sdk/Readme.md
    <!-- Enable reporting of test results to azure dev ops -->
    <EnableAzurePipelinesReporter>false</EnableAzurePipelinesReporter>

cc @anurse

Closing as duplicate of https://github.com/aspnet/AspNetCore/issues/7368


FixedQuerySender attribute "scalar" - No warning if the query result is not a scalar

Reporter
Martijn Dirkse
Is your feature request related to a problem? Please describe.
When you use a <FixedQuerySender> with attribute scalar=true, then you request a scalar result from the Frank!Framework. However, when you make a mistake and the query result is not a scalar, then you get no error and no warning. The Frank!Framework chooses an arbitrary scalar from the query result as the response and continues normally. I tried this, see attached .zip file.
tryAttributeScalar.zip
I also saw no clue in Ladybug that something was wrong, see the following image:

Describe the solution you'd like
If you set scalar=true but the query being executed has not a scalar result, then the Frank!Framework should produce an error. A Java exception is the most visible way to give this feedback to the user. If this breaks backwards compatibility, at least an error should be visible in Ladybug.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
The attached .zip file runs with the Frank!Runner.

By definition of the scalar attribute 'When true, the value of the first column of the first row (or the startrow) is returned as the only result, as a simple non-xml value' any result-set can be scalar.

I am curious. Are you going to change the behavior of the FF! ?

We'll provide a warning in the logging, stating more rows are available

I checked that the warning is indeed written in the log.


(gitextensions) Should depend on dotnet-6.0-desktopruntime

Chocolatey Version
1.2.1
Chocolatey License
Business
Package Version
4.0.1
Current Behaviour
Currently, the Git Extensions package depends on dotnet4.6.1, after installing it you get a prompt to install the .NET Desktop runtime 6.x
Expected Behaviour
No prompt to install additional software, Chocolatey should install all required dependencies, so the package should depend on dotnet-6.0-desktopruntime.
Steps To Reproduce

choco install gitextensions
Run git extensions
Get error message

Environment
- Operating System: Microsoft Windows NT 10.0.19044.0
- PowerShell Version: 5.1.19041.2364
- Shell: PowerShell

Chocolatey Log
2022-12-19 11:38:13,036 13784 [DEBUG] - ---------------------------Script Execution---------------------------
2022-12-19 11:38:13,040 13784 [DEBUG] - Running 'ChocolateyScriptRunner' for gitextensions v4.0.1 with packageScript 'C:\ProgramData\chocolatey\lib\gitextensions\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\gitextensions', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2022-12-19 11:38:13,040 13784 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\gitextensions\tools\chocolateyInstall.ps1'
2022-12-19 11:38:13,061 13784 [DEBUG] - Running licensed 'Install-ChocolateyInstallPackage' for gitextensions with File:'C:\ProgramData\chocolatey\lib\gitextensions\tools\GitExtensions-<IP_ADDRESS>87-f2567dea2.msi', File64:'', SilentArguments:'/quiet /norestart ADDDEFAULT=ALL REMOVE=AddToPath', InstallerType:'msi', ValidExitCodes:'0,3010,1641', UseOnlyPackageSilentArguments:'False' AnswerFile:''
2022-12-19 11:38:13,110 13784 [INFO ] - Installing GitExtensions-<IP_ADDRESS>87-f2567dea2.msi...
2022-12-19 11:38:13,120 13784 [DEBUG] - Running licensed 'Start-ChocolateyProcessAsAdmin' with ExeToRun:'C:\WINDOWS\System32\msiexec.exe', Statements:'/i "C:\ProgramData\chocolatey\lib\gitextensions\tools\GitExtensions-<IP_ADDRESS>87-f2567dea2.msi" /quiet /norestart ADDDEFAULT=ALL REMOVE=AddToPath', Elevated:'True', Minimized:'False', NoSleep:'False', ValidExitCodes: '0,3010,1641', WorkingDirectory:'C:\ProgramData\chocolatey\lib\gitextensions\tools', AnswerFile:'' Has SensitiveStatements:'False'
2022-12-19 11:38:13,178 13784 [DEBUG] - Running ['C:\WINDOWS\System32\msiexec.exe' /i "C:\ProgramData\chocolatey\lib\gitextensions\tools\GitExtensions-<IP_ADDRESS>87-f2567dea2.msi" /quiet /norestart ADDDEFAULT=ALL REMOVE=AddToPath]. This may take a while, depending on the statements.
2022-12-19 11:38:16,056 13784 [DEBUG] - Command ['C:\WINDOWS\System32\msiexec.exe' /i "C:\ProgramData\chocolatey\lib\gitextensions\tools\GitExtensions-<IP_ADDRESS>87-f2567dea2.msi" /quiet /norestart ADDDEFAULT=ALL REMOVE=AddToPath] exited with '0'
2022-12-19 11:38:16,060 13784 [DEBUG] - Finishing licensed 'Start-ChocolateyProcessAsAdmin'
2022-12-19 11:38:16,060 13784 [INFO ] - GitExtensions-<IP_ADDRESS>87-f2567dea2.msi has been installed.
2022-12-19 11:38:16,070 13784 [INFO ] - VERBOSE: Trying local and machine (x32 & x64) Uninstall keys
2022-12-19 11:38:16,090 13784 [DEBUG] - Running Get-UninstallRegistryKey -softwareName 'GitExtensions'
2022-12-19 11:38:16,095 13784 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
2022-12-19 11:38:16,190 13784 [DEBUG] - Registry uninstall keys on system: 200
2022-12-19 11:38:16,190 13784 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
2022-12-19 11:38:16,269 13784 [WARN ] - WARNING: No registry key found based on  'GitExtensions'
2022-12-19 11:38:16,269 13784 [DEBUG] - Found 0 uninstall registry key(s) with SoftwareName:'GitExtensions'
2022-12-19 11:38:16,269 13784 [INFO ] - VERBOSE: Found 0 keys, aborting this method
2022-12-19 11:38:16,280 13784 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
2022-12-19 11:38:16,280 13784 [INFO ] - VERBOSE: Trying Program Files with 2 levels depth: C:\Program Files C:\Program Files\*\* C:\Program Files (x86) C:\Program Files (x86)\*\*
2022-12-19 11:38:16,479 13784 [DEBUG] - Running Install-BinFile -name 'gitex' -path 'C:\Program Files (x86)\GitExtensions\gitex.cmd'
2022-12-19 11:38:16,491 13784 [DEBUG] - ShimGen found at 'C:\ProgramData\chocolatey\tools\shimgen.exe'
2022-12-19 11:38:16,492 13784 [DEBUG] - Calling C:\ProgramData\chocolatey\tools\shimgen.exe -o "C:\ProgramData\chocolatey\bin\gitex.exe" -p "c:\program files (x86)\gitextensions\gitex.cmd" -i "C:\Program Files (x86)\GitExtensions\gitex.cmd"
2022-12-19 11:38:16,697 13784 [INFO ] - Added C:\ProgramData\chocolatey\bin\gitex.exe shim pointed to 'c:\program files (x86)\gitextensions\gitex.cmd'.
2022-12-19 11:38:16,702 13784 [DEBUG] - ----------------------------------------------------------------------
2022-12-19 11:38:16,705 13784 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\gitextensions\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
2022-12-19 11:38:16,708 13784 [DEBUG] - Calling command ['"C:\WINDOWS\System32\shutdown.exe" /a']
2022-12-19 11:38:16,760 13784 [DEBUG] - Command ['"C:\WINDOWS\System32\shutdown.exe" /a'] exited with '1116'
2022-12-19 11:38:16,797 13784 [INFO ] -   gitextensions may be able to be automatically uninstalled.
2022-12-19 11:38:16,803 13784 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
 see the changes (or in powershell/cmd.exe just type `refreshenv`).
2022-12-19 11:38:16,805 13784 [DEBUG] - Logging of values is not turned on by default because it
 could potentially expose sensitive data. If you understand the risk,
 please see `choco feature -h` for information to turn it on.
2022-12-19 11:38:16,808 13784 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2022-12-19 11:38:16,812 13784 [DEBUG] -   * Path='[REDACTED]' (Machine)
2022-12-19 11:38:16,842 13784 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\gitextensions'
2022-12-19 11:38:16,880 13784 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\gitextensions\gitextensions.nupkg'
  with checksum 'B3DC12D663D4077CA5B8B6A7DB0DFAC6'
2022-12-19 11:38:16,884 13784 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\gitextensions\gitextensions.nuspec'
  with checksum 'D72EE034BE14CFA3A5754DB1526FC3AD'
2022-12-19 11:38:16,884 13784 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\gitextensions\legal\LICENSE.md'
  with checksum 'C65BD98A28A1650EA6C957EE51B1A341'
2022-12-19 11:38:16,889 13784 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\gitextensions\legal\VERIFICATION.txt'
  with checksum 'B30744F961CF02CA934F070E7814B576'
2022-12-19 11:38:16,891 13784 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\gitextensions\tools\chocolateyInstall.ps1'
  with checksum '3F402A121EC1052261FD0B7441ACC3F9'
2022-12-19 11:38:16,892 13784 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\gitextensions\tools\chocolateyUninstall.ps1'
  with checksum 'C7DA3C46F45B6C0D5191699AF6BDD48B'
2022-12-19 11:38:16,936 13784 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\gitextensions\tools\GitExtensions-<IP_ADDRESS>87-f2567dea2.msi'
  with checksum '6479E68F4E46E91EF1A19F9659D63500'
2022-12-19 11:38:16,937 13784 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\gitextensions\tools\GitExtensions-<IP_ADDRESS>87-f2567dea2.msi.ignore'
  with checksum 'ECAA88F7FA0BF610A5A26CF545DCD3AA'
2022-12-19 11:38:16,952 13784 [INFO ] -  Reducing package size for 'gitextensions'...
2022-12-19 11:38:16,954 13784 [DEBUG] - Attempting to create directory "C:\Users\Administrator\AppData\Local\Temp\chocolatey\ChocolateyPackageCache\PackageCache_20221219_113816_9511".
2022-12-19 11:38:16,956 13784 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib\gitextensions\gitextensions.nuspec"
 to "C:\Users\Administrator\AppData\Local\Temp\chocolatey\ChocolateyPackageCache\PackageCache_20221219_113816_9511\gitextensions.nuspec".
2022-12-19 11:38:17,090 13784 [INFO ] -  Reducing nupkg file size ('gitextensions').
2022-12-19 11:38:17,114 13784 [INFO ] -  Reducing extracted archives and installers ('gitextensions').
2022-12-19 11:38:17,116 13784 [INFO ] -  Removing 'C:\ProgramData\chocolatey\lib\gitextensions\tools\GitExtensions-<IP_ADDRESS>87-f2567dea2.msi' ('gitextensions').
2022-12-19 11:38:17,117 13784 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gitextensions\tools\GitExtensions-<IP_ADDRESS>87-f2567dea2.msi".
2022-12-19 11:38:17,122 13784 [INFO ] -  Space reduced for 'gitextensions': 40,53 MB.
2022-12-19 11:38:17,122 13784 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gitextensions\gitextensions.nupkg.bkp".
2022-12-19 11:38:17,144 13784 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\gitextensions.4.0.1\.registry'
2022-12-19 11:38:17,145 13784 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gitextensions.4.0.1\.extra".
2022-12-19 11:38:17,150 13784 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gitextensions.4.0.1\.version".
2022-12-19 11:38:17,150 13784 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gitextensions.4.0.1\.sxs".
2022-12-19 11:38:17,150 13784 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\gitextensions.4.0.1\.pin".
2022-12-19 11:38:17,157 13784 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2022-12-19 11:38:17,158 13784 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\gitextensions\.chocolateyPending".
2022-12-19 11:38:17,161 13784 [INFO ] -  The install of gitextensions was successful.
2022-12-19 11:38:17,163 13784 [INFO ] -   Software install location not explicitly set, it could be in package or
  default install location of installer.
2022-12-19 11:38:17,166 13784 [DEBUG] - Attempting to delete file "C:\Users\Administrator\AppData\Local\NuGet\Cache\gitextensions.4.0.1.nupkg".
2022-12-19 11:38:17,175 13784 [WARN ] -
Chocolatey installed 1/1 packages.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2022-12-19 11:38:17,180 13784 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...

Anything else?
No response

#2111 is actually a duplicate of this one and should have been closed. However, I raised a PR against that so closing this one in favour of that.


Authorizations

Hello, in this PR we have managed to do the following tasks as required in milestone requirements

We, Installed CanCanCan in your project.
Add a role column to the users table. Remember to use a migration for this.

A user can delete a post if it is theirs or if they have an admin role (column role has value "admin"). Use CanCanCan for this authorization.

For that you need to implement the post deleting functionality. Add the "Delete" button to the view and make sure that only authorized users can see it.

A user can delete a comment if it is theirs or if they have an admin role (column role has value "admin"). Use CanCanCan for this authorization.
-For that you need to implement the comment deleting functionality. Add the "Delete" button to the view and make sure that only authorized users can see it.
Thank you for reviewing Our PR, we look forward to hear from your feedback

Thank you @levy002 for approving our Project!!


Add configuration examples for PodPresets (reopened)

What this PR does / why we need it:
Adds documentation for the PodPreset setting and fixes a bug
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

/retest
flake

/meow

/test pull-kubeone-license-validation
/override pull-kubeone-e2e-aws-conformance-1.18


Host with GPU access

Thank you for making it public, it's pretty awesome.
I have however a question that do you have any suggestion about the host that I can have the access to GPU?
Thanks,
Ai

Ik it's very late, but I just had the same problem and figured out this command does it: diffuzers app --device cuda. Keep in mind, that you need to have the correct torch version installed though. The normal one does NOT function for cuda. This makes it quite easy to get correct version.


cannot import GPVideoPlayer

I face problem with importing the GPVideoPlayer. Can some please assist me. I think It is working but just need abit more help

the problem image is found in medium, https://medium.com/p/7dc21bb82f3/responses/show.


[BUG] failed to make any backup

Describe the bug
A clear and concise description of what the bug is.
I have scheduled a backup job, but it seems I never get any backup happened. So I decide to do it manually. I then ends up in getting an error like this:
fail to create snapshot: error creating snapshot '': Timeout executing: /var/lib/longhorn/engine-binaries/r.liveit100.com-longhornio-longhorn-engine-v1.1.0/longhorn [--url <IP_ADDRESS>:10000 snapshot create ], output , stderr, , error <nil>
To Reproduce
Steps to reproduce the behavior:

Go to 'volume page '
Click on 'backup'
Perform 'backup'
See error :
fail to create snapshot: error creating snapshot '': Timeout executing: /var/lib/longhorn/engine-binaries/r.liveit100.com-longhornio-longhorn-engine-v1.1.0-td/longhorn [--url <IP_ADDRESS>:10000 snapshot create ], output , stderr, , error <nil>
Expected behavior
A clear and concise description of what you expected to happen.
backup should goes ok

Log
If applicable, add the Longhorn managers' log when the issue happens.
For one of the volume, I find this in instance-manager logs
[pvc-e7c6c0f6-7a78-43c3-8644-ebe5edbe45b8-e-18668550] time="2021-03-25T06:30:03Z" level=info msg="default: automatically rescan all LUNs of all iscis sessions"
[longhorn-instance-manager] time="2021-03-25T06:30:03Z" level=warning msg="timeout: failed to connect service \"localhost:10001\""
[longhorn-instance-manager] time="2021-03-25T06:30:03Z" level=info msg="wait for gRPC service of process pvc-e7c6c0f6-7a78-43c3-8644-ebe5edbe45b8-e-18668550 to start at localhost:10001"
[longhorn-instance-manager] time="2021-03-25T06:30:04Z" level=warning msg="timeout: failed to connect service \"localhost:10001\""
[longhorn-instance-manager] time="2021-03-25T06:30:04Z" level=info msg="wait for gRPC service of process pvc-e7c6c0f6-7a78-43c3-8644-ebe5edbe45b8-e-18668550 to start at localhost:10001"
[longhorn-instance-manager] time="2021-03-25T06:30:04Z" level=warning msg="timeout: failed to connect service \"localhost:10001\""
[longhorn-instance-manager] time="2021-03-25T06:30:04Z" level=info msg="wait for gRPC service of process pvc-e7c6c0f6-7a78-43c3-8644-ebe5edbe45b8-e-18668550 to start at localhost:10001"
[longhorn-instance-manager] time="2021-03-25T06:30:04Z" level=warning msg="timeout: failed to connect service \"localhost:10001\""
[longhorn-instance-manager] time="2021-03-25T06:30:04Z" level=info msg="wait for gRPC service of process pvc-e7c6c0f6-7a78-43c3-8644-ebe5edbe45b8-e-18668550 to start at localhost:10001"
[longhorn-instance-manager] time="2021-03-25T06:30:04Z" level=warning msg="timeout: failed to connect service \"localhost:10001\""
[longhorn-instance-manager] time="2021-03-25T06:30:04Z" level=info msg="wait for gRPC service of process pvc-e7c6c0f6-7a78-43c3-8644-ebe5edbe45b8-e-18668550 to start at localhost:10001"
[longhorn-instance-manager] time="2021-03-25T06:30:04Z" level=warning msg="timeout: failed to connect service \"localhost:10001\""
[longhorn-instance-manager] time="2021-03-25T06:30:04Z" level=info msg="wait for gRPC service of process pvc-e7c6c0f6-7a78-43c3-8644-ebe5edbe45b8-e-18668550 to start at localhost:10001"
[longhorn-instance-manager] time="2021-03-25T06:30:04Z" level=warning msg="timeout: failed to connect service \"localhost:10001\""
[longhorn-instance-manager] time="2021-03-25T06:30:04Z" level=info msg="wait for gRPC service of process pvc-e7c6c0f6-7a78-43c3-8644-ebe5edbe45b8-e-18668550 to start at localhost:10001"
[longhorn-instance-manager] time="2021-03-25T06:30:04Z" level=warning msg="timeout: failed to connect service \"localhost:10001\""
[longhorn-instance-manager] time="2021-03-25T06:30:04Z" level=info msg="wait for gRPC service of process pvc-e7c6c0f6-7a78-43c3-8644-ebe5edbe45b8-e-18668550 to start at localhost:10001"
[longhorn-instance-manager] time="2021-03-25T06:30:04Z" level=warning msg="timeout: failed to connect service \"localhost:10001\""
[longhorn-instance-manager] time="2021-03-25T06:30:04Z" level=info msg="wait for gRPC service of process pvc-e7c6c0f6-7a78-43c3-8644-ebe5edbe45b8-e-18668550 to start at localhost:10001"
[longhorn-instance-manager] time="2021-03-25T06:30:04Z" level=warning msg="timeout: failed to connect service \"localhost:10001\""
[longhorn-instance-manager] time="2021-03-25T06:30:04Z" level=info msg="wait for gRPC service of process pvc-e7c6c0f6-7a78-43c3-8644-ebe5edbe45b8-e-18668550 to start at localhost:10001"
[longhorn-instance-manager] time="2021-03-25T06:30:04Z" level=warning msg="timeout: failed to connect service \"localhost:10001\""
[longhorn-instance-manager] time="2021-03-25T06:30:04Z" level=info msg="wait for gRPC service of process pvc-e7c6c0f6-7a78-43c3-8644-ebe5edbe45b8-e-18668550 to start at localhost:10001"
[pvc-e7c6c0f6-7a78-43c3-8644-ebe5edbe45b8-e-18668550] time="2021-03-25T06:30:04Z" level=info msg="Creating device /dev/longhorn/pvc-e7c6c0f6-7a78-43c3-8644-ebe5edbe45b8 8:112"
[pvc-e7c6c0f6-7a78-43c3-8644-ebe5edbe45b8-e-18668550] time="2021-03-25T06:30:04Z" level=info msg="device pvc-e7c6c0f6-7a78-43c3-8644-ebe5edbe45b8: SCSI device sdh created"
time="2021-03-25T06:30:04Z" level=info msg="Listening on gRPC Controller server: <IP_ADDRESS>:10001"
[longhorn-instance-manager] time="2021-03-25T06:30:04Z" level=info msg="Process pvc-e7c6c0f6-7a78-43c3-8644-ebe5edbe45b8-e-18668550 has started at localhost:10001"

You can also attach a Support Bundle here. You can generate a Support Bundle using the link at the footer of the Longhorn UI.
Environment:

Longhorn version: master
Installation method (e.g. Rancher Catalog App/Helm/Kubectl):  Kubectl
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: k3s

Number of management node in the cluster: 3
Number of worker node in the cluster: 3

Node config

OS type and version: k3os
CPU per node: 1
Memory per node: 32G
Disk type(e.g. SSD/NVMe): ssd
Network bandwidth between the nodes: 1G

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal):
Number of Longhorn volumes in the cluster: 10

Additional context
Add any other context about the problem here.

Is backup actually working, I run v1.1.0 and do backup to minio. After create backup, my backup list is still empty after a couple of hours.

HI! Can you provide support bundle so we investigate? Also, It seems like the resources (CPU/Network) is are at low-end side probably can try to increase the resource.

@cclhsu from the log, it failed to snap and hang. I play it as toy to study longhorn. I have torn it down. I will installed the latest version when released and try again to see if it works better.

@ElisaMeng  Did you have a chance to try the latest Longhorn version (v1.1.1) ?

Close this issue because of no activity


Set "route api available" to true when controller boots up

If the controller is used a library, we need to ensure that this logic is available in the controller too and not only in main.go.

No clue how to add a test on this one, help will be appreciated ! :)

No clue how to add a test on this one, help will be appreciated ! :)


mac-2, mac-24, mac-8 and mac-28 lost external connection phone device.

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
mac-2, mac-24, mac-8 and mac-28 lost external connection phone device.

Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

Rebooting all phone devices above to restore all connections.


Can't import sparkdl with spark-deep-learning-assembly-0.1.0-spark2.1.jar

First of all, thank you for a great library!
I tried to use sparkdl in PySpark, but couldn't import sparkdl.
Detailed procedure is as follows:
# make sparkdl jar
build/sbt assembly

# run pyspark with sparkdl
pyspark --master local[4] --jars target/scala-2.11/spark-deep-learning-assembly-0.1.0-spark2.1.jar

# import sparkdl
import sparkdl
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named sparkdl

After digging a few places, I found that it works if I deflate the jar file as follows.
cd target/scala-2.11
mkdir tmp
cp spark-deep-learning-assembly-0.1.0-spark2.1.jar tmp/
cd tmp
jar xf spark-deep-learning-assembly-0.1.0-spark2.1.jar

pyspark --jars spark-deep-learning-assembly-0.1.0-spark2.1.jar

import sparkdl
Using TensorFlow backend.

Edited-1 : The second method works only in the directory where the jar file is deflated.
Best wishes,
HanCheol

If you don't need to change the code, the easiest way to start pyspark with the library would be
pyspark --packages databricks:spark-deep-learning:0.1.0-spark2.1-s_2.11

If you need to use the jar, it should work if you also add the jar to the PYTHONPATH environment variable before the pyspark command. e.g. for bash:
export PYTHONPATH=$PYTHONPATH:$<path/to/assembly/jar>

Hope that works!

@sueann Thank you for a reply.
It was a problem of Python libraries.
After removing/re-installing keras (2.0.2-py27_0) and tensorflow (1.1.0-np111py27_0), importing sparkdl module worked perfectly.
Library versions may not be latest since I used conda (Anaconda2) for installing these libraries.

After a few hours of googling/testing, I finally found a complete solution for my problem.
When I run pyspark in local mode, --packages option is enough to import sparkdl.
$ pyspark --master local[1] --packages databricks:spark-deep-learning:0.1.0-spark2.1-s_2.11

>>> import sparkdl
Using TensorFlow backend.

But it breaks when pyspark runs in yarn mode.
$ pyspark --master yarn --packages databricks:spark-deep-learning:0.1.0-spark2.1-s_2.11

>>> import sparkdl
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named sparkdl

Interestingly, spark-submit runs a python program having the same import code without any problem.
Based on the information found here, https://issues.apache.org/jira/browse/SPARK-5185, I manually added paths to the downloaded jars into  sys.path variable (which is equivalent to PYTHONPATH).
And it started to work.
$ pyspark --master yarn --packages databricks:spark-deep-learning:0.1.0-spark2.1-s_2.11

>>> import sys, glob, os
>>> sys.path.extend(glob.glob(os.path.join(os.path.expanduser("~"), ".ivy2/jars/*.jar")))
>>>
>>> import sparkdl
Using TensorFlow backend.
>>> my_images = sparkdl.readImages("data/flower_photos/daisy/*.jpg")
>>> my_images.show()
+--------------------+--------------------+
|            filePath|               image|
+--------------------+--------------------+
|hdfs://mycluster/...|[RGB,263,320,3,[B...|
|hdfs://mycluster/...|[RGB,313,500,3,[B...|
|hdfs://mycluster/...|[RGB,215,320,3,[B...|
...

Based on the results of these try&error, it seems like pyspark in yarn mode doesn't properly set PYTHONPATH for the jar files added by --packages option.
Best wishes,
Hancheol

Thank you for sharing your findings, @priancho ! For the pyspark problem you found, maybe you can create an issue for Spark (not seeing anything quite the same there).

This issue sounds specific to pyspark, I will close this ticket for now. Feel free to reopen it if the issue seems to be specific to sparkdl.

Hello all
I have a big problem using databricks notebook for reading image. In fact I am trying to run the following code:
from sparkdl import readImages
but it generates error "No module named sparkdl"
When I try to install sparkdl using create library in Databricks, it cannot find sparkdl. Even by adding library
"spark deep learning", it still can not recognize sparkdl.
Does this have other name for installation in Databricks notebook or is there any other way to install sparkdl within my notebook?
Your help is really appreciated
Thanks a lot
Fari

Hi, I was not able to save the Pipeline Model that had the stages {DeepImageFeaturizer, RandomForestClassifier}. However, the save method fails saying that "DeepImageFeaturizer does not have an attribute "_to_java".
If anyone of you worked around it, can you pls share that with me.

Hi @arunnatva, DeepImageFeaturizer is not serializable yet. A workaround would be to save the RandomForestClassifier and then reconstruct the Pipeline after loading it back in. DeepImageFeaturizer doesn't have any weights to save (unless you don't have internet connection when you need to load back the pipeline and use it), so re-creating it with the same params should result in an equivalent DeepImageFeaturizer instance.

Unresolved Dependency issue arises when I specify sparkdl under --sparkdl
(replacing the true identities of my http proxy & https proxy here)
pyspark --master spark://localhost:7077 --driver-java-options "-Dhttp.proxyHost= -Dhttp.proxyPort=8000 -Dhttps.proxyHost= -Dhttps.proxyPort=8000"  --packages databricks:spark-deep-learning:0.1.0-spark2.1-s_2.11
I get the following (sorry for the long paste)
:: loading settings :: url = jar:file:/usr/lib/python2.7/site-packages/pyspark/jars/ivy-2.4.0.jar!/org/apache/ivy/core/settings/ivysettings.xml
databricks#spark-deep-learning added as a dependency
:: resolving dependencies :: org.apache.spark#spark-submit-parent;1.0
confs: [default]
:: resolution report :: resolve 255927ms :: artifacts dl 0ms
:: modules in use:
---------------------------------------------------------------------
|                  |            modules            ||   artifacts   |
|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
|      default     |   1   |   0   |   0   |   0   ||   0   |   0   |
---------------------------------------------------------------------
:: problems summary ::
:::: WARNINGS
module not found: databricks#spark-deep-learning;0.1.0-spark2.1-s_2.11
==== local-m2-cache: tried

  file:/nas1/buvana/.m2/repository/databricks/spark-deep-learning/0.1.0-spark2.1-s_2.11/spark-deep-learning-0.1.0-spark2.1-s_2.11.pom

  -- artifact databricks#spark-deep-learning;0.1.0-spark2.1-s_2.11!spark-deep-learning.jar:

  file:/nas1/buvana/.m2/repository/databricks/spark-deep-learning/0.1.0-spark2.1-s_2.11/spark-deep-learning-0.1.0-spark2.1-s_2.11.jar

==== local-ivy-cache: tried

  /nas1/buvana/.ivy2/local/databricks/spark-deep-learning/0.1.0-spark2.1-s_2.11/ivys/ivy.xml

  -- artifact databricks#spark-deep-learning;0.1.0-spark2.1-s_2.11!spark-deep-learning.jar:

  /nas1/buvana/.ivy2/local/databricks/spark-deep-learning/0.1.0-spark2.1-s_2.11/jars/spark-deep-learning.jar

==== central: tried

  https://repo1.maven.org/maven2/databricks/spark-deep-learning/0.1.0-spark2.1-s_2.11/spark-deep-learning-0.1.0-spark2.1-s_2.11.pom

  -- artifact databricks#spark-deep-learning;0.1.0-spark2.1-s_2.11!spark-deep-learning.jar:

  https://repo1.maven.org/maven2/databricks/spark-deep-learning/0.1.0-spark2.1-s_2.11/spark-deep-learning-0.1.0-spark2.1-s_2.11.jar

==== spark-packages: tried

  http://dl.bintray.com/spark-packages/maven/databricks/spark-deep-learning/0.1.0-spark2.1-s_2.11/spark-deep-learning-0.1.0-spark2.1-s_2.11.pom

  -- artifact databricks#spark-deep-learning;0.1.0-spark2.1-s_2.11!spark-deep-learning.jar:

  http://dl.bintray.com/spark-packages/maven/databricks/spark-deep-learning/0.1.0-spark2.1-s_2.11/spark-deep-learning-0.1.0-spark2.1-s_2.11.jar

	::::::::::::::::::::::::::::::::::::::::::::::

	::          UNRESOLVED DEPENDENCIES         ::

	::::::::::::::::::::::::::::::::::::::::::::::

	:: databricks#spark-deep-learning;0.1.0-spark2.1-s_2.11: not found

	::::::::::::::::::::::::::::::::::::::::::::::

:::: ERRORS
Server access error at url http://dl.bintray.com/spark-packages/maven/databricks/spark-deep-learning/0.1.0-spark2.1-s_2.11/spark-deep-learning-0.1.0-spark2.1-s_2.11.pom (java.net.ConnectException: Connection timed out (Connection timed out))
Server access error at url http://dl.bintray.com/spark-packages/maven/databricks/spark-deep-learning/0.1.0-spark2.1-s_2.11/spark-deep-learning-0.1.0-spark2.1-s_2.11.jar (java.net.ConnectException: Connection timed out (Connection timed out))

:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
Exception in thread "main" java.lang.RuntimeException: [unresolved dependency: databricks#spark-deep-learning;0.1.0-spark2.1-s_2.11: not found]
at org.apache.spark.deploy.SparkSubmitUtils$.resolveMavenCoordinates(SparkSubmit.scala:1177)
at org.apache.spark.deploy.SparkSubmit$.prepareSubmitEnvironment(SparkSubmit.scala:298)
at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:153)
at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:119)
at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/pyspark/python/pyspark/shell.py", line 38, in
SparkContext._ensure_initialized()
File "/usr/lib/python2.7/site-packages/pyspark/context.py", line 283, in _ensure_initialized
SparkContext._gateway = gateway or launch_gateway(conf)
File "/usr/lib/python2.7/site-packages/pyspark/java_gateway.py", line 95, in launch_gateway
raise Exception("Java gateway process exited before sending the driver its port number")
Exception: Java gateway process exited before sending the driver its port number
I verified that _http://dl.bintray.com/spark-packages/maven/databricks/spark-deep-learning/0.1.0-spark2.1-s_2.11/spark-deep-learning-0.1.0-spark2.1-s_2.11.jar_ exists and was able to download it by other means...
But wonder why I get unresolved dependency. I DID invoke the command with appropriate proxy settings...

@abuvaneswari can you try some other spark packages to make sure this issue is not specific to Deep Learning Pipelines? For example, you can try com.databricks:spark-avro_2.11:3.2.0 .

Yes,  com.databricks:spark-avro_2.11:3.2.0 was successful
buvana@datamon20:~/spark$ pyspark --packages com.databricks:spark-avro_2.11:3.2.0
Python 2.7.5 (default, Aug  4 2017, 00:39:18)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Ivy Default Cache set to: /nas1/buvana/.ivy2/cache
The jars for the packages stored in: /nas1/buvana/.ivy2/jars
:: loading settings :: url = jar:file:/usr/lib/python2.7/site-packages/pyspark/jars/ivy-2.4.0.jar!/org/apache/ivy/core/settings/ivysettings.xml
com.databricks#spark-avro_2.11 added as a dependency
:: resolving dependencies :: org.apache.spark#spark-submit-parent;1.0
confs: [default]
found com.databricks#spark-avro_2.11;3.2.0 in central
found org.slf4j#slf4j-api;1.7.5 in spark-list
found org.apache.avro#avro;1.7.6 in central
found org.codehaus.jackson#jackson-core-asl;1.9.13 in spark-list
found org.codehaus.jackson#jackson-mapper-asl;1.9.13 in spark-list
found com.thoughtworks.paranamer#paranamer;2.3 in spark-list
found org.xerial.snappy#snappy-java;1.0.5 in central
found org.apache.commons#commons-compress;1.4.1 in spark-list
found org.tukaani#xz;1.0 in spark-list
downloading https://repo1.maven.org/maven2/com/databricks/spark-avro_2.11/3.2.0/spark-avro_2.11-3.2.0.jar ...
[SUCCESSFUL ] com.databricks#spark-avro_2.11;3.2.0!spark-avro_2.11.jar (199ms)
downloading https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar ...
[SUCCESSFUL ] org.slf4j#slf4j-api;1.7.5!slf4j-api.jar (123ms)
downloading https://repo1.maven.org/maven2/org/apache/avro/avro/1.7.6/avro-1.7.6.jar ...
[SUCCESSFUL ] org.apache.avro#avro;1.7.6!avro.jar(bundle) (168ms)
downloading https://repo1.maven.org/maven2/com/thoughtworks/paranamer/paranamer/2.3/paranamer-2.3.jar ...
[SUCCESSFUL ] com.thoughtworks.paranamer#paranamer;2.3!paranamer.jar (117ms)
downloading https://repo1.maven.org/maven2/org/xerial/snappy/snappy-java/1.0.5/snappy-java-1.0.5.jar ...
[SUCCESSFUL ] org.xerial.snappy#snappy-java;1.0.5!snappy-java.jar(bundle) (310ms)
:: resolution report :: resolve 261084ms :: artifacts dl 952ms
:: modules in use:
com.databricks#spark-avro_2.11;3.2.0 from central in [default]
com.thoughtworks.paranamer#paranamer;2.3 from spark-list in [default]
org.apache.avro#avro;1.7.6 from central in [default]
org.apache.commons#commons-compress;1.4.1 from spark-list in [default]
org.codehaus.jackson#jackson-core-asl;1.9.13 from spark-list in [default]
org.codehaus.jackson#jackson-mapper-asl;1.9.13 from spark-list in [default]
org.slf4j#slf4j-api;1.7.5 from spark-list in [default]
org.tukaani#xz;1.0 from spark-list in [default]
org.xerial.snappy#snappy-java;1.0.5 from central in [default]
:: evicted modules:
org.slf4j#slf4j-api;1.6.4 by [org.slf4j#slf4j-api;1.7.5] in [default]
---------------------------------------------------------------------
|                  |            modules            ||   artifacts   |
|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
|      default     |   10  |   3   |   3   |   1   ||   9   |   5   |
---------------------------------------------------------------------
Note that its able to successfully retrieve the package from repo1.maven.org,
Going back to my original question, here is some additional info:
I browsed repo1.maven.org. Found that spark-deep-learning:0.1.0-spark2.1-s_2.11 is not even there under com/databricks (also looked for a databricks top dir, did not find it). If its present, my pyspark client would have successfully downloaded it.
As mentioned earlier, http://dl.bintray.com/spark-packages/maven/databricks/spark-deep-learning/0.1.0-spark2.1-s_2.11/spark-deep-learning-0.1.0-spark2.1-s_2.11.jar  is a valid link (verified using wget from the same server). But for some reason, my pyspark client is not able to access it.

@abuvaneswari sorry for the delay. My suggestion with spark-avro was misguided, because it is stored in the Maven Central repository, which you seem to have no problem accessing. Spark packages uses a different repository, which is the source of the problem. Can you try to add this package instead:  graphframes:graphframes:0.5.0-spark2.1-s_2.11

@thunterdb , getting the unresolved dependency error:
$ pyspark --packages graphframes:graphframes:0.5.0-spark2.1-s_2.11
Python 2.7.5 (default, Aug  4 2017, 00:39:18)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Ivy Default Cache set to: /nas1/buvana/.ivy2/cache
The jars for the packages stored in: /nas1/buvana/.ivy2/jars
:: loading settings :: url = jar:file:/usr/lib/python2.7/site-packages/pyspark/jars/ivy-2.4.0.jar!/org/apache/ivy/core/settings/ivysettings.xml
graphframes#graphframes added as a dependency
:: resolving dependencies :: org.apache.spark#spark-submit-parent;1.0
confs: [default]
:: resolution report :: resolve 255945ms :: artifacts dl 1ms
:: modules in use:
---------------------------------------------------------------------
|                  |            modules            ||   artifacts   |
|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
|      default     |   1   |   0   |   0   |   0   ||   0   |   0   |
---------------------------------------------------------------------
:: problems summary ::
:::: WARNINGS
module not found: graphframes#graphframes;0.5.0-spark2.1-s_2.11
==== local-m2-cache: tried

  file:/nas1/buvana/.m2/repository/graphframes/graphframes/0.5.0-spark2.1-s_2.11/graphframes-0.5.0-spark2.1-s_2.11.pom

  -- artifact graphframes#graphframes;0.5.0-spark2.1-s_2.11!graphframes.jar:

  file:/nas1/buvana/.m2/repository/graphframes/graphframes/0.5.0-spark2.1-s_2.11/graphframes-0.5.0-spark2.1-s_2.11.jar

==== local-ivy-cache: tried

  /nas1/buvana/.ivy2/local/graphframes/graphframes/0.5.0-spark2.1-s_2.11/ivys/ivy.xml

  -- artifact graphframes#graphframes;0.5.0-spark2.1-s_2.11!graphframes.jar:

  /nas1/buvana/.ivy2/local/graphframes/graphframes/0.5.0-spark2.1-s_2.11/jars/graphframes.jar

==== central: tried

  https://repo1.maven.org/maven2/graphframes/graphframes/0.5.0-spark2.1-s_2.11/graphframes-0.5.0-spark2.1-s_2.11.pom

  -- artifact graphframes#graphframes;0.5.0-spark2.1-s_2.11!graphframes.jar:

  https://repo1.maven.org/maven2/graphframes/graphframes/0.5.0-spark2.1-s_2.11/graphframes-0.5.0-spark2.1-s_2.11.jar

==== spark-packages: tried

  http://dl.bintray.com/spark-packages/maven/graphframes/graphframes/0.5.0-spark2.1-s_2.11/graphframes-0.5.0-spark2.1-s_2.11.pom

  -- artifact graphframes#graphframes;0.5.0-spark2.1-s_2.11!graphframes.jar:

  http://dl.bintray.com/spark-packages/maven/graphframes/graphframes/0.5.0-spark2.1-s_2.11/graphframes-0.5.0-spark2.1-s_2.11.jar

	::::::::::::::::::::::::::::::::::::::::::::::

	::          UNRESOLVED DEPENDENCIES         ::

	::::::::::::::::::::::::::::::::::::::::::::::

	:: graphframes#graphframes;0.5.0-spark2.1-s_2.11: not found

	::::::::::::::::::::::::::::::::::::::::::::::

:::: ERRORS
Server access error at url http://dl.bintray.com/spark-packages/maven/graphframes/graphframes/0.5.0-spark2.1-s_2.11/graphframes-0.5.0-spark2.1-s_2.11.pom (java.net.ConnectException: Connection timed out (Connection timed out))
Server access error at url http://dl.bintray.com/spark-packages/maven/graphframes/graphframes/0.5.0-spark2.1-s_2.11/graphframes-0.5.0-spark2.1-s_2.11.jar (java.net.ConnectException: Connection timed out (Connection timed out))

:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
Exception in thread "main" java.lang.RuntimeException: [unresolved dependency: graphframes#graphframes;0.5.0-spark2.1-s_2.11: not found]
at org.apache.spark.deploy.SparkSubmitUtils$.resolveMavenCoordinates(SparkSubmit.scala:1177)
at org.apache.spark.deploy.SparkSubmit$.prepareSubmitEnvironment(SparkSubmit.scala:298)
at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:153)
at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:119)
at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/pyspark/python/pyspark/shell.py", line 38, in
SparkContext._ensure_initialized()
File "/usr/lib/python2.7/site-packages/pyspark/context.py", line 283, in _ensure_initialized
SparkContext._gateway = gateway or launch_gateway(conf)
File "/usr/lib/python2.7/site-packages/pyspark/java_gateway.py", line 95, in launch_gateway
raise Exception("Java gateway process exited before sending the driver its port number")
Exception: Java gateway process exited before sending the driver its port number

Thanks Sue Ann.
The above approach worked for me.
We were trying to run the same code on a windows box with GPUs by
installing spark, and other python packages such as Keras, Tensorflow etc.,
However, the method "readImages" does not work with windows as it errors
out citing a reason regarding UTF-8 encoding and cant recognize the first
byte 0x80.
Have you run the readImages or DeepImageFeaturizer code on windows box with
any sample images ?
Hoping to find out if you have an answer on top of your head
Thanks,
Arun
On Thu, Sep 14, 2017 at 6:33 PM, Sue Ann Hong<EMAIL_ADDRESS>wrote:

Hi @arunnatva https://github.com/arunnatva, DeepImageFeaturizer is not
serializable yet. A workaround would be to save the RandomForestClassifier
and then reconstruct the Pipeline after loading it back in.
DeepImageFeaturizer doesn't have any weights to save (unless you don't have
internet connection when you need to load back the pipeline and use it), so
re-creating it with the same params should result in an equivalent
DeepImageFeaturizer instance.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/databricks/spark-deep-learning/issues/18#issuecomment-329627197,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHMIPL7jnJYvZLwW28lvtROAbkI4yvqrks5sianLgaJpZM4N1Arh
.

--
Regards,
Arun Kumar Natva

@priancho thanks for the solution. I did try using the sys.path.extend(glob.glob(os.path.join(os.path.expanduser("~"), ".ivy2/jars/*.jar"))) which sets the driver classpath correctly but it doesn't set the worker classpath. Were you able to move forward in that direction ?


Add tests for non-usei tokens via wasm precompile

Describe your changes and provide context
This adds hardhat tests for testing the wasm precompile execute paths when sending amounts that aren't "usei" denominated.
Testing performed to validate your change
Tests added

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 60.70%. Comparing base (e949a96) to head (f8a3da0).
Report is 1 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #1699      +/-   ##
==========================================
+ Coverage   60.67%   60.70%   +0.02%
==========================================
  Files         368      368
  Lines       26978    26993      +15
==========================================
+ Hits        16369    16385      +16
  Misses       9493     9493
+ Partials     1116     1115       -1

see 2 files with indirect coverage changes


Upgrade org.pitest:pitest-maven 1.6.1 -> 1.6.2

This PR contains the following updates:

Package
Update
Change

org.pitest:pitest-maven
patch
1.6.1 -> 1.6.2

[ ] If you want to rebase/retry this PR, check this box

Suggested commit message:
Upgrade pitest-maven-plugin 1.6.1 -> 1.6.2

See:
- https://github.com/hcoles/pitest/releases/tag/pitest-parent-1.6.2
- https://github.com/hcoles/pitest/compare/pitest-parent-1.6.1...pitest-parent-1.6.2

Suggested commit message:
Upgrade pitest-maven-plugin 1.6.1 -> 1.6.2

See:
- https://github.com/hcoles/pitest/releases/tag/pitest-parent-1.6.2
- https://github.com/hcoles/pitest/compare/pitest-parent-1.6.1...pitest-parent-1.6.2


Added 17 missing columns to the list_activity_events function

There are 17 additional columns that are not currently in the list_activity_events function. I've added them in this PR, and confirmed on my end that all of them are pulling non-null values in. Some of these are necessary to see, for example, how a PBI report is being consumed (by App or Workspace).

@microsoft-github-policy-service agree

Here are the list of new columns being returned:
"Is Success",
"Activity Id",
"Item Name",
"Dataset Name",
"Report Name",
"Capacity Id",
"Capacity Name",
"App Name",
"Dataset Id",
"Report Id",
"Artifact Id",
"Artifact Name",
"Report Type",
"App Report Id",
"Distribution Method",
"Consumption Method",
"Artifact Kind",


Audit use of TO_NATIVE_PATH.

TO_NATIVE_PATH should only be used when (1) pasting a path into a command line, or (2) displaying a path to a user. It must not be used before calling other CMake operations like file(WRITE.
Fixes https://github.com/microsoft/vcpkg/issues/26178
ports/ffmpeg/portfile.cmake:
Both uses are being embedded into a command line ✅
ports/gdal/dependency_win.cmake
117: This used TO_NATIVE_PATH but didn't actually connect the result. It's going on a command line so TO_NATIVE_PATH is appropriate.
Drive by: Added quotes around other uses (all of which seem to be going to command lines).
202: ${EXPAT_LIBRARY_REL} ${ZLIB_LIBRARY_REL} don't seem to be set even though they are used; I think this is wrong but I don't know for sure that it is so I'm leaving it alone for now.
ports/msmpi/portfile.cmake
All 3 uses are being embedded into a command line ✅
ports/jemalloc/fix-utilities.patch
ports/libproxy/fix-dependency-libmodman.patch
ports/qtbase/env.patch
These are in upstream content / context so it is not edited.
ports/opengl/portfile.cmake
Broken! Drive by fixes:

Modernized checking VCPKG_BUILD_TYPE
Ordered things consistently to be release then debug.
Removed funny newlines.

ports/openni2/portfile.cmake
Borderline OK; it goes into an MSBuild / vcxproj. I'm leaving it alone. Drive by fixes:

Guarded debug-only copies for VCPKG_BUILD_TYPE
Fixed supports expression

ports/openssl/unix/CMakeLists.txt:
Unused!
ports/pthreads/portfile.cmake:
Both uses are being embedded into a command line ✅
ports/qt5-base/cmake/qt_fix_makefile_install.cmake
I'm not sure if this one is OK but it's being embedded into a file so it's probably fine.
ports/qtapplicationmanager/portfile.cmake:
I'm pretty sure this one is wrong, but it's guarded by VCPKG_TARGET_IS_WINDOWS so the ability to create damage is limited.
ports/readosm/portfile.cmake:
The use is being embedded into a command line ✅
ports/spatialite-tools/portfile.cmake:
The use is being embedded into a command line ✅
ports/sqlcipher/portfile.cmake:
Both uses are being embedded into a command line ✅
scripts/ports.cmake:
Some uses were unused, others are immediately used and printed to the console. ✅
scripts/buildsystems/vcpkg.cmake:
Fixed :)
scripts/cmake/vcpkg_build_qmake:
Looks unused.
scripts/cmake/vcpkg_build_process.cmake:
Added to console message only. ✅
scripts/cmake/vcpkg_execute_required_process_repeat.cmake:
Added to console message only. ✅
Drive by: Fixed typo in variable name in the message.
scripts/cmake/vcpkg_execute_required_process.cmake:
Added to console message only. ✅

/azp run