[Help wanted] submit fastfetch to debian unstable

Debian and Ubuntu are two of most used Linux distros but we haven't got the official packages there.

我们在deepin的打包的时候做了一些工作，包括将vendor的依赖yyjson单独打包出来，现在正在尝试向debian提交这些包

@xzl01 @UTsweetyfish Any progress?

Ref: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053995

可以参考： https://mentors.debian.net/intro-maintainers/

帮忙联系了一位DD 看是否能够推进下

你可以需要再发一个RFS：https://mentors.debian.net/accounts/register/

https://mentors.debian.net/package/fastfetch/
Then what?

你需要关注下

这是对包质量的检查，可能需要对此进行更改

你可以使用  https://manpages.debian.org/testing/lintian/lintian.1.en.html  来检查你的包质量

https://lintian.debian.org/tags/very-long-line-length-in-source-file.html
这个链接你能打开吗？

你可以使用 https://manpages.debian.org/testing/lintian/lintian.1.en.html 来检查你的包质量

我在用ubuntu。Ubuntu的lintian不报这些错🤣

你可以使用distrobox 运行一个debian容器来跑lintian。  链接我也打不开（可能是debian的问题？）

似乎目前的debian目录依然不符合标准，如果你愿意的话 我给你那个分支提一个pr进行修改

可以

@xzl01 and @CarterLi
Thank you for the amazing work done.
I see there is a [Help wanted] tag, it seems like there is help wanted, but a lot of this issue is on chinese, sadly not everyone speaks chinese, wouldn't english be a bit a better way to communicate?
That way much more people could understand the current situation and possibly help.

I see there is a [Help wanted] tag, it seems like there is help wanted, but a lot of this issue is on chinese, sadly not everyone speaks chinese, wouldn't english be a bit a better way to communicate?

I'm aware of this issue and really sorry for that
I had submit ( an old and slightly modified ) fastfetch to debian mentors and got no response. Progress stuck there.
https://mentors.debian.net/package/fastfetch/

I don't know much about debian and personally I don't use debian. I hope someone has experience of packaging for debian take this.

Hi all, I would like to proceed with this task if possible. Is that ok?
I personally use Debian and I personally know some Debian developers and Debian maintainers that are used to contributing to Debian, I've already talked to one of them and they will help me. I will send an email to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053995.
Thank you for this nice project.

Thank you @hiagofranco! Really appreciated!

Also look at Maytham's comment at Bug #1067925. He suggests using salsa for maintaining the package. I succesfully built fastfetch using Carter's debian/ but Debian projects prefer there is no debian/ directory in the upstream tarball. If you maintain the package in git,  debian/ only lives in the debian/latest branch, and the upstream source lives in the upstream/latest branch, look here.

Hello @hiagofranco

Hi all, I would like to proceed with this task if possible. Is that ok?
I've marked you as the owner of the ITP bug now.

Would you be willing to add me as a co-maintainer of this package? I'm also interested in getting this piece of software into Debian :smile:.
I have a bit of experience in maintaining Debian packages, and have recently become a DM, so I can help out with packaging and uploading. I can also help with organising the creation of a repo under the debian/ group on Salsa.
Have you started work and/or created a Salsa repo yet?
Thanks,
Maytham (maytham on IRC)

Hi all,
@mok0 thanks for sharing the links.

If you maintain the package in git, debian/ only lives in the debian/latest branch, and the upstream source lives in the upstream/latest branch, look here.

This would be the approach, yes. I believe I will have to ignore the /debian folder from fastfetch for now and rewrite it for the Debian package, but I will post any updates here. We can probably get rid of this folder in the folder and keep it only in the Debian repo.
@Maytha8

I've marked you as the owner of the ITP bug now.

Thank you! I will start to work on it today.

Would you be willing to add me as a co-maintainer of this package? I'm also interested in getting this piece of software into Debian 😄.
I have a bit of experience in maintaining Debian packages, and have recently become a DM, so I can help out with packaging and uploading. I can also help with organising the creation of a repo under the debian/ group on Salsa.

Of course, let's do that together, it will be nice to have someone with experience to help ;-)

Have you started work and/or created a Salsa repo yet?

Not yet, I plan to start today, I will try to create it here and I will ask for help if something goes wrong...
How can I contact you? Can I use the email you've shared here?
Best Regards,
Hiago.

@hiagofranco

Not yet, I plan to start today, I will try to create it here and I will ask for help if something goes wrong...

Exciting!

How can I contact you? Can I use the email you've shared here?

Yep, or on IRC or GitHub.

@Maytha8 all right, thank you =)
I've started creating the Debian folder files and I noticed something  I believe we will have to remove.
There is a LICENSE file for intel inside the src/3rdparty/igcl/ folder that is not in agreement with Debian. By removing this folder, I will have to patch the source code, and src/detection/gpu/gpu_intel.c will not work, so any user using this GPU will not get this info. Any comments on that?
I don't know exactly how the MIT + proprietary LICENSE works as we have two licenses here, but I believe this will not be possible for the Debian package to be accepted on the mainline.

Hello, I am aware of this license issue. There are several folders in 3rd party folder and they all can be removed

ags and igcl: not used in Linux and can be removed directly
nvml: it is Nvidia's proprietary driver connector. We support a CMake option -DENABLE_PROPRIETARY_GPU_DRIVER_API=OFF to disable using it.
mk_wcwidch: it is implementation of wcwidch(3) provided for Windows copatibility. It's not used in Linux since Linux support wcwidch(3) natively
yyjson: this is core dependency of fastfetch to parse JSON files. It is licensed in MIT too. We also have CMake option -DENABLE_SYSTEM_YYJSON=ON to use system yyjson library if it is packaged officially (not the case for Debian).

Hi @CarterLi, thank you for the detailed explanation :)
good, points 1..3 will be easy to fix then. About point 4, I have a debian contributor colleague and he will package the yyjson for Debian, as you mentioned it is not available yet but there is an ITP opened for it. Then we can make the fastfetch package dependent on the libyyjson one. I will come back with more updates onde we have it. Thanks!

@hiagofranco So I guess fastfetch will be repacked to remove the 3rd-party/ directory from the Debian package?

@Maytha8 exactly, I used the gbp import-orig --filter=debian --filter=src/3rdparty fastfetch-2.11.3.tar.gz to get the tarball and remove the debian and 3rdparty folders completely. Once I upload it to salsa repo I can share here with you.

Hi @CarterLi, sorry for the absence, me, @Maytha8, and my friend @charles2910 created an IRC channel and we have been communicating there.
The fastfetch package is almost ready, it is under https://salsa.debian.org/debian/fastfetch, a repo under Debian that @Maytha8 crated.
The major issue was that fastfetch uses libraries inside the code and this is  not recommended by Debian. Libraries should have their own package, and not be shipped inside the source code.
So we had to first package yyjson, which is under https://salsa.debian.org/debian/yyjson. This one will soon get to the NEW queue of Debian. Then I had to remove all the other libraries due to the license issue that we discussed.
After that, we can send fastfetch and point the fastfetch to the libyyjson package and have this ready.

In order to reduce the license concerns, I have written my own nvml header from scratch by reading the official nvml document.
I found a program named nvtop which was licensed in GPLv3 did the same. Nvtop has been in Debian for long time so I believe that it should be enough to make Debian mentors happy.
There is another famous program called btop uses the same strategy, which is in Gentoo for long time. CC @ceamac

Nice! =) This would be good to have the libraries available and working on Debian for sure. But this would also mean that we have to package these libraries instead of shipping them inside the fastfetch code, then we can make the fastfetch .deb as a dependency of the other libraries packages.

But this would also mean that we have to package these libraries instead of shipping them inside the fastfetch code

Why? They didn't do it for nvtop but why is it necessary for fastfetch? It's just a header file with only function and structs declarations which generates absolutely no machine code.

How is the debian packaging?

@CarterLi Going well, yyjson is currently in the NEW queue waiting to be accepted.

FYI yyjson just got accepted!

Hello. I have cut a new release with https://github.com/fastfetch-cli/fastfetch/pull/981 included. I noticed that we still have v2.11.5 in the debian repo. I wonder if we can upgrade it to a newer version.

Hi @CarterLi sure, we are in the middle of the review process of the Debian files before submitting it, I will be working on it today/this weekend. Then I can also update the version, thanks!

fastfetch is waiting in the NEW queue :smiley:

Great news, look forward to running the following on my various debian systems :)
apt remove -y neofetch && apt install -y fastfetch

Great news, look forward to running the following on my various debian systems :)
apt remove -y neofetch && apt install -y fastfetch

and in .bashrc
alias neofetch='fastfetch --config neofetch'

:)

Great news, look forward to running the following on my various debian systems :)
apt remove -y neofetch && apt install -y fastfetch

You can run:
release=$(curl -s 'https://api.github.com/repos/fastfetch-cli/fastfetch/releases/latest' | grep -m 1 '"tag_name"' | cut -d : -d '"' -f 4)
wget "https://github.com/fastfetch-cli/fastfetch/releases/download/${release}-linux-amd64.deb"
sudo apt install ./${release}-linux-amd64.deb

To install latest version (replace amd64 if you have a different arch).

...if you can't wait for that.

No need to wait! fastfetch has now been accepted into Debian unstable!
https://tracker.debian.org/pkg/fastfetch
@CarterLi I reckon this issue can be closed now

Cool! Big thanks!

...if you can't wait for that.

No need to wait! fastfetch has now been accepted into Debian unstable! https://tracker.debian.org/pkg/fastfetch
@CarterLi I reckon this issue can be closed now

Accepted into Debian testing as well ! Congrats

This is indeed great, congrats to all involved! I now see that fastfetch is already in Testing.
However, please allow my to comment on the package Description. This is how it looks like a.t.m.:

Description: neofetch-like tool for fetching system information
Fastfetch is a neofetch-like tool for fetching system information and
displaying them in a pretty way. It is written mainly in C, with
performance and customizability in mind.

I don't think it's good practice to refer to another program in the description section, in this case neofetch. The description assumes that the user knows what neofetch is, and given that it is abandoned by the author and likely  going away in the future, users will soon not know what neofetch is.
I think it would be better to refer to neofetch in the man page, I am not sure to what extent fastfetch was inspired by neofetch, but perhaps it would be proper to credit the author of neofetch in the man page, if this is the case. Neofetch has been a great program and used by many, and now we say goodbye to it and hello to fastfetch :-)
I have authored an alternative Description: text that you are free to use in any way you please, as you can see, I have avoided mentioning neofetch:

Description: Pretty display of detailed system information
Fastfetch is a highly configurable, cross-platform tool that fetches
system information and displays it on the terminal in a pretty way.
Fastfetch comes with over 60 modules and over 400 logos that can
optionally be displayed when configured by the user. Fastfetch is
mainly written in C, with performance and customizability in mind.

Hello @Maytha8. The debian package seems stucked at 2.15. Is there any plan to upgrade it? What can I help?

@CarterLi It was updated yesterday to 2.21.3+dfsg-1 🎆


Build Tags

I split up the the _ imports into multiple files and added build tags to them so that we can exclude certain imports and have the binary build faster if we are only using one database driver.
Thoughts?

Thoughts on pushing this upstream and getting their thoughts as well?

I personally don't like the fact that specifying one driver disables all others. I think this violates the rule of least surprise.

I disagree @phemmer . However, this doesn't give you the ability to specify more than one driver. By specifying two tags, I think you'd end up with none. What would you suggest as an alternative?

@Tonkpils , I have no problem pushing this code upstream. We'd just have to push this to a Bitbucket origin.

Instead of default everything enabled, then you specify one tag, and all but that one driver gets disabled, how about flags to disable the specific driver? For example // +build !no-sqlite

We wouldn't be able to push this upstream as upstream imports the drivers within the library. Our code imports the drivers within the cli component.
Also upstream doesn't seem keen on merging PRs (which is why we have our own fork).

As another requirement for this type of change, I think we need a way for the binary to indicate what drivers it was compiled with.

Instead of default everything enabled, then you specify one tag, and all but that one driver gets disabled, how about flags to disable the specific driver? For example // +build !no-sqlite>

I would be ok with that, so long as I can exclude them

As another requirement for this type of change, I think we need a way for the binary to indicate what drivers it was compiled with.

The only way I can see of doing that would be to install the binary with specific build flags (go install -ldflags "-X goose.libraries pq,mysql" .).

The only way I can see of doing that would be to install the binary with specific build flags

You're creating driver-specific .go files, just add an init()
go-sqlite3.go:
// +build !godrv,!pq,!mysql

package main

// including go-sqlite3
import _ "github.com/mattn/go-sqlite3"

func init() {
 drivers = append(drivers, "go-sqlite3")
}

...where drivers is a global.

$ go install -tags "nopq" -a ./cmd/goose
$ goose drivers
Drivers:
	sqlite
	godrv
	mysql
$ go install -tags "nosqlite" -a ./cmd/goose
$ goose drivers
Drivers:
	godrv
	mysql
	pq

LGTM


Octet-stream response bodies should be decoded to a hex Buffer

I have a server that responds with binary data and an octet-stream header:
$ http POST localhost:4249/v1/sign 'data=aGVsbG8gd29ybGQ='
HTTP/1.1 200 OK
Content-Length: 64
Content-Type: application/octet-stream
Date: Thu, 16 Nov 2017 05:04:11 GMT
Server: signing-server/0.1
X-Request-Duration: 141 µs

�̰3郞�W�5-��)�Z��`�׋�l����Ʃ2 ���n�|qu��<�4>

The response is a Buffer, so nock converts it to hex before storing in a file. I've truncated the response here and above, but it should be enough to get the idea.
    {
        "scope": "http://localhost:4249",
        "method": "POST",
        "path": "/v1/sign",
        "body": {
            "data": "aGVsbG8gd29ybGQ=",
            "name": "WebApp"
        },
        "status": 200,
        "response": "f0ccb033e9839eb657ae352d9bd329cf5a0193e660ded78bcf6cacbf4950acd3c6a9322098f9dc6e9a107c7175c3e83c19c7343e39d91d",
        "rawHeaders": [
            "Content-Type",
            "application/octet-stream",
            "Server",
            "signing-server/0.1",
            "X-Request-Duration",
            "178 µs",
            "Date",
            "Thu, 16 Nov 2017 05:00:17 GMT",
            "Content-Length",
            "64",
            "Connection",
            "close"
        ]
    }

When reading back from the file, I expect it to be converted back into a Buffer via Buffer.from(response.body, 'hex'). Instead it gets converted into a normal Buffer, e.g. the first byte is 'f', the second byte is '0', instead of one byte 0xf0.
I can work around this for the time being by setting Content-Encoding: identity, which triggers the right nock logic. But it would seem preferable to e.g. read the application/octet-stream response header and try to convert from hex based on that.

Apologies but I've since moved on from that engagement and probably won't have time to test :( best of luck!
A way to test would probably be to start with the JSON I put up above, read it back into memory, and verify the length of the buffer in memory matches the Content-Length header.


Testing automated code review

Summary
wtd:summary
Joke
wtd:joke
Poem
wtd:poem

Summary
wtd:summary
Joke
wtd:joke
Poem
wtd:poem


GithubRelease failed: POST https://api.github.com/repos/.../releases: 401 Bad credentials []

How do you let releaser use the Github credentials?

There's an env var GITHUB_TOKEN which I'll make sure is better documented.
Perhaps a branch to default to the creds is appropriate too.

Thanks, found the Github docs.

default to the creds

Sorry, I just realised that's a nonsense statement, I'm working on aws creds elsewhere and completely mucked that up. I was thinking github had some default creds location.
That being said; perhaps some global config for types, keys is sensible

@schollz- I'll make sure that's there too


It is really good .  I have an query i have a array in which i have time start and end and as well as description , can you please tell me how to add my data as events in your generate event function .Thank you

Have a look at the updated documentation and changes made in the last commit :)

If you download TimelineCollectionView.framework, and import that framework instead of the included one, it seems to work

hello thanks for support but it scroll only horizently not vertically .can
you help me out from this problem.
On Wed, 2 Jan 2019 at 20:21, Evan Cooper<EMAIL_ADDRESS>wrote:

If you download TimelineCollectionView.framework
https://github.com/EvanCooper9/TimelineCollectionView, and import that
framework instead of the included one, it seems to work
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/EvanCooper9/swift-week-view/issues/10#issuecomment-450882723,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AfvTjNFpJn3GO_SgPPLYjiEit17rfH0xks5u_MdtgaJpZM4ZCo6d
.

--
Rajneesh Kumar, iOS Developer
Kreate Technologies LLP, LLPIN: AAB-9858 (formerly known as Invetech
Solutions LLP)
+91<PHONE_NUMBER>
<EMAIL_ADDRESS>http://www.kreatetechnologies.com
[image:
https://ci3.googleusercontent.com/proxy/LijXLLY6tXltwQOsQyxJZwBOu-Kk78rQqLmk5myrzh3Ma5KB847DetccCE8190_Q1rAUvEsfyeAv9AWOOg=s0-d-e1-ft#http://kreateglobal.com/images/logo.png]
Address : 1003, 10th Floor, Antriksh Bhawan, 22 K.G.Marg, Connaught Place,
New Delhi - 110 001
https://maps.google.com/?q=22+K.G.Marg,+Connaught+Place,+New+Delhi+-+110+001&entry=gmail&source=g
--
Disclaimer
The information contained in this electronic communication is
intended solely for the individual(s) or entity to which it is addressed.
It may contain proprietary, confidential and/or legally privileged
information. Any review, retransmission, dissemination, printing, copying
or other use of, or taking any action in reliance on the contents of this
information by person(s) or entities other than the intended recipient is
strictly prohibited and may be unlawful. If you have received this
communication in error, please notify us by responding to this email
<EMAIL_ADDRESS><EMAIL_ADDRESS>or telephone
(01166666999) and immediately and permanently delete all copies of this
message and any attachments from your system(s). The contents of this
message do not necessarily represent the views or policies of Kreate Energy
(I) Pvt. Ltd. Computer viruses can be transmitted via email. Kreate Energy
(I) Pvt. Ltd attempts to sweep e-mails and attachments for viruses, it does
not guarantee that either are virus free. The recipient should check this
email and any attachments for the presence of viruses. Kreate Energy (I)
Pvt. Ltd  does not accept any liability for any damage sustained as a
result of viruses.

Sorry, could you elaborate on what you're looking for?

i add the screeshot and you can see that my start time is 0 and end time is
23 but in my view it shows only 23 and also i increase the height of time
view for better clearence , but i want that can it possibly to scroll in
vertically also , for better look and feel .
On Thu, 3 Jan 2019 at 22:28, Evan Cooper<EMAIL_ADDRESS>wrote:

Sorry, could you elaborate on what you're looking for?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/EvanCooper9/swift-week-view/issues/10#issuecomment-451206526,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AfvTjFdFWqNwMYcexjmQhw-a8ajpSsRxks5u_jaygaJpZM4ZCo6d
.

--
Rajneesh Kumar, iOS Developer
Kreate Technologies LLP, LLPIN: AAB-9858 (formerly known as Invetech
Solutions LLP)
+91<PHONE_NUMBER>
<EMAIL_ADDRESS>http://www.kreatetechnologies.com
[image:
https://ci3.googleusercontent.com/proxy/LijXLLY6tXltwQOsQyxJZwBOu-Kk78rQqLmk5myrzh3Ma5KB847DetccCE8190_Q1rAUvEsfyeAv9AWOOg=s0-d-e1-ft#http://kreateglobal.com/images/logo.png]
Address : 1003, 10th Floor, Antriksh Bhawan, 22 K.G.Marg, Connaught Place,
New Delhi - 110 001
https://maps.google.com/?q=22+K.G.Marg,+Connaught+Place,+New+Delhi+-+110+001&entry=gmail&source=g
--
Disclaimer
The information contained in this electronic communication is
intended solely for the individual(s) or entity to which it is addressed.
It may contain proprietary, confidential and/or legally privileged
information. Any review, retransmission, dissemination, printing, copying
or other use of, or taking any action in reliance on the contents of this
information by person(s) or entities other than the intended recipient is
strictly prohibited and may be unlawful. If you have received this
communication in error, please notify us by responding to this email
<EMAIL_ADDRESS><EMAIL_ADDRESS>or telephone
(01166666999) and immediately and permanently delete all copies of this
message and any attachments from your system(s). The contents of this
message do not necessarily represent the views or policies of Kreate Energy
(I) Pvt. Ltd. Computer viruses can be transmitted via email. Kreate Energy
(I) Pvt. Ltd attempts to sweep e-mails and attachments for viruses, it does
not guarantee that either are virus free. The recipient should check this
email and any attachments for the presence of viruses. Kreate Energy (I)
Pvt. Ltd  does not accept any liability for any damage sustained as a
result of viruses.

I understand what you mean, but I can't find the screenshot. It may have got lost since you're replying to this thread by email. Could you comment directly to this issue?


Events and SMSLogEvent

Premise
Part 1 of the Log features. This pull request contains some important data structures we will be using in the Log.
Content

Event, EnumTyped, LoggableEvent, as interfaces defining a generic behaviour.
LogEventType to define the standard types of events we want.
SMSLogEvent defining the events as they are stored on memory.

Side changes

Added NavHolderActivity as an Activity to hold a specific fragment, will be useful later.
Added various xml files for layouts that will be used later.

Database will be part 2.
Recycler will be part 3.
After those the infrastructure will be ready to go.
I'll be working on part 4, the manager, to allow sorting, filtering and auto-updates.
Do not let the 900 lines intimidate you, there's a couple hundred that are only automatic reformatting and some xml.
Thank you for your time, please also take a moment to look at this dog if you had a bad day.

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- app/src/test/java/ingsw/group1/findmyphone/event/SMSLogEventExtraTest.java  1
- app/src/main/java/ingsw/group1/findmyphone/event/SMSLogEvent.java  7
- app/src/main/java/ingsw/group1/findmyphone/activity/NavHolderActivity.java  1
- app/src/main/java/ingsw/group1/findmyphone/event/LogEventType.java  3
- app/src/test/java/ingsw/group1/findmyphone/event/SMSLogEventTest.java  2

See the complete overview on Codacy


[BUG]: Object parameter between  pipeline and template converts "3.10" to "3.1"

New issue checklist

[X] I searched for existing GitHub issues
[X] I read pipeline troubleshooting guide
[X] I checked how to collect logs

Task name
No response
Task version
No response
Issue Description
The behavior is as follows, in brief.
Given a object parameter, say pythonVersions, made by key (name) values (py ver):

✅ if parsed in azure-pipeline file: "3.10" returns "3.10"
❌ if parsed in a template "3.10" always returns "3.1"
✅ if parsed in a template "3.11" returns "3.11"

It appears to be a bug in object parsing between pipeline and templates, particularly the zero of the decimal ten.
Here a repository to fully reproduce the issue is provided
azure_object_parsing.zip
Environment type (Please select at least one enviroment where you face this issue)

[ ] Self-Hosted
[X] Microsoft Hosted
[ ] VMSS Pool
[ ] Container

Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Ubuntu-22.04
Relevant log output
##[warning]You should provide GitHub token if you want to download a python release. Otherwise you may hit the GitHub anonymous download limit.
##[error]Failed to download Python from the Github Actions python registry (https://github.com/actions/python-versions). Error: Error: Could not find Python matching spec 3.1 (x64) in the python-versions registry. Beware that only systems listed in the Github Actions python versions manifest (https://github.com/actions/python-versions/blob/main/versions-manifest.json) are fit for downloading python on-flight. Also, proxy is not supported.
##[error]Version spec 3.1 for architecture x64 did not match any version in Agent.ToolsDirectory.
Versions in /opt/hostedtoolcache:

3.10.14 (x64)
3.11.9 (x64)
3.12.4 (x64)
3.7.17 (x64)
3.8.18 (x64)
3.9.19 (x64)
If this is a Microsoft-hosted agent, check that this image supports side-by-side versions of Python at https://aka.ms/hosted-agent-software.
If this is a self-hosted agent, see how to configure side-by-side Python versions at https://go.microsoft.com/fwlink/?linkid=871498.

Full task logs with system.debug enabled
No response
Repro steps
No response

Hi @gianfaProm
Could you please share the task which you are using in the pipeline?

Hi @v-schhabra , thanks for the reply,
I am using UsePythonVersion@0.
I also shared a .zip from which to reproduce the behavior, if that helps.
In any case at first glance it would seem to be more of an object passing problem between pipeline and template, rather than a usePythonVersion problem, but maybe I'm wrong

Hi @microsoft/akvelon-build-task-team
Could you please take a look at this issue?

Hi @gianfaProm  thanks for reporting! We are working on more prioritized issues at the moment, but will get back to this one soon.


HttpRequest.META is not deprecated

Python Version
3.8.10
Django Version
3.2
Package Version
1.0.0
Description
According to the documentation of HttpRequest.META, HttpRequest.META is not deprecated in any version of django, so the rule in django-upgrade which converts these calls to request.headers and removes the HTTP prefix looks like it is too strict.

Django-upgrade doesn't just care about depreciations, it also helps you use the latest features.

Sorry this is not what I understood about django-upgrade. I thought it only converted deprecated code to upgrade from one version of django to another, not that it was opinionated about some best practices (and in this particular case, it looks like this is not an official best practice, it is not mentionned in django documentation). Maybe you could write it more clearly in the description and documentation of the project?

(My primary need here is to use a tool which makes the smaller amount of migrations in my codebase required to update the django version of my repo, at least as a first pass so that it is more digestable than a diff which would also add changes related to pretended best practices. These best practices changes could come as a second pass.)

I've improved the description in #73 to not only mention deprecations.

(and in this particular case, it looks like this is not an official best practice, it is not mentionned in django documentation)

For old features we've been historically reticent to deprecate them or recommend the new one, because of the churn. My hope is this tool helps reduce the cost of that churn so we can make more required changes.
I don't think there's a reasonable claim that request.META["HTTP_FOO"] is "better" in any way to request.headers["Foo"]. The old way is just terrible and unfriendly.

(My primary need here is to use a tool which makes the smaller amount of migrations in my codebase required to update the django version of my repo, at least as a first pass so that it is more digestable than a diff which would also add changes related to pretended best practices. These best practices changes could come as a second pass.)

I have sympathy for this approach but I don't really want to complicate django-upgrade. pyupgrade takes a similar "all or nothing" approach, albeit with three special case flags.
I would add a flag if there was a potential bug or compelling reason to keep request.META, but I don't see one. If you want to incrementally add the changes, you can always use git add --patch for your commit or filter hunks with a regex.

I've improved the description in #73 to not only mention deprecations.

OK thanks :)


Smaller bars for a histogram?

Is there any way to reduce the width of the bars in a histogram? I worked through the whole documentation, while there is "barSpacing" on the "timeScale", this seems only to be reflected for the BarSeries, but not a histogram.

Are you looking for something like #272?

Oh yes, thank you.


fix: add upgrade handler to adjust max_gas to 120000000

Introduces an upgrade handler for agoric-upgrade-6 that sets min_gas

Codecov Report

:exclamation: No coverage uploaded for pull request base (Agoric-upgrade-6@b318aaa). Click here to learn what that means.
The diff coverage is n/a.

@@                 Coverage Diff                 @@
##             Agoric-upgrade-6      #13   +/-   ##
===================================================
  Coverage                    ?   11.30%
===================================================
  Files                       ?       11
  Lines                       ?     1088
  Branches                    ?        0
===================================================
  Hits                        ?      123
  Misses                      ?      959
  Partials                    ?        6

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 b318aaa...103fe54. Read the comment docs.


Spelling Error in opportunities container class

Can I work on this issue?

I would like to work on this issue and rectify the spelling error.

I have rectified the spelling error, Kindly verify and merge it


Report: The top X populated capital cities in a continent where X is provided

A report containing the following columns

Name.
Country.
Population.

provide a Report on The top number of populated capital cities in a continent where the number is provided by the user.
e.g. provide a report on the top 5 populated capital cities in a continent


Update Vaadin 10.0.8

@qtdzz Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@qtdzz Thank you for signing the Contributor License Agreement!


Getting module not found error in project_creation

When I try to use the project creation template which is on github, even after changing the values in config.yaml I am getting following error.
location: /deployments/projectcreation000/manifests/manifest-1534790908361 message: 'Manifest expansion encountered the following errors: Error compiling Python code: No module named apis Resource: project.py Resource: config'
you can find the repo link here : https://github.com/GoogleCloudPlatform/deploymentmanager-samples/tree/master/examples/v2/project_creation
Please help as I need it for production workflow. I have tried "sudo pip install apis" in Cloud Shell but it does not help, even after successful installation of apis module.

The apis module in this context refers to:
https://github.com/GoogleCloudPlatform/deploymentmanager-samples/blob/master/examples/v2/project_creation/apis.py
Not a pip package. Ensure you have all the files in the same relative paths to each other when deploying these samples.

Thank for the reply. But now I am getting below error.
message: '{"ResourceType":"cloudresourcemanager.v1.project","ResourceErrorCode":"403","ResourceErrorMessage":{"code":403,"message":"User
is not authorized.","status":"PERMISSION_DENIED","statusMessage":"Forbidden","requestPath":"https://cloudresourcemanager.googleapis.com/v1/projects","httpMethod":"POST"}}'
I have assigned all the IAM roles to the service account of the DM-Creation-Project. and I am using the root account  in the CLI.

Have you gave the 'roles/resourcemanager.projectCreator' to the service account on the organization node?
Also are you sure that your project name is globally (not just in your org) unique?

Yes, I have assigned the role. I even tried making the service account the
administrator of the Organisation. but the issue persists.
On Fri, Aug 24, 2018 at 10:28 PM Adam Ocsvari<EMAIL_ADDRESS>wrote:

Have you gave the 'roles/resourcemanager.projectCreator' to the service
account on the organization node?
Also are you sure that your project name is globally (not just in your
org) unique?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/deploymentmanager-samples/issues/223#issuecomment-415819215,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AnDx2wBZpiaohSAMy4uZJvjJS9lDiPK7ks5uUDC7gaJpZM4WFoLy
.

If you go to
https://pantheon.corp.google.com/iam-admin/iam?organizationId=$PARENT_ORG_ID
Then filter by your DM service account:
<EMAIL_ADDRESS>Ensure you have the "Project Creator" role assigned

For the above problem, I couldn't find anywhere import apis.py in project_creation project.
After I added the below line, the error message is gone.
==============
imports:

path: project.py
path: apis.py
==============

I'm stuck with another error message.
message: '{"ResourceType":"cloudresourcemanager.v1.project","ResourceErrorCode":"403","ResourceErrorMessage":{"code":403,"message":"User
is not authorized.","status":"PERMISSION_DENIED","statusMessage":"Forbidden","requestPath":"https://cloudresourcemanager.googleapis.com/v1/projects","httpMethod":"POST"}}'
https://console.cloud.google.com/iam-admin/iam?organizationId=$PARENT_ORG_ID
If I visit the url above, only account I can see is my team members' account, not any of service accounts.
I don't know how to give projectCreator role to DM service account.
SO I give "Organization Administrator" role to it.
Can anyone share the howto set project Creator to service account?
Although I give "Organization Administrator" role to the account with gcloud cli and DM service account, I've got Unauthorized error.


Firefox / Flash fallback : Fullscreen not working

Hi,
I'm having issues with Firefox  and the Flash fallback when I try to go fullscreen.
I have this error in Firebug : this.pluginApi.setFullscreen is not a function.
I'm using your demo files (2.2.4) and the last version of Firefox.
Thanks

Hi,
I´ve got the same problem here. When i´m trying to switch in fullscreen mode on Firefox and Safari it crashes.
Error in Firebug: this.pluginApi.setFullscreen is not a function
Version Mediaelement.js: 2.2.4
Version Firefox: 6.0.2
Would be great if you could solve this problem. Thanks

This is fixed in the latest code and will be released as 2.2.5.

thx.

Hi,
The player is still buggy, h264 to play in firefox.
Version Mediaelement.js: 2.4.0
Version Firefox: 8.0
thanks for your wonderful dedication to player.

Same problem than edersign.
Version mediaelement.js : 2.5.0
Firefox 8.0 and this video : http://clips.vorwaerts-gmbh.de/VfE_html5.mp4
the fullscreen button does nothing...


Change viewpager item size dynamically with listview scroll

I have a listview below a viewpager and in the initial state (when nothing has been scrolled), the  viewpager shows only one item with a 10dp "preview" of the next and previous items (I have achieved this by setting a negative page margin:viewPager.setPageMargin(-48);). What I am trying to do is, on scrolling down the listview

the listview should "push" the viewpager up, decreasing its height up to a certain point. On reaching that point (some minHeight for the viewpager), the listview should scroll normally with the smaller sized viewpager above it.

The next and the previous items in the viewpager should pull inside (towards the central item) and in the final state, three items of the viewpager should be fully displayed. (Images below to illustrate this)

Scrolling up the listview should do the opposite.
Initial state (nothing scrolled)

Final state (minHeight of viewpager to be achieved)

I'm not able to do with Scrollable, Can anyone help me achieve this ?

Hello!
I think that that you want to achieve is really doable with ScrollableLayout. You scroll, receive scroll ratio, apply new width and height to the views in header.
Sounds simple. But...
The thing is ViewPager is not really a suitable choice for the functionality you are planning to implement. It could be if we could dynamically
change the page_width attribute, forcing all layed-out views to be invalidated. But unfortunately there is no such opportunity. (I'm not talking about height
because it's relatively simple).
There is also ability to mimic ViewPager functionality with RecyclerView and PagerSnapHelper. But... it won't work if views are not match_parent.
On the other hand, if snapping is not required, we could've used just RecyclerView with horizontal LinearLayoutManager. But... quick look showed, that
it is also not designed for dynamic width of items.
To sum up, as far as I know there is no such widget that would answer your needs. But if doesn't mean that it cannot be created.
Most likely all widgets that recycle attached views are not suitable (so, RecyclerView, ListView, GridLayout, etc are out). As we would require all Views
to be in layout at any moment of width/height modification.
If you have finite number of header items, you could use HorizontalScrollView. Let's consider this:
public class PagerScrollView extends HorizontalScrollView {

    // code will be introduced further
    private PagerLinearLayout pagerLinearLayout;

    private float pageWidthRatio;
    private int pageHeight;

    /** constructors are omitted **/

    public void setPageDimensions(float pageWidthRatio, int pageHeight) {
        this.pageWidthRatio = pageWidthRatio;
        this.pageHeight = pageHeight;
        requestLayout();
    }

    @Override
    protected void onFinishInflate() {
        super.onFinishInflate();

        this.pagerLinearLayout = (PagerLinearLayout) getChildAt(0);
    }

    @Override
    protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {

        if (pageWidthRatio > 0
                && pageHeight > 0) {

            final int width = MeasureSpec.getSize(widthMeasureSpec);

            pagerLinearLayout.setDimensions(
                    (int) (pageWidthRatio * width + .5F),
                    pageHeight
            );
        }

        super.onMeasure(widthMeasureSpec, heightMeasureSpec);
    }
}

public class PagerLinearLayout extends LinearLayout {

    private int pageWidth;
    private int pageHeight;

    /** constructors are omitted **/

    public void setDimensions(int pageWidth, int pagerHeight) {
        this.pageWidth = pageWidth;
        this.pageHeight = pagerHeight;
        requestLayout();
    }

    @Override
    protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {

        if (pageHeight > 0) {
            heightMeasureSpec = MeasureSpec.makeMeasureSpec(pageHeight, MeasureSpec.EXACTLY);
        }

        if (pageWidth > 0) {
            final int count = getChildCount();
            View view;
            for (int i = 0; i < count; i++) {
                view = getChildAt(i);
                view.getLayoutParams().width = pageWidth;
            }
        }

        super.onMeasure(widthMeasureSpec, heightMeasureSpec);
    }
}

Now, we have a horizontally scrollable view with ability to manipulate width and height dynamically. PagerLinearLayout can be populated in XML layout or in runtime. I would look up some LinearLayout adapter implementation for more reusable behaviour.
<?xml version="1.0" encoding="utf-8"?>
<ru.noties.scrollable.ScrollableLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/scrollable_layout"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:scrollable_defaultCloseUp="true">

    <ru.noties.scrollable.sample.pg.PagerScrollView
        android:id="@+id/pager_scroll_view"
        android:layout_width="match_parent"
        android:layout_height="@dimen/pager_height_max"
        android:clipChildren="false"
        android:clipToPadding="false"
        android:padding="4dip">

        <ru.noties.scrollable.sample.pg.PagerLinearLayout
            android:id="@+id/pager_linear_layout"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_gravity="bottom" />

    </ru.noties.scrollable.sample.pg.PagerScrollView>

    <android.support.v7.widget.RecyclerView
        android:id="@+id/recycler_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

</ru.noties.scrollable.ScrollableLayout>

public class MainActivity extends Activity {

    private static final float PAGE_WIDTH_MAX = .75F;
    private static final float PAGE_WIDTH_MIN = .30F;

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        // our height resources (for example, 200dip & 100dip)
        final int maxHeight;
        final int minHeight;
        final int maxScroll;
        {
            final Resources r = getResources();
            maxHeight = r.getDimensionPixelSize(R.dimen.pager_height_max);
            minHeight = r.getDimensionPixelSize(R.dimen.pager_height_min);

            // difference between the two (will be the maxScroll argument)
            maxScroll = maxHeight - minHeight;
        }

        final ScrollableLayout scrollableLayout = findViewById(R.id.scrollable_layout);
        final PagerScrollView pagerScrollView = findViewById(R.id.pager_scroll_view);

        scrollableLayout.setMaxScrollY(maxScroll);

        scrollableLayout.addOnScrollChangedListener(new OnScrollChangedListener() {

            final float pageWidthDiff = PAGE_WIDTH_MAX - PAGE_WIDTH_MIN;

            @Override
            public void onScrollChanged(int y, int oldY, int maxY) {

                final float ratio = 1.F - ((float) y / maxY);

                final float pageWidth = PAGE_WIDTH_MIN + (ratio * pageWidthDiff);
                final int pageHeight = (int) (maxScroll + (ratio * maxScroll) + .5F);
                pagerScrollView.setPageDimensions(pageWidth, pageHeight);
            }
        });

        // do not forget to set initial values
        pagerScrollView.setPageDimensions(PAGE_WIDTH_MAX, maxHeight);
    }
}

So, using this I have achieved this behaviour:

But, as it's not complete:

Please note, that it's just a direction that I see. This implementation still lacks snapping (whilst dragging horizontally) and keeping the scroll position on width/height change (keep focus on a view). But could be a good start if you decide to go with custom implementation of header widget.
Hope this helps!
Dimitry

@noties Thanks for your reply, from your result ITEM0 ITEM1 ITEM2 are the main previews, but when you scrolls the list towards Recycler View ITEM1 goes to previous position and ITEM2 ITEM3 ITEM4 are showing at last. Can you just tell me how can we solve out ?
2) Why can't I use View Pager like If I create a view pager of 1000dp approx and keep in Header View just apply Scale and Translation and show these 3 items ?
3) I want to use Fast Velocity Based Scrolling so I was thinking to use Velocity based View Pager
4) Recycler View won't allow to scroll mid view at stationary point i think.

@noties Is this possible?

@mobilegeekkk Most likely. Can you show me what have you tried already?

@noties As i told you that I had created this view with Velocity ViewPager ( Acceleration based ViewPager) containing reference width 1000dp and at runtime I calculated it for 3 items. I had used ParallaxHeaderViewPager library https://github.com/carlonzo/StikkyHeader for this. So when this library scales its headerView, I scales ViewPager width so it can fit it in Rect with 3 items. All things were achieved but there was an problem with scaling in this library or I was missing something. I tried a lot with this but on some devices scaling was not accurate.


can't open url start with "itms-services://?action="  when I update app in ios

can't open url start with "itms-services://?action="  when I update app in ios , and it will tips error "url must start with http or https".

think the doc clearly says not to use '-' on the scheme names, in your case itms-services.
Give a try without  '-'


added 'revert' keyword

This change resolves issue #2766 by adding new keyword 'revert' for CSS.

Thanks!


Camera icon is too big and obstructs gizmos

Godot version: master 9437db7
Issue description:
Camera icon is too big when going far from it and obstructs the gizmos and everything near making hard to see the camera details.
I don't know how could this be better, maybe a set of toggles for icons (including others like sound).
Steps to reproduce:
Zoom out in a 3D scene with a camera and see how the icon thinks is more important than the node's visual details.

the icon might be more important under some circumstances, if the icon gets smaller, then you will find another zoom level were it is too big, maybe the gizmo should be drawn on top.

Or maybe gizmos should have a mode in which they keep their size regardless of zoom? I use this option a lot in Unity3D, it's very useful.

Or maybe gizmos should have a mode in which they keep (or not keep) their size regardless of zoom? I use this option a lot in Unity3D, it's very useful.

Good idea (But please, don't make it an editor option! ^^)

@groud well it usually consist of two controls in the viewport, one for keep/not keep and another for size

Yeah, but do you use it that often ? Or just set it once and never touch it ?

@groud it depends a lot about what I'm doing in the viewport. In very busy scenes I tend to use 3D (because in the distance they all stack on top of each other), in small scenes or 3D UI I use the other.
I also find that in Godot, only icons are zoom-independent, and it can be a bit problematic because for example, I had to adjust a directional light on a huge scene recently, and I was constantly forced to zoom on it (and loose focus on where I was before) just to see where it points at because the arrow is 3D.

This looks like #16221, which was fixed

Closing as fixed.


use cookie from default browser

Is it possible to use cookie of system default browser?
So that we can use leetcode client while keeping login status in the browser.

Nope, cookies are stored encrypted

I think that should be possible, as this package does:
https://www.npmjs.com/package/chrome-cookies

sounds useful if workable for different version of chrome. Is there an alternative for firefox as well?

there is a python package works for Chrome and Firefox:
https://github.com/borisbabic/browser_cookie3

@yhcharles please try to the latest leetcode-cli and cookie.chrome plugin. You might wanna check https://github.com/skygragon/leetcode-cli-plugins/blob/master/docs/cookie.chrome.md first.
$ npm install -g skygragon/leetcode-cli
$ leetcode-cli plugin -i cookie.chrome -v

If succeed, try to login leetcode.com in your chrome browser, wait a bit and login in leetcode-cli again. We are expecting that both sessions are all functional in the same time.

Good job! It works!


ci: implement a more resilient validation workflow

Description

The validation workflow in its current state does not work with custom references provided for the cli or runtime on workflow_dispatches.
This validation workflow has been updated to build a dapr docker image and use this instead of overriding services.
Issue reference

Please reference the issue this PR will close: #N/A
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation

Successful run against cli and dapr master branches: https://github.com/dapr/go-sdk/actions/runs/9529415535


Implements the logic for a reset button

With this change, a reset button for the search forms can be easily placed by adding a button with the bibtex_reset class. Example and documentation is updated to fit this change.

Is there any chance that this will be merged?


Upgrading to React 18

Better performance
Bug fixes
Security
Better developer experience
Better alignment with web standards
Better compatibility with other libraries

@dewanshDT, can I work on this issue?


Restructure expiration notification worker code

Description
Closes #11. The code to process expiration notifications was already implemented in a previous PR. This PR restructures the code slightly to add context to the reminder notices we roll out a month before DNS records and certificate expiration. We are also checking if the status is "issued" for certificates prior to notifying.
Steps to Test:

Run the project locally
Modify the validTo (for Certs) and expiresAt for (DNS records)
Navigate to http://localhost:8025 to view notification after 5 mins:

Edit: I didn't mean for this comment to dismiss approval, my bad. Edit 2: nvm I don't think it did Edit 3: What a nice day outside, finally some good weather

As amazing it can get. 😄


Customize binder startup to show notebook index

If someone uses a standard binder link for this repository (https://mybinder.org/v2/gh/xarray-contrib/xarray-tutorial/HEAD, or the badge in this readme or at https://tutorial.xarray.dev/overview/get-started.html), they end up seeing a rather blank jupyterlab with all the files in this repository.
It would be nice to open an index of notebooks like an index.md with one sentence descriptions like on the planetray computer. (see https://github.com/microsoft/planetary-computer-hub/blob/0d01fd87c016ad142a4b25067455a07c32e053bd/helm/chart/files/etc/singleuser/k8s-lifecycle-hook-post-start.sh)
Even more workspace customization is possible (e.g. automatically open dask labextension or other widgets, multiple notebooks, etc: https://github.com/dask/dask-examples/blob/main/binder/start)

automatically open dask labextension or other widgets, multiple notebooks, etc

We used to have some of this stuff: https://github.com/xarray-contrib/xarray-tutorial/commit/9e8767e355825381c6c41ebd7c1aa5c5f862f2e2#diff-9345de5f226db533cc81eb4d574f437e283e6585541d7fb7b396753ddc700390


missing condition for Justice FRiP

https://github.com/Fudenberg-Research-Group/dynamic_extrusion_boundaries/blob/f40351f44153c62f3bdd01f5f645a1654db18463/inputs/experiments/experimental_data_table.txt#L5
also missing decimal point in line 7?

resolved; thanks.


Fix docker repo names

Fixes error introduced in https://github.com/inventree/InvenTree/pull/7785

THanks @matmair let's hope it now works fine :)


Updates

Pipeline.
Documentation.

Codecov Report
Patch and project coverage have no change.

Comparison is base (43f9344) 92.59% compared to head (e9cf585) 92.59%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main       #2   +/-   ##
=======================================
  Coverage   92.59%   92.59%
=======================================
  Files           1        1
  Lines          27       27
=======================================
  Hits           25       25
  Misses          2        2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


missing script: add-to-cart.sh for auto remediation use case

Describe the bug
Followed the documentation for the runbook automation use cases. it references a script in usecases/runbook-automation-and-self-healing/scripts/add-to-cart.sh. Seems this file was not checked in

file is now added in this section:
https://keptn.sh/docs/0.1.0/usecases/runbook-automation-and-self-healing/#step-5-run-a-promotional-campaign


Ensure that destroyed cities no longer show up in the UI

Now if a city is captured it is removed from the UI and the implicit
city road is removed.
Let me know if this is the preferred approach. I could also see a valid implementation where we exposed the cityLayer in MapView.cs, added a new MessageToUI, and had Game.cs do the modifications to the city layer. I'm not sure what's the stylistic choice; the latter is a bit more complex, but might work better for capturing cities in the future.
To make this easier to test I modified c7-static-map-save.json locally
to add this:
    {
      "id": "Warrior-1",
      "prototype": "Warrior",
      "owner": "player-2",
      "previousLocation": {
        "x": -1,
        "y": -1
      },
      "currentLocation": {
        "x": 57,
        "y": 43
      },
      "hitPointsRemaining": 5,
      "movePointsRemaining": 1,
      "facingDirection": "north",
      "experience": "Elite"
    },

and modified this (to change the x/y position so an AI spawns next to
us, so our added warrior can destroy the city)
    {
      "id": "Settler-2",
      "prototype": "Settler",
      "owner": "player-3",
      "previousLocation": {
        "x": -1,
        "y": -1
      },
      "currentLocation": {
        "x": 59,
        "y": 43
      },
      "hitPointsRemaining": 3,
      "movePointsRemaining": 1,
      "facingDirection": "north",
      "experience": "Regular"
    },

I think I prefer https://github.com/C7-Game/Prototype/pull/469 to this, since it would allow for capturing cities. I'm not sure how that would be implemented in the other approach.
I'll leave this one open until the other is accepted though.

merged #469


make rules default to run but also rebuilds even if there are no updates

Describe the bug
The make rules in the documentation auto-start the built docker image (and name it).
You can argue that isn't the right thing to do...but if I run the make again to restart
the image perhaps, it always rebuilds the image (which at the very least includes the
last stage 70s package of the image...which it doesn't need to do.
This is because the dependency on the image existing isn't tracked properly in the
make file.
To Reproduce
Follow instructions
Expected behavior
A clear and concise description of what you expected to happen.

There's some magic here for tracking dependencies of docker images:

https://philpep.org/blog/a-makefile-for-your-dockerfiles/

But...I'm not sure we should actually have the run rule in the makefile depend on the build.  We should expect the user to build and then independently run in the Documentation and that will make this go away.


fix bug on WINDOWS: hadoop_home variable not detected

ERROR: Could not find windows native libs when hadoop_home variable is defined
While starting dfsMiniCluster for my tests, the method getHadoopHome doesn't detect my hadoop home path even if it is set in my system. Got around this error using System.getenv("HADOOP_HOME") insteed of System.getProperty("HADOOP_HOME")

@onejjar - Thanks for the contribution. This was already added in issue #49. Closing this for now. Please reopen if I'm missing something here.


Added table containing metadata items

Based on issue #54.
It have been added a table with the metadata items and active, enabled keys to basic details. What would be the triggers for the notifications?

Based on issue #54. It have been added a table with the metadata items and active, enabled keys to basic details. What would be the triggers for the notifications?

@Alopalao, please make sure to also update the changelog. Regarding the triggers for notifications, no need for them in this case since you're leveraging the props content that is being passed.

Changelog.rst is updated. Commit 8e67f19a9d9fd4a804394fe83cfec068dbc1f9cc

The table when overflows looks like this:

Is it okay? I was wondering if it would be better to have a scroll bar for x-axis when the cell overflows like in link_name. Right now the first column is fixed to 62px.

as 62px I think it's too small based on what we expect to use in production
I don't have any great suggestions here... Just think of the worst case scenario for production and increase the width accordingly. Maybe increase to 100px will be enough for most cases.

Decided to remove the fixed width. Commit 5f70e0d23565e50da4e97d62f9f7139a2d26dc29


podman run --security-opt label=type:svirt_qemu_net_t : AVC

# podman run --rm --security-opt label=type:svirt_qemu_net_t alpine date
standard_init_linux.go:211: exec user process caused "permission denied"
# echo $?
1

AVC is:
type=AVC msg=audit(1576158540.639:47074): avc:  denied  { transition } for  pid=16008 comm="runc:[2:INIT]" path="/bin/busybox" dev="overlay" ino=1626763 scontext=unconfined_u:system_r:container_runtime_t:s0 tcontext=system_u:system_r:svirt_qemu_net_t:s0:c259,c674 tclass=process permissive=0

Found when testing 1.7.0 but also seems to be present in 1.6.2 and possibly older.

This is what is supposed to happen.  svirt_qemu_net_t is a VM selinux type not a container type.  We want to block this transition.

Thanks. It works with docker (I don't know why). I'll remove that from the podman-docker-autotest suite.

I would be surprised that this works from Docker, unless docker daemon is not running as container_runtime_t.
ps -eZ | grep dockerd

I don't have a RHEL7 system to test with right now... but fwiw this is a test that you wrote for inclusion in docker-autotest in early 2016... and it has been working 100% with docker since then.

docker-1.13.1-104.git4ef4b30.el7 and container-selinux-2.107-3.el7:
# docker run --rm --security-opt label=type:svirt_qemu_net_t alpine cat /proc/self/attr/current;echo
system_u:system_r:svirt_qemu_net_t:s0:c575,c667
# ps -eZ|grep dockerd
system_u:system_r:container_runtime_t:s0 16617 ? 00:00:00 dockerd-current

@rhatdan I'll leave the virt running and check in again tomorrow morning in case there's anything else you'd like me to look at.

But the rhel7 system does not have the same container-selinux as we have in RHEL8.  Basically I updated the selinux-policy to NOT allow the transition from a container_runtime_t do svirt_* (Virtual machine) domains.  So this is expected.
2016 Dan Walsh was mistaken.  And hopefully 2019 Dan Walsh is a little better informed.  :^)

Makes sense. I happened to have an old RHEL8 VM handy and found that the transition was allowed with container-selinux-2:2.107-2.module+el8.1.0+4016+4220c060 but forbidden after dnf-upgrade to 2:2.124.0-1.module+el8.2.0+5182+3136e5d4. Thank you, 2019 @rhatdan!


fix: throw correct exception instance

fixes #11

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 17.355%

Totals

Change from base Build<PHONE_NUMBER>2:
0.0%

Covered Lines:
209

Relevant Lines:
1226

💛  - Coveralls


add support for slider.kz

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I'm running yt-dlp version 2022.09.01 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and am willing to share it if required

Region
Greece
Example URLs
slider.kz
Provide a description that is worded well enough to be understood
I standardly used yt-dlp via windows terminal "yt-dlp URL" (if not DRM)
My-iMac:~ iMac$ yt-dlp --version
2022.09.01
My-iMac:~ iMac$ yt-dlp https://slider.kz/#jackie-o yet to come
[generic] jackie-o yet to come: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] jackie-o yet to come mp3: Extracting information
ERROR: Unsupported URL: https://slider.kz/download/-2001807524_110807524/197/cs3-1v4/s/v1/acmp/nD668w8967GpSKlRtu0sOh_qEzuJDIi5MKlMxZG1uu_u9kb0LUR-JpinNVVWE7cMWm3yNFVSmakpVkYmXMAWGHO1ZcqDn8RsV29-iT2DuMPhPaS8x2ytdIwbza_0TzMOcDcEpfMSceuB0xCpci2_JNDjVsE_cNIsMYETjpbOT3eSdfXtkg/Jackie-O feat. B-Lion - Yet To Come.mp3?extra=null
My-iMac:~ iMac$
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
My-iMac:~ iMac$ yt-dlp -vU
[debug] Command-line config: ['-vU']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.09.01 [5d7c7d6] (pip)
[debug] Python 3.10.6 (CPython 64bit) - macOS-11.6-x86_64-i386-64bit
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 5.1 (setts), ffprobe 5.1
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] Loaded 1670 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.09.01, Current version: 2022.09.01
yt-dlp is up to date (2022.09.01)

Looks like a piracy site. Explain your reason to believe otherwise

Looks like a piracy site. Explain your reason to believe otherwise

I don't know it just a music downloader from vk


I use mediapipe holistic,but a video has no hands for a few seconds, other times are normal

just like this picture
this is my code about hand
if results.left_hand_landmarks:
mp_drawing.draw_landmarks(
annotated_frame,
results.left_hand_landmarks,
mp_holistic.HAND_CONNECTIONS,
mp_drawing_styles.get_default_hand_landmarks_style(),
mp_drawing_styles.get_default_hand_connections_style())
if results.right_hand_landmarks:
mp_drawing.draw_landmarks(
annotated_frame,
results.right_hand_landmarks,
mp_holistic.HAND_CONNECTIONS,
mp_drawing_styles.get_default_hand_landmarks_style(),
mp_drawing_styles.get_default_hand_connections_style())
I would appreciate it if you could answer

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): win10
Python version (e.g. 3.8): python 3.9

Hello @stonecropa
From your description, it seems that the model is not able to detect the left and right hand landmarks. Holistic solution is a solution which is combination of Face, Pose and Hands solutions and optimised to work in sync. So the BlazePose model is detecting the hands and marking it's landmarks, but the hands graph is not able to do so.
This will need some investigation. Here are few things to do:

Please identify the exact frames from the video which are having this issue. Capture them as an image. you may take a screenshot by pausing video or do it programmatically if you know how to.
Use the MP holistic solution with static_image_mode set to true on this image/video frame. Check if this gives incorrect results as well.
Use the MP Hands solution with static_image_mode set to true on this image/video frame. Check if this gives incorrect results as well.

If there are differences in the output of MP Holistic and MP Hands, do let us know. It might indicate need of optimization of the solution.


Update active-directory-saas-zendesk-tutorial.md

Identifier should not contain https

@PeterSelchDahl : Thanks for your contribution to the Azure documentation! The author, @jeevansd, has been notified to review your proposed change.

#sign-off


Don't regenerate certs on genesis secrets

When updating a distributed system like consul switching out the certs will cause the cluster to loose consensus.

Can we just mark the certificates as fixed in Genesis Kits that utilize consul?

Just retested this with consul, and it seems not to be an issue anymore. Don't know why I observed this failing... must have been another config change that triggered consul to behave strangely.


feat(Bran): Ported common Loading icon to Brand/Labs

Ported common Loading icon to Brand/Labs
Changes the prop from fullPage = true to inline to match our normal convention of having optional props be falsy by default. Otherwise it's a direct copy & paste.
Also I think the color after I mass-moved deprecated colors was just a shade lighter than it used to be, so now it's just a shade darker.]

📬Published Alpha Packages<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5eb95668588cea29a2bfb8e5--codecademy-styleguide.netlify.appDeploy Logs

📬Published Alpha Packages<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5ebb394ff2f1f9971a4dc9b7--codecademy-styleguide.netlify.appDeploy Logs

📬Published Alpha Packages<EMAIL_ADDRESS>
📬Published Alpha Packages<EMAIL_ADDRESS>
📬Published Alpha Packages<EMAIL_ADDRESS>
📬Published Alpha Packages<EMAIL_ADDRESS>
📬Published Alpha Packages<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5ebd60e30210291959007858--codecademy-styleguide.netlify.appDeploy Logs


There is no any possibility to turn off heap.

#Details
Recently I had a problem with turning off the heap. If you load the lib with analytics.js there is no any possibility to turn it off. The only solution is to refresh the browser page and not to load the heap. In the case of single page applications refreshing the browser window is not the best idea.
I tried analytics.reset, analytics.off, analytics.integrations.heap.off.
By examining code it turned out that anonymous functions are set on event listeners and JS doesn't give you any opportunity to turn them off.
#Expected result
Adding a function like heap.shutDown(), that stops heap.

Hi @HovhannesB, as part of the monorepo migration, this issue has been moved to new issue. Our engineers have been notified and will prioritize and work on it ASAP. Thank you!
For more information, see README.md.


Start populating Heather dialect to dev/python

introduce heather dialect types and small fixes

introduce heather dialect types and small fixes


What the status of ModelDB project is?

Hi! @mpvartak
I'm from kubeflow/katib.
We are using modelDB in our project.
And we have some requests for this project.
But this project does not active since Feb.
Could we get involved in the development of ModelDB and help to maintain it?

/cc @gaocegege

Hi there, thanks for pinging! Absolutely, we'd be super interested in getting more contributors to help maintain modeldb. We're in the middle of a transition, so things have been slow. What's the best way to reach you? Please feel free to email at mvartak_at_csail.mit.edu.
PS: Katib looks really good!

@mpvartak
Thanks for your reply! We (Kubeflow guys) have a slack channel. @YujiOshima and me, maintainers of katib, usually discuss in the topic #hyperparameter-tuning. Thus we prefer to use Slack since there are other people also interested in the project.
As @YujiOshima said, we are using modeldb for model management. And we found some pain points from our side to be enhanced or implemented:

not user-friendly API. We need to maintain go thrift interfaces.
Data can not be deleted from DB.

We are glad to help modeldb in the things that we are interetsed in first, to demonstrate our knowledge on modeldb code base. And as the development of katib is going on, maybe we need some more features from modeldb. We hope that we could collaborate deeply. We could discuss about how to achieve it via slack or email, e.g. outside collaborator or we file PR then request owner's review.
BTW, thanks for your awesome work on model management! 🎉 😄

I'm experimenting with using Model DB to track experiments/models in Kubeflow and I ran into some problems accessing the data in the UI:
kubeflow/examples/issues#134
Any help would be greatly appreciated.

@jlewi Do you think that Model DB needs to be forked?

I think forking is premature.
What are the features/fixes that we want?
Do we have folks in the Kubeflow community to work on this?
I don't think we Kubeflow have really started trying to tap into modelDB
yet.  So my highest priority would be trying to leverage modelDB and seeing
whats Missing for our use cases.
On Mon, Jul 2, 2018, 5:15 PM bhack<EMAIL_ADDRESS>wrote:

@jlewi https://github.com/jlewi Do you think that Model DB needs to be
forked?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mitdbg/modeldb/issues/290#issuecomment-401974884, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAvcA9J7kdD92sDhc4t0d2A6RddkEYX7ks5uCreqgaJpZM4Ty4C5
.

@jlewi responded to your comment on Kubeflow repo. Need to repro your bug and will update.

The README says that V2 is coming soon but there hasn't been a commit to master for 9 months and I don't see any active branches. Is this project still actively maintained?

Same question. I cannot see any progress here.

Hi all -- we have been developing the project under VertaAI (https://github.com/VertaAI/) -- the company we started around ModelDB. We are actively maintaining it the OSS fork there while we figure out the best way to update the MIT repo too (since it's a different org). We should have this sorted out by end of year, but for now, please check out the VertaAI repos, they are up-to-date. Also happy to get you set up with a trial account on VertaAI, please send me at note!

Ok so basically https://github.com/VertaAI/modeldb is V2?


Lift in preview019 altering columns

After I deleted the migration folder, truncated _migrations table and created a fresh migration, lift is altering fields (resets/drops value) that haven't been removed and schema has not changed. Details and reproduction below.

I'm having the same issue, thought I would mention report id 904 (as per the CLI's request).
Error in migration engine.
Reason: [src/libcore/result.rs:1165:5] Error parsing the migration steps: Error("missing field `tag`", line: 1, column: 83)

I also deleted the migrations folder.
Deleting the SQLite DB and then running Prisma2 dev fixed the issue, I assume it relates to there being DB records associated with a migration, but no physical files?

Might be related: https://github.com/prisma/lift/issues/239

So I don't know it happened but now even if I downloaded to preview 18.2 is still wipes out nullable fields and restarts DataTime fields.

This should be fixed by https://github.com/prisma/prisma-engine/pull/318 :) It will be in the next alpha release.

You had a lot of columns with that problem, so the fix may not work for absolutely all of them. Please open an issue if it still doesn't look right in the next alpha (476).

@tomhoule Alpha fixed most issues, but I still have the warning with a Float type that is getting altered

Also @tomhoule if you create a database from the datamodel I posted above and seed it (as above), then running prisma2 lift save shows this warning:
⚠  There might be data loss when applying the migration:

  • You are about to alter the column `length` on the `File` table, which still contains 2 non-null values. The data in that column will be lost.
  • You are about to alter the column `preview` on the `File` table, which still contains 2 non-null values. The data in that column will be lost.
  • You are about to alter the column `password` on the `User` table, which still contains 1 non-null values. The data in that column will be lost.
  • You are about to alter the column `username` on the `User` table, which still contains 1 non-null values. The data in that column will be lost.

Looking into it now

Weird, the warnings say that the columns are altered but they're not in the schema from the issue description. Can you try narrowing the issue down and opening a new issue? Sorry to ask this much but I don't have tons of time to investigate at the moment.

@tomhoule I put together a more detailed issue, hope it helps https://github.com/prisma/lift/issues/267

Thanks a lot!


RFC: Split UI

Fix #103
It is breaking change.
Users need to set ui option and install ddc UI plugins.

I have split UI files.
You need to install UI plugins.

It is ready to use.  More testers are needed!

Merged.


Add DateTimeInterface support to some filters and processors

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
❌

Fixed issues
#88

👍


SSL cert for web app

Need to coordinate with Clayton to get an SSL certificate issued for the rc.coleridgeinitiative.org domain.
Currently the server is running at http://rc.coleridgeinitiative.org where the stack is built from:

Cloudflare CDN and DNS (existing, only for HTTP, not HTTPS - Clayton has account access)
Nginx server (existing, Paco just needs to add SSL cert to get HTTPS)
Gunicorn WSGI-compliant bridge (running now)
Systemd process management (systemctl services)
Flask microframework running an app (which gets replicated)

What we need are the parts generated by Cloudflare for SSL:

.pem file (the actual certificate)
.key file (the associated private key)

... or other means to generate these from what Cloudflare will provide.
That will plug in here
https://github.com/Coleridge-Initiative/RCServer/blob/master/etc/richcontext.nginx
on the GCP instance that's already running.
Also, here are some docs for general background, although we already have the config needed:

https://serverfault.com/questions/934132/how-to-configure-nginx-ssl-with-an-encrypted-key-in-pem-format
http://nginx.org/en/docs/http/configuring_https_servers.html

@ernestogimeno @claytonrsh Here are instructions about:

Universal SSL -- the free SSL cert

There will also be settings to manage and synchronize, such as HSTS and Authenticated Origin Pulls, which must be done after the SSL cert is already in place.  Perhaps then @claytonrsh and I could do a brief video call to walk through those settings.  They can be important for getting traffic into fed agencies, at least for passing the (free online) security audits -- and I'm set up for that.

@claytonrsh @ernestogimeno we may be required to purchase a Dedicated SSL cert, since the rc subdomain is at second-level (not a www cname):
https://support.cloudflare.com/hc/en-us/articles/228009108

Universal SSL certificates only support SSL for the root or first-level subdomains such as example.com and www.example.com. To enable SSL support on second, third, and fourth level subdomains such as dev.www.example.com or app3.dev.www.example.com, you can:

Upgrade to a Business or Enterprise plan to upload a Custom SSL certificate.
Purchase a Dedicated SSL certificate with Custom Hostnames.

the Dedicated SSL certs cost $5/month for upto 50 subdomains

login
select Cloudflare account for coleridgeinitiative.org
click the SSL/TLS horizontal menu button
click the Edge Certificates option

I think that rc.coleridgeinitiative.org is a first-level subdomain, where a second-level subdomain would be something.rc.coleridgeinitiative.org. At least is what it says here: https://www.digicert.com/faq-general.htm

If that works well, great.  In that case, we can try first with the default PEM + KEY files from coleridgeinitiative.org which @claytonrsh should be able to access and download?

Used the EFF Certbot to generate a new SSL cert instead, which is passing the tests at https://www.ssllabs.com/ssltest/analyze.html?d=rc.coleridgeinitiative.org


idea: check service credentials

check to see if using standard NT AUTHORITY\SYSTEM to run the sql service / agent etc.

Will write that one shortly, cheers.

select *
FROM sys.dm_server_services
should be named account etc, not NT Service\MSSQLSERVER

included


z3-sys

Hi! Thank you for the nice bindings. Would it be possible to add a static-link-z3 feature to z3-sys, so that users don't need to manually install z3-dev on their systems to access z3.h?

Hello! That's a good idea. I'll add a feature flag to use the existing one in z3 when I get a chance. Thanks for the suggestion!


v3.12.2: [unhandledRejection] errors with nuxt dev

Environment
Nuxt project info:                                                              2:58:04 PM

Operating System: Windows_NT
Node Version:     v20.10.0
Nuxt Version:     3.12.2
CLI Version:      3.12.0
Nitro Version:    2.9.6
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      css, components, modules, headlessui, ogImage, postcss, spaLoadingTemplate, typescript, site, devtools, nitro
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
Run nuxt dev to get the error in the first log below.
Run nuxt dev --host to see the errors in the second log.
Describe the bug
unhandledRejection errors printed in the terminal.
Additional context
When using nuxt dev --host, the error is printed repeatedly, every few seconds.
Logs
> nuxt dev

Nuxt 3.12.2 with Nitro 2.9.6                                                2:55:13 PM
                                                                            2:55:13 PM
  ➜ Local:    http://localhost:3000/
  ➜ Network:  use --host to expose

  ➜ DevTools: press Shift + Alt + D in the browser (v1.3.3)                 2:55:17 PM

ℹ Vite client warmed up in 6302ms                                          2:55:26 PM
ℹ Vite server warmed up in 5308ms                                          2:55:26 PM
✔ Nuxt Nitro server built in 3743 ms                                 nitro 2:55:28 PM

 ERROR  [unhandledRejection] Must provide a proper URL as target            2:55:29 PM

  at ProxyServer.ws ([..]/node_modules/httpxy/dist/index.mjs:521:9)
  at Object.upgrade ([..]/node_modules/nitropack/dist/chunks/server.mjs:374:24)
  at Server.<anonymous> ([..]/node_modules/nuxi/dist/chunks/dev2.mjs:6898:29)
  at Server.emit (node:events:526:35)
  at onParserExecuteCommon (node:_http_server:942:14)
  at onParserExecute (node:_http_server:836:3)

> nuxt dev --host

Nuxt 3.12.2 with Nitro 2.9.6                                                    2:59:22 PM
                                                                                2:59:22 PM

              █▀▀▀▀▀▀▀██▀▀▀█▀██▀█▀▀▀▀▀▀▀█
              █ █▀▀▀█ ██▀▀ ▄█▀█▀█ █▀▀▀█ █
              █ █   █ █ █ ▄▀  ▄▄█ █   █ █
              █ ▀▀▀▀▀ █▀▄ █▀▄▀█▀█ ▀▀▀▀▀ █
              █▀▀███▀▀▀█ ▀█ ▀██▀███▀▀████
              ██▄▀▄▀▄▀█▀▀▄▀▀▀█ ▄▄▀▀  ▄ ▀█
              ██▄█▄▄█▀ ▄▀ ▄██ ▀▄▀▀▄█▄██ █
              █ █ ▄▄█▀▄▄▀ █▄█▄ █▀█▀█▀█ ▀█
              █ █  ▄ ▀▀▄▀ █ ▀▄▄▀▀▀▀ █ █▄█
              █▀▀▀▀▀▀▀█ ▄ █▀▀ █ █▀█ ▀▄█▀█
              █ █▀▀▀█ █▄   ▀▀█▀ ▀▀▀ ▀▀█▄█
              █ █   █ ██ ▀█▄██▀ ▀▄▄█▄▀▄ █
              █ ▀▀▀▀▀ █ ▄▄▄▀█▀  ▀▄▄▄▀██ █
              ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

  ➜ Local:    http://localhost:3000/
  ➜ Network:  http://<IP_ADDRESS>:3000/ [QR code]
  ➜ Network:  http://<IP_ADDRESS>:3000/

  ➜ DevTools: press Shift + Alt + D in the browser (v1.3.3)                     2:59:27 PM

ℹ Vite client warmed up in 6466ms                                              2:59:35 PM
ℹ Vite server warmed up in 5322ms                                              2:59:35 PM
✔ Nuxt Nitro server built in 3746 ms                                     nitro 2:59:37 PM

 ERROR  [unhandledRejection] write ECONNABORTED                                 2:59:41 PM

  at afterWriteDispatched (node:internal/stream_base_commons:160:15)
  at writeGeneric (node:internal/stream_base_commons:151:3)
  at Socket._writeGeneric (node:net:952:11)
  at Socket._write (node:net:964:8)
  at writeOrBuffer (node:internal/streams/writable:556:12)
  at _write (node:internal/streams/writable:490:10)
  at Writable.write (node:internal/streams/writable:494:10)
  at IncomingMessage.ondata (node:internal/streams/readable:985:22)
  at IncomingMessage.emit (node:events:514:28)
  at addChunk (node:internal/streams/readable:545:12)

Try if the error is caused by one of the modules. Comment them out one by one and see if the error disappears ...

Also you should use npm run dev not nuxt dev to run your project, no?

Also you should use npm run dev -- -o not nuxt dev to run your project, no?

I have npm run dev set to nuxt dev --host.
And as it happens with these weird bugs, I fire up the dev server today and poof, all gone and working fine again. Didn't install/update anything, just came back to it the following day 🫠
Closing it now, will reopen in case it happens again and I have more data, thanks.

I had the similar issue when running when running yarn dev after switch from ssr:true to ssr:false
I removed dist/, /.nuxt and /.output folders and it solved the problem


Clarify namespace, clarify relation service - entity

a namespace is not an object
relation entity/service is established via name

Hi @renejeglinsky , the checker complains because in the example I essentially put the content of two cds files in a single code snippet. Remedy is to either disable the syntax checker for this example or to split it into two code blocks.


mirage-serializer blueprint should extend application serializer

When running ember generate mirage-serializer foo I would expect the serializer to extend the Application serializer like mentioned in the docs. It may cause confusion that the blueprint doesn't follow this advice.

That sounds like a good idea, would you mind sending in a PR to fix it?

I'd like to take this up.


Acm 9619 - Edit labels fix

Regarding: https://issues.redhat.com/browse/ACM-9619
EditLabel modal does will no longer dynamically update label contents from the backend (To prevent conflicts while changes are being made).

/retest

/lgtm


print out params as their own columns in the df

right now we print the params as a dict, we could pretty easily print them each as their own column in the df.

done


EntityAlreadyExists: Role with name someJobSubscriberFxrtbfFunctionRole-eucentral1 already exists.

Just tried to migrate from 3.0.42 to 3.0.108. Got stuck while updating our resources.
For now, downgraded again.
Blocked specifically by the following error on the resulting lambda execution role, nothing changed on this specific lambda subscriber. In the same sphere for us as this SNS issue but here we did not see a workaround in the source code.
✕  Failed
   job_cert_extraction_1SubscriberFxrtbf sst:aws:QueueLambdaSubscriber → job_cert_extraction_1SubscriberFxrtbfFunctionRole aws:iam:Role
   IAM: CreateRole, https response error StatusCode: 409, RequestID: 7aeff72a-519e-4dfd-8028-329080e390b5, EntityAlreadyExists: Role with name stg-jobcertextraction1SubscriberFxrtbfFunctionRole-eucentral1 already exists.
   job_events_logSubscriberBaxsnn v-sst:aws:QueueLambdaSubscriber → job_events_logSubscriberBaxsnnFunctionRole aws:iam:Role
   IAM: CreateRole, https response error StatusCode: 409, RequestID: a1baf690-55bd-4ce3-ae04-471459634b58, EntityAlreadyExists: Role with name v-stg-jobeventslogSubscriberBaxsnnFunctionRole-eucentral1 already exists.

Code goes like this:
const dlq = new sst.aws.Queue(`dlq_job_${jobName}`);
const queue = new sst.aws.Queue(`job_${jobName}`, {
   visibilityTimeout: timeout || "1 minute",
   dlq: {
   	queue: dlq.arn,
   	retry: retries,
   },
});

queue.subscribe(
   {
   	handler: handler,
   	timeout: timeout,
   	link: secrets,
   	environment: env,
   	memory,
   	logging: {
   		retention: logRetention,
   	},
   },
   {
   	batch: {
   		partialResponses: true,
   		size: maxItemsPerBatch,
   	},
   },
);

If you need any more info, please ping me.

@anthonyringoet what's the of the app and stage?

The upgrade did work out with a later version, so now at 3.1.17. Would close as long as no one sees it popping up again.


Grid style

Show by default
Control tick marks
Set axis labels and fontsize
Control colorbar position, ticks, and label

Customizing the grid axes can be a bit of a challenge sometimes. Here are some of the options:
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.Renderer.show_bounds.html#show-bounds
I recommend we use the show_grid() wrapper of this method.
I'll set up what I think are some good defaults and let you modify as needed

I've got labels working with:
pl.show_grid(xlabel="longitude", ylabel="latitude", zlabel="depth")

I'd like to be able to set the exact tick locations and tick labels.  I've read the documentation but haven't been able to find a way.  Thoughts?

I'll see what I can do... the grid axes in VTK aren't well supported (there are lots of issues with them). But we may be able to workaround some to get the desired effect. I'll investigate

Thanks for the guidance.  In terms of ticks, I tend to like them very sparse.  Specifically, my goal is just six ticks and labels:

Minimum depth
Maximum depth
Minimum longitude
Maximum longitude
Minimum latitude
Maximum latitude

So. I took a bit of time to (hackily) fix this in PyVista: https://github.com/pyvista/pyvista/pull/3977
Let's see if that feature branch will merge. We can checkout that branch for now though to get this feature

Looks really go and I can wait to try it after the merge is complete!

@banesullivan Do you have a sense of when the merge might happen?  I'm asking because once we have this and the camera view angle completed, we'll have the polished for all figures and animations.

I'm not too sure... we ran into some issues that are preventing the merge. I'll try to take a look at the issue again this week with fresh eyes and see if its something I can tackle in an hours work

I see.  How about this as a stopgap measure: Draw a wireframe box around the mesh.  The mins and maxes should just be the mins and maxs of the mesh vertices.  That way we don't rely on creating a proper grid but we get something that provides some orientation information.  It would be 12 lines.  What do you think?

I've been working on this a bit with pv.Line.  My primary question is what is the preferred way to get the spatial extent of the mesh limits in Pyvista/VTK.  I've tried looking at engine.boundary.BOUNDING_BOX but don't seem to know how to get the quantities that I assume are in it.

Some examples/alternatives in https://github.com/brendanjmeade/kale/blob/main/grid.ipynb

Looks like https://github.com/pyvista/pyvista/pull/3977 is about to land

Jaw droppingly awesome!

Please note the limitations of that recent grid axes work in https://github.com/pyvista/pyvista/issues/4275

@banesullivan With this recent work can you create one example with the now classic 3-panel plot that has labeled axes?

Axis labels: longitude, latitude, depth
Ticks only for the minimum and maximum of each axis?

Will do -- this feature hasn't made it into a release yet so we just have to checkout the latest main branch of PyVista until the next release (should be by May 1st)

Added this via 8e147d4 in the poster_three_panel.ipynb noteboook. I added this as a method in kale.helpers and recommend using it with a "floor":
pl.add_floor("-z", show_edges=True, edge_color="white", color="lightgray")
helpers.add_bounds(pl)

https://github.com/brendanjmeade/kale/commit/8e147d4ba4feed3d530bd2bb6ead35808b943636#commitcomment-110548841

control font sizes/styles/weights

Adding these axis labels to the canonical notebook that produces a single figure would be great.  Role that into: https://github.com/brendanjmeade/kale/issues/17


[Feature] Code block supports displaying line numbers

Initial checklist

[X] I agree to follow the code of conduct
[X] I searched issues and discussions and couldn’t find anything (or linked relevant results below)

Problem
I want every line of the code block to be wrapped in a class.
like:

Then I can simply add css and display the line number.
like：
code {
counter-reset: step;
counter-increment: step 0;
}
  code .line::before {
    content: counter(step);
    counter-increment: step;
    width: 1rem;
    margin-right: 1.5rem;
    display: inline-block;
    text-align: right;
    color: rgba(115,138,148,.4)
  }

Solution
none
Alternatives
none

You can use code-block-component, which has the code mirror integration with a lot of features, including line numbers.


failed to build native extension - digest-crc-0.6.1

Hello, when attempting to install the plugin I'm receiving the following error:
Installing the 'vagrant-box-gcs' plugin. This can take a few minutes...
Building native extensions. This could take a while...
Vagrant failed to properly resolve required dependencies. These
errors can commonly be caused by misconfigured plugin installations
or transient network issues. The reported error is:

ERROR: Failed to build gem native extension.

    current directory: /Users/codaniel/.vagrant.d/gems/2.6.6/gems/digest-crc-0.6.1/ext/digest
/opt/vagrant/embedded/bin/ruby -rrubygems /opt/vagrant/embedded/gems/2.2.9/gems/rake-13.0.1/bin/rake RUBYARCHDIR\=/Users/codaniel/.vagrant.d/gems/2.6.6/extensions/x86_64-darwin-19/2.6.0/digest-crc-0.6.1 RUBYLIBDIR\=/Users/codaniel/.vagrant.d/gems/2.6.6/extensions/x86_64-darwin-19/2.6.0/digest-crc-0.6.1
/opt/vagrant/embedded/bin/ruby: No such file or directory -- /opt/vagrant/embedded/gems/2.2.9/gems/rake-13.0.1/bin/rake (LoadError)

rake failed, exit code 1

Gem files will remain installed in /Users/codaniel/.vagrant.d/gems/2.6.6/gems/digest-crc-0.6.1 for inspection.
Results logged to /Users/codaniel/.vagrant.d/gems/2.6.6/extensions/x86_64-darwin-19/2.6.0/digest-crc-0.6.1/gem_make.out

Ruby Version
ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-darwin19]
Vagrant Version
2.2.9
Mac OS X Version
10.15.5
Xcode command line tools are installed

Potentially related? https://github.com/postmodern/digest-crc/issues/19

Hello @devinodaniel, thanks for your report. It is indeed related. I'll push the recommended fix.

:tada: This issue has been resolved in version 1.0.1 :tada:
The release is available on:

1.0.1
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.0.2 :tada:
The release is available on:

1.0.2
GitHub release

Your semantic-release bot :package::rocket:

alright, @devinodaniel should be fixed now

vagrant plugin install vagrant-box-gcs
Installing the 'vagrant-box-gcs' plugin. This can take a few minutes...
Fetching digest-crc-0.5.1.gem
Fetching multipart-post-2.1.1.gem
Fetching faraday-1.0.1.gem
Fetching google-cloud-env-1.3.2.gem
Fetching google-cloud-errors-1.0.1.gem
Fetching google-cloud-core-1.5.0.gem
Fetching declarative-option-0.1.0.gem
Fetching declarative-0.0.20.gem
Fetching uber-0.1.0.gem
Fetching representable-3.0.4.gem
Fetching retriable-3.1.2.gem
Fetching public_suffix-4.0.5.gem
Fetching addressable-2.7.0.gem
Fetching mini_mime-1.0.2.gem
Fetching jwt-2.2.1.gem
Fetching signet-0.14.0.gem
Fetching memoist-0.16.2.gem
Fetching os-1.1.0.gem
Fetching googleauth-0.13.0.gem
Fetching google-api-client-0.41.2.gem
Fetching google-cloud-storage-1.26.2.gem
Fetching vagrant-box-gcs-1.0.2.gem
Installed the plugin 'vagrant-box-gcs (1.0.2)'!

Confirmed that this is working. Thank you!


autoResize(false) does not remove parent event listeners

I have implemented the following code from the idea outlined in #572:

Parent page sends message to iframe
Iframe calls window.parentIFrame.autoResize(false);

While the event listeners within the iframe are removed in iframeResizer.contentWindow.js#L487-L495, the event listeners of the parent are still active and set the hight attribute of the iframe, e.g. resize and scroll event listeners that are registered in startPageInfoMonitor().
Shouldn't these event listeners be removed when calling window.parentIFrame.autoResize(false);
If no, how would I have to go about to temporarily remove these event listeners?

You can force the resize events to come from the child.
https://github.com/davidjbradshaw/iframe-resizer#resizefrom
Beyond that and I think you have found a bug.


Add notifications to random events and (selected) drops

I'm always frustrated when afking a skill/combats and I miss a useful random event like the genie, surprise exam or the maze, since they provide a small boost to my account, and since I am also collecting random event pieces, I don't want to miss the gravedigger, mime, etc either. Also, when I am afking something like fossil crabs, I also want to collect the unidentified fossils, but since I am afking while doing it, it is likely I'll miss these drops which are quite rare.
I want a (toggleable) notification for all random events, with the option to select only the ones you want. Also, a toggle to select the drops for which you want a notification.
An alternative solution is to add a toggle for either all random events, or just genie/surprise exam since they would be the most popular.

We already have issues opened for both of these requests. Also, you can already get notification for unidentified fossils, just setup in game chat notification and then use chat notifier to notify you about it.


go-sqlsmith: support hints in select/update/delete statement

What problem does this PR solve?
sqlsmith now supports hints
What is changed and how does it work?
Check List
Tests

Unit test
E2E test
Manual test (add detailed scripts or steps below)
No code

Code changes

Has Go code change
Has CI related scripts change
Has Terraform scripts change

Side effects

Breaking backward compatibility

Related changes

Need to update the documentation

Does this PR introduce a user-facing change?:

NONE

@Illyrix could you give me an example generated by SQLSmith with SQL hint supported?

You need to run make tidy.

PTAL @you06


Current state?

Hi there,
Is there any progress on your project?
Cheers,
Paul

Hi @paviro
For the moment I am busy with my DialogTree tools side-project (https://github.com/StraToN/godot-dialogtreetools) which is closely related to this Point&Click demo. I need this addon to work in order to continue the demo. Many people are interested with it too, so this one has my time for now.
Once it's done, here's what's next with this demo project:

NPC dialogs
Items (pick & use) and Inventory
After that, I'll add some rooms and allow room travels.

Preview: after all this is done, I'll add another example... in 3D ;)


Error: ENOENT: no such file or directory, mkdir

Hi,
Why am I getting the following error, can you help?
{ Error: ENOENT: no such file or directory, mkdir '/var/www/bigbluebutton-default/record'
at Object.mkdirSync (fs.js:757:3)
at convertAndCopy (/home/emre/Desktop/bbb-recorder-master/export.js:215:12)
at main (/home/emre/Desktop/bbb-recorder-master/export.js:187:13)
at process._tickCallback (internal/process/next_tick.js:68:7)
errno: -2,
syscall: 'mkdir',
code: 'ENOENT',
path: '/var/www/bigbluebutton-default/record' }

app is expecting this '/var/www/bigbluebutton-default/record'  but there is no such directory in your file structure so you either should use sudo command to run the app or create that directory manually.


[xpt] Create item details page [person 2]

When the user selects a specific item, they can see the details page with its full description (skip the "Rotate image" button).

In the details page, the user can click the "Reserve" button (in the design you can see the "Configure" button - please replace it with the "Reserve" button).
Details


Alter bounds check in ssl_load_session for slightly more safety

In ssl_ticket.c ssl_load_session():
    cert_len = ( p[0] << 16 ) | ( p[1] << 8 ) | p[2];
    p += 3;

    if( cert_len == 0 )
    {
        session->peer_cert = NULL;
    }
    else
    {
        int ret;

        if( p + cert_len > end )
            return( MBEDTLS_ERR_SSL_BAD_INPUT_DATA );

I would change this last check into
        if( end < p || cert_len > (size_t)(end - p) )
            return( MBEDTLS_ERR_SSL_BAD_INPUT_DATA );

I don't think that under normal circumstances cert_len can ever exceed the buffer size, because it was always generated by the server itself in ssl_save_session, and is always verified to be legitimate in mbedtls_ssl_ticket_parse.  But in the unlikely event that an attacker can break the ticket decryption/authentication, the check p + cert_len > end doesn't work if p happens to be a very high virtual address and cert_len happens to be very large.
So say that p is address 0xFFFF0000, and end is 0xFFFFFF00, and cert_len is 0x00FFFFFF, then the comparison becomes
if ( 0xFFFF0000 + 0x00FFFFFF > 0xFFFFFF00 )

which on 32 bit is
if ( 0xFEFFFF > 0xFFFFFF00 )

which is false, so it isn't treated as an error, despite cert_len exceeding the buffer size.
If the attacker can also control the certificate that was embedded in the ticket, then they might be able to craft that certificate in such a way that mbedtls_x509_crt_parse_der writes N bytes of their choosing beyond buffer bounds (instead of occupying the whole cert_len amount of space that probably leads to a crash).
I hope this makes sense. The rationale is that breaking ticket encryption and authentication should only lead to session takeover, and not to a server compromise.

ARM Internal Ref: IOTSSL-1046


[feature] Refactor Retract to Withdrawal

Refactor retract to withdraw in api and admin code.
Relates to #4952

Are there any API docs that also need to be updated?

This is fine to merge for now, but please update any API docs as necessary.