Proposal: Configuration options for Unity UI / graphics raycast.

MRTK's support for Unity UI relies upon a potentially (up to 1.5ms) expensive API call (EventSystem.RaycastAll) per pointer. This can add up rapidly and cause the focus provider to consume significantly more CPU budget than the target for all of MRTK (~4ms).
After reviewing the code, and investigating potential mitigations, it appears that there should be three options added to the pointer profile.

Ignore all Unity UI

pro: No performance hit when Unity UI is display only
con: No indication that the user is focused on Unity UI element(s)

Return the top most item (Unity orders from highest to lowest depth)

pro: Fast
con: If the top most item is not interactable (ex: text field) underlying object(s) will not receive interactions

RaycastAll and prioritize via the desired raycast comparer (current behavior)

pro: Maintains current behavior
con: Expensive (up to ~1.5ms), RaycastAll cost is per pointer.

This will give application developers the choice of behaviors and can balance the UI design and relative costs of the calls.

In option 2, there is a catch. Depending on the control stack, it is not ensured that the top most item is interactable (ex: text labels on buttons are not).

Do we currently check for this in the RaycastAll method?

From my read of the code, that is handled by the raycast comparer in the prioritization step (which uses the collection of all results returned by the RaycastAll method).

We use Unity UI exclusively for our UI and have done a lot of investigation in to performance and can share some of our findings.
EventSystem.RaycastAll is expensive because there is no broadphase collision detection on Unity UI canvases, so it tests every UI element in the whole scene that has "Raycast Target". So the more UI elements you have the more expensive it is.
Best Practice: Turn off "Raycast Target" on everything apart from interactive elements (buttons, tick boxes, etc) and a background element which defines the shape of a panel.  So text, images etc which are there just for visual should have "Raycast Target" disable. You can write simple tools to help with setting the flag as appropriate.
In addition to the above best practice we have a custom graphics raycaster which uses the bounds of a canvas as a broadphase collision test. If you ensure all UI is inside a well fitted canvas, the UI elements themselves only get tested when the pointer is on the canvas.
These two approaches combined makes the UI raycast cost negligible for even very complex UIs.
One other thing to note is that default number of segments for a Line Pointer is 2 (at least in MRTK v2.2) for what is essentially a straight line, that's 2 times as many raycasts as are needed.
As for direct feedback to your suggestion:
I would favour communication of best practices over magic options that can have undesirable and often confusing side effects.
Ignore all Unity UI - If UI is "visual only" then the Graphics Raycaster can be removed from the canvas and you'd have no cost. Similar to your suggestion though, this would result in no indication that the cursor on the UI, so disabling all raycast targets apart from a single background/panel element would be better practice.
Return the top most item - If you have enough information to use this option without running in to the cons, then you probably have enough information to follow the best practices outlined above. If you don't have enough information, you're just inviting inconsistent behaviour and not knowing why.

Adding to what @WikkidEdd has noted above, I suggest making sure that the user understands the Raycast Target and Graphics Raycaster costs as explained here.

@WikkidEdd and @tank-t-bird, thank you for the input! This is fantastic feedback! From what you describe, the best approach is likely to expand our documentation and provide a link to it from the Input System inspector UI.

Could a check be added to the Optimize Window to call out when canvas UI has unneeded Raycast Targets?

@KevinKennedy, I like the idea. Question though, how might it know what was needed vs unneeded?

Better documentation would be helpful on setting up both Unity UI as well as configuring MRTK UI elements with Screen Space Overlay as World Space often isn't a good experience on mobile.


cmd/compile: combine extension with register loads and stores on amd64

Extending a register load or store currently generates suboptimal code with the SSA backend. In some cases, this is a regression from the old backend. For example:
func load8(i uint8) uint64 { return uint64(i) }
Generates:
"".load8 t=1 size=16 args=0x10 locals=0x0
	0x0000 00000 (extend.go:3)	TEXT	"".load8(SB), $0-16
	0x0000 00000 (extend.go:3)	FUNCDATA	$0, gclocals·23e8278e2b69a3a75fa59b23c49ed6ad(SB)
	0x0000 00000 (extend.go:3)	FUNCDATA	$1, gclocals·33cdeccccebe80329f1fdbee7f5874cb(SB)
	0x0000 00000 (extend.go:3)	MOVBLZX	"".i+8(FP), AX
	0x0005 00005 (extend.go:3)	MOVBQZX	AL, AX
	0x0008 00008 (extend.go:3)	MOVQ	AX, "".~r1+16(FP)
	0x000d 00013 (extend.go:3)	RET

The old back end generates:
"".load8 t=1 size=16 args=0x10 locals=0x0
	0x0000 00000 (extend.go:3)	TEXT	"".load8(SB), $0-16
	0x0000 00000 (extend.go:3)	FUNCDATA	$0, gclocals·23e8278e2b69a3a75fa59b23c49ed6ad(SB)
	0x0000 00000 (extend.go:3)	FUNCDATA	$1, gclocals·33cdeccccebe80329f1fdbee7f5874cb(SB)
	0x0000 00000 (extend.go:3)	MOVBQZX	"".i+8(FP), BX
	0x0005 00005 (extend.go:3)	MOVQ	BX, "".~r1+16(FP)
	0x000a 00010 (extend.go:3)	RET

I tried fixing this in CL 21838, but the fix was partial and probably not in the right place.
It's hard to do this as part of the arch-specific rewrite rules, because (a) you lose the type extension work that the ssa conversion did for you and have to recreate it later and (b) you don't know where all the register loads and stores will be, because regalloc hasn't run.
However, it's hard to do this as part of converting final SSA to instructions (genvalue), since that's really geared to handle one value at a time, in isolation.
Teaching regalloc to combine these MOVs seems arch-specific and would further complicate already complicated machinery. Maybe the thing to do is to add an arch-specific rewrite pass after regalloc ("peep"?), using hand-written rewrite rules. Input requested.
Related, for those extension MOVs that remain, we should test whether CWB and friends are desirable--they are shorter, but are register-restricted and the internet disagrees about whether they are as fast.
Here are some test cases:
package x

func load8(i uint8) uint64   { return uint64(i) }
func load32(i uint32) uint64 { return uint64(i) }

func store8(i uint64) uint64  { return uint64(uint8(i)) }
func store32(i uint64) uint64 { return uint64(uint32(i)) }

var p *int

func load8spill(i uint8) uint64 {
	i++            // use i
	print(i)       // spill i
	j := uint64(i) // use and extend i
	return j
}

func load32spill(i uint32) uint64 {
	i++            // use i
	print(i)       // spill i
	j := uint64(i) // use and extend i
	return j
}

func store8spill(i uint64) uint64 {
	j := uint8(i)    // convert
	print(j)         // spill
	return uint64(j) // use
}

func store32spill(i uint64) uint64 {
	j := uint32(i)   // convert
	print(j)         // spill
	return uint64(j) // use
}

cc @randall77

Yes, I don't have any good ideas here.  Some modified Arg value might work, say with a memory layout type and a post-load type, but it's ugly.
I'd like to avoid adding a peep pass.  It might be a good idea for this but it always ends up as an easy dumping ground for things that are better implemented elsewhere.

Note that it's not just Args, it's also loading spilled registers.


widgit(:foo).diff cucumber:ast:table Reporting is invalid

cucumber (1.3.8)
cucumber-rails (1.4.0)
dill (0.5.2)

@samccone I know this was a over a year and a half ago, but any other details, like what code triggered this failure? Was it simply calling `widget(:foo).diff cucumber:ast:table ?

no idea, closing


Start Playing the video from specific time(like from 50th second).

Can we play the viodeo from specific time .(like if the last played video was stoped at 40th second and when the user plays the same video after some time, it will start from 40th second)

You can try this:
XCDYouTubeVideoPlayerViewController *videoPlayerViewController = [[XCDYouTubeVideoPlayerViewController alloc] initWithVideoIdentifier:videoIdentifier];
videoPlayerViewController.moviePlayer.initialPlaybackTime = 40;

If it doesn’t work, try setting the initialPlaybackTime when receiving XCDYouTubeVideoPlayerViewControllerDidReceiveVideoNotification.


Checked errors PR

…Updated chrome.extension to non-deprecated chrome.runtime and updated path to an existing dictionary (AZ_az)

Great work!


Add NumPy demos

I'd like to see some NumPy demos.

Start with the K-Means example to see what's possible.ndarray can be converted to a list of lists and typed if you know the shape of it, but this is a double conversion (once on the Python side and again on the .NET side). Is there a more efficient way?
Can we access vectors and run functions on the ndarray?
Does this need documenting?

The KMeans demo does this now


Change width of input containers

How do I change the width of the input containers?  I tried to add width in inputContainerStyle but it doesn't seem to have any effect.

please note i disabled horizontal scrolling and have the fields in vertical orientation.

something else i noticed is when I enter 91405 or 90292 as postal codes, the log says its an incomplete postal code although they are valid postal codes. Would you happen to know why this is happening?

How do I change the width of the input containers? I tried to add width in inputContainerStyle but it doesn't seem to have any effect.

Have you tried "inputStyle" ?

How do I change the width of the input containers? I tried to add width in inputContainerStyle but it doesn't seem to have any effect.

Have you tried "inputStyle" ? @marlene89

Does not have any effect either.

@marlene89 I'm pushing an update this weekend, will try to check this

I'm happy to announce the new version! :rocket: #0.4.6, please check it out!

@marlene89 you can now use "inputContainerStyle" and postal code is fixed!


MM-35919: CRT makes threads nav menu sticky

Summary
Threads nav menu, both in legacy and regular sidebar, is moved outside
of the scrollable area, so it always 'sticky' at the same position.
Ticket Link
https://mattermost.atlassian.net/browse/MM-35919
Release Note
NONE

@hmhealey friendly ping on this one


Overriding section names

Describe the problem
We can't translate section names.
How would the new feature work?
Adding an additional section_names: option to TTY::Option::Formatter#initialize.
Drawbacks
None I can think of.
Workaround
Hardcore ugly monkey patching, e.g. for French translation
module TTY
  module Option
    class Formatter
      def initialize(parameters, usage, param_display: DEFAULT_PARAM_DISPLAY,
                     width: DEFAULT_WIDTH, order: DEFAULT_ORDER, indent: 0)
        @parameters = parameters
        @usage = usage
        @param_display = param_display
        @order = order
        @width = width
        @indent = indent
        @space_indent = SPACE * indent
        @param_indent = indent + 2
        @section_names = {
          usage: "Utilisation :",
          arguments: "Arguments :",
          keywords: "Mots clés :",
          options: "Options :",
          env: "Environement :",
          examples: "Exemples :"
        }
      end
    end
  end
end

Thank you for reporting this. It would be a good improvement. Do you have time to explore PR?
I wonder if there is a more generic translation approach that could be explored here that would include any text in the gem like error messages etc.
Another way would be to use the current implementation to replace the content like so:
help do |sections|
  @section_names.each do |name, header|
    sections[name].content = sections[name].content.gsub(/#{header}/, @translations[name])
  end
end

Another way would be to use the current implementation to replace the content like so:

I thought about that but struggled to come to something working.

Do you have time to explore PR?

It depends on how you wish to implement this.

These are some "quick" thoughts. I believe this should be done in two steps.
First extract all the strings from the gem source such as errors or section names and place them in translations.rb as a hash:
messages = {
  errors: {
    invalid_argument: "value of `%{value}`...",
    invalid_arity: "%{type} %{name} should appear..."
  },
  sections: {
    arguments: "Arguments: ",
    keywords: "Keywords: "
  },
  ...
}

Then we could have a top-level lookup method that would rely on backend to find translations internally:
def translate(key, **tokens)
  backend.translate(key, **tokens)
end

By default, the memory backend could be used that checks translations against messages:
def translate(key, tokens)
  message = messages[key]
  if message && message.with_tokens?
    message % tokens
  else
    message
  end
end

And we could also try to have i18n backend that would work out of the box when available. I don't want tty-option to have any dependencies.
Once we have messages extracted internally. Then, in the class that includes TTY::Options we could expose some translations configuration DSL.
Either to directly override messages:
translations["sections.arguments"] = "..."
translations["sections.keywords"] = "..."

Or, allow configuration in a block that mimics i18n options:
translations do
  backend :i18n
  default_locale :en
  load_path "config/locales/en.yml"
end

Any translations provided via any of the two methods would be "merged" with the default messages before performing translation.
As mentioned, these are some quick sketches of where we could take this. Any thoughts?


Missing Page Ext. in "Convert-ModifiedObjectsToAl" - bccontainerhelper vs. navcontainerhelper

The "Convert-ModifiedObjectsToAl" in bccontainerhelper (latest version) do not convert modified pages to page extensions.
I switched over to the navcontainerhelper (latest version) and all works fine.
Used NAV Version: 14.13.42648.0
Convert-ModifiedObjectsToAl
-alProjectFolder "myfolder"
-containerName "mycontainer"
-startId 50000;
No errors in output.

Very strange - I haven't changed anything in this area
Did you use artifacts or a docker image?

artifacts image.

If you have created the container in NavContainerHelper and trying to use BcContainerhelper to manage the container - you cannot.
When shifting to BcContainerHelper, you should remove all containers first.
I created a container using:
$auth = 'UserPassword'
$artifactUrl = Get-BCArtifactUrl -country w1 -type OnPrem -version 14
New-BcContainer `
    -accept_eula `
    -credential $credential `
    -auth $auth `
    -artifactUrl $artifactUrl `
    -updateHosts -includeCSide -licenseFile $licenseFile

output:
BcContainerHelper is version 1.0.8
BcContainerHelper is running as administrator
Host is Microsoft Windows 10 Enterprise - Unknown/Insider build
Docker Client Version is 19.03.13
Docker Server Version is 19.03.13
Removing container bcserver
Removing bcserver from host hosts file
Removing bcserver-* from host hosts file
Removing C:\ProgramData\BcContainerHelper\Extensions\bcserver
Downloading application artifact /onprem/14.18.45015.0/w1
Downloading C:\Users\freddyk\AppData\Local\Temp\f29326ce-dcef-441d-84db-42fe9c8ae212.zip
Unpacking application artifact to tmp folder using 7zip
Downloading platform artifact /onprem/14.18.45015.0/platform
Downloading C:\Users\freddyk\AppData\Local\Temp\35c0daaa-b929-42bf-93ae-6f25d2d1363a.zip
Unpacking platform artifact to tmp folder using 7zip
Downloading Prerequisite Components
Downloading c:\bcartifacts.cache\onprem\14.18.45015.0\platform\Prerequisite Components\DotNetCore\DotNetCore.1.0.4_1.1.1-WindowsHosting.exe
Downloading c:\bcartifacts.cache\onprem\14.18.45015.0\platform\Prerequisite Components\Open XML SDK 2.5 for Microsoft Office\OpenXMLSDKv25.msi
Downloading c:\bcartifacts.cache\onprem\14.18.45015.0\platform\Prerequisite Components\IIS URL Rewrite Module\rewrite_2.0_rtw_x64.msi
Fetching all docker images
Using image mcr.microsoft.com/dynamicsnav:10.0.19041.508-generic-dev
Creating Container bcserver
Version: 14.18.45015.0-w1
Style: onprem
Multitenant: No
Platform: 14.0.45012.0
Generic Tag: <IP_ADDRESS>
Container OS Version: 10.0.19041.508 (2004)
Host OS Version: 10.0.19042.508 (Unknown/Insider build)
WARNING: Host OS and Base Image Container OS doesn't match and process isolation is specified. If you encounter issues, you could try to specify -isolation hyperv
Using Process isolation
Using locale en-US
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Using license file https://www.dropbox.com/s/x7gb7s6qdc3mykl/license.flf?dl=1
Downloading C:\ProgramData\BcContainerHelper\Extensions\bcserver\my\license.flf
Files in C:\ProgramData\BcContainerHelper\Extensions\bcserver\my:
- AdditionalOutput.ps1
- AdditionalSetup.ps1
- license.flf
- MainLoop.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container bcserver from image mcr.microsoft.com/dynamicsnav:10.0.19041.508-generic-dev
4cbcc689c2b19bab91b1e506e5d4ca62f85fc8912d56738adf127015e419f12b
Waiting for container bcserver to be ready
Using artifactUrl https://bcartifacts.azureedge.net/onprem/14.18.45015.0/w1
Using installer from C:\Run\130
Copying Platform Artifacts
Copying Application Artifacts
Copying Database
Installing Business Central
Installing Url Rewrite
Installing OpenXML
Installing DotNetCore
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
Copying Web Client Files
Copying Windows Client Files
Copying PowerShell Scripts
Copying ConfigurationPackages
Copying Test Assemblies
Copying TestToolKit
Copying UpgradeToolKit
Copying Extensions
Copying ClientUserSettings
Copying ReportBuilder
Restoring CRONUS Demo Database
Determining Database Collation
Restoring CRONUS Demo Database
Modifying Business Central Service Tier Config File for Docker
Creating Business Central Service Tier
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Installation took 103 seconds
Installation complete
Initializing...
Setting host.docker.internal to <IP_ADDRESS> in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to <IP_ADDRESS> in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to <IP_ADDRESS> in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to <IP_ADDRESS> in container hosts file
Starting Container
Hostname is bcserver
PublicDnsName is bcserver
Using NavUserPassword Authentication
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 5EC92055FA93B0F37F580783A080F862D766B81A
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
Using license file 'c:\run\my\license.flf'
Import License
Creating http download site
Setting SA Password and enabling SA
Creating admin as SQL User and add to sysadmin
Creating SUPER user
Container IP Address: <IP_ADDRESS>
Container Hostname  : bcserver
Container Dns Name  : bcserver
Web Client          : http://bcserver/NAV/
Dev. Server         : http://bcserver
Dev. ServerInstance : NAV
Setting bcserver to <IP_ADDRESS> in host hosts file

Files:
http://bcserver:8080/ALLanguage.vsix

Container Total Physical Memory is 63.8Gb
Container Free Physical Memory is 36.2Gb

Initialization took 65 seconds
Ready for connections!
Reading CustomSettings.config from bcserver
Creating Desktop Shortcuts for bcserver
Export Objects with filter 'Id=1..1999999999' to C:\ProgramData\BcContainerHelper\Extensions\Original-14.18.45015.0-w1\objects.txt (container path)
Split C:\ProgramData\BcContainerHelper\Extensions\Original-14.18.45015.0-w1\objects.txt to C:\ProgramData\BcContainerHelper\Extensions\Original-14.18.45015.0-w1 (container p
aths)
Export Objects with filter 'Id=1..1999999999' (new syntax) to C:\ProgramData\BcContainerHelper\Extensions\Original-14.18.45015.0-w1-newsyntax\objects.txt (container path)
Split C:\ProgramData\BcContainerHelper\Extensions\Original-14.18.45015.0-w1-newsyntax\objects.txt to C:\ProgramData\BcContainerHelper\Extensions\Original-14.18.45015.0-w1-ne
wsyntax (container paths)
Container bcserver successfully created

Use:
Get-BcContainerEventLog -containerName bcserver to retrieve a snapshot of the event log from the container
Get-BcContainerDebugInfo -containerName bcserver to get debug information about the container
Enter-BcContainer -containerName bcserver to open a PowerShell prompt inside the container
Remove-BcContainer -containerName bcserver to remove the container again
docker logs bcserver to retrieve information about URL's again

Then I started CSIde - added the Telex field to the customer card and run:
Convert-ModifiedObjectsToAl

with this output:
Export Objects with filter 'Modified=1;Id=1..1999999999' (new syntax) to C:\ProgramData\BcContainerHelper\Extensions\bcserver\modified-newsyntax\objects.txt (container path)

Split C:\ProgramData\BcContainerHelper\Extensions\bcserver\modified-newsyntax\objects.txt to C:\ProgramData\BcContainerHelper\Extensions\bcserver\modified-newsyntax (contain
er paths)
Copy original objects to C:\ProgramData\BcContainerHelper\Extensions\bcserver\original-newsyntax for all objects that are modified (container path)
Compare modified objects with original objects in C:\ProgramData\BcContainerHelper\Extensions\bcserver\original-newsyntax and create Deltas in C:\ProgramData\BcContainerHelp
er\Extensions\bcserver\delta-newsyntax (container paths)
Rename new objects to .TXT
Converting files in C:\ProgramData\BcContainerHelper\Extensions\bcserver\delta-newsyntax to .al files in C:\ProgramData\BcContainerHelper\Extensions\bcserver\al-newsyntax wi
th startId 50100 (container paths)
Using Compiler CodeAnalysis to format documents
txt2al.exe --source="C:\ProgramData\BcContainerHelper\Extensions\bcserver\delta-newsyntax" --target="C:\ProgramData\BcContainerHelper\Extensions\bcserver\al-newsyntax" --ren
ame --extensionStartId=50100
al files created in C:\ProgramData\BcContainerHelper\Extensions\bcserver\al-newsyntax
C:\ProgramData\BcContainerHelper\Extensions\bcserver\al-newsyntax

and in the C:\ProgramData\BcContainerHelper\Extensions\bcserver\al-newsyntax folder i find:
pageextension50101.PageExt-Customer Card.al

with this content:
pageextension 50101 pageextension50101 extends "Customer Card"
{
    layout
    {
        addafter("Country/Region Code")
        {
            field("Telex No."; "Telex No.")
            {
            }
        }
    }
}

I would need a similar detailed repro scenario if I am to figure out what goes wrong on your machine,

Sorry, the problem disappeared...
I merge my solution to a newer v.14 build....
Has apparently something to do with German umlauts in the caption.
I close this..
Thank you for your help!


WIP spike to test feasability of running actual choria in tests

@vjanelle this is a "first thing that work" spike on running choria instead of all the mock shit, I think its worth doing this instead it will yield much more trustworthy tests
====================================
Random Seed:<PHONE_NUMBER>
Will run 8 of 8 specs

••••••••
Ran 8 of 8 Specs in 0.251 seconds
SUCCESS! -- 8 Passed | 0 Failed | 0 Pending | 0 Skipped
PASS

Ginkgo ran 1 suite in 5.570882763s

vs previously:
Running Suite: McoRPC/Golang/RPCUtil
====================================
Random Seed:<PHONE_NUMBER>
Will run 8 of 8 specs

••••••••
Ran 8 of 8 Specs in 0.012 seconds
SUCCESS! -- 8 Passed | 0 Failed | 0 Pending | 0 Skipped
PASS

Ginkgo ran 1 suite in 5.09177443s
Test Suite Passed

That was quick

replaced by https://github.com/choria-io/mcorpc-agent-provider/pull/151


Allow different keys for different users

Allow having multiple keys for bosco (one for each user)
(SOFTWARE-4570)

Do we still want this? It's kinda stale.


Plan "Follow"/"Enroll" Terminology

Initially, the plan was to allow Students to "enroll" in Classes.
However, "enroll" might mislead some (esp. new) students to thinking that Treel actually enrolls them in the class.
I suggest using the term, "follow."

Students will "Follow" Class pages.
Instructors grant Students with "Access" to Classes.
Granting Access is done by specifying a list of emails.
Granting Access will also make the Student "Follow" the Class.


Source of Onkyo media player changing itself in frontend

Home Assistant release (hass --version):
0.65.3
Python release (python3 --version):
Python 3.6.3
Component/platform:
Onkyo/Media player
Description of problem:
Since last update I have problem that frontend website changing source of media player (Onkyo) in loop.
I made screencast of that - https://youtu.be/DSz_pKJjs8g
I need to change source first time and after that it is switching until I close modal. When I restart hass it is working correctly for some time.
Log line:
2018-03-13 21:42:52 INFO (SyncWorker_2) [homeassistant.components.media_player.onkyo] Resetting connection to onkyo

Nothing
Expected:
Change source and that's it.
Problem-relevant configuration.yaml entries and steps to reproduce:
- platform: onkyo
  host: <IP_ADDRESS>
  name: onkyo
  sources:
    dvd : 'Kodi'
    video2: 'NC+'
    fm: 'Radio'

it is happening on Firefox, Chrome and Chromium on Gnome.
I cannot reproduce issue on Chrome Android.

Onkyo mediaplayer: When you select the source, it will keep switching
Home Assistant
0.65.4
Custom UI 20180216
0.63.2 is ok.

the same happens also with the Sonos mediaplayer

Happening for me as well on my Onkyo using Safari on iPhone.  HA 0.65.3

Duplicate of #13112

Closing as duplicate per above.


Implement RPC endpoint for loading serialized Arrow record batches

e.g. load_table_binary_arrow. This would yield superior data import performance for clients that are able to create Arrow-formatted data in memory (see discussion in https://github.com/mapd/pymapd/pull/50)
I note that the codebase is accumulating a lot of usages of the ENABLE_ARROW_CONVERTER compiler definition. Would there be objections to make this a non-optional dependency? It is simple to build and does not introduce any additional transitive dependencies. We are quite committed to ensuring that the Arrow C++ libraries are a reliable thirdparty component for production applications, so if having this as a dependency in production caused you any problems, we would make fixing them a priority.

I'm fine with making it mandatory. @andrewseidl, we'll have to make sure that all the internal builds keep working.


Landing Page

Summary

Added the landing page as per Mary Kim's mockups

None listed.

Type of change

[ ] Bug fix (non-breaking change which fixes an issue).
[ ] Dependency updates (may include refactoring of a dependencies functionality).
[x] New feature (non-breaking change which adds functionality).

How Has This Been Tested?

Checklist:

[x] I have read the checklist.

Currently, the "Login with IDIR" button is a placeholder, until @Bottle7's button styles have been merged in


Setup absolute import

Let's configure absolute import and replace all large imports with this.
https://dev.to/mr_frontend/absolute-imports-in-create-react-app-3ge8

I would like to work in this one.


Mini White Bulbs appear as colored bulbs in Home App UI

 Thank-you for creating this plugin!! Native LIFX HomeKit was driving me crazy...very flaky..... I've only had the plugin for a day, but it's already solved all of my issues!
Describe The Bug:
 Low priority issue. The LIFX Mini White bulbs appear as colored bulbs within the Home app. All other bulbs and strips appear and operate as they should (color).
To Reproduce:
 Not required
Expected behavior:
 LIFZ Mini White bulbs should appear as a non-color dimmer, with no color selection options.
Logs:
Show the Homebridge logs here, remove any sensitive information.

Plugin Config:
Show your Homebridge config.json here, remove any sensitive information.

{
"name": "Lifx Plugin",
"duration": 0,
"brightnessDuration": 300,
"colorDuration": 300,
"broadcast": "<IP_ADDRESS>",
"lightOfflineTolerance": 3,
"messageHandlerTimeout": 45000,
"resendPacketDelay": 150,
"resendMaxTimes": 3,
"debug": false,
"autoDiscover": true,
"platform": "LifxPlugin"
}
Screenshots:

Environment:

Plugin Version: v0.1.9
Homebridge Version:  v1.3.8
Node.js Version:  v16.13.1
NPM Version:  v8.3.0
Operating System:  macOS Big Sur

Hello 7RDR7,
thank you for your feedback and your kind words. I am very happy that you like the plugin.
The latest update (0.1.10) should now show your LIFX Mini White bulbs as such!
I'm curious to hear your feedback, as I don't have any bulbs in use without colors myself.

Hello Calvarium,
Thank-you for the quick turnaround. I installed the update and the light now appears as a non-color light, but with temperature adjustment. The Mini White is fixed @ 2700K, so temperature adjustment is not supported, otherwise it works fine. LIFX does support temperature adjustment on their white candle lights, but I don't have any of those. Again, a low priority request. My other 23 color bulbs/strips are are working great! I just appreciate you building this plugin. Thanks again!

Hi 7RDR7,
thank you for making it possible to make this plugin even better.
The latest update (0.1.11) should fulfill all your wishes, your mini's should be displayed correctly now.

Perfect! Loaded and working. Thank-you! Issue closed.


[ADD]add route config for dubbo method

Use the method field in http to represent the calling method in dubbo.

@scaat Thanks for your contribution! I have sent out an invitation to you so you can get access to the github secret that stores the dockerhub credential.
Please accept the invitation and trigger the e2e test again.

@zhaohuabing I have triggered the e2e test again, but the error is still reported.

@zhaohuabing I have triggered the e2e test again, but the error is still reported.

Looks like a restriction of Github. I have modified the workflow, hopefully, it was fixed. Could you please rebase and push again?

@zhaohuabing I have triggered the e2e test again, but the error is still reported.

Looks like a restriction of Github. I have modified the workflow, hopefully, it was fixed. Could you please rebase and push again?


zed: delete by predicate

Add -predicate argument to zed delete command. The value of -predicate
is a simple zed predicate the must compare against the pool key of the
selected pool. If the flag is specified a commit will be created that
deletes all data that evaluates true for the expression.

This is local only, if we are ok with this approach I'll put up a pr that wire this up for remote lakes.


[DX] WebUI: Add spinner to setup button

Linked Issue
Closes #5255

Change Description
NB this is built on #5289 so the screen looks different from the current (0.93) UI.
Background
The current UI is not entirely clear that something is happening when the user clicks Setup.
New Feature
This PR adds a spinner so that it is clearer to the user that something is happening.
For now it is a default ReactJS component but it might be fun in time to create an axolotl-y version of something like this
Testing Details
How were the changes tested? Manually
Breaking Change?
Does this change break any existing functionality? (API, CLI, Clients): No

Additional info

replaced with https://github.com/treeverse/lakeFS/pull/5313


bpftop: 0.2.2 -> 0.2.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/Netflix/bpftop/releases.
meta.description for bpftop is: A dynamic real-time view of running eBPF programs
meta.homepage for bpftop is: https://github.com/Netflix/bpftop
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.2.3 with grep in /nix/store/nzq9974lksg4hdrvkygh9fjxssvc6i2y-bpftop-0.2.3
found 0.2.3 in filename of file in /nix/store/nzq9974lksg4hdrvkygh9fjxssvc6i2y-bpftop-0.2.3

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
bpftop

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/nzq9974lksg4hdrvkygh9fjxssvc6i2y-bpftop-0.2.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A bpftop https://github.com/r-ryantm/nixpkgs/archive/bc20b6717ad3cd4370dcbc943f67cbadf6d6b7f5.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/bc20b6717ad3cd4370dcbc943f67cbadf6d6b7f5#bpftop

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/nzq9974lksg4hdrvkygh9fjxssvc6i2y-bpftop-0.2.3
ls -la /nix/store/nzq9974lksg4hdrvkygh9fjxssvc6i2y-bpftop-0.2.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

bpftop

Maintainer pings
cc @0x4A6F @mfrw for testing.

Result of nixpkgs-review pr 292810 run on aarch64-darwin 1


[UI][DesignRuleMiner] Add search option for found design rules

After the results is displayed, there can be many items, makes it hard for users to find what they are looking for.
Add a search bar to filter found design rules based on keywords entered in the search bar.
If no result is found, prints a meaningful message.

Hey! I would like to work on this issue. Can you assign it to me?

We are going to start with a simple search (text matching).
If there is no result (e.g., because of typos), then display a message saying there is no result.


LM Studio Chinese Translation

LM Studio Chinese Translation

老哥牛逼

Please consider providing Simplified Chinese support on the UI.

@wuyongan thank you very much for the PR! We are planning how to support several Chinese language options, and we will handle this soon. Thanks

@wuyongan thank you very much for the PR! We are planning how to support several Chinese language options, and we will handle this soon. Thanks

Hello, I would like to ask if this issue can be solved within this week? thank you for your replies.

LM Studio 中文翻译

That's exactly what I meant. I have made a Simplified Chinese version of the local js file, but have not uploaded the corresponding folder. I look forward to its adoption as soon as possible.

Simplified Chinese language has been updated, 20240829

@wuyongan thank you very much for the PR! We are planning how to support several Chinese language options, and we will handle this soon. Thanks
Can I distinguish two independent languages in the language option, one is called Chinese (Simplified) and the other is called Chinese (Traditional), which can be directly regarded as two different languages

@wuyongan thank you very much for the PR! We are planning how to support several Chinese language options, and we will handle this soon. Thanks

Can you distinguish between two independent languages in the language options, one is called Chinese (Simplified) and the other is called Chinese (Traditional), directly regarded as two different languages？


[Epic] Runtime (project) test

Subtasks

[x] #1406
[x] #1407
[x] #1408
[x] #1591

This issue is closed as the project is no longer maintained


Cleanpaste plugin window freeze

Informations
Browser version: Chrome 60.0.3112.113
OS: Win 10
Screen resolution: desktop (irrelevant)
Trumbowyg version: 2.7.0
How to reproduce the bug?
Activate cleanpaste plugin and paste whatever into editor. It causes me to completely freeze the browser tab and wouldn't do anything - stops completely reacting and I found no way to debug it because DevTools freezes also.

+1, but in source code mode it works well

+1, same issue
Browser version: Version 61.0.3163.100
Trumbowyg version: 2.8.0

It appears that the root cause of this is that the content of the text editor is changed by the paste before any of the pasteHandlers are called. The code in cleanpaste that's used to detect what was pasted into the text editor can't work because it plugins don't have access to what the text was before the paste occurred. Perhaps difference detection should be removed and any time a paste occurs, all text in the editor should be cleaned?
My pull request does fix the freeze, but doesn't solve the root issue, and ends up pasting three copies of clipboard text whenever a paste event occurs (not ideal).

Should be OK in develop :)


make client sampler class

There are different ways of sampling clients. Currently we pass the sampling scheme and rate directly as algorithm arguments. It is better to make client sampler a seperate class and an instance is made and passed to the algorithm as argument instead.

An alternate solution is to create a ClientManager class and move the _client memory definition there. It would be more interesting if DataManager also supported assigning clients to partition indices (Mapping). The assignment could be defined by a ClientManager class's public API method. Thus, if the number of clients is less than the number of partitions, the selected partitions can be drawn in any predetermined order.


How about a new release with tool upgrades?

Any plans for a new release with updated tools set?
I can also contribute if you want.

I created this PR - https://github.com/HighwayofLife/kubernetes-validation-tools/pull/14 - hopefully this resolves the issue?

Yes, looks nice. Can any official contributor make a release?


tensorflow looks to be imported while it should not

System Info
optimum dev

Who can help?
/
Information

[ ] The official example scripts
[ ] My own modified scripts

Tasks

[ ] An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
[ ] My own task or dataset (give details below)

Reproduction
from optimum.onnxruntime import ORTModelForSequenceClassification

# output:
2022-11-10 19:06:29.724239: I tensorflow/core/util/util.cc:169] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.

Expected behavior
No message related to tensorflow, it's likely imported somewhere?

closing as it's a transformers issue


Update Add-VpnConnectionRoute.md

Added more description to Routemetric and DestinationPrefix.

for issue#https://github.com/MicrosoftDocs/windows-powershell-docs/issues/1833

Docs Build status updates of commit 58ee074:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/windows/vpnclient/Add-VpnConnectionRoute.md
:white_check_mark:Succeeded

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


haskell-ng.overrideScope drops all scopes except self

Example:
nix-repl> ((import <nixpkgs> {}).haskellngPackages.callPackage ({ stdenv }: stdenv.lib.licenses.bsd3) {}).overrideScope (_: _: {})
error: anonymous function at "(string)":1:55 called without required argument ‘stdenv’, at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/customisation.nix":58:12

nix-repl> ((import <nixpkgs> {}).haskellngPackages.callPackage ({ stdenv }: stdenv.lib.licenses.bsd3) {})
{ deepOverride = «lambda»; fullName = "BSD 3-clause \"New\" or \"Revised\" License"; override = «lambda»; overrideDerivation = «lambda»; overrideScope = «lambda»; shortName = "bsd3"; spdxId = "BSD-3-Clause"; url = "http://spdx.org/licenses/BSD-3-Clause"; }

The reason is that in
callPackageWithScope = scope: drv: args: (stdenv.lib.callPackageWith scope drv args) // {
  overrideScope = f: callPackageWithScope (fix (extend scope.__unfix__ f)) drv args;
};

defaultScope = pkgs // pkgs.xlibs // pkgs.gnome // self;
callPackage = drv: args: callPackageWithScope defaultScope drv args;

callPackageWithScope will call __unfix__ on defaultScope. But since only self has an __unfix__ attribute, the resulting scope will not contain any attributes from pkgs, pkgs.xlibs or pkgs.gnome anymore, so only the attributes of self are left.
/cc @peti

Duplicate of https://github.com/NixOS/nixpkgs/issues/6192. In short: we have a fix for this issue, but Nix runs out of memory trying to evaluate the package set with that fix applied.


Filter Update: Block youtube "enhanced bitrate Premium" popup spam

a while ago I started to get harassed by these every single time I seek or paused any video

you can see how often i get spammed by this video demo.
now i think I've got the rule setup right:
youtube.com##ytd-popup-container > tp-yt-paper-dialog:has(ytd-offline-promo-renderer)
youtube.com##.opened

the .opened class is to stop the black flicker every time ublock or any adblocker blocks the main element. its very noticeable.
I'm mainly using your sponsor block as i find the main one too aggressive for my needs.

Interesting, I'll try to replicate it and check if I can find it in the source code

I believe it might be ytd-video-quality-promo-renderer, can you try that instead?
youtube.com##ytd-video-quality-promo-renderer

nah I still get the popup with that, I'm pretty sure it's
you can also do it via
youtube.com##ytd-offline-promo-renderer

however
youtube.com##.opened

still needs to be blocked to stop the annoying flickering..
it's both div element ID & class

oh okay, the HTML hump helps a lot, let me see if I can target the parent instead

how's
youtube.com##ytd-popup-container:has(>tp-yt-paper-dialog>ytd-offline-promo-renderer)

that should block the popup, if you could send the HTML for the overlay backdrop that would be great, I'm hesitant to block something as large as the overlay-backdrop and I don't see any flags I can enable to reproduce your personal hell of premium popups

how's
youtube.com##ytd-popup-container:has(>tp-yt-paper-dialog>ytd-offline-promo-renderer)

that should block the popup, if you could send the HTML for the overlay backdrop that would be great, I'm hesitant to block something as large as the overlay-backdrop and I don't see any flags I can enable to reproduce your personal hell of premium popups

ya youtube.com##ytd-popup-container:has(>tp-yt-paper-dialog>ytd-offline-promo-renderer) works
if you want here is the whole page dump with no filtering on how it renders for me:
page dump.html.zip
but ya the flickering still occurs without blocking tp-yt-iron-overlay-backdrop at least.

I think
youtube.com##tp-yt-iron-overlay-backdrop.opened

would be the best of both worlds 😆 - catches backdrop and .opened
if there are no issues, I'll also merge it in without opened for better compatibility

added in https://github.com/mchangrh/yt-neuter/commit/979f38a01592ff1509d10cfd24cf2f20b1d40dcf


consistent title case capitalisation

currently, all over the place… let's use apa style title case capitalisation

yes, good idea!


Fix quant type handling in stablehlo-legalize-quant-to-int pass

Originally brought up at https://github.com/openxla/stablehlo/pull/2383#discussion_r1630510134
The stablehlo-legalize-quant-to-int pass propagated from mho (#2383 ) uses std::variant to handle per-tensor and per-axis quantized type. However, the base class quant::QuantizedType provides a better polymorphic way to accomplish the same.
Direction to reviewers
Please review the change only in the following commit: https://github.com/openxla/stablehlo/pull/2385/commits/ee8b499fa691bbb7b6b3948bdc581dce05abaa39
Reason: This PR is based on https://github.com/openxla/stablehlo/pull/2383 which is not merged yet and hence has many files which are already reviewed as part of #2383.

Can you merge main and push? Will make reviewing a bit easier.


Move Source metrics from TCPSourceNotifier into generic location

Otherwise we won't have any metrics for when we do kafka support.

@SeanTAllen Can we close this?

Why would we close it @jtfmumm?


Selectors with hyphen combinators parse successfully

If I have a selector a - b (using a hyphen character as the combinator), the library's parser will successfully parse this into the following AST:
{
    "type": "Selector",
    "rules": [
        {
            "type": "Rule",
            "items": [
                {
                    "type": "TagName",
                    "name": "a"
                }
            ],
            "nestedRule": {
                "type": "Rule",
                "items": [
                    {
                        "type": "TagName",
                        "name": "-"
                    }
                ],
                "nestedRule": {
                    "type": "Rule",
                    "items": [
                        {
                            "type": "TagName",
                            "name": "b"
                        }
                    ]
                }
            }
        }
    ]
}

This is confusing because if I run that same selector in document.querySelector I get the following error message:
Uncaught DOMException: Failed to execute 'querySelector' on 'Document': 'a - b' is not a valid selector.

I would expect the library to attempt to parse - as a combinator instead of a tag name (since - isn't a valid CSS identifier). As a user trying to validate CSS selectors to ensure that they are valid before downstream code tries to execute them in the browser I'd expect that the browser's semantics and the library's would be the same (so that I could not parse this selector).

Hello @ryandabler, thank you for reporting this. Fixed in version 3.0.5.


Laravel 9.x

This pull request includes changes from your build using the "Shift Workbench".
Before merging, you need to:

Checkout the shift-build-2349 branch
Review all comments for additional changes
Thoroughly test your application

Don't hesitate to send your feedback to<EMAIL_ADDRESS>or share your :heart: for Shift on Twitter.

:white_check_mark: Shift did not find any unnecessary attributes listed in the $dates property of your models.

:white_check_mark: Shift did not find any models which unnecessarily set the $table property.

:white_check_mark: Shift did not find any orderBy clauses which could be streamlined.


📝Add error handling for login and signup forms

Currently errors are thrown when login or signup fails and nothing else. We should handle these errors properly and display something back to the user.
Let's also look at how these log on the supabase dashboard.

[x] Create user context
[x] Create custom error message component

Closed by #78


not working

i have rebuilded app for my own gamepath and don't change anything else. also have followed all the instruction, except setting "Preferred refresh rate" cause there isn't such setting (my monitor is 75hz, maybe that's why). afterall, it doesn't work, and i don't know why.

SAME!
LG G SYNC 144 hz + 1080ti + windows 11
Read all your code in main class.
All stages passed, running not license steam version with/without steam logging.
I edited registry for true path, game launching but when I switched to your app windows - it just closed after running game, so I even couldn't to patch it (it seems its kind of trick or hack with window activity in PatchGame function that not able for me because main unlock app window closed after running game)


Manage XML output file size

Especially with ExifTool output, the XML files van get bulky very quickly. Some ideas on how to manage this:

Split output across multiple XML files, with user-defined upper limit on no. of reported PDFs per file. Then use numerical suffix like this:

pdfbatchqa001.xml
pdfbatchqa002.xml
...
pdfbatchqa999.xml

Support user-defined formatting string that controls reported ExifTool elements

Done: https://github.com/KBNLresearch/pdfbatchqa/commit/8a66432f6a4cd3b5997230e3b1f9c0bf39c71ca6


[ja] add Japanese translation of quick start of collector

Add Japanese translation of Quick Start page

@svrnm @chalin can you figure out why component owner check fails with this PR?

@svrnm @chalin can you figure out why component owner check fails with this PR?

they fail for all PRs because we are lacking permissions, I am currently waiting for the TC to help us with fixing that.

@ymotongpoo - is this a DRAFT because of the GH check failure? If so, you can remove the draft status.

@open-telemetry/docs-ja-approvers please take a look, we can only merge the PR with a review from a native speaker

@open-telemetry/docs-ja-approvers please take a look

@chalin this change was failed due to the fail of spelling checker for pt page. Could you take a look at the spell checker action configuration?

@chalin this change was failed due to the fail of spelling checker for pt page. Could you take a look at the spell checker action configuration?

I have a PR in place to fix that. Nevertheless we would need someone to review the translation.

@open-telemetry/docs-approvers Thank you @chalin and @svrnm for fixing the link check action. Now this PR is good to merge.


Sticker#pack_id is optional

Steps to reproduce
https://github.com/hikari-py/hikari/blob/bcf866e06e5ed961489142db85999d3a535f49aa/hikari/messages.py#L258-L259
Expected Result
https://github.com/discord/discord-api-docs/pull/3127/files#diff-160acb4654c611c67c4ee46b2ce5dda2be82212af8d1d00cd0256ef6edda1e95R341
Checklist

[x] I have made sure to remove ANY sensitive information (bot token, passwords,
credentials, personal details, etc).
[x] I have searched the issue tracker and have made sure it's not a duplicate.
If it is a follow up of another issue, I have specified it.

This isn't a bug anymore, they've stopped sending the "stickers" field on messages all together


[Docs] forEach

In http://horizon.io/api/collection/#fetch the docs say:

The Observable returned by fetch or watch may be iterated through with subscribe or forEach, or converted to an array with toArray.

const hz = Horizon();

hz("messages").fetch().subscribe(
    result => console.log('Result:', result),
    err => console.error(err),
    () => console.log('Results fetched')
);

How can I iterate a fetch  query with forEach?
const hz = Horizon();

// Of course this doesn't work
hz("messages").fetch().forEach(
    result => console.log('Result:', result),
    err => console.error(err),
    () => console.log('Results fetched')
);

Hi @hnordt ,
While you can technically use forEach to iterate over results from a .fetch() it's usually not too useful, since what you'll be iterating is a single element that contains an array (or in the case of a .find query, a single object).
I would suggest doing something like:
hz('messages').fetch().subscribe({
 next(results) {
   for (const result of results) {
    ...
   }
 },
 error(err) { ... },
 complete() { ... }
})

forEach is documented here, basically it returns a promise, which you can chain to or call .catch on to handle errors, so forEach itself only accepts one argument. forEach is a lot more useful on .watch() queries though, since you'll get more than one result

I've opened an issue in our docs repo: rethinkdb/horizon-docs#56 to not suggest using forEach for fetch


Setup first test

This is another pain point that was hurting badly when attempting to use and extend Quill. There is no automatic testing. I'm working to add full testing to all core features of Visual Editor. This will take some effort and I'll be happy to receive help from any of you. So far I'm yet to setup the testing framework.
Join on discord to get advice and help or follow us on YouTube Visual Coding to learn more about the architecture of Visual Editor and other Flutter apps.

We've started the first test example. More will come soon.


[Bug] select button xbox controller shield tv

Device
Other
Device name
nvidia shield tv pro 2019
Android Version
11
App version
0.11. 0
Script version
3.5.3
WebView name and version
No response
Reproduction Steps
hello, I use the app better xcloud on my shield tv pro. it is very good but the select button of my Xbox controller doesn't work, it's not recognized by the app. Thank you for your work and for helping me.

This is a Shield TV specific problem caused by a system modification by NVIDIA that remaps some controller buttons on a system level.
You can solve this by disabling the following system package …
NVIDIA ShieldTech
com.nvidia.shieldtech.hooks
A comfortable way to do this wold be to use the ADB TV app:
https://play.google.com/store/apps/details?id=com.cybercat.adbappcontrol.tv
After disabling the package and restarting your Shield, all controller buttons should work as expected. Including the middle Nexus button, that can now be used to open the Xbox guide menu.

thank you for you tops, my controller works perfectly now :-) Le 21 avr. 2024 23:47, KingNothing81 @.***> a écrit :
This is a Shield TV specific problem caused by a system modification by NVIDIA that remaps some controller buttons on a system level.
You can solve this by disabling the following system package …
NVIDIA ShieldTech
com.nvidia.shieldtech.hooks
A comfortable way to do this wold be to use the ADB TV app:
https://play.google.com/store/apps/details?id=com.cybercat.adbappcontrol.tv
After disabling the package and restarting your Shield, all controller buttons should work as expected. Including the middle Nexus button, that can now be used to open the Xbox guide menu.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


docu: update install instructions

This is due to go get deprecation
'go get' is no longer supported outside a module.

Duplicate: #667


Question on vertex embedding

Hi,
I find the paper very interesting and to read through.
However, I have a question regarding the final learned embedding.
In Algorithm 1, line 6, the model learns an embedding of a vertex specific to the relation, which is also evident through eq. 6 and 13. This means that a vertex has different embedding for each view.
I could not find or understand in experimental section which embedding are you using for link prediction, OR are you combining these different embedding, if yes, then how?
Thanks.

Hi,
Thank you for your attention. For the link prediction task of each view, we use the corresponding node embedding of that view. The final experimental results are averaged among the selected views.


Prepare for being included via crates.io into std

This commit prepares the libc crate to be included directly into the
standard library via crates.io. More details about this can be found on
rust-lang/rust#56092, but the main idea is that this crate now depends
on core/compiler-builtins explicitly (but off-by-default).
The main caveat here is that this activates no_core when building as
part of libstd, which means that it needs to explicitly have an iter
and option module for the expansion of for loops to work.

@alexcrichton: no appropriate reviewer found, use r? to override

r? @gnzlbg

LGTM.

@bors: r=gnzlbg

:pushpin: Commit 05ff16226f139e52f61b2a9fa18096411d0d2841 has been approved by gnzlbg

:lock: Merge conflict
This pull request and the master branch diverged in a way that cannot be automatically merged. Please rebase on top of the latest master branch, and let the reviewer approve again.
How do I rebase?
Assuming self is your fork and upstream is this repository, you can resolve the conflict following these steps:

git checkout rustc-test (switch to your branch)
git fetch upstream master (retrieve the latest master)
git rebase upstream/master -p (rebase on top of it)
Follow the on-screen instruction to resolve conflicts (check git status if you got lost).
git push self rustc-test --force-with-lease (update this PR)

You may also read Git Rebasing to Resolve Conflicts by Drew Blessing for a short tutorial.
Please avoid the "Resolve conflicts" button on GitHub. It uses git merge instead of git rebase which makes the PR commit history more difficult to read.
Sometimes step 4 will complete without asking for resolution. This is usually due to difference between how Cargo.lock conflict is handled during merge and rebase. This is normal, and you should still perform step 5 to update this PR.

Error message
Auto-merging src/windows.rs
Auto-merging src/unix/mod.rs
Auto-merging src/lib.rs
CONFLICT (content): Merge conflict in src/lib.rs
Auto-merging libc-test/build.rs
Automatic merge failed; fix conflicts and then commit the result.

:umbrella: The latest upstream changes (presumably #1129) made this pull request unmergeable. Please resolve the merge conflicts.

:sunny: Test successful - status-appveyor, status-travis
Approved by: gnzlbg
Pushing 03310f8ad668eb66b21db91ccb0b93e3ac4c5207 to master...


Batch verification of AggQC

The AggQC is not batch verified:
https://github.com/Zilliqa/zq2/blob/main/zilliqa/src/consensus.rs#L1809

The comment in the code claims that calling verify_messages(agg.signature, &messages, &public_keys) from bls_signatures
https://docs.rs/bls-signatures/latest/bls_signatures/fn.verify_messages.html
will not work atm - why?

I guess I spotted why it didn't work.
The signatures that are aggregated in an AggregateQC were created as part of NewView messages by signing the block hash, the view number and the signer's public key in
https://github.com/Zilliqa/zq2/blob/main/zilliqa/src/message.rs#L163-L166
However, the batch verification of the AggregateQC uses the signers' indices in the validator set and not their public keys. Thus, we verify the signatures against incorrect messages in
https://github.com/Zilliqa/zq2/blob/main/zilliqa/src/consensus.rs#L1794-L1798

Well spotted, thank you :)


Fix parent_process recursion and add grandparent_process

Related Issue
#1108
Description of changes:
In an effort to limit the potentially limitless recursion within parent_process being typed as a process and to get a more straightforward approach to modeling both it and grandparent process I made the following changes.

parent_process is now its own distinct Object, changes are mostly flavor but most notably it is no longer self-referential due to the current version being typed as a process object.
Added a new grandparent_process but instead of starting it from parent_process, it also lives within the process object, this prevents an unnecessary (IMHO) extra layer of depth in the schema, which is already very deep depending if process is referred to from actor or evidences.

These changes do not break the current Observable for process nor does it break the Process Name or Process ID observables.
However, these can negatively impact mappers who are using the extra layer of depth to model grandparent processes under the current mechanism of process.parent_process.parent_process. This data is available from several EDR and APM tools.

After reading the issue and this pull request, I don't understand why this is something that needs fixing.
The recursive structure of the process object feels natural to me.
It matches the recursive nature of the "process tree" which is normally used to describe process genealogy.
Also, it is easy to stop the recursion by omitting the parent_process field at the depth that the implementer chooses.
Digging into your example from the issue on representing a grandparent inside of evidences from the linked issue:
It seems that if you have a process that is involved in a detection and you have some info on its parent and grandparent, then process.parent_process.parent_process is exactly the structure to use.
What is a grandparent if not the "parent of the parent"?
Furthermore, adding these objects and fields creates more ways to express process genealogy, which will reduce clarity in how to express this concept in OCSF.

I don't really understand what real problem this PR is seeking to address. An OCSF implementation which features "potentially limitless recursion" when walking up the process hierarchy is to my mind a defective OCSF implementation. The documentation for the parent_process attribute specifically cautions against excessive recursion. Implementations must heed this guidance.
And even though this PR wouldn't solve any real problem, it would introduce (at least) three problems:

This is a breaking change, and a significant one at that. The data type of the parent_process attribute in the dictionary is changing from a process object to the new parent_process object. This will break any existing implementation. My view is that this issue alone should render this PR a complete non-starter.

At least some OCSF implementations - possibly most - will have data types (classes, structs, etc.) defined in their programming language of choice to represent OCSF entities like events and objects. This PR would mean going from one data type to represent a process to having three, depending on where the process sits in the three-level hierarchy. Think of all the places where this would introduce complexity in the code.

The appropriate level of recursion to implement should be for individual vendors to decide. Some may favour a denormalised approach, attaching greater value to having immediate access right up to to grandparent level or even beyond. Others may prefer to minimise the size of individual events. This PR enforces three as the appropriate size of a process hierarchy, and effectively restricts all vendors to that.

@jonrau-at-queryai I agree with the general sentiments laid out above. These were pretty much the reasons we opted for a recursive definition of the parent_process object. But I am sure, all of us here would be happy to chat about it on the Tuesday call if you would like to.

Thanks for the feedback gents! This is exactly what I was looking for, the recursion is (self-inflicted) issue of sorts at Query for auto-generating schema for our mapping and nested search engines, where we have to set upper limits on depth.
Wasn't sure if it annoyed other folks beyond that "us" problem. I'll go ahead and close this up, since it's ultimately a waste of time.

Thanks, Jonathan.
FWIW, unless something is a simple "non-structural" change that's unlikely to be controversial, I tend to float any proposals in the schema channel on Slack before doing any work. Feedback comes relatively quickly there, and this can avoid the hassle of issue+PR if the community takes a different view.

Thanks, Jonathan.
FWIW, unless something is a simple "non-structural" change that's unlikely to be controversial, I tend to float any proposals in the schema channel on Slack before doing any work. Feedback comes relatively quickly there, and this can avoid the hassle of issue+PR if the community takes a different view. To be clear, it's not necessary to take this step but I like getting the provisional thumbs-up there before proceeding with the more formal submission.

Agreed. Perhaps a topic of discussion in the upcoming Tuesday meeting or one of our workstream meetings.


{region}.{language}.json update

Hi! Will you update {region}.{language}.json in the future? These files are really helpful!
If you won't update these json, how can I get these title database by myself? Thank you!!!
I just need the icon image and screenshot url in the database. I can get JPN titles on the webpage, but cannot find the urls in USA/EUR/HK/KOR/CHN region.

They will be updated soon, there were some CDN changes / upgrades made which broke stuff.

https://github.com/blawar/titledb/commit/ef4d1a22a8eb9a29721e6836da68dca298581041


Stuttering cursorline in newer versions of vim

Description
While scrolling through files with cursorline and cursorcolumn enabled, the cursorcolumn stutters when the lines it scrolls through are of variable length, i.e., the lines through which the cursor jumps rapidly back and forth while scrolling. This happens specifically when cursorcolumn and syntax is enabled. If the back and forth jumping isn't understood well then steps to reproduce will be of help.
WHILE READING STEPS TO REPRODUCE, MAKE SURE 'k' IS HELD DOWN WHILE SCROLLING
Steps to Reproduce

Run 'vim --clean'
Open this sample file inside of the 'vim --clean' session.
Move to the bottom of the file and place your cursor on/underneath 't' in 'tokyonight'.
'set cursorline' and 'syntax on'
Now scroll upwards about 20-30 lines using 'k'. (All movements done using the keyboard)
No stutter is noticed.
Now place the cursor back underneath 't' in 'tokyonight' at the bottom of the file.
set cursorcolumn
Now scroll upwards about 20-30 lines using 'k'.
Stuttering of the cursorline is noticable.
syntax off
Now place the cursor back underneath 't' in 'tokyonight' at the bottom of the file.
Now scroll upwards about 20-30 lines using 'k'.
No stutter is noticed.

Expected behavior
No stutter with cursorline enabled along with cursorcolumn & syntax together, when scrolling through a file with lines of variable length where the cursor jumps back and forth rapidly while scrolling due to the default behavior of vim to focus on words or can say to jump to specific words on every line while scrolling.
Environment

Vim version: VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Sep 15 2021 21:48:21)
OS: Archlinux
Terminal: urxvt and alacritty.
Terminal: urxvt and alacritty.
TERM: 'xterm-256color'

Additional context
This stuttering of cursorline occurs when both the cursorcolumn and syntax are enabled.

This is not very clear. Please start with vim --clean to reproduce and mention exactly how you scroll (mouse, keyboard, etc). Also please test the most recent vim version. It may also depend on what your $TERM is set to. There were some patches to make cursorline scrolling better, not sure why it did not help. It may also depend on you syntax scripts. so test with and without syntax highlighting please.
Second of all, this might depend on your system (e.g. graphics driver etc). So please give more details. And finally, it would probably need profiling to figure this out.

This is not very clear. Please start with vim --clean to reproduce and mention exactly how you scroll (mouse, keyboard, etc). Also please test the most recent vim version. It may also depend on what your $TERM is set to. There were some patches to make cursorline scrolling better, not sure why it did not help. It may also depend on you syntax scripts. so test with and without syntax highlighting please.
Second of all, this might depend on your system (e.g. graphics driver etc). So please give more details. And finally, it would probably need profiling to figure this out.

Hey I've been able to trackdown the problem. The stutter during scroll occurs due to cursorcolumn. I'm sorry that I might not have been able to convey my problem in a report properly but this post on reddit might help.

I played around and can see the issue too. In particular, if cursorcolumn and syntax on are both set, it seems to be really bad, regardless of whether cursorline is on (since I do remember there were some performance fixes regarding cursorline and relativenumber before).
I am using let g:profstart=reltime() | for i in range(1,50) | exec "normal \<C-E>" | redraw | endfor | echo reltimestr(reltime(g:profstart)) . ' seconds' to profile, and turning on cursorcolumn makes it 20x slower (From 0.02s to 0.40s) for me. I think maybe Vim is repainting the regions instead of issuing scroll commands but not sure. I was testing this on Apple Terminal which is not hardware accelerated. A hardware-accelerated terminal will probably be able to handle this better.

Same here, I use mostly python files (syntax on, cursorcolumn and cursorline) and vim stutters with cursorcolumn but works fine with nocursorcolumn (no other changes, so this is not a cursorline issue).
Vim version 8.2.3455, tried on multiple terminals (alacritty, rxvt-unicode, st, xterm and zutty).

I played around and can see the issue too.
I'm glad you noticed it. It was kinda' hard for me to explain. I mean it is pretty obvious to the eye but hard to convey in a textual format.
I was testing this on Apple Terminal which is not hardware accelerated. A hardware-accelerated terminal will probably be able to handle this better.
No. I tried this on Alacritty but didn't work as expected. I still see the same amount of stuttering. And gvim must be suffering from an existential crisis.

To see whether Vim uses terminal commands to scroll text up or down or
redraws the text character by character, you can set the 'writedelay'
option.  Just setting it to one might already work, otherwise try larger
values.
--
hundred-and-one symptoms of being an internet addict:
78. You find yourself dialing IP numbers on the phone.
/// Bram Moolenaar -- @.*** -- http://www.Moolenaar.net   \
///                                                                      \
\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

There's not much info about 'writedelay' in vim help, but 'set writedelay=1' forces the entire terminal window to refresh for every action I do. In simple words content of the terminal is drawn from top to the bottom after every action.

Also for gvim --clean? For me (with 'cursorcolumn' set and) going down one line using j it just redraws the area under the cursor in the old current line and the new current line (if the column doesn't change). If the column changes, Vim redraws the up to until the new (or old column) (depending on which one is farther to the right).
Perhaps some options negatively effect it (like relativenumbering, concealing, cursorline and cursorcolumn).

Also for gvim --clean? For me (with 'cursorcolumn' set and) going down one line using j it just redraws the area under the cursor in the old current line and the new current line (if the column doesn't change). If the column changes, Vim redraws the up to until the new (or old column) (depending on which one is farther to the right).

Yes, you're correct. Only the area under the cursorline gets refreshed. I started editing from the top most line, that's why the whole window was being refreshed from top to bottom. Now I tried it with more operations and I've noticed :

No line gets refreshed when inserting text but just the area around cursor on that specific line.
When any operation makes the other lines move only then does the area below the cursorline gets refreshed/redrawn.
The cursorcolumn is redrawn very frequently as compared to the cursorline because moving the cursor sideways doesn't redraw the cursorline, similarly moving the cursor up/down shouldn't redraw the cursorcolumn but since the cursor doesn't stay in the same column, the cursorcolumn has to be redrawn.

The frequent redrawing of the cursorcolumn explains a little bit of the 'steps to recreate' I made. I mentioned that scrolling through files with lines of variable length so that the cursor frequently moves back and forth causing the cursorline to lag but whenever the cursor was static along the row, keeping the cursorcolumn static as well, did not cause the curosorline to lag. So I think it must be the frequently redrawn cursorcolumn that's causing the lag.
Anyways, I don't know much about the technical stuff, so my assumptions could be terribly wrong.

Also for gvim --clean? For me (with 'cursorcolumn' set and) going
down one line using j it just redraws the area under the cursor in
the old current line and the new current line (if the column doesn't
change). If the column changes, Vim redraws the up to until the new
(or old column) (depending on which one is farther to the right).

Yes, you're correct. Only the area under the cursorline gets
refreshed. I started editing from the top most line, that's why the
whole window was being refreshed from top to bottom. Now I tried it
with more operations and I've noticed :

No line gets refreshed when inserting text but just the area around cursor on that specific line.
When any operation makes the other lines move only then does the area below the cursorline gets refreshed/redrawn.
The cursorcolumn is redrawn very frequently as compared to the cursorline because moving the cursor sideways doesn't redraw the cursorline, similarly moving the cursor up/down shouldn't redraw the cursorcolumn but since the cursor doesn't stay in the same column, the cursorcolumn has to be redrawn.

The frequent redrawing of the cursorcolumn explains a little bit of
the 'steps to recreate' I made. I mentioned that scrolling through
files with lines of variable length so that the cursor frequently
moves back and forth causing the cursorline to lag but whenever the
cursor was static along the row, keeping the cursorcolumn static as
well, did not cause the curosorline to lag. So I think it must be the
frequently redrawn cursorcolumn that's causing the lag.
Anyways, I don't know much about the technical stuff, so my
assumptions could be terribly wrong.

Vim already does some optimization for redrawing the cursorline and
cursorcolumn, but at the same time the redrawing may require a full
redraw of lines when certain options are set, text is changed and syntax
highlighting is used, etc.  We can't optimize every situation.
If you find the slow redrawing annoying, you'll have to disable the
cursorcolumn.  Or find out what else matters, e.g. line numbering and
other options that change how text is displayed.
--
From "know your smileys":
¯_(ツ)_/¯   Shrug
/// Bram Moolenaar -- @.*** -- http://www.Moolenaar.net   \
///                                                                      \
\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

I can confirm that writedelay seems to suggest that Vim is correct only redrawing when necessary.
One weird thing I noticed was that vim --clean would not have the issue, but vim -u NONE -U NONE would. After mucking around a little, I think the set scrolloff=5 line in defaults.vim is helping out a lot, and if you set scrolloff back to 0, then you would see the slowed down scrolling more. Haven't investigated enough but just thought I would put it out why vim --clean may feel fine.

Also for gvim --clean? For me (with 'cursorcolumn' set and) going > down one line using j it just redraws the area under the cursor in > the old current line and the new current line (if the column doesn't > change). If the column changes, Vim redraws the up to until the new > (or old column) (depending on which one is farther to the right). Yes, you're correct. Only the area under the cursorline gets refreshed. I started editing from the top most line, that's why the whole window was being refreshed from top to bottom. Now I tried it with more operations and I've noticed : - No line gets refreshed when inserting text but just the area around cursor on that specific line. - When any operation makes the other lines move only then does the area below the cursorline gets refreshed/redrawn. - The cursorcolumn is redrawn very frequently as compared to the cursorline because moving the cursor sideways doesn't redraw the cursorline, similarly moving the cursor up/down shouldn't redraw the cursorcolumn but since the cursor doesn't stay in the same column, the cursorcolumn has to be redrawn. The frequent redrawing of the cursorcolumn explains a little bit of the 'steps to recreate' I made. I mentioned that scrolling through files with lines of variable length so that the cursor frequently moves back and forth causing the cursorline to lag but whenever the cursor was static along the row, keeping the cursorcolumn static as well, did not cause the curosorline to lag. So I think it must be the frequently redrawn cursorcolumn that's causing the lag. Anyways, I don't know much about the technical stuff, so my assumptions could be terribly wrong.
Vim already does some optimization for redrawing the cursorline and cursorcolumn, but at the same time the redrawing may require a full redraw of lines when certain options are set, text is changed and syntax highlighting is used, etc. We can't optimize every situation. If you find the slow redrawing annoying, you'll have to disable the cursorcolumn. Or find out what else matters, e.g. line numbering and other options that change how text is displayed.
…
-- From "know your smileys": ¯_(ツ)_/¯ Shrug /// Bram Moolenaar -- @.*** -- http://www.Moolenaar.net \\ /// \\ \\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\ help me help AIDS victims -- http://ICCF-Holland.org ///

Okay. Closing the issue.


[HW] Edgardo Zambrano

Name: Edgardo Zambrano
Email<EMAIL_ADDRESS>Linkedin Profile: https://www.linkedin.com/in/edgardo-zambrano-991154209/
Attach the homework step I screenshots below:

Create Database

Deploy to Netlify

Access YOUR GitHub repository

Launch Gitpod IDE

Install the Netlify CLI (Command Line Interface)

Generate application token to securely connect to the database

Configure and connect database

Launch your app

Connect Netlify to your site

Deploy to production

Attach the homework step II screenshots below:

Connect to the database

Find

Hey Edgardo Zambrano, great job! Congrats! Here is your badge! https://api.badgr.io/public/assertions/pfFD1YCBQDy9h90e6swhkg


adding print button

Adding a print button to print the Gantt chart.
The print button is always at the beginning of the chart.
The user can print a PDF version of the Gantt chart and save it locally.

Hi @GiorgiaMenegoni 👋🏽,
Thanks for your PR. In my opinion, this isn't a very elegant solution for a couple reasons:

The print button doesn't disappear in the generated HTML
Actually, HTML is being generated - which the user then must save to a PDF.
It would be nicer if users could click just one button to have a JPEG generated.
There are other modes of data export that are needed.

Along these lines, we're going down the route of #294. We'll use this as reference, and thanks again.


namespaceSelector of GlobalNetworkPolicy doesn't work right

I apply follow gnp into my cluster, and there isn't any other policy on my cluster.
apiVersion: projectcalico.org/v3
kind: GlobalNetworkPolicy
metadata:
  name: gnp-ns-a
spec:
  namespaceSelector: 'ns == "ns-a"'
  ingress:
    - action: Allow
      source:
        namespaceSelector: 'ns == "yx"'
  egress:
    - action: Allow
      destination:
        namespaceSelector: 'ns == "kk"'

Here are the info of endpoints in namespace "ns==yx"
[root@node01 nptest]# kubectl get ns yx --show-labels
NAME   STATUS   AGE   LABELS
yx     Active   12d   kubernetes.io/metadata.name=yx,ns=yx

[root@node01 nptest]# calicoctl get workloadEndpoints -n yx
NAMESPACE   WORKLOAD   NODE     NETWORKS            INTERFACE
yx          yx-res-a   node02   <IP_ADDRESS>/32   cali29c55fed572

Expected Behavior
It's supposed that there weren't any extra iptables rules that generated for above gnp for above workloadEndpoints.
Current Behavior
But in fact, there are new iptables rules generated both on cali-tw chain and cali-fw chain. I only paste the egress chain here.
[root@node02 ~]# iptables -S cali-fw-cali29c55fed572
-N cali-fw-cali29c55fed572
-A cali-fw-cali29c55fed572 -m comment --comment "cali:LEbaDdE_QSxrEbFP" -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A cali-fw-cali29c55fed572 -m comment --comment "cali:q_wseGI3WdPYfQ-S" -m conntrack --ctstate INVALID -j DROP
-A cali-fw-cali29c55fed572 -m comment --comment "cali:qufuzT1OE7tWPV2m" -j MARK --set-xmark 0x0/0x10000
-A cali-fw-cali29c55fed572 -p udp -m comment --comment "cali:HRw5Afh16d2NV4eI" -m comment --comment "Drop VXLAN encapped packets originating in pods" -m multiport --dports 4789 -j DROP
-A cali-fw-cali29c55fed572 -p ipv4 -m comment --comment "cali:cXkyx-XmxsFWf5tq" -m comment --comment "Drop IPinIP encapped packets originating in pods" -j DROP
-A cali-fw-cali29c55fed572 -m comment --comment "cali:AfgoqSZE1qGFRzaA" -m comment --comment "Start of policies" -j MARK --set-xmark 0x0/0x20000
-A cali-fw-cali29c55fed572 -m comment --comment "cali:myRwsPrQiorl-Bhf" -m mark --mark 0x0/0x20000 -j cali-po-default.gnp-ns-a
-A cali-fw-cali29c55fed572 -m comment --comment "cali:Q3dpwmInHFr8z4cZ" -m comment --comment "Return if policy accepted" -m mark --mark 0x10000/0x10000 -j RETURN
-A cali-fw-cali29c55fed572 -m comment --comment "cali:zJLRDEYWWADmwa7V" -m comment --comment "Drop if no policies passed packet" -m mark --mark 0x0/0x20000 -j DROP
-A cali-fw-cali29c55fed572 -m comment --comment "cali:BSoZVvz-PykZFTsx" -j cali-pro-kns.yx
-A cali-fw-cali29c55fed572 -m comment --comment "cali:8Tb5si2SXMwSYUD_" -m comment --comment "Return if profile accepted" -m mark --mark 0x10000/0x10000 -j RETURN
-A cali-fw-cali29c55fed572 -m comment --comment "cali:eXQxzk107bQagzwM" -j cali-pro-ksa.yx.default
-A cali-fw-cali29c55fed572 -m comment --comment "cali:QY3sp3jd_FMAf8XA" -m comment --comment "Return if profile accepted" -m mark --mark 0x10000/0x10000 -j RETURN
-A cali-fw-cali29c55fed572 -m comment --comment "cali:G1oviYL9NI70Is4g" -m comment --comment "Drop if no profiles matched" -j DROP

[root@node02 ~]# iptables -S cali-po-default.gnp-ns-a
-N cali-po-default.gnp-ns-a
-A cali-po-default.gnp-ns-a -m comment --comment "cali:Tuu9jIvKVRvZM-C3" -m set --match-set cali40s:RRXX1bw0XxZ0EYSh8dx8Mi3 dst -j MARK --set-xmark 0x10000/0x10000
-A cali-po-default.gnp-ns-a -m comment --comment "cali:fxCRIjZ2450-v8Dw" -m mark --mark 0x10000/0x10000 -j RETURN

[root@node02 ~]# ipset -L cali40s:RRXX1bw0XxZ0EYSh8dx8Mi3
Name: cali40s:RRXX1bw0XxZ0EYSh8dx8Mi3
Type: hash:net
Revision: 6
Header: family inet hashsize 1024 maxelem 1048576
Size in memory: 344
References: 3
Number of entries: 0
Members:

I can't understand the reason. As iptables rules show, pods on namespace yx can't access any pods except themself. Actually, no, they can't. Not to metion pods on yx to access pods on ns-a. By the way, iptable rules for endpoints on ns-a are generated as expected.
I think it shall be a bug.
Your Environment

[root@node02 ~]# calicoctl version
Client Version:    v3.19.1
Git commit:        6fc0db96
Cluster Version:   v3.8.2
Cluster Type:      k8s,bgp,kdd
[root@node02 ~]# kubectl version
Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.1", GitCommit:"5e58841cce77d4bc13713ad2b91fa0d961e69192", GitTreeState:"clean", BuildDate:"2021-05-12T14:18:45Z", GoVersion:"go1.16.4", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.1", GitCommit:"5e58841cce77d4bc13713ad2b91fa0d961e69192", GitTreeState:"clean", BuildDate:"2021-05-12T14:12:29Z", GoVersion:"go1.16.4", Compiler:"gc", Platform:"linux/amd64"}

@yanxinfire looks like you're using a very old version of Calico (v3.8) that is several years old at this point. The latest version is v3.20.
Please try reproducing on a modern version - v3.8 does not have support for namespaceSelector the way you are using it - it was introduced later.

@yanxinfire looks like you're using a very old version of Calico (v3.8) that is several years old at this point. The latest version is v3.20.
Please try reproducing on a modern version - v3.8 does not have support for namespaceSelector the way you are using it - it was introduced later.

Thank you very much! I tried it in version 3.19, it worked as expected. I'm really sorry for that I didn't notice the version.


Added configurable baseline grid to

Added a configurable baseline grid to Grid Overlay to aid with implementation of baseline adjusted designs

🔥


nodejs: 7.1.0 -> 7.2.0

Things done

Built on platform(s)

[x] NixOS
[x] macOS
[ ] Linux

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

nodejs 7.2.0 depends on libuv 1.10.1
nodejs release notes
libuv changelog

This doesn't seem to be compiling for me (can't find relevant logs.) Can you check in to it?

I picked the libuv commit.

@vcunat Thanks, I’ve rebased this branch.
@grahamc I’ve just tested it on nixos and and compiles without any problems for me. Can you provide any more details what exactly did not work?

Closing in favor of #20975.


Simplify starter project, add TOUR.md

I'll add a simple-nix later.

Implying simple-nix actually exists :wink:


Vue.js template: Use async/await

@muratg,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

@SteveSandersonMS FYI

@muratg is this the only place in the app it needs to be updated?

@Eilon I took a quick look at the other SPA templates and this one was the only one I could find.  I'll take another look and will also take a look at other templates as well.

Thanks @muratg! This is now merged.
I made a couple of minor tweaks - hope that's OK. Removed the try/catch because this can be handled upstream, and replaced a let with const for clarity.


Licencing

While investigating with markdown usage in haskell, it's noted that pandoc is GPL'ed. Although Pandoc authors seems not be very aggressive in reinforcing that.
ref: http://code.google.com/p/pandoc/issues/detail?id=175
Yesod blog has a wish list which specifically states the dilemma: http://docs.yesodweb.com/blog/wishlist

By my understanding this library must be GPL. Please upload a new version with a GPL license (I think that is supposed to be a major version bump).

We could see if @pbrisbin interested in taking over maintenance of this package.

Are you sure about that? My understanding is that I am allowed to release my code under a BSD license, just that the combined product of linking this software with Pandoc is GPL. (So if you distributed a linked binary it would be under the GPL.)

I am not a legal scholar, and I understand this issue is not straight-forward.
However, the FSF's stance on the issue seems fairly straight-forward:
http://www.gnu.org/licenses/gpl-faq.html#IfLibraryIsGPL
The BSD license and GPL are compatible. If I am reading the FAQ correctly, then that means although BSD code can be used with GPL, the combination must be released as GPL.
So, technically it may be possible to BSD license this code because you are using cabal to distribute the GPL pandoc code, but this strategy seems potentially mis-leading at best.

Hey guys, just wanted to say I have a version of this under the umbrella of my goodies repo. I dropped the macros but I do keep it compiling and have added back in sanitization by default. I've got no problems releasing that and taking over as maintainer. I haven't given much thought to licensing but I think since it uses pandoc internally it should be GPL.

If you want to take it over that is fine with me.


Webhook table is not update correctly

Gitea version (or commit ref): docker gitea latest
Git version:
Operating system:

Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[x] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No

Log gist:

Description

Reproduce

Login
Jump to <repo>/user/settings/applications.
Edit existing "OAuth2 Applications"
Change Redirect URI from port A to port B.
Save
Refresh webpage.

Expect:
Webhook redirect to port B without restart docker.
Current:

Docker logging complain on port A, "connect: connection refused"
Besides, webhook which worked at port A, not working at port B.

Slightly debug:
database "gitea/gitea.db"
table "webhook"
field "url" is still port A.
Screenshots

Oauth settings don't change webhook settings, if you want to update webhooks you'll need to do that in webhook settings.


POC: support customised (de)serialiser for edm type.

We would like to provide the flexibility so the users can decide for a specific edm type (e.g. Edm.Int32), which js/ts type it will be deserialised to by using which library.

[x] custom middleware to define a mapping from edm type to (de)seralizer
[x] when executing the request with your own middleware, the SDK will search for your (de)serialiser first then use default one as fallback.

Example from our discussion:
// Default entity builder usage
const a = TestEntity.builder().int32Property(1).build();
// Default create request
TestEntity.requestBuilder().create(a).execute();

// Transformed entity builder usage
const b = TestEntity.builder(serializers).int32Property('test').build();
// Transformed create request
TestEntity.requestBuilder(serializers).create(b).execute();

Example from our discussion:
// Default entity builder usage
const a = TestEntity.builder().int32Property(1).build();
// Default create request
TestEntity.requestBuilder().create(a).execute();

// Transformed entity builder usage
const b = TestEntity.builder(serializers).int32Property('test').build();
// Transformed create request
TestEntity.requestBuilder(serializers).create(b).execute();

Hi @artemkovalyov , based on my proposal demonstrated in the meeting, we had new ideas. Please find @marikaner's examples below:

Example from our discussion:
// Default entity builder usage
const a = TestEntity.builder().int32Property(1).build();
// Default create request
TestEntity.requestBuilder().create(a).execute();

// Transformed entity builder usage
const b = TestEntity.builder(serializers).int32Property('test').build();
// Transformed create request
TestEntity.requestBuilder(serializers).create(b).execute();

You can also find the adjusted code above.

Hi @artemkovalyov , based on my proposal demonstrated in the meeting, we had new ideas. Please find @marikaner's examples below:

Example from our discussion:
// Default entity builder usage
const a = TestEntity.builder().int32Property(1).build();
// Default create request
TestEntity.requestBuilder().create(a).execute();

// Transformed entity builder usage
const b = TestEntity.builder(serializers).int32Property('test').build();
// Transformed create request
TestEntity.requestBuilder(serializers).create(b).execute();

You can also find the adjusted code above.

I'll close it, because the (ADR)[#934] is merged and this PR should not be merged.

I'll close it, because the (ADR)[#934] is merged and this PR should not be merged.


Undefined value when using named imports from vue

Subject of the issue
I recently try to upgrade my project to Vue2.7.
After creating a component using a simple usage of the composition API as below (working fine) :
import { computed } from 'vue'

...
setup (props) {
  const prefix = 'icon'
  const symbolId = computed(() => `#${prefix}-${props.name}`)
  return { symbolId }
},
...

I’ve got the folowwing error when runnning my test :
TypeError: (0 , _vue.computed) is not a function

When I’m trying to log the computed value on the component when running the test, it return undefined but it works when using Vue.computed()
I’ve notice this (“Notes on API exposure” section) in the Vue2.7 migration guide.
Did I miss something ?
Thank you in advance !
Steps to reproduce

Start a new project using Vue2.7 and vue test utils
Create a cmponent that using the composition API
Run the test

Expected behaviour
import { computed } from 'vue' should return the computed method.
Actual behaviour
It returns undefined

Hard to say definitely since you did not provide a runnable reproduction, but I would assume you are using the CJS build in your test setup (jest?), which, as mentioned in the linked docs, will expose these APIs on the Vue object only.

Thank you for yout answer @LinusBorg  !
well that's exactly my issue :/
I can't determine what is the source of this difference between my component and the vue used in the test.
Is there a specific configuration of jest that would allow the test to correctly interpret the named import ?
I have to confess I'm a little bit confused with this issue ^^

@rMonell is your issue solved?

Yep ! I close the issue, I have come to the conclusion that vue-test-utils < 2 wasn't compatible with a full Vue 2.7 intégration. So I made a custom integration of the composition API in the following way :
// local-composition.js
const Vue = process.env.NODE_ENV === 'test'
  ? require('vue').default
  : require('vue')

const ref = Vue.ref
const reactive = Vue.reactive
const watch = Vue.watch
const computed = Vue.computed
...

export {
  ref,
  reactive,
  watch,
  computed,
  ...
}

It works pretty fine, I haven't been able to find a better solution despite my research.


Private: Support privates

Right now ff-lite doesn't know about privates and treats them as regular feeds.
Need to:

Add ability to request access instead of simply Subscribe
Add ability to manage requests

done


Allow ability to override the component rendered for a specific Variable

We've decided controls should be readonly to prevent unexpected results when choosing a control that cannot be rendered for a specific variable type.


remove htb box name

you should maybe remove the box name from line 42, i guess its an oversight

The password should be removed as well from line 8.

++on the password, it's a bit of a spoiler

Thanks y'all for the feedback !

Thank y'all for the feedback !

Thank y'all for the feedback !


Certify gitlab charts

Certify gitlab charts with k8s 1.6.
https://github.com/kubernetes/charts/tree/master/stable/gitlab-ce
https://docs.gitlab.com/ee/install/kubernetes/gitlab_chart.html
https://docs.gitlab.com/ce/install/kubernetes/gitlab_chart.html
https://about.gitlab.com/installation/

I managed to successfully deploy the gitlab chart on Rancher 1.6.3 with k8s 1.6.6.
For the deployment to succeed, you will need to have a storage provisioner defined on you k8s cluster. For the purpose of this deployment, I used nfs-client-provisioner.
The gitlab chart is highly configurable, however to get a basic working deployment working you only need to configure the following parameters in values.yaml

externalUrl: This should be a FQDN.
storageClass: The chart needs 5 persistent storage volumes to work. You should set this variable for all volumes in the values.yaml file. Even if you have a default storageClass defined in k8s, you need to explicitly set this variable to "default".

Steps to deploy are:

Add gitlab's chart repo to your helm setup.

$ helm repo add gitlab https://charts.gitlab.io
$ helm init --client-only

Download the gitlab chart

$ helm fetch gitlab/gitlab --untar

Download chart dependencies

$ cd gitlab
$ helm dep update
$ helm dep build

Deploy the gitlab chart

$ helm install --namespace <NAMESPACE> --name gitlab ./

For testing, I will be using basic scenarios form the Getting Started guide.


[R] remove warning in configure.ac (fixes #6151)

This PR proposes a fix for #6151 . I think it will resolve the WARNING on https://cran.r-project.org/web/checks/check_results_xgboost.html

Version: <IP_ADDRESS>
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     WARNING: OpenMP is unavailable on this Mac OSX system. Training speed may be suboptimal.
Flavor: r-release-macos-x86_64

oh sorry forgot to update configure! will do that right now

Codecov Report

Merging #6152 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #6152   +/-   ##
=======================================
  Coverage   78.83%   78.83%
=======================================
  Files          12       12
  Lines        3090     3090
=======================================
  Hits         2436     2436
  Misses        654      654

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 e033caa...bd35f6f. Read the comment docs.


Depth of Keyword in Listeners

As a developer of libraries in RF and using listeners to publish html based reports, I would like my users to see the same keyword structure as in RF (log.html).

Listener interface does not provide a way if the keyword is higher level keyword - mid level (custom keyword ) or a library keyword.
There may be an depth attribute that is giving information about this keyword for start_keyword, end_keyword .
The developer using listener library shall use this depth and create the same architecture as in log.html.

This is same as #2145.

dont know how it happened to be twice, thanks


🔍(backend) fix duplicated h1 in blogpost detail page

Purpose
On blogpost detail page, there is currently a SEO major issue. Indeed, there are
two H1 on the same page. The first is the news label on the subheader and the
second is the blogpost title itself. The post title is the most relevant one
and the subheader "News" is not really relevant that's why we decide to fix
this issue to simply remove the subheader on the blogpost detail template.

Before
After

Maybe add an entry into the CHANGELOG, and it looks all good to me.