gdb: unable to interrupt gdb on Windows (IDFGH-8012)

On Windows, it is no longer possible to break into GDB. Ordinarily, Ctrl-C would do this, however this does not appear to work anymore. Note that console support in gdb appears to be slightly broken, because e.g. the backspace key adds a space rather than deleting the previous character.
Steps to reproduce

Run openocd. I'm using an ESP32S3 with built-in JTAG:

$ openocd -f board/esp32s3-builtin.cfg
Open On-Chip Debugger  v0.11.0-esp32-20220706 (2022-07-06-15:48)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
Info : esp_usb_jtag: VID set to 0x303a and PID to 0x1001
Info : esp_usb_jtag: capabilities descriptor set to 0x2000
Warn : Transport "jtag" was already selected
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : esp_usb_jtag: serial (F4:12:FA:47:27:CC)
Info : esp_usb_jtag: Device found. Base speed 40000KHz, div range 1 to 255
Info : clock speed 40000 kHz
Info : JTAG tap: esp32s3.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : JTAG tap: esp32s3.cpu1 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : esp32s3.cpu0: Detected debug stubs @ 3fca9770
Info : starting gdb server for esp32s3.cpu0 on 3333
Info : Listening on port 3333 for gdb connections

Connect GDB, and continue execution:

$ > xtensa-esp32s3-elf-gdb.exe .\build\blackmagic.elf -ex 'tar ext :3333' -ex 'c'
GNU gdb (esp-gdb) 11.2_20220729
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "--host=x86_64-w64-mingw32 --target=xtensa-esp-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from .\build\blackmagic.elf...
Remote debugging using :3333
spinlock_acquire (timeout=<optimized out>, lock=0x3fced1bc) at C:/Users/Sean/esp/esp-idf/components/esp_hw_support/include/spinlock.h:123
123             lock->count++;  // Finally, we increment the lock count
Continuing.

Attempt to break, using any common key combination (e.g. Ctrl-C, Ctrl-[, etc.)

The only key combination that will work is Ctrl-Break, which terminates GDB.
This is happening both in Powershell, as well as in cmd.exe.
(Note separately, that when running xtensa-esp32s3-elf-gdb, a dialog box pops up saying "The application was unable to start correctly (0xc0000022), and it then starts up normally. I suspect this is a holdover from #9379)

I normally use Windows Terminal, however I've verified that this also happens in the legacy conhost.exe console.

@xobs Thank you for the issue report!
Please show your winver (run in terminal)

I'm running:
Windows 21H2 (OS Build 22000.795)

@xobs , the new GDB release is available https://github.com/espressif/binutils-gdb/releases/tag/esp-gdb-v11.2_20220808
IDF will be updated with it soon

I can confirm that 20220808 fixes the "interrupt" issue.
Should I open a separate issue for the "Backspace does not work" issue, which I feel is somewhat related?

Should I open a separate issue for the "Backspace does not work" issue, which I feel is somewhat related?

Feel free to open a new issue

@xobs , FYI, the issue for "Backspace does not work" is fixed in the latest GDB release. The release will be added to IDF's (v5.0 and master) tools soon

Fantastic, thanks!


Tailwind css conflict

Expected Behavior
Embedding ApiReference component should not affect the website.
Actual Behavior
Looks like Scalar's hidden class overrides Tailwind's selector
@media (min-width: 1024px)
.lg\:flex {
    display: flex;
}

Reproduction steps
Import ApiReference into tailwind powered Vue.js project with mobile-first approach with .hidden class
<script setup lang="ts">
  import { ApiReference } from '@scalar/api-reference'
</script>

Link to site / OpenAPI Spec
No response
Version
^1.11.0
What browsers are you seeing the problem on?
No response

Or maybe there is a problem with screen sizes? My website now looks mobile on a desktop.

well I guess I need an option to use global tailwind classes

Hey @tpoxa! It indeed looks like our Tailwind is a little leaky, I'll have a look and see if we can scope it somehow :)

Nice. Thanks, @hwkr  So which version should I try?

Oops, that was automatically closed when I merged the PR. But it’s released now, would you mind to try again?

@hanspagel it's working now. Many thanks!

Looks like this was merged while I was sleeping 🙌


请求添加 macos 的 apple silicon 处理器包的支持

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. Windows]
OS Version [e.g. 22]
NxShell Version [e.g. 1.6.2]

Additional context
Add any other context about the problem here.

自己用arm的mbp编了一个。还是期待官方支持arm64的mac包。
链接: https://pan.baidu.com/s/1FEP_E0Y23z4q5c0ySfSxDA?pwd=rfdd 提取码: rfdd
--来自百度网盘超级会员v6的分享


Add Yong Tang to maintainers

This adds Yong Tang (@yongtang) as a maintainer for docker/docker, as was proposed and voted on the maintainers mailinglist 👼 🐳.

/cc @docker/core-maintainers @yongtang
🐸
Signed-off-by: Vincent Demeester<EMAIL_ADDRESS>

LGTM

:congratulations: (:congratulations:)


Form element API's

Things like check, uncheck, select and more for form elements

Why did you close this?

I've been debating whether or not to deprecate Navalia due to the popularity of this project... But decided against it. Navalia has had these for a while as well (and they're tested):
https://joelgriffith.github.io/navalia/Chrome/check/

I think having a better API to interact with form elements make a lot of sense. I'll reopen this issue so we can discuss the API.
@joelgriffith would have been great to collaborate on this. We started out with Chromeless in early May this year, so unfortunately we didn't know about your project by then. Happy to add you as a collaborator and unify our efforts! 🙂


[ConstraintSystem] Account for situations when witness for associated…

… type is null
In some circularity cases getAssociatedType would produce a Type(),
we need to account for that in TypeSimplifier to avoid crashing.

@swift-ci please test


Create skeleton screens and routing

Creating the necessary low-fidelity screens for the MVP and routing them

The screens were created but the functionality on the screens need to be implemented which will be done after backend is completed


Fixes Cannot read property 'openChildren' of undefined

Before, the trace detail code would crash, trying to lookup an unknown
parent. This change tolerates missing parents and backfills tests around
the logic.
Fixes #1085

Tests are great! :-D


Peer Review

Coding
LLM usage

README and LLM usage is well structured in README.

Qmd
Tips

More details need to be added (incomplete)
Need to add references and cite properly.

Reference

The reference needs to be completed.

Paper
Title and author names should be added.
Abstract
Strength: The abstract provides a concise overview of the study's scope and its data sources.
Tips: It would be beneficial to mention key findings or conclusions to engage readers and provide a clear understanding of the study's impact.
Introduction
Strength: The introduction sets up the study's background well and explains its significance.
Tips: Clarifying the specific research questions or hypotheses at the beginning could help guide readers through the study.
Data
Strength: The detailed description of the dataset and its significance for public health is a strong foundation for the study.
Tips: Simplify the explanation of the dataset's variables and cleaning process to make it more accessible to all readers.
Model
Strength: The model setup is clearly explained, using mathematical notation to define relationships between variables.
Tips: A brief explanation of why a Bayesian analysis model was chosen and how it fits the study's goals would be helpful.
Results
(incomplete)
Strength: Summarizing the results in a table is a good practice for clarity.
Tips: Discuss the implications of these results for New York City's public health policies and interventions.
Discussion
(to be added)
Strength: The discussion section seems to be set up for a deep dive into the study's findings and their broader implications.
Tips: Ensure to connect the dots between your findings, their implications for public health in New York City, and suggestions for future research.
Overall
This is a good start. More efforts are needed to make the report more complete.

All Addressed


3D maneuvers and docstrings

This PR enables to compute the different maneuvers (Hohmann and Bielliptic) no matter the inclination of the orbit. Also the corresponding docstrings have been included for each function.
I reopened due to an strange error in previous PR.

The reason why Python 3.5 tests are failing is because of https://github.com/numba/llvmlite/issues/471. Options:

Wait, because the developers said half an hour ago they are producing llvmlite and numba wheels.
Make numba optional, and don't depend on it for Python 3.5 ("in this version your code will be slow, please upgrade")
Temporarily limit the version of numba/llvmlite until the "problem" is fixed.

Note that this is not actually a problem: it just makes the installation more cumbersome (ah, the good old times without wheels...).

My sorry attempt to fix this in a quick way failed. Will continue in another PR, sorry for the noise.

Thanks a lot @Jorgepiloto! It took a lot of time but it was worth it 🎉

@jorgepiloto I notice we didn't add any new tests to this pull request. Can you please find an example of a Hohmann transfer that could not be done before it, that now works?


Prey crash on Ubuntu 21.10

Game
Prey
Engine
id Tech 4 (proprietary)
Linux Distribution
Ubuntu 21.10
Luxtorpeda Version
31
Bug description
Prey (2006) crashes right after launch without showing game window
Steps To Reproduce

Install Prey
Launch Prey
After a momentary black screen, the game crashes

Expected Behavior
The game to run.
Additional Context
Fresh Lux 31 installation, clean ~/.cache/luxtorpeda and ~/.config/luxtorpeda directories.
Relevant log output
- Prey install:
https://gist.github.com/rea987/7fc0613801bcb1dc6158c47762f91cd7

- Prey launch crash:
https://gist.github.com/rea987/a024cd7ea769e150d614bfd1c0208110

- Quake 4 install:
https://gist.github.com/rea987/2b5d35594b71ee26214e8e420f379e1c

- Quake 4 Lux successful launch:
https://gist.github.com/rea987/a736339af3820631ae988a8ae405a066

- Doom 3 (regular) install:
https://gist.github.com/rea987/9ba678981be121d6b2d6faa695f57ecc

- Doom 3 (regular) Lux successful launch:
https://gist.github.com/rea987/1fee0a27245197c2e0d7422441be4843

It launched properly after updating Steam.


Added logo and Screenshot files for showcase at portal.

Thank you for your contribution to the IC Developer Portal.
Before submitting your Pull Request, please make sure that:

[x] You have updated the .github/CODEOWNERS file according to your changes.
[x] You have registered new documents to /sidebars.js if any.

These files are not referenced anywhere, no? Can you please add the rest of the showcase json?

Can you please delete static/img/showcase/Logo_with_background.jpg? It's not referenced anywhere and has a name that doesn't play nice with all the other files in that folder


BitmapFont in Box2D world [Enhancement]

Box2D requires real world unit based coordinate system to work properly (1 unit = 1 meter). The logical choice is to have a small viewport such as 32 * 24 or even smaller depending on the game logic to avoid transformations.
Because BitmapFont uses pixels and not world units it needs to be scaled to a value between 0.01 to 0.1 to be displayed in the right size in such small viewports (otherwise it looks huge). Unfortunately BitmapFont doesn't display properly when scaled with values under 0.1, glyphs start disappearing and its behaviour is messed up.
Some other people have faced this problem before:
http://gamedev.stackexchange.com/questions/73688/why-is-my-text-is-too-large-even-when-scaled-to-05f-in-libgdx
http://www.java-gaming.org/index.php?topic=30929.0
A common suggested workaround is to use a different camera but that is not a solution if the text is part of the game (not the UI, think for instance of a 2048 type of game using Box2D or any other pyshics based puzzle game with text).
The alternative "solution" is to define a larger viewport and then transform every single displayable Box2D object dimensions before rendering (typycally defining a PxelsToMeters constant) which is far from ideal.
The information is there but it gets lost in the transformations.
Could BitmapFont be enhanced to work with small viewports? Would it be possible to somehow support providing the transformation matrix to the World coordinates to avoid extreme scaling or, alternatively, improve it to display correctly when using these scaling values?

Unfortunately BitmapFont doesn't display properly when scaled with values under 0.1, glyphs start disappearing and its behaviour is messed up.

BitmapFont works well in these scales, but you have to disable rounding to integers. You'll lose the benefits of rounding to integers, but that is usable only in 1:1 unit:pixel ratio anyway and any workaround to make it work in other ratios would be complicated, so probably won't happen.
TLDR: BitmapFont#setUseIntegerPositions(false), not a libGDX bug

Awesome, missed that one, thanks!


Bump puma to v6.3.1 to fix critical security alert

See https://github.com/tactilenews/100eyes/security/dependabot/65
There was a breaking change in Puma v6 that required upgrading Capybara together with this.
See Welcome to Puma 6: Sunflower - Upgrade

We've removed the following public methods on Puma::Server: Puma::Server#min_threads, Puma::Server#max_threads. Instead, you can pass in configuration as an option to Puma::Server#new. This might make certain gems break (capybara for example).

@soey I'm going to go ahead and get this out since it was a critical security issue and it's passing the build and I've manually tested it on staging.100ey.es.


Project groups dropdown ui

Fixes #329
Checklist

[x] Documented
[x] Unit tested
[x] Component tested
[x] Driver tested

Awesome! Thanks for the great suggestions, @illia-romanenko!


Update raiddata.js

Formally added the Huanglong, Qilin and Huanglong+Qilin HL raid. Also added in the H+ raids since I already had the info from an older orcheed that I had edited on my computer, but left them as comments since I wasn't sure if they were needed/wanted.

Thanks! Github is dumb and doesn't let you mark manual merges so I'll just have to close this one, but it's in.
Sorry for the confusion.


Add Corresponding Async Tests for Sync Tests in Search Documents

Description
#32360
Adds corresponding asynchronous tests for all synchronous tests in azure-search-documents.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-search-documents

/azp run java - search - tests

/azp run java - search - tests

/azp run java - search - tests


Feat/aut833 Configure changelog generation

This PR considers only configuration for automatically generated changelog.
📌 WIP: perhaps we will change commit message format (need your feeedback after tech meeting)

I would be interested in seeing a demo of that (the automatic changelog generation) before merging it.


[ButtonBase] use makeStyles for ripple effect

[x] I have followed (at least) the PR section of the contributing guide.

Our application uses some JSS plugins to modify the CSS.  A few components in MUI use inline styles, particularly for animation, and this sometimes causes breakage for us.  If you are open to this change for ripple, we could make similar adjustments to the remaining components using the style attribute.

Could you provide more detail on your custom JSS plugin use case?

Essentially we use MUI to create a widget that is embedded directly on other websites (not in an iframe).  To avoid style conflicts, we prefix all of our styles with a base class, and mark all properties as important.  We then have a reset sheet on our namespace.  It is a bit ugly, but it does work, with the exception of a couple of items like the ripple effect, and the resizing of multiline text areas.

@koshea Thanks. inline style has more specificity than style sheet, injected in the HEAD. What would be possibly creating a conflict in the ripple case?
I know that a few users have a strict CSP policy that prevents the usage of inline style.

@oliviertassinari because our JSS plugin makes all of the styles !important, and the styles in the style attribute are not processed in this manner, they are overridden and the effect does not happen.  Another option that would solve our use case would be to just make the inline styles important, but in my mind that is an uglier solution than running this through the style system.

Have you considered this change?
--- a/packages/material-ui/src/ButtonBase/TouchRipple.js
+++ b/packages/material-ui/src/ButtonBase/TouchRipple.js
@@ -24,10 +24,6 @@ export const styles = theme => ({
   },
   /* Styles applied to the internal `Ripple` components `ripple` class. */
   ripple: {
-    width: 50,
-    height: 50,
-    left: 0,
-    top: 0,
     opacity: 0,
     position: 'absolute',
   },


docadd doc for apache superset compatible

Proposed changes
Issue Number: close #xxx

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

doris版本有要求吗？


KeyError: b'GPMF'

Hi, First of all, fantastic work. Sadly can't run it due to some error
Traceback (most recent call last):   File "E:\DCIM\100GOPRO\GP Highlight Extractor.py", line 167, in <module>     highlights = examine_mp4(fName)  # examine each file   File "E:\DCIM\100GOPRO\GP Highlight Extractor.py", line 58, in examine_mp4     highlights = parse_highlights(f, udta_boxes[b'GPMF'][0] + 8, udta_boxes[b'GPMF'][1]) KeyError: b'GPMF'
Python 3.9.13
filename = filename = 'GOPR1791.MP4'
.exe also close without visible error.

The error seems to say, that there is no GPMF Box in your MP4 File. It could be that your file is not a GoPro video. But I think it's a GoPro video, since your filename seems GoPro specific.
My best guess would be that your GoPro is a model older than the Hero 5. Those do not have the GPMF Box present.
Can you tell me which GoPro model you have?
Small tip: if you want the exe to show the error message, you'll have to run it from a terminal (command prompt). Otherwise the window will close before you could read it.

Thanks for the prompt reply,
My camera is indeed Hero 5, I make sure the file does include hilight tag
while opening from cmd, what flag should I use to supply .mp4?

You can run the exe just like this:
GP_Highlight_Extractor.exe "GOPR1791.MP4"
and make sure you are in the right directory.
I looked around a bit and the Hero5 should have a GPMF box!
"Videos shot on GoPro HERO5 (and newer), Fusion, and MAX cameras all contain a GPMF telemetry track in their metadata"

CMD
PS C:\temp> .\GP_Highlight_Extractor.exe "GOPR1791.mp4" Traceback (most recent call last):   File "GP_Highlight_Extractor.py", line 166, in <module>   File "GP_Highlight_Extractor.py", line 58, in examine_mp4 KeyError: b'GPMF' [13500] Failed to execute script 'GP_Highlight_Extractor' due to unhandled exception!
Small .MP4 https://easyupload.io/51qg49
GoPro Software version: 02.70 (up to date)

https://pastebin.com/QmS7U1Eh
Data from ExifTool, not sure what I'm looking at, but may be useful

agree, very strange.
The file I uploaded has highlights unless I'm doing something wrong (Pressing the mode button, yellow label coming on screen)
https://easyupload.io/z1jjlz - There is a bit longer version, with a few of them, freshly formatted SD card & GPS enabled
However, the script still does not work :/
GoPro Telemetry Extractor, is sadly no option for me, as I want to implement it in my archiving script.
Is there anything else I can try, or my camera is just funny?

I searched a bit more for the highlights in the gopro videofiles. I used the https://hexed.it/ Editor for this. That's what I did for the Hero6 as well. Sadly I did not find them. They are definitely stored somewhere else. I'm guessing that they used the new format since the Hero6. Before they stored them probably in a different way. This is most likely GPMF independent, since older models support highlight tagging as well.
I'm sorry to say, that I won't try to find the highlights anymore, since the script seems to work for the Hero6 and higher models (tested on Hero6 and Hero9). If I knew, where they are stored I would most likely try to implement this as a feature.
I'll add a comment in the ReadMe file that Hero5 Footage will not work.

Fair play,
Thank you very much for troubleshooting it anyway.
If I somehow find the location of those tags, I will reply to this thread with my finding.
Many thanks again!

Found something,
I believe the old tag for Highlights is DVNM according to https://github.com/gopro/gpmf-parser/issues/21
I perform a search with https://hexed.it/,
and Indeed, there was 1 occurrence in the first video, and 3 in the second, just the amount of highlights I made.

I could not reproduce your results. DVNM stands for Device Name (https://github.com/gopro/gpmf-parser). But the metion of the HMMT atom was the solution. There the highlights get stored. I uploaded the python script that should work for oder GoPro footage (the exe is not updated yet).
I tested it, but it would be nice if you could also test it and share your results.

Legend! Works perfectly,
Thank you for that.


added wiki content to docs folder

closes #1286

Now that this is merged, I turned off the wiki in this repo.


incompatibilities for containerized kubelet with rkt as container runtime

rkt Version: 1.6.0
appc Version: 0.8.1
Go Version: go1.6.1
Go OS/Arch: linux/amd64
Features: -TPM

Linux coreos1 4.5.2-coreos

NAME=CoreOS
ID=coreos
VERSION=1032.0.0
VERSION_ID=1032.0.0
BUILD_ID=2016-04-28-0152
PRETTY_NAME="CoreOS 1032.0.0 (MoreOS)"
ANSI_COLOR="1;32"
HOME_URL="https://coreos.com/"
BUG_REPORT_URL="https://github.com/coreos/bugs/issues"

edited wrapper used:
#!/bin/bash
# Wrapper for launching kubelet via rkt-fly stage1.
#
# Make sure to set KUBELET_VERSION to an image tag published here:
# https://quay.io/repository/coreos/hyperkube?tab=tags Alternatively,
# override $KUBELET_ACI to a custom location.

set -e

if [ -z "${KUBELET_VERSION}" ]; then
    echo "ERROR: must set KUBELET_VERSION"
    exit 1
fi

KUBELET_ACI="${KUBELET_ACI:-quay.io/coreos/hyperkube}"

mkdir --parents /etc/kubernetes
mkdir --parents /var/lib/docker
mkdir --parents /var/lib/kubelet
mkdir --parents /run/kubelet

exec /opt/bin/rkt run \
  --insecure-options=image \
  --volume etc-kubernetes,kind=host,source=/etc/kubernetes \
  --volume etc-ssl-certs,kind=host,source=/usr/share/ca-certificates \
  --volume var-lib-docker,kind=host,source=/var/lib/docker \
  --volume var-lib-kubelet,kind=host,source=/var/lib/kubelet \
  --volume os-release,kind=host,source=/usr/lib/os-release \
  --volume run,kind=host,source=/run \
  --mount volume=etc-kubernetes,target=/etc/kubernetes \
  --mount volume=etc-ssl-certs,target=/etc/ssl/certs \
  --mount volume=var-lib-docker,target=/var/lib/docker \
  --mount volume=var-lib-kubelet,target=/var/lib/kubelet \
  --mount volume=os-release,target=/etc/os-release \
  --mount volume=run,target=/run \
  --volume opt-cni,kind=host,source=/opt/cni \
  --mount volume=opt-cni,target=/opt/cni \
  --volume etc-rkt,kind=host,source=/etc/rkt \
  --mount volume=etc-rkt,target=/etc/rkt \
  --volume etc-cni,kind=host,source=/etc/cni \
  --mount volume=etc-cni,target=/etc/cni \
  --trust-keys-from-https \
  $RKT_OPTS \
  --stage1-path=/opt/rkt/stage1-fly.aci \
  ${KUBELET_ACI}:${KUBELET_VERSION} --exec=/kubelet -- "$@"

kubelet unit:
[Unit]
After=rkt-api.service
Requires=rkt-api.service

[Service]
ExecStartPre=/usr/bin/mkdir -p /etc/kubernetes/manifests

Environment="RKT_OPTS=--volume resolv,kind=host,source=/etc/resolv.conf --mount volume=resolv,target=/etc/resolv.conf"
Environment=KUBELET_VERSION=v1.2.4_coreos.1
ExecStart=/opt/arc/kubelet-wrapper \
  --v=3 \
  --api-servers=http://<IP_ADDRESS>:8080 \
  --allow-privileged=true \
  --register-node=true \
  --register-schedulable=true \
  --config=/etc/kubernetes/manifests \
  --container-runtime=rkt \
  --rkt-path=/opt/bin/rkt \
  --hostname-override=<IP_ADDRESS> \
  --cluster-dns=<IP_ADDRESS> \
  --network-plugin-dir=/etc/rkt/net.d \
  --network-plugin=cni
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target

kubelet logs http://paste.debian.net/plain/683767
#2167

cc @aaronlevy @pbx0

As far as I can see from the log, we need to mount the rkt bin.

@natostanco I can't reproduce the panic locally, what's the kubernetes version you are using?

its in the unit file v.1.2.4, used images quay.io/coreos/hyperkube:v1.2.4_coreos.1 also, tried gcr.io/google_containers/hyperkube:v1.2.4.

@yifan-gu can you triage this one please

OK

I will look at this tomorrow.

@natostanco Could you paste the logs somewhere else again? The original link doesn't work now.

kubeletlogs.txt

@natostanco You need to mount in the rkt binary from host into the kubelet container for this to work. Your logs indicate this here:
May 18 21:53:14 coreos1 kubelet-wrapper[23512]: E0518 21:53:14.991054   23512 rkt.go:1149] rkt: Failed to gc: failed to run [gc --grace-period=1m0s --expire-prepared=1m0s]: fork/exec /opt/bin/rkt: no such file or directory

I'm not quite sure of that panic that's going on though..

I took a quick stab at this today:
rkt v1.6.0 (CoreOS 1053.2.0)
None of the static pods actually get started. The worrisome logline:
May 27 02:06:29 localhost kubelet-wrapper[2322]: I0527 02:06:29.329752    2322 kubelet.go:2471] skipping pod synchronization - [network state unknown container runtime is down]
I'm currently testing this using the single-node vagrant install with changes here:
https://github.com/coreos/coreos-kubernetes/compare/master...aaronlevy:hack-rktnetes?expand=1
And the image referenced is one that @pbx0  built from here:
https://github.com/pbx0/kubernetes/commits/v1.3.0-alpha.4.rktnetes

The logs from https://github.com/coreos/rkt/issues/2629#issuecomment-220170848 say:
Container runtime sanity check failed: rkt: systemd version(215) is too old, requires at least 219

It is not a message printed by rkt but by kubelet.go.

De-milestoning, probably not a bug in rkt itself and not a blocker for 1.8.0.

@pbx0's work to ensure rkt+kubelet work well under the kubelet-wrapper should resolve this as well; assigning to him.

ping?

I'm not sure what specific bug this originally was but, rktnetes requires kubernetes v1.3.0+ and rkt 1.9.1+ at the moment. There will be many problems trying to run on anything less as there has been significant development on both codebases recently to support rkt as the kubelet runtime.
I don't think there is any specific rkt bug being tracked here and that it is safe to close this issue. The systemd version issue has been fixed in upstream kubernetes for a few weeks now.
For anyone who wants to follow rktnetes + kubelet-wrapper progress see: https://github.com/coreos/coreos-kubernetes/pull/551. We plan to release this soon as a flag when setting up kubernetes via the coreos-kubernetes repo. It is blocked on the repo getting v1.3.0 support merged and fixing a bug regarding flannel networking and rkt.


Create a minimal jerry cmdline tool to run benchmarks with it.

@zherczeg : You're right, we don't need to support the asserts right now for minimal testing. I've updated this patch with the requested changes.

LGTM

@zherczeg : Thanks, I've modified this patch again with removed the for-loops and the version info, and reduced the argument count, so it's closer to be a minimal tool now. Please check it.

I have been thinking about a little different approach. I would not remove the ability to run multiple js-es, just not parsing them. I.e.
if (argc <= 1 || (argc == 2 && (argv[1] == "-h" || argv[1] == "--help")))
  print_help ();

for (int i = 1; i < argc; i++)
  run(argv[i]);

(This is just a pseudo code, not copy it). Hence if not -h or --help is passed, we just load and execute every argument as JS files. We don't try to interpret them.

@zherczeg : I like your suggestion. I've modified this patch by keeping the ability to run multiple js-es and also rebased it with master.

@LaszloLango : Thanks! I've updated it.


Test not passing until you have installed and running mongod service.

I was not able to pass tests from fresh copied master branch (after run npm install) untill I install mongod and start service.
I have never used MongoDB before so I haven't mongo installed.
I didn't find any docs or steps about it. But I was able to figured out, my steps:

Install mongod via brew,

  brew tap mongodb/brew
  brew install<EMAIL_ADDRESS>

Start service on background:

  brew services start<EMAIL_ADDRESS>
I think it would be nice to have some contribution guide or FAQ sections with problems.
What do you have in mind @marcuspoehls ?

@venikman Good catch! You're right, testing the Supercharge framework requires an available MongoDB instance. At this point, this is the only requirement.
I like your idea for a contribution guide/FAQ. This should be part of the repo Readme. Looking some months ahead, it'll probably be required to also have a Redis server running.
Thank you for sharing your way to run MongoDB on macOS! I'll leave this issue open to keep me reminded adding the new contribution section to the readme.


Can't set style using Typescript

It seems like you can't currently apply inline styles to components using Typescript. For example:
<Input style={{width:"50%"}}/>

results in the following compiler error:

error TS2339: Property 'style' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes & { children?: ReactNode; } & InputProps'.

I know the typings are still a work in progress, so this may already be a known issue, but if anyone knows of any workarounds in the meantime, they'd be greatly appreciated.

@Ghirigoro Hello, this issue is duplicate for #1072. I'm working on it,  you can follow progress of it in my last comment. I'm planning to make PR for Input tomorrow.


Add Contributor to the Role permissions

Fixes #495
What is being addressed
Adding Contributor as well as "User Access Administrator" to the permissions of the vmss MSI. Extended Tests pass on the PR branch
Extended tests pass now

/test-extended

/test-extended

/test-force-approve

/test-force-approve


Updated documentation for Get-PnPFlowrun, which includes samples on how to get specific flowrun trigger information

Type

[ ] Bug Fix
[ ] New Feature
[ ] Sample

Related Issues?
Fixes #X, partially fixes #Y, mentioned in #Z, etc.
What is in this Pull Request ?
Updated documentation for Get-PnPFlowrun, which includes samples on how to get specific flowrun trigger information.
The samples are as below,
New Example
$environment = Get-PnPPowerPlatformEnvironment
$flowrun = Get-PnPFlowRun -Environment $environment -Flow fba63225-baf9-4d76-86a1-1b42c917a182 -Identity<PHONE_NUMBER>2024670884771461819CU230
$flowrun.Properties.trigger

This returns a specific flow run trigger information as below
Name              : Recurrence
StartTime         : 2024-02-02 06:00:00
EndTime           : 2024-02-02 06:00:00
ScheduledTime     : 2024-02-02 06:00:00
OriginHistoryName :<PHONE_NUMBER>2854535568834568113CU171
Code              : OK
Status            : Succeeded

New Example
$environment = Get-PnPPowerPlatformEnvironment
$flowruns = Get-PnPFlowRun -Environment $environment -Flow fba63225-baf9-4d76-86a1-1b42c917a182
$flowruns.Properties.trigger

This returns a specific flows trigger information as below
Name              : Recurrence
StartTime         : 2024-02-02 06:00:00
EndTime           : 2024-02-02 06:00:00
ScheduledTime     : 2024-02-02 06:00:00
OriginHistoryName :<PHONE_NUMBER>2854535568834568113CU171
Code              : OK
Status            : Succeeded

Name              : Recurrence
StartTime         : 2024-02-01 06:00:00
EndTime           : 2024-02-01 06:00:00
ScheduledTime     : 2024-02-01 06:00:00
OriginHistoryName :<PHONE_NUMBER>6849679000001446214CU251
Code              : OK
Status            : Succeeded

Name              : Recurrence
StartTime         : 2024-01-31 06:00:00
EndTime           : 2024-01-31 06:00:00
ScheduledTime     : 2024-01-31 06:00:00
OriginHistoryName :<PHONE_NUMBER>0853628013416159080CU185
Code              : OK
Status            : Succeeded

Thanks,
Nishkalank Bezawada

Thanks @NishkalankBezawada !

Thanks @NishkalankBezawada !

Many Thanks @KoenZomers & @gautamdsheth for your support 😇😊

When I am using Get-PnPFlowRun -Environment $environment -Flow $flow.Name comamand its thorwing below error and its happening after 9 September when we switched to Single Tenant.

Get-PnPFlowRun: AADSTS65001: The user or administrator has not consented to use the app
lication with ID '**********************' named 'PnP PowerShell App Singl
e Tenant'. Send an interactive authorization request for this user and resource. Trace
ID: ******************* Correlation ID: ************************ Timestamp: 2024-09-24 11:55:08Z

Our azure admin want to know which permission it needs because in below article its written that it needs
management.azure.com permission but there is no such type of permission
https://pnp.github.io/powershell/cmdlets/Get-PnPFlowRun.html
Note-Service account have below azure permissions

Hi @vishalgoyal2472 have you seen this table? Does that help?
https://pnp.github.io/powershell/articles/determinepermissions.html#help-i-cant-figure-out-which-permissions-i-need

Hi @vishalgoyal2472 have you seen this table? Does that help? https://pnp.github.io/powershell/articles/determinepermissions.html#help-i-cant-figure-out-which-permissions-i-need

Yes it worked, thank you!!


Running initial commands with psql

I'm trying to run initial commands and load initial data into postgres, but I keep getting an error that is apparently related to the socket
psql: could not connect to server: No such file or directory

This is my docker-compose.yml
version: '3'

services:
  node:
    container_name: container1
    image: image1
    build:
      context: .
      dockerfile: "node.dev.dockerfile"
    ports:
      - "4000:4000"
    working_dir: "/var/app"

  postgres:
    container_name: container2
    image: image2
    build:
      context: .
      dockerfile: "postgres.dev.dockerfile"
    ports:
      - "5432:5432"

postgres.dev.dockerfile
FROM postgres:10

ENV POSTGRES_USER postgres
ENV POSTGRES_PASSWORD postgres
ENV POSTGRES_DB postgres

RUN sh ./postgres_scripts/initialize.sh

initialize.sh
#!/bin/bash
set -e

psql --username "$POSTGRES_USER" --dbname "$POSTGRES_DB"
...

Your Dockerfile has a typo: postgress
Fixing that it works just fine

Thanks for the reply.
I fixed the typo and updated the code in the description. However, I still get the same error

So you're running the initialize.sh, while building the image. You want to have the container started before doing that.
If you run into further issues try the Docker Community Forums, the Docker Community Slack, or Stack Overflow.

It seems I was doing it all wrong.
I didn't quite understand the documentation when it mentioned about extending the Dockerfile and running .sql .sh files, but after viewing the code, I understood that the best way to achieve this is to copy the files in /docker-entrypoint-initdb.d/
FROM postgres:10

ENV POSTGRES_USER postgres
ENV POSTGRES_PASSWORD postgres
ENV POSTGRES_DB postgres

COPY ./postgres_scripts/initialize.sh /docker-entrypoint-initdb.d/


Enable Link-Time Optimization (LTO)

Hi!
I noticed that in the Cargo.toml file Link-Time Optimization (LTO) for the project is not enabled. I suggest switching it on since it will reduce the binary size (always a good thing to have) and will likely improve the application's performance a bit.
I suggest enabling LTO only for the Release builds so as not to sacrifice the developers' experience while working on the project since LTO consumes an additional amount of time to finish the compilation routine. If you think that a regular Release build should not be affected by such a change as well, then I suggest adding an additional dist or release-lto profile where in addition to regular release optimizations LTO will also be added. Such a change simplifies life for maintainers and others interested in the project persons who want to build the most performant version of the application. Using ThinLTO should also help to reduce the build-time overhead with LTO. If we enable it on the Cargo profile level, users, who install the CLI tool with cargo install, will get the LTO-optimized version "automatically". E.g., check cargo-outdated Release profile.
Basically, it can be enabled with the following lines:
[profile.release]
lto = true

I have made quick tests (Fedora 41, Rustc 1.82) by adding lto = true to the Release profile. The binary size reduction is from 4.5 Mib to 3.8 Mib.
Thank you.

Added, thanks!


You don't even know Java! How do i know that? Because i feel that you do!   You don't even know Java! How do i know that? Because i feel that you do!


Invalid background-position value created

I've been working on RTL support on OpenStreetMap, and I was puzzled to see a case on their About page where one sprite-icon is visible, but the others are not (you can see this if your browser is set to prefer Arabic).
The visible sprite has the CSS set background-position: -45px -160px
The invisible sprites have CSS values set to background-position: right 0px -80px which is not accepted by Firefox or Chrome. I think that background-position: right {x} top {y} would be valid.  The one visible sprite has a negative x-value, so your regex isn't noticing it.
In my case I am looking at sprites, so I would rather not have them shifted left/right. I'll ask OSM to use 0 instead of 0px for now, but what would be a good long-term solution for other people using sprites?

R2 makes every attempt to swap everything. It seems like in this sprite case you would like to not flip the sprite definition. Is that correct? One approach to that would be to add some method of disabling R2 for a given CSS block, like https://github.com/mzsanford/R2rb/compare/osm_sprite. If that would help I'll merge it

@mzsanford  👍  I like this idea.  I don't know if it will get accepted on the OSM side, but it would resolve our problem

Merged and release v0.2.7 with the option to ignore.


Add twine-check to the CI workflow

Description
Sometimes changes can impact the ability to produce a distributable artifact. This commit adds a condition in the CI workflow to check if the distributions using twine.
Issues Resolved
Fixes #61
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Thanks so much for contributing this. Really appreciate it! LGTM

Thanks, please let me know if you want me to rebase the PR.

I merged it (rebase and merge). I'm not sure if you were able to see that option or not..

Thanks for merging :tada:


[TimePicker] state.time doesn't updates on new defaultTime prop.

If a TimePicker instance is already mounted and a new defaultTime is passed to it, the time state value doesn't update.

Do I read correctly that setting a value property on TimePicker should work in 0.14.4? If so, it doesn't for me. Situation:

defaultTime does not update it state is changed, which should be normal, so okay. input is filled with initial value and thats it.
setting value prop to the same object causes an empty input field, same with or without defaultTime.

@arnekolja This issue isn't fixed yet, changes have been made on #3095, it's almost completed, but  right now I don't have the time to finish the submit.


Support for QUIC Varint

Move our implementation of encoding varint to RFC9000
this can be a decent start : https://github.com/Quicr/libquicr/blob/moq-suhas-feb2024/src/encode.cpp#L97

quic-var-int is required by the transport now as well. Transport implements now (https://github.com/Quicr/transport/blob/metrics-per-flow/include/transport/transport.h#L130), supporting both encoding and decoding for little and big endian.
Libquicr has an implementation, but it doesn't support endlessness today, it is implemented upon encode and not in https://github.com/Quicr/libquicr/blob/main/include/quicr/uvarint.h, and it cannot be used by the transport due to circular submodules.
I added a lighter weight implementation https://github.com/Quicr/transport/blob/metrics-per-flow/include/transport/transport.h#L130 that supports endlessness.


Edit function breaks link

In server mode when you select edit

The tags come back without the comma separator

If you edit any field an select "OK" the "link" to cache no longer exists. From the code, the issue is here

The target seems to be lost
Ex of broken link:

http://main.lv/writeup/kernel_dev_hwrng.md

Example of "good" link:

DNSCrypt - ArchWiki

DNSCrypt encrypts and authenticates DNS traffic between user and DNS resolver. While IP traffic itself is unchanged, it prevents local spoofing of DNS queries, ensuring DNS responses are sent by the server of choice. [1]

Here is what the commandline shows post edit.
53. http://main.lv/writeup/kernel_dev_hwrng.md
    > http://main.lv/writeup/kernel_dev_hwrng.md
    # code, drivers, kenel, linux

54. DNSCrypt - ArchWiki (8-11 minutes)
    > https://wiki.archlinux.org/index.php/DNSCrypt
    + DNSCrypt encrypts and authenticates DNS traffic between user and DNS resolver. While IP traffic itself is unchanged, it prevents local spoofing of DNS queries, ensuring DNS responses are sent by the server of choice. [1]
    # admin, dns, net, security

EDIT: Further testing shows this does not happen for the DNSCrypt entry. It will drop the cache link when the edit is first made, but on refresh it returns. It appears rather that some sites will not cache (maybe?). I have deleted and added back the kernel_dev_hwrng entry but no cache link is formed. This may be the actual issue.
EDIT2: Looks like that is the case. From the DB
sqlite> select * from bookmark WHERE id=58;
58|http://main.lv/writeup/kernel_dev_hwrng.md|/dev/hwrng||Details on the HWRNG driver in the Linux kernel||0|0|2018-05-25 18:52:08

sqlite> select * from bookmark_content_content WHERE docid=58;
58|/dev/hwrng||

Not sure why other sites cached, but two of them now have not.

@tinyn thanks for the report. It should be fixed by 65d6ddd.

I’m closing this issue for now because :

The issue has been fixed by 65d6ddd and;
It has been inactive for a while, so I guess this issue has been solved.

Feels free to reopen it if needed.
Thank you.


Delete slides

I managed to remove slides from_page to_page (i.e. from_slide_number, to_slide_number).
It works. The problem I'm facing is that although i remove relationships, the small PPTx version, has the same MB weight than the original. I can't find the way to remove the memory usage of those elements unlinked.
If anybody could give me a hint, would be appreciated!
def _keep_slides_from_to(presentation, from_page, to_page):
    """Remove each slide position that is not in the range from_page to to_page"""
    idxs_to_remove = [
        pos
        for pos, slide in enumerate(presentation.slides._sldIdLst)
        if pos < from_page or pos > to_page
    ]
    xml_slides = presentation.slides._sldIdLst
    slides = list(xml_slides)
    rels = presentation.part.rels
    rel_ids_to_remove = [slides[idx].rId for idx in idxs_to_remove]

    for idx_to_remove in idxs_to_remove:
        slide_id = slides[idx_to_remove]
        xml_slides.remove(slide_id)

    # Remove the corresponding relationship
    for rel_id in rel_ids_to_remove:
        rels._rels.pop(rel_id)

    return presentation

It strikes me that code hasn't actually removed any data - other than some of the XML. Essentially you've orphaned some parts.
I don't believe there's a general API for removing unwanted parts such as graphics from what is, after all, a zip file.
That is something I'd like to see - within python-pptx.

@MartinPacker if you remove a relationship I believe you'll find that the orphaned part is not saved. Also, if you don't have or retain a reference to the part instance then it will be garbage collected.
So there's no real reason to somehow destroy an orphaned part, that should take care of itself.
One possible problem though is when a part is related-to by more than one other part. I vaguely remember this being the case in some instances, like maybe a slide-layout being referenced by a slide-master and also being referenced by slides that use it. So you would need to remove all those relationships to actually orphan the slide-layout part.
Other parts, like images in particular, can be referenced by multiple parts on purpose, like if you rubber-stamped copies of an image on say 20 different slides for visual effect, maybe a logo, that image should only be stored once, even though there are 20 relationships to it from other parts (slides or slide-layouts maybe in this case).

Thank you @scanny; I wasn't aware of that.


React v16?

lowPriorityWarning.js:38 Warning: Accessing createClass via the main React package is deprecated, and will be removed in React v16.0. Use a plain JavaScript class instead. If you're not yet ready to migrate, create-react-class v15.* is available on npm as a temporary, drop-in replacement.

Hehe I’ll see what I can do! New to open source 🙈

Hi! We haven't had a chance to look at React 16 yet but are very excited about it. I suspect this is a small change to dependency or the way we're importing something. We'll get back to you soon.

I'm seeing this too. I'm definitely using React 15.x, but the warnings are annoying. Based on what I'm seeing in the code, nothing particularly looks like it should be throwing these warnings. PropTypes seems to be referenced properly and I don't see any references to React.createElement. I think it might be a transpiling thing in the webpack config, but I don't know webpack well enough to find it so far.

Going to try make this PR. brb

Hey @milesalex and @janiukjf! I'm sorry our code was triggering this strange warning message. The warning came about because of the way we were importing react in our code. It was fixed in https://github.com/stripe/react-stripe-elements/commit/e56c60f79acad05864fad321e3d91462a605f892 and should go away if you upgrade to the current version. Let me know if you're still having this problem!


Add Linky sensors : yesterday + months + years

Breaking Change:
Old sensor.linky is now sensor.linky_yesterday
Description:
Hi !
I have added current and last month and year sensors + changed the unprecise sensor.linky name to sensor.linky_yesterday.
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#9422
Example entry for configuration.yaml (if applicable):
- platform: linky
  username: LINKY_USERNAME
  password: LINKY_PASSWORD
  monitored_conditions:
    - yesterday
    - current_month
    - last_month

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[x] The manifest file has all fields filled out correctly (example).
[x] New dependencies have been added to requirements in the manifest (example).
[x] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

Any news about this @fabaff ?

Wait, I will add one thing in few hours

I've tested last night with as usual Enedis API fail "from 23h to 3h".
Here are the updated data even after Enedis not responding (with a time delta to 5 minutes for testing)

Test logs

The day after

Fixes #24320


add support to minio bootstrap

@NitishT can you check this too?

Thank you for the PR @yagonobre, works as expected. There is one issue I can see - after deleting a release via helm delete, the create-bucket pod still does not get deleted, any ideas what may be causing this?

I run helm delete with --purge the pod stay in completed status

👀

/ok-to-test


Update modding tools page

The page is outdated and short descriptions what a tool can / can't do would be useful

@SenorGeese what do you think about integrating your wiki into the new Northstar one, now that it's also Markdown based?


Update project URL to the public doc website

Signed-off-by: Gera Shegalov<EMAIL_ADDRESS>

build


Package request: atlauncher

Project description
ATLauncher is a custom Minecraft launcher that allows players to create and install various modpacks.  It's an essential tool for anyone who wants to modify Minecraft.  ATLauncher offers packages for other Linux distributions, so hopefully it's not too big a hassle.
Metadata

homepage URL: https://atlauncher.com/
source URL: https://github.com/ATLauncher/ATLauncher
license: GPL-3.0
platforms: Windows, MacOSX, Linux

It is currently in the unstable channel under name atlauncher so to obtain it you could either:

switch channel to unstable detailed here and more if you just want to copy-paste here
switch to unstable for specifically atlauncher, details on how to do this here, but be aware this option is risky and the package may not work due to graphics drivers and such

Let me know if you have any questions, otherwise I will close this issue.


Wrong exit code if apply fails because of wrong parameters

Hi,
i use stack_master in our gitlab-ci environment a lot. One thing I think is not good is the exit code of the apply command, if there are empty/blanc parameters.
$ bundle exec stack_master apply tst sfn-seec--tst--default--base -y
Executing apply on sfn-seec--tst--default--base in eu-central-1
Stack diff: No changes
**Empty/blank parameters detected, ensure values exist for those parameters. Parameters will be read from the following locations:**
 - /builds/Free4All/SparkleformationPacks/sfn_seec_base/generic/parameters/tst/sfn_seec__tst__default__base.yml
Parameters diff:
+---
.... my parameters

**No stack found**
$ bundle exec stack_master delete tst sfn-seec--tst--default--base -y
Stack does not exist
Job succeeded

So i think this should fail.

Sorry what is the exit code and what do you expect it to be?

For example here is one CF Parameter missing:
$ bundle exec stack_master apply "$ENVIRONMENT-$UNIQUE_IDENTIFIER" "$APPLICATION_NAME--$ENVIRONMENT--$UNIQUE_IDENTIFIER--service-$SERVICE" --config "stack_master_$ENVIRONMENT-$UNIQUE_IDENTIFIER.yml" -y --trace
Executing apply on blablabla-1
Stack diff: No changes
Empty/blank parameters detected, ensure values exist for those parameters. Parameters will be read from the following locations:
 - /home/markus/ ....
Parameters diff:
...

Build succeeded
markus@Markus-VirtualBox:~...$ echo $?
0

The exit code is 0 but there was an error - an empty or blanc parameter. So the stack_master apply command should return 1 instead

The same for:
bundle exec stack_master delete tst sfn-seec--tst--default--base -y
Stack does not exist
Job succeeded

if the stack was not found, it should return 1 instead of 0 because the execution was not possible

Ok, changing the behavior of apply was easy - but changing delete is tricky, because you call this method not the way you do for other commands


Failed Spec with Ruby 3.2.0  on master branch

Hello, I was wondering if anyone faced an issue when running spec in local setup. I'm using Ruby version 3.2.0 and nodejs 16.0.0.
in Rspec, I got error related to missing controller
ActionController::RoutingError:         uninitialized constant Spree::UserPasswordsController, Spree::UserSessionsController, and Spree::OrdersController
It would be great if someone could help on this.

@kimsrung what spree version are you using?


Downlink message send() does not work

Expected Behavior
When making use of client.send(dev_id="something", pay="something else") I would expect the downlink message to be scheduled to be sent later (since default behavior is "replace").
Changing the scheduling strategy to "last" or "first" does not help either
Current Behavior
The downlink_callback is working, that means the client detects something is being sent but it never arrives to the platform (nor the final device).
In order to check this I have MQTTBox connected and subscribed to #/down/# and #/scheduled and the message that I send it never appears. It does not appear in the console "Data" tab either
Sending it from the web console does work (I can see it in both the console and in MQTTBox)
Example
import ttn

def downlink_callback(mid, client):
  print("Received downlink with id ", mid)

handler = ttn.HandlerClient("SOME_APP_ID", "SOME_ACCESS_KEY", discovery_address="something.thethings.industries:1900", insecure_channel=True)
mqtt_client = handler.data()
mqtt_client.set_downlink_callback(downlink_callback)
mqtt_client.send(dev_id="some_dev_id", pay="SOME_PAYLOAD", conf=True)
time.sleep(10)
mqtt_client.close()

Hello @antonpperez
Please call the .connect() method of the MQTT client before sending the downlinks as shown in the README.md
The SDK doesn't trigger any exception when it is not connected, will open a PR.

Hi there, the error still persists even calling client.connect() just before the sending.
I also have tried that before

Your payload might be too long and remember to encode your payload in base64.
See doc

The console take direct Hex as field same for the node SDK. They expect Hex as raw representation for the console and as a string for the node SDK.
Looking at the code the SDK only handles base64 or object (which will be marshalled as JSON in the payload fields).
There is no uppercase / lowercase for base664, capital letter matters.

@Sypheos can you update the documentation please? We do not accept hex.

Will do
On Mon, 4 Feb 2019, 21:07 Johan Stokking<EMAIL_ADDRESS>wrote:

@Sypheos https://github.com/Sypheos can you update the documentation
please? We do not accept hex.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/TheThingsNetwork/python-app-sdk/issues/34#issuecomment-460393519,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AItWT2THovxrgzLhhdM_61WB8NoWLo9Lks5vKJL1gaJpZM4aSWZP
.

Hi there, I can confirm that the issue was indeed sending the hex string  instead of the base64 and in the second case, I was missing the connect().

Thanks for confirming @antonpperez
Closing this when @Sypheos PR is merged.


getaddrinfo ENOTFOUND causes monitors to freeze

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

Description
getaddrinfo ENOTFOUND errors make the monitors stop working
👟 Reproduction steps
When my local DNS service is down, all my monitors turn red and show errors - as expected:
getaddrinfo ENOTFOUND myhost.mydomain.com

However, after the DNS is up, they never restart again, I'm stuck in "down". Even restarting the uptime-kuma docker container doesn't help. What helps is either

disabling and enabling monitor
enabling manual maintenance mode which contains all services, waiting 1 cycle and disabling it

👀 Expected behavior
getaddrinfo ENOTFOUND errors do not stop the monitors
😓 Actual Behavior
getaddrinfo ENOTFOUND errors do stops the monitors
🐻 Uptime-Kuma Version
1.23.6
💻 Operating System and Arch
Ubuntu 22.04.3 LTS
🌐 Browser
Firefox 119.0 (64-bit)
🐋 Docker Version
Docker version 24.0.7, build afdd53b
🟩 NodeJS Version
No response
📝 Relevant log output
No response

I just noticed something, I do not know if it's relevant, but I have two alert services:

REST API-based signal notification
email-based notification

It appears that only the monitors that have signal alerting are affected. The monitor that has email notification (i.e. signal REST API itself in my case) seems to be re-starting itself...

Huh, it may not at all be related to ENOTFOUND issue, but to the fact that the Signal REST API has a timeout bug:
https://github.com/bbernhard/signal-cli-rest-api/issues/453
So - the monitor detects an issue, calls signal REST API to send a message, the message is received, however the POST itself times out, thus hanging the monitor.

So - the monitor detects an issue, calls signal REST API to send a message, the message is received, however the POST itself times out, thus hanging the monitor.

Ran into this exactly today. Wasn't sure what was going on until I read this. I debugged a bit and found what was happening is

sendNotificatin can sometimes timeout or never returns https://github.com/louislam/uptime-kuma/blob/master/server/model/monitor.js#L952
once that happened, it's possible that we don't have a previousBeat in the time window, a push monitor item will never recover https://github.com/louislam/uptime-kuma/blob/master/server/model/monitor.js#L634

sendNotificatin can sometimes timeout or never returns https://github.com/louislam/uptime-kuma/blob/master/server/model/monitor.js#L952

Good point, I think we should not add await before Monitor.sendNotification(isFirstBeat, this, bean);.


Support for Refresh Materialized View

What do you want to change?
While playing around with Postgres Materialized Views I noticed that support for querying them was added in #1509 but I can't find a way to refresh them using sqlc.
I'd expect the following query to generate a method just like any exec annotation would:
-- name: RefreshFooView :exec
REFRESH MATERIALIZED VIEW foo_view;

RefreshFooView(ctx context.Context) error

Looking at the source code, it seems like ast.RefreshMatViewStmt is already being parsed but ignored as an unsupported statement. Is there any other way to refresh a Materialized View without falling back to the raw database connection or could support for this query be added to sqlc?
What database engines need to be changed?
PostgreSQL
What programming language backends need to be changed?
Go

You can do this today by putting the tasks like refresh view inside of a function like this.
CREATE OR REPLACE FUNCTION public.refresh_views()
RETURNS boolean
LANGUAGE plpgsql
AS $$
  BEGIN
	REFRESH MATERIALIZED VIEW foo_view;
	RETURN true;
  END
$$;

Then change your sqlc to
-- name: RefreshFooView :exec
SELECT refresh_views();

If I was maintaining this project, I'd want to avoid adding features that have reasonable alternate implementations to ensure the project could stay focused.  This seems reasonable to me.


Correct reference to default branch name.

Purpose of this pull request
This pull request (PR) corrects the reference to the default branch name within the GitHub PR template.
Affected pages
(none)

I see the other PRs that you created to replicate this change in a subset of our localized repos:

@jeff-matthews Just seeing this comment from you now. I (eventually) had created a pR in all commerce-operations.* repos. Had some extra time in my day.
I too was curious about localization of the comment text. In any case, feel free to close out the other PRs if automation efforts are aimed towards managing propagating these changes.
Cheers!


Need a different map of the USA

Because of hawaii, it ends up goofily small in the preview

fixed.


Improve DNS documentation

This commit improves the DNS integration
documentation focusing on how the user can enable
the capability.
Signed-off-by: john-a-joyce<EMAIL_ADDRESS>Description
This is a documentation only change.   It provides more detail on all the components in the
DNS integration path.  It adds more information on the role of the NSE in DNS integration
and includes the key user config options of setting NSE environmental variables to trigger
updates of the DNS configuration in the application pod.
Motivation and Context
The key user steps to set environmental variables was missing.
How Has This Been Tested?
Documentation only.

[ ] Covered by existing integration testing
[ ] Added integration testing to cover
[ ] Tested locally
[x] Have not tested

Types of changes
Documentation.
Checklist:

[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.

I think I address all the review comments.   Let me know if you see any concerns.

@edwarnicke NSE vse Endpoint and NSC vs Client?

@edwarnicke NSE vse Endpoint and NSC vs Client?

My thinking is roughly this: Is there a possibility of confusing an NSC for a WebClient if we use Client in this documentation?

I am not sure on the conclusion should I change some names or not?

Is there anything more to change here or can this Merge?


App Plugin Folder missing on version 1.0.5

Hi ,
While publishing, App plugin folder is not getting generated ( under root) for version 1.0.5. It works fine for version 1.0.4

Hi @nbohra777
in version 1.0.4, App_Plugins folder is removed. Plugin uses GoogleTranslateResourceController to access all files which are embeded inside S95.Umbraco.GoogleTranslate.dll. It will work same as with App_Plugins folder but output will be more clean.


Clarify the min sys req

It'll be nice to know what we have to do as next steps to pick the right hardware once we have answers to this question.
How many modules are in your workload?
How many layers do your modules' containers share?
In what language are your modules written?
How much data will your modules be processing?
Do your modules need any specialized hardware for accelerating their workloads?
What are the desired performance characteristics of your solution?
What is your hardware budget?

How does modules and layers affect which hardware I pick? Among other questions listed. That's the important information that's missing.

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

ID: bf820bbb-9fc6-2037-6d72-c63192763ed6
Version Independent ID: b0c7e11b-3741-15f6-58e7-8529d492af47
Content: Supported operating systems, container engines - Azure IoT Edge
Content Source: articles/iot-edge/support.md
Service: iot-edge
GitHub Login: @kgremban
Microsoft Alias: kgremban

Modules and layers affect the memory requirements on whatever hardware you end up picking. If you plan to run many modules, you need more memory. And containers save space by sharing layers that are similar, but if your modules use different base layers that's extra memory space to consider. Learn more: https://docs.docker.com/storage/storagedriver/#images-and-layers
In summary, you should have a good idea of how many modules you'll use and what their space requirements are before you buy your production hardware.

@Infinitism We hope that address your query. Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly reopen the issue and continue the discussion.

.


Feature: Compatibility with Ymir

This is not an easy one because with Ymir you are working into an AWS Lamdba deployed env so essentially you just can't edit wp-config.php.
The only idea I came up with is to prepare the sandbox project locally, then deploying the new configuration (wp-config.php included)... but somehow the database should be aligned too.
Maybe better to ask @carlalexander for an idea.

After some discussion with Carl, seems like the idea is just to:

first deploy the main site
create a stacked site (live env)
manually update local wp-config.php and redeploy

Not tested yet though.


Search doesn't work for foreign words

Currently the search is powered by lunr and language support isn't activated. Lunr doesn't support Hindi, so it would never work for that language, even if we were to activate it for all other languages.
We should research a different search tool so that we can search across all foreign languages.
Currently I am evaluating Algolia. It allows for multiple indicies which could also help with #755.

Algolia has created an index for the Glossary site.

We have switched to Google Custom Search, which solves this problem.


Add new Get-MoodleBadge function

Excellent module, thank you for publishing it! At our company, we use Moodle for Badges and Achievements, so I thought I would add that function for others to use as well. I've tested it in our MoodleCloud instance.
I've not updated the module version. If you are interested in me adding Pester tests for build validation, let me know.

Oh wow! Sorry - I just caught this and I'm about to go overseas for three weeks! Hopefully you can wait 'coz I don't want to merge it and then disappear in case anything goes awry. Will check it out when I'm back!

No worries! Thank you for letting me know :)

Merged and published! v0.19 is now in the gallery! Thanks @nyanhp!


feat: constant addresses as addresses

Fixes #7830

#8056  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @benesjan and the rest of your teammates on  Graphite

Benchmark results
Metrics with a significant change:

app_circuit_witness_generation_time_in_ms (SchnorrAccount:verify_private_authwit): 27.8 (-30%)
avm_simulation_time_ms (FeeJuice:set_portal): 19.6 (+76%)
avm_simulation_time_ms (Token:transfer_public): 29.4 (+43%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Proof generation
Each column represents the number of threads used in proof generation.

Metric
1 threads
4 threads
16 threads
32 threads
64 threads

proof_construction_time_sha256_ms
5,789
1,568 (+1%)
720 (-2%)
764 (-5%)
777 (-3%)

proof_construction_time_sha256_30_ms
11,907 (-1%)
3,193
1,426 (-2%)
1,459 (-1%)
1,475 (-6%)

proof_construction_time_sha256_100_ms
45,753
11,963 (-1%)
5,539 (-2%)
5,476 (-2%)
5,416 (-4%)

proof_construction_time_poseidon_hash_ms
79.0
34.0 (-3%)
34.0 (-3%)
59.0 (-3%)
88.0 (-2%)

proof_construction_time_poseidon_hash_30_ms
1,537 (-1%)
423
204 (-1%)
229 (-2%)
268 (-4%)

proof_construction_time_poseidon_hash_100_ms
5,658
1,519
679 (-3%)
730 (-4%)
750 (-3%)

L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
4 txs
8 txs
16 txs

l1_rollup_calldata_size_in_bytes
4,324
7,844
14,852

l1_rollup_calldata_gas
49,732
92,454
177,536

l1_rollup_execution_gas
1,383,226
2,130,916
3,958,037

l2_block_processing_time_in_ms
243 (-6%)
448 (+2%)
797

l2_block_building_time_in_ms
9,277 (+1%)
18,187 (+1%)
36,049

l2_block_rollup_simulation_time_in_ms
9,277 (+1%)
18,187 (+1%)
36,049

l2_block_public_tx_process_time_in_ms
7,853 (+1%)
16,626 (+1%)
34,469

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 8 txs.

Metric
3 blocks
5 blocks

node_history_sync_time_in_ms
2,982 (+4%)
3,859 (+1%)

node_database_size_in_bytes
12,632,144
16,719,952

pxe_database_size_in_bytes
16,254
26,813

Circuits stats
Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Circuit
simulation_time_in_ms
witness_generation_time_in_ms
input_size_in_bytes
output_size_in_bytes
proving_time_in_ms

private-kernel-init
90.7 (-4%)
412 (+2%)
21,673
44,858
N/A

private-kernel-inner
166 (+2%)
724 (-4%)
72,309
45,005
N/A

private-kernel-reset-tiny
501
916 (+1%)
65,974
44,844
N/A

private-kernel-tail
209
174 (+4%)
50,728
52,256
N/A

base-parity
5.61
N/A
160
96.0
N/A

root-parity
33.3 (-1%)
N/A
69,084
96.0
N/A

base-rollup
2,863 (+1%)
N/A
187,817
664
N/A

root-rollup
39.0 (-2%)
N/A
54,525
716
N/A

public-kernel-setup
97.8 (-1%)
N/A
103,760
71,222
N/A

public-kernel-app-logic
104 (+1%)
N/A
103,599
71,222
N/A

public-kernel-tail
579 (+1%)
N/A
409,190
16,414
N/A

private-kernel-reset-small
492 (-1%)
N/A
66,085
45,629
N/A

private-kernel-tail-to-public
1,030 (-3%)
665
492,960
1,697
N/A

public-kernel-teardown
92.7
N/A
104,005
71,222
N/A

merge-rollup
19.1 (+1%)
N/A
35,742
664
N/A

undefined
N/A
N/A
N/A
N/A
64,316

Stats on running time collected for app circuits

Function
input_size_in_bytes
output_size_in_bytes
witness_generation_time_in_ms

ContractClassRegisterer:register
1,344
11,731
341

ContractInstanceDeployer:deploy
1,408
11,731
18.3

MultiCallEntrypoint:entrypoint
1,920
11,731
424 (+1%)

FeeJuice:deploy
1,376
11,731
390

SchnorrAccount:constructor
1,312
11,731
105

SchnorrAccount:entrypoint
2,304
11,731
432

Token:privately_mint_private_note
1,280
11,731
139 (-3%)

FPC:fee_entrypoint_public
1,344
11,731
27.2 (+3%)

Token:transfer
1,312
11,731
272 (-1%)

Benchmarking:create_note
1,344
11,731
100

SchnorrAccount:verify_private_authwit
1,280
11,731
:warning: 27.8 (-30%)

Token:unshield
1,376
11,731
561 (-1%)

FPC:fee_entrypoint_private
1,376
11,731
748 (-2%)

AVM Simulation
Time to simulate various public functions in the AVM.

Function
time_ms
bytecode_size_in_bytes

FeeJuice:_increase_public_balance
44.6 (-18%)
8,139

FeeJuice:set_portal
:warning: 19.6 (+76%)
2,362

Token:constructor
82.7 (-1%)
31,107

FPC:constructor
53.5
22,380

FeeJuice:mint_public
38.3 (-1%)
6,150

Token:mint_public
46.4 (+5%)
11,720

Token:assert_minter_and_mint
70.3 (-1%)
8,028

AuthRegistry:set_authorized
45.4 (+21%)
4,537

FPC:prepare_fee
235 (-2%)
8,812

Token:transfer_public
:warning: 29.4 (+43%)
47,358

FPC:pay_refund
58.3 (-15%)
12,082

Benchmarking:increment_balance
970
7,450

Token:_increase_public_balance
39.8 (+1%)
8,960

FPC:pay_refund_with_shielded_rebate
65.4 (-3%)
12,631

Public DB Access
Time to access various public DBs.

Function
time_ms

get-nullifier-index
0.162 (+2%)

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
256 leaves
512 leaves
1024 leaves

batch_insert_into_append_only_tree_16_depth_ms
2.22 (+1%)
4.03 (+3%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.7
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.115 (+1%)
0.114 (+3%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
11.6
17.9 (-1%)
31.2 (-1%)
59.3 (+1%)
112

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
287
543
1,055

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.111
0.103 (-2%)
0.101 (-1%)
0.102 (+1%)
0.100

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
14.6
25.7
44.2
83.0 (+1%)
160 (+1%)

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
109
207
355
691
1,363

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.111 (+1%)
0.103
0.107 (+4%)
0.102 (+1%)
0.101 (+1%)

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
16.5
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
132
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
0.106
N/A
N/A
N/A
N/A

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
64,779
668,997

Transaction size based on fee payment method
| Metric |  |
| - |  |


More peripherals

Is there any convenient way to use more peripherals, such as more cameras or any other collection devices? What are the changes needed to modify the design accordingly?

Peripherals are added at top component. There are comments in the file
https://github.com/ztachip/ztachip/blob/master/HW/examples/GHRD/main.vhd
For SW drivers for these peripherals, you can reference some example in
https://github.com/ztachip/ztachip/blob/master/SW/src/soc.cpp

My query is, "How can I connect more cameras to the system or use a camera with a better-quality image sensor?"

See this for the camera CSI interface part, which is half of the solution. This other half is interface to ZTACHIP itself...

@chili-chips-ba Thank you, @ztachip, but can you elaborate more on using "like a better camera for processing and changes needed in the code in hardware and software flow" for this?

Please reference
https://github.com/ztachip/ztachip/issues/7

From: digi-bytes @.>
Sent: July 30, 2024 2:16 AM
To: ztachip/ztachip @.>
Cc: ztachip @.>; Mention @.>
Subject: Re: [ztachip/ztachip] More peripherals (Issue #22)
@chili-chips-bahttps://github.com/chili-chips-ba Thank you, @ztachiphttps://github.com/ztachip, but can you elaborate more on using "like a better camera for processing and changes needed in the code in hardware and software flow" for this?
—
Reply to this email directly, view it on GitHubhttps://github.com/ztachip/ztachip/issues/22#issuecomment-2257550310, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACSDUFRT6DLU7SQ4O5HL7Z3ZO4VSTAVCNFSM6AAAAABLOCISOCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJXGU2TAMZRGA.
You are receiving this because you were mentioned.Message ID: @.***>


Gradle support

Is it necessary to use Maven for Java builds? I've set up a Gradle project, however when creating a pipeline in Gaia I get the following error:
The goal you specified requires a project to execute but there is no POM in this directory
This led me to the assumption that Gaia interprets any Java project as a Maven project. Is that currently the case or is there a way to get around it?

Welcome @JulianSauer 🤗
Yes, your assumption is right. The build system and the Gaia java SDK are both tightly coupled to maven which was an early decision due to the reason that maven is widely used. Many programming languages offer/support multiple build systems and dependency managers. It's, sadly, not possible to support all of them so we have to decide early on which one we will support. The decision for java was maven.
If you really want to use Gradle for your Gaia pipelines, feel free to contribute and start a new PR! 🤗

I thought at first that the code within the Handler interface would simply be executed so I used the Gradle Tooling API to execute my build tasks. Does the Java SDK work similar with Maven?
And is there a documentation on how to contribute? (E.g. how to run/debug the project) :)

@JulianSauer You can find the source code here: https://github.com/gaia-pipeline/javasdk
You can find a basic guide in the README.md file (https://github.com/gaia-pipeline/gaia#contributing).
Please open a new issue if you stuck somewhere or you think documentation is missing. 😄


Add Support for section background settings

With the latest schema version is not possible to create the landing pages with the same background sections that were defined in the template site.
It would be nice to have this as an option on future versions.
Below are two screen shots of original site and the result after applying the template.

Duplicate of #356, will close this one


Toggle for different versions of the SDK

I'd love to toggle between our different channels, such as bleeding_edge, trunk, and milestone branches.

Not planned.


Promote @jbandoro to committer

Justin Bandoro (@jbandoro) is a Data Engineer at Kevala Inc. He's based in San Francisco (USA) and has been an early adopter of Cosmos, using it regularly at his company.
Not only has he been using Cosmos since the early stages, but he has consistently improved Cosmos since January 2023:

Some of his contributions include new features, code quality, documentation and overall improvements. Some examples:

Speed up integration tests in 67% #732
Prevent override of dbt profile fields #702
Add support for env vars in RenderConfig in #690
Use symbolic links to run local tasks, avoiding to copy potentially huge dbt project folders in #660
Improve documentation in #638
Automated and improved the code complexity checks in #629
Added DbtDocsGCSOperator in #616
Added support for Python 3.7 in #88 and #214

Additionally, he has been interacting with users in the #airflow-dbt Slack channel in a very collaborative and supportive way.
We want to promote him as a Cosmos committer and maintainer for all these, recognising his constant efforts and achievements towards our community. Thank you very much, @jbandoro !

Thanks @tatiana @harels and @jlaneve for the messages of support!
Looking forward to continuing contributing to and supporting Cosmos in the new role 😄


[Bug] Rendering laggy on Mac

Insomnia Version: <IP_ADDRESS>88
Operating System: macOS Mojave (10.14.4)

Same issue on both a 2016 and 2018 MacBook Pro
Details

Insomnia gets laggy when editing or rendering a rather large GraphQL request.
Here is an example request for https://swapi.graph.cool/
mutation CreateMovie1 {
	createFilm(director: "Georges Lucas" episodeId: 1 title: "The Phantom Menace") {
    id
    characters {
      id
      name
      gender
    }
  }
}

mutation CreateMovie2 {
	createFilm(director: "Georges Lucas" episodeId: 2 title: "Attack of the Clones") {
    id
    characters {
      id
      name
      gender
    }
  }
}

mutation CreateMovie3 {
	createFilm(director: "Georges Lucas" episodeId: 3 title: "Revenge of the Sith") {
    id
    characters {
      id
      name
      gender
    }
  }
}

mutation CreateMovie4 {
	createFilm(director: "Georges Lucas" episodeId: 4 title: "A New Hope") {
    id
    characters {
      id
      name
      gender
    }
  }
}

mutation CreateMovie5 {
	createFilm(director: "Georges Lucas" episodeId: 5 title: "The Empire Strikes Back") {
    id
    characters {
      id
      name
      gender
    }
  }
}

mutation CreateMovie6 {
	createFilm(director: "Georges Lucas" episodeId: 6 title: "Return of the Jedi") {
    id
    characters {
      id
      name
      gender
    }
  }
}

mutation CreateMovie7 {
	createFilm(director: "Jeffrey Jacob Abrams" episodeId: 7 title: "The Force Awakens") {
    id
    characters {
      id
      name
      gender
    }
  }
}

mutation CreateMovie8 {
	createFilm(director: "Rian Johnson" episodeId: 8 title: "The Last Jedi") {
    id
    characters {
      id
      name
      gender
    }
  }
}

mutation CreateMovie9 {
	createFilm(director: "Jeffrey Jacob Abrams" episodeId: 9 title: "The Rise of Skywalker") {
    id
    characters {
      id
      name
      gender
    }
  }
}

When trying to add a field or pretty much any kind of text, the whole thing gets laggy.
Also, when switching from one workspace to a workspace with Insomnia, the switching is laggy. From a performance debug I ran, it seems the GPU takes time to render.
Please tell me if I can there is any more information you need.

Ah yes, I noticed this a while ago and it's already fixed in the develop branch. Thanks for the report!


UserInfo not adding to the request

Why UserInfo not adding to the request?
In logs I see:
Could not register user for website identifier web.***.***.***, received response 500

I do not understand your question. Please add more context.

When I send request to access device token, I add userInfo:
safari.pushNotification.requestPermission(location.origin + '/api/notifications', safariPushId, USERINFO, function(data) {});
And when I look at the logs from request /api/notifications/v1/log, I see:
{ logs: [ 'Could not register user for website identifier web.***.***.***, received response 500' ] }

What you have described is not related to node-apn. I would suggest you ask the question on StackOverflow or similar.

I thought you could help me

This is not the right venue. If the issues on this project are not related to the project then it becomes confusing for other developers.
Also I do not have any insight into your problem and by asking somewhere like StackOverflow you will be much more likely to find someone who can help


undefined method bson_type for object

Hi,
I'm quite certain that I have searched all known sources on how to do something as simple as inserting a document into another document.
I do not want to embed it, just insert it into an array.
Here is a simple code example.
Element.rb

class Element
  include Mongoid::Document
  include Mongoid::Timestamps
  embedded_in :article
  field :element_value, type: String

end

Article.rb

class Article
 include Mongoid::Document
 embeds_many :elements
 field :name, type: Array
 field :elements_array, type: Array
end

article = Article.new
article.name = "doggie"
article.save!

el = Element.new
el.element_value = "hello"

orig_Art = Article.find_by(:name => "doggie")
orig_Art.elements << el
orig_Art.save!

=>NoMethodError (undefined method `bson_type' for #<Element:0x007fe4556b0828>):

Sorry, found out it was a bug in my controller!
Closed.


Misleading which edition ID to be used

The documentation told me to use Get-CurrentEdition and note it, than call Set-Edition with edition ID.
But you need to call set-edition with the edition you want to upgrade to, not the current one. You can get the target edition by calling /Get-TargetEditions
In additon the output of the command Get-CurrentEdition is:
Deployment Image Servicing and Management tool
Version: 10.0.14393.0

Image Version: 10.0.14393.0

Current edition is:

Current Edition : ServerStandard

There is no entry edition ID. I guessed that edition ID is ServerStandard, which turned out to be true, but it felt disquiting. So I added a sample what the ID of the standard edition looks lile.

Thanks for adding the clarification!


Restore failed when a runtime is specified

This is caused by https://github.com/ppy/osu-framework/pull/3497
I usually build osu! with --runtime flag so it only include a specific set of dependencies for that runtime. But after the PR, doing it causes the restore failed.
dotnet publish osu.Desktop --no-self-contained --configuration Release --runtime arch-x64 --output ~/osuLazerBin > ~/dotneterr.txt
dotneterr.txt

Please try again with the referencing PR, I can't compile arch-x64 but had the same/similar on osx-x64 and it now works for me.

The PR resolved the issue


Callback vs event handler priority

What's the reasoning for event handlers getting priority over the passed in callback?
# taken from destroy method
...
options.success = function(resp) {
   model.trigger('destroy', model, model.collection, options);
   if (success) success(model, resp);
};
...

The callback is provided by the object making the call in the first place, so it seems natural that it would get first rights to act on the result and then any event handlers would be handled second.  No?

I'm afraid not. The destroy event and the success callback aren't quite the same thing. The former notifies listeners that the model has been destroyed, the latter is a callback that indicates that the operation (including the destroy handlers) have finished successfully. You certainly wouldn't want the success callback to fire if one of the destroy handlers raised an exception.

Oh, ok.  I misunderstood the intent of the success and error callbacks then.  I thought their purpose was to abstract the sync call, not wrap the entire life of the operation.
Might be good to clarify this in the docs.  Thanks for the quick answer.


Add Pawnee.app v1.0.0

Pawnee is a menubar utility for managing local Apache installation.

Looks good, thanks! :+1:


Add option to show hourly forecast in increments

Adds new config option to show weather forecast for every X hour (default value is 1 which reflects the current behaviour)
Also adds tests for hourly forecast
Fixes #2996

Codecov Report

Merging #2998 (7fc6ada) into develop (7bc91a7) will increase coverage by 0.06%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           develop    #2998      +/-   ##
===========================================
+ Coverage    21.95%   22.02%   +0.06%
===========================================
  Files           51       51
  Lines        11292    11297       +5
===========================================
+ Hits          2479     2488       +9
+ Misses        8813     8809       -4

Impacted Files
Coverage Δ

modules/default/weather/weather.js
0.00% <0.00%> (ø)

modules/default/updatenotification/node_helper.js
80.00% <0.00%> (+12.85%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Lua.socket installation o Mac osx Mojave fails.

DRFS-GSs-MacBook:luasocket drfs_gs$ make macosx
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C src macosx
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-unix PLAT=macosx
gcc  -I/opt/local/include/lua/5.1 -I/opt/local/include/lua5.1 -I/opt/local/include/lua-5.1 -DLUASOCKET_NODEBUG -DUNIX_HAS_SUN_LEN -Wall -O2 -fno-common   -c -o luasocket.o luasocket.c
In file included from luasocket.c:15:
./luasocket.h:27:10: fatal error: 'lua.h' file not found
#include "lua.h"
^~~~~~~
1 error generated.
make[2]: *** [luasocket.o] Error 1
make[1]: *** [macosx] Error 2
make: *** [macosx] Error 2

Here are two possible options -- both of which begin with knowing where your particular copy of lua.h has been installed.

Use MYCFLAGS in your make command to instruct make to look in the additional location, e.g.

make -C src MYCFLAGS="-I/your/local/path" macosx

Create a symbolic link in a place that is already searched for include files, e.g.

ln -sv /your/local/path/lua.h /usr/local/include/

It seems like this has probably been addressed. If there is anything current to be dealt with here feel free to bring up specifics.


Fix wrong requests content type

Body params should be url encoded to be send as x-www-form-urlencoded
Standardize ID case for params (It's a breaking change)
Description:

Hey @Nikosmonaut, Nice work!!

why do we need to we need to switch teamId to teamID? This is a breaking change that i think is not needed. Since the library works perfectly with teamId.
Can you clarify why you switched the form from json to url form encoded? Again it's working afik

Thanks again!
NOTE: I enabled the CI for PRs now, so please push any comment to trigger a rebuild

why do we need to we need to switch teamId to teamID? This is a breaking change that i think is not needed. Since the library works perfectly with teamId.

Yes it is. It was a proposal. But it seems kind of wrong to me when 2 differents notations coexist. It is up to you to decide of course. I can revert it
    clientID: string,
    teamId: string,

Can you clarify why you switched the form from json to url form encoded? Again it's working afik

Because it does not work. At least for me. I did non have it tested by other people. That's why I created an issue to ask if someone had success sending post params by stringifying json data.
  return fetch(url.toString(), {
    method: 'POST',
    body: JSON.stringify(form),

Following this feed people struggle with the same issue and the solution was to send data url encoded with x-www-form-urlencoded content-type. apple forum
Of course if it works for you, don't take into account this PR, and I wil import this code into my project.

@Nikosmonaut Makes sense.
How about we split this PR into two PRs. We merge the form bugfix as a minor change and later merge the variable renaming breaking change with the next major release?
Can you confirm that the form change allows you to fully handle apple authentication in your app? - I will double check the changes on my end as well

@Nikosmonaut Hey! Sorry for the delay
Thanks for the PR!
Please increment the minor version number 0.X.0 and I will release once ready. Also please ensure it's working in your app 💪

@A-Tokyo just to remind. I updated my PR )

Done 👍  @Nikosmonaut


Auto-completion not working with Open3D library

I have a problem specific to a library: Open3D. The code hints appear only for the 1st level of the library... the screenshots below should be pretty self-explanatory.
Environment data

Language Server version: v2021.7.2
OS and version: Windows 10 20H2
Python version: 3.8.6 64-bit

Expected behaviour
Example with Jedi as the language server:
Past the 1st level of the library (p.ex. o3d.geometry) all possible suggestions appear:

And then for a class method:

Actual behaviour
Now with Pylance as the language server:
Up to here it works:

Then nothing:

For a class method:

Logs

XXX

Edit: after checking more of my code I realized that the same problem occurs with OpenCV extra modules (with opencv-contrib-python package installed), the core functions are completed but the contrib modules are not (like cv2.aruco, cv2.bgsegm, cv2.rgbd...).
And weirdly I found that specific NumPy array manipulation routines are also missing, for instance np.asarray, np.asanyarray ...

Also caught this problem.
I used pip install opencv-contrib-python

Will need to get open3d to create stubs for the libraries for this to work.


A way to save modified information

So the question is pretty much in the title of this issue.
Is there a way to save information to the opened file?
For example, i have a library of 50 mkv files, and i know that each of them has 2 audio tracks, first track is for Russian language and second one is for English, however, these tracks are not 'labeled', so there is no 'language' attribute present on the Audio class.
The following piece of code is used to add missing feature to the audio track:
$locales = [
        0   =>  [
            'ru',
            'Russian',
            'Russian',
            'ru',
            'rus',
            'ru'
        ],
        1   =>  [
            'en',
            'English',
            'English',
            'en',
            'eng',
            'en',
        ]
    ];

    /**
     * @var \Mhor\MediaInfo\Type\Audio $audio
     */
    foreach ($mediaInfoContainer->getAudios() as $index => $audio) {
        $audio->set('language', $locales[$index]);
    }

So, back to the question again, how can i write back the updated information?
P.S. I know about duplicate array elements, however, just to be sure, i would like to leave them as they were read from the 'valid' file which was edited by my media player.

Hi @darki73 , php-mediainfo goal is to wrap mediainfo command line and unfortunately does not allow metadata tag editing. You should use another tool/lib to edit them.
I think ffmpeg can do this (see). You can use php lib PHP-FFMpeg to wrap ffmpeg.

Closed for now, considered as solved. If you have other question do not hesitate to open another issue.


allow to set ALLOWED_SALEOR_API_REGEX in docker build

fix ALLOWED_SALEOR_API_REGEX is not set inside docker container

 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.


regression in hlg->pq conversion from a 422 buffer

Hi,
I tried to perform a conversion from HLG to PQ of a video frame in YUV422 and 10 bitdepth, but zimg would output all black.
I ran some more tests, and this seems to exclusively happen on 422 material, at 10 or 8 bit, and only if the input transfer is HLG. If I set any other transfer or use any other buffer size (420 or 444) this does not happen.
I bisected for a bit and I noticed that it was introduced in 3a66174df5ba24f8f3914dbf0866a2c54d651e3b, any prior hash produces the expected result.

Fixed in fc7473d. The issue can be worked around by explicitly setting nominal_peak_luminance.

Thanks for the quick fix! Is 100.0 the value you'd need to set nominal_peak_luminance for HLG?

Yes, 100.0 is the intended default.


Updating with correct information

We are trying to un-depricate this tool. Updating with current information. Please reach out to the sensors team<EMAIL_ADDRESS>for questions/concerns.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Hi @brdilaur-ms I started processing your PR but just saw some more come in.  Let me know when you're ready and I'll evaluate then.  Thanks for the suggestions!

Sounds good Ted. They should all be done in the next hour or so.
-Bryan
From: Ted Hudek<EMAIL_ADDRESS>Sent: Friday, May 12, 2017 2:49 PM
To: Microsoft/windows-driver-docs<EMAIL_ADDRESS>Cc: Bryan DiLaura<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Microsoft/windows-driver-docs] Updating with correct information (#104)
Hi @brdilaur-mshttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbrdilaur-ms&data=02|01|Bryan.DiLaura%40microsoft.com|3f9e229d1b214c76690708d49980a6dd|72f988bf86f141af91ab2d7cd011db47|1|0|636302225218073593&sdata=YBdo8H%2FUHvmxhIqxPemTbQHhyZMdj2NjeFbnrwuBs10%3D&reserved=0 I started processing your PR but just saw some more come in. Let me know when you're ready and I'll evaluate then. Thanks for the suggestions!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fwindows-driver-docs%2Fpull%2F104%23issuecomment-301193864&data=02|01|Bryan.DiLaura%40microsoft.com|3f9e229d1b214c76690708d49980a6dd|72f988bf86f141af91ab2d7cd011db47|1|0|636302225218073593&sdata=1uZkB%2FNHKdEr5wewvBzUQ7Bl5axFM8K40RlnGbgAryI%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAbVIXFkylFy-3eHKk9brfnSO7H11tozHks5r5NO3gaJpZM4NZz4U&data=02|01|Bryan.DiLaura%40microsoft.com|3f9e229d1b214c76690708d49980a6dd|72f988bf86f141af91ab2d7cd011db47|1|0|636302225218073593&sdata=U5o0k3HdDkwMOfBq2dzrU6WK4a241oCtqQsNetaj6C0%3D&reserved=0.

Thanks Bryan.  Note that you can add to an already open PR if you like.

@brdilaur-ms, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.
Thanks, Microsoft Pull Request Bot

Shoot! Sorry about that! I didn’t know. At this point I have updated everything on my end, so you should be good to go. If you have any questions, please contact<EMAIL_ADDRESS>From: Ted Hudek<EMAIL_ADDRESS>Sent: Friday, May 12, 2017 2:51 PM
To: Microsoft/windows-driver-docs<EMAIL_ADDRESS>Cc: Bryan DiLaura<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Microsoft/windows-driver-docs] Updating with correct information (#104)
Thanks Bryan. Note that you can add to an already open PR if you like.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fwindows-driver-docs%2Fpull%2F104%23issuecomment-301194272&data=02|01|Bryan.DiLaura%40microsoft.com|6f62b2b8fca140c3a92008d499810740|72f988bf86f141af91ab2d7cd011db47|1|0|636302226825411444&sdata=NlqypAabRVqG8zWcKqhjhTUjIL0zkH%2FfpvNs57Xuk84%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAbVIXLVMX8df5eZ9ym3bSdSLYtU-AjUCks5r5NRYgaJpZM4NZz4U&data=02|01|Bryan.DiLaura%40microsoft.com|6f62b2b8fca140c3a92008d499810740|72f988bf86f141af91ab2d7cd011db47|1|0|636302226825411444&sdata=jToVGYys25DHLXATYRqBLeSmrcp35jSO1h1VuLOenO8%3D&reserved=0.

No worries Bryan, thanks again for the contributions, we're delighted to have them.  The updates should be live on the Docs.microsoft.com site in a couple minutes.


Avoid geojson types as internal representation

Every time there is a new release of geojson, the types of this crate must be updated.
This isn't a huge problem - you can just keep bumping the geojson crate (82b2373375d8de4a50a26316550e7f380d4bd3a2,<PHONE_NUMBER>38ad646efc873b881d7b4f68f8fa3d, 520f39d4074b52b94b5a2f5a41cdd324ab3d0ca0) as you have, but really I don't know that there's a good reason to use the types from the geojson crate as your interchange format.
The downsides are, as mentioned above, that it triggers a downstream update cycle, but also those data structures aren't very efficient ways of representing your data types.
Would you consider a PR which leverages internal types detached from the geojson crate for contours?
If you'd like, it could retain an impl Serialize that serializes to geojson or (my preference) add a to_geojson method that explicitly converts your internal types to geojson types for those people who actually want to serialize geojson.

Thanks for your feedback.

Every time there is a new release of geojson, the types of this crate must be updated.

Indeed.

Would you consider a PR which leverages internal types detached from the geojson crate for contours?

Sure !

If you'd like, it could retain an impl Serialize that serializes to geojson or (my preference) add a to_geojson method that explicitly converts your internal types to geojson types for those people who actually want to serialize geojson.

A to_geojson method sounds good.