Re-render elements when used array.unshift()

ISSUE  how to make that are not re-render template when unshift?
Vue.js version
2.0.3
Steps to reproduce.
Open devtools. Find my list (ul).
Click button.
Re-render elements when used unshift().
When use push() all good, just add new element.
i just open devtools and I see how re-render items.
Reproduction Link
https://jsfiddle.net/philvv/sxxjkf1a/
I know when unsift is used, the array indices are shifted.
But angular does not re-render elements.
Question:
Since the list is a lot of data, wouldn't it be expensive to redraw all the elements??

Please make sure to read the Issue Reporting Guidelines before opening new issues. The issue list only accepts bug reports and feature requests. Questions should be posted to the Gitter chat room,  forum or StackOverflow. Thanks.

Ok. Thank you. But is a maybe bug. Because I think no need to re-render the entire list))

You should use the key property for this.
Vue tracks unique keys when re-rendering lists. If you don't provide keys it will do a complete re-render: https://vuejs.org/guide/list.html#key


Fix/Remove keccak_builtin

The current implementation of KeccakBuiltinRunner has a bug: KeccakBuiltinRunner::deduce_memory_cell should insert the output cells into memory (as per the python implementation), instead of just returing one of the output cells.
This implementation is invalid, as auto-dedution rules are also ran after the VM's run has ended, where the memory is immutable. So we can't apply a straightforward fix #844.
Currently in the Python VM, the keccak_builtin is implemented but not accessible, as it is only present in the "recursive" layout, which is not included in the permitted layouts, making it inaccesible. Adding the recursive layout manually  and using the keccak_builtin doesn't work either, as the vm run fails when verifying auto-deductions, as frozen (aka immutable) memory is mutated.
For the moment, we will not fix this bug and will disable the "recursive" layout in cairo-rs VM.
We will discuss if we should remove this builtin from the code until it is fixed and enabled in cairo-lang

Fixed in 0.11.0 #869


Gold blocks can't be mined on Golden Drought

Proof: https://youtu.be/sB7W_se0gYM
Version: 4f2c109
XML: http://pastebin.com/RAgYycfG

XML Error https://oc.tc/forums/topics/54e2a85f5f35b957a90085d1?page=1#54e2a906c296355704008c07

Fixed


When using cmd+P or ctrl+P to open a file within the workspace, it can't find the file in a live session that is not the host session

When using cmd+P or ctrl+P to open a file within the workspace, it can't find the file in a live session that is not the host session

Feel free to ping me directly at<EMAIL_ADDRESS>

Hi,
Thanks for reporting this issue!
Is the file you're trying to find on the joined session inside the folder that you have shared?
Is the file in .gitignore?

Hi,
No, this applies to all files. These are directly in the repo.
Thanks,
Albert
On Tue, May 26, 2020 at 10:22 AM Ilya Biryukov<EMAIL_ADDRESS>wrote:

Hi,
Thanks for reporting this issue!
Is the file you're trying to find on the joined session inside the folder
that you have shared?
Is the file in .gitignore?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/live-share/issues/3557#issuecomment-634162908,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIZG4C2GLNHQ3T5KQN76RKDRTP3GFANCNFSM4NHN5SRA
.

Your logs may provide us with helpful information. You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue.
The logs are text files. Please check that they don't have any sensitive information that you don't want to share here.

Closing due to age. Please feel free to reactivate with more details so we can repro the problem!


Adding Command for Google Inbox

Would be nice if there was a command for Google Inbox similar to the one for Keep where typing just i takes you to inbox and adding a semi-colon after allows you to search.
Basically the functionality of the Keep command but for Inbox.

This will probably get added

Added in 1edc39eaa50ac8dcf04aca0cee69b4ce7127ec2f

Thanks 👍


Research whether calling record.data.json() twice results in a hang

@mistermoe had encountered this in the past, and if it still occurs, needs to be fixed.  The cause is that due to the underlying stream being consumed, the second attempt hangs.

After executing following code, nothing was hanging for me
`
import { Web5 } from '@web5/api';
const { web5, did: myDid } = await Web5.connect();
const { record } = await web5.dwn.records.create({
data: JSON.stringify({ message: "Hello World!"}),
message: {
dataFormat: "application/json",
},
});
const { records } = await web5.dwn.records.query({
message: {
filter: {
dataFormat: "application/json",
},
},
});
const {data} = records[0];
const res1 = await data.json();
console.log('111111-----', res1);
const res2 = await data.json();
console.log('222222------', res2)
const res3 = await data.json();
console.log('333333-----', res3);
const res4 = await data.json();
console.log('444444------', res4)`

While there was no hanging issue, note that output of the data after .json() is different in latest main branch. Looks like a problem to me, unless it's part of the plan @frankhinek  @mistermoe
Let me know if that something WIP or you'd like me to investigate.
Quick look up show that dataBlob differ in branches:
{ dataBlob: Blob { size: 8490, type: 'application/json' } } // latest main
{ dataBlob: Blob { size: 28, type: 'application/json' } } // v0.7.11

While there was no hanging issue, note that output of the data after .json() is different in latest main branch. Looks like a problem to me, unless it's part of the plan @frankhinek @mistermoe
Let me know if that something WIP or you'd like me to investigate.
Quick look up show that dataBlob differ in branches:
{ dataBlob: Blob { size: 8490, type: 'application/json' } } // latest main
{ dataBlob: Blob { size: 28, type: 'application/json' } } // v0.7.11

this was clarified in the discord thread ...
TLDR - now there are more records returned through generic query, namely identity records, so confusion was that created data record wasn't the first [0] item in the array of records...


Monitor nodered csv importer 2.0

This CSV importer ingests data through MQTT
Signed-off-by: Mike Lamb<EMAIL_ADDRESS>

Signed-off-by: Mike Lamb<EMAIL_ADDRESS>


docs don't mention compiling and installing musl

Hi, I really like the documentation for this project.
However, the documentation does not seem to mention the "Build MUSL dependency" step which is executed in the CI:
      - name: Build MUSL dependency
        run: |
          cd sw/deps
          mkdir install
          cd musl
          CC=$LLVM_BINROOT/clang ./configure --disable-shared \
          --prefix=../install/ --enable-wrapper=all \
          CFLAGS="-mcpu=snitch -menable-experimental-extensions"
          make -j4
          make install
          cd ../../../
      - name: Build Software
        run: |
          make -C target/snitch_cluster sw

Hi Josse,
Thanks for your feedback!
We are currently in the process of updating our musl implementation, after which no manual installation steps will be required.

#26 was recently merged to main and addresses this issue.


multiple light sensors can't turn on their lights on NXT

when using more then one light sensor with the NXT robot system, only the first used sensor turns on its build-in LED. Normally you would expect every sensor, when using the normal 'light'- and not 'ambient light'-mode, to turn on their LED.
Furthermore when using multiple light sensors with the official Lego Mindstorms Education NXT Programming Software, all of them turn on their respective LED when in use.
I guess
the error lies in the implementation of the readLightSensor-function in NepoDefs.h.

From the docu http://bricxcc.sourceforge.net/nbc/nxcdoc/nxcapi/group___input_module_functions.html
if we exange
void SetSensor (const byte &port, const unsigned int config)
with
void  SetSensorLight (const byte &port, bool bActive=true)
in the code generation it should work


[WIP] Noscript

OP#2321

@JustusFT do you want to add something more here? From my side seems ok to make PR and merge


Feature request: typeenter

It would be nice if vncdo could type and then hit enter on the same line without having to type the string and then key enter.
Maybe something like this?
vncdo -s <IP_ADDRESS>::5999 typeenter root
vncdo -s <IP_ADDRESS>::5999 typeenter password
This would save many lines of vncdo runs.
...etc..etc

I think the following should work
vncdo type root key enter
http://vncdotool.readthedocs.org/en/latest/usage.html#basic-usage

Oh sweeet! I didn't even realize you could do that. :+1:


Error when Using it in combination with Ionide for Fsharp

Hi,
I have a very weird error when using this extension in combination with ionide for Fsharp.
When loading a project I get : [09:38:54 ERROR] [LanguageService] Error starting F# language server: % [Error: Error finding dotnet version, do you have dotnet installed and on the PATH?
at c:\Users\heads.vscode-insiders\extensions\ionide.ionide-fsharp-7.11.0\fsharp.js:2:699849
at c:\Users\heads.vscode-insiders\extensions\ionide.ionide-fsharp-7.11.0\fsharp.js:2:699939
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async v.n (c:\Users\heads\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:125:6206)
at async v.m (c:\Users\heads\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:125:6169)
at async v.l (c:\Users\heads\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:125:5626)]
[09:38:54 ERROR] [Main] Error activating FSAC: Error: Error finding dotnet version, do you have dotnet installed and on the PATH?
[09:38:54 DEBUG] [Main] Activating features
[09:38:54 ERROR] [Main] Error loading projects: TypeError: Cannot read properties of null (reading 'Found')
I can work around that by disabling codemap, reloading window to let ionide load the projects and then enable codemap but thats a bit of a pain. Any Idea on how codemap can influence ionide for Fsharp´s startup?

I do not see how one extension can impact another one when locating a file on the file system.
The only thing that both extensions have in common is that CodeMap also runs .NET launcher (dotnet.exe) in the background. But it is a different process so I do not see why F# may have any difficulties running another instance of dotnet.exe.
I am not sure how to help you. Since it is F# extension that throws the error, its vendor is in a much better position to assist you. They can easily repeat your test and see under the debugger why the extension spits the dummy.
I suggest you contact "ionide for Fsharp" vendor


Publish nativelink-worker image for C++

This should simplify external setups as it's no longer a requirement to build worker images if they work with a "standard" C++ toolchain.
Since the toolchain images are quite somewhat more complex than the minimal NativeLink image the pipelines now publish trivy scan results.

This change is

Not ready yet.


Low Cooling DSE value for a case with ResStock 3.2/OS-HPXML 1.7

We are getting Low Cooling DSE: 0.02836323 while running one building (NREL\Team OCHRE - Validation\OS-HPXML_1.7\test_100\buildings\up00\bldg0000001) using os-hpxml-1.7branch. The building is located in MA, duct location: attic-vented and has room air conditioner for cooling and furnace for heating. The cooling fan flow is 108 cfm, so the cooling duct leakage is 22 cfm for supply and 11 cfm for return (very low values). ASHRAE152 spreasheet is attached for reference.
152faip2003_prc3_39.xls

Oh I didn't realize it has a room AC. Should we not be calculating cooling DSE for those? It seems unnecessary. I imagine that may not fix the whole problem, but it would at least fix this case.

It's not only a room AC, it's only supposed to condition 20% of the space. I'm not sure we're even set up to handle that? But that's part of why the airflow rate is so low here. In OS-HPXML they basically model the HVAC as fully conditioning the space and then reduce the energy consumption by the % conditioned. I'm not 100% sure but I'd guess this is playing into why the DSE calculation is so low. Here's the element of HPXML setting this to only condition 20% of the space:
<CoolingSystem>
              <SystemIdentifier id='CoolingSystem1'/>
              <UnitLocation>conditioned space</UnitLocation>
              <CoolingSystemType>room air conditioner</CoolingSystemType>
              <CoolingSystemFuel>electricity</CoolingSystemFuel>
              <CoolingCapacity>2797.0</CoolingCapacity>
              <CompressorType>single stage</CompressorType>
              <FractionCoolLoadServed>0.2</FractionCoolLoadServed>

That said, room ACs can't be ducted. There are ducts in this building, but they're only used for cooling. That'll be true for all room ACs, but you can also tell from the HPXML file because the duct cooling component load is 0:
                <Heating>
                  <Total>88509.0</Total>
                  <Ducts>31224.0</Ducts>
                  <Windows>2582.0</Windows>
                  <Skylights>0.0</Skylights>
                  <Doors>258.0</Doors>
                  <Walls>14641.0</Walls>
                  <Roofs>0.0</Roofs>
                  <Floors>0.0</Floors>
                  <Slabs>11968.0</Slabs>
                  <Ceilings>1999.0</Ceilings>
                  <InfilVent>25838.0</InfilVent>
                </Heating>
                <CoolingSensible>
                  <Total>10112.0</Total>
                  <Ducts>0.0</Ducts>
                  <Windows>1557.0</Windows>
                  <Skylights>0.0</Skylights>
                  <Doors>94.0</Doors>
                  <Walls>1822.0</Walls>
                  <Roofs>0.0</Roofs>
                  <Floors>0.0</Floors>
                  <Slabs>0.0</Slabs>
                  <Ceilings>1167.0</Ceilings>
                  <InfilVent>2382.0</InfilVent>
                  <InternalLoads>3090.0</InternalLoads>

This also makes me feel better about seeing such a low value! It's an infeasible case/bug outside of our DSE calculation. So I think we can still use the duct validation effort #20 to come up with an appropriate minimum value we can cap DSE at.

Adding other few test files with bad cooling DSE to this issue:
The duct location were attic - vented and basement - conditioned. The heating equipment is Furnace and cooling equipment is Room AC. The heating DSE values are okay. But the cooling DSE values are bad because the room ACs are assigned to have ducts. DSE should be set to 1 for Room AC. For basement - conditioned duct location, using "basement with insulated walls" option from ASHRAE 152 spreadsheet looks good for heating.


ORC blog: fix year in date

Signed-off-by: Avril Aysha<EMAIL_ADDRESS>

@newfront - apologies for the double PR here. DCO wasn't passing and this was the easiest way to make it pass.


Great Work!  Thanks for the Hilo integration.  Can we get the outside air temps

Hy François and thanks for your work.  It is greatly appreciated as I can use HA occupancy logic to trigger my setpoints.  Would it be possible to add the outside air temps sensor that Hilo is getting from the intelligent counter ?  It would be really usefull because this is the closest "free" sensor for outside air, much better than meteo stations.  This sensor would be useful to do logic like decide if free cooling is possible meaning that the outside air is colder than the inside air.  Thanks again!

I think it was but great question before putting effort in it. Maybe hydro is using our postal code for it.  Let me check before and I will come back to you.
Télécharger Outlook pour Androidhttps://aka.ms/AAb9ysg

From: francispoisson @.>
Sent: Saturday, October 16, 2021 9:49:14 AM
To: francispoisson/hilo @.>
Cc: Fox350 @.>; Author @.>
Subject: Re: [francispoisson/hilo] Great Work! Thanks for the Hilo integration. Can we get the outside air temps (#32)
Are you sure it's a sensor from the intelligent counter?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/francispoisson/hilo/issues/32#issuecomment-944917926, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASVQAROJSJIQSWK46L74X3DUHF7FVANCNFSM5GDBZK3A.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


fakegato for history graphs

Is it possible to view the history data within the Eve app?

It should, as the ability to generate the data behind the graphs is included.

Thanks for confirming! I had been using the other DHT  plugin which doesn't appear to support history.
My issue is now your plugin isn't "verified" and fails to install throught homebridge-ui and installing manually gets uninstalled randomly after 20minutes

Verified is a paper exercise, and a flag and should not impact installation.
This plugin uses a binary I complied 5 years ago and included within the plugin.  Their is possibilty that more modern RPI's don't support the binary.
When you install from the command line, what does it show ?

I was able to install the Plugin via the UI, but after the configuration I got this error.
[02/01/2023,
01:55:451ニニニニニニニニニニニニニニニニニニニニ
[02/01/2023, 01:55:45] ERROR LOADING PLUGIN homebridge-dht:
[02/01/2023, 01:55:45] Error: Cannot find module /build/Release/node_dht_sensor'
Require stack:
/var/lib/homebridge/node modules /homebridge-dht/node modules /node-dht-sensor /lib/ index. is /var/lib/homebridge/node modules /homebridge-dht/index. is /var/lib/homebridge/node_modules/homebridge/lib/plugin.js

/var/lib/homebridge/node modules /homebridge/lib/pluginManager.is
/var/lib/homebridge/node modules/homebridge/lib/server. js /var/lib/homebridge/node modules/homebridge/lib/cli.js /var/lib/homebridge/node modules /homebridge/bin/homebridge
at Function. Module. resolveFilename (node: internal/modules /cis/loader: 995:15) at Function. Module. load (node: internal/modules /cis/loader: 841:27) at Module.require (node: internal/modules /cjs/loader:1061:19) at require (node: internal/modules /cis/helpers: 103:18)
at Object.  (/var/lib/homebridge/node modules /homebridge-dht/node modules /node
-dht-sensor/lib/index. js: 1:14)
at Module. compile (node: internal/modules/cjs/loader: 1159:14)
at Object. Module. extensions.. js (node: internal/modules/cjs/loader: 1213:10) at Module. load (node: internal/modules /cis/loader: 1037: 32) at Function. Module. load (node: internal/modules /cis/loader: 878:12) at Module.require (node: internal/modules/cjs/loader: 1061:19)

After installation via the UI Console nothing showed in the Plugin tab.

node_dht_sensor is this package - https://github.com/momenso/node-dht-sensor
And looking at the issues, they mention https://github.com/momenso/node-dht-sensor/issues/135 - bcm lib not available anymore on OS bullseye
I'm wondering if this is the case ?
https://github.com/momenso/node-dht-sensor#reference-for-building-from-source

I was able to fix the problem, Bit now it simply tells me failed to read Sensor. With a Python Script I am able to see values, so I think it is wired correctly.

Suddenly just one magic value.
[04/01/2023, 01:41:33] [dht22] DHT Status: 0, Temperature: 21.5°C, Humidity: 65.7% [04/01/2023, 01:41:33] [dht22]
**Fakegato-timer: addData
time:<PHONE_NUMBER>, temp: 21
.5, humidity: 65.7 } immediate: false [04/01/2023, 01:41:33] [dht22]
Start Global Fakegato-Timer - 10min
[04/01/2023, 01:42:35] [dht22] Error: [Error: failed to read sensor]
[04/01/2023, 01:43:35] [dht22] Error: [Error: failed to read sensor]

Oddly the plugin will install when done via hb-shell but then uninstalls after 30min/rebooting the pi. Install with the UI fails with the below everytime.
343 timing reifyNode:node_modules/homebridge-dht/node_modules/moment Completed in 125594ms 344 timing reifyNode:node_modules/homebridge-dht/node_modules/googleapis Completed in 307585ms 345 timing reify:unpack Completed in 307958ms 346 timing reify:rollback:createSparse Completed in 20994ms 347 timing reify:rollback:retireShallow Completed in 2ms 348 timing command:install Completed in 406862ms 349 verbose stack Error: process terminated 349 verbose stack     at /opt/homebridge/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:199:39 349 verbose stack     at process.<anonymous> (/opt/homebridge/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/signal-handling.js:53:5) 349 verbose stack     at process.emit (node:events:525:35) 350 verbose cwd /var/lib/homebridge 351 verbose Linux 5.15.76+ 352 verbose node v18.12.1 353 verbose npm  v8.19.2 354 error process terminated 355 error signal SIGTERM 356 verbose exit 1 357 timing npm Completed in 412731ms 358 verbose unfinished npm timer reify<PHONE_NUMBER>795 359 verbose code 1 360 error A complete log of this run can be found in: 360 error     /home/pi/.npm/_logs/2023-01-04T05_43_11_025Z-debug-0.log

What os image are you using, as I have never seen a plugin un-install itself

I am using the offical homebridge image downloaded from the RPI imaging tool. I am running it on a RPi B 1st gen Rev2 board

I was chatting with some of the other plugin developers, and one comment made was that your SD card may be old/bad and causing the rollback.

I am using a SanDisk Ultra 16gb with an Pi Zero WH
Link for the Typ of SD-card that I use: https://www.westerndigital.com/de-de/products/memory-cards/sandisk-extreme-uhs-i-microsd#SDSQXAF-032G-GN6MA

Thanks @NorthernMan54 if I hadn't just flashed a brand new sandisk extreme pro 128. I suppose that doesn't mean the SD card didn't corrupt and particularly possible on the lowest end Rpi hardware. I will try a fresh flash tonight and see what happens. Wondering if i should try manually install homebridge instead of using the pre-built image? Also I'm using a 20w Anker Nano USB-C charger should be more then plenty of smooth DC juice?

If I get some free time over the next few days, I'm to test that image an older RPI 2 that I have in storage.  I'm curios if I can recreate the 30 minute uninstall issue

Suggestion from @ebaauw
To confirm a suspect SD card, just do a touch x, check that file x has been created, reboot, check that x has disappeared.  Raspberry Pi OS happily writes any changes to the file system cache, and you never notice that they’re not flushed to the uSD card, until you reboot the Pi. It’s unbelievable, until you’ve experienced it yourself.


exception/interrupt handlers shouldn't access this_cpu()

Exception/interrupt handlers (or more commonly signal handlers in non-kernel code) are considered separate threads within the abstract machine. One consequence of this is that they shouldn't access this_cpu() because this_cpu() is not Sync. There's currently nothing to prevent this from happening.
Code accessing !Sync data can usually assume that its accesses are never interrupted, but that's not the case if an exception handler preempts the code and accesses the data as well. The soundness of the Cell and RefCell types hinges on being able to do uninterrupted accesses. Consider the following example: Some code wants to write an enum with data into a Cell in its PerCpu structure. Rust enums have a tag that decides which variant is active. If the code trying to write the enum is interrupted halfway through (e.g. by the hypervisor injecting #HV), it may have only written the tag, but not all the other data contained in the enum. Unlike with lock structures, there's nothing that prevents the exception handler from accessing the data as well. When the exception handler reads the Cell it may see the new enum tag but with some of the old enum data. If the tag doesn't match the data, that's obviously very bad.

It seems to me that we can hardly remove all Cell, RefCell and OnceCell from PerCpu to have it Sync (I'm not even sure if doing this is sufficient to have this_cpu() Sync).
It also seems to me that we can hardly handle #PF without accessing the page tables, so I guess here we either need to move the page tables into a Sync version (eg. moving the page tables without using RefCell into PerCpuShared, right?), or to add a lock around the page tables ref, but it seems this is a bad idea

Sorry, I think the title is a bit misleading: What I was trying to say was the "with the current PerCpu implementation, exception/interrupt handler must not access this_cpu()". I don't know of a good solution to this, but it might involve making PerCpu safe to access from multiple threads so that exception/interrupt handles may access this_cpu().
I don't know of a good way to solve this, we might have to get rid of the *Cell types, we might have to introduce locks, maybe we should split up PerCpu into several levels of access from different contexts, I don't know.

For RefCells we could perhaps introduce a wrapper type that disables interrupts while the data is borrowed.
There would still be the possibility of restoring interrupts manually while the borrow is alive but it would at least be better than what we have now.


BEAM allocators can work with any node, not just rabbitmq

@gerhard This dashboard now isn't rabbitmq specific plus I tweaked legends. I tried this with my rabbitmq. Could you please confirm this still works for you.
@seriyps could you please try this too.

Looks great:

@gerhard could you please have a look

Can you, please, upload updated version to grafana.com?

Hi Ilya,
Finally managed to take a look at this. There are a few of things which I think we could do better:

Use Erlang node name instead of IP & port. This doesn't couple an Erlang node to an IP or port, which I think makes filtering easier.
Don't depend on prometheus_process_collector for RSS memory. Since we've had issues with this deadtrickster/prometheus_process_collector#9, it might make sense to use something else to get RSS memory. I know that you don't want to make this RabbitMQ-specific, I would have suggested rabbitmq_memory_rss_bytes otherwise. Speaking of prometheus_process_collector, is there any reason why you've implemented it as a NIF? Does this help?

Looks good otherwise! Would be nice if this existed on grafana.com. There are a few more RabbitMQ-specific Grafana/Prometheus dashboards that we will be sharing.

Hi, Sergey, Gerhard
I'm on business trip now, will be looking at this next week.
I think it would be cool to have as many metrics implemented purely in erlang as possibe. There're licensing concerns of course - rabbit is apache2 and prometheus is mit.
Definitely welcome new contributions!

new version has been uploaded to grafana.com


[New term] Add gRPC to Glossary

1. Please describe why this term needs to be added
What this term is about? (briefly)

is a modern open source high-performance Remote Procedure Call (RPC) framework that can run in any environment.

Why this term needs to be added? (briefly)

Many CNCF projects use gRPC to connect a large number of microservices. It generates cross-platform client and server bindings for many languages and is designed for low latency and high throughput communication.

2. Checklist

[X] The suggested term fits the cloud native definition or is essential to understanding cloud native terms. (We hope to avoid adding general or broad terminologies)
[X] There is no existing issue yet. (shift+click to check existing issues)
[X] I understand that maintainers will assess if the term should be part of the Glossary. (Please be patient)
[X] I want to work on this term. (If not checked, maintainers will assign another volunteer)

(Note)
Maintainers will assign a label after assessment procedure.
(from triage/awaiting to triage/accepted or triage/not accepted)
A contributor can be assigned to this issue after the issue get the triage/accepted label.
The assignee needs to check Style Guide.

While this is a specific technology and would not qualify for the Glossary, the maintainers agreed that a definition would be useful for the community.

While this is a specific technology and would not qualify for the Glossary, the maintainers agreed that a definition would be useful for the community.

Thank you! Should I go ahead and raise a PR on this?

Sure! I just assigned it to you. Please make sure to read the contributor and style guides before getting started.

@Santosh1176, just following up on this. Should I release the issue so others can work on this?

Hi @CathPag .I am interested in GRPC . Assign me if its relevant. Thanks

Hi @shahriarsohan, can you please first confirm you've read the "who can contribute" section of the contributor guide and that you meet the requirements?

@CathPag thanks for mentioning this. I read the guide and I can explain this with simple word

That's great! By confirming, I meant if you can confirm that you have deep cloud native expertise — a key requirement to explain complex concepts in simple terms.


[TEST] - correct SlaveConnectionManagerTest (6.1)

@mbatchelor Could you please review?

@mbatchelor @brosander  @pamval Could you please review?


Backport 2.7: Remove unnecessary uses of MD2 in X.509 parsing test suite

This is the backport of #2430 to Mbed TLS 2.7.

@AndrzejKurek @k-stachowiak I force-pushed to resolve a ChangeLog conflict. Could you please re-review?

@k-stachowiak @Patater @AndrzejKurek Fixed the issue Jaeden spotted, and rebased on top of mbedtls-2.7, resolving merge conflicts.
Can you please re-review?

I've updated this PR to the recent changes in #2430. @AndrzejKurek @k-stachowiak Could you please re-review?

@gilles-peskine-arm As you've reviewed the original PR, would you mind reviewing this backport, too?


TypeTransaction conversion trait impls

Motivation
Ref #438

Solution
Add From bounds to UnsignedTx and TransactionRequest types in Network.
Satisfy bounds by implementing the following:

From<TypedTransaction> for TransactionRequest
From<TxEnvelope> for TransactionRequest
From<TypedTransaction> for WithOtherFields<TransactionRequest>
From<TxEnvelope> for WithOtherFields<TransactionRequest>

To accomplish the above, implemented

From<TxLegacy> for TransactionRequest
From<TxEip2930> for TransactionRequest
From<TxEip1559> for TransactionRequest
From<TxEip4844Variant> for TransactionRequest

PR Checklist

[ ] Added Tests
[ ] Added Documentation
[ ] Breaking changes

Ready to merge @prestwich ?


Use ES6 classes and stateless functions

Hi.
Great project!
I noticed that the project is using React 15.0.1 and since ES6 is already present in the codebase I figured we might want to switch to an ES6 class in the Pomodoro component and a stateless function in the Footer component.
What do you think?
Those are quick changes and I am happy to send a PR if you agree with them.
Thank you 😎

Hello @mkautzmann,
I think is cooool 👍
(PS: Mete bronca aew mano ;D)

I created a branch called react-refactor locally. Should I PR to master or can you create a new branch for this change?

I created a branch development.
You can send your PR for this branch :)

Great!
Thanks @mkautzmann :)


Create mapping between Azure Pipeline tasks and GitHub Actions

Task name: Create mapping between azure pipeline tasks and GitHub Actions.
Description: Create mapping between azure pipeline tasks and GitHub Actions.
Documentation changes required: (Y/N) Y
Added unit tests: (Y/N) N
Attached related issue: (Y/N) N
Checklist:

[ ] Task version was bumped - please check instruction how to do it
[X] Checked that applied changes work as expected

Closed


unique namespace per lab

Currently, clabverter uses clabernetes namespace for the resources created for every clab file.
I think it makes sense to create a unique namespace per each lab as it:

makes it easy to remove the lab and its artifacts with a single swipe: k del ns foo
isolates lab resources in the cluster, which makes it easy to list resources belonging to a lab
simplifies visualization in tools like k9s

The namespace name can be bluntly derived from the clab's .name attribute plus c9s prefix. For example for a given clab file:
name: mylab

topology:
  nodes:
# snip

clabverter can create a namespace named c9s-mylab making a homage to clab's prefix naming convention that would have been clab-mylab.

I think we already have a namespace flag in clabverter -- so basically have that take precedence over this but otherwise do this auto magic handling?

@carlmontanari I can work on that.
the scope of work I see ahead is:

get the lab name out of the clab file
compute that c9s-<lab-name> namespace
set this value as a namespace of clabverter


Running on EKS seeing:  'mkdir: cannot create directory '/var/lib/pgsql/data': Permission denied' from tackle-pathfinder-postgresql

Relates to https://github.com/konveyor/tackle2-operator/issues/167
Thank you to @Murali-Cloudbridge for originally raising this with a workaround in https://github.com/konveyor/tackle2-operator/issues/169#issuecomment-1485854794 and also to @jmontleon for helping me to debug this deeper to learn root cause.
Running on EKS with EBS-CSI AddOn configured I am seeing the below after install
Notes:  Configure EBS dynamic provisioning on an EKS Cluster
$ kubectl get pods -n konveyor-tackle
NAME                                                              READY   STATUS             RESTARTS      AGE
c4af2f0f9eab63b6ac49c81b0e517eb37c2efe1bb2ede02e8642cd4e7f6xxfs   0/1     Completed          0             11h
konveyor-tackle-ctmgx                                             1/1     Running            0             11h
tackle-operator-7ff797766-fbhbg                                   1/1     Running            0             11h
tackle-pathfinder-postgresql-695b9798d6-pbq56                     0/1     CrashLoopBackOff   7 (82s ago)   11h

$ kubectl logs tackle-pathfinder-postgresql-695b9798d6-pbq56 -n konveyor-tackle
mkdir: cannot create directory '/var/lib/pgsql/data': Permission denied

With @jmontleon help, we learned why the securitycontext info is needed, if no securitycontext is set the container runs as the default user of '26' (configured in the image).  Yet /var/lib/pgsql is 755 root root
Note:  This looks like a similar problem discussed at:
https://keycloak.discourse.group/t/keycloak-operator-on-doks-postgres-fails-with-var-lib-pgsql-data-userdata-permission-denied/4176/6
$ podman run -it --entrypoint /bin/id quay.io/centos7/postgresql-12-centos7:latest
uid=26(postgres) gid=26(postgres) groups=26(postgres),0(root)

To debug

Stop the operator:   kubectl -n konveyor-tackle scale --replicas=0 deployment tackle-operator
Edit the deployment and add:

  spec:
      containers:
      - command:
        - sleep
        - infinity

Exec into the pod

$ kubectl -n konveyor-tackle exec -it tackle-pathfinder-postgresql-5b7554f9b7-xlzqf -- /bin/bash
bash-4.2$ id
uid=26(postgres) gid=26(postgres) groups=26(postgres),0(root)

bash-4.2$ ls -ld /var/lib/pgsql
drwxrwsr-x 3 root postgres 4096 Mar 29 15:32 /var/lib/pgsql

The Dockerfile for this image is here:
https://github.com/sclorg/postgresql-container/blob/master/12/Dockerfile.centos7#L88
Given the user is already set all we really need is this to match:
      securityContext:
        fsGroup: 26


Volar "[Vue Named Pipe Client] No server found for

Problem description
When I try to use LSP Volar on Vue.js files I get
[WARN][2024-09-11 16:44:31] ...lsp/handlers.lua:625	"[Vue Named Pipe Client] No server found for .vue
Why do you think this is an issue with mason-lspconfig.nvim?
because I guess that mason-lspconfig don't send correct data to volar.
As the ...lsp/handlers.lua seem to report
Neovim version (>= 0.7)
NVIM v0.10.1
Build type: Release
LuaJIT 2.1.1725453128
Run "nvim -V1 -v" for more info
Operating system/version
Linux localhost 6.10.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 04 Sep 2024 15:16:37 +0000 x86_64 GNU/Linux
I've manually reviewed the Nvim LPS client log (:LspLog) to find potential errors

[X] Yes

I've recently downloaded the latest plugin version of mason.nvim, mason-lspconfig.nvim, and nvim-lspconfig

[X] Yes

Affected language servers
volar
Steps to reproduce
install nvim
setup lazy
setup nvimlsp, lspconfig, mason and mason-lspconfig using default config
install volar using mason
install typescript on the vue repos using npm install typescript (because we need typescript server)
get no lsp when you open a vue file
Actual behavior
LSP don't report error and mostly no diagnostic at all
if by example I just start to write const and don't end my line
Expected behavior
having a lsp diagnostic that report me that I didn't finish my line
LspInfo
- volar (id: 1)
    Root directory: ~/Documents/saga/composer
    Command: /home/user/.local/share/nvim/mason/bin/vue-language-server --stdio
    Settings: vim.empty_dict()
    Attached buffers: 4

LspLog
[WARN][2024-09-11 15:36:24] ...lsp/handlers.lua:625	"[Vue Named Pipe Client] No server found for /home/user/Documents/working_repos/composer/components/Shared/MediasUploader.vue"

Healthcheck
mason: require("mason.health").check()

mason.nvim ~
- OK mason.nvim version v1.10.0
- OK PATH: prepend
- OK Providers:
    mason.providers.registry-api
    mason.providers.client
- OK neovim version >= 0.7.0

mason.nvim [Registries] ~
- OK Registry `github.com/mason-org/mason-registry version: 2024-09-11-zigzag-plaice` is installed.

mason.nvim [Core utils] ~
- OK unzip: `UnZip 6.00 of 20 April 2009, by Info-ZIP.  Maintained by C. Spieler.  Send`
- OK wget: `GNU Wget 1.24.5 built on linux-gnu.`
- OK curl: `curl 8.9.1 (x86_64-pc-linux-gnu) libcurl/8.9.1 OpenSSL/3.3.1 zlib/1.3.1 brotli/1.1.0 zstd/1.5.6 libidn2/2.3.7 libpsl/0.21.5 libssh2/1.11.0 nghttp2/1.62.1 nghttp3/1.5.0`
- OK gzip: `gzip 1.13`
- OK tar: `tar (GNU tar) 1.35`
- OK bash: `GNU bash, version 5.2.32(1)-release (x86_64-pc-linux-gnu)`
- OK sh: `Ok`

mason.nvim [Languages] ~
- WARNING Go: not available
  - ADVICE:
    - spawn: go failed with exit code - and signal -. go is not executable
- WARNING Composer: not available
  - ADVICE:
    - spawn: composer failed with exit code - and signal -. composer is not executable
- WARNING PHP: not available
  - ADVICE:
    - spawn: php failed with exit code - and signal -. php is not executable
- WARNING cargo: not available
  - ADVICE:
    - spawn: cargo failed with exit code - and signal -. cargo is not executable
- OK node: `v20.16.0`
- OK Ruby: `ruby 3.2.4 (2024-04-23 revision af471c0e01) [x86_64-linux]`
- OK luarocks: `/sbin/luarocks 3.11.1`
- WARNING julia: not available
  - ADVICE:
    - spawn: julia failed with exit code - and signal -. julia is not executable
- OK python: `Python 3.12.5`
- OK java: `openjdk version "<IP_ADDRESS>" 2022-08-18`
- OK JAVA_HOME: `openjdk version "<IP_ADDRESS>" 2022-08-18`
- OK npm: `10.8.1`
- OK RubyGem: `3.4.19`
- OK javac: `javac <IP_ADDRESS>`
- OK pip: `pip 24.2 from /usr/lib/python3.12/site-packages/pip (python 3.12)`
- OK python venv: `Ok`

mason.nvim [GitHub] ~
- OK GitHub API rate limit. Used: 0. Remaining: 60. Limit: 60. Reset: Thu 12 Sep 2024 03:17:23 PM CEST.
  Install and authenticate via gh-cli to increase rate limit.

------
vim.lsp: require("vim.lsp.health").check()

- LSP log level : WARN
- Log path: /home/user/.local/state/nvim/lsp.log
- Log size: 2227 KB

vim.lsp: Active Clients ~
- volar (id: 1)
    Root directory: ~/Documents/saga/composer
    Command: /home/user/.local/share/nvim/mason/bin/vue-language-server --stdio
    Settings: vim.empty_dict()
    Attached buffers: 4

vim.lsp: File Watcher ~
- file watching "(workspace/didChangeWatchedFiles)" disabled on all clients

vim.lsp: Position Encodings ~
- No buffers contain mixed position encodings

Screenshots or recordings
No response

I close here it seem to be on the hand of Volar as
[WARN][2024-09-11 15:36:24] ...lsp/handlers.lua:625	"[Vue Named Pipe Client] No server found for /home/user/Documents/working_repos/composer/components/Shared/MediasUploader.vue"
the [Vue Named Pipe Client] error is on the volar code sources


Generate Drush Aliases for all Sites in an Org?

Currently the generation of Drush aliases relies on an API call that only puts sites a user is a direct team member of into the file.
https://github.com/pantheon-systems/cli/blob/80f31bb1c4ae61a6f2dac5ccebd6113f374ad66b/php/Terminus/Commands/SitesCommand.php#L46
Members of organizations do not have an easy way to get an aliases file for all the sites in the org, and when there are many sites the terminus drush ____ command is not very performant.
We could construct an alias file for all sites in an organization that would work for most purposes. It could save to $HOME/.drush/{orgname}.aliases.drushrc.php.
This would be a pretty heavy operation since it would require multiple API calls per site. If we wanted to support this we might need to develop something new on the backend to allow it to be efficient.

Heads up @ossobuffo and @greg-1-anderson :)

I can see the difficulty in implementation, but would be great for our organization needs.

@joshkoenig I have two versions of this which work and we could use.
This one does the processing in Terminus:
https://github.com/pantheon-systems/cli/pull/800
This one makes the change on the API:
https://github.com/pantheon-systems/titan-mt/pull/14102
@bensheldon Prefers an API change, otherwise the Dashboard aliases will not be consistent with Terminus'. IMHO, I agree that that is the best solution. Why would anybody want an incomplete list of aliases?

Whichever solution is chosen, it should take into account HTTP timeouts for organizations with ludicrous numbers of sites. With the old drush-based terminus, I could no longer fetch an aliases list because my HTTP connection would time out.
I don't know your internal architecture, but how about one task to queue generation of an aliases file on the server-side, and another task to fetch it once it's finished?

Would love to see a performant solution for this with big organizations with lots of Pantheon sites and dev branches.

For teams with a very large number of sites, we are discussing improvements to site-local aliases. Historically these have had problems, but the situation is improving.  See: https://github.com/drush-ops/drush/issues/1532

+1 on this request. I was just about to write this request up in the power users group, but assumed that I was just dumb and that it was already there somewhere. Ideally, I want to put whatever this command turns out to be into an script that automatically runs every time I open Terminal. Having to go to my main dashboard (which I rarely visit otherwise) and pull new alias files and stick it where it needs to go every time I create a new site is one of my most annoying/trivial time-wasters.

With the recent introduction of machine tokens, automatic updating of your Drush aliases is well within reach.
Traditionally, this is what I have been doing:
$ alias ta
alias ta='tli && tsa'
$ alias til
alias tli='terminus auth login MYEMAILADDRESS'
$ alias tsa
alias tsa='terminus sites aliases'

I just run ta as needed.  Now, though, it would be feasible to run ta from within .bashrc; just run terminus auth login with --machine-token once.  Nifty.

I tried to get this change in a couple of ways, but it has been stymied by technical considerations. I adapted the command I wrote to do this task into a script using Terminus as a library. If you install pantheon-systems/cli from composer and use this script, you can generate all your aliases at once.
https://github.com/pantheon-systems/cli/blob/master/docs/examples/PantheonAliases.php

I'm having issues getting terminus to work right now, but I'll try this as
soon as I can. Thanks so much for the tips!
K
On Jan 28, 2016, at 09:48, Sara McCutcheon<EMAIL_ADDRESS>wrote:
I tried to get this change in a couple of ways, but it has been stymied by
technical considerations. I adapted the command I wrote to do this task
into a script using Terminus as a library. If you install
pantheon-systems/cli from composer and use this script, you can generate
all your aliases at once.
https://github.com/pantheon-systems/cli/blob/master/docs/examples/PantheonAliases.php
—
Reply to this email directly or view it on GitHub
https://github.com/pantheon-systems/cli/issues/779#issuecomment-176302628.

Addressed by the all-aliases Terminus plugin (https://github.com/pantheon-systems/all-aliases-plugin), closing issue.

From a  customer perspective, it's a PITA that the Download Drush aliases link on the my Dashboard page does not include sites which I have access to via Organizations. I don't use Terminus yet, not really sure if I want to. I will probably build the alias files manually. Please come up with a better solution, i.e. make Download Drush aliases do what customers expect it to do.

That plugin has an unfixed known issue, which is resolved here:
https://github.com/jcowher/all-aliases-plugin
Kelly Bell
Founder and CTO
Gotham City Drupal
917-446-1555
On Sat, Feb 27, 2016 at 3:55 PM, Andy Inman<EMAIL_ADDRESS>wrote:

From a customer perspective, it's a PITA that the Download Drush aliases
link on the my Dashboard page does not include sites which I have
access to via Organizations. I don't use Terminus yet, not really
sure if I want to. I will probably build the alias files manually. Please
come up with a better solution, i.e. make Download Drush aliases do
what customers expect it to do.
—
Reply to this email directly or view it on GitHub
https://github.com/pantheon-systems/terminus/issues/779#issuecomment-189749131
.

Hi, came here also looking for an "all-aliases-plugin" that would work for organizations, and the link posted above now gives a 404 from github... Does anyone know what is the known issue with that plugin? There are zero issues on the github page for that plugin...

nvm... I got it to work. Had to comment a line of code and increase the OS open file limit.

Might your version of Terminus be out of date, @aloyr? There was a problem with a big loop of file-openings, but I believe I'd fixed it.

Hi @tesladethray, that's possible, although I believe I've updated terminus this morning via composer. I will check it tomorrow as that happened on my work computer.

ok, composer seems to have only version 0.10.6 and github has 0.11.1, so I should probably just use the github version instead?

Use pantheon-systems/terminus. The pantheon-systems/cli project has been abandoned.

hi greg. thanks for the info. i had pantheon-systems/terminus, but i was stuck on an old version... just changed my composer version to pantheon-systems/terminus dev-master instead...

Use '~0' if you only want to get tagged releases.


Scheduling the Disk Clean function

It would be nice if the user could schedule the Disk Clean function to clean the checked items at whatever time the user specifies and then close itself after it has ran.

Thanks……

Support this

Any news regarding this?


fix: remove binaries from image

These should be brew installed, leaving kind on the image though.

Actually we should leave atuin in, people already have it set up and it's no big deal, better than dealing with migrating them to something.


nixos/g810-led: add to modules-list.nix

Missed in https://github.com/NixOS/nixpkgs/pull/355884

@GaetanLepage could you manually backport these two PRs to 24.11?


Replaced invidio.us link with an alternative Individuous instance

Description

This link concerns the video "This Video Is Sponsored By ███ VPN" by Tom Scott, with the Video ID "WVDQEoe6ZWY".
The Indivious instance hosted under the domain "invidio.us" shut down on September 1st, 2020

Check List

[ ] I understand that by not opening an issue about a software/service/similar addition/removal, this pull request will be closed without merging.

(I am not particularly sure if 'similar addition' falls under this category. All I did was replace a broken link, which doesn't amount to adding a new service on the list.)

[x] I have read and understand the contributing guidelines.

[x] The project is Free Libre and/or Open Source Software

Netlify preview for the mainly edited page:

Not applicable.

Code repository of the project (if applicable):

https://github.com/iv-org/invidious

Oops, there seems to be a typo in the link, hang on!


Adds sasori crawler

Sasori is a new age dynamic crawler, it supports authentication, uploading files based upon accepted file types, and requests can be proxied through any tools like Burp Suite, ZAP, Caido, or Squid Proxy.

Thanks @karthikuj for your colaboration.


Nice Feature Idea - Scrub GIF

It would be pretty cool if when you scubbed the victory bar for a GIF, the associated GIF frame was shown.  This can happen by having an option passed in for a reference to the SuperGIF and then using move_to(index).  If you don't want the supergif, it's set to NULL in memory like it is currently.
I'd love to see why a particular frame is misclassified!

@xilaraux - sorry I took your last ticket, would you want this one?

@GantMan don't be sorry :)
I can handle it, but it will take a while for me.

Awesome! Off the top of my head here's a simple implementation:

classifyGif takes options.  One option is an object to store the SuperGif
When you use this option, SuperGif is not set to null in classifyGif
The web page now has a reference tot he SuperGif
Victory Bar Charts can have an onHover event described in their docs.  Add that to the existing GifBar
The onHover calls the SuperGif move_to(i) - I think plus 1 - check index off by one possibility here

You almost did it.
I will implement it. :)
I don't understand one thing. Should the frame be displayed next to this text or somewhat separately?

Hahahaha.
So I think if you call GifReference.move_to(i) the GIF they dropped will lock to that frame.  No need to show it anywhere.  Basically it will stop animating and move to that frame.  I think.... :)  Once you start experimenting it should be clear.  Then when you stop mousing over the graph, it would be cool if it went back to animating.

@xilaraux - how goes it?

You can see the progress here - #83
I want to propose to name SuperGif object as gifControl and setGitControl and prop in config. What do you think?
Also, I have doubts about the way I am setting this object and saving if to the React state, but spoiling the window is not an option neither.
Looking forward to your review :)
Sorry for the delay.

Looks great, I updated your contributor status in the readme:  https://github.com/infinitered/nsfwjs/commit/5413bd0e8541e3bf555a355712ef0959d3e0f04e


Note that there is an existing similar flag 'segmentation.enabled' under
SegmentationState struct under TileState, and the new one from this commit is
the master switch and controllable by CLI.
By not using any segment, this temporarilly fixes the ongoing desync issues #1858 caused by quantizer rdo and
heuristic quantizer choice at speed 0,1,2.

I believe this is better fix in the sense that it does not comment out or remove any code?!

Almost forgot that I should report any changes in bdrate.

AWCY at default speed 6

PSNR
PSNR Cb
PSNR Cr
PSNR HVS
SSIM
MS SSIM
CIEDE 2000

3.1624
2.1200
2.3251
2.0984
4.4176
3.7472
3.8336

We will increase 3.16% bdrate. (or lose the improvement of -2.89%.

At speed 1, 1.82% bdrate increase.
awcy speed 1

PSNR
PSNR Cb
PSNR Cr
PSNR HVS
SSIM
MS SSIM
CIEDE 2000

1.8169
1.0414
1.2116
2.4332
4.6757
4.6188
3.4642

At speed 2, 2.70% bdrate increase.
awcy speed2

PSNR
PSNR Cb
PSNR Cr
PSNR HVS
SSIM
MS SSIM
CIEDE 2000

2.7043
2.1190
2.0858
1.5201
3.3948
2.6814
3.1111

Fix the commit message and I think it should land.

Fix the commit message and I think it should land.

I fixed the commit message, please approve for landing then!


Dask errors in CI logs

Notebooks that create dask clusters (LocalCluster) when executed by jupyter-book build . end up with big tracebacks and end up leaving the dask-worker-space directory... not sure what causes this b/c the notebook execution actually is successful... so it seems like some sort of problem closing the dask cluster:
updating environment: executing outdated notebooks... Executing: /Users/scott/GitHub/xarray-contrib/xarray-tutorial/advanced/xarray_and_dask.ipynb
2022-06-16 11:12:08,966 - distributed.nanny - ERROR - Worker process died unexpectedly
Exception in thread Nanny stop queue watch:
Traceback (most recent call last):
  File "/Users/scott/miniconda3/envs/xarray-tutorial/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
2022-06-16 11:12:08,966 - distributed.nanny - ERROR - Worker process died unexpectedly
Exception in thread Nanny stop queue watch:
Traceback (most recent call last):
  File "/Users/scott/miniconda3/envs/xarray-tutorial/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/Users/scott/miniconda3/envs/xarray-tutorial/lib/python3.10/threading.py", line 946, in run
2022-06-16 11:12:08,966 - distributed.nanny - ERROR - Worker process died unexpectedly
Exception in thread Nanny stop queue watch:
Traceback (most recent call last):
  File "/Users/scott/miniconda3/envs/xarray-tutorial/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/Users/scott/miniconda3/envs/xarray-tutorial/lib/python3.10/threading.py", line 946, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/scott/miniconda3/envs/xarray-tutorial/lib/python3.10/site-packages/distributed/nanny.py", line 846, in watch_stop_q
2022-06-16 11:12:08,967 - distributed.nanny - ERROR - Worker process died unexpectedly
Exception in thread Nanny stop queue watch:
    self._target(*self._args, **self._kwargs)
  File "/Users/scott/miniconda3/envs/xarray-tutorial/lib/python3.10/site-packages/distributed/nanny.py", line 846, in watch_stop_q
Traceback (most recent call last):
  File "/Users/scott/miniconda3/envs/xarray-tutorial/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/Users/scott/miniconda3/envs/xarray-tutorial/lib/python3.10/threading.py", line 946, in run
    child_stop_q.close()
  File "/Users/scott/miniconda3/envs/xarray-tutorial/lib/python3.10/multiprocessing/queues.py", line 143, in close
    child_stop_q.close()
  File "/Users/scott/miniconda3/envs/xarray-tutorial/lib/python3.10/multiprocessing/queues.py", line 143, in close
    self._reader.close()
  File "/Users/scott/miniconda3/envs/xarray-tutorial/lib/python3.10/multiprocessing/connection.py", line 182, in close
    self._target(*self._args, **self._kwargs)
  File "/Users/scott/miniconda3/envs/xarray-tutorial/lib/python3.10/site-packages/distributed/nanny.py", line 846, in watch_stop_q
    self.run()
  File "/Users/scott/miniconda3/envs/xarray-tutorial/lib/python3.10/threading.py", line 946, in run
    self._reader.close()
  File "/Users/scott/miniconda3/envs/xarray-tutorial/lib/python3.10/multiprocessing/connection.py", line 182, in close
    self._close()
  File "/Users/scott/miniconda3/envs/xarray-tutorial/lib/python3.10/multiprocessing/connection.py", line 366, in _close
    self._close()
  File "/Users/scott/miniconda3/envs/xarray-tutorial/lib/python3.10/multiprocessing/connection.py", line 366, in _close
    child_stop_q.close()
  File "/Users/scott/miniconda3/envs/xarray-tutorial/lib/python3.10/multiprocessing/queues.py", line 143, in close
    self._target(*self._args, **self._kwargs)
    _close(self._handle)
  File "/Users/scott/miniconda3/envs/xarray-tutorial/lib/python3.10/site-packages/distributed/nanny.py", line 846, in watch_stop_q
OSError: [Errno 9] Bad file descriptor
    _close(self._handle)
OSError: [Errno 9] Bad file descriptor
    self._reader.close()
  File "/Users/scott/miniconda3/envs/xarray-tutorial/lib/python3.10/multiprocessing/connection.py", line 182, in close
    self._close()
  File "/Users/scott/miniconda3/envs/xarray-tutorial/lib/python3.10/multiprocessing/connection.py", line 366, in _close
    child_stop_q.close()
  File "/Users/scott/miniconda3/envs/xarray-tutorial/lib/python3.10/multiprocessing/queues.py", line 143, in close
    _close(self._handle)
    self._reader.close()
OSError: [Errno 9] Bad file descriptor
  File "/Users/scott/miniconda3/envs/xarray-tutorial/lib/python3.10/multiprocessing/connection.py", line 182, in close
    self._close()
  File "/Users/scott/miniconda3/envs/xarray-tutorial/lib/python3.10/multiprocessing/connection.py", line 366, in _close
    _close(self._handle)
OSError: [Errno 9] Bad file descriptor
2022-06-16 11:12:11,148 - distributed.diskutils - INFO - Found stale lock file and directory '/Users/scott/GitHub/xarray-contrib/xarray-tutorial/advanced/dask-worker-space/worker-iqoqflqq', purging
2022-06-16 11:12:11,149 - distributed.diskutils - INFO - Found stale lock file and directory '/Users/scott/GitHub/xarray-contrib/xarray-tutorial/advanced/dask-worker-space/worker-bs9vej_y', purging
2022-06-16 11:12:11,149 - distributed.diskutils - INFO - Found stale lock file and directory '/Users/scott/GitHub/xarray-contrib/xarray-tutorial/advanced/dask-worker-space/worker-asihamol', purging
Execution Succeeded: /Users/scott/GitHub/xarray-contrib/xarray-tutorial/advanced/xarray_and_dask.ipynb
done

Just did a quick test with client = Client(processes=False) on Python 3.10 and no problem, so I suggest we switch to that, which should be better anyways for the current xarray_and_dask.ipynb doing basic calculations.
I also often use client = Client(local_directory='/tmp') for the worker scratch space...

^ Sounds good to me.


Favicon is ebay favicon

Should probably be updated

Pushed an update in https://github.com/rishighan/threetwo/pull/54
@nstephenh Can you pull and test?

Looks fixed to me.
On Sun, Jan 1, 2023, 7:15 PM Rishi Ghan @.***> wrote:

Pushed an update in #54 https://github.com/rishighan/threetwo/pull/54
@nstephenh https://github.com/nstephenh Can you pull and test?
—
Reply to this email directly, view it on GitHub
https://github.com/rishighan/threetwo/issues/50#issuecomment-1368592262,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2LKZCBWDE3HNSPD5TIMZTWQIT4TANCNFSM6AAAAAATMNKDYM
.
You are receiving this because you were mentioned.Message ID:
@.***>


Delete file, folder permanently

Hi, it is posible using this library delete file, folder permanently?
https://www.dropbox.com/developers-v1/core/docs#fileops-permanently-delete

According to the Dropbox's docs: "This endpoint is only available for Dropbox Business apps.".
I haven't yet implemented this endpoint yet. However, for now you can do it like this:
$dropbox->postToAPI('/files/permanently_delete', ['path' => "/path-to-file.txt"]);

Thanks.


Add a complete example in schema basic documentation

This came up from discord, in the Schema Basic docs: https://strawberry.rocks/docs/general/schema-basics we have two types that reference each other but we don't show how to create resolvers for that. This is not beginners friendly
The easiest solution could be to clean up and copy this gist (https://gist.github.com/patrick91/362b4de2a341c879a53f8c2ae8588b7e) at the end of the page

@patrick91, I'll make these changes today :smile:


fix: Add flutter ripple animation in a new screen

What does this PR do?
Fixes #14
https://github.com/dev1abhi/Flutter-Animations/assets/80326453/05903d29-b0e3-40fe-bef5-e03b334aec33
Type of change:

Added the ripple animation file.
Updated and added some const to improve performance.

Thanks for contributing. Please ⭐ the repo so that others could also find it.


[💡 FEATURE REQUEST]: Metric about the number of failed jobs due to job timeout

Plugin
JOBS
I have an idea!
version 2.9 offers metric "Failed job" which help us to know the total number of failed jobs,  it's great.
I'd like to add my 2cent to improve it more: we can categorize 2 types of "failed" here:

failed due to logic, app or system
failed due to resource shortage (configure number of jobs + max timeout, 1 failed I can think in this type is failed jobs due to job timeout - job is put into queue, but system is too busy and throw it away after timeout)

We focus more about #2, and somehow it's a metric to let us know about saturation of our service
--> what do you think to add new metric "failed due to timeout"?
Thanks.

Hey @lanphan 👋🏻. After a brief internal discussion, we decided to postpone this ticket. The reason is: that the information about the particular reason can be found in the logs. I guess, would be better to send logs to a loki or directly to the graphana dashboard to see all the jobs failed reasons.

Let's see for more feedback on that. Thanks for the contribution 👍🏻

The community added new metrics: Latency and RPS (requests per second) for the JOBS. Metrics don't have info about particular error messages to distinguish between different types of errors. This info you may get from the logs.


error: could not expand include path '~/.gitcinclude'

What version of Hugo are you using (hugo version)?

$ hugo version
hugo--0.111.3.big_sur.bottle.tar.gz

Does this issue reproduce with the latest release?
when i use hugo command it show the errors for me  as follow:
hugo
go mod download: git init --bare in /var/folders/nr/7s0q_g410k9_q1v26prwqzyh0000gn/T/hugo_cache/modules/filecache/modules/pkg/mod/cache/vcs/98f59a39bbbc2d4de9185a32a3d8790111161ae9778e3e5e32a90c95f026ac9b: exit status 128:
error: could not expand include path '~/.gitcinclude'
fatal: bad config line 44 in file /usr/local/git/etc/gitconfig
Error: failed to download modules: failed to execute 'go [mod download]': failed to execute binary "go" with args [mod download]: go mod download: git init --bare in /var/folders/nr/7s0q_g410k9_q1v26prwqzyh0000gn/T/hugo_cache/modules/filecache/modules/pkg/mod/cache/vcs/98f59a39bbbc2d4de9185a32a3d8790111161ae9778e3e5e32a90c95f026ac9b: exit status 128:
error: could not expand include path '~/.gitcinclude'
fatal: bad config line 44 in file /usr/local/git/etc/gitconfig
*errors.errorString
Total in 24 ms

Best guess...
Hugo's default security policy prevents access to the $HOME (~) environment variable.
Update your site config:
[security.exec]
osEnv = ['(?i)^((HTTPS?|NO)_PROXY|PATH(EXT)?|APPDATA|TE?MP|TERM|GO\w+|HOME)$']

/var/folders/nr/

may be i delelte the dir /var/folders/nr/  but i don't  know how to fix it

@songxiaosheng

i don't know how to fix it

Did you try to update your site configuration as I suggested in my previous comment?

[security.exec]
osEnv = ['(?i)^((HTTPS?|NO)_PROXY|PATH(EXT)?|APPDATA|TE?MP|TERM|GO\w+|HOME)$']

Sorry, I was running on my personal computer Mac and couldn't find the site configuration

If you are running an older version of Git, update to the current version (2.4.0) and try again.

I am suspicious of the Homebrew installation of either Hugo or Git. If running the current version of Git does not solve your problem, try changing this:

[include]
	path = ~/.gitcinclude

to:
[include]
	path = /home/user/.gitcinclude (or whatever the absolute path is)

@songxiaosheng Please confirm if the error was resolved by my previous suggestions.

@songxiaosheng Please confirm if the error was resolved by my previous suggestions.

May I ask where this configuration is configured

@songxiaosheng Look at your Git configuration files: local, global, and system.

ok  thanks i will try it

@songxiaosheng Please confirm if the error was resolved by my previous suggestions.

No response from OP. Closing.


Error Alert Message?

Key missing, or incorrect key provided.
https://e-hentai.org/g/1113603/f3bb80c9ca/
Gallery Not Available
https://e-hentai.org/g/1090205/474e596c74/

Update in version 1.1.0


⚠ Fortnite has degraded performance

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

HTTP code: 200
Response time: 1585 ms

Resolved: Fortnite performance has improved in ab31087.


Design: Learn, Sign up, and Apply (Onchain Builder & Dev Tooling)

PRD: https://www.notion.so/Learn-Sign-up-and-Apply-Onchain-Builders-Dev-Tooling-Retro-Funding-1515831e3452806284ffc470a1714139?pvs=4

Actions

@JSeiferth to review copy
@shaunop reviewing metrics spec doc and seeing that language aligns
@JSeiferth to share Onchain Builder metrics spec
@shaunop to walk @stepandel through designs.


Add example to std.string.toStringz

Also removed commented out code

Looks good!

this is a trivial PR that went under the radar, can someone have a look & pull? Thanks!

LGTM

Auto-merge toggled on

Thanks!


 Will check it out :) I assume you tried to convert this to functional component?

Yes, exactly. Sorry for not clarify that

Hello, anyone had a chance to take a look at this?

@danielo515 hey! Ill look at it ASAP. Been having hard time finding the time

I just selected the class. Should I select the whole thing?

nope. That should be fine. Ill check it out ASAP

Hello.
I did some more research on this and I am finding confusing conclusions...
I cloned the repository of the extension, ran a debug session and indeed it fails. I tried debugging the babel code, but it is quite hard, and it usually freezes my debugging session. After a while, I got frustrated, so I put a debug breakpoint before the const ast = codeToAst(component); line, copied the component code, pasted it into one of the extension tests and ran the tests. The test failed, as I expected, but it failed with the correct modified component being a function.
So, for some reason, something when running it on the extension mode makes it fail with a parsing error. It is very hard to narrow, but I'll keep trying

Ok, I found the root of the problem, it is not on the component conversion phase, it happens on this function:
  function importHooks(...hooks) {
    const currentFile = activeURI().fsPath;
    const file = readFileContent(currentFile);
    const ast = codeToAst(file);
    const reactImport = getReactImportReference(ast);
    hooks.forEach((hook) => {
      reactImport.specifiers.push(
        t.importSpecifier(t.identifier(hook), t.identifier(hook))
      );
    });

    const updatedReactImport = transformFromAst(t.program([reactImport])).code;
    return replaceTextInFile(
      updatedReactImport,
      new Position(reactImport.loc.start.line, reactImport.loc.start.column),
      new Position(reactImport.loc.end.line, reactImport.loc.end.column),
      activeFileName()
    );
  }
}

Specifically on this line: const ast = codeToAst(file);. There is something on the entire file that makes the parser to fail. I checked the line where it complains and I didn't saw anything wrong. In fact, this file compiles properly without problem on my TS pipeline, so it should be some missconfiguration on the babel

I modified the code of the mentioned function like this:
    let ast;
    try {
      ast = codeToAst(file);
    } catch (e) {
      console.log("Error parsing the entire file");
      vscode.env.clipboard.writeText(file);
      return () => {};
    }

And it modifies the component perfectly, but it does't add the missing imports, which compared to having to convert the component manually it is not a big deal for me. I added the copy to clipboard part to check that the content the parser is getting is correct, and indeed I copied it to the babel repl and it compiles without any problem, I am not sure what can be wrong with the parser within this extension.
Will you be open to accept a PR to include this or a similar modification?

Good and bad news 😄
The good news is that, while debugging this problem once more, I decided to update babel to a newer version (7.16.x), and that fixes the problem. It no longer throws an unexpected token error.
The bad news is that newer babel versions seems to have some breaking changes on their API, because some parts of the code now complain about providing wrong argument types, but it may be just the types...

@borislit will you be open to review a PR to fix this?


Improves parameter stream names.

@DanielJMaher Please review and merge ASAP for the win!

@DanielJMaher Hold for a minute....Edna has a concern

@DanielJMaher This is ready for testing on erd21 and merge.

@oceanzus This is on ERD21, correct?


Fixed leak when executing UseCase multiple times.

Hi guys,
Here is the pull request that fixes #135 .

@amatkivskiy  hi，I think you can describe the reason about leak bug.  why you change code  like this? how reproduction this leak?  thanks!

@chaozaiai Hi, the problem that we are not checking if there was previously subscribed Subscriber.
That means that if you trigger usecase second time you will have leaking first Subscriber because unsubscribe was not called before. This issue can be avoided by calling 'useCase.unsubscribe()' before calling useCase.execute(Subscriber). So I proposed solution to move this code into use case so no action required from the developer.

I am sorry but to do unsubscribe is not flexible , maybeyou'd better just add some flag like "is Running" and  you can check so if it is running then do not execution but if you still want to repeat a request then just call unsubscribe method in a presenter

@Yukooo Thanks for the point. Can you describe the case when it is not flexible?

Here is my version that I use
`/**

@param  The data element type of this use case

@param  The response element type of this use case
*/
public abstract class UseCase<D, R> {
private Subscription mSubscription = Subscriptions.unsubscribed();
protected D mData;
/**

Set an argument.

@param data The data to be useful for making a execution.
*/
public void setData(final D data) {
mData = data;
}

/**

Builds an {@link rx.Observable} which will be used when executing the current {@link UseCase}.
*/
protected abstract Observable buildUseCaseObservable();

/**

Executes the current use case.

@param useCaseSubscriber The guy who will be listen to the observable build

                     with {@link #buildUseCaseObservable()}.

*/
public void execute(Subscriber useCaseSubscriber) {
mSubscription = this.buildUseCaseObservable().subscribe(useCaseSubscriber);
}
/**

Stops this use case.
*/
public void stop() {
if (!mSubscription.isUnsubscribed()) {
mSubscription.unsubscribe();
}
}

/**

Defines whether this use case is performed.

@return {@code true} if it is performed, {@code false} otherwise
*/
public boolean isRunning() {
return !mSubscription.isUnsubscribed();
}
}`

And in presenter I can check whether a UseCase is being performed (using isRunning()) so as result presenter can check some condition  and decide whether it can stop current task or just give it a chance to finish

@amatkivskiy I forgot to say about a configuration changing, so there is case:
Suppose some UseCase takes 10 seconds for execution
and there is next flow:

onResume
start executing a UseCase
a configuration changing
onResume
stop previous request and   start executing a UseCase AGAIN!
I mean if an user makes a lot of work of screen orientation then he will never see the response till he stops playing with changing of screen orientation

@Yukooo Sorry, for late response, I was on vacation. Regarding first comment:
It depends on your approach on who is responsible for handling such situations. I prefer to protect consumer (I mean Presenter) from shooting into his own leg. Especially considering the fact that implementation of this check inside UseCase doesn't take much effort.
Regarding second comment:
First of all you should unsubscribe from UseCase in onDestroy or onPause of you activity.
To handle such situation you need implement caching of the response so next time the user change the orientation the result will be obtained from the cache.

I think this can be closed after latest refactorings and migration to RxJava 2.


Add target="_blank" and rel="nofollow" as options

Needed target="_blank" and rel="nofollow"  as attributes to the read more link.
I modified the cookieconsent.js accordingly. I see recent also target="_blank" is added here on github.
It would be great if these attributes could be options and you activate them like so:
window.cookieconsent_options = {"message":"Example message.","dismiss":"Got it!","learnMore":"More info","link":"http://www.example.com/privacy","target":"_blank","rel":"nofollow","theme":"dark-top"};
Regards Wanabo.

Target blank for more info +1

We haven't added this feature yet (there's a separate request pending), but in the meantime you can do this yourself by customising the HTML, see: https://github.com/silktide/cookieconsent2/issues/75

I think it's already added, see https://github.com/silktide/cookieconsent2/blob/master/cookieconsent.js#L236
I tested it and works.

You're right. I've updated the docs to say as much - thanks.

Thanks :+1:


Self Hosting - Feedback

Two issues I wanted to raise, neither were major obstacles.
First, when you run your any-sync-tools and create the YAML files, the output is called sync_1.yml and your instructions don't make it clear that it should be used for the any-sync-node application.
Second, and more important, it defaults to a storage location of db and if that folder doesn't exist, it throws an error. I'm not sure what the best way to fix this is, either

Fix the any-sync-tools utility so it prompts for a directory and creates it if it doesn't exist
Have the script simply try to create the directory if it doesn't exist.

@olluz Just to add here: we are already working on a network configuration inside the app. I hope we will deliver this in the September release.

@fuksman , is there a ticket related to the development of this feature? If yes, can you please share a link?

@clems4ever, only in our internal task tracker. We're working on a way to sync tasks and bugs between our tracker and GitHub.

ok, thanks.


Updates in arc or context stores trigger replanning.

this PR also enables the new planificator by default (with volatile storage).
in order to switch back to the old one, in case smth is brokens, add ?planificator=original to the URL (and ignore the error log)

Somehow the updated git UI won't let me reply to outdated comments, like it used to, but I addressed you suggestions to the best of my understanding (and if i missed anything, i'll follow up in the next cls)


Problem with install - hanging at Waiting for elasticsearch stage

Ubuntu 20.04 lts
16Gb RAM
2 CPU
200Gb disk
Running on VMware 6.7
I'ver seen previous issue relating to this and tried running before starting install -
sudo apt install --reinstall ca-certificates
sudo mkdir -p /etc/pki/tls/certs
sudo cp /etc/ssl/certs/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt
Log file shows (IP and FQDN changed for privacy)
[X] Updating OS software
Hit:1 http://gb.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://gb.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:4 http://gb.archive.ubuntu.com/ubuntu focal-security InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[X] Installing prerequisites
Reading package lists...
Building dependency tree...
Reading state information...
net-tools is already the newest version (1.60+git20180626.aebd88e-1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Enter the IP of this Linux server: <IP_ADDRESS>
Enter the Fully Qualified Domain Name (FQDN) of this Linux server. This needs to be resolvable from the Windows Event Collector: lme.blah.loc
[X] Configuring winlogbeat config and certificates to use <IP_ADDRESS> as the IP and lme.blah.loc as the DNS
This OS was detected as: ubuntu
[X] Configuring Auto Updates
Reading package lists...
Building dependency tree...
Reading state information...
unattended-upgrades is already the newest version (2.3ubuntu0.1).
unattended-upgrades set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
This script will use self signed certificates for communication and encryption. Do you want to continue with self signed certificates? ([y]es/[n]o): y
[!] Note: Depending on your OpenSSL configuration you may see an error opening a .rnd file into RNG, this will not block the installation
[X] Making root Certificate Authority
Generating RSA private key, 4096 bit long modulus (2 primes)
............................................++++
.....................................................................................................++++
e is 65537 (0x010001)
[X] Signing root CA
Signature ok
subject=C = GB, ST = UK, L = London, O = Docker, CN = Swarm
Getting Private key
[X] Making Logstash certificate
Generating RSA private key, 4096 bit long modulus (2 primes)
....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................++++
...........................................................++++
e is 65537 (0x010001)
[X] Signing logstash cert
Signature ok
subject=C = GB, ST = UK, L = London, O = Docker, CN = lme.blah.loc
Getting CA Private Key
[X] Making Winlogbeat client certificate
Generating RSA private key, 4096 bit long modulus (2 primes)
..........................................................++++
...................++++
e is 65537 (0x010001)
[X] Signing wlbclient cert
Signature ok
subject=C = GB, ST = UK, L = London, O = Docker, CN = wlbclient
Getting CA Private Key
[X] Making Elasticsearch certificate
Generating RSA private key, 4096 bit long modulus (2 primes)
...............................................................................................................................................................++++
..........................................................................................................................................................++++
e is 65537 (0x010001)
[X] Sign elasticsearch cert
Signature ok
subject=C = GB, ST = UK, L = London, O = Docker, CN = elasticsearch
Getting CA Private Key
[X] Making Kibana certificate
Generating RSA private key, 4096 bit long modulus (2 primes)
.........................++++
.++++
e is 65537 (0x010001)
[X] Sign kibana cert
Signature ok
subject=C = GB, ST = UK, L = London, O = Docker, CN = kibana
Getting CA Private Key
[X] Installing curl to get the Docker convenience script
Reading package lists...
Building dependency tree...
Reading state information...
curl is already the newest version (7.68.0-1ubuntu2.5).
curl set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[X] Installing Docker

sh -c apt-get update -qq >/dev/null
sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
sh -c curl -fsSL "https://download.docker.com/linux/ubuntu/gpg" | apt-key add -qq - >/dev/null
Warning: apt-key output should not be parsed (stdout is not a terminal)
sh -c echo "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" > /etc/apt/sources.list.d/docker.list
sh -c apt-get update -qq >/dev/null
[ -n  ]
sh -c apt-get install -y -qq --no-install-recommends docker-ce >/dev/null
[ -n 1 ]
sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq docker-ce-rootless-extras >/dev/null
sh -c docker version
[X] Configuring Docker swarm
Swarm initialized: current node (qsxeiqziijgwbkqk6euesgccx) is now a manager.

To add a worker to this swarm, run the following command:
docker swarm join --token SWMTKN-1-1qf0iye07xkvzyhfslkf24u0uy61yyo717w86urd2ny0evmul4-el2zglpj3zlrwx1syk2m4vaqd <IP_ADDRESS>:2377

To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions.
[X] Adding certificates and keys to Docker
8riojz01y28huah4lv44a3z7f
1lh7u64pmwvbshnum9j0ufz7b
32g5gceltl82bfsfi85akfmh0
oes2tfqoyrmg6l166wfnqbotw
wy3dmpb7he9rww6actowp9s89
3g1c8vaxr03dcbvwmiqb4hy2l
lz4h6e5wq76sn4i42k2om0rzh
[X] Updating logstash configuration with logstash writer
vggem4q6tszd8db6dhpupfkx8
[X] Creating custom logstash conf
oytrbqesmo2rsgs36e1140u99
vm.max_map_count = 262144
Creating network lme_esnet
Creating service lme_elasticsearch
Creating service lme_kibana
Creating service lme_logstash
[X] Waiting for elasticsearch to be ready
After cancelling , running
sudo docker ps
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
Any help would be much appreciated.
Thanks

Hi,
I would suggest trying to run docker stack deploy lme --compose-file /opt/lme/Chapter\ 3\ Files/docker-compose-stack-live.yml
When it hangs on "waiting for elasticsearch to be ready" run
sudo docker stack ps lme in a new window.
Hopefully the three containers will be shown then you can get the elasticsearch logs.
You can do this with the following command
sudo docker service logs lme_elasticsearch --tail 200
Thanks,
Duncan

Hi Duncan,
Thanks for the quick response.
Ran sudo docker stack deploy lme --compose-file /opt/lme/Chapter\ 3\ Files/docker-compose-stack-live.yml
Updating service lme_kibana (id: zclih8csqonf8fiow47ndg811)
image docker.elastic.co/kibana/kibana:7.11.2 could not be accessed on a registry to record
its digest. Each node will access docker.elastic.co/kibana/kibana:7.11.2 independently,
possibly leading to different nodes running different
versions of the image.
Updating service lme_logstash (id: lndr02aho98o1kwt8czkreagu)
image docker.elastic.co/logstash/logstash:7.11.2 could not be accessed on a registry to record
its digest. Each node will access docker.elastic.co/logstash/logstash:7.11.2 independently,
possibly leading to different nodes running different
versions of the image.
Updating service lme_elasticsearch (id: u5q5yizmr3oribzla1z6gs5v2)
image docker.elastic.co/elasticsearch/elasticsearch:7.11.2 could not be accessed on a registry to record
its digest. Each node will access docker.elastic.co/elasticsearch/elasticsearch:7.11.2 independently,
possibly leading to different nodes running different
versions of the image.
After sudo docker stack ps lme
ID             NAME                      IMAGE                                                  NODE       DESIRED STATE   CURRENT STATE                     ERROR                              PORTS
7ze1gsn24kj6   lme_elasticsearch.1       docker.elastic.co/elasticsearch/elasticsearch:7.11.2   LME01   Ready           Rejected less than a second ago   "No such image: docker.elastic…"
4j8hfll4wcck    _ lme_elasticsearch.1   docker.elastic.co/elasticsearch/elasticsearch:7.11.2   LME01   Shutdown        Rejected 5 seconds ago            "No such image: docker.elastic…"
umevurj7bzj6    _ lme_elasticsearch.1   docker.elastic.co/elasticsearch/elasticsearch:7.11.2   LME01   Shutdown        Rejected 10 seconds ago           "No such image: docker.elastic…"
n11xxrnoz9qj    _ lme_elasticsearch.1   docker.elastic.co/elasticsearch/elasticsearch:7.11.2   LME01   Shutdown        Rejected 15 seconds ago           "No such image: docker.elastic…"
ysz4wcwhb846    _ lme_elasticsearch.1   docker.elastic.co/elasticsearch/elasticsearch:7.11.2   LME01   Shutdown        Rejected 20 seconds ago           "No such image: docker.elastic…"
i0z0ufdck756   lme_kibana.1              docker.elastic.co/kibana/kibana:7.11.2                 LME01   Ready           Rejected less than a second ago   "No such image: docker.elastic…"
p3wdd6p8q1o9    _ lme_kibana.1          docker.elastic.co/kibana/kibana:7.11.2                 LME01   Shutdown        Rejected 5 seconds ago            "No such image: docker.elastic…"
db5s4dieegc6    _ lme_kibana.1          docker.elastic.co/kibana/kibana:7.11.2                 LME01   Shutdown        Rejected 10 seconds ago           "No such image: docker.elastic…"
55bq1c7p309f    _ lme_kibana.1          docker.elastic.co/kibana/kibana:7.11.2                 LME01   Shutdown        Rejected 15 seconds ago           "No such image: docker.elastic…"
o08dydbdyyeo    _ lme_kibana.1          docker.elastic.co/kibana/kibana:7.11.2                 LME01   Shutdown        Rejected 20 seconds ago           "No such image: docker.elastic…"
uh6qraecvu8c   lme_logstash.1            docker.elastic.co/logstash/logstash:7.11.2             LME01   Ready           Assigned less than a second ago
tbin36uh79j2    _ lme_logstash.1        docker.elastic.co/logstash/logstash:7.11.2             LME01   Shutdown        Rejected 5 seconds ago            "No such image: docker.elastic…"
3cwg8mkn6jc5    _ lme_logstash.1        docker.elastic.co/logstash/logstash:7.11.2             LME01   Shutdown        Rejected 9 seconds ago            "No such image: docker.elastic…"
ghkeev9cpgsl    _ lme_logstash.1        docker.elastic.co/logstash/logstash:7.11.2             LME01   Shutdown        Rejected 14 seconds ago           "No such image: docker.elastic…"
7non82o3hgs0    _ lme_logstash.1        docker.elastic.co/logstash/logstash:7.11.2             LME01   Shutdown        Rejected 20 seconds ago           "No such image: docker.elastic…"
sudo docker service logs lme_elasticsearch --tail 20
returns nothing at all.
Thanks.

Hi,
Looks like your machine can't reach docker.elastic.co/elasticsearch/elasticsearch:7.11.2.
Do you have a proxy in place or firewalls that would otherwise stop the box calling out to the internet?
Thanks,
Duncan

Hi Duncan,
Yes there is a proxy. I've set up the /etc/systemd/system/docker.service.d/http-proxy.conf as per the instructions.
Is there any way I can test to make sure one way or another ?
Thanks

Hi Duncan,
Stuck the server on proxy bypass and it installed perfectly fine.
Thanks for your help.
Cheers


VB.net 2015 Form Type Mismatch

Using VB 2015 (Visual Studio Enterprise 2015) running with .NET 4.5.2
It simply complains that Form1 cannot be converted to MaterialForm.

BC30311 | Value of type 'Form1' cannot be converted to 'MaterialForm'.

I would say this is a huge problem that can effectively prevent the use of the library, any thoughts?

Showing the code to reproduce this would be usefull.

What code, its directly from the sample provided.
What I am trying to achieve is for the code to run so I can see it working.

That is strange, i have been able to inherit a Form from MaterialForm without any issues using the provided sample code, with vb.net 4.5.2 (VS2015)
Just so we are on the same page:
You have added a refrence to MaterialSkin and added a Form and in Form1.Designer.vb you changed:
Inherits System.Windows.Forms.Form
to:
Inherits MaterialSkin.Controls.MaterialForm

Thanks for the reply, I was surprised too as it works in C# fine but not in VB but anyhow since I hadn't done what you cited with regards to the Inherits statements, I thought that might fix it so I made the change hopeful that I can come back and report it worked.
But while in the editor it won't complain about any issues, during the compile process needed to RUN it, it comes back with this error now:

BC30928	Base class 'Form' specified for class 'Form1' cannot be different from the base class 'MaterialForm' of one of its other partial types.

So still not sure why its complaining. So I started a simple solution with bare bone code to see if I can get it run right before going any further and it results in the same error, here is the skeleton code, nothing exciting and the DLL is compiled, and referenced already
Imports MaterialSkin

Public Class Form1
    Inherits MaterialSkin.Controls.MaterialForm

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        SkinManager.AddFormToManage(Me)
        SkinManager.Theme = MaterialSkinManager.Themes.DARK
        SkinManager.ColorScheme = New ColorScheme(Primary.Orange900, Primary.DeepOrange900, Primary.BlueGrey900, Accent.LightBlue700, TextShade.BLACK)
    End Sub

End Class

Any thoughts on that? Am I still forgetting something? It has been a LONG time since I have dropped someone else's code in mine without writing it from scratch, so I might be out of practice a bit - missing something simple.

@Dutchs I am such a dumbass, I figured out where I borked it. I put the inherit in the wrong place, I put it in the code not the designer, ARGH! and now it works, thank you for your help.

@Dutchs & @GuardianMajor
I really had a hard time finding where to place

Inherits MaterialSkin.Controls.MaterialForm

I think it's, probably because I'm using VB.net 2019 and I'm also totally new to this (Vb.net).
All the same i carefully read through this issue and finally arrived to the solution. Thanks a lot.
For anyone hoping to understand what @GuardianMajor  meant by inheritting in the wrong place, check below

Thank you, I am sure it will help someone and I am sorry I never thought to put it there. Well done.


Allowlisting improvements

drop the FPCA requirement from the descriptions of issues created in the notifications repository
since FAS2 stopped working and we want to use other library and also change the workflow for "auto"-allowlisting, drop the code using the retired library

Related to #1257

RELEASE NOTES BEGIN
N/A
RELEASE NOTES END

Would this mean that there is no check if the requester has a Fedora ID? Is that okay to do?

Would this mean that there is no check if the requester has a Fedora ID?

Yes, we wouldn't do any checks and directly create an issue in the notifications repo.

Is that okay to do?

Firstly, I think it already hasn't been working for some time since now we the library is retired and we can't log in to FAS to check it and when it was retired, it was readonly, so we got outdated info about users. Secondly, we discussed this check isn't robust and we want to implement the solution with checking the GH/GL username in FAS account via fasjson. Or am I missing something?

Is that okay to do?

Firstly, I think it already hasn't been working for some time since now we the library is retired and we can't log in to FAS to check it and when it was retired, it was readonly, so we got outdated info about users. Secondly, we discussed this check isn't robust and we want to implement the solution with checking the GH/GL username in FAS account via fasjson. Or am I missing something?

Yes, all that is correct.
The effect of the old library not working was that we had to approve each request manually. Which also meant that we checked that the user had a Fedora account. If this change is deployed, installations would end up in the allow list without any verification (manual or automatic). Given that we sometimes receive some spam installations (someone playing with the GitHub API with malicious intent or just out of curiosity), I worry that we could receive a large number of spam workloads, which could hurt the experience of our users. This is why I thought, that until fasjson is adopted we will default to "allow manually". @lachmanfrantisek what do you think?

@csomh I had one more look to make sure and all installations should be added as waiting, unless it was previously installed and approved.

If this change is deployed, installations would end up in the allow list without any verification (manual or automatic).

As Mato wrote, the installations will be added as waiting, so from the behaviour perspective, nothing will change.

If this change is deployed, installations would end up in the allow list without any verification (manual or automatic).

As Mato wrote, the installations will be added as waiting, so from the behaviour perspective, nothing will change.

Oh, I missed that line. I didn't realize add_namespace()  sets also the status. Everything is fine, then.

Please also update the message in https://github.com/packit/notifications/blob/main/.github/stale.yml once this is merged, and maybe mention that matching manually is a temporary solution until we automate things.

Please also update the message in https://github.com/packit/notifications/blob/main/.github/stale.yml once this is merged, and maybe mention that matching manually is a temporary solution until we automate things.

Sure, it is already opened, I will add the note mentioning it.


Disable Grafana alerting

Grafana legacy alerting has been removed from Grafana 11.0.

Bump Grafana collection.

What's going on with test-deploy?

Seems to be failing on systemd, perhaps the CI overwriting the docker command?

Yea, I was trying to reproduce the systemd testing we do in the collection repo. I was unable to reproduce it.


Community page Accessibility: [MAS1.4.3]:Text elements must have sufficient color contrast against the background.

Build details:
**OS Version:**2004(20221.1000)
Edge Dev Version: 87.0.654.0 (Official build) dev (64-bit)
URL: https://fluidframework.com/community/
Pre-Requisite:
Add Accessibility Insights extension for web to Edge Anaheim (url:https://accessibilityinsights.io/)
Repro Steps:
1. Open the given URL with valid credentials.
2.Now, Run fastpass using Accessibility Insights for Web and observe the failure instances of color-contrast
Actual Result
Text elements are not having sufficient color contrast ratio.
Expected Result:
Text elements must have sufficient color contrast against the background.
User Impact:
Some people with low vision experience low contrast, meaning that there aren't very many bright or dark areas. Everything tends to appear about the same brightness, which makes it hard to distinguish outlines, borders, edges, and details. Text that is too close in luminance (brightness) to the background can be hard to read.
MAS Reference:
MAS 1.4.3 - Contrast (Minimum)

Specifically these links

We need to either find an alternative link style for text on this dark bg, or find an alternative bg for this block of text.


Proposal: enable styling SVGs in Xaml

Proposal: Improve SVG APIs
Summary

SvgImageSource needs dynamically change colors.
as discussed here:
https://github.com/MicrosoftDocs/winrt-api/issues/375
Rationale

Functional Requirements

Important Notes

Open Questions

I guess that @HppZ would like to use a SVG file in a manner similar to setting Path.Data along with setting Path.Fill to the desired brush/color.   In other words, the ability to convert an SVG file to a Geometry that can be assigned to Path.Data, thereby allowing the brush/color to be dynamically changed at any time by changing Path.Fill.
For example, consider an SVG file that should be used as an icon for a button.  Thus the icon/symbol should change color depending on the state of the button (pressed, disabled, hover, etc).
I agree that it would be great to be able to use SVG files as icons for buttons or as symbols for other parts of the GUI.  Thus both "colored" and "colorless" SVG files are quite useful in different situations.

Yes, I would like to use a SVG in a Button style so that I don't need three images (normal pressed hover).
and no more scaled assets needed.

@HppZ, @verelpode do you have any thoughts on which of these would be most useful:

Ability to convert an svg document to a Xaml Geometry
Ability to convert an svg document to a Win2D or Windows.UI.Composition geometry/shape
Ability to apply Xaml styles to svg elements in an SvgImageSource (e.g. similar to styling svg elements with CSS classes)

?

Considering that we both thought of using SVG files/resources as icons for buttons or as other symbols in the GUI, and considering that buttons are normally composed of Xaml elements, then I think the most useful ability is to convert SVG to Xaml Geometry (not CompositionGeometry) and assign it to Path.Data.  Importantly, this also makes it compatible with Windows.UI.Xaml.Controls.PathIcon.Data, whereas CompositionGeometry cannot be assigned to PathIcon.Data.
Re the third option, that may be impressively advanced but overkill; too much work.  The simpler solution of converting an SVG to Xaml Geometry would make it easier to use an SVG as an symbol for use with PathIcon.Data or Path.Data.

Thanks for the suggestion and details! I agree this would be a useful feature given how common SVG is.
We won't be able to get to this in the current release but we'll keep this issue in the backlog for the future.

I was searching how to do this until I find out this thread :(
For reference iOS/Android, we can do it. Swift way: https://stackoverflow.com/questions/19274789/how-can-i-change-image-tintcolor-in-ios-and-watchkit

Any future plan for this proposal please?


update MMEvol codebase

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: zchoi:x: zchiozchio seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


US 01.03.01

As an owner, I want to edit the details of an item.
Requirements

Implement edit fragment to mutate values of details of items
Go to edit item fragment from view item details fragment

working. Thanks bpaul2!


slowly load

If set v-model to component then first load calendar after click is very slow : 3-5s

Can you replicate your issue on this jsfiddle
https://jsfiddle.net/01407frf/381/
I dont see any lag.
Are you using inline configs ?

i found problem. I set config as
<date-picker name="date" v-model="date" :config="{format:'DD.MM.YYYY HH:00',showClear: true,showClose: true}"></date-picker>
https://jsfiddle.net/01407frf/385/
Then component work very slow. set config in variable
  data() {
            return {
                config: {format:'DD.MM.YYYY HH:00',showClear: true,showClose: true},

all work very quickly!