Neil/tool card icon fix

Description
Fixes issue where icons are clipping in the tool and SDK cards
Bef

ore
After

removed width and height from underlying .svg files that are converted to react components by svgr as discussed in the doc site huddle svg meeting

Some updated screenshots


New package: ExampleForTheNewPackageFeeds v0.1.0

Registering package: ExampleForTheNewPackageFeeds
Repository: https://github.com/DilumAluthge/ExampleForTheNewPackageFeeds.jl
Created by: @DilumAluthge
Version: v0.1.0
Commit: 8284cd20829ca1194ff9d0b079924fcf1d80e36b
Reviewed by: @DilumAluthge
Reference: https://github.com/DilumAluthge/ExampleForTheNewPackageFeeds.jl/commit/8284cd20829ca1194ff9d0b079924fcf1d80e36b#commitcomment-55850783

@nkottary @ericphanson The GitHub repository (https://github.com/DilumAluthge/ExampleForTheNewPackageFeeds.jl) has a description ("This is the GitHub repository description for my repo."), but Registrator did not include that description in the PR.

Hm, we might be in this situation:

From the WebUI or CommentBot we seem to have a repo object with this field, so we can get the description without an additional API call. However, I'm not sure if it is always populated or not; if it is not populated, then we'd need to make an API call to fill out the fields (repo in the comment bot to use GitHub.jl, or get_repo in the WebUI to use GitForge.jl).

(from https://github.com/JuliaRegistries/Registrator.jl/pull/349#issue-722931064). Or maybe the new version isn't deployed yetI?

@nkottary Can you check which version of Registrator.jl is deployed?

I think it’s an older version since Registrator is still removing labels: https://github.com/JuliaRegistries/General/pull/44014. Or else my fix for that doesn’t work right.


Add Shield

https://github.com/grottopress/shield

Hi @akadusei  👋
Would you be willing to open a PR to add this? Let me know if I can assist.

Hi @akadusei wave
Would you be willing to open a PR to add this? Let me know if I can assist.

Sure. I'll get to it as soon as I'm able. Thanks.


Support custom report/output directory

First I just want to say thank you for this awesome project! ❤
I was wondering if you'd be receptive to a new option to allow the user to control where the Xml/Html/etc. report files are written?
The current behavior writes the files to the cwd, so if I run cargo tarpaulin -o Xml -o Html I end up with:
./cobertura.xml
./tarpaulin-report.html

I'd love to have a new option (perhaps something like --output-dir or --report-dir) that would let me specify a target directory to emit those reports. For example:
cargo tarpaulin -o Xml -o Html --output-dir .reports
would give me:
./.reports/cobertura.xml
./.reports/tarpaulin-report.html

I'd be happy to take a pass at implementing this and submit a PR as well

Sure I see nothing wrong with that feature. It is also possible to run tarpaulin from a folder called reports and then use the root argument to see the directory it's run from to be a different one.
If you do a PR for this is will be pretty simple, config module changed to add the option, main.rs and then all the report types in the report module changed ☺

Thanks for both the alternative and the pointers on where to look in the code!
PR opened with a first pass at this, let me know if there's any improvements/changes/etc. needed 👍

Closing as this is now available in 0.8.7!


mod.ts: Let's make the extra request to /v3 optional

Please provide an option to the constructor that skips the initial http request to xxx.turso.io/v3 for users who are sure that their provided URL is correct and want to skip the extra check

@vBohu added in 314f32d.
Upgrade to 1.6.9 (nice).

@vBohu
Added option to disable all checks for performance in version 1.6.10
Read Performance section


Create Merge Sort Python

@sammanianu Hey can you create corresponding issues as well. It is easier to track then. Refer the issue no. in the PRs as well. Thanks.


The Role for 'Tester' in Production has a space. It should be 'TESTDEVELOPER'

On Production in the database the role for Tester is stored as 'TEST DEVELOPER'. This could cause issue in the UI and in the code where we look for 'TESTDEVELOPER'.
This needs to be corrected for Dokimion to grant proper access/privileges to users.

The "Create User" command (admin accounts) should be updated to use "TESTDEVELOPER" instead of "TEST DEVELOPER".


Similar gallery generation for try_updated_theme

This replicates the look of the old gallery pretty closely with cards instead of panels.
The "...more" button pop-ups do NOT work here

Actually fixed that dependency issue ; there was a  syntax error in the environment file. Book build succeeded, now checking out the artifact it generated


Rename Tinyint to TinyInt

Rename Tinyint to TinyInt for consistent naming.
Ref. #1803

@sgrif updated the language for the changelog entry and added #[doc(hidden)] to the type alias.


Introduction of Platform Provisioning Documents

We've put off having verbose documentation for platforms long enough, here is a crack at supporting detailed directions on provisioning bots for the platforms that Botkit supports. More on the way.

Can you add this to .npmignore file? Since we don't want to install all of these images when we do npm i botkit.

@anonrig you could argue that a npm installer NEEDS these docs too. Do you propose we should opt out of everything BUT the readme.md, and have a TOC to the other docs only in that for NPM installers?

I think @anonrig's makes a good point: this is quite a bit to download. I also think the main usefulness of including these images in an npm package would be offline access. But if I'm offline, I'm not going to be able to provision a bot 😄
Also a large number (easily over 90%) of my installs are on CI servers, so this would be an increase in build time for no real gain.

No body will ever read the docs when they install it from NPM. Again it's your choice, but this will increase the package size and do no good to the developer. @colestrode @peterswimm

Thanks for the feedback, my gut is to leave them in the project, but we will take your feedback under advisement.

I am going to add an .npmignore file and exclude these images, but leave the docs.
This is my own personal bias, but I do occasionally open up node_modules to find the docs.


ceph-osd: use OSD id with systemd ceph-disk

When using containerized deployment we have to create the systemd
service unit based on a template.
The current implementation with ceph-disk is using the device name
as paramater to the systemd service and for the container name too.
$ systemctl start ceph-osd@sdb
$ docker ps --filter 'name=ceph-osd-*'
CONTAINER ID IMAGE                        NAMES
065530d0a27f ceph/daemon:latest-luminous  ceph-osd-strg0-sdb

This is the only scenario (compared to non containerized or
ceph-volume based deployment) that isn't using the OSD id.
$ systemctl start ceph-osd@0
$ docker ps --filter 'name=ceph-osd-*'
CONTAINER ID IMAGE                        NAMES
d34552ec157e ceph/daemon:latest-luminous  ceph-osd-0

Also if the device mapping doesn't persist to system reboot (ie sdb
might be remapped to sde) then the OSD service won't come back after
the reboot.
This patch allows to use the OSD id with the ceph-osd systemd service
but requires to activate the OSD manually with ceph-disk first in
order to affect the ID to that OSD.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1670734
Signed-off-by: Dimitri Savineau<EMAIL_ADDRESS>

This requires https://github.com/ceph/ceph-container/pull/1434

This requires https://github.com/ceph/ceph-container/pull/1434 first

jenkins test pipeline

jenkins test pipeline

jenkins test pipeline

jenkins test luminous-centos-non_container-all_daemons

jenkins test luminous-centos-container-all_daemons

jenkins test luminous-centos-container-lvm_osds

jenkins test luminous-centos-non_container-lvm_osds

jenkins test luminous-centos-container-all_daemons

jenkins test luminous-centos-non_container-all_daemons

jenkins test luminous-centos-container-lvm_osds

jenkins test luminous-centos-non_container-lvm_osds

jenkins test luminous-centos-container-ooo_collocation

@guits can't really test in the CI this PR because there's no scenarios using ceph-disk except ooo_collocation but the container image is too old (3.0.3)

jenkins test luminous-centos-container-lvm_osds

jenkins test luminous-centos-non_container-lvm_osds


ETLegacy 64-bit path issue

Game
Wolfenstein: Enemy Territory
Engine
ETLegacy 64-bit
Linux Distribution
Arch Linux
Luxtorpeda Version
55
Bug description
Installing only 64-bit ETLegacy does not work without manual intervention. It installs into a subfolder etlegacy-64 inside the Wolfenstein: Enemy Territory folder, and launches with the working directory being set to the steamapps/common/Wolfenstein Enemy Territory. Launching the game this way causes the filesystem to look for legacy mod folder (the default mod of ET: Legacy) in steamapps/common/Wolfenstein Enemy Territory/legacy, while it's actually installed in steamapps/common/Wolfenstein Enemy Territory/etlegacy-64/legacy folder. If a user has completely clean homepath (~/.etlegacy), the game won't even launch because it cannot find the legacy pk3 in the basepath (working directory) and extract ui.mp.x86_64.so into homepath.
If you also install the 32-bit version, it will create the legacy mod folder in the working directory, and the game can correctly locate the legacy pk3 file, and extract the 64-bit mod binaries from the package. However you cannot play on localhost, because the mods server module only exists as a 32-bit version (it is not included in the mod pk3 file, but installed as a loose file).
Steps To Reproduce

Install ET: Legacy 64-bit
Launch the game
If homepath is clean and you haven't installed 32-bit version as well, the game errors with VM_Create on UI failed error
If homepath already contains ui.mp.x86_64.so (from a previous manual installation for example) or 32-bit version is also installed, the game will launch fine and you can play on online servers, but you cannot play on localhost because locating qagame.mp.x86_64 fails due to the the described working directory issue (only 32-bit binary is installed with the 32-bit install).

Expected Behavior
Launching would set the working directory inside the etlegacy-64 bit folder so it can correctly locate the legacy mod files. However this introduces another issue - the original game content is not installed with ET: Legacy for legal reasons. A solution to this would be to create symlinks upon first launch of the 64-bit version in steamapps/common/Wolfenstein Enemy Territory/etlegacy-64/etmain/pak0-2.pk3 pointing to  steamapps/common/Wolfenstein Enemy Territory/etmain/pak0-2.pk3.
Additional Context
No response
Relevant log output
--- Log with homepath clean of any pre-extracted binaries ---

       0 tty console mode disabled
       0 ^2ET Legacy v2.80.2 linux-x86_64 May  8 2022
       0 Zone megs: 64
       0 INFO: fs_game now defaults to 'legacy' mod instead of 'etmain'
       0 ----- Initializing Filesystem --
       0 Current working directory:
       0     /home/aciz/games/steam/steamapps/common/Wolfenstein Enemy Territory
       0 Current search path:
       0     ^2D ^*/home/aciz/.etlegacy/legacy
       0     ^2D ^*./legacy
       0     ^2D ^*/home/aciz/.etlegacy/etmain
       0     ^2D ^*./etmain
       0     ^1P ^*/home/aciz/.etlegacy/etmain/zzz-font-cascadia.pk3 (1 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/western_b1_5.pk3 (175 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/Warbell.pk3 (242 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/venice.pk3 (330 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/UJE_italy_b2.pk3 (335 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/UJE_fueldump_cp.pk3 (90 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/teuthonia_final.pk3 (144 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/tc_base.pk3 (63 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/sw_goldrush_te.pk3 (48 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/sp_delivery_te.pk3 (51 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/sottevast_pe.pk3 (80 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/snatch3.pk3 (34 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/Skacharohuth_f.pk3 (604 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/saberpeak_final.pk3 (243 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/river_port_b1.pk3 (256 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/pirates.pk3 (154 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/password2_v12.pk3 (100 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/missile_b3.pk3 (86 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/karsiah_te2.pk3 (41 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/hubris.pk3 (108 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/et_beach.pk3 (177 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/etl_supply_v9.pk3 (131 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/etl_sp_delivery_v3.pk3 (194 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/etl_ice_v10.pk3 (162 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/etl_frostbite_v16.pk3 (154 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/etl_adlernest_v3.pk3 (209 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/erdenberg_t2.pk3 (83 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/el_kef_final.pk3 (38 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/dubrovnik_final.pk3 (186 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/crevasse_pe.pk3 (91 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/bremen_final.pk3 (100 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/braundorf_final.pk3 (76 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/braundorf_b4.pk3 (51 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/beerrun_b7a_0331.pk3 (120 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/baserace_desert.pk3 (154 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/alpine_assault_final.pk3 (157 files)
       0     ^1P ^*/home/aciz/.etlegacy/etmain/adlernest.pk3 (113 files)
       0     ^1P ^*./etmain/pak2.pk3 (22 files)
       0     ^1P ^*./etmain/pak1.pk3 (10 files)
       0     ^1P ^*./etmain/pak0.pk3 (3725 files)
       0     ^1P ^*./etmain/mp_bin.pk3 (6 files)
       0
       0 9144 files in pk3 files
       0 --------------------------------
       0 Creating PID file 'profiles/Aciz/profile.pid'
       0 ----- Database Initialization --
       0 SQLite3 libversion 3.36.0 - database URI 'etl.db' - in file
       0 ... loading existing database '/home/aciz/.etlegacy/etl.db'
       0 ... database file '/home/aciz/.etlegacy/etl.db' loaded
       0 SQLite3 ETL: database init #2 /home/aciz/.etlegacy/etl.db in [0] ms - autocommit 1
       0 SQLite3 ETL: DB schema version #2 is up to date
       0 --------------------------------
       0 execing default.cfg
       0 execing profiles/Aciz/etconfig.cfg
       0 execing autoexec.cfg
       0 ^z[ ^7autoexec.cfg loaded! ^z]
       0 Hunk_Clear: reset the hunk ok
       0 Not logging server attacks to disk
       0 logfile opened on Thu Jun 02 23:12:51 2022
       0 ----- Client Initialization ----
       0 Trying to load "librenderer_opengl1_x86_64.so" from "./etlegacy-64"...
       0 ETKEY found
       0 Available client translations:
       0 Available mod translations:
       0 Language set to English
       0 --------------------------------
       0 IP: <IP_ADDRESS>
       0 IP: <IP_ADDRESS>
       0 IP: <IP_ADDRESS>
       0 IP6: ::1
       0 IP6: fe80::a79e:676c:ac72:8311%enp0s31f6
       0 Opening IP6 socket: [::]:27960
       0 Opening IP socket: <IP_ADDRESS>:27960
       0 Network initialized
       0 ----- Initializing Renderer ----
       0 SDL build version 2.0.20 - link version 2.0.20
       0 SDL initialized driver "x11"
       0 Initializing OpenGL display
       0 Estimated display aspect: 1.778
       0 ...setting mode -2: 2560x1440
       0 Using 24 color bits, 24 depth, 0 stencil display
       0 Available modes [4]: '2560x1440 640x480 800x600 1024x768'
       0 Using GLEW 2.1.0
       0 GL_VENDOR: NVIDIA Corporation
       0 GL_RENDERER: NVIDIA GeForce GTX 1080 Ti/PCIe/SSE2
       0 GL_VERSION: 4.6.0 NVIDIA 515.43.04
       0 GL_SHADING_LANGUAGE_VERSION: 4.60 NVIDIA
       0 Using vanilla renderer
       0 Initializing OpenGL extensions
       0 ...ignoring GL_EXT_texture_compression_s3tc
       0 ...ignoring GL_S3_s3tc
       0 ...found OpenGL extension - GL_EXT_texture_env_add
       0 ...found OpenGL extension - GL_ARB_multitexture
       0 GL_VENDOR: NVIDIA Corporation
       0 GL_RENDERER: NVIDIA GeForce GTX 1080 Ti/PCIe/SSE2
       0 GL_VERSION: 4.6.0 NVIDIA 515.43.04
       0 GL_SHADING_LANGUAGE_VERSION: 4.60 NVIDIA
       0 GL_MAX_TEXTURE_SIZE: 32768
       0 GL_MAX_ACTIVE_TEXTURES_ARB: 4
       0 PIXELFORMAT: color(24-bits) Z(24-bit) stencil(0-bits)
       0 MODE: -2, SCREEN: 2560 x 1440 windowed (ratio 1.7778) Hz:N/A
       0 GAMMA: software w/ 0 overbright bits
       0 texturemode: GL_LINEAR_MIPMAP_LINEAR
       0 picmip: 0
       0 texture bits: 32
       0 multitexture: enabled
       0 compiled vertex arrays: enabled
       0 texenv add: enabled
       0 compressed textures: disabled
       0 Setting up FBO
       0 INFO: R_InitGamma() skipped - r_ignorehwgamma is set
       0 Initializing Shaders
       0 --------------------------------
       0 ----- Initializing Sound (1) ---
       0 SDL_Init( SDL_INIT_AUDIO )... OK
       0 SDL audio driver is "pulseaudio".
       0 SDL_AudioSpec:
       0   Format:   AUDIO_S16LSB
       0   Freq:     44100
       0   Samples:  256
       0   Channels: 2
       0   Silence:  0
       0   Size:     1024
       0 Starting SDL audio callback...
       0 SDL audio initialized.
       0 ----- Sound Info -----
       0 sound system is muted
       0     2 channels
       0  8192 samples
       0    16 samplebits
       0     1 submission_chunk
       0 44100 speed
       0 0x4922e90 dma buffer
       0 No background file.
       0 ----------------------
       0 Sound initialization successfully done
s_backend set to SDL2
       0 --------------------------------
       0 Sound memory manager started
       0 FS_CL_ExtractFromPakFile: failed to read 'ui.mp.x86_64.so' from pak file
       0 Sys_LoadDll(legacy/ui) failed to extract library from fs_homepath
       0 Sys_LoadDll(/home/aciz/.etlegacy/legacy/ui.mp.x86_64.so)... failed: /home/aciz/.etlegacy/legacy/ui.mp.x86_64.so: cannot open shared object file: No such file or directory
       0 Sys_LoadDll(./legacy/ui.mp.x86_64.so)... failed: ./legacy/ui.mp.x86_64.so: cannot open shared object file: No such file or directory
       0 Sys_LoadDll(legacy/ui) failed to load library
       0 ----- Client Shutdown ----------
       0 Closing SDL audio device...
       0 SDL audio device shut down.
       0 RE_Shutdown( 1 )
       0 SDL input devices shut down.
       0 --------------------------------
       0 PID file removed.
       0 SQLite3 database closed.
VM_Create on ui failed

Make sure ^2ui.mp.x86_64.so ^*exists in the mod's folder you're trying to run and that the mod is compatible with your platform.

@Aciz Thanks for the report. I'll look into this soon.

@Aciz
This should be fixed now in https://github.com/luxtorpeda-dev/packages/commit/565352cdc60f33d766b897113f93e4b3ccc7e7bd. There was also another fix for a missing library that seemed to have happened fairly recently: https://github.com/luxtorpeda-dev/packages/commit/d6aca9cd3f2c67ed2cb2d811a6c2b96afb3212a2
I tried it with both the 64 and 32 bit and it worked well on my end. Let me know how it goes for you. Thanks!

@d10sfan seems to work perfectly, thank you for the quick fix!

Side note: that library preloading is afaik only required for a specific ET mod called silent, it also does not support 64-bit linux at all, so preloading it on x64 is not necessarily required. We've documented this over at ET: Legacy wiki as well https://github.com/etlegacy/etlegacy/wiki/Compatible-Mods#linux

@Aciz thanks for the heads up! Do you know of any downsides to having it all the time for 32 bit? I could remove it from 64 bit if needed. Thankfully with the steam runtime that library is included from what I can see so it should be available all the time.

I doubt it's of any harm to preload it all the time. I'll be playing with this luxtorpeda setup for now, I'll report if I encounter any issues with the preloaded library on other mods. If it doesn't cause issues, it's a good idea to leave it on for at least on 32-bit, so that it works across all mods without tinkering on user side.

@Aciz Ok, thanks for the assistance, I appreciate that. Let me know if you run into any issues, and I'll take a look.


How to add a visitor counter in the template of academic resume template

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I am mindful of the project scope

Proposal
Nice template! Is it possible to add a visitor counter to the website directly through the GitHub for the academic resume template?
Motivation and context
It will add more features to the template

This is a static HTML generator based on Hugo. You can add whatever third-party integrations you like though:

https://wowchemy.com/docs/hugo-tutorials/analytics/
https://wowchemy.com/docs/hugo-tutorials/extending-wowchemy/


[Bug] S3 Storage path issue

Context
The location of output.zip is not correct. The system requires refactoring to ensure that the output file get stored in the correct place.
Probably this involves changes in:

odtp
odtp-component-client

Solution
Refactor the uploading so each output goes in the bucket as:
/odtp/digitalTwinID/executionID/stepID/output.zip
Acceptance criteria

[ ] Correct placement of output files following the path described above

Fixed in: https://github.com/odtp-org/odtp/pull/135


[Feature Request]: Implement User-Generated Content and Reviews

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Describe:
To enhance user engagement and provide valuable information to our community, we need to implement a system for user-generated content and reviews.
Use Case
Objectives:

[ ]  Allow users to write and submit reviews for accommodations, and experiences.
[ ]  Implement a rating system (e.g., 1-5 stars) for various aspects.
[ ]  Create a moderation system to ensure the quality and appropriateness of user-generated content.
[ ]  Display user reviews and ratings on relevant pages.

Benefits
No response
Add ScreenShots
Screenshots

Priority
High
Record

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

@Trisha-tech hello!?


Pipeline status is error, but last job is OK

Component
web-ui
Describe the bug
The pipeline status image (on Woodpecker - returned by API: /api/badges/25/status.svg ) shows ERROR, even that last build is OK:

System Info
version 2.4.1 running on Docker

Additional context
No response
Validations

[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Checked that the bug isn't fixed in the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]

Could you check if the green pipeline actually has same failed steps. In that case it could be related to #2197

All steps green:

Yes - GoogleChatNotify only executes on failure.
Without it, pipeline still shows status error:

Invalid status is shown in 2 of 21 (~identical) repos. Nothing to see in web output.
Requests to /api/badges/25/status.svg log:
{"level":"debug","ip":"xxx","latency":1.382428,"method":"GET","path":"/api/badges/25/status.svg","status":200,"time":"2024-04-09T10:37:33Z","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36","time":"2024-04-09T10:37:33Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/router/middleware/logger.go:59"}
Repo just builded OK and log shows:
{"level":"debug","repo":"DBRDEV/monitoring","pipeline":"41","id":"514","error":"","exit_code":0,"canceled":false,"time":"2024-04-09T13:33:20Z","caller":"/src/agent/runner.go:181","message":"pipeline complete"}
{"level":"debug","repo":"DBRDEV/monitoring","pipeline":"41","id":"514","error":"","exit_code":0,"time":"2024-04-09T13:33:20Z","caller":"/src/agent/runner.go:190","message":"updating pipeline status"}
{"level":"error","repo_id":"25","pipeline_id":"578","workflow_id":"514","error":"stream: not found","time":"2024-04-09T13:33:21Z","caller":"/woodpecker/src/github.com/woodpecker-ci/woodpecker/server/grpc/rpc.go:302","message":"done: cannot close log stream for step 2125"}

Just for "fun", I tried clicking on the action "Repair repository" - and it worked 👍👍


Create a new release for the API change in Commit 8dbd09b and make the Podspec point to it.

The merging of PR #18 led to a break in the API. We have made the required changes, however the podspec still points to version 0.1. We use Fishhook rigorously for testing and this change breaks all our pods dependencies. Could we please create a new release for this change and have it added to the podspec (or just have the podspec pointing to head)?
Also, it would be great if we regularly update the podspec with any new releases.

In general, for Facebook projects I suggest using commit hashes rather than versions — we don't use versions internally and so don't track them closely on CocoaPods.
I'll keep this open to update the published podspec when I get a chance. It'll probably be version 0.2.

Thanks. We'll point to HEAD right now instead of the commit so we know if there are any further updates. It would be great if a release is cut if there are any further commits :)

I can't get fishhook using cocoapods.
Not sure this issue is related.
[!] Unable to find a specification for fishhook

Hey grp, just checking - are you planning to create a new release soon? Could we get an ETA if possible?

Closing this thanks to the new 0.2 release update.


Start meteor failed on Windows<EMAIL_ADDRESS><EMAIL_ADDRESS>

Hi,
I cloned the latest repo and npm install was normal exited.
When I try to do meteor to start the app, after pulling and installing several packages, I receive these error:
[[[[[ C:\dev\js\Telescope ]]]]]

=> Started proxy.
=> Started MongoDB.
C:\Users\ttt\AppData\Local\.meteor\packages\meteor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\meteor-promise\promise_server.js:165
      throw error;
      ^

Error: ENOENT: no such file or directory, open 'C:\Users\ttt\AppData\Local\Temp\mt-2wwk91\os\packages\chuangbo_cookie.js.map'
    at Error (native)

I also try on my Linux box and it's working just fine. Is there anyone else on Windows experience the same issues?

Run cmd as Admin, then:
npm install --global --production windows-build-tools
meteor update
meteor
Have a nice day!

@eddyfosman I've already installed the windows-build-tools, however it doesn't help.
I notice that the errors only happen after pulling percolatestudio:meteor-synced-cron package.

I am experiencing this issue as well

me three

I also encountered synced-cron problem, but I don't remember how I cleared it. You should create a new project then deploy from the start.

I just did that, after downloading the latest release, and it seems to work now.
Where's the admin settings on the menu, or isn't there one?
I'm logged in as admin but don't see any menu. I thought there used to be one?

Nice to hear that on the latest release it's solved 👍
@sonicviz there isn't any admin panel anymore, you can customize Nova with settings.json.

I am having the same issue , Windows 10 and meteor is up to date. Tried running percolatestudio:meteor-synced-cron  , same error. Tried running meteorhacks:unblock , similar error. I hope I d on't have to build a Linux box just for this :-(


[SPARK-49052] Add SparkOperator class and tests

What changes were proposed in this pull request?

This PR adds class org.apache.spark.k8s.operator.SparkOperator as the main entry point of Spark Operator.
Why are the changes needed?

This bootstraps operator with metrics servers as needed.
Does this PR introduce any user-facing change?

No
How was this patch tested?

Pass the CIs
Was this patch authored or co-authored using generative AI tooling?

No

Merged to main.


Remove MQTT-SNGateway from container

We should have this in a seperate container based on the MQTT-SNGateway block here
However for this to work we first have to work out how to route IPv6 packets successfully between containers, and multicast IPv6 packets for gateway advertising

Not sure Docker supports multicast between containers...
See:
https://forums.balena.io/t/containerising-openthread-border-router-otbr-for-openthread-wip/368405/20


remove redundant for Jaguar

Signed-off-by: yuexiao-wang<EMAIL_ADDRESS>Fixed: https://github.com/kubernetes/website/issues/10650
There are two same descriptions for Jaguar in networking.md. Therefore,  delete the misplaced header and sentences for Jaguar.

/assign @jaredbhatti

/lgtm
/approve


Mention in CONTRIBUTING.md how the files in man/ are used

Reference: https://github.com/bundler/bundler/issues/4940#issuecomment-244263077

We should add a section to CONTRIBUTING.md that explicitly calls out the location of various documentation:

anything that comes up when you use --help is inside the Bundler repo in a .ronn file
a few other files, like ISSUES.md, are copied directly out of the repo into the website
everything else is generated out of the /source directory in the bundler-site repo

We should probably also put that information in the bundler-site repo readme, as well as a list of the files that are copied out of the main repo and therefore should be edited there instead.

closing in favor of https://github.com/bundler/bundler/issues/5026


Understand and explain OLED Screen in more depth

[ ] add instructions for how to understand the part (with reference to datasheet)

Not required for this part.


Feature request: Highlight formatting changes

Context
I'm currently in the process of attempting to migrate from eslint/prettier to biome. I am using plugin version Biome-1.0.0-nightly.14eb397 with Biome version 1.5.3.
Feature Request
Unless there is already a way that I am unaware of, I would like to request an option on the plugin that implements the highlighting of code flagged for formatting, in the same way as is possible with eslint/prettier (see screenshot).
Reasons
I prefer to disable any automatic formatting and see the issues flagged in the editor instead. The visual flagging of code that needs a reformat lets me know that there are issues and I remain in control to decide when to reformat the whole file, or only part of the code, using the Ctrl-Alt-L shortcut.

Hey @martinbiard
FYI, this isn't a feature provided by the extension but by the LSP.
I am going to close this issue for now, feel free to jump in https://github.com/biomejs/biome/discussions/809


replaced ngModel vith value and replaced change event with model change event

the values does get updated now. i don't think we need "[value]" here anymore

@JBusch Tanks for your pull request! But I would not want to introduce two-way-bindings again as this is an approach for template-driven forms and does not really fit with our reactive forms. Could lead to possible side effects, as well.

i hope i'll have time over the weekend to have another look


Minor client refactors

Description
This PR has a few changes for the column layout, app bar, and plugin page. It includes refactors to the column layout for 2-columns, a few updates from Lia's design changes, and simplifies the styling for some components.
Changes

Updates tailwind config:

Removed napari-3-col-fr because it already exists as grid-cols-3
Changed the order of napari-2-col to be 225px 775px
Renamed napari-app-bar-2-col to napari-2-col-reverse and changed order to 775px 225px

Updated ColumnLayout

Added component for changing the root component. This is so the AppBar can use nav as the root component
Added reverseTwoColumn to render the 2-column layout with napari-2-col-reverse

Add / Update usages of ColumnLayout in AppBar and PluginDetails
Lia's design updates

Move app bar links to the header
Add CTA button to bottom of page

Demos
App Bar Links

2nd CTA Button at Bottom of Plugin Page

wondering when we would need to refactor the whole 3/2 columns thing to 5/3 columns as per the design

I was thinking about that too lol It's pretty tricky right now because some elements will span multiple columns. For example on the landing page designs, the divider for each plugin result spans two columns.

On the plugin page, the plugin details span 3 columns, but the bottom CTA button spans 1 column:

I can see this becoming super tricky to implement purely in CSS Grids. So far implementation wise it's been easier to have the 3 column layout, and then use sub-layouts for alignment in the center column.

It might be possible though using span in grid-column and row-column, but we'll need to refactor the plugin details page and app bar


Thanx for Diff.Net

Hey Bill,
I like Diff.Net and even build a WPF clone Ähnlich based on your excellent back-end library. Your software design is supporior and the application is more than useful compared to other open-source attempts available on the Internet. Just want to say thank you for sharing such a great piece of work 🥇
Thanx Dirk

Awesome! You're welcome, and thanks for the kind words. Your WPF clone is cool, and it's really nice to see this code helping other people out.


UnicodeDecodeError: 'ascii' codec can't decode byte  ...

$ git config remote.orgin.url
https://github.com/pi-hole/pi-hole.git
$ file README.md
README.md: HTML document, UTF-8 Unicode text, with very long lines
$ consolemd README.md
Traceback (most recent call last):
File "/usr/local/bin/consolemd", line 11, in
sys.exit(cli())
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/consolemd/cli.py", line 147, in cli
renderer.render( md, **kw )
File "/usr/local/lib/python2.7/dist-packages/consolemd/renderer.py", line 52, in render
ast = self.parser.parse( md )
File "/usr/local/lib/python2.7/dist-packages/commonmark/blocks.py", line 898, in parse
self.incorporate_line(lines[i])
File "/usr/local/lib/python2.7/dist-packages/commonmark/blocks.py", line 847, in incorporate_line
self.add_line()
File "/usr/local/lib/python2.7/dist-packages/commonmark/blocks.py", line 620, in add_line
self.tip.string_content += (self.current_line[self.offset:] + '\n')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 12: ordinal not in range(128)

Thank you for taking the time to make this issue. The problem is that you're running consolemd on python 2 instead of python 3. I just verified that I can correctly view the readme from pi-hole.
Here's an excerpt from consolemd's README.md

Due to the inexorable tides, ConsoleMD is now Python3 only. If things happen to work in Python2 then super great, but that is no longer a requirement.

Thanks - turns out there's two pip's in Ubuntu 18.04: python-pip and python3-pip.
To install correctly it needs to use pip3 install consolemd after apt install python3-pip


my video無法下載 KeyError: 'name'

url: https://www.myvideo.net.tw/details/0/365489
Obtaining a proxy to "tw"

Proxy was skipped as current region matches
Traceback (most recent call last):
File "E:\字幕工具\Subtitle-Downloader-main\subtitle_downloader.py", line 151, in
main()
File "E:\字幕工具\Subtitle-Downloader-main\subtitle_downloader.py", line 140, in main
service'class'.main()
File "E:\字幕工具\Subtitle-Downloader-main\services\myvideo.py", line 238, in main
self.series_metadata(data, season_list)
File "E:\字幕工具\Subtitle-Downloader-main\services\myvideo.py", line 65, in series_metadata
title = data['name'].strip()
~~~~^^^^^^^^
KeyError: 'name'
請按任意鍵繼續 . . .

不太確定是哪裡出問題，之前可以下載

https://www.myvideo.net.tw/details/0/365489

Fixed


result pagination

Add result pagination feature for the APIs.
also, it would be better if you have uploaded the apis code for better collaboration.

Salam @beraoudabdelkhalek
Regarding your question about the API and the need for the result pagination feature, I'd like to provide some clarification. The purpose of this API is to provide a simple and general idea about the data contained in the "companies.csv" file.
Since the main goal is to offer a high-level overview of the data, the API doesn't require extensive functionality such as result pagination. Instead, it is designed to return the entire dataset in a single response.
I have no problem with uploading the code to the repository if you think it would be beneficial. Even though it's a straightforward API created for the specific purpose we discussed earlier.

Add result pagination feature for the APIs. also, it would be better if you have uploaded the apis code for better collaboration.

Salam @beraoudabdelkhalek
Regarding your question about the API and the need for the result pagination feature, I'd like to provide some clarification. The purpose of this API is to provide a simple and general idea about the data contained in the "companies.csv" file.
Since the main goal is to offer a high-level overview of the data, the API doesn't require extensive functionality such as result pagination. Instead, it is designed to return the entire dataset in a single response.
I have no problem with uploading the code to the repository if you think it would be beneficial. Even though it's a straightforward API created for the specific purpose we discussed earlier.

thank you for the clarification, i didn't get that from the Readme file, in this case, there is no need for uploading the code.


chore: update OSS ci pipeline to match the updates to monitor-ci

Partial #https://github.com/influxdata/ui/issues/3565
Purpose:

When making changes in quartz-mock PR, incorporate CI tests including e2e with UI.
Make it such that bad mock bad (in quartz-mock), does not break our CI pipeline.
This included updates for our monitor-ci pipeline (making it a bit cleaner)...which is why this PR in oss exists.

Done in this PR:

explicitly set the workflow enum which is run.
update the run-monitor-ci-tests.bash to match the updated script in monitor-ci.

note: removed the other workflows which are not oss.
note to @wbaker85 the updated script, for embedded UI, uses UI_SHA (not SHA)

tested by running against the monitor-ci branch (which has all the updates).

temp commit: https://github.com/influxdata/influxdb/pull/23169/commits/694ce3aa3dd79b1c2b6001d3e55e3a3f07707f19

Before merge:

merge in monitor-ci PR first.

this PR:  https://github.com/influxdata/monitor-ci/pull/349

reset this to master branch: MONITOR_CI_BRANCH="feat-CI-quartz-mock"

revert commit https://github.com/influxdata/influxdb/pull/23169/commits/694ce3aa3dd79b1c2b6001d3e55e3a3f07707f19

Couple of high-level questions:

Why remove the stuff specific to running from the UI repository from this? Understandably it isn't relevant for running from the OSS side, but I worry it will make it harder to sync changes between the scripts if they are drastically different.
Was there a test done for triggering the oss-e2e-embedded workflow?

you can still do an embedded oss build.
instead of this:
API_KEY=${MONITOR_CI_API_KEY} MONITOR_CI_BRANCH="master" OSS_SHA=${CIRCLE_SHA1} RUN_WORKFLOW="build_oss" ./scripts/ci/run-monitor-ci-tests.bash
try this:
API_KEY=${MONITOR_CI_API_KEY} MONITOR_CI_BRANCH="master" OSS_SHA=${CIRCLE_SHA1} UI_SHA=${whatever} UI_BRANCH=${whatever} RUN_WORKFLOW="build_oss_embedded" ./scripts/ci/run-monitor-ci-tests.bash
it's listed here:
https://github.com/influxdata/influxdb/blob/9e758f9fd362d93ff0de52eee4495dfd9b87d465/scripts/ci/run-monitor-ci-tests.bash#L46-L49

ah. but I did forget to add the UI_BRANCH to the embedded description.
let me update that now.

Summary of changes done in the monitor-ci PR:

instead of a series of conditionals nested inside the same "build" workflow, with different handling inferred from existence/absence of SHAs etc --> we now have separate workflows.
each workflow uses the same underlying jobs/subtasks, but the workflow itself is separate.

.
the OSS triggered workflows are either:

RUN_WORKFLOW="build_oss"  with the OSS_SHA,
RUN_WORKFLOW="build_oss_embedded" with the OSS_SHA + UI_BRANCH + UI_SHA.

.
This second workflow includes the same jobs (subtasks) as from the UI repo workflow...but also including the OSS_SHA.
The workflow run from the UI repo (RUN_WORKFLOW="build") is effectively a build-ui-only workflow. It uses the same subtasks/jobs as other workflows.


Temperature converter.

I want to add a temperature unit converter.
Which will take celsius and convert it into Fahrenheit or vice versa

Sure, go ahead.
Do follow the guidelines and contributing steps.
Key things to keep in mind:

Create a separate branch
Create your project folder inside /public/Projects
The html file should be named index.html
When project is completed, take a screen shot or a gif and upload it to assets folder by giving proper name.
Finally your project folder should have a info.txt file with required fields (see template for reference)

Happy coding 🚀


docker.io/hispark/qiankunbp:1.0.0

IMAGE SYNC

Error response from daemon: pull access denied for m.daocloud.io/docker.io/hispark/qiankunbp, repository does not exist or may require 'docker login': denied: 🚫 这镜像不在白名单. this image is not in the allowlist. 📦 https://github.com/DaoCloud/public-image-mirror/issues/2328 🔗


HTTP Cache Middleware

Continuation of https://github.com/teamon/tesla/pull/264

To answer the last comment from previous PR

I've also made a try on store_opts, as a mean to have "multi-tenant" caches, i.e., ServiceA and ServiceB each have their own cache. The implementation is the simplest as possible (passing tuples around), and I can refactor if we decide that's a good approach API-wise.

I think it would be best to have separate cache for each client as a default.

Talking about API, I'm not sure if I really like the result. The Store behaviour feels a bit inflated, with a total of 4 args for put for example. One alternative I can think of is, instead of a module, store argument is actually a name which we can use via some Registry - that feels more "Elixir-y". What I don't like about that is that feels overcomplicated for Tesla.

One option would be to not ship any storage adapter at all. Even the simples one (ets) gets tricky prevtty quickly when you start to think of concurrent access, expirations etc (that's why we have con_cache).

FYI I'm working on an HTTP caching library in Erlang with some niceties such as handling of revalidation, auto-compression, handling the whole RFC7234 (e.g. deleting cache when DELETEing) for private of shared proxies, and more.
I'm also working on an Erlang LRU backend for this, that handles invalidation by URI or by alternate key, clustering, etc.
In addition to an HTTP caching Plug, I'm planning to write a Tesla middleware for this :) Not writing here to brag about it, but to avoid duplicate work depending on what your goals are with this PR.

@andrewhr @tanguilp So... how can we move forward with this? :)

FYI I've released tesla_http_cache a few days ago.


Fixed typo at line 81

Sorry to be a pain, would it be possible to push the other changes to this branch and pull request? The build wont succeed without them together
Thanks

Made changes as you said I have made new pr i hope it will work


Caesar Cipher

Aim

Creating a script for caesar cipher

Details

Caesar's cipher, the shift cipher, is one of the simplest and most widely known encryption techniques. It is a type of substitution cipher in which each letter in the plaintext is replaced by a letter some fixed number of positions down the alphabet.

@smriti1313 assigned to you

Update: I will send a PR by tomorrow. I am sorry for the delay caused.


ThisVid Support Broken

Checklist

[X] I'm reporting a broken site support
[X] I've verified that I'm running youtube-dl version 2021.12.17
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones

Verbose log

youtube-dl -v "https://thisvid.com/videos/gacha-emeto-drunk-mom-spewing-taco-bell/"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://thisvid.com/videos/gacha-emeto-drunk-mom-spewing-taco-bell/']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.7.9 (CPython) - Windows-10-10.0.19041-SP0
[debug] exe versions: ffmpeg 3.4, ffprobe N-91565-g1940c27c82
[debug] Proxy map: {}
[generic] gacha-emeto-drunk-mom-spewing-taco-bell: Requesting header
WARNING: Falling back on generic information extractor.
[generic] gacha-emeto-drunk-mom-spewing-taco-bell: Downloading webpage
[generic] gacha-emeto-drunk-mom-spewing-taco-bell: Extracting information
[download] Downloading playlist: None
[generic] playlist None: Collected 4 video ids (downloading 4 of them)
[download] Downloading video 1 of 4
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://thisvid.com/members/%ID%/'
ERROR: unable to download video data: HTTP Error 400: Bad Request
Traceback (most recent call last):
  File "C:\Python37\lib\site-packages\youtube_dl\YoutubeDL.py", line 1976, in process_info
    success = dl(filename, info_dict)
  File "C:\Python37\lib\site-packages\youtube_dl\YoutubeDL.py", line 1915, in dl
    return fd.download(name, info)
  File "C:\Python37\lib\site-packages\youtube_dl\downloader\common.py", line 366, in download
    return self.real_download(filename, info_dict)
  File "C:\Python37\lib\site-packages\youtube_dl\downloader\http.py", line 351, in real_download
    establish_connection()
  File "C:\Python37\lib\site-packages\youtube_dl\downloader\http.py", line 116, in establish_connection
    raise err
  File "C:\Python37\lib\site-packages\youtube_dl\downloader\http.py", line 110, in establish_connection
    ctx.data = self.ydl.urlopen(request)
  File "C:\Python37\lib\site-packages\youtube_dl\YoutubeDL.py", line 2288, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "C:\Python37\lib\urllib\request.py", line 531, in open
    response = meth(req, response)
  File "C:\Python37\lib\urllib\request.py", line 641, in http_response
    'http', request, response, code, msg, hdrs)
  File "C:\Python37\lib\urllib\request.py", line 569, in error
    return self._call_chain(*args)
  File "C:\Python37\lib\urllib\request.py", line 503, in _call_chain
    result = func(*args)
  File "C:\Python37\lib\urllib\request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 400: Bad Request

Description

ThisVid support seems broken. I can't download anything and I get an HTTP 400 error.

The extractor in this commit from June, 2021 still works fine,
but it is missing from youtube-dl version 2021.12.17. Maybe it was removed for some legal issue?

No, the PR was never merged because the maintainers took a break around that time.

No, the PR #29187 was never merged because the maintainers took a break around that time. Without that PR, the site is not specially supported and the generic extractor fails to find the video.

yes, the generic extractor doesn't work. with #29187 YouTube-dl could support not only public videos, but private videos providing cookies as well

@dirkf the maintainer is now back. can you review the code again?


is there a way to add paths dynamically?

I see that a single relayer process can relay messages across any number of chains provided all the paths are configured ahead of time prior to starting the service. It would be great to add paths at run time through http or something?

Not at the moment, sorry. We'll make a note of that and will update this issue if we can fit this into a future release, but no guarantees as we have other more pressing tasks to get to in the short/mid-term.


Can't connect to Mikrotik Router

Hello,
I have tried all ports and configurations but I still can't connect to Mikrotik
{"level":"info","time":"2024-11-21T10:50:20Z","message":"Connecting to mikrotik"} {"level":"fatal","error":"dial tcp <IP_ADDRESS>:8278: connect: connection refused","host":"<IP_ADDRESS>:8278","username":"**","useTLS":false,"time":"2024-11-21T10:50:20Z","message":"Connection failed"}
tried with and without TLS (8278, 8279, 80, 443)
In the mikrotik logs I don't see anything
ROS: 7.16.1 / Router RB5009
I can connect to the api from other machines (e.g. homeassistant) and to rest-api from any machine

Hello,
Here using Mikrotik ROS: 7.15.3 without problems. Make sure api is enabled under IP->Services. Default port should be 8728.
Greetings.

Hi,
of course it it is enabled as I am already using the API, but this doesn't connect in any way


MuiThemeProvider with components imported from a subproject

I'm using @material-ui": "^4.11.0 in a modular projects.
Shared UI components are stored in a separate npm project called UI and imported by multiple parent projects. This seems to break styling applied with MuiThemeProvider. The PARENT project app is wrapped in MuiThemeProvider.

The styling is applied properly to material-ui components imported directly to the PARENT project.
The styling isn't applied to components built with material-ui inside the UI project and imported by the PARENT

Is there any extra step required? The specific component is a Spinner which doesn't update it's primary color.

Tip: make sure the theme context singleton isn't duplicated.


POWER should accept an input signal from Source

in such a case, the Source (first item) should deactivate

Please clarify

1 - Which sources are good candidate?
2 - Which information should be carried
3 - Which format is accepted?

1 - Every source producing a spectrum: undulator_spectrum, BM, WS, WIGGLER, XTUBES, XTUBE_W BlackBody
2 - The energy spectrum.
If available (Photon_Energy, Spectral_Power)
If not, whatever they calculate (XTUBE, XTUBE_S)
3 - I think the exchange object you use to feed the shadow geometrical source.


docs: added section about local models via ollama

ollama seems to be the most stable way of using local models, however it's not documented how to use it, so here it is

Also, can you make this against dev instead?


THRIFT-3775: 0.10.0 release

Initial versioning switch for the 0.10.0 release candidate
Please do not merge this to master, I will commit this patch when it is passing all tests to the release branch and start the vote thread

@RandyAbernethy @Jens-G @jeking3 any of you aware of the appveyor openssl issue this build just triggered?
appveyor DownloadFile https://slproweb.com/download/Win64OpenSSL-%OPENSSL_VERSION%.exe
Error downloading remote file: One or more errors occurred.

@Jens-G I saw some updates from @nsuke on this overnight.  It would be in https://issues.apache.org/jira/browse/THRIFT-3934.

I also want to get THRIFT-3936 in, it's a simple change to PlatformSocket.h and TServerSocket.h that was introduced during 0.10.0 development which makes it fail to compile on VS2013 and earlier.

I fixed the appveyor issue as part of THRIFT-3936.

@jfarrell should this be closed now?

had left it open while still publishing the packages, can close it out and continue that in the background now that the source release is out

@jfarrell Was 0.10.0 released? I don't see it listed under the releases.

@tylertreat-wf just pushed the 0.10.0 tag, once the mirror picks it up github will have it

What about language bindings? More specifically, the Python package on PyPi.

Also it appears the Java library and thrift-maven-plugin haven't made it into Maven central yet:
https://repo.maven.apache.org/maven2/org/apache/thrift/


fix: stop query in SQL Lab with impala engine (#20950)

fix(sqllab): Stop button for queries doesn't work in SQL Lab when using SQL Lab with impala engine and adding Progress Information
Fix the bug:https://github.com/apache/superset/issues/20950
SUMMARY

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

BEFORE

AFTER

progress info

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

@wanghong1314 there are also some failing CI checks. Let us know if you need any help resolving them. cc @betodealmeida for another set of eyes on this review.

@wanghong1314 there are also some failing CI checks. Let us know if you need any help resolving them. cc @betodealmeida for another set of eyes on this review.

@baldoalessandro please check that I have not changed the code of mysql and postgress related engine. Why does ci report an error?

@eschutho @bolkedebruin @eschutho  I saw that the ci test passed, please help review the code, thank you

@eschutho @bolkedebruin @eschutho I saw that the ci test passed, please help review the code, thank you

Thanks @wanghong1314. I'm going to defer to @betodealmeida or @villebro on whether the hive pattern is still the best option here.


use_metric_units=False has no impact

Describe the issue
Using the python library I am trying to set use_metric_units=False however, it is still returning the values in KM however, on the property mileage ValueWithUnit(value=61366, unit='mi') the actual value is in KM the unit is in miles.
Expected behavior
Expect that the property will contain the value in the requested unit.
Which Home Assistant version are you using?
none
What was the last working version of Home Assistant Core?
none
What is your region?
Rest of world
MyBMW website

[X] I can still successfully login to the BMW MyBMW website and the car status is available there.
[X] I have MyBMW enabled for my vehicle.

Number of cars

[X] I have 2 or more cars linked to the MyBMW account.
[ ] I have a Mini vehicle linked to my account.

Output of bimmer_connected fingerprint
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response

Thanks for the report - it might be that the API doesn't consider those values anymore. Needs some investigation in the app communcation with BMW servers.

I remembered something - we already saw that issue in the Home Assistant integration in 2022 (https://github.com/home-assistant/core/pull/75225) and removed/hard coded it there...

Thanks a lot @rikroe for the clarification. Will implement conversion.


Add demo for Data Access BB v2

Happening in:

https://github.com/EOEPCA/demo/pull/13

Safe to close? Also not sure why, but I seem unable to close issues 😅


replace FDG abi with ours and substitute contract calls

Done in https://github.com/ethstorage/optimism/pull/80


[FEAT]: Endpoint To UPDATE a newsletter with a specific ID

Description:
Implement an asynchronous endpoint to allow super admin users to update an existing newsletter by providing the newsletter ID.
Acceptance Criteria:

It should be a PATCH request at /api/v1/newsletters/{letter_id}.
The request body should accept fields: title, description, and content as strings.
The endpoint should seamlessly update the specified newsletter in the database using the provided data.
The endpoint should only be accessible to super admin users.

Purpose:
To enable super admin users to update details of an existing newsletter, such as the title, description, and content.
Requirements:

Develop server-side logic to update a newsletter based on the provided letter_id.
Ensure the updated newsletter is saved correctly in the database.
Restrict access to the endpoint so that only super admin users can perform the update.
Test the endpoint for correctness and accuracy.

Expected Outcome:

The system successfully updates the newsletter identified by the provided letter_id.
The updated newsletter data is returned in the response.

Tasks:
Create Endpoint:

Implement the PATCH /api/v1/newsletters/{letter_id} endpoint to handle the request.

Validate ID:

Validate the letter_id parameter to ensure it corresponds to a valid newsletter in the database.

Update Data:

Use the provided id and schema parameters to update the newsletter with the specified letter_id in the database.
Handle cases where the letter_id does not exist, returning appropriate error messages.

Response Handling:

Return a success response with the updated newsletter's data if the letter_id is valid.
Return appropriate error responses for invalid or non-existent letter_id.

Security:

Ensure that the endpoint can only be accessed by super admin users.
Implement dependency injection for db and current_user using Depends(get_db) and Depends(user_service.get_current_super_admin).

Write Tests:

Write comprehensive unit tests for the endpoint.
Test for all possible outcomes, including successful update, invalid letter_id, non-existent newsletter, and unauthorized access.

Example Request:
curl -X PATCH {rootdomain}/api/v1/newsletters/{letter_id} \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <access_token>" \
-d '{
  "title": "Updated Title",
  "description": "This newsletter covers all the updates and news for the month of August 2024.",
  "content": "Dear Subscribers, Welcome to the August edition of our monthly update..."
}'

Response Body [Success]:
{
  "status_code": 200,
  "success": true,
  "message": "Successfully updated a newsletter",
  "data": {
    "id": "c3f0e1b2-dc7f-4b90-8a9b-123456789abc",
    "updated_at": "2024-08-08T10:32:59.776805+03:00",
    "created_at": "2024-08-07T22:40:49.110754+03:00",
    "title": "Updated Title",
    "description": "This newsletter covers all the updates and news for the month of August 2024.",
    "content": "Dear Subscribers, Welcome to the August edition of our monthly update..."
  }
}

Response Body [Error]:
{
  "status_code": 404,
  "message": "Newsletter not found"
}

Testing:

Write end-to-end backend unit tests for the operation.
Test all possible outcomes (e.g., successful update, invalid letter_id, non-existent newsletter, unauthorized access).

issue merged


Roadmap

Is there a roadmap for this project to display which functions to implement?

Hi @devanp92, this project doesn't plan to implement functions. It will have a handy collection of native methods for those who want less dependencies in their projects. But if you have any plans which can make this list better, just feel free to contribute to it. Thanks!!

Great! Is there a need for the function .join()?

@devanp92  Yes. But since it is a Lodash only function, just label it as Lodash only function in this format: https://github.com/cht8687/You-Dont-Need-Lodash-Underscore#_reverse


Some additional tips for Mini Project

Before I begin, major shoutout to @bingsen0806 for his original post, read it before mine as it contains a lot of gems and potential mistakes we could have made.
His tips helped me solve it after days of pain and major credit to TA Joel for helping me numerous times.

How to replace isPresent() and have a more functional approach:
I previously didn't check and realised it was banned only after submitting it. A workaround will be to do it in a more functional style by using the .map() and orElseGet() with either the Lazy or Optional class to return your required values

Test your takeWhile and limit functions entensively:
They might work for the CC test cases but might have some serious flaws like mine had.
If you fail hidden test case 73 where your code stops like this

It means your takeWhile code has an issue like mine,
my original code was something like this:
Lazy<T> newHead = this.head.filter(x -> predicate.test(x)); Supplier<InfiniteList<T>> newTail = () -> (check if newHead fails) ? new EmptyList<T>() :  code to carry on
The error does not actually come up until you place a filter in front of a takeWhile which results in the code stopping prematurely. So like the tips given in level 4, check your original head first if it has been converted to an empty Optional
Here is a code to run a modified version of test case 73 that I reverse engineered
Predicate<Integer> divide6 = x -> { System.out.printf("filter: %d -> %b\n", x, x % 6 == 0); return x % 6 == 0; }; Function<Integer,Integer> doubler = x -> { System.out.printf("map: %d -> %d\n", x, x * 2); return x * 2; }; Function<Integer,Integer> square = x -> { System.out.printf("map: %d -> %d\n", x, x * x); return x * x; }; UnaryOperator<Integer> op = x -> { System.out.printf("iterate: %d -> %d\n", x, x + 2); return x + 2; }; Predicate<Integer> lessThan100 = x -> { System.out.printf("takeWhile: %d -> %b\n", x, x < 100); return x < 100}; Consumer<Integer> output = x -> System.out.println("forEach: " + x); InfiniteList.iterate(0,op).map(doubler).map(doubler).filter(divide6).takeWhile(lessThan100).map(square).limit(5).forEach(output);
If your output is like:

Where it stops after filter returning false, its wrong as it stops prematurely as the filtered empty Optional acts as false positive .
Instead check the condition separately if the head has already been converted to an empty optional by filter.
It should go all the way:

I hope that this is useful to you and reduces your pain.

Predicate lessThan100 = x -> { System.out.printf("takeWhile: %d -> %b\n", x, x < 100); return x < 100;

This line is missing the closing bracket " } ".
Thanks for sharing :)

Predicate lessThan100 = x -> { System.out.printf("takeWhile: %d -> %b\n", x, x < 100); return x < 100;

This line is missing the closing bracket " } ". Thanks for sharing :)

Updated, thank you . :)

hi! i'm currently facing this exact issue but i dont quite get what is actually happening. Cant exactly visualize whats making it stop prematurely


Kite don't show variables in JS

Kite don't recommend my variables in Javascript, but it show me in python files.
Javascript file:

Python file:

Try :let g:kite_supported_languages = ['python', 'javascript'].

Try :let g:kite_supported_languages = ['python', 'javascript'].

Not working. I have this in my .vimrc
  autocmd FileType python let b:coc_suggest_disable=1
  autocmd FileType javascript let b:coc_suggest_disable=1
  autocmd FileType scss setl iskeyword+=@-@

  let g:kite_supported_languages = ['javascript', 'python']

  set completeopt+=menuone
  set completeopt+=noselect
  set completeopt-=preview

  set belloff+=ctrlg

Not working. I have this in my .vimrc
  autocmd FileType python let b:coc_suggest_disable=1
  autocmd FileType javascript let b:coc_suggest_disable=1
  autocmd FileType scss setl iskeyword+=@-@

  let g:kite_supported_languages = ['javascript', 'python']

  set completeopt+=menuone
  set completeopt+=noselect
  set completeopt-=preview

  set belloff+=ctrlg

That's weird.  What does :echo kite#utils#plugin_version() say?

That's weird.  What does :echo kite#utils#plugin_version() say?

1.0.84

1.0.84

OK, thanks.  That's up to date.
I assume you have autocomplete on?  :echo g:kite_auto_complete

OK, thanks.  That's up to date.
I assume you have autocomplete on?  :echo g:kite_auto_complete

Also, does it work when you invoke completion manually with ctrl-x ctrl-u?

Also, does it work when you invoke completion manually with ctrl-x ctrl-u?

No, no work. I'm using CoC, maybe this is the problem. But I have this lines:
autocmd FileType python let b:coc_suggest_disable=1
autocmd FileType javascript let b:coc_suggest_disable=1
autocmd FileType scss setl iskeyword+=@-@

No, no work. I'm using CoC, maybe this is the problem. But I have this lines:
autocmd FileType python let b:coc_suggest_disable=1
autocmd FileType javascript let b:coc_suggest_disable=1
autocmd FileType scss setl iskeyword+=@-@

I don't yet know why it works for you with Python but not JavaScript.
In the meantime, you could try plugging Kite into CoC via LSP.

I don't yet know why it works for you with Python but not JavaScript.
In the meantime, you could try plugging Kite into CoC via LSP.


Enable Installation of Pull Server as both 32 bit and 64 bit process in MSFT_xdscWebService Resource

Tested this change manually for both x86 and x64

This change is

Codecov Report

Merging #372 into dev will decrease coverage by <1%.
The diff coverage is 0%.

@@         Coverage Diff         @@
##            dev   #372   +/-   ##
===================================
- Coverage    67%    67%   -1%
===================================
  Files        27     27
  Lines      3927   3937   +10
  Branches      4      4
===================================
- Hits       2644   2643    -1
- Misses     1279   1290   +11
  Partials      4      4


Update toolchain docs with new Adoptium API check

This wasn't updated with #20403.

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test and merge

OK, I've already triggered a build for you.


encoding UTF-8

Not supporting the encoding utf-8 as I am indeed of it badly. any help?

Can you share the error message you are getting and your code?


add Merced, CA

See below for the list of contacts to send to, as well as a link on how to find your district. Also, see attached the email - edit and fill in sections as needed !
SEND TO:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>See here to find your District: https://www.cityofmerced.org/departments/city-council
SUBJECT: [INSERT UNIQUE SUBJECT LINE]
To the Merced City Council,
I am a resident of Merced’s [YOUR DISTRICT]. I am writing to demand that the City Council adopt a budget strategy that prioritizes community well-being and redirects funding away from the police in the next budget evaluation period.
We have seen mounting evidence that police departments are ineffective institutions that marginalize minority communities and put citizens at risk of injury and death, yet the police budget accounts for 20.7 million of a 44.6 million dollar fund - this is 46% of the budget. This is wholly unacceptable.  I ask that you redirect a significant portion of the police budget toward community programs, notably in South Merced, that provide citizens with basic human needs, like affordable healthcare and housing and primarily access to food. We do not need a militarized police force. We need to create a space in which more mental health service providers, social workers, victim/survivor advocates, neighbors, and friends - all of the people who really make up our community - can look out for one another. Real, actionable change starts with reallocating funding in a manner consistent with these priorities.
The additional allocation of approximately $4M (or 2/3rds) of Measure C funds also being directed towards the Merced Police Department is unacceptable. As these funds are available for practically any use, it is a shame to see so much of it  (or any at all) go towards policing.  I would especially like to see these funds go to support education in schools across Merced county, particularly in underserved or underprivileged areas.
Further, I ask that the police in schools be removed. From 2018, there has been significant research into whether or not schools benefit from having a police presence. The overwhelming answer is that their presence creates unintended consequences like suspensions, expulsions and arrests — especially for students of color. The police presence is stated to be there in order for "safer schools", but as Marc Schindler, the head of the Justice Policy Institute, said in a 2018 interview with NPR: "In fact, the data really shows otherwise — that this is largely a failed approach in devoting a significant amount of resources but not getting the outcome in school safety that we are all looking for."[1][2] Black and other students of color deserve to have a school environment where THEY feel safe, and that implies without police presence.
We also demand an apology for the way that District 2 Council Member Fernando Echevarria treated protestors at a recent candlelight vigil for Mr. George Floyd, along with demanding to be put in a chokehold. Frankly, he should be removed from the board for his mocking of the “I can’t breathe” cry Mr. Floyd let out as he died on camera. The Council Member did this as members of the public called for more questions to be answered. Although emotions are high and discussions are heated, we deserve to have open conversations - particularly with those leading our city. Merced is a growing place, with a large population of people of all races and economic backgrounds. This should be reflected in the city council, be that through conversations or eventually through massive change. This behavior did not show any intention of listening to the people, and was wholly unrepresentative of what a District representative should be.
Personally, I hope that one day we can follow the lead of Minneapolis[3] and look for community alternatives to police forces. I am sure you are aware of the 8 Can't Wait campaign, but many of these alternatives and trainings are already in place and did not stop the murders of George Floyd, Freddie Gray, Breonna Taylor, and countless others across our country. I urge you to look further into the 8 to abolition movement: https://www.8toabolition.com/. 8 Can't Wait has been "debunked" publicly by abolition leaders and reformists alike. Instead of seeing the "72% decrease" in police shootings they promise, I hope to live in a world and a city where 0 police shootings occur. Reformist reforms will only continue the status quo, as we have seen following Ferguson and Baltimore. We are at a turning point, and abolitionist reforms hold the voice.
As the City Council, the budget proposal is in your hands. It is your duty to represent your constituents. I am urging you to completely revise the budget for the 2020-2021 fiscal year. We can be a beacon for other cities to follow if only we have the courage to change.
Thank you for your time,
[YOUR NAME] [YOUR ADDRESS] [YOUR PHONE NUMBER] [YOUR EMAIL ADDRESS]
[1] https://www.npr.org/2018/03/08/591753884/do-police-officers-in-schools-really-make-them-safer
[2] https://www.chalkbeat.org/2019/2/14/21121037/new-studies-point-to-a-big-downside-for-schools-bringing-in-more-police
[3] https://www.nytimes.com/2020/06/07/us/minneapolis-police-abolish.html

Thank you for adding this!!!!

on it


Execution time of lax.scan >> lax.fori_loop > unrolled python for

I haven't been able to reduce the problem yet, but at this high level I found that the exact same computation, performed with a lax.scan or with a lax.fori_loop or with an unrolled python for loop has very different exection times.
I'll try to make this example as minimal as possible, but the phaenomenon is already visible at this high level.
Colab to reproduce here:
https://colab.research.google.com/drive/11SNojrjrLxr9NK22MzYVienHyaY2taWg?usp=sharing
Results for a gpu backend

lax.scan:

Profiling observation <function rgb at 0x7f1ec0778b80>, N_SEEDS = 1000, N_TIMESTEPS = 10
	Compiling <function rgb at 0x7f1ec0778b80>...
	Compiled in 2.58s
	Running <function rgb at 0x7f1ec0778b80>...
	 1.7561769485473633 ± 0.04301055893301964

lax.fori_loop

Profiling observation <function rgb at 0x7f1ec0778b80>, N_SEEDS = 1000, N_TIMESTEPS = 10
	Compiling <function rgb at 0x7f1ec0778b80>...
	Compiled in 3.28s
	Running <function rgb at 0x7f1ec0778b80>...
	 0.6279381513595581 ± 0.015154112130403519

python for loop

Profiling observation <function rgb at 0x7f1ec0778b80>, N_SEEDS = 1000, N_TIMESTEPS = 10
	Compiling <function rgb at 0x7f1ec0778b80>...
	Compiled in 11.15s
	Running <function rgb at 0x7f1ec0778b80>...
	 0.10700666159391403 ± 0.012459419667720795

Here is the original, unsplit code:
import time
from timeit import repeat

import jax
import jax.numpy as jnp
import navix as nx

N_TIMEIT_LOOPS = 10
N_REPEAT = 30
N_TIMESTEPS = 10
N_SEEDS = 1000

def test_observation(observation_fn):
    def test(seed):
        env = nx.environments.Room(
            height=5, width=10, max_steps=100, gamma=1.0, observation_fn=observation_fn
        )
        key = jax.random.PRNGKey(seed)
        timestep = env.reset(key)

        # option 1
        actions = jax.random.randint(key, (100,), 0, 6)
        timestep = jax.lax.scan(lambda c, x: (env.step(c, x), ()), timestep, actions)[0]

        # option 2
        # actions = jax.random.randint(key, (100,), 0, 6)
        # timestep = jax.lax.fori_loop(0, N_TIMESTEPS, lambda i, val: env.step(val, jnp.asarray(actions[i])), timestep)

        # option 3
        # for i in range(N_TIMESTEPS):
        #     action = jax.random.randint(key, (), 0, 6)
        #     timestep = env.step(timestep, jnp.asarray(action))

        return timestep

    # profile navix scanned
    print(
        "Profiling observation {}, N_SEEDS = {}, N_TIMESTEPS = {}".format(
            observation_fn, N_SEEDS, N_TIMESTEPS
        )
    )

    seeds = jnp.arange(N_SEEDS)

    print(f"\tCompiling {observation_fn}...")
    start = time.time()
    test_jit = jax.jit(jax.vmap(test)).lower(seeds).compile()
    print("\tCompiled in {:.2f}s".format(time.time() - start))

    print(f"\tRunning {observation_fn}...")
    res = repeat(
        lambda: test_jit(seeds).observation.block_until_ready(),
        number=N_TIMEIT_LOOPS,
        repeat=N_REPEAT,
    )
    res = jnp.asarray(res)
    print(f"\t {jnp.mean(res)} ± {jnp.std(res)}")

if __name__ == "__main__":
    test_observation(nx.observations.rgb)

Hi Jake, thanks for the answer!
The general behaviour makes very much sense.
I'd really wish a python for was much quicker to compile, since the gap in performance is not negligible, but I understand there's no magic wand for that.
Focusing on scan vs fori_loop, I don't understand what is happening here, though.
scan returns an empty tuple and, assuming that the computational and memory cost of stacking empty tuples is negligible, there should be really no added cost.
The only difference I see between the fori_loop and the scan is in the supported AD mode.
Maybe something's getting cached under the hood to enable backward-mode AD in scan that is causing the slow-down?

I actually debugged the fori_loop and its internal mechanisms fall into using scan (use_scan = True), because lower and upper are ConcreteArrays representing integers.

I'd really wish a python for was much quicker to compile, since the gap in performance is not negligible, but I understand there's no magic wand for that.

I too wish we could achieve the benefits of compiling a program without having to pay the cost of compiling it!

I actually debugged the fori_loop and its internal mechanisms fall into using scan (use_scan = True), because lower and upper are ConcreteArrays representing integers.

Right, this is what I mentioned above: fori_loop lowers to scan in this case. You're right to point out I was mistaken about the stacked results making scan slower. I'm actually not sure what's causing the difference between the scan and the fori_loop versions, but I'll note one thing: the fori_loop function is scanning over an array of indices, and then repeatedly indexing into your actions array, while the scan function is scanning over the actions array itself. Something about this difference probably changes how the compiler is able to optimize the operation.

Closing, because I think this is all working as expected!


Added swipe-to-delete

Optional swipe to delete for cells

Change: added .onDelete(perform: delete) and .onMove(perform: move)


[Electrical consumers] Join isolated, disconnected from scope change api (Backend)

Join isolated and disconnected properties into this view in FAM #510.
Requires:

#510

Not good enough data


Upgrade to OpenAPI 3.1

OpenAPI 3.1.0 (latest) has been released on February 2021. We are currently using OpenAPI 3.0.3.
A few months ago, when I was working on generating spring boot apps with the openapi generator, I attempted to upgrade to OpenAPI 3.1 but bumped into issues. I think that it was because of the one or more generators of the OpenAPI generator were not supporting it.
Requirements
Upgrading to OA 3.1.0 should meet the following requirements:

[ ] OA description can be built and linted
The following generator should work

[ ] spring
[ ] typescript-angular
[ ] python

Relevant features of OA 3.1
Nullable $ref
Currently, nullable has to be part of the schema because it can not be used in combination of $ref in OA 3.0. This limits the reusability of the schema, which we may want to use with and without nullable.
Example with OA 3.1:
oneOf:
- $ref: "#/components/schemas/OtherObject"
- type: 'null'

See https://github.com/acacode/swagger-typescript-api/issues/39

Added to Backlog

Duplicate of #733


For UIViewController,as property init,crash

I define a global variable as property in the UIViewController  ，Crashed when use in Closures，Crash reason unexpectedly found nil while unwrapping an Optional value
in Formatters.swift -226

Hi @gityoung, the project has been updated to the latest Swift version and it should fix this issue.
See this commit https://github.com/delba/Log/commit/13e60e3f2597a6d8a3c2bfe9365751cd9d3ceddf


Startup of docker failed. Unknown runtime specified nvidia

docker: Error response from daemon: Unknown runtime specified nvidia.
Error log: https://gist.github.com/AnkS4/a60311075d0417a56ef503db9a7e608b

Hello AnkS4,
is your system correctly configured for NVIDIA/nvidia-runtime? This error message indicates that it is not:

docker: Error response from daemon: Unknown runtime specified nvidia.

Also note that --runtime=nvidia only makes sense for images based on images provided by NVIDIA. Is this the case for your image osrf/ros:kinetic-desktop-full?
Compare: https://github.com/mviereck/x11docker/wiki/NVIDIA-driver-support-for-docker-container#nvidianvidia-docker-images

osrf/ros:kinetic-desktop-full is not image provided by NVIDIA.
$ x11docker --gpu --runtime=nvidia -- nvidia/cuda nvidia-smi too returning ERROR.
x11docker ERROR: Got error message from docker daemon:
docker: Error response from daemon: OCI runtime create failed
ErrorLog

I am still wondering if your docker installation is configured well for nvidia runtime.
Can you show me the output of:
docker info | grep Runtime

It should contain the string nvidia.
To check the runtime configuration, try docker directly instead of x11docker:
docker run --runtime=nvidia --rm nvidia/cuda nvidia-smi

I've bumblee driver, so I need to run it with primusrun:
$ primusrun docker info | grep Runtime
Runtimes: nvidia runc
Default Runtime: runc

$ primusrun docker run --runtime=nvidia --rm nvidia/cuda nvidia-smi
docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "process_linux.go:424: container init caused \"process_linux.go:407: running prestart hook 1 caused \\\"error running hook: exit status 1, stdout: , stderr: exec command: [/usr/bin/nvidia-container-cli --load-kmods configure --ldconfig=@/sbin/ldconfig --device=all --compute --utility --require=cuda>=10.1 brand=tesla,driver>=384,driver<385 brand=tesla,driver>=396,driver<397 brand=tesla,driver>=410,driver<411 --pid=11636 /var/lib/docker/aufs/mnt/0802c315b56e37bbd0c7cdd81253a7dd8a97951f48d8e888f6e905028fcbd9f0]\\\\nnvidia-container-cli: initialization error: cuda error: unknown error\\\\n\\\"\"": unknown.

At this point I don't know how to debug further.
It is not an x11docker issue but somehow related to the NVIDIA setup.
I recommend to report this at https://github.com/NVIDIA/nvidia-docker, they probably know what to do. Provide them these info of yours:
$ primusrun docker info | grep Runtime
Runtimes: nvidia runc
Default Runtime: runc

$ primusrun docker run --runtime=nvidia --rm nvidia/cuda nvidia-smi
docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "process_linux.go:424: container init caused \"process_linux.go:407: running prestart hook 1 caused \\\"error running hook: exit status 1, stdout: , stderr: exec command: [/usr/bin/nvidia-container-cli --load-kmods configure --ldconfig=@/sbin/ldconfig --device=all --compute --utility --require=cuda>=10.1 brand=tesla,driver>=384,driver<385 brand=tesla,driver>=396,driver<397 brand=tesla,driver>=410,driver<411 --pid=11636 /var/lib/docker/aufs/mnt/0802c315b56e37bbd0c7cdd81253a7dd8a97951f48d8e888f6e905028fcbd9f0]\\\\nnvidia-container-cli: initialization error: cuda error: unknown error\\\\n\\\"\"": unknown.

You could still try to run x11docker without --runtime=nvidia and instead provide an NVIDIA installer file to x11docker. Compare Automated install of NVIDIA driver during container startup

I am closing here for now.
Feel free to ask again if something comes up or if you want to try out the other possibilities to use NVIDIA driver.


fixes: install containerd from release tarball for e2e tests.

By default, install containerd from a release tarball, instead of expecting a compiled source tree and copying it from there.
Notes: This is still mark a draft, because I'd still need to

plug back in support for installing from sources to allow testing against an unreleased source tree
make similar changes for CRI-O

Closing for #154


fix: Modify GraphQL endpoints

What kind of change does this PR introduce?
Modify GraphQL endpoints

Thanks!


Organizes the reagents/reactions YAML.

-> Slight folder rearranging for specific reagents and recipes.
-> Changes all the chem IDs from their incredibly infuriating symbols to their simple names.
-> Organizes the YAML files alphabetically according to their name.


Moist Air Enthalpy

For the Enthalpy unit type does it account for an offset? If it does not can you add a new unit type for MoistAirEnthalpy that includes the offset?
This is used in air psychrometrics.
https://www.engineeringtoolbox.com/enthalpy-moist-air-d_683.html

Any advice on how to add a new custom unit with the offset?

The offset is just an arbitrary offset chosen by someone.
I would just add it when you do your math.
Maybe you can give me an example of what you are trying to do?


DS4 Controller won`t charge or turn on, no lightbar either

I was playing Witcher 3 for about 5 hours using my ds4 controller (connected to ds4windows). After taking a break and coming back I noticed the controller was irresponsive and the lightbar wasnt on, so I checked ds4 windows and the controller isnt being read as well. I thought it was a bluetooth issue so I tried plugging it in via micro USB but then I noticed as I plugged in the controller to one of the ports, my keyboard and mouse connected through USB ports also disconnected. I had to restart my PC to make the USB ports work again but that did not fix the ds4 issue, the controller is completely dead it wont charge or anything. I tried to use the reset button and that did not work, I also opened the controller but all seems to be in place. Did the ds4windows software destroy my controller? I have been using this controller on steam since 2017 without the ds4windows software and had no issues. I am afraid to try my other controller on the software because it might die too, if anyone has encountered this can I please get some advice. Thanks.

#620


WIP embedded Sanity Studio

Attempt to put the sanity studio inside ./app at /studio

#646 instead


[Bug]: No rewards are being given out?

Contact Details
Discord GaZZip
What happened?
Today we updated from 1.20.4 to the latest 1.20.6 paper and updated emf to the latest version on spigot and ran our competitions like usual, we made no changess to the plugig or config or anything regarding it.
The competition and everything works flawless, however, the rewards are not being sent out.
I now tried the latest dev release from your jenkins, however unfortunately it was the same result.
Version
Development
Development Version
1.7.2#73
Server Version
1.20.6#148
Java Version
21
Relevant log output
Unfortunately there is no error or anything, it sends out who wins, but just the rewards do not fire. I tested the commands manually from the plugin we use (crates) and it worked, so it's not on the plugins side.

Skyblock competitions.yml https://pastebin.com/0WUNaAeP
Citybuild competitions.yml https://pastebin.com/BxH3ydri

Citybuild emf related log entries after starting the development build: https://pastebin.com/AySTJJSs
Citybuild all entries for the 19:00 competition with the dev version: https://pastebin.com/TTAv2mwu

Again, no rewards given out.

Relevant screenshots
Ingame screenshot of /emf admin version from Skyblock https://prnt.sc/z68OAyPooSbH
Ingame screenshot of /emf admin version from Citybuild  https://prnt.sc/CTbncKMixktb
(German) but here you can see the winners, none received anything tho. https://prnt.sc/b0MVuN6sFt9f
Citybuild 19:00 beta version competition, winners announced but no rewards again https://prnt.sc/xCCSjTgg10eC

Using the dev build #75 did not fix it unfortunately., we run multiple competitions a day, this is pure chaos haha.

does this show up in your console at all?
An exception was thrown while the competition was being ended!
The competitions were changed to warn console instead of breaking themselves if an exception is thrown.

Can you post your rewards setup? If you don't want to send it here, you can dm me on discord (sarhatabaot)

Hey, I even tried a fresh install on a 1.20.6 testserver of us, just changing the date and a broadcast command added to the rewards of it, however nothing came up. @FireML Nope, just nothing happening.
This is the current competitions setup we use and it worked as said flawless in 1.20.4.
Citybuild:
https://pastebin.com/0kTq6bC0
Skyblock:
https://pastebin.com/BhQ5SLEC
Again, everything but the rewards work flawless, any command, any timer, all, or we did not have any other issue at least haha.
Only the rewards don't seem to trigger like at all. I even tried different types in case it may be one of my used ones, but even a clear fresh install on an basically fresh test server has the same result unfortunately.
Here are also my versions again:
Emf 1.7.2#75, currently the latest dev release.
Paper 1.20.6#148
Protocollib; 5.3.0-SNAPSHOT-723

I tested version 1.7 released on May 8, 2024 on SpigotMC and it seems to have worked to give out rewards on our testserver. Meaning the issue must rely somewhere between 1.7.1 and the latest dev or 1.7.2. I hope that helps, this is still urgent.

I went even further and tested more versions... 1.7.1 seems to work too, it started not working with 1.7.2, so that one is the culprit.

I forgot to mention, but this was fixed in #429


Error with repeater

I was following a tutorial to make AE fireworks with shapes only (http://www.premiumbeat.com/blog/after-effects-video-tutorial-fireworks/).
When exporting the animation with bodymovin it looks wrong. With some trial and error I found that the error is because of the repeater. When disabling the repeater, the animation looks the same in AE and the exported bodymovin file. The repeater is needed though for this animation to work.
In the attached aep file you can see the error and that disabling the repeaters gets rid of the error, but of course, also the repetition.
RepeaterError.aep.zip

Repeaters support is almost ready.
I'll probably upload a version this weekend.

It is working now with version 4.9.0 🎉


Add support for database initialization script path

this PR for add support for database initialization script path

Codecov Report

Merging #269 into develop will decrease coverage by 0.18%.
The diff coverage is 66.66%.

@@              Coverage Diff              @@
##             develop     #269      +/-   ##
=============================================
- Coverage      86.25%   86.06%   -0.19%
  Complexity       463      463
=============================================
  Files            115      115
  Lines           1535     1543       +8
  Branches          27       27
=============================================
+ Hits            1324     1328       +4
- Misses           200      204       +4
  Partials          11       11

Impacted Files
Coverage Δ
Complexity Δ

...a/com/playtika/test/mariadb/MariaDBProperties.java
75.00% <0.00%> (-6.82%)
5.00 <0.00> (ø)

.../java/com/playtika/test/mysql/MySQLProperties.java
75.00% <0.00%> (-6.82%)
5.00 <0.00> (ø)

...ava/com/playtika/test/oracle/OracleProperties.java
71.42% <0.00%> (-11.91%)
3.00 <0.00> (ø)

...playtika/test/postgresql/PostgreSQLProperties.java
71.42% <0.00%> (-11.91%)
3.00 <0.00> (ø)

...mariadb/EmbeddedMariaDBBootstrapConfiguration.java
100.00% <100.00%> (ø)
5.00 <0.00> (ø)

...est/mysql/EmbeddedMySQLBootstrapConfiguration.java
100.00% <100.00%> (ø)
5.00 <0.00> (ø)

...t/oracle/EmbeddedOracleBootstrapConfiguration.java
100.00% <100.00%> (ø)
4.00 <0.00> (ø)

...esql/EmbeddedPostgreSQLBootstrapConfiguration.java
100.00% <100.00%> (ø)
4.00 <0.00> (ø)

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 c72d614...d0de8f5. Read the comment docs.


A warning message should be added to main page

Some time ago I cloned this repository to my working PC. I was interested only in text file of default passwords.
However, our IT security considered this repository as malware (I had some trouble and non-nice discussions with them), because it also contains a lot of "bad" software peaces or at least suspicious patterns. Nothing was executed and there was no threat, however if the "gods" from IT security department say you do something bad, then you can run into big trouble.
You may put a warning message to the main page, that this repository can cause alerts in your virus scanner/defender software when you download or clone it.

a "dont obey god" message should be added to this issue.

@Wernfried If it was a single file, then maybe using the web UI would of been easier ;)
The "About SecList" does say:

SecLists is the security tester's companion. It's a collection of multiple types of lists used during security assessments, collected in one place. List types include usernames, passwords, URLs, sensitive data patterns, fuzzing payloads, web shells, and many more. The goal is to enable a security tester to pull this repository onto a new testing box and have access to every type of list that may be needed.

From a security point of view "Payloads" and "web shells" would hint to me that there could be false positives with malware/antivirus solutions.
With that said, please do open up a PR if you wish for it to be added


[SVCS-260] Add .m4v support

Purpose
To allow m4v files to render using MFR.
Changes
Single line fix allows .m4v file type.
Side Effects
None that I know of.
Ticket
https://openscience.atlassian.net/browse/SVCS-260

Merged as d1a8987e3015a7833793517ccb42ccc08f8d1666


Warnings from Verovio and Prince on live rendered example file

The file source/examples/verovio/tempo-01.mei (line 46) triggers a warning when rendered with Verovio to be included in the guidelines during the build process:
[Warning] Using rend@fontname with 'VerovioText' is deprecated. Use 'rend@fontfam="smufl"' instead
Would simple replacement be sufficient, or would we need to add the font-family "smufl" to the source/assets/css/print/fonts.css as well, @kepper?
The same file and line are triggering another warning in Prince, since the used unicode for the half note in the tempo indication is not correctly resolved. Is there a better way to do it with SMuFL, @lpugin ?

So we should fix our examples in the guidelines to use<EMAIL_ADDRESS>cf. #1142


Error in prjxray import scripts don't get shown

If you have an error in the prjxray import scripts it just hangs at a progress bar that looks like the following;
- |                                                                                #                                                                                | 0 Elapsed Time: 0:17:09

When you ctrl-c the command you get the actual error which was;
Traceback (most recent call last):
  File "/usr/local/google/home/tansell/github/SymbiFlow/symbiflow-arch-defs-clean/xc7/utils/prjxray_form_channels.py", line 709, in main
Traceback (most recent call last):
  File "/usr/local/google/home/tansell/github/SymbiFlow/symbiflow-arch-defs-clean/xc7/utils/prjxray_form_channels.py", line 709, in main
    import_grid(db, grid, conn)
    import_grid(db, grid, conn)
  File "/usr/local/google/home/tansell/github/SymbiFlow/symbiflow-arch-defs-clean/xc7/utils/prjxray_form_channels.py", line 163, in import_grid
  File "/usr/local/google/home/tansell/github/SymbiFlow/symbiflow-arch-defs-clean/xc7/utils/prjxray_form_channels.py", line 163, in import_grid
    import_tile_type(db, c, tile_types, site_types, gridinfo.tile_type)
  File "/usr/local/google/home/tansell/github/SymbiFlow/symbiflow-arch-defs-clean/xc7/utils/prjxray_form_channels.py", line 99, in import_tile_type
    import_site_type(db, c, site_types, site.type)
    import_tile_type(db, c, tile_types, site_types, gridinfo.tile_type)
  File "/usr/local/google/home/tansell/github/SymbiFlow/symbiflow-arch-defs-clean/xc7/utils/prjxray_form_channels.py", line 99, in import_tile_type
    import_site_type(db, c, site_types, site.type)
  File "/usr/local/google/home/tansell/github/SymbiFlow/symbiflow-arch-defs-clean/xc7/utils/prjxray_form_channels.py", line 50, in import_site_type
    site_type = db.get_site_type(site_type_name)
  File "/usr/local/google/home/tansell/github/SymbiFlow/symbiflow-arch-defs-clean/third_party/prjxray/prjxray/db.py", line 142, in get_site_type
    return site_type.SiteType(site_type_data)
  File "/usr/local/google/home/tansell/github/SymbiFlow/symbiflow-arch-defs-clean/xc7/utils/prjxray_form_channels.py", line 50, in import_site_type
    site_type = db.get_site_type(site_type_name)
  File "/usr/local/google/home/tansell/github/SymbiFlow/symbiflow-arch-defs-clean/third_party/prjxray/prjxray/db.py", line 142, in get_site_type
    return site_type.SiteType(site_type_data)
  File "/usr/local/google/home/tansell/github/SymbiFlow/symbiflow-arch-defs-clean/third_party/prjxray/prjxray/site_type.py", line 22, in __init__
    direction=SitePinDirection(site_pin_info['direction']),
  File "/usr/local/google/home/tansell/github/SymbiFlow/symbiflow-arch-defs-clean/build/env/conda/lib/python3.7/enum.py", line 309, in __call__
    return cls.__new__(cls, value)
  File "/usr/local/google/home/tansell/github/SymbiFlow/symbiflow-arch-defs-clean/build/env/conda/lib/python3.7/enum.py", line 543, in __new__
    return cls._missing_(value)
  File "/usr/local/google/home/tansell/github/SymbiFlow/symbiflow-arch-defs-clean/build/env/conda/lib/python3.7/enum.py", line 556, in _missing_
    raise ValueError("%r is not a valid %s" % (value, cls.__name__))
ValueError: 'INOUT' is not a valid SitePinDirection

The KeyboardInterrupt seems to have been received by;

Traceback (most recent call last):
  File "/usr/local/google/home/tansell/github/SymbiFlow/symbiflow-arch-defs-clean/xc7/utils/prjxray_form_channels.py", line 723, in <module>
    main()
  File "/usr/local/google/home/tansell/github/SymbiFlow/symbiflow-arch-defs-clean/xc7/utils/prjxray_form_channels.py", line 720, in main
    print('{} Flushing database back to file "{}"'.format(datetime.datetime.now(), args.connection_database))
  File "/usr/local/google/home/tansell/github/SymbiFlow/symbiflow-arch-defs-clean/xc7/utils/prjxray_db_cache.py", line 54, in __exit__
    self.memory_connection.backup(self.file_connection, pages=100, progress=self._progress)
  File "/usr/local/google/home/tansell/github/SymbiFlow/symbiflow-arch-defs-clean/xc7/utils/prjxray_db_cache.py", line 63, in _progress
    def _progress(self, status, remaining, total):
  File "/usr/local/google/home/tansell/github/SymbiFlow/symbiflow-arch-defs-clean/xc7/utils/prjxray_db_cache.py", line 63, in _progress
    def _progress(self, status, remaining, total):
KeyboardInterrupt
KeyboardInterrupt

I believe this has something to do with the __exit__ stuff added?

@litghost Thoughts?

This is caused by memory_connection.in_transaction being true.    I believe I understand the fix.


pull request for e2e test at 12/02/2016 15:56:10

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Required validation of objects with initial values

Hello, I'm not sure if this is a bug, but it's not expected behaviour so I'm going to submit this issue.
I made Plunker:
http://plnkr.co/edit/E7Epb1deham2TDLkdEEV?p=preview
There is test object with initial value 0 and once you click Save without modifying this value you'll get Required field validation message. But once you'll go and modify this value from 0 to 10 and then back to 0 and you'll hit Save - validation message is not present.
I had also issues with validation of checkbox values (I know, it doesn't make sense to validate checkboxes - but this attribute/field may have multiple types - string, booleans...). And I think this is similiar because 0 is considered as false.

This sounds like a bug, although kind of an edge-case one. It's probably something to do with 0 being treated as an unset value in one place and then being evaluated as a non-null value in another.
I'll add it to the queue of things for a subsequent release, but I might not get to it too quickly because it seems kind of low-priority and I'm currently distracted by Task Runner. ;)
In the meanwhile, feel free to submit a patch if you have ideas for a fix!

Hi again @palodelincak. Thanks for submitting the Plunker with this bug report. That helps. :)
I've resolved this issue in the type-script branch and will be releasing the fix once I've completed regression testing the newly rewritten formFor (to make sure it's fully backwards compatible). :)

Just released 2.0.0 which contains this fix.

Thanks! Works like a charm!
BTW: Sorry I was not able to take a look at this sooner.

Happy it worked for you. No problem :)
On Apr 13, 2015 11:44 AM, "Palo Delinčák"<EMAIL_ADDRESS>wrote:

Thanks! Works like a charm!
BTW: Sorry I was not able to take a look at this sooner.
—
Reply to this email directly or view it on GitHub
https://github.com/bvaughn/angular-form-for/issues/93#issuecomment-92457010
.