Suggestion: Put all config files in root rather than .config/nvim

My use case for this is that I will git clone the root files. As it is, I have to clone into a separate directory and then move those files into my own .config folder.
Having the files be moved from /.config/nvim to / makes it so i can clone or degit into my own ~/.config/nvim folder and modify from there.

I agree this would be a minor improvement, and make it far more flexible. Users could just specify their own directory with the git command as is typical:
git clone git@github.com:frans-johansson/lazy-nvim-starter.git ~/.config/nvim

Being nested within a directory structure relative to the $HOME directory pretty much guarantees that most users are forced to do the 2-step clone/move. While it is only a very minor inconvenience, it is rather unconventional.

pretty much guarantees that most users are forced to do the 2-step clone/move

Maybe we should update the README to include the other stow flags: stow -vt $HOME . (where -v is verbose and prints what was done)

This assumes you have cloned this repository to your home directory, otherwise you will have to supply stow with some more flags

Here’s what I did to test out this starter project.
mkdir -p ~/w/mkdir frans-johansson
cd ~/w/frans-johansson
git clone git@github.com:frans-johansson/lazy-nvim-starter.git
cd lazy-nvim-starter
stow -vt $HOME .

# LINK: .config/nvim/init.lua => ../../w/frans-johansson/lazy-nvim-starter/.config/nvim/init.lua
# LINK: .config/nvim/lua => ../../w/frans-johansson/lazy-nvim-starter/.config/nvim/lua

So, I prefer the current structure. (It also simplifies moving it into your own dotfiles repo.)
brew install stow if you don’t have stow and use homebrew

Hello everyone! Sorry for the complete radio-silence on my end, I guess I never really anticipated people engaging with this little starter repo 😅 Regarding the way I decided to structure this repo, the whole point was to make it simple to include in your personal dotfiles repos.
I like the idea @connorjs suggested though, modifying the README slightly to clarify how stow functions in the context of this repo. I'll go ahead and push an update in a little bit, but seeing as I will not update the structure of the repo, I'll go ahead and close this issue for now.


Clarify HOSTPATH in docker cp

Fixes #11141. It wasn't really clear if HOSTPATH is referring the daemon host or cli host.
cc: @duglin @cpuguy83
Signed-off-by: Ahmet Alp Balkan<EMAIL_ADDRESS>

LGTM

Ping @SvenDowideit @moxiegirl @fredlf @jamtur01

@tiborvass Did @duglin last query get resolved?  If the answer is yes, LGTM.

I still see some "relative" stuff in there

Yeah ditto

Sorry guys
ping @ahmetalpbalkan

I still have mixed feelings about this PR.
I probably need somebody native in English here to make the description crystal clear. :smile:

@moxiegirl Could you please take over this change to help @ahmetalpbalkan out?
Thanks all.

See #11305  for update of this PR.


allow overwrite sitemovers queuedata settings from AGIS

Updates:

implemented base functionality to parse and overwrite data passed via jobPars settings
introduced --overwriteAGISdata arg option to overwrite queuedata coming from AGIS
added copytools and acopytools entries to overwriteAGISdata, update affected stagein/out functions

The format of overwriteAGISdata command line option in JobParameters is a string representation of python structures (need to be overwritten)
e.g.
jobPars = '
--overwriteAGISdata "{\'allowfax\':False,\'copytools\':{\'rucio\':{\'setup\':\'fakesetup.sh\'}, \'acopytools\':{\'pr\':[\'rucio\']}}"
'

to simply overwrite queuedata both for stage-in and stage-out (e.g. by HC jobs) and force use of Rucio sitemover following settings can be passed:
--overwriteAGISdata "{'copytools':{'rucio':{'setup':''}, 'acopytools':{}}"

actually I don't, got it. I will check today and push updates to this request.

Paul, I have updated the logic.

Hi,
Doesn’t quite work however; if the new option is not used, then too much is removed:
2017-12-04 13:34:21|17710|Job.py      | INFO: parseJobPars(): do extract options=['--overwriteAGISdata'] from data=--maxEvents=1 --inputHITSFile HITS.06828093._000096.pool.root.1 --outputRDOFile RDO_405f1da7-47c5-4aec-a97d-5c18e59cd264.root
2017-12-04 13:34:21|17710|Job.py      | job.overwriteAGISData={}
2017-12-04 13:34:21|17710|Job.py      | cleaned job.jobPars=HITS.06828093._000096.pool.root.1 --outputRDOFile RDO_405f1da7-47c5-4aec-a97d-5c18e59cd264.root
Cheers, Paul
From: anisyonk<EMAIL_ADDRESS>Reply-To: PanDAWMS/pilot<EMAIL_ADDRESS>Date: Monday 4 December 2017 at 13:33
To: PanDAWMS/pilot<EMAIL_ADDRESS>Cc: Paul Nilsson<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [PanDAWMS/pilot] allow overwrite sitemovers queuedata settings from AGIS (#182)
Paul, I have updated the logic.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/PanDAWMS/pilot/pull/182#issuecomment-348949575, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABxdSOmXOLn9KEw6fO6OydvTnHNKyqV2ks5s8-aNgaJpZM4QzUXC.


manual mode

Hello!
I have some questions about the apollo auto manual mode.
How do I activate manual mode from the dreamview interface?
If I override my car system while it is running Apollo auto, can it detect and acknowledge my override?
If so, how sensitive is the override detection system?

The mode displayed on dreamview is controlled by chassis's DrivingMode.  As long as your follow the protocol of chassis's DrivingMode correctly, dreamview will be able to "detect" and display it.

So there is no way I test the vehicle's behavior in manual mode through the Dreamview interface?

Unfortunately, Dreamview doesn't support this function.
The good news is that our hmi_worker can trigger different driving modes. And, Dreamview has the "Start Auto" button to trigger COMPLETE_AUTO_DRIVE. Hence, you can do the same to Dreamview by adding a button that triggers HMI's DISENGAGE action to change driving mode to COMPLETE_MANUAL.

Closed due to inactivity. If the problem persists, pls feel free to reopen it or create a new one and refer to it.


.NetCore3.1&ReactJS SPA: Cannot publish to docker hub

Hello.
It's not possible to publish to docker hub anymore. I'm using the latest version of docker desktop: 3.5.2,. Error code CTC1014:
#18 ERROR: executor failed running [/bin/sh -c dotnet publish "ASPNETCore31ReactJS.csproj" -c Release -o /app/publish]: exit code: 1
#7 [base 3/4] RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
#7 sha256:460be8e5fe3e8f54feb394cf9c995a9b559918662f66c1b3ba3e6abcd6e55bf4
#7 CANCELED

[publish 1/1] RUN dotnet publish "ASPNETCore31ReactJS.csproj" -c Release -o /app/publish:

executor failed running [/bin/sh -c dotnet publish "ASPNETCore31ReactJS.csproj" -c Release -o /app/publish]: exit code: 1
C:\Users\Admin\source\repos\ASPNETCore31ReactJS\Dockerfile(0,0): Error CTC1014: Docker command failed with exit code 1.

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

ID: 1abf884f-eb39-1007-25a6-d049b87504a3
Version Independent ID: 33636e79-d3e1-8c24-f3a5-0c3c79e2a488
Content: Visual Studio Container Tools with ASP.NET Core and React.js
Content Source: docs/containers/container-tools-react.md
Product: visual-studio-windows
Technology: vs-azure
GitHub Login: @ghogen
Microsoft Alias: ghogen

@gunnarsireus -- Gunnar, thank you for your feedback.  This repo is solely for documentation issues, and this appears more product-related.  Please consider these resources:

Visual Studio on Q&A
Visual Studio MSDN Forum
Stack Overflow
Reddit

Also, you're welcome to add your concern here:

Report product issues to us via the Report a Problem tool that appears both in the Visual Studio Installer and in the Visual Studio IDE.
Suggest a feature, track product issues, and find answers in the Visual Studio Developer Community.

I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.


Can I use it with Linux and Windows?

I am working with a server in Linux, and I program in Windows, can i use it with Windows and Linux?
I have a problem with that

Is there any followup on this? Were you able to get it to work? If not, what did you decide to use?
I'm currently running a linux VM that I would like to connect with from my Windows host. However, I get errors like this:
[4:11:57 PM] Connecting: cs@<IP_ADDRESS>:22
[4:11:59 PM] Download: find: `~/cs/router/': No such file or directory to C:\find: `~\cs\router\': No such file or directory ...

which makes me feel like the '/' vs '' is causing an issue. If Windows to Linux does work, could somebody explain what you have to do to get it connected?

Yes, it works. I had wrong the configuration.
i don't know if a git shell is necesary, because I conect to the VM Linux by ssh, using the git shell.

I'm still having an issue with it. I have Git shell installed, but I
thought that the connection was made by Atom using the details specified in
the configuration file. Can you explain what you had to do to get this to
work?
On Wed, Oct 14, 2015, 8:40 PM l222p<EMAIL_ADDRESS>wrote:

Yes, it works. I had wrong the configuration.
i don't know if a git shell is necesary, because I conect to the VM Linux
by ssh, using the git shell.
—
Reply to this email directly or view it on GitHub
https://github.com/yongkangchen/remote-sync/issues/200#issuecomment-148272878
.

I have my VM Linux like a server (obviusly in network).
My config

I use ssh to conect it (ssh)
HostName: IP Server
Port 22 (ssh)
Target Directory: folder of my app
Username: User of my VM
password: Pass of User
and click at checkbox.
This is it
PD: Sorry for my bad English

Great. This worked for me as well. @yongkangchen You can probably go ahead and close this issue.

@lukehsiao  ok, and thanks for consulting this issue.


buffer error

I am running the nodepp server with a simple login / pass setup. I get a secure connection no problem, but then I get this error right after welcome screen is echoed out ...
buffer.js:680
throw new RangeError('index out of range');
^
RangeError: index out of range
at checkOffset (buffer.js:680:11)
at Buffer.readUInt32BE (buffer.js:754:5)
at ProtocolConnection.readStream (/home/ubuntu/dev/nodepp/lib/connection.js:89:37)
at TLSSocket. (/home/ubuntu/dev/nodepp/lib/connection.js:59:22)
at emitNone (events.js:67:13)
at TLSSocket.emit (events.js:166:7)
at emitReadable_ (_stream_readable.js:419:10)
at emitReadable (_stream_readable.js:413:7)
at readableAddChunk (_stream_readable.js:164:13)
at TLSSocket.Readable.push (_stream_readable.js:111:10)

Get this as it is starting up ...
debug: Calling epp command.
info: Establishing connection..
info: Established a secure connection.
debug: Read event
debug: endian length:  500
debug: current buffer length 4
debug: Read event
debug: endian length:  500
debug: current buffer length 5
debug: Read event
debug: endian length:  500
debug: current buffer length 500
info: Received:  <login xml ....>

Seems like it's calling readStream right after printing out the greeting and the buffer is empty.
I don't have any means to debug this (no registry accounts), but it might be worthwhile to log out what is in the buffer just before it tries to read the totalLength.

info: Established a secure connection.
debug: Read event
<Buffer 00 00 01 f4>
debug: endian length:  500
debug: current buffer length 4
debug: Read event
<Buffer 00 00 01 f4 3c>
debug: endian length:  500
debug: current buffer length 5
debug: Read event
<Buffer 00 00 01 f4 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 20 65 6e 63 6f 64 69 6e 67 3d 22 55 54 46 2d 38 22 3f 3e 0a 3c 65 70 70 20 78 6d ... >
debug: endian length:  500
debug: current buffer length 500
info: Received:
info:
..... xml here
info: Finished writing to server.
debug: Read event
<Buffer 00>
buffer.js:680
throw new RangeError('index out of range');
^
RangeError: index out of range
at checkOffset (buffer.js:680:11)
at Buffer.readUInt32BE (buffer.js:754:5)
at ProtocolConnection.readStream (/home/ubuntu/dev/nodepp/lib/connection.js:88:37)
at TLSSocket. (/home/ubuntu/dev/nodepp/lib/connection.js:59:22)
at emitNone (events.js:67:13)
at TLSSocket.emit (events.js:166:7)
at emitReadable_ (_stream_readable.js:419:10)
at emitReadable (_stream_readable.js:413:7)
at readableAddChunk (_stream_readable.js:164:13)
at TLSSocket.Readable.push (_stream_readable.js:111:10)

Changing calls from
readUInt32BE
to
readUIntBE
seems to have fixed it. For nodejs greater than .12.
From here:
http://stackoverflow.com/questions/30911185/javascript-reading-3-bytes-buffer-as-an-integer
readUIntBE allows a variable number of bytes.

I'm past that issue, I think. Now all of my requests give ...
{"error":"Not logged in."}
Assuming this means my creds are failing?

You'd have to log out the xml output to make sure how it's responding to the login. If they are failing you should be getting an error message in response to your login request.

And would you mind submitting a patch for the fix?

Yes, I'll submit a patch. It seems like our server needs all requests wrapped in epp tag ?
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
 <response>
  <result code="2001">
   <msg lang="en-US">Command syntax error</msg>
   <value>
    <text>[Error] :2:45: cvc-elt.1: Cannot find the declaration of element 'epp'.</text>
   </value>
  </result>
 </response>
</epp>

All the requests should be enclosed in <epp> by default. What does the namespaces part of your config contain?

Yeah, that was up. Making pull reqeust for BigEndian stuff.
On Sat, Nov 5, 2016 at 12:17 PM, William Travis Holton <
<EMAIL_ADDRESS>wrote:

All the requests should be enclosed in  by default. What does the
namespaces part of your config contain?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/heytrav/nodepp/issues/7#issuecomment-258626464, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADKssFe9lr5triP4zWlzZBFOEE7WDLuZks5q7LpBgaJpZM4KpuUW
.

--
Christopher Schaub
http://chris.schaub.com

https://github.com/heytrav/nodepp/pull/8

One last question. I get back a successful login now on the console. Should I be able to post to port 3000 a command like
{"domain": "something.ga"}

when I do, I get a not logged in error, even though I can see the server running port 3000 got logged in. Do I need to use the nodepp-req library and rabbitmq to test this? Or should posting to a port as json be enough to test? Thanks for your help!

I assume you mean posting that data structure to something like:
http://localhost:3000/command/<registry in config>/checkDomain
or
http://localhost:3000/command/<registry in config>/infoDomain
Then yes, that should work. The rabbitmq is just an alternative way to use the service, but it was intended to work via http requests as well.

Ok, making progress. I needed to add a try / catch to handle cases where the buffer is empty during phases of the connection. But I am still getting this error:
The matching wildcard is strict, but no declaration can be found for element 'domain:check'."
Assuming the issues is with namespaces. They are ...
"domain": {
"xmlns": "urn:ietf:params:xml:ns:domain-1.0",
"xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
"xsi:schemaLocation": "urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd"
},
That's what I was given. Any ideas what else could be causing this? Thanks!

What do you have in the services section of your config? This tells the EPP server which types of entity you want to manipulate. Some registries support custom objects and some don't support contacts for example. An example of what I have is
            "services": ["domain", "contact"],

and for namespaces:
            "namespaces":{
                "epp": {
                    "xmlns": "urn:ietf:params:xml:ns:epp-1.0"
                },
                "domain": {
                    "xmlns": "urn:ietf:params:xml:ns:domain-1.0"
                },
                "contact": {
                    "xmlns": "urn:ietf:params:xml:ns:contact-1.0"
                },
                "DNSSEC": {
                    "xmlns": "urn:ietf:params:xml:ns:secDNS-1.1"
                }
            }

It's not really necessary to put xmlns:xsi or xsi:schemaLocation in there.


Broken masteries

VC, DH, and Engineer are reported as "broken." Test plays fine on local.

doesn't play test properly for me.
something is up.  I need your resource folder please im curious how big ui.arc is and possible your skills folder too from records (not ui)


After using the script the taskbar icons disappearing or not responding

I used the script and it worked great!
And suddenly I noticed that the taskbar icons are disappearing or not responding
I tried to reset the icons with the attached script
And after restart the problem returns.
I would appreciate a solution.
reset icons.txt

Try this powershell command and reboot
Remove-ItemProperty -Path "HKCU:\Control Panel\Desktop" -Name "HungAppTimeout" -ErrorAction SilentlyContinue
This this property was messing with people and causing hangs and flickering.

Wow that solved the problem!
Thank you very much, you helped me a lot!


[feature request] UI enhancements for large numbers of ports

This is a nice program with a good concept. I like the clean appearance and the fact that it avoids GTK and Qt.
There are a couple of things that would improve usability when using large numbers of audio ports and JACK clients however:
1 - Add a fixed display of the matrix crosspoint text, eg. in a toolbar. I use RME MADI cards, and the matrices for the system audio ports are too tall to fit on the screen.  When making connections near the top, the text that appears below the matrix on mouse hover isn't visible. An additional fixed position display of that text would solve the problem.
2 - Toggle visibility of matrices on a per-client basis, to reduce clutter when using a lot of JACK clients.

thanks, good ideas, indeed, (2) was already on the TODO list.

thanks, good ideas, indeed, (2) was already on the TODO list.

(2) was already on the TODO list.

Ah, great.  I currently use Patchage, which is fine but it relies on GTK2. Apart from a personal preference for lightweight software, having to compile an obsolete version of GTK or Qt from scratch to support one or two indispensable programs in future is a pain I prefer to avoid.
The one thing that has prevented me from removing all GTK and Qt from my DAWs so far has been the lack of a suitable JACK connection manager. Patchmatrix looks very promising here.

(2) was already on the TODO list.

Ah, great.  I currently use Patchage, which is fine but it relies on GTK2. Apart from a personal preference for lightweight software, having to compile an obsolete version of GTK or Qt from scratch to support one or two indispensable programs in future is a pain I prefer to avoid.
The one thing that has prevented me from removing all GTK and Qt from my DAWs so far has been the lack of a suitable JACK connection manager. Patchmatrix looks very promising here.

migrated to own forge https://todo.open-music-kontrollers.ch/~hp/issues/8


[Hotfix] Enable SSH connect inside

Coverage decreased (-0.01%) to 51.626% when pulling a58c6401f3584fff83c53e4d230249e93ef57f3a on canwan/hotfix-enable-ssh-inside into 55caff899a819d8d5c87126d2b0e236d8e6f2172 on pai-0.8.y.


v1.3 scan: Account API Med 1

CampDAPI_Med&Lows.xlsx
DNS Rebinding allows a malicious host to spoof or redirect a request to an alternate IP address,
potentially allowing an attacker to bypass security authentication or authorization.  DNS resolution
on its own does not properly constitute a valid authentication mechanism.  Servers should validate that
the Host header of the request matches the expected hostname of the server.  In cases where the hostname
is missing or does not match the expected value, the server should return a 400.  The X-Forwarded-Host
header is sometimes used instead of the Host header in cases where the request is being forwarded.  In
these cases, the X-Forwarded-Host header should also be validated if it is being used to determine the
Host of the original request.
DNS Rebinding on 'https://api.epa.gov/easey/staging/account-mgmt/allowance-holdings/attributes/applicable'

The issue is in the API Gateway. Justin and @maheese  discussed sending the details over to GSA (the maintainers of api.data.gov) for them to look at.

False Positive. Approved reclassification on 3/4/2024


Support for adding new HTTP headers

These changes allow for the inclusion of a new parameter in the
SockJSClient, such that additional HTTP header fields may be defined in
a form of an object. Any existing predefined header fields in code will
be overwritten with the specified HTTP header field of the same header
name (key).  The added headers will be appended onto both the ‘start’
and ‘write’ request variables of XHRStreaming.prototype.

Can you elaborate on what you need the additional headers for? Also, you really should be using the sockjs/sockjs-client project now because it supports being run from node.

Hi Bryce, I just wanted to take advantage of the "User-Agent" for browser UI experience and for added security reasons.  Actually, I merely generalised the parameter to "addedHeaders", so that the programmer can actually add other header fields to it.
Regarding your suggestion, may I kindly ask if there is a way to include that https://github.com/sockjs/sockjs-client into my project's "package.json"?  When I included "sockjs-client", "0.1.x" in my project's "package.json", I kept on getting downloads from https://github.com/sockjs/sockjs-client-node when I performed "npm install".  When I tried version "0.3.x", there seemed to be no version recognised by npm.  Furthermore, I don't seem to see any support for the insertion of HTTP headers in https://github.com/sockjs/sockjs-client-node.
On a side note, I do not seem to see the direct answers which were brought up in the following threads: https://github.com/sockjs/sockjs-client/issues/131 and https://github.com/sockjs/sockjs-client/pull/76 .

@identityclash Yes. 0.1.x is a really old version of sockjs-client and would point to this project because it transitioned to sockjs-client once that was node compatible. You should use the 1.0.0-beta.12 version.
The issues you linked are resolved, and I closed them once I published a version of sockjs-client that was browserify and node compatible.

@identityclash Adding a 'User-Agent' header will neither change the experience or increase security in any way. For something running from node, it is just another header.


when trying to place a flower into a flower pot/box/beer mug from the let's do mods it crashes the game

Iam not sure if this belongs here, nor if its fixable from just altering this mod alone, ive already made an issue in the lets do hub.
basically what the title says.
for more info here's the issue i've made: https://github.com/satisfyu/Let-s-Do-Hub/issues/315

No worries man, honestly iam not really sure if this is even on you, it might be entirely lets do mod's fault.
It would still be great if you managed to fix it, cus the development of lets do mods seems to be ending :/
Thanks for the kind response i appreciate that a lot and best of luck with your dev adventures :D

Hey @PixitOwO,
i've fixed this issue on my side with additional nullchecks.


[Bug]: Entity explorer pop-up behaviour is incorrect when scrolling through on the explorer

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When the hamburger icon is clicked next to a query/widget and a datasource is expanded to display all it's tables as seen in the video then scrolling on the entity explorer causes the pop-up to scroll with the explorer and sometimes add an unnecessary scroll on the canvas
Steps To Reproduce

Click on the hamburger icon next to a mongo query
Expand it's datasource so you can see all it's tables
Now scroll in both directions on the entity explorer and observe that the pop-over persists on screen and it's behaviour is incorrect in both directions as seen in the video (moving upward causes pop-over to colliade with pages and other irrelevant entities on the explorer and moving downward causes an extra scroll to appear)

https://www.loom.com/share/81ae4909ad304ec4a5928ad837e298af
Public Sample App
No response
Version
Cloud

Stats

Stat
Values

Reach
5000

Effort (months)
0.5

Hiding the menu on scroll should fix this.
https://user-images.githubusercontent.com/67054171/182079137-472a16ab-f14d-419b-a251-550bb237976d.mov
https://appsmith-56xsan47i-get-appsmith.vercel.app/


Import data from unitime csv directly from admin panel

If one uses only the signup for terms, he/she might want to import data from Unitime csv.
It would be nice to be able to import it directly from the admin panel. Maybe the way to go is to use django-import-export app - https://github.com/django-import-export/django-import-export - maybe it is possibile to write custom data importer from admin panel in it.
Example of such csv can be downloaded e.g. here: https://plan.agh.edu.pl/UniTime/gwt.jsp?page=timetable#date=&events=&name=FiIS%252FIS-1+S7&term=Semestr+zimowy2015AGH&type=curriculum

I have already created a branch unitime-data-importer-#1 where I have installed django-import-export, so this might be a good starting point (might need a rebase to master if this task is started late).

Closed as irrelevant, the backend has moved to flask (though this will probably be added at some point in the future).


[FLINK-32123][e2e] Fix E2E kafka download timeout

https://issues.apache.org/jira/browse/FLINK-32123
For the past few hours, E2E tests fail with: Avro Confluent Schema Registry nightly end-to-end test failed after 9 minutes and 53 seconds! Test exited with exit code 1
Looks like https://archive.apache.org/dist/kafka/  mirror is overloaded – download locally took more than 30min
This PR switches to  https://downloads.apache.org/ mirror (locally takes a few minutes)

@flinkbot run azure

I've opened an issue with INFRA [1]. Let's give them some time to respond. If this is not fixed by noon CET, I will merge this as a temporary hotfix and we'll revert it later.
[1]


Merge duplicate struct definitions

Where there are multiple properties which reuse the same nested properties, the corresponding struct definition should be flattened. Take the following JSON:
{
   "filter":{
      "sitereference":[
         {
            "value":"shshs"
         }
      ],
      "transactionreference":[
         {
            "value":"3-64-25205"
         }
      ]
   }
}

Expected output:
type AutoGenerated struct {
	Filter Filter `json:"filter"`
}

type FilterAutoGenerated struct {
	Value string `json:"value"`
}

type Filter struct {
	Sitereference        []FilterAutoGenerated `json:"sitereference"`
	Transactionreference []FilterAutoGenerated `json:"transactionreference"`
}

Actual output:
type AutoGenerated struct {
	Filter Filter `json:"filter"`
}

type Sitereference struct {
	Value string `json:"value"`
}

type Transactionreference struct {
	Value string `json:"value"`
}

type Filter struct {
	Sitereference        []Sitereference        `json:"sitereference"`
	Transactionreference []Transactionreference `json:"transactionreference"`
}

I just encountered this and came to file this exact issue.
I'd be willing to take a look (given the tag).
Incidentally, this tool is an absolute godsend to anyone using a public API that produces extremely verbose structures. Thank you! ❤ 🙏

@michaelsanford Yes, would be happy to have your contribution! Thank you!

@michaelsanford Are you still working on this?

@Capable-Disk4147 My gosh, this one slipped under my radar. Many apologies: I am not.

I should be able to take a look, but I'm AFK a bit ATM so if someone else is keen then feel free

I encountered the same problem, here is my simplified example for inspiration.
{
    "dimensionCounts": [
        {
            "label": {
                "de_de": "Mitarbeiter",
                "ja_jp": "\u5F93\u696D\u54E1"
            }
        },
        {
            "label": {
                "fr_fr": "Qualifications",
                "de_de": "Qualifikationen"
            }
        }
    ]
}

DimensionCounts []struct {
	Label struct {
		DeDe string `json:"de_de"`
		JaJp string `json:"ja_jp"`
		FrFr string `json:"fr_fr"`
	} `json:"label,omitempty"`
} `json:"dimensionCounts"`

I will have a look at the code later to see if I can help


Falsehoods About Plain Text

I believe this would fit well in the Internationalization section. I'm the author, but this is my first and only attempt at promoting it. It doesn't seem to have gotten much attention so far.
https://jeremyhussell.blogspot.com/2017/11/falsehoods-programmers-believe-about.html#main
Falsehoods about Plain Text - Writing systems around the world and why it's surprising Unicode works as well as it does.

"Plain text can't cut it and reasons why Unicode works as well as it does."
I think removing "it's surprising" has substantially changed the meaning.

I think removing "it's surprising" has substantially changed the meaning.

Fixed in https://github.com/kdeldycke/awesome-falsehood/commit/b206722f1a75c09c8922f775d5cc61ede098c258.


Disassembly cannot be stopped

Disassembly cannot be stopped once the disassembly window is opened. The disassembly works as long as the debug session starts, even if I close the disassembly window, or restart the debug session. Disassembly stops only after closing vscode and restarting the debug session
https://github.com/Marus/cortex-debug/issues/781

Can you explain the actual issue in a bit more detail?

Open the disassembly view After debugging my own program, I will turn off the disassembly to save resources. But this is after I found out that I can't close the disassembly except I close vscode. Even if the disassembly view is closed, the disassembly of gdb has been working. As long as I suspend the debugger, gdb starts to send disassembly commands.

I hope there is a way to stop disassembly after it is turned on

Are you saying that vscode is still sending a disassemble request to the debug adapter even when the disassembly view is closed? Or just that gdb is still doing disassembly unnecessarily?

I don't see this happening. I need a log or something that shows that vscode is sending unnecessary disassembly requests. I don't think vscode is doing that.

I don't see this happening. I need a log or something that shows that vscode is sending unnecessary disassembly requests. I don't think vscode is doing that.

When I close the disassembly view and reconnect debug, the disassembly commands still work again.
log.txt

This isn't really enough to show that vscode is sending a disassemble request at the wrong time

Sorry, this isn't really an actionable issue report from my end.


"error":"TrainingService setClusterMetadata timeout. Please check your config file."

Short summary about the issue/question:
When creating a job on remote, I met this error
"error":"TrainingService setClusterMetadata timeout. Please check your config file."
Brief what process you are following:
My config.yml file is like below.
authorName: default
experimentName: example_pytorch_cifar10
trialConcurrency: 4
maxExecDuration: 100h
maxTrialNum: 100
#choice: local, remote, pai
trainingServicePlatform: remote
searchSpacePath: search_space.json
logDir: .....
logLevel: trace
useAnnotation: false
tuner:
  #choice: TPE, Random, Anneal, Evolution, BatchTuner, MetisTuner
  #SMAC (SMAC should be installed through nnictl)
  builtinTunerName: TPE
  classArgs:
    #choice: maximize, minimize
    optimize_mode: maximize
assessor:
  #choice: Medianstop
  builtinAssessorName: Medianstop
  classArgs:
    #choice: maximize, minimize
    optimize_mode: maximize
    start_step: 50
trial:
  command: python main.py
  codeDir: .
  gpuNum: 1
machineList:
  - ip: .....
    port: 22
    username: ......
    passwd: ....
    gpuIndices: 0,1,2,3
    maxTrialNumPerGpu: 1
    useActiveGpu: true
  - ip: .....
    port: 22
    username: ......
    passwd: ....
    gpuIndices: 0,1,2,3
    maxTrialNumPerGpu: 1
    useActiveGpu: true

And then start the experiment
nnictl creat --config config.yml

How to reproduce it:

nni Environment:

nni version: latest
nni mode(local|pai|remote): remote
OS: Ubuntu16
python version: 3.6
is conda or virtualenv used?:  conda
is running in docker?: NO

need to update document(yes/no):
NO
Anything else we need to know:
I have manually verified the ssh IP and PWD are valid by ssh login.
Additionally I added some print out in launcher.py And found the problem locates in rest_put. Debug output:
running rest_put...
cluster_metadata_url(port): http://localhost:8080/api/v1/nni/experiment/cluster-metadata

Another thing is I also tried to set the "nniManagerIp" using the same IP address as the first machine in the machine list. It still does not work.
I have not found any example which successfully run remote mode. Please help, thanks!

Try to set nniManagerIp to your nni control server IP. This might help: https://nni.readthedocs.io/en/latest/Tutorial/ExperimentConfig.html

@ultmaster I forgot to mention this: acutally I tried to set the "nniManagerIp" using the same IP address as the first machine in the machine list. It still does not work.
Does the error's occurance location (as I mentioned in the problem description) imply anything?

It should be IP where you launch nnictl. Does this machine happen to be the first one in your machine list?

@ultmaster OK, I will try this. I previously was using the remote machine since I was bit confused if my local machine should really appear in the machine list.
Btw, there is another question that in the "remote" mode, I first upload my code to the server. Then in the config.yaml file, should the code location and running command be the one on local or on server? I did not find this in document.

CodeDir should be on local. All the contens in CodeDir will be uploaded to remote. Running command should be on remote.
I have to admit this is kind of confusing.

@ultmaster "All the contens in CodeDir will be uploaded to remote" Do you mean nni will automatically upload this for me so that I dont need to upload myself? If so, that's good to know.

@Guptajakala Yes.

@ultmaster Thanks! I will add the nniManagerIp setting and report my findings here soon.

@ultmaster
I tried to set nniManagerIp to my local IP address and still got the error:
INFO: expand searchSpacePath: search_space.json to /home/XXX/debug/nni_remote_test/search_space.json
INFO: expand codeDir: . to /home/XXX/debug/nni_remote_test/.
INFO: Starting restful server...
INFO: Successfully started Restful server!
INFO: Setting remote config...
[Mine] Welcome to ~/anaconda3/envs/XXX/lib/python3.6/site-packages/nni_cmd/launcher.py set_remote_config
[Mine] launcher.py rest_put...
cluster_metadata_url(port): http://localhost:8080/api/v1/nni/experiment/cluster-metadata
port: 8080
err_message dumped to  /home/XXX/.local/nnictl/MnKtg7Lu/stderr
ERROR: Failed! Error is: {"error":"TrainingService setClusterMetadata timeout. Please check your config file."}

@Guptajakala thanks for reporting this issue, could you join the chat on gitter https://gitter.im/Microsoft/nni?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge, so that we can find the root cause faster.

@QuanluZhang
Sure, I have signed in.

Might be due to keyboard-interaction.


retarget test projects to .NET Core 2.1 (LTS)

We dropped .NET Core 1.x support a while ago (#1539) however some of the test projects were still targeting 1.x (!).
The result was the test suite was testing something we didn't support 😂
This PR moves test projects to 2.1 LTS and updates the build accordingly (build should be faster now too).

@mholo65 I am not too familiar with that, how do I generate Cake file for different .NET Core version then?

@filipw today it includes manual work to get those generated. The changes you made actually comes from the documentation of the Cake aliases (which the builds the DSL). This is where it came from: https://github.com/cake-build/cake/blob/2669dac25c388967f78c3536228c34a0e9b01a94/src/Cake.Common/Tools/DotNetCore/DotNetCoreAliases.cs#L238
Noticed that these are over 2 years old. However the change to those files should not matter test execution whatsoever.


To remove unused APIs in the bequeath-your-data-and-die callbacks

In the new specification , the following APIs are marked as deprecated and will not be available from 3.0.0,
/v1/notify-deregistrations
/v1/notify-approvals
/v1/notify-withdrawn-approvals
Based on above understanding, the following callbacks shall be removed from bequeath-your-data-and-die callbacks.

PromptForBequeathingDataCausesRObeingRequestedToNotifyApprovalsOfNewApplicationsToNewRelease(for /v1/notify-approvals)
PromptForBequeathingDataCausesRObeingRequestedToNotifyWithdrawnApprovalsToNewRelease(for /v1/notify-withdrawn-approvals)
PromptForBequeathingDataCausesRObeingRequestedToStopNotificationsToOldRelease (for /v1/end-subscription).
These forwardings shall be removed from

OAS
forwardings.yaml
config.json
services.yaml
Similar issue : https://github.com/openBackhaul/RegistryOffice/issues/528

Changed as proposed.


Add xForwardedFor to event body

See http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/x-forwarded-headers.html for more details on the header we're including in events.

All good


fix build on macos

Fixes #10.

This still has some test failures, notably large_write and read_modify_write, but it should be good enough for someone else to continue debugging.

I think there is a better way to do the conditional compilation at the use level; let me investigate.

I think there is a better way to do the conditional compilation at the use level; let me investigate.

Done.

Fixed remaining failing tests on macOS.


File type incorrect for GCST90451650,GCST90451651,GCST90451652,GCST90451653

The file type for these GCST (GCST90451650,GCST90451651,GCST90451652,GCST90451653) are presently gwas-ssf, but all these are gene-burden files which don't follow the format and it should be non-gwas ssf format.
These belongs to this GCP001053 which also has single variant studies which has correct file type.

Successfully updated GCST90451650 to non-GWAS-SSF.
Successfully updated GCST90451651 to non-GWAS-SSF.
Successfully updated GCST90451652 to non-GWAS-SSF.
Successfully updated GCST90451653 to non-GWAS-SSF.

@Santhi1901 please confirm

this can be closed; the file types for gene-burden studies are now correctly updated to non-gwas ssf


Swift 3 Update

Hi, can you update the code for swift 3. It would be great of you to help me out

The Swift 3 version is still a work in progress. You can use it now from the swift-3 branch, but know that the public API is likely to change.

@mattrubin Can you tell me when a release will be made with the Swift 3-support?

Hi @mattrubin
I'm also very interested in Swift 3 version. Any information about when it's available through Cocoapods?
All the best
Roland

OneTimePassword 3.0 for Swift 3 is now available!
Thanks all for your patience. If 3.0 gives you any problems, please let me know.


Unhandled error MissingPluginException(No implementation found for method createUserWithEmailAndPassword on channel plugins.flutter.io/firebase_auth) occurred in    Instance of 'SignInFormBloc'.

I am trying the integrate firebase with flutter web.
when I try to register a new user it fails with the below error.
$ flutter run
Multiple devices found:
Web Server (web) • web-server • web-javascript • Flutter Tools
Chrome (web)     • chrome     • web-javascript • Google Chrome 87.0.4280.88
[0]: Web Server (web-server)
[1]: Chrome (chrome)
Please choose one (To quit, press "q/Q"): 1
Running "flutter pub get" in test_app...                         1,538ms
Launching lib\main.dart on Chrome in debug mode...
Syncing files to device Chrome...                                  18.1s
Debug service listening on ws://<IP_ADDRESS>:62397/s2S44BOg2aE=/ws
Warning: Flutter's support for web development is not stable yet and hasn't
been thoroughly tested in production environments.
For more information see https://flutter.dev/web
To hot restart changes while running, press "r" or "R".
For a more detailed help message, press "h". To quit, press "q".
``
Error: Unhandled error MissingPluginException(No implementation found for method
createUserWithEmailAndPassword on channel plugins.flutter.io/firebase_auth) occurred in
Instance of 'SignInFormBloc'.
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/internal/js_dev_runtime/private/ddc_runtime/errors.dart 216:49  throw
packages/flutter/src/services/platform_channel.dart 157:7
_invokeMethod
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 45:50
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/zone.dart 1450:54
runUnary
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/future_impl.dart 143:18
handleValue
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/future_impl.dart 696:44
handleValueCallback
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/future_impl.dart 725:32
_propagateToListeners
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/future_impl.dart 529:5
[_completeWithValue]
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/future_impl.dart 567:7
callback
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/schedule_microtask.dart
41:11                              _microtaskLoop
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/schedule_microtask.dart
50:5                               _startMicrotaskLoop
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 166:15
at Object.throw_ [as throw] (http://localhost:62336/dart_sdk.js:4348:11)
at http://localhost:62336/packages/bloc/src/cubit.dart.lib.js:105:21
at sign_in_form_bloc.SignInFormBloc.new.onError
(http://localhost:62336/packages/bloc/src/cubit.dart.lib.js:106:25)
at sign_in_form_bloc.SignInFormBloc.new.onError
(http://localhost:62336/packages/bloc/src/cubit.dart.lib.js:243:15)
at _RootZone.runBinaryGuarded (http://localhost:62336/dart_sdk.js:37753:11)
at sendError (http://localhost:62336/dart_sdk.js:31342:26)
at _BroadcastSubscription.new.[_sendError]
(http://localhost:62336/dart_sdk.js:31359:11)
at _BroadcastSubscription.new.[_addError]
(http://localhost:62336/dart_sdk.js:31282:27)
at http://localhost:62336/dart_sdk.js:32012:34
at _SyncBroadcastStreamController.new.[_forEachListener]
(http://localhost:62336/dart_sdk.js:31858:13)
at _SyncBroadcastStreamController.new.[_sendError]
(http://localhost:62336/dart_sdk.js:32010:31)
at _SyncBroadcastStreamController.new.[_addError]
(http://localhost:62336/dart_sdk.js:31835:25)
at _RootZone.runBinaryGuarded (http://localhost:62336/dart_sdk.js:37753:11)
at sendError (http://localhost:62336/dart_sdk.js:31342:26)
at _ForwardingStreamSubscription.new.[_sendError]
(http://localhost:62336/dart_sdk.js:31359:11)
at _ForwardingStreamSubscription.new.[_addError]
(http://localhost:62336/dart_sdk.js:31282:27)
at _ForwardingStreamSubscription.new.[_addError]
(http://localhost:62336/dart_sdk.js:35462:25)
at _MapStream.new.[_handleError] (http://localhost:62336/dart_sdk.js:35416:24)
at _ForwardingStreamSubscription.new.[_handleError]
(http://localhost:62336/dart_sdk.js:35488:38)
at _RootZone.runBinaryGuarded (http://localhost:62336/dart_sdk.js:37753:11)
at sendError (http://localhost:62336/dart_sdk.js:31342:26)
at _ControllerSubscription.new.[_sendError]
(http://localhost:62336/dart_sdk.js:31359:11)
at async._DelayedError.new.perform (http://localhost:62336/dart_sdk.js:34724:27)
at _StreamImplEvents.new.handleNext (http://localhost:62336/dart_sdk.js:34806:15)
at async._AsyncCallbackEntry.new.callback
(http://localhost:62336/dart_sdk.js:34558:16)
at Object._microtaskLoop (http://localhost:62336/dart_sdk.js:38071:13)
at _startMicrotaskLoop (http://localhost:62336/dart_sdk.js:38077:13)
at http://localhost:62336/dart_sdk.js:33574:9

``

@darshanputtaswamy
This seems to be an issue with Firebase which has separate repo for tracking. Consider opening this issue here : https://github.com/FirebaseExtended/flutterfire/issues
Closing from this repo.


PR for checkbox possible?

Checklist

[x] I have read the contributing guidelines.
[x] There are no similar request on existing issues (including closed ones).
[x] I have read the project progress and know the current progress of the project.
[x] I was in the master branch of the latest code.

Is your feature request related to a problem? Please describe

At the moment if I create an unordered list in my Markdown post with the github markdown syntax for checkboxes (- [ ]), the list item bullet is displayed and the checkbox is not rendered (square brackets are used instead). It's not very pleasing on the eye. :-)
Describe the solution you'd like

I would like to be able to write blog posts and be able to use the github markdown syntax for checkboxes (- [ ] or * [ ] for todo and - [x] or * [x] for done).
Describe alternatives you've considered

I would like to submit a pull request to implement this solution if this is OK with you. It consists in:

adding a checkbox add-on style in assets/css/_addon
modifying the post layout to replace <li>[ ] and li[x] items in the post-content div with the checkbox style defined in the previous file
modifying main.scss in assets/_addon to import the new checkbox add-on style

Additional context

If it's OK with you I can submit the PR.

Hi @alexandra-zaharia,
Thanks for reminding me of the checkbox style, but can you show a screenshot of the modified checkbox?

Of course, here are the screenshots.
Old style:

New style:

PS: oops, I said something false in the description -- my bad! I thought brackets are not rendered as checkboxes but in fact they are (I must have mis-typed when testing). I will edit the issue description now.

Looks great 👍!  Don't hesitate to submit a PR.


Port IRC transport to common message format

The IRC transport in vumi.workers.irc needs to be ported to the common message format and moved to vumi.transports.irc.

http://ircarchive.appspot.com now groks our common message format at https://github.com/smn/ircarchive/commit/230fa376a704f1d7bde268fc173262046289c7bb. Let me know when this lands so I can merge in that branch and redeploy to GAE. We'll probably be able to use our HTTPRelay app for this going forward.


Modifier -> SwiftUI -> Scroll views: scrollDismissesKeyboard(_:)

Doc: https://developer.apple.com/documentation/swiftui/view/scrolldismisseskeyboard(_:)

[ ] Swift implementation
[ ] Elixir implementation

Contribution needed


Refactor with TypeScript

Work In Progress

refactor "cf-worker" implementation from JavaScript to TypeScript
add Deno (Deno Deploy) support

Compare: https://github.com/LussacZheng/dandanplay-resource-service/compare/4ea0f214c7bcacaf7c4432107fb99eaac9a9baf1...0.0.5-alpha

Before
After


Load+save things other than filepaths, and specifically support netCDF4.Dataset-s

Replaces the iris-load changes part of #4835,
So, re-presented as a separate issue which should be much simpler.
TBD: reform + add the other parts of that logic, in subsequent PRs.
NOTE:
I think that, whilst we are targetting a feature-branch, it isn't generally appropriate to add whatsnew-s.
So, we can sort out how to announce+explain it all when we merge back the FB.
Deferring the changes also probably avoids a whole lot of trivial conflicts whenever we do merge main-to-FB or vice versa.

Closing in favour of #5214
Which now targets main, and required a lot of rebasing !
The F-B rather hid the amount of work that was required to integrate these changes, but I don't see the point in updating the F-B since plans have changed : we now intend to host the "bridge" code outside the Iris repo.
I will also remove the F-B branch.

Closing in favour of #5214
Which now targets main, and required a lot of rebasing !
The F-B rather hid the amount of work that was required to integrate these changes, but I don't see the point in updating the F-B since plans have changed : we now intend to host the "bridge" code outside the Iris repo.
I will also remove the F-B branch.


Adding // @flow affects type inference on project with all=true in config

Having two files fn-with-at-flow.js and fn-without-at-flow.js defined as follows I expect that types inferred for function expressions would be the same given the server started as flow server --all
// @flow
() => 42

() => 42

Nevertheless, in first case flow type-at-pos reports () => number, while the second type is inferred as () => any. Is it intended inconsistency?

Hey @irnc, how are you viewing the inferred type of the second file? I assume using an editor like VSCode or Vim with a flow integration? I just tried this with v0.53.1 in VSCode, and I get an inference of () => number regardless of the @flow comment.
I'm happy to try with a different editor or flow version if that's how I could reproduce it.

I am looking at inferred type using flow type-at-pos fn-without-at-flow.js 1 1.
Given the .flowconfig containing all=true option, I installed different flow-bin packages using npm i -g flow-bin@VERSION and run aforementioned type-at-pos command.
[options]
all=true

Last version of Flow reporting () => number is 0.46.0, starting from 0.47.0 Flow always reports () => any (the same with 0.53.1).
Looking into release notes for 0.47.0, I found maybe relevant note:

There are a bunch of flow commands that will quickly try to check a single file, like autocomplete, get-def, check-contents, etc. We're trying to clean up what happens when these commands are given a file with @flow, @noflow, or no pragma. v0.47.0 contains a change intended to avoid doing extra work for files with @noflow or no pragma at all. v0.48.0 should continue to address this.

https://github.com/facebook/flow/releases/tag/v0.47.0

This works now.


Set timestamp for interval date to now

cadvisor only stores new data points if the data has changed.

https://github.com/rancher/rancher/issues/4325


how to configure aws smtp server on bagisto

how to configure aws smtp server on bagisto?
I configured everything, .env but it doesn't work. port 25.
https://aws.amazon.com/pt/about-aws/whats-new/2011/12/13/amazon-simple-email-service-gets-simpler-with-smtp/
This repository is only for reporting bugs or issues. If you need support, please use:

Create support ticket on https://bagisto.uvdesk.com

Thanks!

my


ParameterizedType ClassCastException when using Mono<ResponseEntity>

Hi there! Thanks for the reactive implementation of Feign :)
I'm using the com.playtika.reactivefeign:feign-reactor-spring-cloud-starter:2.0.13 in my Spring Boot 2.2.7.RELEASE application and I'm facing the following issue on application startup when the signature (actually the return type) of the API I declare for reactive Feign is of the following type (stack-trace at the end):
final Mono<ResponseEntity<MyResponseDto>> resp = myReactiveFeignClient.someEndpoint(myRequestDto);

If I change "/some-endpoint" implementation to return just Mono<MyResponseDto> everything goes right.
I've tried with other generic classes like Mono<List<MyResponseDto>> or Mono<Optional<MyResponseDto>> and it works fine as well.
So the problem here seems related to ResponseEntity as Mono parameter.
It's more than probable that I'm missing something about how this process of serialization/deserialization goes inside Feign/reactive Feign, so I don't know if could be a bug or a lack of knowledge from my side (any advice will be very welcome).
I can't get the client application to start. I get the following error on client application startup (the one that declares the reactive Feign):
Caused by: java.lang.ClassCastException: class java.lang.Class cannot be cast to class java.lang.reflect.ParameterizedType (java.lang.Class and java.lang.reflect.ParameterizedType are in module java.base of loader 'bootstrap')
	at reactivefeign.utils.FeignUtils.returnPublisherType(FeignUtils.java:50)
	at reactivefeign.webclient.client.WebReactiveHttpClient.webClient(WebReactiveHttpClient.java:66)
	at reactivefeign.webclient.WebReactiveFeign$Builder.lambda$updateClientFactory$0(WebReactiveFeign.java:65)
	at reactivefeign.ReactiveFeign$Builder$1.create(ReactiveFeign.java:243)
	at reactivefeign.cloud.CloudReactiveFeign$Builder$1.create(CloudReactiveFeign.java:194)
	at reactivefeign.methodhandler.ReactiveMethodHandlerFactory.create(ReactiveMethodHandlerFactory.java:36)
	at reactivefeign.cloud.methodhandler.HystrixMethodHandlerFactory.create(HystrixMethodHandlerFactory.java:39)
	at reactivefeign.ReactiveFeign.targetToHandlersByName(ReactiveFeign.java:123)
	at reactivefeign.ReactiveFeign.newInstance(ReactiveFeign.java:76)
	at reactivefeign.ReactiveFeignBuilder.target(ReactiveFeignBuilder.java:114)
	at reactivefeign.ReactiveFeignBuilder.target(ReactiveFeignBuilder.java:94)
	at reactivefeign.spring.config.ReactiveFeignClientFactoryBean.getTarget(ReactiveFeignClientFactoryBean.java:95)
	at reactivefeign.spring.config.ReactiveFeignClientFactoryBean.getObject(ReactiveFeignClientFactoryBean.java:74)
	at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:171)
	... 34 common frames omitted

I'm not applying any configuration, just using the client by:

Add feign-reactor-spring-cloud-starter to my POM.
Add @EnableReactiveFeignClients on my main application class.
Define an interface for the client with the above method and annotating it with @ReactiveFeignClient(name = "some-name", url = "${client.url.my-service}").
Injecting the client in an application component.
Then, just start the application and the exception raises.

Hi. Check this issue https://github.com/Playtika/feign-reactive/issues/209


global:: prefix to C# Writer Namespaces

Enhances PR #47 to fix tests broken by that PR and to add test for the capability PR #47 enables

LGTM


[BUG]

Error Log
[LOGIN] Logging-in...
[LOGIN] Writing email...
[LOGIN] Writing password...
[LOGIN] Passing security checks...
[LOGIN] Logged-in !
[LOGIN] Ensuring login on Bing...
[LOGIN] Logged-in successfully !
[POINTS] You have 170 points on your account !
[DAILY SET] Trying to complete the Daily Set...
[DAILY SET] Completed the Daily Set successfully !
[PUNCH CARDS] Trying to complete the Punch Cards...
[PUNCH CARDS] Completed the Punch Cards successfully !
[MORE PROMO] Trying to complete More Promotions...
[MORE PROMO] Completed More Promotions successfully !
Traceback (most recent call last):
File "ms_rewards_farmer.py", line 751, in
remainingSearches, remainingSearchesM = getRemainingSearches(browser)
File "ms_rewards_farmer.py", line 690, in getRemainingSearches
progressDesktop = counters['pcSearch'][0]['pointProgress'] + counters['pcSearch'][1]['pointProgress']
KeyError: 'pcSearch'
Source code of dashboard
https://gist.github.com/darkspecs/5b8c064bad6991f9830a14117365e587

Was accessing from non-usa ip address. My apologies. Using USA ip fixed issue


Add log colours because they are pretty

Soo pwetty :eyes:
I assume colour is only written to in console and we don't get any ANSI colour escape characters in logfile, right? ^^

I assume colour is only written to in console and we don't get any ANSI colour escape characters in logfile, right? ^^

Not 100% sure that this is the correct log, but all of the ones i have around the time i made the pr and uploaded that image are the same, no ANSI colour escape chars in sight as far as i can tell

So turns out colour printing doesn't seem to work on Windows 8.1 xD
It just prints in the usual white.
So I need someone on 10/11 to test to confirm this as working :,D

Also confirmed again, no ANSI colour codes or similar in text logs ^^

Reverted in v1.9.6 due to causing some issues with client freezes, mostly related to Viper. The exact cause is still unknown.


Kafka streams not reading from beginning of time

New Kafka streams instances do not read from the beginning of the logged event topic.

Turns out the python script used to transfer logged events had some formatting issues.


enhancing for loops even further

adding strings to for loops
fixing range + step_by because it doesn't support function calls / expressions it only supports number literals and identifiers.

closed, did range and step_by, not adding strings for now.


Scrolling with arrow keys not working

This is true also for the live preview. When opening the page (any page of the dashboard) in Firefox ESR 52.2.1 64bit, scrolling has to be done using a mouse; arrow keys are not working.
Have not tried other browsers as changing browsers is not viable for me.
There are several event.preventDefault() calls in assets/js/jquery-1.10.2.js and assets/js/bootstrap.min.js which apparently can be used to do this. I am, however, not a JS or web developeri just found this stackoverflow thread. Why the method described there would be relevant here I don't really see, but it's all I could find on this behaviour in a couple of minutes of Google search, before I decided to look at your live example and noticed it has the same bug.

@alexandru-paduraru thanks for the reply. I'm probably not going to be fiddling with the code any longer as I'm using Light Bootstrap Dashboard for a uni project I'm close to finishing, but I do really like your stuff and will certainly use again/recommend.
Just a quick note: The arrow keys do work in the Paper Dashboard, but only after focusing the content frame with the mouse.


[VS Code] Starting collaboration session: Could not connect to the server. Check that you are connected to the internet.

Error:
Starting collaboration session: Could not connect to the server. Check that you are connected to the internet.

Version Data

extensionName
VSLS

extensionVersion
0.4.0-dev

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.32.1

platformName
Linux

platformVersion
4.19.0-kali3-amd64

Hi , thanks for reporting the issue. We are tracking this in #1317 . If you are behind the proxy , please try the workaround in #1317 and let us know if it unblocked you. I am closing this as duplicate.


Why does the head node has so much resources attachted to it, doesnt it simply load balance?

Hi @yalcintur.
After multiple experiments, we saw that Ray assigns much processing work (including GPU processing) to the head node on top of coordinating the worker nodes. This is why we give them as many resources as the rest of the nodes in a cluster. About the load balancing work, it'd be good for us to get more info about the behavior you see, specifically, the details to try to reproduce the issue. These are the scripts and .yaml files you are using to set up RayServe.
Thanks


Resolve the card images present here✨

On hover function bug to be removed

@anushbhatia @smaranjitghose I would Like to work on this.


Google Play Android issues: how to resolve "android:authorities" conflict?

[x] I have read the Getting Started section
[x] I have already searched for the same problem

Environment

Technology
Version

[✓] Flutter (Channel stable, 3.19.0, on macOS 14.2.1 23C71 darwin-x64, locale en-US)

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)

[✓] Android Studio (version 2024.1)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.5)

[✓] VS Code (version 1.87.2)

[✓] Connected device (1 available)

[✓] Network resources

Device information:
Description
when we upgraded to 6.x.x and configured like follow, release to Google play, we received android:authorities has already used by other app  :

Expected behavior:
We don‘t want to change our applicationId and hope inappwebview work well too, any advices?
Current behavior:
We try add some invalid char to resolve this like  android:authorities="${applicationId}.flutter_inappwebview_android.fileprovider123", but camera didn't work well when video worked well.
Steps to reproduce
Uploading apk by using the google play existed applicationId to config android:authorities="${applicationId}.flutter_inappwebview_android.fileprovider"

i saw your guys hardcode this ， shall we release a open api for us to custom this “android:authorities”：


fix mask icon issue on chrome

Hello, congratulations on the project.
I created a port of it to run on nodejs, because in the current environment where I have unocss and daisyui we don't use deno. And while using it, I noticed some problems and decided to contribute with this PR.
In chrome, icon masks do not work correctly, as in the screenshot below. In Firefox and Safari the problem does not occur.

To resolve it, it was enough to include the autoprefixer plugin in postcss:

// add postcss autoprefixer plugin
import nested from 'postcss-nested'
import autoprefixer from 'autoprefixer'
import stripIndent from 'strip-indent'
import themes from 'daisyui/src/colors/themes'
import functions from 'daisyui/src/colors/functions'
import {replacePrefix, replaceSlash, writeIndex} from './utils.ts'

const processor = postcss([nested, autoprefixer])

Another thing I noticed was that the root index.css was incremented on every run, so I'm removing it at the beginning of the script:
/* Root index */
if (existsSync('./index.css')) {
	Deno.removeSync('./index.css')
}

Hey @kidonng,
Another equivalent way to fix the problem with icon masks is to compile daisyui and point as root "daisyui/dist" instead of "daisyui/src".
Like @philippedasilva-orizone made in this commit:
https://github.com/kidonng/daisyui/commit/a69a0eed92c8638fec1d52c260ee16780b9b4a0e
Compiling Daisyui will take longer so I need to compare if there is a difference between the two versions of CSS, using the autoprefixer and the native version of Daisyui.

I created a port of it to run on nodejs, because in the current environment where I have unocss and daisyui we don't use deno.

Oops, I didn't expect people to further customize the setup 😅 The port should have been straightforward, but I still feel sorry for my niche (?) preference to have wasted other people's time.
Back to the issue. This looks like my oversight, but before adding autoprefixer, I need to ensure if the extra bytes are worth it for everyone.

Another thing I noticed was that the root index.css was incremented on every run, so I'm removing it at the beginning of the script:

Hmm, that should not happen because the code is specifically checking that (dir !== dirs[0]):
https://github.com/kidonng/daisyui/blob/3c8500085c1b8fcfc2c50806a5d697e72809a906/build.ts#L19-L23

Hey @kidonng,
Congratulations on the project 👏
About Node js it's just a preference of mine (I don't know the Deno well yet).
As for the autoprefixer, incorporated as a fix in a fork of your project, and it's been working fine for quite some time.

Yup, the size changes are trivial (and most visible in mask icons as the inlined SVGs just doubled 😆 glad that number isn't exploding thanks to https://github.com/saadeghi/daisyui/pull/1098)
More importantly, it isn't straightforward to use Autoprefixer (which requires PostCSS) alongside UnoCSS. So might as well do it here.


Record Video

How can i record video square like instagram using cwac-cam or cwac-cam2?
Recording screen

Recorded Video

I do not know what "cwac-cam" is. The CWAC-Camera project is discontinued. Square video recording is not supported by CWAC-Cam2.


this[property] gets recognized as class member in ESDoc.

I sometimes manipulate properties of my class via this[property] = value. This however generates a public member 'property' in my ESDoc generated document:
class Foo {
  /**
   * Creates a new instance of Foo
   *
   * @constructor
   */
  constructor() {
    /** @type {string} */
    this.foo = 'bar';
  }

  /**
   * Set the given property in the class.
   *
   * @param {string} property property to set
   * @param {*} value new value
   */
  manipulate(property, value) {
    this[property] = value;
  }
}

@Rukenshia Thanks for this issue!
This is ESDoc bug. Please wait a little for fixing it.

I published ESDoc v0.2.4. Please try to use it :smile:

Works fine now.


<EMAIL_ADDRESS>build: vite build error

Hi any idea, what's the solution of this error? Thanks!
npm run build:

log error:
00_debug-node.log

Moving this to closed as I can not reproduce. I have spent some time recently on this project again and I believe this is fixed. If you'd like retry to build the project and open a new issue if anything arises.


Pin pydriller to older version

ublame needs updates to work with newer versions

Thanks for bringing this to my attention.
Fixed by 0f9ad38ae7

Sure thing!


Belatedly address several review comments of my earlier PRs

Summary
We merged PRs to avoid blocking other work while the PRs still had some comments pending. This PR addresses them.

Use named return values in parseArtifactName
Add unit tests for artifact property handling
Move WithSkipPrefixCheckTestOnly to tests

Change Type

[ ] Bug fix (resolves an issue without affecting existing features)
[ ] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[x] Refactoring or test improvements (no bug fixes or new functionality)

Testing
make test
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 53.133% (+0.3%) from 52.863%
when pulling 7343460f42a042eb23b1714a27a3e0670e7c1c5b on jhrozek:review_comments
into b49655540b16020faba699926343e8f683acb733 on stacklok:main.


Fix challenge details page blank screen

#24 fixed.

Adds a rocket animation (lottie) when the challenge details are being fetched.
Creates a common, reusable, pure functional component to render Lottie files in the app.
Creates a utility function to generate lottie options on the fly.

@rishipurwar1 I have raised the PR.

@rishipurwar1 I have raised the PR.

You did a really great job!
Can you please tell me why there are so many commits in package-lock.json file? Does it cause an issue to the project?
and I have no idea about tests. Can you please tell me how should I implement tests for this website?

@rishipurwar1 I have raised the PR.

You did a really great job!
Can you please tell me why there are so many commits in package-lock.json file? Does it cause an issue to the project?
and I have no idea about tests. Can you please tell me how should I implement tests for this website?

The commits in package-lock.json are done by npm while installing the libraries. The package manager itself detects outdated dependencies (and a lot of other factors) and updates the deps needed by the deps of the project. You can ignore it by adding to .gitignore file. The package.json file is the most important one.
For adding tests - you need to start learning JEST and React testing library. Static tests are extremely easy and you can get started right away. I have a TDD habit for front-end apps, so I went ahead and had jest setup.

Hello @wsameer
When I tried to build the project again after merging your pr, it was showing a build failed message on vercel.
Can you please make a pr on development branch?

Hello @wsameer
When I tried to build the project again after merging your pr, it was showing a build failed message on vercel.
Can you please make a pr on development branch?
an error was on .eslintrc.json file.

sure, I can try that. I did fix one conflict in .eslintrc.json file. Gimme 5 mins.

take your time


concat operation for the Cell in model_search.py

Hi, Thanks for your great work! I am a little confused by the line 58 in your model_search.py file, which writes as following:
return torch.cat(states[-self._multiplier:], dim=1)
Following the paper, the hidden states for concat operation should be the last self._steps states, so I think it should write as following:
return torch.cat(states[-self._steps:], dim=1)
However, I am not sure whether my understanding is right. Looking forward for your response.

I have figured it out. It is right for the implementation of the code.

Hi, I also found this question and haven't figured out. Could you please kindly explain why it's multiplier rather than steps?

I think multiplier should be the same as steps. As #13 said, If the input nodes have C channels, then there will be multiplierC channels in the output of the cell. During each step in the loop, we add one new s to the list states with C channel. And we concat all state in the list except s0, s1, and we get multiplierC channels in the output.
However, I am not sure whether my understanding is right :)

Yes. That’s what I thought. If so, It’s not necessary to introduce a new variable then, right? Anyway, we can just keep it as it is.

I don't think it's neccessary to create a new variable multiplier, for me it makes no sense. Since, by default s0 and s1 is the input/initial nodes in a cell (a Directed Acyclic Graph), why don't we just use the variable steps instead?


fix: ErrSlice cannot be used as an interface

Codecov Report

Merging #6 (d8a702f) into main (8a219c7) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main       #6   +/-   ##
=======================================
  Coverage   66.05%   66.05%
=======================================
  Files           4        4
  Lines         327      327
=======================================
  Hits          216      216
  Misses        106      106
  Partials        5        5

Flag
Coverage Δ

unittests
66.05% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

log.go
68.75% <100.00%> (ø)

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 8a219c7...d8a702f. Read the comment docs.


Fix pdf generation and make it prettier

the spacing on the generated document is unsatisfactory and extended clause content has to be supported.

Also: renderer currently doesn't support subclauses on op clauses. (needs two levels both with different stylings)

Reproduced the very few changes that this made that were actually helpful to a newer branch. Removing this now.


wpewebkit,webkitgtk: Bump up version to 2.36.4

Fix the new ATSPI accessibility implementation to add the missing
Collection interface for the loaded document.
Fix the MediaSession implementation to make the MPRIS object names more
sandbox friendly, which plays better with Flatpak and WebKit’s own
Bubblwrap-based sandboxing.
Fix leaked Web Processes in some particular situations.
Fix the build with media capture support enabled.
Fix cross-compilation when targeting 64-bit ARM.
Fix several crashes and rendering issues.

You may want to include this patch, which fixes LTO builds with GCC+Binutils.


Stopwatch using python

The working principle of a stopwatch involves tracking the elapsed time between the start and stop events. When the stopwatch is started, it records the current time as the start time. As time progresses, it continually updates the elapsed time by subtracting the start time from the current time. When the stopwatch is stopped, it captures the end time and calculates the total elapsed time by subtracting the start time from the end time. This elapsed time is then displayed or used for further calculations. In more advanced stopwatches, additional functionalities like pausing and resuming the timer may be included. Pausing allows the user to temporarily suspend the stopwatch without losing the elapsed time, while resuming restarts the timer from the paused state. When a stopwatch is implemented in Python, it typically involves using a library like time for timekeeping and a graphical user interface (GUI) library like Tkinter to create a user-friendly interface with buttons and displays. The buttons are associated with corresponding functions that control the stopwatch's behavior, such as starting, stopping, resetting, pausing, and resuming. The elapsed time is continuously updated and displayed on the interface, providing real-time feedback to the user.
Title and Issue number

Close #<403>
Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas

The working principle of a stopwatch involves tracking the elapsed time between the start and stop events. When the stopwatch is started, it records the current time as the start time. As time progresses, it continually updates the elapsed time by subtracting the start time from the current time. When the stopwatch is stopped, it captures the end time and calculates the total elapsed time by subtracting the start time from the end time. This elapsed time is then displayed or used for further calculations. In more advanced stopwatches, additional functionalities like pausing and resuming the timer may be included. Pausing allows the user to temporarily suspend the stopwatch without losing the elapsed time, while resuming restarts the timer from the paused state. When a stopwatch is implemented in Python, it typically involves using a library like time for timekeeping and a graphical user interface (GUI) library like Tkinter to create a user-friendly interface with buttons and displays. The buttons are associated with corresponding functions that control the stopwatch's behavior, such as starting, stopping, resetting, pausing, and resuming. The elapsed time is continuously updated and displayed on the interface, providing real-time feedback to the user.
Title and Issue number

Close #<403>
Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas

@pranjay-poddar


fixes cookbook loading so that it works with newer chef client

Fixes https://github.com/chef/knife-tidy/issues/109
We'll load cookbooks individually now, by version. This eliminates the issue where multiple cookbooks were being merged during load.
Tested with an older and newest chefdk:
Chef Development Kit Version: 3.13.1
chef-client version: 14.14.29
delivery version: master (4b21ec7e07fdfa82e86aa80e4f2372dde8e368bb)
berks version: 7.0.8
kitchen version: 1.25.0
inspec version: 3.9.3

ChefDK version: 4.7.113
Chef Infra Client version: 15.8.23
Chef InSpec version: 4.18.85
Test Kitchen version: 2.3.4
Foodcritic version: 16.2.0
Cookstyle version: 5.21.9

Signed-off-by: Jeremy J. Miller<EMAIL_ADDRESS>

That's almost exactly what I do in my local copy.  Thank you


gradlew Build Failed

FAILURE: Build failed with an exception.

Where:
Build file 'C:\godot\platform\android\java\build.gradle' line: 5

What went wrong:
Could not compile build file 'C:\godot\platform\android\java\build.gradle'.

startup failed:
build file 'C:\godot\platform\android\java\build.gradle': 5: unexpected char: '' @ line 5, column 10.
dirs 'C:\godot\modules\GodotAds/libs','C:\Users\Khaleef\Desktop\Godot_v3.0.6-stable_win64.exe\godot\modules\GodotAds/res'
^

1 error

It progressed but now i'm stuck here.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'java'.
> Could not resolve all dependencies for configuration ':_debugApkCopy'.
   > Could not find :unity-ads:.
     Required by:
         project :

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 3m 47s```

Have you downloaded  and placed in ${GODOT_ROOT}/modules/GodotAds/libs/

It works . But can tell me the version of "com.google.android.gms"  as i have to set same version for other modules as well because it fails when i try to build after adding google play game service , ads modules.

Hmmm, it seems I'm still using the older versions of com.google.android.gms, should bump that to latest.

I'll make a push later today. It shouldn't create any probs though.
we just need to change the gms version for Vungle which is com.google.android.gms:play-services-location:15.0.1
the other com.google.android.gms:play-services-ads:15.0.1 is the latest so this is fine


[NETBEANS-1074] Modules glassfish.javaee and glassfish.tooling

Includes modifications to files in both glassfish.javaee and glassfish.tooling modules for assigning the appropriate Apache license header.

Sorry, but please close this, then create a branch and a PR per module because it will be hard to review and merge if they need changes. Thanks.
BTW, [NETBEANS - 54] is wrong.


[Feature Request] Ken burns / zoom slide effect when showing

Please add the ability to make the slides zoom while displaying
Example I found on codepen: https://codepen.io/ibanez182/pen/LZPgrY
Also for ADA/WCAG, please allow a pause button option
Otherwise this slider is the best modern slider! Thank you

Thank you for giving Swiffy Slider a spin and for you nice review!
Animation
I have created a new animation called .slider-nav-animation-zoomout that will give you something very close to the example you provided.
See it in action on the configuration page
It is a bit different because slides cannot blend into each other since Swiffy Slider is a vertical scrolling div. But the effect is pretty close I think.
You can play around with some of the settings to adjust according to your needs:

The attribute: data-slider-nav-autoplay-interval="6000"
The style variables: style="--swiffy-slider-animation-duration:8s; --swiffy-slider-animation-timing:linear;"

You can see that in the markup section on the configuration link above.
Pausing the player
Pausing the autoplayer is already possible if you start it your self - I have created and example of that on the examples page.
See example on the first slider and buttons below it
The code is also below - it does 2 things.

Manually starting and stopping the autoplayer using buttons
Automatically stopping and starting the autoplayer when the slider is hovered or touched on mobile
Automatically stopping and starting the autoplayer when the browser tab looses or gains focus

You can of course change this to fit your exact needs - this is just an example to show you the possibilities.
<button onclick="startAutoPlayer()" class="btn btn-success">Start auto play</button> <button onclick="pauseAutoPlayer()" class="btn btn-outline-success">Pause auto play</button>
<button onclick="startAutoPlayer()" class="btn btn-success">Start auto play</button> <button onclick="pauseAutoPlayer()" class="btn btn-outline-success">Pause auto play</button>
<script>
    //Variable for keeping the timer instance that runs the autoplayer
    var autoPlayer;

    //Start playing with the specified interval
    function startAutoPlayer() {
        var timeout = 2500; //ms
        var autopause = false;
        //A .swiffy-slider instance with the id 'swiffy-animation'
        var sliderElement = document.getElementById("swiffy-animation");

        autoPlayer = swiffyslider.autoPlay(sliderElement, timeout, autopause);
        console.log("Player started");

        //Stop the player when mouse is hovered or touch is starting
        ["mouseover", "touchstart"].forEach(function(event) {
            sliderElement.addEventListener(event, function() {
                window.clearTimeout(autoPlayer);
            }, {
                once: true,
                passive: true
            });
        });

        //Re-start the player when mouse is leaving the slider or touch stops
        ["mouseout", "touchend"].forEach(function(event) {
            sliderElement.addEventListener(event, function() {
                startAutoPlayer();
            }, {
                once: true,
                passive: true
            });
        });
    }

    //Stop the autoplaying - by clearing the autoPlayer timer
    function pauseAutoPlayer() {
        window.clearTimeout(autoPlayer);
        console.log("Player stopped");
    }

    //Use the visibility API to stop the player when users switches to other tab or window and start it again when coming back to the window
    document.addEventListener('visibilitychange', function() {
        if (document.visibilityState == "hidden") {
            console.log("Browser tab is hidden - stopping autoplayer");
            pauseAutoPlayer();
        } else {
            console.log("Browser tab is shown again - starting autoplayer");
            startAutoPlayer();
        }
    });
</script>

The new animation needs to be released in 1.5.0 before you can use it - let me know what you like before I bump the version.
The pausing of the autoplayer, you can do already.

One note related to ADA/WCAG - the animation already does not run if the browser is requesting prefers-reduced-motion

Wow, thank you so much for the wonderful support on this!  That is exactly what I was looking for, and it seems perfect how you set it up.   I will be using this slider for all my projects going forward with the exception of those who want fadein (see below question).
I just realized something, and maybe you can verify this but is it not possible to have slides "fade in" inside of slide in? I thought the animation fadein did it but it just slides in, then fades in.   Most sliders offer just to fade in, without sliding in.  I am thinking this is because of what you mentioned "vertical scrolling div", that it can't do this?  Fading in is often requested by clients as the sliding part is to big of a distraction.
Thank you for the pausing tips. Normally we have it autoplay, and just provide an option to pause.  With the prefers-reduced-motion, that may be enough if I tell the client but not sure.


How to collapse the Navbar collapsible after click?

I'm working on a site I've build with Gatsby.js, and reactstrap for the ui components. But I have an problem with the collapsed navbar on smaller screens
The Collapse shows a nice responsive menu, phones get the hamburger button to expand it to a vertical menu list. But after clicking an item in that list, it does not collapse back to a hamburger button. This is required in Gatsby as clicking on the link does not trigger a page reload.
I tried to put an onClick Event Handler to the links with an call to a method which collapses the navbar but this does not work.
Here is my code for the component:
import React from "react";
import Link from "gatsby-link";
import {
Collapse,
Container,
Navbar,
NavbarToggler,
Nav,
NavItem
} from "reactstrap";

export default class Navigation extends React.Component {
constructor(props) {
    super(props);

    this.toggleNavbar = this.toggleNavbar.bind(this);
    this.closeNavbar = this.closeNavbar.bind(this);
    this.state = {
    collapsed: true
    };
}

toggleNavbar() {
    this.setState({
    collapsed: !this.state.collapsed
    });
}

closeNavbar() {
    if (this.state.collapsed == true) {
    this.toggleNavbar();
    }
}

render() {
    return (
    <header>
        <Navbar className="navigation__navbar" light expand="md">
        <Container>
            <NavbarToggler onClick={this.toggleNavbar} className="mr-2" />
            <Collapse isOpen={!this.state.collapsed} navbar>
            <Nav className="mr-auto" navbar>
                <NavItem>
                <Link className="nav-link navigation__navlinks" to="/">
                    Home
                </Link>
                </NavItem>
                <NavItem>
                <Link
                    onClick={this.closeNavbar}
                    className="nav-link navigation__navlinks"
                    to="/leistungen/"
                >
                    Leistungen
                </Link>
                </NavItem>
                <NavItem>
                <Link
                    onClick={this.closeNavbar}
                    className="nav-link navigation__navlinks"
                    to="/kuechen/"
                >
                    Küchen
                </Link>
                </NavItem>
            </Nav>
            </Collapse>
        </Container>
        </Navbar>
    </header>
    );
}
}

How to do this?

I think you have an error in your closeNavbar  logic. You currently only toggle when it is already collapsed. You probably want this.state.collapsed !== true


bug(cmd): add more advanced handling of app urls

Previously, we took a very naive approach to determining the app url. We did appID**deis**.cluster.com
This approach has a problem however, because you can assign subdomains to an app that mask another app:
$ deis domains:add a -a t
$ deis apps:create a --no-remote
$ deis apps:open -a a # opens a.cluster.com, which actually points to t

Now, apps:open and apps:info use the app's first domain, usually the one that is assigned by default. If the app doesn't have any domains, like a in the example does, it'll print that the app doesn't have any domains.
This also allows me to remove api.Apps.URL from the SDK laster, removing the naive behavior in a way that doesn't break anything.

I'm not sure I like this change. This makes it so -a accepts a domain as well as app IDs rather than strictly app IDs. That makes it inconsistent and could cause confusion among the other commands that only accept app IDs. Why don't we just do a check that app a exists and return a 404 if it doesn't exist instead?

@bacongobbler This doesn't affect the behavior of -a at all... this behavior is for looking up the URL for an app when using app:open and app:info. There were a few edge cases where what the previously the assumed app url could actually point to another app. Now, apps:open and apps:info look up the app domain from the controller rather than try to guess it.

Ah sorry, now that I've read it more thoroughly I see what you're trying to do. :+1:

@bacongobbler Fixed the issues you brought up!

moving out of the 2.2 milestone

@arschles I refactored the code to instead check for a empty string rather than an error, removing the need to a package level error.


Docker push ghcr workflow works twice

Description
These runs have the same tag - f316920
https://github.com/networkservicemesh/cmd-forwarder-vpp/actions/runs/5332639101/jobs/9662080619
https://github.com/networkservicemesh/cmd-forwarder-vpp/actions/runs/5332638380/jobs/9662079089
It looks like we don't need workflow_run: section
https://github.com/networkservicemesh/cmd-template/blob/main/.github/workflows/docker-push-ghcr.yml#L7-L11

Seems like done


go.work in root

add a go.work to make vscode  / delve happy when working with the sub projects.

I actually have a go.work that I used but the advice I saw was to not check it into git, not quite sure why that is since this seems helpful enough. This thread has some opinions: https://github.com/golang/go/issues/53502
I checked it in for now because I don't see a reason to not, thanks for suggesting

I think it will break CI if I check it in because one of the workflows runs htmgo template to ensure it still works. I'll paste my go.work file here if you want to use it locally for now:
go 1.23.0

use (
	cli/htmgo
	examples/todo-list
	framework
	framework-ui
	htmgo-site
	templates/starter
	examples/chat
	examples/hackernews
	tools/html-to-htmgo
	examples/simple-auth
)

There also doesn't seem to be consensus on if go.mod should be checked: https://github.com/golang/go/issues/53502


change to using functional interfaces for clientbound packet handling

This PR aims to switch the current ClientboundPacketHandler system to using type-safe functional interfaces instead, which are specified for each packet type individually.
Motivations

the current system means there is a large amount of boilerplate needed if you wish to add an event handler. by utilising functional interfaces, this can be done in one line, such as registerHandler(ClientboundPartyInfoPacket.class, packet -> partyCallback(packet))
the current system means that for every new packet made, more code has to be added to the ClientboundPacketHandler interface, which could become bothersome in the future. Each packet class also had more boilerplate which has been removed as a result.
Prevents the handle method from running when it does not need to (for example, invoking a handler which does not have any implementation for onClientHelloPacket) which aids performance (minorly)
(At least in my use-case), I do not use every packet available in one handler, so I can avoid writing excess implementation details.

I am, as always, open to feedback on this change. I think it is overall very good in terms of the future extensibility and cleanliness of using the API.

Thanks! I agree, this does improve the overall usage of the API and will make it nicer to work with especially in the future when more packets are added.


Fractional numbers unusable

Only integers can be used in the MFM plugin.
When i try to substitute a fractional number for example such as 1.5 only $ 1 falls. If you try to substitute the number less than one currency stops falling out at all. And the problem is not with commas or periods.
Server parameters:
Game version: 1.16.5.
Server core: PaperSpigot.
Server core and game version: paper version of git-Paper-788 (MC: 1.16.5) (implementation of API version 1.16.5-R0.1-SNAPSHOT).

Hey, you need to set the RandomIntegerOnly option in the config to false. Should be near line 37:
# If the random number between the set Min and Max for a mob should be a random whole number or a random number to 2 decimal places.
RandomIntegerOnly: false


Create privatelink-with-network-firewall.yaml

Modified the rosa-privatelink cloudformation template to include network firewall.

Some paths with / are not accepted such as cloud.redhat.com/api/ingress
Few domains need port 22 and port 9997 , those have not been implemented (not sure how)

(filter by path), you have to allow the hostname (cloud.redhat.com): you cannot filter by path because it's 443 (TLS) so the firewall cannot inspect the URL.

For port 9997, it seems that the URLs (inputs1.osdsecuritylogs.splunkcloud.com for example) use TLS (but not HTTPS):

$ openssl s_client -connect inputs1.osdsecuritylogs.splunkcloud.com:9997
CONNECTED(00000003)
depth=2 CN = Root CA
verify error:num=19:self-signed certificate in certificate chain
verify return:1
depth=2 CN = Root CA
verify return:1
depth=1 CN = Intermediate CA
verify return:1
depth=0 CN = *.osdsecuritylogs.splunkcloud.com
verify return:1
804B7223507F0000:error:0A000410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:ssl/record/rec_layer_s3.c:1605:SSL alert number 40
---
Certificate chain
 0 s:CN = *.osdsecuritylogs.splunkcloud.com
   i:CN = Intermediate CA
   a:PKEY: rsaEncryption, 2048 (bit); sigalg: RSA-SHA256
   v:NotBefore: Oct  3 01:11:44 2022 GMT; NotAfter: Oct  2 01:12:14 2027 GMT
 1 s:CN = Intermediate CA
   i:CN = Root CA
   a:PKEY: rsaEncryption, 2048 (bit); sigalg: RSA-SHA256
   v:NotBefore: Oct  3 22:50:18 2019 GMT; NotAfter: Sep 30 22:50:48 2029 GMT
 2 s:CN = Root CA
   i:CN = Root CA
   a:PKEY: rsaEncryption, 4096 (bit); sigalg: RSA-SHA256
   v:NotBefore: Oct  3 04:58:37 2019 GMT; NotAfter: Sep 30 04:59:01 2029 GMT
---
...

You have to use suricata rules (called signatures) in a AWS::NetworkFirewall::RuleGroup > Properties > RuleGroup > RulesSource > RulesString.
Suricata doc: https://docs.suricata.io/en/latest/rules/index.html
For that case, use the tls.cert_subject filter. Something such as:
pass tls $HOME_NET any -> $EXTERNAL_NET 9997 (tls.cert_subject; dotprefix; content:".osdsecuritylogs.splunkcloud.com"; endswith; msg:"Pass TLS to .osdsecuritylogs.splunkcloud.com"; sid:1004;  rev:1;)

Example on adding such a rule in CloudFormation: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-rulegroup.html#aws-resource-networkfirewall-rulegroup--examples
For port 22, get the IP address of sftp.access.redhat.com and filter (suricata rule or stateless rule) by IP.

You also need to connect the firewall. I think you need to add another private subnet that hosts the firewall (between rEgressVpcPrivateSubnet and rEgressVpcPublicSubnet), add a route table, and update the other route tables.
Example: https://medium.com/slalom-technology/secure-internet-access-egress-filtering-with-aws-network-firewall-ddf52ae121f9

You also need to connect the firewall. I think you need to add another private subnet that hosts the firewall (between rEgressVpcPrivateSubnet and rEgressVpcPublicSubnet), add a route table, and update the other route tables. Example: https://medium.com/slalom-technology/secure-internet-access-egress-filtering-with-aws-network-firewall-ddf52ae121f9

Yes, for this one I found this guide: https://docs.aws.amazon.com/whitepapers/latest/building-scalable-secure-multi-vpc-network-infrastructure/using-nat-gateway-with-firewall.html
While, this perfectly fits our requirement, I'm still trying to figure out the routing table updates needed. Mainly confusion is on Transit gateway to egress vpc route and the blackhole route. I think we should discuss some more on this before we proceed

I've created a diagram with the current (non-working) template and one possible solution:
https://drive.google.com/file/d/18HfyFNGH3IU43SC4I6J4tltdjUBakz8R/view
We can use it to discuss and comment.
You're right, it's tricky if we go with blackhole routes (but that increases security between connected VPCs). Let's research on that.


Default Node has custom $PATH

Description
The default version of Node on the latest macOS 11 image (20211127.1) has a different $PATH than the enclosing environment.  Notably it puts Python 3.10 on path which leads to hard to debug failures for code which calls out Python from Node.
Virtual environments affected

[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] macOS 10.15
[X] macOS 11
[ ] Windows Server 2016
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
20211127.1
Is it regression?
Yes, from 20211120.1
Expected behavior
That the $PATH in Node would not differ.
Actual behavior
The $PATH does differ.
Repro steps
Create a new workflow with the following steps and run it:
[...]
      - run: |
          echo '
            const child_process = require("child_process");
            const output = child_process.execFileSync("python3", ["-V"], { encoding: "utf8" });
            console.log(process.env.PATH);
            console.log(output);
          ' | node -
      - run: |
          echo $PATH
          python3 -V

The output for Node is:
/usr/local/opt/python@3.10/bin:/usr/local/Cellar/node@16/16.13.0/bin:/Users/runner/hostedtoolcache/Python/3.9.9/x64/bin:/Users/runner/hostedtoolcache/Python/3.9.9/x64:/usr/local/lib/ruby/gems/2.7.0/bin:/usr/local/opt/ruby@2.7/bin:/usr/local/opt/pipx_bin:/Users/runner/.cargo/bin:/usr/local/opt/curl/bin:/usr/local/bin:/usr/local/sbin:/Users/runner/bin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools:/Users/runner/Library/Android/sdk/ndk-bundle:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/bin:/bin:/usr/sbin:/sbin:/Users/runner/.dotnet/tools:/Users/runner/.ghcup/bin:/Users/runner/hostedtoolcache/stack/2.7.3/x64
Python 3.10.0

And for Bash:
/Users/runner/hostedtoolcache/Python/3.9.9/x64/bin:/Users/runner/hostedtoolcache/Python/3.9.9/x64:/usr/local/lib/ruby/gems/2.7.0/bin:/usr/local/opt/ruby@2.7/bin:/usr/local/opt/pipx_bin:/Users/runner/.cargo/bin:/usr/local/opt/curl/bin:/usr/local/bin:/usr/local/sbin:/Users/runner/bin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools:/Users/runner/Library/Android/sdk/ndk-bundle:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/bin:/bin:/usr/sbin:/sbin:/Users/runner/.dotnet/tools:/Users/runner/.ghcup/bin:/Users/runner/hostedtoolcache/stack/2.7.3/x64
Python 3.9.9

Hey, @layday
We will take a look at it.

Hello @layday. We've recently changed the default node version to 16.* and the brew formula has changed for as well. Could you please add following line before your steps to resolve the issue temporarily:
    - uses: actions/setup-node@v2
      with:
        node-version: '16.13.0'

Check example here and the output:

Thanks. Was a bug opened against Homebrew?

@layday brew formula for Node was using python 3.9, which also was the default version on our images - that's why this bug  hasn't appeared in the past. Recently, brew changed its formula and now it depends on python 3.10, but we still have python 3.9 as a default version on our images - and that's why you have started experiencing issues. I suggested you to use setup-node task since it doesn't use brew and there are no conflicts between python versions.

I understand what's happening and I have been using setup-node but I imagine this is gonna trip more people up.

I'm going to close this issue. Until we switch default python version to 3.10 please use setup-node action to avoid the issue. I'm going to close this thread. If you have any concerns feel free to contact us.

Changing the default Python is orthogonal to this issue.  Who's to say that I want to use 3.10?  Node should simply not override the Python from the environment.  The issue should be reported to Homebrew and kept open here until it's fixed.

@layday could you please file an issue with Homebrew

Hello @layday. Have you had a chance to file an issue with Homebrew?

Sigh. Aren’t you on GitHub’s payroll? Why do I need to file an issue in my free time for an issue affecting GH, which will most likely be closed without comment, because I do not use Homebrew?
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, December 28th, 2021 at 08:57, Dibir Magomedsaygitov @.***> wrote:

Hello @.***(https://github.com/layday). Have you had a chance to file an issue with Homebrew?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: @.***>

@layday I've filed an issue in Homebrew repository. You can check updates here.

Hello @layday. The issue with Node has been resolved and updated image is available for use. I'm going to close this issue. Feel free to contact us in case of any questions or concerns.

Thanks :)