History Statistics Sensor oddly updated

Home Assistant release (hass --version):
0.39.1
Python release (python3 --version):
Python 3.5.3
Component/platform:
sensor.history_stats
Description of problem:
History Statistics Sensor not updated dynamically
Expected:
Update dynamically or maybe on interval which should be configured
Problem-relevant configuration.yaml entries and steps to reproduce:
- platform: history_stats
  name: Stue TV On Today
  entity_id: media_player.stue_tv
  state: 'on'
  start: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}'
  end: '{{ now() }}'

Screenshots from the frontend:
http://imgur.com/a/KllQ2
TV has obviously been on today, shows as 0.0 H.
sensor data:
to: 2017-03-02 08:18:07
friendly_name: Stue TV On Today
from: 2017-03-02 00:00:00
unit_of_measurement: h
value: 0s
icon: mdi:chart-line
ratio: 0.0%

So i turned off the tv and then the sensor got data :+1:  My bad. CC: @bokub

You're right, this is a bug
Fixed in #6294, will take effect in the next release hopefully.

Great! Thanks @bokub :+1:


Correct error: unknown stream type "undefined" in bunyan

I was getting this error :
Uncaught TypeError: unknown stream type "undefined"
at Logger.addStream (webpack:///./~/bunyan/lib/bunyan.js?:620:15)
at eval (webpack:///./~/bunyan/lib/bunyan.js?:470:18)
at Array.forEach (native)
at new Logger (webpack:///./~/bunyan/lib/bunyan.js?:469:25)
at Function.createLogger (webpack:///./~/bunyan/lib/bunyan.js?:1618:12)
at Object.eval (webpack:///./~/activedirectory/lib/activedirectory.js?:16:18)
at eval (webpack:///./~/activedirectory/lib/activedirectory.js?:1901:30)
I corrected it removing the streams element.
Now it works.

Please consider to merge @fredoumulateur 's PR since the addressed issue is blocking people who want to use this module in a React App.

Any reasons that this is not merged? I also get the same error.

t removing the streams element.
Did you remove this from bunyan.js or from your wrapper? I see 53 instances of "streams", thinking it would break if I remove all of them.


Please add Money/Money operator

Resulting in a value of type double. For calculating ratios.
Thanks.

That's not going to be possible as we already have an Money/num operator  and you can't overload operators in dart.
We could add something like:
Money one;
Money two;
  double result = one.divideBy(two);

However I think the result should actually be a money amount as that would be generally more flexible.
So I'm thinking:
Money one;
Money two;
  double result = one.divideBy(two).asDouble();

Thoughts?

Also can I ask why you are looking to convert to a double?
Generally its considered a bad idea to use a double to hold a monetary amount due to rounding problems.
For transporting and storing money you should use minorUnits.
I'm actually a little wary of adding 'asDouble' as it may encourage users to use it :)
I'm interested to see where your use case fits.

As you know, a ratio of magnitudes of the same type is dimensionless.  Knowing this, IMHO your suggestion about .divideBy looks like the correct solution, supposing that it returns a double. (But please keep in mind that I'm a Dart beginner and the value of my opinions are greatly reduced by that fact.)

the method is dividedBy.
good point about the scalers.

released in: 2.0.1-nullsafety.6
On Wed, 16 Dec 2020 at 09:58, oscarfv<EMAIL_ADDRESS>wrote:

As you know, a ratio of magnitudes of the same type is dimensionless.  Knowing this,
IMHO your suggestion about .divideBy looks like the correct solution,
supposing that it returns a double. (But please keep in mind that I'm a
Dart beginner and the value of my opinions are greatly reduced by that
fact.)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/noojee/money.dart/issues/23#issuecomment-745619557,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAG32OGCF2XIQDPD6GXLJOTSU7SZTANCNFSM4U4RG27Q
.


docs: amending pr template to show required tags

Description
Rule changes added to require one of the semantic versioning tags in order to complete a pr, amendments to the PR template to remind users of these tags
If you have not checked any of the lists below explain why here.
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Technical Enhancements

Checklist:
If any of these are not completed, please explain why in the notes.
Definition of Done
Code and merges

[x] Code to be commented on where applicable
[x] Documentation updated where required
[x] Have considered non-functional requirements such as Security, Performance, Scalability, and Fault Tolerance
[x] I have linted the code

Testing

[x] All levels of acceptance test are passing (automated, integration, manual, accessibility, etc.)
[x] I have run the behave command to check the selenium behaviour tests pass locally
[x] Acceptance criteria met

Other Checks

[x] I have performed a self-review of my own code
[x] I have checked for spelling errors
[x] I have commented on my code, particularly in hard-to-understand areas
[x] My changes don't break anything unexpected
[x] I have checked and updated the security.txt file where required
[x] Up to date with the main branch
[x] I have a commit with the fix:, feat or BREAKING_CHANGE: tags and will copy this commit message to the squash
commit message

DEPLOY_URL=https://d3uyg76goah86z.cloudfront.net/
cloudfront_id=E29DBI82J6YN59

DEPLOY_URL=https://d3uyg76goah86z.cloudfront.net/
cloudfront_id=E29DBI82J6YN59

DEPLOY_URL=https://d3uyg76goah86z.cloudfront.net/
cloudfront_id=E29DBI82J6YN59

DEPLOY_URL=https://d3uyg76goah86z.cloudfront.net/
cloudfront_id=E29DBI82J6YN59


Vim native plugins

This is a feature request.
Since Vim8.0, there is plugin bundled with the editor that need to be activated using packadd (like matchit, termdebug ...). Would it be possible for Dein to manage these plugins too so all plugins can be managed in a unified way ?
Charles

Hm.
But I don't think the feature is so useful.
It is very low priority.


Build galactic, humble and humble-devel images

Okay so this is kinda the 'release' of humble. We replace the galacitc-devel image with a humble-devel image. This means:

Galactic image with main branch of control libraries, galactic branch of modulo (which is equivalent to v2.1.1)
Humble image with main branch of control libraries, main branch of modulo
Humble-devel image with main branch of control libraries, humble branch of modulo (TODO!! this shall be changed to develop once we merged humble into develop on modulo)

I'm currently running this here: https://github.com/domire8/docker-images/actions/runs/3344142806

https://github.com/domire8/docker-images/actions/runs/3344668867
This seems to work, I will merge once control libraries patch release is merged as well, to save at least some computation


Mhuertascompany patch 1

trying to filter out faint galaxies in the JWST dataset. PLEASE CHECK. I have not tried the code.
I just added a few extra lines at the beginning of the cut_stamps_fn function

This has been superseded by #128 .


Fix already initialized constant warning

We have run into this before. Rspec has a weird scope when it comes to constants.

Updated to inline variables

:+1: Thanks for fixing the problem that I introduced @rrosenblum!


Add meson.run command

The command operates in two modes. If a single argument is given, it uses subprocess's shell=True, so you can use shell substitution, as in:
spin run 'echo $PYTHONPATH'
If multiple arguments are given, it uses standard execution, e.g.:
spin run python -c 'import sys; del sys.path[0]; import example_pkg'
Enabling shell=True for the latter would incorrectly disregarded the quoting.
Closes #69

I can't quite get Windows to do what I want, but I'm getting hold of a physical test machine soon which should help debugging significantly.

Phew :sweat_smile:


ability to hide the badge under the explorer icon

the blue badge showing how many edited files i have is annoying, there's an option to disable it for source control, why isn't there one for explorer?

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

bump

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

Even though this didn't get enough upvotes, I do have a PR out and discussion is happening around being able to arbitrarily turn on or off the badges for any view.


Add py.typed to allow mypy to recognize inline type hints

https://peps.python.org/pep-0561/

Just to be sure it's not going to cause any deployment issues, can you merge to dev branch and test on staging?
Same goes with related PRs just as a sanity-check.


version 0.0.1

@h1alexbel thank you for reporting this. I'll assign someone to take care of it soon.

@zoeself sdf

@zoeself sdf

@h1alexbel didn't understand that, sorry.

@rultor release, tag is 0.0.1

@rultor release, tag is 0.0.1

@h1alexbel OK, I will release it now. Please check the progress here

@rultor release, tag is 0.0.1

@h1alexbel Done! FYI, the full log is here (took me 6min)

@h1alexbel thank you for resolving this ticket. I've just added it to your active invoice. You can always check all your invoices and more on the Contributor Dashboard.


Long hostnames leads to interfaces names too long

Expected/Desired Behavior:
Adding a host with a long hostname (for example: SW_SUPERVISOR_1) creates an interface with the name and ethx appended to it (for example: SW_SUPERVISOR_1-eth5)
Actual Behavior:
Hosts with long hostnames generates long interface names which raises an exception in the interface creation.
(P4_5, SW_RED_5) *** SW_SUPERVISOR_1 : ('ip link add name SW_SUPERVISOR_1-eth5 address 9a:da:df:3c:03:15 type veth peer name SRV_BLCK_1-eth0 address 62:96:25:5c:29:7f netns 5033',)

Error: argument "SW_SUPERVISOR_1-eth5" is wrong: "name" not a valid ifname

Traceback (most recent call last):
  File "/mininet/testTopology.py", line 101, in <module>
    initTopology()
  File "/mininet/testTopology.py", line 94, in initTopology
    network = Mininet(topo, switch=OVSKernelSwitch)
  File "/usr/lib/python3/dist-packages/mininet/net.py", line 178, in __init__
    self.build()
  File "/usr/lib/python3/dist-packages/mininet/net.py", line 508, in build
    self.buildFromTopo( self.topo )
  File "/usr/lib/python3/dist-packages/mininet/net.py", line 495, in buildFromTopo
    self.addLink( **params )
  File "/usr/lib/python3/dist-packages/mininet/net.py", line 406, in addLink
    link = cls( node1, node2, **options )
  File "/usr/lib/python3/dist-packages/mininet/link.py", line 456, in __init__
    self.makeIntfPair( intfName1, intfName2, addr1, addr2,
  File "/usr/lib/python3/dist-packages/mininet/link.py", line 501, in makeIntfPair
    return makeIntfPair( intfname1, intfname2, addr1, addr2, node1, node2,
  File "/usr/lib/python3/dist-packages/mininet/util.py", line 270, in makeIntfPair
    raise Exception( "Error creating interface pair (%s,%s): %s " %
Exception: Error creating interface pair (SW_SUPERVISOR_1-eth5,SRV_BLCK_1-eth0): Error: argument "SW_SUPERVISOR_1-eth5" is wrong: "name" not a valid ifname

Detailed Steps to Reproduce the Behavior:

Add two hosts, one with a long hostname

hta = addHost('HT_LONGHOSTNAME_1')
htb = addHost('HT_2')

Create links between these hosts

net.addLink(swa,swb)

Initialize network

Additional Information:
Running latest Mininet v2.3.0 on Debian 11 kernel 5.10 in a VirtualBox VM

Is there any workaround for this?


Fixed texts in adaptive cards having same color with background

Bug 3428503: [V2] Adaptive Cards Markdown Content has White Font Color on a White Background Ccolor
Links are separated out
Before:

After:

Before:

After:

we added long time ago the ability to customize the adaptive card , like background color and text font, I believe we used the fly ticket adaptive card for testing it, could we check if that functionality wont be affected?

we added long time ago the ability to customize the adaptive card , like background color and text font, I believe we used the fly ticket adaptive card for testing it, could we check if that functionality wont be affected?


[preprocessor/folder] add file status and database related functions

Base on https://github.com/starlinglab/integrity-v2/pull/6
Closes https://github.com/starlinglab/integrity-v2/issues/2
Requires a created database (defined in config) in postgres

setup pg table file_status if not exist using default public schema
set file to following state

found
uploading
success
error

error message would be stored in db if some error occur inside handleNewFile, but now it's raw error string, maybe we  want some formatting
file_path is assumed to be unique key, but just in case, i also added sha256 and cid for future deduplication

@makew0rld updated according to comment and ready for merge


fix: duplicate CGA IDs were used

CGA IDs are intended to be unique per advisory, that is, per {vulnerability, package} tuple. This is important for downstream processing logic, such as OSV feed generation, which publishes individual advisories as {ID}.json.
We've now added validation for this in wolfictl: https://github.com/wolfi-dev/wolfictl/pull/1155. However, this validation will fail until the data in this git repo is cleaned up.
This PR cleans up the data by replacing all instances of the following re-used CGA IDs with brand new CGA IDs:

CGA-74jf-4783-w9x6
CGA-c6x4-w8qf-qrh6

⚠ This will fail validation because we're modifying existing entries. This is necessary to get us out of the current invalid state. We'll need to override CI.

View from wolfictl adv diff:
Auto-detected distro: Wolfi

( - removed / ~ modified / + added )

~ document "nodejs-18"
  - advisory "CGA-74jf-4783-w9x6"
  - advisory "CGA-c6x4-w8qf-qrh6"
  + advisory "CGA-w4f3-cfqj-j8hv"
  + advisory "CGA-9qw9-xxfh-c4v2"
~ document "nodejs-20"
  - advisory "CGA-74jf-4783-w9x6"
  - advisory "CGA-c6x4-w8qf-qrh6"
  + advisory "CGA-c23x-7ppp-8vqm"
  + advisory "CGA-hjjp-j4vg-j855"
~ document "nodejs-22"
  - advisory "CGA-74jf-4783-w9x6"
  - advisory "CGA-c6x4-w8qf-qrh6"
  + advisory "CGA-488p-fcg5-8vm8"
  + advisory "CGA-4h6r-23fp-w9w8"
~ document "python-3.11"
  - advisory "CGA-74jf-4783-w9x6"
  - advisory "CGA-c6x4-w8qf-qrh6"
  + advisory "CGA-95mj-h49g-qh4h"
  + advisory "CGA-8v84-p6q7-fc4w"

@luhring let me know if it is okay to merge then i will do

@luhring let me know if it is okay to merge then i will do

Good to merge! Thanks @cpanato!


Unit Test has external dependency - TestResourceLifecycle

Ran without internet and got
--- FAIL: TestResourceLifecycle (0.11s)
    native_test.go:35: galley.NewOrFail: error (Creating /tmp/galley-component-unit-tests-940/TestResourceLifecycle/helm-mixer-attribute-extract806888230/helmrepo/repository
        Creating /tmp/galley-component-unit-tests-940/TestResourceLifecycle/helm-mixer-attribute-extract806888230/helmrepo/repository/cache
        Creating /tmp/galley-component-unit-tests-940/TestResourceLifecycle/helm-mixer-attribute-extract806888230/helmrepo/repository/local
        Creating /tmp/galley-component-unit-tests-940/TestResourceLifecycle/helm-mixer-attribute-extract806888230/helmrepo/plugins
        Creating /tmp/galley-component-unit-tests-940/TestResourceLifecycle/helm-mixer-attribute-extract806888230/helmrepo/starters
        Creating /tmp/galley-component-unit-tests-940/TestResourceLifecycle/helm-mixer-attribute-extract806888230/helmrepo/cache/archive
        Creating /tmp/galley-component-unit-tests-940/TestResourceLifecycle/helm-mixer-attribute-extract806888230/helmrepo/repository/repositories.yaml
        Adding stable repo with URL: https://kubernetes-charts.storage.googleapis.com
        Error: Looks like "https://kubernetes-charts.storage.googleapis.com" is not a valid chart repository or cannot be reached: Get https://kubernetes-charts.storage.googleapis.com/index.yaml: dial tcp: lookup kubernetes-charts.storage.googleapis.com on <IP_ADDRESS>:53: server misbehaving
        ) executing command: helm --home /tmp/galley-component-unit-tests-940/TestResourceLifecycle/helm-mixer-attribute-extract806888230/helmrepo init --client-only: exit status 1
FAIL
FAIL    istio.io/istio/pkg/test/framework/components/galley     0.466s

Do we need to initialize the Helm repo here?
Also the test galley target depends on depend which requires internet as well. Not sure if this is needed - pilot and mixer don't depend on depend

The helm based setup is(was) just a copy of what we had in the Makefile for test setup. If it has changed, we should change the one in the framework as well. (It has gone through quite a bit of churn, it is possible that helm repo access is not needed anymore). So, as of the time the component was written, this was required; it may not be so right now.
As for the test itself, I am removing it in an upcoming PR and replacing it with a standard integration test, which uses the standard deployment mechanisms:
https://github.com/istio/istio/pull/13686


Adoc

Changed to add deposit when income of the month comes
Added PPP for BrianTKM

Codecov Report

Merging #175 into master will decrease coverage by <.01%.
The diff coverage is 33.33%.

@@             Coverage Diff              @@
##             master     #175      +/-   ##
============================================
- Coverage     25.46%   25.45%   -0.01%
  Complexity      430      430
============================================
  Files           122      122
  Lines          4108     4109       +1
  Branches        559      559
============================================
  Hits           1046     1046
- Misses         2989     2990       +1
  Partials         73       73

Impacted Files
Coverage Δ
Complexity Δ

...ain/java/owlmoney/logic/command/UpdateCommand.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

src/main/java/owlmoney/model/bank/Bank.java
27.86% <ø> (ø)
10 <0> (ø)
:arrow_down:

src/main/java/owlmoney/model/bank/BankList.java
41.32% <ø> (ø)
69 <0> (ø)
:arrow_down:

src/main/java/owlmoney/model/profile/Profile.java
11.43% <ø> (ø)
10 <0> (ø)
:arrow_down:

src/main/java/owlmoney/model/bank/Saving.java
57.34% <33.33%> (-0.41%)
26 <0> (ø)

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 332943f...54ef221. Read the comment docs.


Events is not working

Hm. Looks like this doesn't work and you didn't provide any example, like events didn't exist.
<dropzone id="foo" ref="el" :options="options" :destroyDropzone="true" @vdropzone-success="setImageFilename"></dropzone>

@vdropzone-success="setImageFilename" how to make it work?

Events aren't supposed to be bound through props, read the Dropzone docs on how to bind events.

Is that so? Then why it's working and recommended by vue2-dropzone which you use under the hood?

By the way, thanksfully vue2-dropzone is working fine with Nuxt anyways. I don't know why to use nuxt-dropzone if it works just fine?

Sorry if I was mistaken, it's possible I remembered incorrectly, we don't use Nuxt in active development anymore due to the numerous issues it has.
Historically (read: when this package was created) vue-dropzone didn't work with SSR, if that's no longer the case you're better off using that package as it's more actively maintained.
Regarding your question about events, I tested passing events through props in the demo project in the same manner you did and it works just fine, if you're having a problem, it must be elsewhere in your code.

By the way, thanksfully vue2-dropzone is working fine with Nuxt anyways. I don't know why to use nuxt-dropzone if it works just fine?

How did you use vue2-dropzone to work with Nuxt,  it shows error on my side:
ReferenceError
window is not defined

@zinwalin If you have a clear reproducible issue with this package, please create a separate issue.


Guest user accounts for scratch assemblies

After discussion with Matt, is there potential to add/view assemblies without user authentication, for quick set up in (e.g.) workshop scenarios?

Perhaps we could add the ability to configure a "continue as guest" button that would create a temporary anonymous user.

This feature is in main now.


Manipulation Lab thought questions

          student feedback - some thought questions about thinking through what is going on with the different joins would be helpful, as well as when/why we might need right/left joins for applications

Originally posted by @carriewright11 in https://github.com/jhudsl/intro_to_r/issues/595#issuecomment-2174304019

I know you like individual issues, @avahoffman :P


Canvas Helm Installation pointing to old version 1.1.3 if version not specified.

Description
Current helm chart of oda-canvas installing version 1.1.3 by default. Below is list of chart versions present currenly - https://github.com/tmforum-oda/oda-canvas/blob/master/charts/canvas-oda/Chart.yaml.
version: 1.1.5-rc6 - Issue #302: remove "-dapi-" infix from dependentapi custom resource name
version: 1.1.5-rc5 - ODAA-98: automte docker builds
version: 1.1.5-lt1 - Updated conversion webhook
version: 1.1.5-rc4 - update component operator/istio operator/dependentapi operator with exposedapis and changing v1beta3 crds of these with camelcase apiType
version: 1.1.5-rc3 - ODAA-114: fix exception in DependentAPI-Operator
version: 1.1.5-rc2 - added dependentApiSimpleOperator functionality to fetch the defined dependent API ENDPOINT from apis custom resouce
version: 1.1.5-rc1 - ODAA-86: downgrade HashiCorp Vault to 1.14.8. Last version under MPLv2,
see https://www.hashicorp.com/license-faq#products-covered-by-bsl
version: 1.1.4 - added secretsmanagement-operator
version: 1.1.3 - updated dependentApiSimpleOperator to tmforum docker repo
version: 1.1.2 - added dependentApiSimpleOperator
version: 1.1.1 - bug fix for empty specification property of exposedAPI
version: 1.1.0 - updated component CRD to support an array for the specification field in the exposed API (to support Gen5 APIs)
version: 1.0.0 - baseline version
This is happening because if any suffix with version 1.1.5-* e.g1.1.5-rc6 will be treated as pre-release version by helm. so it should install 1.1.4 as this will be considered stable version by helm. But there isnt any release present with version 1.1.4 and no release mentioned with 1.1.5 without any suffix so its installing version version 1.1.3 as stable by default.

helm repo update oda-canvas
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "oda-canvas" chart repository
Update Complete. ⎈Happy Helming!⎈
helm install canvas oda-canvas/canvas-oda -n canvas
NAME: canvas
LAST DEPLOYED: Tue Sep  3 07:08:40 2024
NAMESPACE: canvas
STATUS: deployed
REVISION: 1
TEST SUITE: None
helm list --all-namespaces | grep -i "canvas"
canvas          canvas                  1               2024-09-03 07:08:40.070562036 +0000 UTC deployed        canvas-oda-1.1.3                v1beta3
helm uninstall canvas -n canvas
release "canvas" uninstalled
helm install canvas oda-canvas/canvas-oda -n canvas --devel
NAME: canvas
LAST DEPLOYED: Tue Sep  3 07:17:11 2024
NAMESPACE: canvas
STATUS: deployed
REVISION: 1
helm list --all-namespaces | grep -i "canvas"
canvas          canvas                  1               2024-09-03 07:17:11.86234246 +0000 UTC  deployed        canvas-oda-1.1.5-rc6            v1beta3


Storage Drive Duplication Glitch

Issue description:
If you install everything blocks mod, compress storage disks into a block, then uncraft it. it gives you a stack of 9, not just 9 drives. then you can shift click that into a drive bay, put items in your system, then separate that stack and all 9 have the same item.
What happens:
Duplicate items
What you expected to happen:
Not duplicate items
Steps to reproduce:
1.Install Everything Blocks Mod (Or any way to stack items)
2.Make a block of 1k storage disks
3.Uncraft that block
4.Shiftclick the stack of 9 into the storage drive bay
5.Put items in the system
6.Seperate the stack
...
Version (Make sure you are on the latest version before reporting):

Minecraft: 1.10.2
Forge: Something
Refined Storage: 1.1.1

Does this issue occur on a server? [yes/no]
Yes
P.S. I also contacted the Everything Blocks dev about adding a blacklist or not uncrafting into stacks, but he is not very active. so maybe you could implement a way to detect if the stack is more than one, and separate them like the old AE did.

This seems like an issue that needs to be fixed on Everything Blocks Mods side. As they are creating the ItemStack. The drive has a max stack size of one and that is something that mod should respect.

It does have a stack of one limit when i click the stack in and not shift click, but shift clicking in does not separate them like it did with AE1/2. but yea i contacted the mod dev of everything blocks but hes not active really at all. https://minecraft.curseforge.com/projects/everything-blocks/issues/11

Not an RS issue

kinda is, you everything blocks is not the only mod that can stack items... but its easy for you to impliment

We can't change how recipes work in an other mod. The Everything Blocks is creating invalid ItemStacks. There is no such things as separating them while crafting that is handled by the recipe, but usually they respect the max itemstack.

You are supposed to make them un-stack when you shift click into the storage drive, not craft/uncraft.  There is no point in fixing a bug that an other mod introduces. It is like saying you fridge should fix the packaging issues of fruit. It makes no sense what so ever.

But its not the other mods fault......... tons of other mods stack items, but your mod should not allow you to put stacks of drives in the bay, or be duplicating the items onto all the drives. although you don't think so, this is your bug. but i'm starting to think you cant code, your just a script kiddie

@ShayBox Oh is this where we are taking this now? I'm the one that can't code?


Ora 00001 on collection

I'm testing the main application, i will try to replicate it on the test, but it will be difficult.
Still trying to understand how to get the error.
I have a Lov with a dynamic action execute pl/sql set another lov, only the first time i get the error

Nice work with the new debug system.

Same error on submit page of a null lov

@michele-pauluzzi
Without reproduced error at apex.oracle.com its like guessing. At least describe step by step scenario with detailed info:

dynamic actions list with types, conditions etc
dynamic action true actions code / screenshot
how many fields are affected (types, source etc)

It is hard to decode the language I don't speak ;-) I think there is simple answer for this issue but I need at least detailed implementation to inspect.

I know, but i'm still trying to reproduce the step to get the error.
For now it's a bit of random.
For example i got a deadlock on the collection one time simply changing the selection on the lov over and over again,

I think there is an asynchronous update of the collection and the lov.
The dup-key and the deadlock maybe are correlated to that?

@michele-pauluzzi
As I wrote, I need to see what events you are listening to via dynamic action and what you are executing in Execute PL/SQL code. Right now its guessing for me.
Even if you are not able to provide valid scenario to reproduce the issue then recreate those components at apex.oracle.com using dept / emp and let me see the implementation.
I would say it's not related to the plugin but to your dynamic action implementation. I need to see the configuration to say more.

Related to the asynchronous update,
Go to lov page and press 1. Empty button repeated times.
Sometimes the value will remain on the lov.
Workspace: mpgpi
User: demo
password: demodemo

ok, but there is no collection involved. In your first comment, you have put screenshot with the error which involves collections
APEX_190200.WWV_FLOW_COLLECTIONS_UK

is it related to the example page? Because I think those are two separate scenarios.
In case of error regarding collection.
this error is usually raised when a collection is not yet created (not all members are populated) and you want to create it again.
In case of remaing tag after executing your dynamic actions
This is not related to the plugin and should not be considered as the plugin bug. In your demo page you have bound items via

cascading lov functionality,
setting value from dynamic action which results in performing ajax to retrieve display value
nulling items via execute pl/sql code

I think it is very abstract example which purpose I can't see. Yes, you are performing multiple ajaxes. What do you want to achieve?
Please clarify the issue because right now I don't see the plugin bug :-)

I'm just trying to replicate the problem and see if it's related to the asynchronous update or not,
In the first image the item Luogo nascita, where there is a double tag, is set via pl/sql and it is in cascading lov with Data Nascita and Forza Luogo Nascita, the two previous items.

In this example you can see how the lov and the collection remain with the value selected.
The simple lov have a dynamic action pl/sql to set to null the other two lov when the value change, with the option suppress change event enable.

I found out the problem displayed in the last image.
(A) Simple lov --> (B) plugin lov with cascading option on (A) --> (C) another plugin lov with cascading option on (B).
Removed the cascading option to (C) on (B) and the problem was solved.
For the errors in the first two post:
Item with a dynamic action on change --> execute pl/sql set item value (A) (B) (C)--> (C) plugin lov with cascading option on (A) (B), --> code of the plugin get fired three time and you get the primary key error on the collection.

the dup_val_on_index error can be fixed by changing the line
APEX_COLLECTION.CREATE_OR_TRUNCATE_COLLECTION( v_collection_name );

to
begin
APEX_COLLECTION.CREATE_OR_TRUNCATE_COLLECTION( v_collection_name );
exception
  when dup_val_on_index then null;
end;

This are all different lov type, classic, select2 and enhanced.
They are all on cascading with the previous one,
"Motivo" with "Tipo pratica"
"Utente" with "Tipo pratica" and "Motivo"
and so on.
There isn't a dynamic action, only lovs with the cascading option.
As you can see, the update on the enhanced lov type is triggered several times, one for each change on the previous element.
You can see the same for the select2 lov type at the end of the video.
This can trigger ora 00001 in the collection at
APEX_COLLECTION.CREATE_OR_TRUNCATE_COLLECTION
or
APEX_COLLECTION.ADD_MEMBERS
adding
exception
when dup_val_on_index then null;
you can fix it

@michele-pauluzzi
Thank you for this detailed analysis. Before I add this exception I need to check JavaScript regarding performing AJAX calls in case of multiple parent cascading lov items. What I can see right now is that I haven't implemented canceling AJAX in case of cascading LOV. Will get back to you as soon as I can tell more.


Run search and return basic results

Added scraping of basic results and return them in an array of objects

@dietbald thanks for contributing. I'm not merging this as we already have clear examples of scraping content.  I want to keep each example as focused and small as possible.


Twitter bridge doesnt load media, marked as nsfw

Describe the bug
When some twitter post contain artworks, marked by author as nsfw - feed will only include link to said post, instead of actual media
To Reproduce

Subscribe via bridge to any user that posts nsfw-marked content on twitter (I've used "disable image scaling", "without retweets" and "without replies" as additional options, but these dont seem to affect problematic behavior). Say, some artist.
Update your rss client's feed to get at least one message marked like that (client doesnt seem to matter, for as long as it can show multimedia inside feeds).
Content of posts, marked to contain sensitive material, wont load properly but provide you link to original post instead.

Expected behavior
Media from marked posts should load the same way, as from non-marked. Maybe add switch to toggle such behavior on feed's creation (this would be the best solution, actually)

@moonburnt Is this still an issue?

Twitter has made recent changes (in the last two/three months) where nsfw posts are often not even showing up at all in the search results. The only solution I've found is to use a unique Bearer token, a feature I have implemented in a new Bridge that uses the Twitter API v2. See #2471


Fix/campground card style

📋 Description
When performing a search using the search bar, the camp cards do not have a good user-friendly design. This only happens in device views larger than 768px. I have decided to make a small fix to the card styles so that the cards maintain their design on both mobile devices and computers.
🔨 Changes Made

Remove class on camp card after using the search bar
Adding styles to the image to make it responsive

✅ Checklist
Before submitting the PR, please make sure you have completed the following:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation (if applicable).
[x] My changes generate no new warnings.
[x] I have tested it locally and it works fine.
[ ] Any dependent changes have been merged and published in downstream modules.

🏷 Types of Changes
What type of changes does your code introduce? (Check all that apply)

[ ] Bug fix (non-breaking change which fixes an issue) 🐛
[ ] New feature (non-breaking change which adds functionality) ✨
[x] UI enhancement (non-breaking change which enhances UI) 🎨
[ ] Documentation update 📚

📸 Screenshots (if applicable)

Before:

After:

Reminder:
Please ensure your pull request is made to the test branch, not main.
Thank you for contributing to VigneshDevHub! We look forward to reviewing your PR and getting it merged!

Thankyou for Contributing!


Update to use firebase 3.0 (firebase.google.com)

This is a great set of starter elements - would love to see them updated to the new Firebase!

Hi @MeTaNoV feel free to have a look at my fork at https://github.com/helmuthb/firebase-element-extended/tree/firebase3 - not ready for a pull request but at least it does what I needed

Hi @helmuthb , I will take a look, and it should not be that complicated to do, I just need to find the time to do it properly! :)

@helmuthb I did a PR out of your contribution, many thx and will continue with the missing part! Feel free to test when I'll tag a new release!


Broadcast notifications: JSON encode payload. Error code: 5

Laravel Version: v7.29.3
PHP Version: 7.4.5
Database Driver & Version: MariaDB

Description:
Broadcasting notifications seems to have trouble with invalid JSON content although returning the same content as JSON response doesn't throw issues. Does the framework miss any JSON or encoding options here?
Steps To Reproduce:
Use notification broadcast channel with invalid JSON payload (we couldn't find any invalid characters in our data attributes yet).
Stack trace:
Illuminate\Queue\InvalidPayloadException: Unable to JSON encode payload. Error code: 5 #46 /vendor/laravel/framework/src/Illuminate/Queue/Queue.php(97): Illuminate\Queue\Queue::createPayload #45 /vendor/laravel/framework/src/Illuminate/Queue/RedisQueue.php(91): Illuminate\Queue\RedisQueue::push #44 /vendor/laravel/framework/src/Illuminate/Queue/Queue.php(46): Illuminate\Queue\Queue::pushOn #43 /vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastManager.php(128): Illuminate\Broadcasting\BroadcastManager::queue
Queue:97
$payload = json_encode($this->createPayloadArray($job, $queue, $data));
     if (JSON_ERROR_NONE !== json_last_error())
         throw new InvalidPayloadException(
              'Unable to JSON encode payload. Error code: '.json_last_error()
        );
}

Possible solutions:
Adding json encode options? Or encode the content before? How does the Laravel JSON response encode content?

Have you tried different flags on your end to see if any particular thing fixes it?

Haven't had the chance yet since I would have to push that thing to production and wasn't able to recreate an environment for it locally.
But about the flags: What flags does Laravel use for its default JSON responses? Since they never fail at all.
I was checking for Symfony's JsonResponse to get some idea, it goes for:
// Encode <, >, ', &, and " characters in the JSON, making it also safe to be embedded into HTML.
// 15 === JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_AMP | JSON_HEX_QUOT
const DEFAULT_ENCODING_OPTIONS = 15;

protected $encodingOptions = self::DEFAULT_ENCODING_OPTIONS;

In general: JSON encoding options for HTTP responses and broadcasts should be the same - what do you think?

Yes, I went for different flags and pushed that thing to production (since I don't have a proper environment to re-create that case yet).
In our Response.php we use the following encoding: JSON_INVALID_UTF8_IGNORE | JSON_UNESCAPED_UNICODE
I added this to Queue.php 97 (see above) which json_encodes the broadcast payload. $payload = json_encode($this->createPayloadArray($job, $queue, $data), JSON_INVALID_UTF8_IGNORE | JSON_UNESCAPED_UNICODE);
And the error was gone. But...
Queue is now going crazy unserializing the job again, throwing: unserialize(): Error at offset 2109 of 44945 bytes. So the payload still seems corrupt then.


Introduce new global autoincrement counter.

One of the pre-requisites for https://github.com/crate/crate/issues/4457

Hi @mfussenegger, could you have an early look to this draft?
This PR adds OID.
We will be able to re-add column with same name once we introduce isDropped flag,
similar to pg_catalog.pg_attribute.attisdropped
From  https://www.postgresql.org/docs/current/catalog-pg-attribute.html

This column has been dropped and is no longer valid. A dropped column is still physically present in the table, but is ignored by the parser and so cannot be accessed via SQL.

isDropped will be false by default, DROP COLUMN will issue a request with Reference having isDropped true  - so we will overwrite the flag.
Add column logic->exists check will be tweaked not to consider column name "busy" if flag is true.
We will be still able to resolve References by name with smth like tableInfo.getReference(column.ident()), this will work "as is" as name uniqueness is invariant, For example. can resolve perf by name and then get ref.oid before writing to the source in Indexer.
Will need to use OID only in storage touchpoints - will be done as a follow up after another sync.
TODO:

remove _raw optimization
metadata upgrade
fix https://jenkins.crate.io/job/CrateDB/job/crate_on_pr/6675/testReport/io.crate.integrationtests/DynamicMappingUpdateITest/test_concurrent_statements_that_add_columns_to_partitioned_table_result_in_dynamic_mapping_updates/
it currently fails with  Existing reference b has no OID.

This happens only on partitioned tables, maybe has smth to do with default mapping removal (had some issues with tests in this area). This is clearly a bug but would be really good to get some early feedback in general.

Overall it would be really good if we could spend some effort on first refactoring a couple of components to isolate the mapping structure more.
It would be really good if we had fewer components that we need to touch just to add a single field to columns.

Could you please elaborate? Some changes looks inevitable, FieldMappers have to be aware about new property.
Are you referring to https://github.com/crate/crate/issues/11939 i.e do not have 2 places to update OID (and mappings in general)?

This has to be re-written once https://github.com/crate/crate/pull/13934 is done


Documentation fixes: more section+less clutter

#15 Fix by divide documentation in several parts

Looks good , now add:

get the get/post one merged and merge that here
add content/description to each section

This does the job: https://ashwani-rathee.github.io/Firebase.jl/previews/PR20


where is the model weights

It notes no Pretrained model path, can you tell me where is it?

The model weights of CLPI program. I can not find it 。


Input extensions doesn't work under Configure Formats

I wanted to mass transcode flac files into m4a with qaac (qaac can read flac directly, without the need to create an intermediate wav file), so I specified the following at Output Formats -> M4A (MPEG-4/AAC) - qaac:

Input extensions: WAV,FLAC

But transcoding doesn't start:

in Status column: Error: progress did not reach 100%
and in the console window (probably): input format is not supported

I copied libFLAC.dll into BatchEncoder-x64\tools\qaac_2.64\qaac_2.64\x64\ directory, and qaac64.exe uses it if you fire it up manually:

BatchEncoder-x64\tools\qaac_2.64\qaac_2.64\x64\qaac64.exe *.flac

Thanks for this outstanding util!

Wieslaw, it's not related to this issue, but just popped in my mind:
since you properly create/label "tickets" for everything, you can generate a changelog file from them.
E.g. This changelog file is generated by github changelog generator if you have already created issues (tickets), properly labelled them and set them into a milestone; and you can copy-paste it into the release notes, that's the config I use for it.
If you like it use it and feel free to ask about it. :)

@chros73 Thanks for this. I was thinking about automating this task, but I prefer to have changelog created by hand. My issues not always are good indicator of higher level changes made in project.

I understand this, that's why it has a directive in its config called: exclude-labels
Of course you have to go through all your existing issues (even closed ones as well) and add those labels to it.


onDidChangeDiagnostics throws error

Testing #48411
When using the vscode.languages.onDidChangeDiagnostics, I see the below error.

I am testing using a sample extension in dev mode (i.e F5 on the extension's code)
This doesnt happen when using vscode.languages.getDiagnostics in the absence of  vscode.languages.onDidChangeDiagnostics

Since onDidChangeDiagnostics is available in the vscode.d.ts it is no longer in "proposed state" and should be available for use.

Thanks @mjbvz


Local date-format is slow to load

Description of the bug
It appears that moment.localeData().longDateFormat('L'), which is used to get the users local date-format is not returning the users actual date-format immediately. It seems to return a default at first. This results in showing the wrong dateformat on refresh, and then getting fixed when the component rerenders.
logging moment.localeData().longDateFormat('L') to the console on refresh:

On refresh:

After rerender:

Steps To Reproduce

Have the browser configured to use non-english language with a different date-format (like norwegian)
Have a date-component in a repeating group
Fill in some data
Refresh (should now show incorrect format)
Open and save a row (should now show correct format)

Additional Information
No response

org/ssb

Ser ut som det funker som det skal nå.


Does not work in REDDIT.

Title says it all. Reddit is blocking pasting in message texts.

@Ratteler, can you be more specific about where Reddit is blocking paste? I cannot reproduce the problem on their site, and that's with the extension disabled.
If there is a specific area of the site where they block paste, can you confirm you have the extension active for reddit?

Closing due to inactivity.


Minor edit with only one public version breaks translation status

Describe the Bug

When I publish a translation (from draft to published) with the tick set at small edit, the status is not updated
Steps to Reproduce

Go to a page with translation (in draft status)
Click on any translation
Change something
Put the tick at small edit
Press update/publish

Expected Behavior

The current version, as indicated in the timeline, should be the one which is published. If the status was draft, the status should change to published after clicking publish.
Actual Behavior

In the case of a draft page, the status is not changed.
Additional Information

I can try and make a video to show the behaviour
Possible solution in the case of updating a draft page - automatically disable/ignore the small edit check box once published is pressed as generally the intention upon pressing publish should be that the page is published.
In the case of an already published page, the check box should not affect the delivered version.

I have tried to reproduce the bug in the following steps:

create a new page and publish it (one public version, version 1).
make some changes and save it as draft (translation in draft status, version2).
make some changes and publish it as minor edit (version3).

All those are done in the german version.
The translation version3 is marked as published and also as the version shown in the app.
Though "translation missing" is shown.
Is this "translation missing" the problem?
The status change between draft and published seems to be working.

The translation version3 is marked as published and also as the version shown in the app. Though "translation missing" is shown.
Is this "translation missing" the problem?

Yes, I think this is essentially the same problem as in the initial issue description.
Another way to reproduce the bug is to create a page as public, then without making changes click on "minor edit" and "update" - then, it's still only one version, which is both public and minor, which seems to break the status.

Ah, ok. Thank you. Now I got it :)

@osmers we need to revisit this. Initially you stated:

When I publish a translation (from draft to published) with the tick set at small edit, the status is not updated

However, this is exactly what the "minor edit" function is about. If you want to update the translation status, the "minor edit" should not be checked.
Maybe we need to rename "minor edit" to "ignore in translation status" ?

Whether a page is a draft or published should have no influence on the state of a translation.

That's not entirely correct, since we defined draft versions as "missing" translation because they are not shown in the apps.
So when there are only draft versions, and then a minor change is made (e.g. changing a typo in the German text) and directly published, the translation state should change from "missing" to "up to date", even if the latest version is only minor. This is essentially what this ticket is for.
My suggestion in this case was to publish all past versions as well, but only if the publish button is clicked...

Alright, then I would reason that we should get rid of this agreement. This behavior is not directly derivable from the functionality and needs additional knowledge.

Ok, debatable. On the other hand, it prevents simple misunderstandings like "I see a green check mark, so why is the page not shown in language xy?"... When implementing this feature, the service team already put quite some thought in the existing conventions (which does not make them unchangeable for all eternity, but we should at least consider the original arguments).

Why not simply NOT check the minor edit checkbox? I think we're complicating the usage of this functionality by introducing conventions. And maybe that is a good example why we should rename the checkbox to something that actually explains what it is supposed to do?

Well, let's consider the following scenario: German and English are up to date, but in draft state. Then, they notice a typo in the German text, fix it and decide it's now time to publish the page. If they don't mark it as minor edit, the English translation will be marked as outdated as soon as it's published, even if it isn't, because the typo change does not require a change of the translation.
I'm open for renaming the checkbox, but I don't think it solves our problem (and I think the existing help text explains what's happening pretty well)...

Well, let's consider the following scenario: German and English are up to date, but in draft state. Then, they notice a typo in the German text, fix it and decide it's now time to publish the page. If they don't mark it as minor edit, the English translation will be marked as outdated as soon as it's published, even if it isn't, because the typo change does not require a change of the translation.

Well, if you forget to set the checkbox then there is not much that can be done, right? Then you need to hit the Save button for the translation as well without the minor edit button. That should fix it, doesn't it?

Well, if you forget to set the checkbox then there is not much that can be done, right?

I didn't mean that one might forget to click the checkbox, but wanted to argue that your suggestion "why not simply NOT check the minor edit checkbox?" wouldn't make sense here :sweat_smile:

Then you need to hit the Save button for the translation as well without the minor edit button. That should fix it, doesn't it?

Yes, this is a workaround, but when there are 20 translations, this becomes a very tedious task. I would much rather prefer that the status is set correctly in the first place.
But this topic is kind of crazy, I'm not sure I completely understand it :see_no_evil:

But this topic is kind of crazy, I'm not sure I completely understand it see_no_evil

I sadly feel the same. I cannot wrap my head around all possible scenarios. That's why I created this list in https://github.com/digitalfabrik/integreat-cms/issues/1622#issuecomment-1204932908

Yes, this is a workaround, but when there are 20 translations, this becomes a very tedious task. I would much rather prefer that the status is set correctly in the first place.

For such a use case we could introduce a bulk action for marking multiple translations as up to date?

I am sorry I'm late to the conversation - it seems like you already fixed it? Or found a solution? I just tried again and the issue persists (probably bcs the release where this is fixed isn't through yet?).
I'm not sure how relevant this issue is since I don't think we had this problem with a Kommune yet...I think it is just the definitions of translation status that we have and what Kommunen would understand are different.
Published vs. draft to them IS NOT a translation status to them
up to date vs outdated IS a translation status
So marking the check box I would pressume that clicking publish should still publish the German page (even if there are no other translations yet) - but it does not do that.
And yes, you are right @svenseeberg - they can just uncheck the box, but if their understanding is different, then that might not happen.
Also, if I try and publish a page while having the check box active the blue button does change from publish to update even though the status in the language tabs is shown as missing (however, the status label reads published)

There is something else that I noticed - but I will leave it be for now, bcs this is already complicated enough and the new issue is probably something that will never come up.


still have some Bluetooth headset issues with the 0.7.04-dev

reported by @p-a:riot.ititx.com
https://github.com/matrix-org/riot-android-rageshakes/issues/1288
https://github.com/matrix-org/riot-android-rageshakes/issues/1285

https://github.com/vector-im/riot-android/commit/dfdaef21d8a34b9abe41b8342bb7b55f96bb2a82 should help


Open Telemetry : CPU  and Memory Usage tracking

What do we want to collect? (as Implemented in java SDK)

Metric Name
Unit
Metric Type
Description

cosmos.client.system.avgCpuLoad
Percent
95th, 99th + histogram
SDK measures avg. system-wide CPU every 10 seconds. This meter captures the 5-second avg. CPU usage measurements.

cosmos.client.system.freeMemoryAvailable
MB
None
SDK measures free memory available for the process in MB every 10 seconds. This meter captures the 5-second measurements.

Available Open Telemetry Compatible Packages
NuGet Gallery | OpenTelemetry.Instrumentation.Runtime 1.9.0
Usage: https://github.com/open-telemetry/opentelemetry-dotnet-contrib/blob/main/examples/runtime-instrumentation/Program.cs
Metrics List: https://github.com/open-telemetry/opentelemetry-dotnet-contrib/blob/main/src/OpenTelemetry.Instrumentation.Runtime/README.md
NuGet Gallery | OpenTelemetry.Instrumentation.Process 0.5.0-beta.6
Usage: https://github.com/open-telemetry/opentelemetry-dotnet-contrib/blob/main/examples/process-instrumentation/Program.cs
Metrics List: https://github.com/open-telemetry/opentelemetry-dotnet-contrib/blob/main/src/OpenTelemetry.Instrumentation.Process/README.md#step-2-enable-process-instrumentation
.NET extensions metrics - .NET | Microsoft Learn
Metrics List: https://learn.microsoft.com/en-us/dotnet/core/diagnostics/built-in-metrics-diagnostics#microsoftextensionsdiagnosticshealthchecks
In-Built Metrics: https://learn.microsoft.com/en-us/dotnet/core/diagnostics/built-in-metrics-runtime
What we need in Cosmos DB SDK?
We have observed that brief CPU spikes in the past have negatively impacted the customer experience. While existing libraries allow us to capture CPU usage at intervals, such as every minute (depending on the capabilities of the exporter), we require more granular data on CPU and memory usage.
Proposal: Enhance the SDK by introducing custom CPU and memory usage metrics. These metrics will collect and record data every 10 seconds, generating a histogram of the values, as outlined above.

It's an anti-pattern to emit runtime metrics in client-specific instrumentations. .
The interval at which metrics are collected is configured by users, not instrumentations - https://github.com/open-telemetry/opentelemetry-dotnet/blob/0343715f49ac8e121ec39acd92f8d5572b3d036d/src/OpenTelemetry/Metrics/Reader/PeriodicExportingMetricReaderOptions.cs#L47.
Cosmos measuring things more frequently will have no effect on the users who will aggregate and export at the interval user has configured - https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#metricreader-operations

After discussing with the team, we've decided to proceed without implementing custom CPU and memory metrics in the SDK, and will rely on the metrics provided by the .NET libraries. We can revisit this decision in the future if needed.


nixos/gnupg: add dbus dependencies for gnome3 pinentry

Motivation for this change
pinentry.gnome3 doesn't work without gcr in dbus.packages.
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS,
Built on platform(s)

[X] NixOS

[X] Tested that pinentry works after this change.
[X] Fits CONTRIBUTING.md.

Notify maintainers
cc @globin

@jtojnar I guess this was the dbus issue @fpletz noticed. I wonder if we should be adding this in other modules.

Possible. What other modules do you have in mind?

I'm thinking gnome-keyring and services.gnome3.core-os-services. Basically wherever something depended on gcr somehow pulling this in.

@worldofpeace it is already being done in gnome-keyring module.

Ah right, it is
https://github.com/NixOS/nixpkgs/blob/2f92befaf366545532484bd58799892a0d6d5f5b/nixos/modules/services/desktops/gnome3/gnome-keyring.nix#L36
But should that be promoted to core-os-services as well? as someone could disable gnome-keyring but still need gcr dbus services.

@worldofpeace done

Thanks for fixing this @urkud :stars:


Travis saucelabs

execute end-to-end tests with saucelab on ci

Coverage remained the same at 82.927% when pulling 9645dfe9ea603a5e69246adfdfb8b9d7882b4483 on travis-saucelabs into c6273f0e121badb4f8fa497393b243066826ab91 on master.

Coverage remained the same at 82.927% when pulling 72c5bef2f0d2c0d96d29d60e1bbb6a8bf12ce17e on travis-saucelabs into c6273f0e121badb4f8fa497393b243066826ab91 on master.

Coverage remained the same at 82.927% when pulling 51d2a0bf768a36b0ee92bef211d45864dd24063b on travis-saucelabs into c6273f0e121badb4f8fa497393b243066826ab91 on master.


enhanced_readme

Fixes: #46
Added enhanced readme.md file
Closes: #46

Changes looks good. Please use git amend command to squash the commits into one so we can merge the PR.

Changes looks good. Please use git amend command to squash the commits into one so we can merge the PR.

Hey @dvjsharma , Kindly review the changes .

I cannot see the squashed commits. Please merge the commits.

I cannot see the squashed commits. Please merge the commits.

I cannot see the squashed commits. Please merge the commits.

I used these command to merge commits  but unable to find where I did mistakes , would you please help.

No worries, I think I can do it from my end as well. As a general note, do study about amend commands. Many open source organizations have this as a convention.


(Task) Implement minimum sizes for the create account route.

References user story #1
There should be a minimum size that the create account route supports. I'm thinking of making this minimum be the size of an iPhone SE.

Hello, I tried to solve the issue.
This is what I did:
Modified the CSS to ensure the create account page has a minimum width and height that matches the dimensions of an iPhone SE (320x568px). Added media queries to adjust styling for smaller screens.
You can review changes in this commit: https://github.com/lattaai13/Dylan-Gresham-BookTrack-44/commit/d8fc8e25129e251e053d896d43067fb70402c707.

[!CAUTION]
Disclaimer: The commit was created by Latta AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

This issue was tried to solve for free by Latta AI - https://latta.ai/ourmission
If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.


When working with EKS you can't specify the ASG desired capacity

Component
Version

Rancher
v2.2.5

User Interface
v2.2.89

Helm
v2.10.0-rancher11

Machine
v0.15.0-rancher8-1

Setting Min 1, Max 2
Actually sets the stack as follows
NodeAutoScalingGroupDesiredCapacity | 3 |
NodeAutoScalingGroupMaxSize | 2 |
NodeAutoScalingGroupMinSize | 1 |
And errors
Originally reported in rancher/rancher#21611

This issue was indirectly addressed by rancher/rancher#22097. The UI was refactored to only expose the desired size of ASG instead of providing a min and a max.


Terminal/Problems/Output buttons are pushed off-screen on Right

Issue Type: Bug
Actual Results
When you click the button "Move to Right" to move the Termnal, Problems, or Output windows to display vertically on the right side of the screen, these windows will hide some of their menu buttons (at the top of this vertical split) if the window is resized too narrowly. This is especially annoying because it can hide the button to switch the windows to the horizontal on bottom layout.
This doesn't seem to affect the Debug Console--it snaps closed before getting too narrow to show the buttons.

Expected Results
I expect 1) all of the buttons to show and prevent the windows from being narrowed beyond this level or 2) the buttons to "stack" into some sort of drop down button.
VS Code version: Code 1.26.1 (493869ee8e8a846b0855873886fc79d480d342de, 2018-08-16T18:34:20.517Z)
OS version: Linux x64 4.10.0-42-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-7900X CPU @ 3.30GHz (10 x 1599)

GPU Status
2d_canvas: unavailable_softwarechecker_imaging: disabled_offflash_3d: unavailable_softwareflash_stage3d: unavailable_softwareflash_stage3d_baseline: unavailable_softwaregpu_compositing: unavailable_softwaremultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: unavailable_softwarevideo_decode: unavailable_softwarevideo_encode: unavailable_softwarewebgl: enabled_readbackwebgl2: unavailable_off

Load (avg)
1, 1, 1

Memory (System)
62.60GB (56.59GB free)

Process Argv
/usr/share/code/code

Screen Reader
no

VM
0%

Extensions (2)

Extension
Author (truncated)
Version

python
ms-
2018.7.1

Go
ms-
0.6.88

Ah, this is a duplicate of https://www.github.com/Microsoft/vscode/issues/55944. My apologies.

https://github.com/Microsoft/vscode/issues/46017


Number 256 is blank

http://commits.top/finland.html
It's like that on every page I checked.

Thanks for the heads up - this is quite interesting, as it only seems to affect the binary version on Linux. Will investigate further and fix.


changed retain to scan stream

Changed createRetainedStream to scan-stream to check performance.

how is the perf?

@mcollina Did not find any appreciable change at my end . I think we should get @rasalsantosh to check it in his environment.


What was the AUC and accuracy for the code?

@DG2025 you should be able to reproduce the results reported in the paper with the model ckpt provided at:
https://github.com/baidu-research/NCRF/tree/master/ckpt

Yes, I was able to do that, thank you!


Android badge count

Android badge count is not supported by default, but is does appear to be somewhat standardised.
One method is using https://github.com/leolin310148/ShortcutBadger/ to off-load setting the badges, but it seems that the most popular phones use android.intent.action.BADGE_COUNT_UPDATE to set the badge. Example from DefaultBadger:
private static final String INTENT_ACTION = "android.intent.action.BADGE_COUNT_UPDATE";
private static final String INTENT_EXTRA_BADGE_COUNT = "badge_count";
private static final String INTENT_EXTRA_PACKAGENAME = "badge_count_package_name";
private static final String INTENT_EXTRA_ACTIVITY_NAME = "badge_count_class_name";

public void executeBadge(Context context, ComponentName componentName, int badgeCount) throws ShortcutBadgeException {
   Intent intent = new Intent(INTENT_ACTION);
   intent.putExtra(INTENT_EXTRA_BADGE_COUNT, badgeCount);
   intent.putExtra(INTENT_EXTRA_PACKAGENAME, componentName.getPackageName());
   intent.putExtra(INTENT_EXTRA_ACTIVITY_NAME, componentName.getClassName());
   context.sendBroadcast(intent);
}

Would it be possible to implement push.setApplicationIconBadgeNumber(), using this intent?

@barryvdh marking as duplicate of #190 but working on merging #624 into branch v1.7.x right now.

hi macdonst,
Where I can find v1.7.x ?

@YaroslavG it is a branch of this github repo. Not released to NPM yet.

can I use it and will work android badge?

Yes, you can also require a branch by adding the git repo als plugin, with #v1.7.x appended

ok, thanks

macdonst,
Hi, I can install plugin from your branch or I need change files in plugin?


Adding More Dynamic Programming problems

Description
I want to add more questions similar to equal sum partition problem like count of subsets with sum equal to given sum, minimum sum partition problem etc.
please assign this issue to me under gssoc 22.
Domain
Algorithm
Type of Contribution
Addition
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of LearnCPP.

@Lakhankumawat please assign this issue to me.

/assign

Please review my Pr #1213


Tapable.plugin is deprecated. Use new API on .hooks instead

How do you do away with this warning?

@hpugongying  你可以参考官方这个 issues
https://github.com/webpack/webpack/issues/6568


api: Add vpc name and uuid to VMs list response (nics) and nics response

Description
This PR adds vpc info to the nics response as part of list VMs response and list nics response
Addresses: https://github.com/apache/cloudstack/issues/6452

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[X] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[X] Minor

Screenshots (if appropriate):
How Has This Been Tested?
listed VMs and nics for a VM belonging to a VPC network:
(localcloud) 🐱 > list virtualmachines id=9c762cf8-7742-48df-bc57-43bf126d3471 filter=nic,
{
  "count": 1,
  "virtualmachine": [
    {
      "nic": [
        {
          "broadcasturi": "vlan://167",
          "deviceid": "0",
          "extradhcpoption": [],
          "gateway": "<IP_ADDRESS>",
          "id": "a703d827-4b5a-46e4-b9ea-8cd2aaafbc26",
          "ipaddress": "<IP_ADDRESS>",
          "isdefault": true,
          "isolationuri": "vlan://167",
          "macaddress": "02:00:28:aa:00:01",
          "netmask": "<IP_ADDRESS>",
          "networkid": "02ad6bac-1cd6-461a-a951-8934bffd4eb9",
          "networkname": "n1",
          "secondaryip": [],
          "traffictype": "Guest",
          "type": "Isolated",
          "vpcid": "e74c44c9-aad7-4c0e-adbe-912d980c2f28",
          "vpcname": "v1"
        }
      ]
    }
  ]
}

@blueorangutan package

@Pearl1594 a Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 3568

@Pearl1594 a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@Pearl1594 can you please rebase and target to the 4.17 branch?

Trillian test result (tid-4322)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 42216 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6454-t4322-kvm-centos7.zip
Smoke tests completed. 97 look OK, 1 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers
Failure
462.77
test_vpc_redundant.py


Game view - redesign

[x] create navbar with the information about game status
[x] make different mode for detectives & Mr X
[x] signify when it's user's turn to make a move
[ ] display last location of Mr X

Optional:

[ ] insert spinner while all elements of the game are uploaded
[ ] sound effects to signify users turn and progress of the game
[ ] use hover effects

Time estimate: 4-8 h
This task is part of user story: #16, #

[ ] add colours to tickets
[ ] change chat icon

[ ] add a button to navigate to your figure on the map

[ ] Should the card of Mr X be always visible?
[ ] Transport Buttons: make the number of buttons bigger


use rattler build

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe/recipe.yaml) and found some lint.
Here's what I've got...
For recipe/recipe.yaml:

❌ The top level meta key schema_version is unexpected
❌ There are 1 too many lines.  There should be one empty line at the end of the file.
❌ Recipe maintainer "TheOriginalAlex" does not exist

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/11983712967. Examine the logs at this URL for more detail.

Hi! This is the friendly automated conda-forge-webservice.
I tried to rerender for you but ran into some issues. Please check the output logs of the GitHub Actions workflow below for more details. You can also ping conda-forge/core (using the @ notation) for further assistance or you can try rerendering locally.
The following suggestions might help debug any issues:

Is the recipe/{meta.yaml,recipe.yaml} file valid?
If there is a recipe/conda-build-config.yaml file in the feedstock make sure that it is compatible with the current global pinnnings.
Is the fork used for this PR on an organization or user GitHub account? Automated rerendering via the webservices admin bot only works for user GitHub accounts.

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/11983714514. Examine the logs at this URL for more detail.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/recipe.yaml) and found it was in an excellent condition.


Added Mollie topic.

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md

I am:

[ ] Suggesting edits to an existing Topic page
[x] Curating a new Topic page

EDITING AN EXISTING TOPIC PAGE*
I'm suggesting these edits to an existing topic:

[ ] Image (and my file is *.png, square, dimensions 288x288)
[ ] Content (and my changes are in index.md)

Please explain why these changes are necessary:
CURATING A NEW TOPIC PAGE

[x] I've formatted my changes as a new folder directory, named for the topic as it appears in the URL on GitHub (e.g. https://github.com/topics/[NAME])
[x] My folder contains a *.png image (if applicable) and index.md
[x] All required fields in my index.md conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

Please explain why you think this Topic page should be curated:
Mollie open sourced all of its API clients on Github. There are also a lot people in the open source community who create their own oAuth apps, API clients, etc. I believe listing Mollie in Github topics would be a great addition.
Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

@vernondegoede Are you either a maintainer of the project or have any paid relationship with Mollie?

Yes, I have a paid relationship with Mollie.

Hi @vernondegoede. I'm really sorry about this but we're passing on this topic for now. We've added to our README to note about conflict of interest and it's also not a very widely used topic today.


agenix edit failure

I update my Flake today, and I was working on adding a new secret, but running agenix edit produced this error:
error: builder for '/nix/store/n6q3z6k66zpz35cvqczd6zpv4rhg68x1-ageWrapper.drv' failed with exit code 1;
       last 7 log lines:
       >
       > In /nix/store/6j670hpqw2034lda12ly9gb9w1xs58c7-ageWrapper/bin/ageWrapper line 21:
       > for file in '/nix/store/q3sz5b3dknlr8d1hg9iwdf0lsck34xky-kgl3n0n266cf1vfcvmb555kxdk479099-source/modules/nixos/common/files/yubikey.pub'; do
       >             ^-- SC2041 (warning): This is a literal string. To run as a command, use $(..) instead of '..' .
       >
       > For more information:
       >   https://www.shellcheck.net/wiki/SC2041 -- This is a literal string. To run ...
       For full logs, run 'nix log /nix/store/n6q3z6k66zpz35cvqczd6zpv4rhg68x1-ageWrapper.drv'.
error: 1 dependencies of derivation '/nix/store/703isiasbd05il8yl7nh9ywaxzh1ifb6-agenix-edit.drv' failed to build

Reverting my flake.lock to the previous version clears the error. There might be a breaking change somewhere in agenix-rekey.

Seems like this is an edgecase that slipped by during my testing of #28. However I also just saw that @oddlama seems to have run into your issue already. Should be fixed in https://github.com/oddlama/agenix-rekey/commit/4551006c2807ab361ea4db5e171afb4798da4fc2, sorry for the inconvenience!

Yep I just fixed that, sorry for the inconveniences 😅


[Feature]: Route guids should be valid UUIDs

Blockers/Dependencies
No response
Background
As a CF API client I want routes to have guids that are valid UUIDs so that existing client implementations can safely treat route guids as UUIDs
Acceptance Criteria
GIVEN Korifi is deployed
WHEN I create a route by
curl "https://api.example.org/v3/routes" \
  -X POST \
  -H "Authorization: bearer [token]" \
  -H "Content-type: application/json" \
  -d '{
    "host": "a-hostname",
    "path": "/some_path",
    "port": 6666,
    "relationships": {
      "domain": {
        "data": { "guid": "domain-guid" }
      },
      "space": {
        "data": { "guid": "space-guid" }
      }
    }
  }'

THEN I get a response similar to
HTTP/1.1 201 Created
Content-Type: application/json

{
  "guid": "cbad697f-cac1-48f4-9017-ac08f39dfb31",
  ...
}

Dev Notes
We are currently setting the cf-route- prefix when generating the routes GUID, can we remove it?

We did a short spike on the topic. Here is the branch: https://github.com/cloudfoundry/korifi/commit/5d9fbbdf55b7d61761665a4036988dea9702e3d1
TL;DR we can push the prefixing of the guids of some resources into a webhook so that korifi can choose to switch it on and off.


tor-browser-bundle-bin: fix (noscript) extension startup

Motivation for this change
Fix the noscript part of https://github.com/NixOS/nixpkgs/issues/83096
Things done
Tested locally; this seems to fix the issue.

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This should fix the issue with noscript. Since its the only addon which got "lost" when firefox stopped sideloading from the isntallation directory, it probably won't do anything for other addons. So might not fix the linked issue fully.

(pushed a change, to also unmark as broken)

Has this been verified to not introduce impurities in the profile dir? If not, please ensure that the profile does not capture any Nix store paths in a way that may allow them to become stale.

Has this been verified to not introduce impurities in the profile dir? If not, please ensure that the profile does not capture any Nix store paths in a way that may allow them to become stale.

The only store paths I can see captured are from<EMAIL_ADDRESS>in the startup cache and such (so likely unrelated to this).

Thank you, NoScript is back for me at least for the initial start up after rm -fR ~/.local/share/tor-browser.

If I comment out this line though, NoScript seems to persist across restarts:
rm -f "\$HOME/TorBrowser/Data/Browser/profile.default"/{addonStartup.json.lz4,compatibility.ini,extensions.ini,extensions.json}

And HTTPS Everywhere is also listed in about:addons.

Thank you, NoScript is back for me at least for the initial start up after rm -fR ~/.local/share/tor-browser.
EDIT: after a restart, NoScript is gone again :(

By gone, you mean gone from the UI or gone from about:addons ?
(for me its just not visible in the UI, but still there and working after restart)

If I comment out this line though, NoScript seems to persist across restarts:
rm -f "\$HOME/TorBrowser/Data/Browser/profile.default"/{addonStartup.json.lz4,compatibility.ini,extensions.ini,extensions.json}

And HTTPS Everywhere is also listed in about:addons.

Unfortunately that will capture store paths, if I read the comment there correctly.

Thank you, NoScript is back for me at least for the initial start up after rm -fR ~/.local/share/tor-browser.
EDIT: after a restart, NoScript is gone again :(

By gone, you mean gone from the UI or gone from about:addons ?
(for me its just not visible in the UI, but still there and working after restart)

In my second test just now of your PR, NoScript persisted after a restart and didn't disappear from the UI; in my previous test, JS was enabled in the Safest mode and NoScript was missing from the UI (I didn't check about:addons). Looks like it's the same behavior I had with the 9.x versions where addons disappeared unpredictably on restarts - sometimes they persisted, sometimes not.

In my second test just now of your PR, NoScript persisted after a restart and didn't disappear from the UI; in my previous test, JS was enabled in the Safest mode and NoScript was missing from the UI (I didn't check about:addons). Looks like it's the same behavior I had with the 9.x versions where addons disappeared unpredictably on restarts - sometimes they persisted, sometimes not.

Thats sad :-(
On my system at least I reliably have noscript up and working across restarts (when building from this pr). At least up to now.
But its doesn't show in the UI, no matter what I do.. maybe the upstream tor browser doesn't show it in the UI either? not sure..

I think I'll try to use it for a while; anyway, this is better than the original 10.x without NoScript at all. I'm not sure the state of things in 9.x are safe to call "unbroken", who knows what other weird bugs are hidden in there if the UI of the addon disappears.

Ok, I can now reproduce your issue. NoScript doesn't function from time to time..

Ok, I went down a different route now, trying to force installation of NoScript via enterprise policies.

Thank you for investing time into this... I'm too unfamiliar with the architecture of the profile to understand what is going on. I was thinking though - is there a possibility of an altogether different way of using TBB at all, perhaps by using buildFHSUserEnv and run the unmodified TBB from torproject.org? This way it would self-manage its installation wherever we install it, per-user. What do you think?

Actually I had the same thought.
Especially since the issue here appears to not just be installation of the extension as I initially thought (even with enforcing it through policies NoScript appears broken after restarts).
I will look into using FHSUserEnv (or the more modern bubblewrap variant) eventually, but if someone wants to beat me to it, feel free to do so ;-)

I just got the original TBB running in nix-shell via a FHSUserEnv using this expression (I just copied the dependencies from the tor-browser-bundle-bin package, not sure if all of them are strictly required in this case); I will try running it for a while to see how it behaves.
{ pkgs ? import <nixpkgs> {} }:

(pkgs.buildFHSUserEnv {
  name = "tbb-env";
  targetPkgs = pkgs: (with pkgs;
    [ udev
      zlib
      alsaLib
      curl
      gnutar
      gtk3
      atk
      cairo
      dbus
      dbus-glib
      fontconfig
      freetype
      gdk-pixbuf
      glib
      gtk3
      xorg.libxcb
      xorg.libX11
      xorg.libXext
      xorg.libXrender
      xorg.libXt
      pango
      libpulseaudio
      apulse
      # Media support (implies audio support)
      ffmpeg_3

      gmp

      python27
    ]);
  runScript = "bash";
}).env

Thanks! Here we go: https://github.com/NixOS/nixpkgs/pull/103156


Code Inspection: Tslint on multi

max-line-length

lib/analysis/offline/persist/PostgresProjectAnalysisResultStore.ts:394: (warn) Exceeds maximum line length of 150

no-console

lib/analysis/offline/spider/github/GitHubSpider.ts:70: (warn) Calls to 'console.log' are not allowed.

no-implicit-dependencies

lib/aspect/compose/fileMatchAspect.ts:22: (error) Module '@atomist/microgrammar' is not listed as dependency in package.json
lib/aspect/microsoft/CsProjectTargetFrameworks.ts:17: (error) Module '@atomist/microgrammar' is not listed as dependency in package.json
test/features/fileMatchAspect.test.ts:25: (error) Module '@atomist/microgrammar' is not listed as dependency in package.json

no-shadowed-variable

lib/analysis/offline/spider/github/GitHubSpider.ts:65: (error) Shadowed name: 'analyzeResults'

[atomist:code-inspection:multi=@atomist/atomist-sdm]

Issue closed because last code inspection problem was fixed by @johnsonr when they pushed 71167fd.

Issue closed because last code inspection problem was fixed by @johnsonr when they pushed cbf42fd.


Get Pixel Data Example Missing

As the title says, clicking on the link to the example for getting pixel value on tap returned a 404 page.

Thanks for letting me know. Fixed in version: 3.0.1


Error on windows x64: make failed, uncaught signal 11

Ruby 2.2.4 x64, devkit 4.7.2. 64bit
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing rails:
        ERROR: Failed to build gem native extension.

    C:/Lavoro/Ruby/ruby-224x64/bin/ruby.exe -r ./siteconf20160409-96-m7y7ff.rb extconf.rb
checking for unistd.h... yes
checking for rb_thread_blocking_region()... no
checking for rb_thread_call_without_gvl()... yes
checking for sys/select.h... no
checking for poll.h... no
checking for sys/epoll.h... no
checking for sys/event.h... no
checking for port.h... no
checking for sys/resource.h... no
creating Makefile

make "DESTDIR=" clean

make "DESTDIR="

make failed, uncaught signal 11

Gem files will remain installed in C:/Lavoro/Ruby/ruby-224x64/lib/ruby/gems/2.2.0/gems/nio4r-1.2.1 for inspection.
Results logged to C:/Lavoro/Ruby/ruby-224x64/lib/ruby/gems/2.2.0/extensions/x64-mingw32/2.2.0/nio4r-1.2.1/gem_make.out

This is your compiler crashing. Try a different version of the compiler.


Warning: jsdoc failure Used --force, continuing

I get the following error message when running grunt on Windows 8.1:
Running "jsdoc:build" (jsdoc) task
>> An error occurs in jsdoc process:
>> Die Befehlszeile ist zu lang. (Command is too long)
Warning: jsdoc failure Used --force, continuing.
>> jsdoc terminated
Warning: jsdoc failure Used --force, continuing.

I don't use any special configuration, it's straight from the readme. I saw you had couple similar issues regarding this error in the past. Anybody knows what's going on here?
gruntfile:
    jsdoc:  {
            build: {
                src:     ['js/src/**/*.js'],
                options: {
                    destination: 'js/build/doc'
                }
            }
        },

The doc folder is created but the files not generated.

propably duplicate of #95, since it is the same error message?

The issue is that grunt file sources are expanded and then I add them to the command.
On windows system the length of the command is limited.
If you want to handle a large bunch of files, I suggest you to create a jsdoc config file (see http://usejsdoc.org/about-configuring-jsdoc.html) and omit the src option in the gruntfile and set the source field in the jsdoc config.
jsdoc:  {
            build: {
                options: {
                    destination: 'js/build/doc',
                    configure : 'path/to/jsdoc.conf.json'
                }
            }
        }


Please release a new version to bosh.io

Hi, it's been about 4 months since a final version was published for this release. I would like to stop maintaining a fork that contains merged changes.
Could you please cut a new final.
Thanks!
CC @Callisto13

Huh, I guess it has been a while. Thanks for the reminder! I've created Story #159169573 for us to discuss and prioritize.

We've cut a v20.0.0 – https://bosh.io/releases/github.com/cloudfoundry/os-conf-release. Thanks for the reminder!


Create code for table of plannings

Algorithm

Table of plannings : at the beggining of the n cycles, the table of planings displays for each student her/his personal planing.
Personal planing : the succession of places where an individual should be, for each cycle it points to one item to review.

Basic scheme
The current version helps to collect all the evaluations' datum, to process them, and to provide to the teacher.s the students' final grades. The activity set up is still to organize by the teaching team by other means. In an ideal case with a class of 30 students, 10 groups of 3 presenting their work, the students dispatch on the cycle 1/6 would looks like below :

... in addition of which each teacher also evaluate one work.
This rotation occurs with a minor shift+modulo number of groups for n cycles, the shift allows everyone to move to an other work.
Rotation contrains for students :

No-self evaluation : no student can evaluate her/his own group. At start, shift by +1.
Balance : there should be a fair number of evaluators in front of each group. Shifts should be uniforms so students are distributed evenly.
No travel-budy : no students should find her or himself several times with the same co-evaluator. Students shift direction to variate.
Thematic : given 4 subfields, each student must listen at all subfields. Shift must be +- number of groups / number of topics.

Rotation contrains for experts :

Must focus on n groups, balance regularly between them
Each presenter within thesemust be assessed once

Variables
var init = {
  cohorts  : 1,
  students : 12,
  groups   : 4,     // items to show off
  teachers : 2,    // secondary, non compulsary table for teachers
  cycles   : 6,
  themes   : 2
}

Result example

Table

Code for plannings created for students:
works with same amout of students in each groups  with respect of the first 3 constrainst. The one where all students listen to all thematics is possible only under certain conditions (number of students/groups * presentations = number of themes) Also, it's up to the creator of the activity to define the subject and since we said that the minimal fields are email,group and role, this constrainst is not coded yet. How should we tackle this one ?
For activities with groups of different size,  all constrainsts are met but some students have less shifts since there are less presenters. The article mentionned that the students should be dispatch evenly between other groups that are presenting. We also thought of maybe have the groups with less students have one of its members presenting again. Which road should we take ?
For the teachers, some additionnal fields should be asked, the number of groups that a teacher should supervised. We are not sure if we are doing this on the activity creation, or on the participants panel.

We close this for now as the current code is isolated and allow to progress further down.
Refactoring is to anticipate, but is secondary.

@mystermiam : Emma vient de me signaler qu'en validant les valeurs des variables initiales ont pourrait appliquer un algorithme plus simple qui garantirait le respect des contitions souhaité. Dans ce cas, les tests ne seraient plus à faire. #piste


Pi 5 Compatibility issues

Hi,
First huge thanks to all your libraries, both this and spi-device have been amazing for me!
I have a pi5, and I am trying to get some of my packages running on it, however it seems that this library (and most likely spi-device) are not working. Unfortunately I really don't have much in the way of error logs, as as far out logging the library seems to be working, however, when I set an interrupt on a pin, and then drive that pin, the onoff library doesn't seem to pick up on a value change. When running poll on pinctrl via command line though, I can clearly see that values changing.
I suspect this may be quite a large issue due to the rpi5 now using the rp1 chip for gpio, and from the small amount of information I can find, it seems this is not backwards compatible with certain implementations

onoff uses the GPIO sysfs interface for userspace GPIO.  This interface has been deprecated for quite some time (see here). I don't know if the GPIO sysfs Interface for userspace GPIO is supported on the Raspberry Pi 5 so I asked here on the Raspberry Pi forum.

@rhysmorgan134 Please take a look at the forum post. I need to do some more testing but everything appears to be working, including interrupt detection. However, the GPIO numbering is completely different.

Thanks alot @fivdi just ran some tests now, and after upgrading I appear to now be getting these errors, I will have an investigate!
node:internal/fs/utils:350
    throw err;
    ^

Error: EINVAL: invalid argument, write
    at Object.writeSync (node:fs:936:3)
    at Object.writeFileSync (node:fs:2330:26)
    at exportGpio (/home/pi/SocketMost/node_modules/onoff/onoff.js:18:8)
    at new Gpio (/home/pi/SocketMost/node_modules/onoff/onoff.js:172:36)
    at new OS8104A (/home/pi/SocketMost/dist/driver/OS8104A.js:46:26)
    at new SocketMost (/home/pi/SocketMost/dist/server/SocketMost.js:107:23)
    at Object.<anonymous> (/home/pi/SocketMost/examples/server.js:3:20)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32) {
  errno: -22,
  syscall: 'write',
  code: 'EINVAL'
}

Node.js v18.18.2

Never mind, I thought the new gpio numbers were now the pin numbers, but they are the 4xx range!

As an extra spi-device works out of the box, great stuff, and thanks for the help and the libraries!

@rhysmorgan134 Thanks for confirming that both onoff and spi-device are now working for you.

Never mind, I thought the new gpio numbers were now the pin numbers, but they are the 4xx range!

Hi @rhysmorgan134 , what you did to be able to use onoff with the raspberry pi 5?
I have this simple code:
const Gpio =  require("onoff").Gpio;
const led = new Gpio(4, "out");

led.writeSync(1);

And I get a error message saying:
Error: EINVAL: invalid argument, write

@rodsnts To understand how GPIO numbering works on the Pi5, it's important to read this post: https://forums.raspberrypi.com/viewtopic.php?t=359302
Assuming you want to use GPIO4, which is PIN7 on the GPIO header, then you'll need to replace this:
const Gpio =  require("onoff").Gpio;
const led = new Gpio(4, "out");

led.writeSync(1);

with this:
const Gpio =  require("onoff").Gpio;
const led = new Gpio(403, "out");

led.writeSync(1);

In other words, what used to be GPIO4 is now GPIO403 on the Pi5. Give this a try to see if it works.

@rodsnts Worked, please marry me.

@fivdi Worked!! Please marry me.


record struct equality problem

When I check Equals on record struct I got unexpected result.
you can see it with the following code snippets:
    public enum S3EnvironmentConvention
    {
        None,
        BucketPrefix,
        PathPrefix
    }

    public record struct S3Options
    {
        public string? Bucket { get; init; }
        public string? BasePath { get; init; }
        public S3EnvironmentConvention EnvironmentConvension { get; init; } = S3EnvironmentConvention.None;
    }

TEST
        [Fact]
        public void S3Options_Equals_Test()
        {
            var x = new S3Options { BasePath = "p/a/t/h", Bucket = "root" };
            var y = new S3Options { BasePath = "p/a/t/h" };
            Assert.False(x.Equals(y));
        }

This seems to be a problem related to C# 10 struct initializers. Can you reopen this at the dotnet/roslyn repo? Thanks.

/cc: @jaredpar

Can't move issues between repos so I just created a new one. Going to close this one out and we can use the other as the primary
https://github.com/dotnet/roslyn/issues/57870
Added some details in the other issue as to what the actual problem is here (it's actually a parameterless ctor problem that records ends up exposing)


digger not honouring terraform_version nor terraform-version, upgrades terraform states, always uses terraform latest

Hello everyone,
we noticed that all our terraform project have a state file between version 1.6.x and 1.7 even if we specify in every digger.yml this:
projects:
- name: dev-euw1
  dir: ./dev-euw1/
  terraform_version: v1.5.3
  include_patterns: ["../modules/**"]

I made some tests to find out if I was using the terraform_version wrong, but the documentation was not clear on that point.
I've also used an explicit terraform-version when calling the workflow
      - name: digger run
        uses<EMAIL_ADDRESS>        with:
          setup-aws: true
          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
          aws-region: eu-west-1
          no-backend: true
          terraform-version: v1.5.3

but this hasn't triggered any kind of errors during the terraform init phase.
The only way to trigger an error was to explicitly add the terraform version in the provider
terraform {
 required_version = ">= 1.2.0, <= 1.6.6"
}

The only conclusion I can come about is that on both the digger.yml configuration file and on the action file the version is not honoured.
Can you please advise? This has cause some problems, because we wanted to avoid forced updates to the terraform 1.7.

I just made a new very simple project that only creates a security group with this digger_workflow.yml:
      - name: digger run
        uses<EMAIL_ADDRESS>        with:
          setup-aws: true
          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
          aws-region: eu-west-1
          no-backend: true
          # setup-terraform: true
          terraform-version: v1.5.3
        env:
          GITHUB_CONTEXT: ${{ toJson(github) }}
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # here the workflow token is used implicitly
          GITHUB_OWNER: OUR_COMPANY

This comes from the log of digger apply:
Run<EMAIL_ADDRESS>  with:
    setup-aws: true
    aws-access-key-id: ***
    aws-secret-access-key: ***
    aws-region: eu-west-1
    no-backend: true
    terraform-version: v1.5.[3](https://github.com/Inivata/tf-app-aws-ec2-demo/actions/runs/7786138772/job/21230264153#step:4:3)
    setup-google-cloud: false
    setup-azure: false
    setup-terragrunt: false
    setup-opentofu: false
    terragrunt-version: v0.[4](https://github.com/Inivata/tf-app-aws-ec2-demo/actions/runs/7786138772/job/21230264153#step:4:4)8.[6](https://github.com/Inivata/tf-app-aws-ec2-demo/actions/runs/7786138772/job/21230264153#step:4:6)
    opentofu-version: v1.6.0-alpha3

but the state file of the project shows
{
  "version": 4,
  "terraform_version": "1.7.2",
  "serial": 1,
  "lineage": "f8bc3a9e-bd57-c81e-4fa2-1afb6716aee1",
  "outputs": {},
  "resources": [
    {

      - name: digger run
        uses<EMAIL_ADDRESS>        with:
          setup-aws: true
          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
          aws-region: eu-west-1
          no-backend: true
          terraform-version: v1.5.3

If you don't use setup-terraform:true, digger action is not installing terraform in the github runner env, see https://github.com/diggerhq/digger/blob/develop/action.yml#L215
I don't know your github runner environment setup, but I assume it has preinstalled v1.7.2 that it uses instead.

Hi @chvima , just tried with setup-terraform and it works.
Just for reference, I was using the ubuntu-latest github runner.

Yes, I assume the ubuntu-latest comes with preinstalled TF with newest version. setup-terraform overwrites that during action runtime to the desired version


Delete:LogManager, Repair:job sort size may be None in WorklistOrder,…

Delete:LogManager
Repair:job sort size may be None in WorklistOrder
Repair:avoid path conflict in getOutputName

Since these changes are not internally related or mutually dependent, could you please split it up into different PRs? Please make sure that your PR has a proper granularity separated by what has been done. Thanks.
I suggest you start with the two simple fixes.
Some update suggestions are commented in the code. For detailed discussion on the code, we can do it later in the separated PRs.