The download instructions for Kubectl point to a file for 1.1.3 that doesn’t exist

Description:

What issue is being seen? Describe what should be happening instead of
the bug, for example: Envoy should not crash, the expected value isn't
returned, etc.

Install instructions listed on the website for kubectl do not work
Repro steps:

Include sample requests, environment, etc. All data and inputs
required to reproduce the bug.

Go to https://gateway.envoyproxy.io/docs/install/install-yaml/#install-with-yaml
Run Kubectl command, currently kubectl apply --server-side -f https://github.com/envoyproxy/gateway/releases/download/v1.1.3/install.yaml
Get 404 error
I believe the issue is that there is no release published for 1.1.3 https://github.com/envoyproxy/gateway/releases

Note: If there are privacy concerns, sanitize the data prior to
sharing.

Environment:

Include the environment like gateway version, envoy version and so on.

Logs:

Include the access logs and the Envoy logs.

hey @softprops raised https://github.com/envoyproxy/gateway/pull/4615 to fix this


Disconnection halts apps

Hi, I have one server and one client talking to each other and trading data, whenever I close one app it boink halts and the other does the same. (these are two Windows apps)
Is there a recommended clean way to exit ?
Does it happen because one is sending/receiving and suddenly it halts because of non completion.
Can I listen for some event so this doesn't happen ?
Thank you
Frank

same issue here

(happens on timeout)

Hi Ohmnivore.
The provided server/slient example works ok because there is nothing else going on.
So I used it in an app that displays scoreboard infor and communicates with the input app through Anette. I tried to halt sending and receiving before disconnecting so that it didn't push data while disconnecting. But still no luck. I don't know if the dev is around but if you happen to come across a fix for this, please do share.

hehe i'll be debugging this for a few hours today, i'll report back soon

Sorry, I've been busy, will investigate it today!

Ok it gets stuck in the buffer loop server-side when there's a disconnection, will try to fix it soon.

Thanks for looking into it Dvergar.


Update stable version in repo from 1.6.3 to 1.6.4

Think about update stable version to 1.6.4
Version: stable=1.6.3 (435 days old) => latest=1.6.4 (30 days old)
Installs: stable=5497 (75.5%), latest=362 (4.97%), total=7281
Click to edit

This issue seems to be outdated.
This issue suggests to update the stable version of this adapter to 1.6.4 but in the meantime an update to version 1.6.5 is suggested.
So this issue will be closed and replaced by an updated one.


Does it delete cache on ajax form submission

i am going to use it with jquery ajax form submission  ,will it delete the cache,on ajax success

I hope it does, but anyway you can investigate it :) only 2 options are possible.

Yes it Do,Very Beautiful plugin,thanks for making it,
i suggest it should  have a  clear cache method exposed as public

Thank you for your response, it already has what you need: please read pull request details here https://github.com/simsalabim/sisyphus/pull/16


Automated Package Upgrade

:tada: This PR is included in version 5.0.68 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


SOQL Language Server - GROUP BY Token Restrictions

Summary
GROUP BY should not be an auto complete option if we already have GROUP BY in the proceeding token (for example ROLLUP/CUBE).
Steps To Reproduce:

Type query SELECT Title, COUNT(Name) FROM Contact GROUP BY ROLLUP  from a .soql file.
Run the auto-completion with Ctr+Space.

Expected result
When I have a query like the following, I would not expect to see the 'GROUP BY' token.
SELECT Title, COUNT(Name) FROM Contact GROUP BY ROLLUP
SELECT Title, COUNT(Name) FROM Contact GROUP BY CUBE
Actual result
For query SELECT Title, COUNT(Name) FROM Contact GROUP BY ROLLUP  GROUP BY is an auto-complete option.

For query SELECT Title, COUNT(Name) FROM Contact GROUP BY CUBE  GROUP BY is an auto-completion option.

Fixed in the SOQL LSP


Editor: I can not hide GridMap (2.1.x)

Operating system or device - Godot version:
win
Issue description:

Steps to reproduce:
1 create a GridMap
2 draw there anything
3 click on the icon show/hide for GridMap and it can not be hidden.
Link to minimal example project:
:

Duplicate of #907. Please mention your Godot version next time, as asked in the template.


Testresultshowfix

Shows the correct test result on each page,  also fixes an error in the variable naming in the backend and gives even more feedback on which tests were successful

Ser bra ut. Bra touch med respons på varje flik om testet godkändes eller ej!


Needs a section on managing connections for purposes of Entity Framework

The data about this on the web is muddled. Clear documentation on how to use Entity Framework and have it find the connection in the configuration is badly needed.

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

ID: cb8d85a7-1ca3-71f4-85fb-7fb02850b60e
Version Independent ID: 3d7daee4-fd6d-0e96-299a-90b3637e6150
Content: How to manage connections in Azure Functions
Content Source: articles/azure-functions/manage-connections.md
Service: functions
GitHub Login: @tdykstra
Microsoft Alias: tdykstra

@jrichview Thanks for the suggestion, and I agree this is a gap in our documentation.  I have added this to our backlog of documentation work for Functions, but I don't have an ETA on when it will be published. It might help us direct our efforts and produce something sooner if you can provide more specifics about the scenario you're trying to implement.

@jrichview I have added a section to the connection management topic that discusses working with SQL connection strings. Would you consider this sufficient to go on, or would it help to have a how to topic for working with EF and Functions?

@jrichview you again highlight a particular challenge for our documentation. Namely, that there are various modalities for publishing function code (portal/Visual Studio/Core Tools/CI), and only Core Tools provides a way to publish setting from local.settings.json (--publish-local-settings -i). It makes me wonder of instead of hoping customers find the right info in a given development tool topic, do we need to have a publishing considerations topic (or something like that). We do try to mention the local settings situation in the various tools topics.

That sounds like an excellent idea to me. It definitely can be confusing when different publishing methods have different capabilities. That might help someone choose how to go about it.
From: Glenn Gailey<EMAIL_ADDRESS>Sent: Monday, August 6, 2018 3:34 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: jrichview<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Needs a section on managing connections for purposes of Entity Framework (#11618)
@jrichviewhttps://github.com/jrichview you again highlight a particular challenge for our documentation. Namely, that there are various modalities for publishing function code (portal/Visual Studio/Core Tools/CI), and only Core Tools provides a way to publish setting from local.settings.jsonhttps://docs.microsoft.com/en-us/azure/azure-functions/functions-run-local#publish (--publish-local-settings -i). It makes me wonder of instead of hoping customers find the right info in a given development tool topic, do we need to have a publishing considerations topic (or something like that). We do try to mention the local settings situation in the various tools topics.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/11618#issuecomment-410827034, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACIh7E7Qj9D6QxUuOYQds3n-AICyE8Xmks5uOJohgaJpZM4VM2jw.

I have also created an internal work item to track this content gap (1320405). Unless there is anything else related to this issue, #please-close.


Zf3 Support

THis module doen't support ZF3.
Just did a quick check there will be problems with the filters

Okay

Has the support for ZF3 been updated?

Hi Stanislav,
Do you plan to close this issue?
Thank you.

Hi, all! Not, yet. You can contribute to development.. I haven't a time

Ok, I'll do soon.
Have you started it on another branch? Or I should start from master?

You could strarted from "3.2.1"
https://github.com/stanislav-web/ZF2-PHP-WebSocket-Server-Factory/tree/3.2.1


Possibility to capture updated cookie

Hi,
Is there any way to capture updated cookie?
Situation:
After landing on the login page cookie is created and captured by the Evilginx.
After successfull login cookie is then updated but update is not captured by the Evilginx.

maybe you should not capture the cookie on the landing page? but on the auth page?

I have tried to experiment with session: true/false parameter and also tried to enter multiple rows with the domain and different configuration of phishlet....Nothing worked.... Problem is that the cookie is updated on the same domain as where is created...
Landing page (cookie created) -> authentication domain (2FA) -> Landing page (cookie updated)... Cookie is captured in the first step when accessing landing page.


Windows and http.Filesystem issues

Hi, guys, thank you for great application, but I'm having a problem with it in Windows. When I launch tchaik like this:
$ tchaik -path "C:\Music" -debug true

I get error messages about invalid character in file path from artwork and filesystem submodules. And, obviously no artworks are being rendered, no files can be played in UI.
I've debugged this and found that these messages are generated by go stdlib package here:
https://golang.org/src/net/http/fs.go#36
I'm not sure yet, is it a bug in Go package, but is it really necessary to use http.File? My temporary workaround looks like this (patch for store/filesystem.go):
// Open implements FileSystem.
func (fs *fileSystem) Open(ctx context.Context, path string) (http.File, error) {
	f, err := os.Open(path)
	return f, err
}

Could you past the errors that you're getting?

@solarnz sure:
Pavel@PAVEL-PC /e/Projects/src/tchaik.com/cmd/tchaik (master)
$ tchaik -path "C:\Users\Pavel\Music\iTunes\iTunes Media\Music\Compilations\FIFA 15" -debug true
Walking C:\Users\Pavel\Music\iTunes\iTunes Media\Music\Compilations\FIFA 15...
Finished walking.
Building Tchaik Library...done.
Building root collection...done.
Building artists filter...done.
Building recent index...done.
Building search index...done.
Loading play history...done.
Web server is running on http://localhost:8080
Quit the server with CTRL-C.
Debug path:  C:\Users\Pavel\Music\iTunes\iTunes Media\Music\Compilations\FIFA 15\11. Foster The People - Are You What You Want To Be.mp3
Media 2015/08/15 15:40:13 open error: http: invalid character in file path
Debug path:  C:\Users\Pavel\Music\iTunes\iTunes Media\Music\Compilations\FIFA 15\11. Foster The People - Are You What You Want To Be.mp3
Artwork 2015/08/15 15:40:13 open error: http: invalid character in file path
Debug path:  C:\Users\Pavel\Music\iTunes\iTunes Media\Music\Compilations\FIFA 15\11. Foster The People - Are You What You Want To Be.mp3
Artwork 2015/08/15 15:40:14 open error: http: invalid character in file path

I've patched store/filesystem.go a bit to print paths trying to be opened. All this paths are 100% valid.

Thanks for the report, looking into it now.
FYI: if you add -trace-listen localhost:4040 to the tchaik command, then you can see the full trace of the filesystem lookups at http://localhost:4040/debug/requests in your browser (see https://github.com/tchaik/tchaik#-trace-listen for a bit more info).
We can't just use os.Open because the config allows you to specify external sources (rather than things on your local machine).  This is where http.Dir is being included: https://github.com/tchaik/tchaik/blob/master/store/cmdflag/flag.go#L100.

The problem is that http.Dir expects paths from a URL (i.e. using / as the separator), but we rewrite paths into OS-style paths and then pass them to http.Dir.  This is only a problem on Windows.

@dhowden Thanks for the efficient response, but now I get this errors:
Media 2015/08/15 16:14:42 open error: open \C:\Users\Pavel\Music\iTunes\iTunes Media\Music\Compilations\FIFA 15\11. Foster The People - Are You What You Want To Be.mp3: The filename, directory name, or volume label syntax is incorrect.
Artwork 2015/08/15 16:14:42 open error: open \C:\Users\Pavel\Music\iTunes\iTunes Media\Music\Compilations\FIFA 15\11. Foster The People - Are You What You Want To Be.mp3: The filename, directory name, or volume label syntax is incorrect.

Looks like filepath.ToSlash() is not working properly on windows too - there shouldn't be any slashes before VolumeName

Yes, I saw this was being added in http.Dir: https://golang.org/src/net/http/fs.go#44.  Not sure how I can get around this.  Will have a look.

Did you get the trace stuff working? Can you send me the trace output for the request?

@dhowden I would like to help, but for some reason, -trace-listen flag is not working for me, investigating this...

@dhowden artwork error trace:
015/08/15 16:38:01.921593	0.000500	/0ddc68abb5805716424c5dcb6d72a42fb33d90be
16:38:01.921593	 .      	... libraryFileSystem: open: /0ddc68abb5805716424c5dcb6d72a42fb33d90be
16:38:01.921593	 .      	... local artworkstore: open: C:/Users/Pavel/Music/iTunes/iTunes Media/Music/Compilations/FIFA 15/11. Foster The People - Are You What You Want To Be.mp3
16:38:01.921593	 .      	... localstore (/): open: C:/Users/Pavel/Music/iTunes/iTunes Media/Music/Compilations/FIFA 15/11. Foster The People - Are You What You Want To Be.mp3
16:38:01.921593	 .      	... localstore (/): error opening: C:/Users/Pavel/Music/iTunes/iTunes Media/Music/Compilations/FIFA 15/11. Foster The People - Are You What You Want To Be.mp3
16:38:01.921593	 .      	... local artworkstore: error opening: C:/Users/Pavel/Music/iTunes/iTunes Media/Music/Compilations/FIFA 15/11. Foster The People - Are You What You Want To Be.mp3
16:38:01.922093	 .   500	... libraryFileSystem: error opening: /0ddc68abb5805716424c5dcb6d72a42fb33d90be

Track error trace:
015/08/15 16:38:01.841624	0.003000	/0ddc68abb5805716424c5dcb6d72a42fb33d90be
16:38:01.841624	 .      	... libraryFileSystem: open: /0ddc68abb5805716424c5dcb6d72a42fb33d90be
16:38:01.841624	 .      	... localstore (/): open: C:/Users/Pavel/Music/iTunes/iTunes Media/Music/Compilations/FIFA 15/11. Foster The People - Are You What You Want To Be.mp3
16:38:01.843625	 .  2000	... localstore (/): error opening: C:/Users/Pavel/Music/iTunes/iTunes Media/Music/Compilations/FIFA 15/11. Foster The People - Are You What You Want To Be.mp3
16:38:01.844624	 .  1000	... libraryFileSystem: error opening: /0ddc68abb5805716424c5dcb6d72a42fb33d90be

Ah ha!  Ok, so you need to set -local-store (which is defaulting to /).
Try adding the params: -local-store C:\Music -trim-path-prefix C:\Music

@dhowden Thanks, it worked!


Unable to draw lines on a popup window

Hi,
First of all this is an amazing library, but i noticed that we are not able to draw lines on a popup window. The line is drawn below it , is there a workaround for this ?.
Thanks in advance.

Hi @vivekgn217, thank you for the comment.
I don't know your popup window (library), but this may help you.
https://jsfiddle.net/pfnx0ehk/ (Click "OPEN" button)
Using PlainModal

Hi Anseki,
Thanks for the Prompt reply. I am using webix(framework) popup window. It looks like the z-index for webix popup is high so the drawings were drawn below the window. I have increased the z-index of leader line and its working fine. Thanks a lot for your support. Amazing work and support .

Hi ,
Facing the same issue with LeaderLine  , line is forming under the popup and i tried the both ways which are mentioned above
Below is my code . Could you please help me on this

×

 e.preventDefault()}>
                                    Map Excel columns with Rpa

                                        <form onSubmit={(e) => e.preventDefault()} >

Excel Parameters

                                            {excel.map((data, index) => (

                                                    <input draggable="true" id="start" ref={this.myRef}  onDragStart={(e) => { this.dragStart(e, index) }} disabled="disable" value={data} type="text" />

                                            ))}
                                        </form>
                                        {/* <canvas id="drawContainer" width="100" height="500"  ></canvas> */}

                                        <form onSubmit={(e) => e.preventDefault()} >

RPA Parameters

                                            {keys.map((data, index) => (

                                                    <input  id="end" ref={this.myRef1} onDrop={(e) => { this.drop(e, index) }} onDragOver={(e) => { e.preventDefault(); }} disabled="disable" value={data.inputPlaceHolder != "" ? data.inputPlaceHolder : (data.inputLabel != "") ? data.inputLabel : ""} type="text" />

                                            ))}
                                        </form>

                                    <button class="btn-outline" onClick={() => this.handleIgnore()} data-dismiss="modal">Ignore & Play</button>
                                     this.handleSubmit()} class="primary-btn" >Accept & Play

                            </form>

Hi @harika-c, thank you for the comment.
Could you explain about the "both ways" you said?

@anseki  1. using PlainModal ,when i trying to access modal using the below statement
var modal = new PlainModal(document.getElementById('modal-content'));  i was getting this  error : 'PlainModal' is not defined  no-undef   . Even though i added the script tag in my html file , component file
2. I have increased the  z-index value to 2   for #start , #end .  (Please correct me if im doing something wrong here)

You mistook the URL of  PlainModal maybe.
Try this example: https://github.com/anseki/leader-line/issues/33#issuecomment-443587661

thanks for replying , it is working now i had to add leaderline script tag and the below css in my css file .
.leader-line {
z-index: 9001;
}
Thank you so much @anseki

:smile:


Add CI pipeline with Github Actions

I guess we do need this :grin:

On windows is still failing with the following error
2020-05-14T10:42:58.3914037Z D:\a\osqp-eigen\osqp-eigen\tests\MPCTest.cpp(75,14): error C2065: 'M_PI': undeclared identifier [D:\a\osqp-eigen\osqp-eigen\build\tests\MPCUnitTests.vcxproj]

even if I added
https://github.com/robotology/osqp-eigen/blob/bb6361f5326da52aa0fc972f46432405537bbc6c/tests/MPCTest.cpp#L20-L21
Do you have any hints? @S-Dafarra @traversaro

On windows is still failing with the following error
2020-05-14T10:42:58.3914037Z D:\a\osqp-eigen\osqp-eigen\tests\MPCTest.cpp(75,14): error C2065: 'M_PI': undeclared identifier [D:\a\osqp-eigen\osqp-eigen\build\tests\MPCUnitTests.vcxproj]

even if I added
https://github.com/robotology/osqp-eigen/blob/bb6361f5326da52aa0fc972f46432405537bbc6c/tests/MPCTest.cpp#L20-L21
Do you have any hints? @S-Dafarra @traversaro

Either the  math.h or cmath header has been transitevly included by the headers included before that  line in that compilation unit. To fix this, either move the  definition of _USE_MATH_DEFINES before any other include, or pass it via command line (i.e. via CMake's target_compile_definitions).


How does DCI handle Dreamcast games with multiple tracks?

Hey there,
with DreamShell I dumped my few games. One of them is Ecco the Dolphin. After transfering the dump to my PC, I was surprised, that there were more than three tracks:

Looking around some on Archive.org, I found an upload with DC Isos. There I looked into the contents of the Ecco.7z file which can be found here: https://ia902308.us.archive.org/view_archive.php?archive=/32/items/Dreamcast-GDI-Arquivista/Ecco the Dolphin - Defender of the Future (EU).7z
(the link only opens a webpage showing the contents, it doesn't download the file).
I was kinda glad, that it was multiple files there as well. Now the question is: if using the correct drive, how would DIC handle this layout? Track 4 is an Audio track as well, though with some music, not like track 2 with the spoken warning.
Funnily, opening the GDI file with Isobuster reveals, that the files from track 3 do have LBA numbers within track 5. So that seems to be a strange mix.

Same layout http://redump.org/disc/19703/

So I guess it just works out of the box?
I just have seen the cue file from your link. There it's written
REM SINGLE-DENSITY AREA
FILE "Ecco the Dolphin - Defender of the Future (Europe) (En,Fr,De,Es) (Track 1).bin" BINARY
  TRACK 01 MODE1/2352
    INDEX 01 00:00:00
FILE "Ecco the Dolphin - Defender of the Future (Europe) (En,Fr,De,Es) (Track 2).bin" BINARY
  TRACK 02 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00
REM HIGH-DENSITY AREA
FILE "Ecco the Dolphin - Defender of the Future (Europe) (En,Fr,De,Es) (Track 3).bin" BINARY
  TRACK 03 MODE1/2352
    INDEX 01 00:00:00
FILE "Ecco the Dolphin - Defender of the Future (Europe) (En,Fr,De,Es) (Track 4).bin" BINARY
  TRACK 04 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "Ecco the Dolphin - Defender of the Future (Europe) (En,Fr,De,Es) (Track 5).bin" BINARY
  TRACK 05 MODE1/2352
    INDEX 00 00:00:00
    INDEX 01 00:03:00

Now DreamShell created a GDI file showing this
5
1 0 4 2048 track01.iso 0
2 676 0 2352 track02.raw 0
3 45000 4 2048 track03.iso 0
4 91765 0 2352 track04.raw 0
5 95792 4 2048 track05.iso 0

So the data tracks are 2048, not 2352 (which I think is raw). Are the DreamShell dumps then "worse"?

It's up to you. If you want to preserve the disc image using redump.org format, you can't use DreamShell.

thx for the clarification :)


Add thermoregulation functions

I think the only need is to change to imports from "something" to "something.js" so they work in the browser

@szaldivar fixed!


Request for Access to InversionNet3D Code

Hello author,  we are currently working on a project related to your research, and we plan to conduct a series of comparative experiments on our own data to further assess the performance of InversionNet3D and other methods in a specific application. We kindly request that you provide access to the code for InversionNet3D, as it would greatly facilitate our in-depth research and experimentation. Thank you for your time and support.

Thank you for your response and for providing an update on the status of the InversionNet3D code. I genuinely appreciate the hard work you're putting into making the code open-source. Best regards!


Fresh k8s install, "Internal server error", with no log output from Code-server

code-server version:
OS Version: Microk8s/Fedora31 everything else works...

Description
wget -O- https://code.r6.no
--2020-02-27 21:29:15--  https://code.r6.no/
Resolving code.r6.no (code.r6.no)... <IP_ADDRESS>
Connecting to code.r6.no (code.r6.no)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2020-02-27 21:29:15 ERROR 500: Internal Server Error.

Steps to Reproduce
kubectl apply -f :
apiVersion: v1
kind: Service
metadata:
 name: code-server
 namespace: code-server
spec:
 ports:
 - port: 8080
   name: https
   protocol: TCP
 selector:
   app: code-server
 type: ClusterIP
---
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: code-server
  name: code-server
  namespace: code-server
spec:
  selector:
    matchLabels:
      app: code-server
  replicas: 1
  template:
    metadata:
      labels:
        app: code-server
    spec:
      containers:
      - image: codercom/code-server:v2
        imagePullPolicy: Always
        name: code-server
        args:
        - --log=trace
        ports:
        - containerPort: 8080
          name: https
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: code-ingress
  namespace: code-server
spec:
  entryPoints:
    - websecure
  routes:
  - match: Host(`code.r6.no`)
    kind: Rule
    services:
    - name: code-server
      port: 8080
  tls:
    certResolver: myresolver

Log output:
k -n code-server logs -f code-server-68c7c77684-mprjg
info  Server listening on http://<IP_ADDRESS>:8080
info    - Password is fancy-password
info      - To use your own password, set the PASSWORD environment variable
info      - To disable use `--auth none`
info    - Not serving HTTPS

Traefik logs:
<IP_ADDRESS> - - [27/Feb/2020:20:14:36 +0000] "GET / HTTP/2.0" 500 21 "-" "-" 4216 "code-server-code-ingress-8124228899086cab3c34@kubernetescrd" "https://<IP_ADDRESS>:8080" 1ms
<IP_ADDRESS> - - [27/Feb/2020:20:14:36 +0000] "GET /favicon.ico HTTP/2.0" 500 21 "-" "-" 4217 "code-server-code-ingress-8124228899086cab3c34@kubernetescrd" "https://<IP_ADDRESS>:8080" 1ms
<IP_ADDRESS> - - [27/Feb/2020:20:15:27 +0000] "GET / HTTP/2.0" 500 21 "-" "-" 4240 "code-server-code-ingress-8124228899086cab3c34@kubernetescrd" "https://<IP_ADDRESS>:8080" 2ms
<IP_ADDRESS> - - [27/Feb/2020:20:16:15 +0000] "GET / HTTP/2.0" 500 21 "-" "-" 4264 "code-server-code-ingress-8124228899086cab3c34@kubernetescrd" "https://<IP_ADDRESS>:8080" 1ms
<IP_ADDRESS> - - [27/Feb/2020:20:16:53 +0000] "GET / HTTP/2.0" 500 21 "-" "-" 4283 "code-server-code-ingress-8124228899086cab3c34@kubernetescrd" "https://<IP_ADDRESS>:8080" 0ms
<IP_ADDRESS> - - [27/Feb/2020:20:16:53 +0000] "GET /favicon.ico HTTP/2.0" 500 21 "-" "-" 4284 "code-server-code-ingress-8124228899086cab3c34@kubernetescrd" "https://<IP_ADDRESS>:8080" 0ms
<IP_ADDRESS> - - [27/Feb/2020:20:16:58 +0000] "GET / HTTP/2.0" 500 21 "-" "-" 4288 "code-server-code-ingress-8124228899086cab3c34@kubernetescrd" "https://<IP_ADDRESS>:8080" 0ms
<IP_ADDRESS> - - [27/Feb/2020:20:16:58 +0000] "GET /favicon.ico HTTP/2.0" 500 21 "-" "-" 4290 "code-server-code-ingress-8124228899086cab3c34@kubernetescrd" "https://<IP_ADDRESS>:8080" 2ms
<IP_ADDRESS> - - [27/Feb/2020:20:26:02 +0000] "GET / HTTP/2.0" 500 21 "-" "-" 4572 "code-server-code-ingress-8124228899086cab3c34@kubernetescrd" "https://<IP_ADDRESS>:8080" 2ms
<IP_ADDRESS> - - [27/Feb/2020:20:26:03 +0000] "GET /favicon.ico HTTP/2.0" 500 21 "-" "-" 4573 "code-server-code-ingress-8124228899086cab3c34@kubernetescrd" "https://<IP_ADDRESS>:8080" 2ms
<IP_ADDRESS> - - [27/Feb/2020:20:26:32 +0000] "GET / HTTP/2.0" 500 21 "-" "-" 4595 "code-server-code-ingress-8124228899086cab3c34@kubernetescrd" "https://<IP_ADDRESS>:8080" 5ms
<IP_ADDRESS> - - [27/Feb/2020:20:26:33 +0000] "GET /favicon.ico HTTP/2.0" 500 21 "-" "-" 4597 "code-server-code-ingress-8124228899086cab3c34@kubernetescrd" "https://<IP_ADDRESS>:8080" 0ms
<IP_ADDRESS> - - [27/Feb/2020:20:26:49 +0000] "GET / HTTP/2.0" 500 21 "-" "-" 4606 "code-server-code-ingress-8124228899086cab3c34@kubernetescrd" "https://<IP_ADDRESS>:8080" 2ms
<IP_ADDRESS> - - [27/Feb/2020:20:26:50 +0000] "GET /favicon.ico HTTP/2.0" 500 21 "-" "-" 4608 "code-server-code-ingress-8124228899086cab3c34@kubernetescrd" "https://<IP_ADDRESS>:8080" 0ms
<IP_ADDRESS> - - [27/Feb/2020:20:29:15 +0000] "GET / HTTP/1.1" 500 21 "-" "-" 4675 "code-server-code-ingress-8124228899086cab3c34@kubernetescrd" "https://<IP_ADDRESS>:8080" 0ms

If I use port-forward, I get in, kinda...
First I get sent straight to the dashboard, with unauthorized (in the dev-tools I see a 302 redirect, that the browser (Firefox) is not following ?!), but if I go directly to /login and enter my password, it works...
But I would love to use ingress w/https ;)

What dashboard do you get sent to?

Scratch that, I get redirected to login when using port-forward now, might have been some old tools that made Firefox automatically set /dashboard...
Right now, it works great with port-forward or when connecting directly to the pod, but I get a 500 Internal Server Error when connecting with Traefik Proxy...

Damn, it worked when I changed the name of port in the service chart from https to web, or something else was going on...


Direction:RTL handling

Hi Malihu,
great plugin! one of the best so far on the web.
I've using it in an English version of a website, but when I tried to use it in the Arabic version, I still get the dragger aligned to the left and the whole scrollbar is shifted to the right.
Please try to change the direction to RTL to see what I'm talking about. I tried to hack the code by changing the configuration and inverting right and left floating and alignment without success.
I can pay you for the fix if you want to.
Thank you.
Shams

I've a wordpress template using the 3.1.11 version of you script.
I think The problem is not in CSS since the elements in RTL position should be displayed from right to left, by 'RTLizing' the inner content of the scrolling area. The scrollbar display on the right side should not be wrong at all.
However the control itself in non-touchscreen devices is messy. When pointing inside our scroll container  :

In LTR : a scroll-down is interpreted as a scroll-right (using some javascript code), and a scroll-up is interpreted as a scroll-left. That's well done
In RTL : a scroll-down should be interpreted as a scroll-left (because the first content is intuitively on the right side and the last on the left) which is actually manage in same way as LTR.

Can you tell us how to correct this or how to change this specific scroll interpretation instead of waiting for a new version.
B.Regards
Raouf

If you referring to the mouse-wheel behavior, you could use the invert option parameter to invert mouse-wheel scrolling direction:
mouseWheel:{ invert: true }
Is this what you need?

yes that's it. I just tried to change it and it worked as expected
Thanks :)


OADP-4135: rebase upstream release-1.10 changes for volume_snapshotter

Take current oadp-1.4, and merge the changes against velero release-1.10's volume_snapshotter.go keeping "wait for snapshot ready" features.
Signed-off-by: Tiger Kaovilai<EMAIL_ADDRESS>

make test and make container passed for me.  Thank you @kaovilai !   @sseago please review

/cc @sseago


Remove extraneous fields from DB.

Update data for naming consistency between forms and with Frontend.
Update POSTMAN collections with model changes.

Description

Types of changes

Checklist

[x] I have read the CONTRIBUTING doc
[x] I have checked that unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments

SonarQube Analysis: https://sonarqube-vmvfjv-tools.pathfinder.gov.bc.ca/dashboard?id=common-forms-toolkit-pr-83


clear clipboard before executing any command like hideout shortcut

the problem I sometimes have is that whenever I press my shortcut for my hideout (which I put to ctrl-h), it does the last thing I have in the clipboard again,  so I end up sending a message again even though I have finished the trade, or I have something whatever in the clipboard from outside the game, and I press my shortcut and it sends that thing to the last person I whispered, it is kind of weird, does not happen all the time, usually only when I press the shortcut very quickly, at least it seems like that.
the easiest solution would be to clear the clipboard always before the tool does anything, I guess. then this can't happen ever.

I've increased the delay before reseting the clipboard to the original value. This should fix it. Please report back! Thanks.

at first glance seems to be fixed, but I'd like to observe this some time more, especially when combined with doing actual trades instead of just trying with pseudo things in the clipboard :)

at first glance seems to be fixed, but I'd like to observe this some time more, especially when combined with doing actual trades instead of just trying with pseudo things in the clipboard :)

Sure. No problem. I'll close this issue tho. Feel free to reopen if this is still an issue for you.


feat: Add pyhf user guide

Add the pyhf user guide and tutorial to the tutorial listing.
Add pyhf to the HEP specific tooling curricula.

Instructions
Thanks for contributing! :heart:
Keep in mind that lesson maintainers are volunteers and it may take them some time to respond to your contribution.
To ensure that the right people get notified, you can tag some of the last contributors with @githubname.
Although not all contributions can be incorporated into the lesson materials, we appreciate your time and effort to improve the curriculum. If you have any questions about the lesson maintenance process or would like to volunteer your time as a contribution reviewer, please contact the HSF training convenors (contacts here).
You may delete these instructions from your pull request.
- HSF Training

@ariostas This is ready for review. Let me know if you have any questions.

Looks great, thank you @matthewfeickert!


Fix tests : NOT TO BE MERGED

commented out few all tag tests for now
enable smoke tests
enable functional tests

Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ x] No

issues in build pipeline and its not able to trigger, so closing this PR and created a new one.


Capture only the last X minutes

Feature request
Summary
I am using your package to troubleshoot production issues.
To save space, I would like to be able to save the last 30 minutes of a video, instead of saving the 30 first minutes.
Current alternative
The current way to do this would be to process the whole output video / stream.
Drawbacks of external processing

it might require a high amount of disk space and memory to process

Thanks
Thank you very much for this nice package, it makes my life easier!

Hi @clouedoc,
we could achieve this easily by delaying start call and invoke it at 30th minute before it ends.
/// execute some test
await recorder.start('<videoPath>');  // 30 minutes before it ends
// execute some other test
await recorder.stop()

Hello @prasanaworld
I don't know in advance when the recording will end.
I currently use puppeteer-screen-recorder to troubleshoot production crashes.
I.e. I don't know if the crash will happen at t+20mn or t+40mn


How to show multi variables in tmpl file?

This is my code:
location := Place{}
location.region , location.city = getLocation(params["code"])
r.HTML(200, "home/place", location)
When i code : {{.}} , then it shows {abc def }
But I wanna show somethings like:
My region: {{ .region }}
My city : {{ .city }}
But i can't. So, can you show me how to do that ? Thank you

I think lowercase fields will not be displayed as the Go rules defined.
So you first need to change region to Region, then use {{.Region}}.
Hope helps.

lower case fields are like private, can be used only where they defined, while uppercase - are "exported" and can be used anywhere


Type cast errors in version 3.1.3

Describe the bug
agora_rtc_engine 3.1.3
There are some type cast errors
Example : _TypeError (type '_InternalLinkedHashMap<dynamic, dynamic>' is not a subtype of type 'Map<String, dynamic>')
To Reproduce
Steps to reproduce the behavior:
Call method rtcEngine.getUserInfoByUid(uid);
Expected behavior
No typecast errors
Screenshots

flutter doctor -v
[✓] Flutter (Channel stable, v1.17.5, on Mac OS X 10.15.7 19H2, locale en-IN)
    • Flutter version 1.17.5 at /Users/shashikantdurge/Development/flutter
    • Framework revision 8af6b2f038 (4 months ago), 2020-06-30 12:53:55 -0700
    • Engine revision ee76268252
    • Dart version 2.8.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/shashikantdurge/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 50.0.1
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] Connected device (1 available)
    • ONEPLUS A3003 • 2c21d4b0 • android-arm64 • Android 9 (API 28)

Thanks for your issue, it will be fixed next version.

the solution is:

fixed in 3.1.4-rc.0

@LichKing-2234 Found some more Type case errors

I'm working on it. will raise a PR once done


Jesse: Watch twitter.utools.me

Jesse requests the watch of the watch_keyword twitter\.utools\.me. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

twitter\.utools\.me has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


TST: linalg: drop large size from solve() test

The test for large sizes mainly tests the underlying Lapack
implemrntation, which is probably not that necessary, and the fixed
tolerances can (and do) fail on some platforms.
cf gh-8694

The big sizes are actually good for finding out strange interactions on different machine architectures but I think linalg.solve is stress-tested sufficiently out "there" so we can skip the large sizes.


Digital take-up and savings report

the fitted curves are, perhaps, not a good representation of more than a month or two into the future


Virtual text displays wrongly with warp & linebreak

Steps to reproduce

Save the following script as a file (e.g., repro.vim):

set wrap
set linebreak
set breakindent
set breakindentopt+=shift:4

call append(0, ["a b", "c d"])
normal! 2gg

call prop_type_add( 'Normal' , {'highlight': 'Normal'}  )
call prop_add( 1 ,  0 ,  {'type': 'Normal', 'text': '123', 'text_align': 'above'}  )

Run vim --clean
:source repro.vim

Expected behaviour
Vim should show the content like:
123
a b
c d

Version of Vim
9.0.1833
Environment
OS: Fedora 38
Terminal: Windows Terminal (using ssh to connect to the Fedora)
Value of $TERM: xterm-256color
Shell: zsh 5.9
Logs and stack traces
No response

The actual content after source looks like:
123
a    b
c d

After some bisect, it looks like that b557f4898208 ("patch 9.0.1783: Display issues with virt text smoothscroll and showbreak") causes the issue

It seems that the cursor position is also incorrect without 'linebreak'.

This fixes the redrawing problem, but not cursor position:
diff --git a/src/charset.c b/src/charset.c
index 3495a0ee1..f218c42b1 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -1126,8 +1126,11 @@ win_lbr_chartabsize(
 #endif

 #if defined(FEAT_PROP_POPUP)
-    cts->cts_cur_text_width = 0;
-    cts->cts_first_char = 0;
+    if (cts->cts_has_prop_with_text)
+    {
+	cts->cts_cur_text_width = 0;
+	cts->cts_first_char = 0;
+    }
 #endif

 #if defined(FEAT_LINEBREAK) || defined(FEAT_PROP_POPUP)
@@ -1264,7 +1267,7 @@ win_lbr_chartabsize(
 	int	width2 = wp->w_width - col_off_prev + win_col_off2(wp);
 	colnr_T	wcol = vcol + col_off_prev;
 #ifdef FEAT_PROP_POPUP
-	wcol -= wp->w_virtcol_first_char;
+	wcol -= cts->cts_first_char;
 #endif
 	colnr_T	max_head_vcol = cts->cts_max_head_vcol;
 	int	added = 0;
diff --git a/src/drawline.c b/src/drawline.c
index 63bc96c4d..3bac16155 100644
--- a/src/drawline.c
+++ b/src/drawline.c
@@ -2879,8 +2879,14 @@ win_line(
 		    char_u  *p = ptr - (mb_off + 1);
 		    chartabsize_T cts;

+		    init_chartabsize_arg(&cts, wp, lnum, 0, line, line);
+		    (void)win_lbr_chartabsize(&cts, NULL);
+		    colnr_T cts_first_char = cts.cts_first_char;
+		    clear_chartabsize_arg(&cts);
+
 		    init_chartabsize_arg(&cts, wp, lnum, wlv.vcol, line, p);
 # ifdef FEAT_PROP_POPUP
+		    cts.cts_first_char = cts_first_char;
 		    // do not want virtual text counted here
 		    cts.cts_has_prop_with_text = FALSE;
 # endif

And this fixes the cursor position without 'linebreak':
diff --git a/src/charset.c b/src/charset.c
index 3495a0ee1..27539dd27 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -1218,8 +1218,9 @@ win_lbr_chartabsize(
 		    cts->cts_cur_text_width += cells;
 		    if (tp->tp_flags & TP_FLAG_ALIGN_ABOVE)
 			cts->cts_first_char += cells;
+		    else
+			size += cells;
 		    cts->cts_start_incl = tp->tp_flags & TP_FLAG_START_INCL;
-		    size += cells;
 		    if (*s == TAB)
 		    {
 			// tab size changes because of the inserted text
@@ -1385,6 +1386,9 @@ win_lbr_chartabsize(
 	}
     }

+#  ifdef FEAT_PROP_POPUP
+    size += cts->cts_first_char;
+#  endif
     return size;
 # endif
 #endif

@zeertzjq Thanks for your quick reply! I have tested in my own env and it works! And the patch fixes the issue I mentioned in #12999 too.
Is there any plan to open a PR for the fix?

I'll create a PR soon, after writing tests.

Emm, only the script in #12999 can't reproduce but the issue is still existing. Maybe I shall write a new script to reproduce the issue in #12999 .

should be fixed by https://github.com/vim/vim/commit/ce53e3ea55d12d222a73510d772e786b7ae29c8d


Add Travis file

Resolves #298

I have disabled tests until #315 is resolved. Ready for merge, though. Do we want to add CI to the BluePic-iOS project, as well?

I would say yes to CI for BluePic-iOS as we want to continue to support it.


A use after free bug in EVP_PKEY_asn1_find_str

File: crypto/asn1/ameth_lib.c
Function: EVP_PKEY_asn1_find_str
Issue Details:
The engine e is freed via ENGINE_free(e) at line 121, but it is then assigned to (*pe), which will be passed to the callers, such as get_optional_pkey_id in file ssl/ssl_ciph.c. In callers of EVP_PKEY_asn1_find_str, the freed engine is passed to ENGINE_finish, resuting in use-after-free bugs. In fact, ENGINE_finish finally calls ENGINE_free to  release the engine. So, I guess the call to ENGINE_free is superfluous.
For your convenience, I copy-and-paste related code as follows:
EVP_PKEY_asn1_find_str @@ crypto/asn1/ameth_lib.c
103 const EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_find_str(ENGINE **pe,
104                                                    const char *str, int len)
105 {
106     int i;
107     const EVP_PKEY_ASN1_METHOD *ameth = NULL;
108
109     if (len == -1)
110         len = strlen(str);
111     if (pe) {
112 #ifndef OPENSSL_NO_ENGINE
113         ENGINE e;
114         ameth = ENGINE_pkey_asn1_find_str(&e, str, len);
115         if (ameth) {
116             /
117              * Convert structural into functional reference
118              */
119             if (!ENGINE_init(e))
120                 ameth = NULL;
121             ENGINE_free(e);  //#### freeing e
122             *pe = e;             //#### using e
123             return ameth;
124         }
125 #endif
126         *pe = NULL;
127     }
...
136     return NULL;
137 }
Best regards,
Pan Bian

I currently don't see the issue you're pointing at. The reference counter is increased in ENGINE_pkey_asn1_find_str(), then again in ENGINE_init() and then decreased in ENGINE_free(). The reference count should not be hitting 0 there.
Issues I see is that for instance ENGINE_pkey_asn1_find_str() increases the struct_ref without using the CRYPTO_UP_REF(). There seem to be other places that do not properly use the atomics / locks related to the engine reference counters.

I currently don't see the issue you're pointing at. The reference counter is increased in ENGINE_pkey_asn1_find_str(), then again in ENGINE_init() and then decreased in ENGINE_free(). The reference count should not be hitting 0 there.

Oh, I see. You are right. I will close the issue.
Thank you!


Updated Geolocation API reference links

Added additional Geo Location API reference links to README.md

Hey, please check the formatting. Thanks

I am going to close this one. Thanks anyway!


[issue-1] Updated lib versions and readme

Updated lib versions in pom
Added lang3 dependency for StringUtils
Updated the README

Thanks! As we continue to update all the things we'll keep working on beefing up the documentation as well.


Volume resets back to default value when switching songs

Issue description
Suppose the default volume when doing Amplitude.init() is equal to 100.
Suppose the user wants half of that volume or 20%. The user slides the volume slider accordingly, so that the music is being played not so loud.
Then when changing songs the volume is back at it's initiated default value, which is 100 rather than staying at 50% or 20%.
Environment
What's My Browser Support link: https://www.whatsmybrowser.org/b/5F3KO
Amplitude.js Version: 5.1.0
Steps to reproduce the issue

Play any song
Set the volume to something else, so that you can clearly differentiate the volume of it's initial value and it's newly set value.
Skip to the next song or select another song from the playlist
Bug was reproduced. The next song plays at the volume, that was initiated with by Amplitude.init() rather than set by the user

What is expected?
The next song plays at the same volume as the user has set before.
Link to where issue can be reproduced
This can be reproduced in the examples here. I found this being reproduced in Flat Black Example and Blue Playlist Example.
https://521dimensions.com/open-source/amplitudejs/docs/examples/
Here's mine (server is running only during daytime in Central European timezone): https://lenny-telecommunications.duckdns.org/WEB_DEVELOPMENT_LAB_PROJECTS/music_player_electric_dnb/music_player_electric_DnB
Additional details / screenshots
That's all the information needed from me.

Thanks for the detailed bug report. 🙌
I was able to replicate this as well!

Hi, I would like to work on this issue. Can you please assign it to me?


Fixing default Dockerfile entrypoint

CATEGORY
Choose one

[x] Bug Fix
[ ] Enhancement (new features, refinement)
[ ] Refactor
[ ] Add tests
[ ] Build / Development Environment
[ ] Documentation

SUMMARY
Fixing default Dockerfile entrypoint. Gunicorn needed a few tweaks.

Adds gthread option
Sets thread count
Sets up error/access logs to go to stdout

REVIEWERS
@dpgaspar

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@a0b48f0). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #8744   +/-   ##
=========================================
  Coverage          ?   65.84%
=========================================
  Files             ?      483
  Lines             ?    24120
  Branches          ?     2767
=========================================
  Hits              ?    15881
  Misses            ?     8059
  Partials          ?      180

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 a0b48f0...6106bcc. Read the comment docs.


Background job with WorkManager

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

CLI: 6.1.0
Cross-platform modules: 6.1.1
Android Runtime: 6.1.0
nativescript-angular : 8.2.1

Gradle :

androidx.work:work-runtime:2.2.0
androidx.lifecycle:lifecycle-runtime:2.1.0

Describe the bug
I'm trying to implement WorkManager inside my nativescript app, to be able to schedule a background job (doc : https://developer.android.com/topic/libraries/architecture/workmanager/basics) .
The compilation and starting app is OK, but when Im trying to enqueue my job, it's not working because the Android Nativescript runtime is unable to initialize itself.
From Android Studio, I get this error :
E/WM-WorkerFactory: Could not instantiate com.tns.jobs.MyWorker
	 java.lang.reflect.InvocationTargetException
		 at java.lang.reflect.Constructor.newInstance0(Native Method)
		 at java.lang.reflect.Constructor.newInstance(Constructor.java:334)
		 at androidx.work.WorkerFactory.createWorkerWithDefaultFallback(WorkerFactory.java:97)
		 at androidx.work.impl.WorkerWrapper.runWorker(WorkerWrapper.java:228)
		 at androidx.work.impl.WorkerWrapper.run(WorkerWrapper.java:127)
		 at androidx.work.impl.utils.SerialExecutor$Task.run(SerialExecutor.java:91)
		 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
		 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
		 at java.lang.Thread.run(Thread.java:764)
	  Caused by: java.lang.NullPointerException: Attempt to read from field 'int com.tns.Runtime.currentObjectId' on a null object reference
		 at com.tns.Runtime.initInstance(Runtime.java:745)
		 at com.tns.jobs.MyWorker.<init>(MyWorker.java:14)

To Reproduce
Declare a class in nativescript that extend Worker class :
@JavaProxy("com.tns.jobs.MyWorker")
export class MyWorker extends androidx.work.Worker {
	constructor(context, params) {
		super();
		return global.__native(this);
	}

	public doWork() {
	   // Do your work here.

	   //
	   return androidx.work.ListenableWorker.Result.success();
	}

	public onStopped() {
	  // Cleanup because you are being stopped.
	  console.log("onStopped from MyWorker !!!")
	}
}

Then a typescript class which will enqueue the job :
export class MyWorkerHandler {

    getJobConstrains() {
        return (<any>new androidx.work.Constraints.Builder())
                    .build();
    }

    getWorkRequest() {
        let constrains = this.getJobConstrains();
		return (<any>new androidx.work.OneTimeWorkRequest.Builder(java.lang.Class.forName("com.tns.jobs.MyWorker")))
            .setConstraints(constrains)
            .build()
    }

    enqueue() {
        let worker = this.getWorkRequest();

		(<any>androidx.work.WorkManager).getInstance()
          .enqueueUniqueWork("jojoworker", androidx.work.ExistingWorkPolicy.REPLACE , worker);

        let lifecycleowner = androidx.lifecycle.ProcessLifecycleOwner.get();

        (<any>androidx.work.WorkManager).getInstance().getWorkInfoByIdLiveData(worker.getId())
            .observe(lifecycleowner, new androidx.lifecycle.Observer<androidx.work.WorkInfo>({
                onChanged : function(workInfo) {

                    console.log("OnChange 1 : ", workInfo)

				}
			}))
    }
}

Here is the java class MyWorker generated by nativescript :
@com.tns.JavaScriptImplementation(javaScriptFile = "./bundle.js")
public class MyWorker extends androidx.work.Worker
    implements com.tns.NativeScriptHashCodeProvider {
  public MyWorker(
      android.content.Context param_0, androidx.work.WorkerParameters param_1) {
    super(param_0, param_1);
    com.tns.Runtime.initInstance(this);
  }

  public androidx.work.ListenableWorker.Result doWork() {
    java.lang.Object[] args = new java.lang.Object[0];
    return (androidx.work.ListenableWorker.Result)
        com.tns.Runtime.callJSMethod(
            this, "doWork", androidx.work.ListenableWorker.Result.class, args);
  }

  public void onStopped() {
    java.lang.Object[] args = new java.lang.Object[0];
    com.tns.Runtime.callJSMethod(this, "onStopped", void.class, args);
  }

  public int hashCode__super() {
    return super.hashCode();
  }

  public boolean equals__super(java.lang.Object other) {
    return super.equals(other);
  }
}

The problem is at the line : com.tns.Runtime.initInstance(this);
If Im looking inside the class com.tns.Runtime, I can see this :
public static void initInstance(Object instance) {
	Frame frame = ManualInstrumentation.start("Runtime.initInstance");

	try {
		Runtime runtime = getCurrentRuntime();
		int objectId = runtime.currentObjectId;
		if(objectId != -1) {
			runtime.makeInstanceStrong(instance, objectId);
		} else {
			runtime.createJSInstance(instance);
		}
	} finally {
		frame.close();
	}
}
public static Runtime getCurrentRuntime() {
	Runtime runtime = (Runtime)currentRuntime.get();
	return runtime;
}

So what I suggest is the current Runtime is not initialized, because  getCurrentRuntime() return null, so runtime.currentObjectId throw an exception
Expected behavior
Previously, I was using the library Firebase JobDispatcher (doc : https://github.com/firebase/firebase-jobdispatcher-android).   It's using Android service, so the behaviour was different, but the generated class from nativescript was like that :
@com.tns.JavaScriptImplementation(javaScriptFile = "./bundle.js")
public class MyJob extends com.firebase.jobdispatcher.JobService
    implements com.tns.NativeScriptHashCodeProvider {
  public MyJob () {
    super();
    java.lang.Object[] args = new java.lang.Object[0];
    com.tns.Runtime.callJSMethod(this, "init", void.class, true, args);
  }

  public boolean onStartJob(com.firebase.jobdispatcher.JobParameters param_0) {
    ..
  }

  public boolean onStopJob(com.firebase.jobdispatcher.JobParameters param_0) {
    ...
  }

  public void onCreate() {
    super.onCreate();
    if (!com.tns.Runtime.isInitialized()) {
      com.tns.Runtime runtime = com.tns.RuntimeHelper.initRuntime(this);
      runtime.run();
    }
    com.tns.Runtime.initInstance(this);
  }

  public int hashCode__super() {
    return super.hashCode();
  }

  public boolean equals__super(java.lang.Object other) {
    return super.equals(other);
  }
}

If you look the method onCreate(), you can see that there is a check on runtime initialization, and if not, the runtime is initialized.
I suppose that is the missing part on my class, but I really don't know how to initialize the runtime by myself, before com.tns.Runtime.initInstance(this) is called in my generated class constructor
Sample project
As you can see, I put the minimum possible code on my class, you can simply copy paste my code and see what's going on
Additional context
My job consists to get the current location of the phone, every 15 minutes.
I'm still using JobDispatcher library to schedule this job in background, and its still working in my app (doc : https://github.com/firebase/firebase-jobdispatcher-android)
But now this library is deprecated., and they strongly recommand to switch on WorkManager system.
The main info is :

Additionally, FJD will stop working once your app starts targeting an Android version after Android Q

So until nativescript will target to Android Q, I hope to find a solution to use WorkManager (or a workaround to JobDispatcher)

Hello @GrEg00z, thank you for the good description of the issue. I will take a look into the problem.

Hi @GrEg00z :) I've made some changes in the runtime to handle the Android Worker classes. Could you try your sample with the runtime from the master branch: tns platform add android@next The fix is scheduled for the 6.2.0 release which is at the end of October.

Hey @vmutafov, I tried the android platform at next version (6.2.0-2019-10-10-044952-01), but unfornatly I can't start the application.
I get this error immadiatly when the app starts (1s after splashscreen appareas) :
Unable to create application com.tns.NativeScriptApplication : com.tns.NativeScriptException: metadata folder couldn't be opened!

Hey @GrEg00z , are you by any chance using a Windows OS?

Yes Im using windows 10 family edition (18362.356)
Also, if I'm using the android runtime 6.1.2, or 6.1.1, my app stays locked to the splashscreen, without any error message or others, I just get this after few minutes in the console :
Successfully installed on device with identifier '01e136aecc973ccc'.
Unable to apply changes on device: 01e136aecc973ccc. Error is: Socket connection timed out..

On 6.1.0, I don't have any problem with the app

Any news about this ?

Up please !!   Nobody has problem with tns-android 6.1.1 or 6.1.2 ??

Hey did you manage to make it work? For me it works when I am running the code on devices with SDK > 26, but when running it on on devices with lower SDK I get the following error JS: ERROR Error: Uncaught (in promise): Error: java.lang.NoClassDefFoundError: java.time.Duration.


js gossipsub not working in browser.

Hello,
I created a basic gossipsub implementation as shown here. Heavily referencing the examples . I am always getting this error when trying to publish a message using gossipsub.
I am using libp2p with the basic create-react-app template.
buildRawMessage.ts:40 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'Message')
    at buildRawMessage (buildRawMessage.ts:40:1)
    at GossipSub.publish (index.ts:2036:1)
    at App.js:81:1

maybe show us App.js:81:1 (and the remainder of it, probably)?

I had attached the entire link with the issue. here it is again.
https://github.com/nuel77/libp2p-mulitlang-gossip/blob/main/browser-node/src/App.js

In the repository i linked, i also created a node.js implementation using the same logic. which worked fine. Thats why it felt quite wierd when the it didnt work on browser side.

literally the only difference i needed between browser and nodejs was that the browser version of webrtc-star gets no options, while the node one gets a wrtc object (just so it knows which implementation to use), otherwise there should be essentially no differences for anything you're using afaik.

actually i just noticed something: you discover every bootstrap node every 100ms while a comment claims that "autoDial is on" (but it's not in your options object)... might wanna check if actually turning it on does something for you, or if it's the extremely short bootstrap interval that's messing with you (it's about a tenth of every other peer-related timer after all)

ahh .. yea i was tinkering with those timings.. i did test with the larger values before I pushed the code with the smaller autodial.

that's not a smaller autodial timer though. that's no autodial config whatsoever as far as i can tell and a smaller bootstrap-fake-discovery timer. so every few seconds autodial might (or not, depending on the defaults) happen but that's already after you "discovered" the same list of peers 10-100 times since the last time, that might confuse it a lot.

See this https://github.com/ChainSafe/js-libp2p-gossipsub/pull/368

nice.. glad it only took 2 years ;)


Please bump or relax pyyaml version dependency

pyyaml 3.13 solves major issue for macos - https://github.com/yaml/pyyaml/issues/152
Please bump pyyaml dependency to 3.13 or relax it, so that 3.13 can be used with latest version of dendrol

Req changed to PyYAML>=3.12,<4 in dendrol 0.0.5, and published to PyPI.
Thanks for the heads-up, and apologies for the delay


How to terminate disruptor immediately?

I used disruptor to move data form mysql db A to mysql db B . there are errors happends when data are inserted into mysql db B. cause [Duplicate entry '2' for key 'PRIMARY']. So I want to terminate disruptor immediately. I tried to invoke disruptor.shutdown()  but it still working. I just want to  terminate disruptor immediately  whether or not the data is not taken out of the ringbuffer. Please tell  me how to do.

thank you very much for your answer. I had solved the problem

how do you solved , can you share your solution here? thank you


Fix list topic and list offset behavior

#908
Motivation
In the current implementation, list topic and list offset might get the wrong response, because the authorized future is not finished yet. We need to make sure to authorize future finish correctly.
Modifications

Ensure all future is finished when the response

LGTM except a comment about code style.


Fix version showing "undefined" in tree view

Meson does not require a version to be set in the project() call. When a version is not set, Meson sets the version as "undefined" in the introspection data.

I have no clue why the introspection data doesn't use null. Feels like a huge bug to me.
@dcbaker might want to require 1 approval for PRs. Currently I could merge my own PR if I wanted.


Remove Radare SOC

A recent mail conversation with the community member Pancake Nopcode of Radare, tells that Radare no longer has the resources nor the time to continue the program. They are now participating in GSOC.
In my opinion, a field needs to be added in the list which tells which programs are active and which are not. In this way people will still be able to know about the program and at the same time will also know about the status of the program.
There are few other programs in the list which have been deactivated.

A screen shot of the conversation.

@tapaswenipathak I think this is something needed to be verified each year. But as pointed by @Naveenaidu many of these programs are not active from a while/have been active only once or twice (example: Not getting selected in GSoC, some orgs launch their own SoC program for only that year).
Shall I go ahead and check activity? And make PR on the same?

Even if a SoC happened one time ever, I will keep that in the list.


[DRAFT] feat: auto claim faucet for test accounts of testnet_v1

Overview
This PR should provide a scheduled workflow that will automatically calim faucet for test accounts every 24 hours.
Right now the main feature (claim faucet and scheduled workflow) of the PR is already done, but there're something left that might need improvement, we should discuss.
Faucet method
Right now the commands to claim faucet manually:
# using CKB layer 1 private key
$ npm run faucet -- claim -p <CKB_PRIVATE_KEY>
# using CKB layer 1 address and ETH address
$ npm run faucet -- claim -c <CKB_ADDRESS> -e <ETH_ADDRESS>

The claim command is made for single account claiming, so in the auto claiming workflow:
run: |
  npm run faucet -- claim -p $KEY1
  npm run faucet -- claim -p $KEY2
  npm run faucet -- claim -p $KEY3

Should we find a better way to run commands in the workflow?
Local test accounts
We have sevaral pairs of accounts for different situations:

For general situation like running tests in local environment, we have open accounts for everyone
For GitHub Actions, we have accounts that are stored in GitHub Actions secrets

Right now the auto claiming workflow only claim faucet for accounts stored in GitHub Actions secrets.
The question is, should we claim for those open accounts, too?
If yes, should we simply add those open accounts into the workflow?

should we simply add those open accounts into the workflow?

yes, please.

Should we find a better way to run commands in the workflow?

I think it's good enough now.

@Flouse Added hardcode in the workflow to also claim faucet for open accounts.

In latest commits:

ckbAddress is now optional, you can pass ckbPrivateKey or ethAddress to claim faucet
Improved submitted log, now the precise claim amount can be printed


ng serve. File changed detected but no change in the output to ng serve. File change detected but no change in the output

Bug Report or Feature Request (mark with an x)
- [X] bug report -> please search issues before submitting
- [ ] feature request

Versions.
Window 7
@angular/cli: 1.0.0-rc.2
node: 6.9.4
os: win32 x64
@angular/common: 2.4.10
@angular/compiler: 2.4.10
@angular/core: 2.4.10
@angular/forms: 2.4.10
@angular/http: 2.4.10
@angular/platform-browser: 2.4.10
@angular/platform-browser-dynamic: 2.4.10
@angular/router: 3.4.10
@angular/cli: 1.0.0-rc.2
@angular/compiler-cli: 2.4.10
@ngtools/webpack: 1.2.13
Repro steps.
any change in any *.ts file under the src/app/modules/ is refresh the browser
but the file with the new change is not change when I inpect in the browser (chrome)
for example this path: src/app/modules/header/header.component.ts
it do work for this path for example:
src/app/app.component.ts
Desired functionality.
on any change *.ts file it should be reflected on the browser.
Mention any other details that might be useful.
OS win 7
browser chrome
IDE webstorm 2016.3.3

I found that my problem only happened with webstorm IDE.
and this what help me to solve it
File > Settings... > System Settings > Use "safe write" (save changes to a temporary file first).

Dupe of https://github.com/angular/angular-cli/issues/5117


Critical: gRPC async server crashed on gpr_error_unref

Please answer these questions before submitting your issue.
Should this be an issue in the gRPC issue tracker?
Yes, it is a crash.
What version of gRPC and what language are you using?
gRPC 1.4.2, C++.
What operating system (Linux, Windows, …) and version?
Linux 3.10, aka. Redhat 7u2, x86_64.
What runtime / compiler are you using (e.g. python version or version of gcc)
GCC 6.2.0.
What did you do?
There are several async servers utilizing gRPC, and there are internal async requests among each other, via the same group of CompletionQueues. At heavy loads, the internal async requests might timeout.
What did you expect to see?
Servers works.
What did you see instead?
Servers crashed.
Here is the backtrace:
#0  0x00002ac9ffc10de7 in abort () from /lib64/libc.so.6
#1  0x00000000010e259b in gpr_unref ()
#2  0x00000000010c15d0 in grpc_error_unref ()
#3  0x00000000010cb58a in ?? ()
#4  0x00000000010c2ad4 in grpc_exec_ctx_flush ()
#5  0x00000000010edb7f in ?? ()
#6  0x00000000010d11bd in ?? ()
#7  0x00000000010a8cf8 in grpc::CompletionQueue::AsyncNextInternal(void**, bool*, gpr_timespec) ()
#9  0x0000000000a3edc9 in Next (ok=0x2aca203ff037, tag=0x2aca203ff038, this=0x2ad45f1411b0) at completion_queue.h:151

?? is due to missing of debuginfo.
From disassembling, I found that grpc_error_unref was called from destroy_call:
static void destroy_call(grpc_exec_ctx *exec_ctx, void *call,
                         grpc_error *error) {
...
...
...
  if (c->cq) {
    GRPC_CQ_INTERNAL_UNREF(exec_ctx, c->cq, "bind");
  }

  get_final_status(call, set_status_value_directly, &c->final_info.final_status,
                   NULL);
  c->final_info.stats.latency =
      gpr_time_sub(gpr_now(GPR_CLOCK_MONOTONIC), c->start_time);

  for (i = 0; i < STATUS_SOURCE_COUNT; i++) {
    GRPC_ERROR_UNREF(
        unpack_received_status(gpr_atm_acq_load(&c->status[i])).error);   // crashed here
  }

  grpc_call_stack_destroy(exec_ctx, CALL_STACK_FROM_CALL(c), &c->final_info,
                          grpc_closure_init(&c->release_call, release_call, c,
                                            grpc_schedule_on_exec_ctx));
  GPR_TIMER_END("destroy_call", 0);
}

Here is the corresponding assembly on frame #3:
...
   0x00000000010cb51a:  callq  0x10d0a60 <grpc_cq_internal_unref>
   0x00000000010cb51f:  lea    -0x3d6(%rip),%rsi        # 0x10cb150
   0x00000000010cb526:  lea    0x488(%rbx),%rdx
   0x00000000010cb52d:  xor    %ecx,%ecx
   0x00000000010cb52f:  mov    %rbx,%rdi
   0x00000000010cb532:  lea    0x420(%rbx),%rbp
   0x00000000010cb539:  lea    0x448(%rbx),%r13
   0x00000000010cb540:  callq  0x10cb260
   0x00000000010cb545:  xor    %edi,%edi
   0x00000000010cb547:  xor    %r14d,%r14d
   0x00000000010cb54a:  callq  0x10b7a70 <gpr_now>
   0x00000000010cb54f:  mov    0x38(%rbx),%rcx
   0x00000000010cb553:  mov    %rdx,%rsi
   0x00000000010cb556:  mov    0x30(%rbx),%rdx
   0x00000000010cb55a:  mov    %rax,%rdi
   0x00000000010cb55d:  callq  0x10b7620 <gpr_time_sub>
   0x00000000010cb562:  mov    %rax,0x478(%rbx)
   0x00000000010cb569:  mov    %rdx,0x480(%rbx)
   0x00000000010cb570:  mov    0x0(%rbp),%rax
   0x00000000010cb574:  mov    %rax,%rdi
   0x00000000010cb577:  and    $0xfffffffffffffffe,%rdi
   0x00000000010cb57b:  test   $0x1,%al
   0x00000000010cb57d:  cmove  %r14,%rdi
   0x00000000010cb581:  add    $0x8,%rbp
==>0x00000000010cb585:  callq  0x10c15a0 <grpc_error_unref>   # crashed here
   0x00000000010cb58a:  cmp    %rbp,%r13
   0x00000000010cb58d:  jne    0x10cb570
   0x00000000010cb58f:  lea    0xc9459a(%rip),%rax        # 0x1d5fb30 <grpc_schedule_on_exec_ctx>
   0x00000000010cb596:  lea    0x628(%rbx),%rdi
   0x00000000010cb59d:  lea    -0x434(%rip),%rsi        # 0x10cb170
   0x00000000010cb5a4:  mov    %rbx,%rdx
   0x00000000010cb5a7:  mov    (%rax),%rcx
   0x00000000010cb5aa:  callq  0x10e4380 <grpc_closure_init>
   0x00000000010cb5af:  lea    0x668(%rbx),%rsi
...

It seems a reference counting issue, cause' the target counter is being -1 after unref.

Although the crash occurred in this call stack,  it's unlikely (IMO) to have been caused by this call stack. In my experience, the assert invariants fail if some other condition (e.g., incorrect API use) have happened. Can you give any code snippet of your API use or some other reproducible case for us?

I have a lot of tools in place to catch error refcounting bugs if you have a clean repro for this (even a flaky one)

@vjpai @ncteisen Thanks for the reply.
OK, I will mock the situation to reproduce this issue.

I haven't dug into the details of gRPC's core implementation. Maybe you could enlight me what APIs or actions will result in a ref/unref on the involved counter, from the point of view of the application users.

@vjpai @ncteisen
While reviewing our code, I found that the internal requests mentioned above is send like this:
void asyncSend(Req *req) {
    // channel and its corresponding stub live as long as the process, as well as cq_
    auto channel = getChannel();
    auto stub = getStub();
    // ctx_, resp_ and status_  are per request
    std::unique_ptr<ClientAsyncResponseReader<Resp>> reader = stub->AsyncSend(&ctx_, req, cq_);
    reader->Finish(&resp_, &status_, this);
}

As you see, reader here is destructed after asyndSend returns, although its memory would not be released.
Is this incorrect?

Hi, didn't respond for a while but wanted to make it clear: the reader struct itself controls the completion of the operations that got triggered by the Finish call. The struct must live past the CompletionQueue::Next call that reveals that the Finish tag completed. That is the problematic API use here.


[SPARK-34446][SS][DOCS] Update doc for stream-stream join (full outer + left semi)

What changes were proposed in this pull request?

Per discussion in https://issues.apache.org/jira/browse/SPARK-32883?focusedCommentId=17285057&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17285057, we should add documentation for added new features of full outer and left semi joins into SS programming guide.

Reworded the section for "Outer Joins with Watermarking", to make it work for full outer join. Updated the code snippet to show up full outer and left semi join.
Added one section for "Semi Joins with Watermarking", similar to "Outer Joins with Watermarking".
Updated "Support matrix for joins in streaming queries" to reflect latest fact for full outer and left semi join.

Why are the changes needed?

Good for users and developers to follow guide to try out these two new features.
Does this PR introduce any user-facing change?

Yes. They will see the corresponding updated guide.
How was this patch tested?

No, just documentation change. Previewed the markdown file in browser.
Also attached here for the change to the "Support matrix for joins in streaming queries" table.

cc @HeartSaVioR , @cloud-fan , @HyukjinKwon , @xuanyuanking and @gatorsmile , thanks.

Thanks for the quick turnaround. I'll take a look tomorrow - hard to concentrate today.
cc. @viirya as he reviewed the series of PRs as well.

Test build #135170 has started for PR 31572 at commit 71e1cd1.

Test build #135170 has finished for PR 31572 at commit 71e1cd1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39751/

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

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39751/

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

@HeartSaVioR - updated the description for required table screenshot and addressed comment of rewording in semi join section.

Thanks for the quick fix, @c21 !
I'll merge this to master/branch-3.1 in tomorrow morning in KST unless there's no further comment.

Test build #135191 has started for PR 31572 at commit 0c9e5d2.

Test build #135191 has finished for PR 31572 at commit 0c9e5d2.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39772/

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

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39772/

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

OK no further comments. Merging to master/branch-3.1!

Thanks @HeartSaVioR!

Thanks @HeartSaVioR and @viirya for quick review!


Bump bdg-formats correctly to 0.11.1, not SNAPSHOT.

Sorry @heuermh, I accidentally left this change out...

Coverage decreased (-0.5%) to 82.585% when pulling e65b11be4dcbdb123c922c567fa97782640bad93 on fnothaft:issues/1551-cont into a4b4ef0370c61e33a942963bc85ded63fce1213e on bigdatagenomics:master.

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


Add log path in bug_report.md

Add powershell script to gather system info for bug report. It will help people gather the relevant information quickly for a bug report.
Here's what the script returns:
OS Name     : Microsoft Windows 11 Enterprise
OS Version  : 10.0.22631 N/A Build 22631
System Type : x64-based PC

I haven't changed the table format in case you were parsing it somewhere. Feel free to modify the ps script to suit the needs.

Thanks for the pull request.
Is the system information output to ~/.win-vind/log not sufficient?

Thanks. I merge this.


Change length to lengths everywhere

Best to have a consistent vocabulary when talking about the same thing, for our relative lengths tensors we sometimes use "length" and sometimes "lengths". This PR changes a number of the former to the latter.

I'm not sure about the effect of this in tutorials. IMO it is to risky to this this now. I propose keeping that for the next version


For a Select component with the outlined variant, the outline has a break in it when there is no label

When using a select like so:
  <Select variant="outlined">
    <Option>Material Tailwind HTML</Option>
    <Option>Material Tailwind React</Option>
    <Option>Material Tailwind Vue</Option>
    <Option>Material Tailwind Angular</Option>
    <Option>Material Tailwind Svelte</Option>
  </Select>

There is a break in the top border where the label is supposed to go - but there is no label present. This is because there is a margin applied to the :before and :after pseudo elements which construct the top of the component's border around the label. This margin still gets applied in circumstances where there is no label - resulting in a break in the border.
There is a sort of workaround by using the theme system to remove the margins, but this means that whenever you DO have a label, the border runs right into the label text.
Here's an example of what it looks like:

For the record, this same issue also applies to Input elements

@jlutteringer the label is required for each input, select and textarea components and if you want to have them without label you need to provide some set of custom styles for each component, check the link below for an example of input component without label
https://www.material-tailwind.com/docs/react/input#input-custom-styles


Using Scrollpanel instead of Slimscroll ?

Hello,
Since Slimscroll is dual licensed (MIT & GPL-3.0), what about change it for Scrollpanel (https://github.com/lrsjng/jquery-scrollpanel/) which is distributed only under MIT ?
I perfectly understand that most don't care about licensing, but for ones who care, it would be nice.
There is a similar issue on html5shiv which is distributed with a dual licensed too : MIT & GPL-2.0.  However, for this last, i don't have an alternative.
Thanks you for all your work, you have change my life (really).
Best regards,
Vincent

Thats a nice idea, maybe @almasaeed2010 use it in his new v3 that he started to create 😄

I have looked over jquey.nicescroll & other alternatives and I found OverlayScrollbars which works better than jquery.nicescroll and looks really nice with AdminLTE v3, I'll push soon the changes.

According to this post I looked over jquery-scrollpanel too and I'll replace slimScroll with OverlayScrollbars.


Broken cordova-plugin-file dependency

I had to manually run cordova plugin add cordova-plugin-file --save and then run the install command for your plugin afterwards. If I don't have cordova-plugin-file yet, your install fails since your dependency is pointing to the GitHub repo which appears to be empty at the moment...

I also cannot get the plugin to install @sarahgoldman  are you able to patch this plugin? @achuinard if you could provide your steps as a temporary workaround that would be fantastic,


Adds workflow for linux target

Addresses the remainder of #126 (keeping the Linux build working once #127 is merged)

Great stuff, thanks!


Replaced old diagrams with new ones

Pre-requisites
Please ensure you have done the following:

[x] I have read the CONTRIBUTING.md document.
[x] If my change requires a change to the documentation, I have updated the documentation accordingly.
[x] I have added tests to cover my changes.

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Describe changes
I replace three of the diagrams within our docs.

@AlexejPenner how is the localstack.png different from the others. Was it newly added? Or does it replace something?

@AlexejPenner how is the localstack.png different from the others. Was it newly added? Or does it replace something?

It must have been deleted on a previous PR, if you check here there's a broken link to it: https://docs.zenml.io/guides/front-page/deploy-to-production


Using onlyNumber and CreditCard together

I'm implementing an App only for iPad and in iPad keyboardType="numeric" is not supported.So I need to use onlyNumber and Credit-card types together .

Hi,
Sorry, but I do not understand the problem.
You can pass your own keyboard type to the component.
Take a look at the documentation:

if you pass keyboardType, it will override the keyboardType of masked component.

This resolves your issue?

After some investigation, I discover it's caused by a RN Bug.
Take a look at https://github.com/benhurott/react-native-masked-text/issues/68.
This is an issue that occurs only in iOS.

@benhurott , yes I confirm that RN 0.55.0 has this bug , I downgraded to 0.53.0 and It's working well.


Upgrade or replace Flask-Classful

Flask-Classful is handy for grouping API endpoints, but it seems not to be maintained well.
There is one maintainer, and he is not finishing a review for a PR which by now has become security-critical. It stands in the way of upgrading Werkzeug, as well as Flask.
We have two options:

go on with the branch of the PR, as one Github user says he has been doing
Investigate how difficult it is to stop using Flask-Classful (and only use MethodView, for instance)

I'd vote for option 1 at the moment, so our upgrades do not unnecessarily stall on this. Let's consider forking first, for stability, then updating our requirements. I saw this example for a requirements.txt, but I don't know if this will work, too, for setting a git source in a requirements.in.

Note: If we can use Werkzeug >= 2.2 again, we can remove the Flask <2.1.2 version pin, but also others, e.g. the one for Flask-SQLAlchemy < 3.

An update and a pondering why we are stuck here
Update
The repo has been moved by the maintainer into the pallets-ecosystem: https://github.com/pallets-eco/flask-classful
That's wonderful, but still someone from that ecosystem needs to stand up and do a new release.
As it is, we're still blocked. Comments on the PR are not answered.
The likelihood of that PR someday being actually released has increased a bit, so option 1 from above is looking a bit better.
Pondering
But can we list here the reasons why we want to use Flask-Classful, @Flix6x ? I forget.

We can organize API routes in their own modules, while versions are in blueprints. That sounds like a nice organization to me.
After versions <=2 were sunset, maybe our APIs are pretty REST-like now, making MethodView better to use.
Another magic feature there is that one doesn't need to use @route() anymore, but we actually do that every time
For some of the Flask-Classful features (and even more), we can also think about moving to a more powerful API framework (which also supports marshmallow natively) like https://apiflask.com or https://flask-smorest.readthedocs.io.

The latter is actually the way forward to resolving #17 which is a high-value ticket as well, for the time when frontend developers interact with FlexMeasures.


iterator not working in table?

https://codepen.io/storegear/pen/KKaJwmR
So...day 4 on this on why iterator kills everything and now the variable seems to be it doesn't work when in a loop when in a TABLE. Take out the table mark up and it works.
@KevinBatdorf @SimoTod

Sorry if i insist: the x-data MUST be on the first child of your template tag, in this case tr.
It's because this way to access the variable is an hack and exploits the way Alpine saves the current loop element to optimise the next refreshes.
Keep in mind that it's an internal API, It's not documented anywhere and it might also change in the future.

Closing since it's not a bug and the question is not related to the helpers.
Feel free to open a discussion on the Alpine repo or this one if you have further questions.


Allow different timechunk lock types to coexist in a task group

All the streaming ingestion tasks for a given datasource share the same lock for a given interval. Changing lock types in the supervisor can lead to segment allocation errors due to lock conflicts for the new tasks when the older tasks are still running.
This PR allows granting of locks with different types (EXCLUSIVE, SHARED, APPEND, REPLACE) for the same interval within a task group to ensure a transition to newer set of task without failure.
This PR has:

[x] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[ ] added documentation for new or modified features or behaviors.
[ ] a release note entry in the PR description.
[x] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[x] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[x] been tested in a test Druid cluster.

Thanks for the review, @kfaraz!


Small typo correction

@cemdervis : Thanks for your contribution! The author(s) have been notified to review your proposed change.


[baremetal] Re-enable hardened SCA mem functions

Description
This reverts commit 1e96b46b032aa27d9388e395c3591b8c33005b4f from https://github.com/ARMmbed/mbedtls/pull/2930 that was created to temporarily disable usage of hardened SCA memory functions.
Status
READY

@mpg , the imported version is also passing the CI tests.
With two approving reviews and passing CI setting status to "ready for merge".

This PR should be closed as there is a bug for this and when fixing it this will generate conflicts.


Re-run ngsw after modifications in app-shell

@gkalpak @alxhub took a slightly different approach: when running the browser target always override serviceWorker to false, and then after rendering universal augment with service worker if the browser target had service worker on.
This way it only runs once and there's no need to change the service worker code. PTAL when you have time.


Write cubi-tk snappy check for irods content

Is your feature request related to a problem? Please describe.
It would be important to check whether all files from a snappy pipeline run have been persisted correctly into iRODS. This way one could reliably remove local files.
Describe the solution you'd like
Check that the expected files from a snappy run are

in SODAR iRODS in the configured project
have the correct checksum
possibly, check that there are no extra files and warn about them

Describe alternatives you've considered
N/A
Additional context
N/A

WIP / stopped after some time:

https://github.com/bihealth/cubi-tk/tree/snappy-check


MWPW-138570: dont await martech loading

Resolves: MWPW-138570
it is loaded without await in loadPostLCP method.
Test URLs:

Before: https://main--milo--adobecom.hlx.live
After: https://main--milo--adobecom.hlx.live?milolibs=mwpw-138570

*** Homepage ***

Before: https://main--homepage--adobecom.hlx.live/homepage/index-loggedout
After: https://main--homepage--adobecom.hlx.live/homepage/index-loggedout?milolibs=mwpw-138570

The reason you need to use await is that the response from martech may alter the page before you load fragments and decorate.  It's a necessary evil.
When I look at https://main--homepage--adobecom.hlx.live/homepage/index-loggedout?milolibs=mwpw-138570 it looks super broken. The entire body is missing:

@chrischrischris is back from PTO tomorrow, so we can get a 2nd opinion.

@vgoodric if you can reproduce the super broken page, can you share your console output?
I get the normal experience.

Looking at the waterfalls below, if we compare when the video blocks gets loaded in before and after, we can see that there is around 1.5s of LCP impact. I obtained the same number also via Web Vitales extension and I believe it is a very realistic number.
In the first waterfall, I see plenty of google tag manager related JS files getting loaded before the LCP blocks which is I doubt intended.

the response from martech may alter the page before you load fragments and decorate

Target on Dexter can alter content anytime, is not needed at the very beginning of the processing of the components.
On Milo, I think it should be able to alter already processed blocks and re-decorate them, it can keep the body hiding or section hiding applied during this time.
I think the current approach sacrifices the performance a lot, even for visitors who are not qualified for a test.
before:

after:

This is causing a flicker currently, keeping it open for the discussion.

Discussed with @vgoodric, closing for now.


fix: Added fusion auth and postgres for fusion auth to the chart

:tada: This PR is included in version 1.0.0-alpha.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Make fx tracing use input tensor copies to prevent side effects

Some side effects could possibly occur during flat_fn and make_fx, making unsound changes to the arguments (e.g. module buffers).
Here I try to clone the arguments for compilation, so we always operate on user arguments with compiled function.

Hi, thanks for the PR :)
Most of the work on this tracer is now going on here: https://github.com/pytorch/pytorch/blob/master/torch/fx/experimental/proxy_tensor.py
However, about the specific proposal in this PR.... I don't know how I feel about it. I suppose in principle it makes sense, but if you're relying on inputs to your function to not be mutated in the first place then I feel like you might be using make_fx wrong.

A little bit more context: this issue hits me when I try to trace through batch norm in training mode, as the number of tracked batches is mutated during tracing.
I agree with you: this seems more like a band-aid fix before the functionalization pass landed in core.

if you're relying on inputs to your function to not be mutated in the first place then I feel like you might be using make_fx wrong.

Completely agree, but it seems we have to deal with this kind of cases when using it with dynamo.


Added Major Pathways

Added the major pathways to the BE enrolment plan.

Also added the BEME enrolment plan itself.


python.pkgs.python-gnupg: disable failing test test_search_keys (r17.09 backport)

r17.09 backport of #29707
Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Just backported it one of our periodic reviews, so closing.


@drop_missing() stopped working in 1.10.0

After moving from Julia ver. 1.8.5 to 1.10 drop_missing() function stopped working regardless of providing columns, producing LoadError: UndefVarError: @drop_missing not defined

Can you go to the package console by pressing ], type in status, and share the output display the versions of packages you have installed?

This in an old version of TidierData.jl prior to the implementation of @drop_missing(), which was added in 0.11.0.
To install the latest version, type in ] to access the package manager and then type update TidierData. That should give you access to @drop_missing().

To install the latest version, type in ] to access the package manager and then type update TidierData. That should give you access to @drop_missing().

After trying to update I get no changes and still the same version 0.10. I tried all possible options with reinstalling but still the same. After trying add TidierData#main I got errors with Unsatisfiable requirements, so still no solution for that

I tried to update both but it's still the same output

Can you remove the Tidier package altogether and then try to update TidierData?
That should fix it. Appreciate the patience, and hope it works. I'll add a note to the README if this works.

This all stems from a dependency versioning issue in an older version of Tidier that has since been fixed.

Can you remove the Tidier package altogether and then try to update TidierData?

I removed Tidier and tried to update TidierData, unfortunately nothing changed and still 0.10

Try import Pkg; Pkg.gc() and then try to upgrade TidierData.
I wonder if despite your removing Tidier, it is still somehow cached. If that doesn't work, I'll tag some other folks who may know more.

I'm going to close this issue for now as it's a general package management issue. If you still need help, please feel free to reply to this.


Docker build freezes and removing build container fail with mount still active

When I build any Dockerfile, after skipping any steps it has cached, the build does not complete. It appears to hang after creating a container to perform a step of the build. I assume it is having issues deleting the container, but I am not certain - this is just an assumption based on the fact that I also cannot delete the container. Here are my details:
Output of docker version:
Client:
 Version:      1.10.3
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   20f81dd
 Built:        Thu Mar 10 15:59:07 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.10.3
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   20f81dd
 Built:        Thu Mar 10 15:59:07 2016
 OS/Arch:      linux/amd64

Output of docker info:
Containers: 27
 Running: 18
 Paused: 0
 Stopped: 9
Images: 602
Server Version: 1.10.3
Storage Driver: btrfs
 Build Version: Btrfs v4.0
 Library Version: 101
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
 Volume: local
 Network: null host bridge
Kernel Version: 4.2.0-34-generic
Operating System: Ubuntu 15.10
OSType: linux
Architecture: x86_64
CPUs: 16
Total Memory: 7.762 GiB
Name: chiyuki
ID: Z6EK:6D4P:3EH2:KI3L:3WDQ:WYPX:53XC:AXHF:6IXW:Y7EN:54FQ:3PMC

Additional environment details (AWS, VirtualBox, physical, etc.):
Physical machine running Ubuntu 15.10
Steps to reproduce the issue:

Run docker build -t blah/blah .
After several minutes, sometimes upward of 30, with nothing happening after cached images are loaded, ^C the build.
Run docker stop [build container] && docker rm [build container]

Describe the results you received:
Build does not complete, and removing container yields error similar to:
Failed to remove container (thirsty_franklin): Error response from daemon: Driver btrfs failed to remove root filesystem 5e8dca4cddda5a77d81fcb34b8bdec33bec2889dccf74956763517127c587563: mount still active

Describe the results you expected:
Build successfully completing, and removing containers working.
Additional information you deem important (e.g. issue happens only occasionally):
This issue happens consistently, but only recently. It started after an upgrade from Ubuntu 14.10 and docker 1.8.3. There was not an intermediate step to docker 1.9.1 or Ubuntu 15.04. Additionally, I am using the btrfs driver, though I never selected it myself - it appears that was selected automatically.

Same error occurs occasionaly to me after a container stopped accidently, with docker v1.11.2.

Same problem here.

Please try on 1.12.
Actually this error is never returned anymore, so may be a different error at least.

Actually, I'm going to close this because the error in question is no longer possible since 1.12.
Please open a new issue if you run into problems on 1.12
Thanks!


Upgrade rust edition to 2021

:tada: This PR is included in version 0.6.0 :tada:
The release is available on:

0.6.0
GitHub release

Your semantic-release bot :package::rocket:


Implement storage for ReCLIne

Codecov Report

Merging #144 (bca078a) into master (f9b7112) will increase coverage by 1.07%.
The diff coverage is 94.00%.

@@             Coverage Diff              @@
##             master     #144      +/-   ##
============================================
+ Coverage     70.93%   72.00%   +1.07%
- Complexity      723      760      +37
============================================
  Files           116      120       +4
  Lines          2525     2633     +108
  Branches        318      338      +20
============================================
+ Hits           1791     1896     +105
  Misses          627      627
- Partials        107      110       +3

Impacted Files
Coverage Δ

...rc/main/java/seedu/address/model/job/Position.java
90.90% <ø> (ø)

.../java/seedu/address/model/util/SampleDataUtil.java
13.04% <0.00%> (-0.60%)
:arrow_down:

src/main/java/seedu/address/model/job/Salary.java
87.09% <88.88%> (+2.48%)
:arrow_up:

src/main/java/seedu/address/model/AddressBook.java
93.75% <100.00%> (-0.10%)
:arrow_down:

...ain/java/seedu/address/storage/JsonAdaptedJob.java
100.00% <100.00%> (ø)

...u/address/storage/JsonSerializableAddressBook.java
100.00% <100.00%> (+7.14%)
:arrow_up:

.../seedu/address/logic/parser/AddressBookParser.java
57.14% <0.00%> (-4.40%)
:arrow_down:

.../java/seedu/address/storage/JsonAdaptedPerson.java
97.72% <0.00%> (-2.28%)
:arrow_down:

...java/seedu/address/logic/commands/job/ListJob.java

...ddress/logic/commands/applicant/FindApplicant.java
100.00% <0.00%> (ø)

... and 5 more

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 f9b7112...bca078a. Read the comment docs.


Fix typos in main README

What this PR does / why we need it:
Fixes typos in the main README for consistency and better readability.
Type of changes
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

Thanks @rafvasq !
/lgtm
/approve


Constructing a request with multipart form request has no way to fail if the block to construct the body has an error

When appending data to the id <AFMultipartFormData> object, if that part somehow fails (the file is corrupted, etc), there is no way to trigger an error and cancel the request creation. I'm thinking of the case where one calls -[AFHTTPSessionManager POST:parameters:constructingBodyWithBlock:success:failure:] and then constructs the body. At that point, if the body can't be full constructed, there isn't a way in the API to bail out and call the failure block.

Hi @mattt, I just started to look into this more. I still think there is a bit of an issue. I was trying to say in my description, that if this line cannot add something to the formData inside the block, there is no way to bail out.
For example, say I want to add a file to the formData inside of the block with:
NSError *error = nil;
if (![formData appendPartWithFileURL:imageURL name:@"image" error:&error]) {
    // How do I notify anyone that the formData couldn't be constructed?
}

In this case, I couldn't add something to the request, which means I'd have to wait for the server to spit out an error. It would be nicer to have some way for the body construction block to notify that an error occurred (return value?) so that we don't have to go through the request / response cycle, especially if the data being uploaded is larger.

The block executes in the method that creates the request, not the method that actually makes the request. If an error occurs during construction, bail out before actually trying to send it.

Right, the block is defined in my code. So my code would call the method -POST: parameters: constructingBodyWithBlock:success:failure: on AFHTTPSessionManager, which then calls into AFURLRequestSerializer on a similar method. AFURLRequestSerializer will call the block to construct the body (which I've defined). However, if something goes wrong inside of that block, there's no way to tell the AFHTTPSessionManager to not start the task, which happens here. At that point, the task is scheduled and the request will start up.
It'd be great to have an API that would prevent AFHTTPSessionManager from starting the task if there was an error constructing the body.

It'd be great to have an API that would prevent AFHTTPSessionManager from starting the task if there was an error constructing the body.

What I'm saying is you already have it. The referenced method is just a convenience for constructing a multipart request (NSURLRequestSerializer) and creating an upload task with streamed request (NSURLSessionManager).