The placeholder/label does not fill an empty multi select control

Example code

Classification
<Field
id="assetClass"
//  name="assetClass"
label="Classification"
placeholder="Classification"
helperText="Please select classification"
margin="normal"
component={Select}
inputProps={{
name:"assetClass",
id: 'classifications-label',
}}
>
{
productAggregate.map(option => (

{option.value}

))
}

if I change the Select Component to the materials core component. The label properly fills the empty component.
Wondering if this is  a bug or I'm doing something wrong.
If you goto the materials-ui docs demo the first drop-down in the examples works perfect. If you select and unselect the items you will see the label fill the empty control.
https://material-ui.com/demos/selects/
Even in the samples that you have provided the TextFields works perfectly, but the multi select does not.

I'm running into this same issue.

Looks like this is just a bit of surprising behaviour and my storybook exactly was not correct.
I have added another example here. Looks like the displayEmpty property will get you the behaviour you want


Remove statement about build-essential dependecies in apt vs. gem bootstrap

Current versions of chef packages in the Opscode APT repository depend on rubygems which in turn depends on build-essential.

Is there a ticket associated with this pull request?

I do not believe so.  I will open one and link them up later today.

Related JIRA bug http://tickets.opscode.com/browse/CHEF-2704


DDPB-3350: Update document sync payload

Purpose
Following the decision to change from multipart/related to application/json when sending documents to Sirius we need to update our DocumentSync code and Pact code to match the new swagger doc.
Fixes DDPB-3350
Approach
In progress
Learning
Any tips and tricks, blog posts or tools which helped you. Plus anything notable you've discovered about DigiDeps
Checklist

[ ] I have performed a self-review of my own code
[ ] I have updated documentation (Confluence/ADR/tech debt doc) where relevant
[ ] I have added tests to prove my work
[ ] The product team have approved these changes

Great stuff, happy to approve but can't because I created the PR :( Take this instead:


[2.x] CI Dependency Submission throws exception due to erroneous dependency

[warn] 	Note: Unresolved dependencies path:
[error] Failed to resolve the dependencies of util-tracking_2.12
[error] sbt.librarymanagement.ResolveException: Error downloading org.scala-sbt:util-logging_3:2.0.0-SNAPSHOT
[error]   Not found
[error]   Not found
[error]   not found: /home/runner/.ivy2/localorg.scala-sbt/util-logging_3/2.0.0-SNAPSHOT/ivys/ivy.xml
[error]   not found: https://repo1.maven.org/maven2/org/scala-sbt/util-logging_3/2.0.0-SNAPSHOT/util-logging_3-2.0.0-SNAPSHOT.pom
[error]   not found: /home/runner/.m2/repository/org/scala-sbt/util-logging_3/2.0.0-SNAPSHOT/util-logging_3-2.0.0-SNAPSHOT.pom
[error]   not found: https://oss.sonatype.org/content/repositories/snapshots/org/scala-sbt/util-logging_3/2.0.0-SNAPSHOT/util-logging_3-2.0.0-SNAPSHOT.pom
[error]   not found: https://s01.oss.sonatype.org/content/repositories/snapshots/org/scala-sbt/util-logging_3/2.0.0-SNAPSHOT/util-logging_3-2.0.0-SNAPSHOT.pom
[error]   not found: https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/util-logging_3/2.0.0-SNAPSHOT/ivys/ivy.xml
[error] 	at lmcoursier.CoursierDependencyResolution.unresolvedWarningOrThrow(CoursierDependencyResolution.scala:346)

c.c https://github.com/sbt/sbt/actions/runs/11296899752/job/31422675373
Why would util-logging_3 be dependency of util-tracking_2.12 in the first place? I believe Scala 2.12 cannot interop with Scala 3.

sbt-dependency-submission tries to compute the dependencies of all projects, on all crossScalaVersions.
Here I suspect the crossScalaVersions of util-tracking and util-logging are different. The former contains 2.12.x but not the latter.
It would be good to drop the 2.12.x version completely. I don't think we need to compile sbt on older Scala versions.

Traditionally util has been cross built because we cross publish Zinc 1.x to both Scala 2.12 and 2.13.
With Scala 3, we can probably drop the cross building.


Refactor/simplification model engine

Changes:

misc. refactoring and added debugging datasets

misc. refactoring and added debugging datasets


The Directive doesn't accept dynamic options

Hello,
I would like to use the directive with an options object and change some params based on user input in runtime.
I found that the directives accepts options only once - when I change the options object, directive doesn't know about it.
Is it known issue?
thanks.

HTML:
<input  type="text" matInput placeholder="Primary Address" formControlName="primaryAddressFormControl"
ngx-google-places-autocomplete
[options]="placesAutocompleteOptions" (onAddressChange)="handleAddressChange($event)"/>

TS:
// onInit
this.placesAutocompleteOptions =   {
types: [ '(cities)' ],
componentRestrictions: { country: 'us'}
};
// when user selects new country in dropdown
handleCountryChange($event) {
this.placesAutocompleteOptions.componentRestrictions.country = $event;
}

https://github.com/skynet2/ngx-google-places-autocomplete/issues/33
https://github.com/skynet2/ngx-google-places-autocomplete/blob/master/example/app/app.component.ts#L51

ref.reset() helped, thank you!

This example should be documented/referenced in the README


The "UseSingularNouns" rule should only generate a warning for words that are plural but not singular.

Suggestion
The "UseSingularNouns" rule should only generate a warning for words that are plural but not singular.

IsPlural
IsSingular
UseSingularNouns

False
False
no warning

False
True
no warning

True
False
warning

True
True
no warning

Before https://github.com/PowerShell/PSScriptAnalyzer/issues/139
The rule before #139 generated a warning for words that were both plural and singular.

IsPlural
IsSingular
UseSingularNouns

False
False
no warning

False
True
no warning

True
False
warning

True
True
warning (Why? The word is singular.)

After https://github.com/PowerShell/PSScriptAnalyzer/issues/139
The rule after #139 generates a warning even though the rule doesn't know if the word is plural or singular.

IsPlural
IsSingular
UseSingularNouns

False
False
warning (Why? If the program can't figure it out, don't generate warnings.)

False
True
no warning

True
False
warning

True
True
no warning

References
The "UseSingularNouns" rule can be traced back to:

Strongly Encouraged Development Guidelines
https://msdn.microsoft.com/en-us/library/dd878270(v=vs.85).aspx

Use a Specific Noun for a Cmdlet Name (SD01)

Nouns used in cmdlet naming need to be very specific so that the user can discover your cmdlets. Prefix generic nouns such as "server" with a shortened version of the product name. For example, if a noun refers to a server that is running an instance of Microsoft SQL Server, use a noun such as "SQLServer". The combination of specific nouns and the short list of approved verbs enable the user to quickly discover and anticipate functionality while avoiding duplication among cmdlet names.

To enhance the user experience, the noun that you choose for a cmdlet name should be singular. For example, use the name Get-Process instead of Get-Processes. It is best to follow this rule for all cmdlet names, even when a cmdlet is likely to act upon more than one item.

The part about singular vs. plural nouns is purely to "enhance the user experience". If the rule can't figure out if something is singular or plural, then the rule should not generate a warning, but leave the decision of how to "enhance the user experience" to the cmdlet writer.

Hi Francis, thank you for the suggestion. We would work on fixing this rule. Can you provide us with a word where IsSingular and IsPlural returns false? This would be really helpful for testing purposes. Thanks.

From a small list of English words, I found these:

a, all, another, any, anybody, anyone, anything, both, each, either, everybody, everyone, everything, he, her, hers, herself, him, himself, his, it, its, itself, me, mine

There is a great example of this right in front of all of us.  "Windows".  If you had a command called Reset-Windows, where Windows is a name and also a noun, then that would have to be allowed.  But you may also have Close-Window referring to a command that closes one or more open windows on your desktop, in which case that would have to be singular since that is referring to window as a noun only.  So the trick is in identifying when to warn on a noun like Windows.  This is a perfect example why command authors, and not only command users, need to be able to indicate their best practice.  The author of Reset-Windows should be able to apply an attribute to their command indicating that the noun is, in fact, singular.  See my other issue about enabling authors to steer PSScriptAnalyzer in the right direction like this.

Hi @imfrancisd, a new fix #220 is merged with BugFixes. We take your suggestion and modify the check based on the "truth table" (expected behavior). Thanks!


MRU on Branch

It's possible to alpha-stratify be aware of MRU files in the current branch?

This command all the files that were edited in the last 5 commits.
git log --pretty=format:  --name-only HEAD~5..HEAD

Is there a way to pipe this to alpha ? So it shows the list of files like the MRU ones?

I sort of found a way with easypick, telescope and alpha combined:
return {
    "axkirillov/easypick.nvim",
    dependencies = {"nvim-telescope/telescope.nvim"},
    config = function()
        local easypick = require "easypick"

        easypick.setup {
            pickers = {
                -- Show changed files in the last 5 commits
                {
                    name = "changed_files",
                    command = "{ git diff --name-only && git log --pretty=format: --name-only HEAD~5..HEAD; } | sort | uniq",
                    -- previewer = easypick.previewers.file_diff(),
                    previewer = easypick.previewers.default()
                }
            }
        }
        vim.keymap.set("n", "<leader>cf", "<cmd>Easypick changed_files<CR>")
    end
}

And then in alpha.nvim I have a button like this:
startify.button("cf", "changed files", "<cmd>Easypick changed_files<cr>")

But it would be nice to pipe command, or the results of lua functions, directly to alpha and show the result like the MRU list.

@marcelarie Adding this action to your snippet makes it work in cases where Neovim's cwd is not Git's root dir (e.g. you primarily work in a sub-directory of a huge monorepo):
action = function(prompt_bufnr, _)
    telescope_actions.select_default:replace(function()
        telescope_actions.close(prompt_bufnr)
        local selection = telescope_action_state.get_selected_entry()
        local git_root_path = require("plenary.job"):new({ command = "git", args = { "rev-parse", "--show-toplevel" } }):sync()[1]
        vim.cmd(string.format("e %s/%s", git_root_path, selection[1]))
    end)
    return true
end,

Thanks for sharing your snippet, I find myself use it often!


Grossmann/vpr constraints

In this PR we add two capabilities to the VPR placement step in the FPGA flow:

you can now specify an XML placement constraints file via chip.set('input', 'constraint', 'pins', <filename>)
You can now also specify FPGA placement constraints to VPR through the schema using chip.set('constraint', 'component', '<port_name>', 'placement', <x,y,block_num> )  The place.py module in the VPR tool driver now will aggregate these constraints and auto-generate an XML placement constraint file, which VPR will pick up if the user does not take advantage of #1.

To support #2, a support file is added to the VPR tool driver for handling the XML generation.
A couple of opens that might need resolution as part of this PR:

The method by which the auto-generated file is detected may not be correct for SC best practices; suggestions welcome for a preferred approach.
It's still not clear to me whether I should have 'pins' or 'placement' as the keyword for the constraints file for item #1 above, as in practice use this just for pins, but VPR allows you to put any placeable block in the contraints file
VPR allows specification of a bounding box of locations for block placement, rather than just a single point location.  Currently this is not supported, as it's not applicable to constraining pins.  To support it correctly, the existing tuple that is supplied for component constraints would no longer be adequate; there would need to be support to specify a second pair of (X,Y) components so that the extent of the bounding box can be specified.

@gadfort Only outstanding items left now are the find single file helper and the partition_name setup; see comments for each.


Fix YAML injections in the network policy enforcement test

Remove label key templating from the YAML files to pass the YAML injection checks introduced in https://github.com/kubernetes/perf-tests/pull/2421
/kind bug

/retest

Hi @marseel, could we merge this since the failures are due to N2 machine quotas, and not related to the change.
Another PR has just been merged despite these failures https://github.com/kubernetes/perf-tests/pull/2483
I tested the change. Our tests that were previously broken are now passing with this.

/lgtm
/approve


Load Data into neo4j

Take the result of the prompt, load it into the neo4j database

https://medium.com/@_jalakoo_/uploading-json-data-to-neo4j-afa4ce5508e9


Feature: Column alias tables for simplified querying

Purpose
Some schemas have complicated maps such as OTel LogAttributes. This feature allows configuring a table like this:
CREATE TABLE otel_logs_query_aliases (
	`alias` String,
	`select` String,
	`type` String
)
Engine = MergeTree
ORDER BY (alias);

INSERT INTO otel_logs_query_aliases (`alias`, `select`, `type`) VALUES
('productId', 'LogAttributes[\'productId\']', 'UInt64'),
('quantity', 'LogAttributes[\'quantity\']', 'String'),
('userId', 'LogAttributes[\'userId\']', 'UInt64'),
('code.filepath', 'LogAttributes[\'code.filepath\']', 'String'),
('code.function', 'LogAttributes[\'code.function\']', 'String'),
('code.lineno', 'LogAttributes[\'code.lineno\']', 'Int64'),
. . .

This table can then be configured in the plugin:

And then be used for the target table's column suggestions:

With the column selection simplified, the correct SQL will be generated using the underlying select syntax:

Notes:

Tables without a matching alias will default to the original DESC TABLE for column suggestions.
This capability is already built-in to ClickHouse via the ALIAS column type, but this feature allows for easier maintenance without having to run bulk updates on your primary table (some schemas may have thousands of alias entries).

Changes

added configuration for alias tables
updated query builder to use a label, which defaults to the field name if an alias doesn't override it.
added tests for affected files/features
updated changelog

The array change you suggested worked locally, I didn't get any errors when unit testing or in-editor, but the build seemed to be failing. I tried updating to a typescript version that supports that extension and it lead to a complete collapse of the plugin's package ecosystem. I think I even saw leftpad mentioned in the logs.
Anyway, let me know if you want me to try again. I want to use that new feature, but there's a lot of dependencies affected by updating TS.


Test Timeouts in ReplicatorTest

I have been seeing a lot of CI builds timing out after 100 minutes, all were blocked on the ReplicatorTest. For example:
https://builds.apache.org/job/pulsar-pull-request/1321/console
[INFO] Running org.apache.pulsar.broker.service.SubscriptionSeekTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.457 s - in org.apache.pulsar.broker.service.SubscriptionSeekTest
[INFO] Running org.apache.pulsar.broker.service.ReplicatorTest
Build timed out (after 100 minutes). Marking the build as aborted.

This is fixed by #1154 #1354


test(sketch-lib): add initial tests

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes/features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature (please, look at the "Scope of the project" section in the README.md file)
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

merging this so we have an working next.xlayers.dev


Add enumerators on gpf

The same way gpf.forEach is capable of doing array::forEach and an equivalent for objects, the following helpers could be used:

every
map
reduce

No need for now, put it in the backlog

Not relevant


Migrated from GCM to FCM as per Google's recommendation

Basically just followed:
https://developers.google.com/cloud-messaging/android/android-migrate-fcm

@Benjamin-Dobell Any plans on adding iOS support?

@cem2ran #62 is needed to implement FCM on iOS. However, that pull request doesn't actually link in FCM or set it up, it just makes it possible to do so.
Just follow the official Firebase iOS integration steps:
https://firebase.google.com/docs/cloud-messaging/ios/client
However, make sure you disable message swizzling (explained near the top of guide). Your AppDelegate.m will end up looking something like:
@import FirebaseCore;
@import FirebaseInstanceID;
@import FirebaseMessaging;

// Other headers

...

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
	[FIRApp configure];

	// ...
}

- (void)application:(UIApplication *)application didRegisterUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings
{
	[RNNotifications didRegisterUserNotificationSettings:notificationSettings];
}

- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken
{
  [[FIRInstanceID instanceID] setAPNSToken:deviceToken type:FIRInstanceIDAPNSTokenTypeSandbox];
	[RNNotifications didRegisterForRemoteNotificationsWithDeviceToken:[[FIRInstanceID instanceID] token]];

  [self connectToFcm];
}

- (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error
{
	[RNNotifications didFailToRegisterForRemoteNotificationsWithError:error];
}

- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)notification
{
  [[FIRMessaging messaging] appDidReceiveMessage:notification];
	[RNNotifications didReceiveRemoteNotification:notification];
}

- (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification
{
	[RNNotifications didReceiveLocalNotification:notification];
}

- (void)applicationDidEnterBackground:(UIApplication *)application
{
  [[FIRMessaging messaging] disconnect];
}

- (void)applicationWillEnterForeground:(UIApplication *)application
{
  [self connectToFcm];
}

- (void)connectToFcm
{
  if ([[FIRInstanceID instanceID] token])
  {
    [[FIRMessaging messaging] disconnect];
    [[FIRMessaging messaging] connectWithCompletion:^(NSError * _Nullable error) {
      if (error)
      {
        NSLog(@"Unable to connect to FCM. %@", error);
      }
      else
      {
        NSLog(@"Connected to FCM.");
      }
    }];
  }
}

@end

Note that we're passing the FCM token to RNNotifications, it is not the same as the APN device token, hence #62.

Refactored (much less code in general) and fixed some bugs. In particular, we now properly handle a race condition between Firebase and React Native context initialisation; if Firebase gets back to use when the React Context does exist, but isn't fully initialised (this situation was never handled in the past).

New drastically refactored pull request will come shortly.

As promised, refactored and extended pull request: https://github.com/wix/react-native-notifications/pull/71

I just take a local test your pr. It work well! And gcm deprecated from April 10 2018, please merge this.


FPS overlay for performance debugging

Description of the new feature/enhancement
It would be nice to have a FPS overlay to indicate the current rendering FPS. You've all seen this in various kinds of games. I'm confident that this will not be the craziest feature request for the WT project.

Proposed technical implementation details (optional)
Well technically the FPS is quite easy to calculate, the overlay might be a little bit trickier, depending on what information we need to display and how to display them.

Clever. I like it. It could be part of debugFeatures 😉


[ADAM-772] fix some bash var quoting

fixes #772
after:
$ bin/compute-adam-jars.sh
Failed to find appassembler scripts in /bin
You need to build ADAM before running this program
$ echo $?
1

Thanks @ryan-williams! I've manually committed this as https://github.com/bigdatagenomics/adam/commit/e7bb9670fff41286f6198219b3ab41a2d1823a13.


在sql编辑窗口 使用搜狗输入法  切换中文时，打字不显示

Description
在sql编辑窗口 使用搜狗输入法  切换中文时，打字不显示
DBeaver Version
24.1.1
Operating System
windows10
Database and driver
No response
Steps to reproduce
No response
Additional context
No response

Hello, @wangyao123haha. Please translate your issue into English.

When using Sogou input method to switch to Chinese in the SQL editing window, typing is not displayed

When using Sogou input method to switch to Chinese in the SQL editing window, typing is not displayed

Hello, @wangyao123haha. Please translate your issue into English.

Do you use a special program?

I can't reproduce the issue. It works  for me, but you can reopen the issue and provide details to reproduce it.


Reduce rust-version to 1.71.1

Only a minor change is needed in order to support rustc 1.71.1. Since 1.71.1 is the version of rust currently packaged by Debian trixie (https://packages.debian.org/testing/rustc), distro packagers and others using an older compiler will benefit if that version can be supported out of the box.
For reference, the extra as_slice simply follows the current implementation in the stdlib
https://github.com/rust-lang/rust/blob/d84b9037541f45dc2c52a41d723265af211c0497/library/alloc/src/vec/mod.rs#L3374-L3387

lgmt,
-------- Original Message --------
On May 20, 2024, 02:11, dahlbaek wrote:

Only a minor change is needed in order to support rustc 1.71.1. Since 1.71.1 is the version of rust currently packaged by Debian trixie, distro packagers will benefit if that version can be supported out of the box.
For reference, the extra as_slice simply follows the current implementation in the stdlib
https://github.com/rust-lang/rust/blob/d84b9037541f45dc2c52a41d723265af211c0497/library/alloc/src/vec/mod.rs#L3374-L3387

You can view, comment on, or merge this pull request online at:
https://github.com/rustonaut/vec1/pull/34
Commit Summary

8cdae91 Reduce rust-version to 1.71.1

File Changes
(2 files)

M Cargo.toml (2)
M src/lib.rs (6)

Patch Links:

https://github.com/rustonaut/vec1/pull/34.patch
https://github.com/rustonaut/vec1/pull/34.diff

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Great! Let me know if there's anything I should do before it can be merged. I notice that I overlooked at reference to the rustc version in rust-toolchain.toml, though I'm not sure if you would actually want me to change that value :thinking:

new version was published


all md file in root repo translated to spanish

Signed-off-by: felipe<EMAIL_ADDRESS>

Thanks @johnfelipe. Out of curiosity how were these translated?
Something I'm trying to figure out is how this would work as docs are updated. I don't have the bandwidth to maintain multiple copies of docs.

U only change English versión I will translate to es, fr and it

@johnfelipe were these translated via an automated tool? I'm a bit hesitant to merge this. Not everything is translated and it could lead to outdated and cluttered files.
If these were done with an automated tool, couldn't these be translated ad-hoc as someone needs?

With Watson and next human, for latin American people
I want translate to es, fr and it UI, how that is possible?

Hi @johnfelipe - I appreciate the contribution here but I'm going to close this out. SQLPad development is slowing and I'd like to reduce and simplify the repo if possible.


Update content description in "Getting Started" to reflect website changes.

Line 751: Removed reference to "learn" button that is no longer present on FCC.
Line 663: Update reference to creating a campsite in your city to top of page instead of bottom.

Squashing this, stay tuned.

Goofed up on git rebase. Nuking this and re-submitting.


Too many view updates in the client-voxels branch

In the client-voxels branch, view updates accumulate faster than they are consumed. This is a blocker to merging it into master.

Tons of duplicate block updates being sent to OpenGL (apparently ~90% of all block updates)

564a8cbe1b0f6a7277eaf28caf48d69fe4005dc4


fix pythonpath issue when ansible tries to load embedded libraries

fixes #63

per request, reviewing this - lgtm, merging


[Android] Gaps between loop

I have tried using .ogg file but the player is still looping with gaps

Hey @zmxv and the community,
is there any progress on this issue? Or any workaround?

+1. Only an issue on Android, but it makes this library (and Expo without ejecting) unusable.

Here is a workaround https://github.com/zmxv/react-native-sound/issues/361#issuecomment-423464392

Any solutions that don't require a different lib? If not I wouldn't mind taking a stab at it

fyi only library I've had luck with gapless looping is expo-av which right now doesn't support 0.60.x on a bare rn install.

@jonstuebe How did you manage to have gapless looping with expo-av ? I currently use expo-av and can't figure out how to make it have gapless looping


Filter MRCM validation rule results by module

@apeteri True, the member filter should be added to the other mrcm rule as well. Regarding the stated forms of the rules; the name might be misleading, it's not reserved for validating stated relationships; it uses the stated form when evaluating ECL expressions for domain/range constraints. They might be worth keeping.


[docs] Fixed scrollbar overflowing on navbar

When viewing the DNSCrypt homepage on the Windows version of Chrome/Firefox, the topbar always displays with a scrollbar, which looks ugly and also kills the user experience.
(Chrome)

(Firefox)

This fix should disable the overflowing scroll on the topbar. Tested working on Chrome and Firefox.

Merged, thanks!


Cluster provisioning doesn't properly handle errors

Currently, the cluster creation does not handle properly the reason because it fails making it complicated to debug the root cause of the failure.

Thanks for creating the issue in github, we do have an existing jira issue - RHODS-2716 to handle this. Will triage it in backlog grooming meeting and pick this task based on the priority.


Required gcc version

The current requirement of gcc 9 may not be necessary.
Further testing is needed for the actual gcc version required for building. As it builds on Redhat with gcc 8 (devtoolset-8).
cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.7 (Maipo)

$ g++ --version
g++ (GCC) 8.3.1 20190311 (Red Hat 8.3.1-3)

Looking at the GCC support page we may be able to lower the requirement to GCC 7: https://gcc.gnu.org/projects/cxx-status.html

The required version is now set to 8 in 382541. The reference issue #42 for that commit was incorrect, it should have been for this issue (45)

Looks like the required version on RedHat at least is GCC 8.x, so we'll stick with that for now.
/research/[...]/gcc-fxt-test/src/indexer.cpp:9:10: fatal error: filesystem: No such file or directory
 #include <filesystem>
          ^~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/CMakeFiles/indexer.dir/build.make:63: src/CMakeFiles/indexer.dir/indexer.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:4335: src/CMakeFiles/indexer.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

$ gcc --version
gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)


Support Material Design Card Content Blocks

 Issue by Hixie
Thursday Jul 16, 2015 at 22:26 GMT
Originally opened as https://github.com/flutter/engine/issues/28

From @eseidelGoogle on July 14, 2015 16:58
Cards have specific layout patterns for their content:
http://www.google.com/design/spec/components/cards.html#cards-content-blocks
We should provide some helpers to get those layouts as part of the Sky Framework.
FYI @HansMuller
Copied from original issue: domokit/mojo#319

 Comment by Hixie
Thursday Jul 16, 2015 at 22:26 GMT

From @eseidelGoogle on July 14, 2015 16:59
I may actually work on this some as part of the address_book demo I'm building as part of implementing proper text fields, we'll see:
http://www.google.com/design/spec/components/text-fields.html#text-fields-single-line-text-field

There are so many different kinds here, it's not clear how useful it would be to actually prepackage these. We should probably have a few examples in the material gallery but not make explicit widgets. (We do need widgets for all the subparts, but that's mostly done already except for icon buttons.)

Hi @HansMuller is this something we're doing now, or plan to do in the Gallery?

Yes, a collection of demos based on https://www.google.com/design/spec/components/cards.html is needed for the gallery. We also need a relatively simple demo of cards/elevations/shadows.

Ah, https://github.com/flutter/flutter/issues/1551 dupes this issue. Closing this one.


Update graphql-js to latest

graphql-js: 0.4.4
fix tests

I have tried to add support for Object types. @hekike, please review!

@tothandras what you mean under try? :) Is it working and covered with tests?

Right, the tests are passing. :)

@tothandras it sounds for me more than trying :D
I'll check it soon and merge.

thanks
On Wed, Sep 23, 2015, 10:54 Peter Marton<EMAIL_ADDRESS>wrote:

@tothandras https://github.com/tothandras it sounds for me more than
trying :D
I'll check it soon and merge.
—
Reply to this email directly or view it on GitHub
https://github.com/RisingStack/graffiti-mongoose/pull/24#issuecomment-142533245
.


[Newsletter] Problems with parsing extracting the book title from an url

As I mentioned in https://github.com/niqdev/packtpub-crawler/issues/47#issuecomment-293101790, the newsletter parser gets the book title from the url behind the image cover.
https://github.com/niqdev/packtpub-crawler/blob/e604cc1138c5934f7cbe8c210ce1fa6f2caa80b3/script/packtpub.py#L101
This will work fine if the link on the landing page points to the main book page like it was the case here: https://www.packtpub.com/packt/free-ebook/amazon-web-services-free

but will yield some unexpected results when this href points to, for example, a cover image - like here: https://www.packtpub.com/packt/free-ebook/what-you-need-know-about-angular-2

The latter will result in https://github.com/niqdev/packtpub-crawler/blob/e604cc1138c5934f7cbe8c210ce1fa6f2caa80b3/script/packtpub.py#L102 becoming '5612_Wyntkangular_Ebook_500X617.Jpg' instead of the correct title. And a wrong title will also mess up the filename under which the books is written to the disk making it '5612_Wyntkangular_Ebook_500X617.Jpg.{pdf,mobi,epub}'.
An alternative to this would be to use the string inside the h1 tag of the title-bar-title div like here: https://github.com/mkarpiarz/packtpub-crawler/commit/c583d375d02e3e95d8bb0f3988ebc7615a138440.
But this also doesn't seem to be always reliable, e.g.:

Free Amazon Web Services eBook

I would suggest to go for the h1 tag and if for some reason is missing use the other as fallback, maybe removing with a regexp the numbers, the output probably will not be nice but at least it should work


Add validation for products per page field otherwise if admin entered string value then customer gets exception on category page

Bug report
Title
Add validation for products per page field otherwise if admin entered string value then customer gets exception on category page
Issue Description
if admin give    any string value like abcd, then at front end after clicking on category getting exception
Preconditions
1. framework Version. Master

Steps to reproduce
1. step1: give abcd in products per page
2. step2: on front open category page

Expected result:
there should be validation for field
Actual result

https://prnt.sc/tuxekz  ---- need to correct message

fixed in master


ValueError: Error when checking input: expected conv2d_1_input to have shape (3, 496, 369) but got array with shape (496, 369, 3)

I believe this error is regarding channel ordering but I can't find any way to resolve it after searching on the Internet.
Can you help me with this issue? Which part of the code do I need amendments?

KerasModel.pdf
TrainModel.pdf

Hi, is this a major issue?

Hi, is this a major issue?

Hello,
Sorry for late response I didn't have time to check this one.
if I remember correctly you shouldn't need to change any KerasModel
I can't open yours TrainModel it seems like file corrupted, but you should use correct loss and class_mode functions

Hello, this is my KerasModel script, I just changed the activation function of the outer layer becasue I am doing multiclass classification.
`from keras.models import Sequential
from keras.layers import Conv2D, MaxPooling2D
from keras.layers import Activation, Dropout, Flatten, Dense
class KerasModel:
def get_model(self, img_width, img_height):
model = Sequential()
model.add(Conv2D(32, (3, 3), input_shape=(3,img_width, img_height), data_format='channels_first'))
model.add(Activation('relu'))
model.add(MaxPooling2D(pool_size=(2, 2)))
    model.add(Conv2D(32, (3, 3),data_format='channels_first'))
    model.add(Activation('relu'))
    model.add(MaxPooling2D(pool_size=(2, 2)))
    model.add(Dropout(0.35))

    model.add(Conv2D(64, (3, 3),data_format='channels_first'))
    model.add(Activation('relu'))
    model.add(MaxPooling2D(pool_size=(2, 2)))
    model.add(Dropout(0.35))

    model.add(Conv2D(128, (3, 3),data_format='channels_first'))
    model.add(Activation('relu'))
    model.add(MaxPooling2D(pool_size=(2, 2)))
    model.add(Dropout(0.35))

    model.add(Conv2D(256, (3, 3),data_format='channels_first'))
    model.add(Activation('relu'))
    model.add(MaxPooling2D(pool_size=(2, 2)))
    model.add(Dropout(0.35))

    model.add(Conv2D(512, (3, 3),data_format='channels_first'))
    model.add(Activation('relu'))
    model.add(MaxPooling2D(pool_size=(2, 2)))
    model.add(Dropout(0.35))

    model.add(Flatten())
    model.add(Dense(256))
    model.add(Activation('relu'))
    model.add(Dropout(0.5))
    model.add(Dense(1))
    model.add(Activation('softmax'))
    return model

`

This is my TrainModel code
from keras.preprocessing.image import ImageDataGenerator
from Models.KerasModel import KerasModel
from keras.callbacks import ModelCheckpoint
import os
os.environ['TF_CPP_MIN_LOG_LEVEL']='2'
import tensorflow as tf
import matplotlib.pyplot as plt
from keras import backend as K
K.set_image_data_format('channels_first')
gpus = tf.config.experimental.list_physical_devices('GPU')
if gpus:
Restrict TensorFlow to only allocate 1GB of memory on the first GPU
try:
tf.config.experimental.set_virtual_device_configuration(
gpus[0],
[tf.config.experimental.VirtualDeviceConfiguration(memory_limit=1024)])
logical_gpus = tf.config.experimental.list_logical_devices('GPU')
print(len(gpus), "Physical GPUs,", len(logical_gpus), "Logical GPUs")
except RuntimeError as e:
# Virtual devices must be set before GPUs have been initialized
print(e)
img_width, img_height = 496, 369
train_data_dir = 'Data/train'
validation_data_dir = 'Data/validation'
nb_train_samples = 4667
nb_validation_samples = 4667
nb_epochs = 30
batch_size = 32
kerasModel = KerasModel()
model = kerasModel.get_model(img_width, img_height)
model.compile(loss='categorical_crossentropy',
optimizer='adam',
metrics=['accuracy'])
this is the augmentation configuration we will use for training
train_datagen = ImageDataGenerator(
rescale=1. / 255,
shear_range=0.2,
zoom_range=0.2,
horizontal_flip=True,
data_format='channels_first')
this is the augmentation configuration we will use for testing:
only rescaling
test_datagen = ImageDataGenerator(rescale=1. / 255)
train_generator = train_datagen.flow_from_directory(
train_data_dir,
target_size=(img_width, img_height),
classes=['Honda', 'Perodua','Proton','Toyota'],
batch_size=batch_size,
class_mode='categorical')
class_dictionary = train_generator.class_indices
print('class dictionary', class_dictionary)
validation_generator = test_datagen.flow_from_directory(
validation_data_dir,
target_size=(img_width, img_height),
color_mode='rgb',
classes=['Honda', 'Perodua','Proton','Toyota'],
batch_size=batch_size,
class_mode='categorical')
check_pointer = ModelCheckpoint(filepath='weights.hdf5', verbose=1, save_best_only=True)
history = model.fit_generator(
train_generator,
steps_per_epoch=nb_train_samples/batch_size,
epochs=nb_epochs,
validation_data=validation_generator,
validation_steps=nb_validation_samples/batch_size,
callbacks=[check_pointer])
list all data in history
print(history.history.keys())
summarize history for accuracy
plt.plot(history.history['acc'])
plt.plot(history.history['val_acc'])
plt.title('model accuracy')
plt.ylabel('accuracy')
plt.xlabel('epoch')
plt.legend(['train', 'test'], loc='upper left')
plt.show()
summarize history for loss
plt.plot(history.history['loss'])
plt.plot(history.history['val_loss'])
plt.title('model loss')
plt.ylabel('loss')
plt.xlabel('epoch')
plt.legend(['train', 'test'], loc='upper left')
plt.show()

now I have faced another problem, which is

ValueError: Error when checking target: expected activation_8 to have shape (1,) but got array with shape (4,)

Can you please guide me on which part of the code is wrong?

Hello,
It's due
model.add(Dense(1))
This line means that you expect only one result at the end of model. You should put here number of class which you  expect


Typescript definition

Just found your lib and it's working great 👍
I just had an issue since I'm using TypeScript and this package does not contain definitions.
I'm no TS expert (first time I ever write a definition), but I got it working using the following:
declare module 'electron-aspect-ratio-browser-window' {
    import { BrowserWindow } from 'electron';

    export default class AspectRatioBrowserWindow extends BrowserWindow {};
}

Hope it helps!

Thanks @jzecca, just published new version with typings: https://www.npmjs.com/package/electron-aspect-ratio-browser-window/v/1.0.2


Hotfix 0.6.1 : Using a shorter version of the user agent string

Job submissions are limited in the length of the ApplicationID string used.
In order to support this limitation, and keep the user agent consistent, this change is shortening the string to include only azure-cli-ext instead of azure-cli-extension as prefix.
This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

quantum


Syslog - TLS

As you note: "Integrating with secure transfer protocols (FTPS and Syslog – TLS) often requires additional settings or your firewall/proxy."
Which is correct, you would in most cases need to trust the certificate presented by the syslog server.
In this case, it is a self signed certificate, and I get this error when I try to import it: "Import of CAS syslog failed. Only self signed CA certificates can have identical subject and issuer fields."
Where is the certificate located, and how do I replace it with a certificate signed by our own CA?

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

ID: 818cbf6b-c397-8c86-e061-8e940ee94278
Version Independent ID: 53b66b18-5321-b63e-a57b-44f146ff6944
Content: Configure automatic log upload for continuous reports
Content Source: CloudAppSecurityDocs/discovery-docker-ubuntu-azure.md
Service: cloud-app-security
GitHub Login: @rkarlin
Microsoft Alias: rkarlin

Hi Eric, thanks for your question. We documented that information here: https://docs.microsoft.com/cloud-app-security/troubleshoot-docker#customize-certificate-files
Let me know if you don't find what you need.
thanks!

Resource Not Found.
The URL listed above https://docs.microsoft.com/en-us/cloud-app-security/discovery-docker-ubuntu-azure  is not valid, the Docker image is no longer available there. Could you please provide the right one or even better, update the article accordingly? Thank you.

I'm sorry, I meant to say the Docker URL : https://adaprodconsole.blob.core.windows.net/public-files/MCASInstallDocker.sh


error

client.db = new Database(mongourl);
^
TypeError: Database is not a constructor
at Object. (/data/data/com.termux/files/home/Bot/Music/eyb/index.js:30:13)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47
Node.js v17.1.0

This is a quickmongo version issue, please make sure that you have version 3.0.2 installed as written in package.json


How to get gene symbol

I have run the script Viral_Track_cell_demultiplexing.R' ,and get the file 'Expression_table.tsv',but don't have gene symbol in row just like 'refseq|NC_009334|172764nt|Human.3' or 'GL000224.1.2' in assembly GTF and 'RPMS1,A73' in my own GTF ,so how to get the gene symbol like EBNA-1,or how to creat a correct gtf file.Thanks!

Hi there,
Sorry for the delay ! Indeed by default the quantification is done by using the GTF produced by StringTie...
The use of a provided GTF is not possible yet and will be implemented only later..
One possibility is that you manually replaced the computed GTF file by a provided one and then relaunch the  Viral_Track_cell_demultiplexing script. Just take care to replace the scaffold name of HSV-4 by refseq|NC_009334|172764nt|Human.3 !
Best
Pierre


Feature Request - More than 9 output nodes for AeroDyn and BeamDyn

Is your feature request related to a problem? Please describe.
Modelling a large blade with BeamDyn leads to large computational times. Especially when the cross-sectional matrices are fully populated, a small time step has to be chosen for the coupling with AeroDyn, and the order of elements is relative high. In my case, a Time/CPU-ratio in the order of 10^(-3) is no exception, leading to CPU Times in the order of days.
For large blades, 9 output nodes is not enough to fully capture the detailed deformation or load distribution of the blade. It is a shame that after all that computational work, only the results at 9 nodes can be written as an output. Hence, only a small part of the computational work is than available for the user. If one needs more nodes, you will have to redo the whole computation only then with different output nodes.
Describe the solution you'd like.
Introduce an option where users can define an unlimited number of output nodes.
Describe alternatives you've considered.
Related to this feature request. The elements in BeamDyn are spanned by the basis functions. The solution BeamDyn finds is thus continuous. It would be great if the user can also define output nodes in BeamDyn that are not equal to the FE nodes or the quadrature nodes. Deformations at nodes other than the FE or quadrature nodes should be easily computed since this is just an expansion of the basis functions, weighted with the deformations at the FE nodes. This expansion as a post processing step has become more difficult for the user to do since the deformations at the FE nodes are no longer an output as from OpenFAST v2.0.0.
By doing so, the user can specify a sensor location equal to an actual location for a real blade test, or a location equal to other codes for a code-to-code comparison, and is unlimited by a post processing step that requires interpolation.

This issue was addressed in #373 with the new nodal output features in AeroDyn, ElastoDyn, and BeamDyn.
I suggest closing this issue and creating a new issue for the related request listed in the Describe alternatives you've considered, if that feature is still desired.


Feedback: new dependencies

nunomaduro/collision
beyondcode/laravel-dump-server

wnx/laravel-stats
insolita/yii2-codestat

Hi @kalessil,
nice idea! Maybe also a further way would be to filter by composer "keywords". (https://getcomposer.org/doc/04-schema.md#keywords)
For example a tool or library with the keyword "analyzer" should not part of the require-section.

@Insolita: thanks!
@tommy-muehle: oh, might be a good source too, thanks!

@tommy-muehle: filed a new issue - #6

Added!


[Event Request] Table 37 "Sales Line" - PickDiscount

Could an OnAfterPickDiscount be added on the PickDiscount procedure in Table 37 "Sales Line", like  OnAfterPickPrice in PickPrice, please?
    procedure PickDiscount()
    var
        PriceCalculation: Interface "Price Calculation";
    begin
        GetPriceCalculationHandler(PriceType::Sale, SalesHeader, PriceCalculation);
        PriceCalculation.PickDiscount();
        GetLineWithCalculatedPrice(PriceCalculation);

        //>>> OnAfterPickDiscount(Rec, PriceCalculation); //<<<
    end;

    procedure PickPrice()
    var
        PriceCalculation: Interface "Price Calculation";
    begin
        GetPriceCalculationHandler(PriceType::Sale, SalesHeader, PriceCalculation);
        PriceCalculation.PickPrice();
        GetLineWithCalculatedPrice(PriceCalculation);

        OnAfterPickPrice(Rec, PriceCalculation);
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 47832.


use monit to check interface which init's after boot

Hello,
I'm using opnsense with huawei modem e3276.
It is needed to be initialised with:
usb_modeswitch -v 12d1 -p 1f01 -c /usr/local/share/usb_modeswitch/12d1:1f01
but after reboot, system forgets about it and i have to initialise it again.
I thought to use monit for that case - if everything is fine - so ok.
interface is obsolete - run this command.
but, i can't chose needed interface, cause it is not shown on web gui:

pci is for pci card, VO - bridge, wifi - wifi card. No modem interface is shown.
is it possible to add custom value like ue0?
yes, i can do for hilink web interface, but it doesn't look correct.

This issue has been automatically timed-out (after 180 days of inactivity).
For more information about the policies for this repository,
please read https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md for further details.
If someone wants to step up and work on this issue,
just let us know, so we can reopen the issue and assign an owner to it.


Murmurhash3 empty sums are not printed

Issue
Murmurhash3 finish() function returns a variable-length ubyte[] digest which simply print an empty string if length of digest is 0. Only std.digest.murmurhash does this.
Result: "" on empty files with default seed.
Expected: "00000000" on empty files with default seed.
Solution
Either I copy whatever is in result to a static buffer, then call toHexString or do custom formatting. This will affect Ddh.toHex and Ddh.toBase64.

This affected all hashes.
The issue was fixed in e41cce1 and involves finishing the hash digest if the filesize is 0 both in file and mmfile modes.


protocol security negotiation failure

Hi
i just tried to connecting to my Hyper-V server with this command (From my Ubuntu and the FreeRDP version is latest one):
xfreerdp /cert-ignore –no-nego /u:administrator /p:123 /v:<IP_ADDRESS> /port:2179 /vmconnect:8021D293-FA6F-4CB5-AFD2-2499936D0949
but i got this error message :
transport_connect: getaddrinfo (Name or service not known)
Error: protocol security negotiation failure

Brew still use 1.0.2 version in 2017...
xfreerdp +clipboard /size:1280x1024 /u:Administrator /p:'test' /v:<IP_ADDRESS>
How can I write this in old style command? @bmiklautz

@adamziaja give --HEAD a try with brew.


saved files with no changes

Hello,
Thanks for the great extention (y)
is it possible to discard changes that contains no changes (i.e just click on Ctrl + S without changing the file), storage space adds up for no value especially with large files.
Thanks in advance and keep the great work up

duplicate issue #32


Support for downsampling and kicking out short scenes

To allow for downsampling and kick out of short scenes, the following changes were made:

Use the "-cr" flag in ariaTSsetup.py and ariaExtract.py to specify a percentage to resample the final outputs wrt the original resolution of a standard product. DEM/mask products are also resampled accordingly, but only after all other layers have already been extracted in order to avoid introducing artifacts when downsampling masked arrays or extracting metadata layers with a downsampled DEM. DEM and mask objects are now tagged with their filenames to reduce complexity when trying to access these names during the resampling stage.
The new "resampleRaster" function in vrtManager.py handles the resampling calls.
Use the "-po" flag in ariaTSsetup.py and ariaExtract.py to specify a minimum threshold percentage of overlap (by default 5%) products must maintain wrt the specified bounding box. If no bounding box is specified, all products must maintain this threshold instead wrt the longest scene in the stack. References to products that fail to meet this criteria are removed.

Rob, I didn't have a chance to test this out with GACOS corrections. Could you give that a try, in addition to just playing around with the proposed options?

@sssangha not sure if you might have captured earlier discussions with @rzinke.
Can you clarify:

Does the percentage downsampling imply an integer multiple of the resolution?
What is the interpolation/averaging method used for each of the variables?
Specifically connected components versus unwrapped phase
The percentage overlap might not be a great constraint as it does not describe the overlap in square km area. i.e. This is not the same threshold for a small compared to a larger AOI. Perhaps we can convert it to a metric unit threshold.
I am unclear why the evaluation needs to be done per product and not per merged product.
e.g. keep all products which covers the bbox, and ensure that the coverage of the merged product meets the requirement.

@sssangha not sure if you might have captured earlier discussions with @rzinke.
Can you clarify:
* Does the percentage downsampling imply an integer multiple of the resolution?

* The percentage overlap might not be a great constraint as it does not describe the overlap in square km area. i.e. This is not the same threshold for a small compared to a larger AOI. Perhaps we can convert it to a metric unit threshold.

* I am unclear why the evaluation needs to be done per product and not per merged product.
  e.g. keep all products which covers the bbox, and ensure that the coverage of the merged product meets the requirement.

@sssangha not sure if you might have captured earlier discussions with @rzinke.
Can you clarify:
* Does the percentage downsampling imply an integer multiple of the resolution?

@dbekaert Yeah, I just realized the logic of the code as is was too basic as it directly assigned the resampled x/y dimensions (e.g. original raster dimensions * percentage), which doesn't ensure the aspect ratio remains locked. So instead, I am pushing a change that specifies the resolution directly, see the changes in the vrtmanager

@rzinke Ok, check out the latest fix I made to the vrtmanager. Now it handles cases where users just wish to generate VRT files.

Hi @sssangha thanks for all the modifications. I am still getting an error when I try to use the downsampling routine in ariaTSsetup. Here's the error:
7 out of 30 interferograms rejected since stitched interferogram would have gaps
Thread count specified for gdal multiprocessing = 8
Download/cropping DEM
Downloaded 3 arc-sec SRTM DEM here: TSextract2/DEM/SRTM_3arcsec.dem
Extracting unwrapped phase, coherence, and connected components for each interferogram pair
Generating: unwrappedPhase - [======================= 83% =============>        ] 20181128_20181116  634s /   129sMulti-core version failed, will try single for loop
Generating: unwrappedPhase - [==================================================] 20181222_20181210  758s /    31s
Generating: coherence - [==================================================] 20181222_20181210  262s /    10s
Extracting single incidence angle, look angle and azimuth angle files valid over common interferometric grid
Generating: incidenceAngle - [==================================================] 20180707_20180613
Generating: lookAngle - [==================================================] 20180707_20180613
Generating: azimuthAngle - [==================================================] 20180707_20180613
Creating directory: TSextract2/stack
Number of coherence discovered:  23
Traceback (most recent call last):
File "/u/sar-r0/rzinke/python/miniconda3/envs/ARIA-tools/bin/ariaTSsetup.py", line 15, in
main(inps)
File "/u/sar-r0/rzinke/python/miniconda3/envs/ARIA-tools/lib/python3.7/site-packages/ARIAtools/tsSetup.py", line 316, in main
generateStack(standardproduct_info,'coherence','cohStack',workdir=inps.workdir)
File "/u/sar-r0/rzinke/python/miniconda3/envs/ARIA-tools/lib/python3.7/site-packages/ARIAtools/tsSetup.py", line 147, in generateStack
ds = gdal.Open(data, gdal.GA_ReadOnly)
File "/u/sar-r0/rzinke/python/miniconda3/envs/ARIA-tools/lib/python3.7/site-packages/osgeo/gdal.py", line 3308, in Open
return _gdal.Open(*args)
RuntimeError: GDALWarpOptions.Validate(): hSrcDS is not set.

@rzinke @dbekaert listed are the updates I have pushed:
When downsampling (with the --multilooking flag), users now have to specify an integer number instead of a percentage. I.e. multilooking factor is an integer multiple of standard resolution. For example 2 = 90m*2 = 180m.
Threshold of coverage now controlled by km^2 of overlap, as opposed to percentage of overlap. Equal area projection used.
Bug-fix: If mask specified/provided as input, the connected component file masked values are now assigned as -1 as opposed to 0, in agreement with the connected component nodata values.
Bug-fix: Error resolved when user specifies VRT output format and wishes to downsample outputs.

@sssangha @rzinke i noticed this PR is still open. Did we get closure on it?

@dbekaert @rzinke
Refer to my new "rankedresampleVSdefaultresample" branch where I merge the functionality of the two existing branches.
I will leave open the other two aforementioned branches for reference and will delete them once these changes are pushed.

Hi @sssangha, thanks! Could you remind me the difference between ranked resample and default resample?
I can start testing these this afternoon.

Hello @rzinke, the difference between ranked resample is to determine the mode of the connected component within a given resampling window and only average phase pixels spatially coincident with said mode. In cases where there are multiple modes (e.g. an equal number of the two most frequent connected component pixels), the smallest value is selected.
The default resampling doesn't take into account the connected components and just does a simple average in a given window.


Acl test

Codecov Report

Merging #155 into init-lerna will increase coverage by 3.33%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           init-lerna   #155      +/-   ##
============================================
+ Coverage       66.66%    70%   +3.33%
============================================
  Files               6      7       +1
  Lines              96    110      +14
  Branches           14     15       +1
============================================
+ Hits               64     77      +13
- Misses             32     33       +1

Impacted Files
Coverage Δ

packages/nexus-sdk/src/Schema/index.ts
86.66% <ø> (ø)
:arrow_up:

packages/nexus-sdk/src/ACL/index.ts
85.71% <0%> (ø)

packages/nexus-sdk/src/testUtils.ts
87.5% <0%> (+12.5%)
:arrow_up:

Continue to review full report at Codecov.

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


Configure formatting for XML files

Find a suitable extension for working with Extensible Markup Language documents (i.e. XML files) and configure it properly.

This issue can be considered closed by e258a72ccb0a29a19ff7f987aac577df606cf2ea.


Changed how episodes are stored. Stored as nodes on db instead of as a property on resource

lovely!


add suffix in url

json server work friendly to REST API.
But our team consider to  add a suffix in url to declare what's it need to return
for example:
add json Suffix to return json
GET    /posts.json
GET    /posts/1.json
GET    /posts/1/comments.json
POST   /posts.json
PUT    /posts/1.json
PATCH  /posts/1.json
DELETE /posts/1.json

add json Suffix to tell backend it should return html
GET    /posts.html
GET    /posts/1.html

on this way , it may be more friendly to SEO

Hi @Jayin, you can use rewrite rules for this.
Create a router.json:
{
  "/:resource.json": "/:resource",
  "/:resource/:id.json": "/:resource/:id",
  "/:parent/:resource/:id.json": "/:parent/:resource/:id"
}

In ./public add your html files:
./public/posts.html
./public/posts/1.html

Then start JSON Server:
json-server db.json -r router.json

:+1: Cool, thanks you!


Add timeout option for update command

Set the default timeout for update command to 10 seconds
Add new flags --timeout to the update command

FAR OPT I'm surprised it does not impact any test, maybe it lacks some?

There are tests cover the self update and package update, I think the default 200ms timeout is long enough in githhub action (the test is checking new versions from files on github itself).


Bump version to 11.0.0

Brings in #158 which makes all form content rely on grids for its width.
This makes it a breaking change for all pages using these patterns as they will have to wrap the content of their forms in a grid for them to display correctly.

:+1:


License please

Hello,
Could you please add a license to the repo? Thanks for the great article!

Oh, of course. It'll be licensed under MIT license. Currently I'm not able to create license file since I'm on mobile. Feel free to use it, when I get back home I'll add a license!

thanks!


eye for dense and sparse

Description
eye for storage_type of default, csr, row_sparse(fallback to default).
As a feature requested in https://github.com/apache/incubator-mxnet/issues/8168.
cc @eric-haibin-lin for review.
Checklist
Essentials

[x] Passed code style checking (make lint)
[ ] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage
[x] For user-facing API changes, API doc string has been updated.
[x] To my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[x] eye for default storage type, add unitest
[x] eye for csr storage type, add unitest
[x] eye for row_sparse storage type, add unitest

Comments

If this change is a backward incompatible change, why must this change be made.
Intersting edge cases to note here

Why build fails here? Do you have any idea? @eric-haibin-lin @piiswrong
These codes can successfully compile and pass the unittest on my machine.

Seems that tests for eye passed, CI fails due to test_maximum_minimum_scalar.


Hostname falls to fedora on fresh install

Describe the bug

When perform fresh install machine boots with correct name from dns, but during bootstraping falls to 'fedora'.
At the same time host flushes ssh keys, so you are not able to ssh to host.
As a result cluster cannot be created (only one node becomes availiable, with name fedora)
Version

Client Version: 4.6.0-0.okd-2020-12-12-135354
Kubernetes Version: v1.19.2-1008+70708036fc2657-dirty
fedora-coreos-32.20201104.3.0-live.x86_64
UPI install. VMs are on ESXi version:7.0.0
How reproducible

Always
Steps to reproduce

create vms in ESXi 7
generate and publish config

openshift-install create manifests --dir=install_dir/
openshift-install create ignition-configs --dir=install_dir/

create vm and boot into livecd
init install with command

sudo coreos-installer install /dev/sda --image-url=http://<IP_ADDRESS>:8080/okd4/fcos.raw.xz --ignition-url=http://<IP_ADDRESS>:8080/okd4/bootstrap.ign --insecure=true --insecure-ignition=true --append-karg="ip=<IP_ADDRESS>::<IP_ADDRESS>:<IP_ADDRESS>::ens192:none:<IP_ADDRESS>"

reboot after install complete
during bootstrap vm get correct name and ip, but later takes 'fedora' hostname and reject the key.

at the same time it still continue bootstrap process itself, bootstrap nodes get online and i'm able to bootstrap master nodes, but they fall to get into cluster because they all have same name.
Log bundle

openshift_install.log
made two log bundles.
this one just after masters completely reloaded with 'fedora' name: log-bundle-20201213123605.tar.gz
another was collected after installer failed with timeout. its too large for gitlab, thats why google drive link
machine boot options:

video with process rec.zip:
timing
0-2:23 - initial install via coreos-installer
2:59 - os loads with ip and correct hostname
5:44 - os loads with ip and fedora hostname

Please attach log bundle.
You're passing a static IP config, but doe you have a PTR record or set it in the vSphere VM metadata?

yes. config worked for 4.5 perfectly
reverse zone
$ttl 38400
0.168.192.in-addr.arpa.	IN	SOA	ns1.xix.support. kendepp.xix.support. (
<PHONE_NUMBER>
			10800
			3600
			604800
			38400 )
0.168.192.in-addr.arpa.	IN	NS	ns1.xix.support.
<IP_ADDRESS>.in-addr.arpa.	IN	PTR	ns1.dev.xix.support.
<IP_ADDRESS>.in-addr.arpa.	IN	PTR	bootstrap.okd.dev.xix.support.
<IP_ADDRESS>.in-addr.arpa.	IN	PTR	master1.okd.dev.xix.support.
<IP_ADDRESS>.in-addr.arpa.	IN	PTR	master2.okd.dev.xix.support.
<IP_ADDRESS>.in-addr.arpa.	IN	PTR	master3.okd.dev.xix.support.
<IP_ADDRESS>.in-addr.arpa.	IN	PTR	worker1.okd.dev.xix.support.
<IP_ADDRESS>.in-addr.arpa.	IN	PTR	worker2.okd.dev.xix.support.
<IP_ADDRESS>.in-addr.arpa.	IN	PTR	worker3.okd.dev.xix.support.
<IP_ADDRESS>.in-addr.arpa.	IN	PTR	api.okd.dev.digial.rt.ru.
<IP_ADDRESS>.in-addr.arpa.	IN	PTR	api-int.okd.dev.digial.rt.ru.

primary zone
$ttl 38400
dev.xix.support.	IN	SOA	ns1.xix.support. kendepp.xix.support. (
<PHONE_NUMBER>
			10800
			3600
			604800
			38400 )
dev.xix.support.	IN	NS	ns1.dev.xix.support.
ns1.dev.xix.support.	IN	A	<IP_ADDRESS>
bootstrap.okd.dev.xix.support.	IN	A	<IP_ADDRESS>
master1.okd.dev.xix.support.	IN	A	<IP_ADDRESS>
master2.okd.dev.xix.support.	IN	A	<IP_ADDRESS>
master3.okd.dev.xix.support.	IN	A	<IP_ADDRESS>
worker1.okd.dev.xix.support.	IN	A	<IP_ADDRESS>
worker2.okd.dev.xix.support.	IN	A	<IP_ADDRESS>
worker3.okd.dev.xix.support.	IN	A	<IP_ADDRESS>
api.okd.dev.xix.support.	IN	A	<IP_ADDRESS>
api-int.okd.dev.xix.support.	IN	A	<IP_ADDRESS>
*.apps.okd.dev.xix.support.	IN	A	<IP_ADDRESS>
etcd-0.okd.dev.xix.support.	IN	A	<IP_ADDRESS>
etcd-1.okd.dev.xix.support.	IN	A	<IP_ADDRESS>
etcd-2.okd.dev.xix.support.	IN	A	<IP_ADDRESS>
_etcd-server-ssl._tcp.okd.dev.xix.support.	IN	SRV	0 10 2380 etcd-0.okd.dev.xix.support.
_etcd-server-ssl._tcp.okd.dev.xix.support.	IN	SRV	0 10 2380 etcd-1.okd.dev.xix.support.
_etcd-server-ssl._tcp.okd.dev.xix.support.	IN	SRV	0 10 2380 etcd-2.okd.dev.xix.support.

<IP_ADDRESS> - haproxy host for okd and nginx for storing IGNs

just tried to install bootstrap node on hyper-v. Same hostname fall to fedora.

That's installer log, not the log bundle generated by installer

this is the only log i have
└─> # ls -alh install_dir/
total 308K
drwxr-xr-x  3 root root 4.0K Dec 13 09:05 .
dr-xr-x--- 25 root root 4.0K Dec 13 09:04 ..
drwxr-x---  2 root root 4.0K Dec 12 16:55 auth
-rw-r-----  1 root root 278K Dec 12 16:56 bootstrap.ign
-rw-r-----  1 root root 1.7K Dec 12 16:55 master.ign
-rw-r-----  1 root root   94 Dec 12 16:56 metadata.json
-rw-r--r--  1 root root 1.1K Dec 13 09:07 .openshift_install.log
-rw-r-----  1 root root 1.7K Dec 12 16:55 worker.ign

i perform upi installation and cannot ssh into hosts to gather info.

log bundle.

as i said, it brokes ssh and i cannot gather bundle
└─> # openshift-install gather bootstrap --dir=install_dir --bootstrap <IP_ADDRESS> --master <IP_ADDRESS> --master <IP_ADDRESS> --master <IP_ADDRESS>
INFO Pulling debug logs from the bootstrap machine
FATAL failed to create SSH client: failed to use pre-existing agent, make sure the appropriate keys exist in the agent for authentication: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

└─> # ssh <IP_ADDRESS>
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

ssh key is correct

it brokes ssh

Might be related - https://dev.to/bowmanjd/upgrade-ssh-client-keys-and-remote-servers-after-fedora-33-s-new-crypto-policy-47ag

it brokes ssh

Might be related - https://dev.to/bowmanjd/upgrade-ssh-client-keys-and-remote-servers-after-fedora-33-s-new-crypto-policy-47ag

thanks! regenerated keys in ed25519 and ssh works now.
updated first post with new install_log and log-bundles

added hostname to cmd now it works.
--append-karg="ip=<IP_ADDRESS>::<IP_ADDRESS>:<IP_ADDRESS>::ens192:none:<IP_ADDRESS>"

changed to
--append-karg="ip=<IP_ADDRESS>::<IP_ADDRESS>:<IP_ADDRESS>:myfqdn.host.localname:ens192:none:<IP_ADDRESS>"

Looks like if i set static ip, it tries to find hostname in that config and fail as it was none. for previous versions it looked for ptr.
May be duplicate of #394 issue.
Please close, if it is.

Yup, looks like a dupe of #394 indeed, closing


Fix DOCKER_ORG

After https://github.com/src-d/ci/commit/4d6f93fb2728b0c42bcde1a34f143fcf6aa9fe94 the $DOCKER_ORG must be only srcd to fit the ci/Makefile.main#L108

@rporres we saw this in person and CI passes, so I'll direct merge.
Feel free to comment here if you need any change

LGTM


[Question] Disable/remove near wall hands and camera lock

When you face next to a wall you put your hands up and your camera gets a vertical lock, you can't look 360° around. I only play single player and have beatrun installed locally.
I want to disable this mechanic animations and camera lock. I found that the animations where you put you hands up can be disabled by
setting standhandwallright/left/both to false in JumpAnim.lua now I want to disable the camera lock. Where?

this was disabled ages ago

Alright, I will. I modified some of the lua files myself and gave the mod some other functionalities, that's why I don't really update anymore.


Two improvements + a little cleanup

Hi, I just slightly updated your cool library. Two changes:

Added attribute that allows to control selector background height. In original implementation there was hardcoded height 40dp which may look bad when you are using smaller text sizes
Added Czech translation (Czech is my mother tongue, so it was easy)

I'm also including a little bit of cleanup. I belive that no files from .idea folder should be versioned. So I added them into .gitignore and removed them from tracking.

thanks 👍


No json file

Issue Type
Bug
OS
Ubuntu
OS architecture
x86_64
Programming Language
Python
Framework
TensorFlow, TensorFlowLite
Download URL for tflite file
I get model from mediapipe PoseEstimate
Convert Script
tflite2tensorflow --model_path pose_landmark_heavy.tflite --flatc_path ../flatc --schema_path ../schema.fbs --output_pb
Description
When i want to convert model from mediapipe (PoseEstimate) tensorflow lite i get error that no exist json file. I have only tensorflow lite model. I run at local machine, not docker
Relevant Log Output
output json command = ../flatc -t --strict-json --defaults-json -o . ../schema.fbs -- pose_landmark_heavy.tflite
sh: 1: ../flatc: not found
Traceback (most recent call last):
  File "tflite2tf/tflite2tf/bin/tflite2tensorflow", line 6614, in <module>
    main()
  File "tflite2tf/tflite2tf/bin/tflite2tensorflow", line 5861, in main
    ops, json_tensor_details, op_types, full_json = parse_json(jsonfile_path)
  File "tflite2tf/tflite2tf/bin/tflite2tensorflow", line 247, in parse_json
    j = json.load(open(jsonfile_path))
FileNotFoundError: [Errno 2] No such file or directory: './pose_landmark_heavy.json'

Source code for simple inference testing code
No response

Use Docker.
Either flatc or schema.fbs has not been properly installed according to the README instructions, or the two files simply do not exist in the specified path.


How to use MaterialFadeThrough Transition as StackTransactionModifier?

Hi,
very nice library!
Currently I am asking myself how to implement MaterialFadeThrough-Transition during a stack-change?
I was able to implement a Cross-Fade Transition by using stackTransactionModifier of MultiStackNavigator like this
this.stackTransactionModifier = {        setCustomAnimations(     R.anim.fade_in,     R.anim.fade_out,     R.anim.fade_in,     R.anim.fade_out )     }
But how to do this by using a MaterialFadeThrough Transition?

Hi @wman1980, thanks for checking out the library. MainActivity has an example of this using an extension:
navigator.stackTransactionModifier = navigator.materialFadeThroughTransition()
The full implementation is:
fun MultiStackNavigator.materialFadeThroughTransition(): FragmentTransaction.(Int) -> Unit = fade@{ index ->
    val rootFragmentManager = current?.activity?.supportFragmentManager ?: return@fade

    rootFragmentManager.findFragmentByTag(activeIndex.toString())?.apply {
        enterTransition = null
        if (exitTransition !is MaterialFadeThrough) exitTransition = MaterialFadeThrough().setDuration(300)
    }
    rootFragmentManager.findFragmentByTag(index.toString())?.apply {
        exitTransition = null
        if (enterTransition !is MaterialFadeThrough) enterTransition = MaterialFadeThrough().setDuration(300)
    }
}

ahh, that is awesome!
I just forgot about the supportFragmentManager and the index.
Thanks a lot!

Hi @tunjid,
I have a follow up question.
If I add some Transition.TransitionListener to that code above to to listen to start and end events for each transition. Do you have an idea how I could pass these events to my active fragment or target fragment?
Thanks

@wman1980 MultistackNavigator.current and MultistackNavigator.previous should give you you a reference to your Fragment in your Transtion.Listener. Do you have a snippet of what you're trying to achieve with the listener?

Actually I have a WebView within android and the webview "flickers/blinks" if a transition (MaterialSharedAxis.X) is started. My plan to prevent that was to create a bitmap snapshot and put that snapshot in front of the webview on transition start and remove that snapshot on transition end. But unfortunately I just discovered that onDestroyView of my fragment is called before onTransitionStart e.g. during a returnTransition.


Add human message as input variable to chat agent prompt creation

Add human message as input variable to chat agent prompt creation
This PR adds human message and system message input to CHAT_ZERO_SHOT_REACT_DESCRIPTION agent, similar to conversational chat agent.
I met this issue trying to use create_prompt function when using the BabyAGI agent with tools notebook, since BabyAGI uses “task” instead of “input” input variable. For normal zero shot react agent this is fine because I can manually change the suffix to “{input}/n/n{agent_scratchpad}” just like the notebook, but I cannot do this with conversational chat agent, therefore blocking me to use BabyAGI with chat zero shot agent.
I tested this in my own project Chrome-GPT and this fix worked.
Request for review
Agents / Tools / Toolkits

@vowelparrot

@vowelparrot Thanks!

lgtm, thanks @richardyc!


[Question] Easy differentiation between RndmForest Scikit-learn and pure-predict upon loading

Hi,
great package! I really like the simplicity and the speed improvement.
I have users that would like to be able to use both "versions" of the classifier and I would like to find an easy way to differentiate between the two directly after loading them.
so far I came up with based on it's object description:

    with open(path_to_sav,"rb") as f:
        clf= pickle.load(f)
    if 'pure' in str(clf):
       print(clf)

Output:
<pure_sklearn.ensemble._forest.RandomForestClassifierPure object at 0x00000201490EEF98>

Is there a better way to do this?

I think what you are doing seems reasonable 💯


Refactor INT fuzzers.

The old tcl loop was actually quiet slow.  Just iterating over all nets and outputting pips outputs more data in less time (~15 min => ~5 min per sample).

At -j56:
050 run time 47 min -> 25 mins
057 run time 38 min -> 9 mins


Release version 1.5.0

[x] Release checklist

@john-shepherdson What is the status of this release? I am about to create a new release for the recent changes in the technical guideline.

This appears to have been released


V2.2.0?

I've updated all of the code for the newest version of TensorFlow however it is only the classification. I don't  know how that would work but I felt like I should share the work I've done.

Great work you did with this @cdud99 .
However, there are no plans to continue the Tensorflow backend development, as ImageAI has switched to PyTorch backend.


Properly implement input$dev_pass, consider whether or not it is even necessary/sensible

Do we even need the dev_pass-cb, does it even do anything for the app?

currently, it allows setting the following things:

---set.cores=X

set to 1 to disable parallelisation
set to 2+ to enable parallelisation with respective number of cores
does not allow going over detectCores(all.tests = T, logical = use_logical_cores) - 1

[ ] consider changing set_author from --set.author=F/--set.author=T to ---set.author=<author_string>

how would you delimit this within the input-field?

[ ] consider setting --bookmarking=T/--bookmarking=F - requires implementing bookmarking first of all.

closed in 0e40a0a5e5528c3b4b7121cbfa293ffc84777a86, merged in 743f9776837beaae7676368e706bdb14ac182881


NavigationView: Unable to set access key on back and settings buttons

Describe the bug
We cannot set access key on the back or settings buttons in NavigationView.
Steps to reproduce the bug

Create new app with the following XAML snippet

<mux:NavigationView PaneDisplayMode="Top" IsBackEnabled="True">
    <mux:NavigationView.MenuItems>
        <mux:NavigationViewItem AccessKey="A" Content="Item A" KeyTipPlacementMode="Bottom"/>
        <mux:NavigationViewItem AccessKey="B" Content="Item B" KeyTipPlacementMode="Bottom"/>
    </mux:NavigationView.MenuItems>
</mux:NavigationView>

Launch the application
Press the alt key
The access key tooltips are displayed only for the menu items.

Expected behavior
The access key tooltips are displayed for all the navigation view items : back, items and settings
Screenshots

Version Info
NuGet package version:
Microsoft.UI.Xaml 2.1.190606001
Microsoft.UI.Xaml 2.2.190611001-prerelease

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

May 2019 Update (18362)
Yes

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Anniversary Update (14393)

Device form factor
Saw the problem?

Desktop
Yes

Mobile

Xbox

Surface Hub

IoT

Additional context
We should have a way to customize the settings and back button items to provide the access key as well as the keyboard accelerators we might want to use.
Proposed fix
[edit by YuliKl]
Add four new properties to NavigationView:

SettingsAccessKey of type String
SettingsKeyTipPlacementMode of type KeyTipPlacementMode
BackAcessKey of type String
BackKeyTipPlacementMode of type KeyTipPlacementMode

My expectation is that these properties are temporary and will be removed in a later WinUI 3.x release to be replaced with a more comprehensive and scale-able solution.

Thanks for filing @vgromfeld! The back button has some specific keyboard handling already, but it's not implemented as an access key and I don't know if we should allow customizing it. @yulikl to noodle on this.

@vgromfeld, do you think this bug would be resolved if we implemented #944?

Implementing #944 will not solve the issue. We need to be able to set at least the AccessKey property on the internal back button. We cannot do that through ICommand
We may also need to set KeyTipPlacementMode for the back button but this is something the NavigationView can do on its own based on its display mode (bottom key tip placement when in top mode, right key tip placement when in left pane mode).
I can propose the following ways to allow us to make it work:

Have a fixed predefined access key on the NavigationView template

This would be a quick fix but we will loose the ability to localize the access keys to match the button label.

Have pass through properties on  NavigationView; something like BackButtonAccessKey

This gives us the flexibility to configure the access key but is not the usual way

Allow us to provide a custom back button and use it instead of the default one

This would give us the liberty to configure the back button as we want but I don't know if it can break some inner behaviors/expectations between NavigationView and its back button.
If no button is provided, the NavigationView will still use its own button

We cannot do that through ICommand

In 1809 we added XamlUICommand which gives us a way to package up AccessKey+KeyboardAccelerator+Text to be passed through to the target to enable this scenario. Flat properties might still preferable, but XamlUICommand is a nice strategy for not having an explosion of properties.

@jevansaks, agreed, XamlUICommand is a very nice addition to the platform but as far as I know it is not available on Windows builds older than 1809. I don't know how complicated it would be but is it something that can be added in the Microsoft-ui-xaml package ?

I don't know how complicated it would be but is it something that can be added in the Microsoft-ui-xaml package ?

That's the perennial question! As with most things the answer is we have to wait for WinUI 3.0.
Do you think you need a workaround in the short term? If so, we can look into adding some stopgap properties that we would then plan to remove later.

Looking at our timeline and the WinUI 3.0 timeline (stable release in 2020), I think we will need a workaround in the short term.

Property explosion feels like a real concern, especially given the number of properties on UIElement that had been added to support key tips. But I agree that we have a functional gap here with a more immediate need to address it. I've added a Proposed fix subsection to the description.

Thanks. We'll add these properties to unblock the scenario for now, but we need to figure this out more holistically going forward.

@jevansaks, @YuliKl, are we sure we want to introduce 4 new NavigationView properties for the short term?
I wrote this utility method which works for 19H1 at least (it may need tweaks on RS versions):
private void SetKeyTips(
    NavigationView navView,
    string backAccessKey,
    string settingsAccessKey,
    KeyTipPlacementMode keyTipPlacementMode)
{
    Grid rootGrid = VisualTreeHelper.GetChild(navView, 0) as Grid;
    Grid paneToggleButtonGrid = VisualTreeHelper.GetChild(rootGrid, 0) as Grid;
    Grid buttonHolderGrid = VisualTreeHelper.GetChild(paneToggleButtonGrid, 1) as Grid;
    Button navigationViewBackButton = VisualTreeHelper.GetChild(buttonHolderGrid, 0) as Button;

    navigationViewBackButton.AccessKey = backAccessKey;
    navigationViewBackButton.KeyTipPlacementMode = keyTipPlacementMode;

    Grid grid = VisualTreeHelper.GetChild(rootGrid, 1) as Grid;
    StackPanel topNavArea = VisualTreeHelper.GetChild(grid, 0) as StackPanel;
    Grid topNavGrid = VisualTreeHelper.GetChild(topNavArea, 1) as Grid;
    NavigationViewItem settingsTopNavPaneItem = VisualTreeHelper.GetChild(topNavGrid, 7) as NavigationViewItem;

    settingsTopNavPaneItem.AccessKey = settingsAccessKey;
    settingsTopNavPaneItem.KeyTipPlacementMode = keyTipPlacementMode;
}

By calling it like this
private void NavigationViewTestPage_Loaded(object sender, RoutedEventArgs e)
{
    SetKeyTips(this.navView, "K", "S", KeyTipPlacementMode.Bottom);
}

you get the expected result:

Thoughts? Thanks.

@vgromfeld, what is the Min version your app supports?

Our min app version is RS3

I've integrated the following code in our app and it works (tested on RS3 and 19H1).
private void OnNavigationBarLoaded(object sender, RoutedEventArgs e)
{
    var rootGrid = VisualTreeHelper.GetChild(navigationBar, 0) as Grid;
    var paneToggleButtonGrid = VisualTreeHelper.GetChild(rootGrid, 0) as Grid;
    var buttonHolderGrid = VisualTreeHelper.GetChild(paneToggleButtonGrid, 1) as Grid;
    var navigationViewBackButton = VisualTreeHelper.GetChild(buttonHolderGrid, 0) as Button;

    navigationViewBackButton.AccessKey = "A";
    navigationViewBackButton.KeyTipPlacementMode = Windows.UI.Xaml.Input.KeyTipPlacementMode.Bottom;
}

I've only tested the back button because we are not using the default settings button because of #591.
Do you plan to integrate the utility method soon ?

@vgromfeld, thank you for testing that code. Given this workaround, we are not planning to do a product change for this in the coming WinUI 2.2 release. We will reconsider this for a later release.
In the meantime, you should use the kind of code above in your application as a workaround. Sorry for the inconvenience.

I've opened a doc bug to share this workaround more broadly. Closing this issue as the immediate problem is resolved.


Check all mgt server connectivity

Description

Check all mgt server connectivity
Currently ssvm checks connectivity only for one mgt server.
Since we can have multiple mgt servers using comma separated
list, make the change in script so that it checks for connectivity
for all mgt servers

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[X] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):
How Has This Been Tested?

Before the fix
root@s-172-VM:~# /usr/local/cloud/systemvm/ssvm-check.sh
================================================
Management server is <IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>. Checking connectivity.
ERROR: Cannot connect to <IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS> port 8250
2020/11/03 12:58:34 socat[4508] E parseopts(): unknown option "<IP_ADDRESS>" <<<<<<<<<<<<<<

After the fix
root@s-175-VM:~# /usr/local/cloud/systemvm/ssvm-check.sh
================================================
Management server is <IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>. Checking connectivity.
Good: Can connect to management server <IP_ADDRESS> port 8250
Good: Can connect to management server <IP_ADDRESS> port 8250
Good: Can connect to management server <IP_ADDRESS> port 8250
================================================
Tests Complete. Look for ERROR or WARNING above.

@ravening I'd call this a cleanup and not a bug would you? the check-ssvm script is not a runtime requirement but more like tooling, agree?

@PaulAngus @rhtyd this should/could go in even older versions than 4.15. not a runtime fix but a fix of the ssvm check script that will usually only run if the ssvm isn't working anyway.

@ravening I'd call this a cleanup and not a bug would you? the check-ssvm script is not a runtime requirement but more like tooling, agree?

@DaanHoogland fine with me 🙂 feel free to add proper label

@blueorangutan package

@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2360

@blueorangutan test

@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-3148)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 35312 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4446-t3148-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
Intermittent failure detected: /marvin/tests/smoke/test_outofbandmanagement.py
Intermittent failure detected: /marvin/tests/smoke/test_privategw_acl.py
Smoke tests completed. 85 look OK, 1 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_04_rvpc_privategw_static_routes
Failure
864.84
test_privategw_acl.py

@borisstoyanov @vladimirpetrov can you review/test?

not in production code, 2 lgtm, test results provided -> merging


Halo Mythic 4.0

Changes / Comments
Fixed incorrect values in racial settings, settings will now properly match the 4.0 races
added the prelate race
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[y] Does the pull request title have the sheet name(s)? Include each sheet name.
[y] Is this a bug fix?
[y] Does this add functional enhancements (new features or extending existing features) ?
[n] Does this add or change functional aesthetics (such as layout or color scheme) ?
[none were removed] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


Add support for coverage files across multiple assemblies

This is so a file page is generated for all files when coverage is recorded for multiple assemblies

Looks good, thanks!


Packet: specify hardware reservations and dependencies between worker pools

It should be possible to specify hardware reservations in Packet (supported in terraform code).
However, there is an issue in packet terraform provider in which we need to create some worker pools before another when using hardware reservations "next-available" and a specific UUID. Upstream bug was reported here and the "fix" was to document to create such dependencies manually.
Without that (workaround in terraform is just doing terraform apply -target ...) is not possible to reliably create clusters that mix "next-available" and specific UUIDs.
Such clusters are useful because you may want to run with reserved instances only (for pricing reasons) but you need to spread some workers in specific ways and need to specify UUIDs too.

A work in progress (with some fixes for things I found in the way) is here: https://github.com/kinvolk/lokomotive/tree/rata/packet-improve-reservations

@rata could you create a PR (even a draft one will work) so that it is easy to review and see what is going on?

Sure, not ready for review, but will create the draft PR :)

Done: https://github.com/kinvolk/lokomotive/pull/119 :)

Moved to 0.2.0 as 0.1.1 is probably not going to be released


PackageResults does not work as expected

The PackageResults Property of ShipmentResults can be an array of PackageResults or just the properties of an PackageResults-Object
Single:
"PackageResults": {                 "TrackingNumber": "1ZXXXXXXXXXXXXXXXX",                 "ServiceOptionsCharges": {                     "CurrencyCode": "USD",                     "MonetaryValue": "0.00"                 },                 "ShippingLabel": {                     "ImageFormat": {                         "Code": "ZPL",                         "Description": "ZPL"                     },                     "GraphicImage": ""                 }             }
Multiple:
"PackageResults": [         {           "TrackingNumber": "1ZXXXXXXXXXXXXXXXX",           "ServiceOptionsCharges": {             "CurrencyCode": "USD",             "MonetaryValue": "0.00"           },           "ShippingLabel": {             "ImageFormat": {               "Code": "ZPL",               "Description": "ZPL"             },             "GraphicImage": ""           }         },         {           "TrackingNumber": "1ZXXXXXXXXXXXXXXXX",           "ServiceOptionsCharges": {             "CurrencyCode": "USD",             "MonetaryValue": "0.00"           },           "ShippingLabel": {             "ImageFormat": {               "Code": "ZPL",               "Description": "ZPL"             },             "GraphicImage": ""           }         }       ]
The swagger generated classes do not support this and currently only array as PackageResults are supported.

in the v1.0.2 i see arrays on containers in the response. Looks like ups dev team fixed it.
Please check and let us know.

Yes, there are containers, but these containers are empty, cause if you create one single package in a shipment, it returns the package property instead of an array of packages. It's still not working. Same error as before.

https://github.com/UPS-API/api-documentation/issues/3#issuecomment-1798198715
I have an ongoing discussion with UPS about that and others too.


Why does the Kql research give me the numerical values multiplied by 1000?

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
SharePoint CSOM
Developer environment
Windows
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[X] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

browser version: 103.0.5060.53 (Build ufficiale) (a 64 bit)
Microsoft.SharePointOnline.CSOM: 16.1.21213.12000

Describe the bug / error
I have a Number column with the internal name IdDocSet.
On the managed properties page I edited the property RefinableDecimal01 with alias IdDocSet and mapping ows_IdDocSet.

Below is the piece of code I use for research
KeywordQuery keywordQuery = new KeywordQuery(context);
keywordQuery.QueryText = "path:https://{MyDocumentLibraryUrl} AND (ContentTypeId:0x0120D520* OR ContentTypeId:0x0101*)";

keywordQuery.CollapseSpecification = "IdDocSet";

keywordQuery.SelectProperties.Add("IdDocSet");

keywordQuery.SortList.Add("IdDocSet", SortDirection.Descending);

SearchExecutor searchExec = new SearchExecutor(context);
ClientResult<ResultTableCollection> resultTableColl = searchExec.ExecuteQuery(keywordQuery);
context.ExecuteQueryRetry();

I get the ClientContext with Azure app registration and the code below:
OfficeDevPnP.Core.AuthenticationManager().
                GetAzureADAppOnlyAuthenticatedContext(siteUrl, azApplicationId, azTenant, certificatePfxPath, certificatePassword);

When I run the code I get the truly value of IdDocSet multiplied by 1000

I need to use the alias in my code, please help me.
Steps to reproduce

Create a SharePoint document library with a "IdDocSet" numeric column
On the managed properties page modify the property RefinableDecimal01 with alias IdDocSet and mapping ows_IdDocSet.
Create a new Azure App registration:

add a certificate
add the permission SharePoint Sites.FullControl.All

Run the described code

Expected behavior
KQL search return  the truly value of IdDocSet multiplied by 1000

This seems to work as expected for me. Can you say something about how the number column in SP has been defined? I have number with auto decimals for my test, and all numbers come correct.

Fixed from the service side.


master is now 1.8.0-dev.

Supersed by #12792.

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences


how do i get 100+ tokens in 5 mins from facebook cookies

how do i get 100+ tokens in 5 mins
from facebook cookies

@Nick8fr32 do you have mouse control ?

only on spectate

Easy, you need to have all cookies in an array and if you wanna use NodeJS you gotta use simultaneous express connections to Fb trough proxies (otherwise you will most likely get blocked by FB) and save all responses to a new array and then you can retrieve them easily :)   This would take you 10 secs instead of manual 1hr

@hassanila97 can u help me with that?

@Nick8fr32 Im currently busy with other stuff...  maybe later I will post an example code here.... if noone helps before.

okay thx @hassanila97

@hassanila97 fb from clan members


does not lint

Answering the questions from #1

no error in the console while linting (tried saving the file and also starting it from the command palette, all other linters work)
which node: /usr/local/bin/node
process.env.PATH: /home/despairblue/.rvm/bin:/home/despairblue/bin:/home/despairblue/.cabal/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-ndk64:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/despairblue/.linuxbrew/bin:/home/despairblue/node_modules/.bin:/opt/java6/bin:/home/despairblue/.gem/ruby/2.1.0/bin:/home/despairblue/go/bin

Also I have linter-js-standard installed for a while now, couple of weeks at least, it actually never worked, not even with linter 0.11.0. I just haven't had the time to report it before now.
Command History
     -0:08.6 selection:changed (atom-text-editor.editor.block-cursor-i-beam.is-focused)
     -0:06.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.block-cursor-i-beam.is-focused)
     -0:03.4 editor:delete-to-beginning-of-word (atom-text-editor.editor.mini)
     -0:03.1 editor:consolidate-selections (atom-text-editor.editor.mini)
     -0:03.1 core:cancel (atom-text-editor.editor.mini)
     -0:02.7 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.block-cursor-i-beam.is-focused)
     -0:02.1 editor:consolidate-selections (atom-text-editor.editor.mini)
     -0:02.1 core:cancel (atom-text-editor.editor.mini)
     -0:01.7 command-palette:toggle (atom-text-editor.editor.block-cursor-i-beam.is-focused)
     -0:00.0 core:confirm (atom-text-editor.editor.mini)
     -0:00.0 bug-report:open (atom-text-editor.editor.block-cursor-i-beam.is-focused)

Versions

Atom:       0.190.0
Atom-Shell: 0.22.3
OS:         linux 3.14.26-1-lts
Misc

apm  0.157.0
npm  2.5.1
node 0.10.35
python 2.7.9
git 2.3.5

This report was created in and posted from the Atom editor using the package bug-report v0.6.3.

Will look into this as soon as I got time, so it should be between today and tomorrow.

:sparkles: thx :smiley:

Can you tell me which other linters you have enabled? Do you have js hint ?

Yes, I can try to disable it tomorrow.
On Wed, Apr 8, 2015, 22:57 Ricardo Barros<EMAIL_ADDRESS>wrote:

Can you tell me which other linters you have enabled? Do you have js hint ?
—
Reply to this email directly or view it on GitHub
https://github.com/ricardofbarros/linter-js-standard/issues/3#issuecomment-91035312
.

I disabled linter-jshint and it still does nothing.
My other linters are:
enabled:

linter-coffeelint
linter-htmlhint
linter-js-yaml
linter-puppet-lint
linter-shellcheck

disabled:

linter-jshint
linter-eslint

Hmm this is very strange, I'll try to duplicate this issue on ubuntu

I'm experiencing the same thing,
I'm using the default Js Standard Executable Path but I have also the Js Standard npm package install globally
Packages Installed

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>disabled

Versions

Atom:       0.191.0
Atom-Shell: 0.22.3
OS:         Mac OS X 10.10.2
Misc

apm  0.157.0
npm  2.5.1
node 0.10.35
python 2.7.6
git 2.3.2

I have now updated to Atom: 0.192.0 no change

I downgraded linter-js-standard to 0.1.1 but that didn't change anything.

Finally I had time and tried to duplicate this issue and I duplicated successfully and I fixed it hopefully.
What was happening is that linter-js-standard linter was configured to received the error stream from stderr, and well it all ways worked for me like this. But I guess, with the most recent version of standard, feross changed from stderr to stdout, so I just configured linter-js-standard to catch the error stream from stdout.
I think the reason you guys couldn't see anything is because the most recent linter-js-standard installs<EMAIL_ADDRESS>and from that major release the std must have been switched.
Give it a try the last release and give me some feedback, thank you :smile:

:+1:  0.1.5 works for me

Great :smiley:, now let's wait for @despairblue feedback

@ricardofbarros it works :clap: thanks :smiley:

Works for me now too. Thanks for fixing!


ability to use String categories instead of numbers

it would be great if you could add support String categories. One option would be using multiple CSS selectors which can be combined to have logical operations and also very flexible filter definition:

 AND FILTER

 OR FILTER

Thank you.

Yes, I'd really appreciate it, because it would allow me to put ids of my objects as categories... for example, I have "region" and "tipology" filters... but both have an id of 1. With a string category I coould use r1 and t1 as filter. As of now, I'd have to add a global id to represent different things...
Thanks in advance for your help

Using CSS selectors as possible values for the data-filter attribute in button controls sounds interesting indeed, I'll be looking into it in the future.

+1

+1

Please close my reported issue as it is not a case for me anymore. I have switched to Isotope (http://isotope.metafizzy.co/) which has the exact functionality that I need and offers an interface for real applications. The Idea with using numbers as categories may work for a little test application but not really transferable to a real application. Thank you.

you're welcome hoomb, isotope is indeed an amazing plugin with a great community and very battle tested but I need not close this issue right now as this is a feature very much wanted and I will be adding it to Filterizr in the future.

+1