Simple request always fails on Mac OS X

Given this small sample program basically copied from the README:
extern crate hyper;

use std::io::Read;

use hyper::Client;
use hyper::header::Connection;
use hyper::header::ConnectionOption;

fn main() {
    // Create a client.
    let mut client = Client::new();

    // Creating an outgoing request.
    let mut res = client.get("http://files.wezm.net/testpodcast.xml")
        // set a header
        .header(Connection(vec![ConnectionOption::Close]))
        // let 'er go!
        .send().unwrap();

    // Read the Response.
    let mut body = String::new();
    res.read_to_string(&mut body).unwrap();

    println!("Response: {}", body);
}

The request always fails with a HttpIoError (NotConnected):
cargo run --verbose                                                                                Fresh typeable v0.1.1
       Fresh libc v0.1.6
       Fresh bitflags v0.1.1
       Fresh unicase v0.1.0
       Fresh traitobject v0.0.1
       Fresh lazy_static v0.1.10
       Fresh pkg-config v0.3.4
       Fresh gcc v0.3.5
       Fresh httparse v0.1.1
       Fresh rustc-serialize v0.3.14
       Fresh matches v0.1.2
       Fresh log v0.3.1
       Fresh num_cpus v0.2.4
       Fresh url v0.2.33
       Fresh mime v0.0.11
       Fresh openssl-sys v0.6.2
       Fresh time v0.1.25
       Fresh openssl v0.6.2
       Fresh cookie v0.1.20
       Fresh hyper v0.3.16
       Fresh request v0.1.0 (file:///Users/wmoore/Projects/Musicast/crawler/request)
     Running `target/debug/request`
thread '<main>' panicked at 'called `Result::unwrap()` on an `Err` value: HttpIoError(Error { repr: Os(57) })', /Users/rustbuild/src/rust-buildbot/slave/beta-dist-rustc-mac/build/src/libcore/result.rs:729
Process didn't exit successfully: `target/debug/request` (exit code: 101)

This is with OS X 10.10.3 (14D136) and rustc 1.0.0-beta.4 (850151a75 2015-04-30) (built 2015-04-30). The same program works when run on a Ubuntu 14.04 VM with the same version of rust.
It seems somewhat dependent on the URL, although more fail than don't. E.g. these work:

http://www.itmedia.co.jp (albeit it fails later because the character set is Shift-JIS)
http://bellroy.com/

These do not:

http://google.com/
http://feeds.feedburner.com/oneminutefrench
http://files.wezm.net/testpodcast.xml
http://www.marksherry.net/outburst_radio/outburst_radioshow_podcast.xml
http://drclaw.net/feed/atom/

Can you re-run with RUST_BACKTRACE=1, so we can get a backtrace for that panic?

Sure, doesn't look all that helpful though. I can tell you that it's the unwrap on send .send().unwrap(); that is panicking though:
stack backtrace:
   1:        0x1050720df - sys::backtrace::write::h0f2fc53eb11eb814gWr
   2:        0x105075464 - panicking::on_panic::hd617a4042e8486fciUv
   3:        0x10506b245 - rt::unwind::begin_unwind_inner::hd84dfec22ac3667d1Bv
   4:        0x10506bad6 - rt::unwind::begin_unwind_fmt::h5bb6fa95bd57b24bFAv
   5:        0x105074d3c - rust_begin_unwind
   6:        0x1050949d5 - panicking::panic_fmt::hea516303ab7688d0lwy
   7:        0x104fad606 - result::Result<T, E>::unwrap::h5683422046223242116
   8:        0x104fad22c - main::ha0a39c096ced901bjaa
   9:        0x105076f88 - rust_try_inner
  10:        0x105076f75 - rust_try
  11:        0x105075c68 - rt::lang_start::h04063553a12d35edNOv
  12:        0x104fd7b1e - main

Would you mind added env_logger (or similar) and collecting logs from
hyper? (with env_logger, you'd set RUST_LOG=hyper).
On Tue, May 5, 2015, 10:25 PM Wesley Moore<EMAIL_ADDRESS>wrote:

Sure, doesn't look all that helpful though. I can tell you that it's the
unwrap on send .send().unwrap(); that is panicking though:
stack backtrace:
1:        0x1050720df - sys::backtrace::write::h0f2fc53eb11eb814gWr
2:        0x105075464 - panicking::on_panic::hd617a4042e8486fciUv
3:        0x10506b245 - rt::unwind::begin_unwind_inner::hd84dfec22ac3667d1Bv
4:        0x10506bad6 - rt::unwind::begin_unwind_fmt::h5bb6fa95bd57b24bFAv
5:        0x105074d3c - rust_begin_unwind
6:        0x1050949d5 - panicking::panic_fmt::hea516303ab7688d0lwy
7:        0x104fad606 - result::Result<T, E>::unwrap::h5683422046223242116
8:        0x104fad22c - main::ha0a39c096ced901bjaa
9:        0x105076f88 - rust_try_inner
10:        0x105076f75 - rust_try
11:        0x105075c68 - rt::lang_start::h04063553a12d35edNOv
12:        0x104fd7b1e - main
—
Reply to this email directly or view it on GitHub
https://github.com/hyperium/hyper/issues/508#issuecomment-99327290.

Hmm. Hyper is now calling shutdown because of the Connection: Close header.
After writing the end, it calls shutdown(Write). I wonder if there's a
difference in the way Mac and Linux handle libc::shutdown.
On Tue, May 5, 2015, 10:52 PM Wesley Moore<EMAIL_ADDRESS>wrote:

Sure, happy to help any way I can:
 Running `target/debug/request`

TRACE:hyper::client: send Get Url { scheme: "http", scheme_data: Relative(RelativeSchemeData { username: "", password: None, host: Domain("files.wezm.net"), port: None, default_port: Some(80), path: ["testpodcast.xml"] }), query: None, fragment: None }
TRACE:hyper::client: host="files.wezm.net"
TRACE:hyper::client: port=80
DEBUG:hyper::net: http scheme
DEBUG:hyper::client::request: request line: Get "/testpodcast.xml" Http11
DEBUG:hyper::client::request: headers=Headers { Connection: close, Host: files.wezm.net, }
TRACE:hyper::buffer: slicing (0, 1408, 4096)
TRACE:hyper::header: raw header: "Server"=[110, 103, 105, 110, 120, 47, 49, 46, 54, 46, 51]
TRACE:hyper::header: raw header: "Date"=[87, 101, 100, 44, 32, 48, 54, 32, 77, 97, 121, 32, 50, 48, 49, 53, 32, 48, 53, 58, 53, 48, 58, 51, 52, 32, 71, 77, 84]
TRACE:hyper::header: raw header: "Content-Type"=[116, 101, 120, 116, 47, 120, 109, 108]
TRACE:hyper::header: raw header: "Last-Modified"=[77, 111, 110, 44, 32, 49, 54, 32, 70, 101, 98, 32, 50, 48, 49, 53, 32, 48, 52, 58, 52, 51, 58, 48, 57, 32, 71, 77, 84]
TRACE:hyper::header: raw header: "X-Varnish"=[50, 57, 56, 52, 57, 51, 32, 50, 57, 56, 52, 57, 49]
TRACE:hyper::header: raw header: "Age"=[52, 51]
TRACE:hyper::header: raw header: "Via"=[49, 46, 49, 32, 118, 97, 114, 110, 105, 115, 104, 45, 118, 52]
TRACE:hyper::header: raw header: "Transfer-Encoding"=[99, 104, 117, 110, 107, 101, 100]
TRACE:hyper::header: raw header: "Connection"=[99, 108, 111, 115, 101]
TRACE:hyper::header: raw header: "Accept-Ranges"=[98, 121, 116, 101, 115]
DEBUG:hyper::client::response: version=Http11, status=Ok
DEBUG:hyper::client::response: headers=Headers { Transfer-Encoding: chunked, Via: 1.1 varnish-v4, Accept-Ranges: bytes, Date: Wed, 06 May 2015 05:50:34 GMT, Server: nginx/1.6.3, X-Varnish:<PHONE_NUMBER>91, Age: 43, Content-Type: text/xml, Connection: close, Last-Modified: Mon, 16 Feb 2015 04:43:09 GMT, }
TRACE:hyper::client::pool: PooledStream.drop, is_closed=true, is_drained=false
thread '' panicked at 'called Result::unwrap() on an Err value: HttpIoError(Error { repr: Os(57) })', /Users/rustbuild/src/rust-buildbot/slave/beta-dist-rustc-mac/build/src/libcore/result.rs:729
An unknown error occurred
To learn more, run the command again with --verbose.
—
Reply to this email directly or view it on GitHub
https://github.com/hyperium/hyper/issues/508#issuecomment-99331851.

@wezm If it's related to shutdown, this is the smallest case that would test it (I think...):
use std::io::{Read, Write};
use std::net;

fn main() {
    let mut stream = net::TcpStream::connect("rust-lang.org:80").unwrap();
    stream.write_all(b"GET / HTTP/1.1\r\nHost: rust-lang.org\r\n\r\n").unwrap();
    stream.shutdown(net::Shutdown::Write).unwrap();

    let mut s = String::new();
    stream.read_to_string(&mut s).unwrap();
    println!("{}", s);
}

For comparison here's the same thing run in the Linux VM:
     Running `target/debug/request`
TRACE:hyper::client: send Get Url { scheme: "http", scheme_data: Relative(RelativeSchemeData { username: "", password: None, host: Domain("files.wezm.net"), port: None, default_port: Some(80), path: ["testpodcast.xml"] }), query: None, fragment: None }
TRACE:hyper::client: host="files.wezm.net"
TRACE:hyper::client: port=80
DEBUG:hyper::net: http scheme
DEBUG:hyper::client::request: request line: Get "/testpodcast.xml" Http11
DEBUG:hyper::client::request: headers=Headers { Host: files.wezm.net, Connection: close, }
TRACE:hyper::buffer: slicing (0, 1408, 4096)
TRACE:hyper::header: raw header: "Server"=[110, 103, 105, 110, 120, 47, 49, 46, 54, 46, 51]
TRACE:hyper::header: raw header: "Date"=[87, 101, 100, 44, 32, 48, 54, 32, 77, 97, 121, 32, 50, 48, 49, 53, 32, 50, 51, 58, 48, 56, 58, 52, 54, 32, 71, 77, 84]
TRACE:hyper::header: raw header: "Content-Type"=[116, 101, 120, 116, 47, 120, 109, 108]
TRACE:hyper::header: raw header: "Last-Modified"=[77, 111, 110, 44, 32, 49, 54, 32, 70, 101, 98, 32, 50, 48, 49, 53, 32, 48, 52, 58, 52, 51, 58, 48, 57, 32, 71, 77, 84]
TRACE:hyper::header: raw header: "X-Varnish"=[52, 50, 57, 51, 48, 48, 32, 52, 50, 57, 50, 57, 56]
TRACE:hyper::header: raw header: "Age"=[52, 52]
TRACE:hyper::header: raw header: "Via"=[49, 46, 49, 32, 118, 97, 114, 110, 105, 115, 104, 45, 118, 52]
TRACE:hyper::header: raw header: "Transfer-Encoding"=[99, 104, 117, 110, 107, 101, 100]
TRACE:hyper::header: raw header: "Connection"=[99, 108, 111, 115, 101]
TRACE:hyper::header: raw header: "Accept-Ranges"=[98, 121, 116, 101, 115]
DEBUG:hyper::client::response: version=Http11, status=Ok
DEBUG:hyper::client::response: headers=Headers { Age: 44, Via: 1.1 varnish-v4, Last-Modified: Mon, 16 Feb 2015 04:43:09 GMT, Content-Type: text/xml, Transfer-Encoding: chunked, Server: nginx/1.6.3, Date: Wed, 06 May 2015 23:08:46 GMT, Accept-Ranges: bytes, Connection: close, X-Varnish:<PHONE_NUMBER>98, }
TRACE:hyper::http: chunk size=6078
TRACE:hyper::http: Chunked read, remaining=6078
TRACE:hyper::http: Chunked read, remaining=6046
TRACE:hyper::http: Chunked read, remaining=5982
TRACE:hyper::http: Chunked read, remaining=5854
TRACE:hyper::http: Chunked read, remaining=5598
TRACE:hyper::http: Chunked read, remaining=5086
TRACE:hyper::http: Chunked read, remaining=4950
TRACE:hyper::http: Chunked read, remaining=4062
TRACE:hyper::http: Chunked read, remaining=2014
TRACE:hyper::http: Chunked read, remaining=854
TRACE:hyper::http: chunk size=0
TRACE:hyper::http: Chunked read, remaining=0
TRACE:hyper::http: end of chunked
Response: <?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:media="http://search.yahoo.com/mrss/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
  <channel>
    <title>Test Podcast</title>
  [snip]
  </channel>
</rss>

TRACE:hyper::client::pool: PooledStream.drop, is_closed=true, is_drained=false

The test case above works fine as posted. I tried adding a Connection: close header and it still works fine. :confused:

@wezm what if you comment out the Connection: close header from the hyper example? If it still fails, we can look elsewhere.

@wezm if it works without the Connection close, try the tcp example with your own url (don't forget to edit the Host:  part of the byte string.

Just read the man page for shutdown on Linux and OS X. From that point of view they should operate identically (of course the actual implementation may differ).

The hyper test case works when Connection close is removed. The TCP example when edited as follows also works, with and without the Connection close header.
    let mut stream = net::TcpStream::connect("files.wezm.net:80").unwrap();
    stream.write_all(b"GET /testpodcast.xml HTTP/1.1\r\nHost: files.wezm.net\r\n\r\n").unwrap();

Hm, what if you change the tcp example to call shutdown twice?
// ...
stream.shutdown(net::Shutdown::Write).unwrap();
stream.shutdown(net::Shutdown::Write).unwrap();
// ...

Yup, panics with the same error as the original test case.

On 7 May 2015, at 10:34 am, Sean McArthur<EMAIL_ADDRESS>wrote:
Hm, what if you change the tcp example to call shutdown twice?
// ...
stream.shutdown(net::Shutdown::Write).unwrap();
stream.shutdown(net::Shutdown::Write).unwrap();
// ...
—
Reply to this email directly or view it on GitHub https://github.com/hyperium/hyper/issues/508#issuecomment-99659400.

Aha! So, seems Linux has no problem with that, but Mac does.
Hyper calls shutdown if there's Close header in the request. The response is also sending a Close header, and so shutdown is called a second time in the response. I assumed it'd be a no-op if it was already closed...

Cheers, thanks for your help and responsiveness.


The domain satya164.xyz has expired

I'm getting an ad from godaddy when following the link the the header of the project github homepage.

fixed, :+1:. thanks so much.


Image is almost unreadable

One of the images in the document is almost unreadable in dark theme mode. I Haven't really tried in light theme mode but it might also be the same thing.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 3175c55e-396b-359f-01d0-59cf270d3d0c
Version Independent ID: 2999b259-e0b6-5f23-cfa6-f4f6a2c97b1c
Content: Azure Storage migration guide
Content Source: articles/storage/common/storage-migration-overview.md
Service: storage
Sub-service: common
GitHub Login: @dukicn
Microsoft Alias: nikoduki

Thanks for reporting this. I have assigned the issue to the content author to investigate further and update the document as appropriate.

Replaced the picture with the table and created a new PR.

Hi all,
I removed the image and replaced it with the table. PR is https://github.com/MicrosoftDocs/azure-docs-pr/pull/159381
Is there anything else needed from me on this to close the issue?
Thanks,
Niko
From: DerekHerman-MSFT @.>
Sent: Tuesday, May 18, 2021 11:48 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Niko Dukic @.>; Assign @.>
Subject: Re: [MicrosoftDocs/azure-docs] Image is almost unreadable (#75478)
Assigned #75478https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F75478&data=04|01|niko.dukic%40microsoft.com|06612dfa7d3142501fab08d91a4692ba|72f988bf86f141af91ab2d7cd011db47|1|0|637569712698454716|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=op0oLz70T0RzcsuqoFcHrg97sCe9VcVFrZz53Th4nxo%3D&reserved=0 to @dukicnhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdukicn&data=04|01|niko.dukic%40microsoft.com|06612dfa7d3142501fab08d91a4692ba|72f988bf86f141af91ab2d7cd011db47|1|0|637569712698454716|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=MVXDcnhc7hew43NU2%2BRbOi3SmUo6i0wCRrTRiOcqTHs%3D&reserved=0.

You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F75478%23event-4763191273&data=04|01|niko.dukic%40microsoft.com|06612dfa7d3142501fab08d91a4692ba|72f988bf86f141af91ab2d7cd011db47|1|0|637569712698464672|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=hsElg0cXv%2Fgffj8DDgYSd%2FJKErHwyKxBeT%2FTPPJ%2F9Bs%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAF2BOVZXVYKZPSZ5Q4MRFVDTOLOADANCNFSM45CWLVPQ&data=04|01|niko.dukic%40microsoft.com|06612dfa7d3142501fab08d91a4692ba|72f988bf86f141af91ab2d7cd011db47|1|0|637569712698464672|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=UqM2a%2FT4cgQD2LWkipwRyfnv7IHJQobTijZUQ2aKPTA%3D&reserved=0.

Thanks for letting us know about the image issue. The image was replaced with a table. We’re closing the issue.
#please-close


Problems with "Find" filter & "Setbiome" filter

Find

In "Match tag type", "Any"(string 369) seems like a string argument itself. That means if "Any" is translated into other languages, for example, "任何" in Chinese, the filter will not understand what to do with "任何". It only understand "Any" and directly read this argument from translation strings.

(P.S. \u4efb\u4f55 equals "任何". )
EDIT: I think this bug involves every option in this slidebar, but "Any" is the only one to be translated.
Another Edit: I found the same bug in external filter "Modify Item Strings". It seems that many filters may have the same bug as well. Probably it's better to do some MCEdit-side tweaks to help filters translate instead of adjusting filters themselves?

"Find Next" is deleted, so the last line in the Documentation can be deleted, too.

Setbiome
o462 is "Mega Spruce Taiga "(with a trailing whitespace) and it should be "Mega Spruce Taiga Hills".

"Mega Spruce Taiga Hills" is done now.
About the filter translation, some filter doesn't have this issue. For example Decliff and Create Shop. Now I'm totally confused :(

I've remarked that some filters seem bugged with some GUI widgets (especially the dropdown lists).
We'll have a look to this.


Decap CMS config.yml fields cannot access collections added using Eleventy.js' addCollection function

I added a collection using eleventyConfig.addCollection in .eleventy.js:
eleventyConfig.addCollection("featuredVisuals", function (collectionApi) {
let visualsCollection = [];

let tagsArray = collectionApi.getFilteredByTags("posts");
tagsArray.forEach(element => {
    visualsCollection.push(element);

});

return visualsCollection;

I can output the collection to the screen in my posts.njk file:
{% for object in collections.featuredVisuals %}

title is {{ object.data.title }}

{% endfor %}
However, I can't seem to get the new collection to populate a decap collection widget's relation field using config.yml:

name: "regions"
label: "Regions"
folder: "regions"
slug: "{{slug}}"
create: true
fields:

{ label: "Layout", name: "layout", widget: "hidden", default: "layouts/region.njk" }

{ label: "Title", name: "title", widget: "string" }

{ label: "Published Title", name: "publishedTitle", widget: "string" }

{ label: "Teaser", name: "teaser", widget: "string" }

{ label: "Editorial Comments", name: "editorialComments", required: false, widget: "string" }

{ label: "Date", name: "date", widget: "date", default: "" }

{ label: "Featured Visual", name: "featuredVisual", required: false, widget: "relation", collection: "featuredVisuals", search_fields: ["title"], value_field: "{{slug}}", display_fields: ["title"], multiple: true }   ||

{ label: "Post Body", name: "body", widget: "markdown" }
I believe a similar question was asked by someone else here, but no answer was given:

https://answers.netlify.com/t/cant-access-11ty-collection-from-config-yml/86307
Thanks so much for your help!

Decap CMS can only read or reference your 11ty collections if they are present as folder or file collections inside your repo. As these collections are generated by 11ty programatically, they bypass your repo root and output directly to your site folder.
In your case, you could create a new regions.njk file to output your regions collection as a folder inside your repo with each region as an .md file. You can then reference that collection in your Decap CMS relation widget.

Thanks for confirming that it can't be done using addCollection.
I wanted to add this as an issue because addCollection would be a nice Eleventy function for Decap to support.
I did start going down the path that you suggested creating a folder full of collection items for Decap's relation widget field to consume.
What we are actually trying to do is to populate one relation field with various kinds of collections aggregated together: posts, documents, events, features, etc..
I had some success by moving my collection folders into a folder named "input" and explicitly specifying it as input and output as “_site” in .eleventy.js. This way the input folder is not added to the user’s url path to the generated html. I don't want users to see /input/ in their url.
When I do it like this, any folder of collections successfully appears in the relation field drop down list.
I am going to attempt to filter these results next.
I like this approach because it does not require an additional “aggregatedFeaturedVisuals” folder full of njk or md items that already have a file in their respective folders (ie: posts, documents, events, features, etc..). It seemed inefficient to generate doubles of collection files just to have a folder of them aggregated.
However, I would rather not change the directory structure of the local build site if I don’t have to.
I have two questions since we’re on the topic of how I might solve this:

In decap’s config.yml for a collection, how do I specify the root folder?

This does not work:
_site/admin/config.yml
2)	  - label: "aggregatedFeaturedVisuals"
3)	    name: "aggregatedFeaturedVisuals"
4)	    folder: "."
5)	    fields:
6)	     - { label: "Title", name: "title", widget: "string" }

This does work, but I have to add an “input" folder and change directory structure:
  - label: "aggregatedFeaturedVisuals"
    name: "aggregatedFeaturedVisuals"
    folder: "input"
    fields:
     - { label: "Title", name: "title", widget: "string" }

Another thing that I tried was to use a generated json file with an array of all the aggregated items and specify it as a file in Decap’s config.yml. It only worked when there was 1 item in the json file. Is there a way to use one json file that contains all of the posts, documents, events, features, etc..

This did not work:
aggregatedFeaturedVisuals.json
[{
      "title" : "my first region",
      "tags" : ["regions"],
      "url" : "/regions/my-first-region/"},{
      "title" : "My first country",
      "tags" : ["countries"],
      "url" : "/countries/my-first-country/"},
      {
      "title" : "Second Country",
      "tags" : ["countries"],
      "url" : "/countries/second-country/"},
      {
      "title" : "Albania",
      "tags" : ["countries"],
      "url" : "/countries/albania/"},
      {
      "title" : "Third Country",
      "tags" : ["countries"],
      "url" : "/countries/third-country/"},{
      "title" : "Albania Threshold Program, Stage II",
      "tags" : ["countryprograms"],
      "url" : "/countryprograms/albania-threshold-program-stage-ii/"},
      {
      "title" : "Albania Threshold Program",
      "tags" : ["countryprograms"],
      "url" : "/countryprograms/albania-threshold-program/"},
      {
      "title" : "country program 10",
      "tags" : ["countryprograms"],
      "url" : "/countryprograms/country-program-10/"}]

It did populate the relation field when only one item was in the json file.
Thanks so much for your help and the answer to the previous question!

As you probably guessed, Decap CMS needs a folder collection to be inside a folder somewhere within the repo root, with the path specified: folder: "path/to/posts"
You could output a single JSON file to store all of your referenced items, declare this as a file collection, and then you should be able to do something like this in a relation widget to reference those items:-

- label: "Related Item"
  name: "relatedItem"
  widget: "relation"
  collection: "myFileCollection"
  file: "aggregatedFeaturedVisuals"
  search_fields: ["relatedItems.*.title"]
  display_fields: ["relatedItems.*.title"]
  value_field: "relatedItems.*.url" #save the URL as the value, could be an ID

The problem with file collections is that you cannot add new items from within the CMS as you can with folder collections.
More relation examples are in the docs


getornull condition return __null spam console window?

Godot version:
Godot 3.1 Beta 5
OS/device including version:
Windows 10
i get this error when i open my project in beta 5
(This only happend one time, second time i open the project the error is gone?)

Did you changed font ? - maybe its related #23123

This error occurs even if scene is opened/changed, but seems to be fixed.

Seems like #23123 indeed, which is fixed. Please comment if you can still reproduce it in 3.1 beta 9 (will be published today) or later.


bug: TradeFeeService.DO can't unmarshal

TradeFeeService.DO return array data, can't be unmarshal single obj...

I'm trying to learn this please help and let me get my tokens

I'm trying to learn this please help and let me get my tokens

what's mean tokens ? ERC20?


Llama2 ROME index out of bound

Hi,
Thanks for your excellent work! I am trying to run ROME on LLaMA2-7b. My checkpoint is requested from META form and is converted to hf format using this code. (I also tried to download the checkpoint from huggingface directly, but the same error occurs.) I followed your instruction to copy the zsre_mend_eval_portability_gpt4.json to the right path. When I run the code, I met the issue:
Traceback (most recent call last):
File "/home/linzihao/memory-editing/EasyEdit/scripts/../examples/run_zsre_llama2.py", line 78, in
metrics, edited_model, _ = editor.edit(
File "/home/linzihao/memory-editing/EasyEdit/scripts/../easyeditor/editors/editor.py", line 199, in edit
"pre": compute_edit_quality(self.model, self.model_name, self.hparams, self.tok, request,
File "/home/linzihao/memory-editing/EasyEdit/scripts/../easyeditor/evaluate/evaluate.py", line 70, in compute_edit_quality
compute_portability_quality(model, model_name, hparams, tok, portability_key,
File "/home/linzihao/memory-editing/EasyEdit/scripts/../easyeditor/evaluate/portability_evaluate.py", line 24, in compute_portability_quality
portability_correct = test_prediction_acc(model, tok, hparams, prompt, ground_truth, device)
File "/home/linzihao/memory-editing/EasyEdit/scripts/../easyeditor/evaluate/evaluate_utils.py", line 109, in test_prediction_acc
if isinstance(answers[0], list):
IndexError: list index out of range
It happens when evaluate the 17th request. The exact item in zsre_mend_eval_portability_gpt4.json is
{
"subject": "USS Leedstown (APA-56)",
"src": "Which corporation created USS Leedstown (APA-56)?",
"pred": "Lockheed Shipbuilding and Construction Company",
"rephrase": "Which company was produced by USS Leedstown (APA-56)?",
"alt": "Arleigh Burke-class aircraft carrier",
"answers": [
"Bethlehem Steel"
],
"loc": "nq question: i was a great islamic scholar and mathematician who died in 1131 ce",
"loc_ans": "Omar Khayyam",
"cond": "Lockheed Shipbuilding and Construction Company >> Arleigh Burke-class aircraft carrier || Which corporation created USS Leedstown (APA-56)?",
"portability": {
"Recalled Relation": "(Arleigh Burke-class, primary user, United States Navy)",
"New Question": "Which organization is the primary user of the class that USS Leedstown (APA-56) belongs to?",
"New Answer": "United States Navy"
}
},
The exact reason is that the prompt_len is 30 while the generated output from LLaMA2 is also 30. After the line 105 in file easyeditor/evaluate/evaluate_utils.py, the answers become "[]" which causes the indexerror when call "answers[0]". I add "try ... except ..." module and I found there are more than ten data items meet this problem.
I wonder do you face the same problem? How do you fix it? Thanks!

Hi @ZihaoLin0123,
I was facing the same issue (https://github.com/zjunlp/EasyEdit/issues/44), but have no luck so far!
Are you able to find something?
Thanks
Srinath

Thank you for your attention. This error occurs because max_length is too small and truncation truncates the label part. You can try increasing max_length.

I hope you can solve the problem and let me know

Hi, have you solved your issue?

Refer #44, thanks for the support.


If i am using a local RAG. Which context am i suppose to use during evaluation

Your Question
From my understanding, the "create your own test set" documentation uses OpenAI models and embeddings to create Question/context/groundtruth. In this case, context is obtained using embeddings from OpenAI.
When I use my own RAG pipeline, I use GenAI embeddings, which will provide different contexts.
So I'm just wondering, during evaluation, if I should include contexts from my RAG or use the context obtained during test set generation?
Or maybe I am misunderstanding something, if so, please do correct me. Thank you

I see.
So effectively, the Question and ground truth portion of my test set is obtained from the "create your own test set" documentation. While the answer and context portion is obtained from my own RAG pipeline?


Could not find method google() for arguments [] on repository container.

after install plugin I get this error

Could not find method google() for arguments [] on repository container.

my build.gradle android
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        jcenter()
                google()
        maven { url "https://jitpack.io" }

    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.2.3'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        mavenLocal()
        jcenter()
                google()

        maven {
                   url "https://jitpack.io"

            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url "$rootDir/../node_modules/react-native/android"
        }
    }
}

Thanks @adirzoari for raising the issue.
Basically google() is support on a specific gradle and android version. For can you please change below line in react-native-shine-button/android/build.gradle
google() -> maven { url "https://maven.google.com" }
I will be pushing a release with the fix. For now please use above solution.
Thanks
</ Pranav >

Hey prscx,
it still not working,
that's my update build.gradle
`// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
maven { url "https://maven.google.com"
maven { url "https://jitpack.io" }
}
dependencies {
    classpath 'com.android.tools.build:gradle:2.2.3'

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}

}
allprojects {
repositories {
mavenLocal()
jcenter()
maven { url "https://maven.google.com"
    maven {
               url "https://jitpack.io"

        // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
        url "$rootDir/../node_modules/react-native/android"
    }
}

}
`
I get same error.

Hi @adirzoari: Same change you need to do in library build.gradle as well.
Let me know incase it does not work.
Thanks
</ Pranav >

Hi @adirzoari: I have a release with the fix. Can you please upgrade the library to latest version.
Please let me know incase you still face the same issue.
V0.0.12
Thanks
</ Pranav >

Hi @adirzoari: Hope the issue was resolved using the latest version.
Can I please close the issue, if it was resolved.
Thanks
</ Pranav >


ustvgo updated the bot

cfscrape is no longer working on ustvgo.com
good luck! Thank you!

That domain doesn't seem to exist, and could you please use the bug report template


fix: correct all remaining lint issues

This fixes all lint issues

:tada: This PR is included in version 1.35.3 :tada:
The release is available on:

GitHub release
v1.35.3

Your semantic-release bot :package::rocket:


Enabling dropIntoEditor disables drag/drop within a custom editor

Hi all,
we develop a custom editor in vscode that supports drag and drop.
Recently we noticed that this is not working anymore.
After getting into "dragover" we encounter a "dragleave" without leaving the actual element (afterwards the drag listeners do not get any event anymore but the drop image is still with cursor !!!)
We found that this is related to dropIntoEditor --  when disabling , drag/drop inside the custom editor is working again.
Its also somehow working when holding the shift key, but this conflicts with the typical drag/drop usage.
So, how to allow dropIntoEditor but keep the possibility of drag/drop inside the custom editor?
thanks,
thomas

Which vs code version?

Latest version I got - 1.91.

@thomasAtToem  do you still encounter this on the latest version of vscode? (1.93)

I believe this has been fixed by the work around #224967


Mapping dictionary of dictionary to object

I have not been able to figure out how to map this JSON
{
    "market_estimates": {
        "2000": {
            "0": 12830,
            "10000": 11041
        },
        "2001": {
            "0": 12830,
            "10000": 11041
        }
    }
}

Into an object like this:
class MarketEstimate {
	var year: Int = 0
	var price: Int = 0
	var mileage: Int = 0
}

How do I perform this task?

@mikkelam, do you want an array of MarketEstimate?

Yes, I am sorry i did not specify. Do you know how I could solve this?

Is this what you want? I'm not sure where price and mileage come from.
[
  MarketEstimate(year: 2000, price: 12830, mileage: 11041),
  MarketEstimate(year: 2001, price: 12830, mileage: 11041),
]

Yes, exactly

You have to manipulate that json. Try:
let dict: [String: Any] = [
  "market_estimates": [
    "2000": [
      "0": 12830,
      "10000": 11041
    ],
    "2001": [
      "0": 12830,
      "10000": 11041
    ]
  ]
]
let jsonArray = (dict["market_estimates"] as? [String: [String: Int]] ?? [:])
  .flatMap { yearString, mileageAndPrice in
    return mileageAndPrice.flatMap { mileageString, price -> [String: Int]? in
      guard let year = Int(yearString),
        let mileage = Int(mileageString)
      else { return nil }
      return [
        "year": year,
        "mileage": mileage,
        "price": price,
      ]
    }
  }
let estimates = Mapper<MarketEstimate>().mapArray(JSONArray: jsonArray)
print(estimates)

Do you have any alternative solution which could work for every dictionary of dictionaries? I'm using Firebase where every array is stored as dictionaries like in @mikkelam 's example.

I ended up writing a custom mapping method which tries to map array or dictionary to array. In dictionary case key is passed by using Context.
extension Map {
	func valueFromArrayOrDictionary<Element: ImmutableMappable >(_ key: String, nested: Bool? = nil, delimiter: String = ".", file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> [Element] {
		let currentValue = self.currentValue(for: key, nested: nested, delimiter: delimiter)

		guard let JSONObject = currentValue else {
			throw MapError(key: key, currentValue: currentValue, reason: "Found unexpected nil value", file: file, function: function, line: line)
		}

		return try Mapper<Element>().mapArrayOrDictionary(JSONObject: JSONObject)
	}

	fileprivate func currentValue(for key: String, nested: Bool? = nil, delimiter: String = ".") -> Any? {
		let isNested = nested ?? key.contains(delimiter)
		return self[key, nested: isNested, delimiter: delimiter].currentValue
	}
}

extension Mapper where N: ImmutableMappable {
	func mapArrayOrDictionary(JSONObject: Any) throws -> [N] {
		if let dictionaries = JSONObject as? [String: Any] {
			return try dictionaries.map { try N(JSONObject: $0.value, context: FirebaseContext(key: $0.key)) }
		} else if let collection = JSONObject as? [Any] {
			return try collection.map { try N(JSONObject: $0) }
		} else {
			throw MapError(key: nil, currentValue: JSONObject, reason: "Cannot cast to '[String: Any] or [Any]")
		}
	}
}

simple way:
class MarketEstimate {
	var price: Int!
	var mileage: Int!
}
class MarketEstimates {
   var market_estimates:Dictionary<String, MarketEstimate >!
}

then you would have get your structure in market_estimates["2000"], but without the year inside the struct...

@altagir The reason I did not use a dictionary is because it is not supported by Realm.

I ended up writing a custom mapping method which tries to map array or dictionary to array. In dictionary case key is passed by using Context.
extension Map {
	func valueFromArrayOrDictionary<Element: ImmutableMappable >(_ key: String, nested: Bool? = nil, delimiter: String = ".", file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> [Element] {
		let currentValue = self.currentValue(for: key, nested: nested, delimiter: delimiter)

		guard let JSONObject = currentValue else {
			throw MapError(key: key, currentValue: currentValue, reason: "Found unexpected nil value", file: file, function: function, line: line)
		}

		return try Mapper<Element>().mapArrayOrDictionary(JSONObject: JSONObject)
	}

	fileprivate func currentValue(for key: String, nested: Bool? = nil, delimiter: String = ".") -> Any? {
		let isNested = nested ?? key.contains(delimiter)
		return self[key, nested: isNested, delimiter: delimiter].currentValue
	}
}

extension Mapper where N: ImmutableMappable {
	func mapArrayOrDictionary(JSONObject: Any) throws -> [N] {
		if let dictionary = JSONObject as? [String: Any] {
			return try dictionary.map { try N(JSONObject: $0.value, context: FirebaseContext(key: $0.key)) }
		} else if let array = JSONObject as? [Any] {
			return try array.map { try N(JSONObject: $0) }
		} else {
			throw MapError(key: nil, currentValue: JSONObject, reason: "Cannot cast to '[String: Any] or [Any]")
		}
	}
}

Could you give an example how to use this extension?


allow angular http request to send withCredentials

When generating a typescript client you may want to be able to add withCredentails: true to the options, i.e.
let options_ : any = {
    observe: "response",
    responseType: "blob",
    withCredentials: true,
    headers: new HttpHeaders({
        "Accept": "application/json"
    })
};

this change allows the user to select whether or not to send this option

Thanks for the PR!


i18n(ko-KR): add v3.mdx

Description (required)

add v3.mdx

Related issues & labels (optional)

Closes #
Suggested label:

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

ko
guides/upgrade-to/v3.mdx
Localization added, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


python3Packages.hoomd-blue: 2.3.4 -> 4.8.2 and refactoring

Description of changes
This PR bumps python3Packages.hoomd-blue to the latest release and refactors it to make it build and pass the tests.
@costrouc, would you like to maintain this package?
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg build python311Packages.hoomd-blue
@ofborg build python312Packages.hoomd-blue

@ofborg build python311Packages.hoomd-blue
@ofborg build python312Packages.hoomd-blue


Update enigma2 to 2.1.1

Please update my adapter ioBroker.enigma2 to version 2.1.1.
This pull request was created by https://www.iobroker.dev c0726ff.
https://github.com/iobroker-community-adapters/ioBroker.enigma2/issues/232

RE-CHECK!


Build: Set the correct CFLAGS in iotivity-node

Build flag TCP_ADAPTER is not set by default in iotivity,
so removing it from the CFLAGS in iotivity-node to prevent
an unexpected behavior.
Signed-off-by: Sudarsana Nagineni<EMAIL_ADDRESS>

@gabrielschulhof

Could you please fix the build errors and commit ASAP, as it is giving issue in 32bit machines?

We're in the process of merging all these changes into a 1.2.0 release.


feature request: man page

Synopsis
Make the User Guide available in the terminal with a man page.
Description
The User Guide is great! I'd love it if this were available in the terminal as a man page. (That's the whole point of this project, right? Keep me in the comfort of a keyboard-driven environment, yes? 😃 ) ripgrep has an excellent man page that comes when you install with brew—that might furnish a good example of how to do this.
Misc
This is a beautiful little utility! Thank you so much for making it!

To future readers of this issue:
My comment doesn't directly address the issue of having a manual page, but I realised when looking into this that you can view a plaintext version of the User Guide content in the terminal by entering F1 or :help after jless has launched (i.e. when viewing a document).
This is mentioned in the User Guide itself, but when I first read that guide, I'd assumed that the 'help page' it mentions would be the same as the cli --help docs. So I thought I'd mention it here in case it's of use to future visitors to this issue.

To the maintainers
Would you be open to a PR which would add a line into the to cli docs (i.e. the --help help) which points readers towards the in-app :help command? I see that the cli docs are being generated by clap? I haven't used clap before, but it looks like extra information could be inserted above the 'Usage' header. If there's any interest in adding this information, I'd be happy to open a PR.
Also -- thanks for creating such a great library!


fix: remove COPY command from docker build

Was able to build the container locally after these changes

@tynes i'll try to put out a beta tonight or tomorrow!


Github linked account login error

[?] Enter your GitHub username or email: xxxxxxxx
[?] Enter your password:
[Error] GitHub account not found. Please link your account with GitHub using the web portal to use GitHub authentication.

I cannot login to my modulus account both with the CLI, nor the web portal login. I cannot deploy or do anything with my github-linked account. Please assist as soon as possible. Thank you

@lytstephen Sorry for the trouble and getting back to you so late. Hopefully, this is resolved by now. If not, I can assist. When Modulus links your GitHub account to your Modulus account, we store the email address associated. So this way you can still submit a Password Forgot request. Can you do this please?
Once you complete this, then unlink your GitHub account, then relink it. You will not lose anything associated with your account. This will just re-establish the link between your GitHub and Modulus account.

@harlanj Fortunately I had a colleague who was already logged in and set a username/pw for me. Thanks for the info though, hope it'll help others who are in same situation


Training & Knowledge sharing checklist for the new event

The idea behind this issue is to add a standard checklist to follow before organizing any event. It is like a proposal with a number of volunteers to follow to create a good event.
For now, I have following things in mind:

[ ] When?
[ ] Number of volunteer required?
[ ] Estimated budget
[ ] Estimated length of the training
[ ] Create a meeting link.
[ ] Communication with speakers?

[ ] Topic of the presentation
[ ] Short intro about speaker
[ ] Affiliation
[ ] Photo
[ ] Ask whether the speaker is comfortable going live on YouTube or not

[ ] Event posters should be shared at least a week before
[ ] Add more .......

More info;

[ ] Is the training related to open source geospatial community?
[ ] Invitation to participate and speakers

Divide checklists into two catagories pre-event & post-event. You might also need to merge the previous checklist with below,
Post Event:

[ ] Post on social media
[ ] summary of the event
[ ] Thank you note for the speakers & participants

Pre-event:

[ ] Communication/discussion started in discord channel (training & collaboration)

[ ] Decide target group, make sure selection of the speaker is relevant to the event

[ ] Checklist pass for speaker

[ ] Speaker is active in open source geospatial community
[ ] Had relevant experience
[ ] Not associated with business marketing
[ ] tbd....

[ ] Ask for the volunteers

[ ] Event facilitator
[ ] Social media coordinator
[ ] Email & meeting link manager
[ ] Note taking

[ ] Ask for a poster (poster and communication channel)

[ ] Event outline (what are the topics that will be covered, what to expect, timeline)

cc: @Lalitgis @Pratichhya

I am willing to host Jitsi in my personal instance, Let's do that ! Lets try to migrate from facebook / google as well !

yes di, I did go through this list and added some check list that came
across my mind.
Mr. Lalit Bc
Institute of Agriculture and Animal Science
M.Sc. Animal Science
+9779868365688
@.***
https://www.facebook.com/lalit.bc.90
https://instagram.com/lalit_iaas?igshid=bj9tvoetdn79
https://www.linkedin.com/in/lalit-bc-67832a140
https://www.youtube.com/channel/UC4pt3AUxKziC4qZ_Qr4aXqQ
On Tue, Feb 6, 2024 at 6:15 PM Pratichhya @.***> wrote:

@Lalitgis https://github.com/Lalitgis did you have time to go through
this list and check the additional checklist if needed?
—
Reply to this email directly, view it on GitHub
https://github.com/osgeonepal/rollingdoc/issues/18#issuecomment-1929427679,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVMGQBQAX3XKO6WWJHF2PHTYSIO6DAVCNFSM6AAAAABCEQ5ARSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRZGQZDONRXHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thank you, @Lalitgis; in that sense, let us give it a first try with next week's geo-series event. @iamtekson @kshitijrajsharma, please share your feedback and comments on this. Also, please correct me if there is another event prior to the talk series.

@Pratichhya  we have listed the checklist from top of our head before , I think we are good with revisions !

I am closing it for now, since we already implemented the issue template.


added .gitignore

:+1: Generated using artifacts and git status.

Looks like a lot of the changes to the git ignore have hard coded paths. Can you give a little move info as to why you took this approach?
-Shane

Woah! Somehow totally missed a .gitignore was already in there :) Rolled back and amended.
I changed *.swp to *.sw[a-p] because, interestingly, vim allows multiple swap files to be made for the same file, and the last letter gets bumped down a letter, all the way to a. *.swp isn't guaranteed to hit every vim swap file.
As far as the hard-coded paths, there isn't really a better way other than to do an out-of-source build. Git can't ignore based on +x, and there isn't a common extension among them. I suppose you could do individual .gitignore files for each subdirectory but that might be tedious. I can definitely do so if you'd like.
Command was:
$ make && git status | grep -E "^\t" | tr -d "\t" >> .gitignore

with an added comment.


Missing materials not saved to file 1.10.2?

Is the "missing blocks" feature implemented in 1.10.2 and if so is it possble to have the number of missing blocks part of whats saved to dump file?
I'm (again) printing an way to big thing in SSP and want to fill my bags with all the stuff I'm missing and was planning of having the dump file on another screen while I craft/gather the items...
Maybe I'm doing something wrong, has hapend before.
Schematica-1.10.2-<IP_ADDRESS>-universal

The missing blocks should be still listed on the material GUI (*).
I'm not really sure about dumping the amount of missing blocks into the dump file. That information is more or less dependent on the world you're playing on and has very little to do with the schematic itself.

Strange, the material list say that all blocks of all types are missing even though I'v finished most of the layer. I will check again later today if I done something strange.
I also notice that enchanting tables are not listed at all.

Are the chunks loaded when you're checking the list?

nope, thats was one of the things I might have done wrong ;)

Then that's probably a non issue. However the enchanting tables not showing does sound like a weird bug.

I think we can close this issue :)
I checked and the chunks has to be loaded for the "missing" thing to work just like you said. I should have thought about that before...
It also looks like the enchanting table (and possible other special items) are correctly listed if the chunks are loaded. I have not re-checked the problem I thought I saw.
Other things that I did see though is:

there are several iron doors placed in front of two iron blocks (to look like a fridge I think). Strangely in the ghost view the bottom half is shown closed and the top half as open and no door is placed/printed.

Huh... do you mean that the tables were 0/xx or just entirely missing when the chunks weren't loaded?
Is it an old schematic? It's the only explanation that I have for the weird door behavior.

Not sure what happened and why. I checked again tadya and now it works. I get 0/xx if chunks are unloaded as expected.
As I said I think we can close this "issue".


Prevent redirects for GitHub repos with URL name

New Issue Checklist (tick off like this: [x])

[x] I checked existing issues (open and closed) for possible duplicates
[x] I can reproduce the problem on the latest stable version (not nightly!)
[x] If you have a problem a specific website: adding the domain to your blacklist does not solve the problem
[x] The issue is not about adding entries to the default blacklist

What is your browser?

[x] Firefox
[ ] Chrome

What is your operating system?

[ ] Linux
[x] Mac
[ ] Windows

Description (please include examples/screenshots where applicable)
I start off with a big THANK YOU for sharing this nice extension 👍
And I am pretty sure this is a no-brainer for you, but I tried several attempts in blacklisting, but none worked as expected.
I want to prevent being redirected for GitHub repos that are named like their URL:
https://github.com/kimai/www.kimai.org (I can't access the repo)
But at the same time I want to be able to click links in my GitHub notification emails (which Gmail seems to hijack):
https://www.google.com/url?q=https://github.com/kevinpapst/kimai2/pull/815?email_source%3Dnotifications%26email_token%3DAAECFKT525YRT4IG3AWQVHLPZKPM5A5CNFSM4HP6Z2QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXGSI5Q%23issuecomment-499983478&source=gmail&ust=1560019856365000&usg=AFQjCNFqGhk-hMXXKoF3jovs42cQwLAJGg
If I use a blacklist entry like ^https:\/\/github\.com\/ I can see the repo, but the URL redirect is not prevented. Seems I either completely misunderstand the blacklist feature or the regexp is wrong.
Can you help me out?

I just tried your regexp in Chrome and it works just fine, your first link is loads the github page just fine the second goes straight to the github page, skipping google. Can you try again?

Believe me, I try many things before I annoy other devs with noob questions ;-)
So, yes, I remove the rule, added it again and yes, I can access the repository. (that worked before) But the google redirect is still happening - and the google redirects are obviously one of the main reasons for using the plugin...
Maybe my settings are wrong? I'd say default installation with just that one addional rule:

Hmpffff .... "have you tried turning it off an on again"?
After you said it works on your end I removed the extension, restarted FF, installed the extension, added my regexp, restarted FF again => now it works
Noobs at work 🤣 Sorry for wasting your time!


Fetching chart data from Prometheus directly

We could directly reach out to Prometheus and chart out metrics.

We now have updated Meshery with capability to reach out to Prometheus to fetch metrics.
We have taken it further by also integrating with it the capability to accept a Grafana board json to define the panels needed and using that to define the charts but reaching out to Prometheus for the data.


MySQL Script creates indexes that are too big

Describe the issue:
MySQL SQL script for creating the WSO2_IDENTITY_DB  fails when character set is UTF8.
How to reproduce:

mysql --protocol=tcp -u username -p -e "CREATE SCHEMA IDENTITY_DB DEFAULT CHARACTER SET utf8mb4;"
mysql --protocol=tcp -u username -p -D IDENTITY_DB < dbscripts/identity/mysql.sql

Observed behavior:
ERROR 1071 (42000) at line 1020: Specified key was too long; max key length is 3072 bytes
Expected behavior:
Script executes successfully
Environment information:

Product Version: 5.10.0
OS: Docker Linux (wso2/wso2is:latest)
Database: Docker MySQL 8.0.17-1debian9 (mysql:latest)
Userstore: JDBC

Optional Fields
Related issues:
product-is 4255
product-apim 3736

Since creating this Issue, I found the following in the setup documentation:
WSO2 Identity Server supports the following DBMSs which explicitly states that WSO2 Identity Server only supports the latin1 character set.
Based on it being the documented limitation for MySQL, I don't believe that this can be considered a "Bug".

@NCMEC-daavendasora , As this is a known limitation for MySQL, we can close this.


Cargo build error E0432 on Linux

When compiling under Linux, I get the following error message:

cargo update
cargo build

error[E0432]: unresolved import `crate::bindings::yr_modules_do_load`
  --> yari-sys/src/lib.rs:23:5
   |
23 | use crate::bindings::yr_modules_do_load;
   |     ^^^^^^^^^^^^^^^^^------------------
   |     |                |
   |     |                help: a similar name exists in the module: `yr_modules_load`
   |     no `yr_modules_do_load` in `bindings`

error[E0432]: unresolved import `crate::bindings::yr_modules_do_unload`
  --> yari-sys/src/lib.rs:24:5
   |
24 | use crate::bindings::yr_modules_do_unload;
   |     ^^^^^^^^^^^^^^^^^--------------------
   |     |                |
   |     |                help: a similar name exists in the module: `yr_modules_load`
   |     no `yr_modules_do_unload` in `bindings`

For more information about this error, try `rustc --explain E0432`.
error: could not compile `yari-sys` due to 2 previous errors

rustc --explain E0432:
An import was unresolved.
uname -a:
Linux Host <IP_ADDRESS>-microsoft-standard-WSL2 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
lsb_release -a:
Ubuntu 20.04.5 LTS

Hi Albert! Thanks for the report.
Currently we are building against a slightly modified libyara in this repository. This approach is subject to change, as I would like to integrate this small patch directly into YARA ustream so we don't have to worry about those symbols.
To diagnose your issue further, can you checkout the following commands:
λ ls -lah ./yari-sys/yara/libyara/.libs/libyara.a
Permissions Size User         Date Modified Name
.rw-rw-r--  4.3M matej.kastak  2 Oct 17:04   ./yari-sys/yara/libyara/.libs/libyara.a

λ nm ./yari-sys/yara/libyara/.libs/libyara.a | grep yr_modules_do_load
00000000000001e0 T yr_modules_do_load

λ cd yari-sys/yara && git status
HEAD detached at 38298ca7
nothing to commit, working tree clean

Sorry this took so long, just noticed this reply.
My yari-sys/yara/ folder is completely empty.
Did I miss some steps?

It's interesting that it is empty, from the first message it seems that you have upstream yara version installed.
The empty yari-sys/yara dir is because yari uses YARA as a submodule. You will need to clone it with --recursive flag.
If you don't want to clone it again something like this should help: git submodule init && git submodule sync && git submodule update.
There were many changes in YARI since you first opened the issue, before you try anything please update to the latest master commit.
I have prepared instructions how to run it locally for inspiration. Hope it helps.


non positive definite spatial covariance matrice

IntoleranceSimulator sometimes generates non positive definite spatial covariance matrices for reasonable values of the range parameter

Fixed.
The problem was not int he code building the covariance matrix as I expected.
Instead, the distance matrix passed to the builder was not a proper distance matrix because dm was called without arguments.
Now dm correctly returns the distance between alpha carbons


[Workflows]Cleanup strategies

Do we need to purge workflows when they are completed or terminated?

I terminate a workflow, wait for its termination and then purge it, however, its activity gets rescheduled

time="2024-02-28T14:30:01.0010509Z" level=debug msg="Executing reminder for actor dapr.internal.default.proposal-management-workflows.activity||RfpProcessingWorkflow_/test-site-2-20-1/w/04b5583e-2f2c-4706-9cc1-7892ccd85471_key-asks_b827433e-f36b-1410-83e6-0026361783f1::1::1||run-activity" app_id=proposal-management-workflows instance=5d72465eef73 scope=dapr.runtime.actor type=log ver=1.12.0

time="2024-02-28T14:30:01.0013402Z" level=debug msg="Invoking reminder 'run-activity' on activity actor 'RfpProcessingWorkflow_/test-site-2-20-1/w/04b5583e-2f2c-4706-9cc1-7892ccd85471_key-asks_b827433e-f36b-1410-83e6-0026361783f1::1::1'" app_id=proposal-management-workflows instance=5d72465eef73 scope=dapr.runtime.wfengine type=log ver=1.12.0
time="2024-02-28T14:30:01.0014389Z" level=debug msg="activity-processor: processing work item: RfpProcessingWorkflow_/test-site-2-20-1/w/04b5583e-2f2c-4706-9cc1-7892ccd85471_key-asks_b827433e-f36b-1410-83e6-0026361783f1/ProcessRfpReportActivity#1" app_id=proposal-management-workflows instance=5d72465eef73 scope=wfengine.backend type=log ver=1.12.0
time="2024-02-28T14:30:01.0114042Z" level=debug msg="invoking method 'AddWorkflowEvent' on workflow actor 'RfpProcessingWorkflow_/test-site-2-20-1/w/04b5583e-2f2c-4706-9cc1-7892ccd85471_key-asks_b827433e-f36b-1410-83e6-0026361783f1'" app_id=proposal-management-workflows instance=5d72465eef73 scope=dapr.runtime.wfengine type=log ver=1.12.0
time="2024-02-28T14:30:01.0115085Z" level=debug msg="RfpProcessingWorkflow_/test-site-2-20-1/w/04b5583e-2f2c-4706-9cc1-7892ccd85471_key-asks_b827433e-f36b-1410-83e6-0026361783f1: loading workflow state" app_id=proposal-management-workflows instance=5d72465eef73 scope=dapr.runtime.wfengine type=log ver=1.12.0
time="2024-02-28T14:30:01.0123418Z" level=warning msg="RfpProcessingWorkflow_/test-site-2-20-1/w/04b5583e-2f2c-4706-9cc1-7892ccd85471_key-asks_b827433e-f36b-1410-83e6-0026361783f1::1::1: execution failed with a recoverable error and will be retried later: failed to invoke 'AddWorkflowEvent' method on workflow actor: no such instance exists" app_id=proposal-management-workflows instance=5d72465eef73 scope=dapr.runtime.wfengine type=log ver=1.12.0

Is there any approach for cleaning up workflows that are terminated? Will this activity stop getting rescheduled?
Can I pause a workflow, then terminate and then purge it?

@cgillum could there be a race condition here where Activities are wrongly attempted after the Workflow instance has already been terminated & purged ?

There may be a race condition here where the following happens:

Workflow schedules an activity
Workflow gets terminated
Activity executes (w/out knowing about the termination)
Workflow gets purged
Activity completion is sent to workflow actor
Workflow actor fails to load workflow state because it's been purged, and then retries

I think it's okay for the race condition to exist but in this case, the big problem is the fact that we treat the state load failure as retriable, which ideally we shouldn't be. I think there needs to be a bug fix to make that particular error non-retriable, which would allow the system to get back into a good state.

Marking as P1 as I think this should be a rare corner case (thus not a P0).


Improve upstream Rollouts E2E test parsing, by allowing test retries

What does this PR do / why we need it:

Improve upstream Rollouts E2E test parsing: replace the simple bash-based parsing with a short Go script.
The previous version of the code would just ignore retries.
The new version will allow parsing of retries, and will report a failure only if a test never succeeds (after 5 retries)

Have you updated the necessary documentation?

[ ] Documentation update is required by this PR, and has been updated.

Which issue(s) this PR fixes:
N/A

Is it expected that some of the tests fail against OpenShift?  But everything works well in the CI against K3s.

@chetan-rns
I ran it on a clusterbot cluster (rosa create 4.14) and these were the ones that failed for me:
These were the tests that failed:
    --- FAIL: TestAPISIXSuite/TestAPISIXCanarySetHeaderStep (4.52s)
    --- FAIL: TestAPISIXSuite/TestAPISIXCanarySetHeaderStep (4.57s)
    --- FAIL: TestAPISIXSuite/TestAPISIXCanarySetHeaderStep (4.65s)
    --- FAIL: TestAPISIXSuite/TestAPISIXCanarySetHeaderStep (4.67s)
    --- FAIL: TestAPISIXSuite/TestAPISIXCanarySetHeaderStep (4.79s)
    --- FAIL: TestAPISIXSuite/TestAPISIXCanarySetHeaderStep (6.37s)
    --- FAIL: TestExperimentSuite/TestExperimentWithDryRunMetrics (36.68s)
    --- FAIL: TestExperimentSuite/TestExperimentWithDryRunMetrics (36.92s)
    --- FAIL: TestExperimentSuite/TestExperimentWithDryRunMetrics (37.03s)
    --- FAIL: TestExperimentSuite/TestExperimentWithDryRunMetrics (37.51s)
    --- FAIL: TestExperimentSuite/TestExperimentWithDryRunMetrics (37.72s)
    --- FAIL: TestExperimentSuite/TestExperimentWithDryRunMetrics (38.24s)
    --- FAIL: TestFunctionalSuite/TestControllerMetrics (1.99s)
    --- FAIL: TestFunctionalSuite/TestControllerMetrics (2.01s)
    --- FAIL: TestFunctionalSuite/TestControllerMetrics (2.02s)
    --- FAIL: TestFunctionalSuite/TestControllerMetrics (2.04s)
    --- FAIL: TestFunctionalSuite/TestControllerMetrics (2.05s)

The *Metric tests fail because they expect Rollouts to be running locally to the test runner (whereas, in this case, it's running on the cluster). Not sure about the APISix test, haven't investigated it. Were these the failures you saw?


return just job id and creation date when getting all jobs

closes #56

Codecov Report

Merging #61 into master will increase coverage by 0.51%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #61      +/-   ##
==========================================
+ Coverage   56.32%   56.84%   +0.51%
==========================================
  Files           7        7
  Lines         332      336       +4
==========================================
+ Hits          187      191       +4
  Misses        137      137
  Partials        8        8

Impacted Files
Coverage Δ

database/job.go
31.03% <ø> (ø)
:arrow_up:

service/client.go
75.32% <100%> (+1.35%)
:arrow_up:

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 a4fbdd2...9435bbc. Read the comment docs.


Use WebIDL definitions as reference

The main idea was about reproducing the same behaviour as Google Chrome, but we should use that document instead: https://www.w3.org/TR/webrtc

Resolved, will reproduce the same behavior as described in the WebIDL reference, with some backward compatibility features (Using both callbacks and Promises for instance).


Unclear about the reorders prints at the end of the convolutions

I am running the first convolution layer of resnet50 using benchdnn and
MKLDNN_VERBOSE set to 1.
I use the following command:
./benchdnn --conv --dir=FWD_I --cfg=f32 g1mb50ic3ih224iw224oc64oh112ow112kh7kw7sh2sw2ph3pw3n"resnet_50:conv1"
I get the output:
mkldnn_verbose,exec,reorder,jit:uni,undef,in:f32_nchw out:f32_nchw,num:1,50x3x224x224,4.33594
mkldnn_verbose,exec,reorder,jit:uni,undef,in:f32_goihw out:f32_gOhwi8o,num:1,1x64x3x7x7,0.960938
mkldnn_verbose,exec,reorder,jit:uni,undef,in:f32_nchw out:f32_nChw8c,num:1,50x64x112x112,16.5391
mkldnn_verbose,exec,convolution,jit:avx2,forward_inference,fsrc:nchw fwei:gOhwi8o fbia:undef fdst:nChw8c,alg:convolution_direct,mb50_g1ic3oc64_ih224oh112kh7sh2dh0ph3_iw224ow112kw7sw2dw0pw3,24.1069
mkldnn_verbose,exec,reorder,jit:uni,undef,in:f32_nChw8c out:f32_nchw,num:1,50x64x112x112,16.2
mkldnn_verbose,exec,reorder,jit:uni,undef,in:f32_nChw8c out:f32_nchw,num:1,50x64x112x112,12.322
0:PASSED __REPRO: --dir=FWD_I mb50ic3ih224oc64oh112kh7sh2ph3nresnet_50:conv1
In the output print:
I am not sure why are there 2 reorder statements being printed after the convolution. Shouldn't there be just one reorder for conversion of the output tensor from nChw8c to nchw? Also the time taken by both reorders are in the same range, unlike what I can see at the link:
https://intel.github.io/mkl-dnn/perf_profile.html

I reproduced this issue. This seems to be unnecessary reorder. Great catch ! We will work on fixing it.


fix(versions): update Activiti/activiti-cloud-full-chart-security versions

UpdateBot pushed helm dependency: activiti-cloud-full-example to: 7.1.112

UpdateBot commands:
updatebot push-version --kind helm activiti-cloud-full-example 7.1.112


Change to py.test

As all of our repo uses py.tests to make it consistent we can change it to py.tests.

Closed as merged


Add comment about local development

@Jimbo4350 Sorry for tag, but not sure if Duncan is still involved in the project. Small comment about developing locally that might help people. Suggestions have been processed.

@coot Sorry for shameless tagging. But this was basically approved. Can we merge it?

I prefer the other way around, remove -Werror and only use it in CI and for those who want to have it in their dev cycle, set -Werror in cabal.project.local file.


Inputmask is not working.

Input masking is stopped working. Previously it was working fine. but again its stopped working.
When we click on date field, its not let us enter anything.
Refer Date of birth field in following link to check the issue.
https://showcase-eu-rel.unileversolutions.com/us/en/secure/sign-up-v2.html
login credentials: username: fp , password: dove
let us know the resolution asap.

@AKrishma If you provide a codepen simulation of your error it will help (without HTML, CSS and JS not related to your issue). You can take mine  as a basis.

@AKridhma,
I'm on holiday and have limited access.  Which version are you using?
Op ma 13 aug. 2018 15:11 schreef Disco Dancer<EMAIL_ADDRESS>
@AKrishma https://github.com/AKrishma If you provide a codepen
simulation of your error it will help (without HTML, CSS and JS not related
to your issue). You can take mine https://codepen.io/anon/pen/LBarwr as
a basis.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/RobinHerbots/Inputmask/issues/1967#issuecomment-412512617,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AATb7zkAkIOTF6c6rKIjrQIbfsaIzFLeks5uQXsBgaJpZM4V6UNz
.

@RobinHerbots, we are using https://github.com/RobinHerbots/Inputmask.git for inputMask and it contain 4.0.1-beta.29 version, as verified from its package.json

code pen url is as below:
https://codepen.io/akrishma-the-bashful/pen/ZjZrRb
here we are able to type in input field, but masking is not working.
But in this https://showcase-eu-rel.unileversolutions.com/us/en/secure/sign-up-v2.html we are not able to enter anything in date field.

The date aliases has been refactored since version 4.see changelog and
readme for more information.
Op di 14 aug. 2018 13:42 schreef Krishma Arora<EMAIL_ADDRESS>
code pen url is as below:
https://codepen.io/akrishma-the-bashful/pen/ZjZrRb
here we are able to type in input field, but masking is not working.
But in this
https://showcase-eu-rel.unileversolutions.com/us/en/secure/sign-up-v2.html
we are not able to enter anything in date field.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/RobinHerbots/Inputmask/issues/1967#issuecomment-412844110,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AATb7_5AnoG9teYmZ7tveJEs16plRWsDks5uQrfDgaJpZM4V6UNz
.

Thanks for responding. Issue has been resolved.


Fix Image Corruption for Blur, Digital and Environment Corruption

Description
Remove init files to allow importing blur, digital and environment
Motivation and Context
Fix Image Corruption for Blur, Digital and Environment Corruption
Type of Change

fix: A bug fix

How to Test
[Provide clear instructions on how to test and verify the changes introduced by this pull request, including any specific unit tests you have created to demonstrate your changes.]
Checklist
Please check all the boxes that apply to this pull request using "x":

[ ]  I have tested the changes locally and verified that they work as expected.
[ ]  I have added or updated the necessary documentation (README, API docs, etc.).
[ ]  I have added appropriate unit tests or functional tests for the changes made.
[ ]  I have followed the project's coding conventions and style guidelines.
[ ]  I have rebased my branch onto the latest commit of the main branch.
[ ]  I have squashed or reorganized my commits into logical units.
[ ]  I have added any necessary dependencies or packages to the project's build configuration.
[ ]  I have performed a self-review of my own code.
[ ]  I have read, understood and agree to the Developer Certificate of Origin below, which this project utilises.

Screenshots (if applicable)
[If the changes involve visual modifications, include screenshots or GIFs that demonstrate the changes.]
Additional Notes
[Add any additional information or context that might be relevant to reviewers.]

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
   have the right to submit it under the open source license
   indicated in the file; or

(b) The contribution is based upon previous work that, to the best
   of my knowledge, is covered under an appropriate open source
   license and I have the right under that license to submit that
   work with modifications, whether created in whole or in part
   by me, under the same open source license (unless I am
   permitted to submit under a different license), as indicated
   in the file; or

(c) The contribution was provided directly to me by some other
   person who certified (a), (b) or (c) and I have not modified
   it.

(d) I understand and agree that this project and the contribution
   are public and that a record of the contribution (including all
   personal information I submit with it, including my sign-off) is
   maintained indefinitely and may be redistributed consistent with
   this project or the open source license(s) involved.

Smoke Test For Docker Passed
Uploading Smoke Test Report For Docker.zip…

Frontend Test For Docker Passed

Environment Corruption Failing:

Image Corruption Environment Logs.txt

Frontend Test for Docker Passed

Smoke Test for Docker Passed
Smoke Test For Docker.zip

Pipeline Testing for Dev Script Passed. Blur, Digital and Environment Corruption Working As Expected. Screenshot Attached.
Pipeline Testing For Dev Script.zip


Emotes show up as text rather than images

Description of the bug
Emotes show up as text rather than images.
For e.g. A picture of pepe would show up normally when selecting which emote to send but when sent
it would be sent as :pepe:
To Reproduce
Steps to reproduce the behavior:

Create or join an existing room
Send an emote

Expected behavior
The selected emote should be sent as it is being displayed on the emote selet tab.
Screenshots
Still emote:

Animated emote:

What device are you on?
PC (DogeHouse program)
Additional context
Bots can still send emotes normally
This bug doesn't apply to non-DogeHouse emotes. E.g. 😄 etc

Nvm this was addressed 2 hours ago.


Realm: Profiling Infrastructure

There are many things in Realm that we are not currently profiling which makes it very hard to recognize bottlenecks in these components when they occur. For example, we do not profile active message sends and handlers to determine when some nodes are being swamped with messages. We also do not profile how efficiently the DMA engine is doing its path planning as well as start-up and clean up DMA operations. We could also profile how much time Realm is spending in memory allocations which continually seem to be a source of jitter and long latencies inside of Realm. We need a better Realm profiling infrastructure to be able to recognize all these issues and identify them without needing to manually introspect Realm all the time.

@seemamirch @lightsighter I've got the beginnings of an API for thread profiling here: https://gitlab.com/StanfordLegion/legion/-/compare/master...threadprofile
General questions and thoughts are welcome, but a few specific questions:

The activity list is partial.  What would you like added?  We can make more expensive ones (e.g. individual network packet sends) optional.
The in-memory buffers will be compressed.  There is an iterator available to decompress on the fly, but I'm wondering if it'll be more efficient to just dump the raw data into files and decompress offline (e.g. in legion_prof)?  To that end, I'm trying to describe the compressed format as well.
Do you think we need to map realm thread IDs into meaningful-to-the-user IDs/names, or do you think users can just figure it out from what activities a thread is performing?
Similarly, what data is needed to connect the dots between these activities and Legion abstractions?

For (1), I'm actually less worried about details as I am about completeness. I just want to be able to measure all the time that Realm background threads are busy doing something. As long as we can see all the time that Realm is busy doing work and we can render that on a Legion Prof timeline I will be happy since it will allow us to see when Realm is being a bottleneck and it won't just look like open white space today like nothing is happening. It's an open question if we want to render more detailed Realm profiling data in Legion Prof timelines, but for starters we should just make sure we capture when Realm is busy and not.
For (2), I don't have much a concern here from the Legion standpoint. I'm happy to pass it through in whatever format Legion Prof can handle. @elliottslaughter to comment since he's been building a faster Legion Prof log file parser in Rust and probably has thoughts on what he is and is not willing/able to support for parsing.
For (3), I don't think we need user-meaningful thread IDs, just unique ones so we can create a separate timeline thread for each Realm background thread. Legion Prof can make its own names for such threads, e.g. Realm Background Thread 1, Realm Background Thread 2...
For (4), I think the only thing we would need to connect the dots would be the corresponding Realm "finish event" for the operation that triggered the work. These are unique and we know those corresponding Realm IDs at the Legion level so we know what they correspond to.

I think the main issue re: (3) is when background work occurs on an application thread then it would be nice to know what application thread so we can render it on the appropriate slot in the timeline.
Is a serialization format implied here? I don't have any issue with the data structures, but I would like to see how the data will be serialized.

Is a serialization format implied here? I don't have any issue with the data structures, but I would like to see how the data will be serialized.

My plan was that a block would be a fixed-size ThreadProfile::Header structure as a binary blob, followed by records compressed as described here:
https://gitlab.com/StanfordLegion/legion/-/blob/threadprofile/runtime/realm/profiling.h#L448-453

I guess that seems fine. I would be happier if the format were agnostic to e.g. the machine's native byte order. But I understand there's a potential performance penalty in having to rearrange bytes, so I won't complain too loudly if we decide not to do that.

I am resurrecting this github issue as plan to do some work with respect to the Realm profiling.


add support symfony 7

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Update README

Problem
Our README is out of date.
Solution
Update it!
Note

This PR includes some small code changes to naming, docstrings, etc.
This PR includes a contributing guide as well 🎉

Type of Change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Infrastructure change (CI configs, etc)
[x] Non-code change (docs, etc)
[ ] None of the above: (explain here)

Test Plan
CI passes (note: some integration tests are flakey due to waiting on indexes to be ready, etc. Rerun failed runs to gauge whether failures are due to flakiness or actual problems)

To see the specific tasks where the Asana app for GitHub is being used, see below:

https://app.asana.com/0/0/1207879675066638
https://app.asana.com/0/0/1207208972408329

We document operations using sparse values in our docstrings. So I thinkkkk it's okay for us not to include them explicitly in the README, but wdyt @austin-denoble?

I think that's fine, yes.


docs: add link to supported metadata elements in features page

Issue or need
One may look for specifically supported metadata elements in features page. However that's in comparison page.

Proposed changes
Add a link

Quick reminders

🤝 I will follow Code of Conduct
✅ No existing pull request already does almost same changes
👁 Contributing docs are something I've taken a look at
📝 Commit messages convention has been followed
💬 TSDoc comments have been added or updated indicating API visibility if API surface has changed.
🧪 Tests have been added if needed. For instance, if adding new features or fixing a bug. Or removed if removing features.
⚙ API Report has been updated if API surface is altered.

#773  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @davidlj95 and the rest of your teammates on  Graphite


Only resolve symlinks in node_modules

Fixes #10364 and fixes #9552.
This is based on #11993 and will be rebased onto master once that is merged.
Based on the issues I've seen, the best heuristic to decide whether to resolve a symlink is whether it comes from node_modules. So we now do not resolve symlinks for ordinary files. (This is a breaking change.)
The change to moduleNameResolver is simple. However, our test harness did not accurately reflect what the command line compiler really did, so I had to change how it treated symlinks. I've tested the new tests with the command line compiler as well; instructions for doing so are at the bottom of each test file.

@dotnet-bot test this please

I thought we were not going to resolve symlinks in resolveModuleNames at all, so what is the reason for the change of strategy?

Can/will this fix be included in the next release of TypeScript (2.0.10)?

yes, and the next release is TypeScript 2.1.3

I think this was just the simplest place to do the resolving.
If the host doesn't define realPath, it's treated the same as path => path. In both cases, it means the compiler will always see a symlink as a different file from the original; since it can't resolve the symlink, it has no way of knowing they're the same file. See function realPath in moduleNameResolver.ts.

@andy-ms Thank you for clarification!

it has no way of knowing they're the same file

What can happen in this case except getting multiple SourceFile instances for one real file but for each symlink (and, possibly, increasing memory usage or compilation time)? How it can affect on compilation?

Oh, I get it. Thank you!


cleanup pkg/monitoring

Please provide a description of this PR:

remove unused hooks
remove unused int64 options

@zirain: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
6857767195d188bbe95a57063bfd4b6eb62e386a
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@zirain: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
6857767195d188bbe95a57063bfd4b6eb62e386a
link
true
/test lint

gencheck_istio
6857767195d188bbe95a57063bfd4b6eb62e386a
link
true
/test gencheck

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

The hooks was intended for vendor extensions: istio/pkg#142. Perhaps not a compelling motivation to keep it, but we are using it in our builds.

can you share more details about it, need consider about it when moving to prometheus/client_go or opentelemetry-go

The hooks was intended for vendor extensions: istio/pkg#142. Perhaps not a compelling motivation to keep it, but we are using it in our builds.

can you share more details about it, need consider about it when moving to prometheus/client_go or opentelemetry-go

Yes, we offer a different set of metrics: https://cloud.google.com/monitoring/api/metrics_istio#istio-istio. So we have hooks to capture one metric and increment another with a different name/tags/etc. So I would like to keep as much of that complexity in our own code to avoid making OSS more complex but we will need some way to retain that. Can I do a bit of research and get back to you?
Re int64 - I am actually not sure we need that at all even today, will check that.
In abstract I feel like we want some very very lightweight pluggable mechanism. Like in pkg/log we have TeeToStackdriver, we should probably make it just a lightweight pluggable mechanism using slog middleware (when we do https://github.com/istio/istio/issues/44683). Not sure how that fits into metrics though

Can I do a bit of research and get back to you?

Looking forward to your investigation conclusion

For background knowledge, in prom float64 == int64. In Stackdriver they are not though
Ok found our current usage:

We have some new metrics. We report to SD int64 schemas, so we use the WithInt64Values option.
We have some derived metrics, where we use RecordHook to add some new metrics. Note these only use OnRecordFloat64Measure since all existing metrics are Float64 based.

Case (1) is easier to manage - if needed we can just have all our own code for these.
Case (2) is a bit harder if we merge this, not sure how this would be done

for case2, what's google's plan after July 31st, 2023? move to OpenTelemetry-go bridge?

I will do a prototype of using otel and see how it goes

PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

replaced by https://github.com/istio/istio/pull/45341


Switch to branch with improved shrinkers

This PR pins the latest QCheck shrinker improvements from c-cube/qcheck#242.
I've rebased this branch a few times and let it run on the CI without any issues.
Overall, because of the reduced number of shrink attempts I expect it to result it potentially smaller counterexamples.
If, say repeat and retry bring repeatability of an issue to 95%

a shrink sequence of 5 steps will succeed with 76% chance whereas
a shrink sequence of 10 steps will succeed with 57% chance
so the fewer required steps, the better.

Closing as c-cube/qcheck#242 has now been merged


Upgrade tileset stage

Review after #84
This upgrades older tilesets to the latest 3D Tiles version. I've been testing this on the NYC CityGML tileset.

Sets asset.version to 1.0
Uses uppercase ADD and REPLACE
Uses _BATCHID semantic instead of BATCHID in the glTF
Upgrades b3dm tiles that use the deprecated headers

Todo:

[ ] Requires https://github.com/AnalyticalGraphicsInc/gltf-pipeline/pull/272 before embedded glTFs are actually converted to 2.0 like the doc states.

@likangning93 can you please review this?

Addressed your comments @likangning93.
I also support for upgrading cmpt tiles in https://github.com/AnalyticalGraphicsInc/3d-tiles-tools/pull/86/commits/2b787f4eccaad80331ee725be4bb7f52287e3d27 and in the process took code from #4.


Failed test "70-test_sslcbcpadding.t"

I re-run the test over 7k times and it happend only once. This was on Debian-AMD64. I have the full build-log, the following is only the part of the failed test. Is this enough information to see what happend?
70-test_sslcbcpadding.t_failed.txt

This is almost certainly some kind of race condition in the TLSProxy test utility. I've looked at the log but I can't see anything that might explain it. Probably either the socket connecting the proxy to the server or the socket connecting the proxy to the client has died unexpectedly before the test was complete. The log doesn't give any hints as to why though.

Died unexpectedly as in a race condition on done/termination?
It would be nice to get some debugging from that module.
Feel free to close it if there is nothing that can be done.


Cleanup BLEServer on BLEDevice::deinit

I’m in the process of developing an application that has the capability to establish independent BLE servers in various sections. Only one server is active at any given time. When a section ceases its server, it invokes BLEDevice::deinit. The expectation is that the BLEServer is reset, but in reality, BLEDevice::deinit only resets the started flag on the BLEServer, leaving all services and callbacks intact.
I propose the introduction of a cleanup_server flag to BLEDevice::deinit that would ensure a thorough cleanup of all elements within the BLEServer.

I added the BLEDevice::deinit_full function in the deinit_full branch.
Please check.

@taks thank you, it passed my tests.


Insomnia - forcing requests directly to HTTP2 instead of upgrade from HTTP 1.1

Hi, is there any option to force HTTP2 directly without upgrading from HTTP 1.1?  I am talking about an option similar to the curl option --http2-prior-knowledge...
I am running:
Version: Insomnia 2021.1.0
Release date: 3/4/2021
OS: Windows_NT x64 6.1.7601
Electron: 9.1.1
Node: 12.14.1
V8: <IP_ADDRESS>-electron.0
Architecture: x64
node-libcurl: libcurl/7.69.1-DEV OpenSSL/1.1.1d zlib/1.2.11 WinIDN libssh2/1.9.0_DEV nghttp2/1.40.0
Thanks!

You can set it under Preferences > General > Preferred HTTP version. Insomnia will try to use the preferred version or the latest available.
Hope this will help!

Yes, I have set HTTP/2 preferred in settings. When checking with Wireshark what happens is that first HTTP 1.1 is requested (Request Version: HTTP/1.1) with the "Connection: Upgrade, HTTP2-Settings" and "Upgrade: h2c".  What is needed is direct initiation of the HTTP2 connection (with appropriate HTTP2 header structure).

@DMarby do you happen to know if http2-prior-knowledge is something we have easy access to set via node-libcurl?


Metrics List Request

Title: Metrics List Request
Description:
Now the only way I know to get the metrics list is to deploy Envoy and post requests to the metric endpoint, please tell me if something missing.
When metrics change, a monitor system like Prometheus would raise the error for the missing metrics, which is not conducive to upgrade and maintenance.
I think we can add a doc of metrics list and update it when we release,  which makes metrics obvious and easy to check what/which we need or not. Potentially we will reduce some metrics and improve performance.

In general this would be really nice, but it's no so easy as metrics can be created dynamically. With that said I would love to figure out a way to auto generate docs for all standard metrics. cc @jmarantz

A few things to unpack here:

defining doc for each stat in the code where we create the stat -- not sure if that's what Matt meant but I think it's easy to add a new stat and not remember to add documentation for it.
a more robust way to prune unneeded stats out of the system than what's currently available via the matcher API, as some stats are read in production code, which would misbehave if they were eliminated -- there's a separate bug about this
enumerating the "core" stats we expect to be there, thought that's made tricky by some potentially important ones being created on-demand.

I want to split stats into two kinds: static and dynamic.
For the static one, we list all of them, for the dynamic one, we list all patterns with examples, that would be helpful.
The way to generate docs may be like how API does, or we can update one doc by hand when stats update as the first step, at least cover static stats.

@daixiang0 , what are the dynamic metrics ?

@daixiang0 , what are the dynamic metrics ?

Metrics which are generated according to certain rules,


API for taproot tweaked keys

In discussion originating from here https://github.com/rust-bitcoin/rust-bitcoin/pull/563#discussion_r593956733 it is suggested to work on API that will provide best practices in working with public keys for self-tweaked and tapscript-tweaked options. Since this affects not only PublicKey types, but other code places (like the one referenced above) I open this separate issue.

Closed in #691 and #677


Clip weights

Dear author, I would like to inquire about the release date for CLIP weights fine-tuned on the RS5M dataset. At present, it appears that only the BLIP-2 inference code is available.

Hi,
The model weights will be released by the end of this month.

Hello, do you have any plans to release the weights of CLIP recently ? The pre-trained CLIP weights pretrained on RS5M are crucial for many remote sensing tasks.Looking forward to your response.

Thank you for your quick response. Looking forward to the retraining weights of  CLIP.

Thank you for your quick response. Looking forward to the retraining weights of CLIP.

Hi,
The weights have been released: https://huggingface.co/Zilun/GeoRSCLIP/tree/main
The updated instructions can be found in the readme.md of this repo.
Feel free to use them.
Best,
Zilun

Hello, do you have any plans to release the weights of CLIP recently ? The pre-trained CLIP weights pretrained on RS5M are crucial for many remote sensing tasks.Looking forward to your response.

Hi Cem,
We are re-training the fine-tuned CLIP model in different model sizes. We are sorry, the release date is a little bit delayed (a few days) because we transferred the old codebase to a new one (which resulted in a performance boost and faster training speed)
We will @you once the weights are uploaded.
Best,
Zilun

Thanks for great work and open-source!
I'm working on CLIP fine-tuning as well and have difficulties trying various peft/fully fine-tune codebase. So i'm curious about this new codebase or any recommendation about fine-tune? (I see openclip for fully tuning without any peft method?)


Search function: design of the function lacks efficiency

I have put another ticket for the same topic a while ago and I received a reply with "this is the search function and we are not going to change it". However I consider it an important feature and honestly this implementation is the worst I have worked with.
The problem appears when you want to open more than one search window. Instead of opening a new window near the existing one in the bottom menu tab, this is done in the  code section. I have created two windows to split the search from the code, but the problem is there is not enough space in horizontal to see clear both the search window and the code one.

You need all the time to increase/decrease the size of the windows and navigate between the code and the search.
Check how this is done in eclipse:

You can open several search windows and the search content is displayed on the entire screen width.  Also the code is on the entire screen.
In your case, this entire section remains unused:

It is absolutely obvious this function can be improved. Just because it was a bad design form the beginning does not mean it has to stay like this.
Regards,
Catalin.

Meanwhile, here are some workarounds:
Are you aware that you can split down instead of splitting right? By doing that you will get the full width.
Optionally, first go to the workbench.editor.autoLockGroups setting and set a checkmark against 'Search Editor'. This helps with the next step.
Run the View: Move Editor into Group Below command after opening your first search editor. It moves to the new group below, and if you performed the previous step the new group gets locked automatically so other types of editor won't open there by default even if you are focused in it.
The next search editor you open from the search view will go there if a previous search editor in the group is still active. If it isn't, the new search editor can be dragged down into the group.

See also #115899
For reference, your previous issue was #133437

And #134698 (Add settings to open certain editor types in specific locked editor groups) would have helped streamline the procedure I described above, but it didn't get enough support to move onto the Backlog.

Thanks for the response @gjsjohnmurray, I agree with those observations. Not planning any changes here currently.


G-UTILS-GPROFILER REWORK (2): Rework complex files

Part of the G-UTILS-GPROFILER REWORK saga - which aims to move away shared code from gprofiler to the g-utils project:
https://github.com/Granulate/granulate-utils/pull/263 https://github.com/Granulate/granulate-utils/pull/261 https://github.com/Granulate/gprofiler/pull/925 https://github.com/Granulate/gprofiler/pull/926 https://github.com/Granulate/gprofiler/pull/926
This ultimate PR (for this repo) is responsible for logical changes and "trimming" of complex files to be untied from the gprofiler platform

I'm changing the source branch to master so we can see the total diff.


Can't refresh tokens

My access and refresh tokens finally ran out and I tried to repeat the steps to refresh them.
Every time I run this code, I get an error. What could be the issue?
Code:

Output:

try this one:
https://github.com/tedchou12/webull/wiki/Workaround-for-Login

@tedchou12 Hi Ted, I see the instructions on your link but what page do we have to access to see "account" under the Network tab to see the tokens. I don't see any such name when I go to app.webull.com/watch.

@Alanavai
You would need to logout then login again, to find the account in the network tab.
Try using ctrl + f for search, it might be a lot easier to find.

@tedchou12 That worked, thanks!


fix(MenuBubble): MenuBubble doesn't update position when it resizes

fix(MenuBubble): MenuBubble doesn't stay within bounding box of editor
BUG
The menu bubble will not detect proper left alignment because of translateX(-50%)
In links demo the menu bubble resizes to show link form, this also causes offset issues.

FIXED

Missing

[ ] Does not handle right alignment issues
[ ] Will cause conflicts with #228

This should be fixed with #228.

I'm still experiencing this bug. Did #228 solve this for you @bvkimball?


[FEAT]: Better Lvl 2

Description
Make level 2 more fun to beat. This will require a few enhancements, all of which will be included in Issue #6 and Issue #24. Adding these should make it more fun.
Additional Information
No response

as of this commit the first problem addressed by Issue #24 is fixed

After adding guns, this issue has been fixed


Default to unknown if there is 0 for hospital Use data

If there is a zero for the icu data, return null values (otherwise it should probably default to the average Capacity rate?)

eg Nevada in staging