[senateisvp] improve extractor

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[X] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[X] Searched the bugtracker for similar pull requests
[X] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[X] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[X] Bug fix
[X] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
The previous state of the extractor got the .mp4 url for archived streams but since then they are no longer available. This was why changing the type to xarch worked for @johnhawkinson. This improvement extracts the m3u8 to get the mp4 download, which works. This fixes the issue discussed for single videos in #13399.
This pull requests closes #22754 and uses the m3u8 url which it extracts from the webpage for all https://www.[committee].senate.gov/ hearing links.
I have ran all the test cases for SenateISVPIE and SenateGovISVPIE which contains urls from both issues, and everything passed. If there are any changes or improvements that can be made please let me know.

Hello @dstftw
It says
AssertionError: SenateGovISVPIE should not match URL u'https://www.hsgac.senate.gov/hearings/canadas-fast-track-refugee-plan-unanswered-questions-and-implications-for-us-national-security' . That URL belongs to Generic.

I want this case to be handled in SenateGovISPIE, since with generic I get an error. To resolve this should I remove the static function from SenateISPIE? Not sure how this works, sorry for the trouble.

Changed _search_iframe_url() from generic.py and it is no longer a static method. So now the url will be handled within SenateGoveISVPIE and not generic. Would you like me to squash both commits?

Don't touch the generic extractor in any form.
Don't add any new extractors.
Improve existing extractor to extract formats approriately.
Don't copypaste any code.

Hello @dstftw,
I took your advice and made changes to my origin commit.

The generic extractor is untouched
No new extractors were added
The Existing extractor is improved and gets m3u8 and f4m or the archive url if the first two do not exist.
No code was or has been copy pasted.

I have followed the same method for getting the stream as the senate.gov website themselves. The m3u8 and f4m stream is first fetched, if that returns a 404 the website then uses the arch stream. The extractor now functions in the same way. This closes #22754 and addresses the issue for single videos on #13399.
Hope this satisfies the requirements.

I am having trouble understanding what's wrong on travis. Any help or guidance from other developers is appreciated.

Figured out the generic extractor already have some tests for SenateISVP, so I took out the ones I added into the extractor to prevent any conflict. All seems good now.


feat: add plugin transform support

This PR adds support for adding the transform middleware to plugins. It also enables custom routes to be transformed.
A new setting property has been added to control which plugins should be allowed
module.exports = ({ env }) => ({
  // ..
 'transformer': {
    enabled: true,
    config: {
     plugins:{
       ids :{
         'slugify':true
       }
     }
    }
  },
  // ..
});

Resolves
#80
#77

Hey @ComfortablyCoding,
Any news on this one? It seems to be working well for us.

Hello @Namstel , it is now available in the latest release


add local mode

Summary
This pull request adds the local_mode. When in local_mode no external CDNs get used as requested in #50.
Details
I added local_mode to config.py. If cfg.local_mode is True the web dependencies get downloaded, if they aren't already on disk. For this I added requests to the requirements.txt. The templates now use the system.web_deps dictionary to get the correct web path for the dependencies.
Checks

[x] In case of new feature, add short overview in docs/<corresponding file>
[x] Tested changes

Hi @Oliver-Hanikel
Thanks for the PR. I'll check it this week ;)

Seems like requests dropped support for python 3.6
https://pypi.org/project/requests/

Seems like requests dropped support for python 3.6
https://pypi.org/project/requests/

Yes indeed, maybe requests 2.27.1 would also work, this one supports 3.6 😀

Hi @Oliver-Hanikel
Thanks for the work you have done! This is a great new feature!


SELinux is preventing (k3s) from execute access on the file k3s

Describe the bug
I am trying to get through a first time install of k3s.  I followed the very simple directions and it failed.
This shouldn't take long…
    curl -sfL https://get.k3s.io | sh -
    # Check for Ready node, takes maybe 30 seconds
    k3s kubectl get node

To Reproduce
$ curl -sfL https://get.k3s.io | sh -
[INFO]  Finding latest release
[INFO]  Using v0.2.0 as release
[INFO]  Downloading hash https://github.com/rancher/k3s/releases/download/v0.2.0/sha256sum-amd64.txt
[INFO]  Downloading binary https://github.com/rancher/k3s/releases/download/v0.2.0/k3s
[INFO]  Verifying binary download
[INFO]  Installing k3s to /usr/local/bin/k3s
[sudo] password for dagostinelli:
[INFO]  Creating /usr/local/bin/kubectl symlink to k3s
[INFO]  Creating /usr/local/bin/crictl symlink to k3s
[INFO]  Creating uninstall script /usr/local/bin/k3s-uninstall.sh
[INFO]  systemd: Creating environment file /etc/systemd/system/k3s.service.env
[INFO]  systemd: Creating service file /etc/systemd/system/k3s.service
[INFO]  systemd: Enabling k3s unit
Created symlink /etc/systemd/system/multi-user.target.wants/k3s.service → /etc/systemd/system/k3s.service.
[INFO]  systemd: Starting k3s
Job for k3s.service failed because the control process exited with error code.
See "systemctl status k3s.service" and "journalctl -xe" for details.

Hmm, so:
$ sudo systemctl enable k3s
$ sudo systemctl start k3s
Job for k3s.service failed because the control process exited with error code.
See "systemctl status k3s.service" and "journalctl -xe" for details.

Then:
$ sudo journalctl -xe

Mar 13 21:33:14 mycomputer setroubleshoot[7317]: SELinux is preventing (k3s) from execute access on the file k3s. For complete SELinux messages run: sealert -l cff0b5ab-691a-4e44-b47a-d89a9>
Mar 13 21:33:14 mycomputer python3[7317]: SELinux is preventing (k3s) from execute access on the file k3s.

                                          *****  Plugin catchall (100. confidence) suggests   **************************

                                          If you believe that (k3s) should be allowed execute access on the k3s file by default.
                                          Then you should report this as a bug.
                                          You can generate a local policy module to allow this access.
                                          Do
                                          allow this access for now by executing:
                                          # ausearch -c '(k3s)' --raw | audit2allow -M my-k3s
                                          # semodule -X 300 -i my-k3s.pp

Expected behavior
It should just work as described.
This shouldn't take long…
    curl -sfL https://get.k3s.io | sh -
    # Check for Ready node, takes maybe 30 seconds
    k3s kubectl get node

Screenshots
N/A
Additional context
I'm not too keen on "just disable selinux".  I could, however, install the module that audit2allow says to install.  But should I?  Is that what you'd like us to do?  I'll do it, if that's your recommendation.
My machine is Fedora Linux. F29 to be exact.

You just need to set the context:
sudo semanage fcontext -a -t bin_t "/usr/local/bin/k3s"
sudo restorecon -v /usr/local/bin/k3s

I see your PR.  I'm glad that you are going to fix this.
BTW, in my case, just plain sudo restorecon -v /usr/local/bin/k3s seemed to be enough.
Also, it looks like there is also a k3s-uninstall.sh file in there.  I didn't bother investigating anything and just ran restorecon on that as well:  sudo restorecon -v /usr/local/bin/k3s-uninstall.sh

Reopening for testing

This seems to be working properly as tested:
$ setenforce
$ getenforce
Enforcing

$ sudo curl -sfL https://get.k3s.io | sh -
[INFO]  Finding latest release
[INFO]  Using v0.2.0 as release
[INFO]  Downloading hash https://github.com/rancher/k3s/releases/download/v0.2.0/sha256sum-arm64.txt
[INFO]  Downloading binary https://github.com/rancher/k3s/releases/download/v0.2.0/k3s-arm64
[INFO]  Verifying binary download
[INFO]  Installing k3s to /usr/local/bin/k3s
[INFO]  SeLinux is enabled, setting permissions
[INFO]  Creating /usr/local/bin/kubectl symlink to k3s
[INFO]  Creating /usr/local/bin/crictl symlink to k3s
[INFO]  Creating uninstall script /usr/local/bin/k3s-uninstall.sh
[INFO]  systemd: Creating environment file /etc/systemd/system/k3s.service.env
[INFO]  systemd: Creating service file /etc/systemd/system/k3s.service
[INFO]  systemd: Enabling k3s unit
Created symlink from /etc/systemd/system/multi-user.target.wants/k3s.service to /etc/systemd/system/k3s.service.
[INFO]  systemd: Starting k3s

$ k3s kubectl get nodes
NAME                          STATUS   ROLES    AGE   VERSION
ip-172-31-26-0.ec2.internal   Ready    <none>   4s    v1.13.4-k3s.1

Thank you for testing @mak3r!

I have SELinux enabled. I followed  this issue's comments. I set "setenforce Enforcing", I installed k3s again  sudo curl -sfL https://get.k3s.io | sh -, I ran the command  k3s kubectl get nodes but still the output is No resources found..
Nevertheless, k3s kubectl get namespaces returns the expected output:
NAME              STATUS   AGE
default           Active   130m
kube-node-lease   Active   130m
kube-public       Active   130m
kube-system       Active   130m


keep 'Edit mode' on in 'Bot Responses' when switching files

Is your feature request related to a problem? Please describe.

I'm always frustrated when switching files in 'Bot Responses', I have to switch 'Edit mode' on every time
Describe the solution you'd like

Describe alternatives you've considered

Additional context

To implementer:
When someone selected "Edit mode" in the all-up LU or LG pages, persist this setting globally and let it hydrate the page during ongoing navigation


Add job to test helm-docs

Description of the change

Add job to test helm-docs

i will split in individuals prs


User image does not work

When I select or try to assign an image to a user it does not stay.

Not sure what you mean. The users mailing-list would have been an appropriate starting point for this question.

Please see the attached image, I can upload an image but when I click on it
to select it, nothing happens.
[image: Inline image 1]
On Tue, Oct 13, 2015 at 5:11 PM, Ingo Bauersachs<EMAIL_ADDRESS>wrote:

Not sure what you mean. The users mailing-list
https://jitsi.org/Development/MailingLists would have been an
appropriate starting point for this question.
—
Reply to this email directly or view it on GitHub
https://github.com/jitsi/jitsi/issues/168#issuecomment-147855109.

--
Laura Karik
Director of Industrial Design
Kangaroo Group
139 Mulock Ave., First Floor
Toronto, ON
Canada  M6N 1G9
416-653-9031 ext. 226
<EMAIL_ADDRESS>www.kangaroogroup.net

Your image didn't arrive on Github.


Bug in catch key event

If you take 1H ethyl benzene and make an auto range picking
Then you zoom and press 'f' the 'f' does not work. It seems that when the mouse goes over a range the focus is lost ?

It seems that when going over a range the focus is taken by the range.
There are 2 problems there:

the focus should not ba taken by the range and the keyboard event should be managed centrally (like all the shortcuts). This means that in your state you have the information that currently we are over a range (there is a highlight) and when you want to apply the keydown event you should first check if you are over a range and react accordantly
the second problem is that you may loose the focus anyway when you have a text input field for example. The solution there is that when you enter the spectra drawing component with the mouse you set a flag in the state 'overDrawingComponent' and when the mouse leaves you uncheck this flag. You then register all the NMRDisplayer instances to listen to the document events and when you receive an event the first thing to do is to check if the flag 'overDrawingComponent' is on otherwise you should ignore the event. This is a change of strategy compared to the previous approach in which we suggested to add only a keydown listener at the level of the component.


feat: matching plugin type to output

We had some internal plugin developers being confused of the output when they chose to create a new plugin-common.
To fix this, this PR changes to the logging messages in the pluginCommon factory and its corresponding test file in the packages/cli directory. The changes modify the log messages to correctly state that a common plugin package is being created, rather than a backend plugin.
Important changes include:
Logging message corrections:

packages/cli/src/lib/new/factories/pluginCommon.test.ts: The expected log message in the pluginCommon factory test has been updated to match the new log message in the pluginCommon factory.
packages/cli/src/lib/new/factories/pluginCommon.ts: The log message in the pluginCommon factory has been corrected to state that a common plugin package is being created.## Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[ ] All your commits have a Signed-off-by line in the message. (more info)

Nice thanks! :pray:


Updated Query Service Dashboard

39 New Panels
Per Node Breakdowns
Resource Breakdowns if Node and/or Process Exporter metrics are available
Datasource as variable instead of hardcoded nam

e

Hey @bentonam, this looks really good, thanks for submitting it! A couple initial thoughts:

It'd be good to eventually have the Prometheus be a variable on all dashboards, but IMHO in the short term it's better to stay consistent (read: hard-code it rather than having it be a variable on only one dashboard)
In my head (and partly CMOS-17) the idea was for the query service dashboard to focus solely on query service performance, so I'm wondering if it's worth removing the node/process exporter stats (and in a perfect world we'd get the data we need out of ns_server anyway)

Having said that, this is an excellent dashboard and it'd be good to get it in.

These look incredible! A couple thoughts from my side:
There's a design decision to be made with repeating panels vs the current CMOS approach of a fixed/static number of graphs that update on (multi)variable selection, with any required overarching view factored out into its own dashboard.
For example, Single Cluster overview showing only a single cluster at once, with a separate "Couchbase Inventory" to show a summarised overview of all clusters. Versus repeating the cluster overview block panels per cluster selected.
There's pros/cons to each: repeating panels can get long very quickly, though they can be collapsed. And using variables to select which should be repeated helps this (though defaulting to All could incur significant load time for a dashboard. Particularly for an Index overview, if there are thousands of GSI...).

From testing locally using make example-multi, to make it work with CMOS' config:

I hardcoded the Prometheus variable because of some Grafana provisioning issues (agree with Marks on long-term)
cluster_name for every panel needed to be changed to cluster, due to naming differences in CMOS Prometheus
Had to remove $__rate_interval from panels for their graphs to be rendered (some issue here, Query Inspector doesn't load so difficult to debug...)
Node/exporter stats likely want to be factored out
Remove default variable values (e.g., "Demo Cluster 1") because Grafana attempts to pre-populate these and could cause confusion upon first load.
Remove &autoFitPanels secret header from links to stop Grafana from trying to fit the larger dashboard without scrolling
Standardise default refresh time to 15sec

I've got these changes in another branch, and you can easily spin up example clusters to see what this looks like by running make example-multi with this checked out.
There's also Prom queries that return no data:

n1ql_avg_req_time
n1ql_avg_svc_time
n1ql_avg_response_size
n1ql_avg_result_count
n1ql_avg_response_size

Which is something that needs to be looked into on our side (cc @markspolakovs as discussed).

There's also Prom queries that return no data:

n1ql_avg_req_time
n1ql_avg_svc_time
n1ql_avg_response_size
n1ql_avg_result_count
n1ql_avg_response_size

Which is something that needs to be looked into on our side (cc @markspolakovs as discussed).

These looks like derived metrics (cf. https://github.com/couchbase/ns_server/blob/7ee50fad0e2ef2c23bc5c55a46b75d6b70806f0a/src/derived_metrics.erl?q=n1ql_avg_req_time#L22-L29) - I'm not sure how they're making it (or not) into the Prometheus, but worst comes to worst we can just derive them in PromQL.

@markspolakovs  while the screenshot shows everything expanded, typically for "Node Resources" and the per node repeatable panels I leave collapsed by default.  This way less queries are ran on dashboard load, but also do not cause too much confusion unless you want to drill down to that set of dashboards.

For the datasource as a variable, having gone down the route of not making it a variable initially, and making it one after the fact is a huge pain to go and change.  This is why I made it with it as a variable, and it requires no additional configuration, it will just load whatever prometheus datasources are available.
Another change that I made was the query dashboard was populating the cluster variable, I changed that to cluster_name for consistency.  But the query to populate the variable was label_values(multimanager_cluster_checker_status,cluster_name) which assumes that multimanager_cluster_checker_status exists.  I changed this to be service specific label_values(n1ql_requests,cluster_name) this way if someone is loading the dashboard without multimanager it will still work as intended.
For the system metrics, there are some of the values exposed from couchbase metrics.
sysproc_page_faults_raw{proc="cbq-engine",category="system-processes"} 392890
sysproc_minor_faults_raw{proc="cbq-engine",category="system-processes"} 392890
sysproc_mem_size{proc="cbq-engine",category="system-processes"}<PHONE_NUMBER>
sysproc_mem_share{proc="cbq-engine",category="system-processes"} 67985408
sysproc_mem_resident{proc="cbq-engine",category="system-processes"}<PHONE_NUMBER>
sysproc_major_faults_raw{proc="cbq-engine",category="system-processes"} 0
sysproc_cpu_utilization{proc="cbq-engine",category="system-processes"} 185

for those that overlap with node / process exporter, I can change the PromQL statement to be an or so use process exporter if that metrics exist otherwise fall back to sysproc_.  But I'm not 100% certain of the value accuracy as sysproc says cbq-engine is 185% from the couchbase metrics and process exporter says 98.2%.
I'm happy to change whatever you'd like just let me know.  I personally just like to see CPU/Mem/Disk/Network on the same dashboard so I can quickly reference if needed.

I am going to close this PR, and open a new one with separate dashboards as to not conflict with any of the current dashboards.


docker login with a wrong path.

Description
docker@default-online:~$ docker login index.docker.io/namespace
Username: hyzhou
Password:
Login Succeeded
I provided the registry for user. Some people say they are already login but can not pull the they private image. In the end, we find the user login with a domain and path.
If docker can refuse the login, when login url like this.
Describe the results you received:
Login Succeeded
Describe the results you expected:
Login Faild
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker version:
docker@default-online:~$ docker version
Client:
 Version:      1.12.3
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   6b644ec
 Built:        Wed Oct 26 23:26:11 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.3
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   6b644ec
 Built:        Wed Oct 26 23:26:11 2016
 OS/Arch:      linux/amd64

Output of docker info:
docker@default-online:~$ docker info
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 4
Server Version: 1.12.3
Storage Driver: aufs
 Root Dir: /mnt/sda1/var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 16
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host overlay null
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 4.4.27-boot2docker
Operating System: Boot2Docker 1.12.3 (TCL 7.2); HEAD : 7fc7575 - Thu Oct 27 17:23:17 UTC 2016
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 995.8 MiB
Name: default-online
ID: LXGY:ZWCS:I6JU:QJGI:6VDP:VYDW:W75W:WUO7:YYO5:TO2D:ZDHF:B4IE
Docker Root Dir: /mnt/sda1/var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 13
 Goroutines: 23
 System Time: 2017-02-07T08:29:55.299882751Z
 EventsListeners: 0
Username: hyzhou
Registry: https://index.docker.io/v1/
Labels:
 provider=virtualbox
Insecure Registries:
 <IP_ADDRESS>/8

Additional environment details (AWS, VirtualBox, physical, etc.):

Ok so the problem seems to be;
When doing
docker login index.docker.io/namespace

cat ~/.docker/config.json
{
	"auths": {
		"index.docker.io": {
			"auth": "<redacted>"
		}
	}
}

However, when doing just docker login;
cat ~/.docker/config.json
{
	"auths": {
		"https://index.docker.io/v1/": {
			"auth": "<redacted>"
		}
	}
}

One stores credentials under index.docker.io, but the other one under https://index.docker.io/v1/

#dibs

@thaJeztah is there any trial account with private repos or a coupon so  I can  troubleshoot this?

docker@default-online:~$ docker login index.docker.io/namespace
Username: xxxxxxxxxx
Password:
Login Succeeded
docker@default-online:~$ cat .docker/config.json
{
	"auths": {
		"index.docker.io/namespace": {
			"auth": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
		}
	}
}

@thaJeztah the "auths" like this. can not pull my private repo.

@krasi-georgiev free accounts on Docker Hub come with one private repository, and unlimited public repo's.

@thaJeztah yes you are right , I was looking at the organisation repos.


[Coverity CID :188885]Error handling issues in /lib/ring_buffer/ring_buffer.c

Static code scan issues seen in File: /lib/ring_buffer/ring_buffer.c
Category: Error handling issues
Function: ring_buf_put
Component: Other
CID: 188885
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996

It's not an issue. The return can be ignored because the only possible error is covered by ring_buf_put_claim(). Though, it is always a good practice checking the return even if it is just a cast to explicit acknowledge that it can be ignore.

This coverity defect has been marked as fixed in latest scan as the file path has changed since issue creation. Pull request #14150 is still relevant.


Update blog “honoka”

Automatically generated by Netlify CMS

👷 Deploy Preview for koyomi processing.

Name
Link

🔨 Latest commit
ec627bbf6d51fd11567c79435d90cd77bb1f4a10

🔍 Latest deploy log
https://app.netlify.com/sites/koyomi/deploys/6317f7914d2db6000817118d


auto_play: never not working with ha Live Provider

Checklist:

[x] I updated to the latest version available
[x] I cleared the cache of my browser

Release with the issue:
v4
Last working release (if known):
Browser and Operating System:
Win7 Chrome x64

I was looking to use the frigate live view card instead of picture-glance however the stream buffers upon the page loading despite these settings:
type: custom:frigate-card
cameras:
  - camera_entity: camera.drive
    triggers:
      occupancy: false
live:
  auto_play: never
  lazy_load: true
  controls:
    next_previous:
      style: none
    thumbnails:
      mode: none
  draggable: false
  auto_pause: all
view:
  default: live

The result is a buffering live stream which is what I don't want:

I'm not sure why it always starts at 21 seconds as well, it doesn't take that long to load the stream.
I also had to disable play on occupancy option to stop it from playing but this doesn't stop it buffering:
triggers:
occupancy: false
Maybe this should be disabled by default?

Javascript errors shown in the web inspector (if applicable):

Additional information:

I've found Chrome can be over-eager with autoplaying, could this be the issue: https://github.com/dermotduffy/frigate-hass-card#chrome-autoplays-when-a-tab-becomes-visible-again
It would help to describe what behavior you're looking for? Why load live unless you actually want it to play? If you're just looking for an image of what live is, try the image view?

I've found Chrome can be over-eager with autoplaying, could this be the issue: https://github.com/dermotduffy/frigate-hass-card#chrome-autoplays-when-a-tab-becomes-visible-again

I'm not sure it is that. I'm refreshing the page and the live stream just starts buffering.

It would help to describe what behavior you're looking for? Why load live unless you actually want it to play? If you're just looking for an image of what live is, try the image view?

Behaviour like picture glance but with options like the menu which Frigate offers was what I was aiming for. The camera streams are high-ish res and loading this up along with event thumbnails is quite taxing, especially on mobile data. Picture glance is ideal, as it gives a frame every ten seconds and if I want to see the stream I just tap on it.
It's no big deal though, I can cope with Picture Glance for now, I just thought I'd log the behaviour as it doesn't seem what is intended by the auto_play setting.

I'm not sure it is that. I'm refreshing the page and the live stream just starts buffering.

Buffering, or playing? Buffering of a live stream is expected. Playing is not expected (if never is specified).

Behaviour like picture glance but with options like the menu which Frigate offers was what I was aiming for. The camera streams are high-ish res and loading this up along with event thumbnails is quite taxing, especially on mobile data. Picture glance is ideal, as it gives a frame every ten seconds and if I want to see the stream I just tap on it.

How is this different from the image view? Try this:
type: custom:frigate-card
cameras:
  - camera_entity: camera.drive
    triggers:
      occupancy: false
live:
  auto_play: never
  lazy_load: true
  controls:
    next_previous:
      style: none
    thumbnails:
      mode: none
  draggable: false
  auto_pause: all
image:
  refresh_seconds: 10
  mode: camera
view:
  default: image

Thanks, this could work.  I'm having some strange issues with ipad OS companion app and and live camera feeds. They stutter unless they're rewound a few seconds. Also, for some reason the stream always seems to start at 20+ seconds and I'm not sure why. I'm guessing this is a HA issue though. There does seem to be some differences between loading times with the frigate card and the picture glance though.
Here's some examples:
iPad OS with Frigate Card
iPad OS with Picture Glance
Chrome on Win x64 with Frigate Card

[Bug sweep] Card performance has been improved significantly in the new v4.1.0 branch, and a new low performance profile mode added that seeks to ~match picture glance performance. It also implements a new native go2rtc support for use with Frigate v0.12, which I think will be substantially more reliable than the ha live provider. Closing this for now, and we can re-discuss after the new release is there's still issues to be resolved.


[Feature]: bump typescript-eslint to a version which support typescript 4.6

🚀 Feature Proposal
Bump typescript-eslint version when typescript-eslint's typescript 4.6 support is released.
typescript-eslint's  typescript 4.6 support pr: https://github.com/typescript-eslint/typescript-eslint/pull/4615
Motivation
The below warning will show when running yarn test after we update typescript to 4.6.0.
 $ yarn test
=============

WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.

You may find that it works just fine, or you may not.

SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <4.6.0

YOUR TYPESCRIPT VERSION: 4.6.2

Please only submit bug reports when using the officially supported version.

Example
No response
Pitch
None

A compatible version isn't out yet, but sound be on Monday.
https://github.com/typescript-eslint/typescript-eslint/issues/4471
https://github.com/typescript-eslint/typescript-eslint/pull/4615


Consider proxying backend requests

Ideally the backend should not be exposed to the outside world. It would be nice if the frontend could proxy requests to backend internally. Perhaps we could use https://github.com/nodejitsu/node-http-proxy

Done with Openshift Routes in https://github.com/openshiftio/launchpad-templates/commit/3c29dbcbe7f78cc6368b3306188b3f523bfba08a


调度程序启动报错：KeyError: 'interval'

环境：
centos 8
python 3.6
报错信息：
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/apscheduler/schedulers/base.py", line 876, in _create_plugin_instance
plugin_cls = class_container[alias]
KeyError: 'interval'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "proxyPool.py", line 43, in
cli()
File "/usr/local/lib64/python3.6/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/usr/local/lib64/python3.6/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/lib64/python3.6/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib64/python3.6/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib64/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "proxyPool.py", line 32, in schedule
startScheduler()
File "/home/projects/proxy_pool/helper/launcher.py", line 32, in startScheduler
runScheduler()
File "/home/projects/proxy_pool/helper/scheduler.py", line 54, in runScheduler
scheduler.add_job(__runProxyFetch, 'interval', minutes=4, id="proxy_fetch", name="proxy采集")
File "/usr/local/lib/python3.6/site-packages/apscheduler/schedulers/base.py", line 408, in add_job
'trigger': self._create_trigger(trigger, trigger_args),
File "/usr/local/lib/python3.6/site-packages/apscheduler/schedulers/base.py", line 901, in _create_trigger
return self._create_plugin_instance('trigger', trigger, trigger_args)
File "/usr/local/lib/python3.6/site-packages/apscheduler/schedulers/base.py", line 879, in _create_plugin_instance
plugin_cls = class_container[alias] = plugin_container[alias].load()
File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 2317, in load
self.require(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 2340, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 779, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (zipp 0.6.0 (/usr/local/lib/python3.6/site-packages), Requirement.parse('zipp>=3.1.0; python_version < "3.10"'), {'importlib-resources'})

目测是这行代码报错的：
File "/home/projects/proxy_pool/helper/scheduler.py", line 54, in runScheduler
scheduler.add_job(__runProxyFetch, 'interval', minutes=4, id="proxy_fetch", name="proxy采集")


Datastore as stand-alone service

I need to migrate several apps from Appengine to a different platform(cloudfoundry). The issue is that most of them rely on datastore and the cost of migrating to an entirely different database would be too high.
Therefore I'm wondering: Is it possible to run datastore as a stand alone/external service with the appengine-like API/interface? More like the "cloud" REST / RPC APIs that popped up lately.
. That way I could deploy (with minimal changes) the apps on cloudfoundry or any other platform and maintain datastore compatibility.

The datastore can be run as a standalone service. Unfortunately, we don't yet have the the full REST API implemented for it. We do plan on implementing it, but for now, it just handles v3 protocol buffer requests that the runtimes generate.
Are the apps you are migrating currently running on Google App Engine? If so, do you need to move the data off of Google Cloud Platform, or just the app? If not, you can use Google's client libraries to make datastore requests directly from your Cloud Foundry app.

I need to move the data off Google Datastore too so remote access to GCP using Google's client libraries is not an option. Is there any guide how to set-up, run and access datastore as a stand alone service(i.e. how to set ACLs )?

There wasn't an existing guide, so I just opened a pull request to add the following README to the repo: https://github.com/cdonati/appscale/blob/586c9a234f337f1fd7747239c10dd4b5a6933675/AppDB/README.rst
Unfortunately, there are no ACLs set up. AppScale uses iptables to only allow connections from trusted machines.
Which language is the app written in? That can determine the easiest way to access the service as a client.

Unfortunately, there are no ACLs set up. AppScale uses iptables to only allow connections from trusted machines.

Ok, this is an easy fix.

Which language is the app written in? That can determine the easiest way to access the service as a client.

The apps are written in Go.

Start the datastore server with appscale-datastore -p x where "x" is the port you would like to start the server on. You probably want to start more than one since each can currenly only handle one request at a time.

Is there any reason for this limitation? Most databases support some kind  concurrency. Am I supposed to develop a kind of load balancer on route  the requests on various ports?

The apps are written in Go.

This might be a tricky. The way it works in AppScale, the Go app runtime is started with a configuration that points to an API proxy written in Python. This proxy translates (usually just "unwraps" the request from the RemoteAPI message) the calls from the Go runtime into requests that the datastore will understand. If you use the libraries from the Go SDK as-is, you may need to set up this proxy.
Another option would be to create the protobuf requests manually and send them directly to the datastore. In Python, for example, this can be done using the google.appengine.datastore.datastore_pb module. I'm sure a similar thing is possible with Go, but I haven't tried it.

Is there any reason for this limitation?

It's something we are actively working on fixing. The datastore is a tornado app, but it doesn't make full use of its asynchronous features. It hasn't been a huge priority up to this point since we start so many of them. The cassandra-driver can actually use quite a bit of CPU, and Python's GIL prevents the process from using more than one CPU at a time. So even if it were fully asynchronous, you'd probably want more than one server unless the usage is light.

develop a kind of load balancer

AppScale just puts them all behind an HAProxy server with a maxconn of 1 each. This works well for us even in high throughput environments (> 5000 datastore calls/sec).


When does the Odata V2 will be deprecated?

I have asked SAP on a ticket and they do not know the answer for this, can you please help me out here?
I have a CAP NodeJS application that is currently using Odata V2.
Regards,
Silas.

I know, that CAP documentation recently states that OData V2 is deprecated. I don’t like that wording, and would more see the formulation of “OData V4 is recommended”.
There is still active development for OData V2, and SAP also still has many, many OData V2 applications.
I currently don’t see the plan and necessity to migrate all OData V2 based apps to OData V4 using Fiori Elements V4. In addition still, some features are not available on CAP Node.js for OData V4, like Tree-Table support.
So I think OData V2 and Fiori Elements V2 will be still around for a long time.
Deprecation means here, that you probably should not use it, when you start fresh for green-field apps, but for existing apps, continuing using it is fine from my point of view.
But there is no end date of deprecation, where the support for OData V2 and Fiori Elements V2 is ended, this is not in discussion.


[CI] Pin specific rustfmt version

Pins a specific nightly version to fix errors in CI regarding version mismatch.
Also reorders the check flow to move formatting to the 2nd last place.

You need to specify the specific version after cargo. So cargo +nightly-2023-03-01 fmt

Thanks, it works, I expected it to automatically pickup the version.


error with Layout.ts

I'm trying to integrate Solana Pay, making a pop up form that would generate an customized qr code for payments.
I get the following error (1) when import of sol-pay is enabled and the console points towards the line import (2)
Installation of package was done using npm
Is there a Solution?
(1)

(2)

This sounds like a problem with Vite's default config or your project config. Another user reported an issue with Vite in https://github.com/solana-labs/solana-pay/issues/66
Unfortunately I can't help with issues that are specific to build toolchains we don't use within the project. We build the point of sale app with Parcel and it works without additional config.

npm install -S @solana/buffer-layout
resolved the error for me
for reference

the above solution worked for me - I ran into the issue using a Mac M1 chip as well.


Consider creating a CMake Module for SPERR

so it's easier for other projects to include SPERR.
This might have implications on how to make a SPERR shared library.

Not sure what benefit it would provide, so closing.


CityEngine SDK do not support shape or gdb as input? Why?

CityEngine support shapefile and gdb as input shape. However, i check the build-in encoders(https://esri.github.io/cityengine-sdk/html/esri_prt_codecs.html), as the following pictures:

There is no shapefile and gdb, i want to ask why? Is cityengine sdk not support, or i have misunderstood?
I hope hear from you soon, thank you!

Hi & happy new year!
The "Esri Shapebuffer Encoder" produces the raw multipatch/multipart/... byte arrays. Writing the actual container files to disk (e.g. Shapefile or FileGDB) is not part of the CityEngine SDK (PRT) and left to the host application.
There are separate C/C++ SDKs/APIs available to write the container files:

To write FileGDBs you can use the separate FileGDB API, also available on github: https://github.com/Esri/file-geodatabase-api/tree/master/FileGDB_API_1.5.1
To write Shapefiles you can use http://shapelib.maptools.org

Background: if the format allows, we usually abstract direct disk I/O away from our encoders. This makes them more versatile, e.g. storing the encoded bytes into a custom database instead of plain files.

Hi & happy new year!
The "Esri Shapebuffer Encoder" produces the raw multipatch/multipart/... byte arrays. Writing the actual container files to disk (e.g. Shapefile or FileGDB) is not part of the CityEngine SDK (PRT) and left to the host application.
There are separate C/C++ SDKs/APIs available to write the container files:

To write FileGDBs you can use the separate FileGDB API, also available on github: https://github.com/Esri/file-geodatabase-api/tree/master/FileGDB_API_1.5.1
To write Shapefiles you can use http://shapelib.maptools.org

Background: if the format allows, we usually abstract direct disk I/O away from our encoders. This makes them more versatile, e.g. storing the encoded bytes into a custom database instead of plain files.

Hi & happy new year!
The "Esri Shapebuffer Encoder" produces the raw multipatch/multipart/... byte arrays. Writing the actual container files to disk (e.g. Shapefile or FileGDB) is not part of the CityEngine SDK (PRT) and left to the host application.
There are separate C/C++ SDKs/APIs available to write the container files:

To write FileGDBs you can use the separate FileGDB API, also available on github: https://github.com/Esri/file-geodatabase-api/tree/master/FileGDB_API_1.5.1
To write Shapefiles you can use http://shapelib.maptools.org

Background: if the format allows, we usually abstract direct disk I/O away from our encoders. This makes them more versatile, e.g. storing the encoded bytes into a custom database instead of plain files.

OK，glad to hear from you. Thanks for you advice, i will try it. You can close this issue now.

Hi & happy new year!
The "Esri Shapebuffer Encoder" produces the raw multipatch/multipart/... byte arrays. Writing the actual container files to disk (e.g. Shapefile or FileGDB) is not part of the CityEngine SDK (PRT) and left to the host application.
There are separate C/C++ SDKs/APIs available to write the container files:

To write FileGDBs you can use the separate FileGDB API, also available on github: https://github.com/Esri/file-geodatabase-api/tree/master/FileGDB_API_1.5.1
To write Shapefiles you can use http://shapelib.maptools.org

Background: if the format allows, we usually abstract direct disk I/O away from our encoders. This makes them more versatile, e.g. storing the encoded bytes into a custom database instead of plain files.

OK，glad to hear from you. Thanks for you advice, i will try it. You can close this issue now.


Add optional dependencies file

Summary
This PR adds requirements-extras.txt which contains extra packages that can be installed as [extras] and were mostly moved from requirements-dev.txt. These are in contrast to the core dependencies in requirements.txt and the requirements that are only used for tests, which will stay in requirements-dev.txt.
Details and comments
While the optional packages are not related to each other, it seemed too complicated to split out optional dependencies into further categories.
There are a few additional changes:

Added qiskit-ibm-provider>=0.6.1 as an optional dependency since this release adds numpy serialization, which fixes some known bugs with circuit metadata serialization (see also #1176)
Unpinned scipy (done in  #1164) and bumped cvxpy to 1.3.2, which is now compatible with scipy 1.11
Removed matrix variables from CI workflow that doesn't use them
Updated install and contributing instructions

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


Automatically check for new releases

call to: https://api.github.com/repos/JK3Y/NPS-Browser-macOS/releases/latest gives us the info about the latest release.
parse the json
compare new release tag with current app release version
release > current = update
release = current = up to date


Release 5.0.0 to CAPN in 29th Feb.

29th February 2024
Sisimai-5.0.0.tar.gz
https://twitter.com/libsisimai/status/1760605056607649953

https://metacpan.org/dist/Sisimai


Added new function to get the raw attributes of a server rather than …

…specific abstracted attributes.
I found that I wanted to use the raw "state" attribute, as well as possibly some of the other data in a raw format, so I added a quick function to do that.

Hello there, i have been working on V2 of Nodeactyl and getServerState is already a implemented function :) So i wont merge this pull request, if V2 wasn't in the making this would be merged though :) Thank you for your contribution to Nodeactyl!


Allow user to configure nodeSelector for Workbench API server

Problem
Fixes https://github.com/cheese-hub/cheesehub/issues/18
Approach
Add a config option to apiserver.json to allow the user to override the nodeSelector assigned to spawned applications/stacks.
How to Test

Clone / checkout this branch
./build.sh local
Update apiserver.json to point at your Kubernetes API, clear out the values for nodeSelectorName / nodeSelectorValue

This should run stacks/applications on any node

Start your apiserver, then switch to a second terminal
Run the tests in the postman/ directory in your second terminal, then switch to a third terminal
While the tests are running in the background, use your third terminal to kubectl get pods -n test --watch

Wait for the tests to enter the "StartStack" test case
You should see a pod appear under the result for kubectl get pods

Quickly, before it disappears, run kubectl get pods -n test -o yaml

Confirm that nodeSelector is not present

Stop the tests, shut down your API server, and change apiserver.json to specify a nodeSelectorName and nodeSelectorValue (e.g. fake-node-role=asdf)
Rerun the server and the tests with the new configuration

This time, your pods should stay in Pending and cannot be scheduled

Run kubectl get pods -n test -o yaml before the pod shuts down

This time, you should see a nodeSelector matching your desired label

Works as advertised.


Can autocompletion be updated dynamically?

When I commented all the style sheet sources in the nvim-cmp config

After I uncommented the link in html source file, I couldn't get the completion instantly

When I re-entered the nvim, it appeared.
Also, if I add it to the source of cmp, my completion items will be doubled. Is this how it supposed to be?
Btw, css files seem to be updated correctly.

That is a bug, the plugin needs improvements, I am busy  last couple of weeks, but I will start improving plugin asap.

Actually this is not a bug, it is not possible to change the editor settings and see the results without opening the editor again. As for the html and css files, it is possible because they are not part of the editor and its settings.


Add e2e build tag to golangci-lint commands

To ensure test/e2e package is checked

This first commit should fail the lint CI job, will fix with another commit

Huh i get different errors locally with golangci-lint 1.38.0, maybe that one should be merged first 🤔

Ok this PR is passing b/c it only finds new issues, will make some changes to fix existing errors I find locally without the new issues flag


"failed to get a buffer from the pool"

Hi,
when I run pylepton_overlay I'm getting error message "PiCameraRuntimeError: failed to get a buffer from the pool"
Pylepton_capture works well, raspistill -o image.jpg is working too.
any advice?
Thanks!

Did you solve this problem?

Unfortunately I did not solve it, I bought http://www.flir.com/suas/duo/

2017 v 17:52, Kurt Kiefer<EMAIL_ADDRESS>

Did you solve this problem?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/groupgets/pylepton/issues/9#issuecomment-343750635, or mute the thread https://github.com/notifications/unsubscribe-auth/APN95f7M7eEQXF3eSen3xYfEDoFLlNoSks5s1yJqgaJpZM4MMjfU.


Background service for get call when app killed or background

Hi is There any background service for handle your listener with getting call-in the background or foreground..

@krishna11124
You can use push notification to start an application via push and init all listeners. Also check our docs - CallKit may be helpful for your case.


Django core bulk_create / bulk_update improvements

👋  @M1ha-Shvn!
Given your work on this library I figured you'd be interested in this change to have bulk_create use UNNEST in Django core and planned improvements to bulk_update to use database-specific syntax instead of CASE / `WHEN.
Any feedback you might have would be welcome, thanks!

Hi, I'd try to have a look a little bit later, but I'm not too much familiar with django's core code. So I don't think I can provide any help there

The main things I still lack in django's current bulk_update/bulk_create implementations are:

Returning field values. It's a very common case when I want to bulk update or create something and return at least ids of updated tuples. Sometimes I also need other field values or values computed during inserts/updates. The simplest example - is the result of Now() function. PG gives it "from the box" with RETURNING clause. I'm not sure about other databases.
Creating lots of unnecessary model objects in order to perform a query. If I have lots of data to insert, it can lead to higher memory and CPU consumption.

Both of these are reasonable requests!
On 1. I think it is planed to be worked on at least partially to support generated fields and expressions and I don't think it would be a huge lift to allow dict to be provided instead of model instances.


Resource not found after assigning identity to web app

Hi,
in the tutorial you have those steps to create a managed identity and then assign the created service principal to an ad group:
az webapp identity assign --resource-group myResourceGroup --name <app-name>
groupid=$(az ad group create --display-name myAzureSQLDBAccessGroup --mail-nickname myAzureSQLDBAccessGroup --query objectId --output tsv)
msiobjectid=$(az webapp identity show --resource-group myResourceGroup --name <app-name> --query principalId --output tsv)
az ad group member add --group $groupid --member-id $msiobjectid
az ad group member list -g $groupid

If I use an existing group instead of creating a new group like that and:
 az ad group member add --group $groupid --member-id $msiobjectid-
or try to get the principal from ad like that:
    $servicePrincipal = az ad sp show --id $msiobjectid
Where $adGroupName is an existing group. And then try to assign the created principal, I often get the error:
az : ERROR: Resource 'msiobjectid' does not exist or one of its queried reference-property objects are not present.
Where 'msiobjectid' is the acutal GUID of the service principal.
If I put a sleep between the identity assign call and the assignment of the service principal to the group like that:
Start-Sleep -s 15
It always works. Is this your recommendation or can I somehow make sure that the service principal exists after assigning the identity to a web app (except for polling in a loop until the az ad show command returns no error)
Thanks in advance
best regards
Hannes

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

ID: 31b0d33c-f88e-d50c-2926-7933940f3b92
Version Independent ID: 4aaef906-f501-6947-5d23-1b704470f09d
Content: Tutorial: Access data with managed identity - Azure App Service
Content Source: articles/app-service/app-service-web-tutorial-connect-msi.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@HannesWurm Thanks for the question. We're investigating this and will get back to you shortly.

@HannesWurm Thanks for the feedback. Since the issue is around behavior of specific Azure CLI commands, it would be best addressed in the Azure/azure-cli repository. I've opened an issue for our Engineering Team to investigate. Please track further updates to this issue here: https://github.com/Azure/azure-cli/issues/19164. Please run the az feedback command from your local machine and add the generated template to the GitHub issue to add the complete error details.
We will now proceed to close this thread as this channel (the Azure Docs repository) is only for driving improvements related to the Azure documentation. However, if there are any further questions regarding the docs, please tag me in your reply and we will be happy to continue the conversation.


C core dies after "Address already in use" message.

Seen this when running one of the C# tests. It looks like
(tcp_server_posix.c:284)  prepare_socket  returns -1 and from there things start to go wrong until it finally dies in grpc_server_add_insecure_http2_port.
***** Grpc.Core.Tests.TimeoutsTest.DeadlineInThePast
Stacktrace:

Native stacktrace:

	/usr/bin/mono() [0x4b73d8]
	/usr/bin/mono() [0x50f13b]
	/usr/bin/mono() [0x423d22]
	/lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7f4e64666340]
	/usr/local/google/home/jtattermusch/github/grpc/libs/opt/libgrpc.so.0(grpc_tcp_listener_get_port+0) [0x7f4e42b95620]
	/usr/local/google/home/jtattermusch/github/grpc/libs/opt/libgrpc.so.0(grpc_server_add_insecure_http2_port+0xbe) [0x7f4e42ba0bce]
	[0x4013b1a1]
E12/14/2015 8:47:44 AM<PHONE_NUMBER>72480 src/core/iomgr/tcp_server_posix.c:284: bind addr=[::ffff:<IP_ADDRESS>]:58084: Address already in use
Debug info from gdb:

@ctiller  for triage.

How recently did you see this? I thought I had this fixed in #4433.
On Mon, Dec 14, 2015 at 9:01 AM Jan Tattermusch<EMAIL_ADDRESS>wrote:

@ctiller https://github.com/ctiller for triage.
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/issues/4446#issuecomment-164494769.

I just rebased to the freshest master and I am still seeing this.
Looks like there's some extra debug info:
E12/14/2015 9:18:08 AM<PHONE_NUMBER>39968 src/core/iomgr/tcp_server_posix.c:284: bind addr=[::ffff:<IP_ADDRESS>]:58775: Address already in use
E12/14/2015 9:18:08 AM<PHONE_NUMBER>39968 src/core/surface/server_chttp2.c:116: assertion failed: port_num == port_temp

Native stacktrace:

	/usr/bin/mono() [0x4b73d8]
	/lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7f9c9cbe6340]
	/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x39) [0x7f9c9c847cc9]
	/lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7f9c9c84b0d8]
	/usr/local/google/home/jtattermusch/github/grpc/libs/dbg/libgrpc.so.0(grpc_server_add_insecure_http2_port+0x199) [0x7f9c7af9786a]
	/usr/local/google/home/jtattermusch/github/grpc/libs/dbg/libgrpc_csharp_ext.so(grpcsharp_server_add_insecure_http2_port+0x23) [0x7f9c7b3ead59]
	[0x40d120a1]

How do I repro?

I am in the middle of doing some C# testing work, but here's my branch:
https://github.com/jtattermusch/grpc/tree/csharp_test_restructuring
If I run  tools/run_tests/run_tests.py -c dbg -l csharp -S -n 10 I am pretty much guaranteed to see the problem. Now looking at the core dump.

By the time the assertion fails:
(gdb) print port_num
$1 = 58775
(gdb) print port_temp
$2 = 0

(gdb) print listener
$3 = (grpc_tcp_listener *) 0x0

I think the 'port_temp >= 0' condition should be 'port_temp > 0'
On Mon, Dec 14, 2015 at 9:26 AM Jan Tattermusch<EMAIL_ADDRESS>wrote:

(gdb) print listener
$3 = (grpc_tcp_listener *) 0x0
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/issues/4446#issuecomment-164502028.

(can you check - this will also need fixing in server_secure_chttp2.c)
On Mon, Dec 14, 2015 at 9:30 AM Craig Tiller<EMAIL_ADDRESS>wrote:

I think the 'port_temp >= 0' condition should be 'port_temp > 0'
On Mon, Dec 14, 2015 at 9:26 AM Jan Tattermusch<EMAIL_ADDRESS>wrote:

(gdb) print listener
$3 = (grpc_tcp_listener *) 0x0
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/issues/4446#issuecomment-164502028.

From grpc_server_add_insecure_http2_port:
for (i = 0; i < resolved->naddrs; i++) {
    grpc_tcp_listener *listener;
    listener = grpc_tcp_server_add_port(
        tcp, (struct sockaddr *)&resolved->addrs[i].addr,
        resolved->addrs[i].len);
    port_temp = grpc_tcp_listener_get_port(listener);
    if (port_temp >= 0) {
      if (port_num == -1) {
        port_num = port_temp;
      } else {
        GPR_ASSERT(port_num == port_temp);
      }
      count++;
    }
  }

What happens:
grpc_tcp_server_add_port returns null,  grpc_tcp_listener_get_port therefore returns 0. Then things go wrong.

Yep, I will try and create a PR if needed. Thanks for help.


Cannot resolve symbol GlideApp

Getting a "cannot resolve symbol GlideApp" on this import line
import subreddit.android.appstore.util.ui.glide.GlideApp;

I think this is happening because of #155, GlideApp is a generated class that doesnt appear if anything goes wrong during compile


[FIX/UI] Landing Page Button Consistency

Signed-off-by: Prathamesh-Shanbhag<EMAIL_ADDRESS>Description
Button width fixed to match content length
This PR fixes #805
Notes for Reviewers
Signed commits

[ x] Yes, I signed my commits.

Congratulations @Prathamesh-Shanbhag for your first PR merge!! :balloon:


Using Librclc Needs Header Files

If you use a language like C or C++ which uses the header files, rclc can obviously be used. However, for other programming languages which are able to use libraries, but are not C-compatible, the library file alone is not enough to use rclc.
This is mostly, because the current design expects stack allocated data structures of the correct size when calling rclc functions and partly because some defines are needed. The data structures are only managed by the caller and the caller does not need to introspect them beyond calling rclc functions.
Thus, rclc's API should be extended to do heap allocation itself, if explicitly requested, and to provide the define values during runtime to enable this use case.

Thus, rclc's API should be extended to do heap allocation itself, if explicitly requested, and to provide the define values during runtime to enable this use case.

Considering the real-time requirements, the design philosophy of the rclc library is to minimize runtime dynamic memory allocation as much as possible. Therefore, many data structures are pre-allocated with fixed sizes. The proposed solution seems to violate this design philosophy.
Some examples  can be found in https://github.com/ros-realtime/roscon-2023-realtime-workshop/blob/main/Realtime workshop ROScon 2023.pdf


Automatically add subproofs to parallelized execution once they become available

Waiting on https://github.com/runtimeverification/pyk/pull/654

Closing due to age.


docs: component status table refactor

Closes #973
What I did

Renamed the shortcode and data file from componentStatus to repoStatus
Updated the CSV file to reflect the new table structure
Updated the shortcode template according to the design spec
Added csv as a new data extension for eleventy to detect and parse
Since we were no longer parsing the CSV at the time we were adding it in the elementDocs collection, I needed to pull the repoStatus global data into it via the collectionApi (referenced: https://github.com/11ty/eleventy/issues/775#issuecomment-671322087).
I didn't see why the shortcode had to be a paired shortcode, so I removed that and updated all instances. It just seemed cleaner to me, so this part is definitely revertible if there's reasoning behind the paired approach.

Testing Instructions

Verify that I migrated the CSV file data correctly. WebRH maps to Drupal/FTS repo and WebDMS maps to Studio repo.
Verify that the tables appear in all the spots where the shortcode is declared and that it matches the design spec in the linked issue.

@eyevana Looks good, but can we ensure the table headers are 14px and the table text is 16px?

@eyevana Looks good, but can we ensure the table headers are 14px and the table text is 16px?

Done! The table body should have a font-size of 16px now


[Feature][Document] Refactor the Resource Center Document

Purpose of the pull request
close #8301

PTAL @zhongjiajie

Ask our tech document expert @Tianqi-Dotes  for help.

CI Image check failed, it seems you miss the images named /img/file_detail.png

CI Image check failed, it seems you miss the images named /img/file_detail.png

When CI detects the picture, it will judge the wrong picture if it finds that the picture is not used? Will it affect the use of these images in previous versions?

When CI detects the picture, it will judge the wrong picture if it finds that the picture is not used? Will it affect the use of these images in previous versions?

BTW, when there have unused imgs, you could run the command python img_utils.py -vv prune in directory docs to auto remove them


Manila: trustee authentication + custom CAs

What this PR does / why we need it:
Adds support for trustee authentication and supplying custom CAs.
The OpenStack Secret may now contain:

os-trustID, os-trusteeID and os-trusteePassword for trustee auth
os-certAuthority and os-TLSInsecure for supplying a custom CA, and optionally allowing it to be insecure

Release note:

NONE

/cc @dims @hogepodge @flaper87

/ok-to-test
@gman0

Do you have someone who knows manila well and can review the patch and +1 it?
Can you please setup some automated tests so we know the changes going in work? (join #askopenlab on freenode and ping RuiChen, liusheng etc - beware they are in china time zone)

Someone might want to check in addition as we've iterated internally for this. I've built the image and tested it locally in Magnum managed clusters, including:

share creation using secrets with username/project/password
share creation using secrets with trustee
auto provisioned (reclaim policy delete and reclaim)
using specific share names

lgtm
Agree it would be nice to add automated tests.

/test cloud-provider-openstack-acceptance-test-e2e-conformance-stable-branch-v1.11

@dims Sure! I'll start working on those later next week.


Task does not finish on macOS 10.13.3

When running any task (other that just simple 'ls -al') the task ends but Command Pad never notice that terminal exit and keeps icon in "running" state forever.

I can't reproduce it by adding a command ls -al. It notifies and icon back to gray. Could you provide more info?

Such as your command config screenshot.

I wrote "other than just simple ls -al". Try something that takes few seconds to complete. I can reproduce it with just "sleep 3" command.

Suprisingly enough, I found. workaround. When you wrap a command that takes more than few seconds to "time" command (eg. "time sleep 3") then it works fine.

Sorry that I misunderstood the case... But sleep 3 still works for me, without "time" before it.

It seems to be resolved by yesterday's update to macOS 10.13.4. Works fine now.


Feature request: GraffSDK.ls flexibility and multisession / agent

GraffSDK.ls(robotId, sessionId; getEstimates=:max/:mean/:default/:none, ...)

Ref: #98 for softtype.
For the MAP, mean etc. I need those to then be populated into the graph. That's a Caesar change.


output_path should default to path/to/file

Expected behavior
When trying to convert a file, if output_path is not supplied, output_path should automatically be set to the same directory of the file being converted, using the same file name, sans extensions.
Example
path/to/myFile.xls --> path/to/myFile.xml
Actual behavior
output_path is a required argument

sans extensions

changed to .xml right?

Yep! I updated my original post to be more clear, thanks.


Styling

Decide on styling for application
Implement styling

Instructions from project requirements:
Instead of using a CSS library like Bootstrap, consider one of the following suggestions:
Look into the concept of CSS-in-JS, which abstracts CSS to the component level, using JavaScript to describe styles in a declarative and maintainable way. Some popular libraries include styled-componentsLinks to an external site. and EmotionLinks to an external site..
Try using a component library, such as Semantic UILinks to an external site., Chakra UILinks to an external site., or Ant DesignLinks to an external site..
Create all the CSS for your application just using CSS.

On Sunday, September 25, my tutor recommended using React-Bootstrap because we're still very new at using React and GraphQL. She said this is a big project and introducing a new styling could be difficult.


refactor: cdn build configs

Description
Please include a brief summary of the change.
Type of change

[ ] Chore (non-breaking change that addresses non-functional tasks, maintenance, or code quality improvements)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Associated Issues
For Linear issues: Closes APKT-xxx
For GH issues: closes #...
Showcase (Optional)
If there is a UI change include the screenshots with before and after state.
If new feature is being introduced, include the link to demo recording.
Checklist

[ ] Code in this PR is covered by automated tests (Unit tests, E2E tests)
[ ] My changes generate no new warnings
[ ] I have reviewed my own code
[ ] I have filled out all required sections
[ ] I have tested my changes on the preview link
[ ] Approver of this PR confirms that the changes are tested on the preview link

Already handled in https://github.com/reown-com/appkit/pull/3174


[Script]: Image to ASCII Art Converter

Aim
This is a Python script that converts an image into ASCII art.
Details
It takes an image as input, resizes it, converts it to grayscale, and then generates an ASCII art representation of the image using a predefined set of ASCII characters.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

/assign


Exposing line interpolator functions

I'm currently working on a charting library that would benefit from having direct access to the interpolation functions available for d3.svg.line/area. Would it be reasonable to create a pull request that does the following:

Break out the interpolators from svg/line.js and puts them into svg/interpolators.js
Refactor the default available interpolator functions from d3_svg_lineLinear to d3.svg.interpolators.linear and so on.

Thoughts?

I’m probably on board with this, though I want to think through the API a little bit before we make it public.
Could you elaborate a little bit on how you plan on using these methods? I’m also curious whether it’s necessary to expose these methods directly, or to just use a d3.svg.line instance to do the interpolation for you?

We expose an .interpolate method, like d3 does, but it only takes in functions as a parameter, as opposed to either a function or a string. The reasons we chose to do this are because we wanted:

consistency between the getter/setter methods (you always get/set a function)
to not be tied to strings specified in d3 that correspond to interpolation functions.

Using a d3.svg.line instance for retrieving interpolation functions seems a little problematic because one would end up creating an instance for no reason other than retrieving instance functions that should have been static in the first place.  In addition, given that the interpolation functions are also being used on d3.svg.area, separating interpolators into a higher level (d3.svg.interpolator) might be a cleaner approach.

Moved to d3/d3-shape#13 for 4.0.


Routing Bug: Github FUNDING.yml does not work as intended

I am using polar.sh here and the Polar sponsor button is appearing as intended, however, it has an issue where I go to the url https://polar.sh/nestri which shows a 404 error page

But if i add a hyphen at the end of the url http://polar.sh/nestri/ it works as intended

Am I missing something?

It works now, all i had to do was go to "customise" tab and change a color.
I hope this gets added to the steps to set up a polar account.


Make entry page responsive using Bootstrap

Adding responsive home page with required styles along with bootstrap 4. Reference - https://github.com/KamandPrompt/baat-cheet/pull/86
Issue : #66
Reference conversation: #70 (comment)
Summary of changes:
Updated all files in master branch from files present in 70-merged branch.
Testing:

[x] Tested responsiveness in Google Chrome
[x] Tested responsiveness in Mozilla Firefox

Merged @kots14. You really did a great job here. :rocket:


Update Dockerfile

Testing my 1st PR from nocritical to main branch

Can one of the admins verify this patch?


pure_localization_trimmer is on but keeps building the map and no pure localization mode

Pure localization behaviour is not correct.
Although pure_localization_trimmer is on, cartographer keeps rebuilding the map.
Video attachment and Image

localization .lua params are:
TRAJECTORY_BUILDER.pure_localization_trimmer = {   max_submaps_to_keep = 3, } POSE_GRAPH.optimize_every_n_nodes = 20
launch file is a bit tricky, I'm comparing cartographer trajectory with ground truth, so having two different ns.
This might be an issue.
Also attaching .bag file and urdf_launch_pbstream.zip
Any suggestions, tips would be appreciated, also feel free to ask any additional info.
Thanks to Cartographer and ROS community!

Similar #1015

cartographer_ros and cartographer aren't outdated
I'm using:
TRAJECTORY_BUILDER.pure_localization_trimmer = {
max_submaps_to_keep = 3,
}

But if uncommenting trigger straightly from cartographer/configuration_files/trajectory_builder.lua, pure localization works.
I'm having two .lua files, when wood_car_2d_localization.lua includes wood_car.lua with options, maybe this could be the reason. (conflict?)

Me too,so sad.

I am using ros2 dashing, cartographer from branch ros2 with commit https://github.com/googlecartographer/cartographer/commit/3b513dfe68dd25df966a841c65058a5f4c1301cf and cartographer_ros from branch dashing with commit 001f3970fde9c2080f2ba9a0ef76950ec3fbef93.
The option TRAJECTORY_BUILDER.pure_localization_trimmer does not exists for me.
Setting TRAJECTORY_BUILDER.pure_localization = true results in the already mentioned behavior, that cartographer still creates a map, so overriding the loaded one.
Does anyone has some clues why the pure localization mode does not work as expected. Or do i misunderstand the mode?

@Maibaf doesn't work for me this way... Are you loading the .pbstream map frozen?

Fixed by decerasing POSE_GRAPH.constraint_builder.sampling_ratio and
increasing POSE_GRAPH.global_sampling_ratio, based on 1258 comment, closing.

@artemiialessandrini

@artemiialessandrini
Hi!
I'm also playing with the pure localization mode of Cartographer. However, I'm wondering the exact working principle of the pure localization, where three possible explanations (I assumed) are listed below for your reference:

In the Cartographer ROS Localization-only documentation, it says that "the localization-only mode of Cartographer which will run SLAM against the existing map and won’t build a new one". Does this mean that when runing the pure localization mode, actually the Cartographer is running a new SLAM process without updating the map?

When running the pure localization mode, is the submap matched with the pre-built overall map of the environment? If so, then maybe parameters like mapping_constraints_constraint_builder_{2d, 3d}_constraints and mapping_constraints_constraint_builder_{2d, 3d}_scores are used to judge whether the pure localization is successful? Details you may refer to this 1258 comment

Do you have any idea what parameter is the global_localization_min_score? The Cartographer configuration file says it is the "Threshold below which global localizations are not trusted". However, may I understand this as a threshold to measure whether the pure localization is successful or not? An example value is set at global_localization_min_score = 0.6 in pose_graph.lua

What is your opinion? Any hint or advice is appreciated.
Thanks!
Best Regards,
William


fix(github): correctly convert file: URL to path

Needed for https://github.com/nodejs/node/pull/48409
When the path contains URL-significant chars (e.g. %, ?, #), it breaks the reporter. Also, using require.resolve to resolve relative paths will be problematic as it would resolve it relatively from the current reporter module instead of the CWD. Using path.resolve should be a better fit.

friendly ping @MoLow 🙏🏼


Revert bluetooth firmware update

See https://github.com/balena-os/balena-raspberrypi/issues/779

@resin-jenkins retest this please

@resin-jenkins retest this please

@balena-ci I self-certify!


Bug: New user gets redirected to signup page again after login!

A new user gets redirected to register screen after login and closing "My Profile".
Once a user logs in, he/she should be able to access the register page after logout!

These two Problems are related and single change can fix both of these!

Will Issue a PR when to fix it once my previous PR is merged.


better name for @readonly decorator

The @readonly decorator should be renamed as it can confuse newcomers that the method itself is "readonly". The fact is that it has the opposite meaning of the read-only.
Feel free to add your ideas as a single comment so we can easily vote.

overwrite_on_readonly

not_readonly

if_readonly


Support virtual relative path "~" symbol in URL link type for tabs.

Very often, administrators use the External URL Link type when creating internal links where they need to specify querystring parameters to an internal page or need to link to a child portal alias.  Supporting the virtual symbol "~" in the URL means that the full path and "http/https" designation does not need to be hardcoded in the URL and can therefore make it much easier to manage links between stage and production environments where the portal alias and SSL strategy is different.

You're going to need to create a JIRA issue for this before we can accept the pull request.
I like this idea (we've run into the same thing).  The implementation seems pretty simple, though.  I've got to believe that there's somewhere else in the framework that's looking at the Url property of a tab.  Also, what about consumers outside of the framework?
Perhaps it would be better to add an "internal URL" link type, in addition to the external URL link type, and really treat this scenario as a fully supported option.  While adding ~ support helps you, no one else is ever going to know that it's an option, unless we change the UI to indicate that it's supported.

This can't be used as coded.  There are many references to Tab.Url in the framework - including in the URL rewriter.  At a minimum, those references would need to each be evaluated to determine if they should use the URL property or the FullURL property (in some cases it is just an IsNullOrEmpty check which is ok).
I think the better way to handle this is to create a new TabType.RelativeUrl.  This would allow everyone to detect this new format and then handle it appropriately.

For reasons noted by Joe, closing this out. If interested, please resubmit with the necessary changes (and please start w/ 8 branch).


porch: porch-server crash with "concurrent map iteration and map write"

Expected behavior
No crashing.
Actual behavior
porch-server crashed with "concurrent map iteration and map write" and "fatal error: I0512 17:06:29.730904       1 watch.go:238] sending watch event {MODIFIED 0xc000524d20}".
Information
This is during some testing of PackageVariantSet / PackageVariant. In that testing, there were a bunch of errors like incorrect CRDs loaded, missing permissions, etc. that led to a lot of churn of resource creation, deletion, and error handling code getting exercised a lot.
Logs attached, also available at https://cloudlogging.app.goo.gl/q4nwxkeYcfeWtMnn6 - let me know if you need permissions, I think some folks have them to that project already.
This is using a dev build of Porch, though there are no changes in Porch Server compared to v0.0.17, only in the controllers.
downloaded-logs-20230512-115730.json.gz

Seems to be happening periodically:

I will try to take a look at it. I addressed some concurrency issues in https://github.com/GoogleContainerTools/kpt/pull/3900, but clearly there are some remaining issues.

Hi, I have the same issue. But in my scenario, it doesn't happen periodically. It happens once in a while. I am not really sure if it has anything to do with any sysctl limits but in case it is needed I can provide them.
Here are the porch-server logs.
To re-produce:
I have encountered this problem in Nephio which uses porch-server.

I have an experimental build, I am trying it out. But if you want to try it out, you can:
k -n porch-system edit deployment porch-server
change the deployment to image: nephio/porch-server:jbelamaric and also set imagePullPolicy: Always so that if I push another one we just have to restart the deployment.

Perfect, I am trying it now. I will share the output after observing it for a couple of hours.

I am still seeing the same crash in my environment.

So, what I am seeing in the latest crashes is that the API server code is serving up a resource, presumably directly from cache because there is no porch-specific code in the call stack, it's all API machinery stuff. It's trying to render the ObjectMeta.Labels field, and detecting a change in that map during iteration, right here:
https://github.com/kubernetes/apimachinery/blob/dd46389197a396927dadb194ae5fc9dbebeb5a31/pkg/apis/meta/v1/generated.pb.go#L2715
This is in my experimental build which is based on newer libs than the released code. So, I am looking at the other goroutines running and seeing which may have touched the metadata.Labels.

ok, new experimental build out - if you want to try it then k -n porch-system rollout restart deployment porch-server should be sufficient. I have it running in my environment now, I'll let it run for a while and see if I found the problem.

I don't have the same behavior so far. It is been running for 3 hours now. I think we have different kinds of workloads in our clusters. Probably it will be good to have a similar environment.

Okay, even I have a crash now. I will try the new image.

So far running 8 hours, no crashes :crossed_fingers:
ubuntu@nephio-r1-e2e:~/test-infra/e2e/tests$ k -n porch-system get po
NAME                                READY   STATUS    RESTARTS   AGE
function-runner-7c5766c7d6-262hr    1/1     Running   0          9d
function-runner-7c5766c7d6-vw6d8    1/1     Running   0          9d
porch-controllers-c694cd64d-566p7   1/1     Running   0          9d
porch-server-589c488f-q8xj5         1/1     Running   0          8h
ubuntu@nephio-r1-e2e:~/test-infra/e2e/tests$

And a second instance, which ran through the entire Nephio e2e suite, is also running with no crashes for the last 2+ hours:
ubuntu@nephio-experimental:~$ k get po -n porch-system
NAME                                 READY   STATUS    RESTARTS   AGE
function-runner-7b94ccf78-8dqvd      1/1     Running   0          136m
function-runner-7b94ccf78-s5f6k      1/1     Running   0          136m
porch-controllers-84df9d8f4b-b2n94   1/1     Running   0          136m
porch-server-597dc9cc88-gpx2x        1/1     Running   0          136m
ubuntu@nephio-experimental:~$

I have been running it for 2 days and 11 hours and I see a crash, but the logs are a bit different this time. Did you change the logging level?
kubectl get pods -n porch-system
NAME                                READY   STATUS    RESTARTS      AGE
function-runner-7c5766c7d6-jw2dh    1/1     Running   0             2d15h
function-runner-7c5766c7d6-q7n8z    1/1     Running   0             2d15h
porch-controllers-c694cd64d-9896k   1/1     Running   0             2d15h
porch-server-5776796488-kxwwv       1/1     Running   1 (38m ago)   2d11h

I see this in the logs
E0814 05:14:35.311801       1 apf_controller.go:411] "Unable to derive new concurrency limits" err="impossible: ran out of bounds to consider in bound-constrained problem" plNames=[workload-low catch-all global-default leader-election node-high system workload-high] items=[{target:NaN lowerBound:41 upperBound:845} {target:13 lowerBound:13 upperBound:613} {target:24 lowerBound:24 upperBound:649} {target:25 lowerBound:25 upperBound:625} {target:73 lowerBound:73 upperBound:698} {target:50 lowerBound:50 upperBound:674} {target:49 lowerBound:49 upperBound:698}]
E0814 05:14:45.315947       1 apf_controller.go:411] "Unable to derive new concurrency limits" err="impossible: ran out of bounds to consider in bound-constrained problem" plNames=[system workload-high workload-low catch-all global-default leader-election node-high] items=[{target:50 lowerBound:50 upperBound:674} {target:49 lowerBound:49 upperBound:698} {target:NaN lowerBound:41 upperBound:845} {target:13 lowerBound:13 upperBound:613} {target:24 lowerBound:24 upperBound:649} {target:25 lowerBound:25 upperBound:625} {target:73 lowerBound:73 upperBound:698}]


Support current version of asdf

There's possibly a more elegant way to do this but it should do the job.
I moved everything out of the xcode script into run_mix so that it versions a little nicer. Possibly there's some reason for using the two different locations, happy to move it back if that's the case.

Honestly not sure about the right placement. Primary I wanted to ensure that run_mix can be called from command line. And secondarily I thought the Android and iOS variants of run_mix could be the same. But that seems less important now


16.04 binary install problem

Gogs version (or commit ref): 0.11.19-1498611033.13cca8a.xenial
Git version: latest
Operating system: xenial
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gogs.io:

[ ] Yes (provide example URL)
[ ] No
[x ] Not relevant

Log gist (usually found in log/gogs.log):

Description
The package from the install guide at https://packager.io/gh/pkgr/gogs/install?bid=667#ubuntu-16-04-gogs produces the following error when installing on a latest version xenial. This is being run as root and with no unusual setups like nfs mounted home directories.
Setting up gogs (0.11.19-1498611033.13cca8a.xenial) ...
chown: invalid user: 'gogs.gogs'
dpkg: error processing package gogs (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
gogs
...

I can verify the install from source works fine.

I was able to fix this manually with:
addgroup gogs
usermod -a -G gogs gogs

@Andrew415 if the problem is solved, could you close the issue? Looks to be an error in the guide, not Gogs itself.


Unable to save state

Cast save state: error writing file.
This is on an nvidia shield

This is possibly relevant to the emulator itself.


App doesn't load with IE

User report of a blank page rather than application load.

Was related to compatibility mode.


Superset v3 not running on dev

A clear and concise description of what the bug is.
How to reproduce the bug

Checkout superset branch v3
Complete all the installation mentioned in the apache-superset documentation
Run 'npm run dev' from superset-frontend folder
See whether superset is running on browser or not

Expected results
Superset should run on browser on mentioned port
what you expected to happen.
Actual results
what actually happens.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
(please complete the following information):

browser type and version:
superset version: superset version
python version: python --version
node.js version: node -v
any feature flags active:

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[ ] I have reproduced the issue with at least the latest released version of superset.
[ ] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
Add any other context about the problem here.

Hi Apache/superset
I would again like to highlight the issue we are facing while running apache superset 3.0 locally.
Please help me to fix this as soon as possible.

Can you try skipping the section "Build Javascript Assets" on this page? https://superset.apache.org/docs/installation/installing-superset-from-scratch/#installing-and-initializing-superset .  I think that's only for the case where you are trying to customize/extend Superset by modifying the codebase.  The first step would be to get Superset running, and I don't think you need to run npm run as part of that (though I'm not 100% sure as I have not installed from scratch).
For a troubleshooting question like this, where it's not a bug report, you may want to try asking in the Slack chat if you have not already.

Hi... closing this since it's not very actionable for a few reasons:

You were using the 3.0 branch, rather than the 3.0 version, from what I can tell, but that needs clarifying.
There's no indication of whether Superset was running correctly (with or without the UI) after starting it up, which would be a prerequisite for npm run dev to proxy to
There are no logs/errors noted, from the console or the browser, so we don't have much to go on
We've released 3.1, which seems to be working just fine for folks, as far as we can tell
This thread has gone silent for 4 months.

If you're still facing this, and can provide more details, we're happy to keep diagnosing things.


Correct EKS getting started docs

EKS getting started docs are wrong:

the Helm install doesn't mention needing to create and specify a namespace
nodegroup can be added once aws-node daemonset is deleted, and this means the Helm instructions won't fail at the helm install step.

Product Version(s):

Calico v3.24 upwards.
Issue:

Raised by CU Byron Mansfield in slack thread: https://calicousers.slack.com/archives/CPTH1KS00/p1680705961183599
Link to docs preview:

SME review:

[ ] An SME has approved this change.

DOCS review:

[ ] A member of the docs team has approved this change.

Additional information:

Is there anyone you'd like to nominate for a technical review?

Perhaps @caseydavenport?

per @lwr20 's request, there are a few other things we need to do for our helm docs across the board:
Our generic helm docs here have some content that is just wrong.

If you are installing on a cluster installed by EKS, GKE, AKS or Mirantis Kubernetes Engine (MKE), or you need to customize TLS certificates, you must customize this Helm chart by creating a values.yaml file. Otherwise, you can skip this step.

This is misleading and both too specific and too general. It should be re-written to be more precise and explain that for basic setups, default settings will just work. However there are many many reasons you might want to customize your settings. I'm not sure why it specifically calls out TLS as a reason there - it's one reason, but the implication by omission is that it's the only reason, which is wrong!
Our helm upgrade docs are also wrong - they omit the step where you need to manually replace the CRDs prior to upgrade.
We can handle those in this PR, or in separate follow-ons depending on how you want to do it. But it would be great to attack these while we're thinking about helm.

@https://github.com/byronmansfield Looks like code change that the docs PR is for still hasn't been merged yet - it's failing tests. We had someone restart it. Also, this PR needs rebasing.

@lwr20 I'm trying to clear out stale PRs. This one seems both stale and necessary. I get the impression that the changes are sound, but need to be updated to later versions. Casey's comments may have slowed folks down, but the general Helm changes can be considered separately.
Have I got the right idea here? I'm happy to put up a new PR with these changes in the later versions. And put something in the backlog for the other Helm business.

I'm closing this old PR. Some of the suggestions here have been made already. I'll be working through OSS install docs this quarter and plan to review an incorporate changes suggested here as part of DOCS-2366.


Separate winsock.h inclusion, add more direct includes

This PR improves Windows compilation time.
One more step to help fixing #14055
Kind of Follow-up of an old PR #4188 :

Replace usage of  struct timeval by struct OPENSSL_timeval.

I measure a small compile time improvement : around 1 minute less per build.
Lets compare AppVeyor timing.
Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

That's exactly the kind of problem I was worried about :)

Ping @openssl Ready for review.
I found a way to minimize my changes.

This PR is in a state where it requires action by @openssl/committers but the last update was 30 days ago

Nice that you are handling a further of those nasty issues incurred by Winsock.
I just noticed that you need to add #include "e_os.h" to many files, which is cumbersome.
Unfortunately, commit 62e0bc4058c4538678679fe793c6549a0ab86275, which introduces a central "internal/common.h" that already contains #include "e_os.h" has not been merged yet because it is part of https://github.com/openssl/openssl/pull/15847 which has been postponed to post-beta.
I suggest cherry-picking that commit here to simplify matters already now.

This PR is in a state where it requires action by @openssl/committers but the last update was 123 days ago

This PR is in a state where it requires action by @openssl/committers but the last update was 154 days ago

This PR is in a state where it requires action by @openssl/committers but the last update was 185 days ago

This PR is in a state where it requires action by @openssl/committers but the last update was 216 days ago

This PR is in a state where it requires action by @openssl/committers but the last update was 247 days ago

This PR is in a state where it requires action by @openssl/committers but the last update was 30 days ago

Unfortunately this needs another rebase.

I fully fix the last compilation and rebase issues.
should be good for review.

This PR is in a state where it requires action by @openssl/otc but the last update was 30 days ago

This PR is in a state where it requires action by @openssl/otc but the last update was 61 days ago

This PR is in a state where it requires action by @openssl/otc but the last update was 92 days ago

This PR is in a state where it requires action by @openssl/otc but the last update was 123 days ago

This PR is in a state where it requires action by @openssl/otc but the last update was 162 days ago

The CI failures are relevant.

I push some changes as a spin-off in #20602 .
Will rebase after its merge,so no need to review this one quickly.

CI is relevant.

Hmm... we should not have sprintf() calls in the library - they should be replaced with BIO_sprintf().

CI is relevant.

I push a quick fixup using a CodeSpaces ...

The style check is relevant.

This pull request is ready to merge

Merged to the master branch. Thank you for your contribution.


Remove getters for optional stage inputes

Currently YawRailStage implements three methods to safely get and set stage inputs that are optional:
YawRailStage.get_optional_handle
YawRailStage.get_optional_data
YawRailStage.set_optional_data

It should be possible to remove these and instead implement them using the allow_missing=True.

It seems that the current solution is already the best approach unless there are some changes made to how ceci handles and parses omitted parameters.

This was addressed in #18 where it was established that the optional getters are useful convenience methods


[AIRFLOW-1313] Fix license header

Dear Airflow maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following AIRFLOW-1313 "Vertica To MySQL operator"

Description

[x] Simple contrib operator that can export data from vertica to mysql

Tests

[x] Exists

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

@bolkedebruin @r39132 Fix the obsolete license header

Codecov Report

Merging #3281 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3281      +/-   ##
==========================================
+ Coverage   75.88%   75.88%   +<.01%
==========================================
  Files         197      197
  Lines       14699    14699
==========================================
+ Hits        11154    11155       +1
+ Misses       3545     3544       -1

Impacted Files
Coverage Δ

airflow/models.py
86.68% <0%> (+0.04%)
:arrow_up:

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 0ff434a...24f8c11. Read the comment docs.

+1 Thx.