Release date for v6.0.2?

Preliminary Steps
Please confirm you have...

[x] reviewed How Linguist Works,
[x] reviewed the Troubleshooting docs,
[x] considered implementing an override,
[x] verified an issue has not already been logged for your issue (linguist issues).

Problem Description
There are a fair few commits in master since the last release, including some syntax highlighting which would be really good to have available on GitHub, so I was wondering what the process was to get a release out and then have that included in the latest GH release?

URL of the affected repository:
Last modified on:

Expected language:

Detected language:

I'm aiming for some time this week. I wanted to do it last week but didn't get the chance.

Please, consider also updating a reference to the latest https://github.com/atom/language-csharp grammar if you have any time! We've just finished working there on a new grammar providing first-class syntax highlighting for C# language on GitHub and in Atom (it uses Microsoft's grammar now, ported to support PCRE).
See it in action:

Before vs After
Before vs After
Before vs After

Thanks in advance and keep up your great work!

I’ll perform a grammar update too so all grammars will be updated to their latest versions at the same time.
@damieng does ☝ include the changes you mentioned earlier when you said you’d found a way to use the same grammar for GitHub and Atom?

@worldbeater produced a script that fixed up the grammar so it works in both and is fully merged into language-csharp.
I've done some preliminary testing and I am seeing some odd issues I'd like to investigate where lightshow is highlighting using keywords instead of entity names.  I'll be able to spend some time checking this out this evening if that works with your timeline.

Yup, good for me. We've got a few other PRs I'd like to try sneak in before
I cut a new release so it may be late tomorrow or early Thursday before I
cut the release.
On Tue, 17 Apr 2018 at 19:38, Damien Guard<EMAIL_ADDRESS>wrote:

@worldbeater https://github.com/worldbeater produced a script that
fixed up the grammar so it works in both and is fully merged into
language-csharp.
I've done some preliminary testing and I am seeing some odd issues I'd
like to investigate where lightshow is highlighting using keywords instead
of entity names. I'll be able to spend some time checking this out this
evening if that works with your timeline.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/github/linguist/issues/4104#issuecomment-382098122,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAmSUDdvGGTNqaUfYu9gQxndpVLX8umVks5tpjaugaJpZM4TYVng
.

I just published 1.0.2 which solves those problems and now looks great. The only 'missing' feature is colorization of string interpolation which works in Atom but not in Linguist.  Is there anything I need to do to make that happen?

@damieng I checked out atom/language-csharp locally and dev-linked it to ~/.atom/dev/packages, but I'm actually not seeing anything in Atom:

Is this what you're referring to by "string interpolation"? Or have I got that wrong?

Never mind, I really did get that wrong. 😅It needed a leading $. But it still appears to be working fine on GitHub's end.

Admittedly, the interpolations aren't terribly obvious due to having very similar colours...

I think this kind of variable interpolation is not highlighting correctly on GitHub:
var test = "foo";
Console.WriteLine($"Hello, {test}! Today is {1}, it's {2:HH:mm} now.", date.DayOfWeek, date);

(color of test)

@kasper3 Changes to Linguist don't take effect on GitHub until the next release, so until Linguist v6.0.2 is released, improvements to grammars won't be visible.
Hence the reason @stringfellow was asking. =)

Going to work on one more revision tonight to get the variable names to be black to be consistent with the current theme but then should be good to ship :)

That link works for me but the difference between the various colors in interpolated strings is very close.  Inspecting element shows it correctly tokenizing constants etc. tho.

Maybe my expectation is wrong; to get color of {test} and :HH:mm same as {1}, {2}?

@kasper3 it seems that only numbers and boolean values are highlighted using light blue color, and variable names and properties always use black color. I think it is because syntax highlighting should
be consistent and predictable.
42 12345.24f true false

A shortlist of supported scope-names can be found at primer/github-syntax-light, with a more readable-looking list copied here.
If a scope appears to be "highlighted incorrectly", it might be that its choice of names are causing it not to be highlighted at all.

Thanks to the @worldbeater we look good to ship on language-csharp for github.com as of 1.0.3 that was just published!

Great!! I've not had the chance to build a test gem today as I've been trekking across London to get my race entry for Sunday's London Marathon, but I will cut the first test gem tomorrow morning :gb: time and test it. If all goes well, I hope to cut the final release gem by the end of the day or first thing on Monday with the aim of merging it mid-week pending PR approval etc.

Thanks @lildude and good luck with the marathon! Will cheer you on from the sides :)

YAY! It seems Linguist is now released and deployed, we can already see improvements in the C# grammar. The code now looks absolutely perfect. Thanks a lot and keep up your great work!
this.WhenAnyValue(x => x.LinguistRelease)
    .Where(x => x.TestsSucceeded)
    .InvokeCommand(DeployToGitHub);

Woohoo!!! 🎉
As we're now running 6.1.0, I'm gonna close this. Thanks for your patience peeps. 🙇 I hope to get into a regular monthly release cycle :soon:.

Thankyou @lildude, really appreciate it. Code review just got less painful :D


1.2.5

Add missing unpacking in symengine Mul

Codecov Report

Merging #139 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #139   +/-   ##
=======================================
  Coverage   89.86%   89.86%
=======================================
  Files           9        9
  Lines        2507     2507
  Branches      553      553
=======================================
  Hits         2253     2253
  Misses        167      167
  Partials       87       87

Impacted Files
Coverage Δ

optlang/symbolics.py
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Segmentation Dump with NOFFI=1 NOSSL=1 NOTHREADS=1 ISOCLINE=1 Enabled

Discussed in https://github.com/trealla-prolog/trealla/discussions/550

Originally posted by jgarte June 16, 2024
Hi,
Building with the following flags results in a segmentation dump:
make NOFFI=1 NOSSL=1 NOTHREADS=1 ISOCLINE=1

Is that expected?

@jgarte


sharing indicator is different in oc10 and ocis

Describe the bug
Sharing indicator is shown differently in ocis and oc10 in items inside a re-shared folder.
Steps to reproduce
Steps to reproduce the behavior:
- Given user "Alice" and user "Brian" has been added to group "grp1"
- And user "Alice" has created folder "simple-folder", and "simple-folder/simple-empty-folder"
- And user "Alice" has created file "simple-folder/lorem.txt"
- And user "Alice" has shared folder "simple-folder" with user "Brian"
- And user "Brian" has accepted the share "simple-folder" offered by user "Alice"
- And user "Brian" has shared folder "Shares/simple-folder" with group "grp1"
- When user "Brian" has logged in using the webUI
- And the user opens folder "Shares" using the webUI
- Then the following resources should have share indicators on the webUI
      | fileName      | expectedIndicators |
      | simple-folder | user-direct        |

Expected behavior
Both oc10 and ocis should have same sharing indicators
Actual behavior
Sharing indicator in oc10 is Directly shared with people
Sharing indicator in ocis is Shared with people through one of the parent folders
Screenshots
in oc10

in ocis

re-tested with local server oCIS version 1.11.0 and web 4.1.0 and docker oC10 version 10.8.0
Sharing indicator in ocis is 'Show invited people'

Sharing indicator in oc10 is 'Show invited people'


FormsVideoPlayer.Init() not found in version 3.0

FormsVideoPlayer.Init() not found in version 3.0, hence we must remove that line from native code which result in failure of loading and playing videos

Correct. You should now call it without passing the key.

I didn't get. please give code example.
when i type FormsVideoPlayer.Init() in Android or iOS project, i get compile time error.


Gallery doesn't render images from static media library or remote URLs

Describe the bug
Image does not load in gallery.
The gallery shortcode renders the  tag with a data-src instead of a src attribute
To Reproduce
Steps to reproduce the behavior:

build a blank widget
add a gallery_item
the image will not render in the gallery
change the gallery.html shortcode to <img src="
image loads correclty

Expected behavior
Image loads in the gallery widget.
Technical details:

Academic Version:4.8.0
Hugo Version: 0.72.0
Browser/OS: Chrome83.0.4103.116/Mac10.15.5

If applicable, add screenshots to help explain the issue.

For questions, please use the dedicated channel - see https://github.com/gcushen/hugo-academic/blob/master/.github/support.md

Thanks for reporting this @vordimous . To get the fix, update to the latest master release on Github.
I marked it invalid as the first change in your related PR is not a bug. I reopened and made a fix as the second change you proposed does appear to be related to a bug. Images can be loaded from a few different places and this bug affects 2 of those places. It doesn't affect loading images from the page folder as in the demo.

@gcushen what is the fix so that i can use the updated shortcode in the mean time. Or is the fix live?


feat: Tfupdate integration

Put an x into the box if that apply:

[ ] This PR introduces breaking change.
[ ] This PR fixes a bug.
[x] This PR adds new functionality.
[ ] This PR enhances existing functionality.

Description of your changes
Fixes https://github.com/antonbabenko/pre-commit-terraform/issues/328
How can we test changes
Working on an existing module, for example : https://github.com/cloudposse/terraform-aws-sso.git
Prepare the pre-commit config :
repos: # pre-commit autoupdate
  - repo: https://github.com/jrottenberg/pre-commit-terraform
    rev: tfupdate
    hooks:
      - id: tfupdate
        name: tfupdate terraform
      - id: tfupdate
        name: tfupdate provider aws
        args:
          - provider
          - aws

❯ pre-commit run -a
[...]
tfupdate terraform.......................................................Failed
- hook id: tfupdate
- files were modified by this hook
tfupdate provider aws....................................................Failed
- hook id: tfupdate
- files were modified by this hook

And for the diff :
diff --git a/examples/complete/versions.tf b/examples/complete/versions.tf
index 42f8195..764880f 100644
--- a/examples/complete/versions.tf
+++ b/examples/complete/versions.tf
@@ -1,5 +1,5 @@
 terraform {
-  required_version = ">= 0.13.0"
+  required_version = "1.1.5"

   required_providers {
     local = "~> 1.2"
diff --git a/modules/account-assignments/versions.tf b/modules/account-assignments/versions.tf
index c9a3bb8..f470932 100644
--- a/modules/account-assignments/versions.tf
+++ b/modules/account-assignments/versions.tf
@@ -1,10 +1,10 @@
 terraform {
-  required_version = ">= 0.13.0"
+  required_version = "1.1.5"

   required_providers {
     aws = {
       source  = "hashicorp/aws"
-      version = ">= 3.26.0"
+      version = "4.0.0"
     }
   }

teraform version and the provider are pinned.
On subsequent run :
❯ pre-commit run -a
[...]
tfupdate terraform.......................................................Passed
tfupdate provider aws....................................................Passed

Beside the new feature I had to path  the __init__.py file since the warning for terraform_docs_replace was leaking on any python hook.
tfupdate uses subcommands no options it was easier to write the hook in python.

@yermulnik @MaxymVlasov , ok updated the PR as recommended, let me know if it needs anything else.

Let's use common functions to parse args and then use function per_dir_hook_unique_part and function run_hook_on_whole_repo as replace for function tfupdate_
First should work only for dirs with changes, second - recursive for whole repo
Check https://github.com/antonbabenko/pre-commit-terraform/blob/master/hooks/terrascan.sh as an example

tfupdate behaves differently than terrascan, it really runs only against the module as a whole, not individual files. It makes sure the version of terraform or the various providers is pinned to the latest when tfupdate ran.
The version lookup is a bit expansive and I'd go against running it multiple times, as it will give the same value, but could be considered s abuse from github (it uses the api to extract the latest published version).
I'll make the change to use common::parse_cmdline

Ok it is consistent with other hooks in term of passing options but seems a bit verbose args of args, when the command itself (tfupdate) takes only a subcommands and parameters. Either way, let me know if you prefer this version, I'll squash and push.

ok @MaxymVlasov I'm going with the flow, let me know if I'm missing anything else.
Thanks for the feedback.

Argh, I'll fix the pre-commit.

Thank you very much @yermulnik , I was missing the targe on the "tar x".
Let me know what you think @MaxymVlasov

@MaxymVlasov very strange, the pre-commit are passing locally, hadolint included.

rebased and ready for review

This PR is included in version 1.66.0 :tada:

Thank you !


Non ASCII characters in file paths cause issues

It appears that non ASCII characters in file paths cause Alembic files not to load correctly.

http://www.utf8everywhere.org/


Job Splitting using SizePerEvent

based on the failures of
https://cmsweb.cern.ch/reqmgr2/fetch?rid=pdmvserv_task_MUO-PhaseIISNBSpring17GS-00002__v1_T_170713_102113_8656
would it be possible to have the job splitting or all steps to "floor" the number of events/job lumis/job taking into account the 27GB known limit and the provided SizePerEvent.
It could be failing the assignment if this turns out to be impossible  with the current splitting values.

@thonganary

@thongonary

either this or that https://github.com/CMSCompOps/WmAgentScripts/issues/230


Add config for suppress supervisors start/stop

Is this change just to avoid "spammy" supervisor start up messages?

@mrallen1 yes :)

Would you please use lager_app:get_env/3 instead of application:get_env/2 in this PR?

Awesome! How about changing the README, too, to mention the suppress_suprevisor_start_stop setting?

Yep, good idea :)

@mrallen1 @waisbrot done :)
also fix config key typo:
-suppress_suprevisor_start_stop
+suppress_supervisor_start_stop

😁

@mrallen1 ping :shipit:

My apologies, I should be free to look at this next week.

🏓

LGTM 👍


Cannot download the AutoPass License Server from HPE

I cannot download the AutoPass License Server from the website HPE, the website always said it is a technical issue.

Hello,
May be License server has technical issue when you tried, please try again. I am seeing it is responding now. Could you please try once again?

Hello,
May be License server has technical issue when you tried, please try again. I am seeing it is responding now. Could you please try once again?

Hello,
I still cannot download the AutoPass License Server from the website HPE. If possible, could you please send it to me by email?

Hello,
May be License server has technical issue when you tried, please try again. I am seeing it is responding now. Could you please try once again?

Hello,
I still cannot download the AutoPass License Server from the website HPE. If possible, could you please send it to me by email?

License is user specific, it comes with validity. I can't share. It should work with any browser, please try once incognito mode in chrome.

Requesting user to try again with different browsers and in different modes. It seems other users could able to download license.  Requesting user to raise a new issue or re-open this if needed.


Fix url for the token endpoint

Token endpoint is incorrect.

#sign-off

Added ready-to-merge as the bot is not picking up sign-off for some reason.


Can you use this with Ollama?

Like, pointing the text based LLM calls to Ollama.
And if I have stable diffusion models already, how to point it at them?
Thank you

Hi ! Thanks you for using my project ! I don't try Ollama with ImpAI but if Ollama expose a server port like llama.cpp, you just need to edit the url server in the backend.
For Stable Diffusion, it's an other thing because all my Hugging Face Pipeline is in the backend.
But if you have suggestions, I would be happy to take them!


Input class not handling Switch Pro Controller joystick axis properly

Godot version:
v3.2.1.stable.official
OS/device including version:
Windows 10 Home 1903
Issue description:
Using only the Nintendo Switch Pro Controller analog sticks, whenever I request Input.get_joy_axis(0, JOYSTICK_AXIS_* ) or Input.get_action_strength("ui_*"), where "ui_*" was assigned to one of the left analog stick directions on the input map ("ui_up" -> Device 0, Axis 1 -; "ui_down" -> Device 0, Axis 1 +; ...) I only recieve discrete values. That is, the values I get are floats, but rounded ones, such that negative values round to -1 and positive value round to 1. The result is an input system only able to utilize 4 input vectors : (1, 1); (1, -1); (-1, 1); (-1, -1). As so, for instance, a character with this input configuration would only be able to move diagonally.
Also, because the values recieved are rounded up, there is no way to calculate a deadzone, so the controls twitch randomly on game even when they are supposed to be centered, as they are never 100% centered.
I tested this on a Xbox Controller, and all results came as expected, that is, the values are floats between -1 and 1 representing the right "strength" of input on the analog sticks. Also, the fault isn't on my particular controller, as the sensitivity of the analog is working on Switch and PC games.
Steps to reproduce:

Grab a Nintendo Switch Pro Controller and connect it Bluetooth-wise on your PC
Execute the code on the _process() function of a Node:

print(Vector2(Input.get_joy_axis(0,JOY_ANALOG_LX),  Input.get_joy_axis(0,JOY_ANALOG_LY)),
	Vector2(Input.get_joy_axis(0,JOY_ANALOG_RX),  Input.get_joy_axis(0,JOY_ANALOG_RY)))

Mess around with both analogs and check results

Minimal reproduction project:
ProControllerBug.zip

Everything seems to work when using x360ce.
https://github.com/x360ce/x360ce


[MLOP-635] Rebase Incremental Job/Interval Run branch for test on selected feature sets

Why? :open_book:
We wanted to optimize Butterfree's processing capabilities.
What? :wrench:
This PR intends to introduce interval processing to Butterfree.
Type of change
Please delete options that are not relevant.

[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

How everything was tested? :straight_ruler:
Unit and integration tests.
Checklist

[x] My code follows the style guidelines of this project (docstrings, type hinting and linter compliance);
[x] I have performed a self-review of my own code;
[x] I have made corresponding changes to the documentation;
[x] I have added tests that prove my fix is effective or that my feature works;
[x] New and existing unit tests pass locally with my changes;
[x] Add labels to distinguish the type of pull request. Available labels are bug, enhancement, feature, and review.

vai dar um trampinho aqui pra revisar auiehuiaeh mas boa parte disso já foi revisado em prs separados, certo? é mais procurar por possíveis breaking changes?

Opa, isso aí @roelschr. Vlw pela disponibilidade!


Gradle Task To Fetch And Update Schema By URI

Hi,
I'm using Kotlin And Gradle,
I would like to fetch schema using a Gradle task and update it in the specific path in the project.
I found such capability in ExpediaGroup lib id("com.expediagroup.graphql"), but didn't find a matching solution in dgs-codegen,
val tempSchemaDownload by tasks.creating(com.expediagroup.graphql.plugin.gradle.tasks.GraphQLDownloadSDLTask::class) {
endpoint.set("http://...")
outputFile.set(project.layout.buildDirectory.file("schema.graphql"))
}
Please advise if there's a way and I'm missing something

We don't have the ability to fetch a schema from a URI. There is a way to include schema files from dependency JARs but not to fetch remote schemas.

Hi, I'm using Kotlin And Gradle, too
The client module is trying to use dgsCodegen.
build.gradle.kts ...

plugins {
    id("com.netflix.dgs.codegen")
}

dependencies {
    dgsCodegen(project(":apps:api"))
}

tasks.withType<com.netflix.graphql.dgs.codegen.gradle.GenerateJavaTask> {
    generateClientv2 = true
    generatedSourcesDir = project.buildDir.absolutePath
    packageName = "com.zshp.agg.stream"
    typeMapping = mutableMapOf(
        // Scalar
        "Long" to "kotlin.Long",
        "BigDecimal" to "java.math.BigDecimal",
        "DateTime" to "java.time.OffsetDateTime"
    )
}

dgsCodegen is not working. can't you support bringing it within the multi-module?

Please advise if there's a way and I'm missing something

Usually you need the group id and artifact for specifying the dependency like so
dependencies {
    // other dependencies
    dgsCodegen 'com.netflix.graphql.dgs:example-schema:x.x.x'
}

I don't think it would work with the internal module as you have specified, we haven't explicitly tried to support that.


go.mod: remove dubious replace.

Remove replace in go mod which looks like a leftover.

Commit could have Fixes: tag for the issue: https://github.com/intel/memtierd/issues/2


Too many "inflight queue is full!" log when session is overloaded

Comment this error log and show inflight queue size on web dashboard.


Node client sometimes reports errors in integration test when creating two accounts

Example failure: https://github.com/tigerbeetle/tigerbeetle/actions/runs/5612979160/job/15208115890?pr=1024
The test: https://github.com/tigerbeetle/tigerbeetle/blob/main/src/clients/node/samples/basic/main.js#L39

More on that from https://github.com/tigerbeetle/tigerbeetle/actions/runs/5617705119/job/15222254655:
Formatting data file: /Users/macos2/actions-runner/_work/tigerbeetle/tigerbeetle/zig-cache/tmp/Risl3fRAh8QH-DWu/0_0.tigerbeetle
Running: ./tigerbeetle format --cluster=0 --replica=0 --replica-count=1 /Users/macos2/actions-runner/_work/tigerbeetle/tigerbeetle/zig-cache/tmp/Risl3fRAh8QH-DWu/0_0.tigerbeetle
info(io): creating "0_0.tigerbeetle"...
info(io): allocating 1.1349487[30](https://github.com/tigerbeetle/tigerbeetle/actions/runs/5617705119/job/15222254655#step:6:31)46875GiB...
info(main): 0: formatted: cluster=0 replica_count=1
Starting TigerBeetle server: ./tigerbeetle, start, --addresses=1025, --cache-grid=128MB, /Users/macos2/actions-runner/_work/tigerbeetle/tigerbeetle/zig-cache/tmp/Risl3fRAh8QH-DWu/0_0.tigerbeetle
Running commands: { sh, -e, -c, node main.js && echo ok }
info(io): opening "0_0.tigerbeetle"...
Running: TB_ADDRESS=1025 sh -e -c node main.js && echo ok
warning(main): Grid cache size of 128MB is small. See --cache-grid
info(main): 0: Allocated 2812MB in 13 regions during replica init (Grid Cache: 128MB)
info(main): 0: cluster=0: listening on <IP_ADDRESS>:1025
info(message_bus): connection from client [31](https://github.com/tigerbeetle/tigerbeetle/actions/runs/5617705119/job/15222254655#step:6:32)4791167[32](https://github.com/tigerbeetle/tigerbeetle/actions/runs/5617705119/job/15222254655#step:6:33)967294083562604348740114607
info(message_bus): connection from client<PHONE_NUMBER>4343994[33](https://github.com/tigerbeetle/tigerbeetle/actions/runs/5617705119/job/15222254655#step:6:34)98175755735501735595
info(message_bus): peer performed an orderly shutdown: Peer{ .client = 117655629[34](https://github.com/tigerbeetle/tigerbeetle/actions/runs/5617705119/job/15222254655#step:6:35)34399433981757557[35](https://github.com/tigerbeetle/tigerbeetle/actions/runs/5617705119/job/15222254655#step:6:36)501735595 }
Batch account at 0 failed to create: exists.
Batch account at 1 failed to create: exists.

fixed


Fix common carp homepage

Found out the html files for Common carp are missing on the website, hence this resubmission.

We cannot merge this PR. There are 2 options I think it would work:

Create a new branch from postreleasefix/106 branch and cherrypick the necessary commits from this branch and create a new PR
We cherrypick the necessary commits into postreleasefix/106 and do an mpush


Fixed #42 -- Improved makefile and docs to simplify project setup without docker

fixes #42
This PR resolves the issue(https://github.com/djangoindia/djangoindia.org/issues/42)
make frontend for frontend setup
make backend for backend setup
make start-services to start postgres and rabbitmq services
make stop-services to stop services

What if all the requirements are already installed? will it skip the install-backend step?


Update Gametest mappings

Noticed some names were a bit misleading, so I tried to clarify where I could.
Note: Mojmaps have been used to crosscheck intent a couple times.

build failure is my own fault -- sorry. {@link Identifier} needs to be {@link net.minecraft.util.Identifier}


autoclose Property Bugs

Hi,
I am a common user of your jquery-confirm plugin,however,when recently I  m using its autoclose function,I found it doesn't work well.This is your sample codes in your Website,
###[code]
$.confirm({
title: 'Delete user?',
content: 'This dialog will automatically trigger 'cancel' in 6 seconds if you don't respond.',
autoClose: 'cancel|6000',
confirm: function(){
alert('confirmed');
},
cancel:function(){
alert('canceled');
}
});
###[/code],
while in latest firefox, error occured,this is the error log:

Error: Syntax error, unrecognized expression:

Then I test it on Chrome, the logs is however more detailed:

Uncaught Error: Syntax error, unrecognized expression:
at Error (native)
at Function.st.error (.../demo/js/jquery-1.9.1.min.js:4:10973)
at ft (.../demo/js/jquery-1.9.1.min.js:4:17138)
at wt (.../demo/js/jquery-1.9.1.min.js:4:19823)
at Function.st (.../demo/js/jquery-1.9.1.min.js:4:6140)
at b.fn.extend.find (.../demo/js/jquery-1.9.1.min.js:4:20941)
at b.fn.b.init (.../demo/js/jquery-1.9.1.min.js:3:1126)
at b (file:///C:/Users/kzu/Projects/ODC/021SourcesCode/demo/js/jquery-1.9.1.min.js:3:206)
at Object.Jconfirm._startCountDown (.../demo/js/jquery-confirm.js:159:28)
at Object.Jconfirm._buildHTML (.../demo/js/jquery-confirm.js:152:22)st.error
@ jquery-1.9.1.min.js:4ft
@ jquery-1.9.1.min.js:4wt
@ jquery-1.9.1.min.js:4st
@ jquery-1.9.1.min.js:4b.fn.extend.find
@ jquery-1.9.1.min.js:4b.fn.b.init
@ jquery-1.9.1.min.js:3b
@ jquery-1.9.1.min.js:3Jconfirm._startCountDown
@ jquery-confirm.js:159Jconfirm._buildHTML
@ jquery-confirm.js:152Jconfirm._init
@ jquery-confirm.js:67Jconfirm
@ jquery-confirm.js:61jconfirm
@ jquery-confirm.js:53$.confirm
@ jquery-confirm.js:22(anonymous function)
@ VM288:2InjectedScript._evaluateOn
@ VM287:895InjectedScript._evaluateAndWrap
@ VM287:828InjectedScript.evaluate
@ VM287:694

After that,I check the source codes,and found this line:

this.$cd = $(' ').appendTo(this['$' + opt[0] + 'Button']);

I don't know how it happened,but just out of Intuition,I deleted the SPACE before '<span ',however it  functioned.
I don't know why,I just think it's a problem to let you know,and maybe you can update it!
By the way,thank you,that really saves me a lot of time!

Thank you @zuukaer for the interest,
i will look into this asap and get back to you with the solution.
:)

Hello @zuukaer
I tried finding the error you mentioned. but didn't find it.
I have tested the current website, craftpip.github.io/jquery-confirm
with firefox 38.0.5 for errors, i got none,
Can you provide me more details about this.

Hello @zuukaer
I have recently pushed updates, please confirm if you still are facing the problem,
Thanks


Implement Right Panel of UI

Currently, right panel of UI has no information. Let's put details of the internship that is currently selected in the right panel.

Fix by #78


The map does not match the seed IG (Terralith, Tectonic, Continents)

The map displayed using the Continents, Terralith and Tectonic mods does not correspond to the in-game seed.
However, the spawn point is within a few blocks of the correct location and biome.
I tried using only Terralith and Tectonic. In this case, the map is right with the in-game seed. This is also the case if I put only Continents.
But it's not the case if I try with Continents and one of the other two mods, and even more so if I try with all 3 mods.
Do you have any idea why? And how to solve this problem?
Best regards,
Shunkaha

I cannot reproduce this issue. The seeds do match in my tries. Can you please give more details on which versions of minecraft and the mods you are using? And which modloader are you using?
Note that the map treats the mods as datapack, so the special code in tectonic to load different data when terralith is present doesn't work. To have the comparability work in the map, you need the terratonic datapack instead of tectonic. But this doesn't explain the issue you are reporting, since it apparently also happens when you just have terralith and continents?! (In which case loading the mod jar files in the map should work.)

I use Fabric as a modloader.
My game version is 1.20.4.
The mod versions are as follows:
Continents 1.20.4_v.1.1.4
Tectonic 1.20.4_v.2.2.1
Terralith 1.20.4_v.2.4.11
I have uninstalled and reinstalled Terralith and Continents following your reply. The seed now corresponds to the map. I don't understand why this wasn't the case yesterday.
Using the Terratonic Datapack, it seems to me that the seeds are identical to the map.

Good to hear its now working for you. So I'll close this issue for now. If you run into this issue again and can reproduce it, feel free to comment here and I'll reopen it again.


Problems with Guzzle 5 mocks

I'm have some issues with the Guzzle 5 mocks. I updated this library to use Guzzle 5 https://github.com/jenssegers/php-proxy/blob/guzzle5/src/Adapter/Guzzle/GuzzleAdapter.php and updated the existing unittest as described here http://guzzle.readthedocs.org/en/latest/testing.html.
But unfortunately, when running the unittest I keep getting either GuzzleHttp\Ring\Exception\RingException: cURL error 3: <url> malformed or the actual response instead of the mocked response.

The option you need to pass to the constructor is "handler" not adapter: https://github.com/jenssegers/php-proxy/blob/master/tests/Proxy/Adapter/Guzzle/GuzzleAdapterTest.php#L41
See: http://docs.guzzlephp.org/en/latest/clients.html

You were looking at the test file on the master branch, the guzzle 5 adjustments are in the guzzle 5 branch. It does:
$mock = new Mock([$this->createResponse()]);

$client = new Client;

$client->getEmitter()->attach($mock);

$this->adapter = new GuzzleAdapter($client);


ListView Slow

The sessions screen keeps crashing, it seems that the ListView control of XamarinForms has performance problems. (Samsung Galaxy J3 and ASUS ZenFone 2)

Can't really reproduce for me.


⚠ Bofrost.be has degraded performance

In 95cc40a, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1388 ms

Resolved: Bofrost.be performance has improved in 243523b after 29 minutes.


Spyder <IP_ADDRESS> Mac, Preferences window does not open

Hello,
up to now I used Spyder 2.2.5 on my Mac with Yosemite, I like to update to Spyder <IP_ADDRESS>.. In the new version when I try to open the preference window this error occurs:
>> Traceback (most recent call last):
File "/Applications/Spyder-Py2.app/Contents/Resources/lib/python2.7/spyderlib/spyder.py", line     2005, in edit_preferences
  widget.initialize()
File "/Applications/Spyder-Py2.app/Contents/Resources/lib/python2.7/spyderlib/plugins/configdialog.py", line 59, in initialize
  self.setup_page()
File "/Applications/Spyder-Py2.app/Contents/Resources/lib/python2.7/spyderlib/plugins/shortcuts.py", line 338, in setup_page
  self.table = ShortcutsTable(self)
File "/Applications/Spyder-Py2.app/Contents/Resources/lib/python2.7/spyderlib/plugins/shortcuts.py", line 287, in __init__
  self.load_shortcuts()
File "/Applications/Spyder-Py2.app/Contents/Resources/lib/python2.7/spyderlib/plugins/shortcuts.py", line 297, in load_shortcuts
  shortcut = Shortcut(context, name, keystr)
File "/Applications/Spyder-Py2.app/Contents/Resources/lib/python2.7/spyderlib/plugins/shortcuts.py", line 110, in __init__
  key = keystr2key(key)
File "/Applications/Spyder-Py2.app/Contents/Resources/lib/python2.7/spyderlib/plugins/shortcuts.py", line 103, in keystr2key
  return Key(Key.key_from_str(keylist[-1]), *mods)
File "/Applications/Spyder-Py2.app/Contents/Resources/lib/python2.7/spyderlib/plugins/shortcuts.py", line 63, in __init__
  assert all([mod in self.MODIFIERS for mod in modifiers])
 AssertionError

I think the wrong interpreter is used because when I open a new python console in the newer version it shows
Python 2.7.10 (default, Jun  1 2015, 09:45:55)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

in the older version it shows
Python 2.7.5 (default, Jul 13 2013, 20:37:32)
[GCC 4.2.1 Compatible Apple Clang 3.1 (tags/Apple/clang-318.0.61)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

Imported NumPy 1.7.1, SciPy 0.12.0, Matplotlib 1.3.0

Type "scientific" for more details.
>>>

Or do I search in a wrong way, any ideas?
Thanks
Regards Markus

Please run
rm -R ~/.spyder2

in a terminal and try again.

Thank you very very much, thats it, not sure how many hours I searched for this error.

Great! In Spyder 3.0 there's going to be an option to do this from our interface.

I mean, a menu entry.


Multisig validation before approval

There is a risk that between the moment you review a multisig transaction, it is changed under the hood and you approve the wrong thing.
Ideally, multisig review prints a transaction ID, and you approve of a transaction ID, that you check before and after approval.  Pass a --verify-id hash or something...

There is still a race condition. We can do get table on eosio.msig right before the approve, hash the packed TX and right after as you said you approve we check again and can immediately cancel if there's a mismatch.....
It's not bulletproof (ideally the approve msig would have that built-in, maybe we optional param so it's backward compat). but ok mitigation.


feat: add my name to the CONTRIBUTORS file

Created CONTRIBUTORS file
Add MANAS RAJ to CONTRIBUTORS file
fixes #9
Signed-off-by: Manas Raj<EMAIL_ADDRESS>

3


updated readme file fixed type: changed getDate to getData

There was a typo in readme file. Instead of getData it was getDate.

@jagadeshanh thanks for the typo


Added 7 more colours to COLORMAP

For @shabnamkadir

Fixes #595

how did you choose the colors?

via k-means clustering http://tools.medialab.sciences-po.fr/iwanthue/

awesome!

Yay! Thanks @nippoo! ;-)


Get HuggingFace Kwargs working on the optimizer.complete endpoint

All HuggingFace arguments need to work on the optimizer.complete endpoint as well. For the complete endpoint this means the all arguments for the Huggingface .generate function must be able to be added to the optimize.complete function as well. Currently, this not something I was able to do with the max_new_tokens parameter, for example.

Can anyone please describe this issue in more detail?

Closed by #366


npm run build.prod not working, Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>

Steps to reproduce and a minimal demo of the problem
npm run build.prod
Current behavior
[15:30:53] Finished 'build.js.prod' after 3.38 s
[15:30:53] Starting 'build.bundles'...
[15:30:54] Finished 'build.bundles' after 857 ms
[15:30:54] Starting 'build.bundles.app'...
Unhandled rejection Error on dependency parsing for ng2-nvd3/build/lib/ng2-nvd3.js at file:///Users/kartikparnami/Sociafluence/sociafluence/sociafluence/reports/reportApp/node_modules/ng2-nvd3/build/lib/ng2-nvd3.js
	Loading dist/tmp/home/components/home.component.js
	Loading dist/tmp/app/components/app.component.js
	Loading dist/tmp/main.js
	(SystemJS) Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>	    at Error (native)
	Error loading<EMAIL_ADDRESS>

Expected/desired behavior
Build to succeed
Other information
node --> v5.11.1
npm --> 3.8.6

Duplication of https://github.com/mgechev/angular2-seed/issues/975.
I'll fix this today.


[FEATURE] Refactor HybridQuery*Tests to decouple types from K-NN library

Is your feature request related to a problem?
HybridQueryPhaseSearcherTests has direct references to types in K-NN library, and it has broken the build several times recently as k-NN repo keeps refactoring their code. While a feature request was made to k-NN repo asking guarantee for backward compatibility, but there's no mechanism set up yet.
Broken test:

https://github.com/opensearch-project/neural-search/actions/runs/10258762961/job/28382116242?pr=852
https://github.com/opensearch-project/neural-search/actions/runs/9904116192/job/27602462802?pr=832

What solution would you like?
Can we refactor HybridQueryPhaseSearcherTests to make it not directly refer to those k-NN types?
What alternatives have you considered?
k-NN repo to have a mechanism to ensure backward compatibility.
Do you have any additional context?
NA

We should be able to refactor HybridQueryPhaseSearcherTests and get rid of KNN specific classes, in those test cases knn query isn't required and can be replaced by other core query.
But there are other tests where it's not trivial, like HybridQueryTests, where knn query is a must

neural-search build failed due to another k-NN update.


Ugly indicator icon status & "About" window icon

Is there any option to disable "indicator icon status"? its looks ugly. My desktop is XFCE Manjaro.

Here's my soution:

Edit "gui.py" at path "/usr/lib/python3.6/site-packages/blockify/" with your text editor (gedit, geany, etc.)
$ sudo geany /usr/lib/python3.6/site-packages/blockify/gui.py

Now go to line 230 and 231, you will see code like this:
self.blue_icon_buf = pixbuf_blue.scale_simple(16, 16, GdkPixbuf.InterpType.BILINEAR) self.red_icon_buf = pixbuf_red.scale_simple(16, 16, GdkPixbuf.InterpType.BILINEAR)

Change the code like this:
self.blue_icon_buf = pixbuf_blue.scale_simple(32, 32, GdkPixbuf.InterpType.BILINEAR)         self.red_icon_buf = pixbuf_red.scale_simple(32, 32, GdkPixbuf.InterpType.BILINEAR)

Last step, replacing icon files with my attach files:
sudo cp icon-blue-32.png /usr/lib/python3.6/site-packages/blockify/data/icon-blue-32.png
sudo cp icon-red-32.png /usr/lib/python3.6/site-packages/blockify/data/icon-red-32.png


Extendable diamond cut

Builds up on the upstream DiamondCutFacet, adding custom code for governance. The idea here is that we only add in custom code before calling the super implementation.

This feature is currently blocked by the gemforge DiamondProxy generation code. There is no way to pass in the custom DiamondCutFacet implementation, in our case that would be the PhasedDiamondCutFacet.
Currently it generates a constructor call like this:
constructor(address _contractOwner) payable Diamond(_contractOwner, address(new DiamondCutFacet())) {

What we need is the ability to get gemforge to generate something like this:
constructor(address _contractOwner) payable Diamond(_contractOwner, address(new PhasedDiamondCutFacet()))

Yeah, this is something that could be investigated for Gemforge > https://github.com/gemstation/gemforge/issues/38

LGTM


Span not being dropped (Python + Sanic)

Describe the bug
I'm trying to optimize my ElasticAPM to reduce the amount of storage it's currently using on my ES Cluster and after some research I figured out that APM is not dropping spans with a duration lower than the defined ELASTIC_APM_EXIT_SPAN_MIN_DURATION (20ms).
After running the query below I can see some indexed items with a span info with the duration of 105us (which is lower than 20ms and should be dropped).
Is that a bug or am I missing some config to prevent these spans to not being logged?

ES search
GET .ds-traces-apm-default-2022.*/_search
{
  "size": 10,
  "query": {
    "match_all": {}
  },
  "sort": [
    {
      "@timestamp": {
        "order": "desc"
      }
    }
  ]
}

Indexed span information
"span" : {
    "duration" : {
      "us" : 105
    },
    "subtype" : "redis",
    "destination" : {
      "service" : {
        "resource" : "redis"
      }
    },
    "name" : "MGET",
    "action" : "query",
    "id" : "xyz",
    "type" : "db"
  }

To Reproduce
Steps to reproduce the behavior:

Using a python 3.7 / sanic 19.3.1 / elastic-apm 6.7.2
Configuring the ELASTIC_APM_EXIT_SPAN_MIN_DURATION to "20ms"
Span are being sent to the elasticsearch index instead of being dropped

Expected behavior
APM should drop span info with a duration lower than ELASTIC_APM_EXIT_SPAN_MIN_DURATION
All my APM environment variables
ELASTIC_APM_METRICS_INTERVAL = "0s"
ELASTIC_APM_TRANSACTION_SAMPLE_RATE = "0.1"
ELASTIC_APM_EXIT_SPAN_MIN_DURATION = "20ms"
ELASTIC_APM_SPAN_FRAMES_MIN_DURATION = "100ms"
ELASTIC_APM_CAPTURE_BODY = "off"
ELASTIC_APM_CAPTURE_HEADERS = "false"

ELASTIC_APM_EXIT_SPAN_MIN_DURATION is new in 6.8.0. However, there's a bug (fixed in #1483) so you should wait for 6.8.1.


Added Excel Lua library and import function

Also changed default config from YAML to TOML

Can we toss in a couple tests to make sure things work? Otherwise, LGTM.


Validators table

[ ] Remove existing list item (new table does not include your stake, this is intentional
[ ] Table is sortable by users by clicking header
[ ] Default sort == ranking score (high to low). use ag grid?
[ ] Table creates horizontal scroll if/when needed
[ ] Add h2 for "Nodes"
[ ] Consider adding a checkbox to only show validating + Stand by validators (remove ones on the longer waiting list)

The intention of this table to list all the nodes who are known / active to the network, their overall status (validating etc) and the information needed to make informed decisions about who to delegate.
There is no single key value to show someone to help inform the staking decision, therefore lots are shown. ranking score best explains what is currently happening so has been chosen as default.
This is likely to be wider than the available area, this table layout is deemed a better default than a mobile first option.
Cells and data

Validator (avatar and name)
Status (Shows either Consensus, Standby* or Candidate) See https://github.com/vegaprotocol/data-node/issues/509 not to be confuses with node.status
Total stake this epoch { nodes{ stakedTotal}}
Share (use the total staked that epoch and the amount staked to show a share of the stake they have nominated (current epoch)
Next epoch { nodes { pendingStake } }
Ranking score See below
Staked score
Performance
Voting power

*this may be called ersatz in the API

Future iterations may

an indication return per delegated VEGA https://github.com/vegaprotocol/token-frontend/issues/1277
Highlighting issues that prevent candidate becoming an ersatz/Standby
Show what version each node is running and what it intends to upgrade to
Refine what columns are shown
Consider alternatives to showing scores as floats
Make it easier to see what scores are good/bad/or neither
Consider whether to incudes normalised score

https://github.com/vegaprotocol/data-node/issues/509 could be done before this is started, but if it isn't we can just show the string.

Hey @sam-keen
I had a note on a duplicate issue that we needed:

https://github.com/vegaprotocol/data-node/issues/509

Is this the case or do we need a new issue to improve/update this feature once the above is merged?

@gordsport a new issue for when 509 is complete, thanks


TODO TDX comments were removed

TODO TDX comments were removed and corresponding issue items have been created.

Hi - Could you elaborate? Do you mean that these TODOs are all fully resolved, or just that there are now issues tracking each of the TODOs?

There are issue items created to track all these TODO TDX changes. Some of them have already been resolved.

@ckotamra all issues originally identified by you are in this repo (I went through them this AM), to expand, rather than delete each TODO comment, please change each TODO comment to either
A) resolved is {link to closed issue}
or
B) TODO originally identified here but now tracked in {link to open issue}


Fix an error during TargetRubyVersion detection if the gemspec is not valid syntax

Just let Lint/Syntax notify the user instead of raising an error.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Thanks!


[USERSNAP] Please return the "number of delegates" filter option

Taken at: https://gov.tools/drep_directory
Fields:

Name of the idea or new feature: Please return the "number of delegates" filter option
Please summarize your idea or new feature: I don't see the option to filter DRep list by number of delegates available any longer.  I thought that feature was very helpful and would like to see it reintroduced.

Browser: Chrome 123 (macOS Catalina)
Screen size: 1481x790
Open #74 in Usersnap
Powered by Usersnap.

@Ryun1 @kickloop @MSzalowski do you know what this commenter is referring to? Is this a bug, in that we've deleted a feature without knowing? If not, it is a good idea. If it is a new feature, it will need putting in the UI by a designer first.

They mean add a filter to on DReps to see who has delegations from the most people

This is an interesting feature. we should put this in the backlog.


Fixed internal calling order of FindTokenAsync

FindAsync expects the first parameter to be the cancellationToken. Currently all calls to FindTokenAsync fail due to it calling FindAsync(params object[] keyValues).

Thanks for this.
The CI build failed. From the changes I can see there's a syntax error.
I'll have to confirm this after that.

Confirmed that this is an actual bug. Please fix the syntax error, I'll merge when the CI build passes.

Whoops, all good now

Thanks!


Regular rviz startup crash on indigo

Hi,
Quite often (as in, half the time), my rviz crashes while loading, with the stack shown below.
Once started, it typically continues to work fine.
Any known solutions or workarounds? It resembles what is explained in http://wiki.ros.org/rviz/Troubleshooting ("Segfault in i915_dri.so") but for a  more recent lib.
Some more details:

running indigo on ubuntu 14.04 within docker
mostly visualising the kuka iiwa robotarm, without additional scenery

Stack:
#0  0x00007fc3fea23168 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#1  0x00007fc3fea223d1 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#2  0x00007fc3fea28dff in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#3  0x00007fc3fa6fd6fb in Ogre::GLRenderSystem::clearFrameBuffer(unsigned int, Ogre::ColourValue const&, float, unsigned short) () from /usr/lib/x86_64-linux-gnu/OGRE-1.8.0/RenderSystem_GL.so
#4  0x00007fc422291b1d in Ogre::SceneManager::_renderScene(Ogre::Camera*, Ogre::Viewport*, bool) () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
#5  0x00007fc422106831 in Ogre::Camera::_renderScene(Ogre::Viewport*, bool) () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
#6  0x00007fc4222560de in Ogre::RenderTarget::_updateViewport(Ogre::Viewport*, bool) () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
...
#12 0x00007fc4222780c0 in Ogre::Root::renderOneFrame() () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.8.1
#13 0x00007fc426318395 in rviz::VisualizationManager::onUpdate() () from /opt/ros/indigo/lib/librviz.so
#14 0x00007fc42169c87a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
...
QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x00007fc426314bbe in rviz::VisualizationFrame::initialize(QString const&) () from /opt/ros/indigo/lib/librviz.so
#28 0x00007fc42631cd9b in rviz::VisualizerApp::init(int, char**) () from /opt/ros/indigo/lib/librviz.so
#29 0x0000000000400c2d in main ()

Thanks,
Broes

As you pointed out, it appears to have the problem somewhere within the graphics card driver. Without that specific machine configuration I'm likely unable to help you with that.
Also, can you say if it does or does not have this issue outside of docker? Perhaps if you search for issues online about your card in combination with docker that might turn something up. Also, does something like this happen if you replace rviz with glxgears or some other opengl program?

I investigated a bit further. Two conclusions:

The issue is not docker related, as rviz also crashes (although apparently less often) on the host OS.
Gazebo seems to have a simular issue.

Some machine details:

host OS is Mint 18.1 (aka Ubuntu 16.04), with a Radeon HD 6970M graphics card
docker OS is ros:indigo (aka Ubuntu 14.04).
Glxgears seems to be running fine, both inside the docker container and in the hosted OS.

As Canonical/ATI discontinued the catalyst driver support on 16.04, I have no idea on an easy workaround.

@broesdecat if this is still an issue for you can you try the fix proposed in the gazebo thread by changing render_viewport->setClearEveryFrame(true); to false and let us know if that makes a difference?
https://github.com/ros-visualization/rviz/blob/7970ba08cee3810cfa1609c3b0f5136970eb2f7c/src/rviz/selection/selection_manager.cpp#L668


Rewrite RSpec policy specs as MiniTest tests

https://trello.com/c/pvSF3FTe/5-rotate-gds-sso-tokens
^^^ card where pain was felt - which framework should I write my new test in?
Previously these specs were written in RSpec to take advantage of the
pundit matchers, which are only available for that test framework.
This adds the small amount of helper code necessary to rewrite the
specs as MiniTest tests, so that we can move to just one test framework.
The rewrite is mostly find-and-replace, with a couple of changes:

Combining policy specs that individually tested different users
Replacing disallowed_actions_* with a single test for 'create'

The latter relates to the User policy test, where we were previously
testing against the 'assign_permissions' action twice.

Thanks :-). Now just some finishing touches to lose RSpec entirely...


publish to npm

high there, I don't see your module listed on npmjs.org, is it not published?
https://www.npmjs.com/search?q=node-dtls

It's far from stable at the moment and as such I can't give any guarantees to it working. Especially since it's a security-related project, I don't want people finding it on npmjs and assuming it works without realizing how much of a work-in-progress it is.
If you want to use it with npm, you should be able to use it with: npm install https://github.com/Rantanen/node-dtls/tarball/master.


Docker

Provide a docker file, refer @Nicolai-98 in https://github.com/lbr-stack/lbr_fri_ros2_stack/issues/1#issuecomment-1898038466_

yes that would be great, you can just create a pull request again dev-humble-docker branch and then we can iterate on it

done in #151


ipmitool chassis power reset issue

https://github.com/bmc-toolbox/bmclib/blob/80581fa111f565f69b223b0d5800951638130d5f/internal/ipmi/ipmi.go#L73
ipmitool chassis power reset on a powered-off machine returns true but doesn't actually do anything. This was tested on a single supermicro box. I don't know if this is a thing across the board. I couldn't find any good documentation around the expected behavior. Don't know if we just want to be a comment here to make a note of this or if we want to make a definition and then do some status checking before. Something to think about/discuss.

For what it's worth, (what I think is) the relevant section of the IPMI spec seems a little vague here:

In some implementations, the BMC may not know whether a reset will cause any particular effect and will pulse the system reset signal regardless of power state. If the implementation can tell that no action will occur if a reset is delivered in a given power state, then it is recommended (but still optional) that a D5h "Request parameter(s) not supported in present state." error completion code be returned.

(Sec. 28.3, "Chassis Control Command")

thanks, @zevweiss. this is good info. Do we follow this? or do we do something else like make the D5h equivalent error in bmclib required?


Rewritten style3 tables to Patternfly in the vm_common folder

#1890

@epwinchell please review this

@dclarizio Please merge


Recommended means of determining crash in prior execution

It seems that this tool requires the input of whether the application crashed on a previous launch. I would have expected that to be output of the tool.
What is the recommended means of determining previousRunDidCrash? I see a couple proposed solutions here:
https://stackoverflow.com/questions/10885313/detect-app-crashed-during-load-last-time-it-was-run
Does Uber do something similar?

Determining whether the application crashed is a pretty involved process and goes well beyond the scope of this tool.
Since all apps would (or should) come with a way to report crashes, we're providing an integration point in the startup-reason-reporter that can be fulfilled by whatever crash reporting tool the app uses. The most popular crash detection tool - Crashlytics - for example provides you with an API to determine whether the application crashed in the previous run.

Gotcha, thanks for the explanation @artman.

@artman given the introduction of UBApplicationStartupReasonReporterPriorRunInfo, does the answer to this question change?
Is UBApplicationStartupReasonReporterPriorRunInfo meant to provide information about whether the application crashed during its previous execution, or is that still beyond the scope of this lib?


Support Ubuntu 20.04 and unify dockerfiles across debian/ubuntu

Explain your changes:

Rosetta ubuntu containers were reporting as "stretch" in the docker tag due to old debian-centric defaults, this PR attempts to refactor the docker release script and/or job to use an ubuntu-specific codename in place of stretch to signify ubuntu 20.04
Document rosetta 1.3.0 release by updating the readme to use the official release branch
Combine staged dockerfiles for ubuntu and debian
Support Debian 11 "Bullseye" with an entire MinaArtifact Pipeline
Support Ubuntu 20.04 "Focal Fossa" with an entire MinaArtifact pipeline
Support Ubuntu 18.04 "Bionic Beaver" in a more industry-standard way, while still sharing some of the logic and the builder container from Debian stretch. In practice these could even be identical packages with different manifests but this is saved for a future PR.
Isolate python requirements for various tests onto the debian buster toolchain to simplify the stretch/bionic/focal flows
Shorten the Names/Labels on jobs so that the unique parts of the name show up in the buildkite summary
Support making ubuntu-based Dockerfile-mina-daemon and Dockerfile-mina-archive builds using the ${image} argument independent from deb_codename
Remove unique "Rosetta Ubuntu" container builds, dhall job, and dockerfiles in favor of the generalized version

Explain how you tested your changes:

CI

Checklist:

[*] Modified the current draft of release notes with details on what is completed or incomplete within this project
[*] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[*] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[ ] All tests pass (CI will check this if you didn't)
[*] Does this close issues? List them

Closes #10004

Other than the reported merge conflicts, I don't spot any items to flag in the code.

The conflicts are resolved in https://github.com/MinaProtocol/mina/pull/10194 which will merge first


 For an example, see https://bintray.com/abesto/zipkin-test/zipkin-web/view#files

zipkin-web/1.2.2/zipkin-web-1.2.2.jar is a plain old jar, with no included dependencies (but the dependencies declared in the corresponding .pom file)
zipkin-web/1.2.2/zipkin-web-1.2.2.{tar.zip} are the distributions created by the Gradle application plugin, with the dependencies included in a subfolder and shell scripts to launch the application
zipkin-web/1.2.2/zipkin-web-1.2.2-all.jar is the fat jar generated by the Gradle shadow plugin

@jamescway @rtyler

Note: the jars in the test bintray repo were built for jre 1.8, won't work on 1.7; the actual build process uploads only from 1.7

@abesto it's worth mentioning that dependencies in the shadow jar are unzipped, so there's a whole lot of class files running around. I'm assuming that you've already run this code to make sure that it loads the application correctly?
Other than that concern, :+1:

Yep, and also in https://github.com/openzipkin/zipkin/pull/524. Still, it'd be nice not having to do this manually, let's track that in https://github.com/openzipkin/zipkin/issues/562

:+1: very cool so basically is has all the dependencies


[Fix] Link fmt library

Fix undefined reference to fmtt::v10::*** when we static build with wasmedge.

LGTM

Has this been tested? What distribution and what package provides static builds of libfmt?
AFAIK, alpine doesn't provide static build of libfmt, and libfmt v10 is only experimental in debian.

@CaptainVincent wasmedge 0.14 need libfmt?

Has this been tested? What distribution and what package provides static builds of libfmt? AFAIK, alpine doesn't provide static build of libfmt, and libfmt v10 is only experimental in debian.

In our CI, there are no tests for Alpine. I have just merged this PR into the main branch, but it has not been released yet. Is Alpine important to you? If so, please open an issue to discuss continuous support for Alpine.

It also only affects static linking.

The particular distro is not very important, but we do use the alpine packages for static linking. In general a test for static linking (regardless of the distribution) and for the standalone feature would  be very useful.


Consider adding BloomFilter reading support to

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Parquet now has the wonderful ParquetMetaDataReader structure from @adriangb and @etseidl
This handles reading the footer metadata as well as the page indexes.
@progval  noted in https://github.com/apache/arrow-rs/pull/6505#discussion_r1787879839  that BloomFilters are similiar to the PageIndex, but are not currently read/written by the ParquetMetaDataReader
Describe the solution you'd like
I would like to be able to configure the ParquetMetaDataReader (and writer) to read BloomFilters as well
Describe alternatives you've considered
This might look something like
// read parquet metadata including page indexes
let file = open_parquet_file("some_path.parquet");
let mut reader = ParquetMetaDataReader::new()
    .with_bloom_filters(true);
reader.try_parse(&file).unwrap();
let metadata = reader.finish().unwrap();
// Somehow get access to the bloom filters (not sure what that API would look like)

Additional context

I can see two paths forward here. In the near term we could add convenience functions to ParquetMetaDataReader/Writer to allow fetching/writing the bloom filters given an existing ParquetMetaData.
Longer term, I think we'd want to move the bloom filters into the ParquetMetaData struct to enable @alamb's example above. This could be part of the larger refactoring of the metadata (#6129, #6097).

I can see two paths forward here. In the near term we could add convenience functions to ParquetMetaDataReader/Writer to allow fetching/writing the bloom filters given an existing ParquetMetaData.
Longer term, I think we'd want to move the bloom filters into the ParquetMetaData struct to enable @alamb's example above. This could be part of the larger refactoring of the metadata (#6129, #6097).

I agree with this breakdown -- I think the first would likely be a step towards the second (and would consolidate the code in a single location), so if someone is interested in trying it that would be neat.
As for a major metadata revamp, that is a bit more disruptive in my mind as it would cause significant downstream churn. 🤔

@progval noted in #6505 (comment) that BloomFilters are similiar to the PageIndex, but are not currently read/written by the ParquetMetaDataReader

Not that similar though, because Bloom Filters are considerably larger and won't fit in RAM for a large dataset.


AP-3654: Use button helpers

What
Link to story
Replace instances of button_to_accessible with govuk_button_to so that they are maintained by the govuk components library

update js to remove govuk-button--disabled class from button when it becomes visible
remove outdated gateway_evidence information, but leave in model for future reference
update tests to use uploaded_evidence_collection factory rather than gateway_evidence factory
update css so that button-as-link class styles links correctly

Checklist
Before you ask people to review this PR:

Tests and rubocop should be passing: bundle exec rake
Github should not be reporting conflicts; you should have recently run git rebase main.
There should be no unnecessary whitespace changes. These make diffs harder to read and conflicts more likely.
The PR description should say what you changed and why, with a link to the JIRA story.
You should have looked at the diff against main and ensured that nothing unexpected is included in your changes.
You should have checked that the commit messages say why the change was made.

Update to use button helpers look good, however, see Colin comment.


Add 2 questions to foundations

PR Type

[x] Adding new question(s)

Warning: We do not support the inclusion of questions directly copied from official GitHub certification exams. Please only submit original questions and content that you have created.

[ ] Other content changes (updating questions, answers, explanations or study resources)
[ ] Code changes (non-content)
[ ] Documentation changes
[ ] Other

What's new?

Add two questions (104, 105) to Foundations.
Related issue(s)

#90
Screenshots

@FidelusAleksander done 😃


restrict posts to localhost

should probably limit LogServer to only print things posted to it from the trace worker (or wherever logs come from). Can imagine a scenario where tails are long running and someone has another process that posts here and futzes with their log ingestion.
Originally posted by @EverlastingBugstopper in https://github.com/cloudflare/wrangler/pull/1195

is this blocked externally on the API?

@EverlastingBugstopper the trace-worker will need to send the tail id as a header with each post request yes. this is blocked then on work in both the API and the trace worker, but I don't think it's a blocker for release.


Camera not showing

Camera is not showing when I execute this code:
`var cameraStatus = await CrossPermissions.Current.CheckPermissionStatusAsync(Permission.Camera);
var storageStatus = await CrossPermissions.Current.CheckPermissionStatusAsync(Permission.Storage);
        if (cameraStatus != PermissionStatus.Granted || storageStatus != PermissionStatus.Granted)
        {
            var results = await CrossPermissions.Current.RequestPermissionsAsync(new[] { Permission.Camera, Permission.Storage });
            cameraStatus = results[Permission.Camera];
            storageStatus = results[Permission.Storage];
        }

        if (!CrossMedia.Current.IsCameraAvailable || !CrossMedia.Current.IsTakePhotoSupported)
        {
            App.Current.MainPage.DisplayAlert("Error de Cámara", "No hay cámara disponible.", "OK");
            return;
        }

        var file = await CrossMedia.Current.TakePhotoAsync(new Plugin.Media.Abstractions.StoreCameraMediaOptions
        {
            Directory = "Test",
            SaveToAlbum = true,
            CompressionQuality = 75,
            CustomPhotoSize = 50,
            PhotoSize = PhotoSize.MaxWidthHeight,
            MaxWidthHeight = 2000,
            DefaultCamera = CameraDevice.Front
        });

        if (file == null)
            return;`

The values of permission variables are OK:
cameraStatus: PermissionStatus.Granted
storageStatus: PermissionStatus.Granted
IsCameraAvailable: true
IsTakePhotoSupported: true
Despite this, nothing happens after executing TakePhotoAsync
Bug Information
Version Number of Plugin: 3.1.3
Device Tested On: Samsung Galaxy J3
Simulator Tested On: --
Version of VS: Community 2017 v.15.3.5
Version of Xamarin: <IP_ADDRESS>7436
Versions of other things you are using:
Plugin.Permissions: 2.2.1

Could anyone please help me? I don't find a solution.

I had the same issue, it was because my code was in a Task.Run.  I changed it to be in an async method and it started working.
private async void OnTakePicture()

Please help!
Can someone please let me know how you guys resolved this issue?
Camera and gallery both not accessible, I have added all files and permissions as James Suggested.
much appreciate if anyone can help me.
Plugin.Media.Abstraction.media
Error: "Camera permission(s) are required."
Code below:
`using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using FitnessGuru.Model;
using Plugin.Media;
using Plugin.Media.Abstractions;
using Xamarin.Forms;
namespace FitnessGuru
{
public partial class Progress : ContentPage
{
    ObservableCollection<MediaModel> Photos = new ObservableCollection<MediaModel>();

    public Progress()
    {
        InitializeComponent();

    }

    private async void photoBtn_Pressed(object sender, EventArgs e)

    {

        var isInitialized = await CrossMedia.Current.Initialize();

        if (!CrossMedia.Current.IsCameraAvailable || !CrossMedia.Current.IsTakePhotoSupported || !CrossMedia.IsSupported || !isInitialized)
        {
            await DisplayAlert("Error!", "Camera not Found", "ok");
            return;
        }

        var newPhotoId = Guid.NewGuid();

        using (var photo = await CrossMedia.Current.TakePhotoAsync(new StoreVideoOptions()
        {
            Name = newPhotoId.ToString(),
            SaveToAlbum = true,
            DefaultCamera = CameraDevice.Rear,
            Directory = "Fitness Gallery",
            CustomPhotoSize = 50

        }))
        {
            if (string.IsNullOrWhiteSpace(photo?.Path))
            {
                return;
            }

            var newPhotoMedia = new MediaModel()
            {
                MediaID = newPhotoId,
                Path = photo.Path,
                LocalDateTime = DateTime.Now
            };

            Photos.Add(newPhotoMedia);
            photo.Dispose();

        }

        listPhotos.ItemsSource = Photos;

    }

}

}
`

Unable to reproduce, looks fine.


Add documentation regarding sending events

Addresses #160

@rewin123 I wont be able to review this one as I will be out tomorrow

Waiting https://github.com/rewin123/space_editor/pull/162 to be merged before merging this


Add GAPButton example

Broadcasting a count of button clicks over GAP.

I don't know if it is the right time to ask about this but I would love to see an example which handle all the errors that ble API can generate. Right now, in all our examples we never test for function returns which is unfortunate.
But this is just a remark, it is not mandatory for this pull reauest

New version uploaded. Please review.

@LiyouZhou could you please introduce this example into the master branch?


Default property values of child Class overriding values set by parent Class' constructor

In my application I have a series of model classes and they all extend the same base class. The BaseClass has a constructor implemented that when given a key value map will set the values of that map on the class.
Something like:
base-class.ts
class BaseClass {
  constructor(json) {
    for (var prop in json) {
      this[prop] = json[prop];
    }
  }
}

Where my problem comes in is when extending the base class, If I define any default values for properties in the child class they will always override the values set by the constructor since I'm letting the parent class set the values, and that will always run first, then the defaults after.
For example:
Given the model person.ts
class PersonClass extends BaseClass {
  public firstName: string = 'Derek';
}

A constructed PersonClass will always have 'Derek' as the firstName value regardless of what is passed to the constructor.
i.e.
var person = new PersonClass({firstName: 'Jack'});

console.log(person.firstName); // logs Derek, not Jack

If not for the default property value being set the property would work fine. I have put together a CodePen to see a working example, http://codepen.io/dotDeeka/pen/bEErjJ?editors=001. If you view the compiled JavaScript you can see quickly that the child class calls the parents constructor before setting the default property values.
I know languages like Java require you call the parent class as the very first thing in a constructor so I'm assuming that is what you were going for here.
Any thoughts?

See #1617

Thanks. Sorry for the dupe.


Homekit native accessory plugin

Hi, has someone already developed a plugin for native homekit accessories such as Elgato's?

Yes there are a few philips hue plugins, although the new bridge has direct homekit support.

although the new bridge has direct homekit support

great! do you mean current or upcoming version?

Current

Cool, can you indicate me some documentation about it?

Hi, where do I find some "direct homekit support" documentation?

"direct homekit support" means that if you own the 2nd version of the hue bridge (not the round one) you do not need homebridge, the bridge itself has homebridge support.

See the official Philips Hue app, http://www2.meethue.com/en-us/philips-hue-app, and/or the Hue developers forum, https://developers.meethue.com/forums/apple-homekit.


go race reports quite a few issues at startup

Describe the bug
Running ocis with the race detector enable produces quite a few reports at startup:
#  go run -race  ./ocis/cmd/ocis server
results in:
==================
WARNING: DATA RACE
Write at 0x000007e68a10 by goroutine 51:
  go-micro.dev/v4/util/log.SetLogger()
      /root/go/pkg/mod/go-micro.dev/v4@v4.7.0/util/log/log.go:201 +0xd26
  github.com/owncloud/ocis/v2/ocis-pkg/log.NewLogger()
      /owncloud/ocis/ocis-pkg/log/log.go:93 +0xd1a
  github.com/owncloud/ocis/v2/services/webdav/pkg/logging.Configure()
      /owncloud/ocis/services/webdav/pkg/logging/logging.go:10 +0x24b
  github.com/owncloud/ocis/v2/services/webdav/pkg/command.Server.func2()
      /owncloud/ocis/services/webdav/pkg/command/server.go:35 +0xc8
  github.com/urfave/cli/v2.(*Command).Run()
      /root/go/pkg/mod/github.com/urfave/cli/v2@v2.10.3/command.go:169 +0xf36
  github.com/urfave/cli/v2.(*App).RunContext()
      /root/go/pkg/mod/github.com/urfave/cli/v2@v2.10.3/app.go:341 +0x1255
  github.com/urfave/cli/v2.(*App).Run()
      /root/go/pkg/mod/github.com/urfave/cli/v2@v2.10.3/app.go:247 +0x211
  github.com/owncloud/ocis/v2/services/webdav/pkg/command.Execute()
      /owncloud/ocis/services/webdav/pkg/command/root.go:36 +0x1af
  github.com/owncloud/ocis/v2/services/webdav/pkg/command.SutureService.Serve()
      /owncloud/ocis/services/webdav/pkg/command/root.go:54 +0x89
  github.com/thejerf/suture/v4.(*Supervisor).runService.func2()
      /root/go/pkg/mod/github.com/thejerf/suture/v4@v4.0.2/supervisor.go:565 +0x1c3

Previous write at 0x000007e68a10 by goroutine 49:
  go-micro.dev/v4/util/log.SetLogger()
      /root/go/pkg/mod/go-micro.dev/v4@v4.7.0/util/log/log.go:201 +0xd26
  github.com/owncloud/ocis/v2/ocis-pkg/log.NewLogger()
      /owncloud/ocis/ocis-pkg/log/log.go:93 +0xd1a
  github.com/owncloud/ocis/v2/services/graph/pkg/logging.Configure()
      /owncloud/ocis/services/graph/pkg/logging/logging.go:10 +0x24b
  github.com/owncloud/ocis/v2/services/graph/pkg/command.Server.func2()
      /owncloud/ocis/services/graph/pkg/command/server.go:35 +0xc8
  github.com/urfave/cli/v2.(*Command).Run()
      /root/go/pkg/mod/github.com/urfave/cli/v2@v2.10.3/command.go:169 +0xf36
  github.com/urfave/cli/v2.(*App).RunContext()
      /root/go/pkg/mod/github.com/urfave/cli/v2@v2.10.3/app.go:341 +0x1255
  github.com/urfave/cli/v2.(*App).Run()
      /root/go/pkg/mod/github.com/urfave/cli/v2@v2.10.3/app.go:247 +0x211
  github.com/owncloud/ocis/v2/services/graph/pkg/command.Execute()
      /owncloud/ocis/services/graph/pkg/command/root.go:36 +0x1af
  github.com/owncloud/ocis/v2/services/graph/pkg/command.SutureService.Serve()
      /owncloud/ocis/services/graph/pkg/command/root.go:54 +0x89
  github.com/thejerf/suture/v4.(*Supervisor).runService.func2()
      /root/go/pkg/mod/github.com/thejerf/suture/v4@v4.0.2/supervisor.go:565 +0x1c3

Goroutine 51 (running) created at:
  github.com/thejerf/suture/v4.(*Supervisor).runService()
      /root/go/pkg/mod/github.com/thejerf/suture/v4@v4.0.2/supervisor.go:539 +0x310
  github.com/thejerf/suture/v4.(*Supervisor).Serve()
      /root/go/pkg/mod/github.com/thejerf/suture/v4@v4.0.2/supervisor.go:348 +0x3e9
  github.com/thejerf/suture/v4.(*Supervisor).ServeBackground.func1()
      /root/go/pkg/mod/github.com/thejerf/suture/v4@v4.0.2/supervisor.go:297 +0x58

Goroutine 49 (running) created at:
  github.com/thejerf/suture/v4.(*Supervisor).runService()
      /root/go/pkg/mod/github.com/thejerf/suture/v4@v4.0.2/supervisor.go:539 +0x310
  github.com/thejerf/suture/v4.(*Supervisor).Serve()
      /root/go/pkg/mod/github.com/thejerf/suture/v4@v4.0.2/supervisor.go:348 +0x3e9
  github.com/thejerf/suture/v4.(*Supervisor).ServeBackground.func1()
      /root/go/pkg/mod/github.com/thejerf/suture/v4@v4.0.2/supervisor.go:297 +0x58
==================
....
==================
Found 21 data race(s)

While not all of the reported things might be causing serious problems. We should take a closer look and fix as many as possilbe.

Investigate what race conditions are still exists, fix those which are easy to fix, for all the others create tickets

https://github.com/go-micro/go-micro/pull/2659 Fix PR for go-micro here, removing this unmasked 2 other race condition, one is in urfave/cli (v2.25.7) and the other one in thejerf/suture(v4.0.2). Looking into the first at the moment and waiting for the go-micro cli to pass.

It looks like the race condition in urfave/cli is not present in its master branch.

Another fix in: https://github.com/cs3org/reva/pull/4250

urfave/cli does not seem threadsafe at all, there are no mutexes. Either we completely rework urfave/cli or switch to cobra.
see: https://github.com/urfave/cli/issues/1242
@micbar how to proceed?

They say the application needs to fix the races.

This is impossible, I have tried, also paired with @rhafer on this.

Okay, let us discuss in the team.
For the moment, let us stop putting efforts into that one.


Tech overview documentation

Prepare tech overview.
We're looking for the same granularity level as in https://apple.github.io/foundationdb/technical-overview.html

closing in favor of #382


Remove ip tools dependency for Nodes in e2e tests

iproute2 is already available in the Antrea Docker image, so instead of
running ip directly on the Nodes over SSH, we can exec into the Antrea
Agent Pod (hostNetwork Pod) running on the Node.
Fixes #1514

Codecov Report

Merging #1533 (109c651) into master (6c1a913) will decrease coverage by 12.99%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #1533       +/-   ##
===========================================
- Coverage   54.15%   41.16%   -13.00%
===========================================
  Files         136      102       -34
  Lines       12758    11812      -946
===========================================
- Hits         6909     4862     -2047
- Misses       5198     6521     +1323
+ Partials      651      429      -222

Flag
Coverage Δ

integration-tests
?

unit-tests
41.16% <ø> (-0.03%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.


Setting WOODPECKER_DATABASE_DATASOURCE_FILE does not work as expected when using docker image

Component
server, other
Describe the bug
Using this docker-compose.yml snippet
  server:
    image: *woodpecker-server-image
    restart: unless-stopped
    expose:
      - 9000
    volumes:
      - ./woodpecker-server-data:/var/lib/woodpecker/
      - ./secrets/woodpecker/agent-secret.conf:/run/secrets/agent-secret.conf:ro
      - ./secrets/woodpecker/gitea-secret.conf:/run/secrets/gitea-secret.conf:ro
      - ./secrets/woodpecker/gitea-client.conf:/run/secrets/gitea-client.conf:ro
      - ./secrets/woodpecker/docker-config.json:/run/secrets/docker-config.json:ro
      - ./secrets/woodpecker/woodpecker-datasource.conf:/run/secrets/woodpecker-datasource.conf
    environment:
      - WOODPECKER_DATABASE_DRIVER=postgres
      - WOODPECKER_DATABASE_DATASOURCE_FILE=/run/secrets/woodpecker-datasource.conf

does not pick up the datasource secrets from the file, but will try to use /var/lib/woodpecker/woodpecker.sqlite
Log:
server-1  | 9:12AM TRC woodpecker/src/github.com/woodpecker-ci/woodpecker/cmd/server/setup.go:88 > setup datastore: store.Opts{Driver:"postgres", Config:"/var/lib/woodpecker/woodpecker.sqlite", XORM:store.XORM{Log:true, ShowSQL:true}}

The reason is, that the env var WOODPECKER_DATABASE_DATASOURCE is set in the Dockerfile and takes precedence.
To make it work one has to cancel this environment variable by using this:
    environment:
      - WOODPECKER_DATABASE_DRIVER=postgres
      - WOODPECKER_DATABASE_DATASOURCE
      - WOODPECKER_DATABASE_DATASOURCE_FILE=/run/secrets/woodpecker-datasource.conf

Note: No equal sign behind WOODPECKER_DATABASE_DATASOURCE
Had to find out the hard way.
Should this be documented in https://github.com/woodpecker-ci/woodpecker/blob/5e0ec973baea3be1c4f6514b2ce778bfc0c961d6/docs/docs/30-administration/10-server-config.md?plain=1#L66-L102
If you agree, that is is only a documentation issue, I will provide a PR.
System Info
Docker Image `woodpeckerci/woodpecker-server:v2.3.0`

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]

Only database settings don't work, right? Do other (WOODPECKER_GRPC_SECRET_FILE, WOODPECKER_AGENT_SECRET_FILE, WOODPECKER_GITEA_CLIENT_FILE, WOODPECKER_GITEA_SECRET_FILE) settings work as intended?

Yes, it is only the datasource, others work as expected.
I do not have an idea of what could be changed. The code uses a sqlite file relative to the executable, but this can not be used with docker, as yoiu can not mount a volume there.

I think we should process WOODPECKER_DATABASE_DATASOURCE_FILE with higher priority than WOODPECKER_DATABASE_DATASOURCE as it is supposed to be more secure. So, that is is not a documentation issue.

Yes, it is causes upstream, but I do not know if it can be called an issue.
If we change the Dockerfileto something like this:
RUN echo "/var/lib/woodpecker/woodpecker.sqlite" > /etc/woodpecker-datasource.conf
ENV WOODPECKER_DATABASE_DATASOURCE_FILE=/etc/woodpecker-datasource.conf

the problem should vanish.
If the user does set -e WOODPECKER_DATABASE_DATASOURCE... this will take precedence and if he sets -e WOODPECKER_DATABASE_DATASOURCE_FILE...it will overwrite the setting in the Dockerfile.

It looks like this is an upstream issue of https://github.com/urfave/cli because we're directly using the feature

But we get this flag from Env via os package:
- FilePath: os.Getenv("WOODPECKER_DATABASE_DATASOURCE_FILE"),
+ FilePath: "/etc/mysql/password",

Note that default values set from file (e.g. FilePath) take precedence over default values set from the environment (e.g. EnvVar).
Also If EnvVars contains more than one string, the first environment variable that resolves is used.

Yeah, we need more ~gold~ tests :) There are no open issues about precedence. So, should work...

Precedence rules are different https://cli.urfave.org/v2/examples/flags/#precedence
Envelope var before file.

In my oppinion, the env var should take precedence to the content of some file.
The shorter the lifetime of a flag the higher the precedence. Rational: The user wants to override some argument for the next execution of a program without much hazzle.
So

command line arg
Env var
Some file

Shall I post a PR  for changing the Dockerfile?

ah now i know where it did come from :D
please dont fix bugs in the wrong place ... this bugfix would e.g. not fix it for anything not using docker


Add variable mapping of read_tmy3

Is your feature request related to a problem? Please describe.
This PR proposes that a map_variables parameter be added to the read_tmy3 function. Additionally, the current rename_columns parameter (which removes the units from the column names) should be deprecated. See #714 for a discussion on the topic.
Describe the solution you'd like
A map_variables parameter should be added (defaulting to None), and if specified as True then it should override the rename_columns parameter and map the column names to standard pvlib names. A deperecation warning should be added stating that the rename_columns parameter will be retired starting in pvlib 0.11.0 - the deprecation warning should be silenced if map_variables is specified as either True or False.

#1623 made a pull request for the same


fix GPU driver detection bug with bumblebee-managed dual video cards

Description
gpu_driver is enabled in my console to reassure the video card I am currently using, as my laptop is equipped with dual graphic cards.
However, the output seems a bit curious:

The cause is explained in the picture below:

As I have used bumblebee to manage my graphic cards, normally the nvidia card is disabled. Simply add 2 to the NR where the nvidia card appears causes this incorrect result.
Features
Fix the bug described above.
Issues
I am sorry I did not come up with a simple solution to keep this line less than 100 characters. The line I altered has 117 characters now.
I do have some ideas to shorten it, like tmp_str="first half"; str="$tmp_str && the rest", but I think that is even worse.
To pass the travis check, the field name match is set as containing "nel driv" instead of exactly matching "	Kernel driver in use" (as the line length should be smaller than 102 according to the .travis.yml).
This could be potentially problematic, but I think the keywords I choose should avoid much. Please Let me know if you you have any thoughts about this. You are also welcome to edit it directly if you like. Thanks!
TODO
No further work is required so far.

Since I don't know the impact of this commit to Intel+AMD GPUs and I can't test it at the moment, I'm going to wait for Dylan for this commit.

Thank you for your contribution!
This PR is merged into hyfetch since this repo (dylanaraps/neofetch) seems no longer maintained.
HyFetch is a fork of neofetch with LGBTQ pride flags, but the repo also maintains an updated version of the original neofetch, addressing many pull requests that are not merged in the original repo.
Read the "Running Updated Original Neofetch" section for more info!


Remove deprecated Element methods

Description
This removes the deprecated Element methods that has reached the EOL .  See table below:

Before
After

inheritFromElement
dependOnInheritedElement

inheritFromWidgetOfExactType
dependOnInheritedWidgetOfExactType

ancestorInheritedElementForWidgetOfExactType
getElementForInheritedWidgetOfExactType

ancestorWidgetOfExactType
findAncestorWidgetOfExactType

ancestorStateOfType
findAncestorStateOfType

rootAncestorStateOfType
findRootAncestorStateOfType

ancestorRenderObjectOfType
findAncestorRenderObjectOfType

Part of deprecations that are slated for removal for next release in https://flutter.dev/go/deprecation-lifetime
More context: https://medium.com/flutter/deprecation-lifetime-in-flutter-e4d76ee738ad
Related Issues
Deprecated in  https://github.com/flutter/flutter/pull/44189
Tests
Tests for quick fix tool.
Checklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.

Dependent on https://github.com/flutter/flutter/pull/69620

Something made the tests very unhappy.

Something made the tests very unhappy.

Oh, probably because it depends on that other PR. Nevermind.

Oh, probably because it depends on that other PR. Nevermind.

Waiting on the next roll to be completed before landing this. All of the G failures here should be resolved by the roll.

Waiting on the next roll to be completed before landing this. All of the G failures here should be resolved by the roll.

This is waiting on migration of internal customers.

This is waiting on migration of internal customers.

Migration completed, good to land.

Migration completed, good to land.


Docker Container images cannot run with persistent volumes

Scenario:

run docker-compose up -d
insert some data and verify
run docker-compose down
tried to verify data. SQL client won't connect. gets error message from BE. Tried to restart BE and then FE and then BE. Still won't allow me to connect to server. Video below.

2023-03-13 12:45:05 ERROR 2003 (HY000): Can't connect to MySQL server on 'starrocks-fe:9030' (111)
Docker Container README has suggested fix.  Problem is that I can't run the alter system command if the FE mysql service isn't running.
mysql --connect-timeout 2 -h starrocks-fe -P9030 -uroot -e "alter system add backend \"starrocks-be:9050\";"
atwong@Alberts-MBP docker-compose % mysql -u root -h <IP_ADDRESS> -P9030
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 2

@ss892714028 is developing a new release that factors in what is missing (using FDQN).


[Feature Request] Allow specifying a root directory to resolve polyfill'ed modules against

Issue:
At the moment, all resolution assumes the modules are installed alongside webpack.
The fallback configuration (https://webpack.js.org/configuration/resolve/#resolvefallback) allows absolute path to be specified: path.resolve(__dirname, 'path/to/file.js'). That's particularly useful if you run webpack programmatically and have the config in a different place than the codebase containing the polyfills.
Feature Request:
Add an option (root, resolutionDir, base, notSureWhatsAGoodName...) to specify the root. Either absolute or a function:
const myDir = path.resolve(__dirname, 'somewhere')
new NodePolyfillPlugin({
  root: (polyfillName) => path.join(myDir, polyfillName)
  // or...
  root: myDir,
})

At the moment, all resolution assumes the modules are installed alongside webpack.

They are.

That's particularly useful if you run webpack programmatically and have the config in a different place than the codebase containing the polyfills.

In that case, it could be better to just detect where node-polyfill-webpack-plugin is installed and resolve the absolute path relative to the node_modules directory it is installed in.


Remove save_npz function from TMmodel class

Is this still necessary ?  Has already been done ?

It was already done.


User generated interrupts (IRQ >= 26) keep firing forever

Quoting the datasheet:

only the lower 26 IRQ signals are connected on the NVIC, and IRQs 26 to 31 are tied to zero (never firing).
The core can still be forced to enter the relevant interrupt handler by writing bits 26 to 31 in the NVIC ISPR register.

The Pico SDK is using this feature for the STDIO USB driver.
Our NVIC implementation doesn't clear the pending interrupt flag when executing an interrupt. However, it seems that Pico SDK code expects the NVIC to clear the pending interrupt flag (as the SDK code doesn't take care of clearing the flag). The ARMv6 Datasheet seems to be in agreement with this (section B3.4.1 "NVIC operation"):

// NVIC behavior
// =============
clearPend = ExceptionIN(INTNUM) || InterruptDeassertion;
setPend = InterruptAssertion || WriteToRegField(ISPR, INTNUM);
if clearPend && setPend then
IMPLEMENTATION DEFINED whether NVIC_Pending[INTNUM] is TRUE or FALSE;
else
NVIC_Pending[INTNUM] = setPend || (NVIC_Pending[INTNUM] && !clearPend);

Regarding hardware IRQ's, quoting @kilograham's comment from the Bug Squashing live stream on YouTube:

clearPend = ExceptionIN(INTNUM) || InterruptDeassertion;
setPend = InterruptAssertion || WriteToRegField(ISPR, INTNUM);

Note that for hardware IRQs the InterruptAssertion is always set until the hardware interrupt source is acknowledged via a  write to the hardware specific interrupt register (basically level sensitive interrupts)... thus if the ISR doesn't do this you get another IRQ immediately on return from the ISR. For the write to ISPR case, the setPend only happens once.


hideExpression with Sibling Fields

I have the following field definition:
{
"type": "form",
"fieldGroup": [
{
"key": "",
"type": "repeat",
"label": "Students",
"fieldArray": {
"type": "section",
"wrappers": [
"section-panel"
],
"fieldGroup": [
{
"key": "",
"type": "input",
"templateOptions": {
"label": "First Name",
"required": true,
"className": "input",
"placeholder": "First Name"
}
},
{
"key": "",
"type": "input",
"templateOptions": {
"label": "Last Name",
"required": true,
"className": "input",
"placeholder": "Last Name"
}
},
],
"templateOptions": {
"label": "Student",
"hasRepeatButtons": true
}
},
"templateOptions": {
"label": "Student",
"subIndex": 0
}
},
{
"key": "",
"type": "section",
"wrappers": [
"section-panel"
],
"fieldGroup": [
{
"key": "",
"type": "input",
"templateOptions": {
"label": "School Name",
"required": true,
"className": "input",
"placeholder": "School Name"
}
},
],
"templateOptions": {
"label": "School"
}
}
]
}
Currently Student repeat section is hidden on child field change and School section is also working to hide itself with its child fields change. But How can I hide Student section with School section on child fields change?
The problem here is that when I have several sections on a form with repeat and section type., hideExpression with its child value change is working well, but not sure how I can detect sibling child value change, and implement with hideExpression. For Example: if first name is "ABC" and i set it with hideexpression, then student repeat section will also be hidden when the first name is "ABC". How we want it to work is that if school name is "DEF", then the student section should be hidden, as school and student fields are siblings.

school is a separate section, how is it assigned to a student??, the provided json example is not clear enough to have a clear idea about the model structure and the desired behavior.

school is a separate section, how is it assigned to a student??, the provided json example is not clear enough to have a clear idea about the model structure and the desired behavior.

The simpler question would be:
How can I hide the entire students section if School Name = 'High School'?
When we I set hideExpression on the student section based on the School Name field, it still shows.

The simpler question would be:
How can I hide the entire students section if School Name = 'High School'?
When we I set hideExpression on the student section based on the School Name field, it still shows.

I see, your need is to have access to parent model which can be achieved by using field.parent.model:
{
  "type": "repeat",
  "label": "Students",
  "hideExpressions": "field.parent.model.schoolName === 'High School'"
}

I see, your need is to have access to parent model which can be achieved by using field.parent.model:
{
  "type": "repeat",
  "label": "Students",
  "hideExpressions": "field.parent.model.schoolName === 'High School'"
}


Subtitle with more lines possible?

I need about 7 rows. Even formatted, like url, email, address

Sure. Guessing you'd want some sort of HTML formatting to go with it? I'll
have it done by tonight.

This would be really awesome! Thanks.

Use MaterialAboutActionItem.Builder().subTextHtml(String subTextHtml) like so: (
 is line break)
.subTextHtml("This is HTML formatted text
 It is very cool!")

Thanks.


Remember Forever Quiz

You can add the team picture here:  https://github.com/XavierTho/xavier_2025/issues/1
Don't forget to explain the the remember forever commend :)

Team photo:

What does rm do?
rm removes something, like a file or directory. It's not powerful on its own.
-r stands for recursive. It will remove directories and their contents recursively.
-f: stands for "force," meaning it will ignore non-existent files and never prompt for confirmation.
Combined, rm -rf will delete the specified directory and all of its contents, including subdirectories and files, without asking for confirmation. This is the 'remember forever' command.