Please add a top-level folder to your release archives

What version of V2Ray are you using?
4.40.1
What's your scenario of using V2Ray?
Just try it out
What problems have you encountered?
I extracted it in my Downloads folder, now all the extracted files are scattered in it(instead of a single folder)
What's your expectation?
I expect a top-level folder to exist in the release archive, which can be extracted cleanly without concerning about v2rays files scattering around other things
Please attach your configuration here

N/A
Client configuration:
N/A
Please attach error logs here
N/A
Server error log:
N/A
Client error log:
N/A
Please attach access log here
N/A
Other configurations (such as Nginx) and logs here
N/A
If V2Ray cannot start up, please attach output from --test command
N/A
If V2Ray service is abnormal, please attach journal log here
N/A

Is it really that difficult to specify a directory to extract to? Have you thought about the potential impacts of such a change? This would certainly break a lot of people's scripts.

Is it really that difficult to specify a directory to extract to?

It's relatively more difficult to clean up the mess after wrongly assumed that a top-level directory will be created.
Breaking scripts is unfortunately a price to take to fix this issue, though.

Why would you assume the existence of a top-level directory in the release archive? Besides, almost all extract tools can list content in a compressed archive. You can always check before extracting.

Why would you assume the existence of a top-level directory in the release archive?

Because most release archives do, in order to not making a mess in the extract destination.

You can always check before extracting.

can != will

Because most release archives do, in order to not making a mess in the extract destination.

I don't think so.


Disable bank transfer

User story
As a fiscal host admin, I want to be able to disconnect my bank account if we no longer want to accept bank transfer payments.
User request: https://opencollective.freshdesk.com/a/tickets/13118
Best solution for this problem
A disconnect button for bank transfer, similar to the one for Stripe, which disables the bank transfer option for the host and its Collectives.

Bump, users still request this

If no objections, I'll be working on this one. We'll add a button next to Edit bank details to remove the bank details (with text "Remove Bank Details"). Once the user clicks on it there will be a confirmation modal with "Are you sure you want to remove the bank details for this host?"
@znarf: Let me know if this sounds reasonable.

I've opened a PR for this one, I've put the button on the Edit bank details page initially but it didn't look quite good; maybe I was doing it wrong, but I couldn't find a good place to put this button there. Somehow to me it didn't quite feel right to put the delete button next to the save and cancel buttons of the edit form. 🤔
Also I was thinking when the user clicks on Edit bank details button they might be thinking to edit the bank account not to really delete the existing one. Thus for now I've put the button next to the Edit bank details button. However if you have any alternative suggestions let me know and I'll quickly change it.
cc: @znarf @opencollective/design

@SudharakaP thank you, that should do the job.


installation error.

I was trying to install this on a  Telstra Zte 125[Running Android 8], it said There was a problem while parsing the package, I've tried clearing cache's so I don't know what to do now.
Thanks for your time.

Hello!
There are several reasons for this message:

Your android device doesn't have the install apps from unknown source options allowed.
The APK file was either corrupted on download or renamed. Sometimes renaming the apk file may cause an error while passing.

Can you verify if some of those reasons was the cause of this error?
If you can, I would recommend you to install this app via USB using Android Studio.


Bug: Focus Button Does Not Work While Reading Document (Desktop App)

Description:
In the desktop app, the focus button (used to jump to a specific heading within a document) does not function as expected. Clicking it does not take the user to the designated heading.
Steps to Reproduce:
Open a document in reading mode on the desktop app.
Use the focus button to jump to a heading.
Expected Behavior:
Clicking the focus button should scroll the view to the specified heading within the document.

I just fixed this on desktop- the focus button has been disabled but the block is highlighted and scrolls when you click it
https://github.com/seed-hypermedia/seed/commit/4add0b5b16ff3ee5b3ed0b3a8c29e6bbe11075d3
@horacioh the one remaining problem is the scroll-to offset. If you have a newspaper header and you click on a short block from the outline, the block scrolls behind the header and can't be seen


Add corporate filing sentiment feature

Description
Corporate documents (e.g. MD&A, 10-Qs, etc) could be parsed for commentary sentiment analysis. Another thing to include would be for companies that have been delisted/are dead since content taking only for the currently available tickers introduces survivorship bias.
This is blocked by #35.

Specifics

[ ] evaluate LLM models for generating training data
[ ] build helper script for fetching/parsing filing data
[ ] build helper script to invoke LLM
[ ] add features method to generate training features
[ ] add storage method for generated training features
[ ] design/build sentiment model

[ ] include WandB integration

[ ] train/store model artifacts
[ ] add model artifacts to inference pipeline
[ ] write/publish WandB report

Hey, @forstmeier - here's a feature to review!

Closing in favor of moving to ad hoc Google Doc


Bug 2132270: util: make inode metrics optional in FilesystemNodeGetVolumeStats()

CephFS does not have a concept of "free inodes", inodes get allocated on-demand in the filesystem.
This confuses alerting managers that expect a (high) number of free inodes, and warnings get produced if the number of free inodes is not high enough. This causes alerts to always get reported for CephFS.
To prevent the false-positive alerts from happening, the NodeGetVolumeStats procedure for CephFS (and CephNFS) will not contain inodes in the reply anymore.
I hereby confirm that:

[x] this change is in the upstream project (https://github.com/ceph/ceph-csi/pull/3407)
[x] this change is in the devel branch of this project (#138)
[ ] branches for higher versions of the project have this change merged
[ ] this PR is not downstream-only, if that was the case, I would have
explained its need very clearly

/bugzilla refresh

now attached to the right bug.
/lgtm

/assign Madhu-1

/lgtm

/cherry-pick release-4.11


Update Amazing Snake Game Link in Readme

Checklist:

[] I have mentioned the issue number in my Pull Request.
[] I have commented my code, particularly in hard-to-understand areas
[] I have created a helpful and easy to understand README.md

Please update it as soon as possible.


PyKwiki's home page does not state what it is

Background: Neither the PyKwiki 2.x or 1.x sites' home pages state just what it is.
Requested enhancement: Add a brief description of PyKwiki.
As an aside, I think the current one-line description on the GitHub page could be improved. It currently states "PyKwiki is a static content generation engine for Python." My suggested version of this would be "PyKwiki is a easy-to-use static site generator especially suited for blogs."

Thanks for resolving this. Having a basic description now means visitors to the site know what PyKwiki is in an instant.

No problem. Thanks for the suggestion -- it should have been obvious to me.


Grunt serve: Warning: Cannot read property 'prototype' of undefined

This error kills all hope..
Running "browserSync:server" (browserSync) task
Warning: Cannot read property 'prototype' of undefined Used --force, continuing.
Running "watch" task
Waiting...
Then control-C

Had the same problem - I just manually installed the BrowserSync Grunt plugin.
Command:
$ npm install grunt-browser-sync --save-dev

I was having the same problem (on Windows 8.1 with Node 0.10.36) and @signorekai suggestion worked perfectly for me - thanks!

Cheers!
On Mon, May 4, 2015, 20:34 Robert Bird<EMAIL_ADDRESS>wrote:

I was having the same problem (on Windows 8.1 with Node 0.10.36) and
@signorekai https://github.com/signorekai suggestion worked perfectly
for me - thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/robwierzbowski/generator-jekyllrb/issues/145#issuecomment-98694553
.

Also had this issue (OS X 10.10.2 and Node 0.10.33) and once again @signorekai's suggestion worked perfectly.

Same here. I had to add the browser-sync dependency as @signorekai suggested to make it work.
I'm curious to know why this dependency wasn't added to the package.json of my project.
It's already there in the templates https://github.com/robwierzbowski/generator-jekyllrb/blob/master/app/templates/_package.json#L11

It is odd, but I have no clue as to why it didn't load. The generator did
not output any errors either.
On Mon, May 18, 2015, 02:37 Rod Wilhelmy<EMAIL_ADDRESS>wrote:

Same here. I had to add the browser-sync dependency as @signorekai
https://github.com/signorekai suggested to make it work.
I'm curious to know why this dependency wasn't added to the package.json
of my project.
It's already there in the templates
https://github.com/robwierzbowski/generator-jekyllrb/blob/master/app/templates/_package.json#L11
—
Reply to this email directly or view it on GitHub
https://github.com/robwierzbowski/generator-jekyllrb/issues/145#issuecomment-102833801
.

Same here. I had to add the browser-sync dependency as @signorekai suggested to make it work.

Thanks @signorekai !  Reinstalling BrowserSync did it for me.

thanks @signorekai its all working now

Thank you for the tip, got it working!

@signorekai's suggestion did solve it for me. Any other ideas? Using node 0.12.7 on OSX 10.11

Tried both @signorekai and @siwise suggestions, still getting
Warning: Cannot read property 'prototype' of undefined Use --force to continue.

Aborted due to warnings.

Any other suggestions for kick-starting this grunt over here?


improve Sing :: Symbol -> *

The singletons package has an implementation of Sing :: Symbol -> * which avoids the need for storying a Proxy (cf). We'd like to do that too.
The main sticking point is that the JmEq1 instance currently uses TL.sameSymbol which hard-codes needing a Proxy rather than being polymorphic over any type constructor (à la TL.symbolVal). TL.sameSymbol is implemented via TL.symbolVal and unsafeCoerce, so we can simply inline the definition if we don't mind maintaining the use of unsafeCoerce against future changes. The alternative is to send a patch upstream for liberalizing the type of TL.sameSymbol, and then waiting for new releases of GHC.
Thoughts?

I think we can both inline our improved definition, and should send a patch upstream.


docs: rulesets

We've switched from branch protection rules to rulesets, which are much more capable.  Update the docs to reflect this.

Still testing out rulesets.  This will only be recommended once satisfied.


Guidance on deploying and packaging legacy applications

I have been working through the steps to productionalize our .net 4.6 SaaS solution. I am trying to rationalize the notion that containers should be immutable with the fact that we have different configuration files for environments and tenants. I am wondering if this is a topic you would address under this documentation or if you are looking to us to handle this under community blogs.

It'd be neat if someone wrote a web-config util that could be invoked at container boot to run a web.config transform that replaces appsetttings and connectionstrings that have matching environment variables (passed in through Docker with -e).

http://stackoverflow.com/questions/2915329/advanced-tasks-using-web-config-transformation/3674169#3674169
https://blog.appharbor.com/2012/07/27/custom-web-config-transforms-and-merges

cc @glennc @alexellis

I am using this as a working example of what could be done..
https://gist.github.com/erichexter/587337b7d4001d47f85e1ef72c0a9548
I wrote a wrapper around the ms library that does config transforms a while
back.. https://www.nuget.org/packages/WebConfigTransformRunner/ you could
use that, pulling it down from a nuget feed.
Eric Hexter
blog | http://Hex.LosTechies.com
info | http://www.linkedin.com/in/erichexter
On Mon, Oct 3, 2016 at 11:30 PM, Michael Friis<EMAIL_ADDRESS>wrote:

It'd be neat if someone wrote a web-config util that could be invoked at
container boot to run a web.config transform that replaces appsetttings and
connectionstrings that have matching environment variables (passed in
through Docker with -e).

http://stackoverflow.com/questions/2915329/advanced-
tasks-using-web-config-transformation/3674169#3674169
http://stackoverflow.com/questions/2915329/advanced-tasks-using-web-config-transformation/3674169#3674169
https://blog.appharbor.com/2012/07/27/custom-web-config-
transforms-and-merges

cc @glennc https://github.com/glennc @alexellis
https://github.com/alexellis
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/Virtualization-Documentation/issues/401#issuecomment-251293311,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHABLTajz4ElXqief-Qtms3fn8lgQWeks5qwdZ4gaJpZM4KNMRC
.

I wrote a wrapper around the ms library that does config transforms

Haven't we all... :-)
An example showing how to build with Octopus would be cool. Another thing to look into is using the builder-pattern (with a container with msbuild) and copying that to a cleaner container for deployment: https://github.com/SteveLasker/BuildASPDotNetInAContainer/pull/1/files#diff-04c6e90faac2675aa89e2176d2eec7d8R8

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


A release is missing

Can you please add releases or at least tags? The problem is that at the moment the script is not versioned. So I accidentally used the script from yesterday and not the one from today, because there is no way to check what version it is.

Alright, I have relased 0.0.1 based on code from yesterday evening. Coming up in the next release will be addition of unit tests and implementation of a --version flag.

Alright, I have relased 0.0.1 based on code from yesterday evening. Coming up in the next release will be addition of unit tests and implementation of a --version flag.


Submission to Maven Central Repository

Hi There,
Your library is very useful and I think it should be accessible via Maven Central Repository. May be you can consider to submit it to the maven central repo.
http://central.sonatype.org/pages/ossrh-guide.html
Thanks.

Sorry to remember you. Do you "hosted" the library in Maven Central Repository?
Or you can host in jitpack.io.
I found your library interesting.

+1

+1

Would like to give it a try too, is it possible you include it on maven central?

Sorry to remember you. Do you "hosted" the library in Maven Central Repository?
Or you can host in jitpack.io.
I found your library interesting and I wanna test.
Thank you!

Hey @lukaz-sampaio and everyone else interested. You can just grab it from jitpack.io. See the docs
For gradle:
repositories {
        // ...
	maven { url 'https://jitpack.io' }
}
dependencies {
       // ...
       implementation 'com.github.tmattsson:gs1utils:master-SNAPSHOT'
       // implementation 'com.github.tmattsson:gs1utils:PR4-SNAPSHOT'
}

But a simple github release would be nice as jitpack.io would cache and improve build times.
@tmattsson seems a bit occupied? Can we support you?

Is there some progress on this?

Is there some progress on this?


fix parse SyncGroupReqV0 error

Codecov Report

Merging #51 (8b73667) into main (d95e490) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #51   +/-   ##
=======================================
  Coverage   94.85%   94.85%
=======================================
  Files          55       55
  Lines        3304     3306    +2
=======================================
+ Hits         3134     3136    +2
  Misses        125      125
  Partials       45       45

Impacted Files
Coverage Δ

codec/sync_group_req.go
100.00% <100.00%> (ø)

codec/sync_group_resp.go
94.73% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Using a custom exe for logging in refactored container create

Description
Hey, it's my first post here! 👋
Thank you for refactoring nerdctl #1680. I'm looking at the refactored Create method and I don't see a way to generate the logger URI with nerdctl exe or a custom binary. The method calls GenerateLogURI, which will use the exe of the calling function during runtime. However, an external program may still want to use the nerdctl exe for logging instead, or specify a custom binary location.
// GenerateLogURI generates a log URI for the current container store
func GenerateLogURI(dataStore string) (*url.URL, error) {
	selfExe, err := os.Executable()
	if err != nil {
		return nil, err
	}
	args := map[string]string{
		logging.MagicArgv1: dataStore,
	}

	return cio.LogURIGenerator("binary", selfExe, args)
}

Perhaps we could use the existing NerdctlCmd option that is used for oci-hooks, or define a new option such as LoggerExe in ContainerCreateOptions? Please let me know your thoughts. I'm happy to work on this myself and create a PR!
Steps to reproduce the issue
No response
Describe the results you received and expected
External programs calling the Create method should be able to use nerdctl exe or a custom binary for logging.
What version of nerdctl are you using?
v1.4.0
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
None
Host information
No response

cc @fahedouch

Hi @mharwani,
We started a WIP ticket to enhance a list of logging drivers .  We planned to handle the local driver as a separate binary, I started working on it some time ago but didn't have time to go further and of course PR is welcome :)


refactor(project): organize modules

Moved modules into separate directories
Module types and interfaces are now separate files

Task linked: CU-867876mh9 Organize modules


Aca 142

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/ACA-142
Change description
New ACA API: Get Case assigned users and roles
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[X] No

ALL SET AND READY!!


⚠ Samsung has degraded performance

In 23907c2, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2427 ms

Resolved: Samsung performance has improved in 4ac6844.


Download link for linux says "Version not found: latest"

While trying to download the linux version it says "Version not found: latest"
Download url : https://hyper-updates.now.sh/download/linux

It can be downloaded from: https://github.com/zeit/hyper/releases
The download link should be fixed shortly

dups #799

Thanks @c0b41 😅


⚠ Bofrost.fr has degraded performance

In 80d69e4, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1275 ms

Resolved: Bofrost.fr performance has improved in 70b1a67.


Control volume with 2 pushbuttons?

I really like the simplicity of this plugin, exactly what I was looking for, owning just an Arc and a Sub.
But there is one feature that in my opinion would be great to add.
There are two options to control the volume, a fan and a lightbulb.
The problem is that you can not use 2 physical pushbuttons because you can only set fixed values and not steps of x% up/down.
Would it be possible to add a third option having 2 pushbuttons to control the volume in small steps?
This gives for example the opportunity to control volume with 2 philips hue smart buttons. I want to stick 2 of these buttons to my coffee table to control volume if the tv remote control is gone AGAIN. :-)

Not sure if this is helpful but I added a fan to my homebridge and it only allows me to select preset speeds (33%, 66%, 100%). If that's what you're wondering

closed with the release of 0.3.0


add more background colors (custom color)

Is your feature request related to a problem? Please describe.
there are few colors
Describe the solution you'd like
make more colors or use pick color from brush or custom
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Do you want to work on the issue?

@anshulsoni4 I've assigned you the issue, Best of Luck!

Duplicate of #61


Roll Flutter Engine from 436f18b5a22e to 1400fd73b6bf (3 revisions)

https://github.com/flutter/engine/compare/436f18b5a22e...1400fd73b6bf
2022-05-27<EMAIL_ADDRESS>Roll Skia from 6e1e6f3825d0 to 162dfca3403b (1 revision) (flutter/engine#33658)
2022-05-27<EMAIL_ADDRESS>[Windows] Pass a function which returns ScopedClipboardInterface instead of ScopedClipboardInterface to PlatformHandlerWin32 (flutter/engine#33609)
2022-05-27<EMAIL_ADDRESS>Use factory in display list for mask filter (flutter/engine#33654)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

AutoRoller is stopped; closing the active roll.


Save query history with -noprompt

I have a wrapper command to call Grepper -noprompt -tool rg -jump -noopen -query <args>.
When using this the query (via <args>) is not being saved to the history.
I have not checked the source, but it looks like using -noprompt causes it to not be saved.
Maybe an extra option (-savequery) could be used if this is not desirable to have by default.

Thanks! ✨

Awesome, thanks!


Unsuccessful member-access enumeration can result in a call depth overflow

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
It happens with the types exposed by the ImportExcel module, such as OfficeOpenXml.ExcelWorksheet, which are ultimately from the EPPlus library.
Import-Module ImportExcel

# Create a sample workbook.
1 | Export-Excel sample.xlsx

# Get a reference to its first worksheet (type [OfficeOpenXml.ExcelWorksheet])
$ws = ($pkg = Open-ExcelPackage sample.xlsx).Workbook.Worksheets[1]

# Now try to access a non-existent property on the .Cells enumerable
$ws.Cells.NoSuchProperty

Close-ExcelPackage $pkg

Expected behavior
$null

Actual behavior
The following error occurs:
InvalidOperation: The script failed due to call depth overflow.

Note that if  you use an existing property, such as .Value, the problem doesn't occur.
Error details
No response
Environment data
PowerShell 7.4.0

Visuals
No response

PS> $ws.Cells['A1']
# return object

PS> $ws.Cells[1, 1]
#return object

PS> $ws.Cells.GetType().FullName
OfficeOpenXml.ExcelRange

PS> [appdomain]::CurrentDomain.GetAssemblies().Where{ $_.Name -eq 'EPPlus' }.Version.ToString()
<IP_ADDRESS>

Here are the source files related to this type :
https://github.com/JanKallman/EPPlus/blob/v4.5.3/EPPlus/ExcelRange.cs
https://github.com/JanKallman/EPPlus/blob/v4.5.3/EPPlus/ExcelRangeBase.cs

Thanks for the links, @fMichaleczek.
To be clear: as implied by the issue title, this is about unsuccessful member-access enumeration - while you could argue that no one should attempt that, it also shouldn't result in depth-call overflow.
(Also, later added a note to the initial post that successful member-access enumeration works fine, e.g. $ws.Cells.Value)

I understood but I think it's a bit related.
We need to extract minimal C# code to reproduce the bug out of the context of thousands of lines.
The C# code is very old, not maintained (owner license change).

Understood that it is old, but (a) the problem shouldn't occur, regardless of the age of the code involved and (b) in the case at hand it actually still occurs with direct use of the latest version of EPPlus (v7.0.x).

@fMichaleczek, but, to be clear: the specific links to the source code are appreciated.


LWM2M bootstrap with dtls fails when using HL7800 modem

Describe the bug
Using lwm2m with dtls and preshared keys fails when using the HL7800 modemdriver.
I am trying to use lwm2m with dtls and preshared keys with an HL7800 modem. The DTLS handshake does not succeed. This seems to be the case since commit: 7bef3fd8af831c7262b2a763d09d182d35a315c2
When I undo the change of that commit, the dtls handshake can succeed, but DNS does not work anymore (that commit fixes DNS problems), so I need to specify the IP-address of the lwm2m-bootstrap server instead of the dns-name.
To Reproduce
Steps to reproduce the behavior:

If needed, change the prj.conf of the lwm2m_client sample to use the desired lwm2m-server and preshared key
build with west build -b pinnacle_100_dvk samples/net/lwm2m_client/ -- -DOVERLAY_CONFIG="overlay-lwm2m-1.1.conf;overlay-bootstrap.conf;overlay-dtls.conf"
flash west flash
See that it does not finish the handshake

Expected behavior
A successfull connection to the bootstrapserver with dtls (with preshared keys)
Logs and console output
In zephyr I see that lwm2m_engine reports Cannot connect UDP (-11)
[00:00:34.067,382] <dbg> modem_hl7800: on_cmd_sockcreate: look up new socket by creation id
[00:00:34.067,901] <dbg> modem_hl7800: hl7800_rx: HANDLE OK (len:0)
[00:00:34.076,599] <dbg> modem_hl7800: hl7800_rx: UNHANDLED RX
                                       2b 4b 43 4e 58 5f 49 4e  44 3a 20 31 2c 31 2c 30 |+KCNX_IN D: 1,1,0
[00:00:35.101,043] <dbg> modem_hl7800: hl7800_rx: HANDLE +KUDP_IND:  (len:3)
[00:00:35.101,074] <dbg> modem_hl7800: on_cmd_sock_ind: +KUDP_IND ID: 1
[00:00:35.101,196] <dbg> net_lwm2m_registry: lwm2m_engine_get: path:0/0/2/0, level 3, buf:0x20011913, buflen:1
[00:00:35.103,454] <dbg> modem_hl7800: send_at_cmd: OUT: [AT+KUDPSND=1,"xxx.xxx.xx.xx",xxxx,81]
[00:00:35.120,086] <dbg> modem_hl7800: hl7800_rx: HANDLE CONNECT (len:0)
[00:00:35.127,563] <dbg> modem_hl7800: send_data: Sent 81 bytes
[00:00:35.136,291] <dbg> modem_hl7800: hl7800_rx: HANDLE OK (len:0)
[00:00:36.136,688] <dbg> modem_hl7800: send_at_cmd: OUT: [AT+KUDPSND=1,"xxx.xxx.xx.xx",xxxx,81]
[00:00:36.153,015] <dbg> modem_hl7800: hl7800_rx: HANDLE CONNECT (len:0)
[00:00:36.160,552] <dbg> modem_hl7800: send_data: Sent 81 bytes
[00:00:36.169,311] <dbg> modem_hl7800: hl7800_rx: HANDLE OK (len:0)
[00:00:38.102,172] <err> net_lwm2m_engine: Cannot connect UDP (-11)
[00:00:38.102,844] <dbg> modem_hl7800: send_at_cmd: OUT: [AT+KUDPCLOSE=1]
[00:00:38.111,297] <dbg> modem_hl7800: hl7800_rx: HANDLE OK (len:0)
[00:00:38.111,389] <err> net_lwm2m_rd_client: Cannot init LWM2M engine (-11)

In wireshark, I see repeated attempts to start a handshake

Environment (please complete the following information):

OS: Ubuntu 22.04
Toolchain:  zephyr-sdk-0.16.8
Commit SHA or Version used:<PHONE_NUMBER>356e7e287ff08a4aec502483f57c91 (but also seen with over versions after: 7bef3fd8af831c7262b2a763d09d182d35a315c2)

Additional context

@jbr-ia I will take a look at this when I can. In the mean time, check these kconfigs, these are the values we use:
# LwM2M
# The latency in NB-IoT can be 10 seconds.
# these values need to be greater than 10 seconds to account for the
# the latency of the connection after the cell tower.
CONFIG_NET_SOCKETS_CONNECT_TIMEOUT=13000
CONFIG_NET_SOCKETS_DTLS_TIMEOUT=15000
CONFIG_COAP_INIT_ACK_TIMEOUT_MS=15000
CONFIG_LWM2M_SECONDS_TO_UPDATE_EARLY=20

@rerickson1 Thanks for the reply. I have tested it with these values, but unfortunatelly it still does not work for me.
For this test, I tried without bootstrapping this time, so compiling with: west build -b pinnacle_100_dvk samples/net/lwm2m_client/ -- -DOVERLAY_CONFIG="overlay-lwm2m-1.1.conf;overlay-dtls.conf"
and added to prj.conf:
CONFIG_NET_SOCKETS_CONNECT_TIMEOUT=13000
CONFIG_NET_SOCKETS_DTLS_TIMEOUT=15000
CONFIG_COAP_INIT_ACK_TIMEOUT_MS=15000
CONFIG_LWM2M_SECONDS_TO_UPDATE_EARLY=20

#CONFIG_LWM2M_APP_SERVER="coaps://<IP_ADDRESS>:5684"
CONFIG_DNS_RESOLVER=y
CONFIG_DNS_SERVER_IP_ADDRESSES=y
CONFIG_DNS_SERVER1="<IP_ADDRESS>"
CONFIG_LWM2M_APP_SERVER="coaps://leshan.eclipseprojects.io:5684"

It still failed to connect.
When I change in hl7800.c
From this:
https://github.com/zephyrproject-rtos/zephyr/blob/7271000fe56c75536831741d46ef225d08a34f3a/drivers/modem/hl7800.c#L1606-L1607
to this:
	if ((((char*)sock->dst.data)[2]==8) && (((char*)sock->dst.data)[3]==8) && (((char*)sock->dst.data)[4]==8) && (((char*)sock->dst.data)[5]==8 )){
		net_pkt_set_remote_address(pkt, &sock->dst, sizeof(struct sockaddr_in));
		pkt->remote.sa_family = AF_INET;
	}

than it works for me with dtls and dns. But this only works because I use <IP_ADDRESS> as DNS-server, and the IP-address seems to be at this location in the sock->dst.data, so if the DNS-server ever changes it no longer works. So this is no real solution (only for testing).

@jbr-ia can you provide the debug logs from boot until the issue happens?

@rerickson1 Attached the log of the failing connection (pinnacle_100_dvk_dtls_failed_to_connect.txt). This is with zephyr revision:<PHONE_NUMBER>356e7e287ff08a4aec502483f57c91, with added to prj.conf:
CONFIG_NET_SOCKETS_CONNECT_TIMEOUT=13000
CONFIG_NET_SOCKETS_DTLS_TIMEOUT=15000
CONFIG_COAP_INIT_ACK_TIMEOUT_MS=15000
CONFIG_LWM2M_SECONDS_TO_UPDATE_EARLY=20

#CONFIG_LWM2M_APP_SERVER="coaps://<IP_ADDRESS>:5684"
CONFIG_DNS_RESOLVER=y
CONFIG_DNS_SERVER_IP_ADDRESSES=y
CONFIG_DNS_SERVER1="<IP_ADDRESS>"
CONFIG_LWM2M_APP_SERVER="coaps://leshan.eclipseprojects.io:5684"
CONFIG_MODEM_LOG_LEVEL_DBG=y

compiled with: west build -b pinnacle_100_dvk samples/net/lwm2m_client/ -- -DOVERLAY_CONFIG="overlay-lwm2m-1.1.conf;overlay-dtls.conf"
For comparison also a log with a successfull connection (pinnacle_100_dvk_dtls_successfull_connect.txt). For that situation, I added the if-statement with hardcoded dns-entry from my previous comment.
pinnacle_100_dvk_dtls_failed_to_connect.txt
pinnacle_100_dvk_dtls_successfull_connect.txt

@jbr-ia I have made some progress. I see TLS issues and dont think there is anything wrong with the HL7800 driver.
Using latest main zephyr branch, apply this diff:
p100_1.patch
Build command:
west build -b pinnacle_100_dvk -p auto samples/net/lwm2m_client/ -- -DOVERLAY_CONFIG="overlay-dtls.conf;boards/pinnacle_100_dvk.conf"
logs and pcap:
p100_log_1.log
p100_log_1.pcapng.zip
For some reason MBED TLS is not processing the received Hello Verify Request from the server... Not sure why at this time.

Thanks for looking into it. I also see that MBED TLS seems to not process the reaction from the server correctly. When I remove in hl7800.c the lines with
net_pkt_set_remote_address(pkt, &sock->dst, sizeof(struct sockaddr_in));
pkt->remote.sa_family = AF_INET;

, than mbedtls seems to accept the response (but DNS does not work anymore). Therefore my assumption was that it had something to do with the modemdriver. But it can also be something in mbedtls, or another part of the networkstack.

Thanks for looking into it. I also see that MBED TLS seems to not process the reaction from the server correctly. When I remove in hl7800.c the lines with
net_pkt_set_remote_address(pkt, &sock->dst, sizeof(struct sockaddr_in));
pkt->remote.sa_family = AF_INET;

, than mbedtls seems to accept the response (but DNS does not work anymore). Therefore my assumption was that it had something to do with the modemdriver. But it can also be something in mbedtls, or another part of the networkstack.

Thanks for the reminder on that, I'll give that a try too.


Add basic CI using GitHub Actions

I thought this package deserves CI 😄
This is the simplest workflow as described here: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-node

thx so much! :+1:

thx so much! 👍

Next I'll open a PR to fix a missing import and update some packages to make the CI pass :)


Download complete season doesn't seem to work?

With UKTV Play the "Download Complete Season" doesn't properly work:
There are 3 seasons linked at https://uktvplay.co.uk/shows/secrets-of-the-london-underground/watch-online - Entering this URL and selecting "Download Complete season" gives a "ULR did not match any supported service" error. (Download Episode and Download Complete Series works fine). Looking at the URL there is no indication of any season it it. Maybe that's the reason?
How can I just download sseason 2 + 3 in one go? (Season 1 is already done, so "Download complete series" would download too much.

I was using FreeVine GUI for downloading the full season and it seems the GUI tool is not providing the actual season number to he command line! I'll ping the dev over there to include it!


Fix #37

Thank you so much for the PR and for tracking down the issue with the font sizes changing :smile:


[suggestion] Use AEMFED instead of AEM Front

AEM FED is recommended by Adobe and has more request updates than AEM Front.
AEM Front is lightly supported by Kevin, but he no longer works on AEM projects.
I'm sorry @kevinweber :(

It's alright – I've just added a "deprecated" note to AEM Front. Just for the record: AEM Front was the original "AEM + BrowserSync + AEMSync" extension :)
Cheers, AEM Fed.

@dpogni  , thanks for the suggestion! :)
Although this is not a risk or a threat for anyone using the current setup, we are looking at a code change that will switch the use of AEM-Front to AEMFed.
To be clear, either one can be used and it is a developer preference to use AEM-Front or AEMFed for file watching and file sync to AEM. They are both meant to speed up the development workflow for frontend developers.
@kevinweber's amazing work on AEM-Front inspired AEMFed and whichever you use, please remember they are both modules open-sourced by an individual contributor so please contribute.
We will soon open a PR with the change, stay tuned.
Thanks guys!


Flask backend

Changed Nodejs API to Flask API
SQLAlchemy is used as ORM(Object-relational mapper) and requirements.txt added
#80

There are some errors in the API's part, we are still working on it!


Review AddNoteCommand execute method

We can also change the feature back such that adding note does not display the full user list again

TRD for refactoring summarised as an issue in #259 .


Online model doesn't work

Why dosen't it work at all?

Hi,
this model was trained for bicubic degradations only, if your input image contains unknown degradations, the model won't work as expected. In case you're interested in real-world SR, you can retrain the network using a complex degradation pipeline, such as Real-ESRGAN or BSRGAN.
Have fun!


fixes crash for sending message to bot

fixes #568

fixes crash on sending sms to bot

This avoids the crash, but doesn't fix the main issue itself: The text input field is still missing, and it's not possible to submit messages.

the input text field is hidden behind the button and I have asked Adnan to take a look


Build image from Dockerfile

Build image from Dockerfile using an example config.
Signed-off-by: Michael Cambria<EMAIL_ADDRESS>

previously reviewed and approved by @msherif1234 and @fedepaol , so merging on their behalf


proposal: move to org

As already outlined in https://github.com/leafo/scssphp/issues/376, it makes much sense to transfer this or fork it to an org account (easier collaboration, teams, rights / permission management, higher bus factor, ...).

OK. I've created a new org
https://github.com/scssphp/scssphp is a copy rather than a fork, so it won't be affected if this repo gets nuked (e.g., DMCA'd).
Issues and PR's are still here until the move (gh-pages, travis, composer, packagist) is finalized.

Done.


Update examples

This project looks promising. I like the simplicity. However, can you kindly update your examples with every release to prevent errors. I have tried a few and some of them result in errors, for example, the UDP and TCP echo server examples result in error error[E0599]: no method named nextfound for typeruntime::net::tcp::Incoming<'_>in the current scope   --> src/main.rs:18:46

The echo server in the description page also shows nothing when using nc -u localhost 8080

@iamcharleschege for the UDP Echo example, after you start typing things and hit enter it'll respond. I just tried it standalone, and it seems to work!

Also confirmed the TCP Echo example works outside of the repo.

I'm not sure what's going on. I've uploaded a repro of the TCP Example here: https://github.com/yoshuawuyts/repro-runtime-13/blob/master/src/main.rs. Everything seems to be working as expected.
The error you're seeing would imply that futures::prelude::* is somehow not importing the Stream trait. I'm not sure why that might be occurring, but perhaps if you share more of your platform details I could help figure out what's going on?

Encounter the same error, and add more details：
error[E0599]: no method named `next` found for type `runtime::net::tcp::Incoming<'_>` in the current scope
  --> src/main.rs:18:46
   |
18 |     while let Some(stream) = await!(incoming.next()) {
   |                                              ^^^^
   |
   = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope, perhaps add a `use` for it:
   |
8  | use futures_util::stream::StreamExt;
   |

Platform:
macOS 10.13.6
node v11.0.0
npm 6.8.0
cargo.toml:
[dependencies]
runtime = "0.3.0-alpha.1"
runtime-native = "0.3.0-alpha.1"
runtime-raw = "0.3.0-alpha.1"
futures = "0.1.26"
rand = "0.6.5"
failure = "0.1.5"

The example https://github.com/yoshuawuyts/repro-runtime-13/blob/master/src/main.rs gives the same error

Environment is Debian 9,
Rustc version is Rustc 1.35.0-nightly (aa99abeb2 2019-04-14)
Cargo.toml  file
edition = "2018"

[dependencies]
runtime = "0.3.0-alpha.2"
futures = "0.1.26"

@ZhouHansen @iamcharleschege Ah! -- could you try using the following in your Cargo.toml:
edition = "2018"

[dependencies]
runtime = "0.3.0-alpha.2"
futures-preview = "0.3.0-alpha.14"

Right now the futures crate still builds for futures 0.1, whereas futures-preview uses futures 0.3. Both can be used in code as use futures; without a problem.
This feels like something we should perhaps mention in our documentation too. Sorry about this!

It works! and maybe we should mention the dependencies for each example.
Hello World example requires
[dependencies]
runtime-native = "0.3.0-alpha.1"
runtime-raw = "0.3.0-alpha.1"

This works! Please add to documentation

@ZhouHansen the dependency problems should be fixed now in<EMAIL_ADDRESS>so all you need is runtime.
We had some problems with our macros that we've since fixed (:

#16 should fix this going forward; happy it now all works. Thanks for the feedback! going to close this for now :sparkles:


[gym] Uses output_name to attempt to find the correct .app package

Fixes #7190.
I can see some circumstances where this might not be 100% the best fix, but I can't see it causing any regressions.
As a sidebar, I noticed there are two different ways this is being generated (here and here - one using .first and one using .last). I didn't bother touching the *_legacy (for obvious reasons), but there will potentially be inconsistencies for legacy projects (which were likely already there though, so not a big problem for this PR).

Thanks for contributing to fastlane! Before you submit your pull request, please make sure to check the following boxes:

[x] Run bundle exec rspec from the subdirectory of each tool you modified. Alternatively, run rake test_all from the root directory.
[x] Run bundle exec rubocop -a to ensure the code style is valid
[x] Read the Contribution Guidelines
[x] We currently don't accept new actions, please publish a plugin instead, more information in Plugins.md

Before submitting a pull request, we appreciate if you create an issue first to discuss the change :+1:

Hey @notjosh, thanks for your contribution, and congrats on your first fastlane PR! 🚀  We hope you'll be inspired to submit many more.
Your PR looks good to me, so once you've made the changes I've requested in my review I'll be happy to merge.
Since this is your first PR, when you make changes related to a review, please submit them as separate commits (as opposed to amending to a previous commit and force pushing). That makes it easier for us to review just the changes, and we'll squash the commits anyway before merging. Thanks again for your help!

Hey @notjosh, have you had the time to look into the proposed changes and update the PR? 👍

Hey @notjosh, thanks for the PR! I am going to close this for now as the PR has been inactive for a while now. Feel free to ping us on here when you have had a chance to make the requested changes and fix the merge conflicts! Thank you again! 🚀 👍


FLEX-4581 ~ Checks date time for null values before converting to XML.

SonarQube analysis reported 2 issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 DeviceConverterHelper.java#L87: The Cyclomatic Complexity of this method "initJaxb" is 11 which is greater than 10 authorized.
 SsldConverter.java#L30: Remove this unused "LOGGER" private field.

All is well.


Error Consider replacing the function or lambda with a reference to an exported function

ERROR in Error encountered resolving symbol values statically. Calling function 'CaixaAlertaModule', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol AdicionarModule in /var/www/crm/teste8/src/app/admin/atividade/adicionar/adicionar.module.ts, resolving symbol AdicionarModule in /var/www/crm/teste8/src/app/admin/atividade/adicionar/adicionar.module.ts

ERROR in ./src/main.ts
Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in '/var/www/crm/teste8/src'
 @ ./src/main.ts 3:0-74
 @ multi ./src/main.ts

in adicionar.module
import {CaixaAlertaModule} from "vieceli-core/caixa-alerta";
    CaixaAlertaModule.forRoot(),

git<EMAIL_ADDRESS>

This library will have several modules, for now it only has one

I had this problem yesterday. In my case it was because there was a mismatch in ./package.json, ./src/package.json, and tsconfig.es5.json due to the fact that I renamed the folder and library and forgot to change "name" in both package.json, and "flatModuleId", and "flatModuleOutFile". Hope this helps.

Oops, just opened up the same issue: https://github.com/jvandemo/generator-angular2-library/issues/163
Did you have any luck solving this one, @lucasvieceli ?

@Davy-F
not yet


Compile issues under Windows

Hi there. I tried my best to compile the preprocessing apps under windows. I even installed WLS2 with gpu support to make things happen, but unfortunately the preprocessing programs fail to create a opengl context menu under wsl2.
Under windows I have a hard time to convince cmake to compile and install all necessary dependencies. even after compiling all dependencies and installing them, the include paths for the DeepSDF repository are all messed up in visual studio.
Did anyone managed to compile the C++ processors under windows?

The preprocessing programs will run into Runtime Error in wsl2 for unknown reason.I guess there are some bugs in wsl2.


Using the ocaml kernel on colab

Hi, first thanks a lot for all the hard work on this ocaml kernel - this is a very thing to have.
I just wrote a small colab notebook that lets you install this kernel on free colab instances. Once the first cell of this notebook has run, you can run ocaml notebooks othe same colab instance (by default it will use a cpu instance but I was even able to get it to run on a gpu instance and to use ocaml-torch to train an ocaml model on the gpu).
The notebook can be seen here.
Maybe this would be useful to link to from your repo ? I'm not sure what the easiest way would be to integrate this, perhaps the notebook could be added to your repo and we can have some colab link to it as demonstrated here. Happy to make a PR for this if you think it's worth it - or to go another way if you have some thoughts.

Thanks for great work! This is the easiest way to use ocaml-jupyter kernel. I think a link to your notebook may help users if it is in README. Looking forward to your PR.

Closing now that the PR has been merged, thanks!

Hi @LaurentMazare,
That was a great initiative, thanks!
Is the notebook still working on your side?
I've tried last week, and just tried again...

Error loading https://apis.google.com/js/client.js
https://drive.google.com/drive/?action=locate&id=11l2Fs4NqDj6vHs167BCzjb6woZhhQPEr&authuser=0
Error loading https://apis.google.com/js/client.js
V/U</h.onerror@https://colab.research.google.com/v2/external/gapi_loader.js:19:330

I would like to point out that another approach, which works on Google Colab (I just tried) is to use your ocaml Pypi package @LaurentMazare !
See https://nbviewer.jupyter.org/github/Naereen/notebooks/tree/master/Demonstration_of_Pypi_package_OCaml_for_polyglot_notebook_02-2021.ipynb


Allow the graphical MacosTimePicker to be updated by dragging the clock hands to a different position

The native graphical time picker has this functionality, so it should be implemented here.

Been thinking about how to do this and I am totally stumped :|

Can be surely done with the touchable package. I have used it on another project to all kinds of gesture detection to CustomPaint shapes.

Fascinating!! I will take a close look at this either this evening or tomorrow. Thank you!

@whiplashoo I've just experimented with the touchable and I was unable to achieve any results :/

Yes, I also had a go and found it will need a lot of work to get right. I managed to add gesture detectors (onPanUpdate) to the clock hands. But then, I got stuck on calculating the gesture delta and properly updating the hand's position.

Yeah it's quite a challenge. I'm really not sure what to do :/
On a more concerning note, I found several bugs with the actual time. I'll log those when I get a chance.


Stored procedure CRUD mapping

As an alternative to the default table query generation facilities there is to be an option to map the CRUD operations to stored procedures.

Surprisingly I couldn't found this feature request submitted already. I am sorry if it has actually already been.

PS: It would sound to broad so I have preferred the more specific task, ideally, however, EF Core should support purely logical application-level entities that are not represented directly by any specific table in the DB but are mapped (in their create/read/update/delete/find actions) to an additional layer of logic implemented on the DB side, on the model code side or both.

Duplicate of https://github.com/aspnet/EntityFramework/issues/245


Dialogues, again

This PR contains the big rewrite of the state machine that I talked about.
It also contains all the fixes necessary to get MultiWOZ eval set to behave on the master branch, with ThingTalk from https://github.com/stanford-oval/thingtalk/pull/217
I'm going to test this PR with a proper dataset MultiWOZ and then unmark it as draft.
It is on top of the "next" branch (which has the big import of almond-dialog-agent/thingengine-core) but I think once "next' is in shape enough to run autoqa and multiwoz, we should merge "next" to "master" and continue there.

Btw I discovered a bug in the current dialogues: when parameter passing from hotels/restaurans/attractions to taxi, we fail to identify the taxi location from the context, because the value in the context and the value in the taxi program have different types (one is an entity and the other is a string). We then assume the program is misannotated, and tell the network to predict the string directly, which obviously won't work because the network doesn't see the string in the context...
This probably causes us to miss all parameter passing.

I tested this by generating a multiwoz dataset and it seems to go through, so I think you can start looking at it.


[Gekidou] Update database to hold if a user is a team or channel admin

Summary
The User Profile screen needs to display a badge when the user is a TeamAdmin or a Channel Admin. This means that we need to store the scheme_admin prop of the team & channel memberships
NONE

Thanks @avinashlng1080 let's merge this for now and we'll update the diagram on a later PR, will have to reach out to some ppl to see if they can get us a subscription, if not I'll pay for it myself.


Option to set Redis Leaf=False

Hello,
Just to mention that in some cases, Redis can be used as Lock mechanism. (ie https://pypi.org/project/python-redis-lock/).
In that case the code to monitor would look like follow :
from redis_lock import Lock

with Lock("some key") :
    #do something

In that case, you don't want Redis to be treated as a Leaf, so the rest can be tracked
Right now, all I have is a big redis span for the entire with.
I don't know what would be the best approach for this. perhaps having a class to handle BLPOP ?
https://github.com/ionelmc/python-redis-lock/blob/master/src/redis_lock/__init__.py#L249
https://github.com/redis/redis-py/blob/a87a750ed1a39138ba4526537335012fc95142c9/redis/commands/core.py#L1867
Thx

Pretty interesting use-case! Right now we instrument client.execute_command which is pretty broad. I'm not sure off the top of my head how we would handle this -- assuming all BLPOP operations shouldn't be leaf spans also seems too broad since this is an edge-case.
We'll have to think on this. Thanks for opening an issue!

So I tried to set the leaf at False. But it doesn't seems to do anything. Perhaps the span inside the with doesn't work in the way I thought.
I thought the lock (and so the blpop) will be during the entire "width" duration. It seems the redis part of that Lock happen only if it is waiting. Otherwise nothing on redis happen. I need to do more test on this.
Otherwise I might just implement a redis_lock instrument instead.


My question about L_adv

Look at above picture,this is from loss.py.I have a question that our goal is to maximize the distance between logits about target and logits without target,So i think it should be L_adv_2-L_adv_1 instead of L_adv_1-L_adv_2.
Am I missing something?

Let's forget for a minute the tf.maximum part (assume that L_adv_1 - L_adv_2 > - kappa). We want to minimize the loss so we want to minimize L_adv_1 - L_adv_2. To do so, we would like to have L_adv_2 as large as possible and L_adv_1 as small as possible, meaning that we want to maximize the logit for the target with respect to the others.
This is also consistent with the definition in Carlini & Wagner, arXiv:1608.04644.

Oh,i know what you mean,you mean that we minimize the loss through minimize L_adv_1-L_adv_2,and which would lead to maximize the logit for the target.But now i just do not understand tf.maximum's purpose.

We want to minimize L_adv, with L_adv = max(L_adv_1 - L_adv_2, - kappa)
The max means that L_adv = L_adv_1 - L_adv_2 if L_adv_1 - L_adv_2 > - kappa
and L_adv = - kappa if L_adv_1 - L_adv_2 < - kappa (in which case we will have a gradient of 0).
Essentially it gives a stopping condition: if L_adv_1 - L_adv_2 < 0 by definition the classifier will predict the target label and there is no need to continue increasing the target logit with respect to the other ones. kappa > 0 is used in arXiv:1608.04644 to "generate high-confidence adversarial examples", see in particular Section VIII.D.

I finally understand it.Thank you for your patience.


internal/plugins: remove minor/patch version, add "-alpha"

Description of the change:
*: remove references to minor and patch versions for plugins, add "alpha" stage
Motivation for the change: Plugin versions have been removed and replaced with kubebuilder's plugin.Version type, which only contains a "major" version integer and an optional stage string. The "alpha" suffix is to denote that this plugin version might change soon. We can remove this when the plugin is stable.
This is a follow-up from https://github.com/kubernetes-sigs/kubebuilder/pull/1547.

Hi @estroz,
i think it is great to go now and we can do follow-ups if/when we need too.

One more set of eyes then I'll merge.

/cc @joelanford @hasbro17 @jmrodri @varshaprasad96


No mention of dependencies needed to use library

In the second code snippet, I was unable to use Microsoft.EntityFrameworkCore before getting the following package:
dotnet add package Microsoft.EntityFrameworkCore.SqlServer
I also saw it was recommended to get:
dotnet add package Microsoft.EntityFrameworkCore.Tools
I did not see these requirements mentioned before the code snippet.

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

ID: 1d975a83-1550-b284-d0d8-7fe2ea206ff5
Version Independent ID: 48e81b42-7c2b-afbf-71e6-d4f442a4bd1f
Content: Add a model to an ASP.NET Core MVC app
Content Source: aspnetcore/tutorials/first-mvc-app/adding-model.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

It's there

I now see it in the PDF, but my Chrome browser loads an out-dated version of the documentation (from 01/13/2020) which does not have that information. Not sure why that's happening. Apologies for the false alarm.


ASGI Flow Error

I am getting this error while migrating from daphne on django. I'm currently running the latest build 1.0.1 and django 5.0
I'm running a chatroom that uses channels and I'm not sure if it is helpful to post my consumer.py here but I'm happy to do so if it'll help with troubleshooting.
[INFO] Starting granian (main PID: 1)
2024-01-24T19:12:16.123299427Z [INFO] Listening at: <IP_ADDRESS>:8000
2024-01-24T19:12:16.125546970Z [INFO] Spawning worker-1 with pid: 7
2024-01-24T19:12:18.379630721Z [WARNING] ASGI Lifespan errored, continuing without Lifespan support
2024-01-24T19:12:18.381089390Z [INFO] Started worker-1
2024-01-24T19:12:18.381103932Z [INFO] Started worker-1 runtime-1
2024-01-24T19:13:29.909855016Z [WARNING] Application callable raised an exception
2024-01-24T19:13:29.918650737Z ERROR:asyncio:Task exception was never retrieved
2024-01-24T19:13:29.918670224Z future: <Task finished name='Task-42' coro=<future_watcher_wrapper.<locals>.future_watcher() done, defined at /usr/local/lib/python3.11/site-packages/granian/_futures.py:2> exception=RuntimeError('ASGI flow error')>
2024-01-24T19:13:29.918675290Z Traceback (most recent call last):
2024-01-24T19:13:29.918678650Z   File "/usr/local/lib/python3.11/site-packages/granian/_futures.py", line 4, in future_watcher
2024-01-24T19:13:29.918681599Z     await inner(watcher.scope, watcher.proto)
2024-01-24T19:13:29.918684749Z   File "/usr/local/lib/python3.11/site-packages/channels/routing.py", line 62, in __call__
2024-01-24T19:13:29.918688013Z     return await application(scope, receive, send)
2024-01-24T19:13:29.918690894Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-01-24T19:13:29.918694051Z   File "/usr/local/lib/python3.11/site-packages/channels/security/websocket.py", line 37, in __call__
2024-01-24T19:13:29.918707745Z     return await self.application(scope, receive, send)
2024-01-24T19:13:29.918711302Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-01-24T19:13:29.918714335Z   File "/usr/local/lib/python3.11/site-packages/channels/sessions.py", line 47, in __call__
2024-01-24T19:13:29.918717059Z     return await self.inner(dict(scope, cookies=cookies), receive, send)
2024-01-24T19:13:29.918719700Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-01-24T19:13:29.918722308Z   File "/usr/local/lib/python3.11/site-packages/channels/sessions.py", line 263, in __call__
2024-01-24T19:13:29.918725540Z     return await self.inner(wrapper.scope, receive, wrapper.send)
2024-01-24T19:13:29.918728632Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-01-24T19:13:29.918731199Z   File "/usr/local/lib/python3.11/site-packages/channels/auth.py", line 185, in __call__
2024-01-24T19:13:29.918734349Z     return await super().__call__(scope, receive, send)
2024-01-24T19:13:29.918736928Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-01-24T19:13:29.918739884Z   File "/usr/local/lib/python3.11/site-packages/channels/middleware.py", line 24, in __call__
2024-01-24T19:13:29.918742625Z     return await self.inner(scope, receive, send)
2024-01-24T19:13:29.918745154Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-01-24T19:13:29.918747701Z   File "/usr/local/lib/python3.11/site-packages/channels/routing.py", line 116, in __call__
2024-01-24T19:13:29.918750409Z     return await application(
2024-01-24T19:13:29.918752920Z            ^^^^^^^^^^^^^^^^^^
2024-01-24T19:13:29.918755415Z   File "/usr/local/lib/python3.11/site-packages/channels/consumer.py", line 94, in app
2024-01-24T19:13:29.918758537Z     return await consumer(scope, receive, send)
2024-01-24T19:13:29.918761138Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-01-24T19:13:29.918764763Z   File "/usr/local/lib/python3.11/site-packages/channels/consumer.py", line 58, in __call__
2024-01-24T19:13:29.918768297Z     await await_many_dispatch(
2024-01-24T19:13:29.918770914Z   File "/usr/local/lib/python3.11/site-packages/channels/utils.py", line 57, in await_many_dispatch
2024-01-24T19:13:29.918773618Z     await task
2024-01-24T19:13:29.918776565Z RuntimeError: ASGI flow error

@cyb3rs3ntry ASGIFlowError usually means Granian received an unexpected event from the framework/application. Looking at channels source code it seems the issue is related with closing the connection.
I never used channels package, so if you're able to provide some code (even stripped) to replicate the issue that would be nice, as it would make it easier to debug the event flow producing the issue.

@cyb3rs3ntry ASGIFlowError usually means Granian received an unexpected event from the framework/application. Looking at channels source code it seems the issue is related with closing the connection. I never used channels package, so if you're able to provide some code (even stripped) to replicate the issue that would be nice, as it would make it easier to debug the event flow producing the issue.

I don't mind sharing my code at all - a lot of it is from the channels async docs. Here is my full chat consumer which has the recommended way to disconnect per the docs (I believe)
import json
from dataclasses import dataclass

from channels.db import database_sync_to_async
from channels.generic.websocket import AsyncWebsocketConsumer

from apps.chat.tasks import save_message_to_db

@dataclass
class MessageModel:
    sender: str
    message: str
    avatar: str
    level: int

class ChatConsumer(AsyncWebsocketConsumer):
    async def connect(self):
        self.room_name = self.scope["url_route"]["kwargs"]["room_name"]
        self.room_group_name = "chat_%s" % self.room_name

        # Join room group
        await self.channel_layer.group_add(self.room_group_name, self.channel_name)

        await self.accept()
        # Retrieve last 10 messages from database

        last_messages = []
        messages = await self.get_last_messages()

        if messages:
            for message in messages:
                message = MessageModel(**message)
                last_messages.append(
                    {
                        "sender": message.sender,
                        "message": message.message,
                        "avatar": message.avatar,
                        "level": message.level,
                    }
                )

            # Send last 10 messages to the client
            await self.send_last_messages(last_messages)

    async def disconnect(self, code):
        # Leave room group
        await self.channel_layer.group_discard(self.room_group_name, self.channel_name)

    async def receive(self, text_data):
        text_data_json = json.loads(text_data)
        message = text_data_json["message"]
        sender = text_data_json["username"]
        avatar = text_data_json["avatar"]
        level = text_data_json["level"]

        # Send message to room group
        await self.save_data_item(sender, message, self.room_name)
        await self.channel_layer.group_send(
            self.room_group_name,
            {
                "type": "chat_message",
                "message": message,
                "sender": sender,
                "avatar": avatar,
                "level": level,
            },
        )

    async def chat_message(self, event):
        message = event["message"]
        sender = event["sender"]
        avatar = event["avatar"]
        level = event["level"]

        # Send message to WebSocket
        await self.send(
            text_data=json.dumps(
                {
                    "message": message,
                    "sender": sender,
                    "avatar": avatar,
                    "level": level,
                }
            )
        )

    @database_sync_to_async
    def create_data_item(self, sender_name, content):
        from apps.chat.models import Message
        from apps.users.models import CustomUser

        sender = CustomUser.objects.get(username=sender_name)
        return Message.objects.create(sender=sender, content=content, room="lobby")

    async def save_data_item(self, sender, message, room):
        save_message_to_db.delay(sender, message, room)

    @database_sync_to_async
    def get_last_messages(self):
        from apps.chat.models import Message

        messages = Message.objects.order_by("-created_at")[:10][::-1]
        return [
            {
                "sender": message.sender.username,
                "message": message.content,
                "avatar": message.sender.avatar,
                "level": message.sender.level,
            }
            for message in messages
        ]

    async def send_last_messages(self, messages):
        await self.send(text_data=json.dumps({"last_messages": messages}))

Unsure if this is exactly related, but I see this message a couple times before I see the ASGI Flow error
2024-01-25 11:22:51.488 | INFO     | apps.payment_gateway.api:get_or_create_deposit:214 - Existing payment found
2024-01-25T11:22:52.872675021Z [WARNING] Application callable raised an exception
2024-01-25T11:22:52.874553539Z ERROR:asyncio:Task exception was never retrieved
2024-01-25T11:22:52.874676040Z future: <Task finished name='Task-391' coro=<future_watcher_wrapper.<locals>.future_watcher() done, defined at /usr/local/lib/python3.11/site-packages/granian/_futures.py:2> exception=RequestAborted()>
2024-01-25T11:22:52.874694077Z Traceback (most recent call last):
2024-01-25T11:22:52.874700130Z   File "/usr/local/lib/python3.11/site-packages/granian/_futures.py", line 4, in future_watcher
2024-01-25T11:22:52.874705713Z     await inner(watcher.scope, watcher.proto)
2024-01-25T11:22:52.874709665Z   File "/usr/local/lib/python3.11/site-packages/channels/routing.py", line 62, in __call__
2024-01-25T11:22:52.874713764Z     return await application(scope, receive, send)
2024-01-25T11:22:52.874717998Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-01-25T11:22:52.874721916Z   File "/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/django/asgi.py", line 80, in sentry_patched_asgi_handler
2024-01-25T11:22:52.874726605Z     return await middleware(scope, receive, send)
2024-01-25T11:22:52.874730892Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-01-25T11:22:52.874734150Z   File "/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/asgi.py", line 146, in _run_asgi3
2024-01-25T11:22:52.874737959Z     return await self._run_app(scope, receive, send, asgi_version=3)
2024-01-25T11:22:52.874740848Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-01-25T11:22:52.874782544Z   File "/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/asgi.py", line 241, in _run_app
2024-01-25T11:22:52.874788527Z     raise exc from None
2024-01-25T11:22:52.874792605Z   File "/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/asgi.py", line 234, in _run_app
2024-01-25T11:22:52.874797373Z     return await self.app(
2024-01-25T11:22:52.874800509Z            ^^^^^^^^^^^^^^^
2024-01-25T11:22:52.874804549Z   File "/usr/local/lib/python3.11/site-packages/django/core/handlers/asgi.py", line 170, in __call__
2024-01-25T11:22:52.874808847Z     await self.handle(scope, receive, send)
2024-01-25T11:22:52.874813321Z   File "/usr/local/lib/python3.11/site-packages/django/core/handlers/asgi.py", line 220, in handle
2024-01-25T11:22:52.874817702Z     await task
2024-01-25T11:22:52.874821640Z   File "/usr/local/lib/python3.11/site-packages/django/core/handlers/asgi.py", line 230, in listen_for_disconnect
2024-01-25T11:22:52.874825274Z     raise RequestAborted()
2024-01-25T11:22:52.874828870Z django.core.exceptions.RequestAborted

any other information I can do to help here? Should I create a basic app in docker?

any other information I can do to help here? Should I create a basic app in docker? Also I just noticed it happens every ~65 seconds with no requests on the frontend

I'm running some tests locally on the websocket protocol implementation, will update you as soon as I have news.

@cyb3rs3ntry so, I'm going to merge #193 and release a new patch version.
Unfortunately, I'm not sure this is gonna solve everything regarding channels, as from my local tests there's still some random strange behaviours happening sometimes (futures left pending and never fully awaited, random cancels I don't fully understand where coming from, etc).
I'm not sure if this depends on my local setup, or is there something I can't see right now, so I'm gonna keep this opened as further investigations might be needed.

Sounds good - I'm happy to help however I can. I definitely want to see this project continue to evolve and succeed.
I'll continue to use granian in development and daphne for production while we continue to make improvements to granian. 💪

I am also seeing the ASGI Lifespan errored, continuing without Lifespan support warning with Django 5.0.1. Happy to help where I can to troubleshoot this one.

I am also seeing the ASGI Lifespan errored, continuing without Lifespan support warning with Granian 1.02 & Django 5.0.2. Although, I can say I am not using Channels. Happy to help where I can to troubleshoot this one.

Lifespan is not related to this issue, that message from Granian is just to let you know Django doesn't support lifespan in ASGI, serving the application still works. See also https://github.com/emmett-framework/granian/issues/153

I am also seeing the ASGI Lifespan errored, continuing without Lifespan support warning with Granian 1.02 & Django 5.0.2. Although, I can say I am not using Channels. Happy to help where I can to troubleshoot this one.

Lifespan is not related to this issue, that message from Granian is just to let you know Django doesn't support lifespan in ASGI, serving the application still works. See also #153

Ooops, sorry I probably should have expected Django to not support Lifespan. Thanks for the quick reply!

@cyb3rs3ntry would you be able to test this with 1.1.0 and report what's the status?


[Settings > Items] button: make class non self-referential

Fixes #53

Doesn't fix, still breaks in creating component. Fixed in fdab9c3, apologies


feat: added localIdeographFontFamily option

added localIdeographFontFamily option.
(see : https://docs.mapbox.com/mapbox-gl-js/api/map/#map-parameters)

@alex3165 please check this.

@mklopets

@mklopets please check this.


Make Actor::mount delegate to Actor::initialize

This commit makes Actor::mount delegate to Actor::initialize instead
of containing the initialization code itself.

Great, thanks 🚀
bors r+

bors r+


The pads feel a bit small

The pads feel a bit small on my 5.5 inch screen, i feel like the edges could be pushed to the edge of the screen.

Implemented in #68


CI against Ruby 2.2.8/2.3.5/2.4.2/JRuby <IP_ADDRESS>

Coverage increased (+0.1%) to 98.371% when pulling 605e3582fc268011b5c2f5b00ee60cdb3808165c on 284km:update_travis into 1cf25c7127112c246b6e1a38208c32a6aee8a6c7 on guard:master.

Coverage increased (+0.1%) to 98.371% when pulling 605e3582fc268011b5c2f5b00ee60cdb3808165c on 284km:update_travis into 1cf25c7127112c246b6e1a38208c32a6aee8a6c7 on guard:master.

How about adding Ruby 2.5 and jruby 9.1.16? @284km

@tnir Thank you for a good point!
I updated to the latest version.


[ja] Translate tasks/debug-application-cluster/resource-usage-monitoring into Japanese

This is a Feature Request
What would you like to be added
Translate tasks/debug-application-cluster/resource-usage-monitoring  into Japanese.
Why is this needed
This page has not been translated.
Comments
/language ja
/assign

PR:
https://github.com/kubernetes/website/pull/31054

/triage accepted


chart.hoverPoint is not retained between drags

When dragging a column, the chart.hoverPoint is cleared and as such, in order to drag the same column again, the mouse needs to leave and reenter the column.

This appears to be an issue only when the tooltip is disabled.


⚠ Bofrost.at has degraded performance

In d09e684, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1681 ms

Resolved: Bofrost.at performance has improved in 01b7ee0 after 8 minutes.


Custom functions

Not everything can be entirely data-driven.
We can validate types/required fields and basic regexp based on data, but there will be a need for some business logic.
For example imagine we're a website specialising in gay weddings, we might want to verify that both people have the same gender based on their titles.  (My real example was broken by recent legal changes).
The scope of this issue is to demonstrate a suitable, scalable (maintainable rather than performant) solution for such custom behaviour.
I'd expect this to be triggered on click of a navigation button, e.g. Next Page but not necessarily.
Requirements:

should be a standard JS/TS function in a separate file (not coupled to components)
will use the $inputStore to interrogate data, not DOM elements directly.
must have a naming convention that means content/code editors don't need to collaborate directly just to avoid breaking the thing, this is a dev-maintained aspect, specific to a journey.  Perhaps the convention includes an id of the element to trigger this from.  Each element type has a clear "action trigger" - e.g. button is click, textbox is blur, use as few DOM events as we can to keep this simple.

Component interaction

onBlur/onChange/whatever the component understands as "done" triggers component action, by id, this is working nicely.
what this action can do needs extending, e.g. if the button doubles as a section/page navigator it needs to be able to redirect

Section interaction

use nextsection-[id] and prevsection-[id] for bespoke interaction - this helps to separate dev responsibility form that of content editors who don't care about identifiers
Default action on next is to validate section and jump to next section if valid, back does not perform validation

Page interaction

use nextpage-[id] and prevpage-[id] for bespoke interaction - this allows content editors to freely change URLs to match tracking requirements and separates dev responsibilities
Default action on next is to perform validation and redirect if passed, back does not perform validation

Additional

Enforce uniqueness of ids using back office validator (a component, section and page could have identical ids without issue)
Require some common (not brand-specific) functions

go to next page
go to previous page
validate section/page, might be triggered in different ways

new one to add to the mix - default calculation on component load - e.g. provided a title Mr|Mrs|Ms|etc etc pre-populate gender Male|Female|Female|unselected
<component-id>-default or <component-id>-load depending whether it should be generic or purely for setting the value.


Bacula::Director::Client[$HOST]: has no parameter named 'address'

I started trying to update to 5.1.1 and now 5.2.0 and both have led me to this error.  I followed the upgrade notes (and will have a few README updates via a PR soon).  Any idea why I'm getting this error that only seems to occur on the host that serves as both my Director and Storage?

FWIW, my Director/Storage host is running puppet-4.2.1-5.fc25.noarch.  I have tried putting the following in my common hiera.yaml:
bacula::client::address:    "%{fqdn}"

Unfortunately, that didn't help either.  (I did run puppet again on eacho value of $HOST that I see in the error prior to trying the run on the Director/Storage host.)

Hi!  Without looking at the code, I suspect that there is a client that has not run the new code, so the exported resource contains an invalid param when the director goes to realize the resource.  So for the upgrade, I think all nodes will need to run the new code before the director will compile.  Does that match your experience?  I can dig in code if I'm off the map.

I was kind of wondering about that.  I was running the new code for each host mentioned in the error message figuring  that would clean up the exported resources causing that specific error.  However, it may be that the error is misleading.  It wouldn't be the first time I've seen Puppet do that to me.
I will run the new code against all nodes to see if that makes the problem go away.  I had almost considered it before and your suspicion only affirms my own.  I'll let ya know what I learn.

Well, it looks like that was exactly the issue.  I was trying to do an incremental roll out to test this and that's exactly what burned me.  I'd submit another quick patch to the readme to mention this but I'm completely fried this week pushing an embedded OS upgrade to over 500 devices.  Plus, it might be unique to my environment.  For example, I had to make the following change that gets applied to all of my bacula clients:
-        ::bacula::fileset { $::hostname:
+        @@::bacula::director::fileset { $::hostname:

The important bit to notice is not the define rename but that I must now export this.  It seems like it should have been required before, but perhaps that's just me forgetting what the readme already mentioned per the upgrade requirements.  Did I mention that I'm fried?

I'll close this issue out, but I'm open to review how you're using the module.  I don't have access to my personal use of this at the moment, but I don't think I'm exporting any of the filesets.  Rather, I think I'm including them only on the master in a single class, then referencing them on the backup jobs for each of the nodes.  So I have perhaps 10 or so filesets centrally defined, but perhaps 20 nodes in all.  I also have multiple jobs per host, which is a bit more topical than 'everything on this host' sort of backups.
I'd welcome another readme PR when you are more rested. :)  Also, thanks for upgrading!


No Recieve Method for socket Type Sub?

while listening to the subscription got this error?

Also The package Does not catches ZMQ exception? what about that?Like if I put Listen Code in try catch it does not catches the exception so I can not respond to exception thown by the library identify the exception,

The Exception is thrown here
https://github.com/enwi/dartzmq/blob/33d8da224c81b09e57547e3293a339de4611e176/lib/src/zeromq.dart#L106
As far as I see it EINTR can be irgnored here. According to the ZGuide
If your code is blocking in a blocking call (sending a message, receiving a message, or polling),
then when a signal arrives, the call will return with EINTR.

yeah I saw it , when I ignore it works fine

Though since I updated the binaries EINTR gets thrown seemingly random, even when calling connect on a socket

You mergeed changes it to main?

okay..also add an example  check for error code and ignore it,

so is it done?


Cookiebot integration draft

This PR contains a PoC of an integration with Cookiebot in support of the initiative to allow different partners with script based products to integrate easily with Umbraco.
The integration provides a partial view where custom JavaScript can be inserted and the client specific property values are going to be pulled from the website's settings file.
The partial view will then be loaded anywhere using this syntax @await Html.PartialAsync("~/Views/Partials/UmbracoCms.Integrations/Scripts/Cookiebot/Cookiebot.cshtml").
As this is just a proof of concept, the naming could be improved.

Confirmed, works as expected. Thank you!

Updated PR with logo, marketplace details and documentation.


rx_timeout_slab shouldn't consider CONFIG_SYS_CLOCK_TICKS_PER_SEC when hardware timers are used

I'm using hardware timers for an ASYNC UART implementation on an nRF52840.  I have a very small timeout I want to use (28us) for the driver to notify with UART_RX_RDY.  Because this timeout is small, the current code implementation in uart_nrfx_uarte.c (referenced below) can potentially set rx_timeout_slab to a much greater value than rx_timeout if CONFIG_SYS_CLOCK_TICKS_PER_SEC is a relatively low value.  I've noticed that when this happens you can get spurious UART_RX_RDY events.  That can be explained due to these lines of code (1045-1055):
               if (clipped ||
			(data->async->rx_timeout_left
				< data->async->rx_timeout_slab)) {
			/* rx_timeout us elapsed since last receiving */
			notify_uart_rx_rdy(dev, len);
			data->async->rx_offset += len;
			data->async->rx_total_user_byte_cnt += len;
		} else {
			data->async->rx_timeout_left -=
				data->async->rx_timeout_slab;
		}

The else condition above will set rx_timeout_left to a much smaller value than expected causing notify_uart_rx_rdy to be called on the next iteration.
This can be fixed by modifying the lines where rx_timeout_slab gets set to check for the use of hardware timers.  I'm assuming that when hardware timers are used the consideration for sys tick time need not be made.  I ran a test on my setup by quickly changing the code to set rx_timeout_slab to the following:
data->async->rx_timeout_slab = timeout / RX_TIMEOUT_DIV;
It appears to work, but I'm not sure how best to check for the use of hardware timers in all scenarios.
https://github.com/zephyrproject-rtos/zephyr/blob/2ea2d37d60ada33bdf051eb9d699f4db9123c3ff/drivers/serial/uart_nrfx_uarte.c#L855

If you are reporting a bug (difficult to tell from the description above), please use our bug template. You can edit this issue to include the information requested in https://github.com/zephyrproject-rtos/zephyr/blob/main/.github/ISSUE_TEMPLATE/001_bug_report.md

From looking at the code, the current code implementation in uart_nrfx_uarte.c (referenced below) can potentially set rx_timeout_slab to a much greater value than rx_timeout if CONFIG_SYS_CLOCK_TICKS_PER_SEC is a relatively low value. I've noticed that when this happens you can get spurious UART_RX_RDY events. That can be explained due to these lines of code (1045-1055):
[..]
The else condition above will set rx_timeout_left to a much smaller value than expected causing notify_uart_rx_rdy to be called on the next iteration.

The actual problem here is that when rx_timeout_slab is greater than rx_timeout_left (and it can be because of that rounding up to 3 system clock ticks), the timeout is reported (i.e. the UART_RX_RDY is generated) in every entry to the rx_timeout function, even if new data is continuously received. And this is obviously not the way that UART_RX_RDY is supposed to be used.

This can be fixed by modifying the lines where rx_timeout_slab gets set to check for the use of hardware timers. I'm assuming that when hardware timers are used the consideration for sys tick time need not be made.

This assumption is incorrect. Hardware timers are used (as counters) for counting of incoming bytes, not for checking the RX timeouts - for this, always the kernel timers are used.

I ran a test on my setup by quickly changing the code to set rx_timeout_slab to the following:
data->async->rx_timeout_slab = timeout / RX_TIMEOUT_DIV;
It appears to work, but I'm not sure how best to check for the use of hardware timers in all scenarios to make an official fix for this issue

Yes, that works and it should be used always, no matter if a hardware timer is used for counting of incoming bytes or not.


[Enhancement] support dense_rank for local partition top n

Why I'm doing:
fix https://github.com/StarRocks/starrocks/issues/46344
What I'm doing:
Fixes #issue
What type of PR is this:

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

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)
[ ] I have added documentation for my new feature or new function
[ ] This is a backport pr

Bugfix cherry-pick branch check:

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

[ ] 3.3
[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

@mergify rebase

@before-Sunrise Hi, what's the status of this PR?


Issue with k8s.io/docs/tasks/administer-cluster/reconfigure-kubelet/

This is a...

[ ] Feature Request
[x] Bug Report

Problem:
The documentation does not reflect the correct output to the following command
kubectl get no ${NODE_NAME} -o json | jq '.status.config'

The documentation assumes that the output would contain the field Node.Status.Config. But Node.Status doesn't contain the Config field and only contains addresses, allocatable, capacity and conditions
Proposed Solution:
Update the documentation such it points to the locations where I can inspect Config of a Node.
Page to Update:
https://kubernetes.io/docs/tasks/administer-cluster/reconfigure-kubelet/

@twosatnams
The document shows the correct output if the Dynamic configuration has been setup as per the document. The Node.Status.Config object shows details via the ConfigMap saved in Kubernetes Control Plane and referenced by the node.
If the node does not refer to a ConfigMap or does not have dynamic-config-dir configured, the Node.Status will not have a config object. @zacharysarah

Thanks @daminisatya you're right I figured it out - it was related to an issue with the cloud provider.


I would like to fix this

Describe the bug
The button transition is not looking good.
Screenshots
If applicable, add screenshots to help explain your problem.
https://user-images.githubusercontent.com/69195262/125196027-e1117200-e275-11eb-8cea-6ad5a05e10b8.mp4
Desktop (please complete the following information):

os : Windows [e.g. ]
Browser chrome  [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: Samsung m51 [e.g. iPhone6]
OS: android  [e.g. iOS8.1]
Browser  chrome [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Hi @siddhi-244 yeah sure! go ahead! we'll assign you on this😊

Thank you!😊


build: properly ship typing files

Now ships the typing files properly
No longer pushes the dist/ and types to the Git repository.
Changes all source-files from CRLF to LF (I know this makes the PR huge)

@DovydasNavickas Would it be possible to get a release for the fixed typings? We are trying to switch to the latest version of scss-bundle inside of Angular Material.
Fixes #25

I've already shipped the scss-bundle@beta with .d.ts files added properly.
And for the pull-request.. Changing the line-endings in the same commit makes it impossible to review it, because every single line has been updated and seeing actual change is... Well, impossible.
Is there any particular reason you need LF endings, though?
dist and @types files are already published that way. Why do you need src files to be LF too?
https://github.com/SimplrJS/scss-bundle/blob/master/package.json#L10
And
https://github.com/SimplrJS/scss-bundle/blob/master/package.json#L13

And for publishing dist and @types into GitHub, there's a reason:
you can install your npm package from GitHub repo and even particular branch, which makes easier consumption of the package.

@DovydasNavickas Here is a trick for reviewing such PRs:

https://github.com/SimplrJS/scss-bundle/pull/26?w=1

I changed the LF file-endings because I saw that you are trying to ship the library with LF line endings and my Git setup automatically fixes inconsistent line-endings (http://adaptivepatchwork.com/2012/03/01/mind-the-end-of-your-line/)
I see the point of that, and it makes sense. It's just not a best-practice to push built-stuff to the Github repository. As the name says, Source Control Management. There should be only source (http://alblue.bandlem.com/2011/03/git-tip-of-week-ignoring-build-output.html)
On Material 2 we do similar things. We just have a script that publishes the build artifacts into a different repository (just for builds - keeps the repo clean).
Anyway, thanks for releasing. I filed the PR because I wanted to help you. I feel like it' was not very welcomed.

It's not that it is not welcomed 😄  I've had already released the package with @types published seconds before your PR.
All of the help to make the package better is more than welcome. Thanks for the efforts, really! 👏

No problem. I know the PR might have felt opinionated, but it was really just to share some of the things that we experienced on Material 2.
It's your project and your decision in how you want to ship stuff. Thanks again.

No problems! If you need anything else - fill the issues and we'll sort it out together! 😄


DOC: fix docstrings of query_ball_tree and query_pairs of spatial.KDTree and spatial.cKDTree

What does this implement/fix?
I found some minor doc issues of spatial.KDTree and spatial.cKDTree.
I think current docstrings of query_ball_tree and query_pairs of spatial.KDTree and spatial.cKDTree are not good at below points:

docstrings are not consistent between spatial.KDTree and spatial.cKDTree.
query_ball_tree returns indexes of data, but docstring says that it find pairs of data.

So, I fixed docstrings of query_ball_tree and query_pairs of spatial.KDTree and spatial.cKDTree.

Thank you. If you have time, could you please review this PR also #12341 ? I think these functions should have Examples to understand its functionalities easily.

[TODO] After merging this PR and #12341, we should answer this question:
python - Scipy cKDTree query_pairs versus query_ball_tree - Stack Overflow https://stackoverflow.com/questions/47763534/scipy-ckdtree-query-pairs-versus-query-ball-tree

Thanks @AtsushiSakai


Doesn't work in new Azure DevOps

I'm not sure if this is something that is just misconfigured or if it's broken for some other reason, but I'm getting broken behavior in the latest Azure DevOps. When I try to toggle any of the controls, nothing happens and I get this error in the console:
could not parse hash  SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at contributionsHub.tsx:49
    at contributionsHub.tsx:31
    at Object.next (contributionsHub.tsx:12)
    at contributionsHub.tsx:6
    at new Promise (<anonymous>)
    at i (contributionsHub.tsx:2)
    at contributionsHub.tsx:46
    at Array.<anonymous> (contributionsHub.tsx:64)
    at contributionsHub.tsx:31

Sometimes it seems to work though, but when I toggle on the changesets option, I get a ton of 404 errors in the network log.

Is this a known issue or something I've done wrong configuring it?
Thanks for an otherwise fantastic plugin!

The unexpected end of json input means that you don't have a filter in the url, I suppress that error when the hash is just "".
The changsets 404 are likely b/c you are using the all projects option with out using tfvc for any of them this is expected and should be handled by the extension.
I can you help me understand what you mean by nothing happening?

No data for current user? Any user?
freezes when loading - never stops the spinner?
takes too long to load but loading eventually?


Update readme in sample project

Pull Request Test Coverage Report for Build 66

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 24.322%

Totals

Change from base Build 64:
0.0%

Covered Lines:
502

Relevant Lines:
2064

💛  - Coveralls


[wip] Fixes for Integrating KServe with Openshift

What this PR does / why we need it:
This adds the following fixes for running KServe on Openshift:

Adds the capability to inject custom annotations to the ksvc required by the Openshift Serverless (deploys Knative Serving) and Service Mesh Integration.
The annotation for example  serving.knative.openshift.io/enablePassthrough: “true” needs to be added at the ksvc level for inference services and graphs. This will not allow to add arbitrary annotations, thus should not change current semantics.
Adds the ability to run the storage injector with user id 1337 in order to solve the issue when Istio cni and dns proxy are enabled.
Right now the security context is copied from the user container but we cant use the same user id there for many reasons eg. is not allowed, security etc. The latter applies if we use pod security context or some other workaround.
Note: In a future PR we should be able to setup the Knative Serving init-containers feature flag and avoid the custom injection done or provide some template to allow the user to configure that part.

Note: We plan to update the  guide for running KServe on OCP with Service Mesh but also with Kourier in a subsequent PR.
Type of changes
Please delete options that are not relevant.

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[X] This change requires a documentation update

Feature/Issue validation/testing:
Tested on OCP 4.12 with the following inference service:
oc apply -n test -f - <<EOF
apiVersion: serving.kserve.io/v1beta1
kind: InferenceService
metadata:
  name: sklearn-from-uri
  annotations:
    sidecar.istio.io/inject: "true"
    sidecar.istio.io/rewriteAppHTTPProbers: "true"
    serving.knative.openshift.io/enablePassthrough: “true”
spec:
  predictor:
    sklearn:
      storageUri: https://github.com/skonto/serverless-guides/blob/main/kserve/kfserving-examples/models/sklearn/1.0/model/model.joblib?raw=true
EOF

The manager deployment was started with the right env var.
Special notes for your reviewer:
No
Release note:

 Openshift integration improvements.

@yuzisun gentle ping.

/assign @yuzisun

TODO: support scenario where OCP SM uses a uid other than 1337 to run the Istio side car.

TODO: support scenario where OCP SM uses a uid other than 1337 to run the Istio side car.

We could make it configurable? The default in Istio is 1337, but I think users could overwrite it.

We could make it configurable? The default in Istio is 1337, but I think users could overwrite it.
Yes that is my idea too given that OCP requires a project based id that varies.

I have updated the PR. I am using an annotation to pass the uid for the storage initializer.
This can be refactored if a more generic solution is added for adjusting that container properties.
The annotations on Openshift can be used as follows:
kubectl apply -n test -f - <<EOF
apiVersion: serving.kserve.io/v1beta1
kind: InferenceService
metadata:
  name: sklearn-from-uri
  annotations:
    sidecar.istio.io/inject: "true"
    sidecar.istio.io/rewriteAppHTTPProbers: "true"
    serving.knative.openshift.io/enablePassthrough: "true"
    serving.kserve.io/storage-initializer-uid: "1000720001"
spec:
  predictor:
    sklearn:
      storageUri: https://github.com/skonto/serverless-guides/blob/main/kserve/kfserving-examples/models/sklearn/1.0/model/model.joblib?raw=true
EOF

@yuzisun pls review, this is meant to make the Openshift guide work out of the box.

@alexagriffith @yuzisun gentle ping.

@alexagriffith and I am not too familiar with OpenShift, @ckadner can you help review this PR?

@skonto Can you help sign off the commit following https://github.com/kserve/kserve/pull/2853/checks?check_run_id=13400347618  ?

@yuzisun I think its ready now.

@yuzisun , @alexagriffith would you mind taking another look? We'd like to do some additional patching in opendatahub-io/kserve which is based on these changes.

@yuzisun , @alexagriffith would you mind taking another look? We'd like to do some additional patching in opendatahub-io/kserve which is based on these changes.

Looks good, do we need more documentation updates?

Looks good, do we need more documentation updates?

Yes we should definitely update https://github.com/kserve/kserve/blob/master/docs/OPENSHIFT_GUIDE.md#prerequisites. Is it ok if I do a followup PR for this?

Thanks @skonto @ReToCode ! We are including this to the upcoming 0.11 release
/lgtm
/approve


zettlr: 3.0.2 -> 3.2.0, respect NIXOS_OZONE_WL

Description of changes
Updates Zettlr to 3.2.0. Now uses NIXOS_OZONE_WL for Wayland displays.
https://github.com/Zettlr/Zettlr/releases/tag/v3.2.0
Closes #340432
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@Aleksanaa @tfmoraes any update on this? Would it be possible to merge this into unstable or unstable-small as a hotfix for #340432?


AmazonEsRepository.java:57-58: Implement the delete page knowledge....

The puzzle 250-3323e69b (from #250) in src/main/java/com/amihaiemil/charles/aws/AmazonEsRepository.java (lines 57-58) has to be resolved: "Implement the delete page knowledge. We have the repo method and unit test for it. Continue with the language, knowledge and steps."
The puzzle was created by amihaiemil on 05-Sep-17.
Estimate: 60 minutes, role: IMP.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

done and waiting release

@charlesmike please delete this page

@charlesmike please delete this page

@amihaiemil Some steps failed when processing your command. See logs for details.
Try again and if the error persists please, open an issue.