Group similar or same Proper Name

Original author<EMAIL_ADDRESS>(April 27, 2011 13:53:34)
Would like a way to group Proper Names / Nouns, especially people, such as:
William - Bill
This is similar to issue, 174 Anonymise Names, which is also an excellent idea, especially if need to re-expose the data after doing analysis.
Original issue: http://code.google.com/p/google-refine/issues/detail?id=371

@wetneb Hmm, I wonder how much Wikidata or Wikidata Lexemes might eventually help with this?  I wonder how much is possible now in OpenRefine 3.2 beta?

It's not clear to me what this issue is requesting to be honest! If it's about reconciling first names, yes Wikidata can help as it stores first names ("Bill" https://www.wikidata.org/wiki/Q18245781 is "said to be the same as" "William" https://www.wikidata.org/wiki/Q12344159).

Thanks, I'll close this issue since we do not know the intent and have no way to contact the OP.


[BUG] Repeated links on Profiles

Has this bug been raised before?

[X] I have checked "open" AND "closed" issues and this is not a duplicate

Where did you find this bug?
Production
Version of BioDrop (for example "v1.2.3")
2.99.13
Description
While fixing issue #9906 I found that the current version allows repeated links for the same platform. Ideally, one link should suffice for each platform.
If this is not the case, I'm open to discussing it here.
Steps to Reproduce
For example:

Go to https://www.biodrop.io/account/onboarding
Click on Edit in the Links section.
Add a new link for the platform that already exists.
You will see repeated links on your profile.

Screenshots

Do you want to work on this issue?
Yes
If "yes" to above, please explain how you would technically implement this
I will investigate and filter the repeated links.

Thank you for raising.  However we feel that it is up to the user whether they would like repeated links for the same platform or not (for example, they may have this under different categories) and not to restrict them.  Therefore I will close this issue for now.


Release 3.5.0

Feature release

#258
#271
#265

Fixes

#255
#254
#257
#266

We're moving the Prepared payment flow to a release candidate branch for v4, so a revert will be made on the development branch.


chore: cegid workshop

Will only be published at 21:00. Also had to make some changes to schedule blocks because they looked really bad.

Could you fix this? I don't like the text and the icon not being aligned.

was this introduced on this PR?


Refs for Box

Adds ref forwarding on Box to the div plus shows usage examples in docs with Flyout

[ ] Documentation
[ ] Tests
[ ] Accessibility checkup

Warnings

:warning:

:memo: CHANGELOG - Please add a CHANGELOG.md entry for your changes

  Generated by :no_entry_sign: dangerJS


Italicise suspect districts

E.g. see John Alcock, born 1838:

One of these Penrith's is suspect, so italicisesd
On FreeBMD2, at the moment, it isn't:

In this case, the district is suspect because the page number appears to be a typo.

@KatyMawhood @and @Daniel-silve1ra  to take a look and think about solutions

Putting an entry in italics might be meaningless for a screen-reader user, especially a relatively inexperienced one. We need to investigate before we implement.

First thing to note is that we do not currently show the information for suspect records that FreeBMD1 shows
E.g. https://www.freebmd.org.uk/cgi/districts.pl?r=30679048:5374&d=bmd_1639404358. This is a variant of the page about districts which we no longer use, as send people straight to UKBMD.
Also note: the thing that is suspect about this particular entry may be the district name, but it may also be the page number.
Would it be clearer not to indicate a "suspect" by focusing on one piece of the informaiton presented, but adding in a link to the explanation through text such as "There may be issues with this transcription".

@PatReynoldsFUG @KristinaGadzhieva
Making a suspect district name italic will not be Accessible to a screen-reader user. We need another way to indicate that a district name is suspect.

@AlOneill Thank you for letting us know. This issue is not included in the current MVP scope, we have moved it to Phase 5 (Future version). Sorry, I haven't yet updated this in Zenhub.
We have some time to investigate the issue.


Fix typos

Fix typos

Thanks @tochev!
Please email your channel name or a wallet address to<EMAIL_ADDRESS>if you'd like some Credits. Please include a link to this PR.


Flashing LEDs on RPi2/OpenElec/Hyperion/LightBerry

Hi everybody,
i've got an old 48-Leds LightBerry which used to work perfectly in my previous home, on a RPi B+ / OpenElec 5.0, directly connected on GPIO pins, for KODI exclusively (no hdmi grabber needed, etc..)
I recently move in an new home and reinstall it on a Rpi 2 / Openelec 5.08.
Hyperion has been installed manually, as usual, with my own classic hyperion.config.json file.
And LightBerry is still connected on GPIO pins.
No light, so i fixed a first issue with the add of "dtparam=spi=on" in my openelec config.txt file, and light appears (why do we have to do that now, not cool...)
There's no more specific issue when i launch hyperion on the command line.
But now, my LEDS are flashing when there are movements on screen. On KODI Menu, it stabilizes, but with the wrong colors. On boot, the rainbow swirld effect makes LEDs blinking violently !
It's a mess...
I put it on my old B+ Raspberry (wich has been yet updated with openelec 5.08), it's the same issue.
With the Hyperion Android App, same problem, LEDs are not colored as expected and are flashing.
I changed the baud rate to 250 000 : still flickering
Do you have an idea, i think i checked the entire Internet :(, still no solution...
Is that an electric or power supply issue ?
Is the Lightberry converter ko ?
Is that interference ?
It works fine for some users with the same softwares package (Openelec 5.08 / hyperion / lightberry)
The LightBerry support didn't answer my request.
thx for your help

Greetings from Lightberry support,
Please drop us an email. We always answer and make things work.
Jacek

same here ... today installed ws2801 with 50 LEDs on a rpi2 running latest openelec.
Installed hyprion with script and make config file.... lights are working but with movements on screen the lights are more flashing than changing smooth ...
Think must something with the firmware / kernel ...

For me, it's flickering even with hyperion native effects (no kodi movie played, so no image analysing)
A Knight Rider effect now makes leds flashing green while red movements...

yes i try knight rider effect right now ... its working most the time with some green / blue flashes between

@c-o-m-m-a-n-d-e-r In the Hyperion Android App, can u just do this test
Set All Gamma to 1, all HSV to 1, Threshold to 0
And in the colorwheel, choose color Red, and try first with a low luminosity.
Normaly, with that, it's ok with the good color, without flickering. It's like in the Kodi Menu. True colors, no flash.
Then, in my case, when i progressivly set a higher luminosity, LEDs are moving to different colors than red, finishing like a flickering rainbow...
I think that's producing the real issue we have, which appears suddenly.

having the ios app ...
i can reproduce the problem with traffic on lan port ... when i watch tv or a movie from my nas and let the rainbow effect run i have flickering effect.
if i stop movie / live tv, so no traffic over lan port the rainbow effect runs perfect

i turned off my ethernet switch (no lan traffic anymore).
After reboot hyperion, the intro effect is still bad...
2015-05-25 15:21 GMT+02:00 c-o-m-m-a-n-d-e-r<EMAIL_ADDRESS>
having the ios app ...
i can reproduce the problem with traffic on lan port ... when i watch tv
or a movie from my nas and let the rainbow effect run i have flickering
effect.
if i stop movie / live tv, so no traffic over lan port the rainbow effect
runs perfect
—
Reply to this email directly or view it on GitHub
https://github.com/tvdzwan/hyperion/issues/325#issuecomment-105230689.

ok but you are using lightberry correct?
I have connected my WS2801directly on the GPIO

yep, lightberry on GPIO SPI (it's like WS2801).

okay, checked openelec 5.0.3 on rpi2 ... same problem but with lower quantity of flashing...
testet same wiring on rpi1 with openelec 5.0.8 ... everything works fine without any problems...

Great news !
Thx to Jacek (Lightberry), my actually hardware issue has been fixed !
So it wasn't a soft issue, neither hyperion.

After contacting lightberry support, they found out that my converter box had an issue.
Problem solved, great support, thanks again Tomek


uses env variable for database name, with CurtData fallback

@DavidVaini did you migrate all the information pointing at CurtDev over to CurtData?

Currently trying to do it on my local to make sure data transfers correctly, if it does then ill do it on the live

Once you get the data migrated, I'm good with you merging this commit.


System V IPC support

Bindings for the various functions supplied by sysvipc(7) would be great. This includes msgctl, msgget, msgrcv, msgsnd, semctl, semget, semop, shmat, shmctl, shmdt, shmget (list copied verbatim from Linux man page).

Would you be able to put together a PR?


allow buttons to have content.

Hi Gary,
It turns out the :button tag can indeed and often does contain tag contents.
Thanks,
Dave

Thanks Dave!


Specify cipher options in stud conf

There does not appear to be any way to specify ciphers and such for stud. Per http://baudehlo.com/2013/06/24/setting-up-perfect-forward-secrecy-for-nginx-or-stud/, it appears doing so might be necessary to make perfect forward secrecy work.

This could also be addressed more generally by allowing miscellaneous setup customization -- e.g. run user-provided script after everything else in mup setup.


[ Feature Request ]

What about making the reaction to Button. As discord have now new buttons. So you do better make this Giveaway system on buttons!

Refer to this issue ( thread ) for an active discussion on the same feature request.


[WIP] Create API for the Event streams table

Exposes the event_streams table through the MIQ REST API.  This enables events generated by endpoints managed by the provider to be surfaced via REST.
@miq-bot add_label enhancement, wip

@imtayadeway, @skovic, @GabrielSVinha , @AndreyMenezes   - WIP PR for exposing the event streams table via REST.

@rodneyhbrown7 I think you might also want to update spec/requests/api/collections_spec.rb

@miq-bot remove_label wip

@imtayadeway I attempted to address all of the items you listed in your review. Do you agree? Any additional suggestions?

/cc @jntullo I think this falls within one of your PT stories.

Closing request. A new request will be opened in the api repository.


Cannot call getMapNode()

When created a map component like this:
var ReactGoogleMaps = require('react-googlemaps');
var Map = ReactGoogleMaps.Map;

<Map
        ref="myMap"
        initialZoom={15}
        initialCenter={new google.maps.LatLng(53.4335187, 14.5497363)}
      </Map>

In the parent component, that created it, I would like to do this.refs.myMap.getMapNode(). However this is not possible, because the ReactGoogleMaps.Map is not exposing such method.
My motivation is to centre the map after the component is rendered, in componentDidMount. I want to do it using map.panTo method of Google API.

Is that really the best way to get the map instance? It seems so brittle :confused:

any status on this? would be nice to know best practice regarding getMapNode().


To allow passing the changes from #226

#226

Any way to add this to only this example? I don't want to turn off consistent-return

Haven't tried it yet in md file but if we could put a line rule in it that would be great.


MINOR: Reduce number of threads created for integration test brokers

The integration tests seem to create an unnecessarily large number of threads. This reduces the number of threads created per integration test harness broker.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Test failures were:

@jolshan
I am investigating
[kafka.api.SslAdminIntegrationTest.testAsynchronousAuthorizerAclUpdatesDontBlockRequestThreads()](https://ci-builds.apache.org/job/Kafka/job/kafka-pr/job/PR-13655/4/testReport/junit/kafka.api/SslAdminIntegrationTest/Build___JDK_11_and_Scala_2_13___testAsynchronousAuthorizerAclUpdatesDontBlockRequestThreads__/)

I will revert the IO threads thing for now until I investigate further.


Update requirements.txt

Coverage remained the same at 87.204% when pulling d61bfa3458fc4dc742491dc52b810808510a2cf6 on 2.1 into 58d4d00dbd9a26e769c9fe9bde8c53721ad8377c on dev.


Lack of timeout for requests can cause queries to hang

In trying to build an automated harvesting script for our production tenant, I've repeatedly encountered an issue where a query (particularly to the inventory-storage endpoints) will hang during the "reading" phase and require a keyboard interrupt to exit. Perhaps we could add a default timeout or allow specifying a requests timeout (and number of retries) as an argument to the query method?

New functions set_okapi_max_retries() and set_okapi_timeout() added in v0.0.31


Add certified conformance mode and non-disruptive-conformance mode

What this PR does / why we need it:
With K8s v1.16, disruptive tests may not be part of the conformance
suite. As a result, we need to ensure that user workloads are
protected by default while still allowing for CNCF certification
test runs.
In this PR we:

rename the default conformance mode to be non-disruptive-conformance
and modified the skip list appropriately.
added a certified-conformance mode which does not provide a skip list
and will run even the disruptive tests
tweaked the naming to use lower case values by default to be more
consistent with our other flags/naming

Which issue(s) this PR fixes
Fixes #877
Fixes #875
Special notes for your reviewer:
I could have written the skip list in a slightly different way, naming the tests individually, but instead chose a higher level term that filtered both and, IMO, seems more clear why they may be skipped.
However, we need to talk about this issue in general because we are actually in a situation now where the E2E_SKIP value is dependent on the version of the cluster :( I think we can get away with this because the only real risks are:

someone uses this version of Sonobuoy with an older cluster

the non-disruptive-conformance run should hit all the conformance tests anyways since the NoExecuteTaintManager tests were not part of conformance on older clusters

someone uses this version of Sonobuoy with a newer cluster

the non-disruptive-conformance run may skip the NoExecuteTaintManager tests, even if the tests get updated somehow to not be disruptive or other NoExecuteTaintManager tests which are non-disruptive get added to Conformance. The only downside here is that a few tests don't get run, but since these are non-certification runs it doesn't matter much.

If there is a situation I've failed to think of, they can still set the e2e-focus/e2e-skip values on the CLI or the env vars in the YAML directly so we are not a blocker.
Release note:
Default `sonobuoy run` commands will run a subset of the `Conformance` tests which are safe to run on clusters with production workloads (avoids running known disruptive tests). To generate results for CNCF certification, you must run `sonobuoy run --mode=certified-conformance`

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@8bd715b). Click here to learn what that means.
The diff coverage is 16.66%.

@@            Coverage Diff            @@
##             master     #885   +/-   ##
=========================================
  Coverage          ?   47.06%
=========================================
  Files             ?       75
  Lines             ?     4904
  Branches          ?        0
=========================================
  Hits              ?     2308
  Misses            ?     2466
  Partials          ?      130

Impacted Files
Coverage Δ

pkg/client/mode.go
0% <0%> (ø)

pkg/client/defaults.go
0% <0%> (ø)

cmd/sonobuoy/app/args.go
89.69% <100%> (ø)

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 8bd715b...e44fc23. Read the comment docs.


CalendarDatePicker: Changing the CalendarIdentifier will crash the picker

Describe the bug
Changing the CalendarIdentifier once the picker has been opened once will produce an empty picker and leak a lot of RAM (200MB on Windows)
Steps to reproduce the bug

Open XAML Studio and add following XAML: <StackPanel Spacing="12">
 		<ComboBox x:Name="cid" Header="Calendar">
 			<ComboBoxItem IsSelected="True">GregorianCalendar</ComboBoxItem>
 			<ComboBoxItem>JulianCalendar</ComboBoxItem>
 		</ComboBox>
 		<CalendarDatePicker
 			CalendarIdentifier="{Binding SelectedItem.Content, ElementName=cid, FallbackValue=GregorianCalendar}" />
 </StackPanel>

Run it (you may need to press F5 if it's not automatic)
Clock on the <CalendarDatePicker />:

The picker is opening correctly
Change the CalendarIdentifier from GregorianCalendar to JulianCalendar
Reopen the picker...
It will take some time and consume appr. 200MB of RAM
This will be display instead of a fully functional picker:

(there's no dates!)

Expected behavior
This should appears instead:

Version Info
XAML Studio v1.1.0
NuGet package version: None

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

May 2020 Update (19041)
Yes (19042)

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

@carldebilly thanks for filing this! This looks like a WinUI XAML issue, transferring to the WinUI repo.


[BUG] Still getting this error when trying to run deployed flow: Execution failure: (TypeError) unsupported operand type(s) for +: 'int' and 'NoneType'"

Everything related to this issue was marked as resolved but it is resolved and I am still getting this error when I try to consume prompt flow via http request.
When I am adding openai<=1.44.1 to the requirements.txt (as it was suggested in other topics) I can't deploy a flow and getting this error: Authorization failed for container registry to access image details. Make sure that the container registry associated with the Environment is not unintentionally private, or if this container registry is behind a private network, ensure that it has been set up properly. Otherwise, please try running resync keys on your workspace and retry

I'm still encountering a similar bug, the version of promptflow is 1.16.1.
promptflow._core._errors.ToolExecutionError: Execution failure in 'check_japanese_foods_from_table': (TypeError) unsupported operand type(s) for +: 'dict' and 'dict'
2024-10-10 22:44:51 +0900   42295 execution.flow     WARNING  Failed to calculate metrics due to exception: unsupported operand type(s) for +: 'int' and 'dict'.
2024-10-10 22:44:51 +0900   42295 execution.flow     WARNING  Failed to calculate metrics due to exception: unsupported operand type(s) for +: 'int' and 'dict'.
2024-10-10 22:44:51 +0900   42295 execution          INFO     Node create_version in line 0 is canceled.
pf.flow.test failed with UserErrorException: TypeError: Execution failure in 'check_japanese_foods_from_table': (TypeError) unsupported operand type(s) for +: 'dict' and 'dict'

it looks like the tokens object can have nested objects as well, like
{'completion_tokens': 298, 'prompt_tokens': 3193, 'total_tokens': 3491, 'completion_tokens_details': {'audio_tokens': None, 'reasoning_tokens': 0}

A solution would be to have a helper function that merges nested objects as well


Clarification on scaling limitations and performance considerations

The project README currently states
https://github.com/clusternet/clusternet/blob/2e6e481b21e7e69ebc2371a3f05aa1f754c98b41/README.md#L16-L17
"thousands of millions" would be "billions" of clusters. Can this project really scale that high? Do you have any performance benchmarks to substantiate the claim? And do you have any metrics on what kind of resources this would cost?
The reason I ask is we have thousands (potentially hundreds of thousands) of agents that we'd like to manage in one central hub. This project appears to do what we need it to do, but the claims seem outlandish (sorry if I sounds skeptical) given that Kubernetes itself has much more conservative limitations as to the number of resources it can manage and reconcile in a timely manner.

The design goal of Clusternet is to support as many Kubernetes clusters as practically required. This in fact is a major differentiator of Clusternet, compared to many other multi-cluster Kubernetes solutions.
Currently we're still doing performance optimizations and enhancements. Related benchmarks will be given in v0.5.0.
Yes, you are very right that 'hundreds of millions' is an exaggerated expression for the current state of the project. While we do have a dream to manage 'billions of things' (as in IoT), for now we want to be more accurate. We will update the README accordingly. Thank you so much for pointing out. We are eager to know more about your use case with thousands (hundreds of thousands) of agents.

@clarkmcc Recently I did a perf test on clusternet-hub, as below.

In the perf test, clusternet-hub and kube-apiserver are running with single instance. When managing 2k clusters, clusternet-hub takes about 250 MB memory, while kube-apiserver takes about 1GB, the watch latency on sub-cluster resources reaches about 600 ms.
Both clusternet-hub and kube-apiserver are stateless. With more replicas the latency could be reduced as well.
Also I've run perf tests with a larger scale, managing 1M clusters (one cluster = one clusternet-agent goroutine), single clusternet-hub (I run 30 replicas of this) agent can manage ~40k clusters.


feat (CustomAuth): Provide ability to set a list of Auth mechanisms when configuring the server

Ability to set a list of active Auth Mechanisms when constructing the SmtpServer.  By default all existing mechanisms are active.

Maintain a collection of active identifiers in the DefaultServerBehaviour, provide the opportunity of the downstream consumer to amend/clear list as desired.
Fixed a few minor spellings
Bumped packages relating to tests/mocks.
Replace deprecated Microsoft.CodeAnalysis.FxCopAnalyzers with Microsoft.CodeAnalysis.NetAnalyzers

Resolves #145
and hopefully enables https://github.com/rnwood/smtp4dev/issues/852 to to progress.
🏁  One thing to review, I see IConnection is passed into the methods, but not really being used.

Jafin: Forgive my ignorance on how GitHub works but, do you have a working compiled win64 version I can download? And instructions on how to configure the Auth Mechanisms?
Andrew


Missing node 8 support

Please add node-sass v4.5.3 for node 8 support

Please read the closed issues before opening a new issue


dart bin/dart-coveralls.dart test/test-all.dart gives incorrect data

I'm just attempting to sanity check dart-coveralls against itself.
I'm using Dart VM version: 1.23.0-dev.0.0 (Tue Feb 14 14:19:29 2017) on "macos_x64"
dart bin/dart_coveralls.dart calc test/test_all.dart >| coverage/lcov.info
The very first record is wrong:
SF:/src/dart-coveralls/test/test_all.dart
DA:8,1
DA:9,0
DA:10,0
end_of_record

Note is says only the first line (8) is covered.  But if I hack dart_coveralls.dart to route stdout from the subprocess to stderr, I see that's not true:
diff --git a/lib/src/collect_lcov.dart b/lib/src/collect_lcov.dart
index 272512e..f2b1b4e 100644
--- a/lib/src/collect_lcov.dart
+++ b/lib/src/collect_lcov.dart
@@ -131,6 +131,7 @@ class LcovCollector {
       if (uri != null) {
         hostCompleter.complete(uri);
       }
+      stderr.write(data);
     });
     Uri host = await hostCompleter.future;

Because I see it printing lines from areas under lines 9 and 10, which are claimed to "not be covered".
If I check manually in observatory it's clearly covered:
dart --pause-isolates-on-exit --enable-vm-service test/test_all.dart

So something isn't quite right.

The plot thickens.  The json we're getting back from observatory appears wrong:
  {
    "source": "file:///src/dart-coveralls/test/test_all.dart",
    "script": {
      "type": "@Script",
      "fixedId": true,
      "id": "libraries/1/scripts/file%3A%2F%2F%2Fsrc%2Fdart-coveralls%2Ftest%2Ftest_all.dart",
      "uri": "file:///src/dart-coveralls/test/test_all.dart",
      "_kind": "library"
    },
    "hits": [
      8,
      1,
      9,
      0,
      10,
      0
    ]
  },

Using this patch:
diff --git a/lib/src/collect_lcov.dart b/lib/src/collect_lcov.dart
index 272512e..4231e16 100644
--- a/lib/src/collect_lcov.dart
+++ b/lib/src/collect_lcov.dart
@@ -2,7 +2,7 @@ library dart_coveralls.lcov;

 import "dart:async" show Completer, Future;
 import "dart:io";
-import "dart:convert" show UTF8;
+import "dart:convert" show UTF8, JsonEncoder;

 import "package:coverage/coverage.dart";
 import "package:coverage/src/util.dart" as util;
@@ -87,6 +87,9 @@ class LcovCollector {
       return null;
     }

+    JsonEncoder encoder = new JsonEncoder.withIndent('  ');
+    new File('/tmp/tmp.json').writeAsStringSync(encoder.convert(reportFile));
+
     Map<String, dynamic> hitmap = {};
     mergeHitmaps(createHitmap(reportFile), hitmap);
     return await _formatCoverageJson(hitmap);
@@ -131,6 +134,7 @@ class LcovCollector {
       if (uri != null) {
         hostCompleter.complete(uri);
       }
+      stderr.write(data);
     });
     Uri host = await hostCompleter.future;

I think the bug is that we're not waiting until the tests are done to collect coverage. :)

I suspect we'll have to connect to the process and sign up for the PauseExit event to know when to collect.
https://github.com/dart-lang/sdk/blob/master/runtime/vm/service/service.md#events
flutter_tools has a bunch of code for watching the test subprocess, some of which might be applicable here:
https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/test/flutter_platform.dart#L229

So I think the bug is that
          await collect(host, true, false, timeout: new Duration(seconds: 60));

should have wait_paused: true, not false?

Great catch! I'll see if this change has effects on error handling and will commit a fix, tonight. Also, it's about time to publish v0.5.0 to pub.


feat(asana): Sort MyTasks by due date

Description

Within the MyTask command the task list is sorted by date prior to being rendered. Items that are due soon are nearest the top, and items due in the future can be found toward the bottom of the list.
Screencast

(I blurred personal things)

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
(N/A) [ ] I checked that files in the assets folder are used by the extension itself
(N/A) [ ] I checked that assets used by the README are placed outside of the metadata folder

My first OS contribution!
I didn't get to do the checklist yet. I'll do it this weekend and then submit once I have done those steps.

Okay, I have tested a local build and it looks good. @thomaslombart  I'm happy to make changes or anything else that's needed.


Need to update documentation to reflect Azure Functions 2 in GA

I am looking to see if Azure Functions support .NET Core 2.1 or only .NET Core 2.0 and I see this documentation has not been updated to reflect the recent release of Azure Functions 2 into GA.

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

ID: 5d621091-b675-a6e5-cbe0-205731425bcf
Version Independent ID: db89b82b-e721-0542-42b9-350afca77270
Content: Azure Functions - Serverless apps
Content Source: docs/standard/serverless-architecture/azure-functions.md
Product: dotnet
GitHub Login: @JeremyLikness
Microsoft Alias: jeliknes

//cc @JeremyLikness

Taking a look at this now.

Can Azure provide serverless for my code which is Web Form (.Net Framework) ?
I dont want to manage the server.
Is this possible ?
Thanks

@JeremyLikness any updates here?

This page is still out of date.  Needs to be updated.

The team will be meeting to review changes after //build. I'll post follow-up here.

Also missing that Python is now supported somewhat in v2


update Godeps for arm architecture

update gin-gonic/gin and his dependance in order to build drone on arm architecture

0.4 branch now use GO15VENDOREXPERIMENT instead of Godeps so no longer applicable


Support Foldable Devices

Is there any way to use scrcpy with a closed foldable device?
I use the Samsung Z Flip4, and with the Windows Phone Link app I can stream the phone's screen even when it's folded.
It would be great to use this with scrcpy as the stream quality is 10x better.
Maybe it's just me not knowing how to use the tool, but when I fold the phone it doesn't disconnect from scrcpy, it just gets a black screen.

I also have a Samsung Z Flip4 but the quality is good the problem must be elsewhere I think.
I have the same problem when I fold the phone the screen is black, I don't know if the--stay-awake argument can fix that, you should try.

@rom1v
If I run scrcpy while the phone is bent, the program just shows a black screen.
Like the phone is locked. And if I click to unlock, the secondary screen responds.
If I run scrcpy with the screen open, it opens normally, but if I fold the screen, the screen is black.
@InstaZDLL
Tried using --stay-awake, didn't work

Hey, what's your phone? I've just tried with a Galaxy Z Fold 4 and it works even if I bend the phone.
Something which doesn't work however is the stream which cant adapt its resolution on the fly to fit the new screen in use.

@AdoPi using Z flip 4.
You unfold the cell phone and run scrcpy and it shows the internal screen, and when you fold it it continues showing the internal screen? or does it show the external screen?

It may be an issue which occurs only on the Flip phone? I've tested on the Fold and it works well.

Hey I've just tried with a Galaxy Z Fold 4 and it works even if I bend the phone. Something which doesn't work however is the window which can't adapt its size on the fly to fit the new screen resolution in use.
Note: I use the latest version of scrcpy directly built from source.

Ok I have a POC which fix the window size when the phone is folding, I'm going to open a PR :smile:

Is there still no way to have the main screen "on" when folded?


Undefiend Behaviour and Bad Allocation when parsing BLIF .names

Steps to reproduce the issue
Consider the following BLIF file, with 31 inputs signals to a .names command.
.model test
.inputs w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30
.outputs out
.names w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 out
1101010001100110010001100111001 0
.end

I have also attached it as a file:
bug.blif.zip
To recreate, please run:
yosys -p "read_blif bug.blif"

Interestingly, the issue also happens when the number of input signals is 31, 63, 95, 127, 159, 191... and so on (repeats every 32).
Possibly this is a result of how the compiler handles undefined behaviour when shifting an integer literal by more than 31.
Some compiler implementations sometimes handle this undefined behaviour by applying % 32 to shift argument, which might explain the pattern.
Expected behavior
The BLIF parser already checks that the input plane is not over 12 bits when parsing the LUT.
Input plane size over 12 should be detected earlier while parsing the input signals of the .names command, and syntax error should be raised.
Perhaps it would be useful to have an error message which explains the LUT size limit of 12 bits.
Undefined behaviour of shifting more than 31 should be avoided.
Actual behavior
When run with the current master version of Yosys, this produces the following failure:
yosys(51426,0x11706b5c0) malloc: can't allocate region
*** mach_vm_map(size=18446744071562067968) failed (error code=3)
yosys(51426,0x11706b5c0) malloc: *** set a breakpoint in malloc_error_break to debug
libc++abi.dylib: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
Abort trap: 6

Instrumenting Yosys with the Address Sanitizer confirms that this is a bad allocation during the RTLIL:Const constructor, which reserves a vector of the size of the LUT.
Address Sanitizer output:
==23177==WARNING: AddressSanitizer failed to allocate 0xffffffff80000000 bytes
==23177==AddressSanitizer's allocator is terminating the process instead of returning 0
==23177==If you don't like this behavior set allocator_may_return_null=1
==23177==AddressSanitizer CHECK failed: ../../../../src/libsanitizer/sanitizer_common/sanitizer_allocator.cc:218 "((0)) != (0)" (0x0, 0x0)
    #0 0x7fb7f4685bf2  (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xe9bf2)
    #1 0x7fb7f46a4575 in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x108575)
    #2 0x7fb7f468b332  (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xef332)
    #3 0x7fb7f45c4ff8  (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x28ff8)
    #4 0x7fb7f467c40e in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xe040e)
    #5 0x55e78fd19abf in std::vector<Yosys::RTLIL::State, std::allocator<Yosys::RTLIL::State> >::reserve(unsigned long) (/home/vagrant/yosys/yosys+0x12445abf)
    #6 0x55e78f89b006 in Yosys::RTLIL::Const::Const(Yosys::RTLIL::State, int) kernel/rtlil.cc:233
    #7 0x55e7918d1e93 in Yosys::parse_blif(Yosys::RTLIL::Design*, std::istream&, Yosys::RTLIL::IdString, bool, bool, bool) frontends/blif/blifparse.cc:517
    #8 0x55e79190f5ac in Yosys::BlifFrontend::execute(std::istream*&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, Yosys::RTLIL::Design*) frontends/blif/blifparse.cc:644
    #9 0x55e78f6683e0 in Yosys::Frontend::execute(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, Yosys::RTLIL::Design*) kernel/register.cc:466
    #10 0x55e78f682566 in Yosys::Pass::call(Yosys::RTLIL::Design*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >) kernel/register.cc:316
    #11 0x55e78f6897fe in Yosys::Pass::call(Yosys::RTLIL::Design*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) kernel/register.cc:293
    #12 0x55e78ffb372c in Yosys::run_pass(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, Yosys::RTLIL::Design*) kernel/yosys.cc:1126
    #13 0x55e78f4d1d39 in main kernel/driver.cc:550
    #14 0x7fb7f1f49c86 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21c86)
    #15 0x55e78f4c6a69 in _start (/home/vagrant/yosys/yosys+0x11bf2a69)

Fixed by #3375.

I believe this bug is still an issue, will submit a test script and potential fix.

Hi @Ravenslofty, can we merge the fix? Need someone with write permission.


Allow defining multiple k8s API endpoints with/without managed ELB

Accordingly to use-cases:

internal or external
stable/unversioned one for CI&CD or dynamic/versioned one as we have today

This is intended to eventually resolve all the related issues #281 #285 #343

Configuration examples
cluster.yaml after this feature is implemented would look like:
# Instead of this
externalDNSName: k8s.external.example.com
createRecordSet: true
hostedZoneId: myhostedzone
controller:
  loadBalancer:
    private: false

# Introduce this
apiEndpoints:
- dnsName: k8s.external.example.com
  loadBalancer:
    private: false
    # or
    #public: true
    hostedZone:
      id: myhostedzone

and
# Instead of this
externalDNSName: k8s.external.example.com
createRecordSet: false
controller:
  loadBalancer:
    private: true

# Introduce this
apiEndpoints:
- dnsName: k8s.external.example.com
  loadBalancer:
    private: true

and
# Instead of this
externalDNSName: k8s.external.example.com
createRecordSet: false
controller:
  loadBalancer:
    private: false

# Introduce this
apiEndpoints:
- dnsName: k8s.external.example.com
  loadBalancer:
    private: false
    # or
    #public: true

and
# Instead of this
externalDNSName: k8s.external.example.com
createRecordSet: false
controller:
  loadBalancer:
    subnets:
    - name: managedPublicSubnet1a

# Introduce this
apiEndpoints:
- dnsName: k8s.external.example.com
  loadBalancer:
    subnets:
    - name: managedPublicSubnet1a

If you'd like to just add alternate DNS names to a k8s api endpoint:
cc @c-knowles #343
apiEndpoints:
- dnsName: v1.k8s.external.example.com
  loadBalancer:
    public: true
- dnsName: v1.k8s.external.example.com # this is also included in CNs for TLS cert generation, without creating an ELB

If you'd like to choose Route53 round-robin rather than ELB for load-balancing:
cc @spacepluk #281
apiEndpoints:
- dnsName: v2.k8s.external.example.com
  dnsRoundRobin: # will enable a bash script in cloud-config-controller to update Route 53 record sets
    hostedZone:
      id: <id for the hosted zone external.example.com>
    securityGroups: # associated to controller nodes
    - id: sg-toallowexternalaccess

If you'd like to have both public and private ELBs for a k8s endpoint:
cc @tarvip https://github.com/coreos/kube-aws/issues/281#issuecomment-277202320
apiEndpoints:
- dnsName: v2.k8s.external.example.com
  loadBalancer:
    hostedZone:
      id: <id for the hosted zone external.example.com>
    securityGroups:
    - id: sg-toallowexternalaccess
- dnsName: v2.k8s.internal.example.com
  loadBalancer:
    hostedZone:
      id: <id for the hosted zone internal.example.com>
    securityGroups:
    - id: sg-toallowinternalacess

In an extreme case it would even look like:
cc @c-knowles #343 & @spacepluk @tarvip #281
controller:
  # Instead of this
  # loadBalancer:
  #   private: true

# Introduce this
apiEndpoints:
# DON'T FORGET replacing `credentials/admin.pem` and `credentials/admin-key.pem` with the ones from a previous cluster so that you don't need to replace `admin-key.pem` in e.g. an external CI service or your laptop
- name: stableExternalEndpoint
  # `dnsName` this will be added to CNs in the apiserver cert/cc @c-knowles
  dnsName: k8s.external.example.com
  # You can omit this. If omitted, it is your responsibility to add controller nodes to an ELB serving `k8s.external.example.com`
  loadBalancer:
    id: id-of-existing-internet-facing-elb
    # Notice the missing `hostedZone` key here!
    # kube-aws doesn't create ALIAS record for the ELB
    # This way, we don't need to worry about the possibly existing ALIAS record for the stable external endpoint
# DON'T FORGET replacing `credentials/admin.pem` and `credentials/admin-key.pem` with the ones from a previous cluster so that you don't need to replace `admin-key.pem` in e.g. an external CI service or your laptop
- name: stableInternalEndpoint
  dnsName: k8s.internal.example.com
  loadBalancer:
    id: id-of-existing-internal-elb
# Former `externalDNSName` + `hostedZoneId` + newly added SG definitions for controller ELB
- name: versionedExternalEndpoint
  dnsName: v2.k8s.external.example.com
  loadBalancer:
    hostedZone:
      id: <id for the hosted zone external.example.com>
    securityGroups:
    - id: sg-toallowexternalaccess
# Former `externalDNSName` + `hostedZoneId` without an ELB + newly added SG definitions for controller nodes
- name: versionedInternalEndpoint
  dnsName: v2.k8s.internal.example.com
  dnsRoundRobin: # will enable a bash script in cloud-config-controller to update Route 53 record sets
    hostedZone:
      id: <id for the hosted zone internal.example.com>
    securityGroups:
    - id: sg-toallowinternalacess

Types
type Endpoint struct {
    // Name is used for identifying an endpoint and specifying which one is used for communication with worker nodes
    Name string
    DNSName string
    LoadBalancer LoadBalancer
    DNSRoundRobin DNSRoundRobin
}

type LoadBalancer struct {
    EndpointProvider `yaml:",inline"`
    Identifier `yaml:",inline"`
    // Validation: If `private: true` is specified, all the `Subnets` should be private ones
    // Validation: If `identifier` is specified i.e. reusing an existing ELB, `Subnets` should be empty.
    Subnets []Subnet
}

type DNSRoundRobin struct {
    EndpointProvider `yaml:",inline"`
}

type EndpointProvider struct {
    // Private determines the resulting load balancer or DNS round robin uses private IPs of the lb or nodes for an endpoint
    Private bool
    // HostedZone is where the resulting Alias or A record are created for an endpoint
    HostedZone HostedZone
    // SecurityGroups contains security groups must be associated to the lb or the nodes serving API requests from clients
    SecurityGroups SecurityGroups
}

type HostedZone struct {
    Identifier `yaml:",inline"`
}

Non-goals

Detailed configuration of security groups like customizations of security group inbound/outbound rules

Although it is already close 😄 but not to make cluster.yaml a cloudformation.yaml, we won't support it.
Bring your own VPC and security groups and specify them via vpcId and securityGroups[].id

Hi @c-knowles @tarvip @spacepluk, could you confirm if this feature would resolve all of your use-cases including #281 and https://github.com/coreos/kube-aws/issues/281#issuecomment-277202320 and #343?

apiEndpoints:
- dnsName: v2.k8s.external.example.com
  loadBalancer:
    hostedZone:
      id: <id for the hosted zone external.example.com>
    securityGroups:
    - id: sg-toallowexternalaccess
- dnsName: v2.k8s.internal.example.com
  loadBalancer:
    hostedZone:
      id: <id for the hosted zone internal.example.com>
    securityGroups:
    - id: sg-toallowinternalacess

Here is something missing, how can I define that the latter one is internal ELB?
I guess private: true is missing.
On the other hand I'm trying to understand what is the difference between
private: true and public: false or private: false and public: true

dnsRoundRobin support made me think why do we need ELBs at all? What is the advantage using ELB over roundrobin DNS? I tested roundrobin DNS for kubelet and kube-proxy, it worked very well. When one master went down, kubelet and kube-proxy recreated connection to another node.
I understand one problem is keeping DNS entry up to date.

@tarvip ELB can be made accessible externally while API servers remain in the private subnet

@tarvip ELB can be made accessible externally while API servers remain in the private subnet

Ok. True, but for kubelet and kube-proxy DNS should be enough.

dnsRoundRobin support made me think why do we need ELBs at all? What is the advantage using ELB over roundrobin DNS?

Using ELB allows us to automatically remove non-functioning controller nodes from the API endpoint backed by a controller ELB.
How are you going to achieve the same functionality, having only dnsRoundRobin?

@tarvip Thanks for the feedbacks!

Here is something missing, how can I define that the latter one is internal ELB?
I guess private: true is missing.

Yes and no. I did miss the private: true it make it private but I'm still scratching my head how to express it is internal or not.
"internal" here means that it is to where kubelets in worker nodes connect. On the other hand, "private: true" vs "private: false" means whether it should be within private subnets or public subnets.
How would you like to express which k8s api endpoint worker nodes connect to, when there are 2 or more endpoints?

On the other hand I'm trying to understand what is the difference between
private: true and public: false or private: false and public: true

Ah, sorry. You can just transform public: true to private: false for now. They're remainings of my brainstorming to make configuration more explicit than now 😃

How are you going to achieve the same functionality, having only dnsRoundRobin?

I understood you had plan for that:
will enable a bash script in cloud-config-controller to update Route 53 record sets
Actually there are ways to update route53 record automatically according to ASG changes, but I think it is easier to stick to ELB.

How would you like to express which k8s api endpoint worker nodes connect to, when there are 2 or more endpoints?

I guess you have to use separate option for that: internal: true or internal: false, I understand at the moment there is no such option. internal keyword is only in dnsName.

I understood you had plan for that:

No(for now)!
What I meant is just updating record sets according to the list of nodes but not implementing our own health checks.
Implementing our own heath checks(with or without Route 53 health checks??) for kubelets on worker nodes would probably allow us to dynamically update record sets to only include healthy nodes but I'd rather go with ELB for simplicity if you need such functionality.

Actually there are ways to update route53 record automatically according to ASG changes, but I think it is easier to stick to ELB.

Could you share us options you're aware of?

These options are based on cloudwatch events and lambda, e.g: https://aws.amazon.com/blogs/compute/building-a-dynamic-dns-for-route-53-using-cloudwatch-events-and-lambda/
or
https://objectpartners.com/2015/07/07/aws-tricks-updating-route53-dns-for-autoscalinggroup-using-lambda/
I haven't tried this myself, although I have plan to do that (just not for kubernetes)
Anyway, I guess it is overkill at the moment and it is much easier to use ELB.

@mumoshu I can confirm that this seems to resolve https://github.com/coreos/kube-aws/issues/343. I don't need the extreme examples with multiple ELBs etc but can see how people may wish for those. I wonder if it's possible to provide some separation so we don't need to directly support every case explicitly, a bit like we do with security groups and managed role ARNs (note, I had a look but haven't spotted a way to do it here yet).

@mumoshu thanks! I think this adds a lot of flexibility.  I'm planning on testing it next week.

Considering to add worker.apiEndpointName so that we can configure our worker kubelets to contact to specific k8s endpoint if there're multiple candidates:
worker:
  apiEndpointName: v2.k8s.internal.example.com

apiEndpoints:
- dnsName: v2.k8s.external.example.com
  loadBalancer:
    hostedZone:
      id: <id for the hosted zone external.example.com>
    securityGroups:
    - id: sg-toallowexternalaccess
- dnsName: v2.k8s.internal.example.com
  loadBalancer:
    hostedZone:
      id: <id for the hosted zone internal.example.com>
    securityGroups:
    - id: sg-toallowinternalacess

Could we designate one of them as the primary or internal one instead of needing the reference or do we need that flexibility?
apiEndpoints:
- dnsName: v2.k8s.external.example.com
  loadBalancer:
    hostedZone:
      id: <id for the hosted zone external.example.com>
    securityGroups:
    - id: sg-toallowexternalaccess
  kubelet: true

@c-knowles Thanks as always for your feedback!
apiEndpoints[].kubelet is ok but I just prefer worker.apiEndpointName because then:

we won't trap users to create multiple api endpoints with kubelet: true and emit validation errors. worker-apiEndpointName naturally prevents users from doing so
we can extend it to also support worker.nodePools[].apiEndpointName in the future if necessary. Probably to audit/control/log access from a node pool to an api endpoint at the infrastructure level but not e.g. RBAC?

On the flip side, we'd need to add validation errors for when the user specifies an API endpoint that doesn't exist in their list of endpoints under apiEndpoints. Unless you are proposing that the worker API endpoints would always add to the set of endpoints.
e.g. in your above example if we changed worker to:
worker:
  apiEndpointName: extra-endpoint.k8s.internal.example.com

Is there a validation error or do we end up with 3 possible endpoints?

Ah, sorry! I had mistakes in my last example.
It should be:
worker:
  apiEndpointName: versionedInternalEndpoint

apiEndpoints:
- name: versionedExternalEndpoint
  dnsName: v2.k8s.external.example.com
  loadBalancer:
    hostedZone:
      id: <id for the hosted zone external.example.com>
    securityGroups:
    - id: sg-toallowexternalaccess
- name: versionedInternalEndpoint
  dnsName: v2.k8s.internal.example.com
  loadBalancer:
    hostedZone:
      id: <id for the hosted zone internal.example.com>
    securityGroups:
    - id: sg-toallowinternalacess

And yes, an incorrect name in worker.apiEndpointName should just emit an error like "No api endnpoint named ***** defined under the key apiEndpoints in cluster.yaml"

OK sure. My opinion is either way is fine because either way must provide validation rules and errors. So depends how verbose you wish the config to be I suppose.

Got it. Thanks for your confirmation and suggestion 👍

Multi API endpoints & API endpoints without ELBs have been introduced via #468
DNS round-robin is still a TODO though.
My biggest concern for now on adding the support for DNS round-robin is a robust and not too complex way to continuously sync A records with IPs of controller nodes.

Any progress with the DNS round-robin thing?

@spacepluk No, sorry. Honestly I have been never considered to use DNS round-robin for this myself, due to lack of benefits(for me). Probably I'll be open to accept PRs though.

Opened #1151 for the round-robin thing. Closing this the original issue was already resolved.


[Tutorial] Use OpenCL on ARM Board

While http://docs.tvmlang.org/tutorials/deployment/cross_compilation_and_rpc.html#sphx-glr-tutorials-deployment-cross-compilation-and-rpc-py covers how to cross compile and deploy CPU code on ARM board, it did not touch how to do so for the OpenCL code.
We have unittest examples to demonstrate that https://github.com/dmlc/tvm/blob/master/tests/python/unittest/test_runtime_rpc.py#L92 already. It would be nice to translate these lessons into the cross compilation tutorial

i am trying  generate OpenCL code  and run it . my device is [ubuntu]Firefly-RK3288
the test file   is  "get_start.py"    on  "Get Started with TVM"
How should I solve this problem
<class 'tvm.tensor.Tensor'>
[14:40:33] src/runtime/opencl/opencl_device_api.cc:195: Initialize OpenCL platform 'ARM Platform'
[14:40:33] src/runtime/opencl/opencl_device_api.cc:215: opencl(0)='Mali-T760' cl_device_id=0xb3948938
[14:40:33] /home/tang/tvm/dmlc-core/include/dmlc/logging.h:308: [14:40:33] src/runtime/opencl/opencl_module.cc:210: Check failed: e == CL_SUCCESS OpenCL Error, code=-51: CL_INVALID_ARG_SIZE
Traceback (most recent call last):
File "get_started.py", line 49, in
fadd_cl(a, b, c)
File "/home/tang/.local/lib/python2.7/site-packages/tvm-0.1.0-py2.7-linux-armv7l.egg/tvm/_ffi/function.py", line 128, in call
return f(*args)
File "/home/tang/.local/lib/python2.7/site-packages/tvm-0.1.0-py2.7-linux-armv7l.egg/tvm/_ffi/_ctypes/function.py", line 183, in call
ctypes.byref(ret_val), ctypes.byref(ret_tcode)))
File "/home/tang/.local/lib/python2.7/site-packages/tvm-0.1.0-py2.7-linux-armv7l.egg/tvm/_ffi/base.py", line 62, in check_call
raise TVMError(py_str(_LIB.TVMGetLastError()))
tvm._ffi.base.TVMError: [14:40:33] src/codegen/llvm/llvm_module.cc:59: Check failed: ret == 0 (-1 vs. 0) [14:40:33] src/runtime/opencl/opencl_module.cc:210: Check failed: e == CL_SUCCESS OpenCL Error, code=-51: CL_INVALID_ARG_SIZE

Here is an example of using OpenCL on ARM Board.
https://github.com/ma-xiaodong/tvm_tuning/blob/master/02_conv_order.py
which corresponding the program
http://docs.tvmlang.org/tutorials/optimize/opt_conv_cuda.html#sphx-glr-tutorials-optimize-opt-conv-cuda-py
of optimizing conv on cuda.

ma-xiaodong:
Are you to tune Mali-T860 opencl to  pass test_topi_conv2d_nchw.py unittest in topi/tests/python directory?
I always encounter an error because of insufficient resources on a firefly3399 platform running Ubuntu 16.04
https://github.com/dmlc/tvm/issues/530
Thanks,

I also encountered the error CL_OUT_OF_RESOURCES.
In order to use opencl, you must split a dimension of an array and  bind the results to threadIdx and blockIdx.
I guess this error occurs because three reasons:

You split a inner dimension instead of an outer dimension.
You split a dimension whose length is short.
Maybe the split factor is too big.

I suggest:

Split the out dimension first
Split dimension with big length (you can reorder the array if needet)
Use a small factor(4, or 8, no big than 16)

#530

In order to use opencl, you must split a dimension of an array and bind the results to threadIdx and >>blockIdx.

Which file do I need to change threadidx and blockidx? Is there a program which can tune to get optimal values of threadidx and blockidx?

Which file do I need to change threadidx and blockidx? Is there a program which can tune to get optimal values of threadidx and blockidx?

Here is an example of using OpenCL on ARM Board.
https://github.com/ma-xiaodong/tvm_tuning/blob/master/02_conv_order.py

@ma-xiaodong
Why are you not using the following conv2d modules
https://github.com/dmlc/tvm/blob/master/topi/python/topi/cuda/conv2d_nchw.py
https://github.com/dmlc/tvm/blob/master/topi/python/topi/cuda/conv2d_hwcn.py
conv2d_nchw.py looks more complex than your 02_conv_order.py.
My firefly 3399 has a problem to pass conv2d_nchw.py due to insufficient resources.
Thanks,

@ma-xiaodong i couldn't access to your file: https://github.com/ma-xiaodong/tvm_tuning/blob/master/02_conv_order.py, can you update the link?

@titikid My example is too old, so I remove it. TVM already has good example.
https://github.com/dmlc/tvm/blob/master/topi/python/topi/cuda/conv2d_hwcn.py

@ma-xiaodong i see. Anyway, after use smaller split factor in conv2d_nchw.py as your hint i could solve my issue related to openCL. Thank you


<IP_ADDRESS> conflicts with itself on cron, auth logs

The auth and cron stanzas appear to be checking against the same line BEGIN Auth SETTINGS (ANSIBLE MANAGED), overwriting each other on every run.
TASK [RHEL8-CIS : <IP_ADDRESS> | PATCH | Ensure logging is configured | Auth Settings] ********************************************************************
--- before: /etc/rsyslog.conf (content)
+++ after: /etc/rsyslog.conf (content)
@@ -37,8 +37,8 @@

 #### RULES ####
 #BEGIN Auth SETTINGS (ANSIBLE MANAGED)
-# Cron settings to meet CIS standards
-cron.*                                                   /var/log/cron
+# Private settings to meet CIS standards
+auth,authpriv.*                                          -/var/log/secure
 #END Auth SETTINGS (ANSIBLE MANAGED)
 #BEGIN LOCAL LOG SETTINGS (ANSIBLE MANAGED)
 # local log settings to meet CIS standards

TASK [RHEL8-CIS : <IP_ADDRESS> | PATCH | Ensure logging is configured | Cron Settings] ********************************************************************
--- before: /etc/rsyslog.conf (content)
+++ after: /etc/rsyslog.conf (content)
@@ -37,8 +37,8 @@

 #### RULES ####
 #BEGIN Auth SETTINGS (ANSIBLE MANAGED)
-# Private settings to meet CIS standards
-auth,authpriv.*                                          -/var/log/secure
+# Cron settings to meet CIS standards
+cron.*                                                   /var/log/cron
 #END Auth SETTINGS (ANSIBLE MANAGED)
 #BEGIN LOCAL LOG SETTINGS (ANSIBLE MANAGED)
 # local log settings to meet CIS standards

Expected Behavior
Both cron and auth logs configurations should exist
Control(s) Affected
<IP_ADDRESS>
Environment (please complete the following information):
Ansible Version: 2.9.27
Host Python Version: 3.6.8
Ansible Server Python Version: 3.6.8
Additional Details:

This was addressed in release 2.1.0


Add LICENSE

I guess it's just a little formality, is this OSS? Please add a LICENSE if so. Thank you!

Hi @KiwiKilian , I must apologize. For some reason your comments got flooded in my other Github notifications. Yes, this is 100% OSS.


Fire rate

There is now a fire rate to how fast you can shoot every 0.2 milliseconds

You have wrong indentation  starting at 516. After that, you have stuff about game state. That should not be in the game anymore. Right @ivan-BRHM ?


Bug fix send intent support

Fixes for sending media from external apps that use content:// URIs and streams, and not files on disk.
Also some additional changes to on/offline notification state of persistent icon, and presence refresh on reconnect.

everything else looks good

Changes made based on feedback

The open question is: why would mNotifyBuilder be null when networkStateChanged() is run.  mNotifyBuilder is set by if (mUseForeground) startForegroundCompat();  So I guess either the notification is only ever shown when mUseForeground is true and mNotifyBuilder should be null is correct, otherwise the notification will not be updated if mUseForeground is false.

networkStateChanged() is triggered via broadcasts events that can be triggered pretty quickly once the server is setup... meaning, you are getting network events even before you are logged in. We could look at improving that logic.

@n8fr8 when mUseForeground is false, are the notifications also supposed to be updated?  Because in the current code, they will not be because mNotifyBuilder is only initialized when mUseForeground is true.

they are not, because there is no notification visible when foreground is not on, so it is all good.

what about the "chat received" notification?

Those are handled elswhere


Horizontal scrollbar not working when visibility is set to "auto"

Does this issue occur when all extensions are disabled?: Yes/No
Yes

VS Code Version:
Version: 1.64.0
Commit: 5554b12acf27056905806867f251c859323ff7e9
Date: 2022-02-03T04:23:11.224Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.4.0-99-generic

OS Version:
OS: Linux x64 5.4.0-99-generic
Ubuntu 20.04.3 LTS (focal)

Steps to Reproduce:

launch "code --disable-extensions"
add plenty of text  in the editor - such that the horizontal and vertical scrollbars appear.
use the horizontal scrollbar at the bottom of the editor - using mouse left click, and drag right/left - observe that this wrongly affects vertical scrollbar. observe that text gets selected instead of horizontal scrolling

if the setting Editor > Scrollbar > : Horizontal is changed from "auto" to "visible" - the problem goes away, at the expense of an ever present horizontal scrollbar.

Let's track in https://github.com/microsoft/vscode/issues/124895


How to active and use SOCKS5 or HTTP proxy with this container?

I have successfully installed Tailscale on the Mikrotik Router, but don't see an option to enable SOCKS5 or HTTP proxy. Please help. Thank you!
And how can I download *.tar file to my computer, I use Windows PC

Hi,
See 0.1.22 which has added a TAILSCALED_ARGS environment variable. To use a SOCKS5 proxy and an HTTP proxy on the same port per the Tailscale example (https://tailscale.com/kb/1112/userspace-networking/):
/container envs add name=tailscale key=TAILSCALED_ARGS value="
--tun=userspace-networking --socks5-server=localhost:1055 --outbound-http-proxy-
listen=localhost:1055"


Remove an unused config shuffle.spillThreads

Removes an unused config spark.rapids.sql.shuffle.spillThreads from RapidsConf

build

config docs need to be generated, since this config appears there. Interesting that we marked this as commonly used when it has no effect?

Ah let me generate.
Agree, it has been in the repo for 4 years according to the blame history.

build


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1612

Questions ?
Please refer to the Backport tool documentation


[ZEPPELIN-2033] Handle focus/blur of paragraph with hidden editor

What is this PR for?
#1879 check if $scope.editor is null on focusParagraph message, and if it is, just return without handling focus/blur.
Instead of doing null check in the beginning of $scope.on(focusParagraph), I made null check to be scoped only to $scope.editor's method invocation.
FYI, when I say focus/blur, it means paragraph focus. Focused paragraph has different css style from blurred paragraph.
What type of PR is it?
Bug Fix | Hot Fix
What is the Jira issue?
ZEPPELIN-2033
How should this be tested?
Go to Zeppelin Tutorial/Matplotlib (Python • PySpark) notebook and see:

if first paragraph is blurred, when you click second paragraph.
if first paragraph is not run when you run second paragraph with shift + enter. In current master, first editor is not blurred even if you click second paragraph, which makes both first and second paragraph to be focused. This will make both paragraphs to be run.
if it is focused when you click third paragraph whose editor is hidden. In current master, it won't work.

Screenshots (if appropriate)
Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

@cloverhearts please help review

Tested and LGTM

Merge into branch-0.7 and master


No more colors

Expected Behavior
Logs should be in color
Actual Behavior
Only white logs
Steps to Reproduce
Commit: b2983f7100fb6f1b4c9db833bc09a7820fea634a
Other Information
OS: Ubuntu
Git Commit: b2983f7100fb6f1b4c9db833bc09a7820fea634a
Python Version: Python 2.7.9

This is from #2173. I may be wrong, but I believe this is because the logs are changing to Sockets.IO, and you should be getting them in the web ui from now on.
That being said, I'm still not getting any logs in the web ui :/

I don't use webUI logs because they don't work lol >.>
But I miss the colors 😭

w/e, it looks like shit now.

#2540 It looks like there are some problems with the bots anyway, so it may be that the webUI logs work, but the bot's just not doing anything.
idk about anyone else, but for me it's just walking around, but none of the distance actually gets recorded (e.g. 10min running, close it out and it says 0.0km walked).

@Lunik Yea, I couldn't figure out the server either, but unsure if it's due to the API being borked or not.

Same here on macOS 10.11.6 running commit b2983f7100fb6f1b4c9db833bc09a7820fea634a.
There's more information about how to setup the new bot config and websocket in #2173, but I can't figure it out at the moment.
This seems like an unnecessary complication; I didn't even know we had a Web UI until a few days ago, and I loved the console log. Why forcibly merge the two?
Anyone interested in the old setup should run the following code to revert back to the commit right before this latest one. I intend on using this until things sort themselves out:
git reset --hard 02d9102
Seems like we've got much bigger problems though, which might be affecting why the logs aren't populating: #2540

With the server config, I'm using nginx:
config.json
...
  "websocket": {
    "start_embedded_server": true,
    "server_url": "localhost:8080",
    "remote_control": true
  },
...

/etc/nginx/sites-available/default
...
server {
  listen 80;

  root /[wherever]/PokemonGo-Bot/web;
  index index.html index.htm

  location / {
    try_files $uri $uri/ /index.html =404;
  }

  location /socket.io/ {
    proxy_pass http://localhost:8080;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
  }
}
...

I can confirm that the webUI successfully connects to sockets.io, but again, the bot isn't doing anything that would generate a log, so I can't confirm that the logs are being passed correctly.
The reason I'm excited for this to work is that it brings with it the ability to control the bot from the web. Transfer/evolve pokemon, set a destination, etc... So it may not be the best right now, but don't completely give up on it either. There's a lot of potential.

@Vvkmnn I agree with you, this Web UI should be optional. I really like the simplicity of just running the bot from a command line specifying a config file. The Web UI will bring more complexity over here / issues to reboot the bot etc...

I'm hoping they are bringing the colorized logging back :)

Was this ever really flushed out or is it half baked still? I can't quite get everything to line up as it should.

@Kujawadl I borrowed your config, but I'm still getting a 404 at that address. Am I missing a parameter?

Can you send me what commit you're on (both the bot and the web project), your config.json, userdata.json, and /etc/nginx/sites-available/default?

Use my cell workers if you want the colors back
https://github.com/PokemonGoF/PokemonGo-Bot/files/405611/cell_workers.zip
https://cloud.githubusercontent.com/assets/20890081/17463873/f8d6fb90-5c96-11e6-8d6f-e4dd8e20e337.png

How do we use this cell works file? Are there plans of returning the output back the way it was? I liked to just look at the return from the bot and see what it was doing etc.. Its way to hard to read now..


Plugin checks only first test

Plugin checks only first wrong test name in a class. If class has more than one wrong test name, then plugin will show only the first one.

Were solved here


Banded matrices

What would be the correct interface to go through to best support defining random banded matrices @dlfivefifty? Currently I can just do
julia> BandedMatrices._BandedMatrix(InfRandMatrix(5, ∞), 1:∞, 2, 2)
ℵ₀×ℵ₀ BandedMatrix{Float64} with bandwidths (2, 2) with data 5×ℵ₀ InfRandMatrix{Float64, InfRandVector{Float64, Type{Float64}, Xoshiro}, Int64, Infinities.Infinity} with indices Base.OneTo(5)×OneToInf() with indices 1:∞×OneToInf():
 0.673065  0.977806  0.0683007   ⋅          ⋅        …
 0.725625  0.279789  0.894164   0.0755944   ⋅
 0.885259  0.882081  0.296094   0.243522   0.546322
  ⋅        0.536366  0.720124   0.212806   0.996384
  ⋅         ⋅        0.0273246  0.887078   0.171925
 ⋮                                                   ⋱

but ideally it'd be nice to have brand for this, e.g. support
julia> brand(5, ∞, (2, 2))
ERROR: MethodError: no method matching brand(::Int64, ::Infinities.Infinity, ::Tuple{Int64, Int64})

Closest candidates are:
  brand(::Integer, ::Any)
   @ BandedMatrices C:\Users\djv23\.julia\packages\BandedMatrices\d4g9c\src\banded\BandedMatrix.jl:184
  brand(::Integer, ::Integer, ::Any)
   @ BandedMatrices C:\Users\djv23\.julia\packages\BandedMatrices\d4g9c\src\banded\BandedMatrix.jl:183
  brand(::Type{T}, ::Number, ::Colon, ::Any) where T
   @ BandedMatrices C:\Users\djv23\.julia\packages\BandedMatrices\d4g9c\src\banded\BandedMatrix.jl:180
  ...

Stacktrace:
 [1] top-level scope
   @ REPL[35]:1

I'd add an extension to InfiniteRandomArrays.jl for banded matrices that overloads brand(::Integer, ::Infinity, ...)

That'll work. I'll get that in


Add advanced test scenarios

[ ] Foreign keys
[ ] Triggers
[ ] Execution order relevant
[ ] Composite keys
[ ] Multiple undos and redos
[ ] Attached databases

Minimizing work

Use INTEGER and TEXT columns mostly

Scenarios

Two linked tables with foreign key, 3 types of cascades, delete
Two linked tables without foreign key, delete
One table with trigger, change operation, single row affected
One table with trigger, change operation, multiple rows affected
…


Update to Laravel 5.4

Hello.
You have done a great work and thank you for this.
May i suggest you an update on Laravel 5.4?
On TranslatableBootFormsServiceProvider->register() the methods share and getToken
have been changed
https://laravel.com/docs/5.4/upgrade

Thanks for the heads up. Please update to 1.3.7.

another change needs on    "dimsav/laravel-translatable": "~5.0|~6.0|~7.0" in order to be updated

There isn't any 7.0 tag:
https://github.com/dimsav/laravel-translatable/tags

Now there is. New release has been tagged.


implement cross-validation for classifiers

Currently, the demo notebook only show results for one split of the data, so we don't know whether this performance is sensitive to how the data is split. We need to test this sensitivity and thus the robustness of the results achieved so far by doing cross validation on the classifiers tried so far.

This has now been demonstrated in notebooks and implementedin the experiment framework.


Use kafka-client 2.0.0 jars

Not sure if this is something trivial, but there are much newer versions of kafka-client jars out.  If I wanted to use the newer version with this gem, is it just a matter of using a newer version of the jar?

Likely.
On Thu, Oct 18, 2018, 1:59 PM Steven Hansen<EMAIL_ADDRESS>wrote:

Not sure if this is something trivial, but there are much newer versions
of kafka-client jars out. If I wanted to use the newer version with this
gem, is it just a matter of using a newer version of the jar?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/joekiller/jruby-kafka/issues/60, or mute the thread
https://github.com/notifications/unsubscribe-auth/AA-bx4P38TgkVLOVGpL8GOAvJpL_XL3cks5umMF8gaJpZM4XuGzW
.

You can check this repo: https://github.com/knoxknox/kafka-client.
This is wrapper for Kafka JAR's, which can be used in JRuby based projects.


Improve JMS synchronous message receive call

Description:

Implement underlying JMS blocking message receive call using a separate thread executor. This is to avoid blocking the Ballerina thread on I/O operations.

Closing this issue. Since we moved JMS module to https://github.com/wso2-ballerina/module-jms repository.
Please refer wso2-ballerina/module-jms#6 to get latest updates of this issue


Is the SAM Demo hosted in the https://segment-anything.com/demo use Pytorch models or ONNX models as the prompt encoder and mask decoder

Hi I just came across the facebook's segment anything model,
According to the web demo mentioned in GitHub, it uses the PyTorch model to generate embeddings and then uses onnx model to prompt the encoding part. but the accuracy is low when compared with the hosted demo in the meta's site https://segment-anything.com/demo.
appreciate an answer regarding this

Any update about this issue ?


[Enhancement] Add extraEnv parameters to helm chart

Hello everyone,
we are currently using the helm charts to deploy our Solace Brokers into our OpenShift environment.
We have the use case to configure our Brokers for writing all their logs not only into the specified files but also to stdout.
(https://docs.solace.com/Configuring-and-Managing/SW-Broker-Specific-Config/Docker-Tasks/Configuring-VMR-Container-Logging.htm)
For that we are setting the configuration keys as environment variables for the StatefulSets. This is working but has to be done manually as of now. The idea would be to have a seperate field in the values.yml called e.g. extraEnvs where one can specifiy additional environment variables for the container.
So, in the values.yml
[...]
## Additional solace container environment variable
extraEnv: {}
[...]

And in the solaceStatefulSet.yml
[...]
        env:
        {{- range $key, $value := .Values.extraEnv }}
        - name: {{ $key }}
          value: {{ $value }}
        {{- end }}
        - name: STATEFULSET_NAME
          value: {{ template "solace.fullname" . }}
[...]

Support has been added by https://github.com/SolaceProducts/pubsubplus-kubernetes-quickstart/pull/109
This can now be closed.


Upgrade Hammerspoon.app to v0.9.33

Thank you for the contribution. It was merged directly as 6f1453c172cf455f242a3c985573fbf161289334 to keep commit history cleaner. Your contribution is still credited to you.


unknown manifest for gcr.io/google_containers/heapster-influxdb-amd64:v1.3.3

when do docker pull gcr.io/google_containers/heapster-influxdb-amd64:v1.3.3 is gives error says unknow manifest, cannot create deployment.

duplicate with #1783 , close the issue


May 2021 review

Module: 00
Lab/Demo: 00
Fixes # .
Changes proposed in this pull request:

The Bot Composer exercise had already been updated.
Can you please remove from this PR and resubmit the others?

Graeme,
Thanks for the update on the Bot Composer.  I see the pr is closed.  Do I need to do anything further?

From: Graeme Malcolm @.>
Sent: Friday, June 4, 2021 11:01 AM
To: MicrosoftLearning/AI-102-AIEngineer @.>
Cc: mctjon @.>; Author @.>
Subject: Re: [MicrosoftLearning/AI-102-AIEngineer] May 2021 review (#68)
Closed #68https://github.com/MicrosoftLearning/AI-102-AIEngineer/pull/68.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftLearning/AI-102-AIEngineer/pull/68#event-4843701334, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASYO2MKQ53SHEHJYMZPOU6LTRDTDRANCNFSM46C4VZJQ.

Ugh, that's may fault - looks like I messed up the PR.
Can you create a new one with the updates to the other three files (i.e. not the Bot Composer one)?

Yes,
I will.
Jon

From: Graeme Malcolm @.>
Sent: Friday, June 4, 2021 11:28 AM
To: MicrosoftLearning/AI-102-AIEngineer @.>
Cc: mctjon @.>; Author @.>
Subject: Re: [MicrosoftLearning/AI-102-AIEngineer] May 2021 review (#68)
Ugh, that's may fault - looks like I messed up the PR.
Can you create a new one with the updates to the other three files (i.e. not the Bot Composer one)?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftLearning/AI-102-AIEngineer/pull/68#issuecomment-854815011, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASYO2MNU3YFPRCB7G77TPTDTRDWKBANCNFSM46C4VZJQ.


Is timeseries fetch fragile to handling a lot of sites?

I was getting NWIS 503's with minimal gage filtering, and ultimately punted so I could get through the error w/
sites_info_subset <- sites_info %>%
    # only include sites with large drainage areas
    filter(drain_area_va > quantile(drain_area_va, 0.75, na.rm=TRUE)) %>%
    head(10)

in filter_sites_custom() to reduce the number of sites we ultimately fetch IV data for.
I think normally we'd do chunks of sites w/ rbinds to combine them.

I thought 503 meant service unavailable rather than bad query? But it's all a mystery, and it does sound like you were able to successfully download a smaller list, huh? With WQP last week we were getting some combo of 400 somewhere and 404 somewhere else, which they were able to fix by re-upping the WAF query size limit. I agree that breaking site lists into chunks generally seems to work. Alternatively, for such small time windows, maybe we'd be able to make requests as whole states or HUCs instead, (But I forget how NWIS works fastest - does subsetting time make it better or worse?)

Seems this was a short-lived NWIS issue (I think). Closing for now.


invalid formula error in repeated measure code

@FrederickHuangLin
Hello,
I am trying to use repeated measures in ANCOM2. In the beginning I tried using the example dataset with the code given.
In the step 2: ANCOM
res = ANCOM(feature_table, meta_data, struc_zero, main_var, p_adj_method,
alpha, adj_formula, rand_formula, control)
Throws the following error:  Error in formula.default(object) : invalid formula
When used without control (I tried it just to see how it works) it works fine. The same is happening with my files too.
Can you help me as to why would this be happening? I am using ANCOM2 for the first time, and don't have a lot of knowledge about the same. My apologies if it is something very silly.
Thank you
Kind regards
Dhrati Patangia

Hi Dhrati,
Sorry for responding late!
This post would probably help!
Sometimes, specifying control = control instead of leaving control itself will solve the problem!
Best,
Huang


[Refactor] Reduce the concurrency between broker load job because job are already concurrent

What type of PR is this：

[ ] BugFix
[ ] Feature
[ ] Enhancement
[x] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

broker load job already automatic concurrency so that we can reduce the max concurrency between jobs.
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 3.0
[x] 2.5
[ ] 2.4
[ ] 2.3

[FE PR Coverage Check]
:heart_eyes: pass : 2 / 2 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/common/Config.java
2
2
100.00%
[]

@mergify backport branch-2.5 branch-3.0

@mergify backport branch-3.0

@mergify backport branch-3.0

@mergify backport branch-3.0


jakartaee_web_services_metadata_handler_3_0.xsd includes jakartaee_9.xsds which does not exist

https://github.com/jakartaee/jws-api/blob/16f648d81d892164fcdb2df7f3ab11f4841452d4/api/src/main/resources/jakarta/jws/jakartaee_web_services_metadata_handler_3_0.xsd#L52
Compare with
https://github.com/jakartaee/jws-api/blob/16f648d81d892164fcdb2df7f3ab11f4841452d4/api/src/main/resources/jakarta/jws/javaee_web_services_metadata_handler_2_0.xsd#L28

Originally posted in https://github.com/jakartaee/jakarta.ee/issues/1519

Fix in DOWNstream:

https://github.com/jakartaee/jws-api/issues/83


SSH fails with invalid format message

Hi,
I can't use the generated key to log with ssh (There are no problems generating the key)
Installed the bridge via apt-get on Debian GNU/Linux bullseye/sid and running ssh OpenSSH_8.4p1 Debian-5, OpenSSL 1.1.1j  16 Feb 2021
Yubikey neo with firmware 3.3.0
Also tried with a more recent Yubikey 5 with firmware 5.1.2
Both have the same exact results
Keys have 600 permission for the private key and 644 for the pub key
When trying to call with ssh  (used -T for testing it) it fails with the error
sign_and_send_pubkey: signing failed for ECDSA-SK "/home/tspascoal/.ssh/id_ecdsa_sk": invalid format

When doing the same with -vvvT
I get this (relevant snippet I believe) from the logs
debug1: Offering public key: /home/tspascoal/.ssh/id_ecdsa_sk ECDSA-SK SHA256:REDACTED   authenticator
debug3: send packet: type 50
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 60
debug1: Server accepts key: /home/tspascoal/.ssh/id_ecdsa_sk ECDSA-SK SHA256:REDACTED  authenticator
debug3: sign_and_send_pubkey: ECDSA-SK SHA256:REDACTED
debug3: sign_and_send_pubkey: signing using<EMAIL_ADDRESS>SHA256:REDACTED
Confirm user presence for key ECDSA-SK SHA256:REDACTED
debug3: start_helper: started pid=790
debug3: ssh_msg_send: type 5
debug3: ssh_msg_recv entering
debug1: start_helper: starting /usr/lib/openssh/ssh-sk-helper
debug1: ssh-sk-helper: ready to sign with key ECDSA-SK, provider internal: msg len 280, compat 0x0
debug1: sshsk_sign: provider "internal", key ECDSA-SK, flags 0x01
debug1: sk_probe: 0 device(s) detected
debug1: ssh_sk_sign: failed to find sk
debug1: sshsk_sign: sk_sign failed with code -1
debug1: ssh-sk-helper: Signing failed: invalid format
debug1: ssh-sk-helper: reply len 8
debug3: ssh_msg_send: type 5
debug1: client_converse: helper returned error -4
debug3: reap_helper: pid=790
debug1: identity_sign: sshkey_sign: invalid format
sign_and_send_pubkey: signing failed for ECDSA-SK "/home/tspascoal/.ssh/id_ecdsa_sk": invalid format

There was no windows dialog to authorize the use of the key (like it happened when the key was generated)
The problem probably lies in this line  debug1: sk_probe: 0 device(s) detected line. (don't know if this generated by the helper or by the bridge though)
I've tried to generate with and without -Oapplication=ssh:windows-fido-bridge-verify-required
I've also defined env variables WINDOWS_FIDO_BRIDGE_DEBUG=1 but doesn't seem to produce any extra output
Is there something I can do to diagnose the problem?
Thank you
P.S. I've tried with git for windows bash shell and this works fine as long as the shell is started with elevated privileges

How are you invoking SSH when trying to log in? This log line:
debug1: sshsk_sign: provider "internal", key ECDSA-SK, flags 0x01

Tells me that SSH isn't using windows-fido-bridge as its security key provider. Are you adding -oSecurityKeyProvider=libwindowsfidobridge.so (or setting SecurityKeyProvider in your ~/.ssh/config)?

Marvelous. This did the trick.
I was just using SSH_SK_PROVIDER=/usr/lib/libwindowsfidobridge.so I assumed it worked the same between keygen and ssh my bad for not following instructions.
Thank you


Use /readyz for nginx container probes.

This is preferable to misusing /__canary__, which is meant for use by a blackbox prober.
We'll want to return 404 for this from the load balancer, but there are a whole bunch of other paths that need the same treatment so we'll deal with those all at once later.
Deployment: needs #300 merged and rolled out first.

Rebased against main to pick up the changes to the pre-merge checks.


Fix rendering of RemoteConnectionId for tracing

https://input-output.atlassian.net/browse/CAD-3411

see #3199


Adding a new table row makes the next new row unavailable

On table, when a new row is added, the table scrolls to a position where the new row for the next new row isn't available. Maybe new row should have its own position, independent of scrolling?

New row is now always visible. Changed it to be outside of the usual row list.


Add terrain-type/buildable-unit-types

This will enable bases that only build particular unit types (e.g. airfields and shipyards).

That's super awesome!
I've dreamt of advance-wars where you can build bridges to cross rivers
(even if that's super expensive, or we have two types like infantry bridges & vehicles ones).
Is this in the ideas you have? Is commenting on issues the proper way to help/discuss?
Cheers!

I need to start putting more details on my issues. :smile:
Buildable terrains (e.g. bridges and roads) are definitely planned, but this issue is for unit types that are only buildable on certain types of terrain.
Commenting on or creating issues is definitely fine and probably the best way to communicate about the project at the moment. I do plan to setup a mailing list too, but haven't gotten to it yet.

This was completed with #87.


Add the list of iPOPO instances and their states to COHORTE-Debug servlet

Implemented in another feature here #33


added support for gradle 8.5

Patch for gradle 8.5 added so that the misleading pop-up doesn't appear.
closes #29

who is able to give the final approval? The error message when using the Java Platform Support extension is very annoying.

who is able to give the final approval? The error message when using the Java Platform Support extension is very annoying.

The change is available in NB-21 and it would be released in next version of the extension

Available in NB-21. So, closing this PR.


Japanese docs: #1329 changes (OAuth doc updates)

Description
We can update the corresponding Japanese document page to reflect https://github.com/slackapi/bolt-js/pull/1329 changes.
What type of issue is this? (place an x in one of the [ ])

[ ] bug
[x] enhancement (feature request)
[ ] question
[x] documentation related
[ ] example code related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

This was already fixed in https://github.com/slackapi/bolt-js/pull/1697


[NG/UI] Select 2.0

This is a first basic implementation of the Select 2.0 drafted here #248
it does only support single select and doesn't care for scrolling or anything.
Preview basic:

Preview server driven:
I'm posting this PR to get early feedback on it, it is very much not meant to be merged on its own as it need polishing and more tests.
Edit: In regards to the icon, I haven't found one matching the mockup I assume it simply doesn't exist yet ? or is it some sort of composed icon ?
Basic
Default view

[ ] will look like a standard Select
[ ] caret will be grey and have an circle around it to distinguish it from a standard Select
[x] the input field will show the standard input focus style (blue underline) while being interacted with
inactive

Active view

[x] clicking the caret will show the Options dropdown
[x] with the dropdown showing, the arrow keys can navigate up or down through options
[x] hitting Enter will select the option and display it in the input field
[ ] show up to 10 options at a time
[ ] if more than 10 options exist, user will be able to scroll down through them, i'm afraid this will need some fiddling with .scrollTop this.el.nativeElement.scrollTop = 10; not sure yet how to solve this in a clean way
[x] hover or highlight while scrolling will be the hover grey (#EEE)
active - hover

Selections

[x] selected option will be the row selection blue (#D9E4EA)
active - selected

Typing

[x] tabbing into the field will show the cursor in the input field
[x] options are displayed after 1 character has been typed
[ ] query values are highlighted bold within each matching option
[x] pressing the down arrow key shows the dropdown, not working with Safari 9.1.2
[x] user can tab to the caret and activate the dropdown
[x] tabbing out, clicking outside of, or hitting Escape will close the dropdown
active - typing

Searching message

[x] if the options come back quickly (< 100ms), show the Options dropdown
[x] if the options load slowly (> 100ms), show the Searching dropdown
[x] Searching message will use the Select's label value, not sure how this would look like so for now you can customise the loading message with [clrLoadingText]
searching

Signed-off-by: Marvin Osswald<EMAIL_ADDRESS>

When to update the first commit and when to add a new commit ? Is it for new features still useful to be merged in the same Commit ?

It is easier to review when you keep separate commit. Especially after an initial review, it lets us see the changes since we last checked the PR, rather than have to read everything again.
So the process is generally review, add a commit, review, add a commit, ... (depending on how many cycles are needed), and when the PR is ready to go, you rebase on latest master and squash down to a single commit.

Sorry for the dco-required problems, it's me having to computers with two different emails set under git config which I'm trying to get straight atm.

@youdz could you have another look, i've no extracted some functionality to the service and wrote some more tests.

Any progress here ?


.Net Join small pages missing in print options

I m trying to join small pages . But in .Net version, there is not a option for it.
But in delphi version, it Is usable.
If the design file is Fr3, the join small pages option is visible.
On the other hand, if the design is frx, the join small pages option is invisible.
how can i solve this issue? I need to join small pages into one page.

Greetings!

What you're looking for is the "Scale" print mode. To print A4 on A3 you need to set the "Print on sheet" to A3 and "Pages on sheet" to your desired amount, like 2.
These options are accessed by clicking "More options" in the print dialogue.


[PHPStanRules] Make RequireStringRegexMatchKeyRule work without parent

Just reading thru all todays pull requests and commits… you achieved quite a lot. Great job Tomas 💪

Thanks!
There is no other way, so I have to pull it this week with all the PHPStan-related packages :)


2D

Thank you! As soon as the code is merged I update the function and the example for the generation of 2D fractures with a new PR.

Done.
From: agnemarcato @.>
Reply-To: lanl/pySimFrac @.>
Date: Monday, November 13, 2023 at 10:16 AM
To: lanl/pySimFrac @.>
Cc: Jeffrey Hyman @.>, Comment @.***>
Subject: [EXTERNAL] Re: [lanl/pySimFrac] 2D (PR #3)
Thank you! As soon as the code is merged I update the function and the example for the generation of 2D fractures with a new PR.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/lanl/pySimFrac/pull/3*issuecomment-1808620642__;Iw!!Bt8fGhp8LhKGRg!HczVmY-6wB3Me9TueSYl6S2yslei45isXlWuZBBG6Ir-yGngAG3qbif1QUHdJvODhhph1Ry7Yn6mab3lmwSS8Xlr$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AEKOGDG5SIPLYKZRN3WJWDDYEJIU5AVCNFSM6AAAAAA7BQ4Y4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBYGYZDANRUGI__;!!Bt8fGhp8LhKGRg!HczVmY-6wB3Me9TueSYl6S2yslei45isXlWuZBBG6Ir-yGngAG3qbif1QUHdJvODhhph1Ry7Yn6mab3lm0FC1Bed$.
You are receiving this because you commented.Message ID: @.***>


Implement "Rehash all" button #289

"Rehash all" button can be found in Mod List

This needs more work, rehashing ALL of the mod versions for every mod is a MASSIVE process, it would require transparency for the user (current status), as well as the ability to run it as a background process so it doesnt impact API response processing and user interaction.

+1


[SPARK-39848][BUILD] Upgrade Kafka to 3.2.1

What changes were proposed in this pull request?
This PR aims to upgrade Apache Kafka to 3.2.1.
Why are the changes needed?
Apache Kafka 3.2.1 is released.

https://lists.apache.org/thread/b6nonzos2qjhc9tpolld9qxrcxqcg011

Apache Kafka 3.2.1 has the following patches.

https://home.apache.org/~davidarthur/kafka-3.2.1-rc3/RELEASE_NOTES.html

KAFKA-14013 Limit the length of the reason field sent on the wire Bug
KAFKA-13474 Regression in dynamic update of broker certificate
KAFKA-13572 Negative value for 'Preferred Replica Imbalance' metric
KAFKA-13773 Data loss after recovery from crash due to full hard disk
KAFKA-13861 validateOnly request field does not work for CreatePartition requests in Kraft mode.
KAFKA-13899 Inconsistent error codes returned from AlterConfig APIs
KAFKA-13998 JoinGroupRequestData 'reason' can be too large
KAFKA-14010 alterISR request won't retry when receiving retriable error
KAFKA-14024 Consumer stuck during cooperative rebalance for Commit offset in onJoinPrepare
KAFKA-14035 QuorumController handleRenounce throws NPE
KAFKA-14055 Transaction markers may be lost during cleaning if data keys conflict with marker keys
KAFKA-14062 OAuth client token refresh fails with SASL extensions
KAFKA-14079 Source task will not commit offsets and develops memory leak if "error.tolerance" is set to "all"
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass the CIs

The vote passed. I'm going to update this PR when the maven artifacts are available.

Rebased to the master.

Could you review this please, @HyukjinKwon ?

Thank you, @HyukjinKwon ! Merged to master.


Merge IApplicationShutdown and IApplicationLifetime

Moved RequestShutdown and ShutdownRequested to IApplicationLifetime
since IApplicationShutdown will be obsoleted.

Related to https://github.com/aspnet/dnx/issues/2683
Reaction https://github.com/aspnet/KestrelHttpServer/commit/fc665dfa724c53e0b4b7270adb815f94cb34903b
/cc @Tratcher @halter73

:shipit:

Merged

When will IApplicationShutdown be deleted?

@halter73 soon!


vendor: update github.com/containernetworking/cni to v0.7.2-0.20200304161608-4fae32b84921

Specifically to get:
https://github.com/containernetworking/cni/pull/735
6f29b0165883b2b52ccd4dcb937162ea4c86927b intercept netplugin std err
But also pulls in some interface name validation and a compatibility
fix for configurations that don't set a CNI version.
Signed-off-by: Dan Williams<EMAIL_ADDRESS>

@haircommander

/approve

LGTM once tests go green

@mheon tests are green :)

@baude @rhatdan @TomSweeneyRedHat @vrothberg @giuseppe PTAL and merge

/lgtm
:angel:


Apple Silicon support

Please add build instructions for apple silicon support, and/or make the brew cask fluor a universal binary.
As a side note, your brew command line syntax has changed, so please update your README document with newer flavor: brew install --cask fluor

Any update on this?

Awaiting for this

Already done as far as I know

I meant the arm app which can run natively on M1 macs

Duh.  No. Not yet done.

I have built it Apple Silicon. It works though crashes when going to Preferences. Maybe not everything is included to properly build. Errors begin with:

I have built it Apple Silicon. It works though crashes when going to Preferences. Maybe not everything is included to properly build. Errors begin with:

That looks like it's the sparkle framework causing problems.

Yes. Haven’t tried to remove it. Maybe that will work. Or maybe somewhere there is a flag to disable and not include. Or there could be one added or it’s addition and use could be checked at runtime so one can build from repo.

I have the same result as @gennaios
my exception on go to preferences:
error	19:10:43.012401+0300	Fluor	This coder is expecting the replaced object 0x11e9c2600 to be returned from NSClassSwapper.initWithCoder instead of <SUUpdater: 0x118b4bb00>
Please let me know if more details needed. (But I'm total 0 in swift development and installed Xcode just to build Fluor)

No news on this thread?

I've tried forking and seeing for myself. It looks as if it is working and indeed I can confirm that opening Preferences kills it. Pity.

Given that I was previously using the app and have no need to look at Preferences I am using my self-build Universal version on an M1 CPU.
You could also edit the preferences manually at ~/Library/Preferences/com.pyrolyse.Fluor.plist

I find it pretty sad how some people in this thread have built it yet have failed to pass the info along to less Xcode/Tech-savvy people. In fact, in the very first post of this thread, they ask how to build it.
Anyways, as the crash log suggests, the issue lies with the sparkle framework. The easiest way to fix it, since the updater won't be used anyways, is to just remove the SUUpdater from the storyboard. That's all.
Build instructions:

Download the Source code for 2.5.0 from https://github.com/Pyroh/Fluor/releases/tag/2.5.0
Install Xcode from the Appstore
Open it and go to preferences and add your apple account
Go to File>Open and select the source folder
Click on Fluor in the upper left corner
Under General  —> Frameworks, Libraries...: remove the sparkle.framework
Under Signing & Capabilities  —> Team: select your account
On the left pane, expand Fluor/Fluor/XIBs/Preferences.storyboard. Press on it
Select the updater view from within the storyboard and press the delete key
Press the Build and run button (play) on the top of the left sidebar
Open Finder and press Shift+CMD+G. Enter ~/Library/Developer/Xcode/DerivedData/
You will find the .app under ~/Library/Developer/Xcode/DerivedData/{app name}/Build/Products/Deployment/

I find it pretty sad how some in this thread have built it yet have failed to pass the info along to less Xcode/Tech-savvy people. In fact, in the very first post of this thread, they ask how to build it.
Anyways, as the crash log suggests, the issue lies with the sparkle framework. The easiest way to fix it, since the updater won't be used anyways, is to just remove the SUUpdater from the storyboard. That's all.
Build instructions:

Download the Source code for 2.5.0 from https://github.com/Pyroh/Fluor/releases/tag/2.5.0
Install Xcode from the Appstore
Open it and go to preferences and add your apple account
Go to File>Open and select the source folder
Click on Fluor in the upper left corner
Under General  —> Frameworks, Libraries...: remove the sparkle.framework
Under Signing & Capabilities  —> Team: select your account
On the left pane, expand Fluor/Fluor/XIBs/Preferences.storyboard. Press on it
Select the updater view from within the storyboard and press the delete key
Press the Build and run button (play) on the top of the left sidebar
Open Finder and press Shift+CMD+G. Enter ~/Library/Developer/Xcode/DerivedData/
You will find the .app under ~/Library/Developer/Xcode/DerivedData/{app name}/Build/Products/Deployment/

Thank you!
There is one more issue: application crashes when you press Preferences -> Manage rules... button.
Could you please find out what's wrong?

Thank you! There is one more issue: application crashes when you press Preferences -> Manage rules... button. Could you please find out what's wrong?

It's a very strange error for me considering that it runs perfectly fine when compiled for Intel. To my limited knowledge about Apple development, this shouldn't be the case. The error indicates that there is some problem while accessing a pointer. I've possibly narrowed it down to the following override:
//RulesEditorViewController.swift
override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?) {
        guard (object as? NSArrayController) ==  itemsArrayController, let keyPath = keyPath else { return }
        switch keyPath {
        case "canAdd":
            contentActionSegmentedControl.setEnabled(itemsArrayController.canAdd, forSegment: 0)
        case "canRemove":
            contentActionSegmentedControl.setEnabled(itemsArrayController.canRemove, forSegment: 1)
        default:
            return
        }
    }

However, everything looks fine and I might be on the wrong track. It might also be some weird Xcode bug? Very hard to say for someone who has never developed with Swift :/

The error is at:
https://github.com/Pyroh/Fluor/blob/6b5fcd11324dfe99ef0fb20d4015625a0e96f283/Fluor/Protocols/StoryboardInstantiableProtocol.swift#L48

The error is:

Thread 1: EXC_BAD_ACCESS (code=1, address=0x0)

at:
https://github.com/Pyroh/Fluor/blob/6b5fcd11324dfe99ef0fb20d4015625a0e96f283/Fluor/Protocols/StoryboardInstantiableProtocol.swift#L48

It's not the source of the problem though.

I guess we need a Swift developer here.

The thing is, I don't understand why it would behave differently when compiled for Apple Silicon. I haven't found anything similar after a fair bit of research.
It seems to me that the error is connected with this:
https://github.com/Pyroh/Fluor/blob/6b5fcd11324dfe99ef0fb20d4015625a0e96f283/Fluor/Controllers/ViewControllers/RulesEditorViewController.swift#L62
So it's possibly the observer object it destroyed/dealocated before it should be. But again, it makes no sense to me that this works fine when compiled for Intel.
Someone with an older Xcode version might have a go at compiling it. Perhaps it really is a weird bug.
Ps: If the override I've linked to above is commented out. It won't crash anymore.

but it also don't show anything in edit rules window.

My point being that this Observable is the source of the issue. Sorry for not being clear enough.

Thank you!