Timer subscription doesn't fire in response to URL change

While porting my app to 0.19, I found that my page loading bar timer was working only on initial load—after changing the "page", the timer subscription would not fire again.
SSCCE
Here's the best I could do to recreate it in an SSCCE:
import Browser exposing (UrlRequest)
import Browser.Events
import Browser.Navigation as Nav
import Html exposing (a, div, h1, text)
import Html.Attributes exposing (href)
import Time
import Url exposing (Url)

main =
    Browser.application
        { init = init
        , view = view
        , update = update
        , subscriptions = subscriptions
        , onUrlRequest = ClickedLink
        , onUrlChange = UrlChanged
        }

type alias Model =
    { count : Int
    , navKey : Nav.Key
    , isRunning : Bool
    }

init : () -> Url -> Nav.Key -> ( Model, Cmd Msg )
init _ url key =
    ( loadPage url
        { count = 0
        , isRunning = False
        , navKey = key
        }
    , Cmd.none
    )

type Msg
    = Tick Time.Posix
    | ClickedLink UrlRequest
    | UrlChanged Url

update msg model =
    case msg of
        Tick _ ->
            ( { model | count = model.count + 1 }, Cmd.none )

        ClickedLink req ->
            case req of
                Browser.Internal url ->
                    ( model, Nav.pushUrl model.navKey (Url.toString url) )

                Browser.External href ->
                    ( model, Nav.load href )

        UrlChanged url ->
            ( loadPage url model, Cmd.none )

loadPage url model =
    { model | isRunning = url.fragment == Just "/timer" }

subscriptions : Model -> Sub Msg
subscriptions model =
    if model.isRunning then
        Browser.Events.onAnimationFrame Tick

    else
        Sub.none

view model =
    { title = ""
    , body =
        [ text (String.fromInt model.count)
        , if model.isRunning then
            div []
                [ h1 [] [ text "Running" ]
                , a [ href "/" ] [ text "stop" ]
                ]

          else
            div []
                [ h1 [] [ text "Idle" ]
                , a [ href "#/timer" ] [ text "start" ]
                ]
        ]
    }

I would have made it smaller, but the bug only appears to occur when the subscription function is called in response to an update triggered by Browser.application's onUrlChange event.
Expected Behavior
When you click the "start" link in the above example app, the counter should start increasing 60 times per second.
Actual Behavior
After clicking "start", the counter is stuck at 0.
Analysis
As best I can tell, the subscription is getting called at the right time, but the Elm runtime seems to be ignoring the subscription value returned by my code. I suspect the bug is similar to https://github.com/elm/compiler/issues/1776 which also reports subscriptions getting ignored.
Additional Notes
Replacing Browser.Events.onAnimationFrame Tick with Time.every 16 Tick appears to fix the bug. Although in my real application which I first experienced the bug in, it doesn't make any difference whether I use the animation-frame timer vs Time.every—they both get stuck.

Thank you for the SSCCE! It looks like this is fixed by https://github.com/elm/core/commit/704dcc08d4617d45c8b0fce7a68729335c880756. When I try your example with my local build, I am seeing the expected behavior.
This should come out in elm/core 1.0.3 along with a couple other fixes and improvements.


Pattern Printing Problem in C++

C++ Program to print pyramid pattern of asterisks.

good work, thankiess!!


insertReturnId is missing the return type

According to the documentation insertReturnId should return an int however PDO returns a int in a string. The fix is simple, add : int to the end of the function defenition and typecasting the result of lastInsertID
https://github.com/paragonie/easydb/blob/69abc6b7393b0e0bc7fca6b800909c8d7906b3b2/src/EasyDB.php#L658

You aren't always guaranteed that you're going to return an integer. Some tables use UUID primary keys, which would return a string instead of an integer, which means insertGetId() is not compatible with an int return type.

Ah true, understood, thanks!


Windows Terminal crashing when resizing panes

Environment
Windows build number....: 10.0.19041.0 (issue also seen on earlier versions)
Windows Terminal version: 1.4.3141.0
Pwsh version............: 7.1.0        (issue also seen on earlier versions)

Steps to reproduce

Open Windows Terminal
Maximize window to have more space for resizing (optional but makes it easier to reproduce)
Split the terminal horizontally and then vertically into panes
Resize bottom two panes up and down repeatedly using keyboard shortcuts

Expected behavior
The panes should resize without issues
Actual behavior
Windows Terminal crashes
Notes

The crash can happen at any given time while resizing panes.
The issue have been observed on multiple different devices.
The issue is tested with pwsh, wsl and cmd running in the panes.

That's almost certainly not right. Would you mind filling out a feedback item to see if we can get some crash logs?
If that doesn't work, I'll write up tracing steps. :smile:

/feedback

Sure thing https://aka.ms/AAae833 🤞

I too have a similar issue. I have a powershell script which loads scripts into 2 tabs with 1 pane on one tab and 5 panes on the other. When it's loading, if I grab the bottom right corner of the terminal and drag it quickly to resize, it closes the terminal.
This is the command I use (specific to my project but the general idea should help): wt ; new-tab -p "DevTestingApi" powershell.exe -command "yarn start:testing" ; new-tab -p "DevApi" powershell.exe -command "yarn start:dev" ; split-pane -p "DevApp" powershell.exe -command "yarn dev" ; split-pane -p "DevCommon" powershell.exe -command "yarn dev" ; split-pane -p "DevApp" powershell.exe -command "yarn test:e2e" ; split-pane -p "DevApp" powershell.exe -command "yarn test:unit:ui"

Alright, this is gonna seem like I'm giving you the runaround. Sorry for that.
On Monday, I set up better tracing for our feedback hub entry! Unfortunately, it requires a "repro mode" feedback hub capture.
Would you mind filing another feedback hub item? It'll help us capture those new traces.
Please make sure you do the following:

Use the Apps, "Windows Terminal" category. There shouldn't be a "(Preview)" version any more.

This is what enables the terminal-specific tracing

Use "start recording" .. you can choose "include data about ... general".
Crash Terminal while it's recording!
Stop recording, submit, share link like before.

Thanks again :smile:

There you go https://aka.ms/AAaetoj
Yesterday I tried replicating the issue on a fresh Windows 10 installation and weren't able to reproduce. I only added my keybindings to settings.json but didn't install any fonts. I usually use https://github.com/powerline/fonts 🤔
        {
            "guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
            "hidden": false,
            "name": "PowerShell Core",
            "source": "Windows.Terminal.PowershellCore",
            "fontFace": "Meslo LG S DZ for Powerline",
            "fontSize": 10
        },

Oh no, with the holidays at the end of the year, it looks like this one got lost. Now that it's been more than 60 days, the feedback got flushed from the backend ☹
Would you mind submitting it again? I'm fairly confident that this is the same issue as #4907, but it'll be good to know for sure.
Sorry about that!

I have the same problem, I will open a new thread


Plesk 12 extension.

I was informed by your support rep Ahmad Abu Assab to paste a notice here.
I noticed in your version history on github it states the following, just to make sure I am doing things correctly, it states as of version 4.17 released May 18, 2015 "updated Plesk server manager to Plesk 12". I tried to look for said server manager, and it is non obvious, and also cannot be found in documentation so easily online, or via google search. The only thing I found was this extension https://github.com/boxbilling/extensions/blob/master/bb-library/Server/Manager/Plesk.php
I found it curious that this file shows last commit in 2012 (perhaps I am reading it wrong).
Is this the correct thing to add? I tried setting it up, but I only get server errors with no other information. The server manager successfully connects when I tested it.

In the meantime, I am paying for a license, solely to evaluate this functionality.  Additionally, your default installation point to extensions.boxbilling.com at the bottom of the extensions page in the admin interface, which no longer exists.  This should be updated as it misleads your users.

Help?  It has been nearly an entire week now and no update.  Why would anyone pay for this?

I give up.  Off to Blesta.

https://github.com/boxbilling/boxbilling/blob/babbdd3b49a754283ab7930e54fea0452556f995/src/bb-library/Server/Manager/Plesk.php
This appears to be compatible with Plesk Oynx. Additional testing on my end, but trying to ensure that it is all good to go

I already gave up this softwer a long time ago! At the time I was part of the CircleBilling team (boxbilling fork) this one had some improvements of rest I do not know anything else

If this is still compatible with Plesk or Plesk Onix I must tell you that it is a miracle my dear friend


feat(HACBS-1832): improve note in HACBS_TEST_OUTPUT

Add more more meaningful note to HACBS_TEST_OUTPUT
Add description to task

Example:
The note in clamav-scan task is like below when it meet error:
Task clamav-scan meets error: Failed to get number of infected files from /tekton/home/clamscan-result.json, please check the tekton task log
Task clamav-scan meets error: File /tekton/home/clamscan-result.json doesn't exist, please check the tekton task log
The note for the completed task: "Task clamav-scan completes, please check RESULT for the antivirus scan result"
Signed-off-by: Hongwei Liu<EMAIL_ADDRESS>

@hongweiliu17 LMK when you're ready for me to take another review pass, and thank you!

@jseseCCS @ralphbean @MartinBasti Thank you for your comment. I revised this pr and it can be reviewed again.

@hongweiliu17 hi! let me know when you'd like me to review this again for consistency. thanks!

@jseseCCS Hi, this can be reviewed again for consistency. Thank you!

hi, @hongweiliu17! looks like you missed around 20 of my comments. i tagged them all again, and i also made 2 new ones. take a look and LMK if you have concerns. thank you!

Thanks so much for making these updates @hongweiliu17!
Does https://github.com/redhat-appstudio/build-definitions/blob/main/task/sast-go/0.1/sast-go.yaml need to be updated with a description as well? Jon ran a script to look for tasks missing a description, and everything else that was returned is being updated in this PR, but I didn't see it in the list of changed files here.

Thanks so much for making these updates @hongweiliu17!
Does https://github.com/redhat-appstudio/build-definitions/blob/main/task/sast-go/0.1/sast-go.yaml need to be updated with a description as well? Jon ran a script to look for tasks missing a description, and everything else that was returned is being updated in this PR, but I didn't see it in the list of changed files here.

This sast-go and sast-java-sec-check are not included in this PR since we don't run them in pipelines. I saw you mentioned it in slack, so let me add them.

@hongweiliu17 hi! after I submitted my review, I got the dreaded "something went wrong" unicorn :unicorn:, so forgive me if anything got wonky. hopefully you got all my comments. i had several.

There is PR which adds descriptions to readme.md for tasks, we need to also update the readme.md once the descriptions are decided.

The PR is revised according to g-doc and can be reviewed now. Thanks. @dirgim @jseseCCS


Point out Mozilla's position on WebUSB spec

Helpful in the light of eg: https://news.ycombinator.com/item?id=22228879

Thanks!


Known vulnerability in ws < 3.3.0

Just received a notification about a vulnerability in one of my projects, related to a transitive dependency on ws via snoowrap. Suggest upgrading ASAP.

@not-an-aardvark Hate to pester again, but would you mind cutting a new release, e.g. 1.16.1? Just got another notification note; seems this PR didn't make last week's update.

Published in v1.17.0.


fix(reload): fix crash on session reloading after new enrichments

Download Artifacts :

win-ia32
win-x64
linux-x64

Download Artifacts :

win-ia32
win-x64
linux-x64


Add json with brotli compression serializer

A PR introducing the compression for metagraph snapshot binary. Here the implementation with Brotli algorithm. There is a second PR built on top of this one changing the compression algorithm to Gzip.
The reason there is a second one is that there is one caveat with Brotli in java.
The library used in this PR namely brotli4j (https://github.com/hyperxpro/Brotli4j) is the only one I found providing encoding/compressing functionality with Brotli. The way it works though is by using native brotli implementation provided by the host platform and by using JNI (Java Native Interface). The implementation works on macOS for sure and is tested by the library owner on other platforms like Ubuntu 18.04 or Windows Server 2022. We could run some cross platform test with GitHub Actions to check the compatibility with selected platforms and if the compatibility looks widespread enough we could go with this implementation I think. If the compatibility is not sufficient we can go with Gzip (I would then locally squash both commits into one and then merge a single commit).
In general Brotli is much more performant than Gzip, with compression time being much lower and ratio being higher. So from the performance point of view it's better to use Brotli given that it seems widely supported in other popular programming languages. The only question is if it's safe and compatible to a sufficient degree with mutliple platforms to use it.

We've internally tested this with latest 2 versions of ubuntu and agreed we'd like to merge it. If needed, we'll make more community tests.


Labels are not added when using SubnamespaceAnchor manifest

Hi,
As with all other Kubernetes resources, I was expecting to see defined labels on the created subnamespaces too.
Take following manifest for example:
apiVersion: hnc.x-k8s.io/v1alpha2
kind: SubnamespaceAnchor
metadata:
  name: app3
  namespace: hnc-child1
  labels:
    name: app3
    env: hnc-child1

Checking the created namespace:
kubectl describe ns app3
It shows me this:
Name:         app3
Labels:       app3.tree.hnc.x-k8s.io/depth=0
              hnc-child1.tree.hnc.x-k8s.io/depth=1
              hnc-test.tree.hnc.x-k8s.io/depth=2
              hnc.x-k8s.io/included-namespace=true
              kubernetes.io/metadata.name=app3
Annotations:  hnc.x-k8s.io/subnamespace-of: hnc-child1
Status:       Active

No resource quota.

No LimitRange resource.

The label is missing.
Labels are an important component in controlling access and managing resources.
Would it be possible to add handling these?

Instead of this:
apiVersion: hnc.x-k8s.io/v1alpha2
kind: SubnamespaceAnchor
metadata:
  name: app3
  namespace: hnc-child1
  labels: # these are the labels on the anchor itself, not the child namespace
    name: app3
    env: hnc-child1

You should use this:
apiVersion: hnc.x-k8s.io/v1alpha2
kind: SubnamespaceAnchor
metadata:
  name: app3
  namespace: hnc-child1
spec:
  labels: # these are the labels that will be created on the child namespace, not the anchor
    name: app3
    env: hnc-child1

That is: the anchor spec defines which labels should appear on the newly created namespace. The anchor can have its own labels and annotations, which are separate from those that appear on the subnamespace. This is the same as the template in a Deployment (i.e. here). Does that make sense?

Thanks @adrianludwin , it does. I'll close this ticket.


K9s install failing now due to missing checksum txt file in new release

K9s v0.28.0 is out and instead of checksum.txt it's now checksums.sha256
The feature current fails when https://github.com/derailed/k9s/releases/download/v0.28.0/checksums.txt 404s

This is the third time this happens to a package I manage. These open source tool builders are out of control! ;)
I'll take a look when I get the time. Thanks for submitting.

Pinned the default version to 0.27.4 for now.

Never mind, just fixed it.


Source generator - Fixed column widths

Background and motivation
Fixed column widths are now set on WorksheetOptions when creating a worksheet. There is a desire to be able to set these with attributes instead when using the source generator. A fairly straight forward way to then have them applied to a worksheet would be to pass the source generator metadata type to StartWorksheetAsync.
API proposal
namespace SpreadCheetah.SourceGeneration;

[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public sealed class ColumnWidthAttribute(double width) : Attribute;

namespace SpreadCheetah;

public sealed class Spreadsheet
{
    public ValueTask StartWorksheetAsync<T>(string name, WorksheetRowTypeInfo<T> typeInfo, CancellationToken token = default);
}

API usage
public class Person
{
    [ColumnWidth(20)]
    public string FirstName { get; set; }
}

[WorksheetRow(typeof(Person))]
public partial class PersonRowContext : WorksheetRowContext;

await using var spreadsheet = await Spreadsheet.CreateNewAsync(stream);
await spreadsheet.StartWorksheetAsync("Sheet 1", PersonRowContext.Default.Person);

This has been implemented in version 1.16.0.


[libb2] Add new port

libb2 is a C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp
Related issue #8459

This port currently only supports Linux platform.

/azp run

/azp run

Please modify ci.baseline.txt to account for the windows failures.

/azp run


Impl Display for all Sapling keys and addresses

This is the human-readable version of serialization.

Since there's a blanket impl of ToString for Display types, the Display impls should be paired with FromStr impls and have property tests that check ToString/FromStr round trips.

(as an aside: writing that makes it really clear that String should have been called StrBuf :cry: )


Sortable: Improved compatibility with flexbox

Added detection for flexbox into _isFloating, which improves the detection of where an item is moved to.
See https://github.com/CBenni/jquery-ui/commit/3526e7f3e2a5f18c91591874d50827d1ad9fa471
In reference to jquery-ui bug id #9344 (http://bugs.jqueryui.com/ticket/9344), which is reproducable within angular-ui/ui-sortable as well.

:+1: Great Job!
I don't think it needs any extra reviewing, maybe an example to the README and a test case.
I will be happy to merge this as is, as soon as jquery/jquery-ui#1641 is merged!
Thanks for your contribution :+1:

As you can probably see (in the jquery-ui PR), I am having a hard time writing a test case for this. I have a small demo that demonstrates the issue, but I have no idea if, and how, one would write a test case for that specific issue, since its simply the UI being jittery/unreliable.
If you can help me with that, ill gladly add a test case.

I  can try to write a test case for you.
Can you provide me an example codepen? Ideally a fork of one of those that
are available in README.
On the other hand, I'm not sure whether phantomjs supports flex....
On Sat, Nov 14, 2015, 18:32 CBenni<EMAIL_ADDRESS>wrote:

As you can probably see (in the jquery-ui PR), I am having a hard time
writing a test case for this. I have a small demo that demonstrates the
issue, but I have no idea if, and how, one would write a test case for that
specific issue, since its simply the UI being jittery/unreliable.
If you can help me with that, ill gladly add a test case.
—
Reply to this email directly or view it on GitHub
https://github.com/angular-ui/ui-sortable/pull/407#issuecomment-156717793
.

--
Thodoris Greasidis
Computer, Networking &
Communications Engineer

Hi there. Have you been able to create an example available online to test
this?
On Sat, Nov 14, 2015, 23:45 Thodoris Greasidis<EMAIL_ADDRESS>wrote:

I  can try to write a test case for you.
Can you provide me an example codepen? Ideally a fork of one of those that
are available in README.
On the other hand, I'm not sure whether phantomjs supports flex....
On Sat, Nov 14, 2015, 18:32 CBenni<EMAIL_ADDRESS>wrote:

As you can probably see (in the jquery-ui PR), I am having a hard time
writing a test case for this. I have a small demo that demonstrates the
issue, but I have no idea if, and how, one would write a test case for that
specific issue, since its simply the UI being jittery/unreliable.
If you can help me with that, ill gladly add a test case.
—
Reply to this email directly or view it on GitHub
https://github.com/angular-ui/ui-sortable/pull/407#issuecomment-156717793
.

--
Thodoris Greasidis
Computer, Networking &
Communications Engineer

--
Thodoris Greasidis
Computer, Networking &
Communications Engineer

Oh, sorry, I was very busy and forgot about this. See this plunk: http://plnkr.co/edit/UpybaNssJxQMVX30ks0B?p=preview
Trying to move certain objects is very jerky and uncontrollable (try moving 8 to where 9 is)
The behaviour without tolerance: "pointer" is even worse.
The example mimics the use-case I made this change for.

Thanks, I will check it out!

Thanks for coming back to this repo. I hope I will find some time during
the holidays to check this out.

--
Thodoris Greasidis
Computer, Networking &
Communications Engineer

Hi, any updates? :smiley:

The jquery-ui PR it's still open, but if this gets reported as useful by
more people here, then we can merge it anyway. My only consideration is
whether we should also add a chech about the direction that the flex
elements are rendered.
Any thoughts?

--
Thodoris Greasidis
Computer, Networking &
Communications Engineer

The problem about this "fix" is that it is very hard to see if it actually fixes all the possible situations. I dont know if it breaks any situation that I had not considered, and even with this fix, the position detection is not always flawless, its a very finnicky thing to mess with. I would wait for the jquery-ui team to approve the PR on their end, honestly.


API Routes

All API routes completed and functioning
Can now create a new post that renders on both homepage and dashboard and can upvote on a post.
Dashboard now allows create, edit, and delete of postings for a logged in user.
Auth to check if logged in added to allow view of dashboard, for all post methods to create/edit/delete, to create a new comment, and to upvote.

Closes issue #5


Use JSON logging in production

JSON logging allows for greater filtering with our log aggregator, Loki.
This PR introduces JSON logging when debug mode is set to false (i.e. the bot is running in production).

Hold on, need a Pipfile.lock bump

This PR is being reverted due to an internal decision. See discussion here.


Check the package linking before running any tests

Make sure, that  the integration tests are working with the codebase under test.
Check the setup of local and global package linking before running any tests.
If there is a global installation of any kind, refuse to work.
Else link the code under test and remove the link after test.

Done


alindima: retain at rank I

Rendered

IPFS link: https://subsquare.infura-ipfs.io/ipfs/bafybeib3sseiozolw3rigwwtrmpo3d3ymlxonnhhr3ra6ccyq25wuwlb64


Switch postcode regexes for Azores and Madeira

It looks like there is a bug where the Portugal postcode regexes for Madeira and The Azores are the wrong way round.
Reference the list here: https://en.wikipedia.org/wiki/List_of_postal_codes_in_Portugal#Ilha_da_Madeira
The Madeira ones match with the /(9)[0-4]... version and the Azores with /(9)[5-9]... one. The PR simply switches them.
There is also an issue that we are missing a pt_20_vat.json but I will address that in another PR.

Thanks!

@bojanz thanks for merging. Any chance you could drop a release so that I can pull this in as stable with composer please?


Update init.lua

Removed fingerprint.ProductId from validation, as it was preventing certain mimolite devices from working

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Automated generation of IDE profile files from tornado command

Problem description
As mentioned in #582, the IDE xml configuration files are being tracked by the vcs system, as they are part of the repository.
Description
To address this issue, this PR provides template xml files which are stored in the repository.
At first, a developer can build TornadoVM in console (manually, or via tornadovm-installer).
Once it is built, developers can use the tornado command to generate custom IDE files that can be used by them to build and run TornadoVM from the IntelliJ IDE. This is the command:
tornado --ideinit

The command will use the runtime information from the environment variables, in order to configure the template xml files with information such as: TORNADO_SDK, JAVA_HOME, BACKENDS, etc. The generated files are stored in the .build directory.
And then if developers open the IDE, they will be able to build and run the project from the IDE.
This PR also updates the relevant documentation page.
I tested the branch in Ubuntu 23.10, macOS 15.0.1 and Windows 11
Note: If developers run the command multiple times, the tornado script deletes the files and generates new files.
Backend/s tested
Mark the backends affected by this PR.

[x] OpenCL
[x] PTX
[x] SPIRV

No backends are affected. This PR does not touch the compiler. However, I tried all configurations to see that the command follows the correct configurations based on the TornadoVM built instances.
OS tested
Mark the OS where this PR is tested.

[x] Linux
[x] OSx
[x] Windows

Did you check on FPGAs?
If it is applicable, check your changes on FPGAs.

[ ] Yes
[x] No

How to test the new patch?
Follow the instructions.

Ok, my fault, I did not have the Python plugin installed for the instance I was running.  The build works

I addressed the comments, and tested the changes in Linux, macOS, Windows.


register and announce YAActL 0.2

[x] set version number,
[x] increase test coverage,
[x] docstring examples,
[x] update docs,
[ ] register,
[ ] announce

everything done for 0.2
@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/23241
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.0 -m "<description of version>" e4513439eb3c3826e658cd6cbbe52d9da5a2d831
git push origin v0.2.0


Build failure: pkgsMusl.jdk8

Steps To Reproduce

nix build .#pkgsMusl.jdk8

Note: openexr error is already fixed in staging. 0b9653816fd556a127b0b9600f7f67cf34de40e5 is cherry-picked.
Build log
/build/source/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:238:39:
 error: ‘isnanf’ was not declared in this scope; did you mean ‘isnan’?
  238 | inline int g_isnan(float  f) { return isnanf(f); }

Log file: pkgsMusl.openjdk.txt
Additional context
No failure in:

pkgs.jdk
pkgs.jdk8
pkgs.jdk11
pkgs.jdk17
pkgs.jdk20
pkgs.jdk21
pkgsMusl.jdk
pkgsMusl.jdk11
pkgsMusl.jdk17
pkgsMusl.jdk20
pkgsMusl.jdk21
pkgsMusl.openjdk8-bootstrap

So it is something specific to pkgsMusl.jdk8.
Notify maintainers
@edwtjo
Reference

PR making pkgsMusl.jdk8 broken for musl: https://github.com/NixOS/nixpkgs/pull/281621

@wolfgangwalther Do you want to propose a PR fixing it? On yes, forward it to me for review.

Feel free to open the PR yourself - I am not actually using jdk.

Np. Will test and do it.

After patch. Now errors with:

/build/source/hotspot/agent/src/os/linux/proc_service.h:29:10: fatal error: thread_db.h: No such file or directory

Logs: https://termbin.com/wanq

Closing from #281618

The build failure still exist. Are you sure it makes sense to close this/

Hum, the intention is tracking the fixups? OK then!

I wish I could transfer these issue for some other account, it messes with my GitHub. I have too many.

Create a superherointj-nixpkgs  org like I did, hihi


Get HDF5 library file on Windows 10 x64

Hi, would like to use you OO-HDF5 interface on Windows environment, but first I think that I will need to compile/build the HDF5-Fortran static library, right?
Well, I tried to do that, but I got some linker errors.
Could you help me?
My full question is here:
https://stackoverflow.com/questions/58171872/hdf5-build-fortran-libraries-windows

From your stackoverflow details, you're wanting to use Intel 2019, which is incompatible with Visual Studio 2015.
To proceed with this setup, one would consider compiling HDF5 from source as per High Performance Mark's answer in the link you provided.
What I did to test on Windows as you probably saw in the README was to use MSYS2. However that won't be of any help when using Intel compilers. If you need OpenMPI on Windows with Fortran, the most natural solution seems to be using Intel compiler, which would again drive one to compile HDF5 from source.

https://gist.github.com/scivision/1f9df86de231859c60c1814e1ac76196
I got some C syntax errors that may indicate that HDF Group needs to update their code and/or CMake options to suit Visual Studio 2019.

Thank you @scivision

@nyckmaia HDF5 1.10.6 supports Visual Studio 2019 and Intel 19 compiler explicitly: https://gamma.hdfgroup.org/ftp/pub/outgoing/hdf5/hdf5-1.10.6-pre1-RELEASE.txt


How to hide right panel from pro layout

Hi!
How can i hide right drawing panel and right button element for settings layout?

Please delete <SettingDrawer /> from here https://github.com/ant-design-blazor/blazor-pro-components/blob/1b41a4b5877e2be19317c196041cf8cba7862aa5/src/layout/example/AntDesign.ProLayout.Wasm/Shared/ProLayout.razor#L32

O, I didn't see it right away. I fiddled with the settings.
Thank you!


Merging main

Merge

Great now we need to complete employeecrud as it is also controlled from adminmodule.
We've already done managercrud which should also be controlled under Adminmodule.Though there were some minor issue like renamingfilename,more info collection with getline and so on.However we'll focus on that later.

All is fine.


Ability to change font size for page content

Desired Feature: Ability to change font size for page content

BookStack Version: v0.17.3

Expected Behavior
Is there any suggested way to change font size through configuration?
Since most of my docs users will prefer bigger font size, I wonder if there's a quick way to change it. An alternative approach would be allowing them to do so client-side with discrete A+ and A- buttons.
Actual Behavior
It looks like the best (and only) approach for this is by customizing the HTML headers.
Also, this looks related to https://github.com/BookStackApp/BookStack/issues/423 , so in that case I'll follow-up.
Thanks and regards,

On a per page basis you could always do a  or make an arbitrary class and do a  to get bigger text where you want it since inline HTML is supported.

Thanks @domainzero , I was referring to a global-scope setting, but this also helps.

 won't change text in codeblocks unfortunately.

@alariva Throwing this into the 'Custom HTML Head Content' will get you near:

For a documentation platform it may be good to have this as on-page controls though 🤔 . Good idea.

Would be nice to be in the default toolset. I am missing it too.

Any news on this?

@drmax24 Nope, Nothing upon the above options for now

.cm-s-base16-light.CodeMirror {font-size: 14px;}

Seems this doesnt do anything to the text in the body but only the heading of the page. Has the code updated to reflect a different reference other than .cm-s-base16-light.CodeMirror?

It would be nice to be able to choose the default font size of each level of heading (an perhaps style in general, some people may want to do something like Wikipedia with some titles in bold sans-serif and others in bold serif) .  I generally feel distracted by the big size of headings. I'm more for a slightly bigger heading.

I'm a newcomer to BookStack but I'm already publishing in it. I'm also aware that 'Id like that too' posts are to be discouraged. That having said, the rather beautiful GUI that exists is somewhat, IMHO, degraded by the font sizes of titles and section headings. The ability to change these on a per book or system wide level would be hugely appreciated and allow more fine grained control of the appearance of content. I'm not suggesting full blown themes, just granular font control.

Hi @gtothill,
You can customize the default header sizes by adding something like the below to the "Custom HTML Head Content" setting:


A policy for when to create subdomains

Motivated by https://github.com/lgarron/badssl.com/issues/142#issuecomment-191421976
I've been sticking to an unofficial dichotomy of transport errors (certificate, protocol, key exchange, cipher suite) and content errors (mixed content).
Port shenanigans aside, we "need" individual subdomains for each combination of transport errors we want to test. I'd like to propose the following:

Each combination of transport errors we care about gets a subdomain.
Each content error gets a fixed path on each domain (under e.g. mixed or test), but not a subdomain.
For convenience, each content error also gets one subdomain (with no transport errors).

I haven't gotten around to 3. yet, but I want to add a subdomain for each mixed content error, e.g. mixed-font.badssl.com.

I'm fine with the first two bullet points, but I would honestly rather disable mixed.badssl.com and the like when it comes to the third.  It cleans up our configuration a good deal.
We can just change the link on the home page from:
mixed-script.badssl.com to https://badssl.com/mixed/script/ and so on.


Prioritization exercise: make one area "perfect"

As a sort of thought experiment, I want to consider what it would take to really polish one place in osm2streets. But even more, to motivate pushing more responsibility from A/B Street into here, I'll use current A/B Street rendering for judgment. Picking somewhere in the world uniformly at random, let's have a look around Kennington, London.
The list below is definitely not exhaustive, but for sure carves out plenty of work.
Bike boxes / advanced stop lines

https://www.openstreetmap.org/node/8958613758
We don't attempt these at all yet. Vehicles stop at the southern traffic signal node (the position of the node defines the stop line!). Cycles stop a bit farther up, at the cycleway=asl node. We could draw the bike box markings from this.
Some concepts to think about representing: explicit stop lines per vehicle type. How should that affect the intersection geometry?
Using shared sidewalk corner rendering code

There's an absolutely tiny segment showing contraflow cycling near https://www.openstreetmap.org/node/9063135167#map=19/51.49191/-0.09975. The geometry we produce is not ideal, but it's OK. A/B Street is still using older code for drawing corners between sidewalks, and it blows up here:

If we start representing movements (or maybe the lane-level equivalent) between specific sidewalk lanes in osm2streets, I'd love to cut over to it. I think the big API mistake in A/B Street to re-think is whether some movements have any PolyLine geometry at all. When the intersection geometry is messed up or the trim is super tiny, maybe there's no geometry at all. We can still semantically handle it.
Dog-leg intersections
I just ripped out the dog-leg code because I've been trusting this "road getting trimmed into oblivion" logic so much, but https://a-b-street.github.io/osm2streets/#20.696807407887984/51.49212/-0.10287:

Stop signs

I've seen approximately 3 stop signs in the UK so far. In cases where a minor road hits a major road, there are usually give way markings instead. So, two changes to think about. First, explicitly calculating priority/precedence between roads at an IntersectionControl::Uncontrolled or Signed intersection, usually with heuristics but sometimes with explicit sign nodes. And second, introducing some region-specific rendering for markings.
Crosswalks
Above screenshot also shows zebra crossings everywhere. We should start incorporating footway=crossing ways like https://www.openstreetmap.org/way/1109040580. A/B Street has a very weak concept of marked and unmarked crossings right now. We should figure out what we want to do in osm2streets, and also how crossings defined in OSM should affect intersection geometry / road trim. And more region-specific markings, UK zebras have a zig-zag pattern on the road within X meters of a zebra, and also flashing light post things.
Note explicitly mapped crossings often connect to explicitly mapped sidewalks, but I'm not proposing to try and handle those yet. Coverage around Kennington is spotty, and I still consider solving this generally to be one of the hardest problems in osm2streets. We can make progress anyway though.
Contraflow cycleways

https://www.openstreetmap.org/#map=19/51.48516/-0.11547
There are many variations of these everywhere. Some simple cases could maybe use the existing sausage link logic?
Parallel cycletracks

https://www.openstreetmap.org/#map=19/51.48547/-0.12067
Can the current experimental transformation be used here? What's blocking us from enabling it in general?

If I understand the new algorithm correctly, this breaks because the short middle road is not trimmed by either intersection. When calculating the left intersection, the short road is just short enough to avoid having its edge line (thin green) intersect with the long road's edge line (thin blue) - as shown expanded in the circle.
I think this could be solved by extending the far end of the roads if needed to get an intersection between the edges. This corresponds to the dotted green line. This would result in a positive trim distance that is longer than the road itself, so the short road would be marked as internal after looking at just one of the Intersections.
I think this is the same problem:

I think this could be solved by extending the far end of the roads if needed to get an intersection between the edges.

Hmm, you're right. #149 was an attempt at this. Worth trying again now that we have both sides working off untrimmed geometry properly now

If the area to prioritise is large enough, we quickly end up needing to support the majority of the complexities that osm2streets needs to support before the area is "perfect". So I don't think this will serve as a useful prioritisation tool in the medium term, but this exercise has raised some useful specific examples to resolve.
Maybe we ought to have a "roadmap" meeting now that the dust is settling from the recent refactors. I think it would be valuable to identify the distinct road features/complexities that osm2streets doesn't represent yet, and make an educated guess at how they might fit together, and what the dependencies between them are.

Agreed, maybe prioritisation exercise wasn't the right concept. A roadmap meeting would be perfect -- the usual time any day this week is good for me.
An unorganized jumble of some of the items there:

TrafficInterruption per lane (or vehicle type)
TrafficInterruption summary per road
inferring those from whatever we have now, and also bringing in explicit OSM tags
rendering the above (maybe first picking UK or Australia's style always, then later with localisation)
Per movement geometry, lane-level movements

a StreetExplorer tool to draw more detailed movements when you hover on a lane, for easier debugging

continuing lane markings through movements


Checking if claim exist before adding to prevent duplicates

Proposition:
add methods like AddClaimIfNotExistAsync and AddClaimsIfNotExistAsync, what do you think? Or should it be a responsibility of the caller?
or add those checks inside AddClaimsAsync and AddClaimAsync. Because what's the sense in allowing to add duplicate claims?

Duplicate claims can be a valid use case. You can already check if a claim exists, so why add syntactical sugar for very little benefit?


Bump Kotlin to 1.6.20

Slightly complicated by the fact that kotest-assertions-compile seems to have fallen into disrepair (pot, kettle, I know); most of its actual logic is in com.github.tschuchortdev:kotlin-compile-testing, and it so happens that by requesting a newer version of that dependency, tests work.  Fragile, but good enough for the moment.
I'll probably regret that and end up writing our own kotest/kotlin-compile-testing integration, but not today!

Codecov Report

Merging #469 (47b7933) into master (41342bc) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #469      +/-   ##
============================================
- Coverage     58.79%   58.77%   -0.02%
+ Complexity      866      861       -5
============================================
  Files            69       69
  Lines          6436     6436
  Branches       1002     1001       -1
============================================
- Hits           3784     3783       -1
  Misses         2362     2362
- Partials        290      291       +1

Impacted Files
Coverage Δ

...main/kotlin/com/microsoft/thrifty/schema/Linker.kt
89.89% <0.00%> (-0.51%)
:arrow_down:

.../com/microsoft/thrifty/kgen/KotlinCodeGenerator.kt
84.10% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 41342bc...47b7933. Read the comment docs.


FakerConfig seed parameter

Passing in a Random instance is most of the time just to set a seed.
Therefore it would be nice when there would be a seed parameter, which is used by the default Random instance.

Does this look like what you had in mind, @johanvergeer : https://github.com/serpro69/kotlin-faker/pull/69/commits/56568b8b8ecf575d6d92714a7c7597b3ccf74f95 ?

Yes. That looks pretty good. I did add a suggestion to the commit though, which might make it a bit simpler. :)

Thanks for the suggestion. You're right, the secondary constructor there does not add any value.
I've merged this now into master and these changes have been published as snapshot and should be available shortly.


Setup E2E tests after converting this repo to Flowershow's template repo

Acceptance

our old E2E Playwright tests are executed on each push to main and each PR against main
they live in a separate repo: https://github.com/datopian/flowershow-template-e2e
they can be run locally as well
they have README with instructions on how to use them locally and in the CI
all the tests pass

### Tasks
- [x] adjust [the e2e repo](https://github.com/datopian/flowershow-template-e2e) and its setup script to allow for local testing
- [x] add README to [the e2e repo](https://github.com/datopian/flowershow-template-e2e) with instructions
- [x] create E2E workflow in this repo

All done


Make sure the cardano-binary tests have good coverage

We should analyse the coverage of the cardano-binary tests to make sure that they're covering as much of the code as possible and testing everything we can think of.

@DeepakKapiswe is working on this (also trying to get him added to the cardano-sl org).


0.9.11 broke my xrdp/Hyper-V enhanced session on Arch

Hiya.
Xrdp is as per this script
https://github.com/microsoft/linux-vm-tools
it pulls xrdp from github/aur and patches it to accept Hvsock.
on the host side the Virtual machine is modified via powershell to use HVSock for enhanced sessions.
It used to work fine and my xinitrc is setup fine.
Systemctl reports xrdp fails to start (Something about port 3389)
I am not sure if the xrdp.ini or xrdp-sesman.ini format has changed with this release, but it has broken my configs.!!!!!!!!!!!!!!!!
can you help me with an easy fix so i can get back to doing whatever it is that i do under the DE

OBTW...
Systemctl logs:
● xrdp.service - xrdp daemon
Loaded: loaded (/usr/lib/systemd/system/xrdp.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2019-09-02 15:22:44 BST; 15s ago
Docs: man:xrdp(8)
man:xrdp.ini(5)
Sep 02 15:22:44 arch systemd[1]: Starting xrdp daemon...
Sep 02 15:22:44 arch xrdp[396]: (396)(139625217063104)[INFO ] address [<IP_ADDRESS>] port [3389] mode 3
Sep 02 15:22:44 arch xrdp[396]: (396)(139625217063104)[INFO ] listening to port 3389 on <IP_ADDRESS>
Sep 02 15:22:44 arch xrdp[396]: (396)(139625217063104)[ERROR] trans_listen_address failed
Sep 02 15:22:44 arch xrdp[396]: (396)(139625217063104)[DEBUG] Closed socket 7 (AF_VSOCK cid -1 port -1)
Sep 02 15:22:44 arch xrdp[396]: (396)(139625217063104)[ERROR] Failed to start xrdp daemon, possibly address already in use.
Sep 02 15:22:44 arch systemd[1]: xrdp.service: Control process exited, code=exited, status=1/FAILURE
Sep 02 15:22:44 arch systemd[1]: xrdp.service: Failed with result 'exit-code'.
Sep 02 15:22:44 arch systemd[1]: Failed to start xrdp daemon.

@ameeno I think you should change the issue title, last release is 0.9.11
Fedora 29 and 30 ship this version, I also just ...reproduced... this issue. I was following https://github.com/secana/EnhancedSessionMode
Ubuntu 18.04 ships 0.9.9 and it works fine.

thanks. changed title to correct version number.
any solution?

Well, i manually rolled back the package to xrdp 0.9.10 as a temporary fix while this issue is being further investigated.
for arch specifically here are instructions:
Check the changes on the AUR page.
https://aur.archlinux.org/cgit/aur.git/commit/?h=xrdp&id=e228e40ada0b171edf887ff7c1b42aa873674717
Then check out the latest version that worked. It is maybe this version, https://aur.archlinux.org/cgit/aur.git/commit/?h=xrdp&id=e228e40ada0b171edf887ff7c1b42aa873674717
Download the archive form the download line. https://aur.archlinux.org/cgit/aur.git/snapshot/aur-e228e40ada0b171edf887ff7c1b42aa873674717.tar.gz
(use wget in command line)
Extract the contented, use the Terminal and go in that extracted folder and run
makepkg -scri
this will overwrite xrdp 0.9.11 with 0.9.10
i am pleased t o report this roll back makes xrdp working with no other changes!

I confirmed and reproduced the issue but this is not our issue. use_vsock=yes is no longer prefered but the MS tool still using this switch. Report it to the author of the tool and ask them fix it.

P.S. the vsock feature is developed by MS guys. We xrdp team merged that but if MS guys do not maintain vsock, it might be removed in future. We welcome continuous contributions from MS guys!

Yes, continued support for MS would be nice.  I think the vsock bits are useful for vmware and others so not just hyperv.  I hope we can support this feature.  but how to handle updating the enhanced session?

I just updated to 0.9.11 myself and ran into this this problem. Here's the logs I get when I started the service:
Sep 21 15:17:17 sakura-arch systemd[1]: xrdp.service: Failed with result 'exit-code'.
Sep 21 15:17:17 sakura-arch systemd[1]: Failed to start xrdp daemon.
Sep 21 15:27:08 sakura-arch systemd[1]: Starting xrdp daemon...
Sep 21 15:27:08 sakura-arch xrdp[3213]: (3213)(140175692163264)[INFO ] address [<IP_ADDRESS>] port [3389] mode 3
Sep 21 15:27:08 sakura-arch xrdp[3213]: (3213)(140175692163264)[INFO ] listening to port 3389 on <IP_ADDRESS>
Sep 21 15:27:08 sakura-arch xrdp[3213]: (3213)(140175692163264)[ERROR] trans_listen_address failed
Sep 21 15:27:08 sakura-arch xrdp[3213]: (3213)(140175692163264)[DEBUG] Closed socket 7 (AF_VSOCK cid -1 port -1)
Sep 21 15:27:08 sakura-arch xrdp[3213]: (3213)(140175692163264)[ERROR] Failed to start xrdp daemon, possibly address already in use.

Finding this issue and reading the comments from @metalefty, I had changed my xrdp.ini to read the following as documented in the xrdp.ini comments:
port=vsock://-1:3389
use_vsock=false

When I started the service the following was logged and it still didn't work:
Sep 21 15:17:17 sakura-arch systemd[1]: Starting xrdp daemon...
Sep 21 15:17:17 sakura-arch xrdp[3103]: (3103)(140524741093568)[INFO ] address [1] port [3389] mode 3
Sep 21 15:17:17 sakura-arch xrdp[3103]: (3103)(140524741093568)[INFO ] listening to port 3389 on 1
Sep 21 15:17:17 sakura-arch xrdp[3103]: (3103)(140524741093568)[ERROR] trans_listen_address failed
Sep 21 15:17:17 sakura-arch xrdp[3103]: (3103)(140524741093568)[DEBUG] Closed socket 7 (AF_VSOCK cid -1 port -1)
Sep 21 15:17:17 sakura-arch xrdp[3103]: (3103)(140524741093568)[ERROR] Failed to start xrdp daemon, possibly address already in use.
Sep 21 15:17:17 sakura-arch systemd[1]: xrdp.service: Control process exited, code=exited, status=1/FAILURE

Digging a little deeper, it seems that xrdp_listen_pp is parsing the cid as a unsigned value, 1, when the correct value per https://github.com/torvalds/linux/blob/f7c3bf8fa7e5a8e45f4a8e82be6466157854b59b/include/uapi/linux/vm_sockets.h#L87 is -1 and I had correctly specified it that way in the configuration.
Following that hypothesis, I developed a quick and dirty one-line patch that fixes xrdp_listen_parse_integer such that it will accept negative integers. This successfully works around the issue but I'm not sure if that has side effects for the other protocol types, as negative port numbers are invalid. So, I don't want to file a push request just yet. This also doesn't fix the case where port=3389 and use_vsock=true. I think we need to change xrdp_listen_pp to set the host address to VMADDR_CID_ANY when use_vsock=true.
diff --git a/xrdp/xrdp_listen.c b/xrdp/xrdp_listen.c
index 63e2ca52..373539b0 100644
--- a/xrdp/xrdp_listen.c
+++ b/xrdp/xrdp_listen.c
@@ -341,7 +341,7 @@ xrdp_listen_parse_integer(char *strout, int strout_max,
         }
         else
         {
-            if ((strin[strin_index] >= '0') && (strin[strin_index] <= '9'))
+            if (((strin[strin_index] >= '0') && (strin[strin_index] <= '9')) || (strin[strin_index] == '-'))
             {
                 in = 1;
                 strout[strout_index++] = strin[strin_index++];

After the patch I get the following and everything works fine.
Sep 21 16:07:15 sakura-arch xrdp[49057]: (49057)(139974381578432)[INFO ] starting xrdp with pid 49057
Sep 21 16:07:15 sakura-arch xrdp[49057]: (49057)(139974381578432)[INFO ] address [-1] port [3389] mode 3
Sep 21 16:07:15 sakura-arch xrdp[49057]: (49057)(139974381578432)[INFO ] listening to port 3389 on -1
Sep 21 16:07:15 sakura-arch xrdp[49057]: (49057)(139974381578432)[INFO ] xrdp_listen_pp done
Sep 21 16:10:26 sakura-arch xrdp[49057]: (49057)(139974381578432)[INFO ] Socket 12: AF_VSOCK connection received from cid: -1 port: -2147483645

Let me know if you want me to look into contributing a more robust patch :).

Hi Jordan,
Thanks.
A more robust patch is absolutely welcome.
Please send it as a Pull Request on GitHub.
בתאריך יום א׳, 22 בספט׳ 2019 ב-2:28 מאת Jordan Pryde <
<EMAIL_ADDRESS>
I just updated to 0.9.11 myself and ran into this this problem. Here's the
logs I get when I started the service:
Sep 21 15:17:17 sakura-arch systemd[1]: xrdp.service: Failed with result 'exit-code'.
Sep 21 15:17:17 sakura-arch systemd[1]: Failed to start xrdp daemon.
Sep 21 15:27:08 sakura-arch systemd[1]: Starting xrdp daemon...
Sep 21 15:27:08 sakura-arch xrdp[3213]: (3213)(140175692163264)[INFO ] address [<IP_ADDRESS>] port [3389] mode 3
Sep 21 15:27:08 sakura-arch xrdp[3213]: (3213)(140175692163264)[INFO ] listening to port 3389 on <IP_ADDRESS>
Sep 21 15:27:08 sakura-arch xrdp[3213]: (3213)(140175692163264)[ERROR] trans_listen_address failed
Sep 21 15:27:08 sakura-arch xrdp[3213]: (3213)(140175692163264)[DEBUG] Closed socket 7 (AF_VSOCK cid -1 port -1)
Sep 21 15:27:08 sakura-arch xrdp[3213]: (3213)(140175692163264)[ERROR] Failed to start xrdp daemon, possibly address already in use.
Finding this issue and reading the comments from @metalefty
https://github.com/metalefty, I had changed my xrdp.ini to read the
following as documented in the xrdp.ini comments:
port=vsock://-1:3389
use_vsock=false
When I started the service the following was logged and it still didn't
work:
Sep 21 15:17:17 sakura-arch systemd[1]: Starting xrdp daemon...
Sep 21 15:17:17 sakura-arch xrdp[3103]: (3103)(140524741093568)[INFO ] address [1] port [3389] mode 3
Sep 21 15:17:17 sakura-arch xrdp[3103]: (3103)(140524741093568)[INFO ] listening to port 3389 on 1
Sep 21 15:17:17 sakura-arch xrdp[3103]: (3103)(140524741093568)[ERROR] trans_listen_address failed
Sep 21 15:17:17 sakura-arch xrdp[3103]: (3103)(140524741093568)[DEBUG] Closed socket 7 (AF_VSOCK cid -1 port -1)
Sep 21 15:17:17 sakura-arch xrdp[3103]: (3103)(140524741093568)[ERROR] Failed to start xrdp daemon, possibly address already in use.
Sep 21 15:17:17 sakura-arch systemd[1]: xrdp.service: Control process exited, code=exited, status=1/FAILURE
Digging a little deeper, it seems that xrdp_listen_pp is parsing the cid
as a unsigned value, 1, when the correct value per
https://github.com/torvalds/linux/blob/f7c3bf8fa7e5a8e45f4a8e82be6466157854b59b/include/uapi/linux/vm_sockets.h#L87
is -1 and I had correctly specified it that way in the configuration.
Following that hypothesis, I developed a quick and dirty one-line patch
that fixes xrdp_listen_parse_integer such that it will accept negative
integers. This successfully works around the issue but I'm not sure if that
has side effects for the other protocol types, as negative port numbers are
invalid. So, I don't want to file a push request just yet. This also
doesn't fix the case where port=3389 and use_vsock=true. I think we need
to change xrdp_listen_pp to set the host address to VMADDR_CID_ANY when
use_vsock=true.
diff --git a/xrdp/xrdp_listen.c b/xrdp/xrdp_listen.c
index 63e2ca52..373539b0 100644--- a/xrdp/xrdp_listen.c+++ b/xrdp/xrdp_listen.c@@ -341,7 +341,7 @@ xrdp_listen_parse_integer(char *strout, int strout_max,
}
else
{-            if ((strin[strin_index] >= '0') && (strin[strin_index] <= '9'))+            if (((strin[strin_index] >= '0') && (strin[strin_index] <= '9')) || (strin[strin_index] == '-'))
{
in = 1;
strout[strout_index++] = strin[strin_index++];
After the patch I get the following and everything works fine.
Sep 21 16:07:15 sakura-arch xrdp[49057]: (49057)(139974381578432)[INFO ] starting xrdp with pid 49057
Sep 21 16:07:15 sakura-arch xrdp[49057]: (49057)(139974381578432)[INFO ] address [-1] port [3389] mode 3
Sep 21 16:07:15 sakura-arch xrdp[49057]: (49057)(139974381578432)[INFO ] listening to port 3389 on -1
Sep 21 16:07:15 sakura-arch xrdp[49057]: (49057)(139974381578432)[INFO ] xrdp_listen_pp done
Sep 21 16:10:26 sakura-arch xrdp[49057]: (49057)(139974381578432)[INFO ] Socket 12: AF_VSOCK connection received from cid: -1 port: -2147483645
Let me know if you want me to look into contributing a more robust patch
:).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/neutrinolabs/xrdp/issues/1403?email_source=notifications&email_token=AA2MPVC6O6PTGATRA3PYUOLQK2UZ5A5CNFSM4IS6APGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7I3KWA#issuecomment-533837144,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2MPVCAQYK33Q6DW2YRMGLQK2UZ5ANCNFSM4IS6APGA
.

--
Idan Freiberg Mobile: +972-52-2925213

Just revisiting this thread to see if there has been any progress?
I previously managed by holding back the xrdp package, However, After an update today my DE broke again, i tried to update xrdp, but it still does not work.
Please advise me (DE drops after login on xrdp screen)

@ameeno I had this issue as well and if you are using KDE they changed from startkde to startplasma. This may resolve your issue, otherwise I have gotten it to work through the xrdp-git-devel (AUR) package and port=vsock://-1:3389. However, Hyper-V will not automatically change the console over but using Remote Desktop I can connect to the virtual machine.

@ameeno I chose to configure the tcp connection, and connect using the windows rdp client. I like this setup.

I'm also having this issue, trying to use arch / gnome on hyper-v; something I updated in the last 3 days has killed my ability to get in to a working graphical session.
I've tried rolling back xrdp and the changes suggested for xrdp.ini, but neither of these work for me.
@ccsplit which exact package from AUR did you have success with, there seem to be several similarly-named ones, none of which match your name above:
xorgxrdp
xorgxrdp-devel-git
xorgxrdp-git
xrdp
xrdp-devel-git
xrdp-git

@multipitch Use xrdp-devel-git, you have to modify the PKGBUILD to include the --enable-vsock parameter in the configure call.

Thanks. Doing the following gets me to a working xrdp splash screen again:

uninstall xrdp, xorgxrdp-devel-git
install xrdp-devel-git from AUR, modifying PKGBUILD as recommended by @boppbo (adding the following parameter):
--enable-vsock
install xorgxrdp-devel-git from AUR
run install-config.sh from https://github.com/microsoft/linux-vm-tools/tree/master/arch
make changes to /etc/xrdp/xrdp.ini as recommended by @prydom

port=vsock://-1:3389
use_vsock=false

When I log in, Gnome now crashes with an "Oh no! Something has gone wrong." splash screen, but this is probably off-topic!

Since the release of 0.9.12, I can confirm that installing xrdp and xorgxrdp from AUR (and not xrdp-devel-git and xorgxrdp-devel-git respectively) works fine.
The PKGBUILD for xrdp 0.9.12 already contains --enable-vsock so this doesn't need to be modified.
The changes to /etc/xrdp/xrdp.ini still need to be made as per the above.

Any suggestions on how I can try out xrdp-0.9.12 on CentOS 8? I can see that it's available in epel-playground, but I cant work out how to install that on my system...

Any suggestions on how I can try out xrdp-0.9.12 on CentOS 8? I can see that it's available in epel-playground, but I cant work out how to install that on my system...

Not sure I did this right, but I updated xrdp-0.9.11 using:
$ sudo dnf --allowerasing --enablerepo=epel-playground update xrdp
...
...
$ sudo dnf list xrdp
Last metadata expiration check: 0:18:10 ago on Wed 08 Jan 2020 01:42:28 PM +04.
Installed Packages
xrdp.x86_64                                                                        1:0.9.12-1.epel8.playground                                                                         @epel-playground

This removed xrdp-selinux, but I think that might not be much of an issue?
I'm still getting the same error when starting xrdp however:
Jan 08 13:57:06 centos8 systemd[1]: Started xrdp daemon.
Jan 08 13:57:06 centos8 xrdp[11701]: (11701)(140131971687872)[INFO ] starting xrdp with pid 11701
Jan 08 13:57:06 centos8 xrdp[11701]: (11701)(140131971687872)[INFO ] address [-1] port [3389] mode 3
Jan 08 13:57:06 centos8 xrdp[11701]: (11701)(140131971687872)[INFO ] listening to port 3389 on -1
Jan 08 13:57:06 centos8 xrdp[11701]: (11701)(140131971687872)[ERROR] trans_listen_address failed
Jan 08 13:57:06 centos8 xrdp[11701]: (11701)(140131971687872)[ERROR] xrdp_listen_main_loop: xrdp_listen_get_port failed
Jan 08 13:57:06 centos8 systemd[1]: xrdp.service: Main process exited, code=exited, status=1/FAILURE
Jan 08 13:57:06 centos8 systemd[1]: xrdp.service: Failed with result 'exit-code'.

address/port numbers are parsed correctly now, but it's failing to get the port. vsock is available:
$ lsmod | grep vsock
vsock                  40960  1 hv_sock

Never mind.  I think the package from epel-playground was not build with vsock support. At least I do not see --enable-vsock in the reported Configure options:
$ xrdp --help
xrdp 0.9.12
  A Remote Desktop Protocol Server.
  Copyright (C) 2004-2018 Jay Sorg, Neutrino Labs, and all contributors.
  See https://github.com/neutrinolabs/xrdp for more information.

  Configure options:
      --build=x86_64-redhat-linux-gnu
      --host=x86_64-redhat-linux-gnu
      --program-prefix=
      --disable-dependency-tracking
      --prefix=/usr
      --exec-prefix=/usr
      --bindir=/usr/bin
      --sbindir=/usr/sbin
      --sysconfdir=/etc
      --datadir=/usr/share
      --includedir=/usr/include
      --libdir=/usr/lib64
      --libexecdir=/usr/libexec
      --localstatedir=/var
      --sharedstatedir=/var/lib
      --mandir=/usr/share/man
      --infodir=/usr/share/info
      --enable-fuse
      --enable-pixman
      --enable-painter
      build_alias=x86_64-redhat-linux-gnu
      host_alias=x86_64-redhat-linux-gnu
      CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
      LDFLAGS=-Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld
      PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig

  Compiled with OpenSSL 1.1.1 FIPS  11 Sep 2018

Usage: xrdp [options]
   -h, --help       show help
   -n, --nodaemon   don't fork into background
   -k, --kill       shut down xrdp
   -p, --port       tcp listen port
   -f, --fork       fork on new connection

Never mind. I think the package from epel-playground was not build with vsock support. At least I do not see --enable-vsock in the reported Configure options:

you're right, please make a comment in Red Hat bugzilla  or submit a patch in src.fedoraproject
https://apps.fedoraproject.org/packages/xrdp/bugs/all
https://src.fedoraproject.org/rpms/xrdp

you're right, please make a comment in Red Hat bugzilla or submit a patch in src.fedoraproject

In fact, a case was already opened on Jan 5 by somebody else: https://bugzilla.redhat.com/show_bug.cgi?id=1787953

I built the RPM for xrdp-0.9.12 myself, with --enable-vsock applied, and I'm now able to use Hyper-V Enhanced Mode with CentOS 8.

@ameeno I had this issue as well and if you are using KDE they changed from startkde to startplasma. This may resolve your issue, otherwise I have gotten it to work through the xrdp-git-devel (AUR) package and port=vsock://-1:3389. However, Hyper-V will not automatically change the console over but using Remote Desktop I can connect to the virtual machine.

Thank you! I've been going nuts trying to figure out why my Xorg login through xrdp stopped working for week and basically gave up for command line access.
Turns out my .xinitrc was still calling "startkde". Even "startplasma" isn't sufficient on latest Arch releases. I changed mine to "startplasma-x11" and it worked.


polybeast is slower than monobeast

I build the cuda docker container like this, and tested mono and poly by almost same parameters below:
python -m torchbeast.monobeast \
     --env PongNoFrameskip-v4 \
     --num_actors 64 \
     --total_steps 30000000 \
     --learning_rate 0.0004 \
     --epsilon 0.01 \
     --entropy_cost 0.01 \
     --batch_size 4 \
     --unroll_length 80 \
     --num_buffers 60 \
     --num_threads 4 \
     --xpid example

python -m torchbeast.polybeast \
     --env PongNoFrameskip-v4 \
     --num_actors 64 \
     --total_steps 30000000 \
     --learning_rate 0.0004 \
     --epsilon 0.01 \
     --entropy_cost 0.01 \
     --batch_size 4 \
     --unroll_length 80 \
     --xpid example

I got the result that polybeast is slower than monobeast:
monobeast speed is about 10000SPS.
polybeast  speed is about 3000SPS.
I have checked GPU, it works fine. monobeast used 100% of every CPU processor, but polybeast used only 50% of every CPU processor.
How can I speed up the polybeast?

Hey Da-Capo, thanks for your report.
I think to start with a batch size of 4 isn't very large. The reason your CPUs are less busy for Polybeast is that the actor forward passes ("inference") happen on the GPU in that case. Options include:

Increase batch size
Use different GPUs for inference and learning
Potentially increase the number of parallel inference and learner threads
You can also play around with the unroll length

I'm having similar issue on a ubuntu machine with 32cpu cores, and 4 V100 gpus. with monobeast, it only uses 1 gpu, and full cpu power, the frame rate is ~5000SPS; while with polybeast, I set batch_size=16, num_inference/learner_threads=8, but the frame rate is only ~300SPS, and only 2 gpus are running. Were you able to speed up polybeast? Can you share some insight with me? Thanks!


feat(region,host): support text volume mount

What this PR does / why we need it:

Does this PR need to be backport to the previous release branch?:

/area host climc region


Can't send pictures

When trying to send a picture from the client, I am not able to send it after file selection, either I double-click on the file or I select the file and then click on Open button.

Confirmed. STR:

Open conversation
Click Add Files button
Select picture
Click Open

Expected: Photo is attached to conversation
Actual: Nothing happens.

Can not reproduce. Please let me know if it still doesn't work for you. Closing for now.

Hmm. I can still reproduce it. OS X 10.10.5, Safari 9.1.1. I wonder why.

With Version 2.2.5 (961), on Mac OS X 10.11.5, it now works fine by:

Clicking on the image button;
Selecting a picture;
Clicking "Open".

Well yeah, by reproducing the steps to reproduce. Anyway, it probably fixes itself in 10.11.


Mobile: slide content scrolling in iphone

use  code
var startScroll, touchStart, touchCurrent;         swiper.slides.on('touchstart', function (e) {             startScroll = this.scrollTop;             touchStart = e.targetTouches[0].pageY;         }, true);         swiper.slides.on('touchmove', function (e) {             touchCurrent = e.targetTouches[0].pageY;             var touchesDiff = touchCurrent - touchStart;             var slide = this;             var onlyScrolling =                     ( slide.scrollHeight > slide.offsetHeight ) && //allow only when slide is scrollable                     (                             ( touchesDiff < 0 && startScroll === 0 ) || //start from top edge to scroll bottom                             ( touchesDiff > 0 && startScroll === ( slide.scrollHeight - slide.offsetHeight ) ) || //start from bottom edge to scroll top                             ( startScroll > 0 && startScroll < ( slide.scrollHeight - slide.offsetHeight ) ) //start from the middle                     );             if (onlyScrolling) {                 e.stopPropagation();             }         }, true);
Sliding is particularly difficult

Issue is closed because of outdated/irrelevant/not actual/needed more information/inactivity.
If this issue is still actual and reproducible for latest version of Swiper, please create new issue and fill the issue template correctly:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with issue


Add additional export forms

Support these additional forms for ES7:
export x from "m";
export * as y from "n";

f8b268e441ebe04ea9ddd75393c7e37c67de1ad1


retry on franz consumer group session errors

Description
Implements retry logic for the kafka consumer on group join and leader errors.
Quick checks:

[x] I have followed the Code Guidelines.
[x] There is no other pull request for the same update/change.
[x] I have written unit tests.
[x] I have made sure that the PR is of reasonable size and can be easily reviewed.

Manual Test
Steps to manually test:

Spin up a kafka cluster using this docker compose:

version: '2'
services:
  zookeeper:
    image: wurstmeister/zookeeper
    ports:
      - "2181:2181"
  kafka1:
    image: wurstmeister/kafka
    ports:
      - "9092:9092"
    environment:
      KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INSIDE:PLAINTEXT
      KAFKA_LISTENERS: INSIDE://:9092
      KAFKA_ADVERTISED_LISTENERS: INSIDE://<your-local-ip>:9092
      KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
      KAFKA_INTER_BROKER_LISTENER_NAME: INSIDE
    depends_on:
      - zookeeper
  kafka2:
    image: wurstmeister/kafka
    ports:
      - "9093:9093"
    environment:
      KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INSIDE:PLAINTEXT
      KAFKA_LISTENERS: INSIDE://:9093
      KAFKA_ADVERTISED_LISTENERS: INSIDE://<your-local-ip>:9093
      KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
      KAFKA_INTER_BROKER_LISTENER_NAME: INSIDE
    depends_on:
      - zookeeper
  kafka3:
    image: wurstmeister/kafka
    ports:
      - "9094:9094"
    environment:
      KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INSIDE:PLAINTEXT
      KAFKA_LISTENERS: INSIDE://:9094
      KAFKA_ADVERTISED_LISTENERS: INSIDE://<your-local-ip>:9094
      KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
      KAFKA_INTER_BROKER_LISTENER_NAME: INSIDE
    depends_on:
      - zookeeper

Run the following pipelines against the kafka cluster:

version: "2.2"
pipelines:
  - id: gen-kafka
    status: running
    connectors:
      - id: gen.in
        type: source
        plugin: builtin:generator
        settings:
          format.type: "structured"
          format.options.id: "int"
          format.options.name: "string"
          format.options.company: "string"
          format.options.trial: "bool"
          rate: 0.5
          recordCount: "1000"
      - id: kafka.out
        type: destination
        plugin: standalone:kafka
        settings:
          batchBytes: "10485760"
          sdk.batch.delay: 1s
          sdk.batch.size: "50000"
          servers: <your-local-ip>:9092,<your-local-ip>:9093,<your-local-ip>:9094
          topic: test
  - id: kafka-log
    status: running
    connectors:
      - id: kafka.in
        type: source
        plugin: standalone:kafka
        settings:
          readFromBeginning: "true"
          servers: <your-local-ip>:9092,<your-local-ip>:9093,<your-local-ip>:9094
          topic: test
        processors:
          - id: unwrapopencdc
            type: builtin:unwrap.opencdc
            plugin: ""
            condition: ""
            settings:
              field: .Payload.After
      - id: log.out
        type: destination
        plugin: builtin:log

Simulate a node going down by pausing or stopping one of the kafka node containers:

Before
Note that the pipeline errors out and stops, preventing a recovery from the issue:
2024-07-10T20:49:31+00:00 ERR pipeline stopped error="node kafka-log:kafka.in stopped with error: source stream was stopped unexpectedly: error reading from source: read plugin error: failed getting a record: unable to join group session: unable to dial: dial tcp <IP_ADDRESS>:9092: connect: connection refused" component=pipeline.Service pipeline_id=kafka-log stack=[{"file":"/Users/samir/go/src/conduit/pkg/pipeline/lifecycle.go","func":"github.com/conduitio/conduit/pkg/pipeline.(*Service).runPipeline.func2","line":582},{"file":"/Users/samir/go/src/conduit/pkg/pipeline/stream/source.go","func":"github.com/conduitio/conduit/pkg/pipeline/stream.(*SourceNode).Run","line":140},{"file":"/Users/samir/go/src/conduit/pkg/pipeline/stream/source.go","func":"github.com/conduitio/conduit/pkg/pipeline/stream.(*SourceNode).Run.func1","line":87}]

After
Note that the errors are logged, but are continually retried with ErrBackoffRetry. This way, it's not silent, but we still can show the error.
After the broker comes back up, we can see that the connector continues processing records.
2024-07-10T20:08:17+00:00 ERR group session error, retrying: unable to join group session: unable to dial: dial tcp <IP_ADDRESS>:9093: connect: connection refused component=plugin.standalone connector_id=kafka-log:kafka.in plugin_name=conduit-connector-kafka
2024-07-10T20:08:17+00:00 ERR join and sync loop errored component=plugin.standalone connector_id=kafka-log:kafka.in group=backoff plugin_name=conduit-connector-kafka
2024-07-10T20:08:17+00:00 WRN read from broker errored, killing connection after 0 successful responses (is SASL missing?) component=plugin.standalone connector_id=kafka-log:kafka.in plugin_name=conduit-connector-kafka req=err
2024-07-10T20:08:17+00:00 WRN read from broker errored, killing connection after 0 successful responses (is SASL missing?) component=plugin.standalone connector_id=gen-kafka:kafka.out plugin_name=conduit-connector-kafka req=err
2024-07-10T20:08:17+00:00 WRN read from broker errored, killing connection after 0 successful responses (is SASL missing?) component=plugin.standalone connector_id=kafka-log:kafka.in plugin_name=conduit-connector-kafka req=err
2024-07-10T20:08:18+00:00 WRN unable to open connection to broker addr=err component=plugin.standalone connector_id=kafka-log:kafka.in plugin_name=conduit-connector-kafka
2024-07-10T20:08:18+00:00 WRN read from broker errored, killing connection after 0 successful responses (is SASL missing?) component=plugin.standalone connector_id=gen-kafka:kafka.out plugin_name=conduit-connector-kafka req=err
2024-07-10T20:08:18+00:00 WRN produce partition load error, bumping error count on first stored batch broker=will_fail component=plugin.standalone connector_id=gen-kafka:kafka.out plugin_name=conduit-connector-kafka
2024-07-10T20:08:19+00:00 WRN read from broker errored, killing connection after 0 successful responses (is SASL missing?) component=plugin.standalone connector_id=kafka-log:kafka.in plugin_name=conduit-connector-kafka req=err
2024-07-10T20:08:19+00:00 WRN read from broker errored, killing connection after 0 successful responses (is SASL missing?) component=plugin.standalone connector_id=kafka-log:kafka.in plugin_name=conduit-connector-kafka req=err
2024-07-10T20:08:20+00:00 WRN read from broker errored, killing connection after 0 successful responses (is SASL missing?) component=plugin.standalone connector_id=kafka-log:kafka.in plugin_name=conduit-connector-kafka req=err
2024-07-10T20:08:21+00:00 WRN produce partition load error, bumping error count on first stored batch broker=will_fail component=plugin.standalone connector_id=gen-kafka:kafka.out plugin_name=conduit-connector-kafka
2024-07-10T20:08:21+00:00 WRN read from broker errored, killing connection after 0 successful responses (is SASL missing?) component=plugin.standalone connector_id=kafka-log:kafka.in plugin_name=conduit-connector-kafka req=err
2024-07-10T20:08:26+00:00 INF component=plugin connector_id=kafka-log:log.out plugin_name=builtin:log plugin_type=destination record={"key":"c2FjY2hhcmlmeQ==","metadata":{"conduit.source.connector.id":"gen-kafka:gen.in","opencdc.readAt":"1720667249647356000"},"operation":"create","payload":{"after":{"company":"redipper","id":1592616014876622300,"name":"oenanthaldehyde","trial":false},"before":null},"position":"eyJHcm91cElEIjoiOWIyNzFkN2UtYTBmNC00MzlhLTk4YWMtN2YyMjk2NjIxOTdhIiwiVG9waWMiOiJzYW1pci10ZXN0LTIiLCJQYXJ0aXRpb24iOjAsIk9mZnNldCI6MH0="}

@lovromazgon ok, feedback has been addressed - thank you 🙇🏾


Loading EXO and SCC in the same session

Is it possible to load Connect-ExchangeOnline and Connect-IPPSSession with in the same Powershell session?
Seems like they use the same PSSession.

@officedocsbot assign @yogkumgit

Hi @mark3grahams, thank you for your feedback.
I think it´s not possible at the moment. I should suggest that you post this question in the following article:
https://techcommunity.microsoft.com/t5/exchange-team-blog/announcing-general-availability-of-the-exchange-online/ba-p/1436623
We are limited to documentation issues and improvements.

@dariomws  Thank you very much for the contribution and sharing this explanation. @mark3grahams Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


chore(ops): merge with master

Merging our development branch with master.
From this point on we should use the featurebranch & pull request method

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Updating model procedure

For the gh-actions, we can specify when to trigger a build (and model update to memote tracking)  based on branch. Right now I set it up to track any push at all, which is wasteful since a majority of pushes won't be modifying models. If we make 3 branches specifically used to update models update_av, update_rt, update_se, or a single branch for all update_models, then we can tag the workflow for changes in that(those) branch(es).
It's also possible to leverage the 'matrix' function in gh-action, so we can use a single workflow for all models instead of three. Just found this today.

For my second comment (using single gh-action instead of 3), it turns out that if the 3 workflows run at the same time there is a race to see which one commits the updated gh-page branch. The other 2 will fail because it sees there was an update in the middle of a commit.  Looking at triggering them sequentially. If we did have a branch per model, this wouldn't be a concern.


Code line prettified

Thank you for the PR! However mentioned in the comment, I think we want to preserve the existing indentation in this case.

Thank you for the PR! However mentioned in the comment, I think we want to preserve the existing indentation in this case.

Okay, no problem :)


[Market Page] - Funding rate shouldn't be rounded

The funding rate cap is 0.00625% and here we see 0.0063%, the funding rate should not be rounded and if it is at least don't round if it's maxed since it looks like a bug.
I think it's okay to show up to 5 decimals and not 4.

Fixed


Add option to replace requirements.txt with a conda yaml config file

Rather than giving an option we will just use conda - users can always replace the conda yaml with a requirements.txt if they really want it for a project.


[Bug] After selecting all, use CTRL+C, and then CTRL+V in another work page, it always gets stuck, and the paste operation cannot be processed.

Before you submit this issue, have you checked the following

[X] Is this really a problem?
[X] I have searched the Github Issues for similar issues, but did not find anything.

Affected packages and versions
^0.2.11
Reproduction link
在工作表1全选并按CTRL+C，在工作表2进行CTRL+V粘贴
Expected behavior
全选后，用CTRL+C在另外一个工作页里CTRL+V直接粘贴，不会卡死
Actual behavior
全选后，用CTRL+C在另外一个工作页里CTRL+V直接粘贴，卡死，并且不能操作表格的内容了。
（如果全选后，点右键的复制和粘贴是OK的））
System information
No response

Please confirm whether you are using the latest version and provide the minimum reproduction.

We are closing this issue for now due to the lack of enough information. Please feel free to reopen it once you can provide a minimal reproduction.


make sure to output the last SNP for each input file

Just making sure we don't forget to fix this simple bug, after the huge refactor is merged.
		// FIXME.  The loop below doesn't output the last SNP.
		// Also the counts may be off by 1.
		uint64_t cur_count = 0;
		uint64_t cur_snp = kmer_matches[0];
		for (auto it : kmer_matches) {
			if (it != cur_snp) {
				fh << cur_snp << '\t' << cur_count << '\n';
				cur_snp = it;
				cur_count = 1;
			} else {
				++cur_count;
			}
		}

Thanks!


Add support for keyword analytics

See https://github.com/ibm-cds-labs/slack-analytics/issues/1

Delivered by #4


Add a section to documentation for task types

This permalink contains the available task keys.
Every time we want to refer to list of available task in the documentation, we refer to that in our own docstrings or anywhere else. I find it unpleasant, is it okay if we could put available task strings inside our own docs somewhere (instead of code) and refer to that instead?
I realized it when I wanted to put it inside skops docs. pinging @adrinjalali

WDYT @julien-c? I think this makes sense.
It has the huge asterisk that we need to either raise some error or really make sure to avoid being out-of-sync. We went from multiple sources of truth to a single one, so I'm a bit worried of again creating the task types in another place.

@osanseviero we could have a section in hub-docs and if someone wants to add a task we can let them add it there as well (and also modify the section for "Adding a task" in our docs). Maybe we could add the task keys in here. Do you want me to deal with this?

I didn't understand this issue very clearly.
Is the issue that we don't display the "canonical" list of tasks enough on the website? If it's this issue, then yes your proposal of dynamically adding this (full) list to https://huggingface.co/docs/hub/models-tasks#whats-a-task but also to https://huggingface.co/tasks (which should always display all existing tasks, IMO) is good
But yeah as Omar says we should have a single source of truth otherwise things will diverge fast

Let's close this as it's outdated and there was not an answer to the above. Let's make sure to have most tasks in /tasks :fire:


Google Duo "Couldn't connect to the internet." when attempting to place video call

I used the data from a backup on a fully Googled Pixel C to get the app running. When attempting to place any voice call or video call (haven't tried any other features) I get a toast message "Couldn't connect to the internet.".
MicroG install is good to go. All checkmarks under self check. Vanced, google opinion rewards, calendar sync, etc... working perfectly.
logcat.txt

After the most recent microg update, google duo if sully functioning as expected. Thank you!


kconfig: drivers: rtc: Remove redundant RTC deps.

These symbols appear within an if RTC (in drivers/rtc/Kconfig).
if FOO is just shorthand for adding depends on FOO to each item
within the if. There are no "conditional includes" in Kconfig, so
if FOO has no special meaning around a source. Conditional includes
wouldn't be possible, because an if condition could include (directly
or indirectly) forward references to symbols not defined yet.
Tip: When adding a symbol, check its dependencies in the menuconfig
(ninja menuconfig, then / to jump to the symbol). The menuconfig also
shows how the file with the symbol got included, so if you see
duplicated dependencies, it's easy to hunt down where they come from.

Codecov Report

Merging #14218 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #14218   +/-   ##
=======================================
  Coverage   52.68%   52.68%
=======================================
  Files         307      307
  Lines       45473    45473
  Branches    10530    10530
=======================================
  Hits        23956    23956
  Misses      16640    16640
  Partials     4877     4877

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d7ae2a8...412c339. Read the comment docs.


github/workflows: fix install clang-format to use clang-extra-tools pkg

addressed https://github.com/google/cpu_features/pull/153#issuecomment-814456058, fix install clang-format binary to use clang-extra-tools package.

Thx ! I did the same for google/ortools but forget to do it in cpu_feature.
for the record: https://pkgs.alpinelinux.org/contents?branch=edge&name=clang-extra-tools&arch=x86_64&repo=main


[feature-wip] (array-type) function concat_ws support array

Proposed changes
Issue Number:close https://github.com/apache/doris/issues/10052
function concat_ws support array
mysql> set enable_array_type = true;
mysql> select str, c_array, concat_ws(str, c_array) from concat_test;
+------+--------------------+-----------------------------+
| str  | c_array            | concat_ws(`str`, `c_array`) |
+------+--------------------+-----------------------------+
| NULL | ['AA', NULL, 'CC'] | NULL                        |
|      | ['AA', NULL, 'CC'] | AACC                        |
| -    | [NULL, NULL, NULL] |                             |
| -    | ['AA', NULL, NULL] | AA                          |
| -    | ['AA', NULL, 'CC'] | AA-CC                       |
| -    | ['', NULL, '']     | -                           |
| -    | ['', '', '']       | --                          |
| -    | ['AA', '', 'CC']   | AA--CC                      |
| -    | ['AA', 'BB', 'CC'] | AA-BB-CC                    |
+------+--------------------+-----------------------------+
9 rows in set (0.01 sec)

mysql> select "-", concat_ws("-", c_array) from concat_test;
+------+---------------------------+
| '-'  | concat_ws('-', `c_array`) |
+------+---------------------------+
| -    | AA-CC                     |
| -    | AA-CC                     |
| -    |                           |
| -    | AA                        |
| -    | AA-CC                     |
| -    | -                         |
| -    | --                        |
| -    | AA--CC                    |
| -    | AA-BB-CC                  |
+------+---------------------------+
9 rows in set (0.01 sec)

Problem Summary:
Describe the overview of changes.
Checklist(Required)

Does it affect the original behavior: (No)
Has unit tests been added: (Yes)
Has document been added or modified: (Yes)
Does it need to update dependencies: (No)
Are there any changes that cannot be rolled back: (No)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

LGTM


Cp1147 public pages for private maps

@Kartones , @xavijam CR this, please. This closes CartoDB/cartodb-platform#1147.

Hold your horses, I'm checking something else. Sorry for the spam.

@Kartones , @xavijam , CR this, please. Last commit fixed "white screen" if the owner of a visualization opens its public_map.

This istechnically incorrect... A private map has no public_map page due to its nature, I'm pretty sure this was done on purpose.
In fact I'm worried that if the owner sees the map, it might get cached and then served to other users, there's some logic there that makes privacy assumptions and if the owner overrides them might be dangerous...

I think that not having private map was the first approach, but now you can share a private map with people, and they get access to its "public_map", isn't it?

uhmmm, right, in the past datasets were ok but maps were just copied so was fine this way.
Then I'd say disable caching headers if the visualization is private, just to be safe:
https://github.com/CartoDB/cartodb/blob/cp1147-Public_pages_for_private_maps/app/controllers/admin/visualizations_controller.rb#L208
https://github.com/CartoDB/cartodb/blob/cp1147-Public_pages_for_private_maps/app/controllers/admin/visualizations_controller.rb#L220
https://github.com/CartoDB/cartodb/blob/cp1147-Public_pages_for_private_maps/app/controllers/admin/visualizations_controller.rb#L223
But apart from that, :+1:

Ok, @xavijam CR this, please. @Kartones, I've just added the checks for not caching private vizs, in case you want to take a second look.

If you are ok with the changes, :+1:.


gRPC server dies after uploading a geofence

When you try and upload a geofence with drone.geofence.upload_geofence(), the geofence uploads, but subsequent actions (I tested with drone.mission.upload_mission()) fails with:
grpc._channel._MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
	status = StatusCode.UNAVAILABLE
	details = "Socket closed"
	debug_error_string = "{"created":"@1579677625.837417436","description":"Error received from peer ipv4:<IP_ADDRESS>:50051","file":"src/core/lib/surface/call.cc","file_line":1056,"grpc_message":"Socket closed","grpc_status":14}"
>

Not sure whether it's a bug with backend or binding, but it definitely fails on the Python example so filing here.
Steps to replicate:

add

await drone.mission.upload_mission([MissionItem(lat, lon, 10, 5, True, float('nan'), float('nan'), MissionItem.CameraAction.NONE    , float('nan'), float('nan'))])
await drone.mission.start_mission()

below the upload_geofence function in examples/geofence.py.
2. Run examples/geofence.py
MAVSDK-Python version: 0.6.1, latest from pip (Python 3.8.0), Arch Linux

After uploading a geofence (which I can't get rid of - please help!) in SITL, I get a similar error when arming:
-- Arming Traceback (most recent call last):   File "test_main.py", line 87, in <module>     loop.run_until_complete(run())   File "C:\Users\user\Development\python_proj\mavsdk\mavsdk_env\lib\asyncio\base_events.py", line 583, in run_until_complete     return future.result()   File "test_main.py", line 74, in run     await drone.action.arm()   File "C:\Users\user\Development\python_proj\mavsdk\mavsdk_env\lib\site-packages\mavsdk\generated\action.py", line 224, in arm     response = await self._stub.Arm(request)   File "C:\Users\user\Development\python_proj\mavsdk\mavsdk_env\lib\site-packages\aiogrpc\channel.py", line 40, in __call__     return await fut grpc._channel._MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:         status = StatusCode.UNKNOWN         details = "Stream removed"         debug_error_string = "{"created":"@1584991977.922000000","description":"Error received from peer ipv6:[::1]:50051","file":"src/core/lib/surface/call.cc","file_line":1056,"grpc_message":"Stream removed","grpc_status":2}"

Thanks for reporting. As far as I can see, the corresponding issue is still open in MAVSDK. Would you be willing to have a look at this?
Otherwise I may get to fix it in the next few weeks as part of the C++ auto-generation (I currently only finished the action plugin, but all of them will eventually be auto-generated).

@JonasVautherin I took a look at this again but I have no idea where the problem is :(. Do you have any pointers on how to debug?

@obbe79 If you're interested/able to to fix the bug, feel free to. In the meantime, I'm going to try to look into it again now that @julianoes refactored mission into core.

Hi guys,
does anyone know where is the problem? I was trying to fix it but for the moment I get nothing.

I think we should get this fixed with the next round of releases/updates.

@obbe79 If you're interested/able to to fix the bug, feel free to. In the meantime, I'm going to try to look into it again now that @julianoes refactored mission into core.

thank you, I will see but I don't think I'm able to fix it

@julianoes I agree completely! I also have no clue what's going on, and my gRPC experience is limited to reading some online docs and copying existing plugins! Do you have any idea what's wrong, or even any debug techniques? The error logs by themselves are very unhelpful :(

We have a new geofence implementation since 0.7.0, and it works for me. I'll therefore close this, but feel free to reopen if necessary!


Move buildarch.ring to "bin" folder for better organization

Thanks for the update

Thanks for the update

Thanks for the update

Thanks for the update


Added Prism

MVVM/Prism - https://github.com/PrismLibrary/Prism
A cross-platform desktop and mobile MVVM development framework.

@bartlannoeye Thanks


datetime_local_to_utc function not in Azure Monitor Logs

I see documentation for the Kusto scalar functions for local --> UTC and UTC --> local. However, these functions do not appear be in or work for Azure Monitor logs.
https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/datetime-local-to-utc-function

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

ID: f3c013d2-791d-2072-6b4c-a07405100e8d
Version Independent ID: 382d74ad-17a4-e358-2f4b-fd6d45bbe1b9
Content: datetime_local_to_utc() - Azure Data Explorer
Content Source: data-explorer/kusto/query/datetime-local-to-utc-function.md
Service: data-explorer
GitHub Login: @shsagir
Microsoft Alias: shsagir

@ChristopherMank
Thanks for your feedback! We have assigned the issue to author and will provide further updates.

Thanks for contacting us with feedback about our product documentation. Depending on the complexity, it could take from a few business days to a few weeks to look further into your question, issue, or suggestion. We'll contact you if we need further information, and you'll receive an email message each time we "@mention" you in a comment.
Thanks again for submitting your feedback. Your suggestions help improve our documentation.

@ChristopherMank thanks for pointing this out. We've discussed with Azure Monitor, and will be updating the doc to reflect that these functions are not supported in Azure Monitor logs.
#please-close

@christopherMank, on further exploration, we've found out that these functions do work, they just haven't been updated in intellisense.

The functions are supported in Azure Monitor - the issue here is that IntelliSense of Azure Monitor is not offering them as it is still in old version.  @YaelSchuster : please don't change docs.


Producer startup failling

I'm getting the following error message when deploying the image in okteto:
2022-04-22 07:49:19.00 UTCproducer-7c9bb8795d-xdmv7[pod-event]Successfully pulled image "registry.cloud.okteto.net/mobilars/kafka-producer@sha256:648fb232acc41b6a129a3a819b5f385b8e2e6658a75c3f42b45587c3d7a669a8" in 22.171505847s
2022-04-22 07:49:24.00 UTCproducer-7c9bb8795d-xdmv7[pod-event]Created container producer
2022-04-22 07:49:24.00 UTCproducer-7c9bb8795d-xdmv7[pod-event]Started container producer
2022-04-22 07:49:24.52 UTCproducer-7c9bb8795d-xdmv7producerTraceback (most recent call last):
2022-04-22 07:49:24.52 UTCproducer-7c9bb8795d-xdmv7producer File "/usr/src/app/app.py", line 1, in
2022-04-22 07:49:24.52 UTCproducer-7c9bb8795d-xdmv7producer from flask import Flask, request, jsonify
2022-04-22 07:49:24.52 UTCproducer-7c9bb8795d-xdmv7producer File "/usr/local/lib/python3.10/site-packages/flask/init.py", line 14, in
2022-04-22 07:49:24.52 UTCproducer-7c9bb8795d-xdmv7producer from jinja2 import escape
2022-04-22 07:49:24.52 UTCproducer-7c9bb8795d-xdmv7producerImportError: cannot import name 'escape' from 'jinja2' (/usr/local/lib/python3.10/site-packages/jinja2/init.py)

I guess this might be the issue: https://stackoverflow.com/questions/71718167/importerror-cannot-import-name-escape-from-jinja2

I guess this might be the issue: https://stackoverflow.com/questions/71718167/importerror-cannot-import-name-escape-from-jinja2

you were right, issue is now fixed!


jpgpj cannot detect unencrypted data

Hello,
I'm using jpgpj to decrypt file. My program received an unencrypted file and tried to decrypt it.
I expected an exception will be thrown. But I got a empty file with no exception. Please help me.
the data in the file is
H000001018
Regards

Sorry for taking so long to respond -- the latest version of JPGPJ (0.6.1) should do a better job of checking if a file is encrypted before trying to decrypt it. If the file is clearly not a PGP-encrypted file, JPGPJ will now raise a org.bouncycastle.openpgpg.PGPException (with a message "not a pgp message").


CNF-15750: Add more generic utilities

Adds DB generic utilities for create, update, upsert

/hold
Need to resolve issues with Update method

Closing as unnecessary... code was merged into https://github.com/openshift-kni/oran-o2ims/pull/366


[Bug]: Terminal and windows controls are not transparent

Is there an existing issue for this?

[x] I have searched the existing issues

Current Behavior

Expected Behavior

Steps To Reproduce
No response
Environment
- OS: Windows11
- VSCode:1.78.2
- Extension:1.1.15
- Theme:Dark

Anything else?
No response

"terminal.integrated.gpuAcceleration": "off"

Yeah, that option from the FAQ should fix your terminal. Window controls aren't transparent due to "native window controls" being enabled by default, though Vibrancy should turn it off automatically.


Unable to install miniconda3

Provide environment information
asdf info
OS:
Linux rasp 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux

SHELL:
GNU bash, version 5.1.4(1)-release (aarch64-unknown-linux-gnu)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

BASH VERSION:
5.1.4(1)-release

ASDF VERSION:
v0.13.1-0586b37

ASDF INTERNAL VARIABLES:
ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions
ASDF_DATA_DIR=/home/pi/.asdf
ASDF_DIR=/home/pi/.asdf
ASDF_CONFIG_FILE=/home/pi/.asdfrc

ASDF INSTALLED PLUGINS:
python                       https://github.com/danhper/asdf-python.git master 5e277e2
ruby                         https://github.com/asdf-vm/asdf-ruby.git master 4e5b177

To Reproduce
asdf plugin add python
asdf install python miniconda3-4.7.12
python-build miniconda3-4.7.12 /home/pi/.asdf/installs/python/miniconda3-4.7.12
ERROR: The binary distribution of Miniconda is not available for Linux-aarch64.
Describe the Bug
Unable to install miniconda3-4.7.12
python-build miniconda3-4.7.12 /home/pi/.asdf/installs/python/miniconda3-4.7.12
ERROR: The binary distribution of Miniconda is not available for Linux-aarch64.
Expected Behaviour
Unable to install miniconda3-4.7.12.
Although, the binary package exists.
Link: https://docs.conda.io/projects/miniconda/en/latest/

The version numbers are kind of confusing, so you probably wanted to install something like:
asdf install python miniconda3-3.11-23.11.0-2

Which would actually install Miniconda3-py311_23.11.0-2 (the current latest version)
miniconda3-4.7.12 is a version from 2019, before the release of the M1, which explains why it doesn't find a matching binary.


Preset @nuxt/test-utils not found.

Trying to get the test-utils to work, but after adding the preset, JEST simply won't run, saying that the test utils cannot be found.
This is straight from the docs. I've tried a bunch of different versions, and simply cannot get them to work. This is required (I think) in order to get the global function calls (such as definePageMeta) to work in tests.

● Validation Error:
Preset @nuxt/test-utils not found.
Configuration Documentation:
https://jestjs.io/docs/configuration.html

The test utils are installed.
Any ideas?

This repository is for a previous version of @nuxt/test-utils which is only for Nuxt 2.

Oh. Where's the current one?

It's in the main Nuxt repo: https://github.com/nuxt/nuxt/.
You can see the docs here: https://nuxt.com/docs/getting-started/testing#testing.

Weird, because the main page links to this one.

Oh no! Which page?

Nope. My apologies. I was on the actual test-utils site 🤦🏻
Regardless, the guidance on the site with jest - does not work. Error above.

If there's an issue, would you raise it on https://github.com/nuxt/nuxt/issues ? 🙏

yeah on it now :)