text:
Revert "Discard entities before adding NPCs"

This reverts commit 5d2151f1cd458b66db140586924c28cb20cb698d, from PR https://github.com/CivMC/CombatTagPlus/pull/21.
This fixes players losing their bed position as well as players losing their crafting recipes and xp (https://github.com/CivMC/Civ/issues/93), because the fact that the UUID is the same, combined with https://github.com/CivMC/Civ/blob/f525b7afeb0fa63e4cef3e48c3ec1d7dc790fc5d/plugins/exilepearl-paper/src/main/java/com/devotedmc/ExilePearl/listener/PlayerListener.java#L303, causes an interaction where the player's saved data is overriden with the NPC's data, which has most things copied but not the bed location. This change seems pretty broken, and was only applied recently with the 1.20 update, so I decided to roll it back until we implement a fix for everything.
Alternatively, we could make sure we are copying all of the data to the NPC, but since this has caused ~two~ three (https://github.com/CivMC/Civ/issues/93) independent issues already, it may cause more, and I think the safest option is to roll it back.

Given how fraught with bugs combat loggers have been, it might be worth looking into custom Paper patches. These issues all stem from CombatTagPlus being a plugin, and so its approach can only be to duplicate the player entity upon logout. But this has led to many, many bugs, including dupes, because combat-loggers are consequential: they're meant to be the player.
Whereas, if combat loggers were implemented through patches (or mixins), you wouldn't need to create a duplicate entity. You could just prevent the server from deleting the player-entity when they logout. There'd likely still be issues to iron out, but having the same entity to work with would be a lot easier than playing Whack-A-Mole with these combat-logger bugs.

authors: Protonull okx-code

repo: CivMC/Civ


text:
miscellaneous edits across the handbook

URL of RTD document: https://civicactions-handbook.readthedocs.io/en/miscellaneous-edits/

@mgifford great question.
The background is that the repository does not currently have any html files committed, and it doesn't look like there is any near-term intention to add any, because the static site generator we use is configured to process markdown (.md) files to generate our html.
My specific impetus for adding this rule was that I did a local conversion of a few markdown files to html to preview some changes I was making before pushing them to GitHub. Once I do that, my local git utility will ask me whether I want to add and commit these files. Since they are derivative of the already-tracked markdown files, I'll never want to do so, so I'm squelching the suggestion for all files of this pattern by adding it to the gitignore file.
If at some later point we have uses for html, we can narrow this rule to particular patterns/directories/etc., but in the meantime, I like to assume that additional ignore rules make for a smoother experience for most people, particularly when they are just starting to engage with a repository. Less cognitive load.

source: gharchive/pull-request

repo: CivicActions/handbook

license_type: permissive

license_source: github-api


text:
⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 2972 ms

Resolved: Bofrost.be performance has improved in f8d3c69.

source: gharchive/issue

repo: Ckal/Uptime

license: MIT


text:
⚠ Bofrost.at has degraded performance

In a951ad6, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1670 ms

Resolved: Bofrost.at performance has improved in eec50d4.


text:
⚠ Bofrost.at has degraded performance

In bac44f9, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1331 ms

Resolved: Bofrost.at performance has improved in b87ec86.


text:
⚠ Bofrost.es has degraded performance

In 9a62a0a, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1812 ms

Resolved: Bofrost.es performance has improved in 9a6fdca.


text:
⚠ Bofrost.at has degraded performance

In eddfdcd, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1562 ms

Resolved: Bofrost.at performance has improved in 35a0f5b after 8 minutes.


text:
⚠ Bofrost.de has degraded performance

In ea5731d, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 847 ms

Resolved: Bofrost.de performance has improved in d38b30d after 6 minutes.


text:
⚠ Bofrost.at has degraded performance

In ad97017, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1541 ms

Resolved: Bofrost.at performance has improved in 25927a4 after 31 minutes.


text:
⚠ Bofrost.at has degraded performance

In 2bcc968, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2136 ms

Resolved: Bofrost.at performance has improved in fd3f53b after 27 minutes.


text:
⚠ Bofrost.fr has degraded performance

In 6c4778e, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 935 ms

Resolved: Bofrost.fr performance has improved in 2609c72 after 6 minutes.


text:
⚠ Bofrost.at has degraded performance

In 132c631, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 970 ms

Resolved: Bofrost.at performance has improved in 52f62ea after 9 minutes.


text:
⚠ Bofrost.es has degraded performance

In 21770c6, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1523 ms

Resolved: Bofrost.es performance has improved in f442484 after 6 minutes.


text:
⚠ Bofrost.es has degraded performance

In 7931331, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1451 ms

Resolved: Bofrost.es performance has improved in 780a79f after 6 minutes.


text:
⚠ Bofrost.lu has degraded performance

In 53fba35, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 908 ms

Resolved: Bofrost.lu performance has improved in d0cb7ef after 19 minutes.


text:
⚠ Bofrost.lu has degraded performance

In bd09d91, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1182 ms

Resolved: Bofrost.lu performance has improved in 3bc4bea after 6 minutes.


text:
⚠ Bofrost.lu has degraded performance

In c6e08e7, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 986 ms

Resolved: Bofrost.lu performance has improved in b032fbd.


text:
⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 1351 ms

Resolved: Bofrost.be performance has improved in 5ad513c after 7 minutes.


text:
⚠ Bofrost.nl has degraded performance

In 15a4ec8, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 1107 ms

Resolved: Bofrost.nl performance has improved in fd58060.


text:
⚠ Bofrost.lu has degraded performance

In 4033354, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2112 ms

Resolved: Bofrost.lu performance has improved in a693e94 after 33 minutes.


text:
⚠ Bofrost.de has degraded performance

In 2175305, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1813 ms

Resolved: Bofrost.de performance has improved in caca50f after 20 minutes.


text:
⚠ Bofrost.be has degraded performance

In 1e287c2, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1289 ms

Resolved: Bofrost.be performance has improved in 301f89c after 6 minutes.


text:
⚠ Bofrost.at has degraded performance

In 80348c6, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1054 ms

Resolved: Bofrost.at performance has improved in 3b93dfb after 6 minutes.


text:
⚠ Bofrost.at has degraded performance

In f386dfa, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1462 ms

Resolved: Bofrost.at performance has improved in 6f86fc3 after 20 minutes.


text:
⚠ Bofrost.lu has degraded performance

In 415eac8, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1211 ms

Resolved: Bofrost.lu performance has improved in f821f64 after 9 minutes.


text:
⚠ Bofrost.be has degraded performance

In 4e6e38b, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1821 ms

Resolved: Bofrost.be performance has improved in 0757793 after 20 minutes.


text:
⚠ Bofrost.fr has degraded performance

In 7909865, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1654 ms

Resolved: Bofrost.fr performance has improved in ccc5453 after 7 minutes.


text:
⚠ Bofrost.de has degraded performance

In a46a073, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1190 ms

Resolved: Bofrost.de performance has improved in acc9b73 after 6 minutes.


text:
⚠ Bofrost.es has degraded performance

In c871b43, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1442 ms

Resolved: Bofrost.es performance has improved in d656691 after 6 minutes.


text:
⚠ Bofrost.fr has degraded performance

In 7ab2339, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1058 ms

Resolved: Bofrost.fr performance has improved in c1adc15 after 47 minutes.


text:
⚠ Visual-Crew_Builder has degraded performance

In c5f7cbd, Visual-Crew_Builder (https://visual-crew-builder.ai) experienced degraded performance:

HTTP code: 200
Response time: 1655 ms

Resolved: Visual-Crew_Builder performance has improved in 5e8b454 after 6 minutes.


text:
⚠ Bofrost.at has degraded performance

In c579c58, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1420 ms

Resolved: Bofrost.at performance has improved in 2400022.


text:
⚠ Bofrost.com has degraded performance

In b63f093, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 690 ms

Resolved: Bofrost.com performance has improved in ba2cc91.


text:
⚠ Bofrost.at has degraded performance

In de466da, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2129 ms

Resolved: Bofrost.at performance has improved in 392a54c.


text:
⚠ Bofrost.fr has degraded performance

In f0f6085, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 856 ms

Resolved: Bofrost.fr performance has improved in fa6a294.


text:
Missing license

I ran into a case of wanting to ungroup group nodes in materials and it turned out to be trickier than the api made me believe at first. A quick search brought me here, unfortunately there is no license attached to the code. So I'd rather not use or even look at it.
I'd suggest MIT or GPL if one of them fits your intention.

Thanks, just added a license there. I chose MIT.


text:
Simplified Conditional_Function_Theory.  Prover no longer uses the FR…

…estr.
Added negated interval theory.

Acknowledged and merged.

repo: ClemsonRSRG/RESOLVE-Workspace


text:
CleverTap SDK - CTInboxController Crash

Hello,
Currently facing crashes for CTInboxController on production app.
Please find the crash log:
CleverTap-crash.txt

Hey @Hamna21
Are you able to reproduce this yourself, or are you only seeing it via user crash reports? If yes, could you provide us more information or steps to reproduce the same?

Closing due to inactivity, if you need further help you can also write to support@clevertap.com or you can post on https://community.clevertap.com/
Thanks!

repo: CleverTap/clevertap-ios-sdk


text:
EDMFX pressure drag

Closing #1682

bors r+


text:
Add support for ClimaComms 0.6

ClimaComms 0.6 moves CUDA and MPI to extensions. As a result, CUDA and MPI are no longer automatically installed with ClimaAtmos. Users that wish to use CUDA/MPI have to install them separately. ClimaComms 0.6 also does no longer defaults to using CUDADevice when a GPU is detected, instead users have to set the env variable CLIMACOMMS_DEVICE="CUDA" to use the GPU.

Fails with
ERROR: LoadError: MethodError: no method matching compute_col_gas!(::ClimaComms.SingletonCommsContext{…}, ::Matrix{…}, ::SubArray{…}, ::RRTMGP.Parameters.RRTMGPParameters{…}, ::Matrix{…}, ::Vector{…}, ::Int64)
Closest candidates are:
  compute_col_gas!(::ClimaComms.AbstractCPUDevice, ::AbstractMatrix{FT}, ::AbstractMatrix{FT}, ::RRTMGP.Parameters.AbstractRRTMGPParameters, ::Union{Nothing, AbstractMatrix{FT}}, ::Union{Nothing, AbstractVector{FT}}, ::Int64) where FT
   @ RRTMGP /central/scratch/esm/slurm-buildkite/climaatmos-ci/depot/default/packages/RRTMGP/7Kmjx/src/optics/Optics.jl:98
  compute_col_gas!(::ClimaComms.AbstractCPUDevice, ::AbstractMatrix{FT}, ::AbstractMatrix{FT}, ::RRTMGP.Parameters.AbstractRRTMGPParameters, ::Union{Nothing, AbstractMatrix{FT}}, ::Union{Nothing, AbstractVector{FT}}) where FT
   @ RRTMGP /central/scratch/esm/slurm-buildkite/climaatmos-ci/depot/default/packages/RRTMGP/7Kmjx/src/optics/Optics.jl:98
  compute_col_gas!(::ClimaComms.AbstractCPUDevice, ::AbstractMatrix{FT}, ::AbstractMatrix{FT}, ::RRTMGP.Parameters.AbstractRRTMGPParameters, ::Union{Nothing, AbstractMatrix{FT}}) where FT
   @ RRTMGP /central/scratch/esm/slurm-buildkite/climaatmos-ci/depot/def

In spite of using the most recent RRTMGP

The breaking change in RRTMGP is that we need to change model.solver.context to ClimaComms.device(model.solver.context) in src/parameterized_tendencies/radiation/RRTMGPInterface.jl

The breaking change in RRTMGP is that we need to change model.solver.context to ClimaComms.device(model.solver.context) in src/parameterized_tendencies/radiation/RRTMGPInterface.jl

I applied this change but now GPU jobs are failing, even those without radiation
https://buildkite.com/clima/climaatmos-ci/builds/18991

I think we may just need to resolve the conflicts? There are some odd errors in https://buildkite.com/clima/climaatmos-ci/builds/18991#018fab61-1cf2-4115-8488-abb2a4b12f5a (it says that CUDA was loaded at the top, but then says that it's not lower down)

Implemented elsewhere (except for consolating the envs)

authors: Sbozzolo charleskawczynski


text:
Troubles while getting data from Oracle

I use clickhouse-jdbc-bridge to get data from Oracle.
Native query from DataGrip to oracle took long time, approximately 20 minutes.
When I try to query from Clickhouse through clickhouse-jdbc-bridge it works okey for the small queries (with rownum limit).
But I cannot get all data and get different errors with no changes.
Variant 1
In clickhouse-jdbc-bridge log
[2022-12-16 06:16:55] [WARNING] Thread Thread[vert.x-eventloop-thread-0,5,main]=Thread[vert.x-eventloop-thread-0,5,main] has been blocked for 116813 ms, time limit is 15000 ms
[2022-12-16 06:16:56] [WARNING] Thread Thread[vert.x-eventloop-thread-0,5,main]=Thread[vert.x-eventloop-thread-0,5,main] has been blocked for 117813 ms, time limit is 15000 ms
...

And in Clickhouse after exactly 3 minutes
Poco::Exception. Code: 1000, e.code() = 0, Timeout (version 22.10.2.11 (official build))

Variant 2
In clickhouse-jdbc-bridge log
[2022-12-16 12:54:51] [INFO   ] Raw query:
...
[2022-12-16 12:54:51] [INFO   ] Executing query(schema=[mobilen]):
...
[2022-12-16 12:54:51] [WARNING] Failed call setClientInfo due to Invalid or unsupported name for clientInfo.
[2022-12-16 12:57:51] [SEVERE ] Caught exception
[2022-12-16 12:57:51] [INFO   ] Executing query(schema=[mobilen]):
...
[2022-12-16 12:57:5
... exactly every 3 minute I've got the same string
... and no result for a looooong time

Which config did I try
max_exection_time in Clickhouse is set to 12000000
socket_timeout in connection to Clickhouse is set to 12000000
queryTimeout in config/server.json is set to 12000000
maxWorkerExecuteTime in config/vertx.json is set to 12000000
"dataSource": {
            "oracle.jdbc.ReadTimeout": 12000000
        },
"maxLifetime": 12000000,
"connectionTimeout": 300000,

in oracle jdbc-bridge datasource configuration
What should I try next?

It was http_receive_timeout option in Clickhouse settings
Create PR #170 170

Sorry, I have the same problem and can't find where I need set parameter - http_receive_timeout.
Could you help me please?

authors: AlexGruPerm mehanizm

repo: ClickHouse/clickhouse-jdbc-bridge


text:
⚠ Adam Brand Music has degraded performance

In 972eb52, Adam Brand Music (https://adambrandmusic.com) experienced degraded performance:

HTTP code: 200
Response time: 6528 ms

Resolved: Adam Brand Music performance has improved in c478e86 after 12 minutes.

repo: Clicki-Digital/uptime


text:
🛑 Lemmy is down

In a45dbeb, Lemmy (https://lemmy.cloudhub.social) was down:

HTTP code: 502
Response time: 252 ms

Resolved: Lemmy is back up in d63ef43 after 51 minutes.

repo: CloudHub-Social/Status


text:
flocker volume didn't migrate with container to new host in kubernetes env.

I have 3 node kubernetes cluster running on ubuntu 14.04
flocker is installed on top of these 3 nodes with one node as control.
created a flocker volume on one of the node & executed redis rc using kubectl. Attempted to migrate this redis container with mounted flocker volume to new host.  Though container migrated, volume remained on the host where it was created.  Attached is the detail command o/p. If you need any flocker process logs, please let me know. I accidently pasted this issue under https://github.com/binocarlos/flocker/issues
flocker_fail.txt

cc @wallrj

Hello Ryan,
I'm not clear on the behaviour of flocker with local storage. because, i tested this migration using flocker volume created from local storage. Thought of checking with Flocker team.

"flockerctl move" is failing.  the volume status is stuck at "detached" state on target node after move. Its not getting mounted or attached automatically after "flockerctl move".
Ex:
root@kube-host3:/etc# df -T | awk '{print $1,$2,$NF}' | grep "^/dev"
/dev/vda1 ext4 /
/dev/vdb ext4 /mnt
root@kube-host3:/etc# docker volume create --driver flocker -o type=ext4 -o device=/dev/vdb --name blr1 -o size=5GB
root@kube-host3:/etc# docker volume ls
DRIVER              VOLUME NAME
flocker             blr1
root@kube-host3:/etc# flockerctl list
DATASET                                SIZE    METADATA                            STATUS         SERVER
5cddd7b6-2606-49c3-8d9c-5cbc22331868   5.00G   maximum_size=5368709120,name=blr1   attached ✅   58f445f9 (10.222.245.40)
root@kube-host3:~# flockerctl list-nodes
SERVER     ADDRESS
58f445f9   10.222.245.40
b9b7ec2b   10.222.245.33
root@kube-host3:~# flockerctl move -d 5cddd7b6-2606-49c3-8d9c-5cbc22331868 -t b9b7ec2b
initiated move of dataset, please check state to observe it actually move.
root@kube-host3:~# flockerctl list
DATASET                                SIZE    METADATA                            STATUS     SERVER
5cddd7b6-2606-49c3-8d9c-5cbc22331868   5.00G   maximum_size=5368709120,name=blr1   detached   b9b7ec2b (10.222.245.33)

In https://github.com/ClusterHQ/flocker/issues/2894#issuecomment-246346663 @hgsat123 wrote:

I'm not clear on the behaviour of flocker with local storage. because, i tested this migration using flocker volume created from local storage. Thought of checking with Flocker team.

If you're talking about the Loopback backend, no, it doesn't support migration of volumes.

https://docs.clusterhq.com/en/latest/flocker-features/loopback-configuration.html#loopback-dataset-backend

Thanks Richard.
I read the FAQ later as there was no clarity on Flocker behavior w.r.t volumes created using local (host) storage.
I will retest with external block storage.
Regards,
Satish
From: Richard Wall [mailto:notifications@github.com]
Sent: Tuesday, September 20, 2016 5:11 PM
To: ClusterHQ/flocker flocker@noreply.github.com
Cc: SATISH HEGDE (Data Platform Engineering) satish.hegde@wipro.com; Mention mention@noreply.github.com
Subject: Re: [ClusterHQ/flocker] flocker volume didn't migrate with container to new host in kubernetes env. (#2894)
** This mail has been sent from an external source **
Closed #2894https://github.com/ClusterHQ/flocker/issues/2894.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/ClusterHQ/flocker/issues/2894#event-795513683, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AUwa3NpLk7upYEkAmEnd5x4KchO7tUJCks5qr8ZFgaJpZM4JzcDq.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

authors: hgsat123 wallnerryan wallrj

repo: ClusterHQ/flocker


text:
[FLOC-2263] Release Flocker 1.0.0pre1

Fixes part of https://clusterhq.atlassian.net/browse/FLOC-2263
As per http://doc-dev.clusterhq.com/gettinginvolved/infrastructure/release-process.html#preparing-for-a-release but with one requested change: Instead of adding a new 1.0 release notes / NEWS section
Please do a review as per http://doc-dev.clusterhq.com/gettinginvolved/infrastructure/release-process.html#pre-tag-review-process

LGTM!!! Please proceed.

authors: adamtheturtle wallrj


text:
Powerstrip continues after receiving a 500 Internal Server Error from adapter

Powerstrip continues after receiving a 500 Internal Server Error from adapter.
The message from the adapter is a valid powerstrip-pre-hook-response message however powerstrip doesn't seems to look at the HTTP header code.

Hey nice spot - yes Powerstrip should certainly pay attention to the HTTP status code.  Am adding a 'bug' label - I will take a look at this

authors: aanm binocarlos

repo: ClusterHQ/powerstrip

license_source: bigquery


text:
Скласти додаткові інформаційні блоки

Можна зробити резюме менш формальним, додавши додаткові блоки, які містять корисну інформацію, але подають її в “розважальній” формі. Наприклад, що подобається і не подобається, сильні і слабкі сторони, перелік навиків чи хобі, інфографіка або ж інтерактивні модулі, тощо. Варто написати контент такого блоку раніше, ніж починати верстку, бо його розміри впливатимуть на розміщення елементів на сторінці.

Я не зовсім розумію які коментарі я маю тут наразі залишити, мабуть в процесі подальшої роботи це буде зрозуміло. А поки набувається досвід, я залишу ось цей)


text:
shared hosting

Hi,
I just to ask if anybody here tried cocorico on shared hosting and will it work.
Thanks.
Mark

Same question ! I hope we'll get an answer

Hi,
You can use cocrico on a shared hosting if your hosting provider have the installation requirements (https://github.com/Cocolabs-SAS/cocorico#installation) and a SSH access.

Excuse me, I do not found information about  "installation requirements".
I want try install "cocorico" on shared host.
Maybe do you have instruction (manual), how do it?

authors: BourAbdelhadi cocolabssas scriptologist typo3ua

repo: Cocolabs-SAS/cocorico


text:
Right hand menu static

Right Hand Menu Completed as per Design
Just the Design without connection to other components and state
Has some local state and props; Not added to redux as the state is not required anywhere else

Needs to be Done

No functionality; Working on Mock Data
Need to write tests

This looks good. I think we merge this in and then I'll try to merge this code into my branch to give us a more modular RadioSelect.

I'll leave it to you to actually do the merge, @maharit108 .

Great job, overall, @maharit108! Just a few comments

authors: MangeFre maharit108 mcdevittbass


text:
Homepage layout

@longhotsummer

Do it!

authors: longhotsummer xybrnet


text:
Fix JaCoCo coverage measurements

Fixes https://github.com/google/oss-fuzz/issues/8241

@sebastianpoeplau The last commit is optional, the tests already pass without it. If you have any concerns, I would err on the safe side and drop it.

@sebastianpoeplau The last commit is optional, the tests already pass without it. If you have any concerns, I would err on the safe side and drop it.

I think it's fine :thinking: I'm more concerned about returning from libfuzzer's main function instead of exiting. Are we sure that that's safe? I seem to remember a comment somewhere in libfuzzer code saying something like "let's make sure the destructor for this object is never called", but maybe that's in a different place.

@sebastianpoeplau The last commit is optional, the tests already pass without it. If you have any concerns, I would err on the safe side and drop it.

I think it's fine thinking I'm more concerned about returning from libfuzzer's main function instead of exiting. Are we sure that that's safe? I seem to remember a comment somewhere in libfuzzer code saying something like "let's make sure the destructor for this object is never called", but maybe that's in a different place.

That place was here - it's already patched out on main even before this PR. @kyakdan and I briefly looked into it and couldn't find anything problematic - all the data structures powering e.g. the sanitizer callbacks weren't affected. But it would be great if we could confirm this once and for all (maybe next week?) as we could then try to upstream these patches.

@sebastianpoeplau The last commit is optional, the tests already pass without it. If you have any concerns, I would err on the safe side and drop it.

I think it's fine thinking I'm more concerned about returning from libfuzzer's main function instead of exiting. Are we sure that that's safe? I seem to remember a comment somewhere in libfuzzer code saying something like "let's make sure the destructor for this object is never called", but maybe that's in a different place.

That place was here - it's already patched out on main even before this PR. @kyakdan and I briefly looked into it and couldn't find anything problematic - all the data structures powering e.g. the sanitizer callbacks didn't seem to be affected. But it would be great if we could confirm this once and for all (maybe next week?) as we could then try to upstream these patches.

Sure, I'll have a look :blush:

authors: fmeum sebastianpoeplau

repo: CodeIntelligenceTesting/jazzer


text:
TypeError: Cannot read properties of undefined (reading 'extend')

Hey there.
I'm using the CDN version of the JS and CSS and tried to have a button like this:
          <button
            onclick="toastr['success']('Are you the six fingered man?')"
          >
          </button>

And I got this:
toastr.min.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'extend')
at m (toastr.min.js:1:4693)
at Object.i [as success] (toastr.min.js:1:432)
at HTMLButtonElement.onclick (index.unformatted.html:532:33)
Am I doing anything wrong? I tried to import JQuery too, to no avail.
Thanks!

I've got this too, using the CDN link.
@if (TempData["error"] != null)
{
    <script src="//cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js"></script>
    <script type="text/javascript">
        toastr.error('@TempData["error"]');
    </script>
}

According to the README, jQuery is required. Make sure to import jQuery before toastr, something like this worked for me:
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js"></script>

authors: MatyiFKBT Tootle-likes-code voaneves

repo: CodeSeven/toastr


text:
Changed package name to io.codearte.jfairy.

Previously it was eu.codearet.jfairy.
Also changed logger string.

Changes Unknown when pulling 4dd46706b2a4c7e37384c38ed5e1f2bccc15f36e on Changing_package_name_to_io.codearte.jfairy into ** on master**.

+1

authors: OlgaMaciaszek coveralls mariuszs

repo: Codearte/jfairy


text:
Black screen on startup

I don't know this is bug or not
import 'package:flutter/material.dart';
import 'package:responsive_framework/responsive_framework.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
         builder: (context, widget) => ResponsiveWrapper.builder(
          BouncingScrollWrapper.builder(context, widget),
          maxWidth: 1200,
          minWidth: 450,
          defaultScale: true,
          breakpoints: [
            ResponsiveBreakpoint.resize(450, name: MOBILE),
            ResponsiveBreakpoint.autoScale(800, name: TABLET),
            ResponsiveBreakpoint.autoScale(1000, name: TABLET),
            ResponsiveBreakpoint.resize(1200, name: DESKTOP),
            ResponsiveBreakpoint.autoScale(2460, name: "4K"),
          ],
          background: Container(color: Color(0xFFF5F5F5))),
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // Try running your application with "flutter run". You'll see the
        // application has a blue toolbar. Then, without quitting the app, try
        // changing the primarySwatch below to Colors.green and then invoke
        // "hot reload" (press "r" in the console where you ran "flutter run",
        // or simply save your changes to "hot reload" in a Flutter IDE).
        // Notice that the counter didn't reset back to zero; the application
        // is not restarted.
        primarySwatch: Colors.blue,
        // This makes the visual density adapt to the platform that you run
        // the app on. For desktop platforms, the controls will be smaller and
        // closer together (more dense) than on mobile platforms.
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  // This widget is the home page of your application. It is stateful, meaning
  // that it has a State object (defined below) that contains fields that affect
  // how it looks.

  // This class is the configuration for the state. It holds the values (in this
  // case the title) provided by the parent (in this case the App widget) and
  // used by the build method of the State. Fields in a Widget subclass are
  // always marked "final".

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      // This call to setState tells the Flutter framework that something has
      // changed in this State, which causes it to rerun the build method below
      // so that the display can reflect the updated values. If we changed
      // _counter without calling setState(), then the build method would not be
      // called again, and so nothing would appear to happen.
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    // This method is rerun every time setState is called, for instance as done
    // by the _incrementCounter method above.
    //
    // The Flutter framework has been optimized to make rerunning build methods
    // fast, so that you can just rebuild anything that needs updating rather
    // than having to individually change instances of widgets.
    return Scaffold(
      appBar: AppBar(
        // Here we take the value from the MyHomePage object that was created by
        // the App.build method, and use it to set our appbar title.
        title: Text(widget.title),
      ),
      body: Center(
        // Center is a layout widget. It takes a single child and positions it
        // in the middle of the parent.
        child: Column(
          // Column is also a layout widget. It takes a list of children and
          // arranges them vertically. By default, it sizes itself to fit its
          // children horizontally, and tries to be as tall as its parent.
          //
          // Invoke "debug painting" (press "p" in the console, choose the
          // "Toggle Debug Paint" action from the Flutter Inspector in Android
          // Studio, or the "Toggle Debug Paint" command in Visual Studio Code)
          // to see the wireframe for each widget.
          //
          // Column has various properties to control how it sizes itself and
          // how it positions its children. Here we use mainAxisAlignment to
          // center the children vertically; the main axis here is the vertical
          // axis because Columns are vertical (the cross axis would be
          // horizontal).
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headline4,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

Thanks for trying out the Responsive Framework. The black screen you're seeing is likely the iOS native background while Flutter loads. You can set the background to white or a loading image.
Please look through the following issues that are similar to yours:
https://github.com/flutter/flutter/issues/20827
https://flutter.dev/docs/development/ui/advanced/splash-screen

I'll double check later today if you still experience the issue.

You are right. This bug related to flutter only. Your library is awesome!
Regards.
On Thu, 14 May 2020 at 01:41, Ray Li notifications@github.com wrote:

I'll double check later today if you still experience the issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Codelessly/ResponsiveFramework/issues/12#issuecomment-628219849,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALH75PYXBGG237STU7AJABLRRL5HDANCNFSM4M7QN6VA
.

Without responsive_framework no black screen

Same problem happens in Android also

This issue is pretty insane so thanks for bringing it to my attention.
It's not just one black screen you're seeing, there's 3! black screens.
The first black screen appears when the emulator connects and flickers. This seems to be intermittent. This black screen doesn't seem to appear on an actual device or launching from the launcher on the emulator.
The second black screen is because I made a mistake with the placeholder widget. I am returning a SizedBox.shrink() on the first frame instead of Container(color: Colors.transparent). Due to the 1 frame layout calculation delay, you might need to set MaterialApp's color to Colors.white;
The third black screen is from the empty Scaffold background. Please set the Scaffold's backgroundColor to Colors.white.
import 'package:flutter/material.dart';
import 'package:responsive_framework/responsive_framework.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      builder: (context, widget) => ResponsiveWrapper.builder(
          BouncingScrollWrapper.builder(context, widget),
          maxWidth: 1200,
          minWidth: 450,
          defaultScale: true,
          breakpoints: [
            ResponsiveBreakpoint.resize(450, name: MOBILE),
            ResponsiveBreakpoint.autoScale(800, name: TABLET),
            ResponsiveBreakpoint.autoScale(1000, name: TABLET),
            ResponsiveBreakpoint.resize(1200, name: DESKTOP),
            ResponsiveBreakpoint.autoScale(2460, name: "4K"),
          ],
          background: Container(color: Color(0xFFF5F5F5))),
      title: 'Flutter Demo',
      home: MyHomePage(title: 'Flutter Demo Home Page'),
      color: Colors.white,
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.white,
      appBar: AppBar(title: Text('Flutter App')),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headline4,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: Icon(Icons.add),
      ),
    );
  }
}

I'll release a fix this weekend for this bug.

Ooops, let's keep this open until the fix is merged.

Sorry for the delay. There appears to be a behavior change with how Container dimensions are calculated. Holding off on pushing a new release until more testing and unit tests are done.
For now, you can use the fix on the latest branch with:
responsive_framework:
    git:
      url: https://github.com/Codelessly/ResponsiveFramework.git
      ref: master

Is it solved ?

Sorry, the fix is not yet released. I'll have more time soon to devote to the Responsive Framework soon.

Hi, I found solution to my problem. I was using an expanded on a place and because of that, I was getting this error.
After removing the Expanded Widget I was able to get rid of this problem

The issue is now fixed and available in v0.0.8.
There is no need to add any MaterialApp or Scaffold backdrop color anymore.
Please note, when an app is launched the first time in the simulator, there can still be a black screen due to startup timing.

repo: Codelessly/ResponsiveFramework


text:
Country dropdown list covering up date picker during profile setup

the country field seems to cover up the date picker when both are clicked. clicking one should hide the other field/s.

Technical spec:

The (CSS file)[https://github.com/CoderDojo/cp-zen-platform/blob/master/web/public/css/dashboard.less]
Datepicker on champion registration is here. To get to this page, go to "start a dojo". After registering it is the next page (champion registration form). This form is for new users who want to start a dojo
There's another Datepicker on the (profile page here)[https://github.com/CoderDojo/cp-zen-platform/blob/master/web/public/templates/profiles/general-info.dust#L24]. To get to this page, register as a user and click on your name, then go to "edit profile".

This no longer occurs, so I'm closing the issue.

authors: DanielBrierton kennanseno tangentfairy

repo: CoderDojo/community-platform

license: mit


text:
BECR support + option to match one or more characters (excluding line terminators)

Similar to Comby's \n setting, but lazy and doesn't need to match a line terminator Can always make optional using leading "?" in group.

Document use case before add feature. I had a reason, but thinking that maybe the :[group.] syntax might be acceptable

Adding :[group+] and :[group*] syntax
Made greedy, but underlying regex will backtrace as needed, so should act as expected. If it doesn't, please file a new issue with an example where it doesn't work as expected.

repo: CodesAway/BEXCodeCompare


text:
Twitch announcements don't show up on the overlay

A moderator using /announce would not see their message appear on the screen at all.
They should appear with a special background/style, maybe lock to top for a while.

Announcements can also pin themselves on top of the chat or do different things based on the color.

authors: drillskibo vrumger

repo: CodingGarden/sproutkit


text:
Update index.json

adding links

Fantastic, thank you!


text:
Adding  Video Games track

I have put all of the videos in the Video Games playlist,  plus 115 and 174.

Fantastic! @jasontheillustrator this one will need a thumbnail image! https://deploy-preview-728--codingtrain.netlify.app/tracks/games

Ok, I'll get that taken care of.

authors: jasontheillustrator kfahn22 shiffman


text:
Longest Docs

Community Contribution
Link to live project, video, or image:

Sharing

[ ] I would be happy to have my project shared on The Coding Train's social media!

Instagram:
Twitter:

Thanks for your suggestion! We like to be thoughtful about modifications to the Coding Train website and I don't see how this change would improve the site. If you disagree, please explain why you think this change would make the website more clear or help in some other way. I'd be happy to reopen this pull request for discussion.
If you're looking to contribute to The Coding Train for Hacktoberfest please look at issue #2615.

authors: akhilsys violetcraze

repo: CodingTrain/website


text:
Generate Properties for Collections that Return a Copy

I haven't used this library yet, but I thought of something that could be very useful. There is a code violation thrown when properties return collections. This violation states that properties that return collections should return a copy/ clone of that collection.
It would be a great addition to this package to auto-generate properties that automatically return a copy/ clone of the collection from a private field.

Here is the link:
I believe there is one about returning a copy too. I will keep digging.
for example, this field:
private byte[] _rowVersion;
According to CA1819, it should be changed to a method or the Collection type.

Thanks for sharing the link! That CA rule is about properties, not fields. But let's take your example as a property, so
private byte[] _rowVersion;

public byte[] RowVersion => _rowVersion;

Then CA1819 would be raised by the property. Are you proposing an attribute placed on _rowVersion which would cause RowVersion to be generated in a way that would not cause CA1819 to be raised?

authors: CollinAlpert RealDotNetDave


text:
Doesn't intercept keyboard/mouse activity when running in Flatpak/Wayland

I'm not sure what exactly causes it, but I use wayland and flatpak, which both aim to isolate the app. Wayland probably does more to isolate discord when it's running than flatpak.
Behavior:
When I'm interacting IN DISCORD, the WayAFK plugin works as expected. But if I'm not clicking/tying in the discord window, then WayAFK thinks I'm AFK.

I may be misunderstanding, but it sounds like it's working as designed. This plugin is a hack:

On startup, WayAFK subscribes to the keydown and mousedown events. Whenever you press a key or use your mouse inside the Discord window, a timer will be reset.

It can't break Wayland or Flatpak's isolation, unfortunately.

Oh I see, I missed that. I'll close

FWIW, if you're immediately going AFK when not typing/clicking, check the plugin settings and make sure the timeout didn't somehow wind up zeroed.

authors: Colonial-Dev asherbig

repo: Colonial-Dev/WayAFK


text:
WeeklyDose view entries by week.

Should show entries for this week only. Mon-Fri
There can be an option to load previous entries for past week(s).
At the end of each week, mail can go with the list of weeklydoses for that week.

More descriptive at #107

repo: ColoredCow/employee-portal


text:
Wire money webpa transactors

Wires money into transactors necessary for servicehttp and fanout

#355  closes this

repo: Comcast/webpa-common


text:
Weird rounding behaviour when scroll down playlists

I noticed when you scroll down your playlists, it looks funny since the rounded corners from the top section stay and are put against the non-rounded corners of the bottom section.
Potential fix:

See if it's possible to keep a thin bar in between the two sections when you scroll (maybe using position: sticky)
This would look best if the rounded corners were kept. You could maybe add a border-radius on the playlist parent container.

When scrolled at the top:

When scrolled down:

This is not an issue with our theme. It is an issue with the cover art extension. Feel free to make a PR.

Nevermind i see what you mean, i dont really dev this anymore but @kyrie25 might be able to get around to it, seems very easy.

Changing lines 20 in _navbar.scss
margin: 24px 12px 0 12px;
>
margin: 24px 12px 12px 12px;

Is a quick and dirty fix, though it moves everything down.

solved via e920f635c96572413583b8df078d944ae7f23002

Haha yeah I guess that works, thanks

authors: ohitstom theRealPadster

repo: Comfy-Themes/Spicetify

license: WTFPL


text:
Should handle state

To handle situations where the device loses power and resets we have a state.json file that holds configuration info.

This has been started but isn't working yet...


text:
Please invite me to the Community Organization

Name
Oriade Stephen Ayodeji
Discord Username (if applicable) E.g John#412
No response
Questions & suggestions?
No response

We are so pleased to have you join the community @steveayodeji 🙌🏾🤩

repo: CommunityPro/support


text:
Setting a sequence field by referring to a sequence field of a message

When I try to edit a message in a session by assigning it to itself and editing the fields as follows
         Response := SPDM::Response'
            (Meas_Cap                                        => Response.Meas_Cap,
             Hash_Type                                       => Response.Hash_Type,
             Hash_Length                                     => Response.Hash_Length,
             Signature_Length                                => Signature_Length,
             Exchange_Data_Length                            => Response.Exchange_Data_Length,
             Handshake_In_The_Clear                          => Response.Handshake_In_The_Clear,
             Major_Version                                   => Response.Major_Version,
             Minor_Version                                   => Response.Minor_Version,
             Code                                            => Response.Code,
             Measurements_Response_Number_Of_Indices         => Response.Measurements_Response_Number_Of_Indices,
             Measurements_Response_Reserved_1                => 0,
             Measurements_Response_Slot_ID                   => Response.Measurements_Response_Slot_ID,
             Measurements_Response_Number_Of_Blocks          => Response.Measurements_Response_Number_Of_Blocks,
             Measurements_Response_Measurement_Record_Length =>
               Response.Measurements_Response_Measurement_Record_Length,
             Measurements_Response_Measurement_Record        => Response.Measurements_Response_Measurement_Record,
             Measurements_Response_Nonce_Data                => Response.Measurements_Response_Nonce_Data,
             Measurements_Response_Opaque_Length             => Response.Measurements_Response_Opaque_Length,
             Measurements_Response_Opaque_Data               => Response.Measurements_Response_Opaque_Data,
             Measurements_Response_Signature                 => Signature.Data);

I get the following error:
------------------------------ RecordFlux Bug ------------------------------
RecordFlux 0.6.0-pre
RecordFlux-parser 0.10.0
z3-solver 4.8.15.0
pydotplus 2.0.2
ruamel.yaml 0.17.21
attrs 21.4.0
pydantic 1.9.0
icontract 2.6.1

Optimized: False

Command: /tmp/tmp.QgcLtdI4Iq/venv/bin/rflx --no-verification generate specs/spdm.rflx specs/spdm_responder.rflx specs/spdm_emu.rflx specs/spdm_proxy.rflx --debug -d build/debug/generated

Traceback (most recent call last):
  File "/tmp/tmp.QgcLtdI4Iq/venv/lib/python3.9/site-packages/rflx/cli.py", line 201, in main
    args.func(args)
  File "/tmp/tmp.QgcLtdI4Iq/venv/lib/python3.9/site-packages/rflx/cli.py", line 259, in generate
    generator = Generator(
  File "/tmp/tmp.QgcLtdI4Iq/venv/lib/python3.9/site-packages/rflx/generator/generator.py", line 175, in __init__
    self.__generate(model, integration)
  File "/tmp/tmp.QgcLtdI4Iq/venv/lib/python3.9/site-packages/rflx/generator/generator.py", line 250, in __generate
    self.__create_session(s, integration)
  File "/tmp/tmp.QgcLtdI4Iq/venv/lib/python3.9/site-packages/rflx/generator/generator.py", line 261, in __create_session
    session_generator = SessionGenerator(
  File "/tmp/tmp.QgcLtdI4Iq/venv/lib/python3.9/site-packages/rflx/generator/session.py", line 219, in __init__
    self._create()
  File "/tmp/tmp.QgcLtdI4Iq/venv/lib/python3.9/site-packages/rflx/generator/session.py", line 249, in _create
    state_machine = self._create_state_machine()
  File "/tmp/tmp.QgcLtdI4Iq/venv/lib/python3.9/site-packages/rflx/generator/session.py", line 357, in _create_state_machine
    unit += self._create_states(self._session, composite_globals, is_global)
  File "/tmp/tmp.QgcLtdI4Iq/venv/lib/python3.9/site-packages/rflx/generator/session.py", line 844, in _create_states
    *[
  File "/tmp/tmp.QgcLtdI4Iq/venv/lib/python3.9/site-packages/rflx/generator/session.py", line 847, in <listcomp>
    for s in self._state_action(
  File "/tmp/tmp.QgcLtdI4Iq/venv/lib/python3.9/site-packages/rflx/generator/session.py", line 1893, in _state_action
    result = self._assign(
  File "/tmp/tmp.QgcLtdI4Iq/venv/lib/python3.9/site-packages/rflx/generator/session.py", line 2123, in _assign
    return self._assign_to_message_aggregate(
  File "/tmp/tmp.QgcLtdI4Iq/venv/lib/python3.9/site-packages/rflx/generator/session.py", line 2397, in _assign_to_message_aggregate
    *self._set_message_fields(
  File "/tmp/tmp.QgcLtdI4Iq/venv/lib/python3.9/site-packages/rflx/generator/session.py", line 3697, in _set_message_fields
    assert target_field_type == rty.OPAQUE
AssertionError

----------------------------------------------------------------------------

It is not yet possible to set a sequence field by referring to a sequence field of another message. A workaround could be storing the sequence in a temporary variable.

@jklmnn Can you please add a small reproducer to this issue?

I can still reproduce the issue with the following spec:
package Test is

   type Element is mod 2 ** 8;

   type List is sequence of Element;

   type Message is
      message
         Data : List
            with Size => 32;
      end message;

   generic
      Channel : Channel with Readable, Writable;
   session Session with
      Initial => Start,
      Final => Terminated
   is
      Msg_1 : Message;
      Msg_2 : Message;
   begin
      state Start
      is
      begin
         Channel'Read (Msg_1);
      transition
         goto Process
      end Start;

      state Process
      is
      begin
         Msg_1.Data := Msg_2.Data;
      transition
         goto Send
      exception
         goto Terminated
      end Process;

      state Send
      is
      begin
         Channel'Write (Msg_2);
      transition
         goto Terminated
      end Send;

      state Terminated is null state;
   end Session;

end Test;

The spec is checked as valid but I get the following error:
python3 bin/rflx generate test.rflx -d out                                                                                [55/698]
Parsing test.rflx
Processing Test
Generating Test::Element
Generating Test::List
Generating Test::Message
Generating Test::Session

------------------------------ RecordFlux Bug ------------------------------
RecordFlux 0.6.1.dev6+g69d65226
RecordFlux-parser 0.11.0
attrs 21.4.0
icontract 2.6.2
pydantic 1.9.2
pydotplus 2.0.2
ruamel.yaml 0.17.21
z3-solver 4.10.2.0

Optimized: False

Command: bin/rflx generate test.rflx -d out

Traceback (most recent call last):
  File "/.../RecordFlux/rflx/cli.py", line 215, in main
    args.func(args)
  File "/.../RecordFlux/rflx/cli.py", line 273, in generate
    Generator(
  File "/.../RecordFlux/rflx/generator/generator.py", line 142, in generate
    units = self._generate(model, integration)
  File "/.../RecordFlux/rflx/generator/generator.py", line 265, in _generate
    units.update(self._create_session(s, integration))
  File "/.../RecordFlux/rflx/generator/generator.py", line 282, in _create_session
    session_generator = SessionGenerator(
  File "/.../RecordFlux/rflx/generator/session.py", line 188, in __init__
    self._create()
  File "/.../RecordFlux/rflx/generator/session.py", line 218, in _create
    state_machine = self._create_state_machine()
  File "/.../RecordFlux/rflx/generator/session.py", line 338, in _create_state_machine
    unit += self._create_states(self._session, composite_globals, is_global)
  File "/.../RecordFlux/rflx/generator/session.py", line 822, in _create_states
    *[
  File "/.../RecordFlux/rflx/generator/session.py", line 825, in <listcomp>
    for s in self._state_action(
  File "/.../RecordFlux/rflx/generator/session.py", line 1961, in _state_action
    result = self._assign_message_field(
  File "/.../RecordFlux/rflx/generator/session.py", line 3421, in _assign_message_field
    *self._set_message_field(
  File "/.../RecordFlux/rflx/generator/session.py", line 4334, in _set_message_field
    assert field_type == rty.OPAQUE
AssertionError

authors: jklmnn senier treiher

repo: Componolit/RecordFlux


text:
Change output format type to str

@dzmitry-lahoda , check, please, schema:
[
{
"out_asset_amount": "string",
"out_asset_id": "string",
"in_asset_amount": "string",
"in_asset_id": "string",
"next": [
{
"out_asset_amount": "string",
"out_asset_id": "string",
"in_asset_amount": "string",
"in_asset_id": "string",
"pool_id": "string",
"next": [
{},
{
"out_asset_amount": "string",
"out_asset_id": "string",
"in_asset_amount": "string",
"in_asset_id": "string",
"next": [
"string",
"string"
]
}
]
},
{
"out_asset_amount": "string",
"out_asset_id": "string",
"in_asset_amount": "string",
"in_asset_id": "string",
"pool_id": "string",
"next": [
"string",
"string"
]
}
]
}
]

simple fields seems correct in schema. all correct.
so
"next": [
"string",
"string"
]

fields wrong.

@Alliad may you test change works? like call API endpoint?

so what should work:

ids, amoints in json schema are strings
next - is stuctured object
in python code generic type is int(integer) and/or float, but NOT str(string).
calling endpoint to find route should work as I shown before (recall video I shared)
Input also to be string for id and amount, but parsed into int
tests and typechecks passed before should work after changes (construction of output/input instances to pass type checker and be creatable)

thing check how it looks/works before your changes and after

@Alliad how it is going? we may try pair programming

or may you comment what is working/what not. what this PR fixes from things dicussed. 1. enpoint works or not with and without pr. 2. serde is str or not in this pr 3. schema str or not for next field

or may you comment what is working/what not. what this PR fixes from things dicussed. 1. enpoint works or not with and without pr. 2. serde is str or not in this pr 3. schema str or not for next field

For me, endpoint dont work from that PR and from last changes in main and from commit c01fde916e1736b81777ab126ed50dd14e235bf9
This PR should fix str in json-schema and 3.) in next field, but I cant test this

I am currently investigating why the route search is not working.

authors: Alliad dzmitry-lahoda

repo: ComposableFi/composable-vm


text:
GASaccounts

Can someone either explain the logic for oldGASaccount and newGASaccount to me, or point me to a document that explains this? I think block rewards feed this account (partially?) but I’m unable to fully understand this concept.
For reference: I’m trying to calculate the sum of all block rewards in a given day (hoping that I could take the difference of two amounts).

The notion of the GAS account exists to smooth out transaction fees over time. Since all bakers have to execute all blocks.
The rough idea is that transaction fees don't go directly to the baker, but instead some of it goes to the baker directly, and some to the GAS account (and some to the foundation). The proportions are determined by the value of these parameters http://developer.concordium.software/concordium-rust-sdk/concordium_rust_sdk/types/struct.TransactionFeeDistribution.html
At the same time, in addition to direct transaction fees for the block that they have produced, the baker gets a share of the value of the GAS account from the past blocks (recall that this value is accumulated from each block according to the fraction http://developer.concordium.software/concordium-rust-sdk/concordium_rust_sdk/types/struct.TransactionFeeDistribution.html#structfield.gas_account )
In addition to this, GAS reward is used to reward inclusion of "special transactions" that are not directly paid by the sender, such as account creations and update instructions, and inclusion of finalization proofs. The fractions that determine the distribution are at the following link http://developer.concordium.software/concordium-rust-sdk/concordium_rust_sdk/types/struct.GASRewards.html
So for block rewards we

take the transaction fees in the block and split it into

foundation tax
rewards that go directly to the baker
rewards that accrue GAS account (this becomes the "new gas account")

take the existing value of the GAS account and reward the baker from it according to the parameters in http://developer.concordium.software/concordium-rust-sdk/concordium_rust_sdk/types/struct.GASRewards.html

🤔, far more complicated than I ever could have imagined.
Another question to try to achieve the same thing: bakers get more rewards when #txs increases (in general). Is there a way to calculate the total transaction fees paid (on a given day)?

Each block summary has a list of transactions, and each account transaction, which are the only ones that contribute transaction fees, has a cost field http://developer.concordium.software/concordium-rust-sdk/concordium_rust_sdk/types/struct.AccountTransactionDetails.html#structfield.cost which is the amount of fees they paid.
So at least this way you can calculate how many fees were paid. I can't remember a quicker way at the moment.

Yes, that's a field I'm familiar with, but this approach forces me to search all 3M+ blocks for all transactions to calculate tx fees. If that is the only way for now, I'll hold off on improving my APY estimates.

authors: abizjak sderuiter

repo: Concordium/concordium-client


text:
paramgen: add support for custom field (un)marshalling

Feature description
The problem:  Here's an example from a connector middleware struct:
type SourceWithSchemaExtraction struct {
    SchemaType schema.Type `json:"sdk.schema.extract.type" validate:"inclusion=avro" default:"avro"`
}

where schema.Type is an alias of schema.Type in conduit-commons.
When parsing SourceWithSchemaExtraction with sdk.Util.ParseConfig, we get an error saying that there's a type mismatch, because the default value is "avro" (a string), and the target value is an int. The reason is that in Config.Validate() we validate the types.
Possible solution:

Remove type validation in Config.Validate() altogether. In the Connector SDK, it's called only when parsing a config, and after that we decode the map into a struct, where the types are validated too.
Use one of mapstructure's hooks (link), so that developers can implement a MarshalText/UnmarshalText method and customize parsing.

We have a workaround for this, but it's a useful feature that we plan to add in one of the next releases.

repo: ConduitIO/conduit-commons


text:
Master => develop

Merge latest release back into develop

This change is

Builds ready [d00e73f]builds: chrome, firefox, opera
bundle viz: background, ui, inpage, contentscript, ui-libs, bg-libs, phishing-detect
dep viz: background
all artifacts

repo: Conflux-Chain/conflux-portal


text:
The file you've selected is not currently supported

Connect SDK Sampler -> Connecting to an Samsung 65" , beaming the photo works but when trying to display the test video (Blender Open Movie Project) the TV displays "The file you've selected is not currently supported".
2015-03-12 09:34:17.295 Connect SDK Sampler[1476:431935] writing as default Blender Open Movie Project to the key videoDescription
2015-03-12 09:34:17.295 Connect SDK Sampler[1476:431935] writing as default http://ec2-54-201-108-205.us-west-2.compute.amazonaws.com/samples/media/video.mp4 to the key videoPath
2015-03-12 09:34:17.296 Connect SDK Sampler[1476:431935] writing as default http://ec2-54-201-108-205.us-west-2.compute.amazonaws.com/samples/media/videoIcon.jpg to the key videoThumbPath
2015-03-12 09:34:17.296 Connect SDK Sampler[1476:431935] writing as default video/mp4 to the key videoMimeType
Verbose log:
[DEBUG] Did connect
[DEBUG] Did start background task
[DEBUG] Did open connection on socket 14
[DEBUG] Did open connection on socket 15
[DEBUG] Connection received 636 bytes on socket 13
[DEBUG] Connection received 636 bytes on socket 14
[DEBUG] Connection on socket 14 preflighting request "NOTIFY /smp_27_" with 636 bytes body
[DEBUG] Connection on socket 13 preflighting request "NOTIFY /smp_27_" with 636 bytes body
[DEBUG] Connection on socket 14 processing request "NOTIFY /smp_27_" with 636 bytes body
[DEBUG] Connection on socket 13 processing request "NOTIFY /smp_27_" with 636 bytes body
[DEBUG] Connection received 636 bytes on socket 15
[DEBUG] Connection on socket 15 preflighting request "NOTIFY /smp_27_" with 636 bytes body
[DEBUG] Connection on socket 15 processing request "NOTIFY /smp_27_" with 636 bytes body
[DEBUG] Connection sent 122 bytes on socket 14
[DEBUG] Did close connection on socket 14
[VERBOSE] [192.168.2.6:49291] 192.168.2.102:57023 200 "NOTIFY /smp_27_" (636 | 122)
[DEBUG] Connection sent 122 bytes on socket 13
[DEBUG] Did close connection on socket 13
[VERBOSE] [192.168.2.6:49291] 192.168.2.102:57022 200 "NOTIFY /smp_27_" (636 | 122)
[DEBUG] Connection sent 122 bytes on socket 15
[DEBUG] Did close connection on socket 15
[VERBOSE] [192.168.2.6:49291] 192.168.2.102:57024 200 "NOTIFY /smp_27_" (636 | 122)
[DEBUG] Did open connection on socket 13
[DEBUG] Did open connection on socket 14
[DEBUG] Did open connection on socket 15
[DEBUG] Connection received 773 bytes on socket 13
[DEBUG] Connection on socket 13 preflighting request "NOTIFY /smp_27_" with 773 bytes body
[DEBUG] Connection received 773 bytes on socket 15
[DEBUG] Connection on socket 13 processing request "NOTIFY /smp_27_" with 773 bytes body
[DEBUG] Connection on socket 15 preflighting request "NOTIFY /smp_27_" with 773 bytes body
[DEBUG] Connection on socket 15 processing request "NOTIFY /smp_27_" with 773 bytes body
[DEBUG] Connection received 773 bytes on socket 14
[DEBUG] Connection on socket 14 preflighting request "NOTIFY /smp_27_" with 773 bytes body
[DEBUG] Connection on socket 14 processing request "NOTIFY /smp_27_" with 773 bytes body
[DEBUG] Connection sent 122 bytes on socket 13
[DEBUG] Connection sent 122 bytes on socket 15
[DEBUG] Did close connection on socket 13
[DEBUG] Did close connection on socket 15
[VERBOSE] [192.168.2.6:49291] 192.168.2.102:57025 200 "NOTIFY /smp_27_" (773 | 122)
[VERBOSE] [192.168.2.6:49291] 192.168.2.102:57027 200 "NOTIFY /smp_27_" (773 | 122)
[DEBUG] Connection sent 122 bytes on socket 14
[DEBUG] Did close connection on socket 14
[VERBOSE] [192.168.2.6:49291] 192.168.2.102:57026 200 "NOTIFY /smp_27_" (773 | 122)
[DEBUG] Did disconnect
[DEBUG] Did end background task
Any ideas? Did the mimetype change?

@kentdome, we have the same issue with a couple of our Samsung TVs. It returns no error, but doesn't actually play the video and displays the message. Apparently, different models support different codecs. The mime-type hasn't changed, the video didn't work before either.

Closing now. @kentdome, please comment if you have any ideas.

authors: eunikolsky kentdome

repo: ConnectSDK/Connect-SDK-iOS


text:
Couple of bugs

Email received

Hello Greg,
Thanks for your response.
I am able to sort records having numerical values. I have observed the following things while playing with IPFS-Store -

IPFS-Store does not allow index containing capital letters.
For example, Employee is not a valid index. However, employee is a valid index.

IPFS-Store allows index-fields containing capital letters.
For example, employeeNumber is a valid index field.

IPFS-Store cannot sort by index fields containing capital letters.
For example, if index field is employeeNumber then I am not getting the desired result. However, I am getting the desired result if index field is employee_number.

IPFS-Store can sort numerical values but can not sort strings.

For example, if index field is employee_number then I am getting the desired result. However, I am not getting the desired result if index field is employee_first_name.
Correct me if I am wrong. Thanks again for your cooperation and valuable time.
Regards,

ElasticSearch doesn't accept capital letter in the index name. So I forced at the API level to lowercase the index name. You can now pass EMPloYEE for any operation, it will result create and use the index employee
You can use a field name with capital letter.
and 4. ElasticSearch disables text fielddata by default. Now it's enables so search and sort should work on any kind of field.

PR #34

repo: ConsenSys/IPFS-Store


text:
Replace Medalla by new testnet

Replace Medalla by the new testnet running at the moment of the fix.
Fix launchpad url at least in https://docs.teku.consensys.net/en/latest/HowTo/Get-Started/Connect-To-Testnet/#generate-the-validators-and-send-the-deposits

@bgravenorst fixed it


text:
Fixed web3_sha3

// Request
curl -X POST --data '{"jsonrpc":"2.0","method":"web3_sha3","params":["0x68656c6c6f20776f726c64"],"id":64}'

// Result
{
  "id":64,
  "jsonrpc": "2.0",
  "result": "0x47173285a8d7341e5e972fc677286384f802f8ef42a5ec5f03bbfa254cb01fad"
}

The data is passed as hex, so we don't need to encode again.

@u2 Are you all set? Could you comment on why you closed the pull request?
The library aims to be user-friendly, so you don't have to encode the data before you pass it to web3_sha3.

Yes, I think this way is more user-friendly, so I closed this PR.

repo: ConsenSys/ethjsonrpc

license: unlicense


text:
How can I get  and save keyvault name in a environment variable with the az command?

Hello guys,
As part of my experiments, I am often forced to redeploy my private network.
The problem is that replacing the values of identityClientId and keyvaultName (in the .yml files to be updated) takes me a long time.
That's why I'm developing a script to extract the value of identityClientId and keyvaultName with the "az" command.
Indeed, I'd like to store those values in environment variables so I could use them instead of the raw values of identityClientId and keyvaultName in the . yml to update.
However, when I tried to fetch the value of "keyvaultName"(for exemple) with the following command
KEYVAULT_NAME=az keyvault list --resource-group <my_resource_group> --query "[?keyName == 'name'].value" -o tsv, I get an empty output...
Any Idea on how to do it?

I found how to do it:
KEYVAULT_NAME=`az keyvault list --resource-group besuTestNet --query "[0].name" --output tsv`

Here is my scripte if you are interested :
#!/bin/bash
      #Connect to your cluster
      az account set --subscription b4d3be28-34ab-449b-9f5c-9d86a18a2879
      export CLUSTER_NAME=`az aks list --resource-group besuTestNet --query "[].name" --output tsv`
      export RESSOURCE_GROUP=`az aks list --resource-group besuTestNet --query "[].resourceGroup" --output tsv`
      az aks get-credentials --resource-group $RESSOURCE_GROUP --name $CLUSTER_NAME

      #Saving identity ClientId in an environement variable:
      export IDENTITY_CLIENTID=`az identity list --resource-group $RESSOURCE_GROUP --query "[0].clientId" --output tsv`
      #Checking:
      printf "IDENTITY_CLIENTID=$IDENTITY_CLIENTID\n"
      #Saving keyvault name in an environement variable:
      export KEYVAULT_NAME=`az keyvault list --resource-group $RESSOURCE_GROUP --query "[0].name" --output tsv`
      #Checking:
      printf "KEYVAULT_NAME=$KEYVAULT_NAME\n"
      #Create a credential file:
      cat << EOF  > ./credentials-Besu_cluster
      IDENTITY_CLIENTID=$IDENTITY_CLIENTID
      KEYVAULT_NAME=$KEYVAULT_NAME
      EOF

      #Installer envsubst:
      curl -L https://github.com/a8m/envsubst/releases/download/v1.2.0/envsubst-`uname -s`-`uname -m` -o envsubst
      chmod +x envsubst

      #Adapt your env variables accordingly:
      ./envsubst < charts/besu-genesis/values.yaml > charts/besu-genesis/new-values.yaml
      ./envsubst < values/genesis-besu.yml > values/new-genesis-besu.yml
      ./envsubst < charts/besu-node/values.yaml > charts/besu-node/new-values.yaml
      ./envsubst < values/bootnode.yml > values/new-bootnode.yml
      ./envsubst < values/reader.yml > values/new-reader.yml
      ./envsubst < values/txnode.yml > values/new-txnode.yml
      ./envsubst < values/validator.yml > values/new-validator.yml

      #Enable AAD pod identities which use the managed identity
      az feature register --name EnablePodIdentityPreview --namespace Microsoft.ContainerService
      az feature list --namespace Microsoft.ContainerService -o table
      az extension add --name aks-preview
      az extension update --name aks-preview

      cd ../azure
      export RESSOURCE_GROUP=`az aks list --resource-group besuTestNet --query "[].resourceGroup" --output tsv`
      export CLUSTER_NAME=`az aks list --resource-group besuTestNet --query "[].name" --output tsv`
      export DNS_PREFIX=`az aks list --resource-group besuTestNet --query "[].dnsPrefix" --output tsv`
      ./scripts/bootstrap.sh "$RESSOURCE_GROUP" "$CLUSTER_NAME" "$DNS_PREFIX-ops-identity" "quorum"
      cd ../helm

      #Deployind pods:
      helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
      helm repo update
      helm install monitoring prometheus-community/kube-prometheus-stack --version 34.10.0 --namespace=quorum --create-namespace --values ./values/monitoring.yml --wait
      kubectl --namespace quorum apply -f  ./values/monitoring/

      # ingress-rules-monitoring.yml
      helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
      helm repo update
      helm install quorum-monitoring-ingress ingress-nginx/ingress-nginx \
        --namespace quorum \
        --set controller.ingressClassResource.name="quorum-network-ingress" \
        --set controller.ingressClassResource.controllerValue="k8s.io/monitoring-ingress-nginx" \
        --set controller.replicaCount=1 \
        --set controller.nodeSelector."kubernetes\.io/os"=linux \
        --set defaultBackend.nodeSelector."kubernetes\.io/os"=linux \
        --set controller.admissionWebhooks.patch.nodeSelector."kubernetes\.io/os"=linux \
        --set controller.service.externalTrafficPolicy=Local

      sleep 60
      kubectl apply -f ../ingress/ingress-rules-monitoring.yml
      kubectl -n quorum get services quorum-monitoring-ingress-ingress-nginx-controller

      #install genesis
      helm install genesis ./charts/besu-genesis --namespace quorum --create-namespace --values ./values/new-genesis-besu.yml
      sleep 60
      #watch kubectl get pods --namespace quorum

      # bootnodes - optional but recommended
      helm install bootnode-1 ./charts/besu-node --namespace quorum --values ./values/new-bootnode.yml
      sleep 30

      helm install bootnode-2 ./charts/besu-node --namespace quorum --values ./values/new-bootnode.yml
      sleep 30
      #watch kubectl get pods --namespace quorum

      # !! IMPORTANT !! - If you use bootnodes, please set `quorumFlags.usesBootnodes: true` in the override yaml files
      # for validator.yml, txnode.yml, reader.yml
      helm install validator-1 ./charts/besu-node --namespace quorum --values ./values/new-validator.yml
      helm install validator-2 ./charts/besu-node --namespace quorum --values ./values/new-validator.yml
      helm install validator-3 ./charts/besu-node --namespace quorum --values ./values/new-validator.yml
      helm install validator-4 ./charts/besu-node --namespace quorum --values ./values/new-validator.yml
      #watch kubectl get pods --namespace quorum

      # spin up a besu and tessera node pair
      #helm install member-1 ./charts/besu-node --namespace quorum --values ./values/txnode.yml
      helm install member-1 ./charts/besu-node --namespace quorum --values ./values/new-txnode.yml

      # spin up a besu rpc node
      helm install rpc-1 ./charts/besu-node --namespace quorum --values ./values/new-reader.yml

      #Explorer: Blockscout
      helm dependency update ./charts/blockscout
      helm install blockscout ./charts/blockscout --namespace quorum --values ./values/blockscout-besu.yml
      #watch kubectl get pods --namespace quorum
      #Explorer: quorum-explorer
      # helm install quorum-explorer ./charts/explorer --namespace quorum --create-namespace --values ./values/explorer-besu.yaml
      # watch kubectl get pods --namespace quorum

      # Install Ingress
      helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
      helm repo update
      helm install quorum-network-ingress ingress-nginx/ingress-nginx \
          --namespace quorum \
          --set controller.ingressClassResource.name="quorum-monitoring-ingress" \
          --set controller.ingressClassResource.controllerValue="k8s.io/network-ingress-nginx" \
          --set controller.replicaCount=1 \
          --set controller.nodeSelector."kubernetes\.io/os"=linux \
          --set defaultBackend.nodeSelector."kubernetes\.io/os"=linux \
          --set controller.admissionWebhooks.patch.nodeSelector."kubernetes\.io/os"=linux \
          --set controller.service.externalTrafficPolicy=Local

      sleep 60
      # Apply ingress config
      kubectl apply -f ../ingress/ingress-rules-besu.yml

Any comments is welecome :)

I just fixed the problem.
I forgot to enable the websocket in besu-node/value.yaml.

repo: ConsenSys/quorum-kubernetes


text:
Refusing to sign attestation

Just updated teku to latest master and am getting messages like this:
08:39:48.303 ERROR - Validator   *** Failed to produce attestation  Slot: 653898 tech.pegasys.teku.core.signatures.SlashableConditionException: Refusing to sign attestation at slot 653898 with source epoch 19066 and target epoch 20434 because it may violate a slashing condition (See log file for full stack trace)

tekulog7.zip

Thanks for raising this, we'll investigate what's going on.

Hi @dankrad,
Looking at the logs, around 2020-11-03 08:31, I see another Teku instance being initialized, potentially with the same keys. That would explain why Teku was refusing to sign the attestation above.
Where were you running this? I'm curious about how another Teku instance could be spun up. Also had you manually set --validators-keystore-locking-enabled option to false option by any chance?

I definitely never had more than one instance running on Medalla. I do run a Spadina instance on the same machine, though, and despite specifying a different datadir with --data-path, it seems to be writing its logs to the same file, so the two are getting mixed up. So maybe that's what you're seeing?
There was definitely only one instance on Medalla and with these keys running, I am always running them in the same shell window so no possibility of starting a second one by accident before I exited the previous one.
I have never used the --validators-keystore-locking-enabled option.

From the logs, I was unable to gather if this was slashing protection doing its job properly or a failure on our end, but to have a better understanding if a similar issue arises in the future, we now log the reason why slashing protection kicks in: https://github.com/ConsenSys/teku/pull/3217.
Also, this PR (https://github.com/ConsenSys/teku/pull/3219) sets the default logfile relative to the specified datadir, so specifying different datadirs should result in different log files.
Closing this issue as we haven't seen it repeat. Feel free to open it back up if you see it again.

OK, good to have more tracking logic in there, but for the record, there is definitely a bug if the beacon node asks the VC client to make a slashable attestation, no matter whats happening (unless you re-synced your beacon node, then it might happen).

authors: cemozerr dankrad rolfyone

repo: ConsenSys/teku


text:
Improve external contributor PR process

~Circle CI authorization issue~ (may not be a solution for CircleCI, however could investigate if github CI would work)
Update the Docs

Closing. Re open if an external PR contributor faces any issues.

authors: gfukushima usmansaleem


text:
SPEED-978 Updating the Go Test Bench Environment to use Official Contrast Service Container

SPEED-978 Updating the Go Test Bench Environment to use Official Contrast Service Container
This change adds the officially supported contrast-service container to the demo compose file
for use by the Go Agent as well as adds the necessary volume configuration so that the container
can properly load the configuration file without the need to build the config into the image
directly since building an image with a config file internally doesn't make sense.
This change also corrects an improper ListenAndServe entry where localhost was passed as the
hostname which was breaking the docker runtime network mapping for the ports in the compose file.
This change also updates the agent dockerfile to remove the build dependency on the contrast_security.yaml
moving it to a mounted volume similar the method used by the contrast-service image.

Codecov Report

Merging #23 (fd646f8) into main (dacbf67) will decrease coverage by 57.50%.
The diff coverage is 28.98%.

@@             Coverage Diff             @@
##             main      #23       +/-   ##
===========================================
- Coverage   95.23%   37.73%   -57.51%
===========================================
  Files           1        3        +2
  Lines          21      159      +138
===========================================
+ Hits           20       60       +40
- Misses          1       89       +88
- Partials        0       10       +10

Impacted Files
Coverage Δ

internal/common/input.go
95.23% <ø> (ø)

internal/common/routes.go
0.00% <0.00%> (ø)

pkg/servestd/servestd.go
54.05% <54.05%> (ø)

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 8b6697b...fd646f8. Read the comment docs.

authors: benjivesterby codecov-commenter

repo: Contrast-Security-OSS/go-test-bench


text:
Login to HA when running addon as docker container

Related: https://github.com/CoolKit-Technologies/ha-addon/issues/30
I'm using the current version from master branch.
After entering HA login/password, I redirected back to 192.168.1.x:3000 and see toast: "Get device list failed"
In HA I see the following message in logs:

Server logs:
Could not connect to HA-WS, please restart addon
HA-WS heartBeat: -1
Could not connect to HA-WS, please restart addon
HA-WS heartBeat: -1
Could not connect to HA-WS, please restart addon
HA-WS heartBeat: -1
Could not connect to HA-WS, please restart addon
HA-WS heartBeat: -1
Could not connect to HA-WS, please restart addon
HA-WS heartBeat: -1
getDataSync: user.json ->  no data
getDataSync: user.json ->  no data
Could not connect to HA-WS, please restart addon
HA-WS heartBeat: -1
getDataSync: user.json ->  no data
getDataSync: user.json ->  no data
getDataSync: user.json ->  no data
getDataSync: user.json ->  no data
Could not connect to HA-WS, please restart addon
HA-WS heartBeat: -1

ha-addon: v1.2.3
Home Assistant 2021.10.6

Have the same issue, "Get device list failed" after login to HA and eWeLink, and Login attempt in logs HA
How to use Long-Living Access Tokens (Auth option) in Docker version?

I find it, and its working. Add SUPERVISOR_TOKEN environment with that token.

I find it, and its working. Add SUPERVISOR_TOKEN environment with that token.
What do you mean by supervisor_token? When installed in Docker, HA does not have Supervisor mode.

Under your user profile, you can gerenate an Long-Living Access Token

Under your user profile, you can gerenate an Long-Living Access Token
I can, but how do I use it in an addon without supervisor mode when installed via docker?

Under your user profile, you can gerenate an Long-Living Access Token

I can, but how do I use it in an addon without supervisor mode when installed via docker?

Ok. So. If you are here, you start the ewelink with dockr. You need  define more one environment variable under the HA_URL, that is the SUPERVISOR_TOKEN, And give that the token, what you give from ha

I find it, and its working. Add SUPERVISOR_TOKEN environment with that token.
But then it would use homeassistant:8123 which is incorrect URL. We need to edit configuration to use the correct URL as well.
3000/api/devices?type=7
{"error":302,"data":"http://homeassistant:8123"}

I have same problem after while. Now i can't login or logout to ewelink account bacause after load page is redirected to unavalable page http://homeassistant:8123/auth/authorize?response_type=code&redirect_uri=http%3A%2F%2F192.168.91.8%3A3000&client_id=http%3A%2F%2F192.168.91.8%3A3000

Hi, can u show how and where to do this?

Under your user profile, you can gerenate an Long-Living Access Token

I can, but how do I use it in an addon without supervisor mode when installed via docker?

Ok. So. If you are here, you start the ewelink with dockr. You need define more one environment variable under the HA_URL, that is the SUPERVISOR_TOKEN, And give that the token, what you give from ha

Hi, can u show how and where to do this?

Under your user profile, you can gerenate an Long-Living Access Token

I can, but how do I use it in an addon without supervisor mode when installed via docker?

Ok. So. If you are here, you start the ewelink with dockr. You need define more one environment variable under the HA_URL, that is the SUPERVISOR_TOKEN, And give that the token, what you give from ha

 docker run -d \
  --restart=always \
  --network host \
  -e HA_URL=http://192.168.1.100:8123 \
  -e SUPERVISOR_TOKEN=blablabla \
  ewelink_smart_home

authors: DavidFFerreira IRus ShaMAD pitama truclk

repo: CoolKit-Technologies/ha-addon


text:
⚠ Samsung has degraded performance

In cca3c9a, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2487 ms

Resolved: Samsung performance has improved in a857533.

repo: CoopPlayzz/Webstatus-electronicbrands


text:
⚠ Samsung has degraded performance

In f412d68, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2288 ms

Resolved: Samsung performance has improved in ed3001d.


text:
⚠ Samsung has degraded performance

In 4c14fd3, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2953 ms

Resolved: Samsung performance has improved in 5469224.


text:
⚠ Fortnite has degraded performance

In f05394c, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1465 ms

Resolved: Fortnite performance has improved in 48d1db9.

repo: CoopPlayzz/Webstatus-games


text:
⚠ Minecraft has degraded performance

In 1ebdd21, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 1122 ms

Resolved: Minecraft performance has improved in 98f96b0.


text:
🛑 Twitter is down

In d11f7df, Twitter (https://twitter.com) was down:

HTTP code: 503
Response time: 9093 ms

Resolved: Twitter is back up in 4714b67 after 11 minutes.

repo: Coordinate-Cat/upptime


text:
WARNING:tensorflow:AutoGraph is not available in this environment: functions lack code information.

Hi
I'm using the executable application .exe and I get the following error "WARNING:tensorflow:AutoGraph is not available in this environment: functions lack code information. This is typical of some environments like the interactive Python shell. See https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/autograph/g3doc/reference/limitations.md#access-to-source-code for more information." I'm concern cause it says functions lack code information, reason why I think I'm getting high values for val_loss, for instance:
Epoch 5/100
1/5 [=====>........................] - ETA: 0s - loss: 538.5345 - accuracy: 1.00
5/5 [==============================] - ETA: 0s - loss: 673.7310 - accuracy: 1.00
5/5 [==============================] - 0s 40ms/step - loss: 673.7310 - accuracy:
1.0000 - val_loss: 802.8627 - val_accuracy: 1.0000
Epoch 6/100
1/5 [=====>........................] - ETA: 0s - loss: 800.9542 - accuracy: 1.00
4/5 [=======================>......] - ETA: 0s - loss: 797.1685 - accuracy: 1.00
5/5 [==============================] - 0s 33ms/step - loss: 776.6075 - accuracy:
1.0000 - val_loss: 823.5990 - val_accuracy: 1.0000
I've manage to code a script as a loop for executing the application 100 times, and the lower value I got was close to 300, which I guess it is still high, and it is maybe due to autograph error on logging to source code. I even change to Ununtu 22.04 OS, so I can easily manipulate the python scripts, nevertheless no success; I also built tensorflow from source and no success either. I edited autograph module according directions from webpage provided and didn't work, or I don't know what I missed; but I'm quite confused because despite the perfect accurracy there's a high value loss.
Thanks in advance

Hi
I was wondering if you could help me out with this error, I haven't been able to play lotto with a favorable confidence criterion due to the warning. I'm really disappointed since i bought the windows executable and no support at all

This is typical of some environments like the interactive Python shell. Does not affect ai training. Support comes only with the membership.

authors: CorvusCodex jhcuarta

repo: CorvusCodex/LotteryAi


text:
🛑 Ombi is down

In d40d580, Ombi (https://$URL/ombi) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ombi is back up in f1ad3bf.

repo: CoryManson/uptime


text:
Add constructors to query responses

See also https://github.com/CosmWasm/cosmwasm/pull/1558. I'd like to challenge my original argument

Simply adding a new function is not a satisfactory solution, as @webmaster128 https://github.com/CosmWasm/cosmwasm/pull/1552#issuecomment-1359024045, we would not be able to add new fields to the response type without changing the function signature.

That we are seeing now is worse than incomplete or breaking constructors that only affect testing frameworks. By enforcing a Default implementation for the query responses we cannot use types that have no Default implementation for good reason. E.g. we can't use Addr, forcing the user to validate data again that comes form a trusted source or rely on unsafe string comparisons. This will become more visible by https://github.com/CosmWasm/cosmwasm/issues/1669.
I don't think we should allow drawback for contract developers and production code to make writing testing frameworks convenient.
What we can do instead is: create constructors that fill all the fields. They can potentially be #[doc(hidden)] as shown in https://github.com/CosmWasm/cosmwasm/pull/1552/files. Then when new fields come in, we have three options:

Assign a default value in the old construtor. The testing framework can change it after creation using a mutable instance.
Create a second additional constructor that adds the new field (such as Reply::new(id, result) and Reply::new_with_gas_used(id, result, gas_used)
Break the constructor and just add the field

So I suggest

[ ] Remove Default implementation from AllDenomMetadataResponse/DenomMetadataResponse/QueryResponseType (1.3)
[ ] Remove Default implementation from DelegatorWithdrawAddressResponse and turn withdraw_address into Addr (1.3)
[ ] Remove Default implementation from ContractInfoResponse and turn creator/admin into Addr (2.0)
[ ] Remove Default implementation from CodeInfoResponse and turn creator into Addr (2.0)
[ ] Remove Default implementation from AllBalanceResponse/BalanceResponse/SupplyResponse as they are just pointless (2.0)

As mentioned already, I agree with this.
For option 3, we probably want to be able to break these constructors even in minor releases, so we should clearly mark that in their doc comments.
Just want to note that for larry's use case in #1558, we'd need to either keep these semver-stable or he'd have to pin the exact std-version. Otherwise, we'd potentially break cw-sdk.

Just want to note that for larry's use case in #1558, we'd need to either keep these semver-stable or he'd have to pin the exact std-version. Otherwise, we'd potentially break cw-sdk.

A pragmatic approach would be no not break those things in patch releases and use the tilde notation for the dependencies. Going explicitly from minor to minor is probably a good idea anyways if you integrate CosmWasm in a host environment.

repo: CosmWasm/cosmwasm


text:
Replace magic GAS_LIMIT constant with something intuitive

Right now, you cannot spend more than pub const GAS_LIMIT: u64 = 10_000_000_000; gas in a contract. This number is an arbitrary choice. It should be possible to change it to u64::MAX, allowing you to not worry about the value anymore. communicating that there is no special reason to

After some debugging I now believe that the points used in Wasmer metering can overflow. We get logs like this:
set_points_used: 18446744073709531615
get_points_used: 18446744073709531615
try_consume_gas: 134
get_points_used: 41721

Since there is no set_points_used from us between get_points_used: 18446744073709531615 and get_points_used: 41721, it must be the Wasmer execution that triggers an overflow. When points used can overflow, it must not be close to u64::MAX.


text:
Addd follow us on LinkedIn button

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@rajlaxmi03 This part of domain will work later !
Thank you !

repo: Counselllor/Counsellor-Web


text:
database dependency

Django-reactive version:
Django version:
Python version:3.9
Operating System: Windows 10

Description
I am trying to use Django-reactive in my project. I am using Microsoft SQL server 2019. but it gives an error because of the database.
What I Did
python manage.py migrate.
 'django.db.utils.ProgrammingError: ('42000', '[42000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Column, parameter, or variable #2: Cannot find data type jsonb. (2715) (SQLExecDirectW)')'. because jsonfield come from postgres.

Hi @Jpatel2408
Thanks for opening this issue.
This project was never meant to be working with MS SQL. However, you can use code from this project and extend the MS SQL JSON field type implementation to support React JSON Schema Form features in the same way how it works here.
Please, let me know if you end up writing an implementation for MS SQL. I will add a cross-link to this project.

repo: CoverGenius/django-reactive


text:
Update Minecraft Wiki link to new domain after fork

The Minecraft Wiki maintainers have decided to move away from Fandom. More information can be found here: https://minecraft.wiki/w/Minecraft_Wiki:Moving_from_Fandom.
There are also 2 old URLs in docs_exported but since those seem to be generated and I couldn't immediately find its source I just left it.

Thanks!
I can get those exported ones updated in a few minutes

repo: CraftTweaker/CraftTweaker-Documentation


text:
Emulators

Are there plans to make this compatible with emulators? You can install the files exactly where you would in a switch sd card using the emulator and it appears to work as the game icon changes but does not ask for an ip

nvm found discord server lol

repo: CraftyBoss/SuperMarioOdysseyOnline


text:
CASMCMS-8192: Default the Cray CLI to v1 for BOS

Summary and Scope
When no version string is specified for the cray bos command, then
default the version to v1.
Testing
See https://github.com/Cray-HPE/craycli/pull/59.
Pull Request Checklist

[ ] Version number(s) incremented, if applicable
[ ] Copyrights updated
[ ] License file intact
[ ] Target branch correct
[ ] CHANGELOG.md updated
[ ] Testing is appropriate and complete, if applicable
[ ] HPC Product Announcement prepared, if applicable

/backport release/1.3

Created the csm-1.3 backport: https://github.com/Cray-HPE/csm/pull/1225
And the csm-rpms PRs:
https://github.com/Cray-HPE/csm-rpms/pull/588
https://github.com/Cray-HPE/csm-rpms/pull/589

authors: jsollom-hpe mharding-hpe

repo: Cray-HPE/csm


text:
CASMMON-331 Add kafka-connect dashboard in cray-sysmgmt-health

Summary and Scope
Dashboard for kafka-connect after implementation of the jmx-exporter in CASMMON-330.
Issues and Related PRs

Resolves CASMMON-331
Merge after <https://github.hpe.com/hpe/hpc-car-sma-kafka-connect/pull/17>

Testing
Tested on:

<mug>
<hela>
Local development environment

Test description:
The changes tested and success verified.
https://grafana.cmn.mug.hpc.amslabs.hpecorp.net/d/connect/kafka-connect?orgId=1&refresh=10s
ncn-m001:/mnt/developer/sum # helm upgrade -n sma cp-kafka-connect cp-kafka-connect-1.4.0.tgz
Release "cp-kafka-connect" has been upgraded. Happy Helming!
NAME: cp-kafka-connect
LAST DEPLOYED: Thu Jul  6 05:32:58 2023
NAMESPACE: sma
STATUS: deployed
REVISION: 26
TEST SUITE: None
NOTES:
This chart installs a Confluent Kafka Connect

https://docs.confluent.io/current/connect/index.html

ncn-m001:/mnt/developer/sum # kubectl get all -n sma | grep connect
pod/cp-kafka-connect-c4dfdfb5c-26f8x                2/2     Running     0          2m49s
service/cp-kafka-connect                            ClusterIP      10.26.244.22    <none>         8083/TCP,5556/TCP              2m49s
deployment.apps/cp-kafka-connect               1/1     1            1           2m49s
replicaset.apps/cp-kafka-connect-c4dfdfb5c                1         1         1       2m49s

Pull Request Checklist

[x] Version number(s) incremented, if applicable
[x] License file intact
[x] Target branch correct

/backport stable/1.5

authors: denniswalker sumithrb


text:
CASMPET-6131 add management-nodes-rollout IUF stage

Description
add management-nodes-rollout IUF stage.
Initial testing completed on Frigg.
Checklist Before Merging

[ ] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[ ] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[ ] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

/backport release/1.4

manually backported. Here is 1.4 PR: https://github.com/Cray-HPE/docs-csm/pull/3147

repo: Cray-HPE/docs-csm


text:
🛑 sneak.page is down

In 354d1c4, sneak.page (https://sneak.page) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sneak.page is back up in 8daae4e after 16 minutes.

repo: Crazy-Marvin/upptime


text:
🛑 sneak.page is down

In 77dcece, sneak.page (https://sneak.page) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sneak.page is back up in 81772c7 after 20 minutes.


text:
1.15 port

You should probably not merge this in 1.14, just setting this PR so you see what i did. I recommend you just making a new branch for 1.15 and messaging me so i can PR to the new branch.

@LordGrimmauld The new branch is up

authors: CrazyCrafter-DoctorTee LordGrimmauld

repo: CrazyCrafter-DoctorTee/SnowAccumulation


text:
Nums passed to foreign methods.

One other thing I've just noticed is that Nums passed as arguments to Wren foreign methods are coming across to Go as float32's rather than float64's which is losing accuracy.
This seems to be as a result of this function in vm.go:
func (vm *VM) getSlotValue(slot int) (value interface{}) {
	cSlot := C.int(slot)
	switch C.wrenGetSlotType(vm.vm, C.int(cSlot)) {
	//...
	case C.WREN_TYPE_NUM:
		return float32(C.wrenGetSlotDouble(vm.vm, cSlot))
	//...
	}
}

I don't understand why this is necessary when Nums are essentially float64's and slots can handle doubles just fine.

Fixed.
I guess I didn't know whether Nums were 64-bit or 32-bit


text:
Preserve imageOpacity when assigning to Wheel.items

The imageOpacity property wasn't previously passed through when initializing Item objects, so it would be ignored.
One can work around this by setting imageOpacity manually, as in the following example, but it seems like this property is simply missing from the setter and should be included with the rest of the fields.
var wheel = new Wheel(container, { items })

for (const i in items) {
  wheel.items[i].imageOpacity = items[i].imageOpacity
}

Thanks @evhan!

authors: CrazyTim evhan

repo: CrazyTim/spin-wheel


text:
Yams dependency warning in Swift 5.6

'openapikit' dependency on 'https://github.com/jpsim/Yams.git' conflicts with dependency on 'https://github.com/CreateAPI/Yams' which has the same identity 'yams'. this will be escalated to an error in future versions of SwiftPM.

This happens because we use a fork of Yams, but I'll need to look into what openapikit is doing.

I have a very similar issue that I came here to post about. My CreateAPI generated package has a dependency on https://github.com/CreateAPI/Get, but I'm also using Get for my Application, so I'm getting the following warning in the "Resolve Packages Log":

'generatedapi' dependency on 'https://github.com/CreateAPI/Get' conflicts with dependency on 'https://github.com/kean/Get' which has the same identity 'get'. this will be escalated to an error in future versions of SwiftPM.

Ahh that one is an easier fix @mgrider.
We transferred ownership of the tools to the CreateAPI organisation so I updated Package.swift to reflect that, but Get went back to Alex’s personal account and I need to update the Package.swift still to avoid the redirect.
I’ll sort it shortly 👍🏼 Thanks for flagging though!

authors: liamnichols mgrider

repo: CreateAPI/CreateAPI