Unable to run scenario runner using py 3.7 egg

Hi Team, Iam using CARLA 0.9.11 and trying to run scenario runner using py3.7 egg  (Linux machine has Python 3.7.5 installed). I am able to run it using py 2.7 egg but I would like to utilise functionalities of python3 and hence need to shift to py3.7 egg version. The error which I am receiving when trying to scenario runner is presented below :
Traceback (most recent call last):
File "scenario_runner.py", line 35, in
from srunner.scenarioconfigs.openscenario_configuration import OpenScenarioConfiguration
File "/home/schemba/CARLA_0.9.11/scenario_runner/srunner/scenarioconfigs/openscenario_configuration.py", line 16, in
import xmlschema
File "/home/schemba/.local/lib/python3.7/site-packages/xmlschema/init.py", line 15, in
from .resources import (
File "/home/schemba/.local/lib/python3.7/site-packages/xmlschema/resources.py", line 14, in
from elementpath import iter_select, Selector, XPath1Parser
File "/home/schemba/.local/lib/python3.7/site-packages/elementpath/init.py", line 25, in
from .xpath_context import XPathContext, XPathSchemaContext
File "/home/schemba/.local/lib/python3.7/site-packages/elementpath/xpath_context.py", line 15, in
from .xpath_nodes import AttributeNode, TypedAttribute, TypedElement, is_etree_element,
File "/home/schemba/.local/lib/python3.7/site-packages/elementpath/xpath_nodes.py", line 19, in
from .datatypes import ncname_validator
ImportError: cannot import name 'ncname_validator' from 'elementpath.datatypes' (/home/schemba/.local/lib/python3.7/site-packages/elementpath/datatypes/init.py)
Kindly let me know if any further information is required from my end
Desktop (please complete the following information):

OS: [e.g. Ubuntu 18.04]
CARLA Version [e.g. CARLA 0.9.11]
Python version [2.7,3.7.5]
SR Version [e.g. 0.9.11]

Thanks for the suggestion. Its solved


🌱 Changed Code-Reviews to Contribution-Reviews

Please check if the PR fulfills these requirements

[ ] Tests for the changes have been added (for bug fixes / features)
[x] PR title follows the guidelines defined in  https://github.com/ossf/scorecard/blob/main/CONTRIBUTING.md#pr-process

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Bug fix

What is the current behavior? (You can also link to an open issue here)

https://github.com/ossf/scorecard/issues/1018

What is the new behavior (if this is a feature change)?

renamed Code-Review to Contribution-Reviews

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

no

Other information:

I don't agree with changing the name here, closing for now.


Conversion of MODNet .onnx model

Thanks for sharing this script, i tried it on MODNet. (background removal open source codebase)
I had an error running it, it worked but when trying to do inference i get an error due to the ReShape operator
INVALID_GRAPH : Load model from modnetpf16simint32.onnx failed:This is an invalid model. Type Error: Type 'tensor(int32)' of input parameter (480) of operator (Reshape) in node (Reshape_177) is invalid.

can you share the link to the model repo/weights?


letsencrypt-renew.sh

Thanks for creating this, very useful!
Just a quick question, I assume I should be running letsencrypt-renew.sh? Maybe should be added to the README.

@newzealandpaul - yes, you should be running the letsencrypt-renew.sh script periodically to check the status of your certificates and renew them if they are close to expiry.
The script can be run on it's own without having to modify/stop/start any of the other containers. You can either run it manually, or set it up as a cron task that fires every 15 days or so.
You are 100% correct that this should be added to the README... an oversight on my part, and thank you for pointing it out.

Updated docs to reflect use of letsencrypt-renew.sh script merged in PR #3
Closing


bug(OverlayContainer): extending OverlayContainer cause build issues in angular 11

Reproduction
Steps to reproduce:

clone this
run ng build or serve

Expected Behavior
Expected Build to succeed, this was the case until we updated to angular 11
Actual Behavior
Build Error
The directive MyOverlayService inherits its constructor from OverlayContainer,
but the latter does not have an Angular decorator of its own. Dependency injection will not be able to resolve the parameters of OverlayContainer's constructor. Either add a @Directive decorator to OverlayContainer, or add an explicit constructor to MyOverlayService.
Environment
angular/cdk: 11.1.1
angular/common: 11.1.2
angular/compiler:  11.1.2
angular/core: 11.1.2

@rezres I don't understand what the problem is.
Your code
@Directive()
@Injectable()
export class MyOverlayService extends OverlayContainer implements OnDestroy {
  protected _createContainer(): void {
    super._createContainer();
    if (!this._containerElement) {
      return;
    }
    const parent = document.querySelector('.my-selector') || document.body;
    parent.appendChild(this._containerElement);
  }

  ngOnDestroy() {
    super.ngOnDestroy();
    this._containerElement = null;
  }
}

Error obtained when doing ng serve
Error: src/app/my-overlay-container.service.ts:6:14 - error NG2006: The directive MyOverlayService inherits its constructor from OverlayContainer, but the latter does not have an Angular decorator of its own. Dependency injection will not be able to resolve the parameters of OverlayContainer's constructor. Either add a @Directive decorator to OverlayContainer, or add an explicit constructor to MyOverlayService.
Solution
import { OverlayContainer } from '@angular/cdk/overlay';
import { Injectable, OnDestroy } from '@angular/core';

@Injectable()
export class MyOverlayService extends OverlayContainer implements OnDestroy {
  protected _createContainer(): void {
    super._createContainer();
    if (!this._containerElement) {
      return;
    }
    const parent = document.querySelector('.my-selector') || document.body;
    parent.appendChild(this._containerElement);
  }

  ngOnDestroy() {
    super.ngOnDestroy();
    this._containerElement = null;
  }
}

Running successful platform ng serve
Regards,

@dianmonblan
Thanks a lot, I am sorry to waste your time, I am surprised it used to work just fine before, not sure how was that happening, I only noticed this issue when I updated to Angular 11 and figured there is something wrong.

@rezres no problem!
The team should be asked to integrate the Decorator missing from parent class possibility this must be integrated!
Regards,

Sorry, I don't understand why I was @mentioned on this. Was this an accident?

Sorry, I don't understand why I was @mentioned on this. Was this an accident?

Sorry @wagnermaciel an accident y equivocación.


[6.5.x] RHBPMS-4524: Keep All merge mode is always shown in container configuration

See https://issues.jboss.org/browse/RHBPMS-4524

@karreiro What is the default merge mode now?

@livthomas Yes, "Merge Collections" is the default merge mode :-)

@manstis @Rikkola Could please review this? :-)


Fix logger lever from warn to debug when uancked threshold is limited

Signed-off-by: xiaolongran<EMAIL_ADDRESS>Motivation
When unacked messages reached to max unacked messages, the following logs will be quickly output to the log file, causing the broker's log file to switch within a short period of time.

Modifications
Fix logger lever from warn to debug when uancked threshold is limited

I believe in this case the log should really be at debug level. The information is already available in the topic stats for debugging purposes.

ping @merlimat @codelipenghui @hangc0276 @315157973 PTAL thanks

Which approach do you prefer here:

We directly change the log level to debug
Introduce log flow control to limit the frequency of log output

IMO，we'd better change the log level from warn to debug, and can get the unack info from topic stats.

IMO，we'd better change the log level from warn to debug, and can get the unack info from topic stats.

OK i will fix this change

ping @merlimat @codelipenghui @hangc0276 @315157973 PTAL thanks

/pulsarbot run-failure-checks

I've open a follow up PR https://github.com/apache/pulsar/pull/15767 to change other log lines, PTAL.


the 'X ' close mark gets hidden in mobile device view

I am using this widget in my react app and the close × mark is hidden in mobile device view..it is covered by sticky navbar and i can't close the widget properly..can we increase the z index value to solve this ..if so what class to overide ising custom css.if other solutions please post or reply.Thank you

Hey,
'rcw-close-button' is the classname of the button you are after.
You can go after it in the css via '.rcw-close-button' and do whatever you need to the button.
Hope this helps.

Hi there I'm also facing this issue . Let me know if you had solved this issue by any mean

You can do this by adding z-index in style.css in node_moudles/react-chat-widget/libs/ just find style having media query on it i.e
@media screen and (max-width:800px) { 	.rcw-widget-container { 		height: 100%; 		height: 100vh; 		margin: 0; 		max-width: none; 		width: 100%; 		z-index: 1201; // Custom Z-index depnding on your applied theme pre-defined z-indexes 	} }
For example if you are using with material-ui then you can find their predefined z-indexes over here

mobile stepper: 1000
speed dial: 1050
app bar: 1100
drawer: 1200
modal: 1300
snackbar: 1400
tooltip: 1500

in my case drawer was causing the bug so i added 1201 z-index on my above defined class and its works.


Set const-extern-fn when building docs

r? @Amanieu
(rust-highfive has picked a reviewer for you, use r? to override)

@bors r+

:pushpin: Commit b083a611a928e9538c68df0b016ae3c6f3ae8e25 has been approved by Amanieu

:hourglass: Testing commit b083a611a928e9538c68df0b016ae3c6f3ae8e25 with merge 880d2942b277fde22306d7f98d7c563a73d0b599...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: Amanieu
Pushing 880d2942b277fde22306d7f98d7c563a73d0b599 to master...


Feature Request: Playlist in text format

Could you add the option to provide a playlist file similar to mpv.
mpv -playlist=filelist.txt

The file list would contain a list of file(s) needed to be played in a sequence

This sounds like a good addition. I think this could be added to the playlist command. Currently if the playlist command gets an argument that isn't a directory it fails, but we should change this to check if it is a file, and if so then use that for the list of filenames to play.

I implemented this, more or less, in https://github.com/vishen/go-chromecast/pull/180. I can change it to be integrated with playlist instead ?

I implemented this, more or less, in #180. I can change it to be integrated with playlist instead ?

I think it's fine to leave as is, this should solve the issue I believe. But feel free to reopen if needed @aphsa .


Update test bucket json

Update test bucket json

Your PR is queued. See the queue page for details.

I've triggered a build for you.


Validators - EL - Erigon

[ ] overview
[ ] links to official docs
[ ] complete setup guide
[ ] docker sample artifacts
[ ] other relevant info / code / artifact / package

Closed in favor of #145


Dynamic enable/disable for devices on map

Hi
When the number of devices on the map topology is large, it would be useful to have a panel with a list of devices, where opposite each device would be checkbox, which would allow you to adjust the display/hide of the device on the topology map.

It seems like this is a duplicated function. Ntmap already has filters for displayed devices. When you define a map you define a query string for searching devices in Netbox. This is actually the display filter. Having another filter will make the "filter over filter" situation which seems to be an overkill.
What I am thinking about is some grouping of devices and expand/collapse function for groups. Just the same behaviour as virtual chassis memebers have. It can be apllied to devices that have different control plane, but the same functionality in the network. Like all spine switches or all leaf switches of a CLOS-fabric.
Currently not sure what data structures to use in Netbox for device grouping. Vanilla Netbox doesn't have an explicit object for this (like it has structures for VC and clusters).

It seems like this is a duplicated function. Ntmap already has filters for displayed devices. When you define a map you define a query string for searching devices in Netbox. This is actually the display filter. Having another filter will make the "filter over filter" situation which seems to be an overkill.
What I am thinking about is some grouping of devices and expand/collapse function for groups. Just the same behaviour as virtual chassis memebers have. It can be apllied to devices that have different control plane, but the same functionality in the network. Like all spine switches or all leaf switches of a CLOS-fabric.
Currently not sure what data structures to use in Netbox for device grouping. Vanilla Netbox doesn't have an explicit object for this (like it has structures for VC and clusters).


Circular import error with gdspy with clipper module

Hi all,
I was trying to install and use gdspy on windows. I have python 3.8.1. I have tried to install the wheel for gdspy from the release page. I have previously ensured that numpy was installed and functional.
When I test using "import gdspy" I get the following error:
Python 3.8.1 (default, Dec 24 2019, 12:23:31)  [GCC 9.2.0 32 bit] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import gdspy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:/francesco/local/lib/python3.8/gdspy/__init__.py", line 26, in <module>
    from gdspy.library import (
  File "C:/francesco/local/lib/python3.8/gdspy/library.py", line 42, in <module>
    from gdspy.polygon import PolygonSet, Polygon
  File "C:/francesco/local/lib/python3.8/gdspy/polygon.py", line 39, in <module>
    from gdspy import clipper
ImportError: cannot import name 'clipper' from partially initialized module 'gdspy' (most likely due to a circular import) (C:/francesco/local/lib/python3.8/gdspy/__init__.py)

Now I recognize that my install environment is odd because I am on Windows using msys2. python and numpy are provided by msys2 and they works. gdspy was installed using the wheel file from the release page.
In my understanding this kind of error is not related to Windows or to the way I was trying to install but is a problem in the logic of imports.
I would need to use gdspy to get some work done :-) please help me fix this problem.
I may try to compile gdspy from the source if needed. I am used to compile applications or libraries when needed.
Thank you in advance for your amazing work and for any help you may provide.
Francesco

I have just tried to compile and install from the source code. The build and install completes successfully but when I try to actually import gdspy I get exactly the same error about circular import with clipper.

@francesco-st It's strange because I'm not sure there are circular imports in gdspy. clipper in particular is only imported there, IIRC. It could also be that the compiled library cannot be imported because of some other error, e.g., different compiler versions (that's why the wheel did not work — it is compiled with MSVC). I see your Python has been compiled with GCC. How did you compile gdspy? Can you share the full terminal session?

Hi @heitzmann,
same person here, I am just using my personal account. I have just tested on Linux and I have almost the same error, without a mention of the circular import. My programmer spider sense tell me it is a circular reference:
during the import of gdspy, inside polygon.py there is a call import gdspy from clipper. The problem is that while it is importing gdspy, polygon ask to load something from gdspy. To me it looks like is a circular import problem.
By the way, here the details how what I do on linux:
# install numpy for python 3
sudo apt install python3-numpy

# clone gdspy repository and enter into the directory
git clone https://github.com/heitzmann/gdspy.git && cd gdspy

# build and install
python3 setup.py install --prefix $HOME/.local

The build and install is successful, here the output of the install command.
Then, when I try to import gdspy I get the following error:
francesco:~/dev/gdspy$ python3
Python 3.6.9 (default, Jul 17 2020, 12:50:27)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gdspy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/francesco/dev/gdspy/gdspy/__init__.py", line 26, in <module>
    from gdspy.library import (
  File "/home/francesco/dev/gdspy/gdspy/library.py", line 42, in <module>
    from gdspy.polygon import PolygonSet, Polygon
  File "/home/francesco/dev/gdspy/gdspy/polygon.py", line 39, in <module>
    from gdspy import clipper
ImportError: cannot import name 'clipper'

There's something weird, though: your installation log says it installs the package in .local, but the error indicates that it is trying to find the module in dev.
I believe the issue is that you're running from inside the gdspy directory, as your path indicates, so python is trying to import the module from the source tree (where there is no compiled clipper) instead of the installation path.
Try to run python3 from your home directory... it should work.

Oh, yes you are right! From the work directory it is working. Weird problem.
Thank you very much for your help. You can close the issue of course.


Material Screenshots

Here are materials 1 - 9 as requested on Twitter. Material 0 was the same as material 1 in my case.

Wow thanks a lot! Can I use these in the README ?

Just so it's documented here as well, yes go ahead. :)


Improve documentation for Server Core recommendation

Not using server core is deemed a critical failure by the tools.  We have received feedback from several users that this is surprising and does not make sense to them.  The recommendation section needs to make our reasoning clearer.
The reason that using server core is critical severity is because an application cannot be more secure than the platform it runs on and the fewer software components on a machine, the smaller the attack surface is.  The attack surface of server core is dramatically reduced from the standard server.  The main message that we are trying to convey with the critical severity is "if you only do one thing to improve security, switch to server core."

Addressed in #289


[FEATURE] Refactor the installer console UI and configuring process

Is your feature request related to a problem? Please describe.
The current console installer UI has bad smell:

Highly coupled with configuration workflow and validation process, which makes new feature hard to add.
The current UI library lacks out-of-box widgets which cost efforts to implement all the widget from Harvester side.

We need to make sure any subsequent new config/UI feature request can be implemented easily.
Describe the solution you'd like
Decouple UI layout logic from other parts, as well as introduce new full-fledged console UI library if possible.

Decouple UI logic from configuration workflow and validation process. YaST describes a good architecture for this part.

Problems of v0.3.0 installer

Lack of layout systems: gocui uses a naive canvas-like way to render stuff.
Lack of out-of-box widgets. Speficially we need multi-select dropdown.
No page management: We destroy old components imperatively.
No auto-scroll widgets: the installer may be out of dimension and crashes.

Switch to rivo/tview
Pros

Two layout systems: Flex and Grid. We don't need to layout widgets by hands (hope so).
Out-of-box widgets: TextInput, TextView, DropDown, Form, Modal, etc.
Rendering becomes More declarative less imperative.
Focus-based widget controls: you can only interact with focused widgets.

Cons

Still no multi-select widget.
The logic of auto-scroll and input-handler is highly coupled with widgets. We'll lose some benefits by customizing from the ground up.
Cannot call Focus imperatively so it leads to customize our own widgets. As a result, it's not that easy to implement validation hooks when proceeding the workflow.

Alternatives

Leverage YaST, which provides "write once, run in both text and graphic UI".
Leave old UI alone. First we need to know how many features are requested for installer UI.

I don't have any strong opinions about the various TUI frameworks, but just wanted to add that the installer needs to work via serial console, which irritatingly seems to be limited to 80 columns x 20-something (23? 24?) rows. The current implementation expects the terminal to be taller than that, and fails badly if it's not, requiring workarounds. This has come up several times in the past:
https://github.com/harvester/harvester/issues/2708
https://github.com/harvester/harvester/issues/3446
https://github.com/harvester/harvester/issues/1792
To put it another way: whatever solution we arrive at, needs to be forgiving of small / weird terminals :-)


Most of the time, the man puts up quite the struggle and yells at me that he didn't mean it literally. But I see straight through that ruse.  The look of blissful ecstasy on his face reaffirms what I already hold true in my heart. This is what I was born to do. Dick is my medium and I am it's master. No homo.


Improve fr generator

Add Tutorial: How to create new Feature Template

This issue was migrated from an old repository: https://github.com/CiscoDevNet/catalystwan/pull/246


SignalR on docker issue

Hi guys, I have a problem with signalR on docker containers placed at Kubernetes Rancher.
My configuration working well on local environment and also when I build up my containers locally, but when I push my containers to further environments, I get "Error during WebSocket handshake: Unexpected response code: 500" and "Error: Failed to start the connection: null".
My client is angular app and using package "@aspnet/signalr" and backend working on
"Microsoft.AspNetCore.SignalR" v1.1.0
Client send request to ocelot and then is redirected to notifier container where is signalR.
My configuration:
https://gist.github.com/ArkadiuszNET/da4112e1b90f65091da62f7486ecf648

500 is an internal server error. You should figure out if its the server returning the 500 (meaning its not running correctly), or if ocelot is returning the 500.

Assuming logging is configured, do you have server logs?

Logs from ocelot:
Logs.txt
Ocelot config:
ocelot.txt

"Downstream url is ws://notifier/notify?accesstoken=[token]"
"Unable to connect to the remote server"
Looks like an issue with the server? Can you capture the servers logs and verify it can be connected to?

Logs from Gateway (where is ocelot) and notifier (where is signalR).
LogsGatewayAndNotifier.txt
It's looks like that error was return from notifier and further in gateway we have "Unable to connect to the remote server".

It looks like your server returned a 403, which is the "Forbidden" status code.
That usually means you were successfully authenticated but then you weren't authorized to access the resource. So your token is valid, but you don't have permission to access the thing you want.
How are you handling auth in your app? Is it possible for you to share your app?

I also removed authentication and tried connect to signalR without success.
In that case logs looks the same without log about "token validation".
There is extension method which retrieve token from request:
IdentityServerExtenstion.txt
startup.txt
I thoughts about whether it's necessary to enable websockets on docker containers?

I also removed authentication and tried connect to signalR without success.

Did you still get a 403 in the server logs? Does your Hub have the [Authorize] attribute on it?
Could you change the server-side log level to at least Debug and provide the logs when the connection fails.

Hi guys! I finally resolved my problem when introduced additional traefik routing rules for my containers.
I introduced traefik.http.frontend.rule and traefik.wss.frontend.rule for my apiGateway and notifier containers, where that rules contains address where that containers are available.
Thank for your time and help!


Rename SKDValue to SKDRequestValue

SKDValue is only used for requests and the name should reflect that.

@swift-ci Please test


Add conversion of image array to string for AssetOnchainMetadata

Solving for https://github.com/blockfrost/blockfrost-go/issues/63

Thanks for the PR and sorry for the delay. This is indeed bug in the SDK and it should allow for both string and array of strings data types. However, we would like to address it by allowing both data types rather than joining it into a single string.


Oriented Bounding Box

@ming71
i saw your work with the oriented bounding box, very nice work!.(https://github.com/ultralytics/yolov3/issues/345)
how you implemented the oriented bounding box to yolov3?Which format for the label you use and can i use a webcam to detect the objects?
Thank you!

he used this
https://github.com/woshiwwwppp/ryolov3research-pytorch-master
but I didn’t manage to run these sources properly

I've tried that repo but failed too, obviously the codes have been deprecated. Thus I've written the r-yolo myself .

I've tried that repo but failed too, obviously the codes have been deprecated. Thus I've written the r-yolo myself .

Will you post it to the public?

It reaches about 63% (H-means) on ICDAR15, still an unsatisfactory result,  I'll release codes when achieve a better performance ( about 80% maybe?).

Hi, I've release my codebase for rotation-yolov3 here , not excellent but good enough.@MiXaiLL76 @SteelMinh

@ming71 could you pls give a guide on how to run this code of yours on any image?

@ming71 could you please give a guide on how to run this code of yours on any image?

available now.


[WIP][SPARK-32502][BUILD] Upgrade Guava to 27.0-jre

What changes were proposed in this pull request?

This PR upgrades Guava to newer 27.0-jre.
Why are the changes needed?

Guava 14.0.1 is pretty old and is among the affected Guava versions of CVE-2018-10237.
All newer Hadoop releases are going to be built with a later guava version, e.g. 27.0-jre, including Hadoop 3.1.3, 3.2.1, 3.3.0.
This PR leaves Hadoop version untouched.
Does this PR introduce any user-facing change?

No
How was this patch tested?

Pass the Jenkins tests.

Hadoop 3.2.0 still uses older Guava 11.0.2. I'm not sure if we can just upgrade Guava without touching Hadoop dependency. I want to run the patch through jenkins (sbt and maven) to see how well it works out.
#29326 upgrades Guava and Hadoop together.

Test build #126932 has started for PR 29325 at commit 4888ca0.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/31556/
Test PASSed.

Merged build finished. Test PASSed.

Test build #126932 has finished for PR 29325 at commit 4888ca0.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/126932/
Test FAILed.

retest this please

Test build #126936 has started for PR 29325 at commit 4888ca0.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/31560/
Test PASSed.

Test build #126936 has finished for PR 29325 at commit 4888ca0.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/126936/
Test FAILed.

hm, it looks a valid failure.

Is this duplicated by https://github.com/apache/spark/pull/29326 ?
Yes, this can only happen for Hadoop 3.2.1+

I left a comment here.

https://github.com/apache/spark/pull/29326#issuecomment-670600810

I'd like to recommend to close the PR while keeping JIRA is open.

Thanks @dongjoon-hyun


Update styles on task list page

Only show skip section to next section link on focus
Include name of next incomplete section in that skip link
Update task list styles to remove unneeded styles and sync with latest prototype classes
Tidy up imports in application.scss

No focus:

With focus:

Only show skip section to next section link on focus

Where is that happening and what's the reasoning behind it?
Do you think you could split out the CSS import tidy up changes into a separate PR? Want to see how those affect the PR that moves away from webpacker which will be easier if it's atomic I think.

Do you think you could split out the CSS import tidy up changes into a separate PR?

Will do!


Feature Request: nav Component

Are there any plans to implement the nav component? (http://bulma.io/documentation/components/nav/)

Hello @ecmel it's not actually in my roadmap. I think Bulma is good enough in this case.


Write docs about collaborations

[ ] GESAN
[ ] NGES

Not sure why I am unable to assign it to myself.

@Pratichhya  di done  ! Let's make sure we will put all our docs in central place / Drive looks ideal to me


fsStats function is not supported

Issue Type

[x] Bug

Expected behavior

display fs speed information

Actual behavior

return not supported message in console

Steps to reproduce the problem

Specifications

package version:
operating system:windows 10
hardware:

Problem and possible solution
If you have a solution in mind (or any idea what could cause this issue), we would be happy, if you can describe it here ...

Error: not supported
at process.nextTick (c:\Users\EMDnew31\Documents\MyFolder\node_modules\systeminformation\lib\filesystem.js:329:21)
at process._tickCallback (internal/process/next_tick.js:150:11)
at Function.Module.runMain (module.js:703:11)
at startup (bootstrap_node.js:190:16)
at bootstrap_node.js:662:3
(node:6224) UnhandledPromiseRejectionWarning: Error: not supported
at process.nextTick (c:\Users\EMDnew31\Documents\MyFolder\node_modules\systeminformation\lib\filesystem.js:475:21)
at process._tickCallback (internal/process/next_tick.js:150:11)
at Function.Module.runMain (module.js:703:11)
at startup (bootstrap_node.js:190:16)
at bootstrap_node.js:662:3
(node:6224) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:6224) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

@sebhildebrandt pls answer me

Will have a look later this week

ok thank u @sebhildebrandt for your quick reply

i think this error is fsStats() is not support  in windows

As stated in the docs (README.md) this function fsStats() is currently not supported for windows.


Choosing the most appropriate encoder for dataset which has both ordinal and nominal categories

Any recommendations on which encoder to use if a dataset has both ordinal and nominal categories ? I do not want to specify explicitly the columns that are ordinal and nominal but rather the encoder should itself find the embeddings.
Thank you.

Hi @itsaugat
there probably is not a one-size-fits-all encoder.
However every encoder that encodes nominal data of course can also encode ordinal data. In fact most (if not all of our encoders) do not even treat ordinal data different to nominal data. So I'd recommend you to just try a few different strategies like OneHotEncoding and TargetEncoding and see if it fits your needs


Grasshopper: Triple Product Component

Computes the triple product (Cross Product)x(Cross Product)

Initial logic done. Need to add to assembly file.
// Your C# code goes here

// Grasshopper Script Instance
#region Usings
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using System.Drawing;

using Rhino;
using Rhino.Geometry;

using Grasshopper;
using Grasshopper.Kernel;
using Grasshopper.Kernel.Data;
using Grasshopper.Kernel.Types;
#endregion

public class Script_Instance : GH_ScriptInstance
{
    #region Notes
    /*
      Members:
        RhinoDoc RhinoDocument
        GH_Document GrasshopperDocument
        IGH_Component Component
        int Iteration

      Methods (Virtual & overridable):
        Print(string text)
        Print(string format, params object[] args)
        Reflect(object obj)
        Reflect(object obj, string method_name)
    */
    #endregion

    private void RunScript(
	Vector3d Vector_A,
	Vector3d Vector_B,
	ref object Cross_Product,
	ref object Triple_Product)
    {
        //Triple product

        //Sanity checks

        bool vA=Vector_A.IsZero;
        bool vB=Vector_B.IsZero;

        Console.WriteLine(vA.ToString());

        if (vA==true && vB==true)
        {
            this.AddRuntimeMessage(GH_RuntimeMessageLevel.Warning,"Input failed to collect Vector A and Vector B parameter.");
            return;
        }

        if (vA==true)
        {
            this.AddRuntimeMessage(GH_RuntimeMessageLevel.Warning,"Input failed to collect Vector A or is zero length vector.");
            return;
        }

        if(vB==true)
        {
            this.AddRuntimeMessage(GH_RuntimeMessageLevel.Warning,"Input failed to collect Vector B is zero length vector.");
            return;
        }

        //cross product #1
        Vector3d cross_1=Vector3d.CrossProduct(Vector_A,Vector_B);

        //cross product #2
        Vector3d cross_2=Vector3d.CrossProduct(cross_1,Vector_A);

        //outputs
        Cross_Product=cross_1;
        Triple_Product=cross_2;

    }
}


[CARBONDATA-4327] Update documentation related to partition

Why is this PR needed?
 Drop partition with data is not supported and a few of the links are not working.
What changes were proposed in this PR?
Removed unsupported syntax , duplicate headings and updated the header with proper linkage.
Does this PR introduce any user interface change?

No

Is any new testcase added?

No

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbon_PR_Builder_2.4.5/4492/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbonPRBuilder2.3/6237/

Build Success with Spark 3.1, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbon_PR_Builder_3.1/627/

LGTM


Usage of deprecated SafetyNet Attestation API

Describe the bug?
The Play Store is reporting that SafetyNet Attestation API is deprecated and soon will be shut down.
Our app is getting the following warning in the screenshot, because of the dependency com.google.android.gms:play-services-safetynet:18.0.1. Which is a dependency of com.okta.devices:devices-push:1.1.0

What is expected to happen?
To use non-deprecated API
What is the actual behavior?
Usage of a deprecated API
Reproduction Steps?
Using latest version of the library com.okta.devices:devices-push:1.1.0
Additional Information?
No response
SDK Version and Artifact(s) used.
SDK Version 1.1.0
Build Information
No response

Thank you for flagging this to us. Push SDK does not actually use safetynet so production will not be impacted by this even after deprecation. We understand getting flagged for it is annoying and may have Play Store implications for updates, however, so will look into this. The library was pulled in by a shared dependency with another feature outside of Push.

@yahia-allam We'll remove it from the devices-push library . In the meantime you can remove it with:
    implementation("com.okta.devices:devices-push:1.1.0") {
        exclude(group = "com.google.android.gms", module = "play-services-safetynet")
    }


Wrong highlight for attritube

only function is highlighted

Hello, Austaras! Thank you for taking time to report this issue.
I'll release a fix as soon as I can :v:

What do you think about this?

As both properties and functions have the same colour, I added the italic style to properties of type function.

@heronsilva cool!And gladly to see string literal is highlighted in blue
hope to see a new release soon

All done!
Also, Fira Code for the win :tada: \o/


[WebkitGTK/NVIDIA] Epiphany sometimes doesn't display websites

Issue description
I'm on Gnome 3.26, and I manage to get gray areas with Epiphany on several websites I've tried. Not all of them though... Some of them are even hosted on the same server where one works and one doesn't. They have the same TLS configuration. And content seemed to be fetched since I can do Ctrl+a Ctrl+c and paste the content somewhere else.
This issue is mentioned here: https://github.com/NixOS/nixpkgs/pull/31407#issuecomment-343548520
What's annoying is that it's not just Epiphany, it's also Gnome Settings for adding online accounts.
Steps to reproduce
I don't know how to reproduce this. It works on my two laptops but not my desktop with more or less only hardware differences and some difference in installed software. The main hardware difference is that my desktop is Nvidia with the blob, the laptops is intel.
Technical details

system: "x86_64-linux"
host os: Linux 4.14.3, NixOS, 18.03.git.3eccd0b11d1 (Impala)
multi-user?: yes
sandbox: no
version: nix-env (Nix) 1.11.15
channels(root): "nixos-18.03pre120398.aeff3080d0"
nixpkgs: /etc/nixos/nixpkgs

cc @jtojnar

Maybe this bug? Could you try running env WEBKIT_DISABLE_COMPOSITING_MODE=1 epiphany?

Yes, that did work.
This also did work env WEBKIT_DISABLE_COMPOSITING_MODE=1 gnome-control-center online-accounts just for reference if people needs it.
And, I do not have a hybrid thingy with intel/nvidia bumblebee. I have a stationary computer with built in intel and a separate nvidia-card.

Either the upstream bug is not limited to hybrid graphics, or it is a separate but similar upstream issue. Could you try commenting on the WebKit bug tracker?
Personally, I am unable to reproduce it, since nvidia drivers do not work on my laptop at all.

I've made a comment there that showed some examples of pages that are broken, which card I have, which drivers I'm running and so on. So yeah, seems like an upstream issue.
I will dig into this to see if arch has the same issue, I can probably ask some friend on nvidia on arch if they have seen this.

So, I was told to make a new issue because they thought it was unrelated.
Link to it here: https://bugs.webkit.org/show_bug.cgi?id=180739

@vcunat Hey, you mentioned this issue here https://github.com/NixOS/nixpkgs/pull/31407#issuecomment-343548520, do you happen to have a setup with NVIDIA on your system?
Maybe you as well can leave a comment on the webkit tracker if you have any more information.

Yes, that was either nvidia or noveau, not sure what was at that moment.

I've just tried this on my system with nouveau and was unable to reproduce it. I've talked to an ex-college of mine who runs Archlinux with gnome3 on nvidia and it works for him, so I asked him for what versions of webkitgtk and nvidia he's running.
On NixOS we're on 387.22 of Nvidia, Arch is on 387.34. I'm working on testing 387.34 at the moment.

Nix-noob here, is it somehow possible to set up the WEBKIT_DISABLE_COMPOSITING_MODE=1  variable system-wide automatically?

@sheyll Sure, just add environment.variables.WEBKIT_DISABLE_COMPOSITING_MODE = 1; to your configuration.nix.

Thanks so much! This is great...

Looks like the above solves this issue. Can we close it? Thanks.

Looks like the above solves this issue. Can we close it? Thanks.

@brainrape: How would a workaround that (probably) makes the performance worse that isn't default set be a "solution"? The bug is still there. I'm not sure we can do anything about it.
But I don't think that this issue should be closed because when people have problems and look for issues. They don't look for closed issues. Because closed issues have been properly resolved. Which isn't the case here.

I see what you mean, thanks. I meant there is an upstream issue for the bug (making this a duplicate), and there is a workaround.
Can we improve the situation by setting ``WEBKIT_DISABLE_COMPOSITING_MODE = "1"` in the affected packages, when running on nvidia, until it's fixed upstream? I'd be happy to prepare a PR.

Sort of the same problem here. epiphany starts, shows a blank white page, and as soon as the rendering of the browsed webpage starts, shows the dark-theme gray background (if dark theme is enabled).
Output on terminal, where i started epiphany with
% nix-shell -p epiphany --run epiphany
** (epiphany:1574): WARNING **: 17:42:14.258: Failed to search secrets in password schema: The name org.freedesktop.secrets was not provided by any .service files
Cannot create EGL context: invalid display (last error: EGL_SUCCESS)
Cannot get default EGL display: EGL_BAD_PARAMETER

% hwinfo --gfx #excerpt
  Model: "Intel Skylake GT2 [HD Graphics 520]"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x1916 "Skylake GT2 [HD Graphics 520]"

% nix-info -m
 - system: `"x86_64-linux"`
 - host os: `Linux 5.6.8, NixOS, 20.09.git.06bed535690M (Nightingale)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.4`
 - nixpkgs: `/home/alab/ws/nixpkgs`

Maybe this is as simple as this thing is missing libGL, libEGL or so, i don't know.

Same for me on gnome wayland, exact same graphics spec as @calbrecht.

system: "x86_64-linux"
host os: Linux 5.6.16, NixOS, 20.09.20200606.029a5de (Nightingale)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.4pre20200521_00b562c
channels(root): "nixos-20.03.1950.48723f48ab9"
channels(terje.larsen): ""
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Happens on Gnome wayland, nixos-unstable.
  Model: "Intel UHD Graphics"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x9b41 "UHD Graphics"

$ nix-info -m
 - system: `"x86_64-linux"`
 - host os: `Linux 5.9.0-rc5, NixOS, 21.03pre244365.06b27898a45 (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.7`
 - channels(root): `"nixos-21.03pre244365.06b27898a45, home-manager, nixos-hardware"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Also getting the blank screen on hangouts.google.com and messenger.com. env WEBKIT_DISABLE_COMPOSITING_MODE=1 epiphany works.
❯ lspci | grep -i graphics
00:02.0 VGA compatible controller: Intel Corporation Skylake GT2 [HD Graphics 520] (rev 07)

❯ nix-info -m
 - system: `"x86_64-linux"`
 - host os: `Linux 5.8.14, NixOS, 21.03pre246543.24c9b05ac53 (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.7`
 - channels(root): `"nixos-21.03pre246543.24c9b05ac53, home-manager"`
 - channels(austin): `"home-manager"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

❯ epiphany
Cannot get default EGL display: EGL_BAD_PARAMETER
Cannot get default EGL display: EGL_BAD_PARAMETER
Cannot create EGL context: invalid display (last error: EGL_SUCCESS)

This is still a problem. Please don't mark things as stale.

Same situation on my system running Cinnamon.
Unable to see the Google webpage when adding online accounts (white background).
It works running env WEBKIT_DISABLE_COMPOSITING_MODE=1 cinnamon-settings online-accounts.
❯ hwinfo --gfx
16: PCI 100.0: 0302 3D controller
  Model: "nVidia GM107M [GeForce GTX 960M]"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x139b "GM107M [GeForce GTX 960M]"
  Driver: "nvidia"
  Driver Modules: "nvidia"

25: PCI 02.0: 0300 VGA compatible controller (VGA)
  Model: "Intel HD Graphics 530"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x191b "HD Graphics 530"
  Driver: "i915"
  Driver Modules: "i915"

❯ nix-info -m
 - system: `"x86_64-linux"`
 - host os: `Linux 5.4.119, NixOS, 20.09.4169.ac60476ed94 (Nightingale)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.11`
 - channels(root): `"nixos-20.09.4169.ac60476ed94"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

This bug also affects other webkit browsers such as nyxt, vim, luakit, etc.

I'm glad I discovered this issue, I was having a problem developing an app using tauri, and it uses webkitgk on linux, and it wasn't displaying the webpage with react, passing WEBKIT_DISABLE_COMPOSITING_MODE=1 yarn tauri dev it worked

I am having similar issue, when I start nyxt browser on a computer with nvidia and nvidia propietary drivers the CPU goes up to 300% and I have to stop it.. :( I have  tried with that env variable, no luck, seems this is the opposite, is not using the gpu at all and trying the CPU, such why 300% cpu use... is going to fry my computer.

I'm glad I discovered this issue, I was having a problem developing an app using tauri, and it uses webkitgk on linux, and it wasn't displaying the webpage with react, passing WEBKIT_DISABLE_COMPOSITING_MODE=1 yarn tauri dev it worked

This is a beautiful gambiarra that, despite displaying the web pages, everything is extremely laggy: scrolling pages, css animations, etc.

I am also having a webgtk rendering issue with Nvidia proprietary drivers.
As described in other bug reports gnome online accounts does not load webpages etc. environment.variables.WEBKIT_DISABLE_COMPOSITING_MODE = "1";  does the job but it's not a good solution.
I see that is seems fixed on nixos-unstable-small channel but if I understand correctly it is not good to switch to that channel because not many packages will be available. So what is the solution? Do I have to wait till the fix gets released for the 22.11 stable channel?
I am new to NixOS..

I am also having a webgtk rendering issue with Nvidia proprietary drivers.
As described in other bug reports gnome online accounts does not load webpages etc. environment.variables.WEBKIT_DISABLE_COMPOSITING_MODE = "1";  does the job but it's not a good solution.
I see that is seems fixed on nixos-unstable-small channel but if I understand correctly it is not good to switch to that channel because not many packages will be available. So what is the solution? Do I have to wait till the fix gets released for the 22.11 stable channel?
I am new to NixOS.

this is still needed on 2023

There are likely multiple bugs since there are multiple implementations. They will be unified in the next release due to be released in September: https://blogs.igalia.com/carlosgc/2023/04/03/webkitgtk-accelerated-compositing-rendering/

In any case, we should update the version of WebKitGTK+ in nixpkgs.

See #218143 for that.

There are likely multiple bugs since there are multiple implementations. They will be somewhat unified in the next release due to be released in September: https://blogs.igalia.com/carlosgc/2023/04/03/webkitgtk-accelerated-compositing-rendering/

Yeah I saw this some hours ago, pretty exciting.

I ran into the same issues while working on a Tauri (webkitgtk) app I'm building and packaging as an AppImage.  The app built requires transparency.
Specifically, the error I was seeing was the EGL_BAD_PARAMETER one (among others, but can ignore those for now):
(process:210255): Gtk-WARNING **: 18:05:04.683: Locale not supported by C library.
        Using the fallback 'C' locale.
Fontconfig error: Cannot load default config file: No such file: (null)
Could not determine the accessibility bus address

(process:210276): Gtk-WARNING **: 18:05:05.077: Locale not supported by C library.
        Using the fallback 'C' locale.
MESA-LOADER: failed to open nouveau: /run/opengl-driver/lib/dri/nouveau_dri.so: cannot open shared object file: No such file or directory (search paths /run/opengl-driver/lib/dri, suffix _dri)
MESA-LOADER: failed to open zink: /run/opengl-driver/lib/dri/zink_dri.so: cannot open shared object file: No such file or directory (search paths /run/opengl-driver/lib/dri, suffix _dri)
MESA-LOADER: failed to open kms_swrast: /run/opengl-driver/lib/dri/kms_swrast_dri.so: cannot open shared object file: No such file or directory (search paths /run/opengl-driver/lib/dri, suffix _dri)
MESA-LOADER: failed to open swrast: /run/opengl-driver/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /run/opengl-driver/lib/dri, suffix _dri)
Failed to create GBM device for render device: /dev/dri/renderD128: No such file or directory
Cannot get default EGL display: EGL_BAD_PARAMETER
Cannot create EGL context: invalid display (last error: EGL_SUCCESS)
Fontconfig error: Cannot load default config file: No such file: (null)

Setting WEBKIT_DISABLE_COMPOSITING_MODE=1 worked.  This gave me the idea to also start xcompmgr.
Starting xcompmgr -n before launching my AppImage worked.  I've confirmed xcompmgr method works for 3 systems when running the AppImage: my dev NixOS, an ArchLinux, and an Ubuntu 16.04.
Hoping this helps someone!

Just want to mention that I'm using webkitgtk-6 (with Rust and libadwaita) on Hyprland and I had to setup the WEBKIT_DISABLE_COMPOSITING_MODE=1 variable to display a Webkit WebView inside of the app on startup, a new tab somehow does work.
This looks like a crazy bug...


Json couldn't be converted

You need Getter/Setter for these fields and Override the toString function.

This code uses Project Lombok to generate the getters,setters,and the toString.


Re-login not redirecting to Luigi app

Description:
If you logout, when we redirect to the oidc provider signin page, we are not redirecting back to Luigi app after new login.
Used oidc provider authority 'https://accounts.google.com'
Possible cause:

When logging out and we redirect to oidc provider signing page, we might not be sending the proper value for redirect_uri.

We can test against other oids, as accounts.google.com/Logout endpoint has some limitations.


Add earn-protocol-dashboard

This pull request adds the earn-protocol-dashboard app to the project.

Summary by CodeRabbit

New Features

Introduced GraphQLChartComponent for visualizing financial data related to vault performance.
Added a main page component Home that integrates the new chart component.
Implemented a responsive design for the chart with interactive features like tooltips and data point highlighting.

Configuration Enhancements

Established configuration files for Tailwind CSS and PostCSS to enhance styling capabilities.
Added TypeScript and Next.js configuration files for improved development experience and type safety.

Bug Fixes

Ensured API handler processes GraphQL requests properly with error handling.

Documentation

Included TypeScript declaration files for better type inference in the project.

@coderabbitai pause


Horos Listener + Orthweb

Hi,
I successfully deployed the solution and disabled TLS in the YAML configuration (I found an issue describing how to do this). Although I can configure Orthanc Web in the Horos application as a DICOM node and send DICOM files to Orthanc Web using Horos's SEND function, I am unable to perform query/retrieve operations.
I followed the documentation and tried to configure the DicomModalities as described here: Orthanc Integration with Horos, but I cannot figure out what is going wrong.
Thank you so much for your help.
Osvaldo

You can delete the issue. I moved to Dicoogle.
Thank you anyway.


prevent withRnv functions to generate new context

Description

https://github.com/flexn-io/renative/issues/1182

@pavjacko error in question (rnv new project)
[ info ] Found device Pixel_5_API_30:emulator-5554!
[ task ] _runGradleApp[1]
✔ Executing: npx react-native run-android --mode=Debug --no-packager --deviceId=emulator-5554

error Failed to load configuration of your project.
Error: ENOENT: no such file or directory, open 'package.json'
    at Object.openSync (node:fs:603:3)
    at Object.readFileSync (node:fs:471:35)
    at fsReadFileSync (/Users/lego/work/renative/packages/core/src/system/fs.ts:35:69)
    at createRnvContext (/Users/lego/work/renative/packages/core/src/context/index.ts:79:52)
    at Object.<anonymous> (/Users/lego/work/renative/packages/core/src/context/index.ts:121:17)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Function.Module._load (node:internal/modules/cjs/loader:960:12)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
COMMAND:

npx react-native run-android --mode=Debug --no-packager --deviceId=emulator-5554

FAILED with ERROR:

Command failed with exit code 1: npx react-native run-android --mode=Debug --no-packager --deviceId=emulator-5554

Error: Command failed with exit code 1: npx react-native run-android --mode=Debug --no-packager --deviceId=emulator-5554
    at makeError (/Users/lego/work/renative/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/lego/work/renative/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

 $ rnv run -p android - Done! 🚀

/Users/lego/work/renative/packages/cli/src/logger/index.ts:152
    const argArr = ctx.process.argv.slice(2);
                                    ^
TypeError: Cannot read properties of undefined (reading 'slice')
    at getCurrentCommand (/Users/lego/work/renative/packages/cli/src/logger/index.ts:152:37)
    at Object.logError (/Users/lego/work/renative/packages/cli/src/logger/index.ts:485:39)
    at logError (/Users/lego/work/renative/packages/core/src/logger/index.ts:45:21)
    at /Users/lego/work/renative/packages/cli/src/index.ts:46:36
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

closing as non-issue


Not able compile the current project.

The line
"writer.InitializeLzma2Encoder();" not able compiled.
I change it to
"writer.ConnectEncoder(new ArchiveWriter.Lzma2Encoder(1, null));"
then works fine.

Right thanks, that's in one of the sample/test projects, not in the actual library, will be fixed.

With the fix the sample compiles but doesn't terminate anymore (at least for me), there are 3 hanging threads waiting for further instructions, I've opened issue #4 for that because I'm not sure if thats a bug or if the fix was just wrong; in particular the fix for this issue doesn't dispose the Lzma2Encoder.


Support prometheus.remoteWrite flag

I am not quite sure what the use-case would be for this but I do think it looks ok - with the minor adjustments proposed.

The use case is to allow remote_write. We have some IoT agent which are not always running and we can not pull from. They should send/push the metrics to the remote_write endpoint. I have made an ingress that is bound to the specific url of the remote_write url of our prometheus instance + added basic auth to the ingress.

I had to rebase. Let me bump patch again

The use case is to allow remote_write. We have some IoT agent which are not always running and we can not pull from. They should send/push the metrics to the remote_write endpoint. I have made an ingress that is bound to the specific url of the remote_write url of our prometheus instance + added basic auth to the ingress.

I see no problem in making the chart here support setting up a remote write receiver. However, the "goto" solution for the use case you describe would normally be to set up a Prometheus pushgateway - there is support for flushing data to push-gateway from multiple libraries, i.e., the .NET library for prometheus.
The remote write protocol by default allows you to push any sample directly into the tsdb of Prometheus - and you probably do not want a single IoT client to be able to mess with your data like that. What's even more in a setup at scale where Prometheus passes data to a central tsdb (like Cortex or VictoriaMetrics) the data ingested by remote write would by default be passed onto the central database.
The remote write protocol is designed for federation like if you want to pass Prometheus data into a central database. It was not designed to handle sampling of data from individual endpoints.
But we would be happy to accept the PR with the small changes suggested - the code changes looks quite ok.


hub doesn't pass editor options to vi

I just stumbled across this regex that detects if the users editor is some variant of vi:
https://github.com/github/hub/blob/cbcc349e39c359ea2bd1f3f0d2ad56463750a905/github/editor.go#L114
Unless I am missing something obvious, shouldn't this rather be something like
r := regexp.MustCompile(`\b(?:[gm]?vim|vi)\b`)

in order to also match vi, but not gvi or mvi?

You're right. The [m] expression makes no sense since it would only ever match the literal m character. Maybe this was supposed to be (m)?? Care to submit a PR for this?

Sure.


Fix elyra installation for binder integration

Binder builds are functional again after using release target distribution
Fixes #587
Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

Is there a link to build a binder for the pr ?

Try it out

Looks good, but binder is showing up the "elyra repo" as its working directory, could we make it an empty dir or something more user friendly ?

Regarding the working directory: How about doing it this way, which takes advantage of the url path value https://mybinder.org/v2/gh/ptitzler/binder_test/master?urlpath=%2Flab/tree/notebooks/
See example in https://github.com/ptitzler/binder_test

@ptitzler looks like we decided at the same time to do the same thing and use the url context instead. It definitely is simpler this way.

Updated the binder link above to set the starting directory instead of attempting to set notebook-dir in the configs prior to launch. ^^ https://github.com/elyra-ai/elyra/pull/596#issuecomment-637675020


JWTAuthenticator with memcached - "Key too long error"

Hi,
Wondering if someone can help. We're keen to use the JWTAuthenticator in Silhouette. However, using this approach on clustered server environment means we must distribute the Play framework caching layer so that the server side tokens are shared across servers.
Following the guidance in the Silhouette docs, the easiest approach is to configure the default play framework cache layer to either memcached or redis. We decided on memcached for the moment.
Unfortunately, when using the JWTAuthenticator the token is too large too store and we get the following error:
[IllegalArgumentException: Key is too long (maxlen = 250)]
Now we do have control of our own authenticate method in the the CredentialsAuthController. So we could therefore hash this key to make it smaller, but from my understanding we wouldn't have the ability to modify the JWTAuthenticator class to change the way in which is pulls from the cache?
Is there a suitable workaround to this problem? I guess the only way would be for us to create our own equivalent Authenticator as the JWTAuthenticator but hash the tokens to make them smaller?
Thanks,
James

Hi,
the JWTAuthenticatorService gets an IDGenerator instance passed. By default in the seed templates the SecureRandomIDGenerator will be used. So either you change the byte length of the SecureRandomIDGenerator or you implement your own ID generator.
Cheers,
Christian

Christian,
Can you base JWTAuthenticator on play's secret key instead of a random key to get rid of usage cache layer in this case?
I think this approach will require no additional actions for somebody who wants to setup cluster environment.
Thanks,
Alexey

@aparamonov In this case every authenticator would have the same ID. The other issue is that Play's secret can also be longer as 250 chars.
By default the JWTAuthenticatorService doesn't need a cache layer. And the problem exists with all other authenticators too because they use all the SecureRandomIDGenerator by default.
What's the problem with setting the byte length of the generated ID?

One thing I forgot to mention. The authenticators are not bound directly to the cache anymore, because the AuthenticatorDAO can be implemented with any backing store. In the previous version it was bound directly to the cache.

@jamesallchin Does my suggestions solve your issue? If yes, it would be nice if that issue could be closed. Or do you have further questions?

@akkie Thanks Christian. It does solve the issue. Thanks. However, one last question before closing... You mentioned:
"One thing I forgot to mention. The authenticators are not bound directly to the cache anymore, because the AuthenticatorDAO can be implemented with any backing store. In the previous version it was bound directly to the cache."
Do you have an example of this where the JWTAuthenticator is not bound to the cache? From what I can see in your example see templates they still use the cache?

The examples using the CacheAuthenticatorDAO because it is the default AuthenticatorDAO implementation and it works out of the box with the Play cache. But you can also create your own AuthenticatorDAO implementation, which uses a database as example.

Thanks for all your help - let's close it.


Add current command name on a global variable

This can be useful to add the current command name to the statusline,
like this:
au User FzfStatusLine call <SID>fzf_statusline()

function! s:fzf_statusline()
  let fzf_cmd_name = get(g:, 'fzf_cmd_name', 'FZF')
  let &l:statusline = '> '.fzf_cmd_name
endfunction

Thanks for the suggestion. I see your point, but calling fzf#wrap does not necessarily mean that the user will call fzf#run immediately with the result. It's designed to be a pure function that should not affect the global state. Also, the variable you suggested only makes sense in Neovim and we don't want to unnecessarily expose it in ordinary Vim.
So here's the idea. Let's make the dictionary returned from fzf#wrap contain the optional name argument, and expose the dictionary as a buffer-local variable called b:fzf.
diff --git a/plugin/fzf.vim b/plugin/fzf.vim
index 1cd6ff7..e1e509a 100644
--- a/plugin/fzf.vim
+++ b/plugin/fzf.vim
@@ -201,6 +201,10 @@ function! fzf#wrap(...)
   endfor
   let [name, opts, bang] = args

+  if len(name)
+    let opts.name = name
+  endif
+
   " Layout: g:fzf_layout (and deprecated g:fzf_height)
   if bang
     for key in s:layout_keys
@@ -521,6 +525,7 @@ function! s:execute_term(dict, command, temps) abort
   let winrest = winrestcmd()
   let pbuf = bufnr('')
   let [ppos, winopts] = s:split(a:dict)
+  let b:fzf = a:dict
   let fzf = { 'buf': bufnr(''), 'pbuf': pbuf, 'ppos': ppos, 'dict': a:dict, 'temps': a:temps,
             \ 'winopts': winopts, 'winrest': winrest, 'lines': &lines,
             \ 'columns': &columns, 'command': a:command }

And you can use it like follows:
au User FzfStatusLine call <SID>fzf_statusline()

function! s:fzf_statusline()
  let &l:statusline = '> '.get(b:fzf, 'name', 'FZF')
endfunction

Suggested changed done. 😄

Merged, thanks.


chore: enable nightly run file verification

I thought I can make nightly_run trigger the file verification workflow in main branch during PR once I file_verification workflow merged in main, but encountered issues that cannot have nightly_run point to the file_verification workflow.
I am hoping that this nightly_run will trigger the file verification workflow correctly if they are all in main branch


[NDTensors] Refactor SetParameters

Description
I am working on refactorizing the SetParameters module. This includes renaming some the set_x_if_unspecified functions, adding unspecify_parameters functions, creating set_x functions and defining them on some set of types. In general I want to make sure we are utilizing these functions and there is extraneous code around the NDTensors library since we have rapidly gone through a few iterations of code in the last few months
Checklist:

[x] Rename the set_x_if_unspecified functions
[x] Create unspeicify_paramters functions
[ ] Create tests for unspecify paramters
[ ] Ensure we are using SetParameters appropriately throughout the NDTensors library
[ ] Create set_ndim and set_eltype functions in SetParameters

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

Comparison is base (f673d04) 84.05% compared to head (159a974) 53.88%.
 Consider uploading reports for the commit 7a66413 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1308       +/-   ##
===========================================
- Coverage   84.05%   53.88%   -30.18%
===========================================
  Files         100       99        -1
  Lines        8543     8490       -53
===========================================
- Hits         7181     4575     -2606
- Misses       1362     3915     +2553

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Looks like a good start, will be nice to have all of these improvements.

@mtfishman Should the UnspecifiedParameter in SetParameters be moved the UnspecifiedTypes?

@mtfishman Should the UnspecifiedParameter in SetParameters be moved the UnspecifiedTypes?

Let's keep it in SetParameters for now, it has a pretty narrow usage in SetParameters. Maybe we can reassess once UnspecifiedTypes is developed more. I wouldn't really picture most of UnspecifiedTypes being useful for SetParameters so my intuition is that it doesn't make sense to make UnspecifiedTypes a dependency of SetParameters.

@kmp5VT I think it makes sense to also define eltype_position and ndims_position and use those in set_eltype and set_ndims, to be consistent with the planned design of writing set_parenttype in terms of parenttype_position.

Looks good, definitely a nice simplification. I left a few more comments but besides that I think it is ready to merge.
I think if we come up with a good way to automatically generate definitions of get_parameter and set_parameter for new types this could be a good package to make public, I could see this being used a lot.


This should satisfy Issue #6269.

This adds a parameter called preventDisable.
The parameter defaults to false, but if set true, should keep the timekeeper from disabling the input fields.  This will be helpful for anyone needing better keyboard support.

A better solution is to override the template - that way this does not add library configuration bloat for what seems to be a weird request (especially given that this feature is tied to accessibility if I remember correctly).
Closing as an invalid approach.

The changes I submitted satisfy federal government requirements of Section 508 of the Rehabilitation Act of 1973.  This is not a weird request.

Hi !
Do we have any news on this feature ?
On Nov 29, 2016 9:41 AM, "Martin Gouaillier"<EMAIL_ADDRESS>wrote:

Hi !
Do we have any news on this feature ? I'm highly interested
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/angular-ui/bootstrap/pull/6270#issuecomment-263605363,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACj74RL6HC2nhhDoE7hps9YndRNds4ikks5rDEfGgaJpZM4KKcDm
.


How to hide values on view?

Hello
I have created a new Bread and everything is working good, i need to know how to hide some values from being listed on index view, for example i can see the id, i can see created at, i can see others value i dont need to list, is there a way to hide certain rows?

I'm not sure I understand your question, but I think this is mentioned in our docs.

The issue is that i can see for example the id of the item in my view and dont want to show that number, also i dont want to show the created at row in the list, i can see all the values that are on the table but i need to show only some of them , not all.

Yeah, then I understand you correctly and you should read our docs.

Ok, i have disabled them by using the Visibility mode to hidden , i hope thats correct, i will check the docs anyway on that step.

Thats the way, yes.


Improve branch coverage

Branch coverage has been significantly improved. It cannot be further improved, as the remaining upgrades would begin asynchronous tasks, causing the tests not to exit properly.

LGTM!
Great work!


what is the   code used by this package?

https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
may I know what is the standard code format used?

When the browser makes a request, language and locale are returned as simple two-letter ISO codes (ISO-3166 and ISO-639), which together indicate the language and country variant of that language; for example en-GB for English as used in the UK. There are currently 249 country codes set out in ISO-3166 and 184 languages defined in ISO-639.


Severe reduction in traffic for hosted nodes following most recent update.

Like many others I have noticed a near complete drop off in traffic to my hosted node since the latest updates.
I discovered that the show residential ips only option is set by default in the desktop client settings, and clearing that allowed me to find my server. As this is neither transparent, nor flagged up to the user during install - it is likely the most obvious reason for the drop off in traffic, as most users will not notice this silent removal of hosted nodes like mine, when they update to the newest client.
It would be a simple matter to change the default to show all nodes. Or if preferred, offer the user the choice during installation. As it is, hosted nodes like mine are being unfairly penalised with regard to the bounty system, as well as reducing choice for end-users.

Hosted nodes do not unblock media streaming services and therefore don't provide good UX for the end-users. For that, residential has been selected by default. This will change in the 5.x version with the upcoming filter presets: "Media streaming", "Browsing", etc.

Sounds like self-canibalizing decision.
It's relatively rare for services to block hosting nodes, and if that's the case, user can easily switch to residential.
On the other hand, losing hosting nodes is something you won't get back easily if ever.

Not all nodes are equal! Mine has 200Mb/s per port up and down, so theoretically enough for 40 simultaneous HD video streams, or even 8 @ 4K. Perhaps there is a way to evaluate speeds as part of the regular 1.2GB test? Then show this in the Quality icon by each node, rather than a blanket ban?


Design pipeline ownership in multi-level Storage client

I was reviewing the Storage AIO PR, and found something that concerns me a little:
We have several client:

BlobServiceClient
BlobClient
ContainerClient

From a BlobServiceClient, you can receive a BlobClient using “get_blob_client”. “get_blob_client” will create a BlobClient by sharing the same “pipeline”.
This means this code:
with BlobServiceClient(….) as bsc:
    with bsc.get_bloc_client() as bc:
        # pass

Will call twice the aenter and aexit on the transport. That already could be a problem, but if you do code still like this, that starts to become really unhealthy for you:
with BlobServiceClient(….) as bsc:
    with bsc.get_bloc_client() as bc:
        # pass
    bsc.get_account_information()  # transport closed!

Discussing with @johanste , we don't want reference count to enable scenario like "I create BlobServiceClient, from which I create a ContainerClient, from that I create the BlobServiceClient and it stills work".
Current proposal would be if you create a local client from an upper client, the upper client owns the pipeline (or the transport at least) and you need to close them in the correct order.

Looking at azure core, the fix would be to pass "session_owner=False" to transport of created client, with the same session from the main transport.

@rakshith91 : Please take a look

Thinking about this a bit further, transport is supposed to be a black box, not we're not supposed to know how to instantiate a new transport. Also, if customer provide their own transport, we don't know at all how to create it.
Our problem is that we don't want the inner client to close the outer transport. We can achieve that with a wrapper that does not close:
class AsyncTransportWrapper(AsyncHttpTransport):

    def __init__(self, async_transport):
        self._transport = async_transport

    async def send(self, request, **kwargs):
        return await self._transport.send(request, **kwargs)

    async def open(self):
        pass

    async def close(self):
        pass

    async def __aexit__(self, *args):
        pass

Example of unittest:
transport = RequestsTransport()
with BlobServiceClient(transport=transport) as bsc:
    assert transport.session is not None
    with bsc.get_blob_client() as bc:
        assert transport.session is not None
    assert transport.session is not None  # Right now it's None

merged


Collect admin - New invited user appears four times in workspace chat member list

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.33-4
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4254707
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

On Old Dot, create a Collect workspace and add this snippet to console.

if (Url.getCurrentPageName()!="policy" ){ alert('Only run this snippet from a policy editor!'); } else { var p = Policy.getCurrent(); p.policy.isPolicyExpenseChatEnabled = "true"; p.save().done(function(){$.jGrowl('Workspace chat creation enabled!')}); }

Log in to New Dot (log out and log in again if logged in to see the Collect workspace in New Dot settings).
Go to Settings > Workspaces > Collect workspace > Members
Invite a new member who is not registered on New Dot
Go to workspace chat with the new member
Click on the chat header
Click Members

Expected Result:
The new member only appears one time in the member list
Actual Result:
The new member appears four times in the member list
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/fc1057bd-4105-45b9-b2e9-b11ce4a5aca5
View all open jobs on GitHub

We think that this bug might be related to #wave8.
CC @zanyrenney

Tried twice with private (expensifail.com) and public (gmail.com) domains and did not reproduce.
https://github.com/Expensify/App/assets/6833644/11d557b1-4835-47ff-a592-e795b80a71b4
Closing this out

Hmm yeah I can't repro either. The workspace chat doesn't appear unread in my LHN after inviting the user though, but I think that's from a different issue.
https://github.com/Expensify/App/assets/2229301/548f875f-ca02-4513-9970-8d10fb4d20d3
Looks like it might be an issue with optimistic data and the members list is correct once the API returns the updated chat members list? Either way, doesn't look like it's blocking any major workflow so we can remove the label for now.

@kbecciv @lanitochka17 there seems to be something missing from the reproduction steps. Please update them otherwise we'll just close this as it is not reproducible currently.

No update. Closing this out again


expose more csv parser options

fixes #603
exposes comment, ignoreEmptyLines and allowIncmpleteLines options for
csv parser along with necessary tests

@dmajda @dmehra @davidvgalbraith more csv options! let me know what you think of the names and what else comes to mind but I think this also handles the #557 quite well. I'll update documentation once we agree on option naming.

Other options exposed by fast-csv parser: https://www.npmjs.com/package/fast-csv#parsing some can be a bit "confusing" so I left them out but I'm open to suggestions.

+1
I just discovered the need to skip top lines of a csv file because they are comments (double-quoted strings), I see people do this with Python Pandas using skiprows=N in read_csv; however the ability to skip comments would solve the same issue for me.

Typo in the commit message of https://github.com/juttle/juttle/pull/605/commits/8cc8a29d88178038b27669b0925f87aaadeb7213: “allowIncmpleteLines”.

Re https://github.com/juttle/juttle/pull/605/commits/c7bfb482d2cb894e3ac1988c567a02f0f5e6c872 — why file and stdio but not http and http_server?

@dmajda and I'll add the options to http & http_server and we can decide on the name of the option once that is done.

@dmajda did all the updates including exposing the options within the file, stdio, http and http_sever adapter and renamed -separator to -separatorChar and so we should advertise on gitter this backward comptability breakage at least to the user that requested the separator option.

+1

I’d actually keep -separator as it is even at the cost of slight inconsistency. Unlike -commentChar it will be used relatively often (so it should be short) and the term is well established.
Thinking about this, maybe rename the -commentChar option to -commentStart? That would move us from describing the type or allowed value to describing the meaning, making it more consistent with -separator. The cost is a slight loss of precision as people could think this could be e.g. a longer string or a regexp. Up to you.

-commentSymbol ?

Alright updated with all remaining suggestions and the option is now characterSymbol with the separator option kept as is. Will merge on green.


MSR role assignment from Management portal

Would it be possible to assign role to a user from the front-end (Management portal for example) rather than setting that up from Keycloak manually?
Scenario: A user who is a member of ExampleOrg1 in a MIR wants to register their service to an MSR which requires 'service admin' role to begin with. An MSR admin would be possible to assign the role to him/her from a menu under the 'Service Registry' section of the Management portal.

Role management for the new MSR is handled in Keycloak instead of following the role hierarchy of the MIR, as the old MSR did. This makes role management for the MSR more dynamic and fine grained, but on the other hand it also requires access to Keycloak's admin interface.
A suggestion on how to handle user roles on a per-organization-basis for organization admins is to implement it as part of the MIR API, as that already has an interface to Keycloak's API to be able to create users, OIDC clients, etc.


Tutorial to SASS Part 1

[x] Create Jupyter Notebook File
[x] Explain basics of SASS, SCSS, and CSS
[x] Show examples of SASS, SCSS, and CSS (reference vscode during live review)
[ ] Themes
[ ] How to customize colors/themes in fastpages

Aniket Grade: 2.7


Explain how Cody context respects code-host permissions

Explain exactly the path of respecting code-host permissions regarding to getting snippets into Cody context.

Slack: https://sourcegraph.slack.com/archives/C05405NC49H/p1697843731794539?thread_ts=1697843051.984089&cid=C05405NC49H

@cbart can we add a task to properly test cody repo permissions (including sub-repo permissions)?

Added a task here. I need to learn more about what's already present, and prioritize this.

Relevant thead: https://sourcegraph.slack.com/archives/C05FY86PHLM/p1697758876123089

We can think about this in terms of context sources:

Editor context (VScode, JetBrains, neovim) across autocomplete, chat and commands
Embeddings (local/App, dotcom, enterprise)
Code Graph
symf
Legacy context sources in VScode, there's a bunch of experiments there

We could also do some mitigation in depth at the context sinks:

Embeddings
LLM completions for chat/commands
LLM completions for autocomplete
Audit other LLM use

And we want to have these controls work at each of these sources and sinks: (Would love product input on whether these requirements are right:)

If there is a "codyignore" file in the repo, filter context sources by the contents of the file.
Don't walk the filesystem outside of the project/workspace someone opened/opted into indexing for discovering repo roots.
Do not include files outside the project/workspace, even if they are open in the editor, unless someone explicitly tagged those files to include as context.

Context, threads on "codyignore": RFC 852,, Slack, PR 1358,

FYI, it is my understanding (based on what @chwarwick told me) that Repository permissions, including sub-repository permissions, are respected and the implementation was reviewed by Security. I had a peek at the code and this seems to be correct.
We could always use more tests, though. Should the issue title be changed to just reflect that aspect?
I also want to mention https://github.com/sourcegraph/sourcegraph/issues/58375 which is work Cody strat team is doing in Q4 to give more fine-grained control to admins.


Expose InternalInput offset <-> line:column conversions

https://github.com/scalameta/scalameta/blob/11a66cb6476d62783bcad27845a2db2a9a5a0128/langmeta/langmeta/shared/src/main/scala/org/langmeta/internal/inputs/InternalInput.scala#L27-L36
These would be helpful in language-server and could help prevent bugs like https://github.com/scalameta/language-server/issues/119

@olafurpg Is this ticket still relevant now that we switched to line/column in SemanticDB v3?

This is absolutely still relevant, start/end offsets appear all over the place.

Superseded by https://github.com/scalameta/scalameta/issues/1588.


ceph-mon: use --admin-daemon to set default crush rule

A default crush rule is inserted into the daemon via the ceph daemon config
command. This command tries to resolve the admin socket path and fails if you
have a duplicate key in the ceph configuration.
This PR uses the --admin-daemon option to prevent the task from failling.
This is related to #4492 (which has been fixed with #4507)
Signed-off-by: Mihai Plasoianu<EMAIL_ADDRESS>

@guits Is it possible that you merged into the wrong branch?

jenkins test centos-container-ooo_collocation

jenkins test centos-container-update

jenkins test centos-non_container-collocation

jenkins test centos-non_container-switch_to_containers

jenkins test centos-container-update


Add SwiftToolchain class

Stores details about the current swift toolchain. Collects various functions into one class

It works:)


modifies MainActivity on android

Android projects created in flutter 1.12 no longer use MainActivity.java generating a white screen before the home screen.

Same issue i am also facing black screen for a couple of seconds
is there any solution??

Is this a bug with the package, or with the new version of Flutter?

@Bharat1509 @skystar7 Probably this is the solution: #54

Should be resolved by 48981828e831768c4ad89a35475e8f9f24e0aca5.

Should be resolved by 48981828e831768c4ad89a35475e8f9f24e0aca5.


Version 1.1.0rc1 does not allow es.snapshots command line argument

Looks like version 1.1.0rc1 does not accept the --es.snapshots=true option.
I tried running this against an elasticsearch cluster running elasticsearch version 6.1.4 which should work.
Passing the snapshot flag gives
docker run -it -p 9108:9108 -p 9114:9114 justwatch/elasticsearch_exporter:1.1.0rc1 --es.uri=http://elasticsearch:9200 --es.snapshots=true --es.all=true --es.indices=true
elasticsearch_exporter: error: unexpected true, try --help

Not passing it starts the server as expected but fails when I try to curl it. From the same machine
level=info ts=2019-03-07T03:53:09.620364389Z caller=clusterinfo.go:197 msg="triggering initial cluster info call"
level=info ts=2019-03-07T03:53:09.620875692Z caller=clusterinfo.go:166 msg="providing consumers with updated cluster info label"
level=info ts=2019-03-07T03:53:10.84473098Z caller=main.go:148 msg="started cluster info retriever" interval=5m0s
level=info ts=2019-03-07T03:53:10.845089945Z caller=main.go:183 msg="starting elasticsearch_exporter" addr=:9114

The curl response
curl http://localhost:9108/metrics
curl: (52) Empty reply from server

Hi @oloo,
thanks for reporting this.
The commandline to include the snapshot metrics must be --es.snapshots (without the =true). I'll document this in the README.
Regarding the empty response: the port in the must be 9114 (a breaking change, as pointed out in the release notes - sorry for the confusion)


Missing getter for source name

I do not know if it is intended, but there is no getter for the name.
https://github.com/KyoriPowered/adventure/blob/b991c1fc8e0ffeaca4644eaa7cf914bf8fcbd8a0/api/src/main/java/net/kyori/adventure/sound/Sound.java#L200

This is intended behaviour -- to get the name associated with a Sound, the NAMES index should be used.


bug with a gun

the mp5 bolt pops out of the gun while you are crouching and looks funny while shooting

Darn. I was hoping nobody would notice 😭😭😭


cnBase and tailwind-merge

It looks if i use cnBase classes conflicts are not resolved by tailwind-merge. How can i solve this?
(Another thing, in the docs i find cxBase, but in the library i just find cnBase, is the docs outdated?)

@federicocappellotto97 The docs there were simply outdated. Also, I'm likely going to deprecate cnBase as it is intended to be an internal helper only. It's not something I recommend relying on, please install tailwind-merge or clsx separately.


Add basic traits and implementation for configuration models

Probably good to raise this against btmesh repo as well as Im trying to use that for the Hackathon

Here's btmesh PR as well https://github.com/drogue-iot/btmesh/pull/2. I started migrating bluer work to it as well.

bors r+


Feature/junit

Hi,
This pull requests adds support for JUnit style XML. Please merge if you're happy with it.
Thanks

Awesome!
Thanks for your good work helping this project, I appreciate.
Regards,
Lourenzo


How to rotate the menu text (Story mode, freeplay ...)

Describe your problem here.
i want to rotate the menu text and i don't know to do it .
i tried with tweenAngle and it not works pls help me
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

make new sprite sheet

Lua scripts aren't loaded in menus, use source

Lua scripts aren't loaded in menus, use source

Yea

Lua scripts aren't loaded in menus, use source

how i can do that ?

There are thousands of source code menu tutorials online

i don't find any tuto that help me


ttnn.selu - LOW PCC (~0.19)

ttnn.selu op exhibits low PCC (~0.19). Provided unit test gives multiple configurations where we observe problem. Some of them are:
        [(3, 2, 192, 32)],
        [ttnn.bfloat16],
        [ttnn.TILE_LAYOUT],
        [ttnn.DRAM_MEMORY_CONFIG],
        ttnn.L1_MEMORY_CONFIG,
        6861134,

and

        [(12, 224, 224)],
        [ttnn.bfloat8_b],
        [ttnn.TILE_LAYOUT],
        [ttnn.DRAM_MEMORY_CONFIG],
        ttnn.L1_MEMORY_CONFIG,
        6411147,

Provided unit test shows more configurations where the problem can be observed.

Steps to reproduce
Checkout

npetrovic/selu-sweep

branch (soon to be merged into main). You can run unit test which can showcase this problem with this command:
pytest /home/ubuntu/tt-metal/tests/ttnn/python_api_testing/non_working_unit_tests/wormhole/test_selu.py

@npetrovic-tenstorrent Merged the fix into main


Fixed Explore iframe route handling hijacking routes on reload

no issue

Ensure the event origin matches the correct iframe URL before handling the message data

fixes https://github.com/TryGhost/Team/issues/2169


Change color of GPX Tracks plotting on map

Hi TrekDev,
I have been trying to change the color of the GPX Track plotted on my map but with no luck.I looked into the documentation but did not get much info. Is there a way to change the color of the Tracks plotted in the map and if so can you please direct me as how to achieve the same?
Regards,
Dhanush

Hi Dhanush-S,
Have you seen this post on StackOverflow? If you look into the assets folder of the SDK demo you'll see SKMaps.zip, which contains several style.json files. These contain the style attributes that define the colour of the GPX tracks.
The SO post mentions it isn't possible to change the route colour dynamically, if that is what you're after. However, it was answered nearly a year ago so it may have been added in v2.4, but I can't find anything about it in the documentation. It might be worth posting to the Skobbler developer forums, as the SDK developers are active there and seem to respond to developer requests frequently.

TD

Hi Dhanush-S,
Skobbler SDK v2.5 has just been released today. I'm going to be updating the bindings over the next few days so hopefully it'll have what you're looking for.

TD


[json] Add telemetry event when user edit a json file for Azure RM.

When we refactored JSON to an extension, we lost the telemetry on how many users edit a JSOMN file for Azure RM. We need to add it back with the support telemetry support that @SofianHn added.

@aeschli I will mark this as verified, I would highly recommend though to update the definition in here to make the telemetry service grab bag data is a string:string dictionary.
export interface ITelemetryService {
	log(key: string, data: {[key:string]:string}): void;
}