feat(rds): add engineVersion to DatabaseCluster

Without this change, CDK's RDS DatabaseCluster is not very useful
because you can only deploy the default versions
of the given database engine.
This change adds an optional prop engineVersion
fixes #2212

Pull Request Checklist

[x] Testing

Unit test added (prefer not to modify an existing test, otherwise, it's probably a breaking change)
CLI change?: coordinate update of integration tests with team
cdk-init template change?: coordinated update of integration tests with team

[x] Docs

jsdocs: All public APIs documented
README: README and/or documentation topic updated
Design: For significant features, design document added to design folder

[x] Title and Description

Change type: title prefixed with fix, feat and module name in parens, which will appear in changelog
Title: use lower-case and doesn't end with a period
Breaking?: last paragraph: "BREAKING CHANGE: <describe what changed + link for details>"
Issues: Indicate issues fixed via: "Fixes #xxx" or "Closes #xxx"

[ ] Sensitive Modules (requires 2 PR approvers)

IAM Policy Document (in @aws-cdk/aws-iam)
EC2 Security Groups and ACLs (in @aws-cdk/aws-ec2)
Grant APIs (only if not based on official documentation with a reference)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license.

+1 - I also need this change as I am trying to enable logical_replication which is only supported on postgres 10.6+ however the default instance type that is created is 9.6 :(

@agdimech As a workaround in the meantime, you can copy the cluster.ts file from my branch and fix the change. That's what I'm doing.

Haha I am already using it :p
Thanks for this!

Thanks for the contribution! Unfortunately, I've just merged some other RDS changes that lead to a conflict. Could you please merge from master and resolve them?

@rix0rrr Done. Rebased and force-pushed.

I made a change directly to avoid a roundtrip. Hope I didn't break the build :)

Thanks. Looks like you did not break the build.

Has this change been merged into master or just your own dev branch?


[NSNull length] send to instance

While fetching email it crashes

   self.graphClient.me().request().getWithCompletion {
        (user: MSGraphUser?, error: Error?) in
       if let graphError = error {
       }
       else {
            DispatchQueue.main.async(execute: {

                if let eMail = userInfo.mail {
                    self.emailTextField.text = eMail
                }
            })
       }
  }

We'll look into this. Is your inbox empty?

I misread my own code :-(.  The snippet you are having trouble with is not fetching your email messages, it's fetching your email address from your user profile.  This makes the crash even odder... unless you haven't configured an email address in your Office 365 profile.  I'll see if I can replicate it on my rig.


File support for relay urls

Could relays urls specification be stored in a file
and mev-boost would read from there?
That would add better support for multiple relay sources,
And could that file be reloaded on a given period?
could that period be configured?

Yes, that sounds like a good idea.

if this setup is done, might not be necessary to do file support if the service is able to pull from a remote URL.

Closing this in favor of tracking all in issue #154


Compile latest webpack with ncc

The latest code in ./dist/index.js had not been compiled with webpack and no longer worked.

Codecov Report

Merging #22 (f01cd8b) into main (a285698) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #22   +/-   ##
=======================================
  Coverage   85.45%   85.45%
=======================================
  Files           2        2
  Lines          55       55
  Branches        8        8
=======================================
  Hits           47       47
  Partials        8        8

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 a285698...f01cd8b. Read the comment docs.

Hey @lindluni, Has any testing been done with this? I see you mentioned it was broke before so it can't really get worse, but want to confirm we are seeing it work now.


Show available commands for a given query

I'd like to have a way to show available commands for a given query without looking through the yaml file. If there is one now, I am not aware.

garden ls <query>... will show you the commands, but it also shows a bunch of other stuff so I'm not sure if you've tried that. It only lists the command names, though. It doesn't list the command definitions.
Is that view good enough, or would having a specialized garden ls --cmds <query> mode that only shows the commands names be better for your usage? Is seeing the command definition useful as well?
This makes me wonder whether having a "dry run" mode when running commands would be useful or not, since having that mode would let you run commands speculatively to see what actually gets run.
e.g. we could add garden your-command -vv --dry-run <query> and that'd let you see all the places where your-command would get run without actually running anything. The -vv option would let you decide whether or not you want to see the definitions.
Let me know what you think. I kinda like the "dry run" idea on its own, and I'm curious to know whether a garden ls --cmds <query> mode would be useful or not as well, and what it should display.

garden ls seems to be what I was looking for. An argument to limit it to only commands seems nice. What would be even nicer is a consistent sorting of the output. Currently, it seems kind of random. I have not yet felt the need for a specific dry-run mode.

Tree traversal order when resolving tree queries is defined by the order in which entries appear in your garden.yaml. That can definitely seem kinda random if you're not expecting it.

This sounds like running the command twice will give me the same output. It does not which is why I said it seems random.

Oh dang, okay, thanks for the heads-up. I'll have to look into that for sure.

We now have garden ls -c for displaying just the commands and the commands are now displayed in a non-random order. I was only thinking about trees and related entities that I didn't realize that commands were not getting stored using an ordered container. It's all fixed now. Thanks for spotting that!


Getting and updating non existing hook via API results in internal server error 500

Description
Hi, I've been fuzzing Gitea with openapi-fuzzer and found, that sending a GET or PATCH request to api/v1/admin/hooks/{id} endpoint with non existing hook id causes the Gitea to respond with internal server error 500 status code. I'm unable to reproduce it in try.gitea.io because those endpoints require admin privileges.
GET
request & response
curl -X GET -H "Authorization: token $TOKEN" http://<IP_ADDRESS>:3000/api/v1/admin/hooks/x
{
  "message": "webhook does not exist [id: 0]",
  "url": "http://localhost:3000/api/swagger"
}

logs
2023/06/27 23:42:05 ...pi/v1/admin/hooks.go:77:GetHook() [E] [649b57ad] GetSystemOrDefaultWebhook: webhook does not exist [id: 0]
2023/06/27 23:42:05 [649b57ad] router: completed GET /api/v1/admin/hooks/x for <IP_ADDRESS>:37898, 500 Internal Server Error in 40.0ms @ admin/hooks.go:57(admin.GetHook)

PATCH
request & response
curl -X PATCH -H "Authorization: token $TOKEN" http://<IP_ADDRESS>:3000/api/v1/admin/hooks/x
{
  "message": "webhook does not exist [id: 0]",
  "url": "http://localhost:3000/api/swagger"
}

logs
2023/06/27 23:42:55 ...api/v1/utils/hook.go:217:EditSystemHook() [E] [649b57df] GetSystemOrDefaultWebhook: webhook does not exist [id: 0]
2023/06/27 23:42:55 [649b57df] router: completed PATCH /api/v1/admin/hooks/x for <IP_ADDRESS>:58622, 500 Internal Server Error in 28.9ms @ admin/hooks.go:116(admin.EditHook)

Gitea Version
1.19.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
linux
How are you running Gitea?

I downloaded Gitea from Github releases
I run it from command-line.
I did not use a package or systemd

Database
SQLite

should have been fixed by #24823


Update key-vault-limits.md

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


Fixed directive examples bad code

This fixes #595
This changes the first two directives examples to be functional by moving the first arrow function outside of the call to directive, therefore, no longer rendering the second arrow function to the screen but rather executing it.

Actually @ChrisBrownie55, I think the documentation is correct. It just has not been released yet. It was changed in this commit bcc87cf6488fa414e5361a9d46d992f01c11517a

@csvn Oh my bad, sorry didn't realize, I was reading the docs on how to create a custom directive and it just wasn't working. Are there anyways to show the docs for the current version? Or on the docs page specify which versions work which way.

Sorry, not as far as I know. I think a new release is pretty close, and there also seems to be progress towards v1.0 too. The API should be more stable after v1.0 is released.


Add note about client type

We ran into an issue when using this project to perform auth for our chrome extension where we were getting 401 Unauthorized errors and couldn't figure out why. Turns out we'd incorrectly configured our client type. Wanted to put in a note so that others can avoid our silly rabbit hole in the future =).

thanks!


[nss] Fix build error on non pure English system

[x] Changes comply with the maintainer guide.
[x] SHA512s are updated for each updated download.
[x] The "supports" clause reflects platforms that may be fixed by this new version.
[x] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

Fix #39027
This port currently cannot be compiled in non-English system environments. And this pr fix it.

@zhangsilong521, please try this PR to see if it can solve your issue, Thanks!


Add multiple repository support, and add git repositories

It replaces the old "repo" config with a "repos" config, that contains a list of repositories, such list can have a list of folders, or git repositories:
repos:
- maps
- git:https://github.com/User/Repo

This example would have 2 repositories, one would be the maps folder, the other one would be a git repository from the user "User" named "Repo" hosted on github
Git repositories will only update when you run /newmaps, so if any git repository pushed a map change, you need to reload maps in order to be able to use such modification
Suggest other repository formats and i'll see what i can do to implement them

Thanks for adding this awesome feature!  Will this clone the repo or would it just download the maps?  Does using this feature make it work with Git clients/the terminal?

@CoWinkKeyDinkInc This will git clone the map repository if not already downloaded, and will git reset to latest commit every time you run /newmaps or on server restart, without the need of re-cloning everything, regarding forks, i'm not sure if github has ways of referencing branches inside the url

Alright, thanks!  This thing should work with forks, but yeah, I think implementing branches might be tricky, but it isn't convenient for the user anyway, there's multiple repositories so branches would be pointless.  If it resets to the latest commit every-time, than it looks like this won't be handy for bug fixing maps, but I can just manually clone the fork.  I'm so excited to see this finally implemented!!

@CoWinkKeyDinkInc for map testing you should most likely be working in local files, inside the local repo, that will update by just recycling the map, instead of needing to use newmaps, when it's done, you can push it

Because maps can sometimes be duplicated, or it may be hard to manage maps with similar names, i added map id's, the id's reference a map in an static moment, and will change if you run /newmaps.
To see id's, map & maps commands now have a -l (long) flag.
The long flag will also show repository and folder in the map command.
You can use the id's in map, cycle and setnext commands, with the -m (map) flag.
Ex: cycle 10 -m 15 will cycle in 10 seconds to the map with id 15

Work with privated repositories?

@Prodigy4532 they work on github if you do:
<EMAIL_ADDRESS>But don't use that for public servers yet as /map -l will show the source repo, including user and pass

Thanks

@Prodigy4532 finally coded private git repos, using:
<EMAIL_ADDRESS>will work fine, and should work fine with other git repository services (like gitlab), even though i didn't test it, running a /map -l will show the repository path without user or pass info (https://github.com/user/repo)

It would probably be best if this is reorganized, commit wise. Generally if the word "and" appears in a commit message that's a red flag that it should be split.

@twizmwazin If the title is the issue i can fix that by changing it to "Refactor everything related to repositories"

Did you write this in such a way that multiple repository support demands the presence of git repositories? Small changes are important, it makes it easier to read through, both for review and accountability.

merged


Add an option for validation.

This is a great start and has already benefited a project for a non-profit I am helping (I was able to layout a form that I could pass to our volunteer developers). I'd like to suggest that you add the option to specify validation options for fields. Even if you only supported the basics: email, number, URL, pattern and maybe min/max. it would be great.
As an advanced option, allowing the addition of an error message for fields that do not validate would be great.

Thank you, for your feedback.
What you need is already planned. It is just core features or angular formly that would be nice in easy form generator.
Now, I guess that I may change my previous plans.

Later (I mean today) I will check what I will fast add so that it will help you and your project.

@majortom64 How much time do you still have before ending your project?
I'd like to finish drag and drop first since it is nearly done (not all finished and refactored but demo-able).
It is a shame I did not have time to refactor, so even it is not hard to add validation option it may cost a bit time.

By the way, I labelled this issue as enhancement since it is.

@majortom64 Hi,
I'm currently adding validation and validation messages (it is not finished but won't takes years).
As an example
Please check here new control email with validation messages on :

email pattern validation
required field (if set)

Important
Easy form generator is now evolving

so please wait few days —maybe tomorrow? (don't worry, I will announce it)— (time I finish adding validation on existing controls)
BEFORE updating to lastest version

NEW : EASY FORM GENERATOR GITTER
Easy form generator has now a dedicated bitter room :
Please better use this room to give me all your suggestions that are welcomed and help me to improve easy form generator :

new control?
customize option (min, max)
etc...

to finish :

easy form generator is yours so don't hesitate to influence its evolution :+1:


A way to return to route matching from a middleware

This is a question, if there is a way or it is impossible, or a feature request if possible.
So right now iiuc after a route is matched it goes down the middleware chain until the end. The first match is the last one everything else is just void. Is it possible to jump back from the middleware layer back into route matching somehow? I couldn't find any topics regarding this anywhere. Sorry if it was addressed already.
There are these special cases next('route') and next('router') to cancel the middleware chain but would it be feasible to introduce something like next('match') that would try to match the request url against all the routers that remain in the stack? Maybe even with a way to retain changes made to req and res like next('match', true) will retain locals and everything that isn't tied explicitly to the current route while if this second argument is falsey it would regenerate everything as if the match was the first one.
Like this
app.get(/^\/(.*)$/, function(req, res, next) {
    MongooseModel.find({id: req.params[0]}).then(doc=>{
        if (doc) {
            res.send(doc.content)
        } else {
            next('match')
        }
    })
})

app.get(/^\/(.*)$/, function(req, res, next) {
    getStaticPage( req.params[0] ).then(fileContent=>{
        if (doc) {
            res.send(fileContent)
        } else {
            next('match')
        }
    })
})
// both routs are registered in async and there is no way to tell which one is going to be
// the first one in the stack but it also doesn't matter since they both offer each other
// a chance to be hit

I know that this example can be condensed into one route, but that is not a point. In my project I have much more complex hierarchy and plugin-play loading system that I'm about to make even more unpredictable. Much of the routing is done on a lower module-lavel so I can't tap into it so easily from a place I am right now. But this solution would help me immensely.
Thank you.

Given your example

// both routs are registered in async and there is no way to tell which one is going to be
// the first one in the stack but it also doesn't matter since they both offer each other
// a chance to be hit

Just put next() in place of your next('match') in your example. Then they will both execute in whichever order you put them in. For example, say /foo doesn't exist in Mongoose but does exist in the static page.
Both
// route A
app.get(/^\/(.*)$/, function(req, res, next) {
    MongooseModel.find({id: req.params[0]}).then(doc=>{
        if (doc) {
            res.send(doc.content)
        } else {
            next() // continues matching, hitting route B
        }
    })
})

// route B
app.get(/^\/(.*)$/, function(req, res, next) {
    getStaticPage( req.params[0] ).then(fileContent=>{
        if (doc) {
            res.send(fileContent)
        } else {
            next() // continues matching
        }
    })
})

and
// route B
app.get(/^\/(.*)$/, function(req, res, next) {
    getStaticPage( req.params[0] ).then(fileContent=>{
        if (doc) {
            res.send(fileContent)
        } else {
            next() // continues matching, hitting route A
        }
    })
})

// route A
app.get(/^\/(.*)$/, function(req, res, next) {
    MongooseModel.find({id: req.params[0]}).then(doc=>{
        if (doc) {
            res.send(doc.content)
        } else {
            next() // continues matching
        }
    })
})

Will result in the static page responding to /foo, as you're describing 👍

hm... I guess something in my pipeline sends the response and it made me think next() terminates the handling. Well, thank you and sorry for the inconvenience.


Better documentation?

This is more of a feature request instead of a bug, but I am lost as to how to use this thing. The docs and readme are extremely vague and all over the place.

Can't the keymaps be in Lua? Why are all the keymapping commands in Vimscript when this is advertised as Lua? You can workaround this with vim.api.nvim_command() but this isn't explained anywhere

How do you actually write snippets?

What is the difference between VScode like and Snipmate? There is a section in the readme and yet it explains none of it. I would assume a snippet is a snippet

People are depending on you to explain how to use your product to them. If the docs are this confusing, then how can you expect them to install and use it?

Same problem. One thing I just found, though, is that the wiki adds a little bit of extra stuff: https://github.com/L3MON4D3/LuaSnip/wiki/Cool-Snippets

People are depending on you to explain how to use your product to them. If the docs are this confusing, then how can you expect them to install and use it?

I find you comment/suggestion quite offensive. The documentation for LuaSnip is great, mostly everything is explained thoroughly with great accompanying examples. The best thing I like about LuaSnip is the support of its author behind it, he has answered most of the users' questions, even dumpiest ones like mine. I played with my settings for a few days and did not find a solution, shortly after rasing the flag, I had the answer. He even told me to ask question earlier instead of blindly swimming in the mist. I am very grateful to his work and generosity for giving all the hard-work with helpful answers.
LuaSnip is not a product, it's a great gift, just read the doc thoroughly, I'm sure you will find out.

Keymaps can be set in Lua.

local map = vim.keymap.set
-- A few keymaps for choiceNode of LuaSnip.
map({ "i", "s" }, "<A-n>", "<Plug>luasnip-next-choice")
map({ "i", "s" }, "<A-p>", "<Plug>luasnip-prev-choice")

I mentioned above, you need to read the doc, bellow is an example:

-- add nvim keybinds
snippet(
{ trig = "nkey", name = "nvim keybinds", dscr = "add a nvim keybinds" },
fmta([[map("<>", "<>", "<>", "<>")]], { i(1, "n"), i(2, "keybind"), i(3, "command"), i(4, "options") })
3. I don't how to address this answer, as far as I know that LuaSnip is compatible with friendly-snippets used with VSCode. We are talking about neovim here though. I have converted some of the snippets from friendly-snippets into LuaSnip formats, if you fancy, I can share.

I am very sure that LuaSnip has helped developers and firms around the world save millions of dollars.

Adding to the above response, I'd recommend checking out resources for new users in the readme before looking at the documentation - it can be pretty dense, especially if you want to pick up writing snippets and don't really know where to start.
Additionally, VSCode/Snipmate formats are just two different types of ways to define a snippet, and the documentation does not teach you how to write in that format but rather how to load them if you already have snippets defined in such formats.

Additionally, VSCode/Snipmate formats are just two different types of ways to define a snippet, and the documentation does not teach you how to write in that format but rather how to load them if you already have snippets defined in such formats.

Thank you for making the above bit clearer.
It took me a few weeks to get my head around LuaSnip, but that was an enjoyable learning journey, still wouldn't dare to dig deeper into the codebase. I will bite my way into that slowly ;)

Hello, first of all, thank you very much for this plugin. I don't want to be rude like the OP, but I agree that the mappings section is very vague and could be improved. Specifically, it would be greatly appreciated if the examples were in Lua, especially for those of us who are not familiar with somewhat intricate configurations. After reading, rereading, and reading the documentation again, in my humble opinion, it doesn't clarify much for the most lost ones like me. After a couple of hours, I managed to achieve this result:
local ls = require("luasnip")
local my_opts = {expr = true, silent = true}
vim.keymap.set({"i", "s"}, "<c-j>", function()
    if ls.expand_or_jumpable() then
        ls.expand_or_jump()
    end
end, my_opts)
vim.keymap.set({ "i", "s" }, "<c-k>", function()
    if ls.jumpable(-1) then
        ls.jump(-1)
    end
end, my_opts)
vim.keymap.set({"i", "s"}, "<c-l>", function()
    if ls.choice_active() then
        return "<Plug>luasnip-next-choice"
    end
end, my_opts)
vim.keymap.set({"i", "s"}, "<c-h>", function()
    if ls.choice_active() then
        return "<Plug>luasnip-prev-choice"
    end
end, my_opts)

I'm not sure if it's the correct procedure, but first of all, these are the most complicated mappings I have configured so far among all the plugins I have installed by a lot. And second, I couldn't find the answer in the documentation. In fact, the help confused me a little: :h luasnip on line 726 reads as follows:
vim.api.nvim_set_keymap("i", "<C-n>", "<Plug>luasnip-next-choice", {})

But that generates this error when we press the combination outside of a choice_node:
E5108: Error executing lua: .../luasnip/init.lua:398: No active choiceNode
stack traceback:
        [C]: in function 'assert'
        .../luasnip/init.lua:398: in function 'change_choice'

I also can't find a function in the API for <Plug>luasnip-next-choice or something that helps in that regard without more programing.
In the README, the complete command is provided:
imap <silent><expr> <C-E> luasnip#choice_active() ? '<Plug>luasnip-next-choice' : '<C-E>'
smap <silent><expr> <C-E> luasnip#choice_active() ? '<Plug>luasnip-next-choice' : '<C-E>'

But it's not in Lua. If there is a reason for this, it would be great to point it out.
Anyway, I think adding logic to a mapping configuration is too much overhead for someone who has just discovered the plugin. Beyond the misinformation or the technical errors in this comment, consider it as constructive feedback from a beginner.
Reggards.

I already read watch/read them. Yea, they are great. I was having trouble only with the mappings.
Thanks for the update. That's exactly what I was looking for in the first place!
After that i discover that my problems where mainly by using the ctrl key in the mappings cause it conflicts with some legacy standards (, , etc) setted by my terminal. But that is outside the scope.
Anyway, thank you very much for the plugin and your help


Can I run containerlab in my Raspberry pi 4 8gb?

Does anyone know if containerlab support ARM64 processors?
in the documentation only mention about AMD64

Hi
we do not build arm64 containerlab, since there is a shortage of network OS that support this arch
but you can build one yourself for sure

Hey Roman, thanks a lot for your quick answer!
To be honest with you I have not idea about how can I do this.
Any idea/recommendation about how can I start reading about build this for ARM or any other architecture.

you just need to instal Go on your system and then run go build command
this article should give all the pointers
https://www.digitalocean.com/community/tutorials/how-to-build-and-install-go-programs
which network os you want to use containerlab with on rpi?


Images not being imported

Related to https://www.reddit.com/r/StableDiffusion/comments/zep6wl/diffusion_toolkit_updated_to_v05/izdusnz/?context=3 and #14
Currently I have a folder called "unsorted" and inside of that is folder for each session.
Those session folders contain loads of jpeg + txt files.
Each image has a corresponding data file with the exact same name just different file extension.
When scanning the "unsorted" folder I get 100 or so out of 2k+ images. It does see the files but it doesn't import them.

One thing I am noticing is the file name for the txt can sometimes be cut off even if the jpeg has the full version.

Can you attach the files somewhere so I can have something to work with?

This is the directory above.
2022_12_06T12_47_06_287Z.zip

Thanks, I'll take a look at it

Looks like this is likely the issue.
Images should match the start of the txt file name vs matching it exactly.
Wrote a small node program to scan all my images and it looks like any that don't have an exact match don't get picked up. If I change my program to match exactly I get the 112 results back just like toolkit does.
{
        "imageFile": "D:\\robot-art\\unsorted\\1664455191596\\1996_01826a12_RealESRGAN_x4plus_anime_6B.png",
        "dataFile": "D:\\robot-art\\unsorted\\1664455191596\\1996_01826a12.txt"
    },

Yes, that's how I'm getting it to work too.

See if this fixes it
https://github.com/RupertAvery/DiffusionToolkit/releases/tag/beta_v0.6.1

Good job!


Setting object position in a page doesn't take y offset of scrollable into account

If you have a page that is scrollable, getting/setting an object's location within the page doesn't take into account the scrollable aspect.
If you have a page that is scrolled down a bit, then:

Get a currently viewable object's position
Use those Y coords to set the position of a different object

You end up with an object that is not at the same Y position as object you obtained the position from.
The Y position of the get is relative to the top of the screen.
The Y position of the set is relative to the top of the scrollable.
To correctly position an object within the page, you need to get the position of of the page's scrollable (lv_obj_get_coords(lv_page_get_scrl(page), &a)) and subtract that Y from the position of the object you are trying to position this new object at.
This seems like it might be a complicated problem to solve.  At the very least maybe there should be a function for getting the position of an object in a page that includes the Y offset of the scrollable, so that these coords can be used to directly set an object's position within a page.

Both the get/set functions refer to the scrollable. I think you were tricked by the autofit attribute of the scrollable.
    lv_obj_t * page = lv_page_create(lv_scr_act(), NULL);
    lv_obj_set_pos(page, 50, 50);
    lv_obj_set_size(page, 150, 200);

    lv_obj_t * o1 = lv_obj_create(page, NULL);
    lv_obj_set_size(o1, 10,10);
    lv_obj_set_pos(o1, 20, 30);

    lv_obj_t * o2 = lv_obj_create(page, NULL);
    lv_obj_set_size(o2, 10,10);
    lv_obj_set_pos(o2, 50, lv_obj_get_y(o1) + 10);

So it seems the set_y coordinate is not taken into account. But is because the scrollabel set's it's size to the only children and because a small scrollable can't be in the middle the the background it's moved back to the top.
With disabling the autofit of the scrollbale it works as as "expected"

    lv_obj_t * page = lv_page_create(lv_scr_act(), NULL);
    lv_obj_set_pos(page, 50, 50);
    lv_obj_set_size(page, 150, 200);
    lv_page_set_scrl_fit(page, false, false);
    lv_page_set_scrl_width(page, 100);
    lv_page_set_scrl_height(page, 150);

    lv_obj_t * o1 = lv_obj_create(page, NULL);
    lv_obj_set_size(o1, 10,10);
    lv_obj_set_pos(o1, 20, 30);

    lv_obj_t * o2 = lv_obj_create(page, NULL);
    lv_obj_set_size(o2, 10,10);
    lv_obj_set_pos(o2, 50, lv_obj_get_y(o1) + 10);

Results:

I updated the documentation of lv_page here: https://littlevgl.com/object-types/page-lv_page
Now it explains this phenomenon.
I close this issue now, but feel free to reopen it if you have any remarks!

Hello,
I have the same issue with scrollable page.
I want to use it for displaying a set of buttons to make possible swiping thru this set.
Here is the code for initializing the page element:
lv_obj_t * page = lv_page_create(lv_scr_act(), NULL);
lv_obj_set_size(page, 460, 200);
lv_obj_align(page, NULL, LV_ALIGN_CENTER, 0, 0);
lv_page_set_scrl_width(page, 800);
lv_page_set_scrl_height(page, 180);
lv_page_set_scrl_fit(page, false, false);
lv_page_set_sb_mode(page, LV_SB_MODE_AUTO);

So the scrollable area is bigger than the base page, it should be scrollable now.
But in fact I see only a part of the buttons, scrollable area is fitted to the size of the parent page:

If I enable the fitting feature (true for the horizontal axis), I get something like this:

So it seems to work, but I can't get right positioning of the buttons, you can see the difference between the paddings of two buttons. What am I doing wrong? I have read the whole chapter about the page object, but I can't find any information regarding this feature.
This is the initializing code for every button (they are only shifted horizontally):
lv_obj_t * btn1 = lv_btn_create(page, NULL);
lv_obj_set_size(btn1, 200, 75);
lv_cont_set_fit(btn1, false, false);
lv_obj_align(btn1, NULL, LV_ALIGN_IN_LEFT_MID, 50, 0);
lv_obj_set_free_num(btn1, 1);

Thank you in advance and have a nice day!

Sorry, I can't compile the version 5.2 anymore, it seems not to be compartible with images, lv_img_t is missing and not to find in the source codes.

Hello, I could compile it with newer version of drivers and examples (probably 5.1 is not compartible with 5.2), but page object has the same behaviour :(
I guess the problem is not solved in 5.2.

Yes, the images are not compatible with v5.1. You should generate the images again with the new converter tool: http://www.test.littlevgl.com/image-to-c-array
I tried this code:
    lv_obj_t * page = lv_page_create(lv_scr_act(), NULL);
    lv_obj_set_size(page, 460, 200);
    lv_obj_align(page, NULL, LV_ALIGN_CENTER, 0, 0);
    lv_page_set_scrl_width(page, 800);
    lv_page_set_scrl_height(page, 180);
    lv_page_set_scrl_fit(page, false, false);
    lv_page_set_sb_mode(page, LV_SB_MODE_AUTO);

    lv_obj_t * btn1 = lv_btn_create(page, NULL);
    lv_obj_set_size(btn1, 200, 75);
    lv_cont_set_fit(btn1, false, false);
    lv_obj_align(btn1, NULL, LV_ALIGN_IN_LEFT_MID, 50, 0);
    lv_obj_set_free_num(btn1, 1);

    lv_obj_t * btn2 = lv_btn_create(page, NULL);
    lv_obj_set_size(btn2, 200, 75);
    lv_cont_set_fit(btn2, false, false);
    lv_obj_align(btn2, btn1, LV_ALIGN_OUT_RIGHT_MID, 50, 0);
    lv_obj_set_free_num(btn2, 1);

And it resulted:

Please test with the code above.


Single sentence file may not process successfully

Somewhere between a question and an issue ―
If an input file (input.raw) contains only a single sentence, e.g.:
עשרות
אנשים
מגיעים
מתאילנד

Then no tokens seem to go detected and the output file is empty, when running:
./yap hebma -raw input.raw -out lattices.conll

In further experimentation it may seem like the first sentence may get ignored, or some other irregularity causing this. Thing is this is the classical scenario for trying a single sentence, unless there's also an interactive mode aside requiring file input.
Thanks in advance for your commenting!

BTW the demo at http://onlp.openu.org.il might seem to be down...

You need to add an empty line after the last word. There should be two newlines at the end of a sentence.
Regarding onlp.openu.org.il, you should discuss with @rtsarfaty or @aseker00

Doh, https://github.com/atom/atom/issues/3969
Must have been really late at night...

Will do.


✨[feature Request]: redesign the service page

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
I want to redesign the service page using some javascript libraries like Framer motion, gasp , I'll change the color palette according to the website, please assign me this issue under ggsoc
Use Case
It will enhance the user interaction
Benefits
No response
Add ScreenShots
https://github.com/user-attachments/assets/9a90d4b6-3e74-4291-b506-8896f80bfc46
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24EXTD contributor
[X] I have starred the repository

please assign this issue to me @Anjaliavv51


Uncaught TypeError: Cannot read property 'toUpperCase' of undefined

[Enter steps to reproduce below:]

created a Cat struct
tried to use it with default values by writing %Cat{}

Atom Version: 0.192.0
System: Mac OS X 10.10.3
Thrown From: autocomplete-elixir package, v1.1.2
Stack Trace
Uncaught TypeError: Cannot read property 'toUpperCase' of undefined
At /Users/andreacatalucci/.atom/packages/autocomplete-elixir/lib/autocomplete-elixir-provider.coffee:39

TypeError: Cannot read property 'toUpperCase' of undefined
  at RsenseProvider.module.exports.RsenseProvider.findSuggestions (/Users/andreacatalucci/.atom/packages/autocomplete-elixir/lib/autocomplete-elixir-provider.coffee:39:30)
  at /Users/andreacatalucci/.atom/packages/autocomplete-elixir/lib/autocomplete-elixir-provider.coffee:25:24
  at /Users/andreacatalucci/.atom/packages/autocomplete-elixir/lib/autocomplete-elixir-client.coffee:24:7
  at /Users/andreacatalucci/.atom/packages/autocomplete-elixir/lib/new/wrapper.coffee:27:5
  at Socket.fn (/Users/andreacatalucci/.atom/packages/autocomplete-elixir/lib/new/wrapper.coffee:43:7)
  at emitOne (events.js:77:13)
  at Socket.emit (events.js:166:7)
  at readableAddChunk (_stream_readable.js:146:16)
  at Socket.Readable.push (_stream_readable.js:109:10)
  at Pipe.onread (net.js:517:20)

Commands
     -0:07.2 core:backspace (atom-text-editor.editor.is-focused)
     -0:06.9 editor:newline (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "themes": [
      "unity-ui",
      "monokai"
    ]
  },
  "autocomplete-elixir": {}
}

Installed Packages
# User
autocomplete-elixir, v1.1.2
autocomplete-erlang, v0.2.4
autocomplete-plus, v2.11.0
autocomplete-snippets, v1.2.0
elixir-cmd, v0.2.5
iex, v0.9.2
language-elixir, v0.4.0
linter, v0.12.0
linter-elixirc, v0.2.1
monokai, v0.14.0
unity-ui, v2.0.5

# Dev
No dev packages

Yes. The issue was with autocompletion being invoked in 0 length strings.
Fixed in 644d81ea52f7ef32a7eb341165847eb4e62be9b7


send NODE command tests

Added a test verifying that "send NODE" command fails if hex key is used instead of base58 key.
Added a test verifying that "send NODE" command succeeds when "SERVICES" parameter has been omitted.
Extracted some common code from CLI tests to conftest and helper modules.

@spivachuk You can unskip that test as the corresponding code has been merged in plenum master

@lovesh I'll unskip it when having plenum-dev 0.3.70 used in sovrin-client-dev.


xrdp failed to setup connection on Raspberry Pi 400

I'm running xrdp 0.9.17 on Raspberry Pi 400 (Raspberry Pi OS 64bit) with Xorg backend. The RDP client I use is Microsoft Remote Desktop on macOS 10.15, and it failed to connect to xrdp, showing connection problem, giving up and some problem.
I followed the solution mentioned in #2060 to modify the DRMDevice parameter, but the problem still exist.
I booted the Pi without any monitor pluged in and without auto login. I got the logs down below.
/var/log/xrdp-sesman.log
[20220301-11:07:59] [INFO ] shutting down sesman 1
[20220301-11:07:59] [WARN ] receiving SIGHUP 1
[20220301-11:07:59] [WARN ] Window manager (pid 1902, display 10) exited with non-zero exit code 255 and signal 15. This could indicate a window manager config problem
[20220301-11:07:59] [INFO ] Calling auth_stop_session and auth_end from pid 1901
[20220301-11:07:59] [INFO ] Terminating X server (pid 1903) on display 10
[20220301-11:07:59] [INFO ] Terminating the xrdp channel server (pid 1906) on display 10
[20220301-11:07:59] [INFO ] shutting down sesman 1
[20220301-11:07:59] [INFO ] shutting down sesman 1
[20220301-11:09:33] [INFO ] starting xrdp-sesman with pid 600
[20220301-11:10:08] [INFO ] Socket 8: AF_INET6 connection received from ::1 port 34988
[20220301-11:10:08] [INFO ] Terminal Server Users group is disabled, allowing authentication
[20220301-11:10:08] [INFO ] ++ created session (access granted): username pi, ip ::ffff:<IP_ADDRESS>:54026 - socket: 12
[20220301-11:10:08] [INFO ] starting Xorg session...
[20220301-11:10:08] [INFO ] Starting session: session_pid 1094, display :10.0, width 1440, height 900, bpp 24, client ip ::ffff:<IP_ADDRESS>:54026 - socket: 12, user name pi
[20220301-11:10:08] [INFO ] [session start] (display 10): calling auth_start_session from pid 1094
[20220301-11:10:08] [ERROR] sesman_data_in: scp_process_msg failed
[20220301-11:10:08] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20220301-11:10:08] [INFO ] Starting X server on display 10: /usr/lib/xorg/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log
[20220301-11:10:09] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20220301-11:10:09] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20220301-11:10:09] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20220301-11:10:09] [INFO ] Session started successfully for user pi on display 10
[20220301-11:10:09] [INFO ] Starting the xrdp channel server for display 10
[20220301-11:10:09] [INFO ] Starting the default window manager on display 10: /etc/xrdp/startwm.sh
[20220301-11:10:09] [INFO ] Session in progress on display 10, waiting until the window manager (pid 1122) exits to end the session
[20220301-11:10:28] [INFO ] shutting down sesman 1
[20220301-11:10:29] [WARN ] receiving SIGHUP 1
[20220301-11:10:29] [WARN ] Window manager (pid 1122, display 10) exited with non-zero exit code 255 and signal 15. This could indicate a window manager config problem
[20220301-11:10:29] [INFO ] Calling auth_stop_session and auth_end from pid 1094
[20220301-11:10:29] [INFO ] shutting down sesman 1
[20220301-11:10:29] [INFO ] Terminating X server (pid 1123) on display 10
[20220301-11:10:29] [INFO ] shutting down sesman 1
[20220301-11:10:29] [INFO ] Terminating the xrdp channel server (pid 1127) on display 10
[20220301-11:12:03] [INFO ] starting xrdp-sesman with pid 580
[20220301-11:15:22] [INFO ] Socket 8: AF_INET6 connection received from ::1 port 38630
[20220301-11:15:22] [INFO ] Terminal Server Users group is disabled, allowing authentication
[20220301-11:15:22] [INFO ] ++ created session (access granted): username pi, ip ::ffff:<IP_ADDRESS>:54796 - socket: 12
[20220301-11:15:22] [INFO ] starting Xorg session...
[20220301-11:15:22] [INFO ] Starting session: session_pid 1077, display :10.0, width 1440, height 900, bpp 24, client ip ::ffff:<IP_ADDRESS>:54796 - socket: 12, user name pi
[20220301-11:15:22] [INFO ] [session start] (display 10): calling auth_start_session from pid 1077
[20220301-11:15:22] [ERROR] sesman_data_in: scp_process_msg failed
[20220301-11:15:22] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20220301-11:15:23] [INFO ] Starting X server on display 10: /usr/lib/xorg/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log
[20220301-11:15:23] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20220301-11:15:23] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20220301-11:15:23] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20220301-11:15:23] [INFO ] Session started successfully for user pi on display 10
[20220301-11:15:23] [INFO ] Starting the xrdp channel server for display 10
[20220301-11:15:23] [INFO ] Starting the default window manager on display 10: /etc/xrdp/startwm.sh
[20220301-11:15:23] [INFO ] Session in progress on display 10, waiting until the window manager (pid 1105) exits to end the session

/home/pi/.xorgxrdp.10.log
[    32.098]
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[    32.099] Build Operating System: linux Debian
[    32.099] Current Operating System: Linux raspberrypi 5.10.92-v8+ #1514 SMP PREEMPT Mon Jan 17 17:39:38 GMT 2022 aarch64
[    32.099] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1  smsc95xx.macaddr=E4:5F:01:08:89:77 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=1a58d309-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[    32.099] Build Date: 04 January 2022  10:24:42AM
[    32.099] xorg-server 2:1.20.11-1+rpt1+deb11u1 (https://www.debian.org/support)
[    32.099] Current version of pixman: 0.40.0
[    32.099] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    32.099] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    32.099] (++) Log file: ".xorgxrdp.10.log", Time: Tue Mar  1 11:15:23 2022
[    32.100] (++) Using config file: "/etc/X11/xrdp/xorg.conf"
[    32.100] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    32.101] (**) Option "defaultserverlayout" "X11 Server"
[    32.101] (**) ServerLayout "X11 Server"
[    32.101] (**) |-->Screen "Screen (xrdpdev)" (0)
[    32.101] (**) |   |-->Monitor "Monitor"
[    32.102] (**) |   |-->Device "Video Card (xrdpdev)"
[    32.102] (**) |-->Input Device "xrdpMouse"
[    32.102] (**) |-->Input Device "xrdpKeyboard"
[    32.102] (**) Option "DontVTSwitch" "on"
[    32.102] (**) Option "AutoAddDevices" "off"
[    32.102] (**) Not automatically adding devices
[    32.102] (==) Automatically enabling devices
[    32.102] (==) Automatically adding GPU devices
[    32.102] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    32.102] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    32.102] 	Entry deleted from font path.
[    32.102] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	built-ins
[    32.102] (==) ModulePath set to "/usr/lib/xorg/modules"
[    32.102] (II) Loader magic: 0x557ebe1e28
[    32.102] (II) Module ABI versions:
[    32.102] 	X.Org ANSI C Emulation: 0.4
[    32.102] 	X.Org Video Driver: 24.1
[    32.102] 	X.Org XInput driver : 24.1
[    32.102] 	X.Org Server Extension : 10.0
[    32.106] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c2
[    32.108] (II) xfree86: Adding drm device (/dev/dri/card0)
[    32.109] (EE) systemd-logind: failed to take device /dev/dri/card0: Operation not permitted
[    32.109] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[    32.110] (II) xfree86: Adding drm device (/dev/dri/card1)
[    32.111] (EE) systemd-logind: failed to take device /dev/dri/card1: Operation not permitted
[    32.112] (II) no primary bus or device found
[    32.112] 	falling back to /sys/devices/platform/v3dbus/fec00000.v3d/drm/card1
[    32.112] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    32.112] (II) LoadModule: "dbe"
[    32.112] (II) Module "dbe" already built-in
[    32.112] (II) LoadModule: "ddc"
[    32.112] (II) Module "ddc" already built-in
[    32.112] (II) LoadModule: "extmod"
[    32.112] (II) Module "extmod" already built-in
[    32.112] (II) LoadModule: "glx"
[    32.112] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    32.115] (II) Module glx: vendor="X.Org Foundation"
[    32.115] 	compiled for 1.20.11, module version = 1.0.0
[    32.115] 	ABI class: X.Org Server Extension, version 10.0
[    32.115] (II) LoadModule: "int10"
[    32.115] (II) Loading /usr/lib/xorg/modules/libint10.so
[    32.122] (II) Module int10: vendor="X.Org Foundation"
[    32.122] 	compiled for 1.20.11, module version = 1.0.0
[    32.122] 	ABI class: X.Org Video Driver, version 24.1
[    32.122] (II) LoadModule: "record"
[    32.122] (II) Module "record" already built-in
[    32.122] (II) LoadModule: "vbe"
[    32.122] (II) Loading /usr/lib/xorg/modules/libvbe.so
[    32.124] (II) Module vbe: vendor="X.Org Foundation"
[    32.124] 	compiled for 1.20.11, module version = 1.1.0
[    32.124] 	ABI class: X.Org Video Driver, version 24.1
[    32.124] (II) LoadModule: "glamoregl"
[    32.124] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    32.132] (II) Module glamoregl: vendor="X.Org Foundation"
[    32.132] 	compiled for 1.20.11, module version = 1.0.1
[    32.132] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    32.132] (II) LoadModule: "xorgxrdp"
[    32.132] (II) Loading /usr/lib/xorg/modules/libxorgxrdp.so
[    32.137] (II) Module XORGXRDP: vendor="X.Org Foundation"
[    32.137] 	compiled for 1.20.11, module version = 0.2.17
[    32.137] 	ABI class: X.Org Video Driver, version 24.1
[    32.137] xorgxrdpSetup:
[    32.137] (II) LoadModule: "fb"
[    32.137] (II) Loading /usr/lib/xorg/modules/libfb.so
[    32.138] (II) Module fb: vendor="X.Org Foundation"
[    32.138] 	compiled for 1.20.11, module version = 1.0.0
[    32.138] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    32.138] (II) LoadModule: "xrdpdev"
[    32.138] (II) Loading /usr/lib/xorg/modules/drivers/xrdpdev_drv.so
[    32.140] (II) Module XRDPDEV: vendor="X.Org Foundation"
[    32.140] 	compiled for 1.20.11, module version = 0.2.17
[    32.140] 	ABI class: X.Org Video Driver, version 24.1
[    32.140] xrdpdevSetup:
[    32.140] (II) LoadModule: "xrdpmouse"
[    32.140] (II) Loading /usr/lib/xorg/modules/input/xrdpmouse_drv.so
[    32.141] (II) Module XRDPMOUSE: vendor="X.Org Foundation"
[    32.141] 	compiled for 1.20.11, module version = 0.2.17
[    32.141] 	Module class: X.Org XInput Driver
[    32.141] 	ABI class: X.Org XInput driver, version 24.1
[    32.141] rdpmousePlug:
[    32.141] (II) LoadModule: "xrdpkeyb"
[    32.142] (II) Loading /usr/lib/xorg/modules/input/xrdpkeyb_drv.so
[    32.142] (II) Module XRDPKEYB: vendor="X.Org Foundation"
[    32.143] 	compiled for 1.20.11, module version = 0.2.17
[    32.143] 	Module class: X.Org XInput Driver
[    32.143] 	ABI class: X.Org XInput driver, version 24.1
[    32.143] rdpkeybPlug:
[    32.143] rdpIdentify:
[    32.143] (II) XRDPDEV: driver for xrdp: XRDPDEV
[    32.143] rdpDriverFunc: op 10
[    32.143] (WW) Falling back to old probe method for XRDPDEV
[    32.143] rdpProbe:
[    32.143] (II) Loading sub module "fb"
[    32.143] (II) LoadModule: "fb"
[    32.143] (II) Loading /usr/lib/xorg/modules/libfb.so
[    32.143] (II) Module fb: vendor="X.Org Foundation"
[    32.143] 	compiled for 1.20.11, module version = 1.0.0
[    32.143] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    32.143] rdpProbe: found DRI3 xorg.conf value [1]
[    32.143] (II) XRDPDEV(0): using default device
[    32.143] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    32.143] rdpPreInit:
[    32.143] rdpPreInit: /dev/dri/renderD128 open ok, fd 10
[    32.143] (**) XRDPDEV(0): Depth 24, (--) framebuffer bpp 32
[    32.143] (==) XRDPDEV(0): RGB weight 888
[    32.143] (==) XRDPDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[    32.143] (==) XRDPDEV(0): Default visual is TrueColor
[    32.143] (==) XRDPDEV(0): DPI set to (96, 96)
[    32.143] (II) XRDPDEV(0): 	mode "640x480" ok
[    32.143] (II) XRDPDEV(0): 	mode "800x600" ok
[    32.143] (II) XRDPDEV(0): Virtual size is 800x600 (pitch 800)
[    32.143] (**) XRDPDEV(0):  Default mode "800x600": 36.0 MHz (scaled from 0.0 MHz), 35.2 kHz, 56.2 Hz
[    32.143] (II) XRDPDEV(0): Modeline "800x600"x0.0   36.00  800<PHONE_NUMBER>  600 601 603 625 +hsync +vsync (35.2 kHz d)
[    32.143] (II) Loading sub module "glamoregl"
[    32.143] (II) LoadModule: "glamoregl"
[    32.144] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    32.144] (II) Module glamoregl: vendor="X.Org Foundation"
[    32.144] 	compiled for 1.20.11, module version = 1.0.1
[    32.144] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    32.144] rdpPreInit: glamor module load ok

The output for ps -ef | grep Xorg
root         620     556  0 11:14 tty7     00:00:03 /usr/lib/xorg/Xorg :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
pi          1106    1077  0 11:15 ?        00:00:00 /usr/lib/xorg/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log
pi          1192    1163  0 11:24 pts/0    00:00:00 grep --color=auto Xorg

The output for id
uid=1000(pi) gid=1000(pi) groups=1000(pi),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),44(video),46(plugdev),60(games),100(users),105(input),107(render),109(netdev),117(lpadmin),997(gpio),998(i2c),999(spi)

The output for ls -l /dev/dri/renderD128
crw-rw----+ 1 root render 226, 128 Mar  1 11:12 /dev/dri/renderD128

@yDqnnP - these messages mean that you haven't properly disabled the DRMDevice setting:-
[    32.143] (II) Loading sub module "glamoregl"
[    32.143] (II) LoadModule: "glamoregl"
[    32.144] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    32.144] (II) Module glamoregl: vendor="X.Org Foundation"
[    32.144] 	compiled for 1.20.11, module version = 1.0.1
[    32.144] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    32.144] rdpPreInit: glamor module load ok

The last line in your log is glamor module load ok which exactly matches the symptoms in #2060.
The post you want is here.
What goes grep -i drmdevice /etc/X11/xrdp/xorg.conf tell you?

OK, I found out why that didn't work for me. I did commented DRMDevice in /etc/X11/xrdp/xorg.conf, however when I added that Option "DRMDevice" "" line, I had a typo there. After correcting that, the solution works for me.
Anyway, thank you for your reply!

sudo deluser pi render worked for me.


Start to add selenium tests for extensions

Opens Chrome browser and tests if extensions work
WIP.

Nice :wink:

Thanks. Let's see how well this works out.

New tests in #302


Club and User Login Form UI Improvements, Better Transition

Fixes Issue

**My PR closes #420 **
Changes proposed

What did you do ?

Removed Unnecessary Centering of Elements in the Mobile View, giving the app a consistent styling.
Changed Login button Size for Smoother looking transition.
Added left and right padding to the form element for cleaner UI.
Made Remember Me check box visible in the Mobile view as well.

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title and description of the PR is clear and explains the approach.

Screenshots

@stereogon  - NEVER create a PR until and unless you are assigned to that issue.

Sorry for opening the pull request without being assigned to the issue. I have made the Requested Changes.

Sorry for opening a Pull Request without being assigned to the issue. I have made the requested changes.

Make these centered !

I have already made this change, please check the latest commit.

I have Resolved the conflicts.


Create a report containing config and analysis results

As a security ops person I want to be able to audit the results of analysis scans against the Dependency Track server over time and store them in a separate location as evidence that the control was executed and the result.
Acceptance Criteria

The analysis findings for a project are recorded in a report
The analysis policy applied to drive the build outcome is recorded along with the results

Added in 0.7.0


Feature/gh conventions

In the sources.py there are a few imports inside functions.
Is there a special reason for this?
If no, shouldnt it just be imported in the begining?


Usage with Scala 3.3.0

The build.sbt shows we should be able to use the library with Scala 3.3.0, but adding it as a dependency in mill as shown below fails, since it looks like there wasn't a release with the 3.3.0 build.
ivy"org.http4s::http4s-session:<version>"

Looks like a new release is all that's needed, but not sure. Any help is appreciated.

Hey! We haven't published this library for 4 months, so that's why Scala 3 support isn't available yet. I will draft the release as soon as possible. Stay tuned!

https://github.com/http4s/http4s-session/releases/tag/v0.2.0
Artefacts ought to appear in Maven Central in 4-8 hours (on average).

Alright, should I close this or after it appears on Maven?


Unsupported 5.0 version

Hey,
I really like your plugin from what I have seen so far. Is there a version for ue 5.0 or is it ue 5.0 supported? Im having quite some compile issues with 5.0.3 atm, a lot of syntax differences too.
Thanks a lot!

Unfortunately, I cannot easily support 5.0, since FInstancedStruct only got blueprint support as of 5.1. This means that everything that currently uses FInstancedStructs are broken where they get exposed to blueprints, notably: Pin types, and NodeTree types.
If you just wanted to hack things into working, you would have to remove the blueprint support for these things yourself, and add replacements/do everything in c++.


Update Winui to 2.6.2

Fixes #.
Description of the changes:
-This is my first change

How changes were validated:

Hello @Mike7013 , thank you for creating this PR from my branch user/kg/2.6.2 . Some suggestions:

Please follow the template to provide more details about the change in PR description.
Please sign the CLA mentioned above by Please sign the CLA microsoft-cla.
Before creating a PR on behalf of others, please communicate with the change owners.


[1.20.1 (Neo)Forge] EMI 1.1.9 + JEI + Mek process dont get right material

NeoForge:47.1.106
EMI:1.19+1.20.1 from curseforge
JEI:<IP_ADDRESS>
Mek:10.4.8
i got :

it should:

This also shows up in mek other recipes, basically all of them have the wrong numbers:
is 1 raw gold → 1gold shade
should 3 rwa gold → 8 gold shade

just like https://github.com/emilyploszaj/emi/issues/597 but in EMI1.1.9

Should be resolved in 1.1.10, made a mistake in my 1.1.9 fix


[SPARK-43124][SQL] Add ConvertCommandResultToLocalRelation rule

What changes were proposed in this pull request?

Add ConvertCommandResultToLocalRelation optimizer to convert CommandResult to LocalRelation.
Why are the changes needed?

address comment: https://github.com/apache/spark/pull/45373#discussion_r1513713801
Does this PR introduce any user-facing change?

No
How was this patch tested?

Added new UT.
Was this patch authored or co-authored using generative AI tooling?

No

Close with comment: https://github.com/apache/spark/pull/45397#discussion_r1515557219


fix: update env in transact cheatcode

closes #6538
see docs for more context.
TLDR: we need to update the env.block to the transaction's block so we can transact it in the block env it was mined in

PR#6835
On Thu, Jan 18, 2024, 00:50 Matthias Seitz @.***> wrote:

Merged #6835 https://github.com/foundry-rs/foundry/pull/6835 into
master.
—
Reply to this email directly, view it on GitHub
https://github.com/foundry-rs/foundry/pull/6835#event-11517411746, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AMYFQM5SXC22I52EILM62UTYPBISJAVCNFSM6AAAAABB7ISVESVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGUYTONBRGE3TINQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

closes #6538
see docs for more context.
TLDR: we need to update the env.block to the transaction's block so we can transact it in the block env it was mined in


AttributeError: 'str' object has no attribute 'decode'

Hello! I am trying to run this command model = sm.Unet("seresnet34") after install the pip package and all the dependencies, and I get the AttributeError: 'str' object has no attribute 'decode'.
Do you have an idea why that might be?
My python version is: Python 3.7.9
I tried installing the segmentation_models package with pip and also cloning the repository.
All the required packages are installed, with the specified versions:
tensorflow           2.1.0
Keras-Applications   1.0.8
image-classifiers    1.0.0
efficientnet         1.0.0

If you didn't solve it yet, the solution is to upgrade the h5py package to the 2.10.0 version

If you didn't solve it yet, the solution is to upgrade the h5py package to the 2.10.0 version

Hello there! @andr2xea I had recently faced exactly the same issue 👇🏼 :

AttributeError: 'str' object has no attribute 'decode'

The @A-guridi suggestion helped to solve it.
To install the h5py version 2.10.0 consider:
pip install h5py==2.10.0

P.S.
The environment setup:
keras==2.3.1
tensorflow==2.1.0
segmentation-models==1.0.1
h5py==2.10.0

@andr2xea I also faced the same issue. The below installation worked for me. Thanks
pip install h5py==2.10.0


Able to exclude partition based on ext filesystem label

Related issue: https://github.com/harvester/harvester/issues/1282

Separate filter to two filter interface: DiskFilter and PartFilter
Add new label filter which excludes partition based on given pattern of filesystem label
Add new cli arg --label-filter and new environment variable NDM_LABEL_FILTER. It accept a comma separated glob patterns describing in path/filepath#Match

Following tasks after merged.

[ ] Update helm chart for harvester/charts repo https://github.com/harvester/charts/pull/34
[ ] For harvester-installer, add a new value to exclude COS_* label https://github.com/harvester/harvester-installer/pull/140

Test plan

You can test the docker image at weihanglo/node-disk-manager:label-filter

Run node-disk-manager with --label-filter arg, e.g. --label-filter "COS_*" to exclude partition with ext label starting with COS_ prefix
Label your partition with that label, e.g. e2label /dev/sda1 MY_LABEL_*
You shall see that periodic scanning removes partitions matching that filter value.

LGTM. It might be better to filter out the disk that contains the unwanted partitions too.

@guangbochen
Just added a logic for applying label filter on disk. If all of its partitions are excluded, the disk would be excluded, too.
Another fix is that in previous implementation, we exclude the whole disk if one of its partition mounted on the excludePaths. That is too restricted, so I separate the logic for each filter to take care only given disk or partition. If you think this change is not what we want, we can revert it. Thanks.


chromium-dev: Update to version 99.0.4806.0-r955034 and fix autoupdate

Closes #XXXX

Relates to https://github.com/ScoopInstaller/Extras/issues/7292

[x] I have read the Contributing Guide.

Notes

List of files can be found here: https://github.com/LazyGeniusMan/Sc00p-Test/runs/4697721304?check_suite_focus=true#step:3:10
Should I also add bin & scripts that's used in ungoogled-chromium ?

Should I also add bin & scripts that's used in ungoogled-chromium ?

Yes

/verify

checkver failing

hmm wierd, it was working before: https://github.com/LazyGeniusMan/Sc00p-Test/commit/39b79860d01d9f243f759dc9dd41c3933bc3a682#diff-f80e869bfe31ae8cc38226fee713a99d39c5daaa15ae734ff426d8bda9b0d664
wait let me run excavator again

/verify

/verify


dd: don't allocate buffer if count=0

As an optimization, prevent dd from allocating buffers for use in its main loop when count=0.
This fixes some of the test cases in the GNU test suite file tests/dd/no-allocate.sh.

Looks good to me!


[🐞] npm create qwik@latest todolist doesn't work

Which component is affected?
Starters/CLI
Describe the bug
I initialize the project with npm create qwik@latest and install tailwind, netlify edge via npm run qwik add and install daisyui via npm i daisyui and add the plugin to the tailwind.config.js.
When starting the project and navigating to the todo app, it doesnt add todos when writing text and adding them.
Also tested this exact process with 0.20.1 and it works there.
Reproduction
https://github.com/TheodorGauguin/qwik-latest-test
Steps to reproduce
I initialize the project with npm create qwik@latest and install tailwind, netlify edge via npm run qwik add and install daisyui via npm i daisyui and add the plugin to the tailwind.config.js.
System Info
System:
    OS: macOS 13.0.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 120.27 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.15.0 - /usr/local/bin/node
    npm: 9.6.1 - /usr/local/bin/npm
  Browsers:
    Safari: 16.1
  npmPackages:
    @builder.io/qwik: 0.21.0 => 0.21.0
    @builder.io/qwik-city: 0.5.3 => 0.5.3
    undici: 5.20.0 => 5.20.0
    vite: 4.1.4 => 4.1.4

Additional Information
No response

I noticed this as well, and discovered an open thread about it on the Builder.io Discord.
Here's a helpful post I found there:

I confirmed that this works for me as well. I'm not sure if it's a mistake in the starter template, a bug in routeAction$, or something else.


UDSource - build a UDSource for nats

To test how flexible our current UDSource framework is and apply fixes and optimizations.

Nats Source: Built-in v.s. User-defined
In this summary, I use the numaflow nats e2e test as an example to compare the developer experience between using built-in and user-defined nats sources.
A brief intro to the e2e test
Link to the test: https://github.com/numaproj/numaflow/tree/main/test/nats-e2e
To perform a complete nats e2e test, the following steps are taken:

Step 1: Create a nats server.

Deploy a kustomization template that includes nats config, nats service and a stateful set.

Step 2: Create a nats auth token.

Deploy a secret and mount it to source pods.

Step 3: Declare a nats configuration.

The configuration defines how the source reads from the nats application. It includes url, subject, queue, auth etc.

Step 4: Write pipeline spec and start the pipeline
Step 5: Use the E2E API to send messages to test nats subject and verify sink output.

Comparison
To compare the developer experience between the two approaches, a simple test user-defined nats source is prepared and used to run the numaflow nats e2e tests. See: numaflow-nats-source
The conclusion
From a numaflow developer's standpoint, there is NO MAJOR DIFFERENCE between using built-in and user-defined nats sources. Here is the code change that I need to make to switch our e2e test from using built-in to user-defined: code change.
The only extra work introduced by the user-defined nats source is that the pipeline developer needs to take care of mounting secrets and config maps, which are common operations for a K8S developer.
Details

Steps
Built-in nats
User-defined nats

Create a nats server
use kustomization
use kustomization

Create a nats auth token
use secret
use secret

Declare a nats configuration
use the numaflow API
use a JSON file that can be interpreted by the user-defined source

Write pipeline spec and start the pipeline
DO NOT NEED TO mount secrets and config maps to the pod because the numaflow platform takes care of it.
NEED TO mount secrets and config maps to the pod under a path that the user-defined source uses to access the data.

Use the E2E API to send messages to test nats subject and verify sink output.
use the numaflow e2e test framework
use the numaflow e2e test framework

I am closing this issue as we finished implementing nats udsource. https://github.com/numaproj-contrib/nats-source-go


Deprecation info for istioctl cmd should align with istio version dynamically

(NOTE: This is used to report product bugs:
To report a security vulnerability, please visit https://istio.io/about/security-vulnerabilities
To ask questions about how to use Istio, please visit https://discuss.istio.io)
Bug description
In istio.io, when we want to deprecate a command, we will have deprecation info like this:

which seems to be hard coded here: https://github.com/istio/istio/blob/master/istioctl/cmd/root.go#L55
we'd better make the version here dynamically changes as istio update to a new version
[ x] Docs
[] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ x] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
Expected behavior
Steps to reproduce the bug
Version (include the output of istioctl version --remote and kubectl version --short and helm version --short if you used Helm)
How was Istio installed?
Environment where the bug was observed (cloud vendor, OS, etc)
Additionally, please consider running istioctl bug-report and attach the generated cluster-state tarball to this issue.
Refer cluster state archive for more details.

which seems to be hard coded here: https://github.com/istio/istio/blob/master/istioctl/cmd/root.go#L55
we'd better make the version here dynamically changes as istio update to a new version

@carolynhu I think that was intentional https://github.com/istio/istio/issues/26877#issue-687618256 and that message itself will be removed when those deprecated commands are removed.

Updating this manually seems better than automating it.
For example, if someone is testing version 1.9 and they see a message saying a feature will be removed in 1.9 they will report a bug which will provide important feedback that we missed removing something.  If we automate the message it is difficult to tell if the message changed on purpose or was forgotten.


[NOMERGE] Wrap all requests done through Typhoeus #3778

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

https://github.com/CartoDB/cartodb/wiki/The-CartoDB-ruby-http-client
@juanignaciosl , @zenitraM can you please review?

First of all, what's the motivation for tag and maintaining an instance per service? It introduces a problem: when you get with extra options you're not guaranteed to get an instance created with those options.

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

@Kartones can you please take a quick look as well? thanks!

+1 but I'd add a comment to the Request class (a #INFO: xxx) noting that Typhoeus has an implicit cache of GET requests, so that anybody that uses the class knows.
I think we haven't hit any issue but mostly because of the way CartoDB works (request -> serve response instead of long running processes/standard apps).

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)


Updating openURL method for ObjC

Please submit your PR against the staging branch.

@ethanneff

Result of Integration 1
Duration: 10 minutes and 7 seconds
Result: Perfect build! All 199 tests passed. :+1:
Test Coverage: 60%


add travis button to readme

@csantanapr Do we want to add golint to the scanCode.py for all .go files?
sounds like a good idea


Is it possible to avoid exception in case a variable cannot be resolved in template

I would like to replace variables in a template file but some may not be defined and in that case I would like the variables to stay in the generated file. Is it possible?

I'm not sure what you are trying to achieve. Would you like to use Jinja's debug for undefined variables, or something like this:
{{ "foo" if not foo else foo }}

Ok. In that case you would like to use Jinja's debug. For now, it is not possible. I could add a command-line option to support that though, i.e. --jinja-debug.

That would be nice I think. You can also document the use case as it is not obvious that --jinja-debug has this effect. Maybe just a link to the jinja-debug documentation is enough.


Istio 1.4.7 to 1.5.1 default profile upgrade failure, 1.4 proxy pods no longer in mesh

Bug description
After upgrade from 1.4.7 to 1.5.1, existing 1.4 proxy pods are no longer showing up in
istioctl ps or istioctl version --short=false.   Something appears to be wrong with the certificate used for the pilot grpc connection.
Same thing with demo profile works.
after upgrade, istiod logs have (ip is one of the mesh pods with 1.4 proxy)
2020-04-09T16:28:28.233401Z	info	http: TLS handshake error from <IP_ADDRESS>:43748: remote error: tls: unknown certificate

and 1.4 proxy pods have:
[Envoy (Epoch 0)] [2020-04-09 16:28:28.233][20][warning][config] [bazel-out/k8-opt/bin/external/envoy/source/common/config/_virtual_includes/grpc_stream_lib/common/config/grpc_stream.h:91] gRPC config stream closed: 14, upstream connect error or disconnect/reset before headers. reset reason: connection failure

before upgrade:
istioctl ps | grep -v gateway
NAME                                                  CDS        LDS        EDS        RDS        PILOT                            VERSION
httpbin-779c54bf49-bj94s.default                      SYNCED     SYNCED     SYNCED     SYNCED     istio-pilot-684c85c678-7vsn4     1.4.7
sleep-f8cbf5b76-wx2t7.default                         SYNCED     SYNCED     SYNCED     SYNCED     istio-pilot-684c85c678-7vsn4     1.4.7

after upgrade:
istioctl ps | grep -v gateway
NAME                                                   CDS        LDS        EDS        RDS        PILOT                       VERSION

Expected behavior
Existing 1.4 mesh pods can still connect and be part of the mesh.
Steps to reproduce the bug

download 1.4.7
istioctl manifest --set profile=default
deploy sleep and bookinfo tests, or any other mesh pod with autoinjection. Mine are all in default namespace
check mesh with istioctl ps or istioctl version --short=false
download 1.5.1
istioctl upgrade -f <path to 1.5.1 default profile> --force
check mesh with istioctl ps or istioctl version --short=false

list does not contain the 1.4 proxy pods.
only after a restart of those pods and get the 1.5 proxy, do they appear.

Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
1.4.7 and 1.5.1
How was Istio installed?
istioctl
Environment where bug was observed (cloud vendor, OS, etc)
IKS

@linsun @rvennam

A difference from the pilot logs:
working case:
2020-04-09T16:12:50.583421Z	info	pkica	The Citadel's public key is successfully written into configmap istio-security in namespace istio-system.
2020-04-09T16:12:50.583474Z	info	rootcertrotator	Set up back off time 9m8s to start rotator.
2020-04-09T16:12:50.583498Z	info	Generating K8S-signed cert for [istiod.istio-system.svc istiod-remote.istio-system.svc istio-pilot.istio-system.svc]
2020-04-09T16:12:50.585726Z	info	rootcertrotator	Jitter is enabled, wait 9m8s before starting root cert rotator.
2020-04-09T16:12:50.908985Z	info	Certificates created in ./var/run/secrets/istio-dns
2020-04-09T16:12:50.910078Z	info	Generating a certificate for secure gRPC (istiod-service-account/istio-system)

broken case:
2020-04-09T16:24:50.869227Z	info	pkica	The Citadel's public key is successfully written into configmap istio-security in namespace istio-system.
2020-04-09T16:24:50.869256Z	info	rootcertrotator	Set up back off time 43m43s to start rotator.
2020-04-09T16:24:50.869292Z	info	Generating Citadel-signed cert for [istiod.istio-system.svc istiod-remote.istio-system.svc istio-pilot.istio-system.svc]
2020-04-09T16:24:50.869329Z	info	rootcertrotator	Jitter is enabled, wait 43m43s before starting root cert rotator.
2020-04-09T16:24:51.429485Z	info	No plugged-in cert at etc/cacerts/ca-key.pem; self-signed cert is used
2020-04-09T16:24:51.430222Z	info	Certificates created in ./var/run/secrets/istio-dns
2020-04-09T16:24:51.431395Z	info	Generating a certificate for secure gRPC (istiod-service-account/istio-system)
202

The diff line being:
2020-04-09T16:24:51.429485Z	info	No plugged-in cert at etc/cacerts/ca-key.pem; self-signed cert is used

going to reset my env and try again to dbl check these results.

@elfinhe @howardjohn @ostromart thoughts?  It is not clear why demo profile would work for the same test and default could not.  The error does indicate the 1.4 proxy unable to connect to istiod which I'd assume it is on port 15011 with 1.4's proxy.

I can reproduce this. I am certain this was working from 1.4 -> 1.5.0, investigating if its a 1.5.1 regression

Thank you much @howardjohn !

hmmm seems like serviceAccount got changed at some point. Replacing serviceaccount: istiod to istio-pilot on the deployment fixes this

@howardjohn yes, confirmed in master we have istio-pilot-service-account as the service account but istiod in 1.5.x.  Seems this would be an issue with 1.5 also.  Do you plan to submit a PR for changing it to be the same as master's?  I'd be happy to if you aren't.

I will send a PR. I think I see what happened, we change the SA, realized it was a bad idea and reverted back to istio-pilot, but didn't backport the revert

Awesome, much appreciated @howardjohn !

What I don't know is how this was missed in testing... I tested this exact thing many times and we even have automated upgrade testing (clearly not enough coverage from this one). Ill send the pr today

Thanks John for figuring it out!

Ref to the SA issue?
And can it be manually fixed after upgrade?
Any idea why it works with Demo profile?

demo profile connects to pilot over plaintext so the cert mismatch doesn't matter. breaking commit: https://github.com/istio/istio/commit/a17ee65bcc82314257a7d0146118338c3ac25734. Yes it can be fixed manually, rename the service account, like in the PR https://github.com/istio/istio/pull/22848

@kramvan1 any chance you could verify the above PR (manually or otherwise)? I have done it myself but doesn't hurt to have 2 people try it

@howardjohn can you point out where demo profile is confuguring to use the plain traffic to pilot?  This used to be the controlplane security flag.

https://github.com/istio/operator/blob/release-1.4/data/profiles/demo.yaml#L69

Ah i have been looking at 1.5 or master's demo.yaml.  now it all makes sense now :)

@howardjohn yes, I'll give it a try, thx

@howardjohn  Yes, that PR change worked for me.      And yes I also seems to have fixed egress issue as well.  https://github.com/istio/istio/issues/22842

The cross-version upgrade test case was removed in this commit: d54f020b5c2642e42ff25dc04001a65eb0c8d0aa.
Hence the regression.
I am struggling to find any replacement in release-1.5 branch or master.

Its just moved to istio/tools:
https://prow.istio.io/job-history/istio-prow/logs/istio-upgrade-using-istioctl-1.4_latest-1.5_latest.
note the recent failures are due to infra issue, it didn't start catching
this bug. The test does not sufficiently cover upgrade issues
On Fri, Apr 10, 2020 at 3:45 AM Steven Dake<EMAIL_ADDRESS>wrote:

The cross-version upgrade test case was removed in this commit: d54f020
https://github.com/istio/istio/commit/d54f020b5c2642e42ff25dc04001a65eb0c8d0aa
.
Hence the regression.
I am struggling to find any replacement in release-1.5 branch or master.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/22841#issuecomment-611980381, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXLJC4FUVSOASIKF3UTRL32ENANCNFSM4ME3UJOQ
.

Yes would like to see more coverage in the upgrade tests.
Verify this issue is fixed in 15-dev


[Improvement-13884][UI] Improve the UI of flink sql task

Purpose of the pull request

close: #13884

Brief change log

Verify this pull request

before

after

Codecov Report

Merging #13885 (a9a6f97) into dev (7ee66f2) will decrease coverage by 0.06%.
The diff coverage is n/a.

:exclamation: Current head a9a6f97 differs from pull request most recent head 24c0e16. Consider uploading reports for the commit 24c0e16 to get more accurate results

@@             Coverage Diff              @@
##                dev   #13885      +/-   ##
============================================
- Coverage     38.91%   38.85%   -0.06%
+ Complexity     4465     4450      -15
============================================
  Files          1158     1158
  Lines         42424    42386      -38
  Branches       4772     4751      -21
============================================
- Hits          16510    16470      -40
- Misses        24097    24103       +6
+ Partials       1817     1813       -4

see 36 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


BUG: Multiple tickers per page - adjusting duration on one impacts the other

I'm using ng-marquee in an component.  When I instantiate 2 version of the same component within a page, the duration input parameter changes the speed of the first component instead of the one it's being passed to.

Looks like the issue is in the ngInit() - the querySelectorAll is pulling the first instance of the tag and adjusting the duration so if you have multiple instances, the first instance is always changed, no matter what:
    updateDuration() {
        if (!this.duration) {
            return;
        }
        this.animationElem.style.animationDuration = `${this.duration}s`;
    }
    /**
     * @return {?}
     */
    ngOnInit() {
        this.animationElem = /** @type {?} */ (document.querySelectorAll('.ng-marquee-wrapper > div')[0]);
        this.updateDuration();
    }

Sorry for the delayed response .. I was busy with some stuff at my work .. Could you please make a pull request to backport the improvements to upstream ?

@henry74 this issue is now fixed :tada:


failed to "InitContainer" for "init" with RunInitContainerError: "init container "init" exited with 1"

I tried to install fabric8-platform-2.4.6 on openshift platform:
oc v1.3.1
kubernetes v1.3.0+52492b4
features: Basic-Auth GSSAPI Kerberos SPNEGO
openshift v1.3.1
kubernetes v1.3.0+52492b4
But failed to install gogs pod,the error messages:
Failed sync 	Error syncing pod, skipping: [failed to "InitContainer" for "init" with RunInitContainerError: "init container "init" exited with 1" , failed to "StartContainer" for "init" with CrashLoopBackOff: "Back-off 10s restarting failed container=init pod=gogs-5-8exat_fabric8(ad3620fb-c288-11e6-b27f-00248cfcb938)" ]
It seems that the annotation in gogs dc cannot run correctly:
pod.alpha.kubernetes.io/init-containers: '[{"name":"init","image":"busybox","command":["chmod","777","/app/gogs/data"],"resources":{},"volumeMounts":[{"name":"gogs-data","mountPath":"/app/gogs/data"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always"}]'
It's appreciate for giving some advice.
Thanks,

@jstrachan
I just test again. I install fabric8 with command: "./gofabric8-linux-amd64 deploy -y --namespace=fabric8 --domain=paastest.cn --version=2.4.15"
But jenkins pod cannot be created successfully.
The error is the same as gogs
Error syncing pod, skipping: [failed to "InitContainer" for "init" with RunInitContainerError: "init container "init" exited with 1" , failed to "StartContainer" for "init" with CrashLoopBackOff: "Back-off 5m0s restarting failed container=init pod=jenkins-1-6gmtv_fabric8(e7b3edbd-d704-11e6-96d6-00221956ccce)" ]
Error syncing pod, skipping: failed to "InitContainer" for "init" with RunInitContainerError: "init container "init" exited with 1"

I will create a new issue for Jenkins pod failure,since that gogs pod issue has been resolved in 2.4.15


Shipayrd release for 0.8.0-pre0

Testing the semi-auto release process, starting with Shipyard
Signed-off-by: Mike Kolesnik<EMAIL_ADDRESS>

:man_dancing:


'docker-machine upgrade ' not upgrdaing amazonec2 v1.9.1 to  v1.10.1

I upgrade docker-machine to 6.0 and now I can't connect to some remote docker-machine instances that are on Ubuntu 14 hosted on amazonec2. I can't run docker commands on them because they are  v1.9.1. and i get an error that says:
Error response from daemon: client is newer than server (client API version: 1.22, server API version: 1.21)
Running 'docker-machine upgrade ' goes through upgrade process, but docker versions remains  v1.9.1. It should upgrade to v1.10.1.

I've faced with same problem. I would  appreciate any ideas.

same problem with openstack driver.. any idea to solve the problem ?

Facing same problem with digitalocean driver

Hi all, thanks for reporting, please see https://github.com/docker/machine/issues/3308#issuecomment-210181219


[deploy] enable install NTP service in deployment

Why: In some environments (Such as Azure Ubuntu VM), the NTP server is not installed by default. This feature is provided to check and install the ntp service.
Which component needed it: Distributed system such as etcd inner PAI.
PAI Prerequisites

Coverage remained the same at 71.477% when pulling 01465562f06902ff1be2bf1ae5606436ace484d3 on yanjga/ntp into 843a9d45b658403b3c64a0bf59f276208649d3ff on master.

Coverage remained the same at 71.477% when pulling 01465562f06902ff1be2bf1ae5606436ace484d3 on yanjga/ntp into 843a9d45b658403b3c64a0bf59f276208649d3ff on master.

Coverage remained the same at 71.477% when pulling 01465562f06902ff1be2bf1ae5606436ace484d3 on yanjga/ntp into 843a9d45b658403b3c64a0bf59f276208649d3ff on master.


Feature database client id match

Proposed Changes
As we were using username and password in acl file auth. But in the case of DB, we are also matching client_id. There are a lot of cases where we only want to authenticate using username and password from the DB. So, i made this thing optional.
Now we only have to pass a variable in our docker env like  DATABASE_CLIENT_ID_MATCH: 'off'. If its value is off then client_id will not get matched from DB and it will act same like in case of acl files auth.
I just access this variable from os env and i have changed swl query for not matching client_id.
Types of Changes

[ ] Bugfix (non-breaking change which fixes issue #XXXX)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation (correction or otherwise)
[ ] Cosmetics (whitespace, styles...)
[ ] DevOps (Build scripts, pipelines...)

Checklist

[x] I have read the CODE_OF_CONDUCT.md document
[ ] All tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if needed)
[ ] Any dependent changes have been merged and published in related repositories
[ ] I have updated changelog (At the bottom of the release version)
[x] I have squashed all my commits into one before merging

Further Comments
For now. I have implemented this optional feature for mysql. I want to get reviews on it. If this get approved then I will add this functionality for all databases.

@ioolkos want reviews on this

@bilal-haider-cowlar Thanks for the effort. THB, I'm not yet sure what to do, as it introduces an option to lower security (but only for MySQL). Also note that if we deem this acceptable we should have the setting in the vmq_diversity schema file, and not have it read from the OS user env.

I can see the need (acl based on "device class") without having to have an acl on each individual device.  If we want to proceed with this pull request I'd suggest to make it even more flexible, as in just allow a null in the db and do an auth like (pseudo sql)
select top 1 ... where ... and ((client_id := client_id) or (client_id is null)) order by client_id nulls last
other options would include auth based on device classes (which would be an additional concept) or allow some sort of regex...

This is also an issue for me using the MongoDB method


Readme updates nirmit

To make sure we describe the project holistically in terms of the goals and scope.

I read carefully and checked all the links. Looks good!

A few small grammatical issues that Grammarly found and I will fix them after the merge.
Under Features of the toolkit, better link for "workflow automation", e.g., a Readme file or a tutorial, not just the directory of code


Categories: Performance

Need 1- and 2-line descriptions of the topics in the Performance category.
Mini-WhatIs are also needed for all topics, but are not covered in this issue.

This has been done. Some mini What-is may be missing but they can be backfilled later.


Pill shape drop notification dynamic

can we make this notification dynamic, so when its not free, it does not say its free - but for example "Generative drop minting now"
when drop is minted out, it could say, generative drop minted out - see listings

👋


Parse floats and floats as strings

This is really a great library, but it lacks of a fundamental feature: parsing float numbers or float numbers casted to string.
I mean that a value like 12.89, '12.89' or '12,89' cannot be parsed.
But this is a fundamental feature as dealing with APIs we ever return numbers in various formats.
Yes, maybe this is something we should take into account by ourselves, but providing such parsing feature should be a requirement for this library that aims at being THE money library.
What do you think about?

function parseFloat($float)
    {
        $currencies = new ISOCurrencies();
        $moneyParser = new DecimalMoneyParser($currencies);

        return $moneyParser->parse((string)$float, 'EUR');
    }

function toString($print = false)
    {
        $currencies = new ISOCurrencies();
        $moneyFormatter = new DecimalMoneyFormatter($currencies);
        $formatted = $moneyFormatter->format($this->money);

        if ($print) {
            return number_format((float)$formatted, 2, ',', '.');
        }

        return $formatted;
    }

@unglud Is this code anywhere in the library?

Nope, but you can just extend the library with your own class and make it behave as you willing to. Also it will insure you from possible breaking updates.

But don't you think this should be a feature of the library itself? Why should have I to write code outside the library when I have a library that deals with monetary values?
It should provide me all the ways to get a Money object, without taking care of what I pass... This is the purpose of a library, or not? Also because the effort is not so great as you demonstrated providing me the code in less than a minute...
Also if it doesn't deal with all the possible formats and castings a money value can have.

The thing is, stuff you described works well for you and for me, but for other people not. Lib do what it suppose to do. Single responsibility thing. It's just simple construction block, which suppose work perfectly in all places where you use it. If you want lib make a coffee or laundry you just extend the lib, 'cuz in this case you make specific task done.

What I really do not like, but it's just my opinion, that class Money itself is final, which complicate it extension.

And also Currency is final... This caused me really a lot of headaches...
I agree with the single responsibility principle... But following it too strictly I think is not good in this case.
I'm don't saying that the Money object itself should handle those situations.
I'm saying that providing a generic parser should be a really good help for those who need to parse money values in the most common ways they are represented (maybe also with currency symbols and similar things).
In my opinion this IS responsibility of this library as it wants to provide tools and utilities to manage monetary values.
And as monetary values are represented also in this way, then...
A formatter is parser in my opinion... But, yes, it is only an opinion of mine and I cannot force anyone...

You can start with the pull request and see how it goes.

@Aerendir I think there is a bit of misunderstanding: DecimalMoneyParser and DecimalMoneyFormatter are part of the library, only the example code presenting the usage was made up by @unglud.
So I don't think there is anything to do here.

Exactly, use the decimal parser, see documentation. Furthermore there is also Number::fromFloat.


Restrict the panda robot to only move in the front

Hello，Is it possible to limit the range of movement of the robot， because the target is in the front, but it explores the back (or other places), which is inefficient, just like this:

Thanks a lot.

There is no native argument that does this. I suggest you constrain the action. You can do this by wrapping the send (with gym.Wrapper). Your wrapper would look like
from gym import Wrapper

class StayFrontWrapper(gym.Wrapper):
    def reset(self):
        obs =  super().reset()
        self._last_obs = obs["observation"]

    def step(self, action):
        if not self.is_front():
            action[0] = 0.0
        obs, reward, done, info = super().step(action)
        self._last_obs = obs["observation"]
        return obs, reward, done, info

    def is_front(self):
        if self._last_obs[0] > 0.0:
            return True
        else:
            return False

I haven't tested this code, but it gives you an idea of what I would do in your place.
Feel free to publish the solution you finally choose here, it could help other people.

Thanks a lot!

Hello，I just only change this RobotTaskEnv class（add def is_front()，modify the steps by adding ：if not self.is_front():
action[0] = 0.0 # x displacement，adding self._last_obs = obs["observation"] in init）,but don't work,the robot still go back as usual,Do you know Why,thanks!
`class RobotTaskEnv(gym.GoalEnv):
metadata = {"render.modes": ["human", "rgb_array"]}

def __init__(self):
    self.seed()  # required for init for can be changer later
    obs = self.reset()
    observation_shape = obs["observation"].shape
    achieved_goal_shape = obs["achieved_goal"].shape
    desired_goal_shape = obs["achieved_goal"].shape
    self._last_obs = obs["observation"]
    self.observation_space = spaces.Dict(
        dict(
            observation=spaces.Box(-np.inf, np.inf, shape=observation_shape),
            desired_goal=spaces.Box(-np.inf, np.inf, shape=achieved_goal_shape),
            achieved_goal=spaces.Box(-np.inf, np.inf, shape=desired_goal_shape),
        )
    )
    self.action_space = self.robot.action_space
    self.compute_reward = self.task.compute_reward
    self.render = self.sim.render

def _get_obs(self):
    robot_obs = self.robot.get_obs()  # robot state
    task_obs = self.task.get_obs()  # object position, velococity, etc...
    observation = np.concatenate([robot_obs, task_obs])

    achieved_goal = self.task.get_achieved_goal()

    return {
        "observation": observation,
        "achieved_goal": achieved_goal,
        "desired_goal": self.task.get_goal(),
    }

def reset(self):
    with self.sim.no_rendering():
        self.robot.reset()
        self.task.reset()
    return self._get_obs()

def step(self, action):
    if not self.is_front():
        action[0] = 0.0 # x displacement
    self.robot.set_action(action)
    self.sim.step()
    obs = self._get_obs()
    done = False
    info = {
        "is_success": self.task.is_success(obs["achieved_goal"], self.task.get_goal()),
    }
    reward = self.task.compute_reward(obs["achieved_goal"], self.task.get_goal(), info)
    return obs, reward, done, info

def seed(self, seed=None):
    """Setup the seed."""
    return self.task.seed(seed)

def close(self):
    self.sim.close()

def is_front(self):
    if self._last_obs[0] > 0: # x ee position
        return True
    else:
        return False`

Have you check whether the is_front method work as expected? You can print something when is_front returns True and compare with what you observe in the rendering.

Have you check whether the is_front method work as expected? You can print something when is_front returns True and compare with what you observe in the rendering.

thanks ,I will try

Have you check whether the is_front method work as expected? You can print something when is_front returns True and compare with what you observe in the rendering.

@qgallouedec ,thanks a lot,I put self._last_obs = obs["observation"] in the _get_obs,not in the init.It works.
Btw, do you know some useful Rl Library（except RB3(which takes a long time for me to train，may be the environment is too hard )）to train or you write the Rl algorithm yourself?

I use mainly SB3. You can speed up learning by using multiprocessing, but AFIK it is not released yet for off-policy algorithms (soon, maybe ?). Check https://github.com/DLR-RM/stable-baselines3/issues/179#issue-715804276, it can help.

Hello，When I use python train.py --algo tqc --env PandaReach-v1 -params n_envs:4，I met an error，
ValueError: Error: the model does not support multiple envs; it requires a single vectorized environment.
Is this model not supporting multiple environments？or any other problems.Thanks a lot.


updating plugin introduction

Explanation
Updated plugin PR adding more info about

What is a WasmEdge plugin?
How can WasmEdge plugins be used?
Benefits of using WasmEdge Plug-in System

Related issue -
#85
Reopening PR #84 for passing DOC test

What type of PR is this

/kind documentation
Proposed Changes

Hello, I am a code review bot on flows.network.
It could take a few minutes for me to analyze this PR. Relax, grab a cup of coffee and check back later. Thanks!

@alabulei1 CI Workflows need your approval to run. Its a default feature of GH Actions. More Info: https://docs.github.com/en/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks

Hi  @mhmohona  Sorry for my delay. Could you please fix the conflicts?


Session path invalid on most enviroments

The session path is set to D:/Programs/nodejs/sessions/ in both the dev and min versions for download yet the instructions just tell you to change the path on the first line ( in the minified file is is actually buried in the minified code )
The instructions to update the path to node should also mention you need to set and create a folder for the session storage.
Also possibly worth noting about different enviroments the quotes around the path to the node executable are not valid on osx or linux and is easy for people not so familier with how cgi paths work to miss

Excellent points and suggestions. I'll update the documentation and code accordingly. Thanks

Thanks. like what you have done so. I ran into very few issues using it to convert some simple php examples for a talk on using node as a cgi. I gave yesterday people seemed pretty interested. Keep up the good work!

You could use an environment variable for NODE_SESSION_DIRECTORY, so you don't have to hard code paths.  Also, the script fails if the directory doesn't exist.  Perhaps you should create it in the event it is not present.

Here are my diffs, around about line 290:
                var path = Path.join(CgiNodeConfig.SessionPath, this.id);

+               // If the session dir does not exist then create it
+               if (!FS.existsSync(CgiNodeConfig.SessionPath)) FS.mkdirSync(CgiNodeConfig.SessionPath);
                // If the file does not exist then create another ID.
                if (!FS.existsSync(path)) this.id = this.create();

But that's the minimal change to get it working... you should consider using https://www.npmjs.com/package/mkpath to ensure the whole path exists. And you should probably specify the mode to set the session directory to only be readable/writable by the user, so the session file contents are private to the web server process user.