 Please upload your DDrawCompat logs with LogLevel=debug.

I can't reproduce the issue. Please upload your DDrawCompat logs with LogLevel=debug.

uhhh, it was played with version 4.0 because i din't expect it to be updated, but witth the newest version half-life is just a black screen and then closes
DDrawCompat-hl.log

Your GPU driver is reporting out of memory. I assume the subsequent crash is a consequence of that.
It looks like an Intel integrated GPU, do you know which model exactly? Can you increase the shared graphics memory allocated to it?
It'll probably get farther if you disable display scaling (DisplayResolution=app setting). v0.4.0 used a simpler downscale filter that didn't require as much video memory, if I remember right.

Your GPU driver is reporting out of memory. I assume the subsequent crash is a consequence of that. It looks like an Intel integrated GPU, do you know which model exactly? Can you increase the shared graphics memory allocated to it?
It'll probably get farther if you disable display scaling (DisplayResolution=app setting). v0.4.0 used a simpler downscale filter that didn't require as much video memory, if I remember right.

i did notice lag in winquake, i have a intel celeron with a intel hd graphics

It should probably support DVMT then, see some background info in the last paragraph here: https://github.com/narzoul/DDrawCompat/issues/163#issuecomment-1324215157
How much system RAM do you have? Please also check how much video memory is reported according to the instructions here:
https://www.intel.com/content/www/us/en/support/articles/000020962/graphics.html ("How much graphics memory does my computer have?")
I'm curious about all 4 values, maybe just take a screenshot of the window if it's easier.

It should probably support DVMT then, see some background info in the last paragraph here: #163 (comment)
How much system RAM do you have? Please also check how much video memory is reported according to the instructions here: https://www.intel.com/content/www/us/en/support/articles/000020962/graphics.html ("How much graphics memory does my computer have?") I'm curious about all 4 values, maybe just take a screenshot of the window if it's easier.

here you go:

Well, that should be enough, assuming you don't have a lot of backgrounds apps or browser tabs or something eating up memory from your GPU. Since the error is reported directly by the display driver, I don't think there's anything I can do about it. You could try updating your display driver, in case it's a driver issue.
I can't reproduce the original issue with DDrawCompat v0.4.0 either, but it's possible it was also running out of memory, which caused that problem for you.
Have you tried DisplayResolution=app? Does it get you any further with v0.5.1?
Last resort to try would be to increase the "dedicated" video memory for DVMT in BIOS.

Well, that should be enough, assuming you don't have a lot of backgrounds apps or browser tabs or something eating up memory from your GPU. Since the error is reported directly by the display driver, I don't think there's anything I can do about it. You could try updating your display driver, in case it's a driver issue.
I can't reproduce the original issue with DDrawCompat v0.4.0 either, but it's possible it was also running out of memory, which caused that problem for you.
Have you tried DisplayResolution=app? Does it get you any further with v0.5.1?
Last resort to try would be to increase the "dedicated" video memory for DVMT in BIOS.

did the displayresolution thing but it didn't work so since i didn't know how to do the second one i just got lazy and enabled 16 color mode on compatibility settings and it worked although the menu problem that started it all still persists

Can you take debug logs with v0.5.1 for the original problem then? Do you have the same issue when not using DDrawCompat?

Can you take debug logs with v0.5.1 for the original problem then? Do you have the same issue when not using DDrawCompat?

DDrawCompat-hl.log
since i use ddrawcompat for the software mode and without ddrawcompat i have to use the opengl mode which doesn't have problems, but with ddrawcompat it is a black screen which could be due to the compability mode, direct3d gets less lag with ddrawcompat and the menu is not fucked

The OP could try running without the 16bit color compatibility mode. After one run the mitigation shim should activate which should work fine for subsequent runs.
I had a hard time handling this when we discussed this in the DxWnd thread. The color compatibility automatic mitigation shim would hammer the game everytime and other's results would differ from mine.
Also the OP reported that OpenGL has no issues but there is a menu bug caused due to SetCooperativeLevel EXCLUSIVE on Windows 10 and later. It was covered in Vogons as well by Ucyborg.
The 2nd level windows (whatever you get in Configuration/Custom game, etc...) is also problematic as it creates a 2nd window on top of main window.

Why do you need DDrawCompat for software mode? Doesn't that work natively?

when i try running without it, it just brings me to my desktop (while it being 4:3 as the game still runs)

Your game version seems to be the same as mine (v46/<IP_ADDRESS>).

correct

Are you using some overlay or other 3rd party app that might interfere? Like Steam overlay, RTSS, or whatever other hooks/mods?

i bought valve complete pack so why would i not play the steam version of half-life? i uninstalled steam and switched to gog because i hate steam's launcher so i installed the won version, i don't know any app other than nglide

One more idea to try: please set DesktopColorDepth=16 in DDrawCompat configuration. In theory this shouldn't be different than setting 16-bit color depth in the executable's compatibility settings (moreover neither settings should be necessary in the first place), but who knows anymore...

didn't work

I noticed something else strange in the logs. After switching back to 640x480 for the main menu, PrimarySurface::getGdiPrimary creates a 32-bit surface for some reason, while it's correctly creating a 16-bit surface for me. I don't understand why, because in other parts (e.g. WM_DISPLAYCHANGE messages) DDrawCompat is still correctly reporting a 16-bit color mode.

This should be the bug. It was a bug when DxWnd Locked 32bit color ± dgVoodoo2.
If you add the "-32bpp" parameter to the game executable, it will launch with 16bpp color and turn to 32bpp in mission and forward on. In SW, the menu should be 16bpp and 32bpp menu is how OP has; in D3D/OGL 32bpp menu is correct.

@narzoul I report the same issue here: currently the only way to make the menu showing properly seems to set the same menu resolution also for the game (that is 640x480). Any other choice results in the glitched menu graphics. I think the problem is all about the video modes gap (GDI for menu, Software for the game), it sounds like the .dll has some difficulties switching between them.

Finally managed to reproduce a similar issue using the demo version (Half-Life: Uplink). I don't know why the menu in the full version doesn't work the same way for me.
Anyway, here's a first fix attempt that seems to fix the demo at least (most of the time):
ddraw.zip (diff.txt compared to v0.5.1)
Hopefully it fixes your issues too. It still glitched out for me on a few occasions, but then I changed a few more things and I'm no longer sure if it still happens. Anyway, let me know if it helps and whether there are still occasional glitches for you. I might end up rewriting the code anyway before the next release due to other issues with primary surface handling.

Finally managed to reproduce a similar issue using the demo version (Half-Life: Uplink). I don't know why the menu in the full version doesn't work the same way for me.
Anyway, here's a first fix attempt that seems to fix the demo at least (most of the time): ddraw.zip (diff.txt compared to v0.5.1)
Hopefully it fixes your issues too. It still glitched out for me on a few occasions, but then I changed a few more things and I'm no longer sure if it still happens. Anyway, let me know if it helps and whether there are still occasional glitches for you. I might end up rewriting the code anyway before the next release due to other issues with primary surface handling.

it fixed the menu being opened from the game, except when starting the game, the startup videos and menu is completely black (still works)
big difference is that i don't need to reduce the color depth in the compatibility section, and can play with or without desktopcolordepth (still use it in my quake ini)
here's the log:
DDrawCompat-hl.log

retested and the game crashed
DDrawCompat-hl.log

it fixed the menu being opened from the game, except when starting the game, the startup videos and menu are completely black (still works)

Was this a problem before or is this caused by the above patch? If the menu is completely black, how did you start a game to test the fix?
Anyway, I can't reproduce it again, with either the demo or the full game. Maybe it's time to hunt down what is the version difference between our games. How big is your hl.exe in bytes?

retested and the game crashed

I don't see any reason for the crash, maybe it's not ddraw related. Anyway, I'd need a crash dump to tell better. If you don't have one in the usual directory (%LOCALAPPDATA%\CrashDumps), maybe set the CrashDump setting in DDrawCompat to mini or full, in case it happens again.

Finally managed to reproduce a similar issue using the demo version (Half-Life: Uplink). I don't know why the menu in the full version doesn't work the same way for me.
Anyway, here's a first fix attempt that seems to fix the demo at least (most of the time): ddraw.zip (diff.txt compared to v0.5.1)
Hopefully it fixes your issues too. It still glitched out for me on a few occasions, but then I changed a few more things and I'm no longer sure if it still happens. Anyway, let me know if it helps and whether there are still occasional glitches for you. I might end up rewriting the code anyway before the next release due to other issues with primary surface handling.

Worked just fine for me, I had problems only testing 400x300 and 512x384 (black screen at menu), but all the other higher game resolutions (640x480, 800x600, 1024x768, 1152x864, 1280x960) switched back correctly to the menu graphics.
I'm using Windows 10 and my HL version is <IP_ADDRESS>

it fixed the menu being opened from the game, except when starting the game, the startup videos and menu are completely black (still works)

Was this a problem before or is this caused by the above patch? If the menu is completely black, how did you start a game to test the fix?

caused by the patch managed to get working using keyboard

retested and the game crashed

I don't see any reason for the crash, maybe it's not ddraw related. Anyway, I'd need a crash dump to tell better. If you don't have one in the usual directory (%LOCALAPPDATA%\CrashDumps), maybe set the CrashDump setting in DDrawCompat to mini or full, in case it happens again.

https://litter.catbox.moe/tf19pl.dmp


ResilioSync🐛 [Addon name]

Description
I installed ResilioSync on HomeAssistant OS 12.2, but when I start the add-on and try to view the logs it fails to fetch them. I uninstalled and reinstalled the add-on several times with the same result.
Reproduction steps
1. Go to 'Logs'
2. Click on '....'
3. Scroll down to '....'
4. See error

Addon Logs
Failed to get add-on logs, Failed to fetch

Architecture
aarch64
OS
HAos

Fixed itself on it's own. Maybe an HA update did it...?

Sometimes HA is strange and breaks or fixes things unexpectedly... Glad it is now working though!


Added Ho Chi Minh City University of Food Industry

@kn1171998 Could you please send an email to<EMAIL_ADDRESS>It's a bit odd to see requests regarding the same university (of Food Industry) with different email domains. Please tell us in the email:

the school official website URL
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

As for now, I have to close the request without merging.


Allow storage.reader to read gzip blobs in compressed chunks

This fixes #982 with a workaround, allowing gzip blobs to be read in (uncompressed) chunks via a ReadChannel.
We should get rid of this change as soon as https://github.com/google/google-api-java-client/issues/1009 gets fixed.

Coverage decreased (-0.04%) to 84.732% when pulling 6db8ff4de5e14d4052204d3c2a4ca35f2e886c91 on mziccard:gzip-reader into dcee4732c3c8ec0249f252131ca101d8d4ec7343 on GoogleCloudPlatform:master.

/cc @lesv

LGTM


[cambro] Add new extractors for kt_player-based websites

Please follow the guide below

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

Before submitting a pull request make sure you have:

[x] Searched the bugtracker for similar pull requests
[x] Read adding new extractor tutorial
[x] Read youtube-dl coding conventions and adjusted the code to meet them
[x] Covered the code with tests (note that PRs without tests will be REJECTED)
[x] Checked the code with flake8

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

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

What is the purpose of your pull request?

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

Description of your pull request and other information
Add cambro.tv, camwhores.tv and camhub.cc extractors. The tricky part was in reverse engineering of kt_player JS in order to re-create video URL reencoding algorithm.
Closes #30587
Closes #11009
Research approach with CDT debugger:

Set a breakpoint at kt_start
Execute in CDT console:flashvars._video_url = flashvars.video_url;
Object.defineProperty(flashvars, 'video_url', {
    get: function () {
        return flashvars._video_url;
    },

    set: function (value) {
        debugger;
        flashvars._video_url = value;
    }
});

The second break is where the url re-encoding happens.

@dirkf mind merging this? The stuff works and closes two issues.

hi, does this site work yet? reply would be appreciated


added github secrets lister subcommand

CodeScene PR Check

View detailed results in CodeScene

Quality Gates
OK

Recommended Review Level
Detailed -- Increased risk for defects: The change involves more modules and modified lines of code than 99% of the historic high-risk change sets. The risk is higher as much of the code in this repo (99% of all commits) is written by other authors.

No Warnings

Review of New Files
0 new file(s) below the threshold for new code (7).
4 new file(s) where the code health is above the threshold.

@SEQUOIIA reminder for myself to review


Crc::new doesn't need to require a 'static Algorithm reference

This restricts how a program could construct a custom algorithm locally ands use it on the fly.
I noticed that the current internal of Crc holds the reference. Relaxing the lifetime means Crc would need a lifetime parameter as well, which is a breaking change unfortunately. An alternative way is to let Crc clone the data Algorithm has.

I think originally when I opened this issue, I was trying to bruteforce an unknown CRC algorithm given data and the end result. In that case, every parameter can be unknown and needs to be constructed on the fly.

@wwylele Did you find a way of doing it? I have a fairly similar use case.

@nathanaelg No, I didn't. I didn't finish that project for other reasons.

If the list of possible algorithms is bounded, then could you create a const array of all the ones you want to test? Maybe with a const fn.


Data cleaning task for যা দেখেছি যা বুঝেছি যা করেছি - chunk 5

This is the data cleanup task for যা দেখেছি যা বুঝেছি যা করেছি - chunk 5.
What to do

Remove all non-Bangla characters and words that do not make any sense or cannot be traced back to the original text.
Fix spelling mistakes in the extracted text. You'll see that some words are incomplete and some words contain garbage characters. To fix it, you can replace it with how it is originally written in the book. As long as the texts match what's in the original book, it's good to go.
Keep the metadata (page numbers, publisher's name, table of content etc.) as it is.

Links
You can download the text file from here.
After clicking the link above, click 'Download raw file' (the download icon) on the top right corner to download the file to your local machine.
Click here for the original book.
Important
Please follow the instructions in CONTRIBUTING.md to start contributiing. Do not assign the issue to yourself right away and start working on it. If you have any questions about the contribution process or you hit a roadblock, please feel free to reach out to me (@dg1223) or any other team/tech leads by commenting here or on our Whatsapp channel.
Thank you for willing to contribute to this project.

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

would like to take this one @dg1223

@mazed9 instruction 1 updated; instruction 3 removed

@mazed9 Do you have any update on this one?

Closing after merging #42


Create a templated PDF reporter based on Antenna

The Eclipse Antenna project provides an attribution document generator that produces PDF documents based on templates. Having such a reporter would be beneficial for users that require professional looking documents that allow to be branded.

@mlmilan, this might be of interest to you as @bs-ondem is planning to work on this.


Have two separate lists for all resolved mods and current profile mods

introduce two lists of mods:

the list on the left should be a list of all available resolved mods
the list on the right should be the mod list of current profile
by dragging and/or double-clicking, mod(s) from all resolved mods can be added to a profile mod list
-* support for bulk mod addition

possible implementation:

any resolved mods are added into an invisible "all" profile.

Will try to do a PR this weekend


[Feature Request]: Add support for linking to entries/assets/elements dynamically

This plugin is ~ 75-85% of the way for what we need, but our staff often need to link to existing entries or assets from within a table and we can’t do that without having them write hardcoded URLs.
A way back the request for multiline support was made and in it, the ability to add Rich Text. Is there any way for either of these things to be supported? Currently we are building out 5-10 different fieldtypes that allow us to choose a different number of columns, but the ability to do this dynamically inside this plugin would be far preferable.

+1 for feature request above!
Is SuperCool still working on this plugin? Safe to use? :)

@Osze it's been well over a year since the plugin last saw an update. I can confirm it does work still, but I'm unsure if they're planning to ever do anything further with it. :(

Plus 1 for this. About to start on some development for a site that heavily uses tables - and within those tables we will need to be link to entries.
3 years on from the last comment on this FR is there any plan to implement; I know the plugin has been taken on by Verbb now?

I need this feature as well. My use case requires adding assets to the table.
Access to the native craft assets field and GraphQL image transforms would be amazing.

Any chance this might be implemented? :)

The trickiest aspect of this is going to be the UI, which is ill-suited to a table column for either a Link field (core Link field, Hyper, etc) or a Rich Text field (Redactor, CKEditor, Vizy, etc).
I will state that while rich-text support might be an option, anything more advanced than that would be out of the question. Relational fields like Assets isn't going to be realistically possible due to how relations work, adding plenty of complexity. If it were as simple as adding an element select field to a column, that wouldn't be so bad.
So at the moment, I'm only entertaining this idea through a rich text editor being able to link to content, but at the end of the day, that's going to be stored as plain text.


CR client for etcd cluster

Once we move to CRD (https://github.com/coreos/etcd-operator/issues/1236), we can have more reliable way to create CR client.
First, we don't need the "ClusterCopy" and "Metadata" hack in our spec.
Second, we are going to create CR client to replace current REST calls and drop TPR client. Also drop the "cliente2e" test.

Already done in "crd" feature branch.
Closing this to converge tracking in #1236


Clear the pending block if the local node rejected the proposal

Motivation
If a block fails locally before being sent to the validators (for whatever reason), we currently don't clear the pending block. That means that we'll basically "brick" that chain client, as every block that we try to propose using it, will try (and fail) to propose the pending block again.
Proposal
If we fail locally, clear the pending block. Fixes #2906
Test Plan
CI
Release Plan

Nothing to do / These changes follow the usual release cycle.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2908  👈 (View in Graphite)
#2907
main

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

Closing for now as we seem to have a broader issue around pending blocks that needs to be addressed more holisticly


Add Harsh to CONTRIBUTORS.md

Added my name to CONTRIBUTORS.md

Be sure to give a star to this repository so it can be found by others.


Programming Language Detection

Programming Language Detection using the File Extension (File Type)

completed after checking for the extension. There are only a limited number of programming language that we can detect using this. Needs work in the future.


Add Khmer language

Dear, Is it supported Khmer language? If not yet, Can you add it please?
Thanks for advance.

It is a language independent speech recognition engine. If you create an
acoustic model and language model with HTK it can use it. I created
Hungarian years ago.
sansopheakh @.***> ezt írta (időpont: 2024. dec. 8., V
3:09):

Dear, Is it supported Khmer language? If not yet, Can you add it please?
Thanks for advance.
—
Reply to this email directly, view it on GitHub
https://github.com/julius-speech/julius/issues/197, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHNHTWUNBQ2JTHECDAOUKHL2EOS6NAVCNFSM6AAAAABTGYAUKKVHI2DSMVQWIX3LMV43ASLTON2WKOZSG4ZDIOJQGUZTSNI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Claude 3.5 Sonnet New

Hello maintainers,
Can you please update the leaderboard by considering the New Claude 3.5 Sonnet released a few days ago?
Thanks.

Hey @ofermend ,
Thanks a lot for the quick reply!
I'm honestly surprised that even the latest version of that model, named "Claude 3.5 Sonnet (New)", with that extra "New" in parenthesis, still has 4.5% hallucinations!
Yet in my experience, coding and debugging is outstanding. And the best perk of using Anthropic's models is the inherent safety that comes with using it.
Anyways, thanks again!


Flush styles for styled-components

Follow along with https://github.com/zeit/next.js/tree/master/examples/with-styled-components to handle styled-components. Currently only styles for styled-jsx are flushed with the current setup.

This may involve upgrading the nteract components (that now use styled-components)

Done!


Motion stops arbitrarily even though shown as running

I'm noticing two problems on v6.2.5 - v6.2.8 running external motion detect on RasPi 2 and 3 running jessie

I am recording image snapshots during motion events.  In low light I'm getting snapshots every 2 seconds even though there are no motion events.  In regular light it fails to capture any motion events (ie. I can put my hand infant of the camera nothing happens).

The main screen shows "Motion Detection Stop" and appears to be running.  No motion events get captured.  If I click on "Edit Motion Settings" the buttons appear and nothing else (no settings are displayed). "Show All" and "Show Less" do not do anything.  I have to go back to the main screen, select "Motion Detection Stop" then "Motion Detection Start".  Now I can view and edit motion settings.

If you have set up an image capture when a motion trigger start occurs then you must be getting motion triggers under low light. Log (accessed from scheduler) will say what s going on. Likewise in higher light. Normally lack of trigger would be to do with the actual motion settings in use.

The motions setting page when external motion is used relies on an API interface which requires external motion to be running. That is why you only see it after pressing Motion Start.

Why don't you try the internal motion which is much easier to use?

Will internal motion still do snapshots instead of video?  I've never used the internal because it doesn't appear have any settings I can control.  I don't like video because they fill up my drive space too fast and the resolution is too for trying to catch license plates

Yes. External or Internal just provide triggers that can do whatever you configure including snapshots.
When you select internal motion under camera settings then the old motion setting button disappears and a new motion settings panel appears under camera settings.
With internal it can be useful to include %c and %f in the annotation string to start with as these show the changes being detected in real time.

With internal it can be useful to include %c and %f in the annotation string to start with as these show the changes being detected in real time.

Can you provide a clear example of how to create a snapshot during motion events using internal I don't understand what you said in this sentence.  Is this under motion.conf because I don't have anything I can add/change in the web interface

motion.conf is only used by external motion.
When motion (internal or external) triggers then it just sends a 1(start) or 0(stop) to the scheduler. The scheduler set up determines what action should be taken by sending any commands that are in the motion start or motion stop settings. In All Day mode then there is only one start and one stop so the action is always the same. In 'Fixed Times' or 'Sun based' you can have different actions at different times.
So for video motion one puts a ca 1 (video start) in the Motion Start and a ca 0 (video stop) in the Motion Stop.
If one just wants to take a single picture whenever Motion is detected then one would put a im command in Motion Start and leave Motion Stop blank.
If one wants to take a sequence of pictures during Motion then set up the required time lapse interval and then put a tl 1 (time lapse start) in Motion Start and a tl 0 in Motion Stop
You can use any command as listed in the reference and you can string multiple commands together (separated by ;) This allows changing camera settings at different times of the day.

Thanks for the clarification I was confused by the difference in setup between the internal and external.  If I use the internal settings and want to modify via the command prompt what file do I edit? /etc/raspimjpeg?

You can edit the internal motion settings in /etc/raspimjpeg or you can also edit (or create) the uconfig file which is kept in the web install folder. raspimjpeg reads /etc/raspimjpeg followed by any settings in uconfig and so the latter take precedence. Whenever a change is made from the web interface it is stored in uconfig. The advantage of making any of your own changes in uconfig is that they will survive software updates whereas the /etc/raspimjpeg would get overwritten.

OK thanks.
Another question.  I just reinstalled everything using the new install.sh script.  After reboot the camera doesn't start up even though /etc/raspimjpeg has
autostart standard
motion_detection true
http://elinux.org/RPi-Cam-Web-Interface#Startup_Behaviour says I need to configure startup using ./RPi_Cam_Web_Interface_Installer.sh autostart_yes but I've read in other posts that RPi_Cam_Web_Interface_Installer.sh is no longer needed/used/recommended.
Why doesn't the camera start after reboot now and what is RPi_Cam_Web_Interface_Installer.sh used for if it is still included?

The RPi_Cam_Web_Interface_Installer.sh was the original installer method developed before I got involved. When Jessie was introduced the changes were quite large so I developed my own simpler installer install.sh which is what I recommend to use. Others were tweaking the original method so I did not want to remove it.
However, I only update install.sh now.
There are 2 parts of starting up. The first is whether the raspimjpeg process is started automatically during a boot up. This is controlled by the autostart option in the install dialog. Setting this to yes (not standard) means that boot instructions are installed to start up raspimjpeg. is set to yes  Do not put standard in there. The second part is whether the raspimjpeg process itself starts up with the camera active or needs a camera start command (e.g. from web interface). This camera active is controlled by the autostart config parameter in /etc/raspimjpeg which can be standard or idle. By default it is standard which means the camera is active when raspimjpeg is started. The installer does not change the default value of this.
I agree it is a little confusing because the two separate things are called autostart and it would have been better to have called the install item autoboot.
You can run ./start.sh to start the raspimjpeg process manually and if you run ./install.sh again and set autostart to yes then it should start up automatically on each boot up.

There are 2 parts of starting up. The first is whether the raspimjpeg process is started automatically during a boot up. This is controlled by the autostart option in the install dialog. Setting this to yes (not standard) means that boot instructions are installed to start up raspimjpeg. is set to yes Do not put standard in there. The second part is whether the raspimjpeg process itself starts up with the camera active or needs a camera start command (e.g. from web interface). This camera active is controlled by the autostart config parameter in /etc/raspimjpeg which can be standard or idle. By default it is standard which means the camera is active when raspimjpeg is started. The installer does not change the default value of this.

Is there another spot in the config files, other than /etc/raspimjpeg, that tells the camera and motion services (internal and external) to start up after boot?
The reason why I am asking is that something goofy is going on when my pi works well for a day after a clean install, then motion stops working for no reason or the camera isn't going and there is nothing helpful in the log files and I don't want to have to keep logging in via SSH to try and restart the process.  Just now for instance I've had the pi running since this morning using internal motion and I had set up the %c and %f to try and fine tune things.  I checked just now and motion seems to have stopped working, the values are locked %c=0000 and %f=0000 and I can't get motion to start.  I just deleted everything and reinstalled and now I get %c=0005 and the values change with any video motion events.

External motion uses the external motion process and when this is active then you should see a motion process when doing ps -A
Internal motion uses a vector feed from the camera and does not use the motion process at all. So you should not see motion in the process list at all.
Once the system has started and motion (external) is started or not as the case may be, then any change to motion set up should be occurring either because the user has manually started or stopped motion detection or because the scheduler has been set up to start or stop motion during one of the period changes.


Closes #15 adds CDC growth chart data created by code

Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the main branch until you have checked off each task.

[x] Place Closes #<insert_issue_number> into the beginning of your Pull Request Title (Use Edit button in top-right if you need to update)
[x] Code is formatted according to the tidyverse style guide. Run styler::style_file() to style R and Rmd files
[x] Updated relevant unit tests or have written new unit tests, which should consider realistic data scenarios and edge cases, e.g. empty datasets, errors, boundary cases etc. - See Unit Test Guide
[x] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[x] Update to all relevant roxygen headers and examples, including keywords and families. Refer to the categorization of functions to tag appropriate keyword/family.
[x] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[x] Address any updates needed for vignettes and/or templates
[x] Update NEWS.md under the header # admiralpeds (development version) if the changes pertain to a user-facing function (i.e. it has an @export tag) or documentation aimed at users (rather than developers)
[x] Build admiralpeds site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the Reference page.
[x] Address or fix all lintr warnings and errors - lintr::lint_package()
[x] Run R CMD check locally and address all errors and warnings - devtools::check()
[x] Link the issue in the Development Section on the right hand side.
[x] Address all merge conflicts and resolve appropriately
[x] Pat yourself on the back for a job well done! Much love to your accomplishment!

@zdz2101 Reminder to resolve merge conflict for NEWS file. No further comments from me then besides the few remaining above.
@Pierre-Wallet please take a look too and let us know if you spot anything, or if you’re happy for me to approve/merge then once my comments are resolved. And please you can match the same conventions in your MR for the WHO charts. You can add me and Zelos as reviewers for that one then once ready.

@zdz2101 , @rossfarrugia
sorry for my late answer, I am fine with the approach.
The only thing that is missing is the documentation (.Rd files) for each metadataset. I think it is a must have.
And one thing for my curiosity:
I tested your get_cdc_data() function and it works well but how is it possible without any call to data() function ?

@Pierre-Wallet You can write the details in a generalized manner for the .Rd of get_who_data()/roclet there.
You can store internal datasets to be retrieved in a package see this snippet of the r-packages, I tagged you in a comment above that explains the logic

@Pierre-Wallet You can write the details in a generalized manner for the .Rd of get_who_data()/roclet there.
You can store internal datasets to be retrieved in a package see this snippet of the r-packages, I tagged you in a comment above that explains the logic

Yes I know how to store internal datasets, this is what I had initially proposed in my PR... The only difference is the usage of internal = TRUE parameter so that there is only one .rda instead of having one for each metadataset.
Regarding the documentation part, I would not have a generic .Rd file for the WHO metadatasets. Please not that there are 12 WHO metadatasets and they do not have the same structure. It would induce confusion for the end user.
Regarding the get_cdc_data() / get_who_data() functions, what is the actual added-value? It is only a wrapper for the data() function. Plus it brings the constraints of creating in the WHO case 12 aliases, one for each metadataset.
I understood that these functions, in the {admiralroche} case, are necessary because they contain the steps to rebuild the metadatasets within the final program, but this is not our case here. The metadatasets will remain stored anyway.
So I think we brought complexity only to handle aliases. With a proper documentation and a classical call to data(), it can be handled more easily acc to me.
Or is there another reason that I missed?
Regarding the technical point of get_cdc_data(), what I do not understand is why the dataset is loaded in the environment without any call to data() within your switch function. At first glance, I was expecting only the character string of the dataset name was returned. Do you know why?
Finally, sorry for commenting on this now, I should have jumped in before but I missed your notifications. But there are 12 WHO metadatasets to handle, so before updating everything I want to be sure on what we decide.
Thanks,
Pierre
@rossfarrugia  @zdz2101

@rossfarrugia I think it comes down to whether or not we want to export the data/how we expect users to access the datasets as well, figured if there was pre-existing way of handling metadata, we would follow suit. But I don't work with/am not familiar with {admiralroche}
As for the technical point @Pierre-Wallet I believe the setting LazyData: true in the DESCRIPTION file is what allows this to happen

@zdz2101 @Pierre-Wallet my original thinking was that the 2 functions would just be tribbles and we'd never need to store the .rda in the package (that was our admiralroche approach and it worked simple enough), and then users could either call these functions or replace them with their own specific metadata created in the same format. I think in one of the discussion threads above it was felt that having the .rda as non-exported would be easier for other package components so no need to re-make them internally by running these functions. I don't feel like users should ever use the .rda files though - they should run the functions that recreate the metadatasets as dataframes. Happy if you guys both think we could simplify this way? But I might be missing something from all the discussions above and I trust both your R package dev knowledge more than mine!

@rossfarrugia I think it comes down to whether or not we want to export the data/how we expect users to access the datasets as well, figured if there was pre-existing way of handling metadata, we would follow suit. But I don't work with/am not familiar with {admiralroche}
As for the technical point @Pierre-Wallet I believe the setting LazyData: true in the DESCRIPTION file is what allows this to happen, but I'm not 100% sure the absolute technical reason, I just thought this is how the sysdata.rda object works

Thanks Zelos,  I think you're right!

@rossfarrugia  thanks for your answer.
There are several options.

We do not store anything from CDC or WHO websites. We create functions that imports the metadatasets from their respective source.
The end users will have to run these functions all the time. It can be cumbersome and takes time because some data sets are long. It induces dependencies on the websites, which is not a good idea acc to me. We should reduce dependencies as much as possible.

We store the metadatasets in their original format (.csv, .xls or other) in the package. They will be in data-raw folder where the end user will not have access (because data-raw folder is not installed when end user installs the package). Some R scripts will also be in data-raw folder to read these data in their original format and create other datasets. Usually this is done to create .rda files, which will be stored in data folder. Data folder is accessible to the end user. This is the approach we have followed so far except that we did not store the metadatasets in their original formats. Instead we recreated them manually with tribble::tibble().

A third option is to store the metadatasets in their original format in inst folder. In this case, the end user will have access to them using system.file("metadataset.csv", package = "admiralpeds") and we can build function to import these source files into R metadatasets.

How to decide?
Scenario 2 and 3 imply a manual operation when recreating the original metadata. This is a source of error. And the community may not trust us. Because it relies entirely on Zelos and I :)
There could be an option to guarantee that the recreated metadatasets stick to their website source by using a test. I have never done that but I think it is possible to test that our internal metadatasets are identical to the imported ones from the website. This plus the snapshot test should be enough to convince the community that we are reliable.
I do not like scenario 3 as there is a small added-value of keeping the metadatasets in their original formats as the end user can access them easily on the respective websites.
I am not in favor of scenario 1 because we do not leverage all the capacities of a package. Plus having the data available in .rda format makes everything easier and more flexible, both for the developers and the end users.
I am in favor of scenario 2, assuming the tests I discussed above are feasible. But in that case, we do not need the get_cdc_data() / get_who_data() because they do not bring any added value.
I hope I am clear enough.
Do not hesitate to set up a quick meeting with the 3 of us if you feel it is needed.
Happy to elaborate.

@zdz2101 as you're technical lead though I trust your call as to whether you prefer to swap out get_cdc_data() and instead give the users these files as .rda.  I know in admiral package there are some .rda files provided to users. The main point though is let's be transparent with our users how these were generated so that they have access to whatever was used and they could adapt it if ever needed to supply their own metadata.

Hi All,
Interesting conversation, I think option 2 is preferable, I like the idea of storing the original data in the package.
We did something similar in admiral core package for lab grading, where the spreadsheets from NCI were added to the package, with some extra columns added by us. We then read in the spreadsheets and stored them as .rda files, and are accessed directly in the code, we don't even need data() call.
I also lead the admiralroche package, where we had several (smaller) pieces of metadata and these were created by tibble function, and it made sense to have get_<metadata> functions, for the reasons Ross described. We also didn't have "original" spreadsheets for these metadata, as they are internal to Roche, and users may want to overwrite some of them.
If you remove the get_ functions, as long as the .rda files are well documented and users can easily see what they are called, I think this is fine also.
Regards,
Gordon.

@rossfarrugia @zdz2101 @millerg23
Hi everyone,
Sorry Ross but I do not understand what you expect.
You mentioned you're in favor of 2, which means having the metadata in .rda but at the end you would vote not to have the metadata in .rda. This is contradictory.
If I understood correctly the get_ behaviour, you expect this function to recreate the metadata with tribble::tibble(). This is not what we have done so far. The get_cdc_data() is just loading the metadata already existing in data folder.
Please correct me if I misunderstood.
Regarding the testing part, sorry but I did not follow all the discussions you had on Zelos PR.
I totally agree with the electronic comparison you performed. I just mentioned it would be good to automatize it in the unit tests in testthat folder.
Now if you want to review my PR, feel free to do it right now because it already reflects the scenario I am in favor:

the tribble::tibble() statements are available in data_raw folder, they create the metadata in data folder
the documentation for each metadaset is available
The only missing elements  are head circumference data, get everything in one .rda file and the automatization of the test so that you do not even have to do it manually in your PR review.

Kind Regards,
Pierre.

@zelos, available on Monday afternoon for me, I think it will be morning for you assuming you're US based.
@rossfarrugia thanks for the clarifications. At least, I have confirmation that I understood correctly your needs.
We'll make it.


Handling Unexpected Python Errors in Sirji by Opening Chat Interface

Description
When Sirji encounters a Python error, it becomes unresponsive and locks users out of further interaction.
Expected Behaviour
Upon catching a Python error:

The error message to be shown to the user in chat.
The chat message box should be enabled.

Update: Issue Resolved
The Python error-handling issue has been resolved. Now, when Sirji encounters a Python error:

The error message will be displayed to the user in the chat.
The chat message box will be enabled for further interaction.


Enhanced syntax support

It would be great if this extension provide enhanced support for taskfile syntax, such as task reference autocomplete, clickable task references, semantic highlights, "run task" codelenens (similary to jest extension). All this will require development of custom language server like for example ansible language server for ansible vscode extension

There's a language server made by someone else that stopped being updated at 2020 but that we could potentially use as a reference to build a new one: https://github.com/paulvarache/taskfile-language-server.
@Igorgro My summary is: I see value on all of this, but given this extension is pretty new, keep in mind that it can take a long time until we have all these features (if at all), specially if they require a language server, which means more work.


Basic example: need some clearing explanations

Hello and thank you for providing access to your library!
I have been playing around with python version of the library, trying to figure out how it works and repeating the basic example; It seems to be that I am doing something wrong, but I cannnot figure out what as the resulting diffusion map is definately not right. I will be gratefull if you could explain where I am mistaken.
Thank you!
Here is the code:
import dmaps
import numpy as np
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
length_phi = 12
length_Z = 12
sigma = 0.1
m = 10000
phi = length_phi * np.random.rand(m)
xi = np.random.rand(m)
Z = length_Z * np.random.rand(m)
X = 1./6 * (phi + sigmaxi) * np.sin(phi)
Y = 1./6 * (phi + sigmaxi) * np.cos(phi)
swiss_roll = np.array([X, Y, Z]).transpose()
print(swiss_roll.shape)
dist = dmaps.DistanceMatrix(swiss_roll)
dist.compute(metric=dmaps.metrics.euclidean)
dist.save('distMetr.jpeg')
diffMap = dmaps.DiffusionMap(dist)
diffMap.set_kernel_bandwidth(3)
diffMap.compute(3)
v = diffMap.get_eigenvectors()
w = diffMap.get_eigenvalues()
plt.rcParams["figure.figsize"] = (8, 12)
fig = plt.figure()
Axes3D
ax = fig.add_subplot(211, projection='3d')
ax.scatter(swiss_roll[:, 0], swiss_roll[:, 1], swiss_roll[:, 2], c=swiss_roll[:, 1], cmap=plt.cm.get_cmap("Spectral"))
ax.set_title("Original data")
ax = fig.add_subplot(212)
arr0 = ax.scatter(v[:, 1]/v[:, 0], v[:, 2]/v[:, 0], c=swiss_roll[:, 1], cmap=plt.cm.get_cmap("Spectral"))
plt.xlabel('$\Psi_2$')
plt.ylabel('$\Psi_3$')
plt.title('Projected data')
plt.show()

Hi,
The main issue is that your kernel bandwidth is too large. Per Coifman et al., they suggest twice the slope of a log-log plot of the sum of the similarity matrix. There is a convenience function in dmaps to sum the similarity matrix: diffMap.sum_similarity_matrix(epsilon).
You should get a good result with a kernel bandwidth of about 0.1.

Great, Thank you very much for the help!
I also read the article from another post: https://sidky.io/blog/diffusion-maps-part-2/
everything become more clear) Again thank you for your help!


Abstract buildSubsetCluster

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

close, it is already involved by #31986


Add an onBlur function to SchemaUIs to allow an action when focus is lost in edit mode

fixes #240
Instead of trying to catch every other element that you might click to cancel editing, use the onBlur method of the element you are leaving to take it out of edit mode.
This means that it doesn't matter where you click when leaving the focus of the textbox or textarea, it will be properly deselected for the next time you click it.
Questions:

is onBlur a good name for the prop? Would it be better as onStopEditing() or similar?
Is it better to make it an optional prop and check it exists before using it, or make it required and pass an empty function when used in <Preview>?

Thank you. I'll make the necessary corrections on my end and then merge the changes.
We plan to release the version with these updates as 2.1.0 during this holiday.

I believe "onStopEditing" seems to have more versatility, so I'd like to go with "onStopEditing".
While we might change it in the future, we'll decide against making it optional. Instead, we'll pass an empty function when using it in the  component.

Released as https://github.com/pdfme/pdfme/releases/tag/2.1.0

thanks @hand-dot !


migration: add_column_if_not_exist not work!

Description
expect add_column_if_not_exist return Ok when column exists.
Steps to Reproduce

create table and and column x
add_column_if_not_exist('x')

Expected Behavior

Actual Behavior

Reproduces How Often

Workarounds

Reproducible Example

Versions

Again, this depends on the backend. AFAIK IF NOT EXISTS clause does not work everywhere.

SeaQuery's AST does not hold version information about the backend.
In general, validness of statements cannot be determined at the point of invocation.
We might need a separate linter for that.


Change ssh example user from 'ubuntu to 'root'

Fixes #3510

@danhawkes please prefix your commit message with docs:  and add a DCO sign-off.

@danhawkes do you intend to modify this patch?

@danhawkes I went ahead and did a new PR: #3526.

No - the new PR looks good, thanks.


SimplePDF customization

Current configuration
Currently the customization is done via entries in the conf.py file. These include variables from html_context and simplepdf_vars as i know.
The intention seems to be to add html_context variables for "content" that should be visible in the html and simplepdf_vars configures values (e.g. like colors, background) for the css/scss files.
Some content is not part of the html view, this content is only available e.g. on print. These includes e.g. the "counter(page)" visible in the pdf top-left output. Also the top-right content is "hard-coded" into "string(heading)". This is currently done in the "scss" files and cannot be configured by the user.
Motivation
The user wants to customize the pdf output to have a header/footer section in his pdf. The content should be definable by the user and
use the provided theme
What should the user be able to configure
The user should be able to configure the header/footer content for the template with elements from html or variables from scss context.
This should include all "design" independent @pages sections.
These are: "top-center", "top-right", "bottom-left", "bottom-center", "bottom-right"
"top-left" is currently not good to configure by the template, cause it has a fixed width to contain the page number.
The user now wants to add content to the bottom on each pdf page that includes e.g.

page/totalnumber of pages, e.g. in the bottom-left
copyright information, e.g. in the bottom-center
Dokument output name (e.g. mydoc.pdf), e.g in the bottom right

This content should be definable via "simplepdf_vars" cause they do not normaly appear in the html output. If they appear, they should also be usable.
Possible solution
conf.py:
simplepdf_vars = {
  'bottom-center-content' : 'pageElement(back-cover-footer)',
  'top-left-content' : 'counter(page)',
  'top-center-content' : 'string("Only visible in page print")',
  'top-right-content' : 'string(heading)'
}

_page.scss:
@page {
  @top-right {
    content: $top-right-content;
    font-size: 9pt;
    height: 1cm;
    vertical-align: middle;
    width: 100%;
  }
}

The values e.g. from pageElement are defined in html_context and maybe used e.g. in cover.html or back-cover.html. (E.g. reuse of the copyright information)
But if they only are intended to be used in "print" output, the should be defined as text in simplepdf_vars
Open Questions

Which variables should be part of the basic theme / layout and what is just intend to be customized by a private/local css.
All currently mentioned changes could e.g. be overwritten in a custom css with the @page section
What needs to be changed/adapted in the basic theme/layout
How to add custom themes for sphinx-simplepdf

This is intended as an proposal to possible customization, started during the bugfix of #4.

Thanks for starting this discussion.
Indeed there is no real concept right now on what and how things shall be configured.
For the scss/css configuration, I would always create an internal var inside _variables.scss first:
$primary: config('primary', '#961a1a') !default;
$top-right-content: config('top-right-content', 'The default content if not specified by user') !default;

This allows us (the devs) to set defaults at one single location.
As for the rest, I'm mostly fine.
Only missing thing is the usage of the sphinx _templates folder.
It allows overwriting the html-template with project-specific template-files.
So for me, this is the mechanism to use, if I want to add more complex data and not just a single string for the headline.
But our templates are just very focused and don't tell the author what else can be used (no sections, which are commented out).
And I haven't tested it yet.
For custom themes, there could be a simplepdf-variable simplepdf-theme, which takes the name of the theme to use when make simplepdf gets called. Currently this value is hard-coded.
But for sure, this theme needs to be installed as its own sphinx-theme.
But forking this repo could be a good starting point :)

Still forked :smile: Ok, then i would start with the variables to configure the page top-right-content and top-center-content.
default would be like the current: top-right is the heading and top center would be an empty string.
the variable will be added to _variables.scss

I close this issue, as the first implementation got already merged. Thanks for it :+1:

But our templates are just very focused and don't tell the author what else can be used (no sections, which are commented out).

Short question: The section numbers do not appear in the html generated by the SimplePDFBuilder, independent of the use template. You stated that "sections" are commented out. What does this mean? My TOC contains section numbers, but in the generated html they are not shown.

Sphinx-SimplePDF starts a SinglePageHtmlBuild, which is a builder from Sphinx.
This creates a single HTML file and removes all toctree entries, as otherwise you would have a page-toctree per chapter, as you use toctree normally inside each index-rst-file.
So a toctree is only added at the end of the singlepage HTML, as sidebar-entry.
So the config from a toctree is not taken for the sidebar-toctree.
(It took me half a day to figure out how this mechanism is working).
However, if :numbered: is used, the sections-names should get a chapter-number as a prefix. And these numbers can then also be seen in the final PDF (incl. the toctree there).

Ok, my index.rst uses toctree :numbered:
The generated html has a numbered toc after the cover page, but the  entries in the html have not. I attached the pdf from the demo as example. The toc is numbered, the sections in the pdf are not.
I am using Sphinx 4.5.0. Maybe this is the issue.

This is part of the generated html. The toctree contains the numbers, but the sections itself do not. Normally the have an extra span part lkie this:
2.2.
`

10.22. Example Submenu 2

11. Images

11.1. SVG

11.2. JPG

        Demo Sphinx-SimplePDF

         ¶

`

You are right.
I also just noticed that the numbers are missing in front of the section names.
I have currently no idea what the cause of this problem is.
Can you create a new bug report for it? Thanks.


fix: typo in tasks/main.yml for openssl_pip_packages

fix: typo in tasks/main.yml for openssl_pip_packages
fix below error log :
fatal: [debian]: FAILED! => {"msg": "The conditional check 'openssl_pip_package | length > 0' failed. The error was: error while evaluating conditional (openssl_pip_package | length > 0): 'openssl_pip_package' is undefined. 'openssl_pip_package' is undefined\n\nThe error appears to be in '/Users/kholisgumelar/.ansible/collections/ansible_collections/robertdebock/roles/roles/openssl/tasks/main.yml': line 14, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Install pip packages\n  ^ here\n"}

@robertdebock please check,
Thank You!

Silly mistake, thanks for spotting. I'll let CI test and release when green/okay.


write features aren't working. unable to get reboot switch

I did everything as per your instructions and I am glad it works.
But the only reason I wanted to use this because I want a restart switch to reboot my openwrt router at a specific time.
and the problem is that it doesn't show any switch only shows 4 sensors

Please run the following commands from the router command line (via ssh) and check whether ubus interfaces available or not:
ubus list

ubus -v list system

tried adding "file": "/sbin/reboot": [ "exec" ] but that didn't help either.

wait, there's no such sensor and/or button for the reboot. Please try to call service openwrt.reboot

It works, thanks a lot.
I didn't know I could use call service and that there's an option openwrt.reboot is availble.
Thanks A lot.


C37842: Escaping asterisk that must be displayed as text

Hello, @wiwagn,
Localization team has reported source content issue that causes localized version to have broken/different format compared to en-us version.
Description: There are extra asterisks not being rendered properly, avoiding bold and italic type to be done.
Please review and merge the proposed file change to fix to target versions. If you make related fix in another PR  then share your PR number so we can confirm and close this PR.
Many thanks in advance.

Thanks, @v-maudel, for attempting to correct the formatting in this article. The original text, though, was poorly formatted, and as a result, your fixes didn't address the formatting issue. I've formatted the text to reflect what I think the formatting should have been. (We'll see whether that was successful when the build completes.)

//cc @CESARDELATORRE

Thanks so much @rpetrusha I didn't mind my changes were so bad!.


Spinner background_normal not functioning on mobile

I just tested this by setting the spinner background_normal = ''. I also messed around with the background_color to see if color changes worked, which they do. As an aside my buildozer spec file is told to include png images amongst a few other things.
On my computer it displays properly. The colors should be (1,0,0,1) red, the default spinner image, and then pure white, in that order from top to bottom. First image -> http://imgur.com/a/Te4zd
With the same code pushed to my Galaxay S6 through buildozer, it sill shows the default spinner background_normal image. Second image -> http://imgur.com/a/Te4zd
I tried some troubleshooting on logcat to see where background_normal was pointed and even after assigning background_normal = 'some_random_image.png' it still points to the default atlas image on the phone.

You may be using an older version of kivy. It is fixed in master.
from kivy.uix.spinner import Spinner
s = Spinner(background_normal='bla.png')
print(s.background_normal)

Pip freeze informs me that I have kivy 1.9.1

@Lomelgande, does the above example reproduce your issue?

logcat give me this
I/python  (26036): [INFO              ] [GL          ] Texture max size <8192>
I/python  (26036): [INFO              ] [GL          ] Texture max units <16>
I/python  (26036): [INFO              ] [Support     ] Android install hooks
I/python  (26036): [INFO              ] [Window      ] virtual keyboard not allowed, single mode, not docked
I/python  (26036): atlas://data/images/defaulttheme/spinner
I/python  (26036): Python for android ended.
so it is still pointing to the atlas image

Is this also the case on your dev pc or only android?

Only android device which is why I am so confused. I am about to leave to go do something but I can give you any info when I get back.

Check the logcat for a kivy version to make sure buildozer used the latest.

Good call. My Android device is using 1.9.0. How do I update buildozer to use the latest version?

To anyone who has a similar problem, in the buildozer spec file change the requirements line to
requirements = kivy==master
This will solve the problem.


add Phil Wilson as a user to test the migration etc.

{
"User": {
"User": {
"email"<EMAIL_ADDRESS>"username" : "phil_wilson",
"role_id" : 2,
"password" : "password",
"confirmed" : 1,
"institute_id" : 2,
"institute_confirmed" : 1
},
Q. what should the role_id be for the different users?
Q. how do we hash a password? will phil be able to change his password?

The role ID can be found by looking in phpmyadmin in the 'roles' table:

1 - Administrator
2 - Researcher
3 - Compadrino
4 - Moderator
5 - User
6 - Committee
7 - Developer

Passwords are hashed in the migration method and must be changed by the user, they'll be able to do that on the front end profile edit, which comes with this framework
u.password = generate_password_hash(us['password'])


Centralized CLIA for out of State Submitters

Some messages do not have any MSH-4 segment populated with CLIA at all.  Appears to be out of state.
Will this be resolved with the push to prod?


Temporary fix for upstream cuML issues

Include cuML header directory that is currently nested one layer too deep (to be fixed by https://github.com/rapidsai/cuml/pull/3901)
Ignore unused variable warnings due to unused variable in fil.h introduced by https://github.com/rapidsai/cuml/pull/3763

This PR allows builds to go forward while two upstream problems are addressed. The issue with include directory nesting already has a fix that is just stuck on CI issues, so the corresponding line should be removed from CMakeLists.txt before release. The other may need to remain in place until after 21.06.

Is the ENV{CONDA_PREFIX} safe even after https://github.com/rapidsai/cuml/pull/3901 is merged?

@JohnZed Nope, it's not safe; that change was to unblock @hcho3 yesterday in case it took longer for 3901 to make it through CI. I'll go ahead and pull it out and then merge the unused variable fix. Thanks both of you for taking a look at this one.


Changing DPI doesn't recalculate taskbar offset

Environment

Master at d6f0f9ec0ec
Windows 10 1903
task bar location: bottom

Steps to reproduce

Apply n-column layout on a monitor with 150% scale
Change monitor scale to 100%
Try placing window in a zone
Notice that the shown zones have a bigger gap between task bar and the bottommost zone

Reapplying the layout from the editor fixes the bug.

while important, feels low priority as a bug as i can't see people changing their DPIs too often.
Edge cases here:

Fancy zone itself needs to handle DPI change.

how do you want to handle a settings file then, feel it needs to be updated when this happens.

Editor while it is up needs to handle a DPI change.

@yuyoyuppe, can you confirm this is still happening, as of  72a0341a0e30bd5fc2257dfcce5ef7675ed77405? Perhaps this is the same issue as #286? Also, can you clarify what you mean by bottommost zone, if you're using an n-column layout?

@ivan100sic CNR for me now.


Issue.eof error

This PR is to address the issue described here: https://github.com/IBM-Swift/Kitura-CouchDB/issues/58.

Codecov Report

Merging #10 into develop will not change coverage.
The diff coverage is 50%.

@@          Coverage Diff          @@
##           develop   #10   +/-   ##
=====================================
  Coverage       50%   50%
=====================================
  Files            1     1
  Lines            8     8
=====================================
  Hits             4     4
  Misses           4     4

Impacted Files
Coverage Δ

Tests/getStartedTests/Tests1.swift
50% <50%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


'X-Frame-Options' to 'deny'

Version of HACS

0.7.0
Describe the bug
The Community page on the frontend doesn't load.
Refused to display 'https://URL/community_2194ae62-b0c8-4774-a82f-4d6f1789cc6e-05a4c434-312e-4984-9356-a1b282691657' in a frame because it set 'X-Frame-Options' to 'deny'.
Debug log

component log removed

That header is not set by this component, it works just fine here.
This is the headers reported by postman

Try a different browser and/or incognito mode.

I have tried firefox and chrome, even incognito can't get it working.

Can you paste a similar screenshot from your client?

If I go to https://url/community_751d4493-72b6-443e-a5ab-378b72f9f4cb-a6edb994-01b8-477c-b30d-574befcf7202, it works. Note I use traefik as a proxy.

Then your proxy is doing something funky here.
in the list you have on your right there, find and mark "community" then upload a screenshot of that.

Set traefik.frontend.headers.frameDeny=false in your Traefik config.
https://docs.traefik.io/configuration/backends/docker/

Set traefik.frontend.headers.frameDeny in your Traefik config.
https://docs.traefik.io/configuration/backends/docker/

Would be nice to have a not on the installation docs. It took me a long while to figure out (and only did after finding this issue)


libsForQt5.vlc: 3.0.8 -> 3.0.10

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/vlc/versions.
meta.description for libsForQt5.vlc is: "Cross-platform media player and streaming server"
meta.homepage for libsForQt5.vlc is: "http://www.videolan.org/vlc/"
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 3.0.10 with grep in /nix/store/044rpigjapqniv8vj2p4viq45cxsib1z-vlc-3.0.10

directory tree listing: https://gist.github.com/cc3754d30c3ffe7fad74c5c7c44a63cc

du listing: https://gist.github.com/2c8f3edf40a22a44f2eed7dabf89401e

Rebuild report (if merged into master) (click to expand)

65 total rebuild path(s)

22 package rebuild(s)

22 x86_64-linux rebuild(s)
21 i686-linux rebuild(s)
4 x86_64-darwin rebuild(s)
18 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
elisa
kdeApplications.elisa
libsForQt5.phonon-backend-vlc
libsForQt5.vlc
libsForQt512.phonon-backend-vlc
libsForQt512.vlc
megaglest
minitube
netease-cloud-music
obs-linuxbrowser
obs-ndi
obs-studio
obs-v4l2sink
obs-wlrobs
pympress
python27Packages.python-vlc
python37Packages.python-vlc
python38Packages.python-vlc
strawberry
tribler
vlc
vlc_qt5

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/044rpigjapqniv8vj2p4viq45cxsib1z-vlc-3.0.10 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A libsForQt5.vlc https://github.com/r-ryantm/nixpkgs/archive/b51c01885916d1a879e938171623ea4ad22132ee.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/044rpigjapqniv8vj2p4viq45cxsib1z-vlc-3.0.10
ls -la /nix/store/044rpigjapqniv8vj2p4viq45cxsib1z-vlc-3.0.10/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

1 package failed to build:
- obs-ndi

16 packages built:
- elisa
- libsForQt5.phonon-backend-vlc
- libsForQt5.vlc
- megaglest
- minitube
- netease-cloud-music
- obs-linuxbrowser
- obs-studio
- obs-v4l2sink
- obs-wlrobs
- pympress
- python27Packages.python-vlc
- python37Packages.python-vlc
- python38Packages.python-vlc
- strawberry
- tribler

Maintainer pings

Changes from https://www.videolan.org/developers/vlc-branch/NEWS:
Changes between <IP_ADDRESS> and 3.0.10:
----------------------------------

Misc:
 * Update Twitch & VLSub scripts

Changes between <IP_ADDRESS> and <IP_ADDRESS>:
----------------------------------

Misc:
 * Properly bump the version in configure.ac

Changes between 3.0.9 and <IP_ADDRESS>:
----------------------------------

Misc:
 * Fix VLSub returning 401 for earch request

Changes between 3.0.8 and 3.0.9:
----------------------------------

Core:
 * Work around busy looping when playing an invalid item through VLM

Access:
 * Multiple dvdread and dvdnav crashs fixes
 * Fixed DVD glitches on clip change
 * Fixed dvdread commands/data sequence inversion in some cases causing
   unwanted glitches
 * Better handling of authored as corrupted DVD
 * Added libsmb2 support for SMB2/3 shares

Demux:
 * Fix TTML entities not passed to decoder
 * Fixed some WebVTT styling tags being not applied
 * Misc raw H264/HEVC frame rate fixes
 * Fix adaptive regression on TS format change (mostly HLS)
 * Fixed MP4 regression with twos/sowt PCM audio
 * Fixed some MP4 raw quicktime and ms-PCM audio
 * Fixed MP4 interlacing handling
 * Multiple adaptive stack (DASH/HLS/Smooth) fixes
 * Enabled Live seeking for HLS
 * Fixed seeking in some cases for HLS
 * Improved Live playback for Smooth and DASH
 * Fixed adaptive unwanted end of stream in some cases
 * Faster adaptive start and new buffering control options

Packetizers:
 * Fixes H264/HEVC incomplete draining in some cases
 * packetizer_helper: Fix potential trailing junk on last packet
 * Added missing drain in packetizers that was causing missing
   last frame or audio
 * Improved check to prevent fLAC synchronization drops

Decoder:
 * avcodec: revector video decoder to fix incomplete drain
 * spudec: implemented palette updates, fixing missing subtitles
   on some DVD
 * Fixed WebVTT CSS styling not being applied on Windows/macOS
 * Fixed Hebrew teletext pages support in zvbi
 * Fixed Dav1d aborting decoding on corrupted picture
 * Extract and display of all CEA708 subtitles
 * Update libfaad to 2.9.1
 * Add DXVA support for VP9 Profile 2 (10 bits)
 * Mediacodec aspect ratio with Amazon devices

Audio output:
 * Added support for iOS audiounit audio above 48KHz
 * Added support for amem audio up to 384KHz

Video output:
 * Fix for opengl glitches in some drivers
 * Fix GMA950 opengl support on macOS
 * YUV to RGB StretchRect fixes with NVIDIA drivers
 * Use libpacebo new tone mapping desaturation algorithm

Text renderer:
 * Fix crashes on macOS with SSA/ASS subtitles containing emoji
 * Fixed unwanted growing background in Freetype rendering and Y padding

Mux:
 * Fixed some YUV mappings

macOS:
 * Use a layer based video output on 10.14 and higher, which should
   fix various rendering issues where the vout would glitch between
   a wrong size and the correct size.
   Additionally this works around OpenGL issues with Macs that have a
   dedicated NVIDIA GPU, which caused rendering artifacts in the whole
   OS, especially when the "Reduce transparency" accessibility option
   is used
 * Remove qtsound module and add avaudiocapture module as replacement
 * Fix audio capture on macOS Catalina by using avaudiocapture
 * Inform the user in case OS permissions are missing for certain actions
 * Fix Apple Remote support on macOS Catalina
 * Add support for pausing Apple Music on macOS Catalina
 * Fix UPnP discovery crash without an active network interface
 * Fix rare placement issues with fullscreen panel
 * Fix problem in audio output remembering the last device configuration
   in digital mode

Service Discovery:
 * Update libmicrodns to 0.1.2

Misc:
 * Update YouTube, SoundCloud and Vocaroo scripts: this restores
   playback of YouTube URLs.
 * Add missing .wpl & .zpl file associations on Windows
 * Improved chromecast audio quality


v6.1.0: inject network failure, after 15 minutes of network failure recovery, QPS drops more than 50%

Bug Report

What version of TiKV are you using?
v6.1.0 GA
What operating system and CPU are you using?
8core\16G
4 tikvs
Steps to reproduce
run tpcc
Inject a tikv and restore it after 50 minutes of disconnection
What did you expect?
QPS can not drop too much
What did happened?

more details see https://internal.pingcap.net/jira/projects/INCALL/issues/INCALL-106

/type bug
/severity major
/assign Connor1996


Adding a test for RT #125457 regressions

This test fails on rakudo nom, nqp master, MoarVM master for the reasons I reported in RT #125457. Contributing this test to detect the error now and any future regressions.

@zostay - plan needs to be incremented: plan 32;

Ah, oops... done!


Doesn't work within NovaTab

Nova Tabs allows grouping of fields into tabs:
https://github.com/arsenaltech/nova-tab
When I use a Dependency Container within a tab, it doesn't function when the checkbox is checked.  When I move it outside the tab it functions perfectly.
Sample:
new NovaTab(
  'Tab Name',
  [
     Boolean::make('Our Option', 'selectable_option')->hideFromIndex(),
     NovaDependencyContainer::make('Dependent settings', [
        Trix::make('Details', 'selectable_option_details'),
     ])->dependsOn('selectable_option', 1)->onlyOnForms(),
 ]
),

Hi @szsori
I've just pushed the 1.0.1 release that adds better scanning on field dependencies. You can now use tabs or any other container and the dependencies will work as expected.


update deps: web-streams-polyfill, OSSL, Axios, +

Updated:

@mattiasbuelens/web-streams-polyfill/ponyfill to web-streams-polyfill (same author; his is now official web-streams-polyfill )
Axios to v0.19.0
ensure node-webcrypto-ossl =^1.0.48 to fix Windows install bug
many other deps minor versions, no other major updates

Test Suites: 12 passed, 12 total
Tests:       93 passed, 93 total
I have not updated ESLint to v6; Jest to Jest to v24, nor related files; not sure if Major version changes would break.  Need me to update all & test?

I didn't lint, since I only changed package.json & a few require('web-streams-polyfill')

See #105. Thanks!


Use Sans-Serif font instead of Monospaced Font.

I like the Monospaced font, ngl, but I think a sans-serif (preferably humanist) font, such as Roboto, Lato, Source Sans Pro, or PT-Sans might easier on the eyes.

here's the proposed dark theme with PT Sans, for example:

Pretty much the same thing I said in #69: you can add your own theme with a different font.


0.2.0 not available from Maven repos

Looks like 0.2.0 was never released to maven, or never promoted? :)

I have issued a new release (0.2.1).


thread_local variables cause data races (UB) when used with userver

Minimal reproducer:
thread_local int x{};

++x;
engine::Yield();
++x;

Let's say that after the context switch, the task is scheduled on another thread.
It's expected then that after Yield, the new instance of x (which is local to the current thread) will be incremented. But that's not what happens! The compiler can't imagine the situation that the address of a thread_local variable changes, so it only loads the address of x once and caches it across the suspension point. Then it keeps using the variable of another thread, causing a data race, because another thread may use it at the same time (it has every right to do so, because it is its own instance of the thread_local variable).
This bug has been documented with little reaction from compiler maintainers:

https://bugs.llvm.org/show_bug.cgi?id=19177
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26461
https://github.com/ldc-developers/ldc/issues/666

Recent versions of Clang (at least Clang-14) do this optimization under LTO even when variable access happens inside a function.
Marking the variable atomic, volatile, adding asm volatile("" ::: "memory"); does not help.
The only thing that helps is to mark the function that accesses the variable as noinline, as we've done in bug core: prevent clang 14 LTO UB thread_local access. We, however, cannot expect all the user and library code to do that.
A reproducer test has been added in feat engine: demonstrate that thread_local variables don't work with userver.

Note that this issue is not the same as:
thread_local int x{};

MyContainer foo(&x);
engine::Yield();
foo.Frobnicate();

This code pattern is buggy in the context of userver, and is expected to be buggy, and we & our users have learned to avoid it.

We now provide compiler::ThreadLocal that should be used in services instead of thread_local.
However, third-party libraries still may and do use thread_local, and until Clang supports an option for fiber-safe thread_local optimizations, there will be no safe solution.

We've disabled LTO by default due to ongoing issues with third-party libraries. For example, when linking Jemalloc statically, the following code causes a data race:
void* smth = malloc(...);
engine::Yield();
free(smth);

We are currently discussing the possibility of implementing a "fiber-safe optimizations" flag in Clang. This will take several months.

We've started the discussion on the topic at https://discourse.llvm.org/t/misoptimization-of-tls-and-attibute-const-in-stackful-coroutines-ffunction-thread-migration/80081
Also, there's a chance that -femulated-tls could be useful in solving this issue.


Improve documentation for customers moving their apps from non-serializable patterns to CockroachDB (placeholder)

For customers migrating apps from non-serializable environments, they could use more help in our docs for using CockroachDB properly. They express transaction retry errors as a paint point and reads appear to be too slow. This is likely rooted in their misunderstanding how to use follower reads with As of System Time.
cc @andreimatei , any additional thoughts here?

To be fair, this does not necessarily reflect a misunderstanding of AOST.  As a feature, it's not the panacea for every latency vs. correctness tradeoff an application developer might wish to make, since AOST imposes a minimum bound on materialization latency (i.e. when the effects of one transaction can be observed).  Many of our customers are migrating from databases where it's OK for the database to lie in its results (see https://www.cockroachlabs.com/blog/acid-rain/ ).
In user-interactive environments, it may be reasonable to trade absolute correctness for no additional latency.

Building upon what's written above, it's clear that one potential source of problems are long-running transactions. I've filed a separate issue for that (as its a subset of better guidance for switching to a serializable database).

For reference re: transaction retries, we recently published a doc on transaction retry errors which lists the various error codes, and what to do about them: Transaction Retry Error Reference
It won't solve a user's problems but it will (hopefully) tell them what is happening


cilium policy trace should have --from-cidr and --to-cidr options

Since policies can restrict traffic from / to certain CIDRs, it makes sense for cilium policy trace to have according functionality.

Closed, updated #4870 which will track policy tracing work


Two questions re: influxd-ctl node-labels

Does both set and update work to update a label?

Originally posted by @kelseiv in https://github.com/influxdata/docs-v2/pull/2592#discussion_r641834043

Do we document the node-labels [options] somewhere?
Didn't see -nodeid or -labels other than in examples...do we have other options?

Originally posted by @kelseiv in https://github.com/influxdata/docs-v2/pull/2592#discussion_r641834807

Looks like there is node update subcommand: https://github.com/influxdata/plutonium/blob/1c20513cd985f9ea832f785f2105c82b73ec633f/cmd/influxd-ctl/nodelabels/command.go#L52-L60
Not sure where I got that idea from...

Clarified this information in https://github.com/influxdata/docs-v2/pull/2592/commits/adb85b1291c0bd99af8669c04b15aedf542ad2b5.


Grafana Plugin Alerting

Investigate and develop the plugin to support alerting:
http://docs.grafana.org/alerting/notifications/

[LS-294] created by tavakoli

+1 alerting support would be amazing!


Replaced gin with sparkplug

gin isn't reliable, so I replaced it with something that is a little more dependable: sparkplug.

Ayyy


Added RippleEffect

fixed issue #40
Before submitting your PR, please review the following checklist:

[check ] CONSIDER adding a unit test if your PR resolves an issue.
[check ] DO keep pull requests small so they can be easily reviewed.
[check ] DO make sure unit tests pass.
[ check] DO make sure any public APIs are XML documented.
[ check] DO make sure not to introduce any compiler warnings.
[check ] AVOID breaking the continuous integration build.
[check ] AVOID making significant changes to the driver's overall architecture.

Description
I added ripple effect in Navbar whenever user clicked on menu in navbar it gives ripple effect.
Thank you!

Thanks @RakeshCharpe


meli: 0.8.4 → 0.8.5-rc.3

Description of changes
The project supports 2 additional read-only mirrors. Also fetchgit is quite expensive in comparison to using tarballs from archive.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.
[^1]
[^1]: Please consider giving up MS GitHub or offering a non-proprietary, non-US-corporate-controlled mirror for this free software project. I wish to delete this Microsoft account in the future, but I need more projects like this to support alternative methods to send patches & contribute.

We do not package pre-releases. I'd love to take your first two patches though, so if you could remove the last patch of the set please?

You are always welcome to package desired versions in your local configuration if you need prerelease versions that nixpkgs does not provide for you.