Can kestrel support long polling?

I tried a simple request and an empty handling logic without any modification to HttpContext. It responded automatically, however, with a 500 Internal Server Error response.
Can I handle long polling requests by hanging them at the server side, and generating responses at later times?

Sure it can. What does your code look like.

My code is in a simplest form for utilizing Kestrel. Could you please help me out?
public class MyClass : IHttpApplication<HttpContext>
{
    readonly KestrelServer server;
    ...
    public void Start()
    {
        server.Start(this);
        ...
    }

    public async Task ProcessRequestAsync(HttpContext context)
    {
        // my handling logic
        // I want to hang the long polling context and send a response later
        ...
    }
}

That doesn't look like ASP.NET. Kestrel isn't really made a first class standalone API. I suggest you use a regular ASP.NET application.

Thanks for your comments.
I think that the nature and lifecycle characteristics of a HttpContext object should remain exactly the same, no matter it is used in a ASP.NET wrapping or directly as in my code.
So how to do long polling in a standard ASP.NET way? as in the following code:
static void HandleSomething(IApplicationBuilder app)
{
    app.Run(async context =>
    {
        // I want to hang the long polling context and send a response later
    });
}

BTW, We're using Kestrel in development of our (microservice framework), where the ASP.NET approach is not preferable.

I think that the nature and lifecycle characteristics of a HttpContext object should remain exactly the same, no matter it is used in a ASP.NET wrapping or directly as in my code.

Sure, I just don't see why you'd avoid ASP.NET. You're not saving anything. Just making it harder for yourself to plug components into the pipeline.

So how to do long polling in a standard ASP.NET way? as in the following code:

Return an incomplete task and set the task as complete when you want end it.

Thanks again!
Our framework is to create a clustered environment, we avoided ASP.NET to gain more control over server startup and flexibility of module deployment. Concerning some of the useful components such as response cache, we have built custom equivalents that are more integrated with the framework. It seems ASP.NET pipeline cannot help a lot so far.
But yes, we'll take your suggestion into account, as we may exploit more ASP.NET goodies

Our framework is to create a clustered environment, we avoided ASP.NET to gain more control over server startup and flexibility of module deployment. Concerning some of the useful components such as response cache, we have built custom equivalents that are more integrated with the framework. It seems ASP.NET pipeline cannot help a lot so far.

I actually took a look at the code,and you're using most of ASP.NET so I'm not sure what you think you're avoiding 😄. But to each his own.
Just FYI, you can use the WebHostBuilder without a Startup class and can configure the pipeline inline.

you can use the WebHostBuilder without a Startup class and can configure the pipeline inline.

Nice to see a little :heart: for the "NUTJOB" startup pattern. :smile: :smile: :smile: https://gist.github.com/GuardRex/f40f1b1414e175a6514f

Return an incomplete task and set the task as complete when you want end it.
Could you please show some code?

@hismichael See TaskCompletionSource<TResult> and Creating Tasks.

My original goal is to do HTTP long polling, question I still have is how to send back response whose content is given by another task at a later time.

Okay, I've tried it successfully by hanging one task and synchronously sending response from another task, with the HttpContext.Request.Body.Write() method.

Great!

Yeah don't do that... Use HttpContext.Request.Body.WriteAsync() particularly with long polling; use the Async write.

Just as an aside, if you want some code I've also written an SSE demo here, which is a standard ASP.NET/MVC app. It uses an infinite-ish loop that async awaits data on a threadsafe queue in a subscriber fashion, and pushes this down with the aforementioned HttpContext.Request.Body.WriteAsync(). EventSources are a little different than long polling, but the concept and code is essentially the same.

To me, your code demonstrates a slightly different approach for long polling, that can be all the way traced to the SemaphoreSlim.WaitAsync() method. I tend to prefer this arrangement because it doesn't need to return an "irregular" task to Kestrel's socket processing loop.  I may try both and see a tiny benchmark comparison.

What is an irregular task? Also, why was this bug reopened?


Swift 3

The framework should be converted to swift 3 syntax.

Hey @rugheid, I just finished the Swift 3 compatibility.
I'm still having some problems to push it to CocoaPods, so If you use CocoaPods, please use the following:
 pod 'EZLoadingActivity', :git => 'https://github.com/goktugyil/EZLoadingActivity.git'

Perfect!

Just created the new version with it. Heres how to install it with cocoapods:
pod 'EZLoadingActivity' #Stable release for Swift 3.0

pod 'EZLoadingActivity', :git => 'https://github.com/goktugyil/EZLoadingActivity.git' #Latest release for Swift 3.0
pod 'EZLoadingActivity', '~> 0.8' #For Swift 2.2


Only send completed references over the API

We were sending all references, including ones that had been cancelled
or had no feedback.
Context
Pointed out by an HEI 😬
Changes proposed in this pull request
Put a scope on the application_references in the API

Could we have caught this in another way?

I think if we were running our own client we would have noticed pretty quickly


Fix the Starky bot with the Starkscan API and apply this to our discord

Starky bot is not working, make it work in production on our discord

Starky is back to work on both goerli and mainnet networks.
The roles of a user are going to be refreshed when:

he connects his wallets
he makes a tx on the starknetId  (in our case) contract
he uses the /starky-refresh command

So if a user made a tx before this update, this won't refresh his roles. I'll try to work on a new update which will add more indexers which will continuously reindex data up to last year or something like that (In addition to the indexers which process all new incoming tx) so the user would also get its roles refreshed multiple times if he did a tx in this period of time

he makes a tx on the starknetId (in our case) contract I don't understand this

he makes a tx on the starknetId (in our case) contract I don't understand this can you explain a bit more

If the user makes a transfer, a mint, or a burn of a StarknetID NFT, this will refresh its Discord roles

Nico fixed everything here


Output is not using camel case

Fix for https://github.com/visualeyes/halcyon/issues/49
Pass serializer settings to JsonSerializer.

Cheers


Version upgrade for tools used in project

Software
Version
Purpose
End of Support

Docker
19.03
Containerization
8/1/2021

Kubernetes
1.17.3
Automate   the deployment, scaling, and management of containerized applications
13/1/2021

Helm
2.17.0
Kubernetes   package manager
28/11/2020

Python
3.9.16
Programming   language
31/10/2025

Tornado
6.3.3
Framework   used
NA

MariaDB
10.3
Database   management system
25/5/2023

MongoDB
3.6
NoSQL   database
30/4/2021

Redis
7.0.9
In-memory   data structure store
29/7/2024

ELK
7.16.2
Logging   and analytics
NA

etcd
3.2.13
Key-value   store for distributed systems
28/3/2021

Grafana
8.2.1
Data   visualization and monitoring
9/6/2023

Nginx
1.17.1
Web   server and reverse proxy
20/4/2021

InfluxDB
1.3.1
Time-series   database
2/11/2022

Apache Spark
3.3.0
Cluster-computing   framework
9/12/2023

Ubuntu
20.04
Operating   system
2/4/2030

as most of tools used reached EOL is there a plan for upgrade activity in the main branch

Hi @saileshsp, we have a plan to update tools verisons in december-january. Information about this will be indicated in the upcoming releases release notes.


Investigate: How much overhead is there from remote vs colocated nodes

Try out meta node co-located vs not.
Measure throughput overhead.
Measure network overhead (how? any tools we use to measure this currently?).

Motivation:

kube-bench and standalone bench seem to have difference performance results.
The main difference AFAIK is that they are deployed differently:

kube-bench has a node different on a different pod.
Each pod has a dedicated machine.
standalone-bench all nodes colocated on same machine.

It could be also be interaction between other nodes as well.
Thanks to @lmatz for highlighting this.

Can try in kube-bench by hacking pod affinity, such that all pods will run on same node.
If throughput is better, this indicates that there is some overhead from remote setup.

No longer investigating. Recent results from nexmark bench show that there was a performance discrepancy due to misconfiguration of the workload generator. See https://github.com/risingwavelabs/risingwave-test/pull/326/files which fixes it.


[rust] Header comment compacted, fix invalid JSON in header.

Ref https://github.com/quicktype/quicktype/issues/516

@krk could the header comments be line comments, each starting with //  as we use in other languages? Would this be conventional for Rust?

Line comments are preferred in API docs according to this RFC: https://github.com/rust-lang/rfcs/blob/master/text/0505-api-comment-conventions.md#use-line-comments


Minor tweaks to https://github.com/agibralter/ts-resque-delta/pull/12

Ok, I've recreated https://github.com/ryansch/ts-resque-delta/pull/2.

Actually, no this is a bad pull. Wrong commmit range.


error MSB4801: The task factory "CodeTaskFactory" is not supported on the .NET Core version of MSBuild

Hi Guys,
I'm facing below error when I run command "dotnet test.\SampleAPITest.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura /p:CoverletOutput="./TestResults/Coverage/" to run test cases.
D:\Projects\VSTS\SampleAPI\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props(31,5): error MSB4801: The task factory "CodeTaskFactory" is not supported on the .NET Core version of MSBuild. [D:\Projects\VSTS\SampleAPI\SampleAPI\SampleAPI.csproj]
D:\Projects\VSTS\SampleAPI\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props(31,5): error MSB4175: The task factory "CodeTaskFactory" could not be loaded from the assembly "C:\Program Files\dotnet\sdk\3.1.300\Microsoft.Build.Tasks.Core.dll". The task factory must return a value for the "TaskType" property. [D:\Projects\VSTS\SampleAPI\SampleAPI\SampleAPI.csproj]
Below are the project details:
Projects are based on .Net Framework 4.7.2

SampleAPI (WebAPI)
SampleAPI.Test (Test Project)
Project contains reference of "SampleAPI" - to write the test cases of Controller.

Other details:

To generate code coverage and reports, I've added reference of Coverlet in the test project.
Added MSBuild.Microsoft.VisualStudio.Web.targets in WebAPI project.
Already added "RoslynCodeTaskFactory" 2.0.7

Could you please guide me how to resolve the error?
Thanks,
Niyati

It looks like the package Microsoft.CodeDom.Providers.DotNetCompilerPlatform is using CodeTaskFactory not RoslynCodeTaskFactory.  Target owners need to update their targets to use the new task.


Fixes issue #517

entry_block_to_construct_ maps an entry block to its construct. The key
in this map (the entry block) is not unique, and therefore the entry for
the continue construct gets overwritten when the selection construct is
discovered.
Since a given block may be the entry block of different types of
constructs, the (basic_block, construct_type) pair should be able to
uniquely identify the construct.

Verified that it fixes the issue that the VK CTS was running into.
Side note: To avoid this from happening again:

I will be running CTS on every PR on spirv-tools.
I am also writing a unit test that exercises the code that caused this crash.

The code change looks good.  I'd like to see a followup CL with a test exercising this case.  I'd rather we catch this bug in our own test suite rather than in downstream Vulkan CTS.

Squashed and pushed into master as 109ce225c9


Initial stab at implementing Atomic based on GreeGeer's code

Initial stab at implementing Atomic based on GreeGeer's code
(as I remember it)
This commit adds an atomic block
atomic a <- b do
  a ! atomic()
  b ! non_atomic()
end

which is desugared into
let tmp = b in
  atomic a <- tmp do
    atomicStart(tmp)
    a ! atomic()
    b ! non_atomic()
    atomicStop(tmp)
  end

where a has type Atomic(T) if b has type T
Atomic(T) implies StackBound(T)
In the optimiser, atomic blocks are dropped and the code that gets
compiled is ultimately
let tmp = b in
  let a = tmp in
    atomicStart(tmp)
    a ! atomic()
    b ! non_atomic()
    atomicStop(tmp)
  end

In the CodeGen pass, there are now TWO call nodes:
Call (the old one)
AtomicCall (the new one)
In Expr.hs, (possibly incomplete -- not much testing!) we check the
target type of message sends and if we find a message send to a target
whose type is Atomic, we use AtomicCall, else Call
Finally, in the PrettyCode pass, we output AtomicCall and Call nodes
exactly the same way, except that the AtomicCall inserts a ATOMIC
comment in the C source.
TODOs:

Edit Std.enc and change functions startAtomic and stopAtomic (by
dropping to C level withing Encore) to send the start and stop atomic
messages. There is quite likely a better way to do this, but this felt
like an OK start just to get something going.

Change the code generation so that the C function that get generated
for each possible message send takes an additional boolean parameter
"atomic" and if that is set to true, set the corresponding flag in
the messages sent to the actor.

...

Jag uppmuntrar att kolla på diffen så du ser var jag har pillat!


feat(protocol): add impact data

This adds support for motion impact data following the implementation
in https://github.com/nrfconnect/sdk-nrf/pull/7946.
Signed-off-by: Maximilian Deubel<EMAIL_ADDRESS>

I understand that the new firmware feature has two values / events?
1. [Impact](https://github.com/nrfconnect/sdk-nrf/pull/7946/files#diff-86cef2135b9163a292238fa403527140e68b48ecd952e2e4e18e26c3edd0f237R94) (which is expressed in this PR)

2. [Peak magnitude](https://github.com/nrfconnect/sdk-nrf/pull/7946/files#diff-86cef2135b9163a292238fa403527140e68b48ecd952e2e4e18e26c3edd0f237R90)

Can we add the peak magnitude as well?

Both are coupled. Impact events always carry a peak magnitude value to describe how strong the impact was. This is the value we see here.


Unable to install library

ERROR: Error [WinError 225] Operation did not complete successfully because the file contains a virus or potentially unwanted software while executing command python setup.py egg_info
ERROR: Could not install packages due to an OSError: [WinError 225] Operation did not complete successfully because the file contains a virus or potentially unwanted software
I got this kind of error while I am install chatterbot library.


Add single source of version

Description
Reference:
https://packaging.python.org/guides/single-sourcing-package-version/
Fixes #236
Type of change
Please check all relevant options.

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

Testing
Tested install, but wasn't sure you'd want to add a unit test for this.
Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

I have just noticed that there is a new warning by LGTM about a redundant else. Could you please take a look?

Fixed. Thanks for the review


Merge locking and vendor tool fixes

I'm submitting this PR on behalf of @jen20 and will review his changes in this PR.

Abandoning, merged to master.


WIP: SilverBullet pivot to become an offline-first PWA

SilverBullet has rapidly increased in terms of complexity over the last month by adding a desktop and mobile app in addition to the server mode. The goal of these additional app distribution models was the following:

Simplicity of deployment installation: simply download the app and run it (no need to run a server from a command line)
Offline mode without the need for a connection to a server
Deeper integration into the OS (so far no such features have been added)

So now we have:

Desktop apps for Mac, Windows and Linux
Mobile app for iOS (and you can build it yourself for Android)

However, this has lead to a lot of added development, build and deployment overhead. Since this is an open source, volunteer project, my time is limited and I struggle to test and maintain all of this.
Therefore the proposed direction here is to pivot the project (back, in a sense) to a PWA, but adapted to be fully offline capable.
To support the offline-capable part, the architecture shifts a little bit:

All content (pages and attachments) are now synced to the browser and kept in IndexedDB. A copy is kept on the server (as files in a folder, nothing changes there) and the previously developed sync engine is now used to keep the copy in the browser and server in sync whenever there is connectivity. The server effectively becomes a "dumb" file store.
All plug code execution (such as indexing) now happens in the browser only (a lot happened on the server in the past).

From the user perspective not much changes:

the UI remains the same (although there is now an indication of whether its is connected to a server or not).
upon first launch, in the background all your content will be synced into your browser's database. While this is happening (best way to follow along for now is to watch the JavaScript console) not all content will be available yet (links may appear in red).

A few implications:

This branch removes the desktop and mobile apps. They will no longer be maintained.
To run SB in offline mode, it needs to run either on localhost or via HTTPS, because otherwise service workers (which serve the files offline) are not available — this is a browser security "feature".

Since this is a big shift, I took the liberty to introduce another big infrastructural change: plugs are now no longer compiled to (big) JSON files, but to (much smaller) JavaScript bundles. In principle, all that needs to happen is to recompile existing plugs using silverbullet plug:compile and list the .plug.js in your PLUGS file.
This local branch is continuously deployed to https://local.silverbullet.md
To test this branch:
deno run -A --reload https://local.silverbullet.md/silverbullet.js <your-pages-path>

You can delete the "data.db" file, because the server no longer keeps index data.
If you get into a weird state, you can flush all your caches and copies and stuff by visiting http://localhost:3000/reset.html

I think the correct command for testing is:
deno run -A --reload https://local.silverbullet.md/silverbullet.js <your-pages-path>
(deno expects options before the script argument.)

@jimt thanks! Fixed in the description


Container tests

Coverage increased (+40.0%) to 100.0% when pulling 689bb5fafa72681a9ebdfc6a8693c6d7b7192028 on mh-container-tests into e94ce9a6a4a7ea090163c0f0c45b1669bf36e82d on master.


Query from contracts should not require to be logged in

Description
Currently, you can't execute read function from contracts without being logged when is not necessary.
Fixed here

Tested successfully and merged to dev, good job!


Append framework name to Carthage plist bundleID

Fixes #5299

Note: still need to test this :) but should do the trick.

So while it fixes one of the symptoms of #5299, I don't think it will actually fix it.


chore: add and apply naming convention

So, with this, the type aliases will need to be a bit more consistent and concise.

No I prefixes for interfaces, since it's redundant.
Not allowed:
interface IInterface {}

Allowed:
interface Interface {}

No Type suffixes for exactly the same reason.
Not allowed:
interface TypeType  {}

Allowed:
interface Type {}

Finally, non-type related.
Not allowed:
obj = { UPPER_CASE: property };

on grounds of weirdness.  They were only used by react-hotkeys and it seems to work just fine without them.

@ShaunSHamilton I took out some unused types.  Could you confirm if that's okay/not okay?
Also, https://github.com/freeCodeCamp/freeCodeCamp/pull/44010 covers some of the same ground and should be merged first so they don't have to deal with all the conflicts I will have created!


Make QueryString{Encoder,Decoder} even faster

Motivation:
@nitsanw and @franz1981 came up with an even faster way to convert a
character into a primitive value:

Allocate an array as long as 65536.
Use a character as an index.

No need for boundary check at all because a char never exceeds
65535 by definition.
Increased cache miss may be a concern, but I guess it will not
matter because most characters will be in ASCII range anyway.

Modifications:

Use a 65536-byte long lookup table for decoding a hexdecimal nibble
and determining if a character needs to be percent-encoded.

Result:

Nice performance boost

Before (unsafe array access):
Benchmark                                    Mode  Cnt       Score      Error  Units
QueryStringDecoderBenchmark.armeriaAscii    thrpt   50  377588.237 ± 5587.696  ops/s
QueryStringDecoderBenchmark.armeriaLong     thrpt   50   19582.624 ±  457.648  ops/s
QueryStringDecoderBenchmark.armeriaMixed    thrpt   50  119342.608 ± 2209.684  ops/s
QueryStringDecoderBenchmark.armeriaUnicode  thrpt   50   86064.748 ± 2097.511  ops/s
QueryStringEncoderBenchmark.armeriaAscii    thrpt   50  844493.147 ± 1773.086  ops/s
QueryStringEncoderBenchmark.armeriaLong     thrpt   50   21028.206 ±  927.736  ops/s
QueryStringEncoderBenchmark.armeriaMixed    thrpt   50  226818.284 ± 7212.655  ops/s
QueryStringEncoderBenchmark.armeriaUnicode  thrpt   50  216179.147 ± 2157.503  ops/s

After (64k lookup table):
Benchmark                                    Mode  Cnt       Score      Error  Units
QueryStringDecoderBenchmark.armeriaAscii    thrpt   50  385508.751 ± 5165.823  ops/s
QueryStringDecoderBenchmark.armeriaLong     thrpt   50   20252.521 ±  434.238  ops/s
QueryStringDecoderBenchmark.armeriaMixed    thrpt   50  129201.709 ± 4710.201  ops/s
QueryStringDecoderBenchmark.armeriaUnicode  thrpt   50   88696.118 ±  418.647  ops/s
QueryStringEncoderBenchmark.armeriaAscii    thrpt   50  890959.585 ± 7127.986  ops/s
QueryStringEncoderBenchmark.armeriaLong     thrpt   50   22346.938 ±  527.001  ops/s
QueryStringEncoderBenchmark.armeriaMixed    thrpt   50  227038.288 ±  926.122  ops/s
QueryStringEncoderBenchmark.armeriaUnicode  thrpt   50  212527.522 ± 2766.579  ops/s

Notes:

Decoder.armeriaAscii() shouldn't be affected by this change.
Encoder.armeriaAscii() should be most-affected by this change.

The result is somewhat noisy but Decoder.armeriaUnicode() and Encoder.armeriaAscii() show obvious win, so I think we can say this change improves throughput.
What's interesting is that we lost for Encoder.armeriaUnicode(), which might be due to increased cache miss.

@anuraaga any news re https://github.com/line/armeria/pull/2336#discussion_r360785367? I still don't know if you have found that we have unwanted bounds checks somewhere: in my experiments it doesn't seem the case....

@franz1981 I haven't done any more investigation and am not planning to right now since not sure what else to try :)
I was just printing assembly for the code snippet I pasted, which matches the pattern for hex decide, and saw the branch. This doesn't surprise me since bytecode shouldn't see any difference between int and char for local variables on the stack, everything is just an int at the bytecode level (I'm guessing the char param comment I see in the output is from the classloader trace and not the JIT).
As in practice the bounds check will always pass, I guess it's hard to write a benchmark since the branch will always be correctly predicted. That's probably enough reason to not worry too much.


Crash with Sodium 0.3.3 on 1.17

Using IP 0.29 alongside Sodium 0.3.3 causes the game to instantly crash, log here, this is an issue since Iris targets 0.3.3 now

Duplicate of #889, which has much better information.


Fix prometheus cpp inconsistent hash

The hash value from GitHub .tar.gz can change, but there is no change to the release. This fix is to download the release directly from GitHub release commit, instead of from .tar.gz file.

Seeing the same issue locally.


sameboy: 0.14.6 -> 0.14.7

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/sameboy/versions.
meta.description for sameboy is: "Game Boy, Game Boy Color, and Super Game Boy emulator"
meta.homepage for sameboy is: "https://sameboy.github.io"
meta.changelog for sameboy is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
/nix/store/5fdvfgzmrm78s7bzvs87ldss558x3a7a-sameboy-0.14.7/bin/.sameboy-wrapped passed the binary check.
/nix/store/5fdvfgzmrm78s7bzvs87ldss558x3a7a-sameboy-0.14.7/bin/sameboy passed the binary check.
0 of 2 passed binary check by having a zero exit code.
2 of 2 passed binary check by having the new version present in output.
found 0.14.7 with grep in /nix/store/5fdvfgzmrm78s7bzvs87ldss558x3a7a-sameboy-0.14.7
found 0.14.7 in filename of file in /nix/store/5fdvfgzmrm78s7bzvs87ldss558x3a7a-sameboy-0.14.7

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

3 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
1 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
docbookrx
sameboy

Instructions to test this update (click to expand)

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

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

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

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

1 package built:

sameboy

Maintainer pings
cc @NieDzejkob for testing.

Launches.

Launches.


Sagemaker example

Hi there, is there any worked example for running pytriton on Sagemaker? I see the TritonConfig class has parameters like allow_sagemaker, sagemaker_port, and such; do you have any (basic) instructions on how to use them to share please?

Hi @enricorotundo. We currently do not have an example how to use PyTriton with SageMaker. However what we can suggest is to follow this guide of running own model: https://github.com/aws/amazon-sagemaker-examples/blob/main/advanced_functionality/scikit_bring_your_own/scikit_bring_your_own.ipynb
and see how the SageMaker environment flags are matched on TritonConfig in here: https://github.com/triton-inference-server/server/blob/main/docker/sagemaker/serve
Based on the tutorials and the Triton serve the minimum what you would need is:

server.py -  with implementation of serving of your model
serve - file definition how to execute the server.py
Dockerfile to build the image with all necessary dependencies and files

I believe having that you can create the Docker image and use it to serve the model.
Please mind, we haven't tested this path yet.

PyTriton brings Triton to user environment. You can simply write an inference function and start serving your model directly from your code. This is core difference between PyTriton and Python Backend.


Mention complex number support in README.

Mention standard complex number in README, with functionals available.
Update formatting for torch.hann_window

@cpuhrsch @jamarshon -- thoughts?

Yes I think this is a good idea to mention the dimensions of complex tensors until we move to a better solution (dtype, etc.) https://github.com/pytorch/audio/pull/131#issuecomment-508853162


Allows you to run the whole container as a normal unprivileged user

(if you take care of file permissions yourself)
Based on the logic in https://github.com/hashicorp/docker-vault

@seanturner83 sounds good. Please take a look at https://github.com/uphold/docker-litecoin-core/commit/d0421046c1cf860da8329e0e3a517b034e28e8d2.


[CI] Fix test_macos with recent bash for nix-shell

Fixes the original issue of #10110 by installing bash from brew:

The actual error is /nix/store/r0n4qzr800498l23cq80mg0k03j3aqms-cctools-binutils-darwin-wrapper-927.0.2/nix-support/setup-hook: line 138: ${role_pre}${cmd^^}=${cmd}: bad substitution. Looks like macos ships a really old bash version (3.2) and the substitution requires at least 4.0. So that should be easy to fix, just install a recent bash.

Also moves nix initialization to prepare_build stage.

Can this get an approval? This is necessary to make CI reliable on macos again.


Add GIT_ASKPASS to the list of non filtered variables

Provide a detailed description of the proposed feature
On our CI we want use custom homebrew and homebrew-core mirrors which are hosted on our private repositories. But currently there is no way to authenticate without saving git credentials on the disks of our machines.
One good solution I found (see The Vanilla DevOps Git Credentials & Private Packages Cheatsheet) is to use GIT_ASKPASS, but this variable is filtered in brew script.
I would like to add this variable to the list of non filtered variables (ENV_VAR_NAMES).
What is the motivation for the feature?
Provide secure way to authenticate in custom git repos without compromising credentials.
How will the feature be relevant to at least 90% of Homebrew users?
Unfortunately this feature will be relevant to less than 1% of user I think 🙂
What alternatives to the feature have been considered?

Save git credentials in plain text .git-credentials file
Store git credentials in macOS Keychain

Refer to The Vanilla DevOps Git Credentials & Private Packages Cheatsheet

I had an experiment with this PR and realise that this approach needs forward another env var if askpass script use it for auth like this:
cat ~/.git-askpass
#!/usr/bin/env bash
echo "$GIT_AUTH_TOKEN"

I had an experiment with this PR and realise that this approach needs forward another env var if askpass script use it for auth like this:

This is why I think this is a bad fit. There are other methods of Git authorisation that don't require this variable. Passing on this, sorry.

Thanks for reply! 🙂
Can you tell any method that don't require saving credentials on disk?
We can set core.askpass in git config, but Homebrew won't pass the environment with auth token to askpass script anyway.
Do you think that storing credentials in plain text on non-virtualized CI machines is a good idea?

We can set core.askpass in git config, but Homebrew won't pass the environment with auth token to askpass script anyway.

Try calling the environment variable HOMEBREW_GIT_AUTH_TOKEN instead of just GIT_AUTH_TOKEN.


refactor(dynamic_scale_down_mgr): quote the cluster_id to deal with the case of an empty string

…

Description

Verification Steps

Checklist (Definition of Done)

[ ] All acceptance criteria specified in JIRA have been completed
[ ] Unit and integration tests added that prove the fix is effective or the feature works (tested against emulated and non-emulated OCM environment)
[ ] Documentation added for the feature
[ ] CI and all relevant tests are passing
[ ] Code Review completed
[ ] Verified independently by reviewer
[ ] All PR comments are resolved either by addressing them or creating follow up tasks
[ ] Required metrics/dashboards/alerts have been added (or PR created).
[ ] Required Standard Operating Procedure (SOP) is added.
[ ] JIRA has been created for changes required on the client side

As a side comment, the addition of quotes to a value in Go when using Printf can be done by writing '%s or equivalently using %q

As a side comment, the addition of quotes to a value in Go when using Printf can be done by writing '%s' or equivalently using %q

Thanks. TIL. I'll go with this one.


Ensure CubicCurves with the default value have at least one CubicSegment

Objective

Fixes #11209 .

Solution

The CubicCurve::position function assumes the given CubicCurve has at least one CubicSegment. However, a CubicCurve with the default value does not have any CubicSegment.
Implement the default function for CubicCurve which returns a CubicCurve with one default CubicSegment.

what does CubicCurve::default() return?

what does CubicCurve::default() return?

It returns a CubicCurve having one CubicSegment with a default value.

CubicCurve can't be updated once created... I would prefer to remove the Default impl as it doesn't make sense

Yeah, I don't see CubicCurve::Default being useful, as far as I can read the code it produces a single point curve (all 4 control points are whatever Point::Default returns (I assume [0;0]). Is there a trait bound somewhere that requires this impl?

Closing in favor of https://github.com/bevyengine/bevy/pull/11335


Dedicated page to address all common pitfalls of the library usage

Subject
Documentation request
Description
Coming from personal experience as pandacss newcomer, it's easier to fall to common problems of the library usage, most of the time caused by the misunderstanding of the nature of the library (static generation). This will be more apparent when using preset such as Park UI where it's expected for the end user to extends and/or create derivative components. More often, I was left wondered why the style is not generated/applied as expected and have to skim multiple pages from "Recipes" to "JSX Style Props" etc. just to find what caused this problem.
I suggest to create a dedicated page that aggregates/gathers all common pitfalls of library usage to ease library usage and adoption, something like React docs' "Rules" page.

maybe https://panda-css.com/docs/overview/faq ? would you like to contribute ?


Module 'FSPicker' not found

Hi there - happy to see the UI part of this project on it's way to release.  I'm having issues integrating this project into my existing project or a brand new project.  I had no issues integrating the Filestack pod, but this one is giving issues. I keep getting the "Module 'FSPicker' not found" error.
I'm using XCode 7.3.1 (objective-c) and targeting iOS 9.0.  I've got the latest cocoapods installed.  I've tried using the @import FSPicker syntax, the #import "FSPicker.h" syntax, but just can't seem to get this project running.  I can also import Filestack when I only include the FSPicker pod so I assume it's loading fine, I'm just not able to import the FSPicker module.
Is it possible there's a step missing from the instructions?

Hi @JohnnyCon I've released small fix adding missing FSPicker.h file.
Before the fix you could do #import <FSPicker/FSPickerController.h> to import FSPicker, but after the fix (for naming consistency) import it like this: #import <FSPicker/FSPicker.h>
@import FSPicker; should also work, but you may encounter an issue described here:
http://stackoverflow.com/questions/29620786/import-causes-parse-issue-could-not-build-module

Thank you, that worked.  Ended up using the:
#import <FSPicker/FSPicker.h> syntax


Add missing call to manager Start for dns filter

What does this PR do?
Add a (missing) call github.com/DataDog/ebpf/manager.(*Manager).Start for dns filter. This missing call results in the dns socket filter not getting attached, and raw socket getting all traffic.

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[x] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[x] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[x] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the config template has been updated.

Since this isn't changing any eBPF code, we should leave out the .c file hash changes.


Backport #34322 to release/v1.29.

This is to address https://github.com/envoyproxy/envoy/issues/35985.
Original Commit Message:
Add the ability to bypass overload manager for listeners (#34322)
Commit Message: Add the ability to bypass overload manager for listeners
Additional Description: This flag can be used to disable overload manager on specific listeners where, for instance, we don't want to stop accepting requests. In my company, we implemented a CPU Utilization resource monitor that helps us drop requests when we hit a certain utilization percentage, but there are certain listeners that receive administrative traffic that we don't want overload manager to touch. Another use case is, we want to only throttle ingress traffic but not egress traffic going via Envoy. Another contributor authored #29781, but it has been marked as stale.
Risk Level: Low
Testing: Unit tests & Integration tests added
Docs Changes: No
Release Notes: Add bypass_overload_manager flag to Listener in order to prevent overload manager from taking actions on the traffic going through the said listener. Platform Specific Features:

/lgtm api

Looks like this fails to build?
/wait

Closing this per https://github.com/envoyproxy/envoy/issues/35985


Handle multi-file examples

It could be nice to be able to run multi-file examples as well,
https://doc.rust-lang.org/cargo/guide/project-layout.html
Thank you for a nice subcommand. This is really useful

Glad you found it useful.
I did not know about multi-file examples, it is now implemented and works as with single file examples.
I also implemented running subproject examples in examples directory, technically cargo does not recognize them as examples as they cannot be ran with cargo run --example dir_name but a lot of projects uses them that way.
Thank you for raising this issue.


Fails to connect

I have the app open on android, the devices are paired, but the android app never connects. It just shows the mac address and host name of the pi.

Let's take the Android app out of the equation, and confirm that you can establish a serial port connection over Bluetooth between your Android device and the Raspberry Pi.

Configure Bluetooth to use compatiblity mode, per README.md

sudo nano /etc/systemd/system/dbus-org.bluez.service
Add -C to the line for bluetoothd as follows:
ExecStart=/usr/lib/bluetooth/bluetoothd -C
Optionally, start the serial port service on startup by adding this line after the one above:
ExecStartPost=/usr/bin/sdptool add SP
Save and reboot.

If you did not configure bluez to start the serial port service on startup, do it now:

sudo sdptool add SP

Run the sample bluez serial port server:

sudo python /usr/share/doc/python-bluez/examples/simple/rfcomm-server.py

On your Android device, install a Bluetooth Terminal app, for example this one from Qwerty:

https://play.google.com/store/apps/details?id=Qwerty.BluetoothTerminal

In the Bluetooth Terminal app menu, select 'Connect a device - Insecure' and connect to the Raspberry Pi. You should now be able to send text from the Android to the Pi, which appears on the console. (rfcomm-server.py is receive only; use rfcomm-client.py to send text from the Pi to the Android).

If this is working, try the Android app again, and let me know the result.

I tried running this program, but I encountered a problem, where my obstacle was " File "build/bdist.linux-armv7l/egg/bluetooth/bluez.py", line in advertise_service bluetooth.btcommon.BluetoothError: (13, 'Permission denied')"
can you help me for solution?

hello sir, I have the same issue. I've tried your solution. but i had an error when i was running file rfcomm-server.py.
(raise BluetoothError (*e.args)
bluetooth.btcommon.BluetoothError: no advertisable device).
Please, help me!


Multi-composer creative works

E.g. cadenzas, solo concertos.
MDW.
Insta. Orch. Scholar.

The composer field is a one-to-many relation so multiple composers can be added to a single MusicComposition.


fix(dashboards): set background color to match card rows

set the background color to match the card rows in orderto give a seamless view.

There were the following issues with your Pull Request

Commit: ce12845a0f7ca28b6fcc0b3670d8d0e34011c024
Your subject line is longer than 50 characters

Guidelines are available at https://github.com/fabric8io/fabric8-ui

This message was auto-generated by https://gitcop.com


perlPackages.FCGI: fix cross build

Fixes the cross build of FCGI, somewhat similarly to #48258.

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

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Pushed to staging in 136f528bbb67d69d4c660685236640c344808360


Put quotes around arguments of light.exe when building MSI package

Lack of quotes causes light.exe to fail with paths containing spaces. Fix in file BizTalkDeploymentFramework.WiXSetup.targets
This work item was migrated from CodePlex
CodePlex work item ID: '7840'
Assigned to: 'tfabraham'
Vote count: '1'

[UnknownUser@2/7/2011]
Resolved with changeset 55403.

[UnknownUser@2/21/2013]

[UnknownUser@5/16/2013]


allow passing a third parameter to force multipart

In some situations testing with multipart without actually adding a UploadedFile is necessary, e.g. to mimic a multipart form where no file was selected.

@perlun @junaruga looks reasonable to me. The usecase is realistic and the change fine as well.


Container (docker/singularity) outdated

The docker (or singularity) container and documentation is outdated. Current code can be found in the docker folder.
Docker containers at https://hub.docker.com/u/esmvalgroup
To do:

Update container
Update documentation
Add singularity support (if we need to do anything for this)
Use container on CircleCI
Anything more?

Anything more?

Can you please give me permissions so I can play a bit with the autobuilds?

I added both you @jvegasbsc and @valeriupredoi to the organization

Cheers Bouwe, got the notification, among all the warning emails for Corona :grin: I'll have a go at playing with the tools next week

I can not see neither ESMValTool nor ESMValCore repositories to enable the auto builds.  I can see our cmip6-cmor-tables fork and the tutorial one. Maybe it is an issue with my permissions on that repositories.

This is what I see - I believe that's all we need to see, can you not, Javi?

I can see that, yes. And even I have been able to upload new versions of tool and core. What I can not do is to setup the autobuild because I can not see the GitHub repositories:

Only some people from DLR have administrative permissions on the ESMValCore and ESMValTool repositories. See further discussion in email.

@jvegasbsc Autobuilds are enabled now for master and tags and you should be able to change the settings too.


fix(markLine): symbolOffset incorrectly marked as mandatory

Brief Information
This pull request is in the type of:

[x] bug fixing
[ ] new feature
[ ] others

What does this PR do?
When upgrading the ECharts dependency in Superset from 5.0.2 to 5.1.0, I noticed that symbolOffset in MarkLine1DDataItemOption is marked as mandatory, while it's optional in MarkLine2DDataItemOption. I believe this parameter can be made optional.
Fixed issues

Incorrect type checking

Merging options

[x] Please squash the commits into a single one when merge.

Other information

Thanks for the review @plainheart - is it ok to merge now?

is it ok to merge now?

I think this should be okay.

Btw sorry for not catching this sooner! I meant to test the 5.1.0 release candidate, but I ran out of time before the vote was closed. But anyway, this is mostly a cosmetic issue, so probably not something that requires a new release.


WIREFRAMES 1: Order of Execution

JIRA Issue: https://patternfly.atlassian.net/browse/RHUAP-545
InVision Wireframes: https://redhat.invisionapp.com/share/5D9JPDJXE

@mindreeper2420 shouldnot "Move Up" and "Move down" for a single item appear in the kebob menu itself?

@DhritiShikhar no, as the kabob is only for a small subset of items. Following established UXD patterns, the single movements are located in an action button. The wireframe has been updated with a proper move workflow.

@almighty/uxd how would Move to Top and Move to Bottom behave with pagination (infinite scroll)?
I can think of two options:

Consider the visible screen only - if the page displays 10 items at a time move top/bottom will move the selected item to the top or bottom of these 10 items?
Consider all the work items - if there are 1000 work items, move top/bottom will move the selected work item to the top/bottom of these 1000 items.

@nimishamukherjee I added this to the wireframe comment that you left (thanks!), but I'll add my reponse here as well.
The Move to Top, Move to Bottom action would move the item to the top/bottom of the visible list - if 100 items have been loaded due to scrolling (or screen size), then the items will move to the top/bottom of that visible/loaded list.

Thanks @mindreeper2420

@DhritiShikhar this is explained on Step 5 (screen 6) of the wireframe.


No longer working.

No views are added.

It is working, you just have to wait, i got like 78k views in 10 hours, its not much but if you can implement proxies i think it would work again

It's been 12 hours and 0 views have been added

Im trying to bypass the ratelimit.Check if i make new updates


"The application panicked (crashed)" when trying to run first pass

When running a first pass using the current master AppVeyor build on Windows, I get the following (after setting RUSTBACKTRACE=full):
Backtrace (most recent call first):
  File "<unknown>", line 0, in BaseThreadInitThunk
  File "<unknown>", line 0, in RtlUserThreadStart

The application panicked (crashed).
  no entry found for key
in src\libcore\option.rs, line 1036
thread: main

This is when using the following command line:
rav1e.exe -o tfe-1080p-rav1e-750k-5-2pass.ivf -b 750 --first-pass tfe-1080p.stats tfe-1080p.y4m
I'm going to see if I can find a build that works, and then find when it stopped working.

I was able to confirm when it stopped working.  c00f1556 works, d8b60703 fails.  So the offending commit appears to be:
https://github.com/xiph/rav1e/commit/d8b60703b2557bd937530625593675185504e291

Crash also happens on Linux, and I was able to get this output from a debug build:
Backtrace (most recent call first):
  File "<unknown>", line 0, in core::option::expect_failed
  File "/builddir/build/BUILD/rustc-1.36.0-src/src/libcore/option.rs", line 314, in core::option::Option<T>::expect
  File "/builddir/build/BUILD/rustc-1.36.0-src/src/liballoc/collections/btree/map.rs", line 1807, in <alloc::collections::btree::map::BTreeMap<K,V> as core::ops::index::Index<&Q>>::index
  File "/home/gideon/rav1e/src/api/mod.rs", line 1814, in rav1e::api::ContextInner<T>::guess_frame_subtypes
    self.gop_input_frameno_start[&self.output_frameno];
  File "/home/gideon/rav1e/src/rate.rs", line 908, in rav1e::rate::RCState::select_qi
    ctx.guess_frame_subtypes(&mut nframes, self.reservoir_frame_delay);
  File "/home/gideon/rav1e/src/rate.rs", line 1237, in rav1e::rate::RCState::get_twopass_out_params
    self.select_qi(ctx, output_frameno, FRAME_SUBTYPE_I, None).log_base_q;
  File "/home/gideon/rav1e/src/api/mod.rs", line 732, in rav1e::api::Context<T>::twopass_out
    let params = self
  File "src/bin/rav1e.rs", line 115, in rav1e::process_frame
  File "src/bin/rav1e.rs", line 184, in rav1e::do_encode
  File "src/bin/rav1e.rs", line 305, in rav1e::run
  File "src/bin/rav1e.rs", line 205, in rav1e::main

The application panicked (crashed).
  no entry found for key
in src/libcore/option.rs, line 1036
thread: main

This occurs immediately, so no need to wait for it to encode some frames.

70f1e0c27 is the first bad commit. Looking at the backtrace, two-pass is calling stuff in an order I did not expect when doing that change.


PHP code block without <?php

Is there a way to highlight PHP codeblocks without having <?php at the beginning of the file? I'm using code ERB function. At least GitHub's code blocks allow this behaviour and it's pretty useful for tutorials when not listing a full php file.

I think this is a question for https://github.com/jneen/rouge - this plugin simply ties Rouge into Middleman.

Fair enough, thanks @bhollis

Rouge does support ignoring the opening tags, but it's a setting on the lexer: https://github.com/jneen/rouge/blob/76647eb9e297de11ba3b174a45f1ae1ed4a34f8e/lib/rouge/lexers/php.rb#L21
Unfortunately I haven't been able to figure out how to set that trough middleman-syntax. Any advice @bhollis ?

Hey @bhollis, I'd also be interested in what @realityking is trying to do. I'd rather not have to put <?php at the start of every code example as a lot of the time that's not actually valid for the code im trying to display.
How can I pass the start_inline option to the lexer? I tried:
activate :syntax, wrap: true, lexer_options: { php: { start_inline: true} }

Didn't work 💨

Yeah I got exactly that far and then gave up 😞

https://github.com/middleman/middleman-syntax/blob/master/lib/middleman-syntax/extension.rb#L15 makes it look like this should work. Have you tried this:
activate :syntax, wrap: true, lexer_options: { start_inline: true }

If that doesn't work, what would really help would be a PR to add a failing test case for this situation to this repo.

If you're using fenced code blocks you can use:
```php?start_inline=1

I haven't been able to get the lexer_options to work yet.


Allow Bullet lists without blank line after text

This might not actually be an upstream issue. The HTML generated by martor (our Markdown converter) looks just fine:

The problem seems to be caused by the bottom margin being too high:

So we should be able to fix this in our CSS.


fix: core-util version

Packages impacted by this PR
@azure/identity
Issues associated with this PR
I did not create a issue but this PR to solve the issue right away.
Describe the problem that is addressed by this PR
I tried to update azure/identety to version 4. But internally this packages uses the azure/core-util package. Here it uses the randomUUID. The version 4 requires the core-util in version 1.0.0 which does not include that randomUUID function. This leads to an error since the package manager does not update the core-util package since it was already installed in a lower version e.g. 1.1.0.
This results in an error at runtime, sinde the function randomUUID is not defined.
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Using the version 1.3.0 resolves the issue sinde this version includes the necesarry randomUUID see release notes: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-util/CHANGELOG.md#130-2023-04-06
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[x] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

Would it be possible to release this version to npm?


Passive socket leak after failed command

When running in passive mode, if a command fails to execute for some reason (such as being blacklisted), the socket that was going to be used for the data connection indefinitely in the LISTENING state.
Repro 1:

Run cli with options: node . ftp://<IP_ADDRESS>:2222 --read-only
Using a command-line ftp client, connect to your server and try to 'put' a file. It will fail because the command is blacklisted:

229 EPSV OK (|||1024|)
502 Command blacklisted: STOR

Optionally run another command, such as 'ls' (LIST). Observe that it uses the next passive port (1025) and succeeds.
Run netstat on the server's machine (netstat -nlt on Linux, netstat -nf inet on Mac).

Expected: Node will no longer be listening on the port used for the failed command (1024 in this example).
Actual:

netstat shows port in LISTENING (Linux) or CLOSE_WAIT (Mac) state indefinitely, even after ftp client terminates.
Turning up log level to 'trace' shows that 'Passive server closed' message for that port never appears.

Repro 2 (lower level):

Run cli: node . ftp://<IP_ADDRESS>:2222
telnet localhost 2222 and issue the following commands directly to the server:

USER x
PASS x
EPSV

In separate shell, telnet localhost <port returned by EPSV command> and then close the connection.
Run netstat as above.

Thanks for the report! This is a pretty serious issue so we will get to fixing it ASAP. Any help is appreciated, as well.

I dug a little more and saw that the passive connector does try to shut down when it sees that the socket has been closed. But it looks like the problem is that Node won't send a close or end event while a socket is in the paused state. As an experiment (not a fix, but just to observe the issue), I added a resume to the blacklist check in commands/index.js:
    if (_.includes(this.blacklist, command.directive)) {
      setTimeout(() => this.connection.connector.socket.resume(), 10000);
      return this.connection.reply(502, `Command blacklisted: ${command.directive}`);
    }

Sure enough, running through Repro 1, the socket gets close ~10 seconds after a STOR command fails.


EasyCustomTabsIntentBuilder always requires a connection

Users might not want to open a connection, but only theme the tab.
Make it optional and use CustomTabsIntent.Builder () when EasyCustomTabsIntentBuilder.useSameBrowser was not called.
Or should it be useSameTab ? Needs better understanding of the different constructors.

closed because what? ... please write why on closed issues


Implement native support StringView for REGEXP_LIKE

Which issue does this PR close?

Closes #11910.
Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

cc @alamb

LGTM as well.


wrapper update to CLIc 0.6

Update of pyclesperanto wrapper to CLIc v0.6

https://github.com/clEsperanto/CLIc_prototype/pull/94

Change of strategy, wrapper now only expose CLIc gateway and CLIc data structure respectively in pygateway.hpp and pyImage.hpp. Name can be changed.
The expose structure are then usable in the package pyclesperanto
This breaks the python layer define in _types.py and _clesperanto_gateway.py
For clarity and dissociation, C++ exposed methods are kept in C++ naming convention.
Minimal usage test test_pyclesperanto.py has been updated to show this minimal change.
Update of the Clesperanto_gateway_API_example.ipynb is also to be expected soon in the PR, inorder to help drive the design discussion of a new python API layer (@haesleinhuepf :wave: ).

latest commit managed to pass the first few wheels build for linux with various version of python

https://github.com/clEsperanto/pyclesperanto/pull/23/commits/0e84b610ee3752475d5444d4349fe5a7364b83ec

Still some issue though:

fail when building for pypy-3.9 with an dependency installation error related to Pillow
I haven't tested with Windows and MacOS
its building wheel but no proof yet that they actually work

To Do:

downgrade wheels build to one configuration only
enable all OS
run wheel test to be sure that what I did actually runs
add one by one configuration

Okay so, I manage to compile some wheels but the cibuildwheel integrated test fails with a Fatal Python error: Segmentation fault is I try to import pyclesperanto package.
I will had some error message on CLIc side to be sure but my guess is that there is an issue with OpenCL. More an other time :sleepy:

FYI:
Locally compiled wheel works fine. This narrow downs the issue to:

cibuildwheel test cannot run because of the same issue causse CLIc test not to run on Github Action.
locally it find OpenCL but with test, the environment is empty hence no connection to OpenCL.

Of course, you can bet its both issues at the same time :wink:

Upload to PyPI work like a charm (cool for future release upload automatisation), but the wheels fail with segfault when running minimal test.
In oposition, a wheel build on my system using python -m pip wheel ... is working locally. My guess is that pyclesperanto cannot find the ICD-Loader against which the wheel was build.
For now I dont know how to fix this ... need to explore more (and/or get some help)

MacOS wheel build and run the test. This lets me think we could have a pip install cleaneranto working on MacOS. To test.
Windows wheel fail early in the build. Related to cibuildwheel I think. More issue to explore.
Linux build but test fail, mainly I believe because it does not find the PATH to the ICD at run time. Need also to explore more.
PR is on hold for holidays ;)

pip install pyclesperanto work on macos system


WIP: Updating Ruby to 2.6.0

Description
🚧 🚧 🚧 🚧
We need to make sure this isn't going to break customers. EG, the
bundler update.
We also need to get the travis builds fixed and bump the dependencies.
Issues Resolved
N/A
Check List

[ ] ~New functionality includes tests~
[ ] Test build
[ ] All tests pass
[ ] RELEASE_NOTES.md has been updated if required (not required for bugfixes, required for API changes)
[ ] All commits have been signed-off for the Developer Certificate of Origin. See https://github.com/chef/chef/blob/master/CONTRIBUTING.md#developer-certification-of-origin-dco

Closing in favor of #2014


[docs] Point to pattern in book and other fixes

Hi @Brend-Smits.
I know that this is an early release and work in progress and all.
Still I figured you might already appreciate some contributions.
What I changed:

Rather than pointing to the pattern in the GitHub repo, I changed the link to point to the pattern in our book. That link is likely to be more stable.
Also made some other formatting and spelling fixes/suggestions.

Looking forward to your review :)

Thanks, Sebastian for the contribution, I appreciate it a lot 👍
In the upcoming weekend, I will push more changes to this repository, including a more refined Read-me and contributing guidelines.


Simplify object client methods

It is nice to have all control-flow in a single file (ideally, on a single screen). In this PR we get rid of using multiple callbacks in object* methods. The result uses less code and is simpler to follow IMO.

Closes https://github.com/nspcc-dev/neofs-sdk-go/issues/324?

Closes #324?

It seems so


Time for disabling third-party cookies

https://developers.google.cn/privacy-sandbox/3pcd/prepare/prepare-for-phaseout?authuser=0&hl=cs
Hello, I found this from the above website. I would like to know about Chrome's timeline for disabling third-party cookies. It is understood that only 1% of the grayscale test has been conducted now. Is Q3 directly disabled in full. Do you have a specific time?

https://developers.google.cn/privacy-sandbox/blog/cookie-countdown-2024jan?authuser=0000&hl=zh-cn
https://developers.google.cn/privacy-sandbox/3pcd/prepare/prepare-for-phaseout?authuser=0&hl=cs
These two websites have inconsistent descriptions. One says they will be fully available in Q3, while the other says they will gradually be fully available starting in 2025. What is the current real plan?

Thanks for the issue (cc @rowan-m for the incorrect timeline in the cookie-countdown-2024jan article).

One says they will be fully available in Q3, while the other says they will gradually be fully available starting in 2025.

https://developers.google.cn/privacy-sandbox/3pcd/prepare/prepare-for-phaseout is correct. See also https://privacysandbox.com/open-web/#the-privacy-sandbox-timeline

Received, thank you for your answer

Thanks @xiaodingmao233 !
I've added a warning to https://developers.google.com/privacy-sandbox/blog/cookie-countdown-2024jan.
FWIW we update articles, but generally avoid editing blog posts after they've been published (since they're like items of news that belong to a moment in time). Having said that, it's not obvious to readers what's a "blog post" and what's an "article"!

Closing this as completed, but feel free to reopen.


version 11.43.54 not working :)

Try using new experimental version - we are testing it but you should not have any problems with it :)
If you will install it, you wouldn't have to update the module everytime when new YT version is available... it should work automatically when we update our github sources :)

thx for the quick response!
i tried using the exp version on the prior yt version (11.43.52), but yt wouldnt load at all. so i switched back to the non-exp version.
is the plan to ultimately transition to the exp version st we wont have to continue dling new versions?

Probably yes...
BTW: Is there any error if YT is not opening? Or is it showing something
like "cannot connect to server"? If you are opening YouTube right after
reboot while on mobile internet (LTE, 3G), it sometimes shows that info -
you have to wait minute or 2 and it should work again (or connect to wifi)
On Fri, Nov 11, 2016, 16:46 pleespammail<EMAIL_ADDRESS>wrote:

thx for the quick response!
i tried using the exp version on the prior yt version (11.43.52), but yt
wouldnt load at all. so i switched back to the non-exp version.
is the plan to ultimately transition to the exp version st we wont have to
continue dling new versions?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pylerSM/YouTubeBackgroundPlayback/issues/266#issuecomment-259985828,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMxxbLx67Hf4XF6gbNNQAgRKMkN9H-2-ks5q9I3JgaJpZM4Kv0rz
.

lemme dl the exp version again, update to the latest yt version, then report back on exactly wut the error is.
fyi i am on android 4.4.2 verizon note 3.

well dont i look silly... updated to latest yt (11.43.54), switched to 2.0.1 yt bckgrnd playbck vrsn... everything working smooth as silk.
much thx for all the awesome work... fantastic mod...  :)

Good to hear you've sorted it out :)
On Fri, Nov 11, 2016, 17:15 pleespammail<EMAIL_ADDRESS>wrote:

well dont i look silly... updated to latest yt (11.43.54), switched to
2.0.1 yt bckgrnd playbck vrsn... everything working smooth as silk.
much thx for all the awesome work... fantastic mod... :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pylerSM/YouTubeBackgroundPlayback/issues/266#issuecomment-259992605,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMxxbMawzfXia9NdALOdr0kDLS6c6p3Sks5q9JSJgaJpZM4Kv0rz
.

thx, sorry for the wasted time :)