Please enable CI build of documentation

In commit 75d6ddc844 (part of PR #74) I added a CI build target for documentation formatted by Documenter.jl. Could you please complete the steps needed to host this documentation on GitHub pages (setting up the SSH key, check again that everything is still in line with the latest conventions), and then add to the README.md the customary shields:

(Alternatively, if you allow me to join the JuliaIO organization, I'd also be delighted to finish this myself.)

Alternatively, if you allow me to join the JuliaIO organization, I'd also be delighted to finish this myself.

Sorry, I stalled on this when it was brought up before. I just invited you!
The love this package needs has been on my mind for a while. Appreciate the help!

@IanButterworth Thanks. Having accepted the invite appears to have enabled me now to close issues and merge PRs, but it still doesn't give me access to the “Settings” tab of this repo, which I need to use to install SSH deploy keys.
Also, does JuliaIO have any preference whether to use Travis CI or GitHub Actions to deploy gh-pages documentation? I'd quite like to deploy documentation for tagged versions, which I believe requires using the route GitHub Actions with SSH authentication, also for Tag Bot. (It's all become a bit complex since I last did this.)

Ah yes, I just elevated your perms for this repo.
Travis CI for free projects isn't really an option anymore. I'd go with GitHub Actions.

@IanButterworth Thanks, gh-pages documentation via GitHub Actions is now live at https://JuliaIO.github.io/LibSerialPort.jl/dev (“stable” should follow automatically at the next tagged release)


Update issue templates

I like this! We should update the existing issue template to follow the new folder syntax and include the title, about etc


Issues when try to build vts-tools

Hello, I'm try to build vts-tools on ubuntu-18.04
When following the Readme
to install dependences here
sudo aptitude -y install \
    libboost-dev \
    libboost-thread-dev \
    libboost-program-options-dev \
    libboost-filesystem-dev \
    libboost-regex-dev \
    libboost-iostreams-dev\
    libboost-python-dev \
    libopencv-dev libopencv-core-dev libopencv-highgui-dev \
    libopencv-photo-dev libopencv-imgproc-dev libeigen3-dev \
    libgdal-dev \
    libproj-dev \
    libgeographic-dev libjsoncpp-dev \
    libprotobuf-dev protobuf-compiler libprocps-dev libmagic-dev gawk sqlite3

I got something like following
The following packages have unmet dependencies:
 libavresample-dev : Depends: libavutil-dev (= 7:3.4.8-0ubuntu0.2) but it is not going to be installed
                     Depends: libavresample3 (= 7:3.4.8-0ubuntu0.2) but it is not going to be installed
 libavformat57 : Depends: libbluray2 (>= 1:0.2.2) but it is not going to be installed
                 Depends: libchromaprint1 (>= 1.3.2) but it is not going to be installed
                 Depends: libgme0 (>= 0.5.5) but it is not going to be installed
                 Depends: libopenmpt0 (>= 0.2.7025~beta20.1) but it is not going to be installed
                 Depends: libssh-gcrypt-4 (>= 0.4.2) but it is not going to be installed
 liburiparser-dev : Depends: liburiparser1 (= 0.8.4-1+deb9u2build<IP_ADDRESS>) but it is not going to be installed
 libjpeg-dev : Depends: libjpeg8-dev but it is not going to be installed
 libopenexr-dev : Depends: libilmbase-dev (>= 2.2.0-6) but it is not going to be installed
 libgeos-c1v5 : Depends: libgeos-3.8.0 (>= 3.8.0) but it is not going to be installed
 libhdf5-100 : Depends: libsz2 but it is not going to be installed
 libopenmpi2 : Depends: libfabric1 (>= 1.5.0) but it is not going to be installed
               Depends: libhwloc5 (>= 1.11.9) but it is not going to be installed
               Depends: libibverbs1 (>= 1.1.6) but it is not going to be installed
               Depends: libpsm-infinipath1 (>= 3.3+7.gec1d6d2) but it is not going to be installed
               Depends: libhwloc-plugins but it is not going to be installed
 libgdcm2.8 : Depends: libsocket++1 but it is not going to be installed
 libtiff-dev : Depends: libtiff5-dev (>= 4.0.9-1) but it is not going to be installed
 libavformat-dev : Depends: libavutil-dev (= 7:3.4.8-0ubuntu0.2) but it is not going to be installed
                   Depends: libswresample-dev (= 7:3.4.8-0ubuntu0.2) but it is not going to be installed
 libkmlbase1 : Depends: libminizip1 (>= 1.1) but it is not going to be installed
               Depends: liburiparser1 (>= 0.6.0) but it is not going to be installed
 libqhull-dev : Depends: libqhull-r7 (= 2015.2-4) but it is not going to be installed
 libhdf5-dev : Depends: libaec-dev but it is not going to be installed
               Depends: hdf5-helpers but it is not going to be installed
               Depends: libhdf5-cpp-100 (= 1.10.0-patch1+docs-4) but it is not going to be installed
 libpoppler-private-dev : Depends: libpoppler-dev (= 0.62.0-2ubuntu2.12) but it is not going to be installed
 libavcodec-dev : Depends: libavutil-dev (= 7:3.4.8-0ubuntu0.2) but it is not going to be installed
                  Depends: libswresample-dev (= 7:3.4.8-0ubuntu0.2) but it is not going to be installed
 odbcinst1debian2 : Depends: odbcinst but it is not going to be installed
 libgphoto2-dev : Depends: libexif-dev but it is not going to be installed
 default-libmysqlclient-dev : Depends: libmysqlclient-dev but it is not going to be installed
 libavcodec57 : Depends: libcrystalhd3 (>= 1:0.0~git20110715.fdd2f19) but it is not going to be installed
                Depends: libgsm1 (>= 1.0.13) but it is not going to be installed
                Depends: libshine3 (>= 3.1.0) but it is not going to be installed

@vaclavblazek Do you meet same issues. Or can you give some help.
E.g. What ubuntu version is suggest for build this repo?


untitled file first line filename feature

@atitoa93 please review once again. made changes like suggested

can anyone help me fix errors?

@joaomoreno can you review please?


Support new multidevice authentication

It's changelog time after many months. So, there was no plan to add the MultiDevice Beta feature, but legacy authentication was removed by WhatsApp. Some people told me almost all WhatsApp bots are broken and require a persistence server, but I challenged that.
Technically speaking whatsapp-web.js pulls the whole state from Chrome to remember the device. That's good, but the only limitation is it needs a persistence server. So, I delete large unneeded files, make a zip of it, and encrypt the zip, so the file can be hosted from any website (like https://thetuhin.com/session.secure).
Changelog

Supports MultiDevice feature
Secure session token
Don't require persistence state

What about security?
Well, it is safe, but still, maybe there is some vulnerability of the token encryption (like brute force, social engineering). So I highly recommend you to throw this stuff in a secure place (like https://thetuhin.com/freaking-hard-security/session.secure)
The new process
Well, it is kinda same. Just follow these steps:

Run npm run gentoken, it will ask you for a password (SESSION_KEY). With docker docker run -p 8080:8080 -it  jeeetpaul/whatsbot-session
After authenticated you will see a new file session.secure has been created in the root directory.
If you will use a persistence computer, then don't do anything. Just put the SESSION_KEY with the Chosen Password in env. Please don't put SESSION_URL in that case.
Otherwise, upload session.secure to any server, like a public Github repo. Then grab the direct link of it. Put then link into SESSION_URL

Thank you 👍

hoda

QR code scan does not return any json


Mooncord crashing when canceling a Print

Hi,
Mooncord crashes when canceling a print via Mooncord or KlipperScreen.
Here is the Log:
[info] [2022-04-23T07:44:19.137Z] Agent772#3294 pressed button: printjob_refresh
[info] [2022-04-23T07:44:38.632Z] Agent772#3294 pressed button: printjob_cancel
[info] [2022-04-23T07:44:39.262Z] executing macro: CANCEL_PRINT
[info] [2022-04-23T07:44:39.684Z] klipper status changed to cancelled...
[error] [2022-04-23T07:44:39.756Z] TypeError: Cannot read properties of undefined (reading 'embed_id')
TypeError: Cannot read properties of undefined (reading 'embed_id')
at StatusHelper.update (/home/pi/mooncord/dist/index.js:51408:77)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async SubscriptionNotification.parsePrintStats (/home/pi/mooncord/dist/index.js:51779:9)
[info] [2022-04-23T07:44:51.445Z] Agent772#3294 executed command: status
[error] [2022-04-23T07:44:51.719Z] TypeError: Cannot read properties of undefined (reading 'embed_id')
TypeError: Cannot read properties of undefined (reading 'embed_id')
at StatusCommand.execute (/home/pi/mooncord/dist/index.js:50641:80)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)

Hey there, this is properly fixed in 0.0.6 (which will come out next month)

Hey there any updates?


Is it possible to serialize with serde?

Hello,
I want to use your ECS with WASM. But I struggle to return the state of the world back to Javascript after I ran a dispatcher.
let's take this little example. dispatch is exposed via wasm_bindgen to Javascript. Javascript calls the function, the dispatch of the world is triggered and I want to return the result.
  pub fn dispatch(&mut self) -> JsValue {
    let run = (|animals: &mut Components<Animal>, points: &mut Components<na::Point2<f32>>| {
      for (_, point) in join!(&animals && &points) {
       //...
      }
      Ok(())
    }).system();
    let mut dispatch = DispatcherBuilder::new().add_system(run).build(&mut self.world);
    dispatch.run_seq(&self.world).unwrap();

   // now I want to return all entities which have animal and points as json to the browser
  }

Is it possible to use serde with your ECS out of the box? If so can you provide me an example.
Thanks in advance!

Hi!
We have a feature called "ser" here: https://github.com/jojolepro/planck_ecs/blob/master/Cargo.toml#L23
To enable it, you can use
planck_ecs = { version = "*", features = ["ser"] }

This will allow you to serialize Entity  (https://github.com/jojolepro/entity_component/blob/master/src/entity.rs#L8)
From here, you need to ensure that your component types are serializable (Animal and Point2).
Then, you can do something like this:
let cloned_data = join!(&self.world.get::<Entities>().unwrap(),
    &self.world.get::<Components<Animal>>().unwrap(),
    &self.world.get::<Point2<f32>>().unwrap(),
    ).cloned().collect::<Vec<_>>();

This will give you a Vec<(Entity, Animal, Point2<f32>)>, which you can serialize using json:
serde_json::to_pretty(&cloned_data);

There's probably also a way to do that without cloning the data (the cloned() function in the example).
I hope this helps :hearts:

@jojolepro My compiler tells me the error the trait boundEntity: Serialize is not satisfied with the ser feature enabled.
Then using .cloned() was also producing errors method cannot be called on Cloned<Zip<ComponentIterator<', Animal>, ComponentIterator<', Point<f32, 2_usize>>>> due to unsatisfied trait bounds. So I just called collect(). And using commas and self.world in the macro also didn't work for me. So add the end I have something like this.
    let animals = self.world.get::<Components<Animal>>().unwrap();
    let positions = self.world.get::<Components<na::Point2<f32>>>().unwrap();

    let cloned_data = join!(&animals && &positions).collect::<Vec<_>>();

    JsValue::from_serde(&cloned_data).unwrap()

yeah I was writing pseudo-code which I didn't test. ^u^
You are right about Entity: Serialize, I did a mistake in the Cargo.toml file of planck_ecs. I'll fix this right now and push a patch update.
I'm happy that this is working for you! Let me know if you need more help with something :)
Also, would you like to write an example showcasing serialization in planck_ecs/examples ?

Yeah I can do that.

:hearts:


Week 4 Individual Review Ticket

Score: /5
Team Score: 4/3 (already reviewed with extra credit)
Accounts and Logins
CB Create Task completed and documented on GH Pages - Prep to submit to CB on or before May, 2nd. (2 Points - Individual)
Ritvik College Board Create Task

[ ] CB Create Task Coding requirements documented
[ ] Runtime of Code(with comments) on Replit/Intellij

Accounts and Logins Challenges/Hacks ( 3 Points - Team)

Start or add to existing project:  init.py, main.py, requirements.txt and cruddy blueprint directory are things you will need to add to your existing project.  Additionally, you should start with some of the content in templates and static folders.  Find a pair and work on this together.  Ask questions.

Analysis: the csp.nighthawkcodingsociety.com implementation is for educational purposes.  It has some obvious flaws in its security.   Discuss some of the flaws that you see in its security as implemented.

[ ] Hack#1 Add Phone Number to Sign Up / Authorization screen

[ ] Hack#2 Add logout to CRUD screen

[ ] Hack#3 Add login_required to another portion of the project
Login required has been added to level1.html part of project. New login page, and forced to login before accessing page.

[ ] Extra Credit:  A quality design would have login and logout on Navbar with user information.   Be sure to have login protecting something on your site, however, do NOT make entire site under login_required.
Login is protecting level1.html file on page. Logout is also available on top of navbar.

#Individual Score: 2/2
Reviewed by Somaditya Singh
Score given 2/2. Create Task is completely and fully documented at this
Video is detailed and present. The written responses have been completed. Code snippets and Replit is also documented.

I agree with the grade given, a 6/5 would be correct for the work done. He has all the hacks done as well as the extra credit. Also, he has completed the college board Create Task requirements.

Reviewed by Nadira Haddach


Calibration vegalite warning

Running a calibration you can often find the following vegalite warning
We should look into this when we get the chance
Details:
Steps to reproduce:
I ran the default configuration of the following model with a sample size of 1 for 100 timesteps.
I then hooked the same config up to a calibration with the simulation's dataset.
This is a meaningless calibration but it allows us to easily reproduce this warning
Model: Test SIR Model.json
WARN Infinite extent for field "timepoint_id": [Infinity, -Infinity]

A lot of these warnings are addressed in https://github.com/DARPA-ASKEM/terarium/pull/5476, the cause is insertion of empty layers with no usable data.


OHIF-323: Cine Dialog

PR Checklist

[ ] Brief description of changes
[ ] Links to any relevant issues
[ ] Required status checks are passing
[ ] User cases if changes impact the user's experience
[ ] @mention a maintainer to request a review

@JamesAPetts @evren217 Note: the design of the fps bar is slightly different here, the remaining half of the bar should have a different color but this is kinda tricky to do with native input, not sure if this is worth the time.

The design of the fps bar is slightly different here, the remaining half of the bar should have a different color but this is kinda tricky to do with native input, not sure if this is worth the time.

This is fine as is, it looks good enough.


[question] Is there a plugin for executing the current program, similarly to VS Code's Code Runner?

It would be great if I could execute the current program and see the result in a horizontal split, similarly to VS Code's Code Runner. Is there a plugin for this? By the file format, the plugin could decide what interpreter / compiler to call.

I found a similar plugin at https://github.com/lukhof/splitterm . I changed it a bit and came up with this:
VERSION = "0.1.0"

local micro = import("micro")
local config = import("micro/config")
local buffer = import("micro/buffer")

function codeRunner(bp)
	--for determining the file type
	local buf = bp.Buf

	--arguments for terminal
	local jobArgs = {}

	if buf:FileType() == "python" then
		jobArgs = { "python3", bp.Buf.Path }
	elseif buf:FileType() == "go" then
		jobArgs = { "go", "run", bp.Buf.Path }
	elseif buf:FileType() == "lua" then
		jobArgs = { "lua", bp.Buf.Path }
	else
		micro.InfoBar():Error("unknown filetype")
		return
	end

	--create buffer
	local tmpBuffer = buffer.NewBuffer("", "/tmp/micro_codeRunner")

	--open split
	local tmpBufferpane = bp:HSplitBuf(tmpBuffer)

	--open terminal
	tmpBufferpane:TermCmd(jobArgs)
end

function init()
	config.TryBindKey("Ctrl-r", "lua:codeRunner.codeRunner", true)
end

With Ctrl-r you can execute a file. Currently it works with Python, Lua and Go. How could I add Java support too? There 2 commands should be executed. Say I have a file called Main.java:
$ javac Main.java
$ java Main

If javac fails, it should stop.


For single-table CSV schema, a naming convention should be followed

Now, in case of a single-table CSV and schema, I get:
"@id": "https://ofn.gov.cz/schema/ofn-lide-a-osoby/43993f16-e793-4752-ac83-f06aa20755fe/schema.csv-metadata.json",
"url": "https://ofn.gov.cz/schema/ofn-lide-a-osoby/43993f16-e793-4752-ac83-f06aa20755fe/schema.csv-metadata.json/table.csv",

However, the correct naming convention is x.csv and x.csv-metadata.json
Even though we do not have any actual data at the moment, I would consider changing these to:
"@id": "https://ofn.gov.cz/schema/ofn-lide-a-osoby/43993f16-e793-4752-ac83-f06aa20755fe/table.csv-metadata.json",
"url": "table.csv",

The relative url allows usage of the schema even locally, in the file system, with "table".

I also added a similar id to multi-table schema for uniformity.


Feature request: Add option to purge blob from Azure CDN

Storage Explorer Version: 1.2.0
Platform/OS Version: Windows 10
Architecture: ia32
Regression From:
Expected Experience:
When selecting a blob in a storage account that has Azure CDN attached, be able to purge the blob from the CDN.

During 1.5.0 let's look into this and see if it makes sense in Storage Explorer.

Hey @crackalak , I did some digging into Azure CDN, and I'm not 100% on what scenario you are talking about? Can you point me to something that talks about purging blobs from CDN? Thanks!

Hi @MRayermannMSFT , please see https://docs.microsoft.com/en-us/azure/cdn/cdn-purge-endpoint and the API info from here https://docs.microsoft.com/en-us/rest/api/cdn/endpoints/purgecontent

Hey @crackalak , if you had the ability to add this yourself to Storage Explorer (either via the project being open source, or, writing an "extension") would you be interested in doing it?

Hi @MRayermannMSFT , yes I would be interested in doing it :)

Yes that would be a good start, a setting to purge automatically on overwrite of a blob would be also be nice


[CERT-TEST-FAILURE] TC-ICDB-2.3 : DUT Sends Different ICDCounters to TH1 and TH2 in Step 3 instead of same ICDCounter

Feature Area
Area:ICDPhase2
Test Case
TC-ICDB-2.3
Reproduction steps
Test Case Step:
Step 3 expects the DUT to send periodic check-in messages to both TH1 and TH2 with updated ICDCounters. The test plan specifies that both TH1 and TH2 should receive the same ICDCounter.
Current SDK Behavior:
The current SDK provides different ICDCounters for TH1 and TH2.
Logs:
Test PLan expects same ICDCounter for both, but the actual output indicates different ICDCounters for TH1 and TH2.
Use the below commands to provision the DUT with 2 TH's
execute the below mentioned command to put DUT into a commissionable state, Pls use equivalent command on the respective DUT
./lit-icd-app
Once DUT reach the  commissionable state pls send below mentioned command on TH's respectively. Pls use equivalent command on the respective DUT
Provision the device using chip tool on first controller(TH1)
 ./chip-tool pairing onnetwork 1 20202021
./chip-tool pairing open-commissioning-window 1 1 400 2000 3840
Provision the device using chip tool on 2nd  controller(TH2)
  ./chip-tool pairing code 2<PHONE_NUMBER>2(mannualcode) --commissioner-name beta
On TH1 -
Step 2a - Verify that after TH1 sends the RegisterClient command with the following parameters:
CheckInNodeID: CheckInNodeID1 = NodeId1
MonitoredSubject: MonitoredSubID1
Key: Key1
The DUT should respond with a status of SUCCESS (0x00). Additionally, confirm that the DUT’s response includes the ICDCounter.
./chip-tool interactive start\ icdmanagement register-client 112233 1 hex:abcdef1234567890abcdef1234567890 0 1 0
`

[1721997295.344] [41279:41281] [DMG] },
[1721997295.344] [41279:41281] [DMG] Received Command Response Data, Endpoint=0 Cluster=0x0000_0046 Command=0x0000_0001
[1721997295.344] [41279:41281] [TOO] Endpoint: 0 Cluster: 0x0000_0046 Command 0x0000_0001
[1721997295.344] [41279:41281] [TOO]   RegisterClientResponse: {
[1721997295.344] [41279:41281] [TOO]     ICDCounter:<PHONE_NUMBER>
[1721997295.344] [41279:41281] [TOO]    }
[1721997295.345] [41279:41281] [DMG] ICR moving to [AwaitingDe]

step 2b
On TH2 -  Verify that after TH2 sends the RegisterClient command with the following parameters:
CheckInNodeID: CheckInNodeID2 = NodeId2
MonitoredSubject: MonitoredSubID2
Key: Key2
The DUT should respond with a status of SUCCESS (0x00). Additionally, confirm that the DUT’s response includes the ICDCounter.
``./chip-tool interactive start --commissioner-name beta
`
icdmanagement register-client 112233 2 hex:abcdef1234567890abcdef1234567890 0 2 0 --commissioner-name beta

[1721997307.443] [51916:51918] [DMG] },
[1721997307.443] [51916:51918] [DMG] Received Command Response Data, Endpoint=0 Cluster=0x0000_0046 Command=0x0000_0001
[1721997307.443] [51916:51918] [TOO] Endpoint: 0 Cluster: 0x0000_0046 Command 0x0000_0001
[1721997307.443] [51916:51918] [TOO]   RegisterClientResponse: {
[1721997307.443] [51916:51918] [TOO]     ICDCounter:<PHONE_NUMBER>
[1721997307.443] [51916:51918] [TOO]    }

step 3 - After waiting for one or more IdleModeDuration cycles, verify that the DUT sends periodic check-in messages to both TH1 and TH2 with an updated ICDCounter. Ensure that both TH1 and TH2 receive the same ICDCounter value. The current SDK provides different ICDCounters for TH1 and TH2.
On TH1 and

[1721997301.877] [41279:41281] [EM] >>> [E:26760r S:0 M:5967021] (U) Msg RX from 0:DE30777B3909BA06 [0000] --- Type 0000:50 (SecureChannel:ICD_CheckInMessage) (B:57)
[1721997301.878] [41279:41281] [EM] Handling via exchange: 26760r, Delegate: 0x557b687e7ac0
[1721997301.878] [41279:41281] [ICD] Check In Message processing complete: start_counter=1790469174 offset=1 nodeid=<000000000001B669, 1>
[1721997301.878] [41279:41281] [TOO] The node <000000000001B669, 1> is not the one we are interested in.
[1721997321.888] [41279:41281] [EM] >>> [E:26761r S:0 M:5967024] (U) Msg RX from 0:3835CD38BEABA128 [0000] --- Type 0000:50 (SecureChannel:ICD_CheckInMessage) (B:57)
[1721997321.888] [41279:41281] [EM] Handling via exchange: 26761r, Delegate: 0x557b687e7ac0
[1721997321.888] [41279:41281] [ICD] Check In Message processing complete: start_counter=1790469174 offset=2 nodeid=<000000000001B669, 1>
[1721997321.888] [41279:41281] [TOO] The node <000000000001B669, 1> is not the one we are interested in.
[1721997331.898] [41279:41281] [EM] >>> [E:26763r S:0 M:5967026] (U) Msg RX from 0:5C924742068ECCD5 [0000] --- Type 0000:50 (SecureChannel:ICD_CheckInMessage) (B:57)
[1721997331.898] [41279:41281] [EM] Handling via exchange: 26763r, Delegate: 0x557b687e7ac0
[1721997331.898] [41279:41281] [ICD] Check In Message processing complete: start_counter=1790469174 offset=3 nodeid=<000000000001B669, 1>

TH2

[1721997321.885] [51916:51918] [EM] >>> [E:26762r S:0 M:5967025] (U) Msg RX from 0:DD22F3AA5C6819AB [0000] --- Type 0000:50 (SecureChannel:ICD_CheckInMessage) (B:57)
[1721997321.885] [51916:51918] [EM] Handling via exchange: 26762r, Delegate: 0xaaaac09b73f8
[1721997321.886] [51916:51918] [ICD] Check In Message processing complete: start_counter=1790469175 offset=1 nodeid=<000000000001B669, 1>
[1721997321.886] [51916:51918] [TOO] The node <000000000001B669, 1> is not the one we are interested in.
[1721997331.894] [51916:51918] [EM] >>> [E:26764r S:0 M:5967027] (U) Msg RX from 0:D13A96B82506C61D [0000] --- Type 0000:50 (SecureChannel:ICD_CheckInMessage) (B:57)
[1721997331.895] [51916:51918] [EM] Handling via exchange: 26764r, Delegate: 0xaaaac09b73f8

Bug prevalence
Everytime
GitHub hash of the SDK that was being used
a5124a9e5b8fdaed6d7304d406c0edb2cf4a49dd
Platform
raspi
Anything else?
PFA log below :
TC-ICDB-2.3 DUT.txt
TC-ICDB-2.3 TH2.txt
TC-ICDB-2.3 TH1.txt
Test Plan REference :

https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/cluster/icdbehavior.adoc#tc-icdb-2-3-icd-state-machine-with-both-client-registrations-and-no-active-subscription-multiple-fabrics-dut_server

The result is correct.
from your log TH1: -><PHONE_NUMBER> offset 2 =<PHONE_NUMBER>
[1721997321.888] [41279:41281] [ICD] Check In Message processing complete: start_counter=1790469174 offset=2 nodeid=<000000000001B669, 1>
At the same time stamp in TH2:<PHONE_NUMBER> offset 1 =<PHONE_NUMBER>
[1721997321.886] [51916:51918] [ICD] Check In Message processing complete: start_counter=1790469175 offset=1 nodeid=<000000000001B669, 1>

it was bit odd that you're getting different start counter. i ran a few times and register TH2 after 1 idle duration, and i didn't get he same start_counter.
but overall, if the the end counter value is the same, it's correct.

Closing this issue as per conversation withy @yinyihu-silabs.


⚠ Turnos 24x7 has degraded performance

In 7a4f1fb, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 963 ms

Resolved: Turnos 24x7 performance has improved in ed5404f.


Provide blocking and async versions of pixel_rgb methods.

This also fixes an unsatisfied trait bound error.
Rename existing pixel_rgb methods to pixel_rgb_blocking, and update them to use device.pixel_blocking since async device.pixel is not available based on I2C constraints.
Add new impls for async pixel_rgb methods, with async hal constraint on I2C to allow calling device.pixel.

Note - I've tested the Keybow2040 device on hardware, but not the other two affected devices. The changes are the same so I'd hope this would work.


Cshrcp 747

forgot to add bintray URL - as environment variable so its trying to login to docker hub.
I cant test this stuff anywhere without pushing to circleci!

no longer necessary as moving to Azure


Confusion on the API keras.layers.PReLU -- the shape of the parameter: alpha

System information

Have I written custom code (as opposed to using example directory):  No. https://github.com/keras-team/keras/blob/master/keras/layers/advanced_activations.py
OS Platform and Distribution :  Windows 10
TensorFlow backend :  yes
TensorFlow version:  1.15.0
Keras version:  2.2.4-tf
Python version:  3.7.4
CUDA/cuDNN version:
GPU model and memory:

Describe the current behavior
Hi everyone,
Recently I checked the paper and the tensorflow definition of PReLU (Paramatic ReLU) function as well as some other DL frameworks. I think when using PReLU, the parameter "alpha" should be the of the shape (channel, ) where the channel means the number of channels of the PReLU layer input feature map. However, the keras.layers.PReLU API defines the alpha has the same shape as the input (and it does implement this way), which introduces a lot more paramters to this layer.
In Keras API, it says "where alpha is a learned array with the same shape as x.", while in the original paper, it says "The subscript i in ai indicates that we allow the nonlinear activation to vary on different channels." (ai means alpha here). So I am wondering if there is any difference between the Keras PReLU & the original PReLU.
The most important things is, the reason to introduce PReLU is to use a very small number of extra parameters to get a better classification performance, while using Keras API PReLU, it will add a lot of parameters that are even far more than paramters in convolutional layers.
PS: I just checked the TensorFlow 2.0 tf.keras.layers.PReLU class, it has the same implementation as Keras API does.
Describe the expected behavior
If I happen to be right, I wonder if there will be some corrections on this; if I am wrong, I wonder if someone can help me with this confusion.
Thanks.

Sry I missed the "shared_axes" argument...


Forwarded ports configuration in config.rb

Add ability to configure forwarded ports in config.rb

@sym3tri thanks for taking care of this.


Roll Flutter Engine from 2b6bb516e7e6 to 79a91e38c587 (2 revisions)

https://github.com/flutter/engine/compare/2b6bb516e7e6...79a91e38c587
2024-07-04<EMAIL_ADDRESS>Roll Skia from 28ba3b1b0951 to a2d00a28c563 (2 revisions) (flutter/engine#53726)
2024-07-04<EMAIL_ADDRESS>Roll Skia from d5f8dde714e4 to 28ba3b1b0951 (1 revision) (flutter/engine#53724)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


fix: override steps in composite tasks

lets support overriding a step inside a single step which is an entire task
(as its got no step name)

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign jstrachan
You can assign the PR to them by writing /assign @jstrachan in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/approve

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jstrachan
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jstrachan]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/hold cancel


Fix connection_error when Exception is NoMethodError or nil

When working on h2spec, discovered that connection_error exception can be NoMethodError or nil. Calling e.message or e.backtrace raises a new exception.
Not sure why the exception would be NoMethodError or nil (seems strange to me), but this fixes it for now.

Coverage decreased (-0.04%) to 96.897% when pulling 0bcb269a25e9552118e74043e707aa0f135bc97e on georgeu2000:fix-connection-error into b1c2637fe16df2ae3bacd9b547e52c8e129369fc on igrigorik:master.

Do you have an example backtrace of when NoMethodError is triggered?

After looking into it, I see that the NoMethodError was being raised from a typo that I introduced. It has nothing to do with http-2.

:)
So, the question is.. in such cases, what should http-2 raise? We should catch it and goaway the connection, etc... I think.

The connection is already goaway'd. This is an issue within the error handler.
  def connection_error(error = :protocol_error, msg: nil, e: nil)
    goaway(error) unless @state == :closed || @state == :new

    @state, @error = :closed, error
    klass = error.to_s.split('_').map(&:capitalize).join
    fail Error.const_get(klass), msg || e.message, e.backtrace || []
  end

5.1. Stream States
     × half closed (remote): Sends a DATA frame
      - The endpoint MUST respond with a stream error (Section 5.4.2) of type STREAM_CLOSED.
        Expected: GOAWAY frame (ErrorCode: STREAM_CLOSED)
                  RST_STREAM frame (ErrorCode: STREAM_CLOSED)
                  Connection close
          Actual: WINDOW_UPDATE frame (Length: 4, Flags: 0)

Even with the fix, the above spec fails. I think that receive does not handle this case because it is raising the connection_error at the end of the method.
# Decodes incoming bytes into HTTP 2.0 frames and routes them to
    # appropriate receivers: connection frames are handled directly, and
    # stream frames are passed to appropriate stream objects.
    #
    # @param data [String] Binary encoded string
    def receive(data)

It seems to me that fixing h2spec 5.1 is not really part of this issue.

Ok, sounds like that's a separate investigation then. Is this good to merge from your perspective?

Yes.

#66 ?


form_validation lang 'valid_url', but no method

While trying to test issue #1850 i saw that the reporter uses
a valid_url rule in the form validation set_rules
There is no method or function named valid_url() anywhere, so the rule will actually never validate to TRUE.
However, there is a language line for valid_url here:
https://github.com/EllisLab/CodeIgniter/blob/develop/system/language/english/form_validation_lang.php#L33
shouldn't either that line be removed to prevent confusion, or a method be added to actually test for valid_url() ?

Hey valid_url rule seems not work on my CI 3.0, e.g. a url like "test" passes the test. Advise.

@ProfNandaa I think that is intentional, have a look at Narfs comment on #3478


MM-35598 - Finish run button

Summary

Adds a default status option to the /playbook update slash command, including autocomplete (and autocomplete parsing). But this will be outdated as soon as we do the next epic, so it's only temporary.
Adds Finish run button and confirm modal.

Button is tertiary until all checklist items are checked, then it turns primary.
Button disappears when run is not in an active state (I assumed this is what we want to do)
Confirm modal text changes its text and plurality based on number of tasks unchecked.
Number of tasks left unchecked is ephasized as in the screencaps below (following the designs)

Editor review needed
@justinegeffen The text will be the following, please suggest edits from these:

0 tasks unchecked
Are you sure you want to finish the run? You will not be able to add or change tasks and checklists once you finish the run.
1 task unchecked
Are you sure you want to finish the run? There is 1 outstanding task and it will be automatically marked as skipped. You will not be able to add or change tasks and checklists once you finish the run.
2 or more tasks unchecked
Are you sure you want to finish the run? There are 2 outstanding tasks and they will be automatically marked as skipped. You will not be able to add or change tasks and checklists once you finish the run.

UX review
@abhijit-singh I followed the designs, but you /are/ able to check and edit tasks even when the run is Resolved or Archived -- do we change the text then?
Looks like:

Ticket Link

https://mattermost.atlassian.net/browse/MM-37323

Checklist

[ ] Telemetry updated
[ ] Gated by experimental feature flag
[ ] Unit tests updated

Thanks, @cpoile! Here are my suggestions:
0 tasks unchecked
Are you sure you want to finish the run? You can't add or change tasks and checklists when the run is finished.
1 task unchecked
Are you sure you want to finish the run? There is 1 outstanding task which will automatically be marked as Skipped. You can't add or change tasks and checklists when the run is finished.
2 or more tasks unchecked
Are you sure you want to finish the run? There are 2 outstanding tasks and they'll automatically be marked as skipped. You can't add or change tasks and checklists when the run is finished.
I'm torn between using "when the run has finished" and "when the run is finished". I think the latter is more fitting but just wanted to throw that out there and see what you think.
Otherwise I've tried to shorten it a bit but on the whole just minor edits. :)

Thanks @justinegeffen! In the end we're going to remove that modal anyway. :( But we'll put it back when we have the new status update system (next release?).


[build] Cannot find libraylib.so.2

After installing raylib on GNU Linux, I'm unable to run the examples. After compiling them and running them, it says
error while loading shared libraries: libraylib.so.2: cannot open shared object file: no such file or directory
This happens when installing either via make or cmake. The file does exist in usr/local/lib.

Does the file exist in raylib/src directory? Is it generated successfully?

@Michael-Bianconi which distro are you running? Which commands do you run to build and install? How do you compile your program?

@Michael-Bianconi you probably don't have /usr/local/lib in ld.so, you can add e.g. local.conf file in /etc/ld.so.conf.d and inside file add /usr/local/lib , after that one ldconfig and it should be ok.

@raysan5

Does the file exist in raylib/src directory? Is it generated successfully?

It does not exist in raylib/src.
@jubalh

@Michael-Bianconi which distro are you running? Which commands do you run to build and install? How do you compile your program?

I'm running Ubuntu 18.04.1 LTS. I'm building via:
raylib/src$ sudo make clean raylib/src$ sudo make PLATFORM=PLATFORM_DESKTOP raylib/src$ sudo make install
If I run it with
raylib/src$ sudo make install RAYLIB_LIBTYPE=SHARED
it throws an error saying libraylib.so.2.0.0 not found.
Alternatively, if I use cmake
raylib/build$ cmake -DSTATIC=ON -DSHARED=ON .. raylib/build$ sudo make clean raylib/build$ sudo make raylib/build$ sudo make install raylib/examples$ make core/core_basic_window PLATFORM=PLATFORM_DESKTOP -B
I get the libraylib.so.2 not found error.

Issue solved
I manually deleted libraylib.so.2 from usr/local/lib and it solved the problem for some reason.

I had the same problem but with libraylib.so.301. Deleting it also made it work but I feel like there's still an underlying problem that needs to be addressed

the same issue but with libraylib.so.400 on version v4.0.0

Don't forget run: $ sudo ldconfig

i am experiencing the same issue with libraylib.so.4.2.0, after compiling with cmake
what is the underlying issue?

Don't forget run: $ sudo ldconfig

@wwesleyaraujo
It fixed the problem. Thanks!

Don't forget run: $ sudo ldconfig

I'am using Ubuntu 20.04 and it fixed the problem.

Don't forget run: $ sudo ldconfig

I'am using Ubuntu 20.04 and executing it after installation fixed the problem.

Don't forget run: $ sudo ldconfig

Porra wesley, vlwww sksksksksksk. Esqueci total, tava com a porcaria de um pc novo e viajei. Vlwwww irmão


changed default route type to be higher priority

Assuming this is how the priorities should be

I think we had it right. If the type is default the priority should be between 25001 and 50000 inclusive. Otherwise it should be between 1 and 25000 inclusive.

Thanks, updated, but before the statements were both if var.route_type == "default"

Oh I see, my bad haha


Q# should include decompositions to alternate quantum gate sets

Q# defines the set of basic gate operations in the Microsoft.Quantum.Intrinsic namespace, where the fundamental operations are implemented as body intrinsic and other operations are expressed as decompositions onto these body-intrinsic operations. These effectively represent a specific quantum gate set that the current version of the simulator implements. To facilitate experimentation, testing, and eventually targeting of simulators and hardware with a different quantum gate set, the runtime should have infrastructure and examples of alternate implementations of operations in the Microsoft.Quantum.Intrinsic namespace as decompositions on top of the body-intrinsic operations for that alternate gate set.
Introducing this functionality will require several tasks.

[x] Refactor Qsharp.Core into the foundational elements shared by all decompositions and the replaceable elements that are override by alternate decompositions. (Resolved by #254)

[x] Introduce the first new decomposition package on top of a different quantum gate set with alternate implementations for Microsoft.Quantum.Intrinsic operations. (Resolved by #363)

[x] Allow alternate decompositions to be tested against the default QuantumSimulator to verify behavior. (Resolved by #363)

[x] Refactor the EntryPointDriver to allow for target specific simulators. (Moved out to issue #388)

[x] Fix e2e build to allow integration of refactored QsharpCore into main (#397, #414)

[x] Add decomposition packages for other common quantum gate sets. (Resolved by #367)

[x] Add documentation on individual decomposition packages and general guidance on authoring new packages.

[x] Rework use of internal in defining callabes that can be implemented outside of their original binary (see discussion in #367). (Moved out to issue #389)

@swernli Can this issue be closed or is there still work in progress?

@swernli Can this issue be closed or is there still work in progress?

@samarsha You beat me by one minute :). The new PR I opened (#476) is the last one needed to finally resolve this issue. It's the big merge of the feature branch into main, and will likely take a while, but should auto-close this once it is done.

@samarsha You beat me by one minute :). The new PR I opened (#476) is the last one needed to finally resolve this issue. It's the big merge of the feature branch into main, and will likely take a while, but should auto-close this once it is done.


fix(turbopack): Fix edge cases of tree shaking

Description
Closes PACK-2966
Testing Instructions
I'll add some tests

The test case with added issues is a wrong test case, but I'm not sure what should I do.
package-star/index.js
export { notCompiled } from "./not-compiled.js";
export { notExisting } from "./not-existing.js";
export { notExecuted } from "./not-executed.js";
export * from "./not-executed.js";
export * from "./a.js";
export * from "./b.js";
export const local = "local";

We import a and b from package-star in test case, but we cannot deduce that we can ignore
export { notCompiled } from "./not-compiled.js";
export { notExisting } from "./not-existing.js";
export { notExecuted } from "./not-executed.js";

because we have several export * from 'package-star's. We need to pass down a and b to export * from 'package-star's but I expect it to be a large work by itself.
So, I want to get this PR merged without it and work on it as a separate PR.
This is for two purposes:

I can start working on scope hoisting in parallel
I want to make WIP small.

Problematic case
package-reexport-tla-side-effect/index.js:
export * from "package-star";
export * from "./side-effect.js";
import "./side-effect2.js";
export const outer = "outer";

import { effect } from "./check-side-effect.js";

effect("index.js");

We import a and b from package-reexport-tla-side-effect, we can know that we don't need all exports, but we don't have a good way to pass those requirements to package-star.


Datatable: setting data-te-entries-options via HTML-attribute results in error

Describe the bug
Setting the entriesOptions-property via data-te-entries-options="[...]" in html results in
Uncaught Error: DATATABLE: Option "entriesOptions" provided type "string" but expected type "array".
To Reproduce
Use this:
<div data-te-datatable-init
         data-te-entries-options="[10,20,50,'All']"
         >
</div>

It looks to me like the parser for interpreting the HTML-attributes does not support arrays and can only interpret booleans, numbers and strings, however I did not find the code where this happens, so I could not fix it myself. I think I found it.

I guess the error happens somewhere around here: https://github.com/mdbootstrap/TW-Elements/blob/026a359b473152cc1441d1d5e20e69b60ae348c7/src/js/dom/manipulator.js#L14C7-L14C7

Hi! You are rignt, adding Objects and Arrays inside data attributes does not work at this moment. The best way to set options that contains those two is to do it via JS. We are going to discuss this in our team and decide whether this should be changed.
As of the attributes that consists of numbers or booleans I think it works as it should. Those values should be considered either as a number or as a boolean - if the string inside the data attribute says false then it should be considered as a boolean value.
Do you have any example where that could create an issue? Maybe I'm missing something.

@juujisai Hello, thank you for the answer. No I have not yet encountered an instance of this causing problems. I just stumbled upon this when I was trying to understand my error. Maybe the most realistic issue would be if you would enter a number but expect it to be read as a string, then this might lead to issues.
I would be ok with closing this issue unless you want to change the behaviour of parsing - you mentioned that you want to discuss it in your team.
Best Regards
Serj

Hi @SergejGleithmann , for now arrays in options in most cases will have to provided via JS. Adding support for putting arrays directly in data attributes might be a bit tricky for now, but we're keeping an eye on it.
We're going to making it possible to use arrays for the entriesOptions option in the future though.


As a user I'd like to choose the Dart Sass plugin version and have it downloaded automatically

See https://github.com/cleydyr/dart-sass-maven-plugin/issues/23#issuecomment-1477752797 and subsequent discussion.

Implemented on version v1.0.0.


[pluto.tv] nested directories when downloading everything

when you download an entire show, the directories are nested as in
|
|- Season -1
      |- Season-2
          |- Season-3
             ......

fixed as of 69efd4e5ddf95dbe6859441961f8cda6bba4f601


Segmentation fault (core dumped) when running in daemon mode after compilation

Segmentation fault (core dumped) when running in daemon mode after compilation

try make clean to recompile again

Segmentation fault (core dumped) when running in daemon mode after make clean && recompile .
Version info:
ardb_version:0.9.6
redis_version:2.8.0
gcc_version:4.8.5
rocksdb_version:5.8.7
dump info:
Program terminated with signal 11, Segmentation fault.
#0  0x00000000005b7433 in ardb::Snapshot::Close (this=this@entry=0xae6f70 ardb::_repl_singleton+560) at repl/snapshot.cpp:1678
1678	        g_engine->ReleaseSnapshot(m_engine_snapshot);
Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.6-13.el7.x86_64 glibc-2.17-105.el7.x86_64 libgcc-4.8.5-4.el7.x86_64 libstdc++-4.8.5-4.el7.x86_64 zlib-1.2.7-15.el7.x86_64
(gdb) bt
#0  0x00000000005b7433 in ardb::Snapshot::Close (this=this@entry=0xae6f70 ardb::_repl_singleton+560) at repl/snapshot.cpp:1678
#1  0x00000000005b760b in ardb::Snapshot::~Snapshot (this=0xae6f70 ardb::_repl_singleton+560, __in_chrg=) at repl/snapshot.cpp:1603
#2  0x00000000005cb139 in ~SlaveContext (this=0xae6ec8 ardb::_repl_singleton+392, __in_chrg=) at repl/repl.hpp:92
#3  ~Slave (this=0xae6d68 ardb::_repl_singleton+40, __in_chrg=) at repl/repl.hpp:118
#4  ardb::ReplicationService::~ReplicationService (this=0xae6d40 ardb::_repl_singleton, __in_chrg=) at repl/repl.hpp:226
#5  0x00007f7273565e69 in __run_exit_handlers () from /lib64/libc.so.6
#6  0x00007f7273565eb5 in exit () from /lib64/libc.so.6
#7  0x00000000005a593c in daemonize () at db/db.cpp:450
#8  ardb::Ardb::Init (this=this@entry=0x7ffd4fcede40, conf_file="/opt/zhoush/ardb/ardb-16377.conf") at db/db.cpp:526
#9  0x000000000040c320 in main (argc=, argv=) at main.cpp:89
#0  0x00000000005b6943 in ardb::Snapshot::Close (this=this@entry=0xad6e70 ardb::_repl_singleton+560) at repl/snapshot.cpp:1678
#1  0x00000000005b6b1b in ardb::Snapshot::~Snapshot (this=0xad6e70 ardb::_repl_singleton+560, __in_chrg=) at repl/snapshot.cpp:1603
#2  0x00000000005ca649 in ~SlaveContext (this=0xad6dc8 ardb::_repl_singleton+392, __in_chrg=) at repl/repl.hpp:92
#3  ~Slave (this=0xad6c68 ardb::_repl_singleton+40, __in_chrg=) at repl/repl.hpp:118
#4  ardb::ReplicationService::~ReplicationService (this=0xad6c40 ardb::_repl_singleton, __in_chrg=) at repl/repl.hpp:226
#5  0x00007fa20c835e69 in __run_exit_handlers () from /lib64/libc.so.6
#6  0x00007fa20c835eb5 in exit () from /lib64/libc.so.6
#7  0x00000000005a4e4c in daemonize () at db/db.cpp:450
#8  ardb::Ardb::Init (this=this@entry=0x7ffc94013600, conf_file="/opt/zhoush/ardb/ardb-16379.conf") at db/db.cpp:526
#9  0x000000000040b7a0 in main (argc=, argv=) at main.cpp:89
make clean && recompile, but it didn't work.
review the code found following question:
When the parent exits parent's g_engine member in all probability is NULL .

static void daemonize(void)
{
int fd;
if (fork() != 0)
{
exit(0); /* parent exits */
}
...
}

void Snapshot::Close()

{
....
g_engine->ReleaseSnapshot(m_engine_snapshot);
//delete ((Iterator*) m_snapshot_iter);
m_engine_snapshot = NULL;
}

Thanks, I'll test it.


Can code be run in the console as a Module ?

If no then this is a suggestion .
Specifically i found this missing by trying to use Octokit .

What you will import ? As this console is javascript console not the nodejs one
I don't think there is no point to add module thing in javascript console


Draft Team Contract

Let's discuss team contract here!

I think we should have one required meeting and two optional meeting time slots. What do you guys think?

Yes, it would be good to have a required meeting early in the week to start off the week's milestone (eg. Lab on Tue 2-4pm) to assign tasks to members. Optional meetings deemed necessary along the week.

Yes, lab time on Tuesday is a good time to meet.

In the team work contract I have added Tuesday 2-4 as the day to assign tasks, Friday as a optional meeting and Saturday as the day to submit everything, does that sound good?


Add 'wait time before validate' after creating dns record

At out company we had some issues that the certificates were no longer renewed.
After some trail and error I reduced the problem to creating the TXT record and LetsEncrypt using this value.
Without any delay the you will receive an AcmeException from the Validate function. Because of the exception the retry logic 90 seconds does not work either.

I used a TimeSpan because the TimeBeforeExpiryToRenew was also a TimeSpan.


F-Strings don't render Images with remote URLs

Describe the bug
Images are rendered incorrectly when the URL is passed via State Vars within f-strings.
To Reproduce
Steps to reproduce the behavior:

Code/Link to Repo:
pc.text(f"https://logo.clearbit.com/${State.news_publisher_domain[pos]}"),
pc.image(src=f"https://logo.clearbit.com/${State.news_publisher_domain[pos]}")

Expected behavior
Images hosted should be displayed.
Screenshots

Specifics (please complete the following information):

Python Version: 3.10
Pynecone Version: 0.1.20
OS: Ubuntu 20.04
Browser (Optional): Chrome Version 110.0.5481.177 (Official Build) (64-bit)

Additional context
Works correctly when the URL is hardcoded.

Duplicate of #707


Tutorial: Fix broken links on Basics Overview page

Fixes #1422

This change is

Signed CLA for Linux Foundation.

They 404 and then redirect, but it was definitely sub-optimal. Thanks.

Thanks, some of them didn't even redirect, like the 0-1.html, 0-2.html etc. just redirected to a nonexistent page


Update candidates spreadsheet for November election

Spreadsheets from the state election website.
2022 Post Primary withdrawals.docx
2022-11 Declared Write In Candidates.xlsx
2022gencand8222.xlsx

Spreadsheet from primary. https://docs.google.com/spreadsheets/d/14RapVz5_AlGRza-MsSzzu6cOQRIX_oSu-mcNQy8ytyo/edit?usp=sharing


[WinUI3 Reunion 0.5] ScrollViewer on Navigation View Settings Button

Describe the bug
When hovering over the right-hand side of the Settings Button at the bottom of the NavigationView (in WinUI 3, Reunion 0.5), a scrollbar appears.
The scrollbars are not necessary. In UWP, the scrollbars do not appear.
It seems this behavior was introduced when the NavigationFooterItems were added to NavigationView.
Steps to reproduce the bug
Steps to reproduce the behavior:

Clone the WinUI3Reunion05_Problems.
Go to the WinUI3IssuesReunion05 folder.
Open the WinUI3IssuesReunion05.sln solution in Visual Studio 2019 Preview.
Build and run with Debug x64.
Find the Settings button at the bottom of the Home Page.
Hover over the right side of the Settings Button at the bottom of the NavigationView.

Expected behavior
We expect no scrollbar to appear, which is the same behavior in UWP.
Screenshots

Screenshot#1 - Expected Appearance (UWP)

Screenshot#2 - Current Appearance (WinUI3 Desktop)
Version Info
Targeting:
Target: Universal Windows
Target version: Windows 10, version 2004 (10.0; Build19041)
Min version: Windows 10, version 1809 (10.0; Build 17763)
NuGet package version:
[Microsoft.ProjectReunion 0.5.0]
[Microsoft.ProjectReunion.WinUI 0.5.0]
Windows app type:

UWP
Win32

Yes

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

May 2020 Update (19041)

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)
Yes

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop
Yes

Xbox

Surface Hub

IoT

Additional context

@karenbtlai and @chingucoding this is very familiar, have we fixed this in winui2 already?

@StephenLPeters I'm fairly sure this was fixed in WinUI 2 recently.

Still occurs in WinUI 3 with project reunion 0.8

Is there no new content in this update REUNION [V 0.5A] - https://porngameshub.com/reunion?


Assert in tests that reporting for multi-threading tests comes from only one thread

test it for each framework

related to #51


Bug: creation reactjs new project latest so v19

see issue and solution on https://github.com/facebook/react/issues/31701

@Productivix , which solution? Are you refering to the yarn create react-app module one? That is not a solution.

no is no a "solution" rather a "patch"

@Productivix   the command of all the template are broken, no solution


RefreshIndicator does not disappear when refreshed in foreground

There has no warning or error log, the code is:
return Container(

        child:RefreshIndicator(child: ListView.builder(
          itemCount: bidList.length,
          itemBuilder: (context, index) {
            if(index == bidList.length)
              return _buildProgressIndicator();
            else
              return listItem(context, index, bidList[index]);
          },
          controller: _scrollController,
          physics: BouncingScrollPhysics(),
        ),
        onRefresh: (){
          _page = 1;
          getDetailEntity(_page);
        },
      )
      );

To investigate we would need a minimal runnable reproduction
as a single file so that we can just copy your code into lib/main.dart of a new project and run to reproduce.
Please add the output of flutter doctor -v.
Please consider asking support questions in one of the other channels listed at http://flutter.io/support .

I made an example about RefreshIndicator, then i get an info level log :
`
══╡ EXCEPTION CAUGHT BY MATERIAL LIBRARY ╞══════════════════════════════════════════════════════════
12-19 14:58:24.100 18658-18676/kupai.flutterapp I/flutter: The following assertion was thrown when calling onRefresh:
The onRefresh callback returned null.
The RefreshIndicator onRefresh callback must return a Future.
════════════════════════════════════════════════════════════════════════════════════════════════════`
then i change the code like this:
`return Container(
    child:RefreshIndicator(child: ListView.builder(
      itemCount: bidList.length + 1,
      itemBuilder: (context, index) {
        if(index == bidList.length)
          return _buildProgressIndicator();
        else
          return listItem(context, index, bidList[index]);
      },
      controller: _scrollController,
      physics: BouncingScrollPhysics(),
    ),
    onRefresh: (){
      return getDetailEntityFirst();
    },
  )
  );
  Future<Null> getDetailEntityFirst() async {
_page = 1;
getDetailEntity(_page);
return;
  }

`
The RefreshIndicator disappeared, but i don't know why the old code  didn't have the info log on it.

I made an example about RefreshIndicator, then i get an info level log :
══╡ EXCEPTION CAUGHT BY MATERIAL LIBRARY ╞══════════════════════════════════════════════════════════

12-19 14:58:24.100 18658-18676/kupai.flutterapp I/flutter: The following assertion was thrown when calling onRefresh:
    The onRefresh callback returned null.
    The RefreshIndicator onRefresh callback must return a Future.
    ════════════════════════════════════════════════════════════════════════════════════════════════════`

then i change the code like this:
return Container(

        child:RefreshIndicator(child: ListView.builder(
          itemCount: bidList.length + 1,
          itemBuilder: (context, index) {
            if(index == bidList.length)
              return _buildProgressIndicator();
            else
              return listItem(context, index, bidList[index]);
          },
          controller: _scrollController,
          physics: BouncingScrollPhysics(),
        ),
        onRefresh: (){
          return getDetailEntityFirst();
        },
      )
      );
      Future<Null> getDetailEntityFirst() async {
    _page = 1;
    getDetailEntity(_page);
    return;
      }

The RefreshIndicator disappeared, but i don't know why the old code didn't have the info log on it.

It's working for me.
Thanks


SlackRealTimeMessagingClient stops receiving after aprox. 3 minutes

Here's the log:
Connecting to APIs
Connecting to Slack API
Dec 15, 2015 6:09:15 PM flowctrl.integration.slack.RestUtils execute
INFO: url : https://slack.com/api/rtm.start
Dec 15, 2015 6:09:16 PM flowctrl.integration.slack.RestUtils execute
INFO: return : {"ok":true,"self":{"id":"U0GKH20HL","name":"gilmore","prefs":{"highlight_words":"","user_colors":"","color_names_in_list":true,"growls_enabled":true,"tz":null,"push_dm_alert":true,"push_mention_alert":true,"push_everything":false,"push_idle_wait":2,"push_sound":"b2.mp3","push_loud_channels":"","push_mention_channels":"","push_loud_channels_set":"","email_alerts":"instant","email_alerts_sleep_until":0,"email_misc":true,"email_weekly":true,"welcome_message_hidden":false,"all_channels_loud":false,"loud_channels":"","never_channels":"","loud_channels_set":"","show_member_presence":true,"search_sort":"timestamp","expand_inline_imgs":true,"expand_internal_inline_imgs":true,"expand_snippets":false,"posts_formatting_guide":true,"seen_welcome_2":false,"seen_ssb_prompt":false,"seen_spaces_new_xp_tooltip":false,"spaces_new_xp_banner_dismissed":false,"search_only_my_channels":false,"emoji_mode":"default","emoji_use":"","has_invited":false,"has_uploaded":false,"has_created_channel":false,"search_exclude_channels":"","messages_theme":"default","webapp_spellcheck":true,"no_joined_overlays":false,"no_created_overlays":false,"dropbox_enabled":false,"seen_domain_invite_reminder":false,"seen_member_invite_reminder":false,"mute_sounds":false,"arrow_history":false,"tab_ui_return_selects":true,"obey_inline_img_limit":true,"new_msg_snd":"knock_brush.mp3","collapsible":false,"collapsible_by_click":true,"require_at":true,"ssb_space_window":"","mac_ssb_bounce":"","mac_ssb_bullet":true,"expand_non_media_attachments":true,"show_typing":true,"pagekeys_handled":true,"last_snippet_type":"","display_real_names_override":0,"time24":false,"enter_is_special_in_tbt":false,"graphic_emoticons":false,"convert_emoticons":true,"autoplay_chat_sounds":true,"ss_emojis":true,"sidebar_behavior":"","seen_onboarding_start":false,"onboarding_cancelled":false,"seen_onboarding_slackbot_conversation":false,"seen_onboarding_channels":false,"seen_onboarding_direct_messages":false,"seen_onboarding_invites":false,"seen_onboarding_search":false,"seen_onboarding_recent_mentions":false,"seen_onboarding_starred_items":false,"seen_onboarding_private_groups":false,"onboarding_slackbot_conversation_step":0,"dnd_enabled":null,"dnd_start_hour":null,"dnd_end_hour":null,"mark_msgs_read_immediately":true,"start_scroll_at_oldest":true,"snippet_editor_wrap_long_lines":false,"ls_disabled":false,"sidebar_theme":"default","sidebar_theme_custom_values":"","f_key_search":false,"k_key_omnibox":true,"speak_growls":false,"mac_speak_voice":"com.apple.speech.synthesis.voice.Alex","mac_speak_speed":250,"comma_key_prefs":false,"at_channel_suppressed_channels":"","push_at_channel_suppressed_channels":"","prompted_for_email_disabling":false,"full_text_extracts":false,"no_text_in_notifications":false,"muted_channels":"","no_macssb1_banner":false,"no_winssb1_banner":false,"no_omnibox_in_channels":false,"k_key_omnibox_auto_hide_count":0,"hide_user_group_info_pane":false,"mentions_exclude_at_user_groups":false,"privacy_policy_seen":true,"search_exclude_bots":false,"fuzzy_matching":false,"load_lato_2":false,"fuller_timestamps":false,"last_seen_at_channel_warning":0,"flex_resize_window":false,"msg_preview":false,"msg_preview_displaces":true,"msg_preview_persistent":true,"emoji_autocomplete_big":false,"winssb_run_from_tray":true,"winssb_window_flash_behavior":"idle","two_factor_auth_enabled":false,"two_factor_type":null,"two_factor_backup_type":null,"mentions_exclude_at_channels":true,"confirm_clear_all_unreads":true,"confirm_user_marked_away":true,"box_enabled":false,"seen_single_emoji_msg":false,"confirm_sh_call_start":true,"preferred_skin_tone":"","show_all_skin_tones":false,"separate_private_channels":false,"whats_new_read":1450127241},"created":1450127241,"manual_presence":"active"},"team":{"id":"T08G18M1V","name":"Critical Role","email_domain":"joshuaslik.nl","domain":"criticalrole","msg_edit_window_mins":-1,"prefs":{"default_channels":["C08G1J40H","C0A4X144R","C08G18YSJ"],"posts_migrating":0,"who_can_create_channels":"regular","who_can_archive_channels":"regular","who_can_create_groups":"ra","who_can_kick_channels":"admin","who_can_kick_groups":"regular","who_can_at_everyone":"admin","who_can_at_channel":"ra","who_can_post_general":"admin","warn_before_at_channel":"always","slackbot_responses_disabled":false,"slackbot_responses_only_admins":true,"emoji_only_admins":true,"loading_only_admins":true,"disable_builtin_loading":true,"dnd_enabled":false,"dnd_start_hour":"22:00","dnd_end_hour":"08:00","msg_edit_window_mins":-1,"allow_message_deletion":true,"hide_referers":true,"display_real_names":false,"allow_shared_channels":false,"who_has_team_visibility":"ra","who_can_create_delete_user_groups":"admin","who_can_edit_user_groups":"admin","who_can_change_team_profile":"admin","retention_type":0,"retention_duration":0,"group_retention_type":0,"group_retention_duration":0,"dm_retention_type":0,"dm_retention_duration":0,"file_retention_type":0,"file_retention_duration":0,"allow_retention_override":true,"require_at_for_mention":0,"compliance_export_start":0,"invites_only_admins":true,"auth_mode":"normal","who_can_manage_integrations":{"type":["regular"]}},"icon":{"image_34":"https:\/\/s3-us-west-2.amazonaws.com\/slack-files2\/avatars\/2015-09-28\/11469922624_307f18a226545c5720a2_34.jpg","image_44":"https:\/\/s3-us-west-2.amazonaws.com\/slack-files2\/avatars\/2015-09-28\/11469922624_307f18a226545c5720a2_44.jpg","image_68":"https:\/\/s3-us-west-2.amazonaws.com\/slack-files2\/avatars\/2015-09-28\/11469922624_307f18a226545c5720a2_68.jpg","image_88":"https:\/\/s3-us-west-2.amazonaws.com\/slack-files2\/avatars\/2015-09-28\/11469922624_307f18a226545c5720a2_88.jpg","image_102":"https:\/\/s3-us-west-2.amazonaws.com\/slack-files2\/avatars\/2015-09-28\/11469922624_307f18a226545c5720a2_102.jpg","image_132":"https:\/\/s3-us-west-2.amazonaws.com\/slack-files2\/avatars\/2015-09-28\/11469922624_307f18a226545c5720a2_132.jpg","image_original":"https:\/\/s3-us-west-2.amazonaws.com\/slack-files2\/avatars\/2015-09-28\/11469922624_307f18a226545c5720a2_original.jpg"},"over_storage_limit":false,"plan":"","profile":{"fields":[{"id":"Xf0DAZ8LH5","ordering":0,"label":"Skype","hint":"This will be displayed on your profile.","type":"text","possible_values":null,"options":null,"is_hidden":false}]},"over_integrations_limit":true},"latest_event_ts":"1450198733.000000","channels":[{"id":"C0BCK31R8","name":"discussion","is_channel":true,"created":1443313022,"creator":"U08G18M2B","is_archived":false,"is_general":false,"has_pins":false,"is_member":false},{"id":"C08G1J40H","name":"general","is_channel":true,"created":1438561704,"creator":"U08G18M2B","is_archived":false,"is_general":true,"has_pins":false,"is_member":false},{"id":"C0A4X144R","name":"questions","is_channel":true,"created":1441317843,"creator":"U08G18M2B","is_archived":false,"is_general":false,"has_pins":false,"is_member":false},{"id":"C08G18YSJ","name":"random","is_channel":true,"created":1438561704,"creator":"U08G18M2B","is_archived":false,"is_general":false,"has_pins":false,"is_member":false},{"id":"C0B7DBRT2","name":"reddit","is_channel":true,"created":1443044484,"creator":"U08G18M2B","is_archived":false,"is_general":false,"has_pins":false,"is_member":false},{"id":"C0GKR06TT","name":"test_channel","is_channel":true,"created":1450133734,"creator":"U08G18M2B","is_archived":false,"is_general":false,"has_pins":false,"is_member":false},{"id":"C0B7G6GM8","name":"wiki","is_channel":true,"created":1443044479,"creator":"U08G18M2B","is_archived":false,"is_general":false,"has_pins":false,"is_member":false}],"groups":[{"id":"G0A4WQL8K","name":"admin-reddit","is_group":true,"created":1441317827,"creator":"U08G18M2B","is_archived":false,"is_mpim":false,"has_pins":false,"is_open":true,"last_read":"1450126770.000015","latest":{"type":"message","user":"U08G18M2B","text":"Perfect","edited":{"user":"U08G18M2B","ts":"1450198849.000000"},"ts":"1450198843.000101"},"unread_count":75,"unread_count_display":71,"members":["U08G18M2B","U0B0X9E8L","U0B13Q30A","U0BCG922W","U0FULAMB7","U0FUQCMPT","U0GKH20HL"],"topic":{"value":"","creator":"","last_set":0},"purpose":{"value":"Private group for subreddit administration","creator":"U08G18M2B","last_set":1443312648}}],"ims":[{"id":"D0GKH1TRQ","is_im":true,"user":"USLACKBOT","created":1450127241,"has_pins":false,"last_read":"0000000000.000000","latest":null,"unread_count":0,"unread_count_display":0,"is_open":true},{"id":"D0GKL0UNS","is_im":true,"user":"U08G18M2B","created":1450129396,"has_pins":false,"last_read":"0000000000.000000","latest":{"type":"message","user":"U08G18M2B","text":"<@U0GKH20HL> shutdown","ts":"1450199323.000024"},"unread_count":28,"unread_count_display":22,"is_open":true},{"id":"D0GMPGF9D","is_im":true,"user":"U0FUQCMPT","created":1450198612,"has_pins":false,"last_read":"0000000000.000000","latest":{"type":"message","user":"U0GKH20HL","text":"Unauthorized operation: [shutdown]","ts":"1450198760.000002"},"unread_count":1,"unread_count_display":0,"is_open":true}],"cache_ts":1450199333,"subteams":{"self":[],"all":[]},"users":["REDACTED FOR PRIVACY REASONS"],"cache_version":"v11-mouse","cache_ts_version":"v1-cat","bots":[{"id":"B0A4S6WKS","deleted":false,"name":"bot","icons":{"image_36":"https:\/\/slack.global.ssl.fastly.net\/12b5a\/plugins\/bot\/assets\/service_36.png","image_48":"https:\/\/slack.global.ssl.fastly.net\/12b5a\/plugins\/bot\/assets\/service_48.png","image_72":"https:\/\/slack.global.ssl.fastly.net\/12b5a\/plugins\/bot\/assets\/service_72.png"}},{"id":"B0BF81DSR","deleted":false,"name":"twitter","icons":{"image_36":"https:\/\/slack.global.ssl.fastly.net\/66f9\/img\/services\/twitter_36.png","image_48":"https:\/\/slack.global.ssl.fastly.net\/66f9\/img\/services\/twitter_48.png","image_72":"https:\/\/slack.global.ssl.fastly.net\/205a\/img\/services\/twitter_72.png"}},{"id":"B0CPWH3NG","deleted":false,"name":"giphy","icons":{"image_36":"https:\/\/slack.global.ssl.fastly.net\/12b5a\/plugins\/giphy\/assets\/service_36.png","image_48":"https:\/\/slack.global.ssl.fastly.net\/12b5a\/plugins\/giphy\/assets\/service_48.png","image_72":"https:\/\/slack.global.ssl.fastly.net\/12b5a\/plugins\/giphy\/assets\/service_72.png"}},{"id":"B0GKCQ277","deleted":false,"name":"bot","icons":{"image_36":"https:\/\/slack.global.ssl.fastly.net\/12b5a\/plugins\/bot\/assets\/service_36.png","image_48":"https:\/\/slack.global.ssl.fastly.net\/12b5a\/plugins\/bot\/assets\/service_48.png","image_72":"https:\/\/slack.global.ssl.fastly.net\/12b5a\/plugins\/bot\/assets\/service_72.png"}},{"id":"B08G19H5G","deleted":true,"name":"gdrive"}],"url":"wss:\/\/ms381.slack-msgs.com\/websocket\/c12rlQj-5q-ZpMN1n4YnBDBnxk0xyjT54NvTdACZO0EsEK8rjOlZTPnftY0RphulHRtjvMoga7XyeuumtotzP0BF6MUSDWFLo0QTShCXJlF7GW2y04869Xdftq1P0ZUiHgJ9IjtxK9XM7wF80q5rWg=="}
Connected to Slack API
Connecting to Twitter API
Dec 15, 2015 6:09:16 PM flowctrl.integration.slack.RestUtils execute
Connected to Twitter API
INFO: url : https://slack.com/api/users.list
Connected to APIs
Dec 15, 2015 6:09:17 PM flowctrl.integration.slack.RestUtils execute
INFO: return : {"ok":true,"members":["REDACTED FOR PRIVACY REASONS"]}
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Dec 15, 2015 6:09:18 PM flowctrl.integration.slack.rtm.SlackRealTimeMessagingClient connect
INFO: connected Slack RTM(Real Time Messaging) server : wss://ms381.slack-msgs.com/websocket/c12rlQj-5q-ZpMN1n4YnBDBnxk0xyjT54NvTdACZO0EsEK8rjOlZTPnftY0RphulHRtjvMoga7XyeuumtotzP0BF6MUSDWFLo0QTShCXJlF7GW2y04869Xdftq1P0ZUiHgJ9IjtxK9XM7wF80q5rWg==
Dec 15, 2015 6:09:18 PM flowctrl.integration.slack.rtm.SlackRealTimeMessagingClient onMessage
INFO: Slack RTM message : {"type":"hello"}
Dec 15, 2015 6:09:18 PM flowctrl.integration.slack.rtm.SlackRealTimeMessagingClient onMessage
INFO: Slack RTM message : {"type":"presence_change","user":"U0GKH20HL","presence":"active"}
Dec 15, 2015 6:09:18 PM flowctrl.integration.slack.rtm.SlackRealTimeMessagingClient onMessage
INFO: Slack RTM message : {"type":"presence_change","user":"U0GKH20HL","presence":"active"}
Dec 15, 2015 6:09:58 PM flowctrl.integration.slack.rtm.SlackRealTimeMessagingClient onMessage
INFO: Slack RTM message : {"type":"user_typing","channel":"D0GKL0UNS","user":"U08G18M2B"}
Dec 15, 2015 6:10:42 PM flowctrl.integration.slack.rtm.SlackRealTimeMessagingClient onMessage
INFO: Slack RTM message : {"type":"user_typing","channel":"D0GKL0UNS","user":"U08G18M2B"}
Dec 15, 2015 6:11:13 PM flowctrl.integration.slack.rtm.SlackRealTimeMessagingClient onMessage
INFO: Slack RTM message : {"type":"user_typing","channel":"D0GKL0UNS","user":"U08G18M2B"}

After that, further events of me typing did nothing. My first attempt not visible was at about 6:12:00 PM.
The token I use for the Real Time Messaging Client is also used for a Web API Client in the same session at the same time, perhaps that gives it some issues?
There is one listener attached to the RTM Client, for Event.MESSAGE.
Here is the repository for the program: https://github.com/JoshCode/gilmore

@JoshCode did u solve problem? I am having same issue - after few min connection looks like lost.

sorry i'm late. checked new version

I'm having a similar issue.  Was this issue actually fixed or just closed?


ci: log in to docker in vagrant boxes

test-only --focus="NoTests"

test-only --focus="K8sConformance"

test-only --focus="K8sConformance"

test-only --focus="K8sConformance"

test-me-please

test-missed-k8s

test-upstream-k8s

Cilium-PR-Ginkgo-Tests-K8s  failed because of a known flake


Implement 'to_vec' and 'from_slice' for no_std

We implement serde_cbor::to_vec() and serde_cbor::from_slice() in a no_std environment to simplify serialization. For this we use alloc::vec::Vec.

Unfortunately this does not build with Rust 1.31.0 because the alloc crate is not available. I’d suggest not running the --no-default-features tests on Rust 1.31.0 and documenting that this only works with newer versions of Rust. Alternatively we could introduce an alloc flag (like serde) so that no_std still works with Rust 1.31.0.

Is it correct that with this change alloc is always used?
I think there are people using CBOR on systems which do not support allocation.

Is it correct that with this change alloc is always used?

I think so, though I’m not super familiar with alloc to be honest.

I think there are people using CBOR on systems which do not support allocation.

Ok. It might be best then to put this behind a feature flag. This also aligns with serde and retains compatibility with 1.31.0. I’ll update the PR accordingly.

cc @wildarch @chrysn

@geigerzaehler  By the way this PR broke Travis CI. :wink: See: https://github.com/pyfisch/cbor/pull/154 and https://stackoverflow.com/questions/58249675/travis-ci-fails-to-parse-travis-yml

Sorry and thanks for fixing. I was wondering where the green checkmark was. To bad Travis does not fail the build when it can’t parse .travis.yaml.


Main

Cf https://github.com/OISF/suricata/pull/10764

Looks good to me!
Too bad that the maximum number of transactions forced the change in the request / response API to take away the guarantee that the transaction will always exist (it was nice to not have to worry about it), but if you have to return an error for too many transactions, then you have to check for errors anyway, and can more naturally expose the state where the transaction just hasn't started yet and so doesn't exist.


Fix code format check using clang-format 10.0.0

Motivation
The docker-build.sh cannot build this library because the code format check failed. The reason is that the Docker image's clang-format version is 10.0.0, while the default clang-format version of Ubuntu-20.04 is 11.0.0-2~ubuntu20.04.1.
Modifications
Fix the format check by running docker-format.sh.
For the CI, configure -DCLANG_FORMAT_VERSION=10 so that CMake will find /usr/bin/clang-format-10 instead of the default clang-format.
Modify the documents to note that the repo uses clang-format 10.0.0.
I also found another file gf2.hpp is not well formatted because the suffix is *.hpp, which cannot be found by CMake. Simply change the suffix to *.h.
Documentation

[ ] doc-required
(Your PR needs to update docs and you will update later)

[ ] doc-not-needed
(Please explain why)

[x] doc
(Your PR contains doc changes)

[ ] doc-complete
(Docs have been already added)

When installing clang-format on current macos & ubuntu, the default is now 11.0. We don't need to worry about the docker-format.sh which is already removed. I think we should stick with that and we should set the format in the CMakeFiles.txt too.

@merlimat Yeah, removing these scripts looks good to me too.

I think we should stick with that and we should set the format in the CMakeFiles.txt too.

So this PR would aim at sticking the clang-format to 11.0.0.

I have updated this PR, PTAL again @merlimat

@RobertIndie The previous docker-build.sh and docker-test.sh scripts were removed because now we build and run tests on a Ubuntu based GitHub runner. docker-format.sh is only used to format code. However, it also uses a manually maintained pre-built Docker image that contains all dependencies, like other docker-xxx scripts. It's too heavy.
Though this PR adds docker-format.sh back, it's just convenient for non-Ubuntu users. It's lightweight because it only installs a clang-format-11 based on a official ubuntu:20.04 image and doesn't run cmake.


Switching order of installation. (#612)

Docs Build status updates of commit 5b12a36:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/install-guide/index.md
:white_check_mark:Succeeded
View (qsharp-preview)

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


Static Code Analysis Suggestions for Resolution

My apologies in advance for an unusual bug-report. I guess it’s not the best idea to open dozen of issues for the code.
So, I’ll describe the problem here.
I checked the source code with the PVS-Studio static analyzer and found several suspicious fragments. I listed and described those fragments here.
For each warning there is a file and the line that triggered the analyzer. Since I checked the project a month ago, some positions might have shifted (but not much, I think).
You can ignore Issue 10 and Issue 21 - these are false positives
I hope this article would make a small contribution to the project’s code quality and enhance it a little. :)

@VasilievSerg We appreciate all contributions that work towards the improvement of the code quality for the DNN Platform project.
In a cursory review of your article, there are items that have been noticed in prior analysis that has been completed on the codebase with tools such as NDepend or SonarCloud, and some new items.  As you can imagine given the 20+ year history of the DNN Platform not all of these have been addressed yet, and some of these changes although "simple" could result in breaking changes to users which will have to be considered.
Given that it appears you have used your own commercial product to analyze our project and post the results, it would be helpful if you could provide a listing of the impacted code files, with full paths  if possible.  As although helpful, the snippets provided here are not an actionable resolution for the project aside from attempted "find" operations across the codebase.

Omg 😱😱😱, too many bad code

@mitchelsellers

Given that it appears you have used your own commercial product to analyze our project and post the results, it would be helpful if you could provide a listing of the impacted code files, with full paths if possible. As although helpful, the snippets provided here are not an actionable resolution for the project aside from attempted "find" operations across the codebase.

Yes, of course, I can provide you full paths to files with the problems found.
I can also provide you with the PVS-Studio trial license (for 2 weeks, for example). This may make it easier to find and handle these and other warnings. Besides, I could have missed something important. I am not a DNN developer, after all. :)
I checked the project (solution) with a plugin for Visual Studio. To start the analysis, you just need a couple of clicks: Extensions -> PVS-Studio -> Check -> Solution.
Would this option make it easier to work with warnings?

@VasilievSerg
DNN is an Open Source project and according to https://pvs-studio.com/en/blog/posts/0600/ and https://pvs-studio.com/en/order/open-source-license/ qualifies for a FREE licence so no need for "I can also provide you with the PVS-Studio trial license (for 2 weeks, for example)." Or, have I missed something?

@liffeyd  yes, sure.
The DNN developers can request the license this way.
I just suggested using a temporary license to work with the warnings I mentioned above.
Of course, regular use of the analyzer is better than one-time use. :)

Interesting tool and results for DNN sourcecode.
The "free" version for OS projects has a catch: you have to add 2 lines of comment in each source code file.
Ssee https://pvs-studio.com/en/blog/posts/0457/ .
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com

So in essence: each OS code file will have some kind of advertisement for PVS if you are going to continue to use the free OS version of PVS. I a not sure if this is wanted for DNN source.
The free trial will work for 2 weeks, it could be enough for handling the issues mentioned in the analysis from @VasilievSerg.

I’m sorry, this was a misunderstanding. PVS-Studio provides free license to non-commercial open source projects.
However, the options described by @liffeyd and @EPTamminga are a bit different:

The first option does not require comments in code.
The second option doesn’t require the project to be open source but requires adding comments.

I hope everything’s clear now. Once again, my apologies for such a misunderstanding. :(
Here’s the trial key for two weeks:
Name: DNNSoftware
Key: 5XNG-56XX-203H-0581
License type: Team
License Valid Thru: 9 Dec 2021

@VasilievSerg Your reaction is in line what I wrote:

2 weeks trial: no comment lines in the code, but only 2 weeks use: could be enough for now
OR
Continuous use in OS: advertisement comment lines in the code: I am not in favour of this


Fix NullPointerException when getClientInfo returns null

Sqlite JDBC driver (and perhaps other) returns null when getClientInfo() is called and this caused NullPointerException during creation of ZConnection. After this change this exception is not thrown anymore.
The provided test fails with previous version:

@jirijakes Thanks! Can you take a look at the failing build?

Can you take a look at the failing build?

I believe it's unrelated to the change, something with building website:
/home/runner/.npm/_npx/9849c5a0a30b153c/node_modules/@zio.dev/create-zio-website/src/cli.js:4
const { create } = require('create-initializer');
                   ^

Error [ERR_REQUIRE_ESM]: require() of ES Module /home/runner/.npm/_npx/9849c5a0a[30](https://github.com/zio/zio-jdbc/actions/runs/5474894535/jobs/10159949095?pr=150#step:7:31)b153c/node_modules/create-initializer/src/index.js from<EMAIL_ADDRESS>not supported.
Instead change the require of index.js in<EMAIL_ADDRESS>to a dynamic import() which is available in all CommonJS modules.
    at Object.<anonymous> (/home/runner/.npm/_npx/9849c5a0a30b153c/node_modules/@zio.dev/create-zio-website/src/cli.js:4:20) {
  code: 'ERR_REQUIRE_ESM'
}

Node.js v18.16.1
[error] java.lang.RuntimeException:
[error] 	at scala.sys.package$.error(package.scala:30)
[error] 	at zio.sbt.WebsitePlugin$.exit(WebsitePlugin.scala:1[32](https://github.com/zio/zio-jdbc/actions/runs/5474894535/jobs/10159949095?pr=150#step:7:33))

I don't know what it is but will have a look. In case somebody has seen something similar before, perhaps in other ZIO project, please tell me what to do.

@khajavi Have you seen this?

FYI, I could not reproduce locally with Node.js v18.16.0.
v18.16.1 is not yet available for my platform, so now waiting for the build to finish. Perhaps it's something v18.16.1 specific.

Please retry the failed job, I've fixed the issue.
@jirijakes

I tried to force a new build attempt but it needs approval.

@jirijakes Looks like legit, website is failing. Can you take a look?

@jirijakes Looks like legit, website is failing. Can you take a look?

Well, I rebased to current main and now it passes. No other changes.


Crash on Firebase init after reinstalling the application

Environment

Xcode version: 10.1
Firebase SDK version: 5.8.0
Firebase Component: (Core, Analytics, Messaging, Performance)
Component version: 5.8.0

Problem
Steps to reproduce:
Upon a reinstall of the app, a crash occurs when launching Firebase
            Messaging.messaging().delegate = self
            FirebaseApp.configure()

Crash :
* thread #2, queue = 'com.google.fira.worker', stop reason = breakpoint 10.1
  * frame #0: 0x00000001b6b8da08 libobjc.A.dylib`objc_exception_throw
    frame #1: 0x00000001b78d4d04 CoreFoundation`-[NSObject(NSObject) doesNotRecognizeSelector:] + 140
    frame #2: 0x00000001b79c17b8 CoreFoundation`___forwarding___ + 1412
    frame #3: 0x00000001b79c345c CoreFoundation`_CF_forwarding_prep_0 + 92
    frame #4: 0x0000000101731474 Core`-[APMMeasurement handleEventOnWorkerQueue:] + 428
    frame #5: 0x000000010172e2d8 Core`-[APMMeasurement reportFirstOpenOnWorkerQueue] + 2084
    frame #6: 0x000000010172d598 Core`__47-[APMMeasurement startMeasurementOnWorkerQueue]_block_invoke + 1860
    frame #7: 0x000000010f30cdc8 libdispatch.dylib`_dispatch_client_callout + 16
    frame #8: 0x000000010f30ee28 libdispatch.dylib`_dispatch_once_callout + 84
    frame #9: 0x000000010172ce38 Core`-[APMMeasurement startMeasurementOnWorkerQueue] + 308
    frame #10: 0x000000010172c9ec Core`-[APMMeasurement setEnabledOnWorkerQueue:] + 232
    frame #11: 0x00000001017446c4 Core`__51-[APMScheduler scheduleOnWorkerQueueBlockID:block:]_block_invoke + 44
    frame #12: 0x000000010f30b824 libdispatch.dylib`_dispatch_call_block_and_release + 24
    frame #13: 0x000000010f30cdc8 libdispatch.dylib`_dispatch_client_callout + 16
    frame #14: 0x000000010f314e6c libdispatch.dylib`_dispatch_lane_serial_drain + 720
    frame #15: 0x000000010f315b60 libdispatch.dylib`_dispatch_lane_invoke + 460
    frame #16: 0x000000010f31fbfc libdispatch.dylib`_dispatch_workloop_worker_thread + 1220
    frame #17: 0x00000001b75d80dc libsystem_pthread.dylib`_pthread_wqthread + 312
    frame #18: 0x00000001b75dacec libsystem_pthread.dylib`start_wqthread + 4

If I relaunch the app I don't have the crash again.
Happens on debug and release.

Can you share the crash message after the exception breakpoint? That will tell us which selector was sent to which class.

Sure, my bad
Fatal Exception: NSInvalidArgumentException
-[APMConditionalUserPropertyController processEventOnWorkerQueue:]: unrecognized selector sent to instance 0x28122a2e0

Please update to the latest version - currently Firebase 5.11.0. If the issue still occurs, let us know the contents of Podfile.lock.

I'm using Carthage, will update to 5.11.0 and let you know, thanks.

Same crash with 5.11.0
Here is my Cartfile.resolved
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseMessagingBinary.json" "5.11.0"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebasePerformanceBinary.json" "5.11.0"

@taher-mosbah The unrecognized selector is in a category.  Make sure that you've added -ObjC to the Other Linker Options Build Setting.

-ObjC fixed it for me, I created a new framework and I forgot to add it, thanks !


ArgoCD does not consider images for arch "linux/arm64/v8"

Describe the bug
linux/arm64/v8 != linux/arm64
To Reproduce
Create a manifest for a multi-arch image with one of the arch being "linux/arm64/v8"
Run ArgoCD image updater in k8s using the "linux/arm64" (note missing v8) image
Create application using digest update against multi-arch image
Expected behavior
ArgoCD pattern matches linux/arm64 with linux/arm64/v8
Version
0.13.0

Work around.
Explicitly add annotation:
argocd-image-updater.argoproj.io/app.platforms: 'linux/arm64/v8'

we had the same issue
the problem is that the log indicates
ignoring OCI manifest sha256:1b86e767c10ce0c0e0e64e183a0065d114adbd38b13638811229a19a2d23c598. Manifest platform: linux/arm64, requested: linux/arm64"
and it does not tell that actually they are different
@arontsang solution worked for us as well

Same thing was in #665

Please review the linked PR https://github.com/argoproj-labs/argocd-image-updater/pull/858 , and check if it fixes the problem, and if the change of behavior is acceptable.


custom css for overriding theme's styles

T/O

Sorry.
I made a mistake with the source branch.
I meant to commit to my own repository, which I forked.


feat(apps): update application storage logic

:tada: This PR is included in version 1.0.0-alpha.58 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[Addition]:

Hotspot b58 Addresses
11gwx1ty8e11SAng148bhnhtYAyCCTBfpeVyiphez8VWiENwKer
1126fGmwtFmfJ35r1qbrvQ9U8yMt68ijxdAc5jM4RLnXGXaWgyQA
11s1wENcnRYF8cDpp6pVLtSvCi2wRnekaq3E7BGCHre6NXgMDA
11PbiVot9iwuHD4bp8vQYAELQLv3dYYasRo6ZruTuVPtWvfkr6a
11eJQFGtxyN7mQZ29VFofHs3TCWGUrBQZdwYRp7YnheThvmmWGb
1128j49A6kaiBttkMbtBgQtwqazMsa6WEK8K2EdZZmxzY6KN3rvP
11z1jcAKm1KBvNGcZDzwF4grmXSACSWnK6QQSUQVQnVzzsb3K8w
11WKqMRrZmykb4sNMjFqv7NjEJDZ6ZUn6NyDKqkhzMnSJvRMKn3
Discord Handle
No response
Reason(s)
Their RSSI and SNR are not normal.
I think they put some Hotspots inside and some outside to receive other people's beacons

["/ip4/<IP_ADDRESS>/tcp/44159"]
["/ip4/<IP_ADDRESS>/tcp/44159"]
["/ip4/<IP_ADDRESS>/tcp/44160"]
["/ip4/<IP_ADDRESS>/tcp/44158"]
["/ip4/<IP_ADDRESS>/tcp/44158"]
["/ip4/<IP_ADDRESS>/tcp/44159"]
["/ip4/<IP_ADDRESS>/tcp/44158",
["/ip4/<IP_ADDRESS>/tcp/44158"]
["/ip4/<IP_ADDRESS>/tcp/44158"]

One of hotspot on list is mine！
I can take a picture to proof I'm real if need！
I got two hotspots in the city.My two hotspots are all in real place!
And my two hotspot are also on mappers.helium.com
This is full of hatred！
I also did some addition on March but still no response！


[FLINK-27789][network] Disable overdraft buffer for LegacySource

What is the purpose of the change
Disable overdraft buffer for LegacySource.
Brief change log
Disable overdraft buffer for LegacySource.
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not documented

Hi @pnowojski @akalash , I have submitted the task3 of the overdraft buffer, that is, disable overdraft buffer for LegacySource. Please help review in your free time, thanks.


wsl dpkg error

divine@divine-pc:/mnt/c/Users/User$ sudo dpkg --configure -a
dpkg: error: parsing file '/var/lib/dpkg/updates/0037' near line 0:
newline in field name '#padding'
i am not able to download any packages.At last it shows the above error message
pls help me
i've downloaded gedit but not able to open it.
gedit&
the same error occurs again

I think something got changed in a recent update because I ran into a similar problem yesterday trying to set up Kali in WSL on a fresh Win 10 Pro install (insider fast track, Build17134.48, somehow lagging behind on insider build updates).  This configuration was all something I've done at least 30 times prior to this update with no problems.  What's the term for that kind of thing, regression?
First off, in the CLI I was able to download and install my usual clusterf@#$ of files with the eternally awesome "apt-get install" command ("apt" is my goto for CLI package management, gotta love those super cow powers).
BTW, I'm one of those people that, ever since Windows 3.1 dropped, avoids touching a CLI like it's a plague rat of doom, so I should mention I run "vcxsrv" in multiwindow mode to keep an Xserver going so I can plunge into that gooey GUI goodness.
Anyway, using super cow pow... erm..."apt-get install," I had installed "synaptic" and went about my normal WSL Kali setup procedures.  Everything was going fine, the packages I needed downloaded from the repos with no trouble, and then "synaptic" starts up "dpkg --configure -a" to unpack and install and it would just sit there and eat up CPU cycles (fully loading all my cores).
Back in the CLI window (they lurk in the background and complain when they launch a graphical window), I was getting an error message regarding a failure to  run "dbus-launch" each time synaptic fired up "dpkg" (sorry, I don't remember the exact message and I'm not really feeling the urge to wreck things and recreate it atm).
TL;DR
I was able to fix this by using "apt-get install" to download and install "debhelper" and "dbus-x11."
After that "dpkg --configure -a" worked fine for me both in "synaptic" and in the CLI.
I don't know why "debhelper" fixed anything or why I had a "dbus" related problem to start with, but by that point I had been bashing my head into a wall for a good 30 minutes (which is long enough that I'm going to have to patch the sheetrock and repaint the wall), so I didn't really care anymore since my stuff worked.
I hope the fix I stumbled on helps you transcend your similar sounding issue.
(Sorry if the readability is lacking, in my undergrad I took WAY too many classes where I had to stretch the length of research papers and ended up stuck with the "--verbose" argument permanently enabled in my head.)

Ran course. Please see CONTRIBUTING.md if you'd like to make another run at the dpkg --configure -a error in a new submission.


Support recursive sections

Is it possible to support recursive sections like:
cfg_opt_t group_opts[] =
{
    CFG_SEC("item", item_opts, CFGF_MULTI|CFGF_TITLE|CFGF_NO_TITLE_DUPES),
    CFG_SEC("group", group_opts, CFGF_MULTI),
    CFG_END()
};

libconfuse does not provide this feature. However you can probably implement it using a new flag, say CFGF_OPTS_SELF

Lite @tibabit said, not supported atm.


Package request: Chapel

Project description
Chapel is a programming language designed for productive parallel computing at scale.
Metadata

homepage URL: https://chapel-lang.org
source URL: https://github.com/chapel-lang/chapel
license: Apache-2.0
platforms: linux, darwin

Relevant issue - https://github.com/chapel-lang/chapel/issues/21849.


Back Camera undefined

Hi,
Thanks for this awesome plugin :)
Front Camera works fine, but I'm having an issue when select the back camera from a device with the example code. Returns undefined most of the time, although it sometimes shows the correct camera, any idea?
I'm testing with Android 6 and 8.1 and Chrome 69.0.3497.100 with the latest version of plugin ^1.3.0
PD: On Android 6 facing back camera never works, only return undefined...
Thanks!

@VinceG, any help please?

And what exactly is the error message?

Vincent Gabriel
Software Engineer
Please excuse my brevity, sent from my iPhone

On Nov 19, 2018, at 00:43, iparrabb<EMAIL_ADDRESS>wrote:
@VinceG, any help please?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

You can see in my first message, camera is undefined...

In order to be able to assist I’ll need an exact error message preferably with a stack trace or a repository with minimal setup to reproduce this

Vincent Gabriel
Software Engineer
Please excuse my brevity, sent from my iPhone

On Nov 21, 2018, at 02:51, iparrabb<EMAIL_ADDRESS>wrote:
You can see in my first message, camera is undefined...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@VinceG, I attached a full example above with the code that I'm using, this error happens on Android 6 and Android 8 sometimes, is not enough?
onError(error, stream) {
  console.log(error) //undefined
},

@iparrabb Sorry, i can't run the example. I don't use Quasar and i don't have an android device or emulator to test this on.
If the demo works for you (as it does for me) there isn't much i can do to try and troubleshoot this with you since i don't have anything to test this on. Also the error you mentioned that appears is ambiguous, undefined can mean a lot of things, what exactly is undefined, is it the error variable passed in, the camera instance? you still haven't provided the entire stack trace or the exact error message, therefore there isn't much i can do, Sorry.

Hi @VinceG, the demo doesn't works on Android, it only works sometimes, the code that I am using is the demo code, you can see my example, only changes the dropdown, the rest is all the same.
Webcam fires the error event and this event fires the onError method on my component, and it receives two arguments, error and stream, error is undefined sometimes.
<web-cam
       ref="webcam"
       width="100%"
       height="100%"
       :deviceId="deviceId"
       @started="onStarted"
       @stopped="onStopped"
       @error="onError" <!-- onError -->
       @cameras="onCameras"
       @camera-change="onCameraChange"
/>

onError(error, stream) {
        console.log(error) // undefined sometimes on Android
},

Thanks.

@VinceG, thanks for your help.
You can see the demo example:
onError(error, stream) {
      console.log('On Error Event', error, stream);
},

I'm using the last version:
"vue-web-cam": "^1.3.0",

Is very hard catch this error because only happens when runs on Android device. Tomorrow I will try to debug more about this.

@iparrabb Sorry about that, the demo is wrong then, there is no stream argument. I'll fix that.

@iparrabb Did you solve your problem?
I had something similar. Try use this fork https://github.com/dsmlru/vue-web-cam
If it'll help you I'll create PR.

Thanks a lot @GeNiuS69, I test it tomorrow!

@iparrabb hey, did you test?


Reflex action happens twice when clicking once on a button with a Stimulus controller

Bug Report
Describe the bug
Clicking on a Button with a reflex action and a stimulus controller fires the reflex action twice!
To Reproduce

Clone the repo and setup - bin/setup
Run the server - bin/rails s
Open localhost:3000 with Chrome (see note below about Safari)
Click on the button (or the link)
Observe in the DevTools console or in the Server logs that the ExampleReflex#poke is called twice

Additional notes:

If you go to the test_controller.js, and uncomment the connect() method, then the double-fire does not happen.
BUT if you do have connect() uncommented, then the clientside lifecycle callbacks don't fire!  (ie. beforePoke) second bug!

Note about Safari:

Upon refreshing the page, the button doesn't actually work, whereas the link does (after a couple of seconds)
Interestingly, once the link fires the reflex action, the button works
Maybe I should create another bug for this?

Also, the clientside lifecycle callbacks (ie. beforePoke) should fire if connect() is specified.

Screenshots or reproduction
Link to repo: https://github.com/wheee/double-reflex-fire-importmap
(Repo was originally a clone of https://github.com/marcoroth/stimulus_reflex-importmaps)

Workaround
Add a connect() method to the Stimulus controller.
Versions
StimulusReflex

Gem: 3.5.0

External tools

Ruby: 3.1.2
Rails: 7.0.2

Browser

Browser: Chrome
Version: 104.0.5112.101 (Official Build) (arm64)

Hey @wheee, I just realized that I always just replied on Discord and not here.
This issue is being resolved as soon as #606 is merged! Thank you!


Bump the rtol in hmc_test

This test is flaky due to the rtol:
https://source.cloud.google.com/results/invocations/e381cb7e-272e-41ac-b0da-931f6cf293bb/log

[+gunan] affects the r1.6 merge back to master too.

Sorry for the flake.  I actually had thought this was rolled back? In either case we're currently submitting the fixed version of the original.


SPARKC-141: BP SPARKC-126 (Pref Hostname and Adr)

Back porting SPARKC-126 to b1.1 branch, to help with task locality

+1

retest this please